JPS5997254A - Reception data transfer method - Google Patents
Reception data transfer methodInfo
- Publication number
- JPS5997254A JPS5997254A JP57206964A JP20696482A JPS5997254A JP S5997254 A JPS5997254 A JP S5997254A JP 57206964 A JP57206964 A JP 57206964A JP 20696482 A JP20696482 A JP 20696482A JP S5997254 A JPS5997254 A JP S5997254A
- Authority
- JP
- Japan
- Prior art keywords
- data
- block
- received
- length
- data length
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/28—Handling requests for interconnection or transfer for access to input/output bus using burst mode transfer, e.g. direct memory access DMA, cycle steal
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Communication Control (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
0)発明の技術分野
本発明は、通信制御装置lこおける受信データ長および
そのデータの転送方式tこ関し、特に、例えばハイレベ
ル手順のようにデータ中にその終了を示すデリミタがな
くホストが受信データバッファをチェックしただけでは
その有効データ長が分らない通信制御方式(こおいて有
効データ長をホストデータ処理装置へ通知することを可
能とする受信データ転送方式に関する。DETAILED DESCRIPTION OF THE INVENTION 0) Technical Field of the Invention The present invention relates to the length of received data in a communication control device and the transfer method of that data, and in particular, the present invention relates to the length of received data in a communication control device and the transfer method of the data, and in particular, to A communication control method that does not have a delimiter to indicate the received data buffer and the host cannot determine the effective data length just by checking the received data buffer .
(ロ)従来技術と問題点
従来、通信制御装置からホストデータ処理装置へ回線か
らの受信データ長をデータとして通知する方式として、
大きく分けて
■ 受信データが格納されているバッファの先頭又は特
定エリアに該データ長を格納する■ 受信データが格納
源れているエリアの次のREAD指令で示されるエリア
に該データ長を格納する・
の2つの方式があるが、前者については各ブロックの受
信データすべての受信処理が完了してからでないと分ら
ないデータ長を該データの先頭又は特定エリアlこ格納
しなければならず、通信制御装置において転送アドレス
を該指令が示す先頭アドレス又は特定アドレスにもどす
等の操作が必要となり、そのための処理が複雑になると
いう欠点があった。一方、後者については1つのデータ
を受信するために2つのREAD指令が必要となシ通体
制御装置及びチャネルに負荷がかがるという欠点があっ
た。(b) Prior art and problems Conventionally, as a method for notifying the length of data received from a line as data from a communication control device to a host data processing device,
Broadly divided: ■ Storing the data length at the beginning of the buffer where the received data is stored or a specific area ■ Storing the data length in the area indicated by the READ command next to the area where the received data is stored - There are two methods, but in the former, the data length, which is known only after the reception processing of all received data of each block is completed, must be stored at the beginning of the data or in a specific area, and communication This requires an operation such as returning the transfer address to the start address or a specific address indicated by the command in the control device, which has the disadvantage that the processing for this becomes complicated. On the other hand, the latter method has the disadvantage that two READ commands are required to receive one data, which places a burden on the network controller and channel.
e9 発明の目的
本発明は上記従来方式の欠点を解決し、ホストデータ処
理装置と通信制御装置間のインフラクシボンの減少およ
び通信制御装置の処理の簡素化を計ることを目的として
いる。e9 OBJECTS OF THE INVENTION The present invention aims to solve the above-mentioned drawbacks of the conventional system, reduce infraction between a host data processing device and a communication control device, and simplify the processing of the communication control device.
に)発明の構成
上記目的を達成するためlこ本発明は、ホストデータ処
理装置からの指令にもとづき動作する通信制御袋Jlこ
おいて、回線から受信するデータブロックのデータ長に
対応する情報を受信データブロック毎に保持しておくた
めの受信ブロックデータ長保持手段をそなえ、伝送区切
り情報を含むデータブロックを検出するまでデータブロ
ックを受信するごとに上記受信ブロックデータ長保持手
段に受信データ長に対応する情報を記憶し、上記伝送区
切υ情報を含むデータブロックを受信した後、当該デー
タブロックのデータ長lこ対応する情報も含めて一連の
データブロックのデータ長に対応する情報をホストデー
タ処理装置に通知するよう構成したことを特徴とする。B) Structure of the Invention In order to achieve the above object, the present invention provides a communication control bag which operates based on commands from a host data processing device, and which transmits information corresponding to the data length of a data block received from a line. A reception block data length holding means is provided for holding each received data block, and each time a data block is received until a data block including transmission delimiter information is detected, the reception block data length holding means stores the received data length. After storing the corresponding information and receiving the data block including the transmission delimiter υ information, the host data processes the information corresponding to the data length of a series of data blocks including the data length l of the data block. It is characterized in that it is configured to notify the device.
(力 発明の実施例
第1図は、本発明の実施例のデータ通信システムの構成
図てあシ、図中、11ケホストデータ処理装置、2は通
信制御装置、3けモデム、4は回線、5は端末である。Embodiment of the Invention Fig. 1 is a block diagram of a data communication system according to an embodiment of the present invention. , 5 is a terminal.
第2図は、回想から受信される一連の受信データブロッ
クの一例を示す図であり、ここではブロック≠3が最後
の伝送ブロックとなっている。FIG. 2 is a diagram illustrating an example of a series of received data blocks received from reminiscence, where block≠3 is the last transmitted block.
第3図は、ホストデ・−夕処理装置が用意している指令
群の一例を示す図である。FIG. 3 is a diagram showing an example of a command group prepared by the host data processing device.
第4図、第2図図示の受信データを第3図図示の指令群
で受信処理を行なった結果、ホストデータ処理装置のバ
ッファに格納されたデータのマツプの一例を示す図であ
る。FIG. 4 is a diagram showing an example of a map of data stored in a buffer of the host data processing device as a result of performing reception processing on the received data shown in FIG. 2 using the command group shown in FIG. 3;
第5図は、第1図図示通信制御装置2のブロック図であ
り、図中、10け回線対応部、11はデータ処理部、1
2はインタフェース制御部、13はコマンド処理部、1
4はデータ転送制御部、15は受信ブロックデータ長保
持バッファである。FIG. 5 is a block diagram of the communication control device 2 shown in FIG.
2 is an interface control unit, 13 is a command processing unit, 1
4 is a data transfer control unit, and 15 is a reception block data length holding buffer.
第6図は実施例の動作フローを示す図である。FIG. 6 is a diagram showing the operational flow of the embodiment.
以下に、実施例の動作を説明する。The operation of the embodiment will be explained below.
ホストデータ処理装置lから指令≠1を受領すると、通
信制御装置2のコマンド処理部13はデータ転送制御部
14を起動しデータの受信処理を実行させる。データ転
送制御部14は回線からの受信データブロックナ1をホ
ストデータ処理装置1内のバッファに格納するとともl
こ、当該受信データブロック+1のデータ長を受信ブロ
ックデータ長保持バッファ15のブロック≠1対応領域
に格納する。Upon receiving the command≠1 from the host data processing device 1, the command processing section 13 of the communication control device 2 activates the data transfer control section 14 to execute data reception processing. The data transfer control unit 14 stores the received data block number 1 from the line in a buffer within the host data processing device 1.
Here, the data length of the received data block +1 is stored in the block≠1 corresponding area of the received block data length holding buffer 15.
受信データブロック+1の処理が終了すると、指令す2
の受領が行なわれコマンド処理部13は上記と同様lこ
してデータ転送制御部14を起動しデータの受信処理を
実行させる。When the processing of received data block +1 is completed, the command
The command processing unit 13 activates the data transfer control unit 14 in the same manner as described above to execute data reception processing.
データ転送制御部14は、指令す2にもとづき回線から
の受信データブロック≠2の受信処理を行ない、当該受
信データブロックナ2をホストデータ処理装置l内のバ
ッファlこ格納するとともに、当該受信データブロック
÷2のデータ長を受信ブロックデータ長保持バッファ1
5のブロックナ2対応領埴に格納する。The data transfer control unit 14 receives the received data block ≠ 2 from the line based on the command 2, stores the received data block 2 in a buffer in the host data processing device 1, and stores the received data block 2 in a buffer in the host data processing device 1. Receive the data length of block ÷ 2 Block data length holding buffer 1
Store it in the Blocker 2 corresponding territory of 5.
受信データブロックナ2の処理が終了すると、指令÷3
の受領が行なわれ上記と同様lこして受信データブロッ
ク+3の受信処理が行なわれる。こ\でホストデータ処
理装置1内のバッファへの格納動作および受信データブ
ロックのデータ長を受信ブロックデータ長保持領fi1
5の対応領塚lこ格納の
する動作は上記ブロック−#1、ブロック−+p電合と
同様であるが、ブロックナ3は一連のデータブロック伝
送の最後を示すブロックであり、伝送区切り情報が含ま
れているので、データ転送制御部14は当該伝送区切シ
情報を検出し、その旨を「伝送)刀
区室受信メモJとして図示しないレジスタあるいはメモ
リ領域にセットしておく。When the processing of received data blocker 2 is completed, the command ÷ 3
is received, and reception processing of received data block +3 is performed in the same manner as above. Here, the storage operation in the buffer in the host data processing device 1 and the data length of the received data block are stored in the received block data length holding area fi1.
The operation of storing the corresponding area mound 5 is the same as the above-mentioned block-#1 and block-+p transmission, but block number 3 is a block that indicates the end of a series of data block transmissions and includes transmission delimiter information. Therefore, the data transfer control unit 14 detects the transmission delimiter information and sets it in a register or memory area (not shown) as a "transmission" reception memo J.
なお、一連のプ胃ツクの終りか否かは例えば、制御フィ
ールド(Cフィールド)fこあるP/Fビットを判定す
ること等により判断される。It is to be noted that whether or not the series of purges has ended is determined, for example, by determining the P/F bit in the control field (C field).
その後、引き続き受領した指令÷4の処理lこおいては
、上記「伝送区切受信メモ」がセラトチれているので、
データ転送制御部14は、受信ブロックデータ長保持バ
ッファ15に保持されている受信済のプロツタ41〜す
3のそれぞれのデータ長をホストデータ処理装置11こ
転送する。これによシ、ホストデータ処理装置1のメモ
リ上のバッファ領域は第4図図示のようζこ設定される
。After that, in the processing of the received command ÷ 4, the above "transmission delimiter reception memo" has been deleted, so
The data transfer control unit 14 transfers the data lengths of the received plotters 41 to 3 held in the received block data length holding buffer 15 to the host data processing device 11. Accordingly, the buffer area on the memory of the host data processing device 1 is set as shown in FIG.
最後に、データ転送制御部14は、上記[伝送区切受(
ifメモ」をリセットして描該指令≠41こ対する動作
を終了下る。Finally, the data transfer control unit 14 performs the above-mentioned [transmission delimiter reception (
If the "if memo" is reset, the operation corresponding to the drawing command ≠ 41 is completed.
(へ)発明の効果
本発明によれば、通常のREAD指令の実行(こ関し、
アドレスの減算処理は不要であるため、アドレスの昇順
にしかデータの転送を行なうことができないチャネル等
基こ接続された装置でも実施することかでき、データ及
びデータ長を転送するためのREAD指令をほとんど増
やすことなく(伝送ブロック数+1でよい)そのデータ
とデータ長をホストへ通知することができる。またこれ
lこよシ通信制飯装置とホストとの間のインタラクシ曹
ンが減り、負荷の集中を避けることができ、能率のよい
システムを構築することができる。(F) Effects of the Invention According to the present invention, execution of a normal READ command (regarding
Since address subtraction processing is not necessary, it can be performed even with devices connected to channels such as channels that can only transfer data in ascending order of addresses, and the READ command for transferring data and data length can be performed. The data and data length can be notified to the host with almost no increase (the number of transmission blocks + 1 is enough). In addition, this reduces the number of interactions between the communication food preparation device and the host, making it possible to avoid load concentration and constructing an efficient system.
lζ対応するものであれば同様の効果があることは自明
である。It is obvious that a similar effect can be obtained if it corresponds to lζ.
またデータ長を転送するときlこデータ長以外の付加情
報も転送することは可能である。Furthermore, when transferring the data length, it is also possible to transfer additional information other than the data length.
第1図は本発明の実施例のデータ通信システムの構成図
、第2図は受信チータブロックの一例を示す図、第3図
は指令群の一例を示す図、第4図はホストデータ処理装
置のバッファfこ格納された第5図においては、2は通
信制御装置、13はコマンド処理部、14はデータ転送
制御部、15は受信ブロックデータ長保持バッファであ
る。
子4 u
第 5 m
yr 図FIG. 1 is a block diagram of a data communication system according to an embodiment of the present invention, FIG. 2 is a diagram showing an example of a receiving cheetah block, FIG. 3 is a diagram showing an example of a command group, and FIG. 4 is a diagram showing a host data processing device. In FIG. 5, 2 is a communication control device, 13 is a command processing section, 14 is a data transfer control section, and 15 is a reception block data length holding buffer. child 4 u 5th m yr figure
Claims (1)
信制御装置において、回線から受信するデータブロック
のデータ長(こ対応する情報を受信データブロック毎に
保持しておくだめの受信ブロックデータ長保持手段をそ
なえ、伝送区切多情報を含むデータブロックを検出する
までデータブロックを受信するごとに上記受信ブロック
データ長保持手段lこ受信データ長ζこ対応する情報を
記憶し上記伝送区切シ悄郭を含むデータブロックを受信
した後、当該データブロックのデータ長lこ対応する情
報も含めて一連のデータブロックのデータ長に対応する
情報をホストデータ処理装置に通知するよう構成したこ
とを特徴とする受信データ転送方式。In a communication control device that operates based on instructions from a host data processing device, the data length of a data block received from a line (receive block data length holding means for holding the corresponding information for each received data block) is provided. , each time a data block is received until a data block including transmission delimiter information is detected, the received block data length holding means stores information corresponding to the received data length, and stores the data block including the transmission delimiter information. A received data transfer method characterized by being configured to notify a host data processing device of information corresponding to the data length of a series of data blocks, including information corresponding to the data length of the data block. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57206964A JPS5997254A (en) | 1982-11-26 | 1982-11-26 | Reception data transfer method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57206964A JPS5997254A (en) | 1982-11-26 | 1982-11-26 | Reception data transfer method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPS5997254A true JPS5997254A (en) | 1984-06-05 |
Family
ID=16531914
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57206964A Pending JPS5997254A (en) | 1982-11-26 | 1982-11-26 | Reception data transfer method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5997254A (en) |
-
1982
- 1982-11-26 JP JP57206964A patent/JPS5997254A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS5997254A (en) | Reception data transfer method | |
| JPS6360428B2 (en) | ||
| JPS6367702B2 (en) | ||
| JPS6048774B2 (en) | Data file management method | |
| JPS6153985B2 (en) | ||
| JPS59721A (en) | Control system of information transfer | |
| JPH0122300Y2 (en) | ||
| JPH04277850A (en) | Descriptor control system | |
| JP2559740B2 (en) | Data transmission method | |
| JPS6294042A (en) | Communication control equipment | |
| JPS6232748A (en) | data transfer device | |
| JPH0115100B2 (en) | ||
| JPH0310971B2 (en) | ||
| JPS6142986B2 (en) | ||
| JPS5942875B2 (en) | Pattern data transfer output method | |
| JPS6019023B2 (en) | data processing equipment | |
| JPH01272339A (en) | Cyclic data transmission system | |
| JPS6159944A (en) | Sequence number check system | |
| JPH01123551A (en) | Start-stop data receiving system | |
| JPH0461388B2 (en) | ||
| JPH04171562A (en) | Data transmission processing method | |
| JPH0476148B2 (en) | ||
| JPS62193437A (en) | Reception control system | |
| JPS63249250A (en) | information processing equipment | |
| JPH01201763A (en) | Data transfer system |