JPH0457544A - Transmission control system - Google Patents

Transmission control system

Info

Publication number
JPH0457544A
JPH0457544A JP2171007A JP17100790A JPH0457544A JP H0457544 A JPH0457544 A JP H0457544A JP 2171007 A JP2171007 A JP 2171007A JP 17100790 A JP17100790 A JP 17100790A JP H0457544 A JPH0457544 A JP H0457544A
Authority
JP
Japan
Prior art keywords
data
transmission
data transmission
communication processing
time
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
JP2171007A
Other languages
Japanese (ja)
Other versions
JPH0824318B2 (en
Inventor
Shigehiro Konno
紺野 繁廣
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2171007A priority Critical patent/JPH0824318B2/en
Publication of JPH0457544A publication Critical patent/JPH0457544A/en
Publication of JPH0824318B2 publication Critical patent/JPH0824318B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Exchange Systems With Centralized Control (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To allow a data communication processing section to detect the end of data transmission by recognizing it that the data transmission is finished when an actual transmission time is a calculated transmission time or over, transmitting and receiving a succeeding data to a data transmission circuit section. CONSTITUTION:A data transmission request reception command means 11a sends a data to a destination via a data transmission circuit section 13 when the data is not sent on the occurrence of a data transmission request and a data transmission time arithmetic means 11b calculates a data transmission time Tc based on a transmission data length and a data transmission speed. Then a data transmission end monitor means 11c calculates an actual transmission time (t) to monitor whether or not the time reaches the data transmission time Tc or over and in the case of t>=Tc, it is taken that the data transmission is finished. Thus, even when no data transmission end notice comes from a data transmission circuit block 13, the data communication processing section 11 detects the end of data transmission internally.

Description

【発明の詳細な説明】 [目次] 概要 産業上の利用分野 従来の技術(第5図) 発明が解決しようとする課題 課題を解決するための手段(第1図) 作用(第1図) 実施例 (a)一実施例の説明(第2図) 送信中でない場合 送信中の場合 (b)他の実施例(第3図、第4図) 発明の効果 [概要] 相手先にデータを送信する通信制御ユニット(CCU)
や回線制御装置等のデータ送信回路部と、データ送信依
頼を受は付けると共に所定のデータの送信をデータ送信
回路部に指示するデジタル交換機等のデータ通信処理部
とを備えたデータ通信装置の送信制御方式に関し、 データ送信回路部からデータ送信完了通知がなくても、
データ通信処理部がデータ送信完了を検知でき、又デー
タ送信回路部からデータ送信完了通知がなくても、デー
タ通信処理部の内部処理のみでデータ送信完了を検知で
きる送信制御方式を提供することを目的とし、 データ通信処理部は、送信すべきデータに付されたデー
タ長に基づいて該データの送信時間を演算し、実際の送
信時間が前記演算した送信時間以上になった時、データ
送信が完了したと認識し、次のデータの送信をデータ送
信回路部に指示するように構成する。
[Detailed description of the invention] [Table of contents] Overview Industrial field of application Prior art (Figure 5) Means for solving the problem to be solved by the invention (Figure 1) Effect (Figure 1) Implementation Example (a) Description of one embodiment (Figure 2) When not transmitting When transmitting (b) Other embodiments (Figures 3 and 4) Effects of the invention [Summary] Sending data to the destination Communication control unit (CCU)
Transmission of a data communication device comprising a data transmission circuit unit such as a line controller or a line control device, and a data communication processing unit such as a digital exchange that accepts data transmission requests and instructs the data transmission circuit unit to transmit predetermined data. Regarding the control method, even if there is no data transmission completion notification from the data transmission circuit,
To provide a transmission control method in which a data communication processing section can detect the completion of data transmission, and can also detect the completion of data transmission only by internal processing of the data communication processing section even if there is no data transmission completion notification from the data transmission circuit section. The data communication processing unit calculates the transmission time of the data based on the data length attached to the data to be transmitted, and when the actual transmission time exceeds the calculated transmission time, the data communication processing section The configuration is configured to recognize that the data has been completed and instruct the data transmission circuit unit to transmit the next data.

[産業上の利用分野コ 本発明はデータ通信装置の送信制御方式に係わり、特に
相手先にデータを送信する通信制御二ニット(CCU)
や回線制御装置等のデータ送信回路部と、データ送信依
頼を受は付けると共に所定のデータの送信をデータ送信
回路部に指示するデジタル交換機等のデータ通信処理部
とを備えたデータ通信装置の送信制御方式に関する。
[Industrial Field of Application] The present invention relates to a transmission control system for a data communication device, and particularly to a communication control unit (CCU) that transmits data to a destination.
Transmission of a data communication device comprising a data transmission circuit unit such as a line controller or a line control device, and a data communication processing unit such as a digital exchange that accepts data transmission requests and instructs the data transmission circuit unit to transmit predetermined data. Regarding control method.

蓄積型のデジタル交換機は、処理部とメモリを備え、入
力されたメツセージ、パケット等の送信データをメモリ
に記憶すると共に、適宜所定のデータをメモリから読み
取って通信制御ユニット(CCU)や回線制御装置等の
データ送信回路部を介して相手先に送信し、データの送
信が完了する毎に次のデータをメモリから読み取って同
様にデータ送信回路部を介して送信するようになってい
る。このため、デジタル交換機等のデータ通信処理部で
は、相手データ通信装置に向けて送信されるデータ毎に
、データの送信が完了したことを何らかの方法で検知す
る必要がある。
Storage-type digital switching equipment is equipped with a processing unit and a memory, and stores transmitted data such as input messages and packets in the memory, and also reads predetermined data from the memory as appropriate and sends it to the communication control unit (CCU) or line control device. The data is transmitted to the other party via a data transmitting circuit such as, and each time data transmission is completed, the next data is read from the memory and similarly transmitted via the data transmitting circuit. For this reason, in a data communication processing unit such as a digital exchange, it is necessary to detect by some method that data transmission has been completed for each data transmitted to a partner data communication device.

[従来の技術] 従来は送信回路部側にデータ送信完了を識別する手段を
設け、データ送信完了を識別した時その旨をデジタル交
換機等に通知するようにしている。
[Prior Art] Conventionally, a transmitting circuit unit is provided with means for identifying the completion of data transmission, and when the completion of data transmission is identified, a digital exchange or the like is notified of this fact.

第5図は従来の送信制御方式を説明するためのデータ通
信装置のブロック図であり、1はデータ受信回路部、2
はプログラムに従ってデータ通信処理を行うデータ通信
処理部、3は送信依頼のあったデータを記憶するメモリ
、4は回線制御ユニット等のデータ送信回路部、5は通
信回線で、データ通信処理部2とメモリ3により例えば
デジタル交換機が構成される。
FIG. 5 is a block diagram of a data communication device for explaining a conventional transmission control method, in which 1 is a data reception circuit section, 2
is a data communication processing unit that performs data communication processing according to a program; 3 is a memory that stores data requested to be transmitted; 4 is a data transmission circuit unit such as a line control unit; and 5 is a communication line, which is connected to the data communication processing unit 2. The memory 3 constitutes, for example, a digital exchange.

図示しない端末等からデータ送信要求があると、データ
受信回路部1はデータ通信処理部2にデータ送信依頼を
出す。データ通信処理部2はデータ送信中でなければ、
直ちにデータ送信回路部4に対しデータの送信を指示す
ると共に送信データを送り、データ送信回路部4により
通信回線5を介して相手先にデータを送信させる。
When a data transmission request is received from a terminal (not shown), the data reception circuit section 1 issues a data transmission request to the data communication processing section 2. If the data communication processing unit 2 is not transmitting data,
It immediately instructs the data transmission circuit section 4 to transmit data and sends the transmission data, causing the data transmission circuit section 4 to transmit the data to the other party via the communication line 5.

一方、データ送信依頼があった時、データ送信中であれ
ば、データ通信処理部2は送信依頼のあったデータをメ
モリ3に格納する。しかる後、データの送信が完了して
データ送信完了識別部4aにより検出されると、データ
送信回路部4はインタフェース4bを介してデータ送信
完了を示すデータをデータ通信処理部2に通知する。こ
れにより、データ通信処理部2は通知データを取り込み
、該データの発信元、該データがいかなる内容のものか
等の分析処理を行う。そして、分析処理により送信完了
を検知すると、メモリ3に送信データが存在するか調べ
、存在すればデータ送信回路部4にデータの送信を指示
すると共に、送信データをメモリ3から読み取って送り
、通信回線5を介して相手先にデータを送信させる。以
後、同様な動作が繰り返えされてメモリに記憶されてい
る全データが相手先に送信される。
On the other hand, if data transmission is in progress when a data transmission request is made, the data communication processing section 2 stores the data requested to be transmitted in the memory 3. Thereafter, when the data transmission is completed and detected by the data transmission completion identification section 4a, the data transmission circuit section 4 notifies the data communication processing section 2 of data indicating the completion of data transmission via the interface 4b. As a result, the data communication processing unit 2 takes in the notification data and performs analysis processing to determine the source of the data, the content of the data, etc. When the completion of transmission is detected by the analysis process, it is checked whether transmission data exists in the memory 3, and if it exists, it instructs the data transmission circuit section 4 to transmit the data, reads the transmission data from the memory 3 and sends it, and communicates. Data is sent to the other party via line 5. Thereafter, similar operations are repeated and all data stored in the memory is transmitted to the other party.

[発明が解決しようとする課題] 以上のように、従来方式では送信回路部でデータ送信完
了を検出してデータ通信処理部に通知し、データ通信処
理部で通知データを分析して発信元やデータ送信完了を
検知するものである。このため、データ送信完了通知処
理やデータ送信完了検知処理が送信回路部、データ通信
処理部の負荷となってデータ通信装置全体の転送能力を
低下させる原因になっている。尚、以上は通信回線が1
つで、データ送信回路部も1つの場合であるが、複数の
通信回線のそれぞれにデータ送信回路部が設けられ、各
データ送信回路部からデータ送信完了が通知される場合
には、データ送信完了検知処理に要する時間が増加し、
ますますデータ通信装置の転送能力を低下させる。
[Problems to be Solved by the Invention] As described above, in the conventional method, the transmission circuit section detects the completion of data transmission and notifies the data communication processing section, and the data communication processing section analyzes the notification data and determines the source and This is to detect the completion of data transmission. Therefore, the data transmission completion notification processing and the data transmission completion detection processing place a load on the transmission circuit section and the data communication processing section, causing a reduction in the transfer capacity of the entire data communication device. In addition, the above communication line is 1
In this case, there is only one data transmission circuit, but if a data transmission circuit is provided for each of a plurality of communication lines, and data transmission completion is notified from each data transmission circuit, data transmission is completed. The time required for detection processing increases,
This further reduces the transfer ability of data communication equipment.

以上から本発明の目的は、データ送信回路部からデータ
送信完了通知がなくても、データ通信処理部がデータ送
信完了を検知できる送信制御方式を提供することである
From the above, it is an object of the present invention to provide a transmission control system in which a data communication processing section can detect completion of data transmission even if there is no data transmission completion notification from the data transmission circuit section.

本発明の別の目的は、データ送信回路部からデータ送信
完了通知がなくても、データ通信処理部の内部処理のみ
でデータ送信完了を検知できる送信制御方式を提供する
ことである。
Another object of the present invention is to provide a transmission control method that can detect the completion of data transmission only by internal processing of the data communication processing section, even if there is no data transmission completion notification from the data transmission circuit section.

本発明の更に別の目的は、優先度が異なるデータを優先
順に転送する場合に使用して好適な送信制御方式を提供
することである。
Still another object of the present invention is to provide a transmission control method suitable for use when data having different priorities are transferred in order of priority.

[課題を解決するための手段] 第1図は本発明の原理説明図である。[Means to solve the problem] FIG. 1 is a diagram explaining the principle of the present invention.

11はデータ通信処理を行うデータ通信処理部、12は
送信データを記憶するメモリ、13はデータ送信回路部
である。データ通信処理部11は、データ送信依頼によ
りデータの送信をデータ送信回路部13に指示するデー
タ送信依頼受付・指示手段11aと、送信すべきデータ
に付されたデータ長に基づいて該データの送信時間を演
算するデータ送信時間演算手段11bと、実際の送信時
間tが演算したデータ送信時間Tc以上になったか監視
するデータ送信完了監視手段11cと、データ送信中に
新たなデータ送信依頼が発生した時、送信データに付さ
れている優先度に基づいて送信待ちキューを作成する送
信待ちキュー作成手段11dを有している。
11 is a data communication processing unit that performs data communication processing; 12 is a memory that stores transmission data; and 13 is a data transmission circuit unit. The data communication processing section 11 includes a data transmission request reception/instruction means 11a that instructs the data transmission circuit section 13 to transmit data in response to a data transmission request, and a data transmission request reception/instruction means 11a that instructs the data transmission circuit section 13 to transmit data based on the data length attached to the data to be transmitted. The data transmission time calculation means 11b calculates the time, the data transmission completion monitoring means 11c monitors whether the actual transmission time t is equal to or longer than the calculated data transmission time Tc, and the data transmission completion monitoring means 11c monitors whether a new data transmission request occurs during data transmission. At the time, the transmission queue creation means 11d creates a transmission queue based on the priority assigned to the transmission data.

[作用] 本発明によれば、データ送信依頼発生時、データ送信中
でなければ、データ送信依頼受付・指示。
[Operation] According to the present invention, when a data transmission request is generated, if data transmission is not in progress, the data transmission request is accepted and instructed.

手段11aはデータ送信回路部13を介して相手先にデ
ータを送信すると共に、データ送信時間演算手段11b
は送信データ長とデータ送信速度に基づいてデータ送信
時間Tcを演算し、データ送信完了監視手段11cは実
際の送信時間tが演算したデータ送信時間Tc以上にな
ったか監視し、t≧Tcになった時、データ送信が完了
したとする。この結果、データ送信回路部13からデー
タ送信完了通知がなくても、データ通信処理部11はデ
ータ送信完了を内部的に検知でき、データ送信完了検知
のために外部とのデータのやりとりが不要となり、デー
タ送信回路部及びデータ通信処理部の負担を軽減でき、
データ通信装置全体の転送能力をアップできる。
The means 11a transmits data to the other party via the data transmission circuit section 13, and the data transmission time calculation means 11b
calculates the data transmission time Tc based on the transmission data length and data transmission speed, and the data transmission completion monitoring means 11c monitors whether the actual transmission time t exceeds the calculated data transmission time Tc, and if t≧Tc. It is assumed that the data transmission is completed when the data is sent. As a result, even if there is no data transmission completion notification from the data transmission circuit section 13, the data communication processing section 11 can internally detect the completion of data transmission, and there is no need to exchange data with the outside to detect the completion of data transmission. , the burden on the data transmission circuit section and data communication processing section can be reduced,
The transfer capacity of the entire data communication device can be increased.

又、本発明によれば、データ送信依頼発生時、データ送
信中であれば、データ送信依頼受付・指示手段11aは
依頼があった送信データをメモリ12に記憶し、送信待
ちキュー作成手段lidは送信データに付されている優
先度に基づいて送信待ちキューQUEを作成する。そし
て、データ送信完了によりデータ送信依頼受付・指示手
段11aは送信待ちキューQUEにおける最も優先度が
高い送信データをメモリ12から読み出し、該データの
送信をデータ送信回路部13に指示する。
Further, according to the present invention, when a data transmission request is generated and data transmission is in progress, the data transmission request reception/instruction means 11a stores the requested transmission data in the memory 12, and the transmission waiting queue creation means lid A transmission waiting queue QUE is created based on the priority assigned to the transmission data. When the data transmission is completed, the data transmission request reception/instruction means 11a reads the transmission data with the highest priority in the transmission waiting queue QUE from the memory 12, and instructs the data transmission circuit section 13 to transmit the data.

この結果、相手先データ通信装置に転送優先度が異なる
データを混在させて転送する場合、確実に優先度が高い
順にデータを送信することができる。
As a result, when a mixture of data having different transfer priorities is transferred to the other party's data communication device, the data can be reliably transmitted in the order of the highest priority.

[実施例] (a)一実施例の説明 第2図は本発明の一実施例の構成図であり、第1図と同
一部分には同一符号を付している。
[Embodiment] (a) Description of one embodiment FIG. 2 is a block diagram of one embodiment of the present invention, and the same parts as in FIG. 1 are given the same reference numerals.

図中、11はデータ通信処理を行うデータ通信処理部、
12は送信データを記憶するメモリ、13はデータ送信
回路部、14は通信回線、15はデータ受信回路部、1
6a、16b、16c・・データ端末である。
In the figure, 11 is a data communication processing unit that performs data communication processing;
12 is a memory for storing transmission data; 13 is a data transmission circuit; 14 is a communication line; 15 is a data reception circuit;
6a, 16b, 16c... are data terminals.

データ通信処理部11は、送信依頼によりデー夕の送信
をデータ送信回路部13に指示したり、送信データをメ
モリ12に読み/書きするデータ送信依頼受付・指示手
段11aと、送信すべきデータの長さと既知のデータ送
信速度とに基づいてデータ送信時間を演算するデータ送
信時間演算手段11bと、実際の送信時間tが演算した
データ送信時間Tc以上になったか監視するデータ送信
完了監視手段11cと、データ送信中に新たなデータ送
信依頼が発生した時、該依頼があった送信データの優先
度に基づいて送信待ちキューQUEを作成する送信待ち
キュー作成手段lidを有している。
The data communication processing unit 11 includes a data transmission request reception/instruction unit 11a that instructs the data transmission circuit unit 13 to transmit data in response to a transmission request, reads/writes transmission data into the memory 12, and a data transmission request reception/instruction unit 11a that instructs the data transmission circuit unit 13 to transmit data in response to a transmission request, and a data transmission request reception/instruction unit 11a that Data transmission time calculation means 11b that calculates the data transmission time based on the length and known data transmission speed, and data transmission completion monitoring means 11c that monitors whether the actual transmission time t is equal to or longer than the calculated data transmission time Tc. , has a transmission queue creation means lid which creates a transmission queue QUE based on the priority of the requested transmission data when a new data transmission request occurs during data transmission.

以下、第2図の全体的動作を説明するが、データ送信依
頼発生時において、データ送信中でない場合と、送信中
である場合とについて分けて説明する。
The overall operation of FIG. 2 will be described below, but the explanation will be made separately for cases in which data is not being transmitted and cases in which data is being transmitted when a data transmission request is issued.

データ信中でない場合 データ端末16a、16b、 ・・等からデータ送信要
求があると、データ受信回路部15はブタ通信処理部1
1にデータ送信依頼を出す。
When data is not being transmitted, when there is a data transmission request from the data terminals 16a, 16b, etc., the data receiving circuit section 15 sends the pig communication processing section 1
Send a data transmission request to 1.

このデータ送信依頼発生時、データ送信中でなければ、
データ送信依頼受付・指示手段11aは、データ送信回
路部13に対しデータの送信を指示すると共に、入力さ
れた送信データを送り1通信回線14を介して相手先に
データを送信させる。
When this data transmission request occurs, if data is not being transmitted,
The data transmission request reception/instruction means 11a instructs the data transmission circuit section 13 to transmit data, and also sends the input transmission data to transmit the data to the other party via the communication line 14.

又、以上と並行して、データ送信時間演算手段11bは
送信データに付されたデータ長しとデータ送信回路部1
3によるデータ送信速度V(既知)に基づいて次式 %式%(1) によりデータ送信時間Tcを演算し、データ送信完了監
視手段11Cは、データ送信開始後の実際の送信時間t
を計時し、該時間が演算したデータ送信時間Tc以上に
なったか監視し、t≧Tcになった時、データ送信が完
了したと判断する。
In addition, in parallel with the above, the data transmission time calculation means 11b calculates the data length attached to the transmission data and the data transmission circuit section 1.
Based on the data transmission speed V (known) according to 3, the data transmission time Tc is calculated by the following formula % formula % (1), and the data transmission completion monitoring means 11C calculates the actual transmission time t after the start of data transmission.
It is monitored whether the time exceeds the calculated data transmission time Tc, and when t≧Tc, it is determined that the data transmission has been completed.

データ送信が完了すると、データ送信依頼受付・指示手
段11aは別途作成しである送信待ちキューQUEを参
照して送信すべきデータがメモリ12に存在するか調べ
、存在すれば最も送信優先度が高い送信データを求め、
該送信データを送信待ちキューから取り外す。ついで、
データ送信依頼受付・指示手段11aはデータ送信回路
部13にデータの送信を指示すると共に、最も送信優先
順位が高い送信データをメモリ12から読み取って送り
、通信回線14を介して相手先に送信させる。
When the data transmission is completed, the data transmission request reception/instruction means 11a refers to a separately created transmission waiting queue QUE to check whether the data to be transmitted exists in the memory 12, and if it exists, the data transmission request reception/instruction means 11a determines whether the data to be transmitted exists in the memory 12 or not. Ask for sending data,
Remove the transmission data from the transmission queue. Then,
The data transmission request reception/instruction means 11a instructs the data transmission circuit unit 13 to transmit data, reads the transmission data with the highest transmission priority from the memory 12, transmits it, and transmits it to the other party via the communication line 14. .

又、データ送信時間演算手段11bは前述と同様に送信
データ長に基づいてデータ送信時間Tcを演算し、デー
タ送信完了監視手段11cは、該データ送信時間に基づ
いてデータ送信完了を監視し、以後メモリに記憶されて
いる全データが送信されるまで同様の動作を行う。
Further, the data transmission time calculation means 11b calculates the data transmission time Tc based on the transmission data length in the same manner as described above, and the data transmission completion monitoring means 11c monitors the completion of data transmission based on the data transmission time. Similar operations are performed until all data stored in memory is transmitted.

データ信 の場へ 以上はデータ送信依頼発生時、データ送信中でない場合
であるが、データ送信中であれば、データ送信依頼受付
・指示手段11aは、送信依頼のあったデータをメモリ
12に格納する。又、送信待ちキュー作成手段11dは
送信データに付されている優先度Pを抽出し、該優先度
Pの待ちキューの末尾に依頼があった送信データを接続
し、送信待ちキューQUEを更新する。尚、送信待ちキ
ューQUEは優先度1..2,3・・n毎の待ちキュー
Q11Q21Q31  ・・Qnで構成され、送信優先
順位が最も高いデータは、優先度が一番高い送信データ
のうち最初にメモリ12に記憶されたものである。
To the place of data transmission The above is a case where data transmission is not in progress when a data transmission request is issued, but if data transmission is in progress, the data transmission request reception/instruction means 11a stores the requested data in the memory 12. do. Further, the transmission waiting queue creation means 11d extracts the priority P attached to the transmission data, connects the requested transmission data to the end of the waiting queue with the priority P, and updates the transmission waiting queue QUE. . Note that the transmission queue QUE has a priority of 1. .. The data having the highest transmission priority is the one stored in the memory 12 first among the transmission data having the highest priority.

かかる状態においてデータ送信が完了すれば前述のよう
に、データ送信依頼受付・指示手段11aは送信待ちキ
ューQUEを参照して最も送信優先順位が高い送信デー
タをメモリ12から読み取って送信回路部13に送り、
又データ送信完了監視手段11cはデータ送信時間演算
手段11bで演算されたデータ送信時間Tcに基づいて
データ送信完了を監視し、以後同様の動作を行う。
When data transmission is completed in such a state, as described above, the data transmission request reception/instruction means 11a refers to the transmission waiting queue QUE, reads the transmission data with the highest transmission priority from the memory 12, and sends it to the transmission circuit section 13. sending,
Further, the data transmission completion monitoring means 11c monitors the completion of data transmission based on the data transmission time Tc calculated by the data transmission time calculation means 11b, and performs the same operation thereafter.

(b)他の実施例 上述の実施例は、データ通信処理部11を機能毎にブロ
ック化して構成した場合であるが、コンピュータ構成に
してプログラムによりデータ通信処理を行うように構成
することもできる。
(b) Other Embodiments The above embodiment is a case in which the data communication processing unit 11 is configured by dividing it into blocks for each function, but it can also be configured to be configured as a computer and perform data communication processing by a program. .

第3図はかかる場合のデータ通信装置のプロツり図で、
第2図と同一部分には同一符号を付している。11は第
4図に示す流れ図に従って送信制御処理を行うコンピュ
ータ構成のデータ通信処理部であり、プロセッサ11−
1、データ送信時間Tcや送信待ちキューQUE等を記
憶するデータメモリ部11−2、通信制御プログラム等
を記憶するプログラムメモリ部11−3等を備えている
Figure 3 is a diagram of the data communication device in such a case.
The same parts as in FIG. 2 are given the same reference numerals. Reference numeral 11 denotes a data communication processing section having a computer configuration that performs transmission control processing according to the flowchart shown in FIG.
1. A data memory section 11-2 for storing data transmission time Tc, a transmission waiting queue QUE, etc., a program memory section 11-3 for storing communication control programs, etc. are provided.

12は送信データを記憶するメモリ、13はデータ送信
回路部、14は通信回線、15はデータ受信回路部、1
6a、16b、  ・・はデータ端末である。
12 is a memory for storing transmission data; 13 is a data transmission circuit; 14 is a communication line; 15 is a data reception circuit;
6a, 16b, . . . are data terminals.

以下、第4図の流れ図に従って送信制御処理を説明する
The transmission control process will be explained below according to the flowchart in FIG.

データ端末16a、16b、 ・・等からデータ送信要
求があると、データ受信回路部15はデータ通信処理部
11にデータ送信依頼を出す。
When a data transmission request is received from the data terminals 16a, 16b, . . . , the data reception circuit section 15 issues a data transmission request to the data communication processing section 11.

データ送信依頼があると、データ通信処理部11は現在
データ送信中であるか調べ(ステップ101)、データ
送信中でなければ、データ送信回路部13に対しデータ
の送信を指示すると共に。
When there is a data transmission request, the data communication processing unit 11 checks whether data is currently being transmitted (step 101), and if data is not being transmitted, it instructs the data transmission circuit unit 13 to transmit data.

依頼があった送信データを送って通信回線14を介して
所定の相手先に送信させる(ステップ1゜2)。
The requested transmission data is sent to a predetermined destination via the communication line 14 (steps 1-2).

又、データ通信処理部11は、送信データに付されたデ
ータ長りとデータ送信速度■(既知)を用いて(1)式
によりデータ送信時間Tcを演算しくステップ103)
、データ送信開始後の実際の送信時間tが前記演算した
データ送信時間Tc以上になったか監視する(ステップ
104)。
Further, the data communication processing unit 11 calculates the data transmission time Tc by equation (1) using the data length attached to the transmission data and the data transmission speed (known) (step 103).
, it is monitored whether the actual transmission time t after the start of data transmission is equal to or longer than the calculated data transmission time Tc (step 104).

実際の送信時間tがTc以下であれば、新たなデータ送
信依頼が発生したかチエツクしくステップ105)、発
生してなければ時間監視を継続し、発生していればステ
ップ101に戻り以降の処理を実行する。
If the actual transmission time t is less than or equal to Tc, check whether a new data transmission request has occurred (step 105); if not, continue time monitoring; if it has occurred, return to step 101 for subsequent processing. Execute.

データ送信が継続し、ステップ104においてt≧Tc
になると(タイムアツプ)、データ通信処理部11はデ
ータ送信が完了したと判断し、別途作成してデータメモ
リ11−2に記憶しである送信待ちキューQTJEを参
照し、メモリ12に送信データが記憶されているか判断
する(ステップ106)。メモリ12に送信データが存
在しなければ処理を終了し、以後新たなデータ送信依頼
の発生を待って、ステップ101以降の処理を行う。
Data transmission continues and in step 104 t≧Tc
When the time is up (time up), the data communication processing unit 11 determines that the data transmission has been completed, refers to the transmission waiting queue QTJE that is separately created and stored in the data memory 11-2, and stores the transmission data in the memory 12. It is determined whether it has been performed (step 106). If the transmission data does not exist in the memory 12, the process ends, and after that, the process from step 101 onward is performed after waiting for a new data transmission request.

しかし、メモリ12に送信データが存在すれば、送信待
ちキューQUEを参照して最も送信優先順位が高い送信
データを決定しくステップ107)、該送信データを送
信待ちキューから取り外す(ステップ108)。
However, if there is transmission data in the memory 12, the transmission data with the highest transmission priority is determined by referring to the transmission waiting queue QUE (step 107), and the transmission data is removed from the transmission waiting queue (step 108).

以後、ステップ102に飛び、データ送信回路部13に
データの送信を指示すると共に、最も送信優先順位が高
い送信データをメモリ12から読み取って送信回路部1
3に送り、通信回線14を介して相手先に送信させ、以
降の処理を繰り返す。
Thereafter, the process jumps to step 102, instructs the data transmission circuit unit 13 to transmit data, reads the transmission data with the highest transmission priority from the memory 12, and transmits the data to the transmission circuit unit 1.
3, transmit it to the other party via the communication line 14, and repeat the subsequent processing.

一方、データ送信依頼発生時、データ送信中であれば、
ステップ101においてrYESJとなり、データ通信
処理部11は、送信データに付されている優先度Pを抽
出しくステップ109)、該優先度Pの待ちキューの末
尾に依頼があった送信データを接続して送信待ちキュー
QUEを更新しくステップ110)、ステップ104に
飛ぶ。
On the other hand, if data transmission is in progress when a data transmission request occurs,
rYESJ in step 101, the data communication processing unit 11 extracts the priority P attached to the transmission data (step 109), and connects the requested transmission data to the end of the waiting queue with the priority P. The transmission waiting queue QUE is updated (step 110), and the process jumps to step 104.

そして、ステップ104においてt≧Tcとなってデー
タ送信が完了すれば前述のように、送信待ちキューQU
Eを参照し、メモリ12に送信データが記憶されている
か判断し、メモリ12に送信データが存在すれば、最も
送信優先順位が高い送信データを決定し、該送信データ
を送信待ちキューから取り外し、最も送信優先順位が高
い送信データをメモリ12から読み取って送信回路部1
3に送る。
Then, in step 104, if t≧Tc and the data transmission is completed, as described above, the transmission waiting queue QU
E, it is determined whether the transmission data is stored in the memory 12, and if there is transmission data in the memory 12, the transmission data with the highest transmission priority is determined, and the transmission data is removed from the transmission waiting queue; The transmission data with the highest transmission priority is read from the memory 12 and sent to the transmission circuit section 1.
Send to 3.

以上では、データ受信回路部とデータ送信回路部とを別
構成にしているが、一体に構成することもできる。
In the above description, the data receiving circuit section and the data transmitting circuit section are configured separately, but they can also be configured integrally.

又、以上では1つの通信回線14に優先度の異なるデー
タを混在させて送信する場合であるが、複数の通信回線
を設け、各通信回線に優先度の異なるデータを混在させ
て送信するように構成することもできる。
Moreover, although the above example is a case where data with different priorities are mixed and transmitted on one communication line 14, it is possible to provide a plurality of communication lines and transmit data with different priorities on each communication line. It can also be configured.

以上、本発明を実施例により説明したが、本発明は請求
の範囲に記載した主旨に従い種々変形が可能であり、本
発明はこれらを排除するものではない。
Although the present invention has been described above with reference to examples, the present invention can be modified in various ways according to the spirit described in the claims, and the present invention does not exclude these modifications.

[発明の効果] 以上本発明によれば、送信すべきデータに付されたデー
タ長に基づいて該データの送信時間を演算し、実際の送
信時間が演算した送信時間以上になった時、データ送信
が完了したと認識し、次のデータの送信を指示するよう
に構成したから、データ送信回路部からデータ送信完了
通知がなくても、データ通信処理部がデータ送信完了を
内部的に検知でき、外部とのデータのやりとりが不要と
なり、データ送信回路部及びデータ通信処理部の負担を
軽減でき、データ通信装置全体の転送能力をアップでき
る。
[Effects of the Invention] According to the present invention, the transmission time of data to be transmitted is calculated based on the data length attached to the data, and when the actual transmission time exceeds the calculated transmission time, the data is transmitted. Since the configuration is configured to recognize that transmission has been completed and instruct the transmission of the next data, the data communication processing section can internally detect the completion of data transmission even if there is no data transmission completion notification from the data transmission circuit section. This eliminates the need for exchanging data with the outside, reduces the burden on the data transmission circuit section and the data communication processing section, and increases the transfer capacity of the entire data communication device.

又、本発明によれば、データ送信中に新たなデータ送信
依頼が発生した時、送信データに付された優先度に基づ
いて送信待ちキューを作成し、データの送信完了により
送信待ちキューから最も優先度が高い送信データを求め
、該データの送信をデータ送信回路部に指示するように
構成したから、相手先データ通信装置に転送優先度が異
なるデータを混在させて転送する場合、確実に優先度が
高い順にデータを送信することができる。
Further, according to the present invention, when a new data transmission request occurs during data transmission, a transmission waiting queue is created based on the priority assigned to the transmission data, and when the data transmission is completed, the most recent data transmission request is created from the transmission waiting queue. Since the configuration is configured to seek transmission data with a high priority and instruct the data transmission circuit to transmit that data, when a mixture of data with different transmission priorities is transferred to the other party's data communication device, priority can be ensured. Data can be sent in descending order of degree.

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

第1図は本発明の原理説明図、 第2図は本発明の一実施例構成図、 第3図は本発明の他の実施例構成図、 第4図は第3図のデータ通信処理部における送信制御処
理の流れ図、 第5図は従来の送信制御方式を説明するためのデータ通
信装置のブロック図である。 1 ・ ・ 1a 1b 1c id 12 ・ 13 ・ データ通信処理部 ・・データ送信依頼受付・指示手段 ・・データ送信時間演算手段 ・・データ送信完了監視手段 ・・送信待ちキュー作成手段 ・メモリ ・データ送信回路部 14 ・ ・通信回線 外〉、者− 本発明の他の実施例構成図 第3図 送信制御処理の流れ図 第4図
Fig. 1 is a diagram explaining the principle of the present invention, Fig. 2 is a block diagram of one embodiment of the present invention, Fig. 3 is a block diagram of another embodiment of the present invention, and Fig. 4 is the data communication processing section of Fig. 3. FIG. 5 is a block diagram of a data communication device for explaining a conventional transmission control method. 1 ・ ・ 1a 1b 1c id 12 ・ 13 ・Data communication processing unit...data transmission request reception/instruction means...data transmission time calculation means...data transmission completion monitoring means...transmission queue creation means/memory/data transmission Circuit section 14 ・・Outside the communication line>, person - Configuration diagram of another embodiment of the present invention FIG. 3 Flowchart of transmission control processing FIG. 4

Claims (2)

【特許請求の範囲】[Claims] (1)相手先にデータを送信するデータ送信回路部(1
3)と、データの送信依頼により該データの送信をデー
タ送信回路部に指示するデータ通信処理部(11)を備
えたデータ通信装置の送信制御方式において、 データ通信処理部(11)は、送信すべきデータに付さ
れたデータ長に基づいて該データの送信時間を演算し、
実際の送信時間が前記演算した送信時間以上になった時
、データ送信が完了したと認識し、次のデータの送信を
データ送信回路部(13)に指示することを特徴とする
送信制御方式。
(1) Data transmission circuit unit (1) that transmits data to the other party
3), and a data communication processing unit (11) that instructs the data transmission circuit unit to transmit the data in response to a data transmission request, the data communication processing unit (11) Calculate the transmission time of the data based on the data length attached to the data,
A transmission control system characterized in that when the actual transmission time exceeds the calculated transmission time, it is recognized that the data transmission is completed and the data transmission circuit unit (13) is instructed to transmit the next data.
(2)データ送信中に新たなデータ送信依頼が発生した
時、データ通信処理部(11)は送信データに付されて
いる優先度に基づいて送信待ちキューを作成し、データ
の送信完了により送信待ちキューから最も優先度が高い
送信データを求め、該データの送信をデータ送信回路部
(13)に指示することを特徴とする請求項1記載の送
信制御方式。
(2) When a new data transmission request occurs during data transmission, the data communication processing unit (11) creates a transmission waiting queue based on the priority assigned to the transmission data, and transmits the data upon completion of data transmission. 2. The transmission control system according to claim 1, wherein the transmission data having the highest priority is obtained from the waiting queue and the data transmission circuit section (13) is instructed to transmit the data.
JP2171007A 1990-06-27 1990-06-27 Transmission control method Expired - Fee Related JPH0824318B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2171007A JPH0824318B2 (en) 1990-06-27 1990-06-27 Transmission control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2171007A JPH0824318B2 (en) 1990-06-27 1990-06-27 Transmission control method

Publications (2)

Publication Number Publication Date
JPH0457544A true JPH0457544A (en) 1992-02-25
JPH0824318B2 JPH0824318B2 (en) 1996-03-06

Family

ID=15915375

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2171007A Expired - Fee Related JPH0824318B2 (en) 1990-06-27 1990-06-27 Transmission control method

Country Status (1)

Country Link
JP (1) JPH0824318B2 (en)

Also Published As

Publication number Publication date
JPH0824318B2 (en) 1996-03-06

Similar Documents

Publication Publication Date Title
JPH03195238A (en) Method of transferring data at high speed
JPH0457544A (en) Transmission control system
JP2001092798A (en) Load balancing multiprocessor system and method
JPS62172840A (en) Transferring system for data
JPH08214043A (en) Communication device
JP3623460B2 (en) Data transmission method using Ethernet between compact control stations
JP4523303B2 (en) Information processing board
JPS62152252A (en) Communicating control system
JP2564499B2 (en) Transmission data flow control method
JP3611166B2 (en) Data processing method and apparatus
JPH05282225A (en) Intra-terminal data communication equipment
JPH10313345A (en) Communication controller
JPS63248252A (en) Data transmission method
JPH0484531A (en) Communication system for local network system
JPS62103750A (en) Message transmittng system with response request
JPS63300341A (en) Duplex control circuit
JPH01276940A (en) Data transfer controller
JPS63203043A (en) Communication control system
JPH0341543A (en) Data buffer control system for controller on communication network
JPH03154954A (en) Computer device
JPH05336123A (en) Network management packet reception method
JPS63180245A (en) Communication processor
JPH07105795B2 (en) Polling control method
JPH02305124A (en) Data transmission system
JPS5953574B2 (en) Communication control method

Legal Events

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