JP4013153B2 - Communication apparatus and program - Google Patents
Communication apparatus and program Download PDFInfo
- Publication number
- JP4013153B2 JP4013153B2 JP2004124495A JP2004124495A JP4013153B2 JP 4013153 B2 JP4013153 B2 JP 4013153B2 JP 2004124495 A JP2004124495 A JP 2004124495A JP 2004124495 A JP2004124495 A JP 2004124495A JP 4013153 B2 JP4013153 B2 JP 4013153B2
- Authority
- JP
- Japan
- Prior art keywords
- error correction
- communication
- data
- protocol
- correction processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000004891 communication Methods 0.000 title claims description 114
- 238000012937 correction Methods 0.000 claims description 100
- 238000012545 processing Methods 0.000 claims description 65
- 238000000034 method Methods 0.000 claims description 19
- 230000008569 process Effects 0.000 claims description 16
- 230000000977 initiatory effect Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 description 22
- 230000002093 peripheral effect Effects 0.000 description 12
- 230000004044 response Effects 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 7
- 238000012546 transfer Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 101100328887 Caenorhabditis elegans col-34 gene Proteins 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Facsimile Transmission Control (AREA)
- Telephonic Communication Services (AREA)
Description
本発明は、SIP(Session Initiation Protocol)等の呼制御プロトコルにより確立したメディアセッションで、音声データ、動画像データ、画像データ、テキストデータなど、種々のデータの通信を行う通信装置及びプログラムに関する。 The present invention relates to a communication apparatus and program for communicating various data such as voice data, moving image data, image data, and text data in a media session established by a call control protocol such as SIP (Session Initiation Protocol).
近年、IP電話通信、IPファクシミリ通信など、IP網を通じて種々のデータを送受信する通信装置が普及しており、音声データと画像データの両方に対応したデータ通信を行う複合機も提案されている。例えば、特許文献1に開示されているように、IP電話通信機能とITU−T勧告T.38に準拠したIPファクシミリ通信機能を備え、IP電話通信とIPファクシミリ通信による送受信を同時に行うことができる通信装置がある。
In recent years, communication devices that transmit and receive various data over an IP network, such as IP telephone communication and IP facsimile communication, have become widespread, and multifunction devices that perform data communication corresponding to both voice data and image data have been proposed. For example, as disclosed in
かかる通信装置において、IP電話通信等を行うとき、相手先通信装置の呼び出しや通話の管理などの一般公衆網の交換機が行う制御に相当するものは、呼制御プロトコルによって行われる。呼制御プロトコルにはH.323、SIP等が利用されることが多い。特にSIPは、セッションの確立、変更、終了を行うだけで、セッションの内容には関知しないため、IP電話通信などに限らず、SMTP(Simple Mail Transfer Protocol)、HTTP(Hypertext Transfer Protocol)など様々な種類の通信プロトコルを送信側と受信側の間で確立するメディアセッションで使用することができる。つまり、SIPによれば、確立したメディアセッションで音声データ、動画像データ、画像データなど様々な種類のデータを送受信することができる。また、複数のメディアセッションを同時に確立して複数種類のデータ通信を同時行うこともできる。
SIPにより確立されたメディアセッションでは、下位トランスポート層として、エラー訂正機能を持つTCPではなく、UDP(User Datagram Protocol)が使用される場合があり、その場合には、通信相手先との間でエラー訂正をすることなくデータ通信が行われる。音声データを送受信する場合は、ノイズなどによりパケットに障害が発生すると、話し手の言葉の一部が欠損することがあるが、聞き手は欠損部分の前後からその意味内容を理解できるのでIP電話などのようにメディアセッションを通話に利用する場合は問題になることが少ない。ところが、画像データやテキストデータの送受信を行う場合は、パケットに障害が生じれば、受信側で受信したデータから元の画像データやテキストデータを再現できなくなる。一方、メディアセッションの下位トランスポート層としてTCPを使用すれば、エラー訂正機能を働かせることができるものの、逆に、リアルタイムなデータ伝送が必須条件となるIP電話通信などに支障が生じる。 In a media session established by SIP, UDP (User Datagram Protocol) may be used as a lower transport layer instead of TCP having an error correction function. Data communication is performed without error correction. When sending and receiving voice data, if a packet fails due to noise or the like, some of the speaker's words may be lost. However, the listener can understand the meaning of the words before and after the missing part, so IP phone etc. As such, there are few problems when using a media session for a call. However, when transmitting and receiving image data and text data, if a failure occurs in the packet, the original image data and text data cannot be reproduced from the data received on the receiving side. On the other hand, if TCP is used as a lower transport layer of a media session, an error correction function can be used, but conversely, there is a problem in IP telephone communication that requires real-time data transmission.
本発明は、かかる課題に鑑みてなされたものであり、呼制御プロトコルにより確立されたメディアセッションで送受信されるデータの種別ごとにエラー訂正機能を有効又は無効とすることができ、各通信データの種別に適したデータ伝送を行うことを可能とする通信装置を提供することを目的とする。 The present invention has been made in view of such a problem, and can enable or disable an error correction function for each type of data transmitted and received in a media session established by a call control protocol. An object of the present invention is to provide a communication apparatus that can perform data transmission suitable for a type.
請求項1記載の通信装置は、呼制御プロトコルであるSIP(Session Initiation Protocol)により確立したメディアセッションで相手先とデータ通信を行う手段を備えた通信装置において、相手先と行う前記データ通信についてエラー訂正処理を行うか否かを、メディアセッションを確立する前に形成されるSIPの呼制御プロトコルによる呼制御セッションにおいて取得される情報であるIPアドレス又はポート番号に基づいて決定し、エラー訂正処理を行うと決定した場合には、TCPの利用が可能であればTCPで、TCPの利用が不可能であればエラー訂正処理を行いながらUDPで前記データ通信を行い、エラー訂正処理を行わないと決定した場合には、エラー訂正処理を行わずにUDPで前記データ通信を行う手段を備えることを特徴としている。
The communication apparatus according to
前記確立するメディアセッションに関する情報としては、例えば、メディアセッションを確立する前に形成される呼制御セッションにおいて取得される諸情報(例えば、メディアセッションで使用する通信データの種別情報、通信プロトコル、宛先IPアドレス、宛先ポート番号など)や、前記呼制御セッションを形成することにより確定された諸情報(例えば、メディアセッションで使用する通信データの種別情報、通信プロトコル、宛先IPアドレス、宛先ポート番号など)がある。 The information on the media session to be established includes, for example, various information acquired in a call control session formed before establishing the media session (for example, type information of communication data used in the media session, communication protocol, destination IP Address, destination port number, etc.) and various information determined by forming the call control session (for example, type information of communication data used in the media session, communication protocol, destination IP address, destination port number, etc.) is there.
請求項2記載の通信装置は、請求項1記載の通信装置において、前記エラー訂正処理は、メディアセッションで使用される通信プロトコル及び該通信プロトコルでやり取りされるデータの内容に関与しないエラー訂正プロトコルによって行われるものであることを特徴としている。
The communication device according to
請求項3記載のプログラムは、呼制御プロトコルであるSIPにより確立したメディアセッションで相手先とデータ通信を行う手段、相手先と行う前記データ通信についてエラー訂正処理を行うか否かを、メディアセッションを確立する前に形成されるSIPの呼制御プロトコルによる呼制御セッションにおいて取得される情報であるIPアドレス又はポート番号に基づいて決定し、エラー訂正処理を行うと決定した場合には、TCPの利用が可能であればTCPで、TCPの利用が不可能であればエラー訂正処理を行いながらUDPで前記データ通信を行い、エラー訂正処理を行わないと決定した場合には、エラー訂正処理を行わずにUDPで前記データ通信を行う手段、としてコンピュータを機能させることを特徴としている。
The program according to
請求項1記載の通信装置によれば、確立するメディアセッションに関する情報に基づいてエラー訂正処理を行うか否かが決定される。多くの場合、メディアセッションに関する情報によって同メディアセッションで送受信される通信データの種別を特定することができるので、送受信されるデータの特性に応じ、例えば、エラー訂正を必要とする画像データ等に対してはエラー訂正処理を行い、エラー訂正をすべきでない音声通話データ等についてはエラー訂正処理をしないようにすることが可能となる。 According to the communication device of the first aspect, it is determined whether or not to perform the error correction processing based on the information regarding the media session to be established. In many cases, the type of communication data transmitted / received in the media session can be specified by the information related to the media session, so depending on the characteristics of the transmitted / received data, for example, for image data that requires error correction, etc. Thus, it is possible to perform error correction processing and not to perform error correction processing on voice call data or the like that should not be corrected.
請求項2記載の通信装置は、エラー訂正処理を、確立されたメディアセッションで使用される通信プロトコル及び該通信プロトコルでやり取りされるデータの内容に関与しないエラー訂正プロトコルの実行によって行うので、メディアセッションで使用する通信プロトコルが特定のものに制限されないという利点がある。
The communication apparatus according to
請求項3記載のプログラムをコンピュータに組み込んで実行することにより、請求項1に係る通信装置を構成することができ前記した効果が奏される。
By incorporating the program according to
請求項4記載の通信装置によれば、例えば、エラー訂正を必要とする画像データ等に対してはエラー訂正処理を行い、エラー訂正をすべきでない音声通話データ等についてはエラー訂正処理をしないようにすることが可能となる。 According to the communication device of the fourth aspect, for example, error correction processing is performed on image data that requires error correction, and error correction processing is not performed on voice call data that should not be error corrected. It becomes possible to.
以下本発明の実施の形態に係る通信装置として、G3ファクシミリ通信機能、インターネットファクシミリ通信機能等を備えるファクシミリ複合機を例に挙げて説明する。勿論、本発明は、呼制御プロトコルにより確立したメディアセッションで相手先と各種のデータ通信を行うことができるものであれば、ファクシミリ複合機に限らずその他のタイプの通信装置にも適用可能である。 Hereinafter, as a communication apparatus according to an embodiment of the present invention, a facsimile multifunction machine having a G3 facsimile communication function, an Internet facsimile communication function, and the like will be described as an example. Of course, the present invention can be applied to other types of communication apparatuses as well as facsimile multifunction machines as long as various data communications can be performed with a partner in a media session established by a call control protocol. .
図1にファクシミリ複合機1の構成例を示す。すなわち、ファクシミリ複合機1は、CPU(中央処理装置)2、ROM(リードオンリーメモリー)3、RAM(ランダムアクセスメモリー)4、画像メモリ5、モデム6、NCU7、コーデック8、読取部9、記録部10、表示部11、操作部12、LANインタフェース13を備え、各部2乃至13はバス14によって接続されている。
FIG. 1 shows a configuration example of the
CPU2は、ROM3に格納された制御プログラムに従って、このファクシミリ複合機1を構成する各部を制御する制御手段として機能する。ROM3は、前記制御プログラム等を格納している。RAM4は、CPU2の主メモリ、ワークエリア等として機能する。また、RAM4には、エラー訂正要否判定テーブル4aが格納されている。
The
図2に示すように、エラー訂正要否判定テーブル4aは、メディアセッションで送受信されるデータの種別毎、つまり、音声、動画、(通信装置の)機器データ、画像(静止画)など、データの実体的な内容の種別毎に、エラー訂正処理を行うか否かの設定情報を記憶する。つまり、エラー訂正要否判定テーブル4aには、メディアセッションで送受信されるデータの種別毎にエラー訂正機能の有効又は無効が設定される。 As shown in FIG. 2, the error correction necessity determination table 4a includes data types such as voice, moving image, device data (communication device), image (still image), etc. For each substantive content type, setting information indicating whether or not to perform error correction processing is stored. That is, in the error correction necessity determination table 4a, the validity or invalidity of the error correction function is set for each type of data transmitted and received in the media session.
画像メモリ5は、コーデック8によって圧縮符号化された画像データ等を記憶する。モデム6は、例えばITU−T(国際電気通信連合)の勧告V.34規格又はこれと同様のものに従った送受信データの変調及び復調を行う。NCU7は、PSTN(公衆交換電話網)15との回線の閉結及び開放の動作を行う回線網制御装置であり、必要に応じてモデム6をPSTN15と接続する。コーデック8は、ファクシミリ送信等に際して、画像データを、JPEG方式又はMH、MR、MMR方式等により圧縮符号化し、また、受信した画像データ等を復号する。
The
読取部9は、原稿の画像データを読取るものであり、例えば、CCDカラーラインセンサ、A/Dコンバータ、画像処理回路等で構成される。記録部10は、給紙カセットから記録紙を取り出して、受信画像データ、読取画像データ等を記録紙上に記録する。表示部11は、例えば操作部12に並設されたLCD(Liquid Crystal Display)からなり、各種の画面情報を表示する。操作部12は、各種の操作キーなどを具備し、ユーザによる各種の操作は、この操作部7において行われる。
The
LANインタフェース13は、ファクシミリ複合機1とLAN(ローカルエリアネットワーク)16とを接続するインターフェースであり、これを通じてファクシミリ複合機1は、同じくLAN16に接続されたクライアントPC(不図示)やルータ19と通信を行う。更にはルータ19を通じてIP網17上の他のSIP対応の通信装置18と各種のデータ通信を行う。
The
上記構成を備えるファクシミリ複合機1は、UDP/IP、TCP/IP、SIP、RTP(Real-time Transport Protocol)、RTSP(Real-time Streaming Protocol)、SDP(Session Description Protocol)、SMTP(Simple Mail Transfer Protocol)、HTTP(Hypertext Transfer Protocol)などを実装している。これによって、SIPの呼制御により確立されたメディアセッション上で、音声データ、動画像データ、画像データ(静止画像データ)、テキストデータなど、種々のデータの送受信を行えるようになっている。
The
さらに、ファクシミリ複合機1は、SIP、RTP等より上位のプロトコル層であって、画像データやテキストデータを送受信する通信プロトコルより下位のプロトコル階層で動作する独自のエラー訂正プロトコルを実装している。したがって、この独自のエラー訂正プロトコルにより実行されるエラー訂正処理は、メディアセッションで使用される通信プロトコル及び該通信プロトコルでやり取りされるデータの内容に関与しないので、メディアセッションで使用する通信プロトコルが特定のものに制限されないという利点がある。 Furthermore, the facsimile multifunction peripheral 1 is implemented with a unique error correction protocol that operates in a protocol layer higher than SIP, RTP, etc., and lower than a communication protocol that transmits and receives image data and text data. Therefore, the error correction processing executed by this original error correction protocol is not related to the communication protocol used in the media session and the contents of data exchanged by the communication protocol, so the communication protocol used in the media session is specified. There is an advantage that it is not limited to.
この独自のエラー訂正プロトコルは、例えば次のような手順を送信側と受信側の間で形成するものである。すなわち、送信側は、SIPにより確立されたメディアセッションにおいて受信側にデータを送出する際に、そのデータを一定の単位に分割し、分割したブロックにシーケンス番号を付加するとともに、ブロック内のデータをすべて足し合わせた合計値を当該ブロックの所定箇所、例えば当該ブロックの最後に付加する。受信側は、受信したデータを上記と同様に分割して、ブロック内のデータを全て足し合わせた合計値を計算をして当該ブロックの所定箇所に付加された値と比較し、値が一致すれば当該ブロック内のデータは問題ないと判断し、値が一致しなければ問題があるとして、当該ブロックについて送信側にデータの再送要求を行う。そして、問題ないとして既に受信したデータと再送要求により再び送信側から送られてきたデータとをシーケンス番号に従って再構成する。 This unique error correction protocol, for example, forms the following procedure between the transmission side and the reception side. That is, when sending data to the receiving side in a media session established by SIP, the sending side divides the data into fixed units, adds a sequence number to the divided blocks, and converts the data in the block to A total value obtained by adding all of them is added to a predetermined portion of the block, for example, at the end of the block. The receiving side divides the received data in the same way as above, calculates the total value of all the data in the block, compares it with the value added to the predetermined location of the block, and the values match. For example, it is determined that there is no problem in the data in the block. Then, the data already received as no problem and the data sent from the transmission side again by the retransmission request are reconstructed according to the sequence number.
次に上記構成及び機能を備えるファクシミリ複合機1が自装置1と同様の構成及び機能を備えるファクシミリ複合機1とSIP(呼制御プロトコル)によりメディアセッションを確立してデータ通信を行う際の処理動作について図3に示すシーケンス図並びに図4及び図5に示すフローチャートに基づいて説明する。なお、これらの図に基づいて説明する処理動作は、それぞれ、ROM3に格納された制御プログラムに基づいて制御手段であるCPU2が発行する命令に従って実行される。以下説明の便宜のため、送信側となるファクシミリ複合機1を送信機1A、受信側となるファクシミリ複合機1を受信機1Bと称して説明する。
Next, the processing operation when the facsimile multifunction peripheral 1 having the above configuration and functions establishes a media session by SIP (call control protocol) and performs data communication with the facsimile multifunction peripheral 1 having the same configuration and functions as the
図3のシーケンス図に示すように、まず、SIPによって、送信機1Aと受信機1Bの間で、呼制御セッション(以下この呼制御セッションを「開始呼制御セッション」という。)が形成される。すなわち、送信機1Aは、SIPサーバ20に対し受信機1BのIP電話番号を指定した、セッション参加リクエスト「INVITE」により受信機1Bの呼出を要求し、併せて、送信機の諸情報としてIPアドレス、メディアセッションで使用するポート番号等の情報を受信機1Bに対して送出する(T1)。
As shown in the sequence diagram of FIG. 3, first, a call control session (hereinafter referred to as “start call control session”) is formed between the
前記「INVITE」等の情報を受けたSIPサーバ20は、送信機1Aから指定されたIP電話番号に対応するIPアドレスを、IP電話番号とIPアドレスの対応付け情報を持つロケーションサーバ(不図示)に問い合わせて、取得した受信機1BのIPアドレスに対して、送信機1Aから受けた「INVITE」等の情報を送出することにより呼び出しを行う。
Upon receiving the information such as “INVITE”, the
SIPサーバ20の呼出しに対して受信機1Bが応答すると、受信機1Bは、「INVITE」とともに、送信機1Aの位置情報等の諸情報を受信し、SIPサーバ20に対して成功応答コード「200」を送出する。また、成功応答コード「200」とともに、受信機1Bに関する諸情報として、受信機1Bの位置情報であるIPアドレス、メディアセッションで使用するポート番号、受信機1Bが使用可能な通信データの種別情報や通信プロトコル、前記独自プロトコルによるエラー訂正機能に対応しているか否かの情報などを送出する(R1)。
When the
前記成功応答コード「200」及び受信機1Bの諸情報を受け取った送信機1Aは、成功応答コード「200」を受け取ったことを示す情報「ACK」とともに、確立するメディアセッションに関して確定した情報として、メディアセッションにおいて使用する通信データの種別、通信プロトコル、ポート番号等の情報をSIPサーバ20を介して受信機1Bに送信する(T2)。その後、送信機1Aと受信機1Bとの間に、メディアセッションが確立され、上記開始呼制御セッションにより行われたネゴシエーションによって確定された通信データの種別、通信プロトコル、通信ポート等により各種のデータ通信が実行される。
The
メディアセッションにおけるデータ通信が終了した後は、送信機1Aは、SIPコネクションの切断を要求する「BYE」をSIPサーバ20へ送出し、これを受けたSIPサーバ20は「BYE」を受信機1Bへ送信する(T3)。そして、受信機1Bが、成功応答コード「200」をSIPサーバ20へ送出し(R3)、SIPサーバ20が同じく送信機1Aへ成功応答コード「200」を送出すると、一連のセッションが終了し、通信が切断される。なお、メディアセッションを終了した後、通信が切断されるまで形成される呼制御セッションを以下において「終了呼制御セッション」という。
After the data communication in the media session is completed, the
次に、確立されたメディアセッションで行うデータ通信についてエラー訂正処理を行うか否かを決定するために送信機1Aが実行する処理動作等について、図4に示すフローチャートに基づいて説明する。
Next, processing operations performed by the
送信機1Aは、前記T1において、SIPにより受信機1Bを呼び出した後(S1)、前記R1の応答があった場合に(S2:YES)、受信機1Bとの間で開始呼制御セッションを形成しながら前記した諸情報の交換、つまり、メディアセッションを確立するために必要なネゴシエーションを行って(S3)、メディアセッションで使用するデータ通信の種別、通信プロトコル、通信ポートなど、メディアセッションに関する情報を確定する(S4)。そして、確定したメディアセッションに関する情報のうちデータ通信の種別情報に基づいてメディアセッションで送受信するデータ通信のエラー訂正処理を行うか否かを決定する(S5)。
The
すなわち、メディアセッションで行うデータ通信の種別に対応する、エラー訂正要否判定テーブル4aの設定に従ってエラー訂正処理を行うか否かを決定する。具体的には、図2に示されているように、S4で確定したデータ通信の種別が音声又は動画である場合は、エラー訂正機能は無効と設定されているので、エラー訂正処理は行わないとの決定を行い、S4で確定したデータ通信の種別が機器データ又は画像である場合は、エラー訂正機能は有効と設定されているので、エラー訂正処理を行うとの決定をする(S5)。 That is, it is determined whether or not to perform error correction processing according to the setting of the error correction necessity determination table 4a corresponding to the type of data communication performed in the media session. Specifically, as shown in FIG. 2, when the type of data communication determined in S4 is voice or moving image, the error correction function is set to invalid, and no error correction processing is performed. If the type of data communication determined in S4 is device data or image, the error correction function is set to be valid, and it is determined that error correction processing is to be performed (S5).
エラー訂正処理を行うと決定した場合(S5:YES)、開始呼制御セッションで取得した受信機1Bの諸情報から、受信機1BがTCPを使用してエラー訂正処理を行うことができると判断した場合は(S6:YES)、受信機1Bに「ACK」等を送信し(S7)、確立したメディアセッション上でTCPによりエラー訂正処理を行いながら受信機1Bに対してデータ送信を行う(S8)。
When it is determined to perform error correction processing (S5: YES), it is determined from the various information of the
前記S6において、受信機1BがTCPを使用してエラー訂正処理を行うことができないと判断した場合は(S6:NO)、開始呼制御セッションで取得した受信機1Bの諸情報から、受信機1Bが独自プロトコルによるエラー訂正処理に対応するものであるか否かを判断し(S9)、対応するものである場合には(S9:YES)、受信機1Bに「ACK」等を送信し(S10)、確立したメディアセッション上で独自プロトコルによるエラー訂正処理を行いながら受信機1Bに対してデータ送信を行う(S11)。
In S6, when the
一方、前記S5において、エラー訂正処理を行わないと決定した場合(S5:NO)、及び前記S9において否定判断をした場合(S9:NO)は、受信機1Bに「ACK」等を送信し(S12)、エラー訂正処理を行わずに受信機1Bに対してデータ送信を行う(S13)。なお、S12でエラー訂正処理を行わない旨の情報の送信を行ってもよい。
On the other hand, when it is determined in S5 that error correction processing is not performed (S5: NO) and when a negative determination is made in S9 (S9: NO), “ACK” or the like is transmitted to the
最後に終了呼制御セッションを双方間で形成してSIP接続の切断処理を行う(S14)。なお、前記S2において受信機1Bの応答が無かった場合、つまり前記R2の成功応答コード「200」が返信されずに、エラー内容を示すレスポンスコードが返信されてきた場合は、通信エラー処理を行う(S15)。通信エラー処理としては、例えば、通信エラーの原因を示すメッセージ、エラーコード等の表示部11への表示や記録部10からの印字出力が行われる。
Finally, an end call control session is formed between both parties, and SIP connection disconnection processing is performed (S14). If there is no response from the
次に上記送信機1Aの通信相手側となる受信機1Bの処理動作について、図5に示すフローチャートに基づいて説明する。
Next, the processing operation of the
受信機1Bは、前記T1における送信機1A側からのSIPによる呼び出しに応答すると(S51)、送信機1Aとの間で開始呼制御セッションを形成しながら前記した諸情報の交換、つまりメディアセッションを確立するために必要なネゴシエーションを行って(S52)、送信機1Aから、確立するメディアセッションに関する確定された情報をACKとともに受信する(S53)。
When the
メディアセッションでトランスポート層としてTCPを使用する場合は(S54:YES)、確立したメディアセッションで、TCPによりエラー訂正処理を行いながらデータ受信を行う(S55)。 When TCP is used as a transport layer in the media session (S54: YES), data is received while performing error correction processing by TCP in the established media session (S55).
独自プロトコルによるエラー訂正処理をする場合は(S54:NO、S56YES)、独自プロトコルによるエラー訂正処理を行いながらデータ受信を行う(S57)。なお、この場合、トランスポート層としてはUDPが使用される。 When performing error correction processing using a unique protocol (S54: NO, S56 YES), data reception is performed while performing error correction processing using a unique protocol (S57). In this case, UDP is used as the transport layer.
エラー訂正処理を行わない場合は(S54:NO、S56:NO)、エラー訂正処理を行わずにデータ受信を行う(S58)。なお、この場合、トランスポート層としてはUDPが使用される。 When error correction processing is not performed (S54: NO, S56: NO), data reception is performed without performing error correction processing (S58). In this case, UDP is used as the transport layer.
前記S55、S57又はS58のデータ受信処理が完了し、送信機1AからSIPサーバ20を通じて「BYE」を受信した後は、終了呼制御セッションを送信機1Aとの間で形成してSIP接続の切断処理を行う(S59)。
After the data receiving process of S55, S57 or S58 is completed and “BYE” is received from the
以上の説明から明らかなように、本発明の実施の形態に係る通信装置によれば、メディアセッションで送受信する通信データの種別がリアルタイム性を必要とする音声データ通信などの場合には、エラー訂正を行わずに音声データ等の送受信を行い、画像データ等のように受信側において完全に元データの再現を必要とする通信データについては、エラー訂正を行いながら画像データ等の送受信を行うので、SIPを利用して送受信する通信データの特性、目的等に則したマルチメディア通信を実現することができる。 As is clear from the above description, according to the communication device according to the embodiment of the present invention, when the type of communication data transmitted and received in the media session is voice data communication that requires real-time characteristics, error correction is performed. For communication data that requires complete reproduction of the original data on the receiving side, such as image data, image data etc. are transmitted and received while performing error correction. It is possible to realize multimedia communication in accordance with the characteristics and purpose of communication data transmitted and received using SIP.
つぎに、実施形態の変形例について説明する。変形例に係るファクシミリ複合機1は、エラー訂正要否判定テーブル4aの代わりに、図6又は図7に示すような、エラー訂正要否判定テーブルを有し、そのテーブルに基づいて前記S6の判断処理を行う。 Next, a modified example of the embodiment will be described. The facsimile multifunction peripheral 1 according to the modified example has an error correction necessity determination table as shown in FIG. 6 or 7 instead of the error correction necessity determination table 4a, and the determination of S6 is based on the table. Process.
図6に示すエラー訂正要否判定テーブル4bは、宛先ポート番号毎に対応付けてエラー訂正機能の有効/無効を設定するものであり、前記S5の判断処理において、前記S4で確定したメディアセッションに関する情報のうち宛先ポート番号に対応する、エラー訂正要否判定テーブル4bの設定に従ってエラー訂正処理を行うか否かを決定する。具体的には、図6に示されているように、S4で確定した宛先ポート番号が「4006」である場合は、エラー訂正機能は無効と設定されているので、エラー訂正処理は行わないとの決定を行い、S4で確定した宛先ポート番号が「4004」である場合は、エラー訂正機能は有効と設定されているので、エラー訂正処理を行うとの決定をする。 The error correction necessity determination table 4b shown in FIG. 6 sets validity / invalidity of the error correction function in association with each destination port number, and relates to the media session determined in S4 in the determination process of S5. It is determined whether or not to perform error correction processing according to the setting of the error correction necessity determination table 4b corresponding to the destination port number in the information. Specifically, as shown in FIG. 6, when the destination port number determined in S4 is “4006”, the error correction function is set to invalid, and no error correction processing is performed. If the destination port number determined in S4 is “4004”, the error correction function is set to be valid, and it is determined that error correction processing is to be performed.
図7に示すエラー訂正要否判定テーブル4cは、宛先IPアドレス毎に対応付けてエラー訂正機能の有効/無効を設定するものであり、前記S5の判断処理において、前記S4で確定したメディアセッションに関する情報のうち宛先IPアドレスに対応する、エラー訂正要否判定テーブル4cの設定に従ってエラー訂正処理を行うか否かを決定する。具体的には、図7に示されているように、S4で確定した宛先IPアドレスが「128.2.3.1」である場合は、エラー訂正機能は無効と設定されているので、エラー訂正処理は行わないとの決定を行い、S4で確定した宛先IPアドレスが「128.2.3.2」である場合は、エラー訂正機能は有効と設定されているので、エラー訂正処理を行うとの決定をする。 The error correction necessity determination table 4c shown in FIG. 7 sets validity / invalidity of the error correction function in association with each destination IP address, and relates to the media session determined in S4 in the determination process of S5. It is determined whether or not to perform error correction processing according to the setting of the error correction necessity determination table 4c corresponding to the destination IP address in the information. Specifically, as shown in FIG. 7, when the destination IP address determined in S4 is “12.2.2.3.1”, the error correction function is set to be invalid, and therefore an error has occurred. When it is determined that the correction process is not performed, and the destination IP address determined in S4 is “12.2.2.3.2”, the error correction function is set to be valid, and the error correction process is performed. And make a decision.
なお、前記S5の判断処理においては、上述した通信データの種別、宛先IPアドレス及び宛先ポート番号以外のメディアセッションに関する情報に基づいて、エラー訂正処理を行うか否かの決定を行うようにしてもよい。 In the determination process of S5, it may be determined whether or not to perform the error correction process based on the information regarding the media session other than the type of communication data, the destination IP address, and the destination port number. Good.
以上の説明では、ファクシミリ複合機1同士が単一のメディアセッションを確立する場合について説明したが、複数のメディアセッションを同時に確立して、複数種類の通信データを同時にやり取りする場合には、送信機1A及び受信機1Bは、各メディアセッションごとに、前記S5乃至S13、S54乃至S58の処理動作を実行する。これにより、複数のメディアセッションが確立された場合にも、エラー訂正処理をすることが必要な種別の通信データに対してのみエラー訂正処理を行い、エラー訂正処理を行うべきでない種別の通信データに対してはエラー訂正処理を行わないようにすることができる。なお、送信機1Aは、受信機1BのIPアドレスが1つである場合は、前記S5の判断処理時にエラー訂正要否判定テーブル4cではなく、エラー訂正要否判定テーブル4a又は4bを用いることが望ましい。
In the above description, the case where the
なお、本実施の形態及び上記変形例では、ファクシミリ複合機1を例に挙げて説明したが、勿論、パーソナルコンピュータなどの汎用コンピュータ上においても上記したファクシミリ複合機1の処理動作を実現することが可能である。つまり、上述した処理動作を行わせるためのプログラムをパーソナルコンピュータ用のファクシミリ通信ソフト等に組み込んで、同プログラムを実行すれば、同様の通信処理動作を実現できる。 In the present embodiment and the above modification, the facsimile multifunction peripheral 1 has been described as an example. Of course, the processing operation of the facsimile multifunction peripheral 1 can be realized on a general-purpose computer such as a personal computer. Is possible. That is, a similar communication processing operation can be realized by incorporating a program for performing the processing operation described above into a facsimile communication software for a personal computer and executing the program.
本発明は、例えば、SIPを用いて、音声データ、動画像データ、画像データ、テキストデータなど、種々のデータの送受信をIP網を通じて行う通信装置に適用することができる。 The present invention can be applied to a communication apparatus that transmits and receives various data such as voice data, moving image data, image data, and text data through an IP network using, for example, SIP.
1、1A、1B ファクシミリ複合機(通信装置)
2 CPU
3 ROM
4 RAM
4a乃至4c エラー訂正要否判定テーブル
20 SIPサーバ
1, 1A, 1B Facsimile MFP (communication device)
2 CPU
3 ROM
4 RAM
4a to 4c Error correction necessity determination table 20 SIP server
Claims (3)
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004124495A JP4013153B2 (en) | 2004-04-20 | 2004-04-20 | Communication apparatus and program |
| US11/108,874 US20050243871A1 (en) | 2004-04-20 | 2005-04-19 | Communication deivce and communication method |
| CNB2005100672620A CN100396077C (en) | 2004-04-20 | 2005-04-20 | Communication device and communication method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2004124495A JP4013153B2 (en) | 2004-04-20 | 2004-04-20 | Communication apparatus and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005311608A JP2005311608A (en) | 2005-11-04 |
| JP4013153B2 true JP4013153B2 (en) | 2007-11-28 |
Family
ID=35346832
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004124495A Expired - Lifetime JP4013153B2 (en) | 2004-04-20 | 2004-04-20 | Communication apparatus and program |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP4013153B2 (en) |
| CN (1) | CN100396077C (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8347160B2 (en) | 2007-07-13 | 2013-01-01 | Rohm Co., Ltd. | Information communication terminal, radio communication apparatus and radio communication network system capable of performing communication corresponding to purpose |
| JP2009021941A (en) * | 2007-07-13 | 2009-01-29 | Rohm Co Ltd | Information communication terminal, radio communication device, and radio communication network |
| CN103152378B (en) * | 2012-12-25 | 2016-03-02 | 中国移动通信集团江西有限公司 | A kind of transmission method of network data, system and client |
| JP6224914B2 (en) | 2013-05-16 | 2017-11-01 | キヤノン株式会社 | Facsimile apparatus, control method thereof, and program |
| JP6524791B2 (en) * | 2015-05-15 | 2019-06-05 | パナソニックIpマネジメント株式会社 | Wireless communication apparatus and wireless communication method |
| US10848271B2 (en) | 2016-08-01 | 2020-11-24 | Sony Semiconductor Solutions Corporation | Communication unit and communication system |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4270749B2 (en) * | 1997-12-04 | 2009-06-03 | ブリティッシュ・テレコミュニケーションズ・パブリック・リミテッド・カンパニー | Communication network |
| JP2002247130A (en) * | 2001-02-20 | 2002-08-30 | Nippon Telegr & Teleph Corp <Ntt> | SIP tunneling device and communication system using the same |
| JP3491626B2 (en) * | 2001-05-29 | 2004-01-26 | ソニー株式会社 | Transmission device, reception device, and transmission / reception device |
| JP3734774B2 (en) * | 2002-06-21 | 2006-01-11 | 株式会社リコー | Network facsimile apparatus and facsimile communication method |
| US20040203624A1 (en) * | 2002-09-12 | 2004-10-14 | Teh Jin Teik | Technique for sharing of files with minimal increase of storage space usage |
-
2004
- 2004-04-20 JP JP2004124495A patent/JP4013153B2/en not_active Expired - Lifetime
-
2005
- 2005-04-20 CN CNB2005100672620A patent/CN100396077C/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005311608A (en) | 2005-11-04 |
| CN100396077C (en) | 2008-06-18 |
| CN1691730A (en) | 2005-11-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7894091B2 (en) | Communication apparatus and control method | |
| JP5812763B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
| JP3928631B2 (en) | Facsimile device | |
| US7068763B2 (en) | Communication terminal device | |
| JP5959838B2 (en) | COMMUNICATION DEVICE, ITS CONTROL METHOD, AND PROGRAM | |
| CN101060504B (en) | A Negotiation Method for Fax Switch Mode of Next Generation Network Media Gateway | |
| JP4013153B2 (en) | Communication apparatus and program | |
| JP3849642B2 (en) | Communication terminal device | |
| US20050243871A1 (en) | Communication deivce and communication method | |
| JP4089653B2 (en) | Communication apparatus and program | |
| JP4080169B2 (en) | Session establishment method | |
| JP4324874B2 (en) | Facsimile machine | |
| JP2006311125A (en) | Communication apparatus | |
| JP4075896B2 (en) | Image communication device | |
| JP3925728B2 (en) | Facsimile device | |
| JP3856979B2 (en) | Control method for Internet facsimile communication system | |
| JP4193144B2 (en) | Image communication device | |
| JP5803143B2 (en) | Communication system, communication method, program, and communication apparatus | |
| JP3867861B2 (en) | Facsimile device | |
| JP4239912B2 (en) | Facsimile machine | |
| JP4787815B2 (en) | Communication terminal device and control method thereof | |
| JP2004247837A (en) | Image communication apparatus | |
| JP4184734B2 (en) | Communication system, network gateway apparatus, network facsimile apparatus, facsimile apparatus, communication method, network gateway apparatus control method, network facsimile apparatus control method, and facsimile apparatus control method | |
| JP3977160B2 (en) | Network facsimile machine | |
| JP4061552B2 (en) | Image communication device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060315 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060322 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060518 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070313 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070502 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20070816 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070829 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100921 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4013153 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110921 Year of fee payment: 4 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110921 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120921 Year of fee payment: 5 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130921 Year of fee payment: 6 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130921 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140921 Year of fee payment: 7 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| EXPY | Cancellation because of completion of term |