JP2539517B2 - Communication control method - Google Patents

Communication control method

Info

Publication number
JP2539517B2
JP2539517B2 JP1283001A JP28300189A JP2539517B2 JP 2539517 B2 JP2539517 B2 JP 2539517B2 JP 1283001 A JP1283001 A JP 1283001A JP 28300189 A JP28300189 A JP 28300189A JP 2539517 B2 JP2539517 B2 JP 2539517B2
Authority
JP
Japan
Prior art keywords
computer
communication control
text
data
control device
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 - Lifetime
Application number
JP1283001A
Other languages
Japanese (ja)
Other versions
JPH03145845A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1283001A priority Critical patent/JP2539517B2/en
Publication of JPH03145845A publication Critical patent/JPH03145845A/en
Application granted granted Critical
Publication of JP2539517B2 publication Critical patent/JP2539517B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、計算機システム相互間を接続し通信を行う
通信システムの通信制御方法に係り、特に計算機と通信
制御装置間のデータ転送の高速化および効率向上に好適
な通信制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication control method of a communication system for connecting computer systems to each other for communication, and particularly to speeding up data transfer between a computer and a communication control device. And a communication control method suitable for improving efficiency.

〔従来の技術〕[Conventional technology]

従来の計算機システム相互間を接続し通信を行う通信
システムの、計算機と通信制御装置間のデータ転送方法
としては、計算機からのテキスト読出しコマンドによ
り、通信制御装置はデータ記憶部に記憶した受信テキス
トフレームの先頭から全てのデータを計算機に送出する
方法が一般的であり、テキストの種類等による不要デー
タの削除は計算機が通信制御装置から読出し後行なう方
法となっていた。
As a data transfer method between a computer and a communication control device in a communication system for connecting and communicating between conventional computer systems, a text read command from the computer causes the communication control device to receive a received text frame stored in a data storage unit. A general method is to send all the data to the computer from the beginning, and the method of deleting unnecessary data due to the type of text and the like is performed after the computer reads from the communication control device.

〔発明が解決しようとする課題〕[Problems to be Solved by the Invention]

上記従来技術は、計算機システム相互間を接続し通信
を行う通信システムの、計算機と通信制御装置間のデー
タ転送方式に高速化および効率向上の配慮がされておら
ず、通信システム全体の高速性および応答性等の面で問
題があった。
The above-mentioned conventional technology does not consider speeding up and efficiency improvement in a data transfer method between a computer and a communication control device of a communication system that connects computer systems to each other and performs communication. There was a problem in terms of responsiveness.

本発明の目的は、この様な従来技術の欠点をなくした
通信制御方法を提供することにある。
An object of the present invention is to provide a communication control method that eliminates the above-mentioned drawbacks of the conventional technology.

〔課題を解決するための手段〕[Means for solving the problem]

上記目的を達成するための本発明の特徴は、他の通信
制御装置からのテキストデータを受信した通信制御装置
は、前記データ記憶部に受信した前記テキストデータを
記憶し、前記計算機へ読取り要求を発行し、前記計算機
は、前記通信制御装置へ、オフセット語数情報と読出し
語数情報を設けたテキスト読出しコマンドを発行し、前
記通信制御装置は、前記コマンドを受信し解釈し、前記
データ記憶部に記憶した受信テキストデータ中の前記計
算機の指定エリアのデータのみを計算機に送出すること
である。
A feature of the present invention for achieving the above object is that a communication control device that receives text data from another communication control device stores the received text data in the data storage unit and issues a read request to the computer. Issued, the computer issues a text read command provided with offset word number information and read word number information to the communication control device, the communication control device receives and interprets the command, and stores it in the data storage unit. In the received text data, only the data in the designated area of the computer is sent to the computer.

〔作用〕[Action]

上記手段によれば、他の通信制御装置からのテキスト
データ受信時、計算機から通信制御装置へ発行するテキ
スト読出しコマンドに設けたオフセット語数情報と読出
し語数情報と、通信制御装置に設けた前記コマンドを解
釈し、データ記憶部に記憶した受信テキストフレーム中
の指定エリアのデータのみを計算機に送出することによ
り、計算機からの受信テキストフレーム中の任意に指定
されるエリアの読出し要求に対し、通信制御装置は、任
意に指定されるエリアのデータのみをデータ記憶部に記
憶した受信テキストフレーム中から選択し、計算機に送
出することができる。
According to the above means, when the text data is received from another communication control device, the offset word number information and the read word number information provided in the text read command issued from the computer to the communication control device and the command provided in the communication control device are set. By interpreting and sending only the data of the designated area in the received text frame stored in the data storage unit to the computer, the communication control device responds to the read request of the arbitrarily designated area in the received text frame from the computer. Can select only data in an arbitrarily designated area from the received text frames stored in the data storage unit and send it to the computer.

〔実施例〕〔Example〕

本発明の一実施例を第1図,第2図,第3図,第4
図,第5図により説明する。
One embodiment of the present invention is shown in FIG. 1, FIG. 2, FIG. 3, and FIG.
This will be described with reference to FIGS.

第1図は全体を示す構成図であり、計算機11〜1nと通
信制御装置21〜2nと、上記計算機11〜1nと通信制御装置
21〜2nとを接続する計算機インターフェイスバス31〜3n
により構成される各計算システムと、これらの計算機シ
ステム相互間が通信回線4により接続される。この様な
構成により各計算機システム相互間の通信を行う通信シ
ステムが形成される。
Figure 1 is a block diagram showing the whole, and the computer 1 1 to 1 n and the communication control device 2 1 to 2 n, the computer 1 1 to 1 n and the communication control device
2 1 to 2 n Computer interface bus to connect to 3 1 to 3 n
A communication line 4 connects each of the computer systems configured by and the computer systems. With such a configuration, a communication system for communicating between the computer systems is formed.

ここでの通信制御装置21〜2nは、計算機11〜1nとのデ
ータ転送制御および通信回線4上とのテキスト送受信制
御の機能を有するものとする。
It is assumed that the communication control devices 2 1 to 2 n here have functions of controlling data transfer with the computers 1 1 to 1 n and controlling text transmission / reception with the communication line 4.

またテキスト受信時の制御としては、テキストを受信
し受信バッファに格納後、テキスト種別および受信テキ
ストデータ総数NT等の必要に応じたステータス情報およ
び読取り要求割込を計算機側に発行し、計算機にテキス
ト受信を報告し、計算機からの読出し指令および計算機
上のデータ転送エリア,オフセット語数NO、読出し語数
NR等の必要に応じた読出しコマンドを受信解釈し、指定
のデータのみを計算機に送出するものとする。
In addition, as the control at the time of receiving text, after receiving text and storing it in the reception buffer, issue status information and read request interrupt as necessary such as text type and total number of received text data N T to the computer side, Report text reception, read command from computer and data transfer area on computer, offset word number N O , read word number
Read commands such as N R, etc. are received and interpreted, and only specified data is sent to the computer.

上記の条件により、以下第2図の計算機システムの通
信制御装置内のブロック図、第3図の計算機からのテキ
スト読出しコマンドフォーマツト図、第4図の通信制御
装置内のテキストフレーム受信バッファフォーマツト
図、第5図の通信制御装置内のテキスト受信内の通信制
御処理フロー図を用い、詳細な回路構成および動作説明
を行う。
According to the above conditions, the block diagram in the communication control unit of the computer system of FIG. 2, the text read command format from the computer of FIG. 3, and the text frame reception buffer format in the communication control unit of FIG. The detailed circuit configuration and operation will be described with reference to the communication control processing flow chart in the text reception in the communication control apparatus of FIGS.

尚、ここでは通信制御装置21がテキスト受信するもの
として説明する。
Here, it is assumed that the communication control device 2 1 receives text.

第2図のブロック図において、計算機インターフェイ
スバス31は、計算機側制御部8に接続され、通信回線4
は、通信回線制御部9に接続される。これらの計算機側
制御部8および通信回線側制御部9は、内部インターフ
ェイスバス10を介し演算処理部5に接続される。演算処
理部5には、この他プログラム記憶部6,データ記憶部7
も内部インターフェイスバス10を介して接続される。以
上が第2図の計算機システム内の通信制御装置21の構成
である。
In the block diagram of FIG. 2, the computer interface bus 3 1 is connected to the computer-side control unit 8, the communication line 4
Is connected to the communication line controller 9. The computer side control unit 8 and the communication line side control unit 9 are connected to the arithmetic processing unit 5 via an internal interface bus 10. The arithmetic processing unit 5 includes a program storage unit 6 and a data storage unit 7 other than this.
Is also connected via the internal interface bus 10. The above is the communication control device 2 1 of the configuration of the computer system of FIG. 2.

上記の回路構成にて計算機システムの通信制御装置21
は、計算機インターフェイスバス31を介した計算機11
らの送出指令コマンドおよび送信データを計算機側制御
部8により受信し、内部インターフェイスバス10を介し
て演算処理部5に報告する。
Communication control device for computer system 2 1
Is the transmission command command and sending data from the computer 1 1 via a computer interface bus 3 1 received by the computer-side control unit 8, report to the processor 5 via the internal interface bus 10.

演算処理部5は、あらかじめ所定の送信制御処理を行
うプログラムが記憶されているプログラム記憶部6、お
よび送受信データの一時記憶を行うデータ記憶部7を用
いて、送信指令コマンドの解釈、送信データのフォーマ
ット変換等を行ない、通信回線側制御部9を用いて所定
のタイミングおよびフォーマットに変換し、通信回線4
に送信テキストとして送信する。
The arithmetic processing unit 5 uses a program storage unit 6 in which a program for performing a predetermined transmission control process is stored in advance and a data storage unit 7 for temporarily storing transmission / reception data, and interprets the transmission command command and transmits the transmission data. Format conversion is performed, and the communication line side control unit 9 is used to convert to a predetermined timing and format.
Send as send text to.

一方、通信回線4からの受信テキストは、通信回線制
御部9によって受信され、所定のタイミングおよびフォ
ーマットに変換し、内部インターフェイスバス10を介し
て演算処理部5に報告される。演算処理部5は、プログ
ラム記憶部6内に記憶されているあらかじめ所定の受信
制御処理を行うプログラムにより、受信テキストをデー
タ記憶部7の受信バッファに格納する。計算機側制御部
8は、計算機インターフェイスバス31を介して計算機11
にテキスト種別および受信テキストデータ総数NT等の必
要に応じたステータス情報および読取り要求割込を発行
し、計算機11にテキスト受信を報告する。また、計算機
11からの読出し指令および計算機11上のデータ転送エリ
ア、オフセット語数NO、読出し語数NR等の必要に応じた
コマンドを計算機インターフェイスバス31を介して計算
機側制御部8で受信し、内部インターフェイスバス10を
介して演算処理部5に報告する。演算処理部5は、プロ
グラム記憶部6内に記憶されているあらかじめ所定のテ
キスト受信時の通信制御処理を行うプログラムにより上
記読出しコマンドを解釈し、データ記憶部7の受信バツ
フアに格納された受信テキストフレーム中の、読出しコ
マンドによるオフセット語数NOと読出し語数NTにより指
定されたエリアのデータのみを、内部インターフェイス
バス10、計算機側制御部8、計算機インターフェイスバ
ス31を介し計算機11に送出する。
On the other hand, the text received from the communication line 4 is received by the communication line control unit 9, converted into a predetermined timing and format, and reported to the arithmetic processing unit 5 via the internal interface bus 10. The arithmetic processing unit 5 stores the received text in the reception buffer of the data storage unit 7 according to a program for performing a predetermined reception control process stored in the program storage unit 6 in advance. Computer-side control unit 8, the computer interface bus 3 1 via the computer 1 1
Text type and issue the received text data the total number N T status information and read request interrupt as needed, such as, report the text received in the computer 1 1. Also a calculator
1 Data transfer area of the read command and the computer 1 1 from 1, received by the offset word number N O, read word number N commands corresponding to the needs of R or the like via a computer interface bus 3 1 computer-side control unit 8, It reports to the arithmetic processing unit 5 via the internal interface bus 10. The arithmetic processing unit 5 interprets the read command by a program which is stored in the program storage unit 6 and which performs a communication control process at the time of receiving a predetermined text, and the received text stored in the reception buffer of the data storage unit 7. Only the data in the area designated by the offset word number N O by the read command and the read word number N T in the frame is sent to the computer 1 1 via the internal interface bus 10, the computer side control unit 8, and the computer interface bus 3 1. .

第3図に、他の通信制御装置から送信されたテキスト
受信時の、計算機11から通信制御装置21へ発行するテキ
スト読出しコマンドフォーマット図を示す。
In Figure 3, shows the text read command format diagram issued from another communication control device at the time of text received transmission, from the computer 1 1 to the communication control device 2 1.

この読出しコマンドフオーマツト中のアドレスmおよ
びアドレスnには、各々オフセツト語数情報NOおよび読
出し語数NRが設けてあるものとする。
Address m and address n in the read command format are provided with offset word number information N O and read word number N R , respectively.

第4図に、他の通信制御装置から送信されたテキスト
受信時の、通信制御装置21がデータ記憶部7内の受信バ
ッファに格納したテキストフレーム受信バッファフォー
マット図を示す。
In Figure 4, at the time of transmission text received from another communication control device, the communication control device 2 1 shows a text frame receiving buffer format diagram stored in the reception buffer in the data storage unit 7.

この受信バッファ中の受信テキストデータ総数NTの中
から、前記計算機11が発行するテキスト読出しコマンド
内のオフセット語数NOおよび読出し語数NRを通信制御装
置で解釈することにより、受信バッファアドレスNO+1
〜受信バッファアドレスNO+NRに記憶されているテキス
トデータNO+1〜テキストデータNO+NRのみを計算機11
に送出することができる。
From the received text data the total number N T in the receive buffer by interpreting the offset number of words N O and read word number N R of the text read command the computer 1 1 issues the communication control device, the receiving buffer address N O +1
~ Only the text data N O +1 to the text data N O + N R stored in the receive buffer address N O + N R is calculated by the computer 1 1
Can be sent to

第5図に上記の一実施例を示す通信制御装置21内のテ
キスト受信時の通信制御処理フロー図を示す。
Figure 5 shows the communication control process flow diagram during text reception of the communication control device 2 in 1 showing an embodiment of the.

最初は他の通信制御装置からのテキストを受信待ちの
状態であり、テキストが受信されかどうかの確認を行
う。
At first, it is in a state of waiting for receiving a text from another communication control device, and confirms whether or not the text is received.

テキストが受信されたならば、受信テキストを受信バ
ッファに格納し、通信制御装置21は、計算機11にテキス
ト種別および受信テキストデータ総数NT等の必要に応じ
たステータス情報および読取り要求割込を発行し、テキ
スト受信を報告し、計算機11からの読出しコマンド待ち
の状態となる。
If the text is received, stores the received text to the receive buffer, the communication control device 2 1, text to the computer 1 1 type and receiving text data the total number N T status information and read request interrupt as needed, such as issue the reports the text received, the read command waiting state from the computer 1 1.

読出しコマンドが受信されたならば、計算機11からの
読出し指令およびオフセツト語数NO、読出し語数NR等の
必要に応じた読出しコマンドの解釈を行う。そして、オ
フセット語数がNO≠0の場合は、受信バッファの送出先
頭アドレスNO+1を送出アドレスレジスタにセットす
る。オフセツト語数がNO=0の場合は、受信バッファの
送出先頭アドレス1を送出アドレスレジスタにセットす
る。また読出し語数NRを、送出カウントレジスタにセッ
トする。
If the read command is received, the read command and offset number of words N O from the computer 1 1, the interpretation of the read command as needed, such as read word number N R performed. Then, the offset number of words in the case of N O ≠ 0, is set to the delivery address register sending start address N O +1 of the receive buffer. If offset number of words of N O = 0, sets the delivery address register delivery head address 1 of the receive buffer. The number of read words N R is set in the transmission count register.

この処理後、送出アドレスレジスタの内容による受信
バッファアドレスで示されるアドレスのデータを送出
し、送出後送信アドレスレジスタの内容を+1更新し、
そして送出カウントレジスタの内容を−1更新する。こ
の動作を送出カウントレジスタの内容が0になるまで繰
返すことにより計算機11からの指定されたエリアのデー
タのみを送出することができる。
After this processing, the data at the address indicated by the receive buffer address according to the contents of the sending address register is sent, and the contents of the sending address register after sending is updated by +1.
Then, the content of the transmission count register is updated by -1. It can be transmitted only data of the specified area from the computer 1 1 By repeating until this operation the contents of the delivery count register becomes zero.

上記の本実施例によれば、テキストの種別等により必
要に応じたデータのみを計算機11は取扱うことができる
為、計算システム相互間を接続し通信を行なう通信シス
テムの高速化および応答性を向上させることができ、従
来技術の欠点を解消した通信制御方法が実現できる。
According to this embodiment described above, since it is possible to handle only the data needed by the type or the like of text computer 1 1, the speed and responsiveness of the communication system to connect the computing system mutually perform communication A communication control method that can be improved and that eliminates the drawbacks of the prior art can be realized.

〔発明の効果〕〔The invention's effect〕

本発明によれば、簡単な回路構成と、テキスト読出し
コマンド受信時の通信プログラムにより、計算機と通信
制御装置間のデータ転送において、テキストの種類等に
より必要に応じたデータのみを取扱うことができるため
データ転送時間の短縮が図れ、また計算機が通信制御装
置から読出し後行なう不要データの削除処理が不要とな
り、計算機システム相互間を接続し通信を行なう通信シ
ステムの高速性および応答性を向上させることができ
る。
According to the present invention, with a simple circuit configuration and a communication program at the time of receiving a text read command, in data transfer between a computer and a communication control device, it is possible to handle only data as necessary depending on the type of text and the like. The data transfer time can be shortened, and the unnecessary data deletion processing performed after the computer has read from the communication control device is not required, and the high speed and responsiveness of the communication system for connecting the computer systems to each other for communication can be improved. it can.

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

第1図は全体構成図、第2図は第1図の計算機システム
の通信制御装置ブロック図、第3図は計算機からのテキ
スト読出しコマンドフォーマット図、第4図は通信制御
装置内のテキストフレーム受信バッファフォーマット
図、第5図は通信制御装置内のテキスト受信時の通信制
御処理フロー図である。 11〜1n……計算機、21〜2n……通信制御装置、31〜3n
…計算機インターフェイスバス、4……通信回線、5…
…演算処理部、6……プログラム記憶部、7……データ
記憶部、8……計算機側制御部、9……通信回線側制御
部、10……内部インターフェイスバス、NO……オフセッ
ト語数、NR……読出し語数、NT……受信テキストデータ
総数。
FIG. 1 is an overall configuration diagram, FIG. 2 is a block diagram of a communication control device of the computer system of FIG. 1, FIG. 3 is a text read command format diagram from a computer, and FIG. 4 is a text frame reception in the communication control device. FIG. 5 is a buffer format diagram, and FIG. 5 is a flow chart of communication control processing at the time of text reception in the communication control device. 1 1 to 1 n ... computer, 2 1 to 2 n ... communication control device, 3 1 to 3 n ...
… Computer interface bus, 4 …… communication line, 5…
... arithmetic processing unit, 6 ...... program storage unit, 7 ...... data storage unit, 8 ...... computer-side control unit, 9 ...... communication line side control unit, 10 ...... internal interface bus, N O ...... offset number of words, N R …… Number of read words, N T …… Total number of received text data.

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】計算機と、所定のプログラムを記憶するプ
ログラム記憶部と送受信データおよび制御情報を一時記
憶するデータ記憶部と計算機とのデータ転送制御を行う
計算機側制御部と他計算機システムとのテキスト送受信
制御を行う通信回線側制御部とこれらを総括し制御を行
う演算処理部により成る通信制御装置とを、計算機イン
ターフェイスバスにより接続し通信を行う通信システム
において、 他の通信制御装置からのテキストデータを受信した通信
制御装置は、前記データ記憶部に受信した前記テキスト
データを記憶し、前記計算機へ読取り要求を発行し、 前記計算機は、前記通信制御装置へ、オフセット語数情
報と読出し語数情報を設けたテキスト読出しコマンドを
発行し、 前記通信制御装置は、前記コマンドを受信し解釈し、前
記データ記憶部に記憶した受信テキストデータ中の前記
計算機の指定エリアのデータのみを計算機に送出するこ
とを特徴とする通信制御方法。
1. A text of a computer, a program storage unit for storing a predetermined program, a data storage unit for temporarily storing transmission / reception data and control information, and a computer side control unit for controlling data transfer between the computer and another computer system. In a communication system that communicates by connecting a communication line side control unit that controls transmission and reception and a communication control device that is composed of an arithmetic processing unit that collectively controls these by a computer interface bus, text data from another communication control device The communication control device that has received the information stores the received text data in the data storage unit, issues a read request to the computer, and the computer provides the communication control device with offset word number information and read word number information. Issuing a text read command, the communication control device receives and interprets the command, A communication control method characterized by sending only the serial data in the specified area of the computer in the received text data stored in the data storage unit to the computer.
【請求項2】請求項1において、 前記計算機からのテキスト読出しコマンドを解釈し、前
記データ記憶部に記憶した受信テキストフレームの指定
エリアのデータのみを計算機に送出するプログラムを含
む通信制御プログラムを、前記プログラム記憶部に格納
することを特徴とする通信制御方法。
2. A communication control program according to claim 1, comprising a program for interpreting a text read command from the computer and transmitting only data in a designated area of a received text frame stored in the data storage unit to the computer. A communication control method comprising storing the program in the program storage unit.
JP1283001A 1989-11-01 1989-11-01 Communication control method Expired - Lifetime JP2539517B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1283001A JP2539517B2 (en) 1989-11-01 1989-11-01 Communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1283001A JP2539517B2 (en) 1989-11-01 1989-11-01 Communication control method

Publications (2)

Publication Number Publication Date
JPH03145845A JPH03145845A (en) 1991-06-21
JP2539517B2 true JP2539517B2 (en) 1996-10-02

Family

ID=17659935

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1283001A Expired - Lifetime JP2539517B2 (en) 1989-11-01 1989-11-01 Communication control method

Country Status (1)

Country Link
JP (1) JP2539517B2 (en)

Also Published As

Publication number Publication date
JPH03145845A (en) 1991-06-21

Similar Documents

Publication Publication Date Title
US5063494A (en) Programmable data communications controller
EP0173747A1 (en) System for coupling a visual sensor processor and a robot controller
US5062073A (en) Input output control system using a fifo to record access information of control registers by a master device
US5463752A (en) Method and system for enhancing the efficiency of communication between multiple direct access storage devices and a storage system controller
JP2002543489A (en) Improved graphics engine master mode operation
JP2539517B2 (en) Communication control method
JP3442099B2 (en) Data transfer storage device
KR940009104B1 (en) Data transmission method between systems
JP3399776B2 (en) Computer and method for transferring peripheral device control data in computer
JPS6339237A (en) Line trace control system
JP2594673B2 (en) Data processing method
JPS61294506A (en) High-speed pio transmission method for programmable controller
JPS61250758A (en) Communication controller
JPH0511339B2 (en)
JPS60236343A (en) Echo back control system
JPS5922462A (en) Communication control system
JPH0795312B2 (en) Remote display terminal control system
JPH01174042A (en) Line control system
JPS62286340A (en) Line trace control system
JPH0322064A (en) Computer communication system
JPS63240611A (en) Command input system
JPH05204829A (en) Data transfer device
JPH05189351A (en) Bus converter
JPS6245575B2 (en)
JPH0546532A (en) High-speed scsi host adaptor