JP3626697B2 - Data transfer method and data transfer system - Google Patents

Data transfer method and data transfer system Download PDF

Info

Publication number
JP3626697B2
JP3626697B2 JP2001127571A JP2001127571A JP3626697B2 JP 3626697 B2 JP3626697 B2 JP 3626697B2 JP 2001127571 A JP2001127571 A JP 2001127571A JP 2001127571 A JP2001127571 A JP 2001127571A JP 3626697 B2 JP3626697 B2 JP 3626697B2
Authority
JP
Japan
Prior art keywords
data
request
reception
unit
queue
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 - Fee Related
Application number
JP2001127571A
Other languages
Japanese (ja)
Other versions
JP2002324043A (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.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno 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 Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP2001127571A priority Critical patent/JP3626697B2/en
Publication of JP2002324043A publication Critical patent/JP2002324043A/en
Application granted granted Critical
Publication of JP3626697B2 publication Critical patent/JP3626697B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)
  • Communication Control (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、論理ユニット間でデータ転送を行うためのデータ転送方法およびシステムに関し、特にデータ長の異なるデータ付きリクエストの転送を行うデータ転送方法およびシステムに関する。
【0002】
【従来の技術】
論理ユニット間でデータ転送を行う際には、データ付きリクエストを送信する側の論理ユニット(以下送信側ユニット)からデータ付きリクエストが送信されると、データ付きリクエストを受信する側の論理ユニット(以下受信側ユニット)では、受信したデータ付きリクエストをリクエスト受信キューに一旦格納してから受信レジスタに読み出して処理を行っている。
【0003】
そのため、送信側ユニットでは、受信側ユニットのリクエスト受信キューに格納されるデータ付きリクエストのデータ量がリクエスト受信キューの最大容量を越えないようにデータ付きリクエストの送信を制御しなければならない。
【0004】
従来のデータ転送方法では、論理ユニット間においてデータ付きリクエストを連続して転送する時、送信側ユニットではリクエストを送信すると管理カウンタの値を1つ加算し、受信側ユニットからリクエスト受信キューに格納されているリクエストを読み出した旨の受信完了通知を受信したら管理カウンタの値を1つ減算するといった、リクエスト個数のみによりリクエストの送信を管理していた。
【0005】
そのため、従来のデータ転送方法では、それぞれのデータ付きリクエストにおいてデータ長が異なるデータ付きリクエストの転送を行う場合には、1つのリクエストあたりの最大データ長を見込んで受信キューの空き状態を監視する必要がある。つまり、現在リクエスト受信キューに格納されていると思われるリクエストの個数に1つのリクエストが取り得る最大のデータ長を乗算した値がリクエスト受信キューの最大容量を超えた場合には送信側ユニットからのデータ付きリクエストの送信を中断する必要があった。
【0006】
しかし、受信側ユニットのリクエスト受信キューに格納されている全てのデータ付きリクエストは必ずしも最大のデータ長を有しているわけではない。そのため、リクエスト受信キューの容量が全て使われず、データ転送が効率的ではなかった。
【0007】
【発明が解決しようとする課題】
上述した従来のデータ転送システムでは、データ付きリクエスト個数のみの管理によりデータ付きリクエストの送信の制御を行っていたため、データ長の異なるデータ付きリクエストの転送を行う場合には、受信側ユニットの受信キューを全て使用することができずデータ転送が効率的でないという問題点があった。
【0008】
本発明の目的は、データ長の異なるデータ付きリクエストの転送を行う場合でも、受信側ユニットの受信キューを全て使用して効率的なデータ転送を行うことができるデータ転送システムを提供することである。
【0009】
【課題を解決するための手段】
上記目的を達成するために、本発明のデータ転送システムは、データ付きリクエストを送信する側の論理ユニットである送信側ユニットと、前記データ付きリクエストを受信する側の論理ユニットである受信側ユニットとから構成されるデータ転送システムであって、
送信側ユニットから受信したデータ付きリクエストを格納するリクエスト受信キューと、前記リクエスト受信キューに格納されているデータ付きリクエストを読み出して処理を行う受信レジスタと、前記受信レジスタによりリクエスト受信キューに格納されているデータ付きリクエストが読み出されると、読み出されたそのデータ付きリクエストを特定できる情報を含めた受信完了通知を前記送信側ユニットに送信する受信完了通知レジスタと、から構成される受信側ユニットと、
前記受信側ユニットに送信するためのデータ付きリクエストが格納されていて、格納されているデータ付きリクエストを読み出して出力するリクエスト送信キューと、前記リクエスト送信キューから読み出されたデータ付きリクエストを受信側ユニットに出力する送信レジスタと、受信側ユニットの前記リクエスト受信キューに現在格納されているデータ量に対応する値を格納するためのカウンタであるデータ長監視カウンタと、前記送信レジスタから受信側ユニットへデータ付きリクエストが送信されると、受信側ユニットへ送信された該データ付きリクエストのデータ長分の値を前記データ長監視カウンタの値に加算するデータ長演算器と、前記受信側ユニットへ送信されたデータ付きリクエストのデータ長を各データ付きリクエスト毎に格納しておき、前記受信側ユニットからの受信完了通知を受信すると、該受信完了通知に含まれる情報により特定されるデータ付きリクエストに対応するデータ付きリクエストのデータ長を検索し、そのデータ長分の値を前記データ長監視カウンタから減算するように前記データ長演算器に指示するデータ長履歴バッファと、受信側ユニットの前記リクエスト受信キューの最大容量を予め記録していて、リクエスト受信キューの最大容量から前記データ長監視カウンタの値を減算することにより前記リクエスト受信キューの現在の空き容量を算出し、該空き容量が1つのデータ付きリクエストが取り得る最大データ長より小さい場合には前記リクエスト送信キューをデータ付きリクエストの読み出しが行われないように制御する送信制御部と、から構成される送信側ユニットと、を有する。
【0010】
本発明によれば、論理ユニット間のデータ転送方式においてデータ長の異なるデータ付きリクエストを連続して転送する際、送信側ユニットから発行したデータ付きリクエストのデータ長をデータ長監視カウンタに加算すると共にデータ長履歴バッファへ退避しておき、受信側ユニットが受信キューからデータ付きリクエストを読み出した際に送信側ユニットへ通知する受信完了通知を契機にデータ長履歴バッファへ退避しておいたデータ長を取得してデータ長監視カウンタから減算することで、受信側ユニットの受信キューの空き状況を正確に管理することができるため、リクエスト受信キューを無駄なく使用してデータ転送を効率的に行うことができる。
【0011】
【発明の実施の形態】
次に、本発明の実施の形態について図面を参照して詳細に説明する。図1は本発明の一実施形態のデータ転送システムの構成を示すブロック図である。
【0012】
論理ユニット間でデータ付きリクエストの転送を行う際、送信側ユニット、受信側ユニットのそれぞれがリクエストキューで管理される場合、受信側ユニットにおけるリクエスト受信キューが空かなければその最大容量を越えて送信は出来ない。データ付きリクエストのデータ長が一定ではなくリクエストにより異なる場合、リクエスト受信キューの空き管理が転送を効率的に行う上で重要になってくる。本実施形態におけるデータ転送方法は、リクエスト受信キューの空き状況をデータ長履歴を管理することによって実現する。
【0013】
本実施形態のデータ転送システムは、図1に示されるように、データ付きリクエストを送信する送信側ユニット10と、送信側ユニット10からのデータ付きリクエストを受信する受信側ユニット11とから構成されている。
【0014】
送信側ユニット10は、リクエスト送信キュー9と、送信レジスタ1と、送信制御部4と、データ長演算器5と、データ長監視カウンタ6と、データ長履歴バッファ8とから構成されている。また、受信側ユニット11は、リクエスト受信キュー2と、受信レジスタ3と、受信完了通知レジスタ7とから構成されている。
【0015】
リクエスト送信キュー9は、送信を行うためのデータ付きリクエストが格納されていて、送信制御部4の制御により格納されているデータ付きリクエストを読み出して送信レジスタ1に出力する。送信レジスタ1は、リクエスト送信キュー9から読み出されたデータ付きリクエストを受信側ユニット11に出力している。
【0016】
送信制御部4は、リクエスト受信キュー2の最大容量を予め記録していて、リクエスト受信キュー2の最大容量からデータ長監視カウンタ6の値を減算することによりリクエスト受信キュー2の現在の空き容量を算出し、その空き容量が1つのリクエストあたりの最大データ長より小さい場合にはリクエスト送信キュー9をデータ付きリクエストの読み出しが行われないように制御する。
【0017】
データ長演算器5は、送信レジスタ1から受信側ユニット11へデータ付きリクエストが送信されると、受信側ユニット11へ送信されたそのデータ付きリクエストのデータ長分の値をデータ長監視カウンタ6の値に加算する。データ長監視カウンタ6は、リクエスト受信キュー2に現在格納されているデータ量に対応する値を格納するためのカウンタであり、データ長演算器5からの制御に基づいてカウント値の加算/減算を行っている。
【0018】
データ長履歴バッファ8は、受信側ユニット11へ送信されたデータ付きリクエストのデータ長を各データ付きリクエスト毎に格納しておく。そして、データ長履歴バッファ8は、受信側ユニット8からの受信完了通知を受信すると、その受信完了通知に含まれる情報により特定されるデータ付きリクエストに対応するデータ付きリクエストのデータ長を検索し、そのデータ長分の値をデータ長監視カウンタ6から減算するようにデータ長演算器5に指示する
リクエスト受信キュー2は、送信側ユニット10から受信したデータ付きリクエストを格納する。受信レジスタ3は、リクエスト受信キュー2に格納されているデータ付きリクエストを読み出して処理を行う。
【0019】
受信完了通知レジスタ7は、受信レジスタ3によりリクエスト受信キュー2に格納されているデータ付きリクエストが読み出されると、読み出されたそのデータ付きリクエストを特定できる情報を含めた受信完了通知を送信側ユニット10に送信する。
【0020】
次に、本実施形態のデータ転送システムの動作について図1を参照して詳細に説明する。
【0021】
送信側ユニット10において、リクエスト送信キュー9からデータ付きリクエストが送信レジスタ1へ読み出されて受信側ユニット11へ出力される際、データ付きリクエストのデータ長はデータ長演算器5によってデータ長監視カウンタ6へ加算されて格納されると共にデータ長履歴バッファ8へも退避される。
【0022】
そして、受信側ユニット11では送信側ユニット10から受信したデータ付きリクエストがリクエスト受信キュー2へ格納される。リクエスト受信キュー2に格納されたデータ付きリクエストは、その後受信レジスタ3へ読み出されるが、その際にリクエスト受信キュー2は読み出したデータ長分の容量が空くため、これを送信側ユニット10に通知する手段として、受信完了通知レジスタ7に受信完了通知を設定して送信側ユニット10に通知する。
【0023】
送信側ユニット10では、受信完了通知レジスタ7に設定された受信完了通知を受信すると、データ長履歴バッファ8を検索して受信側ユニット11からの受信完了通知に対応するデータ付きリクエストのデータ長の履歴を取得し、データ長演算器5によってデータ長監視カウンタ6から減算する。これにより、送信時に加算したデータ長が受信完了により減算されるため、データ長監視カウンタ6の値は、リクエスト受信キュー2に現在格納されているデータ長の合計を示すことになる。
【0024】
すなわち、データ長監視カウンタ6の値により受信側ユニット11のリクエスト受信キュー2の空き状態を判定することができるため、送信制御部4では、リクエスト受信キュー2の最大受信容量からデータ長監視カウンタ6の値を減算することによりリクエスト受信キュー2の現在の空き容量を判定することができる。そして、送信制御部4は、その空き容量が1つのリクエストが取り得る最大データ長より小さい場合にはリクエスト送信キュー9に対してデータ付きリクエストの読み出しが行われないような制御を行う。
【0025】
そして、受信側ユニット11においてリクエスト受信キュー2から受信レジスタ3にデータ付きリクエストが読み出され、受信完了通知レジスタ7から新たな受信完了通知が送信されるとデータ長管理カウンタ6の値が減算され、リクエスト受信キュー2の空き容量が1つのリクエストが取り得る最大データ長以上となると、送信制御部4は中断していたリクエスト送信キュー9のデータ付きリクエストの読み出しを再開する。
【0026】
このような制御が行われることにより、送信制御部4は、受信側ユニット11のリクエスト受信キュー2に空きがない状態では、リクエスト送信キュー9の読み出しを中断し、リクエスト受信キュー2に空きができると中断していたリクエスト送信キュー9のデータ付きリクエストの読み出しを再開するという制御を行うことができる。そのため、データ付きリクエストの個数のみによってデータ付きリクエストの送信制御を行っていた従来のデータ転送システムと比較して、リクエスト受信キュー2を無駄なく使用してデータ転送を効率的に行うことができる。
【0027】
【発明の効果】
以上説明したように、本発明によれば、データ長の異なるデータ付きリクエストを連続して転送する送信ユニット側において、受信側ユニットの受信キューの空き状況を正確に管理することができるため、リクエスト受信キューを無駄なく使用してデータ転送を効率的に行うことができるという効果を得ることができる。
【図面の簡単な説明】
【図1】本発明の一実施形態のデータ転送システムの構成を示すブロック図である。
【符号の説明】
1 送信レジスタ
2 リクエスト受信キュー
3 受信レジスタ
4 送信制御部
5 データ長演算器
6 データ長監視カウンタ
7 受信完了通知レジスタ
8 データ長履歴バッファ
9 リクエスト送信キュー
10 送信ユニット
11 受信ユニット
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data transfer method and system for transferring data between logical units, and more particularly to a data transfer method and system for transferring requests with data having different data lengths.
[0002]
[Prior art]
When transferring data between logical units, if a request with data is sent from the logical unit that sends a request with data (hereinafter referred to as the sending unit), the logical unit that receives the request with data (hereinafter referred to as the request with data) In the receiving unit), the received request with data is temporarily stored in the request reception queue and then read into the reception register for processing.
[0003]
For this reason, the transmission unit must control the transmission of the request with data so that the data amount of the request with data stored in the request reception queue of the reception unit does not exceed the maximum capacity of the request reception queue.
[0004]
In the conventional data transfer method, when a request with data is transferred continuously between logical units, the sending unit adds 1 to the management counter when the request is sent, and is stored in the request reception queue from the receiving unit. When the reception completion notification indicating that the request is read is received, the transmission of the request is managed only by the number of requests, such as decrementing the value of the management counter by one.
[0005]
Therefore, in the conventional data transfer method, when transferring a request with data having a different data length in each request with data, it is necessary to monitor the free state of the reception queue in consideration of the maximum data length per request. There is. In other words, if the number of requests that are currently stored in the request reception queue multiplied by the maximum data length that can be taken by one request exceeds the maximum capacity of the request reception queue, There was a need to interrupt the sending of requests with data.
[0006]
However, all requests with data stored in the request reception queue of the receiving unit do not necessarily have the maximum data length. For this reason, the entire capacity of the request reception queue is not used, and data transfer is not efficient.
[0007]
[Problems to be solved by the invention]
In the conventional data transfer system described above, the transmission of requests with data is controlled by managing only the number of requests with data, so when transferring requests with data having different data lengths, the reception queue of the receiving unit is used. There is a problem that the data transfer is not efficient because all the data cannot be used.
[0008]
An object of the present invention is to provide a data transfer system capable of performing efficient data transfer using all reception queues of a receiving unit even when transferring requests with data having different data lengths. .
[0009]
[Means for Solving the Problems]
In order to achieve the above object, a data transfer system of the present invention includes a transmission side unit that is a logical unit that transmits a request with data, and a reception side unit that is a logical unit that receives the request with data. A data transfer system comprising:
A request reception queue that stores a request with data received from a transmission side unit, a reception register that reads and processes a request with data stored in the request reception queue, and is stored in the request reception queue by the reception register. A reception completion unit that includes a reception completion notification register that transmits to the transmission unit a reception completion notification including information that can identify the read request with data.
A request with data to be transmitted to the receiving unit is stored, a request transmission queue for reading out and outputting the stored request with data, and a request with data read from the request transmission queue as a receiving side A transmission register to be output to the unit, a data length monitoring counter which is a counter for storing a value corresponding to the amount of data currently stored in the request reception queue of the reception side unit, and from the transmission register to the reception side unit When a request with data is transmitted, a data length calculator that adds a value corresponding to the data length of the request with data transmitted to the receiving unit to the value of the data length monitoring counter, and the data request is transmitted to the receiving unit. The data length of the request with data When the reception completion notification is received from the receiving side unit, the data length of the request with data corresponding to the request with data specified by the information included in the reception completion notification is retrieved, and the data length The data length history buffer that instructs the data length calculator to subtract the value of the data length monitoring counter and the maximum capacity of the request reception queue of the receiving unit are recorded in advance, and the maximum of the request reception queue is recorded. The current free capacity of the request reception queue is calculated by subtracting the value of the data length monitoring counter from the capacity. If the free capacity is smaller than the maximum data length that can be taken by one request with data, the request transmission is performed. Transmission control unit that controls the queue so that requests with data are not read. , And a transmission side unit composed.
[0010]
According to the present invention, when continuously transferring requests with data having different data lengths in the data transfer method between logical units, the data length of the requests with data issued from the transmitting unit is added to the data length monitoring counter. Save the data length saved in the data length history buffer in response to the reception completion notification that is sent to the sending unit when the receiving unit reads a request with data from the receiving queue. By acquiring and subtracting from the data length monitoring counter, it is possible to accurately manage the availability of the reception queue of the receiving unit, so that data transfer can be efficiently performed using the request reception queue without waste. it can.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a data transfer system according to an embodiment of the present invention.
[0012]
When transferring a request with data between logical units, if each of the sending unit and receiving unit is managed by a request queue, if the request receiving queue in the receiving unit is not empty, it will exceed its maximum capacity. I can't. When the data length of a request with data is not constant and varies depending on the request, free management of the request reception queue becomes important for efficient transfer. The data transfer method according to the present embodiment realizes the availability of the request reception queue by managing the data length history.
[0013]
As shown in FIG. 1, the data transfer system according to the present embodiment includes a transmission-side unit 10 that transmits a request with data and a reception-side unit 11 that receives a request with data from the transmission-side unit 10. Yes.
[0014]
The transmission side unit 10 includes a request transmission queue 9, a transmission register 1, a transmission control unit 4, a data length calculator 5, a data length monitoring counter 6, and a data length history buffer 8. The receiving unit 11 includes a request reception queue 2, a reception register 3, and a reception completion notification register 7.
[0015]
The request transmission queue 9 stores data-added requests for transmission, reads the data-added requests stored under the control of the transmission control unit 4, and outputs them to the transmission register 1. The transmission register 1 outputs the request with data read from the request transmission queue 9 to the reception-side unit 11.
[0016]
The transmission control unit 4 records the maximum capacity of the request reception queue 2 in advance, and subtracts the value of the data length monitoring counter 6 from the maximum capacity of the request reception queue 2 to obtain the current free capacity of the request reception queue 2. When the calculated free space is smaller than the maximum data length per request, the request transmission queue 9 is controlled so as not to read the request with data.
[0017]
When a request with data is transmitted from the transmission register 1 to the receiving unit 11 from the transmission register 1, the data length calculator 5 obtains a value corresponding to the data length of the request with data transmitted to the receiving unit 11 in the data length monitoring counter 6. Add to the value. The data length monitoring counter 6 is a counter for storing a value corresponding to the amount of data currently stored in the request reception queue 2 and adds / subtracts the count value based on the control from the data length calculator 5. Is going.
[0018]
The data length history buffer 8 stores the data length of the request with data transmitted to the receiving unit 11 for each request with data. When the data length history buffer 8 receives the reception completion notification from the receiving unit 8, the data length history buffer 8 searches the data length of the request with data corresponding to the request with data specified by the information included in the reception completion notification, The request reception queue 2 that instructs the data length calculator 5 to subtract the value for the data length from the data length monitoring counter 6 stores the request with data received from the transmission side unit 10. The reception register 3 reads and processes the request with data stored in the request reception queue 2.
[0019]
When a reception request with data stored in the request reception queue 2 is read by the reception register 3, the reception completion notification register 7 sends a reception completion notification including information for identifying the read request with data. 10 to send.
[0020]
Next, the operation of the data transfer system of this embodiment will be described in detail with reference to FIG.
[0021]
In the transmission side unit 10, when a request with data is read from the request transmission queue 9 to the transmission register 1 and output to the reception side unit 11, the data length of the request with data is calculated by the data length calculator 5 by the data length monitoring counter. Is added to 6 and stored, and also saved in the data length history buffer 8.
[0022]
The receiving unit 11 stores the request with data received from the transmitting unit 10 in the request reception queue 2. The request with data stored in the request reception queue 2 is then read out to the reception register 3. At this time, the request reception queue 2 has a capacity equivalent to the read data length, and therefore notifies the transmission side unit 10 of this. As a means, a reception completion notification is set in the reception completion notification register 7 and notified to the transmission side unit 10.
[0023]
When the transmission side unit 10 receives the reception completion notification set in the reception completion notification register 7, it searches the data length history buffer 8 and sets the data length of the request with data corresponding to the reception completion notification from the reception side unit 11. The history is acquired and subtracted from the data length monitoring counter 6 by the data length calculator 5. As a result, the data length added at the time of transmission is subtracted upon completion of reception, so the value of the data length monitoring counter 6 indicates the total data length currently stored in the request reception queue 2.
[0024]
That is, since the empty state of the request reception queue 2 of the receiving unit 11 can be determined from the value of the data length monitoring counter 6, the transmission control unit 4 determines the data length monitoring counter 6 from the maximum reception capacity of the request reception queue 2. The current available capacity of the request reception queue 2 can be determined by subtracting the value of. The transmission control unit 4 performs control so that the request with data is not read from the request transmission queue 9 when the free capacity is smaller than the maximum data length that can be taken by one request.
[0025]
When a request with data is read from the request reception queue 2 to the reception register 3 in the reception side unit 11 and a new reception completion notification is transmitted from the reception completion notification register 7, the value of the data length management counter 6 is subtracted. When the free capacity of the request reception queue 2 becomes equal to or greater than the maximum data length that can be taken by one request, the transmission control unit 4 resumes reading the request with data in the request transmission queue 9 that has been interrupted.
[0026]
By performing such control, the transmission control unit 4 can interrupt the reading of the request transmission queue 9 in a state where the request reception queue 2 of the reception-side unit 11 is empty, and the request reception queue 2 can be freed. Then, it is possible to control to resume the reading of the request with data in the interrupted request transmission queue 9. Therefore, as compared with the conventional data transfer system in which transmission control of requests with data is performed only by the number of requests with data, data transfer can be efficiently performed using the request reception queue 2 without waste.
[0027]
【The invention's effect】
As described above, according to the present invention, it is possible to accurately manage the availability of the reception queue of the receiving unit on the transmitting unit side that continuously transfers requests with data having different data lengths. An effect that data transfer can be efficiently performed using the reception queue without waste can be obtained.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a data transfer system according to an embodiment of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Transmission register 2 Request reception queue 3 Reception register 4 Transmission control part 5 Data length calculator 6 Data length monitoring counter 7 Reception completion notification register 8 Data length history buffer 9 Request transmission queue 10 Transmission unit 11 Reception unit

Claims (2)

データ付きリクエストを送信する側の論理ユニットである送信側ユニットと、前記データ付きリクエストを受信する側の論理ユニットである受信側ユニットとから構成されるデータ転送システムであって、
送信側ユニットから受信したデータ付きリクエストを格納するリクエスト受信キューと、前記リクエスト受信キューに格納されているデータ付きリクエストを読み出して処理を行う受信レジスタと、前記受信レジスタによりリクエスト受信キューに格納されているデータ付きリクエストが読み出されると、読み出されたそのデータ付きリクエストを特定できる情報を含めた受信完了通知を前記送信側ユニットに送信する受信完了通知レジスタと、から構成される受信側ユニットと、
前記受信側ユニットに送信するためのデータ付きリクエストが格納されていて、格納されているデータ付きリクエストを読み出して出力するリクエスト送信キューと、前記リクエスト送信キューから読み出されたデータ付きリクエストを受信側ユニットに出力する送信レジスタと、受信側ユニットの前記リクエスト受信キューに現在格納されているデータ量に対応する値を格納するためのカウンタであるデータ長監視カウンタと、前記送信レジスタから受信側ユニットへデータ付きリクエストが送信されると、受信側ユニットへ送信された該データ付きリクエストのデータ長分の値を前記データ長監視カウンタの値に加算するデータ長演算器と、前記受信側ユニットへ送信されたデータ付きリクエストのデータ長を各データ付きリクエスト毎に格納しておき、前記受信側ユニットからの受信完了通知を受信すると、該受信完了通知に含まれる情報により特定されるデータ付きリクエストに対応するデータ付きリクエストのデータ長を検索し、そのデータ長分の値を前記データ長監視カウンタから減算するように前記データ長演算器に指示するデータ長履歴バッファと、受信側ユニットの前記リクエスト受信キューの最大容量を予め記録していて、リクエスト受信キューの最大容量から前記データ長監視カウンタの値を減算することにより前記リクエスト受信キューの現在の空き容量を算出し、該空き容量が1つのデータ付きリクエストが取り得る最大データ長より小さい場合には前記リクエスト送信キューをデータ付きリクエストの読み出しが行われないように制御する送信制御部と、から構成される送信側ユニットと、
を有するデータ転送システム。
A data transfer system comprising a transmitting unit that is a logical unit that transmits a request with data, and a receiving unit that is a logical unit that receives the request with data,
A request reception queue that stores a request with data received from a transmission side unit, a reception register that reads and processes a request with data stored in the request reception queue, and is stored in the request reception queue by the reception register. A reception completion unit that includes a reception completion notification register that transmits to the transmission unit a reception completion notification including information that can identify the read request with data.
A request with data to be transmitted to the receiving unit is stored, a request transmission queue for reading out and outputting the stored request with data, and a request with data read from the request transmission queue as a receiving side A transmission register to be output to the unit, a data length monitoring counter which is a counter for storing a value corresponding to the amount of data currently stored in the request reception queue of the reception side unit, and from the transmission register to the reception side unit When a request with data is transmitted, a data length calculator that adds a value corresponding to the data length of the request with data transmitted to the receiving unit to the value of the data length monitoring counter, and the data request is transmitted to the receiving unit. The data length of the request with data When the reception completion notification is received from the receiving side unit, the data length of the request with data corresponding to the request with data specified by the information included in the reception completion notification is retrieved, and the data length The data length history buffer that instructs the data length calculator to subtract the value of the data length monitoring counter and the maximum capacity of the request reception queue of the receiving unit are recorded in advance, and the maximum of the request reception queue is recorded. The current free capacity of the request reception queue is calculated by subtracting the value of the data length monitoring counter from the capacity. If the free capacity is smaller than the maximum data length that can be taken by one request with data, the request transmission is performed. Transmission control unit that controls the queue so that requests with data are not read. A transmitting side unit composed of,
A data transfer system.
データ付きリクエストを送信する側の論理ユニットである送信側ユニットと、前記データ付きリクエストを受信する側の論理ユニットである受信側ユニットとから構成されるデータ転送システムにおいてデータ長の異なるデータ付きリクエストの転送を行うためのデータ転送方法であって、
前記受信側ユニットに送信するためのデータ付きリクエストが格納されていて、格納されているリクエスト送信キューからデータ付きリクエストを送信レジスタに読み出して受信側ユニットに送信する際に、受信側ユニットへ送信された該データ付きリクエストのデータ長分の値をデータ長監視カウンタの値に加算するともに、前記受信側ユニットへ送信されたデータ付きリクエストのデータ長をデータ長履歴バッファに各データ付きリクエスト毎に格納しておくステップと、
送信側ユニットから受信したデータ付きリクエストをリクエスト受信キューに格納し、前記リクエスト受信キューに格納されているデータ付きリクエストが受信レジスタに読み出されて処理されると、読み出されたそのデータ付きリクエストを特定できる情報を含めた受信完了通知を前記送信側ユニットに送信するステップと、
前記受信側ユニットからの受信完了通知を送信側ユニットの前記データ長履歴バッファが受信すると、該受信完了通知に含まれる情報により特定されるデータ付きリクエストに対応するデータ付きリクエストのデータ長を検索し、そのデータ長分の値を前記データ長監視カウンタから減算するように前記データ長演算器に指示するステップと、
受信側ユニットの前記リクエスト受信キューの最大容量を予め記録している送信制御部が、リクエスト受信キューの最大容量から前記データ長監視カウンタの値を減算することにより前記リクエスト受信キューの現在の空き容量を算出し、該空き容量が1つのデータ付きリクエストが取り得る最大データ長より小さい場合には前記リクエスト送信キューをデータ付きリクエストの読み出しが行われないように制御するステップと、を有するデータ転送方法。
Requests with data with different data lengths in a data transfer system comprising a sending unit that is a logical unit that sends a request with data and a receiving unit that is a logical unit that receives the request with data A data transfer method for performing transfer,
A request with data to be transmitted to the receiving unit is stored, and when a request with data is read from the stored request transmission queue to the transmission register and transmitted to the receiving unit, it is transmitted to the receiving unit. In addition to adding the value for the data length of the request with data to the value of the data length monitoring counter, the data length of the request with data transmitted to the receiving unit is stored in the data length history buffer for each request with data. Steps to keep
The request with data received from the sending unit is stored in the request reception queue, and when the request with data stored in the request reception queue is read and processed in the reception register, the request with data read is read. Transmitting a reception completion notification including information that can identify the information to the transmitting unit;
When the data length history buffer of the transmission side unit receives the reception completion notification from the reception side unit, the data length of the request with data corresponding to the request with data specified by the information included in the reception completion notification is searched. Instructing the data length calculator to subtract a value for the data length from the data length monitoring counter;
The transmission control unit that records in advance the maximum capacity of the request reception queue of the receiving unit subtracts the value of the data length monitoring counter from the maximum capacity of the request reception queue to thereby reduce the current free capacity of the request reception queue And when the free space is smaller than the maximum data length that can be taken by one request with data, the request transmission queue is controlled so as not to read out the request with data. .
JP2001127571A 2001-04-25 2001-04-25 Data transfer method and data transfer system Expired - Fee Related JP3626697B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001127571A JP3626697B2 (en) 2001-04-25 2001-04-25 Data transfer method and data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001127571A JP3626697B2 (en) 2001-04-25 2001-04-25 Data transfer method and data transfer system

Publications (2)

Publication Number Publication Date
JP2002324043A JP2002324043A (en) 2002-11-08
JP3626697B2 true JP3626697B2 (en) 2005-03-09

Family

ID=18976417

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001127571A Expired - Fee Related JP3626697B2 (en) 2001-04-25 2001-04-25 Data transfer method and data transfer system

Country Status (1)

Country Link
JP (1) JP3626697B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101227770B1 (en) 2006-10-24 2013-01-29 후지쯔 가부시끼가이샤 Data packet transmitting/receiving system, data packet transmitting/receiving method and computer readable storage medium storing data packet transmitting/receiving program

Also Published As

Publication number Publication date
JP2002324043A (en) 2002-11-08

Similar Documents

Publication Publication Date Title
JP2611746B2 (en) Input / output interface device and control method thereof
US7676610B2 (en) Device and method for optimization of target host device process handling according to the status and the priority of the target host device process
US9462077B2 (en) System, method, and circuit for servicing a client data service request
CN100433735C (en) Communication system
CN113157625A (en) Data transmission method and device, terminal equipment and computer readable storage medium
US20080056160A1 (en) Information processing system, information processing apparatus, information processing method and program
JP3626697B2 (en) Data transfer method and data transfer system
JPH0670076A (en) Store and forward exchange system for facsimile
JPS58105344A (en) Buffer memory controlling system
CN115981893A (en) Message queue task processing method and device, server and storage medium
JPH09191321A (en) Adaptive credit control type transfer method
JPH1049344A (en) Buffer busy control system
WO2013065151A1 (en) Computer system, data transmission method, and data transmission program
JPH04245355A (en) File transfer system
KR100955423B1 (en) Method, apparatus, server and vehicle system for managing buffer
JPH02253457A (en) Host computer
JP2723245B2 (en) Facsimile storage and switching equipment
CN117331689A (en) Data processing method, network card and computing device
JP2022180096A (en) Network monitoring device, network monitoring system, network monitoring method, and program
JPH0218656A (en) Priority control system
JP2581558B2 (en) Distributed processing system
CN117891779A (en) Access method and device of network file system, storage medium and electronic equipment
JPH07319789A (en) Communication controller
KR100312533B1 (en) Apparatus and method for processing a message in a printer disk spool
JPH04178705A (en) Diagnostic device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041111

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041117

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041203

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071210

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081210

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091210

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091210

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101210

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101210

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111210

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111210

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121210

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees