JP4089653B2 - Communication apparatus and program - Google Patents

Communication apparatus and program Download PDF

Info

Publication number
JP4089653B2
JP4089653B2 JP2004124636A JP2004124636A JP4089653B2 JP 4089653 B2 JP4089653 B2 JP 4089653B2 JP 2004124636 A JP2004124636 A JP 2004124636A JP 2004124636 A JP2004124636 A JP 2004124636A JP 4089653 B2 JP4089653 B2 JP 4089653B2
Authority
JP
Japan
Prior art keywords
error correction
data communication
determined
tcp
protocol
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
Application number
JP2004124636A
Other languages
Japanese (ja)
Other versions
JP2005311621A (en
Inventor
好史 谷本
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2004124636A priority Critical patent/JP4089653B2/en
Priority to US11/108,874 priority patent/US20050243871A1/en
Publication of JP2005311621A publication Critical patent/JP2005311621A/en
Application granted granted Critical
Publication of JP4089653B2 publication Critical patent/JP4089653B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Facsimile Transmission Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication 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 Patent Document 1, an IP telephone communication function and an ITU-T recommendation T.264. There is a communication apparatus that has an IP facsimile communication function conforming to H.38 and can simultaneously perform transmission and reception by IP telephone communication and IP facsimile communication.

かかる通信装置において、IP電話通信等を行うとき、相手先通信装置の呼び出しや通話の管理などの一般公衆網の交換機が行う制御に相当するものは、呼制御プロトコルによって行われる。呼制御プロトコルにはH.323、SIP等が利用されることが多い。特にSIPは、セッションの確立、変更、終了を行うだけで、セッションの内容には関知しないため、IP電話通信などに限らず、SMTP(Simple Mail Transfer Protocol)、HTTP(Hypertext Transfer Protocol)など様々な種類の通信プロトコルを送信側と受信側の間で確立するメディアセッションで使用することができる。つまり、SIPによれば、確立したメディアセッションで音声データ、動画像データ、画像データなど様々な種類のデータを送受信することができる。また、複数のメディアセッションを同時に確立して複数種類のデータ通信を同時行うこともできる。
特開2002−101256号公報
In such a communication device, when performing IP telephone communication or the like, the control corresponding to the control performed by the switch of the general public network, such as calling of the other party communication device and management of the call, is performed by a call control protocol. The call control protocol includes H.264. 323, SIP, etc. are often used. In particular, SIP only establishes, changes, and terminates a session and does not know the contents of the session. Therefore, the SIP is not limited to IP telephone communication, but includes various types such as SMTP (Simple Mail Transfer Protocol) and HTTP (Hypertext Transfer Protocol). Various types of communication protocols can be used in a media session established between a sender and a receiver. That is, according to SIP, various types of data such as voice data, moving image data, and image data can be transmitted and received in an established media session. It is also possible to perform a plurality of types of data communications at the same time to establish multiple media sessions simultaneously.
JP 2002-101256 A

SIPにより確立されたメディアセッションでは、下位トランスポート層として、エラー訂正機能を持つTCPではなく、UDP(User Datagram Protocol)が使用されることが多く、その場合には、通信相手先との間でエラー訂正をすることなくデータ通信が行われる。音声データを送受信する場合、ノイズなどによりパケットに障害が発生すると、話し手の言葉の一部が欠損することがあるが、聞き手は欠損部分の前後からその意味内容を理解できるのでメディアセッションを通話に利用する場合は問題になることが少ない。ところが、画像データやテキストデータの送受信を行う場合は、パケットに障害が生じれば、受信側で受信したデータから元の画像データやテキストデータを再現できなくなる。一方、メディアセッションの下位トランスポート層としてTCPを使用すれば、エラー訂正機能を働かせることができるものの、逆に、リアルタイムなデータ伝送が必須条件となるIP電話通信などにおいて支障が生じる。   In a media session established by SIP, UDP (User Datagram Protocol) is often 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 audio data, if a packet failure occurs due to noise or the like, a part of the speaker's words may be lost, but the listener can understand the meaning from before and after the lost part, so the media session can be used for a call. When used, there is little problem. 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, problems occur in IP telephone communication and the like where real-time data transmission is an essential condition.

また、SIPにより確立したメディアセッション上でデータ通信を行う場合には、直接TCP接続上でデータ通信を行う場合と違って、データ伝送に種々の制限が課されるため、帯域を十分に使ったデータ通信を行うことができない。しかし、IP電話番号で指定した相手先とデータ通信を行う従来のSIP対応通信装置では、通信するデータの種別(音声データ、動画像データ、静止画像データ、テキストデータなど)に拘わらず、常に、メディアセッション上でデータ通信を行うようになっていため、直接TCP接続上で静止画像データ、テキストデータ等の伝送処理を行うIP通信装置と比べてデータ転送に多くの時間が掛かるという問題もあった。 In addition, when data communication is performed over a media session established by SIP, unlike data communication over a direct TCP connection, various restrictions are imposed on data transmission. Data communication cannot be performed. However, in a conventional SIP-compatible communication device that performs data communication with a destination specified by an IP telephone number, regardless of the type of data to be communicated (voice data, moving image data, still image data, text data, etc.), there because that looks like communicating data on the media session, the still image data on the direct TCP connection, a problem that many time-consuming compared to the IP communication device that performs transmission processing such as text data to the data transfer It was.

本発明は、かかる課題に鑑みてなされたものであり、呼制御プロトコルによりデータ通信をする手段を備えた通信装置及びプログラムにおいて、通信データの種別、相手先のポート番号、又は相手先のIPアドレスに応じてエラー訂正機能を有効又は無効とすることができる通信装置及びプログラムを提供することをも目的とする。 The present invention has been made in view of these problems, in the communication apparatus, and a program having means for data communication by the call control protocol, the type of communication data, destination port number, or destination of the IP It is another object of the present invention to provide a communication device and a program capable of enabling or disabling an error correction function according to an address .

上記目的を達成するために、請求項1記載の通信装置は、呼制御プロトコルにより確立したメディアセッションで相手先とデータ通信をする手段と、前記データ通信においてエラー訂正をするか否かを、通信するデータの種別に基づいて判断する手段と、エラー訂正をすると判断された場合に、相手先がTCPによるエラー訂正が可能か否かを判断する手段と、相手先がTCPによるエラー訂正が可能であると判断された場合に、TCPに従ってエラー訂正をする手段と、相手先がTCPによるエラー訂正が可能でないと判断された場合に、相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能か否かを判断する手段と、相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能であると判断された場合に、UDPより上位の再送制御を行うプロトコルによりエラー訂正をする手段と、相手先がUDPより上位の再送制御を行うプロトコルによりエラー訂正に対応可能でないと判断された場合、又はエラー訂正をしないと判断された場合に、エラー訂正をすることなく前記データ通信をする手段と、を備えることを特徴としている。
請求項2記載の通信装置は、前記データ通信をするか否かを、通信するデータの種別に基づいて判断する手段と、前記データ通信をしないと判断された場合に、呼制御プロトコルによる開始呼制御セッションで相手先の諸情報を取得した後、前記データ通信をすることなく終了呼制御セッションを実行する手段と、取得された相手先の諸情報に含まれる位置情報を指定して相手先とTCP接続を確立し、確立したTCP接続上でデータ通信をする手段と、確立したTCP接続上でのデータ通信においてTCPに従ってエラー訂正をする手段と、を備えることを特徴としている。
In order to achieve the above object, the communication device according to claim 1 communicates with a means for performing data communication with a partner in a media session established by a call control protocol, and whether or not error correction is performed in the data communication. Means for determining based on the type of data to be processed, means for determining whether or not the partner can perform error correction by TCP when it is determined to perform error correction, and the partner can perform error correction by TCP If it is determined that there is a means for error correction according to TCP, and if the partner is determined not to be able to perform error correction by TCP, the partner can perform error correction using a protocol that performs retransmission control higher than UDP. It means for determining whether it is possible to correspond, and the error correction by protocol destination performs upper retransmission control than UDP is adaptable If it is sectional, means for error correction by protocol for upper retransmission control than UDP, if it is determined not to be associated with the error corrected by protocol for counterparty upper retransmission control than UDP, or error Means for performing the data communication without correcting the error when it is determined that the correction is not performed.
The communication device according to claim 2, wherein the communication device determines whether or not to perform the data communication based on a type of data to be communicated, and when it is determined that the data communication is not to be performed, After acquiring various information of the other party in the control session, the means for executing the end call control session without performing the data communication, and specifying the position information included in the acquired other party information, It is characterized by comprising means for establishing a TCP connection and performing data communication over the established TCP connection, and means for performing error correction according to TCP in data communication over the established TCP connection.

請求項3記載の通信装置は、呼制御プロトコルにより確立したメディアセッションで相手先とデータ通信をする手段と、前記データ通信においてエラー訂正をするか否かを相手先のポート番号に基づいて判断する手段と、エラー訂正をすると判断された場合に、相手先がTCPによるエラー訂正が可能か否かを判断する手段と、相手先がTCPによるエラー訂正が可能であると判断された場合に、TCPに従ってエラー訂正をする手段と、相手先がTCPによるエラー訂正が可能でないと判断された場合に、相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能か否かを判断する手段と、相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能であると判断された場合に、UDPより上位の再送制御を行うプロトコルによりエラー訂正をする手段と、相手先がUDPより上位の再送制御を行うプロトコルによりエラー訂正に対応可能でないと判断された場合、又はエラー訂正をしないと判断された場合に、エラー訂正をすることなく前記データ通信をする手段と、を備えることを特徴としている。
請求項4記載の通信装置は、前記データ通信をするか否かを相手先のポート番号に基づいて判断する手段と、前記データ通信をしないと判断された場合に、呼制御プロトコルによる開始呼制御セッションで相手先の諸情報を取得した後、前記データ通信をすることなく終了呼制御セッションを実行する手段と、取得された相手先の諸情報に含まれる位置情報を指定して相手先とTCP接続を確立し、確立したTCP接続上でデータ通信をする手段と、確立したTCP接続上でのデータ通信においてTCPに従ってエラー訂正をする手段と、を備えることを特徴としている。
The communication device according to claim 3 determines, based on the port number of the partner, whether to perform data communication with the partner in the media session established by the call control protocol, and whether to perform error correction in the data communication. And means for determining whether or not the partner can perform error correction by TCP when it is determined that error correction is to be performed, and TCP if the partner is determined to be capable of error correction by TCP And means for determining whether or not the partner can cope with error correction by a protocol that performs retransmission control higher than UDP when it is determined that the partner cannot perform error correction by TCP. If, when it is determined to be corresponding to the error correction by protocol destination performs upper retransmission control than UDP, above UDP The means for error correction by retransmission control performs protocol, if the destination is determined not to when it is determined not to be associated with the error corrected by protocol for upper retransmission control than UDP, or an error correction And means for performing the data communication without error correction.
5. The communication apparatus according to claim 4, wherein means for determining whether to perform the data communication based on a port number of a counterpart, and a start call control by a call control protocol when it is determined not to perform the data communication After acquiring various information of the other party in the session, the means for executing the end call control session without performing the data communication, and specifying the position information included in the acquired other party information, the destination and the TCP It is characterized by comprising means for establishing a connection and performing data communication over the established TCP connection, and means for performing error correction in accordance with TCP in data communication over the established TCP connection.

請求項5記載の通信装置は、呼制御プロトコルにより確立したメディアセッションで相手先とデータ通信をする手段と、前記データ通信においてエラー訂正をするか否かを相手先のIPアドレスに基づいて判断する手段と、エラー訂正をすると判断された場合に、相手先がTCPによるエラー訂正が可能か否かを判断する手段と、相手先がTCPによるエラー訂正が可能であると判断された場合に、TCPに従ってエラー訂正をする手段と、相手先がTCPによるエラー訂正が可能でないと判断された場合に、相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能か否かを判断する手段と、相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能であると判断された場合に、UDPより上位の再送制御を行うプロトコルによりエラー訂正をする手段と、相手先がUDPより上位の再送制御を行うプロトコルによりエラー訂正に対応可能でないと判断された場合、又はエラー訂正をしないと判断された場合に、エラー訂正をすることなく前記データ通信をする手段と、を備えることを特徴としている。
請求項6記載の通信装置は、前記データ通信をするか否かを相手先のIPアドレスに基づいて判断する手段と、前記データ通信をしないと判断された場合に、呼制御プロトコルによる開始呼制御セッションで相手先の諸情報を取得した後、前記データ通信をすることなく終了呼制御セッションを実行する手段と、取得された相手先の諸情報に含まれる位置情報を指定して相手先とTCP接続を確立し、確立したTCP接続上でデータ通信をする手段と、確立したTCP接続上でのデータ通信においてTCPに従ってエラー訂正をする手段と、を備えることを特徴としている。
請求項7記載の通信装置は、行うべきデータ通信が複数ある場合に、複数のデータ通信を並行して実行する手段を備えることを特徴としている。
6. The communication apparatus according to claim 5, wherein means for performing data communication with a partner in a media session established by a call control protocol and whether or not to perform error correction in the data communication are determined based on the IP address of the partner. And means for determining whether or not the partner can perform error correction by TCP when it is determined that error correction is to be performed, and TCP if the partner is determined to be capable of error correction by TCP And means for determining whether or not the partner can cope with error correction by a protocol that performs retransmission control higher than UDP when it is determined that the partner cannot perform error correction by TCP. If, when it is determined to be corresponding to the error correction by protocol destination performs upper retransmission control than UDP, from UDP Means for error correction by protocol for position of retransmission control, when it is determined not to be associated with the error correction by the protocol destination performs upper retransmission control than UDP, or if it is determined not to error correction And means for performing the data communication without error correction.
7. The communication apparatus according to claim 6, wherein means for determining whether to perform the data communication based on an IP address of a counterpart, and a start call control by a call control protocol when it is determined not to perform the data communication After acquiring various information of the other party in the session, the means for executing the end call control session without performing the data communication, and specifying the position information included in the acquired other party information, the destination and the TCP It is characterized by comprising means for establishing a connection and performing data communication over the established TCP connection, and means for performing error correction in accordance with TCP in data communication over the established TCP connection.
The communication device according to claim 7 is provided with means for executing a plurality of data communications in parallel when there are a plurality of data communications to be performed.

請求項8載のプログラムは、コンピュータを、呼制御プロトコルにより確立したメディアセッションで相手先とデータ通信をする手段、前記データ通信においてエラー訂正をするか否かを、通信するデータの種別に基づいて判断する手段、エラー訂正をすると判断された場合に、相手先がTCPによるエラー訂正が可能か否かを判断する手段、相手先がTCPによるエラー訂正が可能であると判断された場合に、TCPに従ってエラー訂正をする手段、相手先がTCPによるエラー訂正が可能でないと判断された場合に、相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能か否かを判断する手段、相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能であると判断された場合に、UDPより上位の再送制御を行うプロトコルによりエラー訂正をする手段、並びに、相手先がUDPより上位の再送制御を行うプロトコルによりエラー訂正に対応可能でないと判断された場合、又はエラー訂正をしないと判断された場合に、エラー訂正をすることなく前記データ通信をする手段、として機能させるためのであることを特徴としている。
請求項9記載のプログラムは、コンピュータを、前記データ通信をするか否かを、通信するデータの種別に基づいて判断する手段、前記データ通信をしないと判断された場合に、呼制御プロトコルによる開始呼制御セッションで相手先の諸情報を取得した後、前記データ通信をすることなく終了呼制御セッションを実行する手段、取得された相手先の諸情報に含まれる位置情報を指定して相手先とTCP接続を確立し、確立したTCP接続上でデータ通信をする手段、並びに、確立したTCP接続上でのデータ通信においてTCPに従ってエラー訂正をする手段、としても機能させるためのものであることを特徴としている。
請求項10記載のプログラムは、コンピュータを、行うべきデータ通信が複数ある場合に、複数のデータ通信を並行して実行する手段としても機能させるためのものであることを特徴としている。
8. Symbol mounting program, based on a computer, means for the destination data communication with the media session established by the call control protocol, whether the error correction in the data communication, the type of data to be communicated If it is determined that error correction by TCP is possible, if the partner is determined to be capable of error correction by TCP, Means for performing error correction according to TCP, means for judging whether or not the other party can cope with error correction by a protocol that performs retransmission control higher than UDP when it is judged that the other party cannot perform error correction by TCP , if it is determined to be corresponding to the error correction by protocol destination performs upper retransmission control than UDP, Means for error correction by protocol for upper retransmission control than DP, and, determines that the other party if it is found not to be adaptable to the error correction by the protocol for the upper retransmission control than UDP, or no error correction In this case, the data communication means functions as a means for performing the data communication without error correction.
The program according to claim 9 is a means for determining whether or not to perform the data communication based on a type of data to be communicated with the computer. When it is determined that the data communication is not performed, the program is started by a call control protocol. Means for executing an end call control session without performing the data communication after acquiring various information of the other party in the call control session, and specifying the position information included in the acquired other information of the other party It is intended to function as a means for establishing a TCP connection and performing data communication over the established TCP connection, and a means for performing error correction according to TCP in data communication over the established TCP connection. It is said.
According to a tenth aspect of the present invention, there is provided a program for causing a computer to function as means for executing a plurality of data communications in parallel when there are a plurality of data communications to be performed.

請求項1〜7記載の通信装置によれば、呼制御プロトコルによりデータ通信をする手段を備えた通信装置において、通信データの種別、相手先のポート番号、又は相手先のIPアドレスに応じてエラー訂正機能を有効又は無効とすることができる。 According to the communication device according to any one of claims 1 to 7, in the communication device provided with means for performing data communication according to a call control protocol, an error may occur depending on a type of communication data, a partner port number, or a partner IP address. The correction function can be enabled or disabled.

請求項8〜10のいずれか記載のプログラムをコンピュータに組み込んで実行することにより、請求項1、請求項2、又は、請求項1もしくは2に従属する請求項7に係る通信装置を構成することができ前記した効果が奏される。 A communication apparatus according to claim 1, claim 2, or claim 7 that is dependent on claim 1 or 2 is configured by executing the program according to claim 8 in a computer. And the above-described effects are achieved.

以下本発明の実施の形態に係る通信装置として、G3ファクシミリ通信機能、インターネットファクシミリ通信機能等を備えるファクシミリ複合機を例に挙げて説明する。本発明は、呼制御プロトコルにより確立したメディアセッション及びTCP接続上で相手先と各種のデータ通信を行うことができるものであれば、ファクシミリ複合機に限らずその他のタイプの通信装置にも適用可能である。   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. The present invention can be applied not only to a facsimile machine but also to other types of communication devices as long as it can perform various data communications with a partner over a media session and TCP connection established by a call control protocol. It is.

図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 facsimile multifunction machine 1. That is, the facsimile multifunction peripheral 1 includes a CPU (Central Processing Unit) 2, a ROM (Read Only Memory) 3, a RAM (Random Access Memory) 4, an image memory 5, a modem 6, an NCU 7, a codec 8, a reading unit 9, and a recording unit. 10, a display unit 11, an operation unit 12, and a LAN interface 13. The units 2 to 13 are connected by a bus 14.

CPU2は、ROM3に格納された制御プログラムに従って、このファクシミリ複合機1を構成する各部を制御する制御手段として機能する。ROM3は、前記制御プログラム等を格納している。RAM4は、CPU2の主メモリ、ワークエリア等として機能する。また、RAM4には、通信方式判定テーブル4aが格納されている。   The CPU 2 functions as a control unit that controls each part of the facsimile multifunction peripheral 1 according to a control program stored in the ROM 3. The ROM 3 stores the control program and the like. The RAM 4 functions as a main memory and work area for the CPU 2. The RAM 4 stores a communication method determination table 4a.

図2に示すように、通信方式判定テーブル4aは、通信データの種別毎、つまり、音声、動画、(通信装置の)機器データ、画像(静止画)など、通信データの実体的な内容の種別毎に、メディアセッション上でデータ通信を行うか、メディアセッション上ではなく直接TCP接続上でデータ通信を行うかの設定情報を記憶する。また、通信データの種別毎にエラー訂正処理を行うか否かの設定情報をも記憶する。   As shown in FIG. 2, the communication method determination table 4 a is a type of the substantial content of communication data such as each type of communication data, that is, voice, video, device data (communication device), image (still image), etc. Each time, setting information on whether data communication is performed on the media session or data communication is performed on the direct TCP connection instead of on the media session is stored. Also, setting information indicating whether or not to perform error correction processing for each type of communication data is stored.

画像メモリ5は、コーデック8によって圧縮符号化された画像データ等を記憶する。モデム6は、例えばITU−T(国際電気通信連合)の勧告V.34規格又はこれと同様のものに従った送受信データの変調及び復調を行う。NCU7は、PSTN(公衆交換電話網)15との回線の閉結及び開放の動作を行う回線網制御装置であり、必要に応じてモデム6をPSTN15と接続する。コーデック8は、ファクシミリ送信等に際して、画像データを、JPEG方式又はMH、MR、MMR方式等により圧縮符号化し、また、受信した画像データ等を復号する。   The image memory 5 stores image data compressed and encoded by the codec 8. The modem 6 is, for example, an ITU-T (International Telecommunication Union) recommendation V.3. Modulate and demodulate transmitted / received data according to the 34 standard or the like. The NCU 7 is a line network control device that performs operations of closing and opening a line with the PSTN (Public Switched Telephone Network) 15 and connects the modem 6 to the PSTN 15 as necessary. The codec 8 compresses and encodes image data by JPEG method or MH, MR, MMR method or the like, and decodes received image data or the like, for facsimile transmission or the like.

読取部9は、原稿の画像データを読取るものであり、例えば、CCDカラーラインセンサ、A/Dコンバータ、画像処理回路等で構成される。記録部10は、給紙カセットから記録紙を取り出して、受信画像データ、読取画像データ等を記録紙上に記録する。表示部11は、例えば操作部12に並設されたLCD(Liquid Crystal Display)からなり、各種の画面情報を表示する。操作部12は、各種の操作キーなどを具備し、ユーザによる各種の操作は、この操作部7において行われる。   The reading unit 9 reads image data of a document, and includes, for example, a CCD color line sensor, an A / D converter, an image processing circuit, and the like. The recording unit 10 takes out the recording paper from the paper feed cassette and records the received image data, the read image data, etc. on the recording paper. The display unit 11 includes, for example, an LCD (Liquid Crystal Display) arranged in parallel with the operation unit 12 and displays various screen information. The operation unit 12 includes various operation keys and the like, and various operations by the user are performed in the operation unit 7.

LANインタフェース13は、ファクシミリ複合機1とLAN(ローカルエリアネットワーク)16とを接続するインターフェースであり、これを通じてファクシミリ複合機1は、同じくLAN16に接続されたクライアントPC(不図示)やルータ19と通信を行う。更にはルータ19を通じてIP網17上の他のSIP対応の通信装置18と各種のデータ通信を行う。   The LAN interface 13 is an interface for connecting the facsimile multifunction peripheral 1 and a LAN (local area network) 16. Through this, the facsimile multifunction peripheral 1 communicates with a client PC (not shown) or a router 19 also connected to the LAN 16. I do. Furthermore, various data communication is performed with another SIP-compatible communication device 18 on the IP network 17 through the router 19.

上記構成を備えるファクシミリ複合機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)などを実装している。このため、TCP接続上で直接SMTP、HTTP等による画像データ(静止画像データ)、テキストデータなどの送受信や、SIPの呼制御により確立されたメディアセッションでRTP等による音声データ、動画像データ、SMTP、HTTP等による画像データ(静止画像データ)、テキストデータなどの送受信を行えるようになっている。   The facsimile multifunction machine 1 having the above configuration includes 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), etc. are implemented. For this reason, transmission / reception of image data (still image data), text data, etc. by SMTP, HTTP, etc. directly over a TCP connection, audio data by RTP, video data, SMTP, etc. in a media session established by SIP call control In addition, transmission / reception of image data (still image data), text data, and the like using HTTP or the like can be performed.

さらに、ファクシミリ複合機1は、SIP、RTP等より上位のプロトコル層であって、画像データやテキストデータを送受信する通信プロトコルより下位のプロトコル階層で動作する独自のエラー訂正プロトコルを実装している。したがって、この独自のエラー訂正プロトコルにより実行されるエラー訂正処理は、メディアセッションで使用される通信プロトコル及び該通信プロトコルでやり取りされるデータの内容に関与しないので、メディアセッションで使用する通信プロトコルが特定のものに制限されないという利点がある。   Furthermore, the facsimile multifunction peripheral 1 is equipped with a unique error correction protocol that operates in a protocol layer that is higher than SIP, RTP, etc. and that is lower than the 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. Receiving side, the received data is divided in the same manner as above, compared to the added value at a predetermined position of all adding the combined total value of the calculated to the block of data in the block, it matches the value For example, it is determined that there is no problem with the data in the block, and if the values do not match, there is a problem, and a data retransmission request is sent to the transmission side for 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とデータ通信を行う際の処理動作について図3及び図4に示すシーケンス図並びに図4乃至図8に示すフローチャートに基づいて説明する。なお、これらの図に基づいて説明する処理動作は、ROM3に格納された制御プログラムに基づいて制御手段であるCPU2が発行する命令に従って実行される。以下説明の便宜のため、送信側となるファクシミリ複合機1を送信機1A、受信側となるファクシミリ複合機1を受信機1Bと称して説明する。   Next, FIG. 3 and FIG. 4 show the sequence operations shown in FIGS. 3 and 4 regarding the processing operation when the facsimile multifunction peripheral 1 having the above-described configuration and functions performs data communication with the facsimile multifunction peripheral 1 having the same configuration and functions as the own apparatus 1. It demonstrates based on the flowchart shown to thru | or FIG. Note that the processing operation described based on these drawings is executed in accordance with a command issued by the CPU 2 as the control means based on the control program stored in the ROM 3. For convenience of explanation, the facsimile multifunction device 1 on the transmission side will be described as a transmitter 1A, and the facsimile multifunction device 1 on the reception side will be referred to as a receiver 1B.

図3及び図4のシーケンス図に示すように、まず、SIPによって、送信機1Aと受信機1Bの間で、呼制御セッションが形成される。すなわち、送信機1Aは、SIPサーバ20に対し受信機1BのIP電話番号を指定した、セッション参加リクエスト「INVITE」により受信機1Bの呼出を要求し、併せて、送信機の諸情報としてIPアドレス、メディアセッションで使用するポート番号等の情報を受信機1Bに対して送出する(T1)。なお、本明細書において、メディアセッションが確立されるまでに形成される前記呼制御セッションを「開始呼制御セッション」という。   As shown in the sequence diagrams of FIGS. 3 and 4, first, a call control session is formed between the transmitter 1A and the receiver 1B by SIP. That is, the transmitter 1A requests the SIP server 20 to call the receiver 1B by a session participation request “INVITE” in which the IP telephone number of the receiver 1B is designated, and also includes an IP address as various information of the transmitter. Then, information such as a port number used in the media session is sent to the receiver 1B (T1). In the present specification, the call control session that is formed before the media session is established is referred to as a “start call control session”.

前記「INVITE」等の情報を受けたSIPサーバ20は、送信機1Aから指定されたIP電話番号に対応するIPアドレスを、IP電話番号とIPアドレスの対応付け情報を持つロケーションサーバ(不図示)に問い合わせて、取得した受信機1BのIPアドレスに対して、送信機1Aから受けた「INVITE」等の情報を送出することにより呼び出しを行う。   Upon receiving the information such as “INVITE”, the SIP server 20 sets the IP address corresponding to the IP phone number designated by the transmitter 1A to a location server (not shown) having IP phone number / IP address correspondence information. To the acquired IP address of the receiver 1B by sending information such as “INVITE” received from the transmitter 1A.

SIPサーバ20の呼出しに対して受信機1Bが応答すると、受信機1Bは、「INVITE」とともに、送信機1Aの位置情報等の諸情報を受信し、SIPサーバ20に対して成功応答コード「200」を送出する。また、成功応答コード「200」とともに、受信機1Bに関する諸情報として、受信機1Bの位置情報であるIPアドレス、使用するポート番号、受信機1Bが使用可能な通信データの種別情報や通信プロトコル、前記独自プロトコルによるエラー訂正機能に対応しているか否かの情報などを送出する(R1)。   When the receiver 1B responds to the call of the SIP server 20, the receiver 1B receives various information such as the positional information of the transmitter 1A together with “INVITE”, and sends a success response code “200” to the SIP server 20. "Is sent out. In addition to the success response code “200”, as various information related to the receiver 1B, the IP address that is the location information of the receiver 1B, the port number to be used, the type information and communication protocol of the communication data that can be used by the receiver 1B, Information indicating whether or not the error correction function based on the unique protocol is supported is sent (R1).

前記成功応答コード「200」及び受信機1Bの諸情報を受け取った送信機1Aは、受信機1Bの諸情報(受信機1Bが使用可能な通信プロトコル等)及び自送信機1Aがデータ送信に使用しようとしている通信プロトコル等から、通信データの種別等を確定する。そして、送信機1Aは、確定した通信データの種別に基づいて、相手先とのデータ通信をSIPによるメディアセッションで行う第1通信手段を採るか、或いは、メディアセッションでデータ通信を行わずに終了呼制御セッションを形成した後、同じ相手先と新たにTCP接続を確立し、直接確立したTCP接続上でデータ通信を行う第2通信手段を採るか、を選択し(選択動作の詳細は後述する。)、選択した方の通信手段によりデータ通信を行う。なお、予め送信機1Aの機器設定情報等に使用すべき通信手段として、前記何れか一方の通信手段を指定する情報を登録しておき、登録されている指定情報に基づいて何れかの通信手段を選択をするようにしてもよい。   The transmitter 1A that has received the success response code "200" and various information of the receiver 1B uses various information of the receiver 1B (communication protocols that can be used by the receiver 1B, etc.) and the transmitter 1A uses it for data transmission. The type of communication data is determined based on the communication protocol to be used. Then, the transmitter 1A adopts the first communication means for performing data communication with the other party in the SIP media session based on the determined type of communication data, or ends without performing data communication in the media session. After the call control session is formed, a new TCP connection is established with the same destination, and the second communication means for performing data communication over the directly established TCP connection is selected (the details of the selection operation will be described later). ), Data communication is performed by the selected communication means. Note that information for designating one of the communication means is registered in advance as a communication means to be used for the device setting information of the transmitter 1A, and any one of the communication means is based on the registered designation information. May be selected.

相手先とのデータ通信をメディアセッションで行うことを選択した場合には、図3に示すように、成功応答コード「200」を受け取ったことを示す情報「ACK」を送出するとともに、確立するメディアセッションに関して確定した情報として、メディアセッションにおいて使用する通信データの種別、通信プロトコル、ポート番号等の情報をSIPサーバ20を介して受信機1Bに送信する(T2)。すると、送信機1Aと受信機1Bとの間に、メディアセッションが確立され、上記開始呼制御セッションにより行われたネゴシエーションによって確定された通信データの種別、通信プロトコル、通信ポート等により受信機1Bと各種のデータ通信が実行される。   When it is selected that data communication with the other party is performed in the media session, as shown in FIG. 3, information “ACK” indicating that the successful response code “200” has been received is transmitted and the medium to be established Information such as the type of communication data used in the media session, the communication protocol, and the port number is transmitted to the receiver 1B via the SIP server 20 as information determined for the session (T2). Then, a media session is established between the transmitter 1A and the receiver 1B, and the receiver 1B and the receiver 1B are set according to the type of communication data, the communication protocol, the communication port, and the like determined by the negotiation performed by the start call control session. Various data communications are performed.

メディアセッションにおけるデータ通信が終了した後は、送信機1Aは、SIPコネクションの切断を要求する「BYE」をSIPサーバ20へ送出し、これを受けたSIPサーバ20は「BYE」を受信機1Bへ送信する(T3)。そして、受信機1Bが、成功応答コード「200」をSIPサーバ20へ送出し(R)、SIPサーバ20が同じく送信機1Aへ成功応答コード「200」を送出すると、一連のセッションが終了し、通信が切断される。なお、メディアセッションを終了した後、通信が切断されるまで形成される呼制御セッションを本明細書において「終了呼制御セッション」という。 After the data communication in the media session is completed, the transmitter 1A sends “BYE” requesting disconnection of the SIP connection to the SIP server 20, and the SIP server 20 receiving this sends “BYE” to the receiver 1B. Transmit (T3). Then, when the receiver 1B sends a success response code “200” to the SIP server 20 (R 2 ), and the SIP server 20 also sends a success response code “200” to the transmitter 1A, a series of sessions ends. Communication is cut off. A call control session that is formed until communication is terminated after the media session is terminated is referred to as an “end call control session” in this specification.

一方、送信機1Aは、前記R1において受信機から送出された成功応答コード「200」及び諸情報を受け取った後に、相手先とのデータ通信をメディアセッションで行わずに、新たにTCP接続を確立した上で行うことを選択した場合には、図4に示すように、前記T2の情報送出を行った後に直ちに、SIPコネクションの切断を要求する「BYE」をSIPサーバ20へ送出して受信機1Bとの間で終了呼制御セッションを形成して、SIP接続を切断する。そして、送信機1Aは、受信機1Bに対してTCP接続を新たに要求して相互間にTCP接続を確立し(T4)、直接確立したTCP接続上で受信機1Bに対してデータ送信を行う(T5)。データ送信処理が完了した後は、TCP接続の切断処理を行う(T6)。   On the other hand, after receiving the successful response code “200” and various information transmitted from the receiver in R1, the transmitter 1A establishes a new TCP connection without performing data communication with the other party in the media session. If it is selected to do so, as shown in FIG. 4, immediately after sending the information of T2, "BYE" requesting disconnection of the SIP connection is sent to the SIP server 20 to receive the receiver. An end call control session is formed with 1B to disconnect the SIP connection. Then, the transmitter 1A newly requests a TCP connection to the receiver 1B, establishes a TCP connection between them (T4), and transmits data to the receiver 1B over the directly established TCP connection. (T5). After the data transmission process is completed, a TCP connection disconnection process is performed (T6).

上記説明では、送信機1Aは、SIPにより確立したメディアセッション、又は、直接TCP接続上でデータ通信を行っているが、勿論、複数種類の通信プロトコルにより同時にデータ通信をする場合は、一部のデータ通信をメディアセッション上で行い(図3参照。)、その他のデータ通信を新たに確立したTCP接続上(図4下図参照。)で行うことができるようにもなっている。   In the above description, the transmitter 1A performs data communication over a media session established by SIP or direct TCP connection. Of course, when performing data communication simultaneously using a plurality of types of communication protocols, Data communication is performed on the media session (see FIG. 3), and other data communication can be performed on the newly established TCP connection (see the lower diagram in FIG. 4).

次に、開始呼制御セッションを行う際にメディアセッションでデータ通信を行うか、直接TCP接続上でデータ通信を行うかを選択しデータ通信をする際に送信機1Aが実行する処理動作等について、図5及び図6に示すフローチャートに基づいて説明する。   Next, regarding the processing operation performed by the transmitter 1A when performing data communication by selecting whether to perform data communication in a media session or data communication over a direct TCP connection when performing a start call control session, This will be described based on the flowcharts shown in FIGS.

送信機1Aは、前記T1において、SIPにより受信機1Bを呼び出した後(S1)、前記R1の応答があった場合に(S2:YES)、受信機1Bとの間で開始呼制御セッションを形成しながらネゴシエーションを行って(S3)、受信機1Bが対応可能な通信の種別、通信プロトコル、通信ポートなどを取得する。   The transmitter 1A calls the receiver 1B by SIP at T1 (S1), and when there is a response from the R1 (S2: YES), forms a start call control session with the receiver 1B. The negotiation is performed (S3), and the communication type, communication protocol, communication port, and the like that can be handled by the receiver 1B are acquired.

そして、送信機1Aが受信機1Bとの間でやり取りすべきデータ通信を単一のデータ通信により行う場合(S4:YES)、後に詳述する通信処理を実行する(S5)。一方、複数のデータ通信、例えば、音声データ通信と画像データ通信、音声データ通信と動画データ通信などのように、送信機1Aと受信機1Bとの間で実行するデータ通信が複数のデータ通信により行われる場合は、各データ通信ごとに後に詳述する通信処理を実行する(S6)。   When the data communication that the transmitter 1A should exchange with the receiver 1B is performed by a single data communication (S4: YES), a communication process described in detail later is executed (S5). On the other hand, data communication performed between the transmitter 1A and the receiver 1B, such as voice data communication and image data communication, voice data communication and video data communication, is performed by a plurality of data communications. If it is performed, a communication process described in detail later is executed for each data communication (S6).

なお、前記S2において受信機1Bの応答が無かった場合、つまり前記R2の成功応答コード「200」が返信されずに、エラー内容を示すレスポンスコードが返信されてきた場合は、通信エラー処理を行う(S7)。通信エラー処理としては、例えば、通信エラーの原因を示すメッセージ、エラーコード等の表示部11への表示や記録部10からの印字出力が行われる。   If there is no response from the receiver 1B in S2, that is, if the response code indicating the error content is returned without returning the success response code “200” of R2, communication error processing is performed. (S7). As the communication error process, for example, a message indicating the cause of the communication error, an error code, and the like are displayed on the display unit 11 and printed out from the recording unit 10.

次に、送信機1Aの前記S5、S6の通信処理を図6のフローチャートに基づいて詳細に説明する。なお、S5とS6で実行される通信処理の内容は、S5では、1つのデータ通信に後述する通信処理が行われ、S6では、複数のデータ通信それぞれについて後述する通信処理が行われる点で相違するだけであり、個々のデータ通信について実行される通信処理の内容自体は同じである。   Next, the communication process of S5 and S6 of the transmitter 1A will be described in detail based on the flowchart of FIG. Note that the content of the communication process executed in S5 and S6 differs in that the communication process described later is performed for one data communication in S5, and the communication process described later is performed for each of the plurality of data communications in S6. However, the content of the communication process executed for each data communication is the same.

まず、送信機1Aは、メディアセッション上でデータ通信をするか否かを実行しようとしているデータ通信の種別に基づいて選択する(S101)。すなわち、行うべきデータ通信の種別に対応する、通信方式判定テーブル4aの設定に従って、メディアセッション上でデータ通信をするか、SIP接続を終了し新たにTCP接続を確立した上でデータ通信するかを選択する。例えば、図2に示されているように、行うべきデータ通信の種別が音声又は動画である場合は、通信方式はメディアセッション/RTPと設定されているので、メディアセッション上でデータ通信を行うとの選択を行い、行うべきデータ通信の種別が機器データ又は画像である場合は、SIP接続を終了し新たにTCP接続を確立した上でデータ通信を行うとの選択を行う(S101)。   First, the transmitter 1A selects whether or not to perform data communication on the media session based on the type of data communication to be executed (S101). That is, according to the setting of the communication method determination table 4a corresponding to the type of data communication to be performed, whether data communication is performed on the media session or whether the data communication is performed after the SIP connection is terminated and a new TCP connection is established. select. For example, as shown in FIG. 2, when the type of data communication to be performed is voice or video, the communication method is set to media session / RTP, so when data communication is performed on the media session When the type of data communication to be performed is device data or image, the selection is made to terminate the SIP connection and newly establish a TCP connection to perform data communication (S101).

送信機1Aが、メディアセッションでデータ通信を行うことを選択した場合は(S101:YES)、次いで、メディアセッションで使用するデータ通信の種別、通信プロトコル、通信ポートなど、メディアセッションに関する情報を確定する(S102)。そして、確定したメディアセッションに関する情報のうちデータ通信の種別情報に基づいてメディアセッションで送受信するデータ通信のエラー訂正処理を行うか否かを決定する(S103)。すなわち、メディアセッションで行うデータ通信の種別に対応する、通信方式判定テーブル4aの設定に従ってエラー訂正処理を行うか否かを決定する。例えば、図2に示されているように、行うべきデータ通信の種別が音声又は動画である場合は、エラー訂正機能は無効と設定されているので、エラー訂正処理は行わないとの決定を行い、行うべきデータ通信の種別が機器データ又は画像である場合は、エラー訂正機能は有効と設定されているので、エラー訂正処理を行うとの決定をする(S103)。 If the transmitter 1A has selected to perform data communication in the media session (S101: YES), then information related to the media session, such as the type of data communication used in the media session, the communication protocol, and the communication port, is determined. (S102). Then, to determine whether to perform error correction processing of the data communication for transmitting and receiving a media session based on the determined type information of information sac Chide Data Communications relating to the media session (S103). That is, it is determined whether or not to perform error correction processing according to the setting of the communication method determination table 4a corresponding to the type of data communication performed in the media session. For example, as shown in FIG. 2, when the type of data communication to be performed is voice or moving image, the error correction function is set to be invalid, so that the error correction process is determined not to be performed. If the type of data communication to be performed is device data or image, the error correction function is set to be valid, and it is determined to perform error correction processing (S103).

エラー訂正処理を行うと決定した場合(S103:YES)、開始呼制御セッションで取得した受信機1Bの諸情報から、受信機1BがTCPを使用してエラー訂正処理を行うことができると判断した場合は(S104:YES)、受信機1Bに「ACK」等を送信し(S105)、確立したメディアセッション上でTCPによりエラー訂正処理を行いながら受信機1Bに対してデータ送信を行う(S106)。   If it is determined to perform error correction processing (S103: YES), it is determined from the various information of the receiver 1B acquired in the start call control session that the receiver 1B can perform error correction processing using TCP. In this case (S104: YES), “ACK” or the like is transmitted to the receiver 1B (S105), and data is transmitted to the receiver 1B while performing error correction processing by TCP on the established media session (S106). .

前記S104において、受信機1BがTCPを使用してエラー訂正処理を行うことができないと判断した場合は(S104:NO)、開始呼制御セッションで取得した受信機1Bの諸情報から、受信機1Bが独自プロトコルによるエラー訂正処理に対応するものであるか否かを判断し(S107)、対応するものである場合には(S107:YES)、受信機1Bに「ACK」等を送信し(S108)、確立したメディアセッション上で独自プロトコルによるエラー訂正処理を行いながら受信機1Bに対してデータ送信を行う(S109)。   In S104, when the receiver 1B determines that the error correction processing cannot be performed using TCP (S104: NO), the receiver 1B is obtained from various information of the receiver 1B acquired in the start call control session. Is compatible with the error correction processing based on the original protocol (S107), and if it is compatible (S107: YES), "ACK" or the like is transmitted to the receiver 1B (S108). ), Data is transmitted to the receiver 1B while performing error correction processing by the original protocol on the established media session (S109).

一方、前記S103において、エラー訂正処理を行わないと決定した場合(S103:NO)、及び前記S107において否定判断をした場合(S107:NO)は、受信機1Bに「ACK」等を送信し(S110)、エラー訂正処理を行わずに受信機1Bに対してデータ送信を行う(S111)。なお、S110でエラー訂正処理を行わない旨の情報の送信を行ってもよい。   On the other hand, when it is determined in S103 that error correction processing is not performed (S103: NO) and when a negative determination is made in S107 (S107: NO), “ACK” or the like is transmitted to the receiver 1B ( S110), data transmission is performed to the receiver 1B without performing error correction processing (S111). Note that information indicating that the error correction processing is not performed may be transmitted in S110.

そして、受信機1Bとの間で終了呼制御セッションを形成してSIP接続の切断処理を行う(S112)。   Then, an end call control session is formed with the receiver 1B, and SIP connection disconnection processing is performed (S112).

一方、前記S101において、送信機1AがSIP接続を終了して、新たにTCP接続を確立した上でデータ通信を行うことを選択した場合は(S101:NO)、直ちに、受信機1Bとの間で終了呼制御セッションを形成してSIP接続の切断処理を行う(S113)。次いで、開始呼制御セッションにおいて取得した受信機1Bの位置情報(IPアドレス、ポート番号)を指定したTCP接続処理を行って、TCP接続を確立する(S114)。そして、TCPによりエラー訂正処理を行いながら受信機1Bに対して直接TCP接続上でデータ送信を行う(S115)。データ送信処理が完了した後は、TCP接続の切断処理を行う(S116)。   On the other hand, in S101, when the transmitter 1A terminates the SIP connection and newly establishes a TCP connection and selects to perform data communication (S101: NO), immediately with the receiver 1B. Then, an end call control session is formed and SIP connection disconnection processing is performed (S113). Next, TCP connection processing specifying the location information (IP address, port number) of the receiver 1B acquired in the start call control session is performed to establish a TCP connection (S114). Then, data is transmitted directly over the TCP connection to the receiver 1B while performing error correction processing by TCP (S115). After the data transmission process is completed, a TCP connection disconnection process is performed (S116).

次に上記送信機1Aの通信相手側となる受信機1Bの処理動作について、図7及び図8に示すフローチャートに基づいて説明する。   Next, the processing operation of the receiver 1B on the communication partner side of the transmitter 1A will be described based on the flowcharts shown in FIGS.

受信機1Bは、前記T1における送信機1A側からのSIPによる呼び出しに応答すると(S151)、送信機1Aとの間で開始呼制御セッションを形成しながら前記した諸情報の交換、つまりメディアセッションを確立するために必要なネゴシエーションを行って(S152)、送信機1Aから、確立するメディアセッションに関する確定された情報をACKとともに受信する(S153)。   When the receiver 1B responds to the SIP call from the transmitter 1A in T1 (S151), the receiver 1B exchanges various information as described above while forming a start call control session with the transmitter 1A, that is, a media session. Negotiations necessary for establishment are performed (S152), and confirmed information regarding the media session to be established is received together with ACK from the transmitter 1A (S153).

メディアセッションでトランスポート層としてTCPを使用する場合は(S154:YES)、確立したメディアセッションで、TCPによりエラー訂正処理を行いながらデータ受信を行う(S155)。   When TCP is used as a transport layer in the media session (S154: YES), data reception is performed while performing error correction processing by TCP in the established media session (S155).

独自プロトコルによるエラー訂正処理をする場合は(S154:NO、S156YES)、独自プロトコルによるエラー訂正処理を行いながらデータ受信を行う(S157)。なお、この場合、トランスポート層としてはUDPが使用される。
When performing error correction processing using a unique protocol (S154: NO, S156 : YES), data is received while performing error correction processing using a unique protocol (S157). In this case, UDP is used as the transport layer.

エラー訂正処理を行わない場合は(S154:NO、S156:NO)、エラー訂正処理を行わずにデータ受信を行う(S158)。なお、この場合、トランスポート層としてはUDPが使用される。   When error correction processing is not performed (S154: NO, S156: NO), data reception is performed without performing error correction processing (S158). In this case, UDP is used as the transport layer.

前記S155、S157又はS158のデータ受信処理が完了し、送信機1AからSIPサーバ20を通じて「BYE」を受信した後は、終了呼制御セッションを送信機1Aとの間で形成してSIP接続の切断処理を行う(S159)。   After the data reception process of S155, S157 or S158 is completed and “BYE” is received from the transmitter 1A through the SIP server 20, an end call control session is formed with the transmitter 1A to disconnect the SIP connection. Processing is performed (S159).

一方、受信機1Bは、送信機1AのS114における、TCP接続要求により送信機1Aとの間でTCP接続を確立した場合は(S201)、TCPによりエラー訂正処理を行いながら、直接TCP接続上でデータ受信を行う(S202)。データ受信が完了した後、TCP接続の切断処理を行う(S203)。   On the other hand, when the receiver 1B establishes a TCP connection with the transmitter 1A by the TCP connection request in S114 of the transmitter 1A (S201), the receiver 1B performs the error correction process using the TCP while directly performing the TCP connection. Data reception is performed (S202). After the data reception is completed, a TCP connection disconnection process is performed (S203).

以上説明した送信機1Aの送信処理(S101乃至S116)及び受信機1Bの受信処理(S151乃至S159、S201乃至S203)は、送信機1Aが受信機1Bとの間で行うべきデータ通信が複数ある場合は(S6)、各データ通信ごとにそれぞれ並行して実行される。このため、例えば、送信機1Aが受信機1Bとの間で行うデータ通信の種別として音声データと静止画像データの両方についてデータ通信をする場合には、音声データ通信を行うためのメディアセッションと静止画像データ通信を行うためのTCP接続の両方が同時に確立されることとなる。   The transmission process (S101 to S116) of the transmitter 1A and the reception process (S151 to S159, S201 to S203) of the receiver 1B described above have a plurality of data communications that the transmitter 1A should perform with the receiver 1B. In this case (S6), each data communication is executed in parallel. For this reason, for example, when data communication is performed for both audio data and still image data as a type of data communication performed between the transmitter 1A and the receiver 1B, a media session and a still image for performing the audio data communication are static. Both TCP connections for performing image data communication are established simultaneously.

以上の説明から明らかなように、本発明の実施の形態に係るファクシミリ複合機(通信装置)1によれば、送受信する通信データの種別がリアルタイム性を必要とする音声データなどの場合には、メディアセッション上で、エラー訂正を行わずにデータ通信を行う。また、画像データ等のように受信側において完全な元データの再現を必要とするデータ通信については、メディアセッション上で、エラー訂正を行いながら、若しくは、SIP接続を切断して、新たにTCP接続を確立した上でエラー訂正処理を行いながらデータ通信を行うことができる。したがって、ファクシミリ複合機1によれば、SIPを利用して送受信する通信データの特性、目的等に適したデータ通信処理が行われる。   As is apparent from the above description, according to the facsimile multifunction peripheral (communication device) 1 according to the embodiment of the present invention, when the type of communication data to be transmitted / received is voice data that requires real-time characteristics, Data communication is performed without error correction on the media session. In addition, for data communications that require complete reproduction of original data on the receiving side, such as image data, a new TCP connection is made while performing error correction or disconnecting the SIP connection on the media session. Thus, data communication can be performed while performing error correction processing. Therefore, according to the facsimile multifunction peripheral 1, data communication processing suitable for the characteristics and purpose of communication data transmitted / received using SIP is performed.

また、送信機1Aは、SIPの開始呼制御セッションにおいて取得した受信機1Bの位置情報を用いてTCP接続を要求するので、DNS(ドメイン名解決システム)等への問合せ処理を省略することができる。さらに、送信側のユーザは、相手先のIP電話番号のみを指定操作すれば、相手先へデータ送信することができ、相手先のメールアドレスやURIの指定操作は省略することができる。   Further, since the transmitter 1A requests a TCP connection using the location information of the receiver 1B acquired in the SIP start call control session, it is possible to omit a query process to a DNS (domain name resolution system) or the like. . Furthermore, if the user on the transmission side designates only the IP phone number of the other party, data can be transmitted to the other party, and the operation for designating the other party's mail address or URI can be omitted.

また、メディアセッションでデータ通信をする場合は、データ通信に種々の制限が課され、帯域を十分に使い切れないという問題があるが、直接TCP接続上で静止画像等のデータ通信をすれば、十分に効率の良いデータ通信を行うことが可能である。   In addition, when data communication is performed in a media session, various restrictions are imposed on the data communication, and there is a problem that the bandwidth cannot be fully used. However, if data communication such as a still image is directly performed on a TCP connection, it is sufficient. It is possible to perform highly efficient data communication.

また、画像データ等のように受信側において完全に元データの再現を必要とする通信データについても、通信方式テーブル4aの設定により、SIPにより確立されるメディアセッション上でTCP又は独自プロトコルによるエラー訂正処理を行いながらデータ通信を行うことが可能である。   For communication data such as image data that requires complete reproduction of the original data on the receiving side, error correction using TCP or a proprietary protocol is performed on the media session established by SIP by setting the communication method table 4a. Data communication can be performed while processing.

つぎに、上記実施形態の変形例について説明する。変形例に係るファクシミリ複合機1は、通信方式判定テーブル4aの代わりに、図9又は図10に示すような、通信方式判定テーブルを有し、そのテーブルに基づいて前記S101の選択処理及び前記S103の判断処理を行う。但し、図10に示す通信判定テーブルを適用するに当たっては、前記S4で否定判断を行ってS6の処理動作を実行しないことが前提となる。   Next, a modification of the above embodiment will be described. The facsimile multifunction peripheral 1 according to the modified example has a communication method determination table as shown in FIG. 9 or FIG. 10 instead of the communication method determination table 4a. Based on the table, the selection process of S101 and the S103 are performed. The determination process is performed. However, in applying the communication determination table shown in FIG. 10, it is assumed that a negative determination is made in S4 and the processing operation in S6 is not executed.

図9に示す通信方式判定テーブル4bは、宛先ポート番号毎に対応付けて、メディアセッションでデータ通信を行うか、メディアセッションではなく直接TCP接続上でデータ通信を行うかの設定情報、及び、エラー訂正処理を行うか否かの設定情報を記憶するものである。該テーブル4bを有する送信機1Aは、前記S101の選択処理において、S3で取得した宛先ポート番号に対応する、通信方式判定テーブル4bの設定に従って、メディアセッションでデータ通信を行うか、メディアセッションではなく直接TCP接続上でデータ通信を行うかを選択する。例えば、図9に示されているように、宛先ポート番号が「4004又は4006」である場合は、通信方式はメディアセッション/RTPと設定されているので、メディアセッションでRTPによりデータ通信を行うとの選択を行い、宛先ポート番号が「4008又は4010」である場合は、通信方式はTCP接続と設定されているので、メディアセッションではなく直接TCP接続上でデータ通信を行うとの選択をする。また、前記S103の判断処理において、S3で取得した宛先ポート番号に対応する、通信方式判定テーブル4bの設定に従ってエラー訂正処理を行うか否かを決定する。例えば、図9に示されているように、宛先ポート番号が「4004又は4006」である場合は、エラー訂正機能は無効と設定されているので、エラー訂正処理は行わないとの決定を行い、宛先ポート番号が「4008又は4010」である場合は、エラー訂正機能は有効と設定されているので、エラー訂正処理を行うとの決定をする。   The communication method determination table 4b illustrated in FIG. 9 includes setting information indicating whether data communication is performed in a media session or data communication is performed directly over a TCP connection instead of a media session, and an error associated with each destination port number. Setting information for determining whether or not to perform correction processing is stored. The transmitter 1A having the table 4b performs data communication in the media session according to the setting of the communication method determination table 4b corresponding to the destination port number acquired in S3 in the selection process of S101, or is not a media session. Select whether to perform data communication over a direct TCP connection. For example, as shown in FIG. 9, when the destination port number is “4004 or 4006”, since the communication method is set to media session / RTP, if data communication is performed by RTP in the media session, When the destination port number is “4008 or 4010”, since the communication method is set to TCP connection, it is selected that data communication is performed directly on the TCP connection instead of the media session. In the determination process of S103, it is determined whether or not to perform error correction processing according to the setting of the communication method determination table 4b corresponding to the destination port number acquired in S3. For example, as illustrated in FIG. 9, when the destination port number is “4004 or 4006”, the error correction function is set to be invalid, so the error correction process is determined not to be performed, When the destination port number is “4008 or 4010”, since the error correction function is set to be valid, it is determined to perform the error correction process.

図10に示す通信方式判定テーブル4cは、宛先IPアドレス毎に対応付けて、メディアセッションでデータ通信を行うか、メディアセッションではなく直接TCP接続上でデータ通信を行うかの設定情報、及び、エラー訂正処理を行うか否かの設定情報を記憶するものである。該テーブル4cを有する送信機1Aは、前記S101の選択処理において、S3で取得した宛先IPアドレスに対応する、通信方式判定テーブル4cの設定に従って、メディアセッションでデータ通信を行うか、メディアセッションではなく直接TCP接続上でデータ通信を行うかを決定する。例えば、図10に示されているように、宛先IPアドレスが「128.2.3.1又は128.2.3.2」である場合は、通信方式はメディアセッション/RTPと設定されているので、メディアセッションでRTPによりデータ通信を行うとの決定を行い、宛先IPアドレスが「128.2.3.3又は128.2.3.4」である場合は、通信方式はTCP接続と設定されているので、メディアセッションではなく直接TCP接続上でデータ通信を行うとの決定をする。また、前記S103の判断処理において、S3で取得した宛先IPアドレスに対応する、通信方式判定テーブル4cの設定に従ってエラー訂正処理を行うか否かを決定する。例えば、図10に示されているように、宛先IPアドレスが「128.2.3.1又は128.2.3.2」である場合は、エラー訂正機能は無効と設定されているので、エラー訂正処理は行わないとの決定を行い、宛先IPアドレスが「128.2.3.3又は128.2.3.4」である場合は、エラー訂正機能は有効と設定されているので、エラー訂正処理を行うとの決定をする。   The communication method determination table 4c illustrated in FIG. 10 includes setting information indicating whether data communication is performed in a media session or data communication is performed over a direct TCP connection instead of a media session in association with each destination IP address, and an error. Setting information for determining whether or not to perform correction processing is stored. The transmitter 1A having the table 4c performs data communication in the media session according to the setting of the communication method determination table 4c corresponding to the destination IP address acquired in S3 in the selection process of S101, or is not a media session. Determine whether to perform data communication over a direct TCP connection. For example, as illustrated in FIG. 10, when the destination IP address is “128.2.3.1 or 12.2.2.3.2”, the communication method is set to media session / RTP. Therefore, when it is determined that data communication is performed by RTP in the media session, and the destination IP address is “128.2.3.3 or 128.2.3.4”, the communication method is set to TCP connection. Therefore, it is determined that data communication is performed directly on the TCP connection instead of the media session. In the determination process of S103, it is determined whether or not to perform error correction processing according to the setting of the communication method determination table 4c corresponding to the destination IP address acquired in S3. For example, as shown in FIG. 10, when the destination IP address is “12.2.2.3.1 or 12.2.2.3.2”, the error correction function is set to invalid. When it is determined that the error correction processing is not performed and the destination IP address is “128.2.3.3 or 128.2.3.4”, the error correction function is set to be valid. Decide to perform error correction processing.

なお、前記S101の選択処理及び前記S103の判断処理においては、上述した通信データの種別、宛先IPアドレス及び宛先ポート番号以外のメディアセッションに関する情報に基づいて、エラー訂正処理を行うか否かの決定を行うようにしてもよい。   In the selection processing in S101 and the determination processing in S103, whether or not to perform error correction processing is determined based on the information related to the media session other than the type of communication data, the destination IP address, and the destination port number. May be performed.

本実施の形態及び上記変形例では、ファクシミリ複合機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 also be realized on a general-purpose computer such as a personal computer. is there. 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 is a diagram illustrating a configuration example of a facsimile multifunction peripheral (communication apparatus) according to an embodiment of the present invention. FIG. 通信方式判定テーブルの一例を示した図である。It is the figure which showed an example of the communication system determination table. 本発明の実施の形態に係るファクシミリ複合機(通信装置)同士でSIPによるデータ通信を行う際に双方間で形成されるセッションの例を示した図である。It is the figure which showed the example of the session formed between both sides, when performing the data communication by SIP between the facsimile multifunction peripherals (communication apparatus) which concerns on embodiment of this invention. 本発明の実施の形態に係るファクシミリ複合機(通信装置)同士でSIPによる呼制御セッションを形成した後、直接TCP接続上でデータ通信を行う際に双方間で形成されるセッション例を示した図である。The figure which showed the example of a session formed between both sides, when forming the call control session by SIP between the facsimile multifunction peripherals (communication apparatus) which concerns on embodiment of this invention, and performing data communication on a direct TCP connection It is. 送信機(通信装置)の実行する処理動作を示したフローチャートである。It is the flowchart which showed the processing operation which a transmitter (communication apparatus) performs. 送信機(通信装置)の実行する送信処理動作を示したフローチャートである。It is the flowchart which showed the transmission processing operation which a transmitter (communication apparatus) performs. 受信機(通信装置)の実行する受信処理動作を示したフローチャートである。It is the flowchart which showed the reception processing operation which a receiver (communication apparatus) performs. 受信機(通信装置)の実行する受信処理動作を示したフローチャートである。It is the flowchart which showed the reception processing operation which a receiver (communication apparatus) performs. 通信方式判定テーブルの他の実施形態例を示した図である。It is the figure which showed other example embodiments of the communication system determination table. 通信方式判定テーブルの他の実施形態例を示した図である。It is the figure which showed other example embodiments of the communication system determination table.

符号の説明Explanation of symbols

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 Communication method determination table 20 SIP server

Claims (10)

呼制御プロトコルにより確立したメディアセッションで相手先とデータ通信をする手段と、
前記データ通信においてエラー訂正をするか否かを、通信するデータの種別に基づいて判断する手段と、
エラー訂正をすると判断された場合に、相手先がTCPによるエラー訂正が可能か否かを判断する手段と、
相手先がTCPによるエラー訂正が可能であると判断された場合に、TCPに従ってエラー訂正をする手段と、
相手先がTCPによるエラー訂正が可能でないと判断された場合に、相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能か否かを判断する手段と、
相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能であると判断された場合に、UDPより上位の再送制御を行うプロトコルによりエラー訂正をする手段と、
相手先がUDPより上位の再送制御を行うプロトコルによりエラー訂正に対応可能でないと判断された場合、又はエラー訂正をしないと判断された場合に、エラー訂正をすることなく前記データ通信をする手段と、
を備えることを特徴とする通信装置。
Means for data communication with a partner in a media session established by a call control protocol;
Means for determining whether to perform error correction in the data communication based on the type of data to be communicated;
Means for determining whether or not the partner can perform error correction by TCP when it is determined to perform error correction;
Means for correcting an error in accordance with TCP when it is determined that the other party can perform error correction by TCP;
Means for determining whether or not the partner can handle error correction by a protocol that performs retransmission control higher than UDP when it is determined that the partner cannot perform error correction by TCP ;
Means for performing error correction by a protocol for performing retransmission control higher than UDP when it is determined that the partner can cope with error correction by a protocol for performing retransmission control higher than UDP;
Means for performing the data communication without error correction when it is determined that the partner cannot handle error correction by a protocol for performing retransmission control higher than UDP, or when it is determined not to perform error correction ; ,
A communication apparatus comprising:
前記データ通信をするか否かを、通信するデータの種別に基づいて判断する手段と、
前記データ通信をしないと判断された場合に、呼制御プロトコルによる開始呼制御セッションで相手先の諸情報を取得した後、前記データ通信をすることなく終了呼制御セッションを実行する手段と、
取得された相手先の諸情報に含まれる位置情報を指定して相手先とTCP接続を確立し、確立したTCP接続上でデータ通信をする手段と、
確立したTCP接続上でのデータ通信においてTCPに従ってエラー訂正をする手段と、
を備える請求項1記載の通信装置。
Means for determining whether to perform the data communication based on the type of data to be communicated;
Means for executing an end call control session without performing the data communication after acquiring various information of the other party in the start call control session by a call control protocol when it is determined that the data communication is not performed;
A means for establishing a TCP connection with the other party by designating position information included in the acquired other party information, and performing data communication over the established TCP connection;
Means for error correction according to TCP in data communication over an established TCP connection;
The communication device according to claim 1 .
呼制御プロトコルにより確立したメディアセッションで相手先とデータ通信をする手段と、
前記データ通信においてエラー訂正をするか否かを相手先のポート番号に基づいて判断する手段と、
エラー訂正をすると判断された場合に、相手先がTCPによるエラー訂正が可能か否かを判断する手段と、
相手先がTCPによるエラー訂正が可能であると判断された場合に、TCPに従ってエラー訂正をする手段と、
相手先がTCPによるエラー訂正が可能でないと判断された場合に、相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能か否かを判断する手段と、
相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能であると判断された場合に、UDPより上位の再送制御を行うプロトコルによりエラー訂正をする手段と、
相手先がUDPより上位の再送制御を行うプロトコルによりエラー訂正に対応可能でないと判断された場合、又はエラー訂正をしないと判断された場合に、エラー訂正をすることなく前記データ通信をする手段と、
を備えることを特徴とする通信装置。
Means for data communication with a partner in a media session established by a call control protocol;
Means for determining whether to perform error correction in the data communication based on the port number of the other party;
Means for determining whether or not the partner can perform error correction by TCP when it is determined to perform error correction;
Means for correcting an error in accordance with TCP when it is determined that the other party can perform error correction by TCP;
Means for determining whether or not the partner can handle error correction by a protocol that performs retransmission control higher than UDP when it is determined that the partner cannot perform error correction by TCP ;
Means for performing error correction by a protocol for performing retransmission control higher than UDP when it is determined that the partner can cope with error correction by a protocol for performing retransmission control higher than UDP;
Means for performing the data communication without error correction when it is determined that the partner cannot handle error correction by a protocol for performing retransmission control higher than UDP, or when it is determined not to perform error correction ; ,
A communication apparatus comprising:
前記データ通信をするか否かを相手先のポート番号に基づいて判断する手段と、  Means for determining whether to perform the data communication based on the port number of the other party;
前記データ通信をしないと判断された場合に、呼制御プロトコルによる開始呼制御セッションで相手先の諸情報を取得した後、前記データ通信をすることなく終了呼制御セッションを実行する手段と、  Means for executing an end call control session without performing the data communication after acquiring various information of the other party in the start call control session by a call control protocol when it is determined that the data communication is not performed;
取得された相手先の諸情報に含まれる位置情報を指定して相手先とTCP接続を確立し、確立したTCP接続上でデータ通信をする手段と、  A means for establishing a TCP connection with the other party by designating position information included in the acquired other party information, and performing data communication over the established TCP connection;
確立したTCP接続上でのデータ通信においてTCPに従ってエラー訂正をする手段と、  Means for error correction according to TCP in data communication over an established TCP connection;
を備える請求項3記載の通信装置。  A communication apparatus according to claim 3.
呼制御プロトコルにより確立したメディアセッションで相手先とデータ通信をする手段と、
前記データ通信においてエラー訂正をするか否かを相手先のIPアドレスに基づいて判断する手段と、
エラー訂正をすると判断された場合に、相手先がTCPによるエラー訂正が可能か否かを判断する手段と、
相手先がTCPによるエラー訂正が可能であると判断された場合に、TCPに従ってエラー訂正をする手段と、
相手先がTCPによるエラー訂正が可能でないと判断された場合に、相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能か否かを判断する手段と、
相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能であると判断された場合に、UDPより上位の再送制御を行うプロトコルによりエラー訂正をする手段と、
相手先がUDPより上位の再送制御を行うプロトコルによりエラー訂正に対応可能でないと判断された場合、又はエラー訂正をしないと判断された場合に、エラー訂正をすることなく前記データ通信をする手段と、
を備えることを特徴とする通信装置。
Means for data communication with a partner in a media session established by a call control protocol;
Means for determining whether to perform error correction in the data communication based on the IP address of the other party;
Means for determining whether or not the partner can perform error correction by TCP when it is determined to perform error correction;
Means for correcting an error in accordance with TCP when it is determined that the other party can perform error correction by TCP;
Means for determining whether or not the partner can handle error correction by a protocol that performs retransmission control higher than UDP when it is determined that the partner cannot perform error correction by TCP ;
Means for performing error correction by a protocol for performing retransmission control higher than UDP when it is determined that the partner can cope with error correction by a protocol for performing retransmission control higher than UDP;
Means for performing the data communication without error correction when it is determined that the partner cannot handle error correction by a protocol for performing retransmission control higher than UDP, or when it is determined not to perform error correction ; ,
A communication apparatus comprising:
前記データ通信をするか否かを相手先のIPアドレスに基づいて判断する手段と、  Means for determining whether to perform the data communication based on the IP address of the other party;
前記データ通信をしないと判断された場合に、呼制御プロトコルによる開始呼制御セッションで相手先の諸情報を取得した後、前記データ通信をすることなく終了呼制御セッションを実行する手段と、  Means for executing an end call control session without performing the data communication after acquiring various information of the other party in the start call control session by a call control protocol when it is determined that the data communication is not performed;
取得された相手先の諸情報に含まれる位置情報を指定して相手先とTCP接続を確立し、確立したTCP接続上でデータ通信をする手段と、  A means for establishing a TCP connection with the other party by designating position information included in the acquired other party information, and performing data communication over the established TCP connection;
確立したTCP接続上でのデータ通信においてTCPに従ってエラー訂正をする手段と、  Means for error correction according to TCP in data communication over an established TCP connection;
を備える請求項5記載の通信装置。  The communication apparatus according to claim 5.
行うべきデータ通信が複数ある場合に、複数のデータ通信を並行して実行する手段を備える請求項1から6のいずれか記載の通信装置。  The communication apparatus according to claim 1, further comprising means for executing a plurality of data communications in parallel when there are a plurality of data communications to be performed. コンピュータを、
呼制御プロトコルにより確立したメディアセッションで相手先とデータ通信をする手段、
前記データ通信においてエラー訂正をするか否かを、通信するデータの種別に基づいて判断する手段、
エラー訂正をすると判断された場合に、相手先がTCPによるエラー訂正が可能か否かを判断する手段、
相手先がTCPによるエラー訂正が可能であると判断された場合に、TCPに従ってエラー訂正をする手段、
相手先がTCPによるエラー訂正が可能でないと判断された場合に、相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能か否かを判断する手段、
相手先がUDPより上位の再送制御を行うプロトコルによるエラー訂正に対応可能であると判断された場合に、UDPより上位の再送制御を行うプロトコルによりエラー訂正をする手段、並びに、
相手先がUDPより上位の再送制御を行うプロトコルによりエラー訂正に対応可能でないと判断された場合、又はエラー訂正をしないと判断された場合に、エラー訂正をすることなく前記データ通信をする手段、
として機能させるためのプログラム。
Computer
Means for data communication with a partner in a media session established by a call control protocol;
Means for determining whether to perform error correction in the data communication based on the type of data to be communicated;
Means for determining whether or not the other party can perform error correction by TCP when it is determined to perform error correction;
Means for correcting an error in accordance with TCP when it is determined that the error can be corrected by TCP;
Means for determining whether or not the partner can cope with error correction by a protocol that performs retransmission control higher than UDP when it is determined that the partner cannot perform error correction by TCP ;
Means for performing error correction by a protocol for performing retransmission control higher than UDP when it is determined that the partner can cope with error correction by a protocol for performing retransmission control higher than UDP; and
Means for performing the data communication without error correction when it is determined that the partner is not compatible with error correction by a protocol for performing retransmission control higher than UDP, or when it is determined not to perform error correction ;
Program to function as.
コンピュータを、  Computer
前記データ通信をするか否かを、通信するデータの種別に基づいて判断する手段、  Means for determining whether to perform the data communication based on the type of data to be communicated;
前記データ通信をしないと判断された場合に、呼制御プロトコルによる開始呼制御セッションで相手先の諸情報を取得した後、前記データ通信をすることなく終了呼制御セッションを実行する手段、  Means for executing an end call control session without performing the data communication after acquiring various information of the other party in the start call control session by a call control protocol when it is determined that the data communication is not performed;
取得された相手先の諸情報に含まれる位置情報を指定して相手先とTCP接続を確立し、確立したTCP接続上でデータ通信をする手段、並びに、  Means for establishing a TCP connection with the other party by designating position information included in the acquired other party information, and performing data communication over the established TCP connection; and
確立したTCP接続上でのデータ通信においてTCPに従ってエラー訂正をする手段、  Means for error correction according to TCP in data communication over an established TCP connection;
としても機能させるための請求項8記載のプログラム。  The program according to claim 8 for functioning as well.
コンピュータを、行うべきデータ通信が複数ある場合に、複数のデータ通信を並行して実行する手段としても機能させるための請求項8又は9記載のプログラム。  The program according to claim 8 or 9 for causing a computer to function as means for executing a plurality of data communications in parallel when there are a plurality of data communications to be performed.
JP2004124636A 2004-04-20 2004-04-20 Communication apparatus and program Expired - Lifetime JP4089653B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004124636A JP4089653B2 (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

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004124636A JP4089653B2 (en) 2004-04-20 2004-04-20 Communication apparatus and program

Publications (2)

Publication Number Publication Date
JP2005311621A JP2005311621A (en) 2005-11-04
JP4089653B2 true JP4089653B2 (en) 2008-05-28

Family

ID=35439894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004124636A Expired - Lifetime JP4089653B2 (en) 2004-04-20 2004-04-20 Communication apparatus and program

Country Status (1)

Country Link
JP (1) JP4089653B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4707623B2 (en) * 2006-07-21 2011-06-22 富士通東芝モバイルコミュニケーションズ株式会社 Information processing device
JP6129252B2 (en) * 2015-08-06 2017-05-17 キヤノン株式会社 Image forming system

Also Published As

Publication number Publication date
JP2005311621A (en) 2005-11-04

Similar Documents

Publication Publication Date Title
JP4343626B2 (en) Image communication control method, image communication control program, and image communication apparatus
US7894091B2 (en) Communication apparatus and control method
JP3928631B2 (en) Facsimile device
US7068763B2 (en) Communication terminal device
US20050243871A1 (en) Communication deivce and communication method
CN100396077C (en) Communication deivce and communication method
JP4114563B2 (en) IP communication device
JP3849642B2 (en) Communication terminal device
JP4089653B2 (en) Communication apparatus and program
JP4080169B2 (en) Session establishment method
JP4075896B2 (en) Image communication device
JP4324874B2 (en) Facsimile machine
JP3925728B2 (en) Facsimile device
JP4239912B2 (en) Facsimile machine
JP4193144B2 (en) Image communication device
JP2004172853A (en) Communication terminal unit
JP5803143B2 (en) Communication system, communication method, program, and communication apparatus
JP3867861B2 (en) Facsimile device
JP2006025178A (en) Facsimile machine
JP4061552B2 (en) Image communication device
JP5370746B2 (en) Image communication device
JP4239913B2 (en) Facsimile machine
JP3977160B2 (en) Network facsimile machine
JP4375486B2 (en) Facsimile machine
JP6224914B2 (en) Facsimile apparatus, control method thereof, and program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061109

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061226

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070830

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070905

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080218

R150 Certificate of patent or registration of utility model

Ref document number: 4089653

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110307

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120307

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

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130307

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

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140307

Year of fee payment: 6

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