JP3440255B2 - Received data transfer method and device - Google Patents
Received data transfer method and deviceInfo
- Publication number
- JP3440255B2 JP3440255B2 JP19182896A JP19182896A JP3440255B2 JP 3440255 B2 JP3440255 B2 JP 3440255B2 JP 19182896 A JP19182896 A JP 19182896A JP 19182896 A JP19182896 A JP 19182896A JP 3440255 B2 JP3440255 B2 JP 3440255B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- transfer
- global
- data storage
- control unit
- 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
Links
Landscapes
- Communication Control (AREA)
- Computer And Data Communications (AREA)
Description
【0001】[0001]
【発明の属する技術分野】本発明は、データ通信におけ
る受信データ転送方法および装置に関し、特にプロセッ
サ部のデータアクセス待ち時間の増大と、ローカル転送
路とグローバル転送路とにまたがるデータ転送の増大と
による装置全体としてのスループットの低下を抑制する
ことができる受信データ転送方法、ならびに装置に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and apparatus for transferring received data in data communication, and more particularly to an increase in data access waiting time of a processor unit and an increase in data transfer across a local transfer path and a global transfer path. The present invention relates to a received data transfer method and a device that can suppress a decrease in throughput of the entire device.
【0002】[0002]
【従来の技術】従来の受信データ転送方法では、通信制
御部は、通信回線から受信するデータ全体をローカルデ
ータ格納部あるいはグローバルデータ格納部のいずれか
一方のみに転送していた。図4は、従来の受信データ転
送装置の一例を示す図、図5は、従来の受信データ転送
方法の動作フローチャート、図6は、同じく従来の受信
データ転送方法における転送終了時の状態を示す図であ
る。図4に示すように、従来の受信データ転送装置12
は、通信回線2およびグローバル転送路4aに接続され
た通信制御部32と、グローバル転送路4aに接続され
た転送路変換部52、外部インタフェース制御部8、お
よびグローバルデータ格納部6aと、グローバル転送路
4bに接続されたプロセッサ部72、およびローカルデ
ータ格納部6bとで構成されていた。なお、外部インタ
フェース制御部8には、外部インタフェース線9が接続
されている。また、転送路変換部52は、ローカル転送
路4bとグローバル転送路4aとにまたがる転送を制御
する。2. Description of the Related Art In a conventional received data transfer method, a communication control unit transfers the entire data received from a communication line to only one of a local data storage unit and a global data storage unit. FIG. 4 is a diagram showing an example of a conventional received data transfer device, FIG. 5 is an operation flowchart of a conventional received data transfer method, and FIG. 6 is a diagram showing a state at the end of transfer in the same conventional received data transfer method. Is. As shown in FIG. 4, the conventional received data transfer device 12
Is the communication control unit 32 connected to the communication line 2 and the global transfer path 4a, the transfer path conversion unit 52 connected to the global transfer path 4a, the external interface control unit 8, the global data storage unit 6a, and the global transfer. It was composed of a processor unit 72 connected to the path 4b and a local data storage unit 6b. An external interface line 9 is connected to the external interface controller 8. Further, the transfer path conversion unit 52 controls the transfer across the local transfer path 4b and the global transfer path 4a.
【0003】装置12では、通信回線2からデータを受
信すると、通信制御部32が受信データをローカルデー
タ格納部6bにのみ転送する場合またはグローバルデー
タ格納部6aにのみ転送する場合があり、それぞれ次の
ように受信データを転送していた。
(a)ローカルデータ格納部6bにのみ転送する場合
(図5(1)および図6(1)参照)
ローカルデータ格納部6b宛に、ローカルデータ格納部
6bおよびグローバル転送路4a、ローカル転送路4b
が規定する1データ転送単位分の受信データを転送する
(ステップ11)。その後、ステップ12に行く。受信
データ全体が転送済みであれば、次にステップ13に行
く(ステップ12)。そうでなければ、ステップ11に
戻り、ステップ12の処理を繰り返す。当該受信データ
に関する転送処理を終了する(ステップ13)。その結
果、図6(1)に示すように、受信データのヘッダ部C
1とボディ部C2は、ローカルデータ格納部6bに格納
されることになる。
(b)グローバル転送路4aにのみ転送する場合(図5
(2)および図6(2)参照)
グローバル転送路4a宛に、グローバル転送路4aおよ
びグローバル転送路4aが規定する1データ転送単位分
の受信データを転送する(ステップ14)。その後、ス
テップ15に行く。受信データ全体が転送済みであれ
ば、次にステップ16に行く(ステップ15)。そうで
なければ、ステップ14に戻り、ステップ15の処理を
繰り返す。当該受信データに関する転送処理を終了する
(ステップ16)。その結果、図6(2)に示すよう
に、受信データのヘッダ部C1とボディ部C2は、グロ
ーバルデータ格納部6aに格納されることになる。In the device 12, when data is received from the communication line 2, the communication control unit 32 may transfer the received data only to the local data storage unit 6b or only to the global data storage unit 6a. The received data was transferred as follows. (A) When transferring only to the local data storage unit 6b (see FIG. 5A and FIG. 6A), the local data storage unit 6b, the global transfer path 4a, and the local transfer path 4b are addressed to the local data storage unit 6b.
The received data for one data transfer unit defined by is transferred (step 11). Then, go to step 12. If the entire received data has been transferred, the process goes to step 13 (step 12). If not, the process returns to step 11 and the process of step 12 is repeated. The transfer process for the received data is ended (step 13). As a result, as shown in FIG. 6A, the header portion C of the received data is
1 and the body portion C2 are stored in the local data storage portion 6b. (B) When transferring only to the global transfer path 4a (see FIG. 5)
(2) and FIG. 6 (2)) The global transfer path 4a and the received data for one data transfer unit defined by the global transfer path 4a are transferred to the global transfer path 4a (step 14). Then go to step 15. If the entire received data has been transferred, the process goes to step 16 (step 15). If not, the process returns to step 14 and the process of step 15 is repeated. The transfer process for the received data is ended (step 16). As a result, as shown in FIG. 6B, the header section C1 and the body section C2 of the received data are stored in the global data storage section 6a.
【0004】[0004]
【発明が解決しようとする課題】図4において、プロセ
ッサ部72は装置12内の種々の処理を実行するもので
あり、ローカルデータ格納部6bは主としてプロセッサ
部72が頻繁にアクセスするデータを格納するものであ
り、ローカル転送路4bはプロセッサ部72とローカル
データ格納部6bとの間でデータを転送するデータバス
である。また、通信制御部32は通信回線2から受信す
るデータを内部に転送するものであり、外部インタフェ
ース制御部8は外部接続装置等とのインタフェースを制
御するものであり、グローバルデータ格納部6aはプロ
セッサ部72、通信制御部32および外部インタフェー
ス制御部8がアクセスするデータを格納するものであ
る。また、グローバル転送路4aはプロセッサ部72、
通信制御部32および外部インタフェース制御部8とグ
ローバルデータ格納部6aとの間でデータを転送するデ
ータバスであり、転送路変換部52はグローバル転送路
4aとローカル転送路4bとにまたがるデータ転送を制
御するものである。一般に、ローカル転送路4bとグロ
ーバル転送路4aとでは、その使われ方が異なってい
る。すなわち、ローカル転送路4bは、高速のプロセッ
サ部72からのアクセスによる高頻度の1転送単位ある
いは数転送単位の転送が殆んどである。これに対して、
グローバル転送路4aは、当該装置外部との間のデータ
転送に係わるために、通信制御部32および外部インタ
フェース制御部8からのアクセスによる低頻度の大量デ
ータのバースト(連続)転送が多い。In FIG. 4, the processor unit 72 executes various processes in the apparatus 12, and the local data storage unit 6b mainly stores the data frequently accessed by the processor unit 72. The local transfer path 4b is a data bus for transferring data between the processor unit 72 and the local data storage unit 6b. The communication control unit 32 transfers data received from the communication line 2 to the inside, the external interface control unit 8 controls an interface with an external connection device, etc., and the global data storage unit 6a is a processor. It stores data accessed by the unit 72, the communication control unit 32, and the external interface control unit 8. Further, the global transfer path 4a is connected to the processor unit 72,
A data bus that transfers data between the communication control unit 32 and the external interface control unit 8 and the global data storage unit 6a, and the transfer path conversion unit 52 transfers data across the global transfer path 4a and the local transfer path 4b. To control. In general, the local transfer path 4b and the global transfer path 4a are used differently. That is, most of the local transfer path 4b is transferred by one transfer unit or several transfer units with high frequency by the access from the high speed processor unit 72. On the contrary,
Since the global transfer path 4a is involved in data transfer with the outside of the apparatus, a large amount of infrequent burst (continuous) transfer of a large amount of data by access from the communication control unit 32 and the external interface control unit 8 is common.
【0005】また、一般に、ローカル転送路4bはグロ
ーバル転送路4aに比較して高速であり、一方のグロー
バル転送路4aはローカル転送路4bに比較して1転送
単位のデータ量が大きい。従って、両転送路におけるデ
ータ転送の手順(転送プロトコル)も異なっている。こ
のような転送路間の転送プロトコルの相違のために、両
転送路間をまたがるデータ転送を行う場合には、転送路
変換部52によるプロトコル変換のためのオーバヘッド
が生じていた。一方、図4に示す装置12等では、通信
回線2から受信したデータを一旦、装置内部に格納し、
その間にプロセッサ部72により通信プロトコル処理や
外部インタフェース装置のためのインタフェース変換処
理を行った後、外部インタフェース線9に出力するよう
な使用方法が多い。このような使用方法を用いたプロセ
ッサ部72による処理では、受信データのうちの先頭か
ら所定長までのヘッダ部C1のみを対象としており、残
りのボディ部C2には関知しない場合が多い。In general, the local transfer path 4b is faster than the global transfer path 4a, and one of the global transfer paths 4a has a larger data amount of one transfer unit than the local transfer path 4b. Therefore, the data transfer procedure (transfer protocol) on both transfer paths is also different. Due to such a difference in the transfer protocol between the transfer paths, an overhead for the protocol conversion by the transfer path conversion unit 52 has occurred when performing the data transfer across both transfer paths. On the other hand, in the device 12 or the like shown in FIG. 4, the data received from the communication line 2 is temporarily stored in the device,
In many cases, the processor unit 72 performs communication protocol processing and interface conversion processing for an external interface device during that time, and then outputs to the external interface line 9. In the processing by the processor unit 72 using such a usage method, only the header portion C1 from the beginning to the predetermined length of the received data is targeted, and the remaining body portion C2 is not concerned in many cases.
【0006】このように、従来の受信データ転送装置に
おいては、通信回線から受信するデータを内部に転送す
る場合、ローカルデータ格納部あるいはグローバルデー
タ格納部のいずれか一方のみに転送していたため、次の
ような問題点が生じていた。
(a)ローカルデータ格納部にのみ転送する場合、
受信データのボディ部をローカルデータ格納部に転送し
ている間、あるいは外部インタフェース線に出力するた
めにローカルデータ格納部から外部インタフェース制御
部に転送している間は、ローカル転送路を使用すること
ができないため、ローカルデータ格納部内のデータを使
用するプロセッサ部の処理も行うことができない。ま
た、転送路変換のオーバヘッドにより、グローバル転送
路もグローバル転送路だけを使用する転送に比べて長時
間使用することができない。
(b)グローバルデータ格納部にのみ転送する場合、
ヘッダ部がローカルデータ格納部に格納されている場合
に比べて、プロセッサ部による転送路変換部を介したグ
ローバルデータ格納部内のヘッダ部へのアクセスが必要
となるため、遅延時間が大きくなり、その間、プロセッ
サ部が空き状態となる。また、この間は、ローカル転送
路およびグローバル転送路とも、他の転送に使用するこ
とができない。これらの原因により、装置全体としてス
ループットが低下していた。本発明の目的は、これら従
来の課題を解消し、ヘッダ部へのアクセス遅延によるプ
ロセッサ部の空き時間を減少させ、またローカル転送路
とグローバル転送路とにまたがるデータ転送のために両
転送路ともに占有される時間を減少させて、装置全体の
スループットを向上させることができる受信データ転送
方法、ならびに装置を提供することにある。As described above, in the conventional received data transfer apparatus, when the data received from the communication line is transferred internally, it is transferred to only one of the local data storage unit and the global data storage unit. There was such a problem. (A) When transferring only to the local data storage unit, while transferring the body part of the received data to the local data storage unit, or from the local data storage unit to the external interface control unit for outputting to the external interface line. During this period, the local transfer path cannot be used, and therefore the processing of the processor unit that uses the data in the local data storage unit cannot be performed. Further, due to the overhead of transfer path conversion, the global transfer path cannot be used for a long time as compared with the transfer using only the global transfer path. (B) In the case of transferring only to the global data storage unit, as compared with the case where the header unit is stored in the local data storage unit, the processor unit accesses the header unit in the global data storage unit through the transfer path conversion unit. Therefore, the delay time becomes large, and the processor unit becomes idle during that time. Further, during this period, neither the local transfer path nor the global transfer path can be used for other transfer. Due to these causes, the throughput of the entire apparatus has decreased. An object of the present invention is to solve these conventional problems, to reduce the idle time of the processor section due to the access delay to the header section, and to transfer data across both the local transfer path and the global transfer path. An object of the present invention is to provide a received data transfer method and an apparatus capable of reducing the occupied time and improving the throughput of the entire apparatus.
【0007】[0007]
【課題を解決するための手段】上記目的を達成するた
め、本発明の受信データ転送方法では、通信回線に接続
され、該通信回線から受信したデータを内部に転送する
通信制御部と、外部インタフェース線に接続され、外部
装置とのインタフェースを制御する外部インタフェース
制御部とを備え、かつ主としてプロセッサ部から通信プ
ロトコル処理やインタフェース変換処理のために頻繁に
アクセスされるローカルデータ格納部と、該プロセッサ
部、通信制御部および外部インタフェース制御部からア
クセスされるグローバルデータ格納部との2種類のメモ
リを備えると共に、上記プロセッサ部およびローカルデ
ータ格納部間でデータを転送する比較的小さいデータ単
位のランダム転送を主体とするローカル転送路と、上記
通信制御部、外部インタフェース制御部およびグローバ
ルデータ格納部間でデータを転送する,大量データのバ
ースト転送を主体とする,上記ローカル転送路とは独立
に同時動作可能なグローバル転送路と、上記ローカル転
送路とグローバル転送路間にまたがるデータ転送を制御
する転送路変換部とを備えた装置の受信データ転送方法
において、上記通信制御部は、上記通信回線からデータ
を受信すると、該データの先頭から該通信制御部が保持
するヘッダ長までの,上記プロセッサ部による主たる処
理対象であるデータを上記ローカルデータ格納部宛に転
送し、該データ以降の,上記プロセッサ部で処理されな
いまま装置外部に送出されることが多い残りのデータを
上記グローバルデータ格納部宛に転送することを特徴と
している。また、前記通信制御部は、上記通信回線から
データを受信すると、該データの先頭から該通信制御部
が保持するヘッダ長までのデータを上記ローカルデータ
格納部宛およびグローバルデータ格納部宛の両方に転送
し、該データ以降の残りのデータを上記グローバルデー
タ格納部宛に転送することも特徴としている。また、本
発明の受信データ転送装置では、通信回線に接続され、
該通信回線から受信したデータを内部に転送する通信制
御部と、外部インタフェース線に接続され、外部装置と
のインタフェースを制御する外部インタフェース制御部
とを備え、かつ主としてプロセッサ部から通信プロトコ
ル処理やインタフェース変換処理のために頻繁にアクセ
スされるローカルデータ格納部と、該プロセッサ部、通
信制御部および外部インタフェース制御部からアクセス
されるグローバルデータ格納部との2種類のメモリを備
えると共に、上記プロセッサ部およびローカルデータ格
納部間でデータを転送する比較的小さいデータ単位のラ
ンダム転送を主体とするローカル転送路と、上記通信制
御部、外部インタフェース制御部およびグローバルデー
タ格納部間でデータを転送する,大量データのバースト
転送を主体とする,上記ローカル転送路とは独立に同時
動作可能なグローバル転送路と、上記ローカル転送路と
グローバル転送路間にまたがるデータ転送を制御する転
送路変換部とを備えた装置において、上記通信制御部内
に、上記通信回線からの受信データのうちのヘッダ部分
の先頭からの長さを保持するヘッダ長保持手段と、該通
信回線からの受信データの転送先を制御し、該受信デー
タのうち上記ヘッダ長保持手段が保持する長さまでのデ
ータを上記ローカルデータ格納部宛に転送するととも
に、それ以降のデータを上記グローバルデータ格納部宛
に転送する転送先制御手段とを備えたことを特徴として
いる。また、前記転送先制御手段は、受信データのうち
前記ヘッダ長保持手段が保持する長さまでのデータをロ
ーカルデータ格納部宛およびグローバルデータ格納部宛
の両方に転送するとともに、それ以降のデータを該グロ
ーバルデータ格納部宛のみに転送することも特徴として
いる。これにより、プロセッサ部によるアクセスの多い
ヘッダ部をローカルデータ格納部に、外部インタフェー
ス制御部からのアクセスの多いボディ部をグローバルデ
ータ格納部に、それぞれ分割して格納するので、ヘッダ
部へのアクセス遅延によるプロセッサ部の空き時間が減
少され、ローカル転送路とグローバル転送路とにまたが
るデータ転送のために両転送路に占有される時間が減少
する。また、分割してヘッダ部を格納することにより、
プロセッサ部による処理と受信データのボディ部の転送
処理を同時並行して実行できるので、装置全体のスルー
プットが向上する。さらに、ヘッダ部を両格納部に重複
して格納することにより、ヘッダ長が受信データ毎に可
変の場合でも、プロセッサ部のデータアクセス待ち時間
の増大と両転送路にまたがるデータ転送の増大とによる
装置全体のスループット低下を抑えることができる。In order to achieve the above object, the received data transfer method of the present invention connects to a communication line.
And transfers the data received from the communication line to the inside.
Connected to the communication controller and external interface line,
External interface that controls the interface with the device
It is equipped with a control unit, and mainly communicates with the processor unit.
Frequently used for protocol processing and interface conversion processing
Local data storage to be accessed and the processor
Section, communication control section and external interface control section
Two types of memos with global data storage that is accessed
In addition to providing a processor,
A relatively small data unit that transfers data between data stores.
Local transfer path mainly for random transfer of
Communication control unit, external interface control unit, and global
Bulk data transfer that transfers data between
Independent of the above-mentioned local transfer path, which is mainly used for host transfer
And the local transfer above
Controls data transfer across the transfer path and global transfer path
Data transfer method of device having transfer path converter
In the above, the communication control unit controls the data from the communication line.
Is received by the communication control unit from the beginning of the data.
Main processing by the above processor up to the header length
Transfer the data to be processed to the above local data storage unit.
Sent and not processed by the processor unit after the data
The rest of the data that is often sent outside the device
Characterized by transferring to the global data storage unit
is doing. In addition, the communication control unit is connected from the communication line.
When the data is received, the communication control unit starts from the beginning of the data.
Data up to the header length held by the above local data
Transfer to both storage and global data storage
The rest of the data after that data
It is also characterized in that it is transferred to the data storage unit. Also books
The reception data transfer device of the invention is connected to a communication line,
A communication system that transfers the data received from the communication line internally
Control unit and external interface line,
Interface control unit that controls the interface of
And a communication protocol mainly from the processor section.
Access frequently for interface processing and interface conversion processing.
Stored local data storage unit and the processor unit
Access from the communication control unit and external interface control unit
Equipped with two types of memory: global data storage
In addition, the above processor and local data
Transfers data between payment departments in relatively small units of data
The local transfer route mainly for random transfer and the above communication system
Control unit, external interface control unit and global data
Burst of large amount of data that transfers data between storage units
Simultaneously independent of the above local transfer path, which is mainly for transfer
Operable global transfer path and the above local transfer path
A transfer that controls data transfer across global transfer paths.
In a device having a route conversion unit, in the communication control unit
The header part of the data received from the above communication line
Header length holding means for holding the length from the beginning of the
Control the transfer destination of the received data from the communication line,
Data up to the length held by the above header length holding means.
Data to the local data storage unit
And the subsequent data to the above global data storage
And a transfer destination control means for transferring to
There is. Further, the transfer destination control means is
Data up to the length held by the header length holding means is
Local data storage and global data storage
To both of the
It is also a feature to transfer only to the global data storage section
There is. As a result, the header section that is frequently accessed by the processor section is separately stored in the local data storage section, and the body section that is frequently accessed by the external interface control section is stored in the global data storage section. Thus, the idle time of the processor unit is reduced and the time occupied by both transfer paths for data transfer across the local transfer path and the global transfer path is reduced. Also, by dividing and storing the header part,
Since the processing by the processor section and the transfer processing of the body section of the received data can be executed concurrently in parallel, the throughput of the entire apparatus is improved. Further, by overlappingly storing the header section in both storage sections, even if the header length is variable for each received data, the data access waiting time of the processor section and the data transfer across both transfer paths increase. It is possible to suppress a decrease in throughput of the entire device.
【0008】[0008]
【発明の実施の形態】以下、本発明の実施例を、図面に
より詳細に説明する。図1は、本発明の一実施例を示す
受信データ転送装置のブロック構成図である。図1に示
す装置11は、プロセッサ部71、ローカルデータ格納
部6b、通信制御部31、外部インタフェース制御部
8、グローバルデータ格納部6a、および転送路変換部
51を具備しており、図4に示す従来の構成と同じであ
る。しかし、通信制御部31内に、予め指定される受信
データ中のヘッダ部の長さを保持するヘッダ長保持手段
A1と受信データの転送部分に対応してその転送先を制
御する転送先制御手段B1とを含んでいる点で異なって
いる。なお、ローカル転送路4bは、プロセッサ部71
とローカルデータ格納部6bとの間の転送路であり、ま
たグローバル転送路4aは、グローバルデータ格納部6
aおよび通信制御部31、外部インタフェース制御部8
の間の転送路である。また、転送路変換部51は、ロー
カル転送路4bとグローバル転送路4aとにまたがる転
送を制御するものである。これらの機能は、従来のもの
と変わっていない。BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a block configuration diagram of a reception data transfer device showing an embodiment of the present invention. The device 11 shown in FIG. 1 includes a processor unit 71, a local data storage unit 6b, a communication control unit 31, an external interface control unit 8, a global data storage unit 6a, and a transfer path conversion unit 51. This is the same as the conventional configuration shown. However, in the communication control unit 31, a header length holding unit A1 that holds the length of the header portion in the reception data designated in advance, and a transfer destination control unit that controls the transfer destination corresponding to the transfer portion of the reception data It is different in that it includes B1. The local transfer path 4b is connected to the processor unit 71.
Is a transfer path between the local data storage unit 6b and the global data storage unit 6b.
a, communication control unit 31, external interface control unit 8
Is a transfer path between. The transfer path conversion unit 51 controls transfer across the local transfer path 4b and the global transfer path 4a. These functions have not changed from conventional ones.
【0009】図2は、本発明の受信データ転送方法の動
作フローチャートであり、図3は、本発明の受信データ
転送方法による格納状態図および受信データの構成を示
すフォーマット図である。通信制御手段31は、通信回
線2からのデータを受信した時、図2のフローに示すよ
うな順序で受信データを転送する。なお、図3に示すよ
うに、受信データCは、ヘッダ長保持手段A1の内容で
指示される長さのヘッダ部C1と、それ以降のボディ部
C2とにより構成されるものとする。
(a)ヘッダ部をローカルデータ格納部に、ボディ部を
グローバルデータ格納部に、分割して転送する場合(図
2(1)および図3(1)参照)
先ず、データを受信すると、ヘッダ長保持手段A1の内
容で示される長さまで受信データを転送済み(ボディ部
C2の転送中)であれば、ステップ3に行く(ステップ
1)。そうでなければ(ヘッダ部C1の転送中)、ステ
ップ2に行く。転送先制御手段B1の制御により、ロー
カルデータ格納部6b宛に、ローカルデータ格納部6b
およびグローバル転送路4a、ローカル転送路4bが規
定する1データ転送単位分の受信データを転送する(ス
テップ2)。その後、ステップ4に行く。転送先制御手
段B1の制御により、グローバルデータ格納部6a宛
に、グローバルデータ格納部6aおよびグローバル転送
路4aが規定する1データ転送単位分の受信データを転
送する(ステップ3)。その後、ステップ4に行く。受
信データ全体が転送済みであれば、ステップ5に行く
(ステップ4)。そうでなければ、ステップ1に戻り、
ステップ3までの処理を繰り返し行う。当該受信データ
に関する転送処理を終了する(ステップ5)。その結
果、図3(1)に示すように、ローカルデータ格納部6
bにはヘッダ部C1が、グローバルデータ格納部6aに
はボディ部C2が、それぞれ格納される。FIG. 2 is an operation flowchart of the received data transfer method of the present invention, and FIG. 3 is a storage state diagram and a format diagram showing the structure of received data according to the received data transfer method of the present invention. When receiving the data from the communication line 2, the communication control means 31 transfers the received data in the order shown in the flow of FIG. As shown in FIG. 3, the received data C is assumed to be composed of a header portion C1 having a length designated by the contents of the header length holding means A1 and a body portion C2 after that. (A) When the header part is transferred to the local data storage part and the body part is transferred to the global data storage part in a divided manner (see FIG. 2 (1) and FIG. 3 (1)) First, when data is received, the header length is If the received data has been transferred up to the length indicated by the contents of the holding means A1 (while the body portion C2 is being transferred), the process proceeds to step 3 (step 1). Otherwise (during the transfer of the header portion C1), go to step 2. Under the control of the transfer destination control means B1, the local data storage unit 6b is addressed to the local data storage unit 6b.
Also, the received data for one data transfer unit defined by the global transfer path 4a and the local transfer path 4b is transferred (step 2). Then go to step 4. Under the control of the transfer destination control means B1, the received data for one data transfer unit defined by the global data storage 6a and the global transfer path 4a is transferred to the global data storage 6a (step 3). Then go to step 4. If the entire received data has been transferred, go to step 5 (step 4). If not, go back to step 1,
The processes up to step 3 are repeated. The transfer process for the received data is completed (step 5). As a result, as shown in FIG. 3A, the local data storage unit 6
A header portion C1 is stored in b, and a body portion C2 is stored in the global data storage portion 6a.
【0010】(b)ヘッダ部をローカルデータ格納部と
グローバルデータ格納部に重複して転送し、ボディ部を
グローバルデータ格納部に転送する場合(図2(2)お
よび図3(2)参照)
先ず、ヘッダ長保持手段A1の内容で示される長さまで
受信データを転送済み(ボディ部C2の転送中)であれ
ば、ステップ8に行く(ステップ6)。そうでなければ
(ヘッダ部C1の転送中)、ステップ7に行く。転送先
制御手段B1の制御により、ローカルデータ格納部6b
宛に、ローカルデータ格納部6bおよびグローバル転送
路4a、ローカル転送路4bが規定する1データ転送単
位分の受信データを、またグローバルデータ格納部6a
宛に、グローバルデータ格納部6aおよびグローバル転
送路4aが規定する1データ転送単位分の受信データ
を、それぞれ転送する(ステップ7)。その後、ステッ
プ8に行く。転送先制御手段B1の制御により、グロー
バルデータ格納部6a宛に、グローバルデータ格納部6
aおよびグローバル転送路4aが規定する1データ転送
単位分の受信データを転送する(ステップ8)。その
後、ステップ9に行く。受信データ全体を転送済みであ
れば、ステップ10に行く。そうでなければ、ステップ
6に戻り、ステップ9までの処理を繰り返す。当該受信
データに関する転送処理を終了する(ステップ10)。
その結果、図3(2)に示すように、ローカルデータ格
納部6bにはヘッダ部C1が、グローバルデータ格納部
6aにはヘッダ部C1とボディ部C2が、それぞれ格納
される。(B) When the header part is transferred to the local data storage part and the global data storage part in duplicate, and the body part is transferred to the global data storage part (see FIGS. 2 (2) and 3 (2)). First, if the received data has been transferred up to the length indicated by the contents of the header length holding means A1 (while the body part C2 is being transferred), the process proceeds to step 8 (step 6). If not (the header C1 is being transferred), go to step 7. The local data storage unit 6b is controlled by the transfer destination control unit B1.
The local data storage unit 6b, the global transfer path 4a, and the received data for one data transfer unit defined by the local transfer path 4b are sent to the global data storage unit 6a.
Received data of one data transfer unit defined by the global data storage unit 6a and the global transfer path 4a are transferred to the respective destinations (step 7). Then go to step 8. Under the control of the transfer destination control means B1, the global data storage unit 6 is addressed to the global data storage unit 6a.
The received data for one data transfer unit defined by a and the global transfer path 4a is transferred (step 8). Then go to step 9. If the entire received data has been transferred, go to step 10. If not, the process returns to step 6 and the processes up to step 9 are repeated. The transfer process for the received data is completed (step 10).
As a result, as shown in FIG. 3B, the header portion C1 is stored in the local data storage portion 6b, and the header portion C1 and the body portion C2 are stored in the global data storage portion 6a.
【0011】図3に示すように、受信データCの構成
は、宛先や送信元等の制御情報を格納したヘッダ部C1
と、信号文を格納したボディ部C2とからなる。ヘッダ
長保持手段A1には、受信したデータのヘッダ部C1の
長さデータが格納されている。従って、通信制御部31
の転送先制御手段B1は、ヘッダ長保持手段A1の内容
で示される長さ分までのデータを転送すれば、それでヘ
ッダ部C1の転送が終了したことになる。本実施例のケ
ース(b)(つまり、グローバル転送路4aにのみ転送す
る場合)では、ヘッダ長が受信データ毎に異なる場合
に、ヘッダ長保持手段A1に最大長を指定しておく。そ
の後、プロセッサ部71はローカルデータ格納部6bに
転送された受信データCのヘッダ部C1中から必要な部
分のみにアクセスして処理を行い、またグローバルデー
タ格納部6aに転送された受信データC全体のうち、当
該データにおける真のボディ部の先頭(つまり、ヘッダ
部C1の途中となる)以降について、例えば、外部イン
タフェース制御部8宛へのデータ転送を行う。本実施例
では、例えば受信データCのヘッダ部C1のローカルデ
ータ格納部6bへの転送を完了した後、プロセッサ部7
1による通信プロトコル処理を開始し、その処理と同時
並行して、受信データCの残りの部分(ボディ部C2)
のグローバルデータ格納部6aへの転送を行うことがで
きる。As shown in FIG. 3, the structure of the received data C has a header portion C1 storing control information such as a destination and a transmission source.
And a body portion C2 storing a signal text. The length data of the header portion C1 of the received data is stored in the header length holding means A1. Therefore, the communication control unit 31
When the transfer destination control means B1 has transferred the data up to the length indicated by the contents of the header length holding means A1, the transfer of the header portion C1 is completed. In the case (b) of this embodiment (that is, when transferring only to the global transfer path 4a), when the header length differs for each received data, the maximum length is designated in the header length holding unit A1. After that, the processor unit 71 accesses and processes only a necessary portion from the header portion C1 of the received data C transferred to the local data storage unit 6b, and the entire received data C transferred to the global data storage unit 6a. Of the above, the data transfer to the external interface control unit 8 is performed, for example, after the beginning of the true body part of the data (that is, in the middle of the header part C1). In this embodiment, for example, after the transfer of the header portion C1 of the received data C to the local data storage portion 6b is completed, the processor portion 7
The communication protocol process according to 1 is started, and in parallel with the process, the remaining part of the received data C (body part C2)
Can be transferred to the global data storage unit 6a.
【0012】このように、本実施例においては、通信回
線からの受信データのうち、プロセッサ部によるアクセ
スの多いヘッダ部を、プロセッサ部からのアクセスが効
率的なローカルデータ格納部に、一方、外部インタフェ
ース制御部からのアクセスが多いボディ部を、外部イン
タフェース制御部からのアクセスが効率的なグローバル
データ格納部に、それぞれ分割して格納することにした
ため、ヘッダ部へのアクセス遅延によるプロセッサ部の
空き時間が減少し、ローカル転送路とグローバル転送路
とにまたがるデータ転送のために両転送路ともに占有さ
れる時間が減少する。また、プロセッサ部による処理
と、受信データのボディ部の転送とを同時並行して実行
することが可能となるので、装置全体のスループットが
向上する。さらに、ヘッダ部ローカルデータ格納部およ
びグローバルデータ格納部の両方に重複して転送可能に
したため、ヘッダ部長が受信データ毎に可変の場合に
も、プロセッサ部のデータアクセス待ち時間の増大と、
ローカル転送路とグローバル転送路とにまたがるデータ
転送の増大とによる装置全体としてのスループットの低
下を抑止することが可能となる。As described above, in the present embodiment, of the received data from the communication line, the header section, which is frequently accessed by the processor section, is stored in the local data storage section which is efficiently accessed by the processor section, while the external section is Since the body part that is frequently accessed by the interface control part is divided and stored in the global data storage part that is efficiently accessed by the external interface control part, the processor part becomes empty due to the access delay to the header part. The time is reduced, and the time occupied by both transfer paths for data transfer across the local transfer path and the global transfer path is reduced. Further, the processing by the processor unit and the transfer of the body part of the received data can be simultaneously executed in parallel, so that the throughput of the entire device is improved. In addition, since it is possible to transfer data to both the header part local data storage part and the global data storage part in duplicate, even when the header part length is variable for each received data, the data access waiting time of the processor part increases, and
It is possible to prevent a decrease in the throughput of the entire device due to an increase in data transfer across the local transfer path and the global transfer path.
【0013】[0013]
【発明の効果】以上説明したように、本発明によれば、
受信データのヘッダ部とボディ部を別個のメモリに分割
して格納することにより、プロセッサ部の空き時間が減
少するとともに、データ転送により2つの転送路が占有
されることによる処理待ち時間を減少することができ
る。また、別個のメモリに分割して格納することによ
り、プロセッサ部の処理と外部インタフェース線への転
送とを並行して実行できるので、装置全体のスループッ
トが向上する。さらに、ヘッダ部を別個のメモリに重複
して格納することにより、ヘッダ部長が可変のときに
も、プロセッサ部のアクセス待ち時間を短縮するととも
に、2つの転送路にまたがるデータ転送の増大によるス
ループット低下を抑えることができる。As described above, according to the present invention,
By dividing and storing the header part and the body part of the received data in separate memories, the idle time of the processor part is reduced and the processing waiting time due to the two transfer paths being occupied by the data transfer is also reduced. be able to. Further, by dividing and storing in separate memories, the processing of the processor unit and the transfer to the external interface line can be executed in parallel, so that the throughput of the entire apparatus is improved. Further, by overlappingly storing the header section in separate memories, even when the header section length is variable, the access waiting time of the processor section is shortened and the throughput is decreased due to an increase in data transfer across two transfer paths. Can be suppressed.
【図1】本発明の一実施例を示す受信データ転送装置の
ブロック構成図である。FIG. 1 is a block configuration diagram of a reception data transfer device showing an embodiment of the present invention.
【図2】本発明の受信データ転送方法の動作フローチャ
ートである。FIG. 2 is an operation flowchart of the received data transfer method of the present invention.
【図3】本発明の受信データ転送方法の格納状態図およ
び受信データのフォーマット図である。FIG. 3 is a storage state diagram and a received data format diagram of a received data transfer method of the present invention.
【図4】従来の受信データ転送装置の一例を示すブロッ
ク図である。FIG. 4 is a block diagram showing an example of a conventional received data transfer device.
【図5】従来の受信データ転送方法の動作フローチャー
トである。FIG. 5 is an operation flowchart of a conventional received data transfer method.
【図6】従来の受信データ転送方法の格納状態図であ
る。FIG. 6 is a storage state diagram of a conventional received data transfer method.
11,12…装置、2…通信回線、31,32…通信制
御部、4a…グローバル転送路、4b…ローカル転送
路、51,52…転送路変換部、
6a…グローバルデータ格納部、6b…ローカルデータ
格納部、71,72…プロセッサ部、8…外部インタフ
ェース制御部、9…外部インタフェース線、A1…ヘッ
ダ長保持手段、B1…転送先制御手段、
C…受信データ、C1…受信データのヘッダ部、C2…
受信データのボディ部。11, 12 ... Device, 2 ... Communication line, 31, 32 ... Communication control section, 4a ... Global transfer path, 4b ... Local transfer path, 51, 52 ... Transfer path converting section, 6a ... Global data storage section, 6b ... Local Data storage section, 71, 72 ... Processor section, 8 ... External interface control section, 9 ... External interface line, A1 ... Header length holding means, B1 ... Transfer destination control means, C ... Received data, C1 ... Received data header section , C2 ...
Body part of received data.
Claims (4)
信したデータを内部に転送する通信制御部と、外部イン
タフェース線に接続され、外部装置とのインタフェース
を制御する外部インタフェース制御部とを備え、かつ主
としてプロセッサ部から通信プロトコル処理やインタフ
ェース変換処理のために頻繁にアクセスされるローカル
データ格納部と、該プロセッサ部、通信制御部および外
部インタフェース制御部からアクセスされるグローバル
データ格納部との2種類のメモリを備えると共に、上記
プロセッサ部およびローカルデータ格納部間でデータを
転送する比較的小さいデータ単位のランダム転送を主体
とするローカル転送路と、上記通信制御部、外部インタ
フェース制御部およびグローバルデータ格納部間でデー
タを転送する,大量データのバースト転送を主体とす
る,上記ローカル転送路とは独立に同時動作可能なグロ
ーバル転送路と、上記ローカル転送路とグローバル転送
路間にまたがるデータ転送を制御する転送路変換部とを
備えた装置の受信データ転送方法において、 上記通信制御部は、上記通信回線からデータを受信する
と、該データの先頭から該通信制御部が保持するヘッダ
長までの,上記プロセッサ部による主たる処理対象であ
るデータを上記ローカルデータ格納部宛に転送し、 該データ以降の,上記プロセッサ部で処理されないまま
装置外部に送出されることが多い残りのデータを上記グ
ローバルデータ格納部宛に転送することを特徴とする受
信データ転送方法。1. A is connected to a communication line, a communication control unit for transferring the data received from the communication line therein, is connected to the external interface line, and an external interface control unit that controls interface with an external device In addition, mainly from the processor unit, communication protocol processing and interface
The processor unit includes two types of memories: a local data storage unit that is frequently accessed for the case conversion processing , and a global data storage unit that is accessed by the processor unit, the communication control unit, and the external interface control unit. And mainly for random transfer of relatively small data units that transfer data between local data storage units
Mainly for burst transfer of large amount of data that transfers data between the local transfer path and the communication control unit, the external interface control unit, and the global data storage unit .
A global transfer path that can operate simultaneously independently of the local transfer path, and a transfer path conversion unit that controls data transfer between the local transfer path and the global transfer path. In the received data transfer method of the device provided , when the communication control unit receives data from the communication line, the communication control unit is a main processing target by the processor unit from a head of the data to a header length held by the communication control unit. Ah
Data to be transferred to the local data storage unit, and after that data is not processed by the processor unit.
A method for transferring received data, characterized in that the remaining data, which is often sent out of the device, is transferred to the global data storage unit.
おいて、 前記通信制御部は、上記通信回線からデータを受信する
と、該データの先頭から該通信制御部が保持するヘッダ
長までのデータを上記ローカルデータ格納部宛およびグ
ローバルデータ格納部宛の両方に転送し、 該データ以降の残りのデータを上記グローバルデータ格
納部宛に転送することを特徴とする受信データ転送方
法。2. The reception data transfer method according to claim 1, wherein the communication control unit, when receiving the data from the communication line, transfers data from the beginning of the data to a header length held by the communication control unit. A received data transfer method comprising: transferring to both the local data storage unit and the global data storage unit, and transferring the remaining data after the data to the global data storage unit.
信したデータを内部に転送する通信制御部と、外部イン
タフェース線に接続され、外部装置とのインタフェース
を制御する外部インタフェース制御部とを備え、かつ主
としてプロセッサ部から通信プロトコル処理やインタフ
ェース変換処理のために頻繁にアクセスされるローカル
データ格納部と、該プロセッサ部、通信制御部および外
部インタフェース制御部からアクセスされるグローバル
データ格納部との2種類のメモリを備えると共に、上記
プロセッサ部およびローカルデータ格納部間でデータを
転送する比較的小さいデータ単位のランダム転送を主体
とするローカル転送路と、上記通信制御部、外部インタ
フェース制御部およびグローバルデータ格納部間でデー
タを転送する,大量データのバースト転送を主体とす
る,上記ローカル転送路とは独立に同時動作可能なグロ
ーバル転送路と、上記ローカル転送路とグローバル転送
路間にまたがるデータ転送を制御する転送路変換部とを
備えた装置において、 上記通信制御部内に、上記通信回線からの受信データの
うちのヘッダ部分の先頭からの長さを保持するヘッダ長
保持手段と、該通信回線からの受信データの転送先を制
御し、該受信データのうち上記ヘッダ長保持手段が保持
する長さまでのデータを上記ローカルデータ格納部宛に
転送するとともに、それ以降のデータを上記グローバル
データ格納部宛に転送する転送先制御手段とを備えたこ
とを特徴とする受信データ転送装置。3. A connected to the communication line, a communication control unit for transferring the data received from the communication line therein, is connected to the external interface line, and an external interface control unit that controls interface with an external device In addition, mainly from the processor unit, communication protocol processing and interface
The processor unit includes two types of memories: a local data storage unit that is frequently accessed for the case conversion processing , and a global data storage unit that is accessed by the processor unit, the communication control unit, and the external interface control unit. And mainly for random transfer of relatively small data units that transfer data between local data storage units
Mainly for burst transfer of large amount of data that transfers data between the local transfer path and the communication control unit, the external interface control unit, and the global data storage unit .
A global transfer path that can operate simultaneously independently of the local transfer path, and a transfer path conversion unit that controls data transfer between the local transfer path and the global transfer path. in the apparatus having, in the communication control portion, and the header length holding means for holding a length from the beginning of the header portion of the received data from the communication line, controls the forwarding destination of the received data from the communication line A transfer destination control means for transferring the data up to the length held by the header length holding means of the received data to the local data storage section and transferring the subsequent data to the global data storage section. Equipped with
And a received data transfer device.
おいて、 前記転送先制御手段は、受信データのうち前記ヘッダ長
保持手段が保持する長さまでのデータをローカルデータ
格納部宛およびグローバルデータ格納部宛の両方に転送
するとともに、それ以降のデータを該グローバルデータ
格納部宛のみに転送することを特徴とする受信データ転
送装置。In the receiving data transfer apparatus according to claim 3, wherein the transfer destination control unit, a data storage local data storage unit addressed and global data up to the length of the header length holding means for holding of the received data both with and transfers the addressed section, the receiving data transfer apparatus characterized by transferring the subsequent data only addressed 該Gu global data storage unit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19182896A JP3440255B2 (en) | 1996-07-22 | 1996-07-22 | Received data transfer method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP19182896A JP3440255B2 (en) | 1996-07-22 | 1996-07-22 | Received data transfer method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH1041996A JPH1041996A (en) | 1998-02-13 |
| JP3440255B2 true JP3440255B2 (en) | 2003-08-25 |
Family
ID=16281203
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP19182896A Expired - Fee Related JP3440255B2 (en) | 1996-07-22 | 1996-07-22 | Received data transfer method and device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3440255B2 (en) |
-
1996
- 1996-07-22 JP JP19182896A patent/JP3440255B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH1041996A (en) | 1998-02-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6038607A (en) | Method and apparatus in a computer system having plural computers which cause the initiation of functions in each other using information contained in packets transferred between the computers | |
| JPH0821013B2 (en) | Direct memory access order competition control method | |
| US6061748A (en) | Method and apparatus for moving data packets between networks while minimizing CPU intervention using a multi-bus architecture having DMA bus | |
| US5835779A (en) | Message transmission among processing units using interrupt control technique | |
| US20040230717A1 (en) | Processing device | |
| JP3440255B2 (en) | Received data transfer method and device | |
| US6256313B1 (en) | Triplet architecture in a multi-port bridge for a local area network | |
| JP3651672B2 (en) | Arithmetic processing system, especially arithmetic processing system for communication devices | |
| JP4125933B2 (en) | Processor system with common memory | |
| JP2001134514A (en) | Data communication system | |
| JP3202769B2 (en) | Burst read processing device | |
| US5926630A (en) | Communication device including a receiving data processor and a bus interface having a data storage area | |
| JP2000029823A (en) | Bus access control circuit | |
| JP2584841B2 (en) | Packet switching control device | |
| JP4411138B2 (en) | Data flow control system, circuit thereof, and method thereof | |
| US7177997B2 (en) | Communication bus system | |
| JPH08321846A (en) | Network equipment | |
| KR20020058364A (en) | Router for Packet Dual Process | |
| JP2000132498A (en) | Dma transfer controller | |
| JP2002051087A (en) | Information processing system and data receiving method | |
| JPH08153038A (en) | Data storage control method and device | |
| US20050108457A1 (en) | Cross switch supporting simultaneous data traffic in opposing directions | |
| JP2002132702A (en) | Memory control system | |
| JPH05265923A (en) | Data transfer equipment | |
| JPH07143133A (en) | Multi-layer protocol processor for common use of memory |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090620 Year of fee payment: 6 |
|
| LAPS | Cancellation because of no payment of annual fees |