JP3525867B2 - Communication device and communication terminal - Google Patents

Communication device and communication terminal

Info

Publication number
JP3525867B2
JP3525867B2 JP2000206548A JP2000206548A JP3525867B2 JP 3525867 B2 JP3525867 B2 JP 3525867B2 JP 2000206548 A JP2000206548 A JP 2000206548A JP 2000206548 A JP2000206548 A JP 2000206548A JP 3525867 B2 JP3525867 B2 JP 3525867B2
Authority
JP
Japan
Prior art keywords
terminal
data
capacity
receiving
communication
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
JP2000206548A
Other languages
Japanese (ja)
Other versions
JP2002026968A (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.)
NEC Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP2000206548A priority Critical patent/JP3525867B2/en
Publication of JP2002026968A publication Critical patent/JP2002026968A/en
Application granted granted Critical
Publication of JP3525867B2 publication Critical patent/JP3525867B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は通信装置および通信
端末に関し、特に受信可能なデータ容量を受信端末から
送信端末に通知する通信装置および通信端末に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication device and a communication terminal, and more particularly to a communication device and a communication terminal that notify a receivable data capacity from a receiving terminal to a transmitting terminal.

【0002】[0002]

【従来の技術】従来の通信装置の例として、特開平9−
135270号公報に記載されている通信システムに係
る発明には、パケット通信における下記の技術が開示さ
れている。送信端末から受信端末に、受信端末が受信可
能なパケット数を問い合わせる問い合わせパケットを送
信する。問い合わせパケット受信を契機として、受信端
末が送信端末に、その時点において受信可能なパケット
数を通知する応答パケットを送信する。送信端末は、応
答パケットを受信すると、受信端末に、応答パケットに
よって通知されたパケット数だけ情報パケットを送信す
る。
2. Description of the Related Art As an example of a conventional communication device, Japanese Patent Laid-Open No. 9-
The invention relating to the communication system described in Japanese Patent No. 135270 discloses the following technique in packet communication. An inquiry packet for inquiring the number of packets that the receiving terminal can receive is transmitted from the transmitting terminal to the receiving terminal. Upon reception of the inquiry packet, the receiving terminal transmits to the transmitting terminal a response packet for notifying the number of receivable packets at that time. When the sending terminal receives the response packet, the sending terminal sends the receiving terminal as many information packets as the number of packets notified by the reply packet.

【0003】[0003]

【発明が解決しようとする課題】上記公報に示された技
術では、送信端末は、応答パケットに示されたと同数の
情報パケットを送信端末から受信端末に送信し終わる
と、問い合わせパケットを受信端末に送信する必要があ
る。
In the technique disclosed in the above publication, when the transmitting terminal finishes transmitting the same number of information packets as shown in the response packet from the transmitting terminal to the receiving terminal, it sends an inquiry packet to the receiving terminal. Need to send.

【0004】このため、送信端末は、問い合わせパケッ
トを送信してから応答パケットを受信するまで、次の情
報パケットを送信することができない。したがって、パ
ケット通信処理のスループットが低いという問題点があ
る。
Therefore, the transmitting terminal cannot transmit the next information packet after transmitting the inquiry packet until receiving the response packet. Therefore, there is a problem that the throughput of packet communication processing is low.

【0005】このような点に鑑み本発明は、高いスルー
プットでデータ通信を行う通信装置および通信端末を提
供することを目的とする。
In view of the above points, an object of the present invention is to provide a communication device and a communication terminal that perform data communication with high throughput.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明の第1の観点に係る通信装置は、複数の端末
(10,20)と、前記複数の端末を接続する回線(3
0)とを備え、前記回線を介して前記複数の端末間でデ
ータ通信を行う通信装置であって、前記複数の端末は、
少なくとも1つの送信端末(10)と、少なくとも1つ
の受信端末(20)と、を備え、前記受信端末は、当該
受信端末が決定するタイミングで、受信可能なデータ容
量を示す情報を、前記送信端末のうち所望の送信端末に
通知し、当該通知を行った後、当該通知における前記デ
ータ容量に従って定められた時間を経過した時点で、次
の通知を行い、前記送信端末は、前記受信端末から通知
された前記データ容量を示す情報に従った容量のデータ
を、通知を行った前記受信端末に送信する、ことを特徴
とする。
In order to achieve the above object, a communication device according to a first aspect of the present invention comprises a plurality of terminals (10, 20) and a line (3) connecting the plurality of terminals.
0) and performing data communication between the plurality of terminals via the line, wherein the plurality of terminals include:
At least one transmitting terminal (10) and at least one receiving terminal (20) are provided, and the receiving terminal transmits the information indicating the receivable data capacity at the timing determined by the receiving terminal. notify desired transmission terminal, after the notification, the at the notification de of
When the time determined according to the data capacity has elapsed,
And the transmitting terminal transmits data of a capacity according to the information indicating the data capacity notified from the receiving terminal, to the receiving terminal that has notified.

【0007】[0007]

【0008】上記本発明の通信装置は、前記受信端末
が、データ格納手段(222)と、データ処理手段(2
1)と、容量計測手段(223)と、周期格納手段と、
通知タイミング決定手段(224)と、容量通知手段
(224,225)と、を備えることができる。そし
て、前記データ格納手段は、前記送信端末から受信した
データを格納することができ、前記データ処理手段は、
前記データ格納手段に格納されているデータを取得して
所定の処理を行うことができ、前記容量計測手段は、前
記データ格納手段に格納されているデータの容量に従っ
て、当該受信端末が受信可能なデータ容量を求めること
ができ、前記周期格納手段は、送信端末に通知するデー
タ容量に対応する複数の周期のデータが格納されてお
り、前記通知タイミング決定手段は、従前に通知された
データ容量に対応する周期のデータを前記周期格納手段
から取得し、当該周期を通知タイミングとして決定する
ことができ、前記容量通知手段は、前記通知タイミング
で、前記容量計測手段によって求められた前記データ容
量を示す情報を前記送信端末に通知することができる。
In the communication device of the present invention, the receiving terminal has a data storage means (222) and a data processing means (2).
1), a capacity measuring means (223), a cycle storing means,
A notification timing determination means (224) and a capacity notification means (224, 225) can be provided. And the data storage means can store the data received from the transmission terminal, and the data processing means,
The data stored in the data storage means can be acquired and a predetermined process can be performed, and the capacity measurement means can be received by the receiving terminal according to the capacity of the data stored in the data storage means. The data capacity can be obtained, and the cycle storage means notifies the data to the sending terminal.
Data of multiple cycles corresponding to the data capacity is stored.
The notification timing determination means has been previously notified.
The period data corresponding to the data capacity is stored in the period storage means.
And notify the relevant cycle as the notification timing.
The capacity notifying means can notify the transmitting terminal of the information indicating the data capacity obtained by the capacity measuring means at the notification timing.

【0009】[0009]

【0010】このように、本発明の第1の観点に係る通
信装置は、受信端末が決定するタイミングごとに、受信
端末が受信可能なデータ容量を送信端末に通知するの
で、送信端末から送信可能なデータ容量を受信端末に問
い合わせることなく、効率良くデータ通信を行うことが
できる。また、受信端末が受信可能なデータ容量の範囲
内で送信端末からデータを送信するので、受信時にデー
タが破棄されることなく、確実にデータ通信を行うこと
ができる。
As described above, the communication apparatus according to the first aspect of the present invention notifies the transmitting terminal of the data capacity that the receiving terminal can receive at each timing determined by the receiving terminal, so that the transmitting terminal can transmit. It is possible to efficiently perform data communication without inquiring the receiving terminal of a large data capacity. In addition, since data is transmitted from the transmitting terminal within the range of the data capacity that can be received by the receiving terminal, data communication can be reliably performed without discarding the data at the time of reception.

【0011】上記目的を達成するために、本発明の第2
の観点に係る通信装置は、複数の端末と、前記複数の端
末を接続する回線とを備え、前記回線を介して前記複数
の端末間でデータ通信を行う通信装置であって、前記複
数の端末は、少なくとも1つの送受信端末(40)を備
え、前記送受信端末は、他の端末から通知された前記他
の端末が受信可能なデータ容量を示す情報および他の端
末から送信されたデータを受信する受信手段(222,
42)と、前記受信手段が前記データ容量を示す情報を
受信したか前記データを受信したかを判断する受信判別
手段(43)と、前記受信判別手段が、前記受信手段が
前記データ容量を示す情報を受信したと判断した場合に
は、前記データ容量を示す情報に従った容量のデータ
を、通知を行った前記端末に送信する送信手段(12
1,122,124,41)と、前記受信判別手段が、
前記受信手段が前記データを受信したと判断した場合に
は、受信した前記データの容量に基づいて、当該端末が
受信可能なデータ容量を求める計測手段(223)と、
当該端末が従前に他の端末に通知したデータ容量に対応
する周期で、前記計測手段によって求められた前記デー
タ容量を示す情報を、他の端末に通知する通知手段(2
24,41)と、を備える、ことを特徴とする。
In order to achieve the above object, the second aspect of the present invention
The communication device according to the aspect is a communication device including a plurality of terminals and a line connecting the plurality of terminals, and performing data communication between the plurality of terminals via the line, wherein the plurality of terminals Includes at least one transmission / reception terminal (40), and the transmission / reception terminal receives information indicating the data capacity receivable from the other terminal and data transmitted from the other terminal. Receiving means (222,
42), a reception determination means (43) for determining whether the reception means has received the information indicating the data capacity or the data, and the reception determination means causes the reception means to indicate the data capacity. When it is determined that the information has been received, the transmitting means (12) for transmitting the data having the capacity according to the information indicating the data capacity to the notified terminal.
1, 122, 124, 41) and the reception determination means,
When the receiving means determines that the data has been received, a measuring means (223) for obtaining a data capacity that can be received by the terminal based on the capacity of the received data,
Corresponds to the data capacity that the terminal previously notified to other terminals
The notification means (2) for notifying other terminals of the information indicating the data capacity obtained by the measuring means at a predetermined cycle.
24, 41).

【0012】このように、本発明の第2の観点に係る通
信装置は、送信端末の機能と受信端末の機能との両方の
機能を持つ送受信端末を用いてデータ通信を行うので、
送信端末と受信端末とを区別することなく、1種類の端
末を複数備えることで、データ通信を行うことができ
る。
As described above, the communication device according to the second aspect of the present invention performs data communication by using the transmitting / receiving terminal having both the function of the transmitting terminal and the function of the receiving terminal.
Data communication can be performed by providing a plurality of one type of terminal without distinguishing between the transmitting terminal and the receiving terminal.

【0013】上記目的を達成するために、本発明の第3
の観点に係る通信端末は、回線を介して、他の通信端末
と接続されている通信端末であって、他の通信端末から
通知された前記他の通信端末が受信可能なデータ容量を
示す情報および他の通信端末から送信されたデータを受
信する受信手段と、前記受信手段が前記データ容量を示
す情報を受信したか前記データを受信したかを判断する
受信判別手段と、前記受信判別手段が、前記受信手段が
前記データ容量を示す情報を受信したと判断した場合に
は、前記データ容量を示す情報に従った容量のデータ
を、通知を行った前記通信端末に送信する送信手段と、
前記受信判別手段が、前記受信手段が前記データを受信
したと判断した場合には、受信した前記データの容量に
基づいて、当該通信端末が受信可能なデータ容量を求め
る計測手段と、当該端末が従前に他の端末に通知したデ
ータ容量に対応する周期で、前記計測手段によって求め
られた前記データ容量を示す情報を、他の通信端末に通
知する通知手段と、を備える、ことを特徴とする。
In order to achieve the above object, the third aspect of the present invention
Is a communication terminal connected to another communication terminal via a line, the information indicating the data capacity receivable by the other communication terminal notified from the other communication terminal. And a receiving unit that receives data transmitted from another communication terminal, a receiving determining unit that determines whether the receiving unit receives the information indicating the data capacity or receives the data, and the receiving determining unit. When the receiving unit determines that the information indicating the data amount has been received, the transmitting unit that transmits the data of the amount according to the information indicating the data amount to the communication terminal that has sent the notification,
When the reception determination means determines that the reception means has received the data, the reception means determines the data capacity that the communication terminal can receive based on the capacity of the received data, and the terminal. If you have previously notified other terminals,
And a notification means for notifying other communication terminals of the information indicating the data capacity obtained by the measuring means in a cycle corresponding to the data capacity.

【0014】[0014]

【発明の実施の形態】以下に、本発明に係る通信装置お
よび通信端末の実施の形態を、図面を用いて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of a communication device and a communication terminal according to the present invention will be described below with reference to the drawings.

【0015】図1は、本発明の一実施の形態における通
信装置および通信端末を示すブロック図である。送信端
末10は、上位レイヤ処理部11と通信処理部12とを
備えている。受信端末20は、上位レイヤ処理部21と
通信処理部22とを備えている。送信端末10の通信処
理部12と受信端末20の通信処理部22とは、通信回
線30で接続されている。上位レイヤ処理部11および
上位レイヤ処理部21は、CPU、メモリ等で構成さ
れ、通信処理アプリケーションソフトウェアによって動
作する。通信処理部12および通信処理部22は、通信
回線30のプロトコルに従って通信処理を行う。
FIG. 1 is a block diagram showing a communication device and a communication terminal according to an embodiment of the present invention. The transmission terminal 10 includes an upper layer processing unit 11 and a communication processing unit 12. The receiving terminal 20 includes an upper layer processing unit 21 and a communication processing unit 22. The communication processing unit 12 of the transmitting terminal 10 and the communication processing unit 22 of the receiving terminal 20 are connected by a communication line 30. The upper layer processing unit 11 and the upper layer processing unit 21 are composed of a CPU, a memory and the like, and operate by communication processing application software. The communication processing unit 12 and the communication processing unit 22 perform communication processing according to the protocol of the communication line 30.

【0016】送信端末10から受信端末20へのデータ
通信を行うときには、送信端末10の上位レイヤ処理部
11内の送信データを、通信処理部12に転送してパケ
ット化する。通信処理部12は、パケット化したデータ
を、通信回線30を介して受信端末20の通信処理部2
2に送信する。受信端末20の上位レイヤ処理部21
は、通信処理部22が受信したパケットから受信データ
を取得する。
When performing data communication from the transmitting terminal 10 to the receiving terminal 20, the transmission data in the upper layer processing section 11 of the transmitting terminal 10 is transferred to the communication processing section 12 and packetized. The communication processing unit 12 transmits the packetized data to the communication processing unit 2 of the receiving terminal 20 via the communication line 30.
Send to 2. Upper layer processing unit 21 of receiving terminal 20
Acquires the reception data from the packet received by the communication processing unit 22.

【0017】送信端末10から受信端末20にパケット
を送信した後に、受信端末が情報パケットを受信したこ
とを送信端末に通知する送達確認を行うことによって、
情報パケットを破棄することなく、確実に送信すること
ができる。しかし、送達確認を待つ間は、送信端末は次
の情報パケットを送信することができない。
After transmitting a packet from the transmitting terminal 10 to the receiving terminal 20, by performing delivery confirmation notifying the transmitting terminal that the receiving terminal has received the information packet,
It is possible to reliably transmit the information packet without discarding it. However, while waiting for the delivery confirmation, the transmitting terminal cannot transmit the next information packet.

【0018】図2は、図1に示した通信処理部の詳細を
示すブロック図である。送信端末10の通信処理部12
は、送信パケット生成部121と、送信パケット制御部
122と、送信回線処理部123と、クレジット数格納
部124と、受信回線処理部125と、を備えている。
受信端末20の通信処理部22は、受信回線処理部22
1と、受信キュー222と、クレジット数カウンタ22
3と、クレジットパケット生成部224と、送信回線処
理部225と、を備えている。また、図2においては、
図1に示した通信回線30を、送信端末10の通信処理
部12から受信端末20の通信処理部22への送信を行
う通信回線301と、受信端末20の通信処理部22か
ら送信端末10の通信処理部12への送信を行う通信回
線302と、に分けて示している。
FIG. 2 is a block diagram showing details of the communication processing unit shown in FIG. Communication processing unit 12 of transmitting terminal 10
Includes a transmission packet generation unit 121, a transmission packet control unit 122, a transmission line processing unit 123, a credit amount storage unit 124, and a reception line processing unit 125.
The communication processing unit 22 of the receiving terminal 20 is the receiving line processing unit 22.
1, a reception queue 222, and a credit number counter 22
3, a credit packet generation unit 224, and a transmission line processing unit 225. In addition, in FIG.
The communication line 30 shown in FIG. 1 is used for transmission from the communication processing unit 12 of the transmitting terminal 10 to the communication processing unit 22 of the receiving terminal 20, and from the communication processing unit 22 of the receiving terminal 20 to the transmitting terminal 10. The communication line 302 for transmission to the communication processing unit 12 is shown separately.

【0019】送信端末10の通信処理部12について説
明する。受信回線処理部125は、受信端末20から所
定の周期で送信されるクレジット数通知パケットを、通
信回線302を介して受信し、クレジット数格納部12
4に転送する。クレジット数格納部124は、受信回線
処理部125から転送されたクレジット数通知パケット
を格納する。クレジット数通知パケットには、現時点で
受信端末20が受信可能な情報パケット数を示す情報
(以下、クレジット数と記述する)が搭載されている。
The communication processing unit 12 of the transmitting terminal 10 will be described. The receiving line processing unit 125 receives, via the communication line 302, the credit number notification packet transmitted from the receiving terminal 20 in a predetermined cycle, and the credit number storing unit 12
Transfer to 4. The credit number storage unit 124 stores the credit number notification packet transferred from the reception line processing unit 125. The credit number notification packet carries information indicating the number of information packets that can be received by the receiving terminal 20 at the present time (hereinafter referred to as the credit number).

【0020】送信パケット生成部121は、上位レイヤ
処理部11から転送された送信データをパケット化して
情報パケットを生成し、送信パケット制御部122に転
送する。
The transmission packet generation unit 121 packetizes the transmission data transferred from the upper layer processing unit 11 to generate an information packet, and transfers it to the transmission packet control unit 122.

【0021】送信パケット制御部122は、クレジット
数格納部124に格納されているクレジット数を取得
し、受信端末からの送達確認を待たずに送信端末10か
ら受信端末20に送信可能な情報パケット数を示す情報
(以下、アウトスタンディング数と記述する)として判
断する。アウトスタンディング数が“1”以上である場
合にのみ、受信端末20に情報パケットを送信すること
ができるので、送信パケット制御部122は、送信パケ
ット生成部121で生成された情報パケットを、受信端
末20に送信するために送信回線処理部123に転送す
る。
The transmission packet control unit 122 acquires the number of credits stored in the credit number storage unit 124, and the number of information packets that can be transmitted from the transmission terminal 10 to the reception terminal 20 without waiting for delivery confirmation from the reception terminal. (Hereinafter referred to as the outstanding number). Since the information packet can be transmitted to the receiving terminal 20 only when the outstanding number is “1” or more, the transmitting packet control unit 122 causes the information packet generated by the transmitting packet generating unit 121 to be transmitted to the receiving terminal. 20 to the transmission line processing unit 123 for transmission.

【0022】送信パケット制御部122は、情報パケッ
トを1つ送信するごとに、クレジット数格納部124に
格納されているクレジット数を“1”減算して、アウト
スタンディング数が“0”になったか否かを判断する。
そして、送信パケット生成部121で生成された情報パ
ケットを全て送信し終わるか、またはアウトスタンディ
ング数が“0”になったと判断した場合に、送信を停止
する。情報パケットを全て送信し終わる以前にアウトス
タンディング数が“0”になったと判断した場合には、
未送信の情報パケットは送信パケット制御部122に保
持され、受信端末20からクレジット数通知パケットが
送信されて、再度アウトスタンディング数が“1”以上
となるまで送信を待機する。
The transmission packet control unit 122 subtracts "1" from the credit number stored in the credit number storage unit 124 every time one information packet is transmitted, so that the outstanding number becomes "0". Determine whether or not.
Then, when it is determined that all the information packets generated by the transmission packet generation unit 121 have been transmitted or the outstanding number has become “0”, the transmission is stopped. If it is determined that the outstanding number has become “0” before all the information packets are transmitted,
The untransmitted information packet is held in the transmission packet control unit 122, and the reception terminal 20 transmits the credit number notification packet and waits for transmission until the outstanding number becomes “1” or more again.

【0023】送信回線処理部123は、送信パケット制
御部122から転送された情報パケットを、通信回線3
01を介して受信端末20に送信する。
The transmission line processing unit 123 transfers the information packet transferred from the transmission packet control unit 122 to the communication line 3
It is transmitted to the receiving terminal 20 via 01.

【0024】受信端末20の通信処理部22について説
明する。受信回線処理部221は、送信端末10から送
信された情報パケットを、通信回線301を介して受信
し、受信キュー222に転送する。受信キュー222
は、受信回線処理部221から転送された情報パケット
を格納する。
The communication processing unit 22 of the receiving terminal 20 will be described. The reception line processing unit 221 receives the information packet transmitted from the transmission terminal 10 via the communication line 301 and transfers it to the reception queue 222. Receive queue 222
Stores the information packet transferred from the reception line processing unit 221.

【0025】クレジット数カウンタ223は、受信キュ
ー222に格納された情報パケット数に基づいて、クレ
ジット数をカウントする。クレジット数カウンタ223
の初期値は、受信キュー222に格納可能なパケット数
の最大値以下の所定の値に設定する。クレジット数カウ
ンタ223の値は、情報パケットが受信キュー222に
格納されるごとに、“1”減算され、受信キュー222
に格納されている情報パケットが上位レイヤ処理部21
に転送されるごとに、“1”加算される。
The credit number counter 223 counts the number of credits based on the number of information packets stored in the reception queue 222. Credit counter 223
The initial value of is set to a predetermined value less than or equal to the maximum number of packets that can be stored in the reception queue 222. The value of the credit number counter 223 is decremented by “1” every time an information packet is stored in the reception queue 222,
The information packet stored in the upper layer processing unit 21
"1" is added each time the data is transferred to.

【0026】クレジットパケット生成部224は、受信
キュー222にパケットが溢れない所定の周期で、クレ
ジット数カウンタ223の値を読み取り、送信端末10
にクレジット数を通知するために、クレジット数通知パ
ケットを生成する。そして、生成したクレジット数通知
パケットを、送信回線処理部225に転送する。送信回
線処理部225は、クレジット数通知パケットを、通信
回線302を介して送信端末10に送信する。
The credit packet generator 224 reads the value of the credit number counter 223 at a predetermined cycle in which no packet overflows in the reception queue 222, and the transmission terminal 10
A credit number notification packet is generated in order to notify the credit number to. Then, the generated credit number notification packet is transferred to the transmission line processing unit 225. The transmission line processing unit 225 transmits the credit number notification packet to the transmission terminal 10 via the communication line 302.

【0027】クレジットパケット生成部224がクレジ
ット数カウンタ223の値を読み取って送信端末10に
通知する周期は、送信端末10、受信端末20および通
信回線30の処理能力を考慮して、あらかじめ定めてお
き、クレジットパケット生成部224内に保持しておく
(不図示)。具体的には、クレジットパケット生成部2
24は、受信端末20内部の発振器(不図示)で通常発
生させる動作クロック等に基づいて時間をカウントし、
あらかじめ定めて内部に保持しておいた周期でクレジッ
ト数カウンタ223の値を読み取り、送信端末10に通
知する。
The cycle in which the credit packet generator 224 reads the value of the credit number counter 223 and notifies it to the transmitting terminal 10 is predetermined in consideration of the processing capabilities of the transmitting terminal 10, the receiving terminal 20 and the communication line 30. It is held in the credit packet generator 224 (not shown). Specifically, the credit packet generator 2
24 counts time based on an operation clock or the like normally generated by an oscillator (not shown) inside the receiving terminal 20,
The value of the credit number counter 223 is read at a cycle determined in advance and held internally, and is notified to the transmitting terminal 10.

【0028】周期を定める際には、一種類の周期を定め
ても良く、所定の条件によって、ある時間範囲内の複数
種類の周期を定めても良い。例えば、ある時点で送信端
末10に通知したクレジット数が所定の値よりも小さい
ときには、次にクレジット数を通知するまでの時間を短
く設定し、一方、ある時点で送信端末10に通知したク
レジット数が所定の値よりも大きいときには、次にクレ
ジット数を通知するまでの時間を長く設定する。
When determining the period, one type of period may be determined, or a plurality of types of period within a certain time range may be determined according to a predetermined condition. For example, when the credit number notified to the transmitting terminal 10 at a certain time point is smaller than a predetermined value, the time until the next credit number is notified is set to be short, while the credit number notified to the transmitting terminal 10 at a certain time point. Is larger than a predetermined value, the time until the next credit number is notified is set to be long.

【0029】送信端末10に通知したクレジット数が小
さい場合には、送信端末10から送信可能な情報パケッ
ト数が少なくなる。しかし、次にクレジット数を通知す
るまでの時間を短くすることによって、送信端末10の
アウトスタンディング数が“0”となって送信を停止し
た場合であっても、次のクレジット数通知パケットを受
信して送信を再開するまでの時間を短くすることができ
る。
When the credit number notified to the transmitting terminal 10 is small, the number of information packets that can be transmitted from the transmitting terminal 10 is small. However, by shortening the time until the next credit number is notified, the next credit number notification packet is received even if the outstanding number of the transmitting terminal 10 becomes “0” and the transmission is stopped. Then, the time until the transmission is restarted can be shortened.

【0030】この場合には、クレジットパケット生成部
224内に、送信端末10に通知するクレジット数に対
応して、複数の周期を定めたテーブル等を保持してお
く。そして、クレジットパケット生成部224は、ある
時点で送信端末10にクレジット数を通知すると、テー
ブルを検索して、通知したクレジット数に対応する周期
を、次にクレジット数カウンタ223の値を読み取るま
での周期として決定し、内部に保持する。
In this case, the credit packet generator 224 holds a table or the like in which a plurality of cycles are determined in correspondence with the number of credits notified to the transmitting terminal 10. Then, when the credit packet generation unit 224 notifies the number of credits to the transmission terminal 10 at a certain time point, the table is searched, the cycle corresponding to the notified credit number, and then the value of the credit number counter 223 is read. It is decided as the cycle and held internally.

【0031】また、時間によって周期を定めるのではな
く、クレジット数カウンタ223の値が所定の値となっ
たときに、クレジットパケット生成部224でクレジッ
ト数通知パケットを生成して、その時点におけるクレジ
ット数を送信端末10に通知しても良い。例えば、送信
端末10から受信した情報パケットが受信端末20の上
位レイヤ処理部21に転送されることによって、クレジ
ット数が増加して所定値以上となった場合に、送信端末
10にクレジット数を通知する。このようにすることに
よって、送信端末10は、常にほぼ一定数以上のアウト
スタンディング数を確保することができる。
Further, instead of setting the cycle by time, when the value of the credit number counter 223 reaches a predetermined value, the credit packet generation unit 224 generates a credit number notification packet, and the credit number at that point in time. May be notified to the transmitting terminal 10. For example, when the information packet received from the transmitting terminal 10 is transferred to the upper layer processing unit 21 of the receiving terminal 20 and the number of credits increases to a predetermined value or more, the transmitting terminal 10 is notified of the number of credits. To do. By doing so, the transmitting terminal 10 can always secure a substantially constant number of outstandings or more.

【0032】この場合には、クレジットパケット生成部
224内に、通知を行う基準となるクレジット数をあら
かじめ定めておき、クレジット数カウンタ223の値が
変動するごとに、クレジット数の基準値と比較し、クレ
ジット数カウンタ223の値が基準値以上となったタイ
ミングで、送信端末10にクレジット数を通知する。
In this case, the number of credits serving as a reference for notification is set in advance in the credit packet generator 224, and is compared with the reference value of the number of credits every time the value of the credit number counter 223 changes. The credit number is notified to the transmitting terminal 10 at the timing when the value of the credit number counter 223 becomes equal to or larger than the reference value.

【0033】図1および図2においては、送信端末10
が単数の場合を示しているが、複数であっても良い。こ
の場合には、受信キュー222、クレジット数カウンタ
223およびクレジットパケット生成部224を送信端
末10と同数備え、それぞれを個々の送信端末10に対
応させる。
In FIG. 1 and FIG. 2, the transmitting terminal 10
Shows the case of a singular number, but may have a plurality of numbers. In this case, the reception queue 222, the credit number counter 223, and the credit packet generation unit 224 are provided in the same number as the transmission terminal 10, and each of them corresponds to each transmission terminal 10.

【0034】また、クレジットパケット生成部224を
複数とはせずに、1つのクレジットパケット生成部22
4が、送信端末10ごとに設けられた複数のクレジット
数カウンタ223の値を読み取り、クレジット数通知パ
ケットを生成して、クレジット数カウンタ223に対応
する送信端末10に送信しても良い。
Further, one credit packet generation unit 22 is provided without providing a plurality of credit packet generation units 224.
4 may read the values of a plurality of credit number counters 223 provided for each transmitting terminal 10, generate a credit number notification packet, and transmit the packet to the transmitting terminal 10 corresponding to the credit number counter 223.

【0035】図3は、本発明の一実施の形態における通
信装置および通信端末の動作シーケンスを示す図であ
る。図3を用いて、図1および図2に示した通信装置お
よび通信端末の動作を説明する。
FIG. 3 is a diagram showing an operation sequence of the communication device and the communication terminal in the embodiment of the present invention. Operations of the communication device and the communication terminal shown in FIGS. 1 and 2 will be described with reference to FIG.

【0036】ある時点で、受信端末20のクレジット数
カウンタ223に格納されているクレジット数が“8”
であるとする。クレジットパケット生成部224は、ク
レジット数カウンタ223に格納されているクレジット
数“8”を読み取り、読みとったクレジット数“8”を
搭載したクレジット数通知パケットC1を生成して、送
信端末10に送信する。
At some point, the number of credits stored in the credit number counter 223 of the receiving terminal 20 is "8".
Suppose The credit packet generation unit 224 reads the credit number “8” stored in the credit number counter 223, generates a credit number notification packet C1 carrying the read credit number “8”, and transmits the credit number notification packet C1 to the transmission terminal 10. .

【0037】送信端末10は、クレジット数通知パケッ
トC1を受信すると、クレジット数“8”をクレジット
数格納部124に格納する。送信パケット制御部122
は、クレジット数格納部124に格納されているクレジ
ット数“8”から、アウトスタンディング数(残送信可
能数)が“8”であると判断する。この後、上位レイヤ
処理部11が送信パケット生成部121にデータS1の
送信を要求すると、送信パケット生成部121は、送信
データS1をパケット化し、情報パケットP1を生成す
る。アウトスタンディング数が“8”であり、受信端末
20への情報パケットP1の送信が可能であるので、送
信パケット制御部122は、送信パケット生成部121
で生成されたパケットP1を、送信回線処理部123を
介して通信回線301に送出する。送信パケット制御部
122は、パケットP1の送出が完了すると、クレジッ
ト数格納部124に格納されているクレジット数を
“1”減算して“7”とする。
Upon receiving the credit number notification packet C1, the transmitting terminal 10 stores the credit number "8" in the credit number storage unit 124. Transmission packet control unit 122
Judges that the outstanding number (remaining transmittable number) is “8” from the credit number “8” stored in the credit number storage unit 124. After that, when the upper layer processing unit 11 requests the transmission packet generation unit 121 to transmit the data S1, the transmission packet generation unit 121 packetizes the transmission data S1 and generates the information packet P1. Since the outstanding number is “8” and the information packet P1 can be transmitted to the receiving terminal 20, the transmission packet control unit 122 causes the transmission packet generation unit 121.
The packet P1 generated in (1) is sent to the communication line 301 via the transmission line processing unit 123. When the transmission of the packet P1 is completed, the transmission packet control unit 122 subtracts “1” from the number of credits stored in the number-of-credits storage unit 124 and sets it to “7”.

【0038】受信端末20は、送信端末10から通信回
線301に送出されたパケットP1を、受信回線処理部
221を介して受信すると、受信キュー222に格納す
る。クレジット数カウンタ223は、パケットP1が受
信キュー222に格納されたことを検出して、パケット
の送信元である送信端末10に対応するクレジット数を
“1”減算して“7”とする。
When the receiving terminal 20 receives the packet P1 sent from the transmitting terminal 10 to the communication line 301 via the receiving line processing section 221, it stores it in the receiving queue 222. The credit number counter 223 detects that the packet P1 is stored in the reception queue 222, and subtracts "1" from the credit number corresponding to the transmission terminal 10 which is the transmission source of the packet and sets it to "7".

【0039】続いて、上位レイヤ処理部11がデータS
2〜S4の送信を要求すると、送信パケット生成部12
1は、パケットP2〜P4を生成する。送信パケット制
御部122は、クレジット数格納部124に格納されて
いるクレジット数“7”からアウトスタンディング数が
“7”であり、パケットP2〜P4を全て送信可能であ
ることを判断する。送信パケット制御部122は、送信
回線処理部123を介してパケットP2〜P4を受信端
末20に送信し、パケットを1つ送信するごとに、クレ
ジット数格納部124に格納されているクレジット数を
“1”ずつ減算して“4”とする。
Subsequently, the upper layer processing unit 11 causes the data S
When requesting the transmission of 2 to S4, the transmission packet generation unit 12
1 generates packets P2 to P4. The transmission packet control unit 122 determines that the outstanding number is “7” from the credit number “7” stored in the credit number storage unit 124, and all the packets P2 to P4 can be transmitted. The transmission packet control unit 122 transmits the packets P2 to P4 to the reception terminal 20 via the transmission line processing unit 123, and sets the credit number stored in the credit number storage unit 124 to " Subtract 1 "at a time to obtain" 4 ".

【0040】受信端末20がパケットP2を受信して、
クレジット数カウンタ223がクレジット数を“1”減
算して“6”とした後に、受信端末20の上位レイヤ処
理部21が受信キュー222に格納されているパケット
P1のデータD1を取得したとする。上位レイヤ処理部
21にデータD1が転送されることによって、受信キュ
ー222に格納可能な情報パケット数が1つ増えるの
で、クレジット数カウンタ223は、クレジット数を
“1”加算して“7”とする。
When the receiving terminal 20 receives the packet P2,
It is assumed that after the credit number counter 223 subtracts “1” from the credit number to “6”, the upper layer processing unit 21 of the receiving terminal 20 acquires the data D1 of the packet P1 stored in the reception queue 222. Since the number of information packets that can be stored in the reception queue 222 increases by 1 by transferring the data D1 to the upper layer processing unit 21, the credit number counter 223 adds “1” to the number of credits and outputs “7”. To do.

【0041】受信端末20がパケットP3を受信して、
クレジット数カウンタ223がクレジット数を“1”減
算して“6”とした時点で、受信端末20がクレジット
数通知パケットC1を送信してから所定の期間が経過し
たとする。クレジットパケット生成部224は、現在の
クレジット数カウンタ223に格納されているクレジッ
ト数“6”を読み取ってクレジット数通知パケットC2
を生成し、送信端末10に送信する。送信端末10は、
クレジット数通知パケットC2を受信すると、搭載され
ているクレジット数“6”をクレジット数格納部124
に格納する。
When the receiving terminal 20 receives the packet P3,
It is assumed that a predetermined period has elapsed since the receiving terminal 20 transmitted the credit number notification packet C1 when the credit number counter 223 subtracts “1” from the credit number to “6”. The credit packet generation unit 224 reads the credit number “6” currently stored in the credit number counter 223 to read the credit number notification packet C2.
Is generated and transmitted to the transmission terminal 10. The transmission terminal 10
When the credit number notification packet C2 is received, the loaded credit number “6” is set to the credit number storage unit 124.
To store.

【0042】受信端末がパケットP4を受信して、クレ
ジット数カウンタ223がクレジット数を“1”減算し
て“5”とした後に、上位レイヤ処理部21が受信キュ
ー222に格納されているパケットP2のデータD2を
取得すると、クレジット数カウンタ223は、クレジッ
ト数を“1”加算して“6”とする。
After the receiving terminal receives the packet P4 and the credit number counter 223 subtracts "1" from the credit number to "5", the upper layer processing unit 21 stores the packet P2 stored in the reception queue 222. When the data D2 of 1 is acquired, the credit number counter 223 adds “1” to the number of credits to obtain “6”.

【0043】送信端末10の上位レイヤ処理部11がバ
ースト的にS5以降の送信を要求して、パケットP5以
降を受信端末20に送信し、クレジット数格納部124
に格納されているクレジット数(=アウトスタンディン
グ数)が“0”となったとする。この状態で、上位レイ
ヤ処理部11がデータSnの送信を要求すると、送信パ
ケット生成部121はパケットPnを生成する。しか
し、アウトスタンディング数が“0”であるので、パケ
ットPnを送信端末10から受信端末20に送信するこ
とができず、送信端末10はパケットPnを送信せずに
待機する。
The upper layer processing unit 11 of the transmitting terminal 10 requests the transmission of S5 and subsequent packets in a burst, transmits the packets of P5 and subsequent packets to the receiving terminal 20, and stores the credit number storage unit 124.
It is assumed that the number of credits (= outstanding number) stored in is 0. In this state, when the upper layer processing unit 11 requests the transmission of the data Sn, the transmission packet generation unit 121 generates the packet Pn. However, since the outstanding number is “0”, the packet Pn cannot be transmitted from the transmitting terminal 10 to the receiving terminal 20, and the transmitting terminal 10 waits without transmitting the packet Pn.

【0044】送信端末10から受信端末20への送信が
停止した後、受信端末20の上位レイヤ処理部21がデ
ータDkを受信キュー222から取得して、クレジット
数カウンタ223の値が“4”となったとする。この
後、クレジット数通知パケットC2を送信端末10に送
信してから所定の期間が経過して、クレジットパケット
生成部224がクレジット数通知パケットC3を生成し
て送信端末10に送信すると、送信端末10のクレジッ
ト数格納部124にクレジット数“4”が格納される。
送信パケット制御部122は、クレジット数格納部12
4に格納されたクレジット数から、受信端末20への情
報パケットの送信が可能となったことを判断して、送信
を再開し、パケットPnを受信端末20に送信する。
After the transmission from the transmission terminal 10 to the reception terminal 20 is stopped, the upper layer processing unit 21 of the reception terminal 20 acquires the data Dk from the reception queue 222 and the value of the credit number counter 223 becomes "4". Suppose After that, when a predetermined period has elapsed since the credit number notification packet C2 was transmitted to the transmission terminal 10, and the credit packet generation unit 224 generates the credit number notification packet C3 and transmits it to the transmission terminal 10, the transmission terminal 10 The credit number “4” is stored in the credit number storage unit 124.
The transmission packet control unit 122 uses the credit number storage unit 12
It is determined from the credit number stored in 4 that the information packet can be transmitted to the receiving terminal 20, the transmission is restarted, and the packet Pn is transmitted to the receiving terminal 20.

【0045】このように、送信端末10が、アウトスタ
ンディング数が“0”となって受信端末20への送信を
一旦停止しても、クレジット数通知パケットC2を受信
してから所定の期間が経過すれば、受信端末20からク
レジット数通知パケットC3が送信される。したがっ
て、送信端末10から受信端末20へのクレジット数の
問い合わせを行うことなく、受信端末20が定めた所定
の周期で通知されたクレジット数に従って、送信を再開
することができる。
As described above, even if the transmitting terminal 10 temporarily stops the transmission to the receiving terminal 20 due to the outstanding number being "0", a predetermined period has elapsed since the credit number notification packet C2 was received. Then, the receiving terminal 20 transmits the credit number notification packet C3. Therefore, the transmission can be restarted in accordance with the credit number notified by the receiving terminal 20 in the predetermined cycle without inquiring from the transmitting terminal 10 to the receiving terminal 20.

【0046】また、クレジット数通知パケットを受信端
末20から送信端末10に送信する周期は、実際には送
信端末10からの情報パケットの送信が停止しないよう
に設定するので、送信停止の時間は無視することができ
る。
Further, the period of transmitting the credit number notification packet from the receiving terminal 20 to the transmitting terminal 10 is set so that the transmission of the information packet from the transmitting terminal 10 is not actually stopped, so the time of the transmission stop is ignored. can do.

【0047】図1〜図3を用いて説明したように、所定
の周期で受信端末20のクレジット数を送信端末10に
通知することによって、送信端末10は、問い合わせを
行うことなく、常に受信端末20のクレジット数を把握
することができる。したがって、受信端末20の受信キ
ュー溢れによるデータ破棄を発生させることなく、確実
なデータ通信を行いつつ、高いスループットで、効率の
良いデータ通信を行うことができる。
As described with reference to FIGS. 1 to 3, by notifying the transmitting terminal 10 of the number of credits of the receiving terminal 20 in a predetermined cycle, the transmitting terminal 10 does not make an inquiry and is always receiving terminal. The number of credits of 20 can be grasped. Therefore, it is possible to perform efficient data communication with high throughput while performing reliable data communication without causing data discard due to overflow of the reception queue of the receiving terminal 20.

【0048】図4は、本発明の一実施の形態における通
信装置および通信端末が備える通信処理部の他の例を示
すブロック図である。図4に示した通信処理部40は、
図1に示した送信端末10および受信端末20が備える
通信処理部12,22のどちらとしても用いることがで
きる。
FIG. 4 is a block diagram showing another example of the communication processing unit provided in the communication device and the communication terminal in the embodiment of the present invention. The communication processing unit 40 shown in FIG.
It can be used as either of the communication processing units 12 and 22 included in the transmitting terminal 10 and the receiving terminal 20 shown in FIG.

【0049】図4に示した通信処理部40は、送信パケ
ット生成部121と、送信パケット制御部122と、ク
レジット数格納部124と、受信キュー222と、クレ
ジット数カウンタ223と、クレジットパケット生成部
224と、送信回線処理部41と、受信回線処理部42
と、受信パケット種別判別部43と、を備えている。
The communication processing unit 40 shown in FIG. 4 includes a transmission packet generation unit 121, a transmission packet control unit 122, a credit number storage unit 124, a reception queue 222, a credit number counter 223, and a credit packet generation unit. 224, a transmission line processing unit 41, and a reception line processing unit 42
And a received packet type discrimination unit 43.

【0050】図4において、符号および名称が図2に示
したものと同じものは、図2に示したものと同じ機能を
有する。
In FIG. 4, the same reference numerals and names as those shown in FIG. 2 have the same functions as those shown in FIG.

【0051】送信回線処理部41は、図2に示した送信
回線処理部123,225の両方の機能を有する。ま
た、受信回線処理部42は、図2に示した受信回線処理
部221,125の両方の機能を有する。
The transmission line processing unit 41 has both functions of the transmission line processing units 123 and 225 shown in FIG. The reception line processing unit 42 has the functions of both the reception line processing units 221 and 125 shown in FIG.

【0052】受信パケット種別判別部43は、通信回線
302を介して受信したデータが、情報パケットである
かクレジット数通知パケットであるかを判別する。受信
したデータが情報パケットならば、クレジット数カウン
タ223の値をカウントダウンする。クレジット数通知
パケットならば、搭載されているクレジット数をクレジ
ット数格納部124に格納する。
The received packet type discriminating unit 43 discriminates whether the data received via the communication line 302 is an information packet or a credit number notification packet. If the received data is an information packet, the value of the credit number counter 223 is counted down. If it is a credit number notification packet, the number of installed credits is stored in the credit number storage unit 124.

【0053】このように、図4に示した通信処理部40
は、図2に示した送信端末10の通信処理部12と受信
端末20の通信処理部22との両方の機能を備えてい
る。したがって、図4に示した通信処理部40を端末に
備えることによって、受信端末および送信端末の両方の
機能を備えた送受信端末を実現することができる。これ
によって、送信端末と受信端末とを区別することなく、
同一構成の複数の端末を用いて送受信を行う通信装置お
よび通信端末を実現することができる。
As described above, the communication processing section 40 shown in FIG.
Has both functions of the communication processing unit 12 of the transmitting terminal 10 and the communication processing unit 22 of the receiving terminal 20 shown in FIG. Therefore, by providing the terminal with the communication processing unit 40 shown in FIG. 4, it is possible to realize a transmission / reception terminal having both functions of a reception terminal and a transmission terminal. By this, without distinguishing between the sending terminal and the receiving terminal,
It is possible to realize a communication device and a communication terminal that perform transmission and reception using a plurality of terminals having the same configuration.

【0054】図5は、図4に示した通信処理部を備える
通信装置および通信端末の動作シーケンスを示す図であ
る。
FIG. 5 is a diagram showing an operation sequence of the communication device and the communication terminal having the communication processing section shown in FIG.

【0055】図5には、送受信端末同士のデータ通信に
おいて、通信相手となる他の端末が正常に動作している
か否かを検出するヘルスチェックを、所定の周期で互い
に行う動作シーケンスを主に示している。図5を用い
て、図4に示した通信処理部を備える通信装置および通
信端末が互いにヘルスチェックを行う場合の動作を説明
する。
FIG. 5 mainly shows an operation sequence in which, in data communication between transmitting and receiving terminals, a health check for detecting whether or not another terminal as a communication partner is normally operating is performed at a predetermined cycle. Shows. The operation in the case where the communication device and the communication terminal including the communication processing unit shown in FIG. 4 perform a health check with each other will be described with reference to FIG.

【0056】図5に示した端末Aおよび端末Bはそれぞ
れ、図4に示した通信処理部40を備えている。ある時
点で、端末Bがクレジットパケット生成部224におい
てクレジット数通知パケットC1を生成し、送信回線処
理部41を介して端末Aに送信したとする。
The terminals A and B shown in FIG. 5 are each equipped with the communication processing section 40 shown in FIG. It is assumed that at some point, the terminal B generates the credit number notification packet C1 in the credit packet generation unit 224 and transmits it to the terminal A via the transmission line processing unit 41.

【0057】端末Aは、端末Bから送信されたクレジッ
ト数通知パケットC1を受信回線処理部42を介して受
信すると、受信パケット種別判別部43において、受信
したパケットがクレジット数通知パケットC1であるこ
とを判断し、クレジット数格納部124に端末Bのクレ
ジット数を格納する。このとき、端末Aは、クレジット
数通知パケットC1の受信によって、端末Bが正常に動
作していることを確認することができる。そして、端末
Aは、クレジットパケット生成部224でクレジット数
通知パケットを生成し、応答パケットA1として、送信
回線処理部41を介して端末Bに送信する。端末Bは、
応答パケットA1の受信によって、端末Aが正常に動作
していることを確認することができる。
When the terminal A receives the credit number notification packet C1 transmitted from the terminal B via the receiving line processing section 42, the received packet type discrimination section 43 determines that the received packet is the credit number notification packet C1. Then, the credit number of the terminal B is stored in the credit number storage unit 124. At this time, the terminal A can confirm that the terminal B is operating normally by receiving the credit number notification packet C1. Then, in the terminal A, the credit packet generation unit 224 generates a credit number notification packet and transmits it as a response packet A1 to the terminal B via the transmission line processing unit 41. Terminal B
By receiving the response packet A1, it can be confirmed that the terminal A is operating normally.

【0058】この後に、端末Bが端末Aに情報パケット
P1を送信する場合には、応答パケットA1の受信によ
って端末Aの正常動作が確認されているので、パケット
P1を送信することができる。また、端末Bから端末A
に情報パケットP1〜Pnを送信している途中で応答パ
ケットA1の受信が行われた場合にも同様に、端末Bは
情報パケットP1〜Pnの送信を継続することができ
る。
After that, when the terminal B transmits the information packet P1 to the terminal A, since the normal operation of the terminal A has been confirmed by the reception of the response packet A1, the packet P1 can be transmitted. Also, from terminal B to terminal A
Similarly, when the response packet A1 is received while the information packets P1 to Pn are being transmitted, the terminal B can continue to transmit the information packets P1 to Pn.

【0059】また、ある時点で、端末Aがクレジット数
通知パケットC2を生成し、端末Bに送信したとする。
It is also assumed that the terminal A generates a credit number notification packet C2 and transmits it to the terminal B at some point.

【0060】端末Bは、端末Aから送信されたクレジッ
ト数通知パケットC2を受信すると、受信したパケット
がクレジット数通知パケットC2であることを判断し、
端末Aのクレジット数を格納する。このとき、端末B
は、クレジット数通知パケットC2の受信によって、端
末Aの正常動作を確認することができる。そして、端末
Bは、クレジット数通知パケットを生成し、応答パケッ
トA2として、端末Aに送信する。端末Aは、応答パケ
ットA2の受信によって、端末Bの正常動作を確認する
ことができる。
Upon receiving the credit number notification packet C2 transmitted from the terminal A, the terminal B determines that the received packet is the credit number notification packet C2,
The credit number of terminal A is stored. At this time, terminal B
Can confirm the normal operation of the terminal A by receiving the credit number notification packet C2. Then, the terminal B generates a credit number notification packet and transmits it as a response packet A2 to the terminal A. The terminal A can confirm the normal operation of the terminal B by receiving the response packet A2.

【0061】この後に、端末Bが端末Aに情報パケット
P2を送信する場合には、クレジット数通知パケットC
2の受信によって端末Aの正常動作が確認されているの
で、パケットP2を送信することができる。また、端末
Bから端末Aに情報パケットP2〜Pmを送信している
途中でクレジットパケットC2の受信が行われた場合に
も同様に、端末Bは情報パケットP2〜Pmの送信を継
続することができる。
After this, when the terminal B transmits the information packet P2 to the terminal A, the credit number notification packet C
Since the normal operation of the terminal A has been confirmed by receiving 2, the packet P2 can be transmitted. Similarly, when the credit packet C2 is received during the transmission of the information packets P2 to Pm from the terminal B to the terminal A, the terminal B may continue to transmit the information packets P2 to Pm. it can.

【0062】そして、端末Bから端末Aにクレジット数
通知パケットC1が送信されてから所定の期間が経過す
ると、上述したクレジット数通知パケットC1のときと
同様に、端末Bから端末Aにクレジット数通知パケット
C3を送信する。端末Aは、クレジット数通知パケット
C3の受信によって、端末Bの正常動作を確認すること
ができる。そして、上述した応答パケットA1のときと
同様に、端末Aは応答パケットA3を端末Bに送信す
る。端末Bは、応答パケットA3の受信によって、端末
Aの正常動作を確認することができる。
Then, when a predetermined period has elapsed since the credit number notification packet C1 was transmitted from the terminal B to the terminal A, the credit number notification is sent from the terminal B to the terminal A as in the case of the credit number notification packet C1 described above. The packet C3 is transmitted. The terminal A can confirm the normal operation of the terminal B by receiving the credit number notification packet C3. Then, as in the case of the response packet A1 described above, the terminal A transmits the response packet A3 to the terminal B. The terminal B can confirm the normal operation of the terminal A by receiving the response packet A3.

【0063】また、端末Aから端末Bにクレジット数通
知パケットC2が送信されてから所定の期間が経過する
と、上述したクレジット数通知パケットC2のときと同
様に、端末Aから端末Bにクレジット数通知パケットC
4を送信する。
When a predetermined period of time elapses after the credit number notification packet C2 is transmitted from the terminal A to the terminal B, the credit number notification is sent from the terminal A to the terminal B as in the case of the credit number notification packet C2 described above. Packet C
4 is transmitted.

【0064】ここで、端末Bに異常が発生して、クレジ
ット数通知パケットC4を受信できない、または応答パ
ケットを端末Aに送信できないとする。端末Aは、端末
Bの動作が異常であることを検出することができ、デー
タの送受信を行わず、パケットの破棄を防ぐことができ
る。
Here, it is assumed that an abnormality occurs in the terminal B and the credit number notification packet C4 cannot be received or the response packet cannot be transmitted to the terminal A. The terminal A can detect that the operation of the terminal B is abnormal, do not perform data transmission / reception, and can prevent packet discard.

【0065】このように、定期的に通信相手の端末が正
常に動作しているか否かのチェックを互いに行い、通信
相手の端末が正常に動作していることを確認しながら通
常のデータ通信を行うことによって、通常のデータ通信
を行いながら、端末のヘルスチェックを容易に行うこと
ができる。
In this manner, the terminals of the communication partner are regularly checked for mutual normal operation, and normal data communication is performed while confirming that the terminal of the communication partner is operating normally. By doing so, the health check of the terminal can be easily performed while performing normal data communication.

【0066】以上説明した本実施の形態においては、パ
ケット通信を行う通信装置および通信端末について説明
したが、本発明が適用される通信装置および通信端末
は、データ通信を行う通信装置および通信端末であれば
良く、パケット通信を行うものには限られない。
In the present embodiment described above, the communication device and the communication terminal for performing the packet communication have been described. However, the communication device and the communication terminal to which the present invention is applied are the communication device and the communication terminal for performing the data communication. It only needs to be provided, and it is not limited to the packet communication.

【0067】[0067]

【発明の効果】以上説明したように本発明は、送信端末
から受信端末に送信可能なデータ容量を問い合わせる必
要がないので、送信可能なデータ容量を問い合わせて受
信端末からの応答を待つ時間が不要となり、通信スルー
プットを向上させ、送信処理を効率的に行うことができ
るという効果を有する。
As described above, according to the present invention, it is not necessary to inquire from the transmitting terminal to the receiving terminal about the transmittable data capacity, so that it is not necessary to wait for a response from the receiving terminal after inquiring about the transmittable data capacity. Therefore, the communication throughput can be improved, and the transmission processing can be efficiently performed.

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

【図1】本発明の一実施の形態における通信装置および
通信端末を示すブロック図である。
FIG. 1 is a block diagram showing a communication device and a communication terminal according to an embodiment of the present invention.

【図2】図1に示した通信処理部の詳細を示すブロック
図である。
FIG. 2 is a block diagram showing details of a communication processing unit shown in FIG.

【図3】本発明の一実施の形態における通信装置および
通信端末の動作シーケンスを示す図である。
FIG. 3 is a diagram showing an operation sequence of the communication device and the communication terminal in the embodiment of the present invention.

【図4】本発明の一実施の形態における通信装置および
通信端末が備える通信処理部の他の例を示すブロック図
である。
FIG. 4 is a block diagram showing another example of a communication processing unit included in the communication device and the communication terminal according to the embodiment of the present invention.

【図5】図4に示した通信処理部を備える通信装置およ
び通信端末の動作シーケンスを示す図である。
5 is a diagram showing an operation sequence of a communication device and a communication terminal including the communication processing unit shown in FIG.

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

10 送信端末 20 受信端末 30,301,302 通信回線 11,21 上位レイヤ処理部 12,22,40 通信処理部 121 送信パケット生成部 122 送信パケット制御部 123,225,41 送信回線処理部 124 クレジット数格納部 125,221,42 受信回線処理部 222 受信キュー 223 クレジット数カウンタ 224 クレジットパケット生成部 43 受信パケット種別判別部 10 Sending terminal 20 Receiving terminal 30,301,302 communication line 11,21 Upper layer processing unit 12, 22, 40 Communication processing unit 121 Transmission packet generator 122 Transmission packet control unit 123,225,41 Transmission line processing unit 124 credit number storage 125,221,42 Reception line processing unit 222 Receive queue 223 Credit Counter 224 Credit packet generator 43 Received Packet Type Discrimination Unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平9−191321(JP,A) 特開 平9−233082(JP,A) 特開 平9−205442(JP,A) 特開 平10−262060(JP,A) 特開 平9−135270(JP,A) (58)調査した分野(Int.Cl.7,DB名) H04L 12/56 H04L 29/08 ─────────────────────────────────────────────────── --- Continuation of the front page (56) Reference JP-A-9-191321 (JP, A) JP-A-9-233082 (JP, A) JP-A-9-205442 (JP, A) JP-A-10- 262060 (JP, A) JP-A-9-135270 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) H04L 12/56 H04L 29/08

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数の端末と、前記複数の端末を接続する
回線とを備え、前記回線を介して前記複数の端末間でデ
ータ通信を行う通信装置であって、 前記複数の端末は、少なくとも1つの送信端末と、少な
くとも1つの受信端末と、を備え、 前記受信端末は、当該受信端末が決定するタイミング
で、受信可能なデータ容量を示す情報を、前記送信端末
のうち所望の送信端末に通知し、当該通知を行った後、
当該通知における前記データ容量に従って定められた時
間を経過した時点で、次の通知を行い、 前記送信端末は、前記受信端末から通知された前記デー
タ容量を示す情報に従った容量のデータを、通知を行っ
た前記受信端末に送信する、 ことを特徴とする通信装置。
1. A communication device comprising a plurality of terminals and a line connecting the plurality of terminals, and performing data communication between the plurality of terminals via the line, wherein the plurality of terminals are at least One transmitting terminal and at least one receiving terminal are provided, and the receiving terminal transmits information indicating a receivable data capacity to a desired transmitting terminal among the transmitting terminals at a timing determined by the receiving terminal. After notifying and giving the notice,
When determined according to the data capacity in the notification
When the time has passed, the following notification is performed, and the transmission terminal transmits data of a capacity according to the information indicating the data capacity notified from the reception terminal, to the reception terminal that has notified, A communication device characterized by the above.
【請求項2】前記受信端末は、データ格納手段と、デー
タ処理手段と、容量計測手段と、周期格納手段と、通知
タイミング決定手段と、容量通知手段と、を備え、 前記データ格納手段は、前記送信端末から受信したデー
タを格納し、 前記データ処理手段は、前記データ格納手段に格納され
ているデータを取得して所定の処理を行い、 前記容量計測手段は、前記データ格納手段に格納されて
いるデータの容量に従って、当該受信端末が受信可能な
データ容量を求め、前記周期格納手段は、送信端末に通知するデータ容量に
対応する複数の周期のデータが格納されており、 前記通知タイミング決定手段は、従前に通知されたデー
タ容量に対応する周期のデータを前記周期格納手段から
取得し、当該周期を通知タイミングとして決定し、 前記容量通知手段は、前記通知タイミングで、前記容量
計測手段によって求められた前記データ容量を示す情報
を前記送信端末に通知する、 ことを特徴とする請求項1に記載の通信装置。
2. The receiving terminal comprises data storage means, data processing means, capacity measuring means, period storage means, notification timing determination means, and capacity notification means, and the data storage means comprises: The data received from the transmission terminal is stored, the data processing unit acquires the data stored in the data storage unit and performs a predetermined process, and the capacity measuring unit is stored in the data storage unit. According to the amount of data that the receiving terminal can receive, the amount of data that can be received by the receiving terminal is obtained, and the cycle storing means determines the amount of data to notify the transmitting terminal.
Data of a plurality of corresponding cycles is stored, and the notification timing determining means is configured to notify the data previously notified.
Data of the cycle corresponding to the data capacity from the cycle storage means
Acquiring and determining the cycle as a notification timing, and the capacity notifying means notifies the transmitting terminal of information indicating the data capacity obtained by the capacity measuring means at the notification timing. The communication device according to claim 1.
【請求項3】複数の端末と、前記複数の端末を接続する
回線とを備え、前記回線を介して前記複数の端末間でデ
ータ通信を行う通信装置であって、 前記複数の端末は、少なくとも1つの送受信端末を備
え、 前記送受信端末は、 他の端末から通知された前記他の端末が受信可能なデー
タ容量を示す情報および他の端末から送信されたデータ
を受信する受信手段と、 前記受信手段が前記データ容量を示す情報を受信したか
前記データを受信したかを判断する受信判別手段と、 前記受信判別手段が、前記受信手段が前記データ容量を
示す情報を受信したと判断した場合には、前記データ容
量を示す情報に従った容量のデータを、通知を行った前
記端末に送信する送信手段と、 前記受信判別手段が、前記受信手段が前記データを受信
したと判断した場合には、受信した前記データの容量に
基づいて、当該端末が受信可能なデータ容量を求める計
測手段と、当該端末が従前に他の端末に通知したデータ容量に対応
する周期で 、前記計測手段によって求められた前記デー
タ容量を示す情報を、他の端末に通知する通知手段と、
を備える、 ことを特徴とする通信装置。
3. A communication device comprising a plurality of terminals and a line connecting the plurality of terminals, and performing data communication between the plurality of terminals via the line, wherein the plurality of terminals are at least One receiving / transmitting terminal, wherein the transmitting / receiving terminal receives information indicating a data capacity that the other terminal can receive and data received from the other terminal, and a receiving unit that receives the data transmitted from the other terminal. A means for receiving information indicating the data capacity or a means for determining whether the data has been received; and a case where the reception determining means determines that the receiving means has received the information indicating the data capacity. Is a means for transmitting data of a capacity according to the information indicating the data capacity to the notified terminal, and the reception determining means determines that the receiving means has received the data. If, based on the capacity of the data received, a measurement unit to which the terminal is obtaining the receivable data size, corresponding to the data capacity of the terminal is notified to other terminals previously
A notification unit for notifying other terminals of the information indicating the data capacity obtained by the measuring unit in a cycle of
A communication device comprising:
【請求項4】回線を介して、他の通信端末と接続されて
いる通信端末であって、 他の通信端末から通知された前記他の通信端末が受信可
能なデータ容量を示す情報および他の通信端末から送信
されたデータを受信する受信手段と、 前記受信手段が前記データ容量を示す情報を受信したか
前記データを受信したかを判断する受信判別手段と、 前記受信判別手段が、前記受信手段が前記データ容量を
示す情報を受信したと判断した場合には、前記データ容
量を示す情報に従った容量のデータを、通知を行った前
記通信端末に送信する送信手段と、 前記受信判別手段が、前記受信手段が前記データを受信
したと判断した場合には、受信した前記データの容量に
基づいて、当該通信端末が受信可能なデータ容量を求め
る計測手段と、当該端末が従前に他の端末に通知したデータ容量に対応
する周期で 、前記計測手段によって求められた前記デー
タ容量を示す情報を、他の通信端末に通知する通知手段
と、を備える、 ことを特徴とする通信端末。
4. A communication terminal connected to another communication terminal via a line, the information indicating the data capacity receivable by the other communication terminal notified from the other communication terminal, and other information. Receiving means for receiving the data transmitted from the communication terminal; reception determining means for determining whether the receiving means has received the information indicating the data capacity or the data; When the means determines that the information indicating the data capacity has been received, the transmitting means for transmitting the data having the capacity according to the information indicating the data capacity to the communication terminal that has made the notification, and the reception determining means. but, when the receiving means determines that it has received the data, based on the capacity of the data received, a measurement unit to which the communication terminal obtaining the receivable data size, the terminal previously Corresponding to the data amount notified to other terminals
And a notification unit that notifies the other communication terminal of the information indicating the data capacity obtained by the measuring unit in a cycle .
JP2000206548A 2000-07-07 2000-07-07 Communication device and communication terminal Expired - Fee Related JP3525867B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000206548A JP3525867B2 (en) 2000-07-07 2000-07-07 Communication device and communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000206548A JP3525867B2 (en) 2000-07-07 2000-07-07 Communication device and communication terminal

Publications (2)

Publication Number Publication Date
JP2002026968A JP2002026968A (en) 2002-01-25
JP3525867B2 true JP3525867B2 (en) 2004-05-10

Family

ID=18703455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000206548A Expired - Fee Related JP3525867B2 (en) 2000-07-07 2000-07-07 Communication device and communication terminal

Country Status (1)

Country Link
JP (1) JP3525867B2 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4506222B2 (en) * 2004-03-18 2010-07-21 ソニー株式会社 COMMUNICATION SYSTEM, TRANSMISSION DEVICE AND METHOD, AND PROGRAM
FR2875982B1 (en) * 2004-09-28 2006-12-22 Commissariat Energie Atomique SEMI-AUTOMATIC COMMUNICATION ARCHITECTURE NOC FOR "DATA FLOWS" APPLICATIONS
WO2006109207A1 (en) * 2005-04-13 2006-10-19 Koninklijke Philips Electronics N.V. Electronic device and method for flow control
US7454538B2 (en) * 2005-05-11 2008-11-18 Qualcomm Incorporated Latency insensitive FIFO signaling protocol
JP4648082B2 (en) * 2005-05-17 2011-03-09 富士通株式会社 Equipment fault autonomous diagnosis system
WO2008155814A1 (en) * 2007-06-19 2008-12-24 Fujitsu Limited Packet processor, frame control method, and communication device
JP5720470B2 (en) * 2011-07-27 2015-05-20 富士通株式会社 Processing apparatus, test signal generating apparatus, and test signal generating method
JP5390662B2 (en) 2012-05-31 2014-01-15 株式会社東芝 Data transfer method and electronic device
CN107885671B (en) * 2016-09-30 2021-09-14 华为技术有限公司 Nonvolatile memory persistence method and computing device

Also Published As

Publication number Publication date
JP2002026968A (en) 2002-01-25

Similar Documents

Publication Publication Date Title
CA1257399A (en) Local area network for digital data processing system
US5014221A (en) Mechanism for arbitrating client access to a networked print server
US4975904A (en) Local area network for digital data processing system including timer-regulated message transfer arrangement
US4975905A (en) Message transmission control arrangement for node in local area network
CN1783852B (en) Efficient transfer of messages using reliable messaging protocols for WEB services
JP3525867B2 (en) Communication device and communication terminal
WO1998012844A1 (en) Packet transmitter-receiver and packet receiver
JP2001119434A (en) Network system
JP2004164553A (en) Server computer protection apparatus and method, server computer protection program, and server computer
JP3772690B2 (en) Service system and service method used therefor
US6452946B1 (en) Apparatus and method for improving performance in master and slave communications systems
JP3507824B2 (en) Data transmission device and data transmission method
JPH086898A (en) Polling substitute device
EP2336897B1 (en) Data processing apparatus, data processing method, and computer-readable storage medium
JP3945390B2 (en) Network device control system, server, and transmission control method
JP3275954B2 (en) Server registration method in server multiplexing
JP4192627B2 (en) Packet transmission / reception method and apparatus
CN116708247B (en) Router speed measuring method and router
EP0829807A2 (en) Data transmission system for transmitting data between plural microcomputer application instruments
JPS5811146B2 (en) Communication method using polling emulator
JP2003218977A (en) Communication apparatus, communication control method thereof, and program
JP3581182B2 (en) Information communication network method
JP3586672B2 (en) Communication control device
JP3422810B2 (en) Data communication system
JP3004048B2 (en) Facsimile store-and-forward communication system

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20031222

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040127

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040209

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080227

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090227

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100227

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100227

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110227

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110227

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120227

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120227

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130227

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130227

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140227

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees