JP2000115258A - Automatic restoration system for communication error - Google Patents

Automatic restoration system for communication error

Info

Publication number
JP2000115258A
JP2000115258A JP28069398A JP28069398A JP2000115258A JP 2000115258 A JP2000115258 A JP 2000115258A JP 28069398 A JP28069398 A JP 28069398A JP 28069398 A JP28069398 A JP 28069398A JP 2000115258 A JP2000115258 A JP 2000115258A
Authority
JP
Japan
Prior art keywords
transmission
data
data amount
destination
stored
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.)
Granted
Application number
JP28069398A
Other languages
Japanese (ja)
Other versions
JP3190895B2 (en
Inventor
Shinya Furukawa
眞也 古川
Takayoshi Kusuhara
孝良 楠原
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.)
NEC IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP28069398A priority Critical patent/JP3190895B2/en
Publication of JP2000115258A publication Critical patent/JP2000115258A/en
Application granted granted Critical
Publication of JP3190895B2 publication Critical patent/JP3190895B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enhance reliability by evading generation of a communication error by controlling data transmission to transmit data with data quantity stored in a storage means when the data transmission is performed. SOLUTION: A transmission destination ID at the time when the transmission is successfully performed and the number of data are stored by relating each other in a transmission information storage device 3 in a device A. A data processor 2 is provided with the number of data adjusting means 21. When the communication error is detected in case of the transmission of the data to a device B, the data is transmitted by reducing the number of pieces of data as smaller than the number of data at the time when the error is generated by the number of data adjusting means 21. For example, when retry frequency is set as three times, the number of data to be transmitted is adjusted as smaller than the number of pieces of data at first time when retransmission at a second time due to the communication error and is adjusted as far more smaller at a third time. When the retry is successfully performed, the number of pieces of data and the transmission destination ID at the time are stored by relating them each other in the transmission information storage device 3 and when the data is transmitted to the device B next, the communication is performed with the stored number of pieces of data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データ転送方法及
びシステムに関し、特に、通信エラー発生時のリトライ
制御技術に関する。
The present invention relates to a data transfer method and system, and more particularly to a retry control technique when a communication error occurs.

【0002】[0002]

【従来の技術】例えばIEEE1394規格のシリアル
バス通信において、送信側のバッファ(FIFO;先入
れ先出し方式メモリ)のサイズが受信側のバッファのサ
イズよりも大きい場合や、送信側よりも受信側の方がデ
ータの処理能力が劣るとき、送信側から送信データを受
信側に送信すると、例えばオーバーフローやアンダフロ
ー発生等による通信エラーが発生する。
2. Description of the Related Art For example, in the serial bus communication of the IEEE 1394 standard, the size of a buffer (FIFO; first-in first-out memory) on the transmission side is larger than the size of the buffer on the reception side, or the data on the reception side is larger than that on the transmission side. When the transmission data is transmitted from the transmission side to the reception side when the processing capability of the communication is low, a communication error occurs due to, for example, overflow or underflow.

【0003】このため、送信側と、受信側との間のデー
タ通信において、送信側と受信側で、バッファ・サイズ
や処理能力情報等の装置情報を双方で確認した上で、送
信側はデータを受信側に送信している。この場合、送信
側、受信側の装置とも、装置情報を備えている必要があ
り、その装置情報を、通信相手から入手する手順(プロ
トコル)を取り決めた上で、データ通信が行われてい
た。
[0003] Therefore, in data communication between the transmitting side and the receiving side, the transmitting side and the receiving side confirm device information such as buffer size and processing capability information on both sides, and then the transmitting side transmits data. Is sent to the receiving side. In this case, it is necessary that both the transmitting side and the receiving side have device information, and data communication is performed after deciding a procedure (protocol) for obtaining the device information from a communication partner.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
通信方式には、次のような問題点があった。
However, the conventional communication system has the following problems.

【0005】第1の問題点は、シリアル通信において、
受信側のバッファ・サイズやデータ処理能力の関係で、
通信エラーが発生した場合、すなわち、例えば予め記憶
されている装置情報のバッファ・サイズや処理能力に誤
りがあるために通信エラーが発生した場合、再送信を何
度行っても、通信エラーを回避することはできない、と
いうことである。
The first problem is that in serial communication,
Due to the buffer size and data processing capacity of the receiving side,
If a communication error occurs, that is, if a communication error occurs due to, for example, an error in the buffer size or processing capacity of device information stored in advance, the communication error can be avoided even if retransmission is performed many times. You can't do that.

【0006】その理由は、リトライ時にも、送信側から
はエラー発生時と同一のデータ量(データ数)にてデー
タが送信されるため、受信装置のバッファ・サイズや処
理能力が送信側よりも小さい場合、リトライの都度、通
信エラーが発生するためである。
The reason is that, even at the time of retry, the data is transmitted from the transmitting side with the same data amount (number of data) as that at the time of occurrence of the error, so that the buffer size and the processing capability of the receiving apparatus are higher than those of the transmitting side. If it is smaller, a communication error occurs every time a retry is performed.

【0007】第2の問題点は、予め送信側と受信側の双
方で装置情報の引き渡し等で使用するエリア(情報格納
アドレスなど)を決めておく必要があり、送信側、受信
側ともに処理が複雑になる、ということである。
The second problem is that it is necessary for both the transmitting side and the receiving side to determine in advance the area (information storage address, etc.) to be used for the transfer of the device information, so that the processing on both the transmitting side and the receiving side is difficult. It is complicated.

【0008】なお、送信時のデータを記憶しておき、次
回のデータ送信の情報として用いる構成として、例えば
特開平8−204940号公報には、送信終了時、送信
相手先とその送信における送信データ量、通信速度、通
信時間を関連させて記憶手段に記憶しておき、前記記憶
手段に記憶された通信速度よりも1段階遅い通信速度を
用いた場合の通信時間を前記記憶手段に記憶された送信
データ量から算出し、算出された通信時間と前記記憶手
段に記憶された通信時間とを比較し、同一送信相手先に
対する次回の通信速度を設定することで回線使用料、回
線占有時間の無駄を省くようにした画像伝送装置が提案
されている。しかしながら、この技術は、通信エラー発
生時の再送制御において、上記問題点を解消するもので
はない。
As a configuration in which data at the time of transmission is stored and used as information for the next data transmission, for example, Japanese Patent Laid-Open Publication No. The amount, the communication speed, and the communication time are stored in the storage unit in association with each other, and the communication time when the communication speed one stage lower than the communication speed stored in the storage unit is used is stored in the storage unit. It is calculated from the transmission data amount, compares the calculated communication time with the communication time stored in the storage means, and sets the next communication speed for the same transmission destination, thereby wasting the line usage fee and the line occupation time. There has been proposed an image transmission apparatus that eliminates the above. However, this technique does not solve the above problem in retransmission control when a communication error occurs.

【0009】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、通信エラー発生
時、受信側のバッファ・サイズや処理能力に適合したデ
ータサイズでデータを送信することにより、以降のデー
タ送信において通信エラーの発生を回避し、信頼性を向
上する、データ転送制御システム及び方法を提供するこ
とにある。
Accordingly, the present invention has been made in view of the above problems, and has as its object to transmit data with a data size suitable for the buffer size and processing capacity of the receiving side when a communication error occurs. Accordingly, it is an object of the present invention to provide a data transfer control system and method which can avoid occurrence of a communication error in subsequent data transmission and improve reliability.

【0010】また、本発明の他の目的は、送信側と受信
側装置間で装置情報の授受を不要とし、通信エラーによ
りデータが送信できないという事態を回避する、データ
転送制御システム及び方法を提供することにある。
Another object of the present invention is to provide a data transfer control system and method which obviate the need for exchanging device information between a transmitting device and a receiving device and prevent data from being transmitted due to a communication error. Is to do.

【0011】[0011]

【課題を解決するための手段】前記目的を達成する本発
明は、送信相手先へのデータを送信する際、エラー発生
によるリトライ送信時、通信エラー発生時のデータ量よ
りも少ないデータ量でデータ送信し、データ送信が成功
した時に、前記データ送信が成功した際のデータ量と送
信相手先とを互いに関連付けて記憶手段に記憶してお
き、次回前記送信相手先に対してデータ送信を行う場
合、前記記憶手段に記憶されたデータ量にて送信するよ
うに制御する。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a method for transmitting data to a transmission destination with a smaller amount of data than at the time of retry transmission due to an error or a communication error. When the transmission and data transmission are successful, the data amount and the transmission destination at the time of the successful data transmission are stored in the storage unit in association with each other, and the data is transmitted to the transmission destination next time. , So that the data is transmitted with the data amount stored in the storage means.

【0012】[0012]

【発明の実施の形態】本発明の実施の形態について説明
する。本発明の実施の形態において、送信側装置が、送
信データを受信側装置へ送信する際、通信エラーを検出
時のリトライ送信において、前記通信エラー発生時のデ
ータ量(「データ数」ともいう)よりも、少ないデータ
量で送信し、前記受信側装置へのデータ送信が成功した
場合、前記データ送信が成功した際のデータ量と前記受
信装置とを互いに関連付けて記憶装置に記憶しておき、
次回、前記受信側装置と同一の装置に対してデータ送信
を行う場合には、前記記憶装置に記憶されたデータ量に
て送信するように制御するデータ調整手段を備えてい
る。
Embodiments of the present invention will be described. In the embodiment of the present invention, when the transmitting device transmits transmission data to the receiving device, in a retry transmission when detecting a communication error, the data amount at the time of occurrence of the communication error (also referred to as “the number of data”) Than, transmit with a smaller data amount, if the data transmission to the receiving device succeeds, the data amount and the receiving device when the data transmission is successful are stored in a storage device in association with each other,
Next time, when data is transmitted to the same device as the receiving device, a data adjusting unit is provided for controlling transmission to the data amount stored in the storage device.

【0013】また、本発明の実施の形態においては送信
側装置が、次回、前記受信側装置と同一装置に対してデ
ータ送信を行う場合、前記記憶手段に記憶されたデータ
量にて送信した際に、通信エラー発生によるリトライ送
信時、送信時間間隔を調整する送信間隔調整手段を備え
た構成としてもよい。
In the embodiment of the present invention, when the transmitting apparatus transmits data to the same apparatus as the receiving apparatus next time, the transmitting apparatus transmits the data with the data amount stored in the storage means. In addition, a configuration may be provided that includes transmission interval adjusting means for adjusting a transmission time interval at the time of retry transmission due to occurrence of a communication error.

【0014】本発明の実施の形態において、データ調整
手段、送信間隔調整手段は、データ処理装置上で実行さ
れるプログラム制御によってその機能が実現され、本発
明は、該プログラムを記録したFD、CD−ROM等の
記録媒体も含む。この場合、該記録媒体からプログラム
を読み出してデータ処理装置で実行することで、本発明
を実施することができる。
In the embodiment of the present invention, the functions of the data adjusting means and the transmission interval adjusting means are realized by control of a program executed on the data processing apparatus. -Including recording media such as ROM. In this case, the present invention can be implemented by reading a program from the recording medium and executing the program on the data processing device.

【0015】このように、本発明によれば、受信側のバ
ッファ・サイズや能力に合わせてデータを送信すること
により、通信エラー発生を防止する。
As described above, according to the present invention, the occurrence of communication errors is prevented by transmitting data in accordance with the buffer size and capacity of the receiving side.

【0016】本発明の実施の形態について、図1を参照
して説明すると、データ送信側の装置Aは、データ受信
側装置Bへのデータ転送で通信エラー発生時に,送信先
ID(送信先アドレスや装置識別子等)と送信データ数
を関連付け記憶する送信情報記憶装置3を備え、再送信
(リトライ)時に、その送信データのデータ数を、通信
エラーが発生時のデータ数よりも小さくして送信するデ
ータ数調整手段(21)を備えており、再送信成功後
は、送信情報記憶装置(3)に、その時のデータ数と送
信先IDを関連付けて記憶し、次回からの、装置Bへの
データ送信は、送信の成功したデータ数を用いて行い、
通信エラーの発生を回避している。
The embodiment of the present invention will be described with reference to FIG. 1. When a communication error occurs during data transfer to the data receiving side device B, the device A on the data transmitting side receives a transmission destination ID (transmission destination address). And a transmission information storage device 3 that associates and stores the number of transmission data with the number of transmission data. When retransmitting (retry), the number of transmission data is made smaller than the number of data at the time of occurrence of a communication error and transmitted. After the retransmission succeeds, the transmission information storage device (3) stores the data number at that time and the transmission destination ID in association with each other, and stores the data in the device B from the next time. Data transmission is performed using the number of successfully transmitted data,
Avoids communication errors.

【0017】[0017]

【実施例】本発明の実施例について説明する。図1は、
本発明の一実施例の構成を示す図である。図1を参照す
ると、本発明の一実施例において、データ送信側の装置
Aは、送信バッファ(FIFO;先入れ先出し方式のメモ
リ)1と、データ処理装置2と、送信情報記憶装置3
と、を備え、データ受信側の装置Bは、受信バッファ4
を備えている。
An embodiment of the present invention will be described. FIG.
FIG. 2 is a diagram showing a configuration of one embodiment of the present invention. Referring to FIG. 1, in one embodiment of the present invention, a device A on the data transmission side includes a transmission buffer (FIFO; first-in first-out memory) 1, a data processing device 2, and a transmission information storage device 3.
The device B on the data receiving side includes a receiving buffer 4
It has.

【0018】装置Aにおいて、送信情報記憶装置3に
は、送信が成功したときの送信先IDとデータ数とが互
いに関連付けて記憶される。データ処理装置2は、デー
タ数調整手段21を備える。
In the device A, the transmission information storage device 3 stores the transmission destination ID and the number of data at the time of successful transmission in association with each other. The data processing device 2 includes a data number adjusting unit 21.

【0019】データ数調整手段21は、装置Bへのデー
タの送信に際して、通信エラーを検知すると、エラー発
生時のデータ数よりもデータ数を小さくして送信する。
例えば、リトライ回数が3回に設定されている場合、通
信エラーによる2回目の再送時には、送信するデータ数
を1回目のデータ数よりも小さくし、3回目はさらに小
さくするといったように調整する。
When the data number adjusting means 21 detects a communication error when transmitting data to the device B, the data number adjusting means 21 transmits the data with the data number smaller than the data number at the time of occurrence of the error.
For example, when the number of retries is set to three, the number of data to be transmitted is adjusted to be smaller than the number of data to be transmitted at the time of the second retransmission due to a communication error, and to be further reduced at the time of the third time.

【0020】リトライに成功した場合、その時のデータ
数と送信先IDとを関連付けて送信情報記憶装置3に記
憶し、次に装置Bにデータを送信する時には、送信情報
記憶装置3に記憶されているデータ数にて通信を行う。
When the retry is successful, the number of data at that time and the destination ID are stored in the transmission information storage device 3 in association with each other, and the next time data is transmitted to the device B, the data is stored in the transmission information storage device 3. Communication is performed with the number of data that exists.

【0021】図2は、本発明の一実施例の処理フローを
示す流れ図である。図1及び図2を参照して、本発明の
一実施例の動作について説明する。
FIG. 2 is a flowchart showing the processing flow of one embodiment of the present invention. The operation of one embodiment of the present invention will be described with reference to FIGS.

【0022】最初の送信前、送信情報記憶装置3に、送
信先IDと対応したデータ数が記憶されているか否か調
べる(ステップA1)。
Before the first transmission, it is checked whether or not the number of data corresponding to the transmission destination ID is stored in the transmission information storage device 3 (step A1).

【0023】送信情報記憶装置3にデータ数が記憶され
ている場合、記憶されているデータ数は前回送信で成功
したものであるため、データ数にて装置Bに送信する
(ステップA2)。
When the number of data is stored in the transmission information storage device 3, since the number of stored data has been successful in the previous transmission, the data is transmitted to the device B by the number of data (step A2).

【0024】一方、送信情報記憶装置3にデータ数が記
憶されていない場合、データ数として、予め設定された
値N1バイトを用いて送信する(ステップA3)。
On the other hand, if the number of data is not stored in the transmission information storage device 3, the data is transmitted using a predetermined value N1 bytes as the number of data (step A3).

【0025】次に、通信エラーが発生したか否かを判断
する(ステップA4)。
Next, it is determined whether a communication error has occurred (step A4).

【0026】通信エラーが発生したとき、N2バイト
(N2<N1)に送信バイト数を減らして、再送信する
(ステップA5およびA6)。
When a communication error occurs, the number of transmission bytes is reduced to N2 bytes (N2 <N1), and retransmission is performed (steps A5 and A6).

【0027】さらに、通信エラーが発生したか否かを判
断する(ステップA7)。
Further, it is determined whether or not a communication error has occurred (step A7).

【0028】通信エラーが発生したとき、N2バイトか
らさらにN3バイト(N3<N2)に送信バイト数を減
らして、再送信する(ステップA8およびA9)。
When a communication error occurs, the number of transmission bytes is further reduced from N2 bytes to N3 bytes (N3 <N2), and retransmission is performed (steps A8 and A9).

【0029】一方、ステップA4において、通信エラー
が発生しなかった場合、データ数N1バイトと送信先I
Dとを関連付けて送信情報記憶装置3に記憶する(ステ
ップA10)。
On the other hand, if no communication error occurs in step A4, the data number N1 bytes and the transmission destination I
D is stored in the transmission information storage device 3 in association with D (step A10).

【0030】ステップA5において、通信エラーが発生
しなかった場合、データ数N2バイトと送信先IDとを
関連付けて送信状記憶装置3に記憶する(ステップA1
1)。
If no communication error has occurred in step A5, the number of data N2 bytes and the transmission destination ID are stored in the transmission cover memory 3 in association with each other (step A1).
1).

【0031】上記した処理手順により、次回からの送信
では、前回送信が成功したデータ数を用いて、装置Bに
データを送信することができる。
According to the above-described processing procedure, in the next transmission, data can be transmitted to the device B by using the number of data that was successfully transmitted last time.

【0032】図2に示した流れ図では、説明の都合で、
再送信回数を2回としているが、これに限定されるもの
でなく、本発明は再送信回数について制限するものでは
ない。また、図1には、装置数は、送信側1台、受信側
1台の場合について示されているが、送信側、受信側の
装置数に制限はない。
In the flowchart shown in FIG. 2, for convenience of explanation,
Although the number of retransmissions is two, the present invention is not limited to this, and the present invention does not limit the number of retransmissions. FIG. 1 shows the number of devices on one transmitting side and one receiving side, but the number of devices on the transmitting side and the receiving side is not limited.

【0033】次に本発明の第2の実施例について説明す
る。図3は、本発明の第2の実施例の構成を示す図であ
る。図3を参照すると、本発明の第2の実施例は、図1
に示した前記実施例におけるデータ処理装置2のデータ
数調整手段21に加えて、送信間隔調整手段22を備え
ている。
Next, a second embodiment of the present invention will be described. FIG. 3 is a diagram showing the configuration of the second embodiment of the present invention. Referring to FIG. 3, a second embodiment of the present invention is shown in FIG.
A transmission interval adjusting unit 22 is provided in addition to the data number adjusting unit 21 of the data processing device 2 in the above-described embodiment.

【0034】送信間隔調整手段22は、通信エラーが検
出されると、一定時間待機して、再送信を行う。
When a communication error is detected, the transmission interval adjusting means 22 waits for a certain period of time and performs retransmission.

【0035】図4は、本発明の第2の実施例の処理フロ
ーを示す流れ図である。図3及び図4を参照して、本発
明の第2の実施例の動作について説明する。
FIG. 4 is a flowchart showing the processing flow of the second embodiment of the present invention. The operation of the second embodiment of the present invention will be described with reference to FIGS.

【0036】図4において、ステップA3−ステップA
11で示した処理手順は、図2のステップA3−ステッ
プA11に示した前記実施例におけるデータ数調整手段
21に処理と同一であるため、説明は省略する。
In FIG. 4, step A3-step A
The processing procedure denoted by reference numeral 11 is the same as the processing performed by the data number adjusting means 21 in the embodiment shown in step A3 to step A11 in FIG.

【0037】最初の送信前、送信情報記憶装置3に、送
信先IDと対応したデータ数が記憶されているか調べる
(ステップA1)。送信情報記憶装置3にデータ数が記
憶されているとき、そのデータ数を使って送信する(ス
テップA2)。
Before the first transmission, it is checked whether the number of data corresponding to the transmission destination ID is stored in the transmission information storage device 3 (step A1). When the number of data is stored in the transmission information storage device 3, the data is transmitted using the number of data (step A2).

【0038】次に、通信エラー発生を判断する(ステッ
プA12)。通信エラーが発生したとき、一定時間待機
した後、再送信を行う(ステップA13、A14)。
Next, it is determined whether a communication error has occurred (step A12). When a communication error occurs, retransmission is performed after waiting for a predetermined time (steps A13 and A14).

【0039】本発明の第2の実施例では、受信側の処理
能力が送信側の処理能力よりも劣る場合、受信バッファ
のオーバーフローにより発生する通信エラーに対して、
送信間隔調整手段22において、ステップA1、A2、
A12−A14の処理を行うことにより、通信エラーを
回避することができる。これにより通信の信頼性は、更
に向上する。
In the second embodiment of the present invention, when the processing capability of the receiving side is inferior to the processing capability of the transmitting side, a communication error caused by overflow of the receiving buffer can be reduced.
In the transmission interval adjusting means 22, steps A1, A2,
By performing the processing of A12-A14, a communication error can be avoided. Thereby, the reliability of communication is further improved.

【0040】また、通信エラーが発生したために、最初
のデータ数よりも少なくして送信を行っているものにつ
いては、一定時間経過後に、最初のデータ数に戻して送
信する動作を追加してもよい。
In the case where the transmission is performed with the number of data smaller than the initial number of data due to the occurrence of a communication error, the operation of returning to the initial number of data and transmitting the data after the elapse of a predetermined time may be added. Good.

【0041】更に、本実施例では、通信エラー発生毎
に、送信データのデータ数を、N1>N2>N3と順次
減らしているが、データ数を減らす処理は、この方法に
限定されるものでなく、逐次方式による動作を追加して
もよい。
Furthermore, in this embodiment, the number of transmission data is sequentially reduced to N1>N2> N3 every time a communication error occurs. However, the process of reducing the number of data is limited to this method. Instead, an operation by a sequential method may be added.

【0042】また図4では、単に説明の都合で、送信間
隔調整手段22において、再送信回数を1回としている
が、再送信回数に特に制限はない。
In FIG. 4, the number of retransmissions is set to one in the transmission interval adjusting means 22 for convenience of explanation, but the number of retransmissions is not particularly limited.

【0043】[0043]

【発明の効果】以上説明したように、本発明によれば下
記記載の効果を奏する。
As described above, according to the present invention, the following effects can be obtained.

【0044】本発明の第1の効果は、データ送信に際し
て、送信バッファと受信バッファのサイズの違いや、受
信側と送信側との処理能力の違いを考慮することなく送
信することができ、通信の信頼性を向上することができ
る、ということである。
The first effect of the present invention is that data can be transmitted without considering the difference between the sizes of the transmission buffer and the reception buffer and the difference in the processing capability between the reception side and the transmission side. The reliability can be improved.

【0045】その理由は、本発明においては、通信エラ
ー発生時に、リトライ送信時、前回よりも送信サイズを
小さくして送信し、送信が成功したときに、その送信先
ID(送信先アドレスや装置識別子など)と送信データ
数を関連付けて送信情報記憶装置に記憶しておくことに
より、次回の送信からは、前回成功したデータ数を用い
て送信を行う、ことができるためである。上記した理由
と同様の理由で、本発明はさらに以下の効果を奏する。
The reason for this is that, in the present invention, when a communication error occurs, during retry transmission, transmission is performed with a transmission size smaller than the previous transmission, and when transmission is successful, the transmission destination ID (transmission destination address or device) is transmitted. This is because by storing the transmission data storage device in association with the transmission data number in the transmission information storage device, the next transmission can be performed using the previously successful data number. For the same reasons as described above, the present invention has the following effects.

【0046】本発明の第2の効果として、従来、送信側
と受信側で装置情報(バッファのサイズや処理能力)を
双方で確認して、データの送信を行っていたが、本発明
においては、装置情報にエラーがあるためデータ送信時
通信エラーが発生した場合でも、送信側と受信側で送信
可能なデータ数が決定されるため、以降の通信エラーの
を回避することができる。
As a second effect of the present invention, conventionally, data transmission is performed by confirming device information (buffer size and processing capacity) on both the transmitting side and the receiving side. Even if a communication error occurs during data transmission due to an error in the device information, the number of data that can be transmitted between the transmitting side and the receiving side is determined, so that subsequent communication errors can be avoided.

【0047】本発明の第3の効果として、送信側は、予
め受信側のバッファ・サイズやデータ処理能力情報を取
得するか、もしくは双方で取り決めることを不要として
おり、受信側の装置を簡略化することができる、という
ことである。
As a third effect of the present invention, the transmitting side does not need to acquire the buffer size and data processing capability information of the receiving side in advance, or to negotiate with both sides, thereby simplifying the apparatus on the receiving side. That you can do it.

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

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明の一実施例の処理フローを示す流れ図で
ある。
FIG. 2 is a flowchart showing a processing flow of an embodiment of the present invention.

【図3】本発明の別の実施例の構成を示すブロック図で
ある。
FIG. 3 is a block diagram showing a configuration of another embodiment of the present invention.

【図4】本発明の別の実施例の処理フローを示す流れ図
である。
FIG. 4 is a flowchart showing a processing flow of another embodiment of the present invention.

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

A 装置(データ送信側) B 装置(データ受信側) 1 送信バッファ 2 データ処理装置 21 データ数調整手段 22 送信間隔調整手段 3 送信情報記憶装置 4 受信バッファ A device (data transmission side) B device (data reception side) 1 transmission buffer 2 data processing device 21 data number adjustment means 22 transmission interval adjustment means 3 transmission information storage device 4 reception buffer

フロントページの続き (72)発明者 楠原 孝良 神奈川県川崎市中原区小杉町一丁目403番 53 日本電気アイシーマイコンシステム株 式会社内 Fターム(参考) 5B083 AA08 BB03 CD06 CE01 DD13 EE14 GG04 5K034 AA05 AA11 CC01 DD01 HH09 HH11 HH23 HH37 HH50 HH56 MM03 MM12 Continuation of the front page (72) Inventor Takara Kusuhara 1-403, Kosugi-cho, Nakahara-ku, Kawasaki-shi, Kanagawa Prefecture 53 F-term in NEC Ic Microcomputer System Co., Ltd. 5B083 AA08 BB03 CD06 CE01 DD13 EE14 GG04 5K034 AA05 AA11 CC01 DD01 HH09 HH11 HH23 HH37 HH50 HH56 MM03 MM12

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】送信相手先へのデータを送信するに際し
て、通信エラー発生によるリトライ送信時、前記通信エ
ラー発生時のデータ量よりも少ないデータ量でデータ送
信し、リトライ送信においてデータ送信が成功した時
に、前記データ送信が成功した際のデータ量と送信相手
先情報とを互いに関連付けて記憶手段に記憶しておき、
次回、前記送信相手先に対してデータ送信を行う場合、
前記記憶手段に記憶されたデータ量にて送信するように
制御する、ことを特徴とするデータ転送方法。
When transmitting data to a transmission destination, at the time of retry transmission due to occurrence of a communication error, data transmission is performed with a data amount smaller than the data amount at the time of occurrence of the communication error, and the data transmission succeeds in the retry transmission. Sometimes, the data amount and the transmission destination information when the data transmission is successful are stored in the storage unit in association with each other,
Next time, when performing data transmission to the transmission destination,
A data transfer method, wherein control is performed so as to transmit at a data amount stored in the storage means.
【請求項2】前記送信相手先に対してデータ送信を行う
場合、前記記憶手段に記憶されたデータ量にて送信した
際に、通信エラー発生によるリトライ送信時、所定時間
待機した後、再送信するように制御する、ことを特徴と
する請求項1記載のデータ転送方法。
2. When data is transmitted to the transmission destination, when transmission is performed with the amount of data stored in the storage means, a retry transmission is performed after a predetermined time waits for retry transmission due to a communication error. 2. The data transfer method according to claim 1, wherein the data transfer is performed.
【請求項3】送信側装置が、送信バッファに格納された
送信データを受信側装置へ送信する際、通信エラーを検
出によるリトライ送信時、前記通信エラー発生時のデー
タ量よりも少ないデータ量でデータ送信し、リトライ送
信において前記受信側装置へのデータ送信が成功した場
合、前記データ送信が成功した際のデータ量と前記受信
側装置の識別情報とを互いに関連付けて記憶手段に記憶
し、次回、前記受信側装置と同一の装置に対してデータ
送信を行う場合、前記記憶手段に記憶されたデータ量に
て送信するように制御する手段を備えたことを特徴とす
るデータ転送制御システム。
3. When the transmitting device transmits the transmission data stored in the transmission buffer to the receiving device, a retry transmission upon detecting a communication error requires a smaller data amount than the data amount at the time of the communication error occurrence. When the data transmission and the data transmission to the receiving device are successful in the retry transmission, the data amount when the data transmission is successful and the identification information of the receiving device are stored in the storage unit in association with each other, and A data transfer control system for transmitting data to the same device as the reception-side device, the data being transmitted to the same device as the reception-side device.
【請求項4】前記送信側装置が、次回、前記受信側装置
と同一装置に対してデータ送信を行う場合、前記記憶手
段に記憶されたデータ量にて送信した際に、通信エラー
発生によるリトライ送信時の、送信時間間隔を調整する
手段を備えたことを特徴とする請求項3記載のデータ転
送制御システム。
4. When the transmitting device transmits data next time to the same device as the receiving device, when the transmitting device transmits data with the data amount stored in the storage means, a retry due to a communication error occurs. 4. The data transfer control system according to claim 3, further comprising means for adjusting a transmission time interval during transmission.
【請求項5】前記送信側装置と前記受信側装置とがシリ
アルバスにて相互に接続されている、ことを特徴とする
請求項4記載のデータ転送制御システム。
5. The data transfer control system according to claim 4, wherein said transmission side device and said reception side device are mutually connected by a serial bus.
【請求項6】IEEE1394シリアルバスに接続する
各ノードが、請求項4又は5記載の前記送信側装置と前
記受信側装置から構成されていることを特徴とする請求
項4記載のデータ転送システム。
6. A data transfer system according to claim 4, wherein each node connected to the IEEE 1394 serial bus comprises the transmitting device and the receiving device according to claim 4 or 5.
【請求項7】送信相手先へのデータを送信する際、通信
エラー発生によるリトライ送信時、前記通信エラー発生
時のデータ量よりも少ないデータ量で送信し、リトライ
送信においてデータ送信が成功した時に、前記データ送
信が成功した際のデータ量と送信相手先とを互いに関連
付けて記憶手段に記憶しておき、次回、前記送信相手先
に対してデータ送信を行う場合、前記記憶手段に記憶さ
れたデータ量にて送信するように制御する手段を備えた
ことを特徴とする通信エラー自動修復装置。
7. When transmitting data to a transmission destination, when retrying transmission due to occurrence of a communication error, transmitting data with a data amount smaller than the data amount at the time of occurrence of the communication error, and when data transmission is successful in the retry transmission. When the data transmission is successful, the data amount and the transmission destination are stored in the storage unit in association with each other, and when the data is transmitted to the transmission destination next time, the data amount is stored in the storage unit. An automatic communication error repair apparatus, comprising: means for controlling transmission in a data amount.
【請求項8】(a)送信データを送信先へ送信する際、
送信情報記憶装置に送信先IDに対応するデータ量が格
納するか否か判定する処理、 (b)前記送信情報記憶装置に前記送信先IDに対応す
るデータ量が存在しない場合、所定のデータ量で前記送
信データを前記送信先へ送信する処理 (c)通信エラーを検出によるリトライ送信時、前記通
信エラー発生時の前記データ量よりも少ないデータ量で
送信し、リトライ送信において前記送信先へのデータ送
信が成功した場合、前記データ送信が成功した際のデー
タ量と前記送信先IDとを互いに関連付けて前記送信情
報記憶装置に記憶する処理、及び、 (d)前記送信情報記憶装置に前記送信先IDに対応す
るデータ量が存在する場合、前記送信情報記憶装置に記
憶された前記データ量で前記送信データを前記送信先へ
送信する処理、 の上記(a)〜(d)の各処理をデータ処理装置で実行
させるためのプログラムを記録した記録媒体。
8. (a) When transmitting transmission data to a transmission destination,
A process of determining whether or not a data amount corresponding to the destination ID is stored in the transmission information storage device; (b) a predetermined data amount when the data amount corresponding to the transmission destination ID does not exist in the transmission information storage device; (C) transmitting the transmission data to the destination at the time of retry transmission by detecting a communication error, transmitting the transmission data with a data amount smaller than the data amount at the time of the communication error occurrence, When the data transmission is successful, a process in which the data amount at the time of the successful data transmission and the transmission destination ID are associated with each other and stored in the transmission information storage device; and (d) the transmission to the transmission information storage device is performed. When the data amount corresponding to the destination ID exists, transmitting the transmission data to the transmission destination with the data amount stored in the transmission information storage device. A recording medium on which a program for causing the data processing device to execute each of the processes (a) to (d) is recorded.
【請求項9】(a)送信データを送信先へ送信する際、
送信情報記憶装置に送信先IDに対応するデータ量が格
納するか否か判定する処理、 (b)前記送信情報記憶装置に前記送信先IDに対応す
るデータ量が存在しない場合、所定のデータ量で前記送
信データを前記送信先へ送信する処理、 (c)通信エラーを検出によるリトライ送信時、前記通
信エラー発生時の前記データ量よりも少ないデータ量で
送信し、リトライ送信において前記送信先へのデータ送
信が成功した場合、前記データ送信が成功した際のデー
タ量と前記送信先IDとを互いに関連付けて前記送信情
報記憶装置に記憶する処理、 (d)前記送信情報記憶装置に前記送信先IDに対応す
るデータ量が存在する場合、前記送信情報記憶装置に記
憶された前記データ量で前記送信データを前記送信先へ
送信する処理、及び、 (e)前記送信情報記憶装置に前記送信先IDに対応す
るデータ量が存在する場合、前記送信情報記憶装置に記
憶された前記データ量で前記送信データを前記送信先へ
送信した際に、通信エラー発生によるリトライ時、リト
ライ送信の送信時間間隔を調整する処理、 の上記(a)〜(e)の各処理をデータ処理装置で実行
させるためのプログラムを記録した記録媒体。
(9) When transmitting transmission data to a transmission destination,
A process of determining whether or not a data amount corresponding to the destination ID is stored in the transmission information storage device; (b) a predetermined data amount when the data amount corresponding to the destination ID does not exist in the transmission information storage device; Transmitting the transmission data to the transmission destination in the step (c), when retry transmission is performed by detecting a communication error, the transmission data is transmitted with a smaller data amount than the data amount when the communication error occurs, and the retry transmission is performed to the transmission destination. If the data transmission is successful, the data amount when the data transmission is successful and the transmission destination ID are associated with each other and stored in the transmission information storage device. (D) The transmission destination is stored in the transmission information storage device. When there is a data amount corresponding to the ID, a process of transmitting the transmission data to the transmission destination with the data amount stored in the transmission information storage device; and (e) If the data amount corresponding to the transmission destination ID exists in the transmission information storage device, when the transmission data is transmitted to the transmission destination with the data amount stored in the transmission information storage device, a communication error occurs. A recording medium for recording a program for causing a data processing device to execute the above-described processes (a) to (e) in a process of adjusting a transmission time interval of retry transmission at the time of retry.
JP28069398A 1998-10-02 1998-10-02 Automatic communication error recovery system Expired - Fee Related JP3190895B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28069398A JP3190895B2 (en) 1998-10-02 1998-10-02 Automatic communication error recovery system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28069398A JP3190895B2 (en) 1998-10-02 1998-10-02 Automatic communication error recovery system

Publications (2)

Publication Number Publication Date
JP2000115258A true JP2000115258A (en) 2000-04-21
JP3190895B2 JP3190895B2 (en) 2001-07-23

Family

ID=17628639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28069398A Expired - Fee Related JP3190895B2 (en) 1998-10-02 1998-10-02 Automatic communication error recovery system

Country Status (1)

Country Link
JP (1) JP3190895B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005057400A1 (en) * 2003-12-09 2005-06-23 Matsushita Electric Industrial Co., Ltd. Electronic device, control method thereof, host device, and control method thereof
US7286541B2 (en) 2001-12-18 2007-10-23 Samsung Electronics Co., Ltd. Wireless communication apparatus capable of improving connection rate
JP2010191569A (en) * 2009-02-17 2010-09-02 Nec Computertechno Ltd Data transfer system and retry control method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101570186B1 (en) 2015-06-16 2015-11-18 주식회사 이지오인터내셔날 A warm jacket having pocket for hot pack

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7286541B2 (en) 2001-12-18 2007-10-23 Samsung Electronics Co., Ltd. Wireless communication apparatus capable of improving connection rate
WO2005057400A1 (en) * 2003-12-09 2005-06-23 Matsushita Electric Industrial Co., Ltd. Electronic device, control method thereof, host device, and control method thereof
US7774508B2 (en) 2003-12-09 2010-08-10 Panasonic Corporation Electronic apparatus, control method thereof, host device, and control method thereof
JP2010191569A (en) * 2009-02-17 2010-09-02 Nec Computertechno Ltd Data transfer system and retry control method

Also Published As

Publication number Publication date
JP3190895B2 (en) 2001-07-23

Similar Documents

Publication Publication Date Title
US7710973B2 (en) Error masking for data transmission using received data
US5777987A (en) Method and apparatus for using multiple FIFOs to improve flow control and routing in a communications receiver
US6393023B1 (en) System and method for acknowledging receipt of messages within a packet based communication network
US5721955A (en) System for transferring portion of data to host from buffer if size of packet is greater than first threshold value but less than second threshold value
US7523378B2 (en) Techniques to determine integrity of information
US8166227B2 (en) Apparatus for processing peripheral component interconnect express protocol
JPS604624B2 (en) System for retransmitting incorrect information frames
US6483845B1 (en) Packet transmitter-receiver and packet receiver
US6366968B1 (en) Physical write packets processing when posted write error queue is full, with posted write error queue storing physical write requests when posted write packet fails
EP1124362A2 (en) Apparatus for processing TCP/IP by hardware, and operating method therefor
US7817572B2 (en) Communications apparatus and communication method
US6862283B2 (en) Method and apparatus for maintaining packet ordering with error recovery among multiple outstanding packets between two devices
JP3190895B2 (en) Automatic communication error recovery system
JP4271787B2 (en) Communications system
JP5459308B2 (en) Data transfer apparatus and data transfer apparatus control method
JP2012064090A (en) Information processor, information processing system, and communication method of information processing system
US20010018732A1 (en) Parallel processor and parallel processing method
JPH1117710A (en) Serial interface circuit
JP5334173B2 (en) Data transfer system and retry control method
JPH11215185A (en) Device and method for transmitting data
JP2004128786A (en) Packet retransmission controlling apparatus
JP4239482B2 (en) Data transfer system, LSI and data transfer method
JP2002281034A (en) Information transfer device
JP3837843B2 (en) Serial interface circuit
JP2000244530A (en) Data communication equipment

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010501

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090518

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090518

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100518

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100518

Year of fee payment: 9

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20100518

Year of fee payment: 9

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20100518

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110518

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120518

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120518

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130518

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees