JPH0231542A - Communication control method - Google Patents

Communication control method

Info

Publication number
JPH0231542A
JPH0231542A JP63182350A JP18235088A JPH0231542A JP H0231542 A JPH0231542 A JP H0231542A JP 63182350 A JP63182350 A JP 63182350A JP 18235088 A JP18235088 A JP 18235088A JP H0231542 A JPH0231542 A JP H0231542A
Authority
JP
Japan
Prior art keywords
communication
communication control
control device
packet
controller
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
JP63182350A
Other languages
Japanese (ja)
Other versions
JPH077969B2 (en
Inventor
Takeshi Goto
健 後藤
Shotaro Tanaka
祥太郎 田中
Yukiko Ono
由紀子 小野
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP63182350A priority Critical patent/JPH077969B2/en
Publication of JPH0231542A publication Critical patent/JPH0231542A/en
Publication of JPH077969B2 publication Critical patent/JPH077969B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To prevent sending of a communication packet which becomes unnecessary because the reception of the packet is impossible to an information transmission line and to reduce the traffic of the information transmission line by causing a communication controller on a transmission side to obtain the waiting time information required for transmitting the next communication packet. CONSTITUTION:When communication data are transmitted from a communication controller 2.1 to another communication controller 2.2, the processing time is stored in the controller 2.2. Then the controller reads out the processing time stored in the controller 2.2 prior to the transmission of a 1st communication packet and, after reading out the processing time, transmits the communication packet. The controller 2.2 is set to a state where the controller cannot receive the next packet, since the controller 2.2 starts to process the received communication data after receiving the data from the controller 2.1. The controller 2.1 transmits a 2nd communication packet after a time interval equal to the previously read-out processing time. Therefore, deterioration of the transmission efficiency due to the resending of the communication data and an increase in traffic can be prevented.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、通信パケットを用いる通信方法に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a communication method using communication packets.

従来の技術 第3図は従来の情報伝送システムの一実施例を示すブロ
ック図である。1は通信パケットを伝送する情報伝送路
、2j〜2−nは情報伝送路1を介して相互に通信する
通信制御装置である。
BACKGROUND OF THE INVENTION FIG. 3 is a block diagram showing an embodiment of a conventional information transmission system. 1 is an information transmission path for transmitting communication packets, and 2j to 2-n are communication control devices that communicate with each other via the information transmission path 1.

従来1台の通信制御装置が他の通信制御装置に対して連
続して複数の通信パケットを送信しようとするとき第1
番目の通信パケットを送出してから第2番目の通信パケ
ットを送出するまでの間隔は送信側通信制御装置が適当
な時間を定めるか、もしくは全く間隔をあけずに送信し
ていた。
Conventionally, when one communication control device attempts to send multiple communication packets consecutively to another communication control device, the first
The transmission side communication control device either determines an appropriate interval between sending the first communication packet and sending the second communication packet, or the communication packets are sent without any interval at all.

発明が解決しようとする課題 従来の方法で通信制御装置1が通信制御装置2に対して
連続して複数の通信パケットを伝送する場合、まず通信
制御装置1から通信制御装置2に対して第1番目の通信
パケットが伝送される。通信制御装置2は受信した通信
パケットの処理が終了するまで受信バッファが使用でき
ないので次の通信パケットを受信することができない。
Problems to be Solved by the Invention When the communication control device 1 successively transmits a plurality of communication packets to the communication control device 2 using the conventional method, first, the communication control device 1 sends a first packet to the communication control device 2. The th communication packet is transmitted. The communication control device 2 cannot receive the next communication packet because the reception buffer cannot be used until the processing of the received communication packet is completed.

一方、通信制御装置1は通信制御装置2の受信データ処
理がいつ終了するか分からないため、ただちにまたは一
定時間経過後第2番目の通信パケットを伝送する。しか
し、通信制御装置2では受信データ処理中であるので「
受信不可」の応答が返送される。通信制御装置1は「受
信不可」応答を受信したら一定時間後に第2番目のパケ
ットを再送する。
On the other hand, since the communication control device 1 does not know when the received data processing by the communication control device 2 will end, it transmits the second communication packet immediately or after a certain period of time has elapsed. However, since the communication control device 2 is processing the received data,
"Unable to receive" response is returned. When the communication control device 1 receives the "unreceivable" response, it retransmits the second packet after a certain period of time.

このシーケンスを通信制御装置2が受信可能となるまで
繰り返す。このため、受信データ処理に時間が掛かる場
合、情報伝送路上には再送パケットが頻繁に送信される
ため情報伝送路上のトラフィックが大きくなり、他の通
信に支障を与えるという課題があった。
This sequence is repeated until the communication control device 2 becomes able to receive data. Therefore, if it takes time to process the received data, retransmission packets are frequently transmitted on the information transmission path, which increases the traffic on the information transmission path, which poses a problem in that it interferes with other communications.

課題を解決するだめの手段 本発明は上記課題を解決するため、送信側通信制御装置
が連続して複数の通信パケットを送出する場合や受信側
から「現在受信不可」の旨の応答を受は増った場合に次
の通信パケットを送出するまでの「待ち時間情報」を受
信側通信制御装置から得られるように、通信制御装置内
の属性チーフルに受信パケットを処理するのに必要な「
処理時間」や、現在実行中の処理が終了するまでの「処
理待ち時間」を格納し、送信側通信制御装置が適宜読み
出せるようにするものである。
Means for Solving the Problems In order to solve the above problems, the present invention provides a method for solving the problems described above, when a transmitting side communication control device continuously sends out a plurality of communication packets or when receiving a response from the receiving side saying "currently unreceivable". In order to obtain "waiting time information" until the next communication packet is sent from the receiving side communication control device when the number of communication packets increases, the "waiting time information" required to process the received packet is set in the attribute chile in the communication control device.
It stores the "processing time" and the "processing waiting time" until the currently executing process is completed, so that the transmitting side communication control device can read it as appropriate.

作用 本発明は上記した方法で送信側通信制御装置があらかじ
め次の通信パケットを送信するまでに必要な「待ち時間
情報」を得られることで「受信不可」による不要な通信
パケットを情報伝送路上に送出することか無くなり、情
報伝送路上のトラフィックが減少し、通信効率および再
送の為の処理効率が非常に良くなる。
Effect of the present invention By using the method described above, the transmitting side communication control device can obtain in advance the "waiting time information" necessary before transmitting the next communication packet, so that unnecessary communication packets due to "unreceivable" can be removed from the information transmission path. There is no need to send information, the traffic on the information transmission path is reduced, and communication efficiency and processing efficiency for retransmission are greatly improved.

実施例 以下、図面に従い本発明の実施例を詳細に説明する。本
発明の通信制御方法を適用するシステム例は従来のもの
と同様である。
EXAMPLES Hereinafter, examples of the present invention will be described in detail with reference to the drawings. An example of a system to which the communication control method of the present invention is applied is the same as a conventional system.

第4図aは本発明の通信パケットの構成を示すものテす
る。スタートビット、送信元アドレスヲ示スマスターア
ドレス、マスターアドレスに対するパリティビット、相
手先アドレスを示すスレーブアドレス、スレーブアドレ
スに対するパリティビットとアックビット、コントロー
ルフィールド、コントロールフィールドに対するパリテ
ィビットとアックビットと、データフィールドから構成
されている。第4図すはデータフィールドの内容を示す
ものである。データフィールドは1バイト毎のデータと
コンティニューピットとパリティピ。
FIG. 4a shows the structure of a communication packet according to the present invention. Start bit, master address that indicates the source address, parity bit for the master address, slave address that indicates the destination address, parity bit and ACK bit for the slave address, control field, parity bit and ACK bit for the control field, and data field. It consists of FIG. 4 shows the contents of the data field. The data field consists of 1-byte data, continuity pits, and parity pits.

トとアソクビットで構成されている。パリティピントは
パリティチエツクを行うためのピットである。アックビ
ットは受信側が正常にそれぞれのデータを受信したこと
を送信側に通知する応答ピントで、正常に受信したとき
肯定応答パ0′”、受信エラーのとき否定応答″1”を
返送する。スレーブアドレスに対して肯定応答が返送さ
れたときは送信側からコントロールフィールドが送信さ
れる。
It consists of a bit and an assoc bit. Parity focus is a pit for performing a parity check. The ack bit is a response pin that notifies the transmitting side that the receiving side has received each data normally.When the receiving side receives the data normally, it returns an acknowledgment of ``0'', and when there is a reception error, it returns a negative response of ``1''.Slave When an acknowledgment is returned to the address, a control field is sent from the sender.

否定応答が返送されたときはその時点で通信が終結スる
。コントロールフィールドは第5図に示すように4ビツ
トで構成され、データの方向とパケットの制御内容とユ
ニットのロック制御を示している。データの方向はスレ
ーブからマスターへ送信する(リード)とマスターから
スレーブへ送信する(ライト)がある。データの制御内
容はスレーフステータス、データ、ロックアドレスのリ
ードやメモリアドレス、コマンド、データのライトがあ
る。例えば、データのライトを受信するとスレーブ側で
はデータフィールドのデータを受信し、受信バッファに
格納する。ユニットのロックはマスターがスレーブに対
してロックをかけるもので、−旦ロツクをかけられると
他のマスターからスレーブの状態を変えるような内容の
通信ノくケラトは受は付けない。
When a negative response is returned, the communication is terminated at that point. The control field is composed of 4 bits as shown in FIG. 5, and indicates the direction of data, the control contents of the packet, and the lock control of the unit. Data can be sent from the slave to the master (read) or from the master to the slave (write). Data control includes reading slave status, data, and lock addresses, and writing memory addresses, commands, and data. For example, when a data write is received, the slave side receives the data in the data field and stores it in the reception buffer. Unit locking is when a master locks a slave, and once the unit has been locked, it will not accept communications from other masters that would change the status of the slave.

以上のような構成要素を持つシステムにおける通信制御
方法について説明する。第1図は特許請求の範囲第1項
記載の発明を適用した場合の通信シーケンスを示す図、
第2、特許請求の範囲第2項記載の発明を適用した場合
の通信シーケンスを示す図、第6図は本発明の一実施例
に使用する情報通信システムの構成図である。3は情報
伝送路、4j 、4,2は通信制御装置、5,1.5.
2は通信パケットのパケット送受信部、7.1,7.2
はメモリ一部、8j 、8.2は端末側データ処理部で
ある。第8図は属性テーブルの構成図である。
A communication control method in a system having the above-mentioned components will be explained. FIG. 1 is a diagram showing a communication sequence when the invention described in claim 1 is applied;
Second, a diagram showing a communication sequence when the invention recited in claim 2 is applied, and FIG. 6 is a configuration diagram of an information communication system used in an embodiment of the present invention. 3 is an information transmission path, 4j, 4, 2 are communication control devices, 5, 1.5.
2 is a packet transmission/reception unit for communication packets, 7.1, 7.2
is a part of memory, and 8j and 8.2 are terminal side data processing units. FIG. 8 is a configuration diagram of the attribute table.

本発明の特許請求の範囲第1項に対応する方法では通信
制御装置21から通信制御装置2.2に通信データを伝
送する場合に通信制御装置2.2内の属性テープ/L/
9上の仮想アドレスN上に「処理時間j 10.Nを格
納しておき第1図に記述するシーケンスで通信を行う。
In the method according to claim 1 of the present invention, when transmitting communication data from the communication control device 21 to the communication control device 2.2, the attribute tape /L/
"Processing time j 10.N" is stored on the virtual address N on 9, and communication is performed in the sequence described in FIG.

送信側通信制御装置2.1が複数の通信パケットを連続
で通信制御装置2.2に伝送する場合に通信制御装置2
.1は第1番目の通信パケットの伝送に先だって、コン
トロールフィールドで定義された「データ読みだしJの
機能を利用して通信制御装置2.2内の属性テーブル上
に格納された「処理時間」を読み出した後、第1番目の
通信パケットを伝送する。通信制御装置2.2は通信制
御装置2.1から通信データを受信した後受信データ処
理に入るため次の通信パケットを受信できない状態には
いる。通信制御装置2.1では先に読みだしておいた「
処理時間」だけ間隔をあけて第2番目の通信パケットを
伝送する。この時侭においては通信制御装置2.2内で
はすでに先程受信した通信パケットの処理は終了してお
シ、通信制御装置2.1が送信した第2番目の通信パケ
ットは受理される。第3番目の通信パケットはさらに「
処理時間」だけ間隔をあけて送出する。このシーケンス
を繰シ返し、複数の通信パケットを連続して送出すれば
通信制御装置2.2から「受信不可」となって排除され
る事なく伝送され、再送による伝送効率の悪化やトラフ
ィックの増大は発生しない。
When the sending side communication control device 2.1 continuously transmits a plurality of communication packets to the communication control device 2.2, the communication control device 2.1
.. 1 reads the "processing time" stored on the attribute table in the communication control device 2.2 using the "data read J" function defined in the control field before transmitting the first communication packet. After reading, the first communication packet is transmitted. After the communication control device 2.2 receives the communication data from the communication control device 2.1, it starts processing the received data, so it is in a state where it cannot receive the next communication packet. In communication control device 2.1, the “
The second communication packet is transmitted at an interval of "processing time". At this time, the communication control device 2.2 has already finished processing the previously received communication packet, and the second communication packet transmitted by the communication control device 2.1 is accepted. The third communication packet further reads “
The data is sent at intervals of "processing time". If this sequence is repeated and multiple communication packets are sent out in succession, they will be transmitted without being rejected as "unreceivable" by the communication control device 2.2, resulting in deterioration of transmission efficiency and increase in traffic due to retransmission. does not occur.

本発明の特許請求の範囲第2項に対応する方法では通信
制御装置2.1から通信制御装置2.2に通信データを
伝送を試みたが、通信制御装置2.2は以前に受信した
通信パケットの処理中であるためにr受信不可」の応答
を受けた場合に、通信制御装置2.1が通信パケットを
通信制御装置2.2に対して再送するのに先だって、コ
ントロールフィールド 用して通信制御装置2.2内の属性テーブル9上の仮想
アドレスMに格納された「処理待ち時間」10、Mを読
みだし、通信制御装置2.1が通信制御装置2.2へ再
送するまでの待ち時間に対応させる事によシ、通信制御
装置2.1が通信制御装置2.2に対して伝送した再送
パケットが再び「受信不可Mによって排除されることを
防ぎ、伝送効率の向上を図る。
In the method corresponding to claim 2 of the present invention, an attempt is made to transmit communication data from the communication control device 2.1 to the communication control device 2.2, but the communication control device 2.2 When the communication control device 2.1 receives a response saying “r cannot be received because the packet is being processed,” the communication control device 2.1 uses the control field to send the communication packet to the communication control device 2.2. The "processing waiting time" 10, M stored in the virtual address M on the attribute table 9 in the communication control device 2.2 is read out, and the wait time until the communication control device 2.1 resends to the communication control device 2.2 is calculated. By adapting to the waiting time, it is possible to prevent retransmitted packets transmitted by the communication control device 2.1 to the communication control device 2.2 from being rejected again due to "unreceivable M", and improve transmission efficiency. .

発明の効果 本発明を採用することで受信側通信制御装置が受信デー
タ処理中のため「受信不可」となって、送信側通信制御
装置が再送を繰り返し、情報伝送路上のトラフィックを
増大させるという問題点を解決することが可能となる。
Effects of the Invention By adopting the present invention, the problem that the receiving side communication control device becomes "unreceivable" because it is processing received data, and the sending side communication control device repeats retransmission, increasing the traffic on the information transmission path. It becomes possible to resolve the points.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の第1の実施例の通信シーケンス図、第
2図は本発明の第2の実施例の通信シーケンス図、第3
図は本発明を適用する情報伝送システムの一実施例の構
成図、第4図aは本発明を適用する通信パケットの構成
図、同図すは通信パケット中のデータフィールドの内容
図、第5図はコントロールフィールドの定義図、第6図
は通信制御装置の構成図、第7図は従来の通信シーケン
ス図、第8図は属性テーブルの構成図である。 1・・・・・・情報伝送路、2.1〜2.n・・・・・
・通信制御装置。 代理人の氏名 弁理士 粟 野 重 孝 ほか1名第 図 第 図 第 図 蓮4占パケット、、講仄 テ゛−タ フィールドの内架 第 図 第 図 第 図
FIG. 1 is a communication sequence diagram of the first embodiment of the present invention, FIG. 2 is a communication sequence diagram of the second embodiment of the present invention, and FIG.
The figure is a configuration diagram of an embodiment of an information transmission system to which the present invention is applied, FIG. 6 is a diagram showing the definition of a control field, FIG. 6 is a configuration diagram of a communication control device, FIG. 7 is a diagram of a conventional communication sequence, and FIG. 8 is a configuration diagram of an attribute table. 1... Information transmission path, 2.1-2. n...
・Communication control device. Name of agent Patent attorney Shigetaka Awano and one other person

Claims (2)

【特許請求の範囲】[Claims] (1)複数台の通信制御装置が一系統の情報伝送路に接
続され、前記各通信制御装置は自己の属性を登録し、他
の通信制御装置から読みだすことのできる属性テーブル
を具備し、前記複数台の通信制御装置のうちの一台が通
信パケットの送信側となり他の一台が受信側となって1
対1で情報通信を行う場合において、前記属性テーブル
内に前記送信側通信制御装置から前記情報伝送路経由で
受信した通信パケットを処理し次の通信パケットが受信
可能となるまでに要する処理時間を予め格納しておき、
前記送信側通信制御装置が連続して複数の通信パケット
を受信側通信制御装置に伝送する場合に、第1番目の通
信パケットの送信に先だって前記受信側通信制御装置内
の前記属性テーブル上の処理時間を読みだし、連続して
送信する複数の通信パケットの送信間隔を調節すること
を特徴とする通信制御方法。
(1) A plurality of communication control devices are connected to one system of information transmission path, and each of the communication control devices is provided with an attribute table in which its own attributes can be registered and read from other communication control devices; One of the plurality of communication control devices serves as the transmitting side of the communication packet, and the other one serves as the receiving side.
When performing one-to-one information communication, the processing time required to process a communication packet received from the sending side communication control device via the information transmission path and become ready to receive the next communication packet is included in the attribute table. Store it in advance,
When the transmitting side communication control device successively transmits a plurality of communication packets to the receiving side communication control device, processing on the attribute table in the receiving side communication control device before transmitting the first communication packet. A communication control method characterized by reading the time and adjusting the transmission interval of a plurality of communication packets that are continuously transmitted.
(2)特許請求の範囲第1項記載の属性テーブル内に受
信側通信制御装置が受信した通信パケットに対して現在
行っている処理が終了し次の通信パケットが受信可能と
なるまでの処理待ち時間を格納し、送信側通信制御装置
が通信パケットの送信に先だって前記処理待ち時間を読
みだし、通信パケットを送信するまでの待ち時間を調節
することを特徴とする通信制御方法。
(2) Waiting for processing until the receiving side communication control device finishes the processing currently being performed on the received communication packet and becomes ready to receive the next communication packet in the attribute table described in claim 1. 1. A communication control method, comprising: storing a time; a transmitting-side communication control device reads out the processing waiting time before transmitting a communication packet; and adjusting the waiting time until transmitting the communication packet.
JP63182350A 1988-07-21 1988-07-21 Communication control method Expired - Fee Related JPH077969B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63182350A JPH077969B2 (en) 1988-07-21 1988-07-21 Communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63182350A JPH077969B2 (en) 1988-07-21 1988-07-21 Communication control method

Publications (2)

Publication Number Publication Date
JPH0231542A true JPH0231542A (en) 1990-02-01
JPH077969B2 JPH077969B2 (en) 1995-01-30

Family

ID=16116776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63182350A Expired - Fee Related JPH077969B2 (en) 1988-07-21 1988-07-21 Communication control method

Country Status (1)

Country Link
JP (1) JPH077969B2 (en)

Also Published As

Publication number Publication date
JPH077969B2 (en) 1995-01-30

Similar Documents

Publication Publication Date Title
US4430651A (en) Expandable and contractible local area network system
US4423414A (en) System and method for name-lookup in a local area network data communication system
US4410889A (en) System and method for synchronizing variable-length messages in a local area network data communication system
US7487424B2 (en) Bitmap manager, method of allocating a bitmap memory, method of generating an acknowledgement between network entities, and network entity implementing the same
JPH0720150B2 (en) Communication control method
CN109067506A (en) A kind of lightweight asynchronous message implementation method concurrent based on multi-slide-windows mouth
JP2778373B2 (en) Buffer device with retransmission function
JPH0231542A (en) Communication control method
JPH0458215B2 (en)
US7664863B2 (en) Data transferring method
JP3863456B2 (en) Method for transmitting / receiving data via network and system for transferring data packet via network
JPH0552106B2 (en)
JPH02100538A (en) Data communication method for local area network
JP3148733B2 (en) Signal processing device and signal processing system
JPH04263545A (en) Data communication equipment
JPS63246055A (en) Packet transmitter-receiver
EP0494036A2 (en) Data frames transmission with erroneous frames retransmission in HDLC protocol
JPS58219856A (en) Data communication system
JP2000244530A (en) Data communication equipment
JPH06112972A (en) Packet re-transmission system
JPS63169855A (en) Packet transmission system with error retransmission function
CN118069046A (en) Multi-queue RDMA request recording and retransmitting method based on shared cache structure
JPH04291435A (en) Computer system
JPH01291543A (en) Transmission control method
JPH02162859A (en) Communication control equipment and information transmission system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees