JPS62199142A - Data transmission system - Google Patents

Data transmission system

Info

Publication number
JPS62199142A
JPS62199142A JP61040161A JP4016186A JPS62199142A JP S62199142 A JPS62199142 A JP S62199142A JP 61040161 A JP61040161 A JP 61040161A JP 4016186 A JP4016186 A JP 4016186A JP S62199142 A JPS62199142 A JP S62199142A
Authority
JP
Japan
Prior art keywords
data
character
communication control
line
transmission
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
JP61040161A
Other languages
Japanese (ja)
Other versions
JPH058902B2 (en
Inventor
Miyuki Takasaki
高崎 幸
Tomoo Morita
守田 登茂夫
Toshio Hayashi
利夫 林
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.)
Usac Electronic Ind Co Ltd
Original Assignee
Usac Electronic Ind 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 Usac Electronic Ind Co Ltd filed Critical Usac Electronic Ind Co Ltd
Priority to JP61040161A priority Critical patent/JPS62199142A/en
Publication of JPS62199142A publication Critical patent/JPS62199142A/en
Publication of JPH058902B2 publication Critical patent/JPH058902B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To make the data transmission efficient by sending a data to a line in response to the result of decoding of a received control character in a communication control adaptor. CONSTITUTION:The communication adaptor 3 fetches a data on a bus according to the instruction of a CPU 1 and sends the data in a buffer onto a bus. Further, the adaptor decodes the control character added to the head of the transmission data and controls a line switching circuit 6 according to the result of decoding. In receiving the instruction of, e.g., the 1st line selection, the circuit 6 sends a transmission data outputted from a transmission/reception control circuit 5 to the 1st line and in receiving the instruction of multiple address communication, the circuit 6 sends the transmission data from the circuit 5 to plural lines.

Description

【発明の詳細な説明】 〔概要〕 中央処理装置が先頭に制御文字を付加して送信データを
通信制御アダプタに送り、通信制御アダプタが制御文字
を解読し、回線選択制御文字であった場合には、その回
線選択文字で指定された回線に送信データを送出し、ま
た、中央処理装置が同報通信指定文字を付加して送信デ
ータを通信制御アダプタに送り、通信制御アダプタが制
御文字を解読し、回報通信指定文字であった場合には複
数の回線に送信データを送出するようにしたものである
[Detailed Description of the Invention] [Summary] The central processing unit adds a control character to the beginning and sends the transmission data to the communication control adapter, and the communication control adapter decodes the control character and if it is a line selection control character, sends the transmission data to the line specified by the line selection character, and the central processing unit adds the broadcast communication specification character and sends the transmission data to the communication control adapter, and the communication control adapter decodes the control character. However, if the character is a character specifying broadcast communication, the transmission data is sent to multiple lines.

〔産業上の利用分野〕[Industrial application field]

本発明は、送信データの先頭に制御文字を付加して通信
制御アダプタに送り、通信制御アダプタでは制御文字を
解読し、制御文字が回線選択文字である場合には当該回
線選択文字で指定された回線に送信データを送出し、制
御文字が同報通信指定文字である場合には複数の回線に
対して送信データを送出するようにしたデータ送信方式
に関するものである。
The present invention adds a control character to the beginning of transmission data and sends it to a communication control adapter, and the communication control adapter decodes the control character and, if the control character is a line selection character, selects the line specified by the line selection character. The present invention relates to a data transmission method in which transmission data is sent to a line, and when a control character is a broadcast communication designation character, the transmission data is sent to a plurality of lines.

〔従来技術と問題点・〕[Conventional technology and problems]

データ処理装置と端末との通信は、一般に通信制御アダ
プタを介して行われる。通信制御アダプタは通信制御装
置と呼ばれるものと同じ機能を有している。第3図は従
来技術におけるユーザ・プログラム、制御プログラム及
びハードウェアの関係を示す図である。ハードウェアは
通信制御アダプタを意味している。ハードウェアは複数
の回線を有している。例えば第2番目の回線に対してデ
ータを送信したい場合、ユーザ・プログラムはLINE
2選択指令(コマンド)を発行する。そうすると、制御
プログラムは第2番目の回線を選択すべきことをハード
ウェアに通知する。回線の選択が行われた後で、ユーザ
・プログラムはデータ・ライト指令を行い、この指令を
受け取ると、制御プログラムは送信データをハードウェ
アに送る。
Communication between a data processing device and a terminal is generally performed via a communication control adapter. The communication control adapter has the same function as what is called a communication control device. FIG. 3 is a diagram showing the relationship among the user program, control program, and hardware in the prior art. Hardware means a communication control adapter. The hardware has multiple lines. For example, if you want to send data to the second line, the user program should use LINE
2 Issue a selection command (command). The control program then notifies the hardware that the second line should be selected. After the line selection has been made, the user program issues a data write command, and upon receiving this command, the control program sends the transmission data to the hardware.

送信データを受け取ると、ハードウェアは第2番目の回
線上に送出する。
Upon receiving the transmission data, the hardware sends it out on the second line.

また、図示しないが複数の回線に同一のデータを同時に
送出する同報通信を行いたい場合には、ユーザ・プログ
ラムは同報通信指令を発行し、制御プログラムは同報通
信指令が発行されると、ノ1−ドウエアに対して複数の
回線を選択すべきことを指示し、その後に子−ザ・プロ
グラムはデータ・ライ゛ト指令を行う。データ・ライト
指令が行われると、制御プログラムは送信データをハー
ドウェアに送り、ハードウェアは受け取った送信データ
を複数の回線に送出する。
Although not shown in the figure, if you want to perform broadcast communication in which the same data is sent to multiple lines at the same time, the user program issues a broadcast communication command, and the control program receives the broadcast communication command when the broadcast communication command is issued. , instructs the node 1 software to select multiple lines, and then the child program issues a data write command. When a data write command is issued, the control program sends transmission data to the hardware, and the hardware sends the received transmission data to multiple lines.

上述のような従来技術では、制御プログラムが使用回線
の選択指令及び同報通信指令の認識が必要であり、また
、ユーザ・プログラムが回線選択指令とデータ・ライト
指令を順番に発行しなくてはならないので、データを回
線上に送出するまでに相当な時間を必要とした。
In the conventional technology described above, the control program must recognize the line selection command and the broadcast communication command, and the user program must issue the line selection command and the data write command in order. Therefore, it took a considerable amount of time to send the data over the line.

〔発明の目的〕[Purpose of the invention]

本発明は、上記の考察に基づくものであって、複数の回
線を持つ通信制御アダプタを介してデータ処理装置と端
末との間のデータ転送が行われるシステムにおいて、デ
ータ送信を効率よく行い得るようにしたデータ送信方式
を提供することを目的としている。
The present invention is based on the above consideration, and is designed to efficiently transmit data in a system in which data is transferred between a data processing device and a terminal via a communication control adapter having multiple lines. The purpose is to provide a data transmission method that allows for

〔目的を達成するための手段〕[Means to achieve the purpose]

そしてそのため本発明のデ−タ送信方式においては、中
央処理装置は送信データを通信制御アダプタに送る場合
、送信データの先頭に制御文字を付加して通信制御アダ
プタに送り、通信制御アダプタは、制御文字を解読し、
制御文字が回線選択文字である場合には当該回線選択文
字で指定された回線に対して送信データを送出し、制御
文字が同報通信指定文字である場合には指定された複数
の回線に対して送信データを送出するように構成されて
いることを特徴とするものである。
Therefore, in the data transmission system of the present invention, when the central processing unit sends transmission data to the communication control adapter, it adds a control character to the beginning of the transmission data and sends it to the communication control adapter. decipher the letters,
If the control character is a line selection character, the transmission data is sent to the line specified by the line selection character, and if the control character is a broadcast communication specification character, it is sent to multiple lines specified. The device is characterized in that it is configured to send out transmission data.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明を図面を参照しつつ説明する。第1図は本
発明を実施するためのシステムのハードウェア構成の1
例を示す図である。第1図において、1は中央処理装置
、2はメモリ、3は通信制御アダプタ、4はインタフェ
ース回路、5は送受信制御回路、6は回線切換回路をそ
れぞれ示している。メモリ2の中には、アダプタ制御プ
ログラムやユーザ・プログラム・ユーザ・データ等が格
納されている。中央処理装置1は、メモリ2に格納され
ているアダプタ制御プログラムやユーザ・プログラムを
実行する。通信制御アダプタ3は、インタフェース回路
4、送受信制御回路5、回線切換回路6及び複数の回線
を有している。インクフェース回路4は内部にバッファ
を有しており、中央処理装置1の指示に従ってバス上の
データを取り込んだり、バッファ内のデータをバス上に
送出したりするものである。また、インタフェース回路
4は、送信データの先頭に付加されている制御文字の解
読を行い、解読結果に従って回線切換回路6を制御する
。送受信制御回路5は、インタフェース回路4のバッフ
ァに格納されている送信データを直列信号に変換して回
線切換回路6に送る機能や回線切換回路6を介して送ら
れて来る受信データを並列信号に変換してインタフェー
ス回路4のバッファに格納する機能などを有している。
Hereinafter, the present invention will be explained with reference to the drawings. Figure 1 shows one example of the hardware configuration of a system for implementing the present invention.
It is a figure which shows an example. In FIG. 1, 1 is a central processing unit, 2 is a memory, 3 is a communication control adapter, 4 is an interface circuit, 5 is a transmission/reception control circuit, and 6 is a line switching circuit. The memory 2 stores an adapter control program, user programs, user data, and the like. The central processing unit 1 executes an adapter control program and a user program stored in the memory 2. The communication control adapter 3 includes an interface circuit 4, a transmission/reception control circuit 5, a line switching circuit 6, and a plurality of lines. The ink face circuit 4 has an internal buffer, and takes in data on the bus and sends data in the buffer onto the bus according to instructions from the central processing unit 1. The interface circuit 4 also decodes the control character added to the beginning of the transmitted data, and controls the line switching circuit 6 according to the decoding result. The transmission/reception control circuit 5 has the function of converting the transmission data stored in the buffer of the interface circuit 4 into a serial signal and sending it to the line switching circuit 6, and converting the reception data sent via the line switching circuit 6 into a parallel signal. It has a function of converting the data and storing it in the buffer of the interface circuit 4.

回線切換回路6は、インタフェース回路4の指示に従っ
て回線の選択を行う0例えば、第1番目の回線選択を指
示された場合には、送受信制御回路5から出力された送
信データを第1番目の回線上に送出し、同報通信が指示
された場合には、送受信制御回路5から出力された送信
データを複数の回線上に送出する。
The line switching circuit 6 selects a line according to the instructions from the interface circuit 4. For example, when the first line selection is instructed, the line switching circuit 6 selects the line in accordance with the instructions from the interface circuit 4. If broadcast communication is instructed, the transmission data output from the transmission/reception control circuit 5 is sent out onto a plurality of lines.

第2図はデータ送信時におけるユーザ・プログラム、ア
ダプタ制御プログラム及び通信制御アダプタの処理を説
明する図である。図示の例は第2番目の回線上に送信デ
ータを出力する例である。
FIG. 2 is a diagram illustrating the processing of the user program, adapter control program, and communication control adapter during data transmission. The illustrated example is an example in which transmission data is output on the second line.

ユーザ・プログラムは回線選択文字と送信データとを用
意し、送信データの先頭に回線選択文字を付加し、回線
選択文字が付加された送信データをメモリ内の送信デー
タ域に格納する。そして、パラメータとして送信データ
域アドレス、データ長を持つライト・コマンドを発行す
る。ライト・コマンドが発行されると、アダプタ制御プ
ログラムは通信制御アダプタに対してライト指示を行い
、通信制御アダプタから動作可能な旨の応答が返って来
ると、上記送信データ域の送信データ(先頭に回線選択
文字が付加されている)を通信制御アダプタ3に送る。
The user program prepares a line selection character and transmission data, adds the line selection character to the beginning of the transmission data, and stores the transmission data with the line selection character added in the transmission data area in memory. Then, a write command is issued that has a transmission data area address and data length as parameters. When a write command is issued, the adapter control program issues a write instruction to the communication control adapter, and when a response is returned from the communication control adapter indicating that it can operate, the transmission data in the transmission data area (starting with (with a line selection character added) is sent to the communication control adapter 3.

通信制御アダプタ3では、下記のような処理が行われる
The communication control adapter 3 performs the following processing.

■ 最初の1文字か否かを調べる。Y (Yes)のと
きは■の処理を行い、N (No)のときは■の処理を
行う。
■ Check whether it is the first character. When the result is Y (Yes), the process ``■'' is performed, and when the result is N (No), the process ``■'' is performed.

■ データを選択された回線上に送出する。■ Send data on the selected line.

■ 指定された長さのデータが送出されたが否かを調べ
る。Yのときは送信終了とし、Nのときは■の処理に戻
る。
■ Check whether data of the specified length was sent. If the answer is Y, the transmission is terminated, and if the answer is N, the process returns to step (2).

■ 回線選択文字の値に応じて回線を選択する。■ Select the line according to the value of the line selection character.

図示の例では回線選択文字は02であり、第2番目の回
線の選択を指定しているので、第2番目の回線上に送信
データが送出される。
In the illustrated example, the line selection character is 02, which specifies selection of the second line, so the transmission data is sent on the second line.

回報通信の場合には、送信データの先頭に付加される制
御文字は例えばFF(但し16進表示)の値を有してい
る。先頭の1バイトが“FF”である送信データを受信
した場合には、通信制御アダプタ3は、送信データを全
ての回線上に送出する。また、先頭の1文字が“OE”
の場合には第5番目ないし第7番目の回線に送信データ
を送出する。更に、先頭の1文字が“AA”の場合には
奇数番目の回線を選択し、奇数番目の回線上に送信デー
タを送出する。
In the case of broadcast communication, the control character added to the beginning of the transmission data has a value of, for example, FF (displayed in hexadecimal). When receiving transmission data in which the first byte is "FF", the communication control adapter 3 sends the transmission data onto all lines. Also, the first character is “OE”
In this case, the transmission data is sent to the fifth to seventh lines. Further, if the first character is "AA", an odd-numbered line is selected and the transmission data is sent on the odd-numbered line.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように、制御プログラムは使用
回線の選択には全く関与せず、ユーザ・プログラムと通
信制御アダプタのみが送信データの1文字目を意識する
のみでよい。これにより、迅速な回線選択を行い得ると
共に、通信制御アダプタが何個の回線を持つかに応じて
制御プログラムを変更する必要がなくなる。また、同報
通信を簡単に行うことが出来る。
As is clear from the above explanation, the control program is not involved in the selection of the line to be used at all, and only the user program and the communication control adapter need only be aware of the first character of the transmission data. This allows quick line selection and eliminates the need to change the control program depending on how many lines the communication control adapter has. Also, broadcast communication can be easily performed.

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

第1図は本発明を実施するためのシステムのハードウェ
ア構成の1例を示す図、第2図はデータ送信時における
ユーザ・プログラム、アダプタ制御プログラム及び通信
制御アダプタの処理を説明する図、第3図は従来技術に
おけるユーザ・プログラム、制御プログラム及びハード
ウェアの関係を示す図である。 1・・・中央処理装置、2・・・メモリ、3・・・通信
制御アダプタ、4・・・インタフェース回路、5・・・
送受信制御回路、6・・・回線切換回路。
FIG. 1 is a diagram showing an example of the hardware configuration of a system for implementing the present invention, FIG. 2 is a diagram explaining processing of a user program, an adapter control program, and a communication control adapter during data transmission, FIG. 3 is a diagram showing the relationship between a user program, a control program, and hardware in the prior art. DESCRIPTION OF SYMBOLS 1...Central processing unit, 2...Memory, 3...Communication control adapter, 4...Interface circuit, 5...
Transmission/reception control circuit, 6... line switching circuit.

Claims (2)

【特許請求の範囲】[Claims] (1)中央処理装置及びメモリ等を有する計算機、並び
に上記計算機と端末との間のデータ転送の仲介を行う通
信制御アダプタを具備するシステムにおけるデータ送信
方式において、上記通信制御アダプタは、複数の回線を
持ち、上記計算機は、送信データを上記通信制御アダプ
タに送る場合、送信データの先頭に制御文字を付加して
通信制御アダプタに送るように構成され、上記通信制御
アダプタは、受け取った制御1文字を解読し、制御文字
が回線選択文字である場合には、当該回線選択文字で指
定された1個の回線に対して送信データを送出するよう
に構成されていることを特徴とするデータ送信方式。
(1) In a data transmission method in a system comprising a computer having a central processing unit, memory, etc., and a communication control adapter that mediates data transfer between the computer and a terminal, the communication control adapter has multiple lines. and when the computer sends transmission data to the communication control adapter, it is configured to add a control character to the beginning of the transmission data and send it to the communication control adapter, and the communication control adapter sends the received control character to the communication control adapter. is decoded, and if the control character is a line selection character, the data transmission method is configured to send transmission data to one line specified by the line selection character. .
(2)中央処理装置及びメモリ等を有する計算機、並び
に上記計算機と端末との間のデータ転送の仲介を行う通
信制御アダプタを具備するシステムにおけるデータ送信
方式において、上記通信制御アダプタは、複数の回線を
持ち、上記計算機は、送信データを上記通信制御アダプ
タに送る場合、送信データの先頭に制御文字を付加して
通信制御アダプタに送るように構成され、上記通信制御
アダプタは、受け取った制御文字を解読し、制御文字が
同報通信指定文字である場合には、当該同報通信指定文
字で指定された複数の回線に対して送信データを送出す
るように構成されていることを特徴とするデータ送信方
式。
(2) In a data transmission method in a system comprising a computer having a central processing unit, memory, etc., and a communication control adapter that mediates data transfer between the computer and a terminal, the communication control adapter has multiple lines. When transmitting data to the communication control adapter, the computer is configured to add a control character to the beginning of the data and send it to the communication control adapter, and the communication control adapter sends the received control character to the communication control adapter. Data characterized in that the data is configured to be decoded and, if the control character is a broadcast communication designation character, to send transmission data to multiple lines specified by the broadcast communication designation character. Transmission method.
JP61040161A 1986-02-27 1986-02-27 Data transmission system Granted JPS62199142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61040161A JPS62199142A (en) 1986-02-27 1986-02-27 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61040161A JPS62199142A (en) 1986-02-27 1986-02-27 Data transmission system

Publications (2)

Publication Number Publication Date
JPS62199142A true JPS62199142A (en) 1987-09-02
JPH058902B2 JPH058902B2 (en) 1993-02-03

Family

ID=12573035

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61040161A Granted JPS62199142A (en) 1986-02-27 1986-02-27 Data transmission system

Country Status (1)

Country Link
JP (1) JPS62199142A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63276944A (en) * 1987-02-20 1988-11-15 Fujitsu Ltd Data transfer equipment
JPH01117448A (en) * 1987-10-30 1989-05-10 Mitsubishi Electric Corp Communication control equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5570164A (en) * 1978-11-22 1980-05-27 Ricoh Co Ltd Multiple address communication system of facsimile
JPS5940757A (en) * 1982-08-30 1984-03-06 Fujitsu Ltd Facsimile device having function of repeater and multiple address
JPS59218069A (en) * 1983-05-25 1984-12-08 Fujitsu Ltd Relay multiple address control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5570164A (en) * 1978-11-22 1980-05-27 Ricoh Co Ltd Multiple address communication system of facsimile
JPS5940757A (en) * 1982-08-30 1984-03-06 Fujitsu Ltd Facsimile device having function of repeater and multiple address
JPS59218069A (en) * 1983-05-25 1984-12-08 Fujitsu Ltd Relay multiple address control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63276944A (en) * 1987-02-20 1988-11-15 Fujitsu Ltd Data transfer equipment
JPH0521464B2 (en) * 1987-02-20 1993-03-24 Fujitsu Ltd
JPH01117448A (en) * 1987-10-30 1989-05-10 Mitsubishi Electric Corp Communication control equipment

Also Published As

Publication number Publication date
JPH058902B2 (en) 1993-02-03

Similar Documents

Publication Publication Date Title
US5958024A (en) System having a receive data register for storing at least nine data bits of frame and status bits indicating the status of asynchronous serial receiver
JPS609292B2 (en) Time interval length control method between data blocks
JP2002351813A (en) Transmission unit and transmission method
JPS62199142A (en) Data transmission system
JPH026262B2 (en)
JPH07143202A (en) Method for constituting system, method for constituting device, controller and system
US5812878A (en) System for DMA transfer wherein controller waits before execution of next instruction until a counter counts down from a value loaded by said controller
JP3674720B2 (en) Data transfer method in parallel computer
JPH0443743A (en) Printer output system for network
KR100239056B1 (en) Method for processing channel using memory
JP2995420B2 (en) Network disconnection method
JP2636206B2 (en) Information processing system
SU734661A1 (en) Channel-channel adapter
JPS60206242A (en) Communicating method
KR900001533B1 (en) Control device for synchronized data link control
JP3463146B2 (en) Communication control method and device
JPS60128550A (en) Full duplex communication system
JPH0722284B2 (en) Communication control device
JPH05244216A (en) Transfer mode setting system
JPH07186464A (en) Printer with network function
JPS62247441A (en) Batch transfer system for transmission message
JP2001094438A (en) Serial interface circuit
JPH04188251A (en) Connected data decoding system
JPH0253815B2 (en)
JPH05244217A (en) Communication control system