JPH1051753A - Two-way image communication method and its device - Google Patents

Two-way image communication method and its device

Info

Publication number
JPH1051753A
JPH1051753A JP21814396A JP21814396A JPH1051753A JP H1051753 A JPH1051753 A JP H1051753A JP 21814396 A JP21814396 A JP 21814396A JP 21814396 A JP21814396 A JP 21814396A JP H1051753 A JPH1051753 A JP H1051753A
Authority
JP
Japan
Prior art keywords
communication
way
image
processing
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP21814396A
Other languages
Japanese (ja)
Inventor
Kiyoshi Oka
潔 岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP21814396A priority Critical patent/JPH1051753A/en
Publication of JPH1051753A publication Critical patent/JPH1051753A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To conduct a 2-way image communication smoothly even in the case where image communication is biased in one direction such as the case where a throughput of a communication terminal equipment is changed during a communication. SOLUTION: For example, when decoding processing by a decoding processing section 10b is finished earlier than coding processing by a code processing section 10a (2nd screen), since a coding processing for a 2nd image is still in progress in a code processing section 10a, a code processing flag is not set. Then the decoding processing section 10b interrupts tentatively the decoding processing till the processing by the code processing section 10a is finished. When the processing of the 2nd image by the code processing section 10a is finished and a code processing flag is set, the code processing section 10a clears a decoding processing flag and the decoding processing section 10b clears the coding processing flag respectively and communication processing of image data of a succeeding image is started. Thus, the communication is conducted so that the 2-way communication processing speeds are not deviated by matching the start timing of the coding processing with the start timing of the decoding processing.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、他の通信端末装置
に接続されて該他の通信端末装置との間で行われる双方
向画像通信方法及び双方向画像通信を行う通信端末装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a two-way image communication method which is connected to another communication terminal and is performed with the other communication terminal, and a communication terminal which performs two-way image communication.

【0002】[0002]

【従来の技術】従来の双方向画像通信システムは、双方
向画像通信専用の通信端末装置や通信経路を使用してい
たので、通信端末装置の通信能力や通信経路が通信中に
急激に変化することはなかった。そのため、従来の双方
向画像通信システムによれば、通信を開始する前に各通
信端末装置の処理能力や通信経路の状態などを確認する
ことによって、その後の通信に必要な設定を全て行うこ
とができた。
2. Description of the Related Art In a conventional two-way image communication system, a communication terminal device and a communication path dedicated to two-way image communication are used. Therefore, the communication capability and communication path of the communication terminal device change rapidly during communication. I never did. Therefore, according to the conventional two-way image communication system, it is possible to perform all necessary settings for subsequent communication by checking the processing capability of each communication terminal device and the state of the communication path before starting communication. did it.

【0003】これに対して、近年、パーソナルコンピュ
ータ等、双方向画像通信専用ではない標準通信端末装置
を用いて双方向画像通信を行うことができるようになっ
てきた。一般に、双方向画像通信専用の通信端末装置を
用いる場合と異なり、情報処理装置等の標準通信端末装
置においては、様々なアプリケーションが同時に同じ環
境下で動作する場合がある。また、画像通信とは関係の
ないアプリケーションが、双方向画像通信を行っている
ときに動作する場合も考えられる。また、情報処理装置
を用いて通信を行う場合、通信経路等の通信を行う環境
は固定されていないことも問題の一つとしてあげられ
る。
On the other hand, in recent years, it has become possible to perform bidirectional image communication using a standard communication terminal device not dedicated to bidirectional image communication, such as a personal computer. Generally, in a standard communication terminal device such as an information processing device, various applications may operate simultaneously in the same environment, unlike a case where a communication terminal device dedicated to bidirectional image communication is used. It is also conceivable that an application unrelated to image communication operates when performing bidirectional image communication. Further, when communication is performed using the information processing apparatus, one of the problems is that the communication environment such as a communication path is not fixed.

【0004】そこで、双方向画像通信専用の通信端末装
置ではない通信端末装置を用いて双方向画像通信を行う
ために、双方向画像通信専用の通信制御装置を別に用意
する、又は、通信端末装置内のCPUを、ソフト的に同
期をとることにより双方向画像通信を含む複数の処理が
行われるように制御するという手法が考えられている。
Therefore, in order to perform bidirectional image communication using a communication terminal device that is not a communication terminal device dedicated to bidirectional image communication, a communication control device dedicated to bidirectional image communication is separately prepared, or A method has been considered in which a CPU is controlled so that a plurality of processes including two-way image communication are performed by synchronizing with software.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、双方向
画像通信専用の通信制御装置を用意する場合は、システ
ム構成が複雑になるうえ、拡張性がなくなる場合があ
り、かえってコストが増大するという問題点があった。
However, when a communication control device dedicated to two-way image communication is prepared, the system configuration becomes complicated, expandability may be lost, and the cost may be increased. was there.

【0006】一方、双方向画像通信専用の通信制御装置
を用いず、双方向画像通信をCPUのみで制御する場合
は、専用の通信制御装置を採用する場合と比較して拡張
性に優れている。しかしながら、双方向画像通信を行う
際に同時に動作している他のアプリケーションや全体の
動作環境が、双方向画像通信の動作に大きな影響を及ぼ
す。特に、最近のオペレーティングシステムはマルチタ
スクなので、更にCPUの制御が難しくなるという問題
点があった。
On the other hand, when the bidirectional image communication is controlled only by the CPU without using the communication control device dedicated to the bidirectional image communication, the expandability is excellent as compared with the case where the dedicated communication control device is adopted. . However, other applications running at the same time as performing bidirectional image communication and the overall operating environment greatly affect the operation of bidirectional image communication. In particular, there is a problem that the control of the CPU becomes more difficult since a recent operating system is multitasking.

【0007】例えば、ある通信端末装置が双方向画像通
信を行う場合は、画像データを受信し、受信された画像
データを表示するために必要な復号化処理αと、送信す
るために必要な形式に画像データを圧縮する符号化処理
βとが、一つの通信端末装置内で同時に実行されてい
る。これらの処理α,βは、使用する通信端末装置の限
られたCPU能力によって処理される。すなわち、双方
向画像通信専用の通信制御装置を別に用意した場合は、
該通信制御装置内のCPUを、処理α及びβのために能
力限界(100%)まで使用することができる。
For example, when a certain communication terminal device performs two-way image communication, the image data is received, a decoding process α required to display the received image data, and a format required to transmit the image data. And a coding process β for compressing image data are simultaneously executed in one communication terminal device. These processes α and β are processed by the limited CPU capability of the communication terminal device used. That is, when a communication control device dedicated to bidirectional image communication is separately prepared,
The CPU in the communication control unit can be used up to the capacity limit (100%) for the processes α and β.

【0008】しかし、双方向画像通信専用の通信制御装
置を用いずに、双方向画像通信を標準通信端末装置内の
CPUのみで制御する場合、双方向画像通信とは関係の
ないアプリケーションも動作するので、処理α,βに使
用することができるCPU能力は、当然に少なくなる。
However, when the two-way image communication is controlled only by the CPU in the standard communication terminal device without using the communication control device dedicated to the two-way image communication, an application unrelated to the two-way image communication also operates. Therefore, the CPU capacity that can be used for the processes α and β naturally decreases.

【0009】即ち、双方向画像通信中の通信端末装置に
おいて他のアプリケーションγが動作した場合は、復号
化処理α´、符号化処理β´及びアプリケーションγが
同時に動作しており、この3種類の処理がCPU能力を
分割して共有することになる。しかし、CPU能力の分
配はアプリケーションが動作しているシステムに依存す
るので、アプリケーションγが動作する前のCPU能力
の分配比率(α:β)と、アプリケーションγが動作し
ているときの分配比率(α´:β´)とが、常に同じに
なるとは限らない。
That is, when another application γ operates in the communication terminal device during the two-way image communication, the decoding process α ′, the encoding process β ′, and the application γ operate simultaneously, and these three types of Processing splits and shares CPU power. However, since the distribution of the CPU power depends on the system in which the application is operating, the distribution ratio of the CPU power before the application γ operates (α: β) and the distribution ratio when the application γ is operating (α: β) α ′: β ′) is not always the same.

【0010】例えば、α=50%、β=50%で使用さ
れていたCPU能力が、30%のCPU能力が必要なア
プリケーションγが動作した後は、アプリケーションγ
が動作する前と同じ比率(α´=35%、β´=35
%)で分配されないで、α´=20%、β´=50%、
γ=30%となるようにCPU能力が分配される場合も
考えられる。このような場合は、片方向の通信処理(す
なわち符号化処理β´)が、もう一方の通信処理(すな
わち復号化処理α´)より、2.5倍も頻繁に処理され
ることになる。従って、非常に処理の偏った双方向画像
通信になってしまうという問題点があった。
For example, after the CPU capacity used at α = 50% and β = 50% is changed to the application γ that requires 30% CPU capacity to operate, the application γ
Are the same as before operation (α ′ = 35%, β ′ = 35
%), Α ′ = 20%, β ′ = 50%,
It is also conceivable that the CPU capabilities are distributed such that γ = 30%. In such a case, one-way communication processing (that is, encoding processing β ′) is performed 2.5 times more frequently than the other communication processing (that is, decoding processing α ′). Therefore, there has been a problem that the bidirectional image communication is extremely biased.

【0011】また、接続される二つの通信端末装置間で
通信処理能力に差がある場合も、片方向に通信が偏って
しまう場合が考えられる。
[0011] Also, when there is a difference in the communication processing capability between two connected communication terminal devices, there may be a case where communication is biased in one direction.

【0012】更に、情報処理装置による通信経路とし
て、イーサネット等、双方向画像通信専用の通信経路は
ではない標準の通信経路を使用する場合もあるので、双
方向画像通信システムの構築方法によって通信能力が異
なるだけでなく、双方向画像通信以外に使われるデータ
も通信経路に混入し、通信可能なデータ量が変化すると
いう問題点があった。
Further, a standard communication path, such as Ethernet, which is not a dedicated communication path for bidirectional image communication may be used as a communication path for the information processing apparatus. However, there is a problem that data used for other than the two-way image communication is mixed in the communication path, and the amount of communicable data changes.

【0013】本発明は、上記問題点を解決するためにな
されたもので、通信端末装置の処理能力が通信中に変化
した場合等のように、片方向に画像通信が偏ってしまう
場合であっても、双方向画像通信をスムーズに行うこと
ができる双方向画像通信方法及び通信端末装置を堤供す
ることを目的とする。
The present invention has been made to solve the above-mentioned problem, and is intended for a case where image communication is biased in one direction, such as when the processing capability of a communication terminal device changes during communication. It is another object of the present invention to provide a bidirectional image communication method and a communication terminal device capable of performing bidirectional image communication smoothly.

【0014】[0014]

【課題を解決するための手段】上記目的を達成するた
め、請求項1の双方向画像通信方法は、他の通信端末装
置に接続されて該他の通信端末装置との間で双方向画像
通信を行う通信端末装置における双方向画像通信方法で
あって、片方向の通信処理能力及び前記片方向とは異な
る他方向の通信処理能力を認識し、前記認識された片方
向の通信処理能力と前記認識された他方向の通信処理能
力との間に差が生じた場合には、両通信処理能力が同じ
になるように前記片方向の通信処理能力及び前記他方向
の通信処理能力のいずれか一方を制御することを特徴と
する双方向画像通信方法。
In order to achieve the above object, a two-way image communication method according to the first aspect of the present invention is connected to another communication terminal device and performs two-way image communication with the other communication terminal device. A two-way image communication method in a communication terminal device that performs the one-way communication processing capability and the other-direction communication processing capability different from the one-way communication, the recognized one-way communication processing capability and the If there is a difference between the recognized communication processing capability in the other direction, one of the one-way communication processing capability and the other-direction communication processing capability such that the two communication processing capabilities are the same. A two-way image communication method.

【0015】請求項2の双方向画像通信方法は、上記請
求項1に記載の双方向画像通信方法において、前記片方
向の通信処理能力が前記他方向の通信処理能力より低い
場合は、前記片方向の通信処理が終了するまで前記他方
向の通信処理を停止するように制御することを特徴とす
る。
According to a second aspect of the present invention, in the two-way image communication method according to the first aspect, when the one-way communication processing capability is lower than the other-direction communication processing capability, The communication processing in the other direction is controlled to be stopped until the communication processing in the one direction ends.

【0016】請求項3の双方向画像通信方法は、上記請
求項1に記載の双方向画像通信方法において、前記片方
向の通信処理能力が前記他方向の通信処理能力より低い
場合は、前記片方向の通信処理に使用されるCPU能力
の配分の比率が大きくなるように制御することを特徴と
する。
According to a third aspect of the present invention, in the two-way image communication method according to the first aspect, when the one-way communication processing capacity is lower than the other-direction communication processing ability, The present invention is characterized in that control is performed such that the ratio of the distribution of the CPU capacity used for the communication processing in the direction increases.

【0017】請求項4の双方向画像通信方法は、上記請
求項1〜3のいずれか1項に記載の双方向画像通信方法
において、前記通信処理能力は、所定時間内に通信処理
される画像データ量を含むことを特徴とする。
According to a fourth aspect of the present invention, in the two-way image communication method according to any one of the first to third aspects, the communication processing capability is such that the image to be processed for communication within a predetermined time is provided. It is characterized by including a data amount.

【0018】請求項5の双方向画像通信方法は、上記請
求項4に記載の双方向画像通信方法において、前記画像
データ量は、前記通信端末装置内部の画像データ量であ
ることを特徴とする。
According to a fifth aspect of the present invention, in the two-way image communication method according to the fourth aspect, the image data amount is an image data amount inside the communication terminal device. .

【0019】請求項6の双方向画像通信方法は、上記請
求項4に記載の双方向画像通信方法において、前記画像
データ量は、前記通信端末装置と前記他の通信端末とを
接続する通信経路における画像データ量であることを特
徴とする。
According to a sixth aspect of the present invention, in the two-way image communication method according to the fourth aspect, the image data amount is determined by a communication path connecting the communication terminal device and the other communication terminal. Is the amount of image data.

【0020】請求項7の双方向画像通信方法は、上記請
求項1〜3のいずれか1項に記載の双方向画像通信方法
において、前記通信処理能力は、画像データの送受信に
用いられるデータバッファの容量を含むことを特徴とす
る。
According to a seventh aspect of the present invention, in the two-way image communication method according to any one of the first to third aspects, the communication processing capability is a data buffer used for transmitting and receiving image data. Characterized by including a capacity of

【0021】請求項8の双方向画像通信方法は、上記請
求項7に記載の双方向画像通信方法において、前記デー
タバッファは、送信用データバッファと、前記送信用デ
ータバッファとは異なる受信用データバッファとからな
ることを特徴とする。
According to an eighth aspect of the present invention, in the two-way image communication method according to the seventh aspect, the data buffer includes a transmission data buffer and reception data different from the transmission data buffer. And a buffer.

【0022】請求項9の双方向画像通信方法は、上記請
求項7に記載の双方向画像通信方法において、前記デー
タバッファは、送信用データバッファと受信用データバ
ッファとを共有することを特徴とする。
According to a ninth aspect of the present invention, in the two-way image communication method according to the seventh aspect, the data buffer shares a transmission data buffer and a reception data buffer. I do.

【0023】請求項10の双方向画像通信方法は、上記
請求項1〜3のいずれか1項に記載の双方向画像通信方
法において、前記通信処理能力は、一画面分の画像デー
タ量を含むことを特徴とする。
According to a tenth aspect, in the two-way image communication method according to any one of the first to third aspects, the communication processing capability includes an image data amount for one screen. It is characterized by the following.

【0024】請求項11の双方向画像通信方法は、上記
請求項10に記載の双方向画像通信方法において、前記
一画面分の画像データ量は、圧縮画像データの量である
ことを特徴とする。
According to an eleventh aspect of the present invention, in the two-way image communication method according to the tenth aspect, the image data amount for one screen is the amount of compressed image data. .

【0025】請求項12の双方向画像通信方法は、上記
請求項10に記載の双方向画像通信方法において、前記
一画面分の画像データ量は、非圧縮画像データの量であ
ることを特徴とする。
According to a twelfth aspect of the present invention, in the two-way image communication method according to the tenth aspect, the amount of image data for one screen is an amount of uncompressed image data. I do.

【0026】請求項13の双方向画像通信方法は、上記
請求項10〜12のいずれか1項に記載の双方向画像通
信方法において、前記一画面分の画像データ量は、画面
のサイズに関するデータを含むことを特徴とする。
According to a thirteenth aspect of the present invention, in the two-way image communication method according to any one of the tenth to twelfth aspects, the image data amount for one screen is a data related to a screen size. It is characterized by including.

【0027】請求項14の双方向画像通信方法は、上記
請求項10〜13のいずれか1項に記載の双方向画像通
信方法において、前記一画面分の画像データ量は、画面
の色数に関するデータを含むことを特徴とする。
According to a fourteenth aspect, in the two-way image communication method according to any one of the tenth to thirteenth aspects, the image data amount for one screen is related to the number of colors of the screen. It is characterized by including data.

【0028】請求項15の双方向画像通信方法は、上記
請求項1〜3のいずれか1項に記載の双方向画像通信方
法において、前記通信処理能力は一画面分の画像データ
の処理に必要なCPU能力であることを特徴とする。
According to a fifteenth aspect of the present invention, in the two-way image communication method according to any one of the first to third aspects, the communication processing capability is required for processing one screen of image data. It has a characteristic CPU capability.

【0029】請求項16の双方向画像通信方法は、上記
請求項1〜3のいずれか1項に記載の双方向画像通信方
法において、前記通信処理能力は一画面分の画像データ
の処理に使用可能なCPU能力であることを特徴とす
る。
According to a sixteenth aspect, in the two-way image communication method according to any one of the first to third aspects, the communication processing capability is used for processing image data for one screen. It is characterized by a possible CPU capability.

【0030】請求項17の双方向画像通信方法は、上記
請求項15又は16に記載の双方向画像通信方法におい
て、前記一画面分の画像データは圧縮画像データである
ことを特徴とする。
A seventeenth aspect of the present invention is the two-way image communication method according to the fifteenth or sixteenth aspect, wherein the image data for one screen is compressed image data.

【0031】請求項18の双方向画像通信方法は、上記
請求項15又は16に記載の双方向画像通信方法におい
て、前記一画面分の画像データは非圧縮画像データであ
ることを特徴とする。
An eighteenth aspect of the present invention is the two-way image communication method according to the fifteenth or sixteenth aspect, wherein the image data for one screen is uncompressed image data.

【0032】請求項19の双方向画像通信方法は、上記
請求項15〜18のいずれか1項に記載の双方向画像通
信方法において、前記画像データの処理は、画像データ
が入力されてから当該画像データが送信されるまでの一
連の処理であることを特徴とする。
According to a nineteenth aspect, in the two-way image communication method according to any one of the fifteenth to eighteenth aspects, the processing of the image data is performed after the image data is input. It is a series of processing until image data is transmitted.

【0033】請求項20の双方向画像通信方法は、上記
請求項15〜18のいずれか1項に記載の双方向画像通
信方法において、前記画像データの処理は、画像データ
が受信されてから当該画像データが表示されるまでの一
連の処理であることを特徴とする。
According to a twentieth aspect of the present invention, in the two-way image communication method according to any one of the fifteenth to eighteenth aspects, the image data is processed after the image data is received. It is a series of processes until image data is displayed.

【0034】請求項21の双方向画像通信方法は、上記
請求項1〜3のいずれか1項に記載の双方向画像通信方
法において、前記通信処理能力は、所定時間内に処理さ
れる動画画像データの画面数であることを特徴とする。
According to a twenty-first aspect of the present invention, in the two-way image communication method according to any one of the first to third aspects, the communication processing capacity is a moving image to be processed within a predetermined time. It is characterized by the number of data screens.

【0035】請求項22の双方向画像通信方法は、上記
請求項1〜3のいずれか1項に記載の双方向画像通信方
法において、前記片方向の通信処理と、前記他方向の通
信処理は非同期に行われることを特徴とする。
According to a twenty-second aspect of the present invention, in the two-way image communication method according to any one of the first to third aspects, the one-way communication process and the other-direction communication process are performed in the two-way image communication method. It is characterized by being performed asynchronously.

【0036】請求項23の通信端末装置は、他の通信端
末装置に接続されて該他の通信端末装置と双方向画像通
信を行うために、片方向の通信処理を行う第1の通信処
理手段と前記片方向とは異なる他方向の通信処理を行う
第2の通信処理手段とを備える通信端末装置において、
前記第1の通信処理手段の通信処理能力を認識する第1
の認識手段と、前記第2の通信処理手段の通信処理能力
を認識する第2の認識手段と、前記認識された前記第1
の通信処理手段の通信処理能力と前記認識された前記第
2の通信処理手段の通信処理能力との間に差が生じた場
合には、両通信処理能力が同じになるように前記第1の
通信処理手段及び前記第2の通信処理手段のいずれか一
方の通信処理手段の動作を制御する制御手段とを備えた
ことを特徴とする。
A first communication processing means for performing one-way communication processing for performing two-way image communication with another communication terminal device connected to the other communication terminal device. And a second communication processing means for performing communication processing in the other direction different from the one direction,
A first unit for recognizing a communication processing capability of the first communication processing unit;
Recognizing means, second recognizing means for recognizing the communication processing capability of the second communication processing means,
If there is a difference between the communication processing capability of the communication processing unit and the recognized communication processing capability of the second communication processing unit, the first and second communication processing units are set to the same communication processing capability. And a control unit for controlling an operation of any one of the communication processing unit and the second communication processing unit.

【0037】請求項24の通信端末装置は、他の通信端
末装置に接続されて該他の通信端末装置と双方向画像通
信を行うために、片方向の通信処理を行う第1の通信処
理手段と前記片方向とは異なる他方向の通信処理を行う
第2の通信処理手段とを備える通信端末装置において、
前記第1の通信処理手段による通信処理が終了したこと
を示す通知を前記他の通信端末装置に送る通知手段と、
前記第2の通信処理手段による通信処理が終了してから
前記他の通信端末装置から送られてくる通知を受信する
まで前記第2の通信処理手段による通信処理を停止させ
るように前記第2の通信処理手段を制御する制御手段と
を備えたことを特徴とする。
A first communication processing means for performing one-way communication processing for performing two-way image communication with another communication terminal device connected to the other communication terminal device. And a second communication processing means for performing communication processing in the other direction different from the one direction,
Notification means for sending a notification indicating that the communication processing by the first communication processing means has been completed to the other communication terminal device;
The second communication processing means stops the communication processing by the second communication processing means until the notification sent from the other communication terminal apparatus is received after the communication processing by the second communication processing means is completed. Control means for controlling the communication processing means.

【0038】[0038]

【発明の実施の形態】以下、本発明の実施の形態を、図
面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0039】(第1の実施の形態)以下、本発明の第1
の実施の形態を、図1〜図5を参照して説明する。
(First Embodiment) Hereinafter, a first embodiment of the present invention will be described.
Will be described with reference to FIGS. 1 to 5.

【0040】本実施の形態において、通信される画像デ
ータは動画画像データであるとする。すなわち、画像デ
ータの送信処理及び受信処理は、一画面毎に行われる。
In this embodiment, it is assumed that the image data to be communicated is moving image data. That is, the transmission process and the reception process of the image data are performed for each screen.

【0041】また、本実施の形態においては、双方向画
像通信を行っている二つの通信端末装置は同様に動作す
るように構成されているものとし、以下、一方の通信端
末装置における双方向画像通信方法について説明する。
Also, in the present embodiment, it is assumed that two communication terminal devices performing bidirectional image communication are configured to operate in the same manner. The communication method will be described.

【0042】また、以下に説明する通信端末装置におい
ては、複数の処理を同時に行うマルチタスクを用いるこ
とを前提とし、すなわち、双方向画像通信を行う際の復
号化処理及び符号化処理は、同時に行われているものと
する。
In the communication terminal device described below, it is assumed that a multitask that performs a plurality of processes at the same time is used. That is, the decoding process and the encoding process when performing bidirectional image communication are performed simultaneously. It has been done.

【0043】図1は、本実施の形態にかかる双方向画像
通信方法を実現可能な通信端末装置の構成を示すブロッ
ク図である。同図において、通信端末装置10は、符号
処理部10a、復号処理部10b、及び、本通信端末装
置10とネットワーク回線18との通信制御を行うネッ
トワーク制御部14を有する。ネットワーク制御部14
は、画像データを通信相手先の通信端末装置に送信し、
また、通信相手先の通信端末装置から送られてくる画像
データを受信する。
FIG. 1 is a block diagram showing a configuration of a communication terminal device capable of realizing the two-way image communication method according to the present embodiment. In FIG. 1, the communication terminal device 10 includes a code processing unit 10a, a decoding processing unit 10b, and a network control unit 14 that controls communication between the communication terminal device 10 and a network line 18. Network control unit 14
Transmits image data to the communication terminal device of the communication partner,
Also, it receives image data sent from the communication terminal device of the communication partner.

【0044】符号処理部10aは、カメラ又はスキャナ
等によりキャプチャされた画像データを入力する入力部
11と、入力部11から入力された画像データの圧縮符
号化を行う符号部12と、圧縮符号化された画像データ
(以下、画像圧縮データという)を通信相手先の通信端
末装置が解釈できるデータフォーマットに変換する送信
部13とから構成される。また、符号処理部10aは、
復号処理部10bを監視して、該復号処理部10bの動
作状態に応じて符号処理部10aの動作タイミングを制
御する制御手段及び認識手段としてのCPU(不図示)
を有している。
The code processing section 10a includes an input section 11 for inputting image data captured by a camera or a scanner, an encoding section 12 for compressing and encoding image data input from the input section 11, and a compression encoding section. And a transmission unit 13 for converting the compressed image data (hereinafter referred to as image compressed data) into a data format that can be interpreted by the communication terminal device of the communication partner. Also, the code processing unit 10a
CPU (not shown) serving as control means and recognition means for monitoring decoding processing section 10b and controlling the operation timing of code processing section 10a in accordance with the operation state of decoding processing section 10b
have.

【0045】復号処理部10bは、受信した画像圧縮デ
ータを、伸張復号化できるデータフォーマットに変換す
る受信部15と、受信部15により受信された画像圧縮
データの伸張復号化を行う復号部16と、伸張復号化さ
れた画像データを表示する表示部17とから構成され
る。また、復号処理部10aは、復号処理部10bの動
作の制御を行うとともに、符号処理部10aを監視し
て、該符号処理部10aの動作状態に応じて復号処理部
10bの動作タイミングを制御する制御手段及び認識手
段としてのCPU(不図示)を有している。
The decoding processing unit 10b converts the received compressed image data into a data format that can be decompressed and decoded, and a decoding unit 16 that decompresses and decodes the compressed image data received by the receiving unit 15. And a display unit 17 for displaying the decompressed image data. Also, the decoding processing unit 10a controls the operation of the decoding processing unit 10b, monitors the encoding processing unit 10a, and controls the operation timing of the decoding processing unit 10b according to the operation state of the encoding processing unit 10a. It has a CPU (not shown) as control means and recognition means.

【0046】上記構成において、復号処理部10bは第
1の通信処理手段及び第2の認識手段を構成し、符号処
理部10aは第2の通信処理手段及び第1の認識手段を
構成する。符号処理部10a内のCPU及び復号処理部
10b内のCPUは、制御手段を構成する。
In the above configuration, the decoding processing unit 10b constitutes first communication processing means and second recognition means, and the code processing unit 10a constitutes second communication processing means and first recognition means. The CPU in the code processing unit 10a and the CPU in the decoding processing unit 10b constitute control means.

【0047】図2は、上記構成からなる通信端末装置の
符号処理部10aにおいて実行される画像データ送信手
順を示すフローチャートである。
FIG. 2 is a flowchart showing an image data transmission procedure executed in the code processing section 10a of the communication terminal device having the above configuration.

【0048】まず、入力部11において、一画面分の画
像データが入力される(ステップS21)。必要であれ
ば、入力部11に、画像データのデジタル変換を行う機
能を持たせてもよい。
First, image data for one screen is input to the input unit 11 (step S21). If necessary, the input unit 11 may have a function of performing digital conversion of image data.

【0049】次に、符号部12において、入力部11か
ら入力された一画面分の画像データを更に少ないデータ
量で表現するために、画像データの圧縮符号化が行われ
る(ステップS22)。画像データの圧縮符号化には、
国際標準であるH261画像圧縮法やMPEG圧縮法
等、様々な手法を用いることができる。画像圧縮データ
は、送信部13によりヘッダ等を付加されて、ネットワ
ーク回線18に送信できるデータフォーマットに変換さ
れた後、ネットワーク制御部14を介してネットワーク
回線18に送信される(ステップS23)。
Next, in the encoding unit 12, compression encoding of the image data is performed in order to express the image data for one screen input from the input unit 11 with a smaller data amount (step S22). For compression encoding of image data,
Various methods such as the H261 image compression method and the MPEG compression method, which are international standards, can be used. The compressed image data is added with a header or the like by the transmission unit 13 and converted into a data format that can be transmitted to the network line 18 and then transmitted to the network line 18 via the network control unit 14 (step S23).

【0050】上記ステップS23では、符号部12によ
り圧縮符号化された一画面分の画像圧縮データは、実際
の通信に最も適当な形に分割され、ヘッダを付加され
る。例えば、図3に示すように、44バイトある画像圧
縮データは、8バイトの画像圧縮データを5パケット
と、残りの4バイトの画像圧縮データを1パケットに分
割される(図3(a))。そして、各パケットに1バイ
トのヘッダが付加される(図3(b))。従って、実際
に送信される画像圧縮データの全データ量は50バイト
となる(図3(c))。ヘッダには、通常、データの内
容(送信するデータが画像データであるか、音声データ
であるか又はその他のデータであるかを示す)、ヘッダ
の直後に続くデータのバイト数、データを表示する画面
のサイズ及び色数等が格納されている。
In step S23, the image-compressed data for one screen, which has been compression-encoded by the encoding unit 12, is divided into a form most suitable for actual communication, and a header is added. For example, as shown in FIG. 3, the compressed image data of 44 bytes is divided into 5 packets of 8 bytes of compressed image data and 1 packet of the remaining 4 bytes of compressed image data (FIG. 3A). . Then, a 1-byte header is added to each packet (FIG. 3B). Accordingly, the total data amount of the actually transmitted compressed image data is 50 bytes (FIG. 3C). The header usually indicates the content of the data (indicating whether the data to be transmitted is image data, audio data, or other data), the number of bytes of data immediately following the header, and data. The screen size and the number of colors are stored.

【0051】一画面分の画像データの圧縮符号化処理及
び画像圧縮データの送信が終了すると、一画面分の画像
圧縮データの処理を終えたことを示す符号化処理フラグ
がONにされる(ステップS24)。その後、復号処理
部10bにおいて通信相手先の通信端末装置から送信さ
れてきた画像データを受信する処理が終了したか否かを
確認するために、後述する復号化処理フラグがONであ
るか否かが判別される(ステップS25)。復号化処理
フラグがONではない場合は、所定時間に亘って送信処
理が中断され(ステップS26)、復号化処理フラグが
ONであると判別されるまで、ステップS25及びステ
ップS26の処理が繰り返される。
When the compression encoding of the image data for one screen and the transmission of the image compression data have been completed, the encoding flag indicating that the processing of the image compression data for one screen has been completed is turned on (step). S24). Thereafter, in order to confirm whether or not the process of receiving the image data transmitted from the communication terminal device of the communication partner in the decoding processing unit 10b has been completed, whether or not a decoding process flag described later is ON is determined. Is determined (step S25). If the decryption processing flag is not ON, the transmission processing is interrupted for a predetermined time (step S26), and the processing of steps S25 and S26 is repeated until it is determined that the decryption processing flag is ON. .

【0052】ステップS25において復号化処理フラグ
がONになったと判別されると、送信処理が再開され、
復号化処理フラグがOFFにされ(ステップS27)、
ステップS21の処理手順に戻る。
When it is determined in step S25 that the decryption processing flag has been turned ON, the transmission processing is restarted,
The decryption processing flag is turned off (step S27),
It returns to the processing procedure of step S21.

【0053】図4は、図1に示した復号処理部10bに
おいて実行される画像データ受信手順を示すフローチャ
ートである。
FIG. 4 is a flowchart showing a procedure for receiving image data executed by the decoding processing unit 10b shown in FIG.

【0054】ネットワーク回線18を介してネットワー
ク制御部14において受信されたデータは、受信部15
によってヘッダなどが除去され、実際に伸張復号化され
るべき画像圧縮データのみが抽出される(ステップS4
1)。
The data received by the network controller 14 via the network line 18 is transmitted to the receiver 15
The header is removed, and only the compressed image data to be actually decompressed and decoded is extracted (step S4).
1).

【0055】図3に示したように構成される画像圧縮デ
ータが受信された場合、受信された画像圧縮データは5
0バイトであり、1〜8バイトの画像圧縮データ毎に、
その画像圧縮データの内容を示す1バイトのヘッダが付
加されている。従って、50バイトある画像圧縮データ
からは、まずヘッダとして1バイトが摘出され、そのヘ
ッダが示す内容に応じて1〜8バイトの画像圧縮データ
が摘出される。この処理が繰り返されることにより、図
3の例では、8バイトの画像圧縮データが5パケット
と、4バイトの画像圧縮データが1パケット、合計44
バイトの画像圧縮データが、一画面分の画像圧縮データ
として抽出される。
When the compressed image data configured as shown in FIG. 3 is received, the received compressed image data is 5
0 bytes, and for each 1 to 8 bytes of compressed image data,
A 1-byte header indicating the content of the compressed image data is added. Therefore, from the 50 bytes of compressed image data, 1 byte is extracted first as a header, and 1 to 8 bytes of compressed image data are extracted according to the content indicated by the header. By repeating this process, in the example of FIG. 3, 5 packets of 8-byte image compressed data and 1 packet of 4-byte image compressed data, for a total of 44
Bytes of compressed image data are extracted as compressed image data for one screen.

【0056】次に、復号部16により、一画面分の画像
圧縮データが伸張復号化される(ステップS42)。画
像圧縮データの伸張復号化には、当該画像圧縮データが
作成されたときの圧縮方法に適した手法が採用される。
伸張復号化された画像データは、表示部17に表示され
る(ステップS43)。
Next, the image compression data for one screen is decompressed and decoded by the decoding unit 16 (step S42). For decompression decoding of the compressed image data, a method suitable for a compression method when the compressed image data is created is adopted.
The decompressed image data is displayed on the display unit 17 (step S43).

【0057】一画面分の画像圧縮データの伸張及び復号
化処理が終了すると、一画面分の画像データの処理を終
えたことを明示する復号化処理フラグがONにされる
(ステップS44)。
When the decompression and decoding of the compressed image data for one screen is completed, a decoding flag indicating that the processing of the image data for one screen is completed is turned on (step S44).

【0058】その後、符号処理部10aにおいて一画面
分の画像データを送信する処理が終了したか否かを確認
するために、符号化処理フラグがONであるか否かが判
別される(ステップS45)。符号化処理フラグがON
ではない場合は、所定時間に亘って受信処理が中断され
(ステップS46)、符号化処理フラグがONであると
判別されるまで、ステップS45及びステップS46の
処理が繰り返される。
Thereafter, in order to confirm whether or not the process of transmitting the image data for one screen has been completed in the encoding unit 10a, it is determined whether or not the encoding process flag is ON (step S45). ). Encoding flag is ON
Otherwise, the receiving process is interrupted for a predetermined time (step S46), and the processes of steps S45 and S46 are repeated until the encoding process flag is determined to be ON.

【0059】ステップS45において符号化処理フラグ
がONになったと判別されると、受信処理が再開され、
符号処理部10aの符号化処理フラグがOFFにされ
(ステップS47)、その後、ステップS41の処理手
順に戻る。
If it is determined in step S45 that the encoding processing flag has been turned on, the reception processing is restarted,
The encoding processing flag of the encoding processing unit 10a is turned off (step S47), and thereafter, the process returns to the processing procedure of step S41.

【0060】次に、上述した符号処理部10aにおいて
行われる符号化処理と復号処理部10bにおいて行われ
る復号化処理との同期をとる手法について、図5に示し
たタイミングチャートを参照して説明する。
Next, a method for synchronizing the encoding processing performed in the encoding processing section 10a with the decoding processing performed in the decoding processing section 10b will be described with reference to the timing chart shown in FIG. .

【0061】双方向画像通信の開始時には、符号化処理
フラグ及び復号化処理フラグは、いずれもOFFになっ
ている必要がある。この状態で、通信端末装置10が一
画面目の画像データの送受信を開始して、一画面目の画
像データの符号化処理が終了すると、符号処理部10a
は符号化処理フラグをONにして、復号処理部10bの
復号化処理フラグがONになっているか否かを確認す
る。また、一画面目の画像データの復号化処理が終了す
ると、復号処理部10bは復号化処理フラグをONにし
て、符号処理部10aの符号化処理フラグがONになっ
ているか否かを確認する。
At the start of bidirectional image communication, both the encoding process flag and the decoding process flag must be OFF. In this state, when the communication terminal apparatus 10 starts transmitting and receiving the image data of the first screen and ends the encoding processing of the image data of the first screen, the code processing unit 10a
Turns on the encoding flag and checks whether the decoding flag of the decoding unit 10b is ON. When the decoding processing of the image data of the first screen is completed, the decoding processing unit 10b turns on the decoding processing flag and checks whether or not the coding processing flag of the coding processing unit 10a is on. .

【0062】図5に示した例によれば、送信する一画面
目の符号化処理及び受信した一画面目の復号化処理はほ
ぼ同時に終了している。従って、符号処理部10a及び
復号処理部10bは互いにフラグがONになっているこ
とを確認し、符号処理部10aは復号化処理フラグを、
復号処理部10bは符号化処理フラグを、それぞれOF
Fにした後、二画面目の処理を開始する。
According to the example shown in FIG. 5, the encoding process of the first screen to be transmitted and the decoding process of the received first screen are almost completed at the same time. Therefore, the code processing unit 10a and the decoding processing unit 10b confirm that the flag is ON, and the code processing unit 10a sets the decoding processing flag to
The decoding processing unit 10b sets the encoding processing flag to OF
After setting to F, the processing of the second screen is started.

【0063】二画面目の処理は、復号処理部10bによ
る復号化処理の方が、符号処理部10aによる符号化処
理より早く終了している。この場合は、二画面目の処理
を終了した復号処理部10bは、復号化処理フラグをO
Nにして、符号化処理フラグがONであるか否かを確認
するが、符号処理部10aではまだ二画面目の符号化処
理が行われているので、符号化処理フラグはONになっ
ていない。そこで復号処理部10bは、符号処理部10
aの処理が終了するまで、復号化処理を一時的に中断す
る。実際には、タイマなどを用いて中断する時間を予め
設定しておき、タイマ時間が経過するともう一度符号化
処理フラグを確認するように構成する。
In the processing of the second screen, the decoding processing by the decoding processing unit 10b ends earlier than the encoding processing by the encoding processing unit 10a. In this case, the decryption processing unit 10b that has completed the processing of the second screen sets the decryption processing flag to O.
At N, it is confirmed whether or not the encoding processing flag is ON. However, since the encoding processing of the second screen is still being performed in the encoding processing unit 10a, the encoding processing flag is not ON. . Therefore, the decoding processing unit 10b
The decoding process is temporarily suspended until the process of a ends. In practice, a time period for interruption is set in advance using a timer or the like, and the encoding process flag is checked again after the timer time elapses.

【0064】符号処理部10aによる二画面目の処理が
終了し、符号化処理フラグがONにされると、符号処理
部10a及び復号処理部10bは、互いに処理が終了し
たことを確認することができる。そこで、符号処理部1
0aは復号化処理フラグを、復号処理部10bは符号化
処理フラグを、それぞれOFFにした後、三画面目の処
理を開始する。
When the processing of the second screen by the encoding processing unit 10a is completed and the encoding processing flag is turned ON, the encoding processing unit 10a and the decoding processing unit 10b confirm that the processing has been completed. it can. Therefore, the code processing unit 1
0a turns off the decoding processing flag, and the decoding processing unit 10b turns off the encoding processing flag, and then starts the processing of the third screen.

【0065】三画面目の処理は、復号処理部10bの方
が処理を終了するのに時間がかかっているので、二画面
目とは逆の状態になる。すなわち、復号処理部10bの
処理が終了するまで符号処理部10aは符号化処理を一
時的に中断し、復号処理部10bによる三画面目の処理
が終了し、復号化処理フラグがONにされると、符号処
理部10a及び復号処理部10bは、互いに処理が終了
したことを確認することができる。そこで、符号処理部
10aは復号化処理フラグを、復号処理部10bは符号
化処理フラグを、それぞれOFFにした後、四画面目の
処理を開始する。
In the processing of the third screen, the decoding processing unit 10b takes a longer time to complete the processing, so that the state is opposite to that of the second screen. That is, the encoding processing unit 10a temporarily suspends the encoding processing until the processing of the decoding processing unit 10b ends, the processing of the third screen by the decoding processing unit 10b ends, and the decoding processing flag is turned on. And the code processing unit 10a and the decoding processing unit 10b can confirm that the processing has been completed. Therefore, the encoding processing unit 10a sets the decoding processing flag to OFF, and the decoding processing unit 10b sets the encoding processing flag to OFF, and then starts the processing of the fourth screen.

【0066】以上説明したように、本実施の形態によれ
ば、双方向画像通信を行う場合に、各方向の通信処理状
況を随時認識すると共に、各方向の通信処理に偏りがあ
る場合には処理タイミングを調整し、各方向とも同じ量
のデータが処理されるように制御するので、双方向画像
通信中に通信環境の変化等、CPUの処理能力の分配比
率に変化が生じた場合であっても、片方向に偏った処理
が行われないように制御して、スムーズな双方向画像通
信を行うことができるようになる。
As described above, according to the present embodiment, when bidirectional image communication is performed, the communication processing status in each direction is recognized as needed, and when the communication processing in each direction is biased, Since the processing timing is adjusted so that the same amount of data is processed in each direction, there is a change in the distribution ratio of the processing power of the CPU such as a change in the communication environment during the two-way image communication. However, it is possible to perform smooth bidirectional image communication by controlling the processing so as not to be biased in one direction.

【0067】なお、本実施の形態によれば、双方向画像
通信が片方向に偏ってしまっていることを、一画面分の
画像データ処理の終了タイミングを示すフラグにより判
別するように構成したが、これに限定されるものではな
く、例えば画面処理の開始タイミングを示すフラグを用
いてもよい。すなわち、処理されるデータ量を示すパラ
メータを適当に選択し、圧縮符号化処理される画面数及
び伸張復号化処理される画面数を同じ数に保持すること
ができるように構成すれば、本実施の形態と同様の効果
を得ることができる。
According to the present embodiment, it is determined that the bidirectional image communication is biased in one direction by the flag indicating the end timing of the image data processing for one screen. However, the present invention is not limited to this. For example, a flag indicating the start timing of screen processing may be used. That is, if a parameter indicating the amount of data to be processed is appropriately selected and the number of screens subjected to compression encoding processing and the number of screens subjected to decompression decoding processing can be maintained at the same number, the present embodiment The same effect as in the embodiment can be obtained.

【0068】また、双方向画像通信される画像データが
動画ではない場合は、双方向画像通信が片方向に偏って
いることを、所定のデータ量を処理する時間すなわち通
信処理速度に着目して判別するように構成したり、画像
処理の際にバッファ(不図示)内に一時的に格納される
未処理の画像データ量又は処理済みの画像データ量によ
って判別するように構成することも可能である。
When the image data to be bidirectionally communicated is not a moving image, the fact that the bidirectional image communication is biased in one direction is determined by focusing on the time required to process a predetermined amount of data, that is, the communication processing speed. It is also possible to configure to make a determination or to make a determination based on the amount of unprocessed image data or the amount of processed image data temporarily stored in a buffer (not shown) at the time of image processing. is there.

【0069】(第2の実施の形態)次に、第2の実施の
形態について説明する。なお、本実施の形態において
も、第1の実施の形態と同様に、通信される画像データ
は動画画像データであるとする。すなわち、画像データ
の送信処理及び受信処理は、一画面毎に行われる。
(Second Embodiment) Next, a second embodiment will be described. In this embodiment, as in the first embodiment, the image data to be communicated is moving image data. That is, the transmission process and the reception process of the image data are performed for each screen.

【0070】図6は、本実施の形態にかかる双方向画像
通信方法を実現可能な二つの通信端末装置を接続して構
成される双方向画像通信システムの構成を示すブロック
図である。同図において、通信端末装置100及び通信
端末装置200は同様に構成されており、ネットワーク
回線18を介して互いに接続されている。
FIG. 6 is a block diagram showing a configuration of a two-way image communication system configured by connecting two communication terminal devices capable of realizing the two-way image communication method according to the present embodiment. In the figure, a communication terminal device 100 and a communication terminal device 200 have the same configuration and are connected to each other via a network line 18.

【0071】通信端末装置100及び200は、受信部
75,79及び復号部76,80がそれぞれ送信部7
3,82と接続されている点で、上述した第1の実施の
形態の図1に示した通信端末装置10と異なる。それ以
外の構成は上記通信端末装置10と同様である。
In communication terminal apparatuses 100 and 200, receiving sections 75 and 79 and decoding sections 76 and 80 respectively include transmitting section 7
The third embodiment differs from the communication terminal device 10 of the first embodiment shown in FIG. Other configurations are the same as those of the communication terminal device 10 described above.

【0072】図7及び図8は、通信端末装置100,2
00の通信処理手順を示すフローチャートである。ここ
では、双方向画像通信における片方向の通信のみについ
て詳説するが、同様の作業はもう片方向の通信において
も行われることはいうまでもない。
FIGS. 7 and 8 show the communication terminal devices 100 and 2
It is a flowchart which shows the communication processing procedure of 00. Here, only the one-way communication in the two-way image communication will be described in detail, but it goes without saying that the same operation is performed in the other one-way communication.

【0073】図7は、通信端末装置100における画像
データ受信手順を示すフローチャートである。
FIG. 7 is a flowchart showing a procedure for receiving image data in communication terminal apparatus 100.

【0074】まず、受信部75において一画面分の画像
圧縮データが受信され(ステップS61)、復号部76
により伸張復号化される(ステップS62)。次に、一
画面目の復号化処理が終了したこと示す通知Ackが、
復号部76から送信部73を介して通信端末装置200
へ送信される(ステップS63)。そして、伸張復号化
された画像データが表示部77に表示されると(ステッ
プS64)、ステップS61に戻り、次の画面の画像デ
ータの受信が開始される。
First, the image compression data for one screen is received by the receiving unit 75 (step S61), and the decoding unit 76
(Step S62). Next, a notification Ack indicating that the decoding processing of the first screen has been completed is:
Communication terminal device 200 from decoding unit 76 via transmitting unit 73
(Step S63). Then, when the decompressed and decoded image data is displayed on the display unit 77 (step S64), the process returns to step S61, and the reception of the image data of the next screen is started.

【0075】図8は、通信端末装置200における画像
データ送信手順を示すフローチャートである。
FIG. 8 is a flowchart showing a procedure for transmitting image data in communication terminal apparatus 200.

【0076】通信端末装置200においては、まず最初
に、入力部84により一画面分の画像データが入力され
(ステップS65)、符号部83により画像データの圧
縮符号化処理が行われる(ステップS66)。
In the communication terminal device 200, first, image data for one screen is input by the input unit 84 (step S65), and the encoding unit 83 performs compression encoding processing of the image data (step S66). .

【0077】画像データの圧縮符号化処理が終了する
と、その画像圧縮データを直ちに送信してもよいか否か
を判断するために、通信端末装置100において、直前
に通信端末装置200から送信された画像圧縮データの
受信処理が終了したか否かが判別される(ステップS6
7)。この判別は、図7のステップS63において、通
信端末装置100から通信端末装置200に対して通知
Ackが送信されているか否かを見ることによって行わ
れる。
When the compression encoding process of the image data is completed, the communication terminal device 100 transmits the image compression data immediately before from the communication terminal device 200 in order to determine whether or not the image compression data may be transmitted immediately. It is determined whether the process of receiving the compressed image data has been completed (step S6).
7). This determination is made by checking whether or not notification Ack has been transmitted from communication terminal apparatus 100 to communication terminal apparatus 200 in step S63 of FIG.

【0078】通知Ackが送信されていないと判別され
た場合即ちステップS67の答がNO(否定)である場
合は、所定時間に亘って送信処理が中断される。この所
定時間は、不図示のタイマ等を用いて計測される。そし
て、通知Ackが送信され、ステップS67の答がYE
Sになると、画像圧縮データの送信が行われる(ステッ
プS68)。画像圧縮データの送信が終了すると、ステ
ップS65に戻り、次の一画面の画像データが入力され
る。
If it is determined that the notification Ack has not been transmitted, that is, if the answer to step S67 is NO (No), the transmission process is interrupted for a predetermined time. This predetermined time is measured using a timer (not shown) or the like. Then, the notification Ack is transmitted, and the answer in step S67 is YE
When S is reached, the transmission of the compressed image data is performed (step S68). When the transmission of the compressed image data is completed, the process returns to step S65, and the image data of the next one screen is input.

【0079】このようにして、双方向画像通信を行って
いる通信端末装置100においては符号処理部100a
により復号処理部200bの受信処理が監視され、復号
処理部200bの受信処理速度が符号処理部100aの
送信処理速度より遅い場合は、符号処理部100aの動
作を一時的に停止させ、送信処理速度を受信処理速度に
合わせるように制御される。また、通信端末装置200
においては符号処理部200aにより復号処理部100
bの受信処理が監視され、復号処理部100bの受信処
理速度が符号処理部200aの送信処理速度より遅い場
合は、符号処理部200aの動作を一時的に停止させ、
送信処理速度を受信処理速度に合わせるように制御され
る。即ち、各方向の通信速度は、必ず処理速度の遅い通
信端末装置における処理速度に合わせられることにな
る。従って、双方向画像通信を行っている二つの通信端
末装置間で処理能力に差が生じた場合であっても、常に
最適な通信処理を行うことができる。
Thus, in the communication terminal device 100 performing the two-way image communication, the code processing unit 100a
Monitors the reception processing of the decoding processing unit 200b. If the reception processing speed of the decoding processing unit 200b is lower than the transmission processing speed of the code processing unit 100a, the operation of the code processing unit 100a is temporarily stopped, and the transmission processing speed Is controlled to match the reception processing speed. In addition, the communication terminal device 200
, The decoding processing unit 100
b is monitored, and when the reception processing speed of the decoding processing unit 100b is lower than the transmission processing speed of the code processing unit 200a, the operation of the code processing unit 200a is temporarily stopped.
The transmission processing speed is controlled to match the reception processing speed. That is, the communication speed in each direction is always adjusted to the processing speed of a communication terminal device having a low processing speed. Therefore, even when there is a difference in the processing capability between the two communication terminal devices performing the two-way image communication, it is possible to always perform the optimum communication processing.

【0080】[0080]

【発明の効果】以上説明したように、請求項1の双方向
画像通信方法によれば、片方向の通信処理能力と前記片
方向とは異なる他方向の通信処理能力との間に差が生じ
た場合には、両通信処理能力が同じになるように前記片
方向の通信処理能力及び前記他方向の通信処理能力のい
ずれか一方を制御するようにしたので、双方向画像通信
中に片方向に偏った処理が行われないように制御するこ
とが可能となり、従って、スムーズな双方向画像通信を
行うことができるという効果が得られる。
As described above, according to the two-way image communication method of the first aspect, a difference occurs between the one-way communication processing capability and the other-direction communication processing capability different from the one-way communication processing capability. In such a case, one of the one-way communication processing capability and the other-direction communication processing capability is controlled so that the two communication processing capabilities become the same. Therefore, it is possible to perform control so that the processing is not biased toward, and therefore, it is possible to obtain an effect that smooth two-way image communication can be performed.

【0081】請求項2の双方向画像通信方法によれば、
前記片方向の通信処理能力が前記他方向の通信処理能力
より低い場合は、前記片方向の通信処理が終了するまで
前記他方向の通信処理を停止するようにしたので、双方
向画像通信中に片方向に偏った処理が行われないように
制御することが可能となり、スムーズな双方向画像通信
を行うことができるという効果が得られる。
According to the two-way image communication method of the second aspect,
When the one-way communication processing capability is lower than the other-direction communication processing capability, the two-way communication process is stopped until the one-way communication process ends, so during the two-way image communication, It is possible to perform control so that processing that is biased in one direction is not performed, and it is possible to obtain an effect that smooth bidirectional image communication can be performed.

【0082】請求項3の双方向画像通信方法によれば、
前記片方向の通信処理能力が前記他方向の通信処理能力
より低い場合は、前記片方向の通信処理に使用されるC
PU能力の配分の比率が大きくなるように制御するよう
にしたので、双方向画像通信中に片方向に偏った処理が
行われないように制御することが可能となり、スムーズ
な双方向画像通信を行うことができるという効果が得ら
れる。
According to the two-way image communication method of the third aspect,
If the one-way communication processing capacity is lower than the other-direction communication processing capacity, C used for the one-way communication processing is used.
Since the control is performed so that the PU power distribution ratio is increased, it is possible to perform control such that processing that is biased in one direction is not performed during bidirectional image communication. The effect that can be performed is obtained.

【0083】請求項23の通信端末装置によれば、第1
の通信処理手段の通信処理能力と第2の通信処理手段の
通信処理能力との間に差が生じた場合には、制御手段に
より、両通信処理能力が同じになるように前記第1の通
信処理手段及び前記第2の通信処理手段のいずれか一方
の通信処理手段の動作を制御するようにしたので、双方
向画像通信中に通信環境の変化等によりCPUの処理能
力の分配比率に変化が生じた場合であっても、片方向に
偏った処理が行われないように制御し、スムーズな双方
向画像通信を行うことができるという効果が得られる。
According to the communication terminal device of the twenty-third aspect, the first
If there is a difference between the communication processing capacity of the communication processing means of the second communication processing means and the communication processing capacity of the second communication processing means, the control means controls the first communication processing so that the two communication processing capacities become the same. Since the operation of either one of the processing means and the second communication processing means is controlled, a change in the processing power distribution ratio of the CPU due to a change in the communication environment or the like during bidirectional image communication. Even in the case where such a situation occurs, the control is performed so as not to perform the processing that is biased in one direction, and the effect that smooth bidirectional image communication can be performed can be obtained.

【0084】請求項24の通信端末装置によれば、第2
の通信処理手段による通信処理が終了してから、他の通
信端末装置から送られてくる通知を受信するまで、前記
第2の通信処理手段による通信処理を停止させるように
したので、第1及び第2の通信処理手段の処理速度は、
双方向画像通信を行っている通信端末装置のうち処理速
度の遅いほうの通信端末装置における第1及び第2の通
信処理手段の処理速度に合わせられる。従って、双方向
画像通信を行っている二つの通信端末装置間の処理能力
に差がある場合であっても、常に最適な通信処理を行う
ことができるという効果が得られる。
According to the communication terminal device of the twenty-fourth aspect, the second
Since the communication processing by the second communication processing means is stopped after the communication processing by the communication processing means is completed and until a notification sent from another communication terminal apparatus is received, the first and the second communication processing means are stopped. The processing speed of the second communication processing means is:
The processing speed is adjusted to the processing speed of the first and second communication processing means in the communication terminal device having the lower processing speed among the communication terminal devices performing bidirectional image communication. Therefore, even if there is a difference in the processing capability between the two communication terminal devices performing the two-way image communication, an effect is obtained that the optimum communication processing can always be performed.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態にかかる双方向画像
通信方法を実現可能な通信端末装置の構成を示すブロッ
ク図である。
FIG. 1 is a block diagram showing a configuration of a communication terminal device capable of realizing a two-way image communication method according to a first embodiment of the present invention.

【図2】図1に示した符号処理部において実行される画
像データ送信手順を示すフローチャートである。
FIG. 2 is a flowchart illustrating an image data transmission procedure executed in a code processing unit illustrated in FIG. 1;

【図3】画像圧縮データの構成を示す説明図である。FIG. 3 is an explanatory diagram showing a configuration of compressed image data.

【図4】図1に示した復号処理部において実行される画
像データ受信手順を示すフローチャートである。
FIG. 4 is a flowchart showing an image data receiving procedure executed in the decoding processing unit shown in FIG. 1;

【図5】符号処理部において行われる符号化処理及び復
号処理部において行われる復号化処理の同期手順を示す
タイミングチャートである。
FIG. 5 is a timing chart showing a synchronization procedure of an encoding process performed by the encoding processing unit and a decoding process performed by the decoding processing unit.

【図6】本発明の第2の実施の形態にかかる双方向画像
通信方法を実現可能な二つの通信端末装置を接続してな
る双方向画像通信システムの構成を示すブロック図であ
る。
FIG. 6 is a block diagram showing a configuration of a two-way image communication system in which two communication terminal devices capable of realizing a two-way image communication method according to a second embodiment of the present invention are connected.

【図7】図6に示した復号処理部における画像データ受
信手順を示すフローチャートである。
FIG. 7 is a flowchart showing a procedure of receiving image data in the decoding processing unit shown in FIG. 6;

【図8】図6に示した符号処理部における画像データ送
信手順を示すフローチャートである。
FIG. 8 is a flowchart illustrating a procedure of transmitting image data in a code processing unit illustrated in FIG. 6;

【符号の説明】 10,100,200 通信端末装置 10a,100a,200a 符号処理部 10b,100b,200b 復号処理部[Description of Code] 10, 100, 200 Communication terminal device 10a, 100a, 200a Code processing unit 10b, 100b, 200b Decoding processing unit

Claims (24)

【特許請求の範囲】[Claims] 【請求項1】 他の通信端末装置に接続されて該他の通
信端末装置との間で双方向画像通信を行う通信端末装置
における双方向画像通信方法であって、片方向の通信処
理能力及び前記片方向とは異なる他方向の通信処理能力
を認識し、前記認識された片方向の通信処理能力と前記
認識された他方向の通信処理能力との間に差が生じた場
合には、両通信処理能力が同じになるように前記片方向
の通信処理能力及び前記他方向の通信処理能力のいずれ
か一方を制御することを特徴とする双方向画像通信方
法。
1. A two-way image communication method for a communication terminal device connected to another communication terminal device and performing two-way image communication with the other communication terminal device, comprising: Recognize the communication processing capability in the other direction different from the one-way direction, and if there is a difference between the recognized one-way communication processing capability and the recognized communication processing capability in the other direction, A two-way image communication method, wherein one of the one-way communication processing capability and the other-direction communication processing capability is controlled so that the communication processing capabilities are the same.
【請求項2】 前記片方向の通信処理能力が前記他方向
の通信処理能力より低い場合は、前記片方向の通信処理
が終了するまで前記他方向の通信処理を停止するように
制御することを特徴とする請求項1に記載の双方向画像
通信方法。
2. When the one-way communication processing capacity is lower than the other-direction communication processing capacity, control is performed such that the other-direction communication processing is stopped until the one-way communication processing ends. The two-way image communication method according to claim 1, wherein:
【請求項3】 前記片方向の通信処理能力が前記他方向
の通信処理能力より低い場合は、前記片方向の通信処理
に使用されるCPU能力の配分の比率が大きくなるよう
に制御することを特徴とする請求項1に記載の双方向画
像通信方法。
3. When the one-way communication processing capacity is lower than the other-direction communication processing capacity, control is performed such that the ratio of the distribution of CPU capacity used for the one-way communication processing is increased. The two-way image communication method according to claim 1, wherein:
【請求項4】 前記通信処理能力は、所定時間内に通信
処理される画像データ量を含むことを特徴とする請求項
1〜3のいずれか1項に記載の双方向画像通信方法。
4. The two-way image communication method according to claim 1, wherein the communication processing capability includes an amount of image data to be processed within a predetermined time.
【請求項5】 前記画像データ量は、前記通信端末装置
内部の画像データ量であることを特徴とする請求項4に
記載の双方向画像通信方法。
5. The two-way image communication method according to claim 4, wherein the image data amount is an image data amount inside the communication terminal device.
【請求項6】 前記画像データ量は、前記通信端末装置
と前記他の通信端末とを接続する通信経路における画像
データ量であることを特徴とする請求項4に記載の双方
向画像通信方法。
6. The two-way image communication method according to claim 4, wherein the image data amount is an image data amount in a communication path connecting the communication terminal device and the another communication terminal.
【請求項7】 前記通信処理能力は、画像データの送受
信に用いられるデータバッファの容量を含むことを特徴
とする請求項1〜3のいずれか1項に記載の双方向画像
通信方法。
7. The two-way image communication method according to claim 1, wherein said communication processing capability includes a capacity of a data buffer used for transmitting and receiving image data.
【請求項8】 前記データバッファは、送信用データバ
ッファと、前記送信用データバッファとは異なる受信用
データバッファとからなることを特徴とする請求項7に
記載の双方向画像通信方法。
8. The bidirectional image communication method according to claim 7, wherein the data buffer comprises a transmission data buffer and a reception data buffer different from the transmission data buffer.
【請求項9】 前記データバッファは、送信用データバ
ッファと受信用データバッファとを共有することを特徴
とする請求項7に記載の双方向画像通信方法。
9. The two-way image communication method according to claim 7, wherein the data buffer shares a transmission data buffer and a reception data buffer.
【請求項10】 前記通信処理能力は、一画面分の画像
データ量を含むことを特徴とする請求項1〜3のいずれ
か1項に記載の双方向画像通信方法。
10. The two-way image communication method according to claim 1, wherein the communication processing capability includes an image data amount for one screen.
【請求項11】 前記一画面分の画像データ量は、圧縮
画像データの量であることを特徴とする請求項10に記
載の双方向画像通信方法。
11. The two-way image communication method according to claim 10, wherein the amount of image data for one screen is the amount of compressed image data.
【請求項12】 前記一画面分の画像データ量は、非圧
縮画像データの量であることを特徴とする請求項10に
記載の双方向画像通信方法。
12. The two-way image communication method according to claim 10, wherein the image data amount for one screen is an amount of uncompressed image data.
【請求項13】 前記一画面分の画像データ量は、画面
のサイズに関するデータを含むことを特徴とする請求項
10〜12のいずれか1項に記載の双方向画像通信方
法。
13. The two-way image communication method according to claim 10, wherein the image data amount for one screen includes data relating to a screen size.
【請求項14】 前記一画面分の画像データ量は、画面
の色数に関するデータを含むことを特徴とする請求項1
0〜13のいずれか1項に記載の双方向画像通信方法。
14. The image data amount for one screen includes data relating to the number of colors of the screen.
14. The bidirectional image communication method according to any one of 0 to 13.
【請求項15】 前記通信処理能力は一画面分の画像デ
ータの処理に必要なCPU能力であることを特徴とする
請求項1〜3のいずれか1項に記載の双方向画像通信方
法。
15. The two-way image communication method according to claim 1, wherein said communication processing capability is a CPU capability required for processing one screen of image data.
【請求項16】 前記通信処理能力は一画面分の画像デ
ータの処理に使用可能なCPU能力であることを特徴と
する請求項1〜3のいずれか1項に記載の双方向画像通
信方法。
16. The two-way image communication method according to claim 1, wherein said communication processing capability is a CPU capability that can be used for processing one screen of image data.
【請求項17】 前記一画面分の画像データは圧縮画像
データであることを特徴とする請求項15又は16に記
載の双方向画像通信方法。
17. The method according to claim 15, wherein the image data for one screen is compressed image data.
【請求項18】 前記一画面分の画像データは非圧縮画
像データであることを特徴とする請求項15又は16に
記載の双方向画像通信方法。
18. The two-way image communication method according to claim 15, wherein the image data for one screen is uncompressed image data.
【請求項19】 前記画像データの処理は、画像データ
が入力されてから当該画像データが送信されるまでの一
連の処理であることを特徴とする請求項15〜18のい
ずれか1項に記載の双方向画像通信方法。
19. The apparatus according to claim 15, wherein the processing of the image data is a series of processing from input of the image data to transmission of the image data. Two-way image communication method.
【請求項20】 前記画像データの処理は、画像データ
が受信されてから当該画像データが表示されるまでの一
連の処理であることを特徴とする請求項15〜18のい
ずれか1項に記載の双方向画像通信方法。
20. The image processing apparatus according to claim 15, wherein the processing of the image data is a series of processing from when the image data is received until the image data is displayed. Two-way image communication method.
【請求項21】 前記通信処理能力は、所定時間内に処
理される動画画像データの画面数であることを特徴とす
る請求項1〜3のいずれか1項に記載の双方向画像通信
方法。
21. The two-way image communication method according to claim 1, wherein said communication processing capability is the number of screens of moving image data processed within a predetermined time.
【請求項22】 前記片方向の通信処理と、前記他方向
の通信処理は非同期に行われることを特徴とする請求項
1〜3のいずれか1項に記載の双方向画像通信方法。
22. The two-way image communication method according to claim 1, wherein the one-way communication processing and the other-direction communication processing are performed asynchronously.
【請求項23】 他の通信端末装置に接続されて該他の
通信端末装置と双方向画像通信を行うために、片方向の
通信処理を行う第1の通信処理手段と前記片方向とは異
なる他方向の通信処理を行う第2の通信処理手段とを備
える通信端末装置において、前記第1の通信処理手段の
通信処理能力を認識する第1の認識手段と、前記第2の
通信処理手段の通信処理能力を認識する第2の認識手段
と、前記認識された前記第1の通信処理手段の通信処理
能力と前記認識された前記第2の通信処理手段の通信処
理能力との間に差が生じた場合には、両通信処理能力が
同じになるように前記第1の通信処理手段及び前記第2
の通信処理手段のいずれか一方の通信処理手段の動作を
制御する制御手段とを備えたことを特徴とする通信端末
装置。
23. A first communication processing means which is connected to another communication terminal apparatus and performs one-way communication processing for performing two-way image communication with the other communication terminal apparatus, and is different from the one-way communication processing means. In a communication terminal device comprising second communication processing means for performing communication processing in the other direction, a first recognition means for recognizing a communication processing capability of the first communication processing means; Second recognition means for recognizing the communication processing capacity, and a difference between the recognized communication processing capacity of the first communication processing means and the recognized communication processing capacity of the second communication processing means. When the first communication processing means and the second communication processing means
And a control means for controlling the operation of any one of the communication processing means.
【請求項24】 他の通信端末装置に接続されて該他の
通信端末装置と双方向画像通信を行うために、片方向の
通信処理を行う第1の通信処理手段と前記片方向とは異
なる他方向の通信処理を行う第2の通信処理手段とを備
える通信端末装置において、前記第1の通信処理手段に
よる通信処理が終了したことを示す通知を前記他の通信
端末装置に送る通知手段と、前記第2の通信処理手段に
よる通信処理が終了してから前記他の通信端末装置から
送られてくる通知を受信するまで前記第2の通信処理手
段による通信処理を停止させるように前記第2の通信処
理手段を制御する制御手段とを備えたことを特徴とする
通信端末装置。
24. A first communication processing means which is connected to another communication terminal apparatus and performs one-way communication processing for performing two-way image communication with the other communication terminal apparatus, and is different from the one-way communication processing means. A communication terminal device comprising: a second communication processing unit that performs a communication process in the other direction; a notification unit that sends, to the other communication terminal device, a notification indicating that the communication process by the first communication processing unit has been completed; The second communication processing means stops the communication processing by the second communication processing means until the notification sent from the other communication terminal device is received after the communication processing by the second communication processing means is completed. And a control means for controlling the communication processing means.
JP21814396A 1996-08-01 1996-08-01 Two-way image communication method and its device Pending JPH1051753A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21814396A JPH1051753A (en) 1996-08-01 1996-08-01 Two-way image communication method and its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21814396A JPH1051753A (en) 1996-08-01 1996-08-01 Two-way image communication method and its device

Publications (1)

Publication Number Publication Date
JPH1051753A true JPH1051753A (en) 1998-02-20

Family

ID=16715323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21814396A Pending JPH1051753A (en) 1996-08-01 1996-08-01 Two-way image communication method and its device

Country Status (1)

Country Link
JP (1) JPH1051753A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7743135B2 (en) 2003-02-27 2010-06-22 Sony Corporation Display-screen-sharing system, display-screen-sharing method, transmission-side terminal, reception-side terminal, and recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7743135B2 (en) 2003-02-27 2010-06-22 Sony Corporation Display-screen-sharing system, display-screen-sharing method, transmission-side terminal, reception-side terminal, and recording medium

Similar Documents

Publication Publication Date Title
EP1089502A2 (en) Method and device for facilitating efficient data transfer via a wireless communicaton network
US10171815B2 (en) Coding manner switching method, transmit end, and receive end
US6707947B1 (en) Frame switcher and method of switching, digital camera, and monitoring system
US6968158B1 (en) Wireless transmission of packetized command and image data
US8379150B2 (en) Data transmission method and audio/video system capable of splitting and synchronizing audio/video data
US20120236927A1 (en) Transmission apparatus, transmission method, and recording medium
CN115209192A (en) Display device, intelligent device and camera sharing method
JP2004128776A (en) Image compression method and transmitting apparatus using the same
JPH1051753A (en) Two-way image communication method and its device
US20050172009A1 (en) Server system for performing communication over wireless network
JP2019213180A (en) System and method for wireless image voice transmission and reception
JPH08195947A (en) Video telephone device, data transmitting method and video telephone system
JP3813100B2 (en) Wireless communication device
CN111885403B (en) Wireless screen transmission method supporting double signals and wireless screen transmitter
CN111092844A (en) Method for performing mode conversion of compression operation, and transmission apparatus
CN115988155B (en) Spliced display method and display system
WO2010117644A1 (en) Method and apparatus for asynchronous video transmission over a communication network
WO2014122693A1 (en) Client device, server device, and screen transmission system
JP2008016939A (en) Program, information storage medium, data transmission apparatus, and data transmission system
CN112333472A (en) Video transmission method, signal transmitter and signal receiver
JPH0638050A (en) Still picture compressing transmitter
JPH06233140A (en) Method and equipment for image communication
JPH0445681A (en) Moving picture storage system for multimedia communication equipment
WO2008029474A1 (en) Compression control device, decompression control device, packet transfer system, and packet transfer method
JP2000286877A (en) Data transmission system