JP2005159588A - Communication apparatus, its control method, and control program of communication apparatus - Google Patents
Communication apparatus, its control method, and control program of communication apparatus Download PDFInfo
- Publication number
- JP2005159588A JP2005159588A JP2003393223A JP2003393223A JP2005159588A JP 2005159588 A JP2005159588 A JP 2005159588A JP 2003393223 A JP2003393223 A JP 2003393223A JP 2003393223 A JP2003393223 A JP 2003393223A JP 2005159588 A JP2005159588 A JP 2005159588A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- image
- communication apparatus
- address
- image communication
- 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
Links
Images
Abstract
Description
本発明は、IP網を経由して音声通信および画像通信を行なう通信装置、その制御方法、およびその制御プログラムに関するものである。 The present invention relates to a communication apparatus that performs voice communication and image communication via an IP network, a control method thereof, and a control program thereof.
近年、ADSLやFTTHなどのブロードバンド回線の普及が著しい。このブロードバンド回線の高速伝送性を活かして音声をIPパケット化して伝送するIP電話サービスも急速に普及している。 In recent years, the spread of broadband lines such as ADSL and FTTH has been remarkable. IP telephone services for transmitting voice in IP packets by utilizing the high-speed transmission capability of the broadband line are also rapidly spreading.
IP電話においては、通話音声データの送受信はIPアドレスを有する端末間でTCP(あるいはUDP)/IPレイヤ上でVoIP(Voice over IP:たとえばITU−T勧告H.323:下記の非特許文献1)プロトコルなどにより行なわれる。したがって、電話番号からIPアドレスへの変換処理が必要であるが、現在では電話番号からIPアドレスへの変換に関してはSIP(Session Initiate Protocol:RFC2543:下記の非特許文献2)が有力な規格となっている。
In an IP phone, voice voice data is transmitted and received between terminals having IP addresses on the TCP (or UDP) / IP layer by using VoIP (Voice over IP: for example, ITU-T recommendation H.323: Non-patent
SIPを用いたIP電話通信においては、接続される端末で電話番号を入力すると、SIPプロキシサーバ(以下SIPプロキシと記す)宛てに送信先電話番号を含むセッション要求メッセージが送信される。セッション要求メッセージを受信したSIPプロキシはENUMサーバに問い合わせて電話番号に対応するURIを入手する(E.164(ITU−T勧告)番号からURIへの変換:RFC916:下記の非特許文献3)。続いてSIPプロキシはDNS(Domain Name System:RFC1035:下記の非特許文献4)サーバから、URIに対応するIPアドレスを入手し、SIPプロキシが通話端末間での初期接続を代理した後、双方の通話端末が相手のIPアドレスを認識し、これ以降端末から送信される音声パケットがIPアドレス間で送受信される。
In IP telephone communication using SIP, when a telephone number is input at a connected terminal, a session request message including a destination telephone number is transmitted to a SIP proxy server (hereinafter referred to as a SIP proxy). The SIP proxy that has received the session request message inquires of the ENUM server to obtain a URI corresponding to the telephone number (E.164 (ITU-T recommendation) number to URI conversion: RFC916: Non-patent
一方、IP網上で画像通信を行なうには、ITU−T勧告T.37やT.38に記載されたいわゆるインターネットファクシミリ手順を用いる他、より高速な手法、たとえば画像データをSMTP、FTP、HTTP、RCP、IPPFAXなどのプロトコルで送信することにより、相手側で表示したり印刷したりすることができる。
従来では、音声通信と画像通信をIP網上で行なう場合には別々のハードウェアを用いる必要があり、またその操作も複雑であった。 Conventionally, when performing voice communication and image communication over an IP network, it is necessary to use separate hardware, and the operation is complicated.
たとえば通話中に同じ相手に画像を送信することが、同一のハードウェアでは不可能であり、たとえば通話するにはIP電話端末で電話番号を入力して相手に接続し、通話相手から、会話によってIPアドレスや、Printer−URIを聞き、パソコン等のIP電話端末とは別の画像通信装置にあらためてIPアドレス等を入力しなければならず、複雑な操作が必要であり、誤操作も生じやすい。 For example, it is impossible to send an image to the same party during a call with the same hardware. For example, to make a call, enter the phone number at the IP phone terminal and connect to the other party. The IP address or the printer-URI is heard, and the IP address or the like must be input again to an image communication apparatus different from the IP telephone terminal such as a personal computer, which requires a complicated operation and tends to cause an erroneous operation.
一方、上述のようにSIPプロキシを用いれば、相手端末のIPアドレスを認識でき、送信元の端末がサーバを経由しないで、送信先の端末宛てにPeer to Peer で音声データ以外のたとえば画像データなども送信できることが明らかであるが、従来ではSIPプロキシから入手したIPアドレスは呼接続時にしか利用されておらず、結局、画像通信のためには上記のような何らかの別の装置(およびその操作)が必要であった。 On the other hand, if the SIP proxy is used as described above, the IP address of the partner terminal can be recognized, and the source terminal does not pass through the server, and peer-to-peer other than voice data such as image data is sent to the destination terminal. However, conventionally, the IP address obtained from the SIP proxy is used only at the time of call connection. Eventually, for image communication, some other device as described above (and its operation) Was necessary.
本発明の課題は、上記の問題に鑑み、IP網を経由して音声通信および画像通信を行なう通信装置、その制御方法、およびその制御プログラムにおいて、無駄な呼接続を行なうことなく、また極めて簡易な操作で音声通信ないし画像通信を連続して行なえるようにすることにある。 In view of the above problems, an object of the present invention is to provide a communication device that performs voice communication and image communication via an IP network, a control method thereof, and a control program thereof, without making useless call connection and extremely simple. It is to be able to perform voice communication or image communication continuously with a simple operation.
上記の課題を解決するため本発明は、音声通信のための音声入出力手段と送信すべき画像を入力する画像入力手段とを有し、IP網を経由して音声通信および画像通信を行なう通信装置、その制御方法、およびその制御プログラムにおいて、発呼後の第1の通信セッションにおいてSIPサービスを利用して相手通信装置のIPアドレスを取得し、音声通信または画像通信を行ない、その後の第2の通信セッションにおいてSIPサービスを利用することなく第1の通信セッションで取得した相手通信装置のIPアドレスを用いて相手通信装置と接続し画像通信または音声通信を行なう構成を採用した。 In order to solve the above-mentioned problems, the present invention has a voice input / output means for voice communication and an image input means for inputting an image to be transmitted, and performs voice communication and image communication via an IP network. In the apparatus, its control method, and its control program, the IP address of the partner communication apparatus is acquired by using the SIP service in the first communication session after the call, voice communication or image communication is performed, and then the second In this communication session, an image communication or voice communication is performed by connecting to the partner communication device using the IP address of the partner communication device acquired in the first communication session without using the SIP service.
上記の特徴的な構成を採用することにより、第2の通信セッションにおいてSIPサービスを利用することなく第1の通信セッションで取得した相手通信装置のIPアドレスを用いるようにしているので、無駄な呼接続処理を行なうことなく、また極めて簡易な操作で音声通信ないし画像通信を連続して行なえるという優れた効果を得られる。 By adopting the above characteristic configuration, the IP address of the partner communication device acquired in the first communication session is used in the second communication session without using the SIP service. It is possible to obtain an excellent effect that voice communication or image communication can be continuously performed without performing connection processing and with an extremely simple operation.
以下、図面に示した実施例に基づき本発明を詳細に説明する。本発明はIP電話、あるいはIP通信に対応した通信装置に適用可能なものであるが、以下、IP電話による通話が可能な画像通信装置と、その制御方法、ないしその制御プログラムに関する実施例を示す。 Hereinafter, the present invention will be described in detail based on the embodiments shown in the drawings. The present invention is applicable to an IP telephone or a communication apparatus compatible with IP communication. Hereinafter, an embodiment relating to an image communication apparatus capable of making a telephone call using an IP telephone, its control method, and its control program will be described. .
図1は本実施例を適用可能なネットワークシステムの構成を示している。同図において、符号101はインターネット網(IP網)である。102はENUMサーバであり、電話番号をURIないしドメインネームに変換する処理を行なう。103はDNS(Domain Name System)サーバであり、ドメインネームをIPアドレスに変換する処理を行なう。
FIG. 1 shows the configuration of a network system to which this embodiment can be applied. In the figure,
符号104はVoIP用SIPプロキシ(グローバルIPアドレス:193.168.0.1)であり、IP電話サービスにおける呼接続処理を行なうためのSIP(Session Initiation Protocol)サービスを提供する。
符号105は第一の画像通信装置(グローバルIPアドレス:194.168.0.1)であり、本実施例では発呼および画像送信側の装置として機能する。
符号106はADSLモデムであり、アナログ電話を接続するアナログ電話インターフェースとデジタルデータの送受信を行なうためのCSMA/CD(たとえばEthernet(商標名))インターフェースを有する。ADSLモデム106はアナログ電話インターフェース(不図示)の音声帯域信号とCSMA/CDインターフェース107の音声帯域外信号を多重・変調して通信回線に送信する機能、さらに逆に、通信回線から受信した信号を音声帯域信号と音声帯域外信号に分離し、それぞれアナログ電話インターフェースとCSMA/CDインターフェース107に出力する機能を有する。
符号107は上記のADSLモデムと画像通信装置を接続するCSMA/CDインターフェース、108は第二の画像通信装置(グローバルIPアドレス:197.168.0.1)、109はADSLモデム106と同様に構成されたADSLモデム、110はCSMA/CDインターフェース107と同様に構成されたCSMA/CDインターフェースである。
図2(a)は画像通信装置105(あるいは後述の画像通信装置108)の構成を示している。同図において、符号201はCPUであり、ROM202に格納されたプログラムにしたがって画像通信装置の制御を行なう。CPU201はTCP/IPのプロトコル処理も行ない、画像データのTCP/IPフレームへの組立はCPU201の制御により行われる。203はRAMであり、プログラム実行時のワークメモリとして使用すると共に、送受信する画像データのバッファリングにも使用される。
FIG. 2A shows the configuration of the image communication apparatus 105 (or an
符号204はCIS(Contact Image Sensor)であり、原稿の画像をアナログ信号に変換する。読取制御部205はCIS204が出力するアナログ信号をデジタルデータに変換する。変換されたデジタルデータは、CPU201の制御によりRAM203に転送され、後述のようにして送信(あるいは記録出力など)される。
符号206はMH符号化・復号化処理部であり、画像送信時には、読み取った画像データをMH符号化してデータ圧縮する。受信時には、MH符号化されている画像データを復号化する。
符号207はFAXモデムであり、送信時にはMH符号化されたデータを変調してアナログ回線で伝送可能な音声帯域のアナログ信号に変換する。受信時には受信したアナログ信号を復調して、MH符号化データを出力する。
符号208は音声入出力部(ハンドセット)であり、音声を入力するマイクと、音声を出力するスピーカから構成されている。
符号209はアナログスイッチであり、CODEC210に接続する信号を切り替えるスイッチである。ファクシミリ画像通信時にはCODEC210とFAXモデム207を接続し、通話時にはCODEC210と音声入出力部208を接続する。
符号211はキー操作部であり、ダイヤルやファクシミリ送受信の操作ボタンなどから構成され液晶表示部212とともにユーザーインターフェース手段を構成する。
符号213は電子写真方式、インクジェット方式など任意の記録方式により構成された記録処理部である。記録処理部213は受信(あるいは他の方法で入力)した画像データを印刷用ラスタデータに変換し、印刷出力する。
符号214はカードインターフェースであり、デジタルカメラで撮影したJPEG画像を格納したメモリカードを接続することができる。
符号215はJPEG処理部であり、カードインターフェースを経由して入力されたJPEG画像をJPEG圧縮するものである。また、受信したJPEG画像データを伸張するものである。
符号216はLANコントローラであり、ADSLモデム106(109)との間でCSMA/CDインターフェース107(110)を経由してデータ送受信を行なう。送信するデータをLANコントローラ216に転送すると、MAC(Media Access Control)フレームヘッダとFCS(Frame Check Sequence)などを付加した上で、CSMA/CDインターフェース107に送信する。
Reference numeral 216 denotes a LAN controller which performs data transmission / reception with the ADSL modem 106 (109) via the CSMA / CD interface 107 (110). When the data to be transmitted is transferred to the LAN controller 216, it is transmitted to the CSMA /
図2(b)は、図1の画像通信装置105(108)の外観構成を示している。同図において、符号101は画像通信装置105(108)が接続されるインターネット網(IP網)である。本実施例では、有線回線接続、すなわちADSLによりIP網101と画像通信装置105(108)が接続される(ただし、ADSL以外にも有線(光ファイバなども含む)/無線の任意のLAN方式、CATV方式など任意の接続方式が考えられる)。ADSLの場合は、終端装置としてADSLモデム106(109)が用いられ、ADSLモデム106(109)のIP網101側はアナログ電話回線接続、画像通信装置105(108)側はLAN接続となる。
FIG. 2B shows an external configuration of the image communication apparatus 105 (108) of FIG. In the figure,
また、画像通信装置105(108)の操作部211(図2(a)の操作部211に対応)には画像通信キー211aが設けられており、この画像通信キー211aは通常のファクシミリ装置の「送信」ボタンなどと同様に機能し、画像通信キー211aを押下することで画像通信(たとえばCIS204で読み取った画像、カードインターフェース214から入力したJPEG画像などの送信)を開始させることができる。
The operation unit 211 (corresponding to the
さらに、操作部211には、通話キー211bが設けられているが、この通話キー211bは、後述の実施例2において、第1セッションでまず画像通信を行ない、その後第2セッションの通話を開始する場合に用いられる。
Furthermore, the
次に上記構成における通信制御につき説明する。以下、第一の画像通信装置105から第二の画像通信装置108に対して発呼して通話を行ない、さらに通話中に画像送信を行なう場合の処理について説明する。
Next, communication control in the above configuration will be described. Hereinafter, processing when the first
図4(a)〜(c)は画像通信装置105が実行する通信制御手順、図5は画像通信装置108が実行する通信制御手順、図6はSIPプロキシ104が実行する通信制御手順を示している。図4(a)〜(c)において、同一のアルファベットを付したフローはその位置で連続しているものとする。これらの通信手順はROM202にCPU201の制御プログラムとして格納しておけばよい。
4A to 4C are communication control procedures executed by the
図3(a)〜(c)は図4〜図6の通信制御により実現される通信シーケンスを示したもので、図4〜図6の各処理に対応するステップ番号を付してある。 FIGS. 3A to 3C show communication sequences realized by the communication control of FIGS. 4 to 6, and step numbers corresponding to the processes of FIGS. 4 to 6 are given.
図3(a)は画像通信装置105から画像通信装置108に対して初めて通話のための接続をする場合の通信シーケンス、図3(b)および図3(c)は画像通信装置105から画像通信装置108に対して、通話中から再度の呼接続を行なうことなく画像送信を行なう場合の通信シーケンスである。
FIG. 3A shows a communication sequence when the
特に、図3(b)、図3(c)のうち図3(b)は通話において得られたIPアドレスから第2のセッションを張り、受信したPrinter−URIがメモリに格納したPrinter−URIに一致した時の通信シーケンスを、一方、図3(c)は受信したPrinter−URIがメモリに格納したPrinter−URIに一致しなかった時、再度Printer−URIを手動入力させるときの通信シーケンス図である。 In particular, in FIG. 3B and FIG. 3C, FIG. 3B extends the second session from the IP address obtained in the call, and the received Printer-URI is stored in the Printer-URI stored in the memory. On the other hand, FIG. 3C is a communication sequence diagram when manually inputting the Printer-URI again when the received Printer-URI does not match the Printer-URI stored in the memory. is there.
以下、第一の画像通信装置105から第二の画像通信装置108に対して通話中に通話相手に対して画像通信を開始する場合の処理について説明する。
Hereinafter, processing when the first
画像通信装置のキー操作部211により宛先の電話番号の入力に続いて画像送信キーが押下されると(図4(a)ステップS401)、この電話番号に対応するIPアドレスがメモリに格納されているかどうかをチェックする(ステップS402)。既に画像送信を行ったことのある相手先であれば、後述のようにして電話番号に対応するIPアドレスがメモリ(RAM203)の所定領域に格納されている。
When the image transmission key is pressed following the input of the destination telephone number by the
ステップS402において電話番号に対応するIPアドレスがメモリに格納されている場合にはステップS440にジャンプするが、IPアドレスがメモリに格納されていない場合にはステップS404〜S406でSIPサービスを利用して相手局のIPアドレスを取得する。 If the IP address corresponding to the telephone number is stored in the memory in step S402, the process jumps to step S440. If the IP address is not stored in the memory, the SIP service is used in steps S404 to S406. Get the IP address of the other station.
ステップS404ではメモリに入力された電話番号に対応して、ADSLモデム106に接続されたCSMA/CDインターフェース107経由で、前記電話番号情報を入れたSIPセッション要求メッセージ(INVITEメッセージ)を送信する処理を行なう(ステップS404)。このSIPメッセージは以下のようなテキストフォーマットにより構成される。
In step S404, a process of transmitting a SIP session request message (INVITE message) containing the telephone number information via the CSMA /
INVITE sip:ezumi@canon.co.jp SIP/2.0
Via:SIP/2.0/UDP soho.canon.co.jp
From: yosuke ezumi <ippfax://ezumi.canon.co.jp>
To: <tel: 050-1234-5678>
Call-ID:2ef-1737483932@soho.canon.co.jp
Cseq:1 INVITE
Content Type: application/SDP
v=0
o=mhandley 2890844526 2890842807 IN IP4 126.16.64.4
s=Image
t=2873397496 2873404696
m=ippfax 44000 TCP
上記のごとく、入力された電話番号に基づく宛先情報などを記述したヘッダに続く本文においては、SDP(Session Description Protocol:RFC2327)に基づいて各種パラメータを記述する。画像通信をする場合には、この中にメディア種別が画像であること(上記の「s=Image」)や、使用する画像伝送プロトコル種別に関する記述を行なうことができる。また、画像パケットを送受信する際に使用するTCPポート番号についても記述することができ、上記の例では、画像パケットの送受信プロトコルとしてIPPFAXを、またTCPの44000番ポートを使用することを指定(上記の「m=ippfax 44000 TCP」の部分)している。
INVITE sip: ezumi@canon.co.jp SIP / 2.0
Via: SIP / 2.0 / UDP soho.canon.co.jp
From: yosuke ezumi <ippfax: //ezumi.canon.co.jp>
To: <tel: 050-1234-5678>
Call-ID: 2ef-1737483932@soho.canon.co.jp
Cseq: 1 INVITE
Content Type: application / SDP
v = 0
o = mhandley 2890844526 2890842807 IN IP4 126.16.64.4
s = Image
t = 2873397496 2873404696
m = ippfax 44000 TCP
As described above, in the text following the header describing destination information based on the input telephone number, various parameters are described based on SDP (Session Description Protocol: RFC2327). In the case of image communication, the media type is an image (“s = Image” above) and a description about the type of image transmission protocol to be used can be described. In addition, the TCP port number used when transmitting / receiving the image packet can be described. In the above example, it is specified that IPPFAX is used as the transmission / reception protocol of the image packet, and that the 44000 port of TCP is used (described above). Part of "m = ippfax 44000 TCP").
このSIPメッセージを送信するにあたっては、トランスポート層としてはUDPを使用する。このため、CPU201はSIPメッセージにUDPヘッダを付加して、UDPフレームを生成してメモリ203に格納する。UDPヘッダ内の送信先アドレスには、SIPプロキシ104のIPアドレス193.168.0.1を入れ、送信元アドレスには、画像通信装置105のIPアドレスである194.168.0.1を入れる。また、宛先ポート番号には、SIPのWell−knownポート番号である5060を入れ、送信元ポート番号には任意のポート番号(本例では5000とする)を入れる。
When transmitting this SIP message, UDP is used as a transport layer. For this reason, the
このようにして生成したUDPフレームをCPU201はLANコントローラ216に転送する。LANコントローラ216は送信データを受信すると、MAC(Media Access Control)ヘッダを付加してADSLモデム106に送信し、データを受信したADSLモデム106は受信したデータをIP網101に送信する。これ以降に送信される各種メッセージについても、同様の手順により送信される。
The
本パケットの場合は、送信先IPアドレスとしてSIPプロキシ104のIPアドレスが入れられているので、IP網101を経由してSIPプロキシ104に届けられる(図6ステップS601)。
In the case of this packet, since the IP address of the
SIPプロキシ104は受け取ったセッション要求メッセージのヘッダ内の電話番号を「8.7.6.5.4.3.2.1.e164.arpa」のようなアドレス形式に展開し(ステップS602)、ENUMサーバ102に問い合わせる(ステップS603)。問い合わせを受けたENUMサーバ102は「8.7.6.5.4.3.2.1. e164.arpa」に対応するURIを検索し、得られたURI、たとえば「ippfax://canon.co.jp/abc」のようなURIをSIPプロキシ104に返信する。
The
URIを受信したSIPプロキシ104は(ステップS604)、DNSサーバ103に対して、受信したURI「ippfax://canon.co.jp/abc」に対応するIPアドレスを問い合わせる(ステップS605)。問い合わせを受けたDNSサーバ103はこのURIに対応する画像通信装置108に対応するIPアドレス197.168.0.1をSIPプロキシ104に対して返送する。
The
DNSサーバから相手先の画像通信装置108のIPアドレスを受信したSIPプロキシ104は(ステップS606)、画像通信装置105から受信したパケット内の送信先IPアドレスをDNSサーバ103から受信した画像通信装置108のIPアドレスに入れ替え、送信元IPアドレスをSIPプロキシ104のIPアドレスに入れ替えた上で、画像通信装置108宛てにセッション要求メッセージを送信する(ステップS607)。
The
一方、セッション要求メッセージを受信した画像通信装置108は(図5ステップS501)、呼出中メッセージをSIPプロキシ104宛てに送信する(ステップS502)。呼出中メッセージのヘッダ内の宛先には、受信したセッション要求メッセージのヘッダに記述されている送信元電話番号情報を入れ、送信先IPアドレスには、セッション要求メッセージの送信元IPアドレスである、SIPプロキシ104のアドレスを入れて送信する。このとき、画像通信装置108が送信するSIPメッセージ(呼出中メッセージ)には、画像通信装置105の送信したセッション要求メッセージと同様に、上記SDPフォーマットによる各種パラメータも記述し、画像通信装置108が受信する画像パケット用のTCPポート番号も指定することもできる。本実施例においては、画像通信装置108が画像パケット受信に用いるポート番号を47000とする。
On the other hand, the
また、画像通信装置108は、呼出中メッセージを送信すると共に、呼出音を鳴動すると同時に、通話のための着信があったことを表示する(ステップS503)。
In addition, the
呼出中メッセージを受信したSIPプロキシ104は(ステップS608)、呼出中メッセージの送信先IPアドレスを画像通信装置105のIPアドレスに、送信元IPアドレスをSIPプロキシ104のIPアドレスにそれぞれ入れ替えて送信し(ステップS609)、画像通信装置105が呼出中メッセージを受信する(図4ステップS405)。
The
その後、画像通信装置108の操作部211の適当なキー操作(図2(b)の構成では通話キー211aを用いてもよい)、またはハンドセットのオフフックによって、応答メッセージがSIPプロキシ104経由で画像通信装置105に送信される(図4ステップS406、図5ステップS521)。このとき、応答メッセージを受信(ステップS610)したSIPプロキシ104は、送信先IPアドレスのみを画像通信装置105のIPアドレスに変換して応答メッセージを転送し(ステップS611)、画像通信装置105が応答メッセージを受信する(ステップS406)。
Thereafter, the response message is transmitted via the
画像通信装置105では、応答メッセージを受信すると、現時点のセッションが発呼後2回目以降の通信セッションか否かを判定する。本実施例では最初の通信セッションで通話を行ない、続いて2回目以降の通信セッションで画像通信を行なうので、ここではその切り分けを行なっている。発呼後の2回目以降の通信セッションの場合はステップS421(図4(b))に移行し、発呼後の最初の通信セッションの場合はステップS407に移行する。
When receiving the response message, the
画像通信装置105は、ステップS407において受信した応答メッセージ内の送信元IPアドレスにより、画像通信装置108のIPアドレスを認識することができ、これ以降はSIPプロキシ104を経由しないで、直接画像通信装置108宛てにパケットを送信することが可能になる。
The
さらに、画像通信装置105は、上記のようにして認識した画像通信装置108のIPアドレス197.168.0.1を電話番号050−1234−5678に対応付けてメモリに格納する(ステップS408)。この電話番号/IPアドレスの対応情報は、上述のステップS402で検索されるもので、したがって、過去に通信した相手であれば上記のステップS402〜S440への分岐が生じ、SIPセッションを行なうことなく高速な呼接続が可能となる。
Further, the
画像通信装置105は宛先IPアドレスを画像通信装置108のIPアドレスとした応答確認メッセージを送信して、呼接続手順は終了し通話状態になる(ステップS409)。ここで、画像通信装置105と画像通信装置108は通話状態に移行し、通話が行われる。
The
以上のようにして行なわれる呼接続、および第1セッションにおける通話の通信シーケンスは図3(a)に示される通りである。 The communication sequence of the call connection and the call in the first session performed as described above is as shown in FIG.
ユーザが通話中の相手に対して画像送信を希望する場合は、通話の状態を保持したまま画像を通信する操作を行なう。すなわち、画像通信装置105において、通話相手への画像送信が選択、たとえば、操作部211の画像通信キー211aの操作(あるいは他の適当な操作)が行なわれる(ステップS441)と、ステップS421(図4(b))に移行する。画像送信が選択されない間は、通話終了操作(たとえばオンフック操作などによる)をステップS442で検出しつつステップS409にループし、通話処理が続行される。
When the user wishes to transmit an image to the other party during the call, an operation for communicating the image is performed while maintaining the state of the call. That is, when image transmission to the other party is selected in
画像送信が選択されると、画像通信装置105は送信先の画像通信装置108のIPアドレスが197.168.0.1であることを認識(図4(b)ステップS421)し、第2のセッション要求メッセージにIPアドレス197.168.0.1を付加して送信する(ステップS422)。セッション要求メッセージは上に示したSIPメッセージと同様の形式であるが、内容については既に交換したSIPメッセージの内容に応じてパラメータ(ポート番号やプロトコルなどの指定)の指定を変更することができ、このような制御により相手の通信能力に合せたネゴシエーションを実現できる。
When image transmission is selected, the
これ以降、画像通信装置105と画像通信装置108の間で、呼出中メッセージ、応答メッセージ、応答確認メッセージの送受信が行われ、これら呼接続メッセージを正常に送受信できたか否かを判定する(ステップS423)。呼接続メッセージを正常に送受信できなかった場合は後述のステップS444に移行する。
Thereafter, a calling message, a response message, and a response confirmation message are transmitted and received between the
呼接続メッセージを正常に送受信できた場合は、ステップS424以降においてIPPFAXプロトコルによる画像送受信手順を開始する。まず、画像通信装置105はGet−Printer−Attributesメッセージを送信する(ステップS424)。このGet−Printer−Attributesメッセージの詳細に関しては後述のステップS410以降を参照されたい。
If the call connection message can be normally transmitted / received, an image transmission / reception procedure based on the IPPFAX protocol is started after step S424. First, the
このGet−Printer−Attributesメッセージに対して、画像通信装置108からGet−Printer−Attributes Responseメッセージを受信すると(ステップS425)、同メッセージ内のPrinter−URIに記載されている画像通信装置108のPrinter−URIを読み出す(ステップS426)。そして、読み出したPrinter−URIを、メモリに格納されているダイヤルした電話番号に対応するPrinter−URIと比較する(ステップS427)。
In response to this Get-Printer-Attributes message, when a Get-Printer-Attributes Response message is received from the image communication apparatus 108 (step S425), the Printer- of the
比較した結果、受信したPrinter−URIがメモリに格納されているPrinter−URIと一致しているならば、通信中の画像通信装置108が目的の通信相手であると認識し(ステップS428)、ステップS410(図4(c))以降の画像送信制御に移行する。
As a result of the comparison, if the received Printer-URI matches the Printer-URI stored in the memory, the
なお、受信したPrinter−URIがメモリに格納されているPrinter−URIと一致していない場合、および上述のステップS425において画像通信装置108からGet−Printer−Attributes Responseメッセージを受信できなかった場合は、ステップS444の処理を行なう。このステップS444については後述する。
If the received Printer-URI does not match the Printer-URI stored in the memory, and if the Get-Printer-Attributes Response message cannot be received from the
このようにして通話中から開始される第2セッションによる画像通信のシーケンスは図3(b)に示されている。この画像送信においてはリアルタイム性よりもデータ誤りの防止が重要であるため、画像通信にはトランスポート層としてTCPを使用する。 FIG. 3B shows a sequence of image communication in the second session started from the call in this way. In this image transmission, since prevention of data errors is more important than real-time characteristics, TCP is used as a transport layer for image communication.
ここでは画像通信装置105が、画像送信に先立ちIPPFAXのプロトコルに基づいて、送信画像パラメータなどの情報を画像通信装置108に送信する。IPPFAXメッセージはすべてHTTPのPOSTを使って送信する。また、上述のメッセージ交換により、画像通信装置105が送信するIPPFAXメッセージ内の宛先ポート番号は47100、送信元ポート番号は44100となっており、画像通信装置108が送信するIPPFAXメッセージ内の宛先ポート番号は44100、送信元ポート番号は47100が選択されている。
Here, the
画像通信において、画像通信装置105はまずGet−Printer−Attributesメッセージを送信する(図4(c)ステップS410)。本メッセージは、画像通信装置108に対して、装置名称、処理可能な文書形式などを確認することを目的としている。文書形式はMIME(Multipurpose Internet Mail Extensions)形式で記述される。
In image communication, the
Get−Printer−Attributesメッセージのフォーマットの詳細はRFC2911に記述されているので、ここでは詳述しないが、本実施例では、ステップS410で送信するGet−Printer−Attributesメッセージに
・画像通信装置108が文書形式としてJPEG画像の受信/記録をサポートしているかどうかを確認する
・画像通信装置108のPrinter−URIを確認する
情報を含めるものとする(ステップS424で送信するものも同様とする)。これは、相手の画像通信装置宛てにSIPプロキシを経由しないで画像を送信する場合に、Printer−URIによって、送信しようとしている相手であるかどうかを判断することになるためである。
Details of the format of the Get-Printer-Attributes message are described in RFC 2911, and will not be described in detail here. Confirm whether JPEG image reception / recording is supported as a format. Information for confirming the Printer-URI of the
また、Get−Printer−Attributesメッセージの送信処理は、ステップS424(図4(b))とステップS410(図4(c))に配置されているが、これは後述するステップS444でPrinter−URIが手動入力される可能性があるためである。 Further, the Get-Printer-Attributes message transmission process is arranged in step S424 (FIG. 4B) and step S410 (FIG. 4C), which is performed by the printer-URI in step S444 described later. This is because there is a possibility of manual input.
Get−Printer−Attributesメッセージを受信した画像通信装置108は(図5ステップS506)、文書形式としてJPEG画像をサポートしていることを示す内容を含むGet−Printer−Attributes Responseメッセージを画像通信装置105に送信する(ステップS507)。
The
画像通信装置105は、Get−Printer−Attributes Responseメッセージを受信すると(図4(c)ステップS411)、同メッセージ内のPrinter−URIに記載されている画像通信装置108のPrinter−URIを、画像通信装置108の電話番号に対応づけてメモリに格納する(ステップS412)。また、画像データを送信してもよいかどうかを確認するために、画像通信装置108に対して、Validate−Jobメッセージを送信する(ステップS413)。
When the
画像通信装置108はValidate−Jobメッセージを受信した時に、受信できる状態にあれば(図5ステップS508)、Validate−Job Responseメッセージを画像通信装置105に送信する(ステップS509)。
When the
画像通信装置105はValidate−Job Responseメッセージを受信(図4(c)ステップS414)すると、JPEG画像ファイルを送信するためにPrint−Jobメッセージを送信する。このPrint−Jobメッセージ内には、送信先装置のURI、文書名、文書形式などの属性情報と共に画像ファイルそのものを含んでいる。
When the
Print−Jobメッセージを生成する際には、画像通信装置105はCPU201がカードインターフェース214を経由してメモリカードに格納されているJPEGデータを読み出す(ステップS415)。続いて、CPU201は読み出したデータをBASE64変換処理し、Print−Jobメッセージの各属性とIPアドレスやポート番号を含むTCPヘッダを付加したフレームを生成してRAM203に格納する(ステップS416)。続いて、本フレームをLANコントローラ216に転送し、LANコントローラ216においては、MACアドレスを付加して送信する(ステップS417)。
When generating the Print-Job message, the
Print−Jobメッセージを受信した画像通信装置108は(図5ステップS510)、MIMEヘッダの属性情報を参照することにより、受信した画像ファイルがJPEG画像であることを認識することができる。画像通信装置108においては、LANコントローラ216においてヘッダを削除し、JPEGデータをRAM203に格納する(ステップS511)。
The
画像通信装置108は画像データを正常に受信できた場合は、その旨を示すPrint−Job Responseメッセージを画像通信装置105に送信して、これにより画像通信動作が終了する(ステップS512)。なお、JPEG画像を受信した画像通信装置108では、JPEGデータがJPEG処理部215により伸張され(ステップS513)、記録処理部213が伸張された画像データをCMKYの4色データに変換し(ステップS514)、印刷出力する(ステップS515)。
When the
画像通信装置105は、Print−Job Responseメッセージを受信すると(ステップS418)画像が正常に送信できたと判断して画像送信動作を終了する(ステップS419)。このようにして第2セッションがクローズされる。
When receiving the Print-Job Response message (step S418), the
なお、図4(b)のステップS423において呼接続メッセージを正常に送受信できなかった場合、ステップS425において所定の時間が経過しても画像通信装置108からGet−Printer−Attributes Responseメッセージを受信できなかった場合、および、ステップS427のPrinter−URIの比較において、受信したPrinter−URIがメモリに格納されているPrinter−URIと一致していない場合には、ステップS444に移行する。
If the call connection message cannot be normally transmitted / received in step S423 of FIG. 4B, the Get-Printer-Attributes Response message cannot be received from the
ステップS422において、画像通信装置108に対してINVITEメッセージを送信しても応答メッセージを受信しない場合は(ステップS423)、画像通信装置108との間にあるファイアウォールなどの制約により画像通信装置108と接続できない状態にある可能性があるため、また、ステップS425でGet−Printer−Attributes Responseメッセージを受信できなかった場合、およびステップS427で受信したPrinter−URIがメモリに格納されているPrinter−URIと一致していない場合は、相手端末が所望の画像通信装置108ではなかった可能性があるためである。
If no response message is received even if an INVITE message is transmitted to the
ステップS444においては、画像送信を所望する相手のPrinter−URIを手動入力させる。このPrinter−URIの入力には、表示部212で適当な警告メッセージを表示し、操作部211から画像送信を所望する相手のPrinter−URIを入力させる。
In step S444, the printer-URI of the partner for whom image transmission is desired is manually input. For the input of the Printer-URI, an appropriate warning message is displayed on the
ステップS444でPrinter−URIの入力が行なわれなかった場合は画像通信装置108は所望の通信相手でないと認識して(図4(b)ステップS430)、続くIPPFAXの手順を中止(ステップS431)し、通話処理(図4(a)ステップS409)に戻る。
If the Printer-URI is not input in step S444, the
ステップS444でPrinter−URI入力が行なわれた場合、図3(c)の通信シーケンスが行なわれる。すなわち、入力されたURIからDNSサーバ103を検索(図4(b)ステップS451)する。そして、URIに対応するIPアドレスが得られると図4(a)のステップS440を経由して図4(b)のステップS421に移行し、上述のIPPFAX手順により画像送受信が行なわれる。
When the Printer-URI input is performed in step S444, the communication sequence of FIG. 3C is performed. That is, the
以上のようにして、本実施例によれば、通話のために接続した1回目の通信セッションにおいてSIPプロキシサービスから得たIPアドレスを用い、Printer−URIを入手し、2回目のセッションでは、IP電話の呼接続、すなわち、SIPプロキシサービスを経由することなく、通話に続いて(通話しながら)画像通信を行なうことができる。 As described above, according to the present embodiment, the printer-URI is obtained using the IP address obtained from the SIP proxy service in the first communication session connected for the call, and the IP address is obtained in the second session. It is possible to perform image communication following a call (while calling) without going through a telephone call connection, that is, a SIP proxy service.
本実施例によれば、相手電話番号を入力し、通話を開始し、その後、所定操作を行なう、たとえば画像通信キー211aを押すだけで極めて容易に通話相手に画像を送信することができる。
According to the present embodiment, an image can be transmitted to a call partner very easily by simply inputting the other party's telephone number, starting a call, and then performing a predetermined operation, for example, by pressing the
また、本実施例では、過去に通信した相手の電話番号とIPアドレスの対応情報をメモリにキャッシュし通話開始前に入力電話番号からメモリの対応情報を検索し、対応情報があればその情報を用いて通信を開始するようにしているので、高速な呼接続を行なうことができる(図4(a)ステップS408およびS402)。 Also, in this embodiment, the correspondence information between the telephone number and IP address of the other party who has communicated in the past is cached in the memory, and the correspondence information in the memory is searched from the input telephone number before the call starts. Therefore, high-speed call connection can be performed (steps S408 and S402 in FIG. 4A).
また、通話開始後、画像通信を行なう場合、SIPプロキシサービスから得たPrinter−URIと、IPPFAXプロトコルのGet−Printer−Attributes Responseから得たPrinter−URIを照合(図4(b)ステップS427)することにより、画像送信先が正しいかどうかを確認でき、さらに両者が一致していない場合は所望の画像送信先のPrinter−URIを手動入力(ステップS444)することができ、画像送信の確実性を高めることができる。 When image communication is performed after the call is started, the Printer-URI obtained from the SIP proxy service and the Printer-URI obtained from the IPPFAX protocol Get-Printer-Attributes Response are collated (FIG. 4 (b), step S427). Thus, whether or not the image transmission destination is correct can be confirmed, and if the two do not match, the Printer-URI of the desired image transmission destination can be manually input (step S444), and the reliability of image transmission can be improved. Can be increased.
以上では、発呼後、第1通信セッションで通話を行ない、第2通信セッションで画像通信を行なう例を示したが、以下、本実施例2として示すように第1通信セッションで画像通信を行ない、第2通信セッションで通話を行なうことも考えられる。 In the above, an example has been described in which a telephone call is made in the first communication session and image communication is performed in the second communication session after the call is made. Hereinafter, image communication is performed in the first communication session as shown in the second embodiment. It is also conceivable to make a call in the second communication session.
本実施例のハードウェア構成は図1、図2(a)および図2(b)に示したものと同様であるものとする。本実施例では、図2(b)の通話キー211bが用いられる。 It is assumed that the hardware configuration of this embodiment is the same as that shown in FIGS. 1, 2A, and 2B. In this embodiment, the call key 211b shown in FIG. 2B is used.
また、本実施例の通信シーケンス、および画像通信装置の制御手順は図7(a)〜(c)、図8(a)、(b)および図9に示してある。図7は実施例1では図3に、図8は実施例1では図4に相当するもので、それぞれ同等の形式で図示されている。 The communication sequence of this embodiment and the control procedure of the image communication apparatus are shown in FIGS. 7 (a) to 7 (c), FIGS. 8 (a), 8 (b) and FIG. FIG. 7 corresponds to FIG. 3 in the first embodiment, and FIG. 8 corresponds to FIG. 4 in the first embodiment.
すなわち、図7(a)は画像通信装置105から画像通信装置108に対して初めて画像送信のための接続をする場合の通信シーケンス、図7(b)および図7(c)は画像通信装置105から画像通信装置108に対して、画像送信中から再度の呼接続を行なうことなく通話を行なう場合の通信シーケンスである。
7A shows a communication sequence when the
また、図8(a)、(b)は画像通信装置105が実行する通信制御手順、図9は画像通信装置108が実行する通信制御手順である。図8(a)、(b)において、同一のアルファベットを付したフローはその位置で連続しているものとする。これらの通信手順はROM202にCPU201の制御プログラムとして格納しておけばよい。
8A and 8B show a communication control procedure executed by the
なお、SIPプロキシ104の通信制御手順については図6と同一であるので、本実施例では省略するが、SIPプロキシ104の通信制御手順に関しては以下では図6の参照符号を示すものとする。
Since the communication control procedure of the
以下、第一の画像通信装置105から第二の画像通信装置108に対して発呼して、まず第1の通信セッションで画像通信を行ない、続いて第2の通信セッションで通話を開始する場合の処理について説明する。
Hereinafter, when a call is made from the first
画像通信装置のキー操作部211により宛先の電話番号の入力に続いて画像送信キーが押下されると(図8(a)ステップS1401)、この電話番号に対応するIPアドレスがメモリに格納されているかどうかをチェックする(ステップS1402)。既に画像送信を行ったことのある相手先であれば、後述のようにして電話番号に対応するIPアドレスがメモリ(RAM203)の所定領域に格納されている。
When the image transmission key is pressed following the input of the destination telephone number by the
ステップS1402において電話番号に対応するIPアドレスがメモリに格納されている場合にはステップS1440にジャンプするが、IPアドレスがメモリに格納されていない場合にはステップS1404〜S1406でSIPサービスを利用して相手局のIPアドレスを取得する。 If the IP address corresponding to the telephone number is stored in the memory in step S1402, the process jumps to step S1440. If the IP address is not stored in the memory, the SIP service is used in steps S1404 to S1406. Get the IP address of the other station.
ステップS1404ではメモリに入力された電話番号に対応して、ADSLモデム106に接続されたCSMA/CDインターフェース107経由で、前記電話番号情報を入れたSIPセッション要求メッセージ(INVITEメッセージ)を送信する処理を行なう(ステップS1404)。このSIPメッセージは、実施例1の場合と同様、以下のようなテキストフォーマットにより構成される。
In step S1404, a process of transmitting a SIP session request message (INVITE message) containing the telephone number information via the CSMA /
INVITE sip:ezumi@canon.co.jp SIP/2.0
Via:SIP/2.0/UDP soho.canon.co.jp
From: yosuke ezumi <ippfax://ezumi.canon.co.jp>
To: <tel: 050-1234-5678>
Call-ID:2ef-1737483932@soho.canon.co.jp
Cseq:1 INVITE
Content Type: application/SDP
v=0
o=mhandley 2890844526 2890842807 IN IP4 126.16.64.4
s=Image
t=2873397496 2873404696
m=ippfax 44000 TCP
上記のごとく、入力された電話番号に基づく宛先情報などを記述したヘッダに続く本文においては、SDP(Session Description Protocol:RFC2327)に基づいて各種パラメータを記述する。画像通信をする場合には、この中にメディア種別が画像であること(上記の「s=Image」)や、使用する画像伝送プロトコル種別に関する記述を行なうことができる。また、画像パケットを送受信する際に使用するTCPポート番号についても記述することができ、上記の例では、画像パケットの送受信プロトコルとしてIPPFAXを、またTCPの44000番ポートを使用することを指定(上記の「m=ippfax 44000 TCP」の部分)している。
INVITE sip: ezumi@canon.co.jp SIP / 2.0
Via: SIP / 2.0 / UDP soho.canon.co.jp
From: yosuke ezumi <ippfax: //ezumi.canon.co.jp>
To: <tel: 050-1234-5678>
Call-ID: 2ef-1737483932@soho.canon.co.jp
Cseq: 1 INVITE
Content Type: application / SDP
v = 0
o = mhandley 2890844526 2890842807 IN IP4 126.16.64.4
s = Image
t = 2873397496 2873404696
m = ippfax 44000 TCP
As described above, in the text following the header describing destination information based on the input telephone number, various parameters are described based on SDP (Session Description Protocol: RFC2327). In the case of image communication, the media type is an image (“s = Image” above) and a description about the type of image transmission protocol to be used can be described. In addition, the TCP port number used when transmitting / receiving the image packet can be described. In the above example, it is specified that IPPFAX is used as the transmission / reception protocol of the image packet, and that the 44000 port of TCP is used (described above). Part of "m = ippfax 44000 TCP").
このSIPメッセージを送信するにあたっては、トランスポート層としてはUDPを使用する。このため、CPU201はSIPメッセージにUDPヘッダを付加して、UDPフレームを生成してメモリ203に格納する。UDPヘッダ内の送信先アドレスには、SIPプロキシ104のIPアドレス193.168.0.1を入れ、送信元アドレスには、画像通信装置105のIPアドレスである194.168.0.1を入れる。また、宛先ポート番号には、SIPのWell−knownポート番号である5060を入れ、送信元ポート番号には任意のポート番号(本例では5000とする)を入れる。
When transmitting this SIP message, UDP is used as a transport layer. For this reason, the
このようにして生成したUDPフレームをCPU201はLANコントローラ216に転送する。LANコントローラ216は送信データを受信すると、MAC(Media Access Control)ヘッダを付加してADSLモデム106に送信し、データを受信したADSLモデム106は受信したデータをIP網101に送信する。これ以降に送信される各種メッセージについても、同様の手順により送信される。
The
本パケットの場合は、送信先IPアドレスとしてSIPプロキシ104のIPアドレスが入れられているので、IP網101を経由してSIPプロキシ104に届けられる(図6ステップS601)。
In the case of this packet, since the IP address of the
SIPプロキシ104は受け取ったセッション要求メッセージのヘッダ内の電話番号を「8.7.6.5.4.3.2.1.e164.arpa」のようなアドレス形式に展開し(ステップS602)、ENUMサーバ102に問い合わせる(ステップS603)。問い合わせを受けたENUMサーバ102は「8.7.6.5.4.3.2.1. e164.arpa」に対応するURIを検索し、得られたURI、たとえば「ippfax://canon.co.jp/abc」のようなURIをSIPプロキシ104に返信する。
The
URIを受信したSIPプロキシ104は(ステップS604)、DNSサーバ103に対して、受信したURI「ippfax://canon.co.jp/abc」に対応するIPアドレスを問い合わせる(ステップS605)。問い合わせを受けたDNSサーバ103はこのURIに対応する画像通信装置108に対応するIPアドレス197.168.0.1をSIPプロキシ104に対して返送する。
The
DNSサーバから相手先の画像通信装置108のIPアドレスを受信したSIPプロキシ104は(ステップS606)、画像通信装置105から受信したパケット内の送信先IPアドレスをDNSサーバ103から受信した画像通信装置108のIPアドレスに入れ替え、送信元IPアドレスをSIPプロキシ104のIPアドレスに入れ替えた上で、画像通信装置108宛てにセッション要求メッセージを送信する(ステップS607)。
The
一方、セッション要求メッセージを受信した画像通信装置108は(図9ステップS1501)、呼出中メッセージをSIPプロキシ104宛てに送信する(ステップS1502)。呼出中メッセージのヘッダ内の宛先には、受信したセッション要求メッセージのヘッダに記述されている送信元電話番号情報を入れ、送信先IPアドレスには、セッション要求メッセージの送信元IPアドレスである、SIPプロキシ104のアドレスを入れて送信する。このとき、画像通信装置108が送信するSIPメッセージ(呼出中メッセージ)には、画像通信装置105の送信したセッション要求メッセージと同様に、上記SDPフォーマットによる各種パラメータも記述し、画像通信装置108が受信する画像パケット用のTCPポート番号も指定することもできる。本実施例においては、画像通信装置108が画像パケット受信に用いるポート番号を47000とする。
On the other hand, the
また、画像通信装置108においては、本呼出中メッセージを送信すると同時に、画像通信装置108は呼出音を鳴動すると同時に、画像着信があったことを表示する(ステップS1503)。
In addition, the
呼出中メッセージを受信したSIPプロキシ104は(ステップS608)、呼出中メッセージの送信先IPアドレスを画像通信装置105のIPアドレスに、送信元IPアドレスをSIPプロキシ104のIPアドレスにそれぞれ入れ替えて送信し(ステップS609)、画像通信装置105が呼出中メッセージを受信する(図8ステップS1405)。
The
本実施例では画像受信側の画像通信装置108は画像受信については手動着信を行なうものとする。画像通信装置108のキー操作部において画像受信キー(図2(b)の構成では画像通信キー211aを用いてもよい)が押下されると(ステップS1504)、画像通信装置108はSIPプロキシ104宛てに応答メッセージを送信する(ステップS1505)。なお、画像通信装置108が自動受信モードである場合には、INVITEメッセージの受信(ステップS1501)に応じてステップS1505の応答メッセージ送信を行なえばよい。
In this embodiment, it is assumed that the
この応答メッセージを受信(図6ステップS610)すると、SIPプロキシ104は、送信先IPアドレスのみを画像通信装置105のIPアドレスに変換して送信し(ステップS611)、画像通信装置105が前記応答メッセージを受信する(図8(a)ステップS1406)。
When this response message is received (step S610 in FIG. 6), the
画像通信装置105は受信した応答メッセージ内の送信元IPアドレスにより、画像通信装置108のIPアドレスを認識することができ(図8(a)ステップS1407)、これ以降はSIPプロキシ104を経由しないで、直接画像通信装置108宛てにパケットを送信することが可能になる。画像通信装置105においては、認識したIPアドレス197.168.0.1を電話番号050−1234−5678に対応付けてメモリに格納する(ステップS1408)。ステップS1440では実施例1同様に最初の通信セッションか否かを判定し、2回目の通信セッションの場合はステップS1421(図8(b))に移行する。
The
画像通信装置105は宛先IPアドレスを画像通信装置108のIPアドレスとした応答確認メッセージを送信して、呼接続手順は終了する(ステップS1409)。
The
以上の手順により、画像通信装置105と画像通信装置108の間で画像データの送受信を開始することができる。
Through the above procedure, transmission / reception of image data can be started between the
このようにして開始される第1セッションによる画像通信のシーケンスは図7(a)に示されている。この画像送信においてはリアルタイム性よりもデータ誤りの防止が重要であるため、画像通信にはトランスポート層としてTCPを使用する。 The sequence of image communication by the first session started in this way is shown in FIG. In this image transmission, since prevention of data errors is more important than real-time characteristics, TCP is used as a transport layer for image communication.
ここでは画像通信装置105が、画像送信に先立ちIPPFAXのプロトコルに基づいて、送信画像パラメータなどの情報を画像通信装置108に送信する。IPPFAXメッセージはすべてHTTPのPOSTを使って送信する。また、上述のメッセージ交換により、画像通信装置105が送信するIPPFAXメッセージ内の宛先ポート番号は47100、送信元ポート番号は44100となっており、画像通信装置108が送信するIPPFAXメッセージ内の宛先ポート番号は44100、送信元ポート番号は47100が選択されている。
Here, the
画像通信において、画像通信装置105はまずGet−Printer−Attributesメッセージを送信する(図8(a)ステップS1410)。本メッセージは、画像通信装置108に対して、装置名称、処理可能な文書形式などを確認することを目的としている。文書形式はMIME(Multipurpose Internet Mail Extensions)形式で記述される。
In image communication, the
Get−Printer−Attributesメッセージのフォーマットの詳細はRFC2911に記述されているので、ここでは詳述しないが、本実施例では、前述の実施例1と同様、図8(a)ステップS1410で送信するGet−Printer−Attributesメッセージに
・画像通信装置108が文書形式としてJPEG画像の受信/記録をサポートしているかどうかを確認する
・画像通信装置108のPrinter−URIを確認する
情報を含めるものとする。これは、相手の画像通信装置宛てにSIPプロキシを経由しないで画像を送信する場合に、Printer−URIによって、送信しようとしている相手であるかどうかを判断することになるためである。
Details of the format of the Get-Printer-Attributes message are described in RFC 2911 and will not be described in detail here. However, in this embodiment, as in the first embodiment, the Get transmitted in step S1410 of FIG. -In the Printer-Attributes message-Check whether the
Get−Printer−Attributesメッセージを受信した画像通信装置108は(図9ステップS1506)、文書形式としてJPEG画像をサポートしていることを示す内容を含むGet−Printer−Attributes Responseメッセージを画像通信装置105に送信する(ステップS1507)。
The
画像通信装置105は、Get−Printer−Attributes Responseメッセージを受信すると(図8(a)ステップS1411)、同メッセージ内のPrinter−URIに記載されている画像通信装置108のPrinter−URIを、画像通信装置108の電話番号に対応づけてメモリに格納する(ステップS1412)。また、画像データを送信してもよいかどうかを確認するために、画像通信装置108に対して、Validate−Jobメッセージを送信する(ステップS1413)。
When the
画像通信装置108はValidate−Jobメッセージを受信した時に、受信できる状態にあれば(図9ステップS1508)、Validate−Job Responseメッセージを画像通信装置105に送信する(ステップS1509)。
When the
画像通信装置105はValidate−Job Responseメッセージを受信(図8(a)ステップS1414)すると、JPEG画像ファイルを送信するためにPrint−Jobメッセージを送信する。このPrint−Jobメッセージ内には、送信先装置のURI、文書名、文書形式などの属性情報と共に画像ファイルそのものを含んでいる。
When the
Print−Jobメッセージを生成する際には、画像通信装置105はCPU201がカードインターフェース214を経由してメモリカードに格納されているJPEGデータを読み出す(図8(a)ステップS1415)。続いて、CPU201は読み出したデータをBASE64変換処理し、Print−Jobメッセージの各属性とIPアドレスやポート番号を含むTCPヘッダを付加したフレームを生成してRAM203に格納する(ステップS1416)。続いて、本フレームをLANコントローラ216に転送し、LANコントローラ216においては、MACアドレスを付加して送信する(ステップS1417)。
When generating the Print-Job message, the
Print−Jobメッセージを受信した画像通信装置108は(図9ステップS1510)、MIMEヘッダの属性情報を参照することにより、受信した画像ファイルがJPEG画像であることを認識することができる。画像通信装置108においては、LANコントローラ216においてヘッダを削除し、JPEGデータをRAM203に格納する(ステップS1511)。
The
画像通信装置108は画像データを正常に受信できた場合は、その旨を示すPrint−Job Responseメッセージを画像通信装置105に送信し、これにより画像通信動作が終了する(図9ステップS1512)。なお、JPEG画像を受信した画像通信装置108ではJPEGデータがJPEG処理部212により伸張され(ステップS1513)記録処理部213が伸張された画像データをCMKYの4色データに変換し(ステップS1514)、プリンタ部において印刷して出力する(ステップS1515)。
If the
画像通信装置105は、Print−Job Responseメッセージを受信(図8(a)ステップS1418)すると、通話選択操作が行なわれたかどうかを判定し(図8(a)ステップS1441)、通話選択操作が行なわれていればステップS1421(図8(b))に移行する。通話選択操作が行なわれていない場合は目的の画像を正常に送信できたと判断して画像送信動作を終了する(ステップS1419)。
When the
図8(a)のステップS1441で通話選択操作の判定は、画像通信装置105において画像通信中、ハンドセットのオフフックや操作部211の通話キー211bの押下などの通話選択操作が実行されたか否かを調べることにより行なう。たとえば、これらの通話選択操作が画像通信中に行なわれた時、フラグがセットされるようにしておき、ステップS1441でこのフラグの状態を調べればよい。
In step S1441 in FIG. 8A, the call selection operation is determined whether or not a call selection operation such as off-hooking of the handset or pressing of the call key 211b of the
ステップS1441で通話選択操作が検出されている場合は、画像通信相手108への通話のための第2セッション要求を送出すべく図8(b)ステップS1421に移行する。この場合、画像通信装置105は既に画像通信のために第1セッションで接続をしているため画像通信装置108のIPアドレスを認識している。すなわち、ステップS1402において、電話番号に対応するIPアドレスがメモリに格納されているので、画像通信装置105は送信先の画像通信装置108のIPアドレスが197.168.0.1(図1のアドレス構成の場合)であることを認識することができる(図8(b)ステップS1421)。
If a call selection operation is detected in step S1441, the process proceeds to step S1421 in FIG. 8B to send a second session request for a call to the
そこで、第2の通信セッション要求を行なうためINVITEメッセージにIPアドレス197.168.0.1を付加し、画像通信装置108に直接送信する(ステップS1422)。セッション要求メッセージの内容については、上述の場合と同じものである。 Therefore, in order to make the second communication session request, the IP address 197.168.0.1 is added to the INVITE message and directly transmitted to the image communication apparatus 108 (step S1422). The contents of the session request message are the same as those described above.
これ以降、図7(b)に示すように、画像通信装置105と画像通信装置108の間で、呼出中メッセージ、応答メッセージ、応答確認メッセージの送受信が行われる(ステップS1423)。IPアドレスがメモリに格納されていない場合(たとえば上記の第1セッション)との違いは、これらのメッセージの送受信においてSIPプロキシ104を経由しないで、画像通信装置105と画像通信装置108の間で直接、送受信される点である。
Thereafter, as shown in FIG. 7B, a calling message, a response message, and a response confirmation message are transmitted and received between the
これらのメッセージの送受信に続いて、画像通信装置108が通話のための第2セッション着信(図9ステップS1520)を検出し、応答(ステップS1521)することにより、画像通信装置105と通話のための接続が確立し、画像通信をしている装置同士が通話のための接続を確立し、通話(図8(b)ステップS1442、図9ステップS1521)を行なうことができる。
Subsequent to the transmission / reception of these messages, the
通話の終了は、画像端末105、108が通話終了を検出(図8(b)ステップS1443、図9ステップS1522)することで終了する。これにより、画像通信中に開始された通話のための第2のセッションが終了する。
The end of the call ends when the
また、画像通信装置105と画像通信装置108の間で、呼出中メッセージ、応答メッセージ、応答確認メッセージの送受信が行われる(ステップS1422、S1423)が、ここで何らかの理由で送受信が正常に行われなかった場合は、次のような動作が行なわれる。この時の通信シーケンスは図7(c)に示してある。
In addition, the calling message, the response message, and the response confirmation message are transmitted and received between the
すなわち、ステップS1423で応答確認メッセージの送受信が正常に行なわれなかった場合には、ステップS1444で操作部211のキー操作により所望の通話相手に対してSIPプロキシ経由の呼接続を行なうためのIP電話番号を手動入力させ、しかる後に図8(a)のステップS1404に移行する。IP電話番号が入力されなかった場合は、ステップS1430に移行する。
That is, if transmission / reception of the response confirmation message is not normally performed in step S1423, an IP phone for performing call connection via SIP proxy to a desired call partner by key operation of
IP電話番号が入力された場合は、図8(a)のステップS1404において、SIPプロキシ104経由でINVITEメッセージを送信し、続いて第2セッションの通話であることがステップS1440で認識され、画像通信装置108のIPアドレスを認識(図8(b)ステップS1421)し、このアドレスを用いてINVITEメッセージが送信される(ステップS1422、S1423)。以後、前述同様にしてステップS1424以降で通話処理が行なわれる。
When the IP telephone number is input, in step S1404 in FIG. 8A, an INVITE message is transmitted via the
一方、図8(b)のステップS1444でIP電話番号が入力されなかった場合は、ステップS1430において、接続相手が所望の通話相手でないと認識して(ステップS1430)、続く通話手順を中止する(ステップS1431)。 On the other hand, if the IP telephone number is not input in step S1444 of FIG. 8B, it is recognized in step S1430 that the connection partner is not the desired call partner (step S1430), and the subsequent call procedure is canceled (step S1430). Step S1431).
以上のようにして、第1通信セッションで画像通信を行ない、第2通信セッションで通話を行なうことができる。 As described above, image communication can be performed in the first communication session and a call can be performed in the second communication session.
本実施例によれば、画像通信のために接続した1回目の通信セッションにおいてSIPプロキシサービスから得たIPアドレスを用い、2回目のセッションでは、IP電話の呼接続、すなわち、SIPプロキシサービスを経由することなく、画像通信に続いて通話を行なうことができる。 According to the present embodiment, the IP address obtained from the SIP proxy service is used in the first communication session connected for image communication, and the IP session is connected via the IP telephone call connection, that is, the SIP proxy service in the second session. Without making a call, it is possible to make a call following the image communication.
本実施例によれば、相手電話番号を入力し、画像通信を開始し、その後、所定操作を行なう、たとえば通話キー211bを押す、あるいはハンドセットのオフフックを行なうだけで極めて容易に通話を開始することができる。 According to the present embodiment, the other party's telephone number is input, image communication is started, and then a predetermined operation is performed, for example, the telephone key 211b is pressed or the handset is off-hooked to start the telephone call very easily. Can do.
本実施例でも、実施例1と同様、過去に通信した相手の電話番号とIPアドレスの対応情報をメモリにキャッシュし通話開始前に入力電話番号からメモリの対応情報を検索し、対応情報があればその情報を用いて通信を開始するようにしているので、高速な呼接続を行なうことができる(図8(a)ステップS1408およびS1402)。 Also in the present embodiment, as in the first embodiment, the correspondence information between the telephone number and IP address of the other party who has communicated in the past is cached in the memory, and the correspondence information in the memory is searched from the input telephone number before the call is started. For example, since the communication is started using the information, high-speed call connection can be performed (steps S1408 and S1402 in FIG. 8A).
なお、上記の実施例1および実施例2においては、画像送信プロトコルとしてIPPFAXを例示したが、FTP、HTTP、RCP、IPPFAXなど、他の任意のIP通信/ファイル転送プロトコルを使用することによっても、同様の効果を得ることができるのはいうまでもない。 In the first and second embodiments, IPPFAX is exemplified as the image transmission protocol. However, by using any other IP communication / file transfer protocol such as FTP, HTTP, RCP, and IPPFAX, Needless to say, similar effects can be obtained.
また、上記の実施例1および実施例2においては、画像通信装置105から画像通信装置108に対してメモリカードのJPEG画像データを送信することを考えたが、CIS204で読み取った画像をMH符号化したデータを送信する場合にも同様の効果を得ることができるのはいうまでもない。
In the first and second embodiments described above, it is considered that the
本発明は、IP網を経由して音声通信および画像通信を行なう通信装置に適用できるものであるが、このような通信装置は、専用機として構成できる他、スキャナやカメラインターフェースなどの画像入出力部と、ネットワークインターフェースを有するPC(パーソナルコンピュータ)などのハードウェアを利用して実施することもできる。特に本発明の方法ないしプログラムはこのようなPCハードウェアを利用する場合に、適当な記憶媒体経由、あるいはネットワーク経由でPCハードウェアに導入することができる。 The present invention can be applied to a communication device that performs voice communication and image communication via an IP network. Such a communication device can be configured as a dedicated machine, and can also be used as an image input / output device such as a scanner or a camera interface. And hardware such as a PC (personal computer) having a network interface. In particular, when using such PC hardware, the method or program of the present invention can be introduced into the PC hardware via an appropriate storage medium or via a network.
102 ENUMサーバ
103 DNSサーバ
104 SIPプロキシ
105 画像通信装置
106、109 ADSLモデム
107、110 CSMA/CDインターフェース
108 画像通信装置
204 CIS
205 読取制御部
207 FAXモデム
208 音声入出力部
210 CODEC
211a 画像通信キー
211b 通話キー
212 液晶表示部
213 記録処理部
214 カードインターフェース
216 LANコントローラ
102
205
211a Image communication key
Claims (18)
SIPサービスを利用して相手通信装置のIPアドレスを取得するIPアドレス取得手段と、
発呼後の第1の通信セッションにおいて前記IPアドレス取得手段を用いて相手通信装置のIPアドレスを取得し、音声通信または画像通信を行ない、その後の第2の通信セッションにおいて前記IPアドレス取得手段を用いることなく第1の通信セッションで取得した相手通信装置のIPアドレスを用いて相手通信装置と接続し画像通信または音声通信を行なう通信制御手段を有することを特徴とする通信装置。 In a communication apparatus that has voice input / output means for voice communication and image input means for inputting an image to be transmitted, and performs voice communication and image communication via an IP network,
IP address acquisition means for acquiring the IP address of the partner communication device using the SIP service;
In the first communication session after the call is made, the IP address acquisition unit is used to acquire the IP address of the partner communication device, voice communication or image communication is performed, and in the subsequent second communication session, the IP address acquisition unit is used. A communication apparatus comprising communication control means for performing image communication or voice communication by connecting to a partner communication apparatus using the IP address of the partner communication apparatus acquired in the first communication session without using it.
発呼後の第1の通信セッションにおいてSIPサービスを利用して相手通信装置のIPアドレスを取得し、音声通信または画像通信を行ない、その後の第2の通信セッションにおいてSIPサービスを利用することなく第1の通信セッションで取得した相手通信装置のIPアドレスを用いて相手通信装置と接続し画像通信または音声通信を行なうことを特徴とする通信装置の制御方法。 In a control method of a communication apparatus having a voice input / output means for voice communication and an image input means for inputting an image to be transmitted, and performing voice communication and image communication via an IP network,
In the first communication session after the call is made, the SIP service is used to acquire the IP address of the partner communication device, voice communication or image communication is performed, and then the second communication session is performed without using the SIP service. A control method for a communication device, characterized in that image communication or voice communication is performed by connecting to the partner communication device using the IP address of the partner communication device acquired in one communication session.
発呼後の第1の通信セッションにおいてSIPサービスを利用して相手通信装置のIPアドレスを取得し、音声通信または画像通信を行ない、その後の第2の通信セッションにおいてSIPサービスを利用することなく第1の通信セッションで取得した相手通信装置のIPアドレスを用いて相手通信装置と接続し画像通信または音声通信を行なうための制御過程を含むことを特徴とする通信装置の制御プログラム。 In a control program for a communication apparatus having a voice input / output means for voice communication and an image input means for inputting an image to be transmitted, and performing voice communication and image communication via an IP network,
In the first communication session after the call is made, the SIP service is used to acquire the IP address of the partner communication device, voice communication or image communication is performed, and then the second communication session is performed without using the SIP service. A control program for a communication apparatus, comprising: a control process for performing image communication or voice communication by connecting to a partner communication apparatus using the IP address of the partner communication apparatus acquired in one communication session.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003393223A JP2005159588A (en) | 2003-11-25 | 2003-11-25 | Communication apparatus, its control method, and control program of communication apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003393223A JP2005159588A (en) | 2003-11-25 | 2003-11-25 | Communication apparatus, its control method, and control program of communication apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005159588A true JP2005159588A (en) | 2005-06-16 |
Family
ID=34719649
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003393223A Pending JP2005159588A (en) | 2003-11-25 | 2003-11-25 | Communication apparatus, its control method, and control program of communication apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005159588A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007088705A (en) * | 2005-09-21 | 2007-04-05 | Oki Electric Ind Co Ltd | Communication terminal having softphone function |
JP2008167021A (en) * | 2006-12-27 | 2008-07-17 | Fujitsu Ltd | Message incoming method, authentication server, application server, and mobile terminal |
JP2008263440A (en) * | 2007-04-12 | 2008-10-30 | Nec Access Technica Ltd | Facsimile data transmission/reception system, facsimile machine and facsimile data transmission/reception method |
JP2010268303A (en) * | 2009-05-15 | 2010-11-25 | Nec Access Technica Ltd | Facsimile communication mediation device, communication system, communication mediation method, and communication mediation program |
JP2011507438A (en) * | 2007-12-18 | 2011-03-03 | アルカテル−ルーセント | Control of sending interface of SIP response message |
JP2013121048A (en) * | 2011-12-07 | 2013-06-17 | Canon Inc | Communication device and its control method, and program |
US8654633B2 (en) | 2006-01-25 | 2014-02-18 | Konica Minolta Business Technologies, Inc | Data communication apparatus, data communication method and data communication processing program |
-
2003
- 2003-11-25 JP JP2003393223A patent/JP2005159588A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007088705A (en) * | 2005-09-21 | 2007-04-05 | Oki Electric Ind Co Ltd | Communication terminal having softphone function |
US8654633B2 (en) | 2006-01-25 | 2014-02-18 | Konica Minolta Business Technologies, Inc | Data communication apparatus, data communication method and data communication processing program |
JP2008167021A (en) * | 2006-12-27 | 2008-07-17 | Fujitsu Ltd | Message incoming method, authentication server, application server, and mobile terminal |
JP2008263440A (en) * | 2007-04-12 | 2008-10-30 | Nec Access Technica Ltd | Facsimile data transmission/reception system, facsimile machine and facsimile data transmission/reception method |
JP4587229B2 (en) * | 2007-04-12 | 2010-11-24 | Necアクセステクニカ株式会社 | Facsimile data transmission / reception system, facsimile apparatus and facsimile data transmission / reception method |
JP2011507438A (en) * | 2007-12-18 | 2011-03-03 | アルカテル−ルーセント | Control of sending interface of SIP response message |
JP2010268303A (en) * | 2009-05-15 | 2010-11-25 | Nec Access Technica Ltd | Facsimile communication mediation device, communication system, communication mediation method, and communication mediation program |
JP2013121048A (en) * | 2011-12-07 | 2013-06-17 | Canon Inc | Communication device and its control method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4343626B2 (en) | Image communication control method, image communication control program, and image communication apparatus | |
EP1583310B1 (en) | Telephone and adaptor for voice and video communication over IP | |
JP6151911B2 (en) | Image processing apparatus, control method thereof, and program | |
JP3826107B2 (en) | Image communication apparatus, control method therefor, program, and storage medium | |
WO2004034657A1 (en) | Communication device, communication device control method, and communication device control program | |
JP4495500B2 (en) | IP telephone and IP telephone call method | |
US20040184110A1 (en) | Facsimile apparatus | |
JP4185891B2 (en) | Communication terminal and communication terminal control method | |
WO2004111749A2 (en) | Communication apparatus, control method of communication apparatus, and control program of communication apparatus | |
JP2005079929A (en) | Communication apparatus, control method of communication apparatus, and control program for communication apparatus | |
JP4006361B2 (en) | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND COMMUNICATION DEVICE CONTROL PROGRAM | |
JP6106027B2 (en) | Image communication apparatus, control method thereof, and program | |
JP2005348192A (en) | Terminal device, control method of terminal device, and control program of terminal device | |
US20050243871A1 (en) | Communication deivce and communication method | |
JP2005159588A (en) | Communication apparatus, its control method, and control program of communication apparatus | |
US9756213B2 (en) | Communication apparatus capable of selecting proper facsimile communication, method of controlling the same, and storage medium | |
JP4039973B2 (en) | IP terminal equipment | |
JP3925728B2 (en) | Facsimile device | |
JP2005303872A (en) | Image transmission system | |
JP2013115704A (en) | Communication device, control method therefor and control program | |
JP4193144B2 (en) | Image communication device | |
JP2022040961A (en) | Ip phone adapter device, fax transmission method, fax reception method, communication system, and fax transmission/reception method | |
JP2005311621A (en) | Communications apparatus and program | |
JP2009296384A (en) | Communication system, method and program |