JP2006287293A - Method of bringing efficiency to data transfer, and system employing the method - Google Patents
Method of bringing efficiency to data transfer, and system employing the method Download PDFInfo
- Publication number
- JP2006287293A JP2006287293A JP2005100583A JP2005100583A JP2006287293A JP 2006287293 A JP2006287293 A JP 2006287293A JP 2005100583 A JP2005100583 A JP 2005100583A JP 2005100583 A JP2005100583 A JP 2005100583A JP 2006287293 A JP2006287293 A JP 2006287293A
- Authority
- JP
- Japan
- Prior art keywords
- data
- transfer
- control unit
- buffer memory
- data transfer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、複数のバッファメモリを用いてデータ転送する際の転送効率化を図る方式に関するものである。 The present invention relates to a method for improving transfer efficiency when transferring data using a plurality of buffer memories.
従来のデータ転送効率化方式には、例えば、特開平04−280542号公報(特許文献1)または特開平11−088464号公報(特許文献2)で開示されたものがある。 Examples of conventional data transfer efficiency improving systems include those disclosed in Japanese Patent Laid-Open No. 04-280542 (Patent Document 1) or Japanese Patent Laid-Open No. 11-088464 (Patent Document 2).
特許文献1を、例えば、図7を参照して説明する。
送信側装置110は、データ転送効率化のため、転送制御部113により、複数バッファメモリに記憶され予め設定された最大フレーム数のデータを纏め連続して受信側装置130へ送出する。しかし、受信側装置130の通信処理性能が低い場合、またはバッファメモリに余裕がなくなっている場合などでは、送信側装置110の転送制御部113が転送したデータフレームに対して再送要求を受ける。転送制御部113は、この再送要求の発生頻度を監視し、再送要求が一定頻度以上発生した際には、送出する最大フレーム数を低減する。このように、送信側装置110は、再送要求の発生頻度に基づいて、一括送出する最大フレーム数を変更することにより、再送要求の発生を低減させる最大フレーム数の最適化を図っている。
In order to improve data transfer efficiency, the transmission-
ここで、図7に図8のシーケンスチャートを併せ参照して正常動作の際の手順について説明する。 Here, the procedure in the normal operation will be described with reference to FIG. 7 and the sequence chart of FIG.
送信側装置110のデータ処理部111は、バッファメモリ112にデータを記憶し、予め設定された最大フレーム数のデータに達した際に、転送制御部113にそのデータの転送を指示(手順S101)する。転送制御部113は、転送先受信側装置130の受信制御部131に所定量データを転送(手順S102)する。
The
受信側装置130では、受信制御部131がそのデータを受付け(手順S103)し、バッファメモリ132に記憶させる。データ処理部133は、受付けデータを処理して処理済のデータをバッファメモリ132から消去し、空き(手順S104)にしてこれを受信制御部131に通知する。受信制御部131は、転送データの正常処理終了を所定の応答信号により送信元の転送制御部113へ送出(手順S105)する。
In the reception side device 130, the reception control unit 131 accepts the data (step S103) and stores it in the
送信側装置110では転送制御部113が応答信号を受付け(手順S106)してデータ処理部111に送る。従って、データ処理部111がこれを受付け(手順S107)しバッファメモリ112のデータを消去して空き表示(手順S108)する。この結果、バッファメモリ112に空きを生じるので、データ処理部111は、次の所定量データをバッファメモリ112に記憶(手順S109)し、転送制御部113にそのデータの転送を指示(手順S201)する。この手順S201は上記手順S101に戻ることであり、以下の手順を繰り返すこととなる。
In the
このような構成では、送信側装置110が連続してデータ転送する場合、上記手順S102のデータ転送から手順S107の受信側応答受付けまでを含む間にはバッファメモリ112が塞がれており、次のデータ転送ができない。更に、この間には、ネットワーク120での輻輳による遅れも含まれるので、後に続くデータ転送の遅れは避けられない。また、送信側装置110が例えば同一受信側装置130に連続してデータ転送する場合、同一受信側装置130のデータ処理部133における上記手順S104から次の手順S204までの時間的な空白も避けられない。
In such a configuration, when the
更に、この特許文献1では、受信側で上記手順S103における転送データ受付けの際に、バッファメモリ132の空き容量の不足などから転送データを受付けすることができず、かつ、受信側との性能差も避けられないので、再送要求する機会も多い。このような最大フレーム数最適化の過程で、再送要求の発生、または条件緩和された際の最大フレーム数拡大処理などから、データ転送の更なる遅れは避けられない。
Furthermore, in this
また、特許文献2では、一つのトラック分データを複数のパケットデータに分割して複数のバッファメモリに記憶した際、送信側装置110では、転送制御部113が、送信用バッファに空きがあれば応答を待たずに順次転送データを格納して送出する。転送制御部113は、送出データに対する正常受信応答を受けた際に、該当データをクリアし、異常受信応答の場合には、一つのトラック分全てのデータではなく、その異常受信したパケットのデータから以降のデータを再送する。従って受信側装置130では、この送信側の処理に対応して、異常受信のデータ以降に受けたデータのみを破棄して、異常であったデータを再度受信する。このように、一括送信のトラックデータであっても、異常検出以前に正常に受けたパケットデータの再送を不要にしてデータ転送の効率化を図っている。
Further, in
しかしながら、この特許文献2のようなデータ転送処理でも、特許文献1と同様に、正常なデータ転送で、送信側から連続してデータ転送する場合には、先の転送データの全てが受信側に正常に転送終了しない限り次のデータ転送の指示が開始できないので、データ転送の遅れは避けられない。
However, even in the data transfer process as in
上述した従来のデータ転送効率化方式では、データ転送効率化のために、複数のバッファメモリに記憶されたフレームまたはパケットのうちの複数を纏め連続的に転送して、送信側が受信側から受ける異常に基づく再送要求に対応したデータ転送効率化システムが説明されている。しかしながら、送信側では、ネットワーク上での再送要求による遅延は勿論、正常転送における輻輳などの遅延、または送信側と受信側との性能差に基づく遅延、受信側装置でのデータ処理の遅れなど、受信側からの応答遅れによる遅延を避けることができない。 In the conventional data transfer efficiency improvement method described above, in order to improve the data transfer efficiency, an abnormality that the transmission side receives from the reception side by continuously transferring a plurality of frames or packets stored in a plurality of buffer memories. A data transfer efficiency improvement system corresponding to a retransmission request based on the above is described. However, on the transmission side, the delay due to the retransmission request on the network, as well as the delay due to congestion in normal transfer, the delay based on the performance difference between the transmission side and the reception side, the data processing delay at the reception side device, etc. Delay due to response delay from the receiving side cannot be avoided.
解決しようとする課題は、送信側装置が受信側装置に対するデータ転送に際して、従来発生していた遅延原因を排除した効率的なデータ転送を可能にすることである。 The problem to be solved is to enable efficient data transfer that eliminates the cause of delay that has conventionally occurred when the transmitting device transfers data to the receiving device.
本発明は、送信側装置が受信側装置に対してデータ転送する際の受信側装置からの応答遅れを回避することを目的として、送信側は、複数のバッファメモリを備え、当該バッファメモリから受信側へデータ転送した際には直ちに擬似応答を生成して次のデータ転送手順に進むことを主要な特徴とする。その、次のデータ転送手順は、前記バッファメモリの残りに更に空きがある場合に次の転送用データをその空き領域に記憶して受信側へ転送する手順である。 The present invention aims at avoiding a response delay from the receiving side device when the transmitting side device transfers data to the receiving side device, and the transmitting side includes a plurality of buffer memories and receives data from the buffer memory. The main feature is that when the data is transferred to the side, a pseudo response is immediately generated to proceed to the next data transfer procedure. The next data transfer procedure is a procedure for storing the next transfer data in the empty area and transferring it to the receiving side when there is more free space in the buffer memory.
このような構成のため、送信側は、受信側からの応答を待つことなく、次のデータ転送を、バッファメモリが満杯になるまで継続することができる。この間、正規の転送終了の応答があれば、その分のバッファメモリを空きにして使用可能にできる。 With such a configuration, the transmission side can continue the next data transfer until the buffer memory is full without waiting for a response from the reception side. During this time, if there is a normal transfer end response, the corresponding buffer memory can be made empty and usable.
従って、送信側では、上記擬似応答がデータ転送した前記バッファメモリに対して記録される。そして、受信側から正規の終了応答を受けた際にはその擬似応答と共に対象のバッファメモリに記憶されたデータを消去してそのバッファメモリを空きとすることができる。 Therefore, on the transmission side, the pseudo response is recorded in the buffer memory to which data has been transferred. When a normal end response is received from the receiving side, the data stored in the target buffer memory together with the pseudo response can be erased to make the buffer memory empty.
更に、受信側で複数のバッファメモリを備え、送信側からデータ転送のための状況問合せを受けた際に、前記バッファメモリのうちの空き状況を回答し、送信側はその空き状況に基づいてデータ転送することが、空き容量の不足による再送を防止することができるので好ましい。 Furthermore, when the receiving side has a plurality of buffer memories and receives a status inquiry for data transfer from the transmitting side, it answers the availability status in the buffer memory, and the transmitting side returns data based on the availability status. Transfer is preferable because retransmission due to lack of free space can be prevented.
更に、送信側では、受信側への状況問合せを定期的など所定時期に行い、この時期までに、発生する転送指令を転送指令群として一括して転送処理することもできる。 Furthermore, on the transmission side, status inquiries to the reception side can be made periodically at a predetermined time, and the transfer commands generated can be transferred collectively as a transfer command group by this time.
また、送信側装置は、転送用データを記憶する複数のバッファメモリと、前記バッファメモリに空きがある場合に転送用データの記憶させると共にその転送を指令する送信側制御部と、その転送指令を受けて前記バッファメモリからデータを転送すると共に、その転送の際には直ちに擬似応答を生成してその擬似応答を前記送信側制御部に通知する転送制御部とを備え、前記送信側制御部は、その擬似応答を受けた際に前記バッファメモリに空きがある場合、次のデータ転送を指令して転送用データをその空きバッファメモリに記憶することを特徴とする。 Further, the transmission side device stores a plurality of buffer memories for storing transfer data, a transmission side control unit for storing the transfer data when the buffer memory is empty, and instructing the transfer, and the transfer command. Receiving and transferring data from the buffer memory, and at the time of the transfer, a transfer control unit that immediately generates a pseudo response and notifies the transmission side control unit of the pseudo response, and the transmission side control unit includes: If the buffer memory is empty when the pseudo response is received, the next data transfer is instructed and the transfer data is stored in the empty buffer memory.
更に、前記転送制御部が生成した擬似応答を受付け、対象のバッファメモリに対応付けて記憶し、前記転送制御部からその擬似応答に対応する正規応答を受けた際には前記対象のバッファメモリに記憶されたデータを消去して空きとする先取り情報管理部を更に備えることが、送信側制御部の構成を従来のままとし、転送制御部の制御を簡潔化するために好ましい。 Further, the pseudo-response generated by the transfer control unit is received and stored in association with the target buffer memory. When a normal response corresponding to the pseudo-response is received from the transfer control unit, the pseudo-response is stored in the target buffer memory. It is preferable to further include a prefetch information management unit that erases stored data to make it empty, in order to keep the configuration of the transmission side control unit as in the past and simplify the control of the transfer control unit.
本発明のデータ転送効率化方式は、送信側で、複数のバッファメモリを備え、当該バッファメモリからデータ転送した際に、直ちに擬似応答を生成し、前記バッファメモリに空きがある場合に次の転送用データを記憶可能にしているため、データの転送と処理との間であっても、次のデータ転送指令が空きバッファメモリを使用して可能となるので、受信側への転送指令をより多く可能とし、ネットワーク上の負荷軽減も可能となる。 The data transfer efficiency improvement method of the present invention comprises a plurality of buffer memories on the transmission side, and immediately generates a pseudo-response when data is transferred from the buffer memory, and the next transfer is performed when the buffer memory is free. Since data can be stored, the next data transfer command can be performed using an empty buffer memory even between data transfer and processing, so there are more transfer commands to the receiving side. It is possible to reduce the load on the network.
更に、送受信装置間の空きメモリ状況通知を可能とすることにより、より効率的なデータ転送が可能になる。 Furthermore, it is possible to perform more efficient data transfer by enabling free memory status notification between the transmitting and receiving apparatuses.
送信側装置が受信側装置に対してデータ転送する際の受信側装置からの応答遅れを回避するという目的を、送信側で、複数のバッファメモリを備え、当該バッファメモリからデータ転送した際に、直ちに擬似応答を生成し、前記バッファメモリに空きがある場合に次の転送用データを記憶可能にすることにより、受信側を変更することなしに達成した。 For the purpose of avoiding a response delay from the reception side device when the transmission side device transfers data to the reception side device, the transmission side has a plurality of buffer memories, and when data is transferred from the buffer memory, This is achieved without changing the receiving side by immediately generating a pseudo-response and making it possible to store the next transfer data when the buffer memory is free.
更に、送信側装置では、転送制御部及びバッファメモリを含む受信側とのインタフェース部分の周辺制御部に上記擬似応答を処理する情報管理部を備えることにより、転送制御部の小変更のみで目的を達成することができた。更に、受信側にも複数の受信側バッファメモリを備え、受信側の空きバッファ状況を送信側に通知する機能を追加することにより、一層のデータ転送効率化を図ることができる。 Further, in the transmission side device, the peripheral control unit of the interface part with the reception side including the transfer control unit and the buffer memory is provided with an information management unit that processes the pseudo response, so that the purpose can be achieved only with a small change of the transfer control unit. Could be achieved. Further, the receiving side is provided with a plurality of receiving side buffer memories, and by adding a function of notifying the transmitting side of the empty buffer status on the receiving side, it is possible to further improve the data transfer efficiency.
本発明の実施例1について本発明に係る正常動作部分について、図1を参照して説明する。異常動作については、異常の検出で状態を停止保持させることにより、障害のトレースを可能とするなど、従来の技術を用いるものとし、ここでの説明は省略する。また、正常動作の部分についても、本発明に係る以外の部分については図示及び説明が省略される。また、図面では紙面の都合上、バッファメモリをバッファと略称している箇所もある。 A normal operation part according to the first embodiment of the present invention will be described with reference to FIG. For abnormal operations, conventional techniques are used, such as enabling fault tracing by stopping and holding the state upon detection of an abnormality, and description thereof is omitted here. Also, with respect to the part of normal operation, illustration and description of parts other than those according to the present invention are omitted. In the drawings, the buffer memory is also abbreviated as a buffer for the sake of space.
図1は、本発明のデータ転送効率化システムにおける機能ブロックの実施の一形態を示す説明図である。図1には、送信側装置としてホストコンピュータ(以後、ホストと略称する)10が、かつ、受信側装置として端末装置30がネットワーク20に接続している。
FIG. 1 is an explanatory diagram showing an embodiment of functional blocks in the data transfer efficiency improvement system of the present invention. In FIG. 1, a host computer (hereinafter abbreviated as “host”) 10 is connected to a
ホスト10には、送信側制御部11と周辺制御部12とが示されている。周辺制御部12には、二群のバッファメモリ13−1,13−2、転送制御部14、及び先取り情報管理部15が含まれ、先取り情報管理部15は先取り情報メモリ16を有する。
The
端末装置30には、受信制御部31、先取り情報管理部32、二群のバッファメモリ33−1,33−2、及び端末制御部34が含まれ、先取り情報管理部32は先取り情報メモリ35を有する。
The terminal device 30 includes a reception control unit 31, a prefetch
上述した従来のシステムとの相違は、送信側と受信側とのそれぞれで二群のバッファメモリを有していることである。実際には、複数バッファメモリのうち、第1の指示で使用された分の次のポインタを第2の指示とし、第1の指示分のバッファメモリが空きになった際に上記第2の指示で使用された分の次のポインタを第1の指示とするように交互に利用できる群分割としている。しかし、説明を単純にするため単に二つの固定されたバッファメモリとして説明する。
The difference from the conventional system described above is that two groups of buffer memories are provided on each of the transmission side and the reception side. Actually, of the plurality of buffer memories, the next pointer used in the first instruction is used as the second instruction, and the second instruction is used when the buffer memory for the first instruction becomes empty. In the group division, the next pointers used in
周辺制御部12の転送制御部14及び先取り情報管理部15と端末装置30の受信制御部31及び先取り情報管理部32とは、指示先取りに関する情報の授受を例えば起動時および定期的に実施し、それぞれの先取り情報メモリ16と先取り情報メモリ35とにおいて記憶保持及び更新するものとする。この指示先取り情報には例えば各送受信バッファの大きさ、既処理/未処理データの大きさ、処理時間、再送情報などが含まれる。この指示先取り情報を元に、周辺制御部12と端末装置30との間の負荷状態による処理性能の変化がバッファリングサイズ等の管理に反映させられる。
The
送信側制御部11は、転送データを有する場合、周辺制御部12から受ける指令要求に従って保持する転送データを送信先等の指令と共に指定されたバッファメモリ13−xに送り、この転送データに係る応答を受けて、次のデータ転送を可能とする。すなわち、送信側制御部11は、従来に対してわずかな機能追加のみにより運用することができる。転送データとその転送指令とは、指令要求を受けた際に発生している複数の指令群を、バッファメモリの空き容量に応じて一括して処理することができる。
When the transmission
周辺制御部12では、転送制御部14が、空きの例えばバッファメモリ13−1を指定し送信側制御部11へ要求して受けた指令と転送データとをそのバッファメモリ13−1に記憶し、直ちに擬似応答を送信側制御部11と先取り情報管理部15とへ送る。転送制御部14は転送指令要求を、例えば指示先取り情報として受信側から取得する際に送信側制御部11へ送付するものとする。
In the peripheral control unit 12, the
転送制御部14は、上述したように、端末装置30との間で指示先取り情報を例えば定期的に、授受して先取り情報メモリ16に保持しているので、受信装置側バッファメモリの空き状態を把握している。また、転送制御部14は、正常なデータ転送終了により端末装置30から正常終了応答を受けた際には、それを先取り情報管理部15へ送ると共に対応する記憶データを消去して空き状態とする。
As described above, the
転送制御部14は、転送データをバッファメモリ13−1に記憶し擬似応答を送信側制御部11に送ったのちにバッファメモリ13−2が空きの場合には、続けてこのバッファメモリ13−2を指定して送信側制御部11へ次の転送データへの指令要求を送ることができる。
The
先取り情報管理部15は、転送制御部14から擬似応答を受けた際には、対応するバッファメモリ情報を先取り情報メモリ16に記憶し、転送制御部14から正常応答を受けるまで保持する。先取り情報管理部15が、バッファメモリ13−xと転送制御部14との間に介在して、転送制御部14をほぼ従来機能により運用可能とすることができる。
When receiving a pseudo response from the
端末装置30では、受信制御部31がネットワーク20を介してホスト10と接続している。受信制御部31は、先取り情報管理部32及びバッファメモリ33−xから情報を得て、ホスト10と先取りに関する情報の授受を例えば起動時および定期的に実施して、ホスト10のバッファの利用状況を把握している。
In the terminal device 30, the reception control unit 31 is connected to the
受信制御部31は、ホスト10から受け取った指令とデータとを、指示された例えばバッファメモリ33−1に記憶し、端末制御部34にそれを通知する。受信制御部31は、端末制御部34からデータの処理終了通知を受けた際に該当するバッファメモリ33−xのデータを消去し、ホスト10に正常終了での応答を送出する。
The reception control unit 31 stores the command and data received from the
端末制御部34は、受信制御部31からバッファメモリ33−xへデータの記憶通知を受けた際には、これを取り出して処理し、その終了を通知する。端末制御部34は、一つの処理が終了したのち、次の処理を実行する。 When the terminal control unit 34 receives a data storage notification from the reception control unit 31 to the buffer memory 33-x, the terminal control unit 34 extracts and processes the data, and notifies the end thereof. The terminal control unit 34 executes the next process after one process is completed.
次に、本発明による特徴を示す図2A及び図2Bを参照して、図1における順調状態での動作シーケンスを説明する。 Next, an operation sequence in the smooth state in FIG. 1 will be described with reference to FIGS. 2A and 2B showing features according to the present invention.
先ず、ホスト10では、送信側制御部11が発生した転送データを保持し転送待機状態であるとする。
First, it is assumed that the
周辺制御部12で、転送制御部14は、本実施例1では定期的に端末装置30の受信状況を問い合わせて獲得する。この際、転送制御部14は、バッファメモリ13−1の空きにより、送信側制御部11へ、転送指令を要求(手順S1)する。送信側制御部11は、周辺制御部12から受けるデータ転送の指令要求に従って、第1の転送データをその指令と共に周辺制御部12へ送出(手順S2)する。
In the peripheral control unit 12, the
周辺制御部12では、送信側制御部11が、受けたデータをその指令に基づいてバッファメモリ13−1に記憶(手順S3)する一方、そのデータを端末装置30へネットワーク20を介して転送(手順S4)する。送信側制御部11は、データ転送に対してその従来手順における処理終了応答を待たず、送信側制御部11に擬似応答を送出(手順S5)する。この関連情報は先取り情報管理部15に送られ先取り情報メモリ16に記憶される。
In the peripheral control unit 12, the transmission-
ホスト10から転送データを受けた端末装置30では、受信制御部31が受付けしたデータをバッファメモリ33-1に記憶(手順S6)してこれを端末制御部34に通知する。端末制御部34は、バッファメモリ33-1に記憶されたデータを受付けして処理(手順S7)する。
In the terminal device 30 that has received the transfer data from the
制御部31は、端末制御部34から第1データの処理終了(手順S7F)の通知を受けた際、第1のバッファメモリ33-1の記憶データを消去して処理終了の応答をホスト10に送出(手順S8)する。ホスト10では、周辺制御部12が終了応答を受けて第1のバッファメモリ13-1の記憶データと先取り情報メモリ16の指令を含む該当情報との記録を消去(手順S9)して第1のバッファメモリ13-1の空きを表示(手順S9F)する。
When the control unit 31 receives a notification of the end of the processing of the first data (procedure S7F) from the terminal control unit 34, the control unit 31 erases the stored data in the first buffer memory 33-1 and sends a processing end response to the
上述した手順S5で送出された擬似応答は、送信側制御部11で従来の正規応答として処理される。すなわち、送信側制御部11は、上記手順S2で転送指令ののちに第2の転送データが発生(手順S10)した際に、周辺制御部12から第2のバッファメモリ13−2の空き表示に基づいて定時の転送指令要求(手順S11)を受けて、第2のデータ転送指令を送出(手順S12)することができる。以降の手順S16までは上記第1の転送データに対する手順S6までの手順と同様であり、その説明は省略する。
The pseudo response sent in step S5 described above is processed as a conventional regular response by the transmission
このように、従来では、第2のバッファメモリ13−2が空きであっても手順S9Fまで終わらなければ、次の転送データの処理が始められなかったが、本発明によれば上記手順S5で擬似応答の発生時点で、データの転送指令を送出処理できる。 As described above, conventionally, even if the second buffer memory 13-2 is empty, the process of the next transfer data cannot be started unless the process up to step S9F is completed. When the pseudo response occurs, a data transfer command can be sent out.
上記手順S16で端末装置30が第1のデータ転送先と同一の場合、第2のバッファメモリ33−2に記憶されたデータは、上記手順S7Fの第1のデータ処理終了後に処理される。しかし、第1及び第2それぞれのデータ転送先が異なる場合にはそのデータ処理の終了は早い。 If the terminal device 30 is the same as the first data transfer destination in step S16, the data stored in the second buffer memory 33-2 is processed after the end of the first data processing in step S7F. However, when the first and second data transfer destinations are different, the data processing is completed quickly.
また、第2の転送データに対しても、送信側制御部11は擬似応答を受けるが、周辺制御部12ではバッファメモリ13-1,13-2が使用中であり、空きがないので、空きが生じるまで転送制御部14は第3の転送データに対する転送指令要求を送出することができない。
In addition, although the transmission
本実施例では、転送制御部14が、上記手順S9Fによる第1のバッファメモリ13−1の空き表示に従って第3の転送データに対して定時の転送指令要求(手順S21)をすることができる。以降の手順は上述したと同一である。
In the present embodiment, the
このような構成を採用したので、ある転送データが、ネットワーク上の輻輳、転送データの再送、端末装置での処理の衝突などによりデータ処理終了の遅れを生じ他としても、次の転送データに対する送信側装置内でのメモリ処理を含む転送準備を進めることができる。すなわち、データ転送の効率化が実現できる。 Since such a configuration is adopted, even if some transfer data causes a delay in the end of data processing due to congestion on the network, retransmission of transfer data, collision of processing at the terminal device, etc., transmission to the next transfer data Transfer preparation including memory processing in the side apparatus can be advanced. That is, the efficiency of data transfer can be realized.
上記説明では、一つの転送指令要求で、第1、第2などの各一つのデータ転送指令を処理するとされているが、送信側及び受信側それぞれでバッファメモリに余裕があれば、複数の転送指令による指令群が処理されてもよい。 In the above description, it is assumed that one data transfer command such as first and second is processed by one transfer command request. However, if there is room in the buffer memory on each of the transmission side and the reception side, a plurality of transfers are performed. A command group based on commands may be processed.
従って、あるデータの転送開始から処理終了までの間に次のデータの処理を重複させて交互に実行できるので、特に、送信側制御部では、従来と比較して二倍のデータ転送の処理を可能とし、その効率化が容易になる。 Therefore, since the next data process can be performed alternately between the start of the transfer of certain data and the end of the process, in particular, the transmission side control unit performs twice the data transfer process as compared with the prior art. This makes it possible to improve efficiency.
本発明の実施例2について図3を参照して説明する。 A second embodiment of the present invention will be described with reference to FIG.
図3の実施例は、上記実施例1で二つのバッファメモリを交互に使用するのに対して、複数のバッファメモリを使用してデータ転送の更なる効率化を図るものである。 In the embodiment of FIG. 3, the two buffer memories are alternately used in the first embodiment, but a plurality of buffer memories are used to further improve the efficiency of data transfer.
図3の図1との相違は、ホスト10Aの周辺制御部12Aに設けられるN個のバッファメモリ13−1〜13−nと、端末装置30Aに設けられるM個のバッファメモリ13−1〜13−mとである。従って、転送制御部14A、先取り情報管理部15A、受信制御部31A、及び先取り情報管理部32Aもその制御情報が多少変更される。しかし、これらの動作機能は上記実施例の説明と全く同一である。
3 is different from FIG. 1 in that the N buffer memories 13-1 to 13-n provided in the
この主要シーケンスは上記図2A及び図2Bと同様であり、ホスト10Aのバッファメモリ13−1〜13−nの空きがある限り、送信側制御部11Aの転送指令が送出可能であり、転送先の端末装置30Aのバッファメモリ13−1〜13−mに空きがある限りその転送と処理との実行が容易である。
This main sequence is the same as that shown in FIGS. 2A and 2B. As long as the buffer memory 13-1 to 13-n of the
従って、ホスト側の処理速度と、転送先装置の処理速度との兼ね合いで、従来のN倍までの効率化が期待できる。 Therefore, the efficiency up to N times that of the prior art can be expected in consideration of the processing speed on the host side and the processing speed of the transfer destination device.
例えば、上記実施例と同等の構成とすれば、バッファメモリ13−1〜13−nそれぞれが、一つの転送指令に対応付けできる。しかし、本実施例ではそれぞれの転送指令が扱う転送データ量は異なるので、バッファメモリの空き領域の先頭ポインタ位置と残りのメモリ量とで次の順番のバッファメモリとしている。すなわち、見かけ上の空きのバッファメモリは一つである。 For example, if the configuration is the same as that of the above embodiment, each of the buffer memories 13-1 to 13-n can be associated with one transfer command. However, since the transfer data amount handled by each transfer command is different in this embodiment, the buffer memory in the next order is determined by the start pointer position of the empty area of the buffer memory and the remaining memory amount. That is, there is one apparent free buffer memory.
次に、図3に図4のフローチャートを併せ参照してホスト10Aにおける送信側制御部11の主要動作を説明する。
Next, the main operation of the transmission
送信側制御部11は、転送データ発生(手順S41がYES)で、周辺制御部12Aから転送指令受付け(手順S42がYES)の場合、転送先、データ量、指令要求に含まれるバッファメモリ13の先頭ポインタなどの情報を転送指令に含め、転送データと共に周辺制御部12Aへ送出(手順S43)する。この送出に対して周辺制御部12Aは擬似応答を送出するが、送信側制御部11は、その擬似応答を正規応答の受付け(手順S44のYES)として所定処理(手順S45)を実行し、上記手順S41に手順を戻す。
When the transfer data is generated (procedure S41 is YES) and the transfer command is received from the
上記手順S42が「NO」で周辺制御部12Aからの転送指令要求を待合せする場合、送信側制御部11は、手順S41に戻り、次に発生の転送データを次の転送指令として保有する。従って、手順S42が「YES」の場合、手順S43では複数の「指令+データ」が指令群として送出される。
When the procedure S42 is “NO” and the transfer command request from the
次に、図3に図5のフローチャートを併せ参照してホスト10Aにおける周辺制御部12Aの主要動作を説明する。
Next, the main operation of the
周辺制御部12Aでは、転送制御部14Aは、所定時期に到達(手順S51のYES)の際に端末装置30へ受信状況を問合せし、その回答を先取り情報管理部15Aに送って先取り情報メモリ16に記憶格納(手順S52)する。この際、バッファメモリ13−xが空きあり状態(手順S53のYES)の場合、空きの先頭ポインタ、例えばバッファメモリ13−1を指定して送信側制御部11へデータ転送の指令要求(手順S54)を行う。
In the
この結果、転送制御部14Aは、送信側制御部11から「指令+データ」を受付けるので、メモリバッファ13−1に格納(手順S55)すると共に、転送先の端末装置30Aへの転送(手順S56)を図る。手順S56が「NO」で転送不可の場合には、転送制御部14Aは、転送待合せ(手順S57)として上記手順S56に戻り、「YES」の「転送可」となるのを待つ。
As a result, the transfer control unit 14A receives “command + data” from the transmission-
手順S56が「YES」で「転送可」の場合、転送制御部14Aは転送可となった対象の転送データをバッファメモリ13−1から取り出して端末装置30Aへの送出(手順S61)を行う。次いで、転送制御部14Aはこの転送データに対する擬似応答を正規応答として送信側制御部11へ送出(手順S62)する。
When step S56 is “YES” and “transfer is possible”, the transfer control unit 14A takes out the transfer data to be transferred from the buffer memory 13-1 and sends it to the
その後、転送制御部14Aは、正常終了の応答を転送先の端末装置30Aからの受付け(手順S63のYES)まで待って、その該当バッファメモリ(例えば)13−1の格納データを消去しその空き表示(手順S64)する。
Thereafter, the transfer control unit 14A waits for a response of normal termination until acceptance from the transfer
上記手順S63が「NO」で正常終了応答の受付けがあるまで、転送先への転送待ちデータあり(手順S65のYES)の場合、転送制御部14Aの手順は上記手順S56に戻る。 If there is data to be transferred to the transfer destination (YES in step S65) until the above step S63 is “NO” and a normal end response is received, the transfer control unit 14A returns to step S56.
上記手順S65が「NO」で転送待合せなしの場合、この一連の手順は終了する。 If step S65 is “NO” and there is no transfer waiting, this series of steps ends.
上記手順S51は、本実施例では定期的であり、上記手順S56以降の手順が進んでいる場合にも、次の手順が発生する。従って、手順S56以降の手順ではこの所定時期の手順以前で転送待ちのデータ処理手順についても含まれる。 The procedure S51 is periodic in the present embodiment, and the following procedure occurs even when the procedure after the procedure S56 is advanced. Therefore, the procedure after step S56 includes a data processing procedure waiting for transfer before the procedure at the predetermined time.
次に、図3に図6のフローチャートを併せ参照して端末装置30Aにおける主要動作を説明する。
Next, main operations in the
まず、ホスト10Aからネットワーク20を介して受信状況の問合せ(手順S71のYES)を受けた際、受信制御部31Aが、バッファメモリ33−xの空きなし(手順S72がNO)の場合、ホスト10Aへ「転送不可」を応答(手順S73)する。この手順S72が「YES」で「空きあり」の場合、受信制御部31Aはホスト10Aへ「転送可」を応答(手順S74)する。
First, when a reception status inquiry (YES in step S71) is received from the
次いで、受信制御部31Aは、転送データを指令と共に受付け(手順S75のYES)の場合、受付けした「指令+データ」を指令で指定されたバッファメモリ(例えば)33−1に格納(手順S76)する。データの格納により、端末制御部34は、その「指令+データ」をバッファメモリ33-1から取出しし、その処理を実行(手順S77)する。
Next, in the case of receiving transfer data together with a command (YES in step S75), the
端末制御部34による処理が実行終了(手順S78がYES)の場合、受信制御部31Aは、バッファメモリ33−1の該当するデータを消去(手順S79)し、データ対応の終了応答を転送元のホスト10Aへ送出(手順S80)する。
When the processing by the terminal control unit 34 is finished (step S78 is YES), the
ここで、未処理データがバッファメモリに残存(手順S81のYES)の場合、手順は上記手順S78に戻り、手順S81が「NO」で未処理データが皆無となるまで繰り返される。 If the unprocessed data remains in the buffer memory (YES in step S81), the procedure returns to step S78, and is repeated until step S81 is “NO” and there is no unprocessed data.
上記手順S71は、本実施例では定期的であり、上記手順S78以降の手順が進んでいる場合にも、次のデータ転送による手順が発生する。従って、手順S78以降の手順ではこの所定時期の手順以前での転送データに係る未処理または処理中の動作についても含まれる。 The procedure S71 is regular in this embodiment, and the procedure by the next data transfer occurs even when the procedure after the procedure S78 is advanced. Accordingly, the procedure after step S78 includes an unprocessed or in-process operation related to the transfer data before the procedure at the predetermined time.
このような構成を採用したので、バッファメモリを小容量に分割する場合、よりきめ細かなデータ格納が可能なので、メモリを有効に使用できると共に、転送の効率化により効果がある。 Since such a configuration is adopted, when the buffer memory is divided into small capacities, it is possible to store data more finely, so that the memory can be used effectively and the transfer efficiency can be improved.
送信側で、複数のバッファメモリを用いて複数の転送データを格納し、転送した際に、その転送データを擬似応答状態として次の転送処理を開始し、先のデータ転送の処理終了前に次の転送処理が開始できるので、送信側で転送データのバッファメモリへの順次の格納が容易にできる。 On the transmission side, when a plurality of transfer data is stored and transferred using a plurality of buffer memories, the next transfer process is started with the transfer data as a pseudo-response state, and the next transfer process is completed before the end of the previous data transfer process. Since the transfer process can be started, it is easy to sequentially store the transfer data in the buffer memory on the transmission side.
従って、本発明は送信側制御部の効率的なデータ転送処理が必要かつ不可欠な用途に適用できる。すなわち、ネットワークを介して通信を実現しているシステムであり、非同期的な通信を行っている装置に有効である。例えば、端末からの応答内容によって処理内容を変更するような同期的通信を行っていない表示機能などに対して効果的である。 Therefore, the present invention can be applied to applications where efficient data transfer processing of the transmission side control unit is necessary and indispensable. That is, it is a system that realizes communication via a network, and is effective for an apparatus that performs asynchronous communication. For example, this is effective for a display function that does not perform synchronous communication in which processing content is changed depending on response content from the terminal.
10、10A ホストコンピュータ(ホスト)
11 送信側制御部
12、12A 周辺制御部
13、33 バッファメモリ
14、14A 転送制御部
15、15A 先取り情報管理部
16、35 先取り情報メモリ
20 ネットワーク
30、30A 端末装置
31、31A 受信制御部
32、32A 先取り情報管理部
34 端末制御部
10, 10A Host computer (host)
11 Transmission
Claims (11)
A plurality of buffer memories for storing transfer data in a transmission side device for transferring data to the reception side, a transmission side control unit for storing the transfer data when there is a space in the buffer memory and instructing the transfer; A transfer control unit that receives the transfer instruction and transfers data from the buffer memory, and immediately generates a pseudo-response at the time of the transfer and notifies the transmission-side control unit of the pseudo-response. The side controller stores the next transfer data in the empty buffer memory and instructs the data transfer when the buffer memory is empty when receiving the pseudo response. apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005100583A JP5046493B2 (en) | 2005-03-31 | 2005-03-31 | Data transfer efficiency improving method and system using the method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005100583A JP5046493B2 (en) | 2005-03-31 | 2005-03-31 | Data transfer efficiency improving method and system using the method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006287293A true JP2006287293A (en) | 2006-10-19 |
JP5046493B2 JP5046493B2 (en) | 2012-10-10 |
Family
ID=37408771
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005100583A Expired - Fee Related JP5046493B2 (en) | 2005-03-31 | 2005-03-31 | Data transfer efficiency improving method and system using the method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5046493B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010538508A (en) * | 2007-09-03 | 2010-12-09 | エアバス・オペレーションズ | ACARS message transmission method via IP network |
US8327041B2 (en) | 2009-01-22 | 2012-12-04 | Fujitsu Limited | Storage device and data transfer method for the same |
JP2022185437A (en) * | 2021-06-02 | 2022-12-14 | 朋樹 瀧本 | Vdes message transmission method through ip network |
WO2023058232A1 (en) * | 2021-10-08 | 2023-04-13 | 日本電信電話株式会社 | Communication system, intermediate device, communication method, and program |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62299145A (en) * | 1986-06-19 | 1987-12-26 | Fujitsu Ltd | Remote station adaptor control system |
JPH0556083A (en) * | 1991-06-21 | 1993-03-05 | Casio Comput Co Ltd | Data processing system |
JPH0916506A (en) * | 1995-06-29 | 1997-01-17 | Fujitsu Ltd | Input/output interface extension control method and channel side extension device and input/output side extension device therefor |
JPH1188464A (en) * | 1997-09-04 | 1999-03-30 | Fujitsu Ltd | Data transfer device and data transfer method |
JPH11112524A (en) * | 1997-08-07 | 1999-04-23 | Internatl Business Mach Corp <Ibm> | Connection establishing method, communication method, state change transmitting method, state change executing method, radio equipment, radio device and computer |
JP2000078200A (en) * | 1998-05-08 | 2000-03-14 | Fujitsu Ltd | System and method for positive response of message reception on communication network of packet base |
JP2000299703A (en) * | 1999-04-13 | 2000-10-24 | Fujitsu Ltd | Packet communication system |
JP2003234796A (en) * | 2002-02-12 | 2003-08-22 | Seiko Epson Corp | System and method for controlling data flow |
-
2005
- 2005-03-31 JP JP2005100583A patent/JP5046493B2/en not_active Expired - Fee Related
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62299145A (en) * | 1986-06-19 | 1987-12-26 | Fujitsu Ltd | Remote station adaptor control system |
JPH0556083A (en) * | 1991-06-21 | 1993-03-05 | Casio Comput Co Ltd | Data processing system |
JPH0916506A (en) * | 1995-06-29 | 1997-01-17 | Fujitsu Ltd | Input/output interface extension control method and channel side extension device and input/output side extension device therefor |
JPH11112524A (en) * | 1997-08-07 | 1999-04-23 | Internatl Business Mach Corp <Ibm> | Connection establishing method, communication method, state change transmitting method, state change executing method, radio equipment, radio device and computer |
JPH1188464A (en) * | 1997-09-04 | 1999-03-30 | Fujitsu Ltd | Data transfer device and data transfer method |
JP2000078200A (en) * | 1998-05-08 | 2000-03-14 | Fujitsu Ltd | System and method for positive response of message reception on communication network of packet base |
JP2000299703A (en) * | 1999-04-13 | 2000-10-24 | Fujitsu Ltd | Packet communication system |
JP2003234796A (en) * | 2002-02-12 | 2003-08-22 | Seiko Epson Corp | System and method for controlling data flow |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010538508A (en) * | 2007-09-03 | 2010-12-09 | エアバス・オペレーションズ | ACARS message transmission method via IP network |
US8327041B2 (en) | 2009-01-22 | 2012-12-04 | Fujitsu Limited | Storage device and data transfer method for the same |
JP2022185437A (en) * | 2021-06-02 | 2022-12-14 | 朋樹 瀧本 | Vdes message transmission method through ip network |
WO2023058232A1 (en) * | 2021-10-08 | 2023-04-13 | 日本電信電話株式会社 | Communication system, intermediate device, communication method, and program |
Also Published As
Publication number | Publication date |
---|---|
JP5046493B2 (en) | 2012-10-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5046493B2 (en) | Data transfer efficiency improving method and system using the method | |
US20100291913A1 (en) | Remote control method between mobile phones | |
WO2012024864A1 (en) | System performance monitoring and alarm method and system thereof | |
US20090157896A1 (en) | Tcp offload engine apparatus and method for system call processing for static file transmission | |
JP2006121624A (en) | Short-range radio communication terminal and method of controlling the same | |
JP3906819B2 (en) | Packet switch, paging response wait method and program | |
JP3313655B2 (en) | Data transmission / reception method, data transmission / reception method, and recording medium | |
JP3124586B2 (en) | Facsimile storage and switching device and facsimile storage and switching method | |
JP3327775B2 (en) | Communication terminal for data relay | |
JP3462061B2 (en) | Communication device | |
JP4411138B2 (en) | Data flow control system, circuit thereof, and method thereof | |
JP2010146235A (en) | System switching method in duplex system and duplex system | |
US7113490B2 (en) | Communication sequence, data circuit-terminating equipment, data terminal equipment, and storage medium storing communication control program | |
JPH05103130A (en) | Facsimile store and forward exchanger | |
JP2846234B2 (en) | Broadcast transmission method | |
KR100324427B1 (en) | Method for transmission lost charging data in mobile switching center | |
JP5427853B2 (en) | Data synchronization method | |
JPH0243654A (en) | Data quantity controller | |
JP2795863B2 (en) | Data terminal equipment | |
JP2834006B2 (en) | Failure recovery processing method and method | |
JPH11345149A (en) | Remote maintenance system | |
JP2002215567A (en) | Usb controller | |
JPH04192863A (en) | Facsimile store and forward exchange system | |
JP2004228953A (en) | Device congestion evading system | |
JP2005123906A (en) | Data link activation method and data communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080213 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100514 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100519 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100720 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100929 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101228 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20110107 |
|
A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20110128 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120717 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150727 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5046493 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |