JP3433180B2 - Transmission device and communication system - Google Patents

Transmission device and communication system

Info

Publication number
JP3433180B2
JP3433180B2 JP2000371920A JP2000371920A JP3433180B2 JP 3433180 B2 JP3433180 B2 JP 3433180B2 JP 2000371920 A JP2000371920 A JP 2000371920A JP 2000371920 A JP2000371920 A JP 2000371920A JP 3433180 B2 JP3433180 B2 JP 3433180B2
Authority
JP
Japan
Prior art keywords
communication
packet
data
communication speed
receiving device
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 - Fee Related
Application number
JP2000371920A
Other languages
Japanese (ja)
Other versions
JP2002176460A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2000371920A priority Critical patent/JP3433180B2/en
Publication of JP2002176460A publication Critical patent/JP2002176460A/en
Application granted granted Critical
Publication of JP3433180B2 publication Critical patent/JP3433180B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明はデータ送信時の通信
異常に対する処理を行う送信装置及びその装置を用いた
通信システムに関し、特にIEEE1394にて規定さ
れた通信規格に基づく高速バスインターフェースを利用
した送信装置及び通信システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmission device for processing communication abnormalities during data transmission and a communication system using the device, and more particularly to transmission using a high-speed bus interface based on a communication standard defined by IEEE1394. The present invention relates to a device and a communication system.

【0002】[0002]

【従来の技術】家電製品を接続するホームネットワーク
に対しての要求が急速に高まっており、このためホーム
ネットワークに適した機能を備え、100Mbps、2
00Mbps、及び400Mbps等の高速な通信速度
でのデータ転送が可能なIEEE1394で規定された
通信規格に基づく高速バスインターフェースが注目され
ている。IEEE1394に基づく通信では、送信装置
から受信装置を指定せずにデータを送信する同期通信
と、送信装置から受信装置を指定してデータを送信する
非同期通信との2つの通信方法がある。
2. Description of the Related Art The demand for home networks for connecting home electric appliances is rapidly increasing. Therefore, the home networks are equipped with the functions suitable for the home networks, and 100 Mbps, 2
A high-speed bus interface based on the communication standard defined by IEEE 1394, which can transfer data at a high communication speed such as 00 Mbps and 400 Mbps, is drawing attention. In communication based on IEEE 1394, there are two communication methods: synchronous communication in which a transmitting device transmits data without designating a receiving device, and asynchronous communication in which a transmitting device designates a receiving device and transmits data.

【0003】非同期通信は、送信装置として機能するデ
ジタルスチルカメラにより生成された画像データをパー
ソナルコンピュータ等の受信装置へ送信し、受信装置に
て画像データを記録する通信処理のように、確実なデー
タ転送が必要なデータの送信に適用される。送信装置か
ら送信されるデータは、所定の最大データ長以下に分割
され各種ヘッダ情報を付与されたパケットとして受信装
置へ所定の通信速度で送信され、受信装置はパケットを
受信する都度、受信したことを示す信号であるackコ
ードを送信装置へ送信する。
Asynchronous communication is a reliable data processing such as a communication process in which image data generated by a digital still camera functioning as a transmitting device is transmitted to a receiving device such as a personal computer and the receiving device records the image data. Applies to sending data that needs to be transferred. The data transmitted from the transmission device is transmitted to the reception device as a packet divided into a predetermined maximum data length or less with various header information at a predetermined communication speed, and the reception device receives the packet every time it receives the packet. An ack code indicating a signal is transmitted to the transmitter.

【0004】送信装置では、所定時間内にackコード
を受信しなかった場合又はノイズ等の要因による通信異
常を示すackコードを受信した場合に、受信装置が正
常にパケットを受信していないと判断して、正常に受信
されなかったパケットに含まれるデータを同じ通信条件
にて再送信する。
If the transmitter does not receive the ack code within a predetermined time or if it receives the ack code indicating a communication error due to factors such as noise, it determines that the receiver has not received the packet normally. Then, the data included in the packet that was not normally received is retransmitted under the same communication condition.

【0005】図4は従来の通信システムにおける送信装
置及び受信装置間の通信処理を示すシーケンス図であ
る。図4に示す例ではIEEE1394にて規定された
通信規格に基づき、Writefor data-block等の種類のパ
ケットを400Mbpsの通信速度で非同期通信により
送信装置から受信装置へ送信し、受信装置が受信したパ
ケット中に文字化け等の異常が検出されたことを示すa
ckコードとしてdata_error を、受信装置から送信装
置へ送信している。送信装置では、data_error を受信
して、同じ通信条件にてパケットを再送信しており、更
にdata_error を受信装置から受信すれば、またパケッ
トを再送信する処理を繰り返す。
FIG. 4 is a sequence diagram showing a communication process between a transmitter and a receiver in a conventional communication system. In the example shown in FIG. 4, a packet of a type such as Write for data-block is transmitted from a transmitting device to a receiving device by asynchronous communication at a communication speed of 400 Mbps based on the communication standard defined by IEEE 1394, and the packet received by the receiving device. Indicates that an abnormality such as garbled characters has been detected
data_error is transmitted as a ck code from the receiving device to the transmitting device. The transmitting device receives the data_error and retransmits the packet under the same communication condition. When the data_error is further received from the receiving device, the process of retransmitting the packet is repeated.

【0006】[0006]

【発明が解決しようとする課題】しかしながら従来の送
信装置では、受信装置が正常にパケットを受信していな
いと判断した場合、所定回数に達するまで同じ通信条件
にて再送信を行うが、ノイズ等の要因により通信条件が
悪化している状況下では、再送信をしても受信装置が正
常にパケットを受信することができない可能性も高く、
再送信が所定回数に達した時点で通信が途絶えてしまう
という問題がある。
However, in the conventional transmitting apparatus, when the receiving apparatus determines that the packet is not normally received, the retransmission is performed under the same communication condition until the predetermined number of times is reached, but noise or the like is generated. In the situation where the communication condition is deteriorated due to the factor of 1, the receiving device is highly likely to not be able to receive the packet normally even if it is retransmitted.
There is a problem that communication is interrupted when the number of retransmissions reaches a predetermined number.

【0007】本発明は斯かる事情に鑑みてなされたもの
であり、受信装置が正常にパケットを受信していないと
判断した場合、通信速度の低速化及び/又はパケットの
データ長の短縮化を行った上で再送信を行うことによ
り、通信の確実性を向上させる送信装置、及びその装置
を用いた通信システムの提供を目的とする。
The present invention has been made in view of such circumstances, and when the receiving device determines that the packet is not normally received, the communication speed is reduced and / or the data length of the packet is shortened. An object of the present invention is to provide a transmission device that improves reliability of communication by performing the retransmission after performing the transmission, and a communication system using the device.

【0008】[0008]

【課題を解決するための手段】第1発明に係る送信装置
は、通信速度に対応してパケットの最大データ長が変化
する通信規格に基づいた伝送路を介して、データをパケ
ットとして第1通信速度で受信装置へ送信する送信装置
において、受信装置のパケット受信成否を判断する手段
と、受信装置が所定のパケットを正常に受信していない
と判断した場合に、通信速度を第1通信速度より低速な
第2通信速度に設定して当該パケットを再送する手段
、当該再送されたパケットに続く後続のパケットの通
信速度を前記第2の通信速度に設定する手段とを備える
ことを特徴とする。
According to a first aspect of the present invention, there is provided a transmitting device, wherein data is transmitted as a packet through a transmission line based on a communication standard in which a maximum data length of a packet changes in accordance with a communication speed. In a transmitting device which transmits to a receiving device at a speed, a means for judging success or failure of packet reception of the receiving device, and a communication speed from the first communication speed when the receiving device judges that a predetermined packet is not normally received. A means for retransmitting the packet by setting the second communication speed at a low speed and a communication of the subsequent packet following the retransmitted packet.
And a means for setting a trust rate to the second communication rate .

【0009】第1発明に係る送信装置では、通信速度を
低速化、例えば400Mbpsを200Mbps、更に
は100Mbpsに変更することにより、通信の確実性
を向上させた上で、パケットを再送信するので、受信装
置が正常にパケットを受信する可能性が高く、安定した
通信を実現することが可能である。
In the transmitting apparatus according to the first aspect of the present invention, the communication speed is reduced, for example, 400 Mbps is changed to 200 Mbps, and further 100 Mbps to improve the reliability of communication, and then the packet is retransmitted. It is highly possible that the receiving device normally receives the packet, and stable communication can be realized.

【0010】第2発明に係る送信装置は、第1発明にお
いて、更に、前記データのデータ長が、第2通信速度に
対応する最大データ長より大きいときに、前記データを
分割した分割データを生成する手段と、生成した分割デ
ータを、夫々のパケットとして前記受信装置へ再送信す
る手段とを備えることを特徴とする。
The transmitting apparatus according to the second invention is the transmitter according to the first invention, wherein when the data length of the data is larger than the maximum data length corresponding to the second communication speed, the divided data is generated. And a means for retransmitting the generated divided data as respective packets to the receiving device.

【0011】第2発明に係る送信装置では、通信速度を
低速化することにより、最大データ長が、2048By
teから1024Byte、更には512Byteに変
化して、再送信すべきデータが最大データ長より大きく
なるときに、再送信すべきデータを分割して生成した新
たなパケットを送信することにより、通信規格に則った
安定した通信を実現することが可能である。
In the transmitter according to the second aspect of the present invention, the maximum data length is 2048 By by reducing the communication speed.
te to 1024 bytes, and further to 512 bytes, and when the data to be retransmitted becomes larger than the maximum data length, by transmitting a new packet generated by dividing the data to be retransmitted, the communication standard is established. It is possible to realize consistent and stable communication.

【0012】第3発明に係る送信装置は、第1発明また
は第2発明において、更なる通信速度の低速化が不可能
な場合に、前記データを分割して分割データを生成し、
生成した分割データを、夫々のパケットとして前記受信
装置へ再送信することを特徴とする。
A transmitter according to a third invention is the transmitter according to the first invention.
In the second invention, it is impossible to further reduce the communication speed.
In this case, divide the data to generate divided data ,
It is characterized in that the generated divided data is retransmitted to the receiving device as each packet.

【0013】第3発明に係る送信装置では、通信速度が
100Mbpsで通信速度を低速化することができない
場合等の状況下において、パケットとして送信するデー
タ長を短縮することで、パケットを小さくし、通信の確
実性を向上させた上で、再送信するので、受信装置が正
常にパケットを受信する可能性が高く、安定した通信を
実現することが可能である。
In the transmitting device according to the third aspect of the invention, the packet length is reduced by shortening the data length to be transmitted as a packet under the situation where the communication speed is 100 Mbps and the communication speed cannot be reduced. Since the reliability of the communication is improved and the data is retransmitted, it is highly possible that the receiving device normally receives the packet, and stable communication can be realized.

【0014】第4発明に係る通信システムは、第1発明
乃至第3発明のいずれかに記載の送信装置と、該送信装
置が接続している伝送路と、該伝送路に接続し、前記送
信装置からパケットを受信する受信装置とを備えること
を特徴とする。
A communication system according to a fourth aspect of the present invention is the transmission apparatus according to any one of the first to third aspects of the invention, a transmission line to which the transmission apparatus is connected, and a transmission line connected to the transmission line. And a receiving device for receiving a packet from the device.

【0015】第4発明に係る通信システムでは、受信装
置が正常にパケットを受信していないと判断した場合、
通信速度の低速化及び/又はパケットの最大データ長の
短縮化を行った上で再送信を行うことにより、通信の確
実性を向上させることが可能である。
In the communication system according to the fourth aspect of the invention, when the receiving device determines that the packet is not normally received,
It is possible to improve the reliability of communication by reducing the communication speed and / or shortening the maximum data length of the packet and then performing retransmission.

【0016】第5発明に係る通信システムは、第4発明
において、前記伝送路を介しての通信は、IEEE13
94にて規定された通信規格に基づく非同期通信である
ことを特徴とする。
A communication system according to a fifth aspect of the invention is the communication system according to the fourth aspect of the invention, wherein the communication via the transmission line is IEEE13.
It is characterized in that it is asynchronous communication based on the communication standard defined in 94.

【0017】第5発明に係る通信システムでは、ホーム
ネットワークに適した機能を備えるIEEE1394で
規定された通信規格に基づく高速バスインターフェース
を用いた通信の安定性を向上させることが可能である。
In the communication system according to the fifth aspect of the present invention, it is possible to improve the stability of communication using a high-speed bus interface based on the communication standard defined by IEEE 1394 having a function suitable for a home network.

【0018】[0018]

【発明の実施の形態】以下、本発明をその実施の形態を
示す図面に基づいて詳述する。図1は本発明の通信シス
テムの構成を示すブロック図である。図中10は本発明
の送信装置として用いられるデジタルスチルカメラであ
り、送信装置(デジタルスチルカメラ)10は、CCD
素子等の撮像素子11を備え、撮像素子11により得ら
れたアナログ画像データは、A/D変換回路12によ
り、デジタル画像データに変換され、圧縮回路13にて
JPEG(Joint Photographic coding Experts Group)
等の形式で圧縮された圧縮画像データとしてハードディ
スクカード等のデータ記録手段14に記録される。
BEST MODE FOR CARRYING OUT THE INVENTION The present invention will be described in detail below with reference to the drawings showing the embodiments thereof. FIG. 1 is a block diagram showing the configuration of the communication system of the present invention. In the figure, 10 is a digital still camera used as a transmitter of the present invention, and the transmitter (digital still camera) 10 is a CCD.
An analog image data obtained by the image sensor 11 is converted into digital image data by the A / D conversion circuit 12, and the compression circuit 13 converts the image data into JPEG (Joint Photographic coding Experts Group).
It is recorded in the data recording means 14 such as a hard disk card as compressed image data compressed in the above format.

【0019】さらに送信装置10は、装置全体を制御す
るCPU15、装置全体を動作させるプログラム及びデ
ータ等の情報を記録する不揮発性のフラッシュメモリ1
6、CPU15にて発生するデータを記憶するRAM1
7、送信すべきデータを一時的に記憶する送信用バッフ
ァ18、及びIEEE1394にて規定された通信規格
に基づく伝送路20に接続する通信インターフェース1
9を備えている。
Further, the transmitting device 10 includes a CPU 15 for controlling the entire device, a non-volatile flash memory 1 for recording information such as programs and data for operating the entire device.
6. RAM1 for storing data generated by CPU15
7, a transmission buffer 18 for temporarily storing data to be transmitted, and a communication interface 1 connected to a transmission line 20 based on a communication standard defined by IEEE1394.
9 is equipped.

【0020】伝送路20には、パーソナルコンピュータ
等の受信装置30が接続されており、受信装置30は、
CPU31、受信した圧縮画像データ及びプログラム等
の情報を記録するハードディスク等の記録手段32、R
AM33、及び伝送路20に接続する通信手段34を備
えている。
A receiving device 30 such as a personal computer is connected to the transmission line 20, and the receiving device 30 is
CPU 31, recording means 32 such as a hard disk for recording information such as received compressed image data and programs, R
The AM 33 and the communication means 34 connected to the transmission path 20 are provided.

【0021】送信装置10、伝送路20、及び受信装置
30を有する通信システムでは、送信装置10又は受信
装置30の起動、及び送信装置10又は受信装置30の
接続等の行為により、通信システム上における各種装置
の認識、及び夫々の装置を特定する識別番号の割付等の
処理が行われて、夫々の装置が準拠している規格の最高
通信速度、例えば400Mbpsで、最大データ長が2
048Byteのパケットによる通信が可能となる。
In the communication system having the transmission device 10, the transmission path 20, and the reception device 30, the transmission device 10 or the reception device 30 is activated, and the transmission device 10 or the reception device 30 is connected. Processing such as recognition of various devices and allocation of an identification number for identifying each device is performed, and the maximum communication speed of the standard with which each device complies, for example, 400 Mbps, and maximum data length is 2
Communication with a 048 Byte packet becomes possible.

【0022】なおIEEE1394の通信規格では、通
信速度とパケットの最大データ長とは、比例関係にあ
り、通信速度が400Mbpsの場合の最大データ長は
2048Byte、200Mbpsの場合は1024B
yte、そして100Mbpsの場合は512Byte
である。
According to the IEEE 1394 communication standard, the communication speed and the maximum data length of the packet are in a proportional relationship, and the maximum data length when the communication speed is 400 Mbps is 2048 Bytes and the maximum data length is 1024 B when the communication speed is 200 Mbps.
yte, and 512 Byte for 100 Mbps
Is.

【0023】次に本発明の送信装置10の処理を図2に
示すフローチャートを用いて説明する。送信装置10で
は、データ記録手段14に記録されている圧縮画像デー
タを受信装置20へ送信すべく、圧縮画像データを順次
送信用バッファ18へ送る。送信用バッファ18へ送ら
れた圧縮画像データは、最大データ長単位(2048B
yte)に分割され、分割されたデータはパケットとし
て伝送路20を介して受信装置30へ非同期通信により
第1通信速度(400Mbps)で送信される(ステッ
プS1)。
Next, the processing of the transmitting apparatus 10 of the present invention will be described with reference to the flowchart shown in FIG. In the transmitting device 10, the compressed image data recorded in the data recording means 14 is sequentially transmitted to the transmitting buffer 18 in order to transmit the compressed image data to the receiving device 20. The compressed image data sent to the sending buffer 18 has the maximum data length unit (2048B
data) and the divided data is transmitted as a packet to the receiving device 30 via the transmission path 20 by asynchronous communication at the first communication speed (400 Mbps) (step S1).

【0024】そして送信装置10では、パケット送信か
らの経過時間又はackコードの受信に基づいて、送信
したパケットに対する受信装置30の受信の成否を判断
する(ステップS2)。具体的には、送信したパケット
に対して、正常に受信したことを示すackコード(com
plete)を所定時間内に受信した場合に、当該パケットは
受信装置30により正常に受信されたと判断し、送信装
置10が、data_error 等の通信異常を示すackコー
ドを受信装置30から受信した場合、又は所定時間内に
正常に受信したことを示すackコードを受信しなかっ
た場合、受信装置30は当該パケットを正常に受信して
いないと判断する。
Then, the transmission device 10 judges whether the reception of the transmitted packet by the reception device 30 is successful or not based on the elapsed time from the packet transmission or the reception of the ack code (step S2). Specifically, for the transmitted packet, the ack code (com
plete) within a predetermined time, it is determined that the packet has been normally received by the receiving device 30, and the transmitting device 10 receives an ack code indicating a communication error such as data_error from the receiving device 30, Alternatively, when the ack code indicating that the packet is normally received is not received within the predetermined time, the receiving device 30 determines that the packet is not normally received.

【0025】送信装置10では、送信したパケットを受
信装置30が正常に受信していないと判断した場合(ス
テップS3:N)、通信速度を下げることの可否を判断
して、通信速度を下げることが可能であると判断したと
き(ステップS4:Y)、通信速度を、第1通信速度よ
り低速な第2通信速度に設定する(ステップS5)。こ
の段階においては、第1通信速度は400Mbpsであ
るので、第2通信速度は一段階低速な通信速度である2
00Mbpsに設定されることになり、また通信速度を
200Mbpsに変更することにより、最大データ長は
1024Byteに変化する。なおステップS3におい
て、送信したパケットを受信装置30が正常に受信した
と判断した場合(ステップS3:Y)、ステップS1に
戻り、次に送信すべきデータをパケットとして送信す
る。
When the transmitting device 10 determines that the received packet is not normally received by the receiving device 30 (step S3: N), it determines whether or not the communication speed can be reduced, and lowers the communication speed. When it is determined that the communication is possible (step S4: Y), the communication speed is set to the second communication speed lower than the first communication speed (step S5). At this stage, since the first communication speed is 400 Mbps, the second communication speed is one step lower communication speed 2
The maximum data length is changed to 1024 Bytes by changing the communication speed to 200 Mbps. In step S3, when it is determined that the receiving device 30 normally receives the transmitted packet (step S3: Y), the process returns to step S1 and the data to be transmitted next is transmitted as a packet.

【0026】そして受信装置20が正常に受信すること
ができなかったと判断したデータのデータ長が、第2通
信速度に対応する変化後の最大データ長より大きいか否
かを判断し、最大データ長より大きいと判断した場合
(ステップS6:Y)、正常に受信することができなか
ったデータを二分割した分割データを生成し(ステップ
S7)、生成した分割データを夫々のパケットとして受
信装置20へ送信する(ステップS8)。
Then, it is judged whether or not the data length of the data judged that the receiving device 20 could not receive normally is larger than the maximum data length after the change corresponding to the second communication speed, and the maximum data length is judged. If it is determined to be larger (step S6: Y), divided data obtained by dividing the data that could not be received normally is generated (step S7), and the generated divided data is sent to the receiving device 20 as respective packets. It is transmitted (step S8).

【0027】なおステップS6にて、受信装置20が正
常に受信することができなかったと判断したデータのデ
ータ長が、第2通信速度に対応する変化後の最大データ
長以下であると判断した場合(ステップS6:N)、デ
ータ分割を行わずに再送信する(ステップS9)。そし
て以降の通信は、第2通信速度で、それに対応する最大
データ長のパケットにて行われる。
When it is determined in step S6 that the data length of the data determined by the receiving device 20 could not be normally received is less than or equal to the maximum data length after the change corresponding to the second communication speed. (Step S6: N), the data is retransmitted without being divided (Step S9). Then, the subsequent communication is performed at the second communication speed in the packet having the maximum data length corresponding thereto.

【0028】通信速度が200Mbpsによる通信にお
いても、受信装置30が送信パケットを正常に受信して
いないと判断した場合には、ステップS4の設定におい
て、通信速度が100Mbpsに設定され、最大データ
長512Byteに変換する。なおこの場合、第1通信
速度は200Mbpsであり、第2通信速度は100M
bpsである。
Even when the communication speed is 200 Mbps, if the receiving device 30 determines that the transmission packet is not normally received, the communication speed is set to 100 Mbps and the maximum data length 512 Byte is set in the setting of step S4. Convert to. In this case, the first communication speed is 200 Mbps and the second communication speed is 100 M
bps.

【0029】さらに通信速度が100Mbpsによる通
信においても、受信装置30が送信パケットを正常に受
信していないと判断した場合、即ちステップS4におい
て、通信速度を下げることが不可能であると判断したと
き(ステップS4:N)、正常に受信することができな
かったデータを二分割した分割データを生成し(ステッ
プS10)、生成した分割データを夫々のパケットとし
て送信する(ステップS11)。なおこのときの分割デ
ータのデータ長は、IEEE1394にて規定されてい
る最大データ長とは無関係に、例えば最大データ長が5
12Byteである100Mbpsの通信速度におい
て、256Byteのデータ長に設定され、以降の通信
は、新たに設定された条件にて行われる。
Further, when the receiving device 30 determines that the transmission packet is not normally received even in the communication at the communication speed of 100 Mbps, that is, when it is determined in step S4 that the communication speed cannot be reduced. (Step S4: N), data that could not be normally received is divided into two pieces to generate divided data (step S10), and the generated divided data is transmitted as respective packets (step S11). Note that the data length of the divided data at this time is, for example, a maximum data length of 5 regardless of the maximum data length defined by IEEE1394.
At a communication speed of 100 Mbps, which is 12 Bytes, the data length is set to 256 Bytes, and subsequent communication is performed under the newly set conditions.

【0030】図3は本発明の通信システムにおける送信
装置10及び受信装置30の通信処理を示すシーケンス
図である。図3に示す例ではIEEE1394にて規定
された通信規格に基づき、データ長が長いデータを送信
するWrite request for data-block等の種類のパケット
を400Mbpsの通信速度で、非同期通信により送信
装置10から受信装置30へステップS1の処理にて送
信することを示しており、このときWrite requestfor d
ata-blockパケットには、受信装置30中の記録位置を
示すオフセットアドレス0066D000がヘッダ情報の一つと
して含まれ、またデータ長は2048Byteであるも
のとする。そして受信装置30が受信したパケット中に
文字化け等の異常が検出されたことを示すackコード
としてdata_errorを、受信装置30から送信装置10
へ送信している。
FIG. 3 is a sequence diagram showing communication processing of the transmitter 10 and the receiver 30 in the communication system of the present invention. In the example shown in FIG. 3, a packet of a type such as Write request for data-block for transmitting data having a long data length is transmitted from the transmission device 10 by asynchronous communication at a communication speed of 400 Mbps based on the communication standard defined by IEEE 1394. It indicates that the data is transmitted to the receiving device 30 in the process of step S1, and at this time, Write request for d
The ata-block packet includes an offset address 0066D000 indicating the recording position in the receiving device 30 as one piece of header information, and the data length is 2048 bytes. Then, data_error as an ack code indicating that an abnormality such as a garbled character is detected in the packet received by the receiving device 30 is transmitted from the receiving device 30 to the transmitting device 10.
Sending to.

【0031】送信装置10では、data_error を受信す
ることにより受信装置30が当該パケットを正常に受信
していないと判断し、200Mbpsの通信速度にて、
ステップS1の処理として送信したデータの前半のデー
タを含み、オフセットアドレスが0066D000でデータ長が
1024ByteのWrite request for data-blockパケ
ットによりデータを再送信する。そして受信装置30が
正常にパケットを受信したことを示すackコードとし
てcompleteを、受信装置30から送信装置10へ送信し
ている。
The transmitting device 10 judges that the receiving device 30 has not received the packet normally by receiving the data_error, and at the communication speed of 200 Mbps,
The data is retransmitted by the Write request for data-block packet including the first half of the data transmitted as the processing of step S1, the offset address is 0066D000, and the data length is 1024 Bytes. Then, complete is transmitted from the receiving device 30 to the transmitting device 10 as an ack code indicating that the receiving device 30 has normally received the packet.

【0032】送信装置10では、completeを受信するこ
とにより再送信した分割データを含むパケットを正常に
受信装置30が受信したと判断し、200Mbpsの通
信速度にて、ステップS1の処理として送信したデータ
の後半のデータを含み、オフセットアドレスが再送信し
た一つ目のパケットから1024Byte分ずれた0066
D400でデータ長が1024ByteのWrite request fo
r data-blockパケットによりデータを再送信する。そし
て受信装置30が正常にパケットを受信したことを示す
ackコードとしてcompleteを、受信装置30から送信
装置10へ送信している。
The transmitting device 10 determines that the packet including the retransmitted divided data is normally received by the receiving device 30 by receiving complete, and the data transmitted as the process of step S1 at the communication speed of 200 Mbps. Including the latter half of the data, the offset address deviates by 1024 Bytes from the first packet retransmitted.
Write request fo with data length of 1024 bytes in D400
r Retransmit data with data-block packet. Then, complete is transmitted from the receiving device 30 to the transmitting device 10 as an ack code indicating that the receiving device 30 has normally received the packet.

【0033】前記実施の形態では、送信装置10がデジ
タルスチルカメラであり、受信装置30がパーソナルコ
ンピュータである形態を示したが、本発明はこれに限ら
ず、確実にデータを送信する必要がある装置間であれば
どのような装置に適用する形態でもよい。
In the above embodiment, the transmitting device 10 is a digital still camera and the receiving device 30 is a personal computer. However, the present invention is not limited to this, and it is necessary to reliably transmit data. It may be applied to any device as long as it is between devices.

【0034】また前記実施の形態では、IEEE139
4規格に基づく通信システムに適用する形態を示した
が、本発明はこれに限らず、同様の処理ができる規格で
あればどの様な規格に基づく形態でもよい。
In the above embodiment, the IEEE 139 is used.
Although the form applied to the communication system based on the four standards is shown, the present invention is not limited to this, and a form based on any standard may be adopted as long as it can perform the same processing.

【0035】[0035]

【発明の効果】以上詳述した如く本発明に係る送信装置
及び通信システムでは、IEEE1394の通信規格に
基づく伝送路を利用した非同期通信等の通信において、
送信装置から送信したパケットを受信装置が正常にパケ
ットを受信していないと、送信装置が判断した場合、通
信速度の低速化及び/又はパケットのデータ長の短縮化
を行った上で再送信を行うことにより、通信の確実性を
向上させることが可能であるなど、優れた効果を奏す
る。
As described above in detail, in the transmitter and the communication system according to the present invention, in the communication such as asynchronous communication using the transmission line based on the communication standard of IEEE1394,
When the transmitting device determines that the packet transmitted from the transmitting device is not normally received by the receiving device, the communication speed is slowed down and / or the data length of the packet is shortened, and the packet is retransmitted. By doing so, it is possible to obtain an excellent effect such as the reliability of communication can be improved.

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

【図1】本発明の通信システムの構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of a communication system of the present invention.

【図2】本発明の送信装置の処理を示すフローチャート
である。
FIG. 2 is a flowchart showing the processing of the transmission device of the present invention.

【図3】本発明の通信システムにおける送信装置及び受
信装置間の通信処理を示すシーケンス図である。
FIG. 3 is a sequence diagram showing communication processing between a transmission device and a reception device in the communication system of the present invention.

【図4】従来の通信システムにおける送信装置及び受信
装置間の通信処理を示すシーケンス図である。
FIG. 4 is a sequence diagram showing communication processing between a transmission device and a reception device in a conventional communication system.

【符号の説明】[Explanation of symbols]

10 送信装置 20 伝送路 30 受信装置 10 transmitter 20 transmission lines 30 receiver

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開2000−295313(JP,A) 特開 平11−122226(JP,A) 特開 平1−181251(JP,A) 特開 平5−327772(JP,A) 特開2000−49864(JP,A) 特開 平9−8865(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 29/08 H04L 1/16 G06F 13/38 350 H04L 12/56 ─────────────────────────────────────────────────── --Continued from the front page (56) Reference JP 2000-295313 (JP, A) JP 11-122226 (JP, A) JP 1-181251 (JP, A) JP 5-327772 (JP, A) JP 2000-49864 (JP, A) JP 9-8865 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04L 29/08 H04L 1/16 G06F 13/38 350 H04L 12/56

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 通信速度に対応してパケットの最大デー
タ長が変化する通信規格に基づいた伝送路を介して、デ
ータをパケットとして第1通信速度で受信装置へ送信す
る送信装置において、 受信装置のパケット受信成否を判断する手段と、 受信装置が所定のパケットを正常に受信していないと判
断した場合に、通信速度を第1通信速度より低速な第2
通信速度に設定して当該パケットを再送する手段と 当該再送されたパケットに続く後続のパケットの通信速
度を前記第2の通信速度に設定する手段と を備えること
を特徴とする送信装置。
1. A transmission device for transmitting data as a packet to a reception device at a first communication speed via a transmission line based on a communication standard in which a maximum data length of a packet changes in accordance with the communication speed. Means for determining the success or failure of the packet reception of the second packet, and the second device having a communication speed lower than the first communication speed when the receiving device determines that the predetermined packet is not normally received.
Means for retransmitting the packet by setting the communication speed, the communication speed of a subsequent packet following to the retransmitted packet
And a means for setting the degree to the second communication speed .
【請求項2】 更に、 前記データのデータ長が、第2通信速度に対応する最大
データ長より大きいときに、前記データを分割した分割
データを生成する手段と、 生成した分割データを、夫々のパケットとして前記受信
装置へ再送信する手段とを備えることを特徴とする請求
項1に記載の送信装置。
2. Further, when the data length of the data is larger than the maximum data length corresponding to the second communication speed, a unit for generating divided data obtained by dividing the data, and the generated divided data respectively The transmitter according to claim 1, further comprising: a unit that retransmits the packet to the receiver.
【請求項3】 更なる通信速度の低速化が不可能な場合
に、前記データを分割して分割データを生成し、 生成した分割データを、夫々のパケットとして前記受信
装置へ再送信することを特徴とする請求項1または2に
記載の送信装置。
3. When it is impossible to further reduce the communication speed.
To the data by dividing the generated divided data, the generated divided data to claim 1 or 2, characterized in that re-transmitted to the receiving apparatus as each packet
The transmission device described .
【請求項4】 請求項1乃至請求項3のいずれかに記載
の送信装置と、 該送信装置が接続している伝送路と、 該伝送路に接続し、前記送信装置からパケットを受信す
る受信装置とを備えることを特徴とする通信システム。
4. The transmission device according to claim 1, a transmission line to which the transmission device is connected, and a reception which is connected to the transmission line and receives a packet from the transmission device. A communication system comprising: a device.
【請求項5】 前記伝送路を介しての通信は、IEEE
1394にて規定された通信規格に基づく非同期通信で
あることを特徴とする請求項4に記載の通信システム。
5. The communication via the transmission line is based on IEEE.
The communication system according to claim 4, wherein the communication is an asynchronous communication based on a communication standard defined by 1394.
JP2000371920A 2000-12-06 2000-12-06 Transmission device and communication system Expired - Fee Related JP3433180B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000371920A JP3433180B2 (en) 2000-12-06 2000-12-06 Transmission device and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000371920A JP3433180B2 (en) 2000-12-06 2000-12-06 Transmission device and communication system

Publications (2)

Publication Number Publication Date
JP2002176460A JP2002176460A (en) 2002-06-21
JP3433180B2 true JP3433180B2 (en) 2003-08-04

Family

ID=18841560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000371920A Expired - Fee Related JP3433180B2 (en) 2000-12-06 2000-12-06 Transmission device and communication system

Country Status (1)

Country Link
JP (1) JP3433180B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPWO2005093986A1 (en) * 2004-03-26 2008-02-14 松下電器産業株式会社 Communication processing device, home appliance and home network system
JP4928732B2 (en) * 2005-01-17 2012-05-09 株式会社リコー Data transfer system and electronic device
JP2007172160A (en) * 2005-12-20 2007-07-05 Seiko Epson Corp Usb communication device, and method for switching communication speed
JP4972980B2 (en) * 2006-04-14 2012-07-11 富士通株式会社 Data communication program, data communication method, and portable terminal device
US7587536B2 (en) * 2006-07-28 2009-09-08 Icron Technologies Corporation Method and apparatus for distributing USB hub functions across a network
CN106557377A (en) * 2015-09-25 2017-04-05 中兴通讯股份有限公司 Data transfer control method, main process equipment, USB device and system

Also Published As

Publication number Publication date
JP2002176460A (en) 2002-06-21

Similar Documents

Publication Publication Date Title
US6301249B1 (en) Efficient error control for wireless packet transmissions
JP3329390B2 (en) High-speed batch file transfer method and device
KR100750166B1 (en) Method and apparatus for transmitting Data efficiently in wireless network system
EP1198105A2 (en) High speed transmission line interface
JP2003078565A (en) Wireless communication equipment
JP2012227953A (en) Communication device and method
JP2002538720A (en) Data transfer packet retransmission method and apparatus
JP2000502852A (en) Concatenated error detection coding and packet numbering for hierarchical ARQ scheme
WO2007028312A1 (en) Data transmission unit retransmission method, system, data receiver device and data transmitter device
JP3462314B2 (en) Packet communication device
JP4731155B2 (en) Error control mechanism for segment-based link layer in digital networks
JP3054613B2 (en) Packet communication system
US4551834A (en) Method and system for communicating over an open communication network
JP3433180B2 (en) Transmission device and communication system
KR20050078096A (en) Method for frame retransmission and network apparatus employing the method
JP2000513516A (en) Multiplex communication interface circuit and method
JPH0955718A (en) Data communication device
JP3527111B2 (en) Data transfer control method
CN114048162A (en) Xmodem protocol-based stream file transmission method
JP4617568B2 (en) Wireless communication device
EP1505759A2 (en) Method and device for transmitting/receiving data using acknowledged transport layer protocols
JP3027800B2 (en) Transmission control method and transmission control device in wireless LAN
JPH11275102A (en) Network system by power line, data transmission method and recording medium
JP3148733B2 (en) Signal processing device and signal processing system
JP4422148B2 (en) Information communication apparatus, information communication method and program

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
R151 Written notification of patent or utility model registration

Ref document number: 3433180

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20080523

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090523

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090523

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100523

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110523

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120523

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130523

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130523

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees