JPS63137346A - Buffer control system for data transfer - Google Patents

Buffer control system for data transfer

Info

Publication number
JPS63137346A
JPS63137346A JP61284640A JP28464086A JPS63137346A JP S63137346 A JPS63137346 A JP S63137346A JP 61284640 A JP61284640 A JP 61284640A JP 28464086 A JP28464086 A JP 28464086A JP S63137346 A JPS63137346 A JP S63137346A
Authority
JP
Japan
Prior art keywords
data
buffer
order
transfer
stored
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
Application number
JP61284640A
Other languages
Japanese (ja)
Inventor
Fumiko Komatsu
文子 小松
Naomasa Hosoda
直正 細田
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.)
NEC Corp
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators 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 NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP61284640A priority Critical patent/JPS63137346A/en
Publication of JPS63137346A publication Critical patent/JPS63137346A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the efficiency of data transfer by extracting data from a buffer in accordance with a fixed order, connecting them and forming a transfer unit. CONSTITUTION:While checking whether plural buffers 16 to which level numbers corresponding to the processing order of data are applied are unused or not by a connecting means 14 in the order of the level numbers, data are stored in the unused buffers. Whether the data length of data to be stored in the buffer 16 exceeds a transfer available length or not is checked by a dividing means 18, and when the length exceeds, the data are divided at that point of time and data overflowing from the capacity of the buffer 16 are stored in the unused buffer 16 of the succeeding level number. After storing data in the buffers 16, the data are extracted from respective buffers 16 and connected in accordance with an independently fixed order to form a transfer unit and transfer data to an opposite information processor 12 through a communication line 19.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、通信回線を介して接続された情報処理装置間
でデータの転送を行うデータ転送システムで、転送効率
を上げるため連結することが決められており、かつ、転
送可能長を超える場合には分割することが決められてい
るデータ転送のバッファ制御方式に関する。
[Detailed Description of the Invention] [Industrial Field of Application] The present invention relates to a data transfer system that transfers data between information processing devices connected via a communication line. The present invention relates to a buffer control method for data transfer in which data transfer is determined to be divided when the transferable length is exceeded.

なお、本発明において、データとはいわゆるデータとコ
マンドとを含むものとする。
Note that in the present invention, data includes so-called data and commands.

〔概 要〕〔overview〕

本発明は、通信回線を介して接続された情報処理装置間
で、データ(コマンドを含む)をバッファにより所定の
連結または分割を行い転送するデータ転送のバッファ制
御方式において、上記バッファとして、データの処理順
序と対応したレベル番号が与えられた複数のバッファを
設け、データを未使用中の上記バッファに上記レベル番
号順に格納し、格納の途中でバッファに格納されたデー
タのデータ長が転送可能長を超えた場合、そのデータを
分割し次レベル番号のバッファに格納し、データの転送
効率を高めるために別途定められた順序に従って上記バ
ッファからデータを取り出して連結し転送単位を生成す
ることにより、 転送効率の高いデータ転送処理を容易にし、かつ資源不
足をきたさないようにしたものである。
The present invention provides a buffer control method for data transfer in which data (including commands) is concatenated or divided in a predetermined manner using a buffer and transferred between information processing devices connected via a communication line. A plurality of buffers are provided with level numbers corresponding to the processing order, and data is stored in the unused buffers in the order of the level numbers, and during storage, the data length of the data stored in the buffers reaches the transferable length. If the data exceeds the number, the data is divided and stored in the buffer of the next level number, and in order to improve the data transfer efficiency, the data is extracted from the buffer and concatenated in a separately determined order to generate a transfer unit. This facilitates data transfer processing with high transfer efficiency and prevents resource shortages.

〔従来の技術〕[Conventional technology]

従来、通信回線を介して接続された情報処理装置間でデ
ータの転送を行うシステムでは、単一のバッファを用い
、利用者プログラムが送信要求を出した順に連結してい
た。そして、送信要求を出した順と異なる順に連結する
ことが決められているシステムはなかった。従って、分
割の必要があっても、連結する順を考慮しておく必要は
なかった。
Conventionally, in systems that transfer data between information processing apparatuses connected via a communication line, a single buffer is used and the data are connected in the order in which a user program issues a transmission request. Furthermore, there was no system in which it was determined that connections should be made in an order different from the order in which transmission requests were issued. Therefore, even if it was necessary to divide the files, there was no need to consider the order in which they should be concatenated.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のデータ転送のバッファ制御方式では、単
一のバッファを制御するため、データの転送効率を上げ
るため、送信要求とは異なるある定められた連結順序に
するためには、データの並べ替えを行わなければならず
処理が困難である欠点があった。また、連結が完了した
時点で、分割を行うと、資源が不足する場合が生じる欠
点があった。
In the conventional data transfer buffer control method described above, a single buffer is controlled, so in order to improve data transfer efficiency and to achieve a certain concatenation order that differs from the transmission request, data must be rearranged. The disadvantage is that processing is difficult. Furthermore, if the division is performed once the connection is completed, there is a drawback that resources may become insufficient.

本発明の目的は、上記の欠点を除去することにより、転
送効率の高いデータ転送処理を容易にし、かつ資源不足
をきたすことのないデータ転送のバッファ制御方式を提
供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a buffer control method for data transfer that facilitates data transfer processing with high transfer efficiency and that does not cause resource shortages by eliminating the above-mentioned drawbacks.

C問題点を解決するための手・段〕 本発明は、通信回線を介して接続された情報処理装置間
で、転送するデータをバッファに一時蓄積して所定の連
結または分割を行うデータ転送のバッファ制御方式にお
いて、上記バッファは、上記データの処理順序と対応し
たレベル番号が与えられた複数のバッファで構成され、
上記データを未使用中の上記バッファに上記レベル番号
順に格納し、この格納されたデータを定められた連結順
に取り出して連結し転送単位を生成する連結手段と、上
記バッファに格納されるべきデータのデータ長が転送可
能長を超えた場合に当該データを分割して次レベル番号
の未使用バッファに格納させる分割手段とを含むことを
特徴とする。
Means/Means for Solving Problem C] The present invention provides a method of data transfer in which data to be transferred is temporarily stored in a buffer and then concatenated or divided in a predetermined manner between information processing devices connected via a communication line. In the buffer control method, the buffer is composed of a plurality of buffers given level numbers corresponding to the processing order of the data,
a linking means for storing the data in the unused buffer in the order of the level number, extracting and linking the stored data in a predetermined linking order to generate a transfer unit; The present invention is characterized in that it includes a dividing means for dividing the data and storing it in an unused buffer of the next level number when the data length exceeds the transferable length.

〔作 用〕[For production]

データ(コマンドを含む)の処理順序に対応したレベル
番号が与えられた複数(最小限連結しなければならない
個数)のバッファに、連結手段により、そのバッファが
未使用か否かをレベル番号順に確認しながら、未使用中
のバッファにデータを格納してゆく。そして分割手段に
より、このバッファに格納されるべきデータのデータ長
が転送可能長を超えるかどうかをチェックさせ、超える
場合には、その時点でデータの分割を行い当該バッファ
に格納し切れなかったデータは次レベル番号の未使用中
のバッファに格納する。そして、バッファへのデータ格
納が終わった後で、連結手段により、別途定められた順
序に従って各バッファよりデータを取り出し連結するこ
とにより転送単位を生成し、相手情報処理装置へ通信回
線を介して転送する。
Concatenation means checks in order of level numbers whether the buffers are unused or not for multiple (minimum number of buffers that must be concatenated) given level numbers corresponding to the processing order of data (including commands). At the same time, data is stored in unused buffers. Then, the dividing means checks whether the data length of the data to be stored in this buffer exceeds the transferable length. If it exceeds, the data is divided at that point and the data that cannot be stored in the buffer is is stored in an unused buffer at the next level number. After the data has been stored in the buffer, the linking means extracts data from each buffer in a separately determined order and links them to generate a transfer unit, which is then transferred to the other party's information processing device via the communication line. do.

従って、転送効率を高めるために、連結の順を利用者プ
ログラムの送信要求とは異なる順序で連結してもデータ
の並べ替えは必要とせず、また分割のために特別に資源
を増やす必要もなく、高転送効率のデータ転送を容易に
、かつ資源の増加なしに行うことが可能となる。
Therefore, in order to improve transfer efficiency, even if the data is concatenated in a different order from the user program's transmission request, there is no need to rearrange the data, and there is no need to increase resources for partitioning. , it becomes possible to easily perform data transfer with high transfer efficiency without increasing resources.

〔実施例〕〔Example〕

以下、本発明の実施例について図面を参照して説明する
Embodiments of the present invention will be described below with reference to the drawings.

第1図は本発明の一実施例を示すブロック構成図である
。本実施例は、情報処理装置11と情報処理装置12と
が通信回線19を介して接続され、データ(コマンドを
含む)の転送を行う場合で、情報処理装置11より情報
処理装置12ヘデータを転送する場合を示す。
FIG. 1 is a block diagram showing one embodiment of the present invention. In this embodiment, an information processing device 11 and an information processing device 12 are connected via a communication line 19 to transfer data (including commands), and data is transferred from the information processing device 11 to the information processing device 12. Indicates when to do so.

情報処理装置11は、データ(コマンドを含む)l3と
、データ13の処理順序と対応したレベル番号17が与
えられた4個のバッファ1.2.3および4からなるバ
ッファ群16と、データ13を未使用中のバッファL 
2.3または4にレベル番号17の順に格納し、この格
納されたデータを定められた連結順に取り出し転送単位
15として連結する連結手段14と、バッファl、2.
3または4に格納されるべきデータのデータ長が転送可
能長を超えた場合に、当該データを分割して次レベル番
号の未使用中のバッファに格納させる分割手段18とを
含んでいる。
The information processing device 11 includes data (including commands) l3, a buffer group 16 consisting of four buffers 1, 2, 3, and 4 to which a level number 17 corresponding to the processing order of the data 13 is given, and data 13. unused buffer L
2.3 or 4 in the order of level number 17, and a concatenation means 14 for taking out the stored data in a predetermined concatenation order and concatenating it as a transfer unit 15;
If the data length of the data to be stored in 3 or 4 exceeds the transferable length, the division means 18 divides the data and stores it in the unused buffer of the next level number.

本発明の特徴は、第1図において、連結手設工4、バッ
ファ群16および分割手段18を設けたことにある。
A feature of the present invention is that, in FIG. 1, a connecting manual work 4, a buffer group 16, and a dividing means 18 are provided.

次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

情報処理装置11は通信回線19を介して、情報処理装
置12とデータ転送を行う。データ13は送信するデー
タまたはコマンドの単位であり、コマンドは、情報処理
装置相互が、通信を行うために必要な取り決めに従った
情報を含んでいる。連結手段14はデータ13をいくつ
かまとめて決められた順番に従って連結し、転送単位1
5を作成する。転送単位15を構成するデータの最大数
は決められている。
The information processing device 11 performs data transfer with the information processing device 12 via the communication line 19. The data 13 is a unit of data or command to be transmitted, and the command includes information according to the agreement necessary for communication between the information processing devices. The concatenation means 14 concatenates several pieces of data 13 in a predetermined order, and transfers the data 13 as a transfer unit 1.
Create 5. The maximum number of data constituting the transfer unit 15 is determined.

また、同じ種類のコマンドが連結されることはない。Also, commands of the same type are never concatenated.

情報処理装置12は、受信した転送単位15を、コマン
ドまたはいわゆるデータに分離し、情報処理装置11が
送信要求を行った順に処理する。バッファ群16は連結
可能な最大数だけバッファを持つ。
The information processing device 12 separates the received transfer unit 15 into commands or so-called data, and processes them in the order in which the information processing device 11 made the transmission request. The buffer group 16 has the maximum number of buffers that can be connected.

各バッファ1.2.3および4にはレベル番号17が付
加される。
Level number 17 is added to each buffer 1.2.3 and 4.

分割手段18は、連結途中でデータのデータ長が転送可
能長を超えたときに、当該バッファ内のデータ単位を分
割し、転送単位15を作成する。転送単位15は情報処
理装置12に転送される。
The dividing means 18 divides the data unit in the buffer to create a transfer unit 15 when the data length of the data exceeds the transferable length during concatenation. The transfer unit 15 is transferred to the information processing device 12.

第2図は、第1図の連結手段14および分割手段18の
、動作を説明するための部分詳細図である。以下、第2
図を参照してより詳しく説明する。
FIG. 2 is a partial detailed view for explaining the operation of the connecting means 14 and dividing means 18 of FIG. 1. Below, the second
This will be explained in more detail with reference to the drawings.

情報処理装置11は、データ13a 、データ13b1
データ13c、データ13dの順序で送信要求を連結手
段14へ出す。
The information processing device 11 stores data 13a and data 13b1.
A transmission request is issued to the connecting means 14 in the order of data 13c and data 13d.

まず、連結手段14は、データ13aを受は取ると、バ
ッファ1に格納する0次にデータ13bを受は取ると、
最後にデータが格納されているバッファの次からデータ
を格納する。この場合はデータ13bをバッファ2に格
納する。こうして、順にデータ13cをバッファ3に、
データ13dをバッファ4に格納すると、連結手段14
では、これをデータ転送効率を上げるため別途型められ
た順に繋げて、転送単位15を作成する。
First, when the connecting means 14 receives the data 13a and receives the zero-order data 13b to be stored in the buffer 1,
Stores data from the buffer after the last data stored in the buffer. In this case, data 13b is stored in buffer 2. In this way, data 13c is transferred to buffer 3 in order.
When the data 13d is stored in the buffer 4, the connecting means 14
Now, in order to increase data transfer efficiency, the transfer units 15 are created by connecting them in a separately patterned order.

連結手段14は、データを定められた順に連結するが、
データを受は取った際、分割手段18に対して、分割の
必要がある場合、分割するように指示する。分割手段1
8はバッファに保持されているデータのデータ長と、受
は取ったデータのデータ長との合計を転送可能長と比較
する。転送可能長よりも、短ければこのデータをバッフ
ァに格納するが、転送可能長を超えるとき、保持されて
いるバッファ中のデータのデータ長と、転送可能長との
差の長さの受は取ったデータを連結し、転送単位15を
作成し、残りのデータを次レベル番号の未使用中のバッ
ファに格納する。次にデータの送信要求があると、連結
手段14は、現在格納されているバッファの次からデー
タを格納するので、分割されていることを意識せずに、
データの連結を行うことができる。
The connecting means 14 connects the data in a predetermined order,
When data is received, it instructs the dividing means 18 to divide the data if necessary. Dividing means 1
8 compares the sum of the data length of the data held in the buffer and the data length of the received data with the transferable length. If it is shorter than the transferable length, the data is stored in the buffer, but if it exceeds the transferable length, the difference between the data length of the data held in the buffer and the transferable length is not received. The transferred data is concatenated to create a transfer unit 15, and the remaining data is stored in an unused buffer of the next level number. When there is a next request to send data, the linking means 14 stores the data from the buffer that is currently stored, without being aware that it has been divided.
Data can be linked.

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

以上説明したように、本発明は、データ(コマンドを含
む)の連結を行う場合、単に複数個のバッファを定めら
れた順に繋げばよく、処理が容易になる効果がある。ま
た、分割する必要性がある場合は、連結途中で分割し転
送単位を作成するので、データを格納するための資源が
不足することはなくなる効果がある。
As described above, the present invention has the advantage that when data (including commands) is to be concatenated, it is sufficient to simply connect a plurality of buffers in a predetermined order, which facilitates processing. Furthermore, if it is necessary to divide the data, it is divided midway through the connection to create a transfer unit, which has the effect of preventing a shortage of resources for storing data.

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

第1図は本発明の一実施例を示すブロック構成図。 第2図はその部分詳細を示すブロック構成図。 11.12・・・情報処理装置、13.13a〜1’3
d・・・デー夕、14・・・連結手段、15・・・転送
単位、16・・・バ・ソファ群、17・・・レベル番号
、18・・・分割手段。 特許出願人代理人       −・)、実施f1(全
体構成図) 第1図
FIG. 1 is a block diagram showing an embodiment of the present invention. FIG. 2 is a block configuration diagram showing partial details thereof. 11.12... Information processing device, 13.13a-1'3
d... Data, 14... Connection means, 15... Transfer unit, 16... Bath sofa group, 17... Level number, 18... Division means. Patent applicant agent -・), implementation f1 (overall configuration diagram) Figure 1

Claims (1)

【特許請求の範囲】[Claims] (1)通信回線を介して接続された情報処理装置間で、
転送するデータをバッファに一時蓄積して所定の連結ま
たは分割を行うデータ転送のバッファ制御方式において
、 上記バッファは、上記データの処理順序と対応したレベ
ル番号が与えられた複数のバッファで構成され、 上記データを未使用中の上記バッファに上記レベル番号
順に格納し、この格納されたデータを定められた連結順
に取り出して連結し転送単位を生成する連結手段(14
)と、 上記バッファに格納されるべきデータのデータ長が転送
可能長を超えた場合に当該データを分割して次レベル番
号の未使用バッファに格納させる分割手段(18)とを
含む ことを特徴とするデータ転送のバッファ制御方式。
(1) Between information processing devices connected via a communication line,
In a data transfer buffer control method in which data to be transferred is temporarily stored in a buffer and then concatenated or divided in a predetermined manner, the buffer is composed of a plurality of buffers assigned level numbers corresponding to the processing order of the data, Connecting means (14) that stores the data in the unused buffer in the order of the level numbers, extracts and connects the stored data in a predetermined linking order, and generates a transfer unit.
), and a dividing means (18) for dividing the data and storing it in an unused buffer of the next level number when the data length of the data to be stored in the buffer exceeds the transferable length. A buffer control method for data transfer.
JP61284640A 1986-11-29 1986-11-29 Buffer control system for data transfer Pending JPS63137346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61284640A JPS63137346A (en) 1986-11-29 1986-11-29 Buffer control system for data transfer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61284640A JPS63137346A (en) 1986-11-29 1986-11-29 Buffer control system for data transfer

Publications (1)

Publication Number Publication Date
JPS63137346A true JPS63137346A (en) 1988-06-09

Family

ID=17681084

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61284640A Pending JPS63137346A (en) 1986-11-29 1986-11-29 Buffer control system for data transfer

Country Status (1)

Country Link
JP (1) JPS63137346A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014057149A (en) * 2012-09-11 2014-03-27 Toshiba Corp Communication device, relay device and communication method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014057149A (en) * 2012-09-11 2014-03-27 Toshiba Corp Communication device, relay device and communication method

Similar Documents

Publication Publication Date Title
JPS63137346A (en) Buffer control system for data transfer
JPS58151743A (en) Polling system
JPH02268046A (en) Packet multiplexer
JPS63276653A (en) Managing system for line output cue
JP2543710B2 (en) Input / output interface multiplex system
JPS6237859B2 (en)
JPH02245956A (en) Data information system
JPH01125643A (en) Control system for divided transmission/reception of message
JPS6027056A (en) Buffer control system
JPH01304561A (en) Level adding communication control system
JPS6330951A (en) Data transfer system for communication control processor
JPS6266360A (en) Priority control system
JPS62202634A (en) File transmission system
JPH01134559A (en) Data communication system
JPH02126351A (en) Data transfer control method
JPH02216553A (en) System for controlling file access
JPH0754497B2 (en) Shared I / O device control method
JPS60204062A (en) Multidata processing system
JPH0374747A (en) Data access device
JPH0367352A (en) Data transfer device
JPH033460A (en) Data divisional transmission system for local area network system
JPS6165693A (en) Electronic exchange control system
JPS648501B2 (en)
JPS63238741A (en) Hierarchy processing system for transmitting control procedure
JPH02144749A (en) Data processor