JP2014116911A - Information processing device, control method therefor, program and image processing device - Google Patents

Information processing device, control method therefor, program and image processing device Download PDF

Info

Publication number
JP2014116911A
JP2014116911A JP2012271774A JP2012271774A JP2014116911A JP 2014116911 A JP2014116911 A JP 2014116911A JP 2012271774 A JP2012271774 A JP 2012271774A JP 2012271774 A JP2012271774 A JP 2012271774A JP 2014116911 A JP2014116911 A JP 2014116911A
Authority
JP
Japan
Prior art keywords
sdp
sip server
information
protocol
sip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2012271774A
Other languages
Japanese (ja)
Inventor
Shinichi Uchikawa
慎一 内川
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2012271774A priority Critical patent/JP2014116911A/en
Publication of JP2014116911A publication Critical patent/JP2014116911A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a mechanism for appropriately selecting SDP medium information for each SIP communication transport protocol even if SDP medium information is not designated at the transmission/reception of an INVITE command.SOLUTION: If SDP is not included in an INVITE request received from an SIP server, an information processing device determines an SIP communication transport protocol. On determination that the transport protocol is UDP, the information processing device selects SDP medium information according to the type of the SIP server. On determination that the transport protocol is TCP or SSL, the information processing device selects all of the SDP medium information, and generates an INVITE response having the selected SDP medium information set therein, to respond to the SIP server.

Description

本発明は、SIP通信を行う情報処理装置、その制御方法、プログラム、及び画像処理装置に関するものである。   The present invention relates to an information processing apparatus that performs SIP communication, a control method thereof, a program, and an image processing apparatus.

近年、IP網を利用してSIP(Session Initiation Protocol)とT.38に準拠したIPファクシミリ通信環境が普及しつつある(例えば、特許文献1)。また、NGNと呼ばれる電話/映像通信サービスの提供を目的としたネットワークの提供も開始されてきている。SIP通信では、SIPリクエスト(INVITE)を受信した場合、受信したINVITEにSDP(Session Description Protocol)が指定されているか確認し、含まれていない場合レスポンスにSDPを設定する必要がある。また、SIP通信では通信機器によって通信を許すSDPのメディア情報を限定しているため、通信機器に応じて適切な値を含める必要がある。例えば、NGN環境のSIPサーバは「メディア種別:application、トランスポート:TCP」というSDPを含めなくてはならない。一方、他のSIPサーバには「メディア種別:audio、トランスポート:RTP/AVP」というSDPを含める必要があるものがある(例えば、CISCO社)。   In recent years, using the IP network, SIP (Session Initiation Protocol) and T.I. An IP facsimile communication environment conforming to H.38 is becoming widespread (for example, Patent Document 1). In addition, the provision of a network for the purpose of providing a telephone / video communication service called NGN has been started. In SIP communication, when a SIP request (INVITE) is received, it is necessary to check whether SDP (Session Description Protocol) is specified in the received INVITE, and when it is not included, it is necessary to set SDP in the response. In addition, in SIP communication, media information of SDP that allows communication by a communication device is limited. Therefore, it is necessary to include an appropriate value according to the communication device. For example, an SIP server in an NGN environment must include an SDP of “media type: application, transport: TCP”. On the other hand, some other SIP servers need to include an SDP “media type: audio, transport: RTP / AVP” (for example, CISCO).

特開2005−086724号公報JP 2005-086724 A

しかしながら、上記従来技術には以下に記載する問題がある。上述したようなSDPが含まれていない場合、通信に失敗してしまう。しかし、通信する機器は通信するSIPサーバがどのような通信機器であるかわからないという問題がある。   However, the above prior art has the following problems. If the SDP as described above is not included, communication fails. However, there is a problem that a communication device does not know what communication device the SIP server with which it communicates is.

この問題の回避方法として、通信する機器を1つに限定してSDPのメディアを固定する手法がある。しかし、この手法では、通信する機器を1つに限定する必要があり、複数の機器と通信させたいユーザはそれぞれのSIPサーバに対応した複数の機器を区別して利用する必要があり、不便である。   As a method for avoiding this problem, there is a method of fixing SDP media by limiting the number of devices to communicate to one. However, in this method, it is necessary to limit the number of devices to communicate with each other, and a user who wants to communicate with a plurality of devices needs to distinguish and use a plurality of devices corresponding to each SIP server, which is inconvenient. .

別の回避方法として、SDPに複数のメディア情報を含めて通信する手法もある。これにより、通信相手の情報が分からなくても通信機器が好む適切なメディア情報が含まれていれば通信が成功する。例えば、NGN環境のSIPサーバで必須の「メディア種別:application、トランスポート:TCP」と、他のSIPサーバで必須の「メディア種別:audio、トランスポート:RTP/AVP」の両方を含めたSDPを送信する手法である。しかし、SIP通信がUDPで行われる場合、SDPに複数のメディア情報を含めるとUDPパケットのMTUサイズ(一般的には1492byte程度)の上限に達してしまう可能性がある。MTUサイズの上限を超えてしまうと、IP経路上で破棄されてしまったり、パケットがフラグメントするため受信者が正しく処理できないという問題が発生してしまう。   As another avoidance method, there is a method of communicating by including a plurality of media information in the SDP. Thereby, even if the information of the communication partner is not known, communication is successful if the appropriate media information preferred by the communication device is included. For example, an SDP including both “media type: application, transport: TCP”, which is essential for a SIP server in an NGN environment, and “media type: audio, transport: RTP / AVP”, which is mandatory for another SIP server. It is a technique to transmit. However, when SIP communication is performed by UDP, if a plurality of media information is included in the SDP, there is a possibility that the upper limit of the MTU size (generally about 1492 bytes) of the UDP packet may be reached. If the upper limit of the MTU size is exceeded, problems such as being discarded on the IP route or being unable to be processed correctly by the receiver due to packet fragmentation occur.

本発明は、上述の問題に鑑みて行われたものであり、INVITEコマンドを送受信する際にSDPのメディア情報が指定されていない場合であっても、SIP通信のトランスポートプロトコルごとに好適にSDPのメディア情報を選択する仕組みを提供することを目的とする。   The present invention has been made in view of the above-described problem. Even when the SDP media information is not specified when the INVITE command is transmitted / received, the SDP is preferably used for each transport protocol of SIP communication. The purpose is to provide a mechanism for selecting media information.

本発明は、SIP通信を行う情報処理装置であって、SIPサーバからINVITEリクエストを受信する受信手段と、前記受信手段によって受信した前記INVITEリクエストにSDPが含まれているか否か解析する解析手段と、前記解析手段によって前記INVITEリクエストに前記SDPが含まれていないと解析されると、SIP通信のトランスポートプロトコルを判定するプロトコル判定手段と、前記プロトコル判定手段によって前記トランスポートプロトコルがUDPであると判定されると、前記SIPサーバの種別に応じてSDPのメディア情報を選択し、前記プロトコル判定手段によって前記トランスポートプロトコルがTCP又はSSLであると判定されると、全てのSDPのメディア情報を選択する選択手段と、前記選択手段によって選択されたSDPのメディア情報を設定したINVITEレスポンスを生成して前記SIPサーバに応答する応答手段とを備えることを特徴とする。   The present invention is an information processing apparatus that performs SIP communication, a receiving unit that receives an INVITE request from a SIP server, and an analyzing unit that analyzes whether or not the INVITE request received by the receiving unit includes an SDP. When the analyzing means analyzes that the SDP is not included in the INVITE request, the protocol determining means for determining a transport protocol of SIP communication and the transport protocol is UDP by the protocol determining means If determined, the SDP media information is selected according to the type of the SIP server, and if the transport protocol is determined to be TCP or SSL by the protocol determination means, all the SDP media information is selected. Selecting means for And generates an INVITE response which sets the media information of the selected SDP by-option means, characterized in that it comprises a response means responsive to said SIP server.

また、本発明は、SIP通信を行う情報処理装置であって、SIPサーバへINVITEリクエストを送信する際に、SIP通信のトランスポートプロトコルを判定するプロトコル判定手段と、前記プロトコル判定手段によって前記トランスポートプロトコルがUDPであると判定されると、前記SIPサーバの種別に応じてSDPのメディア情報を選択し、前記プロトコル判定手段によって前記トランスポートプロトコルがTCP又はSSLであると判定されると、全てのSDPのメディア情報を選択する選択手段と、前記選択手段によって選択されたSDPのメディア情報を設定したINVITEリクエストを生成して前記SIPサーバに送信する送信手段とを備えることを特徴とする。   In addition, the present invention is an information processing apparatus that performs SIP communication, and transmits an INVITE request to a SIP server, a protocol determination unit that determines a transport protocol of SIP communication, and the transport by the protocol determination unit When it is determined that the protocol is UDP, SDP media information is selected according to the type of the SIP server. When the protocol determination unit determines that the transport protocol is TCP or SSL, all The apparatus comprises: selection means for selecting SDP media information; and transmission means for generating an INVITE request in which the SDP media information selected by the selection means is set and transmitting the request to the SIP server.

また、本発明は、上記何れかの情報処理装置と、画像を処理する画像処理手段とを備える画像処理装置として実現できる。   The present invention can be realized as an image processing apparatus including any one of the information processing apparatuses described above and an image processing unit that processes an image.

本発明は、INVITEコマンドを送受信する際にSDPのメディア情報が指定されていない場合であっても、SIP通信のトランスポートプロトコルごとに好適にSDPのメディア情報を選択する仕組みを提供できる。   The present invention can provide a mechanism for suitably selecting SDP media information for each transport protocol of SIP communication even when SDP media information is not designated when sending and receiving an INVITE command.

本実施形態に係る通信端末装置のシステム構成を示すブロック図。The block diagram which shows the system configuration | structure of the communication terminal device which concerns on this embodiment. 本実施形態に係る通信端末装置が接続されるネットワークの図。The figure of the network where the communication terminal device concerning this embodiment is connected. 本実施形態に係る通信端末装置がINVITEリクエストを受信した場合のフローチャート。The flowchart when the communication terminal device which concerns on this embodiment receives an INVITE request. 本実施形態に係る通信端末装置がUDP通信でOfferSDPなしのINVITEリクエストを受信した場合のフローチャート。The flowchart when the communication terminal device which concerns on this embodiment receives the INVITE request without OfferSDP by UDP communication. 本実施形態に係る通信端末装置がUDP通信でOfferSDPなしのINVITEリクエストを受信した場合の他のフローチャート。The other flowchart when the communication terminal device which concerns on this embodiment receives the INVITE request without OfferSDP by UDP communication. 本実施形態に係る通信端末装置におけるSIPサーバ設定画面の一例を示す図。The figure which shows an example of the SIP server setting screen in the communication terminal device which concerns on this embodiment. 本実施形態に係る通信端末装置におけるSIPサーバデフォルト種別設定画面の一例を示す図。The figure which shows an example of the SIP server default classification setting screen in the communication terminal device which concerns on this embodiment. 本実施形態に係る通信端末装置における通信履歴の一例を示す図。The figure which shows an example of the communication history in the communication terminal device which concerns on this embodiment. OfferSPDが存在しないINVITEリクエストの一例を示す図。The figure which shows an example of the INVITE request | requirement without OfferSPD. 本実施形態に係る通信端末装置がINVITEリクエストを送信する場合のフローチャート。The flowchart in case the communication terminal device which concerns on this embodiment transmits an INVITE request.

以下、本発明を実施するための形態について図面を用いて説明する。なお、以下の実施形態は特許請求の範囲に係る発明を限定するものでなく、また実施形態で説明されている特徴の組み合わせの全てが発明の解決手段に必須のものとは限らない。   Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings. The following embodiments do not limit the invention according to the claims, and all combinations of features described in the embodiments are not necessarily essential to the solution means of the invention.

<情報処理装置の構成>
以下では、図1乃至図10を参照して、本発明を実施するための最良の形態について説明する。まず、図1を参照して、本実施形態に係る情報処理装置(画像処理装置)である通信端末装置の構成例について説明する。
<Configuration of information processing apparatus>
Hereinafter, the best mode for carrying out the present invention will be described with reference to FIGS. 1 to 10. First, a configuration example of a communication terminal apparatus that is an information processing apparatus (image processing apparatus) according to the present embodiment will be described with reference to FIG.

通信端末装置100は、CPU101、表示/操作部102、読取部103、記録部104、画像処理部105、画像蓄積部106、RAM107、発呼先情報記憶部108、選択網設定記憶部109、発呼先情報解析部110、発呼網判別部111、T.38制御部112、SIP呼制御部113、G3FAX伝送制御部114、G3FAX呼制御部115、及びIP制御部116を備える。中央処理装置(CPU)101は、制御プログラムを実行することにより、装置全体を統括的に制御する。RAM107は、制御プログラムが使用するシステムデータや各種情報を記憶する。表示/操作部102は、タッチパネル等で構成され、使用者によって通信端末装置100を動作させるための各種操作(発呼操作等)が行われたり、各種情報を表示する。   The communication terminal device 100 includes a CPU 101, a display / operation unit 102, a reading unit 103, a recording unit 104, an image processing unit 105, an image storage unit 106, a RAM 107, a call destination information storage unit 108, a selected network setting storage unit 109, Callee information analysis unit 110, calling network discrimination unit 111, T.P. 38 control unit 112, SIP call control unit 113, G3 FAX transmission control unit 114, G3 FAX call control unit 115, and IP control unit 116. A central processing unit (CPU) 101 performs overall control of the entire apparatus by executing a control program. The RAM 107 stores system data and various information used by the control program. The display / operation unit 102 is configured with a touch panel or the like, and performs various operations (calling operation or the like) for operating the communication terminal apparatus 100 by the user or displays various information.

読取部103は、送信原稿やコピー原稿を読み取って画像データを出力する。記録部104は、受信画像データや読取った画像データを記録紙に記録して出力する。画像処理部105は、画像データに対する符号化、復号化、拡大、縮小等の処理を行う。画像蓄積部106は、受信画像データ又は読取った画像データを格納する。このように通信端末装置100は、各種画像処理機能を有するため、画像処理装置としても適用できる。   The reading unit 103 reads a transmission original or a copy original and outputs image data. The recording unit 104 records the received image data and the read image data on a recording sheet and outputs them. The image processing unit 105 performs processing such as encoding, decoding, enlargement, and reduction for image data. The image storage unit 106 stores received image data or read image data. Thus, since the communication terminal device 100 has various image processing functions, it can also be applied as an image processing device.

発呼先情報記憶部108は、ユーザが表示/操作部102のキー操作により登録した発呼先情報を記憶する。選択網設定記憶部109は、ファクシミリの発呼する網(SIPサーバ経由、T.38ゲートウェイ経由、ホームゲートウェイ経由)情報などを記憶する。発呼先情報解析部110は、発呼時に、表示/操作部102から入力される相手通信端末装置の発呼先情報を解析する。発呼網判別部111は、発呼先情報解析部110での発呼先情報の解析結果から、解析された発呼先情報を用いて選択網設定記憶部109に記憶されている発呼先設定情報を参照してファクシミリの発呼する網を判別する。   The call destination information storage unit 108 stores call destination information registered by the user through key operations on the display / operation unit 102. The selected network setting storage unit 109 stores information such as a network for calling a facsimile (via a SIP server, via a T.38 gateway, via a home gateway). The call destination information analysis unit 110 analyzes the call destination information of the partner communication terminal device input from the display / operation unit 102 when making a call. The calling network discrimination unit 111 uses the analyzed call destination information based on the analysis result of the call destination information in the call destination information analysis unit 110 to store the call destination stored in the selected network setting storage unit 109. By referring to the setting information, the network from which the facsimile is called is determined.

T.38伝送制御部112は、ITU−T勧告T.38手順に従ってリアルタイム型通信プロトコルを制御する。SIP呼制御部113は、IETFのRFC3261(SIP)とRFC2327(SDP)に規定された手順を使用してリアルタイム型インターネットファクスT38における呼の確立、維持、終了の制御を行なう。IP制御部116は、IP網204に接続され、インターネットを開始して種々のデータを送受する通信制御を行う。G3FAX伝送制御部114は、ITU−T勧告T.30手順に従ってファクシミリプロトコルを制御する。G3FAX呼制御部115は、G3FAX伝送制御部114の伝送制御の下でアナログ公衆回線網206にて呼の確立、網接続の制御を行なう。   T. T. et al. 38. The transmission control unit 112 is an ITU-T recommendation T.38. The real-time communication protocol is controlled according to 38 procedures. The SIP call control unit 113 controls the establishment, maintenance, and termination of a call in the real-time Internet fax T38 using procedures defined in RFC 3261 (SIP) and RFC 2327 (SDP) of IETF. The IP control unit 116 is connected to the IP network 204 and performs communication control for starting and transmitting various data by starting the Internet. The G3 FAX transmission control unit 114 is an ITU-T recommendation T.264. The facsimile protocol is controlled according to 30 procedures. The G3 FAX call control unit 115 performs call establishment and network connection control on the analog public line network 206 under the transmission control of the G3 FAX transmission control unit 114.

通信端末装置100には、さらに、上述した装置各部の間で相互にデータのやり取りするシステムバス117が設けられる。通信端末装置100は、IP制御部116によりIP網204に接続され、IP網(LAN)204を介して相手通信端末装置と通信可能に接続される。また、G3FAX呼制御部115により公衆回線網206接続され、公衆回線網206を介して相手通信端末装置と通信可能に接続される。   The communication terminal device 100 is further provided with a system bus 117 for exchanging data between the above-described units. Communication terminal apparatus 100 is connected to IP network 204 by IP control unit 116 and is communicably connected to a partner communication terminal apparatus via IP network (LAN) 204. Further, the G3 FAX call control unit 115 is connected to the public line network 206, and is connected to the partner communication terminal device via the public line network 206 so as to be communicable.

<ネットワークの構成例>
次に、図2を参照して、本実施形態に係る通信端末装置100が接続されるネットワークの構成例について説明する。通信端末装置100はLAN204に接続されている。LAN204は、ホームゲートウェイ203を介して、NGN網205に接続される。ホームゲートウェイ203は、NGN環境のSIPサーバ202のProxyの役割も行う。また、LAN204には、LAN用のSIPサーバ201とNGN用のSIPサーバ202とが存在する。また、図2に示すように、ホームゲートウェイ210がNGN網205と接続される。さらに、ホームゲートウェイ210は、他のLAN(IP網)を介して、他の通信端末装置211、212に接続される。
<Network configuration example>
Next, a configuration example of a network to which the communication terminal device 100 according to the present embodiment is connected will be described with reference to FIG. Communication terminal apparatus 100 is connected to LAN 204. The LAN 204 is connected to the NGN network 205 via the home gateway 203. The home gateway 203 also serves as a proxy for the SIP server 202 in the NGN environment. The LAN 204 includes a LAN SIP server 201 and an NGN SIP server 202. Further, as shown in FIG. 2, the home gateway 210 is connected to the NGN network 205. Furthermore, the home gateway 210 is connected to other communication terminal apparatuses 211 and 212 via another LAN (IP network).

<INVITEコマンド>
これらのSIPサーバ201、202から通信端末装置100がSIP通信を開始する要求であるINVITEコマンドを受信した場合の制御について説明する。SIP(Session Initiation Protocol)におけるINVITEリクエスト/レスポンスでは、何れかにデータ通信を行うための方式を示すSDP(Session Description Protocol)情報を含む必要がある。最初に送信するSDPは、Offer SDPと呼ばれる。Offer SDPには、対応する全てのメディア情報を含める。一方、Offer SDPを受信した装置は、Answer SDPを送信する必要がある。Answer SDPは、Offer SDPで提示されたSDPから実際に通信するメディアを特定して応答するものである。
<INVITE command>
Control when the communication terminal apparatus 100 receives an INVITE command, which is a request for starting SIP communication, from these SIP servers 201 and 202 will be described. In an INVITE request / response in SIP (Session Initiation Protocol), it is necessary to include SDP (Session Description Protocol) information indicating a method for performing data communication. The SDP to be transmitted first is called Offer SDP. All the corresponding media information is included in the Offer SDP. On the other hand, a device that has received Offer SDP needs to send Answer SDP. The Answer SDP specifies and responds to the media that is actually communicated from the SDP presented in the Offer SDP.

以下では、図3を参照して、通信端末装置100における詳細な処理手順について説明する。以下で説明する処理は、通信端末装置100のRAM107等のメモリに格納されたプログラムがCPU101において実行されることにより実現される。   Below, with reference to FIG. 3, the detailed process sequence in the communication terminal device 100 is demonstrated. The processing described below is realized by the CPU 101 executing a program stored in a memory such as the RAM 107 of the communication terminal device 100.

INVITEコマンドを受信すると、CPU101は、S100においてINVITEコマンドを解析し、S101においてINVITEコマンドにOffer SDP情報が含まれているか否かを判定する。INVITEにOffer SDP情報が含まれている場合はS103に進み、CPU101は、INVITEで指定されたSDPのメディア情報から通信が可能なメディア情報を決定(選択)する。その後、S105において、CPU101は、決定したメディア情報を含めたINVITEのレスポンスを生成する。   When the INVITE command is received, the CPU 101 analyzes the INVITE command in S100, and determines whether or not the Over SDP information is included in the INVITE command in S101. When Offer SDP information is included in the INVITE, the process proceeds to S103, and the CPU 101 determines (selects) the media information that can be communicated from the media information of the SDP designated by INVITE. Thereafter, in S105, the CPU 101 generates an INVITE response including the determined media information.

一方、INVITEにOffer SDP情報が含まれていない場合はS102に進み、CPU101は、プロトコル判定手段として機能し、SIP通信のトランスポートプロトコルを確認する。SIP通信のトランスポートプロトコルがTCPかSSLである場合はS104に進み、CPU101は、INVITEのレスポンスにOffer SDPとして対応する全てのメディア情報を設定し、S105でINVITEレスポンスを生成する。   On the other hand, if the Offer SDP information is not included in INVITE, the process proceeds to S102, where the CPU 101 functions as a protocol determination unit and confirms the transport protocol for SIP communication. If the transport protocol for SIP communication is TCP or SSL, the process proceeds to S104, and the CPU 101 sets all media information corresponding to Offer SDP in the INVITE response, and generates an INVITE response in S105.

一方、SIP通信のトランスポートプロトコルがUDPである場合はS106に進み、CPU101は、INVITEリクエストからSIPサーバの種別を特定することが可能か否かを判定する。SIPサーバが登録されているため種別を特定可能な場合はS108に進み、CPU101は、登録されているSIPサーバの種別からOffer SDPに設定するメディア情報を選択して設定し、S105でINVITEレスポンスを生成する。例えばSIPサーバの種別がNGNの場合、SDPのメディア情報として「メディア種別:application、トランスポート:TCP」を選択する。LANの場合は「メディア種別:audio、トランスポート:RTP/AVP」というSDP情報となる。一方、SIPサーバが登録されていないため種別を特定できない場合はS107に進み、CPU101は、Offer SDPにデフォルトのメディア情報を設定し、S105でINVITEレスポンスを生成する。   On the other hand, when the transport protocol of SIP communication is UDP, the process proceeds to S106, and the CPU 101 determines whether it is possible to specify the type of the SIP server from the INVITE request. If the type can be specified because the SIP server is registered, the process advances to step S108, and the CPU 101 selects and sets the media information to be set in the Offer SDP from the type of the registered SIP server, and sends an INVITE response in step S105. Generate. For example, when the type of the SIP server is NGN, “media type: application, transport: TCP” is selected as the SDP media information. In the case of a LAN, the SDP information is “media type: audio, transport: RTP / AVP”. On the other hand, if the type cannot be specified because the SIP server is not registered, the process advances to step S107, and the CPU 101 sets default media information in the Offer SDP, and generates an INVITE response in step S105.

<SIPサーバの特定方法>
次に、図4を参照して、図3のS106におけるINVITEリクエストからSIPサーバを特定する方法について詳細に説明する。なお、以下で説明する処理は、通信端末装置100のRAM107等のメモリに格納されたプログラムがCPU101において実行されることにより実現される。
<SIP server identification method>
Next, a method for specifying the SIP server from the INVITE request in S106 of FIG. 3 will be described in detail with reference to FIG. Note that the processing described below is realized by the CPU 101 executing a program stored in a memory such as the RAM 107 of the communication terminal device 100.

S200において、CPU101は、受信したINVITEコマンドの送信元IPアドレスを取得する。続いて、S201において、CPU101は、通信端末装置100に設定されたSIPサーバ一覧から送信元IPアドレスと一致するSIPサーバの有無を確認する。その結果、同一IPアドレスのSIPサーバが登録されている場合、登録されたSIPサーバの種別を参照して特定し、処理を図3のフローチャートに戻す。一方、同一IPアドレスのSIPサーバが登録されていない場合は、特定不可能として処理を図3のフローチャートに戻す。   In S200, the CPU 101 acquires the transmission source IP address of the received INVITE command. Subsequently, in S <b> 201, the CPU 101 confirms whether or not there is a SIP server that matches the transmission source IP address from the list of SIP servers set in the communication terminal device 100. As a result, if a SIP server with the same IP address is registered, it is identified by referring to the type of the registered SIP server, and the process returns to the flowchart of FIG. On the other hand, if no SIP server with the same IP address is registered, the process returns to the flowchart of FIG.

ここで、図6を参照して、通信端末装置100が有するSIPサーバ一覧について説明する。図6は、通信端末装置100の表示/操作部102のSIPサーバの種別を登録する画面例である。SIPサーバ設定として、通信を行うSIPサーバを識別するための名称と、SIPサーバのIPアドレスに加え、SIPサーバの種別情報を登録して管理する。このSIPサーバの種別情報とは、SIPサーバの特徴となる項目である。例えば、SIPサーバが管理する通信環境であったり、SIPサーバのベンダ情報などである。この種別に応じて、Offer SDPに設定するメディア情報が決定(選択)される。   Here, with reference to FIG. 6, the SIP server list which the communication terminal device 100 has is demonstrated. FIG. 6 is an example of a screen for registering the SIP server type of the display / operation unit 102 of the communication terminal apparatus 100. As the SIP server setting, in addition to the name for identifying the SIP server for communication and the IP address of the SIP server, the SIP server type information is registered and managed. The SIP server type information is an item that is a characteristic of the SIP server. For example, the communication environment managed by the SIP server, or the vendor information of the SIP server. According to this type, media information to be set in Offer SDP is determined (selected).

図6に示すように、登録ボタン302、削除ボタン303を用いて、SIPサーバのIPアドレスと、種別を登録、削除することができる。ここでは、設定領域301に示すように、IPアドレスが172.16.1.1のSIPサーバはNGN環境用のSIPサーバであり、172.16.1.2のSIPサーバはLAN環境用のSIPサーバであることが設定されている。   As shown in FIG. 6, the IP address and type of the SIP server can be registered and deleted using a registration button 302 and a deletion button 303. Here, as shown in the setting area 301, the SIP server with the IP address of 172.16.1.1 is the SIP server for the NGN environment, and the SIP server of 172.16.1.2 is the SIP server for the LAN environment. It is set to be a server.

図7は、通信端末装置100の表示/操作部102のSIPサーバのデフォルト通信設定を登録する画面例である。当該画面は、例えば、図6の設定領域301の種別の欄が選択されると表示される。この例では、SIPサーバの種別をNGNボタン311かLANボタン310かの何れかを選択して、SIPサーバの種別を登録することができる。NGNに設定された場合、通信端末装置100が種別が不明なSIPサーバと通信する場合NGN環境として動作する。この設定は、図4のS107のように通信するSIPサーバの種別が不明な場合に参照されるものである。   FIG. 7 is an example of a screen for registering the default communication setting of the SIP server of the display / operation unit 102 of the communication terminal device 100. This screen is displayed when, for example, the type column of the setting area 301 in FIG. 6 is selected. In this example, the SIP server type can be registered by selecting either the NGN button 311 or the LAN button 310 as the SIP server type. When set to NGN, the communication terminal apparatus 100 operates as an NGN environment when communicating with a SIP server whose type is unknown. This setting is referred to when the type of the SIP server for communication is unknown as in S107 of FIG.

NGNボタン311又はLANボタン310の何れかが選択された状態で、設定ボタン312が押下されると、選択されている種別が設定され、図6の画面に戻る。図6の画面に戻ると、設定領域301の種別の領域に設定された種別が表示される。また、戻るボタン313が押下されると、設定を変更することなく図6の画面に戻る。   When the setting button 312 is pressed while either the NGN button 311 or the LAN button 310 is selected, the selected type is set and the screen returns to the screen of FIG. Returning to the screen of FIG. 6, the type set in the type area of the setting area 301 is displayed. When the return button 313 is pressed, the screen returns to the screen of FIG. 6 without changing the setting.

<変形例>
次に、図5を参照して、S106のINVITEリクエストからSIPサーバを特定する他の方法について説明する。ここでは、過去の通信履歴を利用してSIPサーバの種別を特定する。なお、以下で説明する処理は、通信端末装置100のRAM107等のメモリに格納されたプログラムがCPU101において実行されることにより実現される。
<Modification>
Next, another method for specifying a SIP server from the INVITE request in S106 will be described with reference to FIG. Here, the type of the SIP server is specified using the past communication history. Note that the processing described below is realized by the CPU 101 executing a program stored in a memory such as the RAM 107 of the communication terminal device 100.

S210において、CPU101は、受信したINVITEリクエストのFromヘッダのドメイン名を確認する。Fromヘッダのドメイン名を取得すると、S211において、CPU101は、通信端末装置100に設けられたHDD等のメモリに保存された過去の通信履歴(履歴情報)から通信に成功した履歴情報の中で、送信者のドメイン名が一致する履歴の有無を判定する。この結果、同一ドメインに対して、通信に成功した履歴があればその通信で利用したメディア情報をSDPとして利用できるため、SIPサーバの種別を特定可能と判断する。なぜならば、同一ドメインである場合、通信する際に同じSIPサーバを利用する可能性が高いためである。また、INVITEでOfferSDPが設定されていなかったが、同じドメンに存在するほかの通信端末装置では、INVITEリクエストでOfferSDPを設定して通信を行っている可能性がある。そのような通信端末装置と過去に通信した履歴があれば、SIPサーバとの通信に必要なSDPのメディア情報が特定できる。一方、同一ドメインに対して通信に成功した履歴が無ければSIPサーバの種別を特定できないと判断する。   In S210, the CPU 101 confirms the domain name of the From header of the received INVITE request. When the domain name of the From header is acquired, in S211, the CPU 101, among the history information that has been successfully communicated from the past communication history (history information) stored in a memory such as an HDD provided in the communication terminal device 100, Determine whether there is a history that matches the sender's domain name. As a result, if there is a history of successful communication for the same domain, the media information used in the communication can be used as the SDP, so that it is determined that the type of SIP server can be specified. This is because, in the same domain, there is a high possibility of using the same SIP server when communicating. In addition, although OfferSDP has not been set in INVITE, there is a possibility that other communication terminal devices existing in the same domain are performing communication by setting OfferSDP in the INVITE request. If there is a history of communication with such a communication terminal device in the past, SDP media information necessary for communication with the SIP server can be specified. On the other hand, if there is no history of successful communication with the same domain, it is determined that the SIP server type cannot be specified.

具体例として、図9に示すINVITEリクエストを受信した場合について説明する。図9のINVITEリクエストから、送信元がiRADV03@conon−mj.co.jpであることが分かる。この場合の送信元のドメイン名は”conon−mj.co.jp”となる。   As a specific example, a case where the INVITE request shown in FIG. 9 is received will be described. From the INVITE request in FIG. 9, the transmission source is iRADV03 @ conon-mj. co. It can be seen that it is jp. In this case, the domain name of the transmission source is “conn-mj.co.jp”.

このときの通信端末装置100に保存されている通信履歴が図8である場合について説明する。図8に示すように、通信履歴には、各通信履歴のNo、通信結果、送信者のアドレス、通信メディア情報が紐付けて保存されている。この通信履歴から送信元のドメイン名が””conon−mj.co.jp”で通信が成功した履歴はNo1,No3であり、利用したメディア情報は”application,tcp“であることが分かる。そのため、図9のINVITEリクエストに対する応答のSDPにはメディア情報として”application,tcp”を設定して応答することになる。   A case where the communication history stored in the communication terminal device 100 at this time is FIG. 8 will be described. As shown in FIG. 8, the communication history stores the communication history No, the communication result, the address of the sender, and the communication media information in association with each other. From this communication history, the source domain name is “” conn-mj. co. The history of successful communication with “jp” is No1, No3, and the used media information is “application, tcp.” Therefore, the SDP in response to the INVITE request in FIG. It responds by setting tcp ".

<INVITEリクエスト>
次に、図10を参照して、INVITEリクエストを送信する際の処理手順について説明する。本発明は、INVITEリクエストを受信した場合だけでなく、INVITEリクエストを送信する場合も適用することができる。なお、以下で説明する処理は、通信端末装置100のRAM107等のメモリに格納されたプログラムがCPU101において実行されることにより実現される。
<INVITE request>
Next, a processing procedure when an INVITE request is transmitted will be described with reference to FIG. The present invention can be applied not only when an INVITE request is received but also when an INVITE request is transmitted. Note that the processing described below is realized by the CPU 101 executing a program stored in a memory such as the RAM 107 of the communication terminal device 100.

INVITEリクエストを送信する場合、S300において、CPU101は、プロトコル判定手段として機能し、SIP通信を行うトランスポートプロトコルを確認する。このときに、トランスポートプロトコルがTCP/SSHである場合はS301に進み、CPU101は、OfferSDPに含めるメディア情報として、通信端末装置100が可能な全てのメディア情報を設定し、S305でINVITEリクエストを生成する。   In the case of transmitting an INVITE request, in S300, the CPU 101 functions as a protocol determination unit and confirms a transport protocol for performing SIP communication. At this time, if the transport protocol is TCP / SSH, the process proceeds to S301, and the CPU 101 sets all the media information that the communication terminal apparatus 100 is capable of as media information to be included in OfferSDP, and generates an INVITE request in S305. To do.

一方、SIP通信プロトコルがUDPである場合はS302に進み、通信先のSIPサーバの種別が特定可能であるかどうかを判定する。この判定結果により、S303又はS304で設定するSDPのメディア情報を決定(選択)して、S305でINVITEリクエストを生成する。UDPである場合の通信先のSIPサーバ種別の特定方法は、特許文献1と同じ手法である。   On the other hand, when the SIP communication protocol is UDP, the process proceeds to S302, and it is determined whether or not the type of the SIP server as the communication destination can be specified. Based on the determination result, the SDP media information set in S303 or S304 is determined (selected), and an INVITE request is generated in S305. The method for specifying the SIP server type of the communication destination in the case of UDP is the same method as in Patent Document 1.

以上説明したように、本願発明によれば、OfferSDPとして設定するメディアタイプとして、様々なメディアタイプに対応する通信端末装置において、Offer SDPが含まれていないINVITEリクエストを受信した場合に、INVITEリクエストから、応答するOfferSDPのメディア情報を自動で決定(選択)することができる。なお、本発明は、INVITEリクエストを送信する際のIVITEリクエストの生成時にも適用することができる。   As described above, according to the present invention, when an INVITE request that does not include an Offer SDP is received in a communication terminal device that supports various media types as a media type to be set as OfferSDP, The media information of the OfferSDP that responds can be automatically determined (selected). The present invention can also be applied when generating an IVITE request when an INVITE request is transmitted.

<その他の実施例>
また、本発明は、以下の処理を実行することによっても実現される。即ち、上述した実施形態の機能を実現するソフトウェア(プログラム)を、ネットワーク又は各種記憶媒体を介してシステム或いは装置に供給し、そのシステム或いは装置のコンピュータ(又はCPUやMPU等)がプログラムを読み出して実行する処理である。
<Other examples>
The present invention can also be realized by executing the following processing. That is, software (program) that realizes the functions of the above-described embodiments is supplied to a system or apparatus via a network or various storage media, and a computer (or CPU, MPU, etc.) of the system or apparatus reads the program. It is a process to be executed.

Claims (10)

SIP通信を行う情報処理装置であって、
SIPサーバからINVITEリクエストを受信する受信手段と、
前記受信手段によって受信した前記INVITEリクエストにSDPが含まれているか否か解析する解析手段と、
前記解析手段によって前記INVITEリクエストに前記SDPが含まれていないと解析されると、SIP通信のトランスポートプロトコルを判定するプロトコル判定手段と、
前記プロトコル判定手段によって前記トランスポートプロトコルがUDPであると判定されると、前記SIPサーバの種別に応じてSDPのメディア情報を選択し、前記プロトコル判定手段によって前記トランスポートプロトコルがTCP又はSSLであると判定されると、全てのSDPのメディア情報を選択する選択手段と、
前記選択手段によって選択されたSDPのメディア情報を設定したINVITEレスポンスを生成して前記SIPサーバに応答する応答手段と
を備えることを特徴とする情報処理装置。
An information processing apparatus that performs SIP communication,
Receiving means for receiving an INVITE request from the SIP server;
Analyzing means for analyzing whether or not SDP is included in the INVITE request received by the receiving means;
If the analysis means analyzes that the SDP is not included in the INVITE request, a protocol determination means for determining a transport protocol for SIP communication;
When the protocol determination unit determines that the transport protocol is UDP, SDP media information is selected according to the type of the SIP server, and the transport protocol is TCP or SSL by the protocol determination unit. A selection means for selecting media information of all SDPs,
An information processing apparatus comprising: response means for generating an INVITE response in which the media information of the SDP selected by the selection means is set and responding to the SIP server.
前記情報処理装置と通信可能なSIPサーバの情報を記憶する記憶手段をさらに備え、
前記選択手段は、
前記プロトコル判定手段によって前記トランスポートプロトコルがUDPであると判定されると、前記INVITEリクエストに含まれる送信元IPアドレスが、前記記憶手段に記憶されているSIPサーバの何れかに一致するか否かを判定する手段を備え、
前記記憶手段に前記送信元IPアドレスが一致するSIPサーバの情報があれば、前記記憶手段に記憶されている当該SIPサーバの種別に応じて前記SDPのメディア情報を選択し、
前記記憶手段に前記送信元IPアドレスが一致するSIPサーバの情報が無ければ、予め定められたSDPのメディア情報を選択することを特徴とする請求項1に記載の情報処理装置。
Further comprising storage means for storing information of a SIP server capable of communicating with the information processing apparatus;
The selection means includes
If it is determined by the protocol determination means that the transport protocol is UDP, whether or not the source IP address included in the INVITE request matches any of the SIP servers stored in the storage means Means for determining
If there is information of the SIP server with the same source IP address in the storage means, the media information of the SDP is selected according to the type of the SIP server stored in the storage means,
2. The information processing apparatus according to claim 1, wherein if there is no information on the SIP server having the same source IP address in the storage unit, media information of a predetermined SDP is selected.
SIP通信の履歴情報を記憶する記憶手段をさらに備え、
前記選択手段は、
前記プロトコル判定手段によって前記トランスポートプロトコルがUDPであると判定されると、前記INVITEリクエストに含まれるFromヘッダのドメイン名が、前記記憶手段に記憶されている通信履歴の中で同一のドメイン名の通信が成功した履歴があるか否かを判定する手段を備え、
前記通信が成功した履歴があれば、前記記憶手段に記憶されている履歴のメディア情報を、前記SDPのメディア情報として選択し、
前記通信が成功した履歴が無ければ、予め定められたSDPのメディア情報を選択することを特徴とする請求項1に記載の情報処理装置。
A storage unit for storing SIP communication history information;
The selection means includes
When the protocol determination unit determines that the transport protocol is UDP, the domain name of the From header included in the INVITE request is the same domain name in the communication history stored in the storage unit. Means for determining whether there is a history of successful communication;
If there is a history of successful communication, select the media information of the history stored in the storage means as the media information of the SDP,
2. The information processing apparatus according to claim 1, wherein if there is no history of successful communication, media information of a predetermined SDP is selected.
前記予め定められたSDPのメディア情報を設定する設定手段をさらに備えることを特徴とする請求項2又は3に記載の情報処理装置。   The information processing apparatus according to claim 2, further comprising a setting unit that sets the media information of the predetermined SDP. 前記選択手段は、
前記解析手段によって前記INVITEリクエストに前記SDPが含まれていると解析されると、該INVITEリクエストに含まれる前記SDPのメディア情報を選択することを特徴とする請求項1乃至3の何れか1項に記載の情報処理装置。
The selection means includes
4. The media information of the SDP included in the INVITE request is selected when the analyzing unit analyzes that the SDP is included in the INVITE request. 5. The information processing apparatus described in 1.
SIP通信を行う情報処理装置であって、
SIPサーバへINVITEリクエストを送信する際に、SIP通信のトランスポートプロトコルを判定するプロトコル判定手段と、
前記プロトコル判定手段によって前記トランスポートプロトコルがUDPであると判定されると、前記SIPサーバの種別に応じてSDPのメディア情報を選択し、前記プロトコル判定手段によって前記トランスポートプロトコルがTCP又はSSLであると判定されると、全てのSDPのメディア情報を選択する選択手段と、
前記選択手段によって選択されたSDPのメディア情報を設定したINVITEリクエストを生成して前記SIPサーバに送信する送信手段と
を備えることを特徴とする情報処理装置。
An information processing apparatus that performs SIP communication,
Protocol determination means for determining a transport protocol for SIP communication when an INVITE request is transmitted to the SIP server;
When the protocol determination unit determines that the transport protocol is UDP, SDP media information is selected according to the type of the SIP server, and the transport protocol is TCP or SSL by the protocol determination unit. A selection means for selecting media information of all SDPs,
An information processing apparatus comprising: a transmission unit configured to generate an INVITE request in which the media information of the SDP selected by the selection unit is set and transmit the request to the SIP server.
請求項1乃至6の何れか1項に記載の情報処理装置と、
画像を処理する画像処理手段と
を備える画像処理装置。
The information processing apparatus according to any one of claims 1 to 6,
An image processing apparatus comprising image processing means for processing an image.
SIP通信を行う情報処理装置の制御方法であって、
受信手段が、SIPサーバからINVITEリクエストを受信する受信ステップと、
解析手段が、前記受信ステップにおいて受信した前記INVITEリクエストにSDPが含まれているか否か解析する解析ステップと、
プロトコル判定手段が、前記解析ステップにおいて前記INVITEリクエストに前記SDPが含まれていないと解析されると、SIP通信のトランスポートプロトコルを判定するプロトコル判定ステップと、
選択手段が、前記プロトコル判定ステップにおいて前記トランスポートプロトコルがUDPであると判定されると、前記SIPサーバの種別に応じてSDPのメディア情報を選択し、前記プロトコル判定ステップにおいて前記トランスポートプロトコルがTCP又はSSLであると判定されると、全てのSDPのメディア情報を選択する選択ステップと、
応答手段が、前記選択ステップにおいて選択されたSDPのメディア情報を設定したINVITEレスポンスを生成して前記SIPサーバに応答する応答ステップと
を備えることを特徴とする情報処理装置の制御方法。
A method of controlling an information processing apparatus that performs SIP communication,
A receiving step for receiving an INVITE request from the SIP server;
An analyzing step for analyzing whether or not SDP is included in the INVITE request received in the receiving step;
If the protocol determining means analyzes that the SDP is not included in the INVITE request in the analyzing step, a protocol determining step for determining a transport protocol for SIP communication;
When it is determined that the transport protocol is UDP in the protocol determination step, the selection unit selects SDP media information according to the type of the SIP server, and in the protocol determination step, the transport protocol is TCP Or, if it is determined that it is SSL, a selection step of selecting media information of all SDPs;
And a response step of generating an INVITE response in which the media information of the SDP selected in the selection step is set and responding to the SIP server.
SIP通信を行う情報処理装置の制御方法であって、
プロトコル判定手段が、SIPサーバへINVITEリクエストを送信する際に、SIP通信のトランスポートプロトコルを判定するプロトコル判定ステップと、
選択手段が、前記プロトコル判定ステップにおいて前記トランスポートプロトコルがUDPであると判定されると、前記SIPサーバの種別に応じてSDPのメディア情報を選択し、前記プロトコル判定ステップによって前記トランスポートプロトコルがTCP又はSSLであると判定されると、全てのSDPのメディア情報を選択する選択ステップと、
送信手段が、前記選択ステップにおいて選択されたSDPのメディア情報を設定したINVITEリクエストを生成して前記SIPサーバに送信する送信ステップと
を備えることを特徴とする情報処理装置の制御方法。
A method of controlling an information processing apparatus that performs SIP communication,
A protocol determination step for determining a transport protocol for SIP communication when the protocol determination means transmits an INVITE request to the SIP server;
When it is determined that the transport protocol is UDP in the protocol determination step, the selection unit selects SDP media information according to the type of the SIP server, and the transport protocol is determined to be TCP by the protocol determination step. Or, if it is determined that it is SSL, a selection step of selecting media information of all SDPs;
A control method for an information processing apparatus, comprising: a transmission step of generating an INVITE request in which the media information of the SDP selected in the selection step is set and transmitting the request to the SIP server.
請求項8又は9に記載された情報処理装置の制御方法における各ステップを、コンピュータに実行させるためのプログラム。   The program for making a computer perform each step in the control method of the information processing apparatus described in Claim 8 or 9.
JP2012271774A 2012-12-12 2012-12-12 Information processing device, control method therefor, program and image processing device Pending JP2014116911A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012271774A JP2014116911A (en) 2012-12-12 2012-12-12 Information processing device, control method therefor, program and image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012271774A JP2014116911A (en) 2012-12-12 2012-12-12 Information processing device, control method therefor, program and image processing device

Publications (1)

Publication Number Publication Date
JP2014116911A true JP2014116911A (en) 2014-06-26

Family

ID=51172464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012271774A Pending JP2014116911A (en) 2012-12-12 2012-12-12 Information processing device, control method therefor, program and image processing device

Country Status (1)

Country Link
JP (1) JP2014116911A (en)

Similar Documents

Publication Publication Date Title
US20100183001A1 (en) Intercept system, route changing device and recording medium
JP2010051009A (en) METHOD AND DEVICE FOR CONTROLLING SESSION QoS
WO2007074959A1 (en) System for providing share of contents based on packet network in voice comunication based on circuit network
US10708439B2 (en) Information processing apparatus, information processing method, and storage medium
JP2005065293A (en) Method and apparatus for facsimile reception in mobile device having simultaneous voice and data function
JP2006148418A (en) Server and communication control method
JP2006067400A (en) Communication system, control method of communication system and control program for communication system
JP2006352319A (en) Communication system and communication method
JP2005244275A (en) Gateway unit
JP4821465B2 (en) Communication device
JP4577183B2 (en) Communication terminal device and control method thereof
JP2014116911A (en) Information processing device, control method therefor, program and image processing device
JP4468200B2 (en) Address book management device and program thereof
JP5184435B2 (en) Content acquisition method, content acquisition device, content acquisition program, and recording medium
JP4301202B2 (en) SIP proxy server
JP7340835B2 (en) Program, information processing method, and information processing device
JP2007312123A (en) Communication terminal
US20150172507A1 (en) Image communication apparatus, operation method, and storage medium
JP2008022380A (en) Communication control unit, communication control method, and program for communication control
JP2008141585A (en) Communication device, and communication method
JP4329719B2 (en) SIP proxy server
JP4044553B2 (en) Communication driver device and communication control method
JP5893304B2 (en) COMMUNICATION CONTROL DEVICE, ITS CONTROL METHOD, AND CONTROL PROGRAM
JP4698249B2 (en) Attendant stand device and program thereof
JP4458297B2 (en) Service providing system, information processing apparatus, IP telephone apparatus, and service providing method