JPH0426742B2 - - Google Patents

Info

Publication number
JPH0426742B2
JPH0426742B2 JP60287244A JP28724485A JPH0426742B2 JP H0426742 B2 JPH0426742 B2 JP H0426742B2 JP 60287244 A JP60287244 A JP 60287244A JP 28724485 A JP28724485 A JP 28724485A JP H0426742 B2 JPH0426742 B2 JP H0426742B2
Authority
JP
Japan
Prior art keywords
information
transfer
layer
data buffer
data
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
Application number
JP60287244A
Other languages
Japanese (ja)
Other versions
JPS62145450A (en
Inventor
Noriaki Kishino
Tooru Furuhashi
Hitoya Nakamura
Minoru Abe
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP60287244A priority Critical patent/JPS62145450A/en
Publication of JPS62145450A publication Critical patent/JPS62145450A/en
Publication of JPH0426742B2 publication Critical patent/JPH0426742B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)
  • Memory System (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ハイレベルデータリンク制御手順を
使用する通信制御装置とその上位装置のような2
つの装置間における情報の転送方式に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention is directed to a communication control device that uses a high-level data link control procedure and a communication control device that uses a high-level data link control procedure.
This relates to a method for transferring information between two devices.

(従来の技術) 従来より、ハイレベルデータリンク制御手順
(HDLC)を使用する通信制御装置(レイヤ2装
置)とその上位装置(レイヤ3装置)との間で情
報を転送する方式の一つとして、両装置間に共通
のメモリ(以下、共有メモリと称す。)を設け、
該共有メモリをレイヤ2装置およびレイヤ3装置
の両方からアクセスすることによつて行なうもの
がある。
(Prior art) Conventionally, this technology has been used as one of the methods for transferring information between a communication control device (layer 2 device) and its higher-level device (layer 3 device) that uses high-level data link control procedures (HDLC). , a common memory (hereinafter referred to as shared memory) is provided between both devices,
Some methods perform this by accessing the shared memory from both layer 2 devices and layer 3 devices.

このような情報転送方式について述べたものと
して、松永 他著「HDLC機能の強化が進むデー
タ通信LSI(マイクロプロセツサ周辺LSIシリーズ
第8回)」(日経エレクトロニクス、1984,10,
8、P131〜158)がある。以下、これに沿つて説
明する。
This type of information transfer method is described in Matsunaga et al., "Data Communication LSI with Increasingly Enhanced HDLC Functions (Microprocessor Peripheral LSI Series No. 8)" (Nikkei Electronics, 1984, 10).
8, P131-158). This will be explained below.

第2図は従来の情報転送方式におけるシステム
構成の一例を示すもので、図中、10はレイヤ2
装置L2、20はレイヤ3装置L3、30は共有
メモリであり、レイヤ2装置10は、シリアルデ
ータインタフエース(SDI)11と、プロセツサ
(CPU)12と、リードオンリメモリ(ROM)
13と、ランダムアクセスメモリ(RAM)14
と、ダイレクトメモリアクセスコントローラ
(DMAC)15とからなつている。
Figure 2 shows an example of a system configuration in a conventional information transfer method, where 10 is layer 2.
Devices L2 and 20 are layer 3 devices L3 and 30 are shared memories, and layer 2 device 10 includes a serial data interface (SDI) 11, a processor (CPU) 12, and a read-only memory (ROM).
13 and random access memory (RAM) 14
and a direct memory access controller (DMAC) 15.

また、第3図は、前記共有メモリ30の内部構
成およびDMAC15内のレジスタ151の内容
の一例を示すものである。即ち、共有メモリ30
は、送受信動作に必要な情報を蓄積する送信用ル
ツク・アツプ・テーブル(TLOOK:8バイト×
8)31、および受信用ルツク・アツプ・テーブ
ル(RLOOK:8バイト×8)32を有し、ま
た、これとは別に、実際の転送情報を蓄積する複
数の送信データ・バツフア33および受信デー
タ・バツフア34を有している。
Further, FIG. 3 shows an example of the internal configuration of the shared memory 30 and the contents of the register 151 in the DMAC 15. That is, the shared memory 30
is a transmission lookup table (TLOOK: 8 bytes x
8) 31 and a reception lookup table (RLOOK: 8 bytes x 8) 32, and separately from this, a plurality of transmission data buffers 33 and reception data buffers 33 for storing actual transfer information. It has a buffer 34.

前記データ・バツフア33,34は、一定の大
きさに区切られた共通のメモリであり、転送情報
が1データバツフアを越えると、続きの転送情報
の他の空きのデータ・バツフア33又は34に蓄
積する(以下、チエーンを組むと称す。)ことに
より、長い転送情報に対処するようになしてい
る。
The data buffers 33 and 34 are common memories partitioned into fixed sizes, and when transfer information exceeds one data buffer, the subsequent transfer information is stored in another free data buffer 33 or 34. (hereinafter referred to as "chaining") to cope with long transfer information.

前記チエーンを組んだ時、これを表示する情報
として、次のデータ・バツフア33(又は34)
のアドレスを示すトランスフア・アドレスが、デ
ータバツフア33(又は34)内の最後に入れら
れる如くなつている。
When the chain is assembled, the following data buffer 33 (or 34) is displayed as information.
A transfer address indicating the address of the data buffer 33 (or 34) is placed at the end of the data buffer 33 (or 34).

次に、レイヤ3装置20→レイヤ2装置10の
情報転送を例として動作を説明する。
Next, the operation will be described using information transfer from the layer 3 device 20 to the layer 2 device 10 as an example.

(1) レイヤ3装置20は、共有メモリ30の送信
データ・バツフア33に転送情報を書込む。チ
エーンを組む必要がある場合は、トランスフ
ア・アドレスを書込みながら、次々と転送情報
を書込む。
(1) The layer 3 device 20 writes transfer information to the transmission data buffer 33 of the shared memory 30. If it is necessary to form a chain, write transfer information one after another while writing the transfer address.

(2) レイヤ3装置20は、TLOOK31のセグメ
ント0に、送信データ・バツフア33に蓄積さ
れたデータの先頭アドレス,送信データの長さ
を書込み、送信データ・バツフア・レデイ・フ
ラグを“1”にする。
(2) The layer 3 device 20 writes the start address of the data stored in the transmission data buffer 33 and the length of the transmission data in segment 0 of the TLOOK 31, and sets the transmission data buffer ready flag to "1". do.

(3) レイヤ3装置20は、レイヤ2装置10に情
報フレーム送信用のビツトを“1”にすること
により送信要求を伝える。
(3) The layer 3 device 20 notifies the layer 2 device 10 of a transmission request by setting the information frame transmission bit to “1”.

(4) レイヤ2装置10内のDMAC15は、
TLOOK31のセグメント0の内容を読取る。
(4) The DMAC 15 in the layer 2 device 10 is
Read the contents of segment 0 of TLOOK31.

(5) 前記DMAC15は、送信データ・バツフ
ア・レデイ・フラグが“1”であることを確認
した上で、送信データ・バツフア33内の転送
情報を情報フイールドに入れながら、情報フレ
ームをSDI11に送出し、さらにモデム等の物
理層を構成するレイヤ1装置に対して送出す
る。
(5) After confirming that the transmission data buffer ready flag is "1", the DMAC 15 sends the information frame to the SDI 11 while putting the transfer information in the transmission data buffer 33 into the information field. The data is then sent to a layer 1 device such as a modem that constitutes the physical layer.

(6) DMAC15は、転送情報のビツト数をカウ
ントし、セグメント0に書込まれた送信データ
の長さと比較し、転送終了をチエツクする。
(6) The DMAC 15 counts the number of bits of the transfer information, compares it with the length of the transmission data written in segment 0, and checks whether the transfer is complete.

(7) 1つの送信データ・バツフア33内の情報を
転送し終えた時、転送完了でない、即ち前記送
信データの長さとカウント数とが一致しない場
合は、トランスフア・アドレスに従つて、連結
された送信データ・バツフア33内の情報を転
送する。
(7) When the information in one transmission data buffer 33 has been transferred, if the transfer is not completed, that is, the length of the transmission data and the count number do not match, the information is concatenated according to the transfer address. The information in the transmitted data buffer 33 is transferred.

(8) こうして、転送完了まで前記(6),(7)の動作を
繰返す。
(8) In this way, operations (6) and (7) above are repeated until the transfer is completed.

(発明が解決しようとする問題点) しかしながら前記情報転送方式では、共有メモ
リがルツクアツプテーブル部分とデータ・バツフ
ア部分とに分かれていることから、 1 情報を転送するためには2ケ所のアクセスが
必要となり、DMACによる転送の場合は2回
の転送動作が必要となる、 2 共有メモリをデータ・バツフアだけで構成で
きず、メモリ分割が複雑となる、 3 データ・バツフアの空き管理、およびテーブ
ルのセグメントの空き管理の二重の管理が必要
となる、 等の問題点があつた。
(Problems to be Solved by the Invention) However, in the above information transfer method, since the shared memory is divided into a lookup table section and a data buffer section, 1. In order to transfer information, two places must be accessed. 2. Shared memory cannot be configured with only data buffers, making memory partitioning complicated. 3. Data buffer free space management and table management. There were problems such as the need for double management of segment free space management.

本発明は前述した問題点を除去し、情報転送に
関わる動作を少なくし、しかも共有メモリの構成
やその管理を簡単になし得る情報転送方式を提供
することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide an information transfer method that eliminates the above-mentioned problems, reduces the number of operations involved in information transfer, and makes it possible to easily configure and manage a shared memory.

(問題点を解決するための手段) 本発明では前記目的を達成するため、2つの装
置よりアクセス可能な共有メモリを介して、該2
つの装置間の情報転送を行なう情報転送方式にお
いて、前記共有メモリを同一の容量を有し且つそ
れぞれの位置が既知な複数のデータ・バツフアの
みで構成するとともに、転送情報を蓄積したデー
タ・バツフアを示す番号情報からなる転送要求
を、前記2つの装置間で直接、送受信する手段を
設け、前記各データ・バツフアに、転送情報の長
さを示す長さ情報及びその他の転送を制御する制
御情報を格納する制御情報エリアと、転送情報を
格納する転送情報エリアとを連続的に設定した。
(Means for Solving the Problems) In order to achieve the above object, the present invention provides two devices via a shared memory that can be accessed by the two devices.
In an information transfer method that transfers information between two devices, the shared memory is configured only with a plurality of data buffers that have the same capacity and whose positions are known, and the data buffer that has accumulated transfer information is means for directly transmitting/receiving a transfer request consisting of number information indicated between the two devices, and each data buffer is provided with length information indicating the length of the transfer information and other control information for controlling transfer. A control information area for storing and a transfer information area for storing transfer information are set consecutively.

(作用) 本発明によれば、転送情報を格納したデータ・
バツフアを示す番号情報を送るのみで転送要求を
出すことができ、該データ・バツフアの内容を読
出すことにより、転送情報とともに該転送情報の
長さを示す長さ情報及びその他の転送を制御する
制御情報を得ることができる。
(Operation) According to the present invention, data storing transfer information
A transfer request can be issued simply by sending number information indicating the buffer, and by reading the contents of the data buffer, length information indicating the length of the transfer information as well as other transfers can be controlled. Control information can be obtained.

(実施例) 第1図は本発明方式の一実施例を示すもので、
図中、第2図と同一構成部分は同一符号をもつて
表わす。即ち、10aはレイヤ2装置、20はレ
イヤ3装置、40は共有メモリである。
(Example) Figure 1 shows an example of the method of the present invention.
In the figure, the same components as in FIG. 2 are denoted by the same reference numerals. That is, 10a is a layer 2 device, 20 is a layer 3 device, and 40 is a shared memory.

レイヤ2装置10aは、シリアルデータインタ
フエース(SDI)11と、プロセツサ(CPU)1
2と、リードオンリメモリ(ROM)13と、ラ
ンダムアクセスメモリ(RAM)14と、ダイレ
クトメモリアクセスコントローラ(DMAC)1
5と、出力ポート16と、入力ポート17とを備
えている。
The layer 2 device 10a includes a serial data interface (SDI) 11 and a processor (CPU) 1.
2, read-only memory (ROM) 13, random access memory (RAM) 14, and direct memory access controller (DMAC) 1
5, an output port 16, and an input port 17.

出力ポート16および入力ポート17は、レイ
ヤ2装置10aとレイヤ3装置20との間で直
接、コマンドをやりとりするためのもので、それ
ぞれ受信リクエストRRQをレイヤ3装置20に
通知し、レイヤ3装置20より通知された送信リ
クエストSRQを受ける。前記受信リクエスト
RRQ,送信リクエストSRQの内容は、共有メモ
リ40における転送情報の蓄積されたデータ・バ
ツフアを示す番号情報、ここでは後述するデータ
バツフアナンバである。
The output port 16 and the input port 17 are for directly exchanging commands between the layer 2 device 10a and the layer 3 device 20, and each notify the layer 3 device 20 of the received request RRQ, and the layer 3 device 20 Receive the transmission request SRQ notified by. The received request
The contents of the RRQ and transmission request SRQ are number information indicating a data buffer in which transfer information is stored in the shared memory 40, here a data buffer number to be described later.

第4図は共有メモリ40の構成を示すもので、
同一の容量を有し且つそれぞれの位置、ここでは
先頭アドレスが既知な複数のデータ・バツフア4
1−0,41−1,41−2,……41−nから
なつており、各データ・バツフア41−0,41
−1,41−2,……41−nにはそれぞれを区
別するためのデータバツフアナンバ(DBNO)
0,1,2,……nが付与されている。また、各
データ・バツフア41−0〜41−nは、制御情
報エリア42−0〜42−nと、転送情報エリア
43−0〜43−nとからなつている。
FIG. 4 shows the configuration of the shared memory 40.
A plurality of data buffers 4 each having the same capacity and each having a known starting address.
1-0, 41-1, 41-2, ...41-n, and each data buffer 41-0, 41
-1, 41-2, ...41-n have data buffer numbers (DBNO) to distinguish between them.
0, 1, 2,...n are assigned. Further, each data buffer 41-0 to 41-n consists of control information areas 42-0 to 42-n and transfer information areas 43-0 to 43-n.

制御情報エリア42−0〜42−nには、転送
情報の長さを示す長さ情報L、およびレイヤ2装
置10aが多重リンク処理を行なつている場合に
必要となるリンク種別等の両装置間の情報である
レイヤ間情報が格納される。また、転送情報エリ
ア43−0〜43−nには転送情報が蓄積され
る。なお、共有メモリ40は、他の転送のための
情報エリア、テーブル等を有しないものとする。
The control information areas 42-0 to 42-n contain length information L indicating the length of the transfer information, and information such as the link type required when the layer 2 device 10a is performing multiple link processing. Interlayer information, which is information between layers, is stored. Further, transfer information is accumulated in the transfer information areas 43-0 to 43-n. It is assumed that the shared memory 40 does not have any other information areas, tables, etc. for transfer.

次にレイヤ3装置20→レイヤ2装置10aの
情報転送を例にとつて動作を説明する。
Next, the operation will be described using information transfer from the layer 3 device 20 to the layer 2 device 10a as an example.

(1) レイヤ3装置20は空きのデータ・バツフ
ア、例えば41−0の転送情報エリア43−0
に転送情報を書込む。
(1) The layer 3 device 20 has an empty data buffer, for example, the transfer information area 43-0 of 41-0.
Write transfer information to.

(2) レイヤ3装置20は転送情報の長さ、および
レイヤ間情報を書込む。
(2) Layer 3 device 20 writes the length of transfer information and interlayer information.

(3) レイヤ3装置20はレイヤ2装置10aに対
し、入力ポート17を介して受信リクエスト
SRQ、ここでは転送情報が書込まれたDBNO
「0」を通知する。
(3) The layer 3 device 20 requests the layer 2 device 10a to receive the request via the input port 17.
SRQ, here the DBNO where the transfer information is written
Notify "0".

(4) レイヤ2装置10aは、通知されたDBNO
「0」を読取り、次にそのデータ・バツフア4
1−0の制御情報エリア42−0内の長さ情報
Lを読取る。
(4) The layer 2 device 10a receives the notified DBNO.
Read “0” and then write that data buffer 4
The length information L in the control information area 42-0 of 1-0 is read.

(5) データ・バツフア41−0の転送情報エリア
43−0内の情報をレイヤ間情報で示されるリ
ンクに、又はその情報に従つた内容で情報フイ
ールドに挿入しながら、情報フレームをSDI1
1を介してレイヤ1装置(図示せず)に対して
送出する。
(5) While inserting the information in the transfer information area 43-0 of the data buffer 41-0 into the link indicated by the interlayer information or into the information field with the content according to that information, insert the information frame into the SDI1
1 to a layer 1 device (not shown).

(6) この際、送出しながら、送出情報のビツト数
をカウントし、前記長さ情報Lと比較し、転送
が完了したかどうかをチエツクする。
(6) At this time, while transmitting, the number of bits of the transmitted information is counted and compared with the length information L to check whether the transfer is completed.

このように本実施例によれば、長さ情報Lやレ
イヤ間情報等の制御情報はデータ・バツフア内に
格納され、転送要求は直接、DBNOを送ること
により行なわれるため、従来のようにテーブルを
共有メモリ内に設ける必要がなく、共有メモリの
構成が簡単となり、また、データ・バツフアにア
クセスするのみで、転送情報とともに前記制御情
報を得ることができ、1回のメモリアクセスで済
み、さらにデータ・バツフア41−0〜41−n
を管理するのみで良く、メモリ管理の負担が軽減
される。
In this way, according to this embodiment, control information such as length information L and interlayer information is stored in the data buffer, and transfer requests are made by directly sending a DBNO, so that the control information such as length information L and interlayer information is does not need to be provided in the shared memory, which simplifies the configuration of the shared memory.Also, the control information can be obtained along with the transfer information just by accessing the data buffer, and only one memory access is required. Data buffer 41-0 to 41-n
The burden of memory management is reduced.

なお、前記実施例では、転送要求を入力(又は
出力)ポートを介して送つているが、これに限定
されるものではない。また、各データ・バツフア
内の制御情報エリアおよび転送情報エリアの配置
は任意に定めることができ、図示のものに限定さ
れるものではない。
Note that in the embodiment described above, the transfer request is sent via the input (or output) port, but the present invention is not limited to this. Furthermore, the arrangement of the control information area and transfer information area within each data buffer can be arbitrarily determined and is not limited to what is shown in the drawings.

第5図は本発明の他の実施例を示すもので、こ
こでは共有メモリとしてページメモリを用いた例
を示す。即ち、図中、50−0〜50−nは互い
に独立なページメモリ(PM)であり、同一の容
量を有し且つそれぞれの位置、ここではページア
ドレスが既知な複数(ここではn個)のメモリか
らなつている。また、各PM50−0〜50−n
にはそれぞれを区別するための番号(ナンバ)
#0〜#nが付与されている。また、11はシリ
アルデータインタフエース(SDI)、12はプロ
セツサ(CPU)、18,19は入出力ポート
(port0,port1)である。入出力ポート18,
19は前記実施例における出力ポートと入力ポー
トとを一緒にしたものであり、図示しない2つの
レイヤ3装置にそれぞれ接続されている。また、
11a,12a,18a,19aは各装置のデー
タバスであり、データバス11a,18a,19
aは全てデータバス12aに接続されている。ま
た、前記各PM50−1〜50−nは、前記デー
タバス11a,12a,18a,19aのいずれ
の配下で動作するかを、CPU12により、独立
に(ロータリースイツチ的に)切換え制御される
如くなつている。
FIG. 5 shows another embodiment of the present invention, in which a page memory is used as the shared memory. That is, in the figure, 50-0 to 50-n are mutually independent page memories (PM), which have the same capacity and each location (in this case, page address) is known. It comes from memory. In addition, each PM50-0 to 50-n
has a number to distinguish each
#0 to #n are assigned. Further, 11 is a serial data interface (SDI), 12 is a processor (CPU), and 18 and 19 are input/output ports (port0, port1). Input/output port 18,
Reference numeral 19 is a combination of the output port and the input port in the above embodiment, and each is connected to two layer 3 devices (not shown). Also,
11a, 12a, 18a, 19a are data buses of each device; data buses 11a, 18a, 19
a are all connected to the data bus 12a. Further, each of the PMs 50-1 to 50-n is controlled by the CPU 12 to switch independently (rotary switch-like) which of the data buses 11a, 12a, 18a, and 19a they operate under. ing.

次にレイヤ3装置→レイヤ2装置の情報転送を
例にとつて動作を説明する。
Next, the operation will be explained using information transfer from layer 3 device to layer 2 device as an example.

(1) 情報転送の要求が生じたレイヤ3装置は、接
続されている入出力ポート、例えば18を介し
て、空きのPM、例えば50−0をそのデータ
バス18aの配下で動作できるように制御し、
転送する情報を書込む。また、本発明に従つて
長さ情報L、レイヤ間情報を書込む。
(1) The layer 3 device that has received the request for information transfer controls a vacant PM, for example 50-0, to operate under its data bus 18a via the connected input/output port, for example 18. death,
Write the information to be transferred. Further, according to the present invention, length information L and interlayer information are written.

(2) レイヤ3装置は情報の書込みが終了すると、
入出力ポート18を介してCPU12に対し、
転送要求、即ち情報が書込まれているページメ
モリのナンバ、ここでは「#0」を通知する。
(2) When the layer 3 device finishes writing information,
To the CPU 12 via the input/output port 18,
The transfer request, that is, the page memory number in which the information is written, here "#0", is notified.

(3) CPU12は入出力ポート18からの通知が
あると、そのページメモリ50−0の自装置の
データバス12aの配下で動作するように切換
える。
(3) When the CPU 12 receives a notification from the input/output port 18, it switches the page memory 50-0 to operate under its own data bus 12a.

(4) CPU12は前記PM50−0の内容を本発明
に従つて処理する。
(4) The CPU 12 processes the contents of the PM 50-0 according to the present invention.

このように本発明は、レイヤ2装置とレイヤ3
装置との間の転送手段がDMACによるものだけ
でなく、他の手段の場合でも有効となり、デー
タ・バツフアだけで構成できる等の理由により、
前記ページメモリを用いた転送方式のように、各
データ・バツフアだけで構成するのが適している
場合には特に有効となる。
In this way, the present invention provides a layer 2 device and a layer 3 device.
This is effective not only when the means of transfer between devices is DMAC, but also when other means are used, and it can be configured with only a data buffer.
This is particularly effective in a case where it is appropriate to configure each data buffer only, such as in the transfer method using the page memory.

なお、これまではレイヤ2装置とレイヤ3装置
との間の情報転送について説明したが、レイヤ2
装置以下とレイヤ3装置以上との間、もしくはレ
イヤ3装置以下とレイヤ4装置以上との間におけ
る情報転送においても有効であり、その他、あら
ゆる装置に適用できる。
Up to now, information transfer between layer 2 devices and layer 3 devices has been explained, but layer 2
It is also effective for information transfer between a device below and a layer 3 device or above, or between a layer 3 device or below and a layer 4 device or above, and can be applied to all other devices.

(発明の効果) 以上説明したように本発明によれば、転送情報
の長さを示す長さ情報及びその他の転送を制御す
る制御情報はデータ・バツフア内に格納され、転
送要求は直接、データ・バツフアを示す番号情報
を送ることにより行なわれるため、従来のように
テーブルを共有メモリ内に設ける必要がなく、共
有メモリの構成が簡単となるとともに、転送要求
のデータ量が少なくて済むので、転送情報が大量
にある、即ち複数のデータ・バツフアを使用する
ような場合でもその送受にかかる負担が小さくて
済み、また、データ・バツフアにアクセスするの
みで、転送情報とともに該転送情報の長さを示す
長さ情報及びその他の転送を制御する制御情報を
得ることができ、1回のメモリアクセスで済み、
さらにデータ・バツフアを管理するのみで良く、
メモリ管理の負担が軽減される等の利点がある。
(Effects of the Invention) As explained above, according to the present invention, length information indicating the length of transfer information and other control information for controlling transfer are stored in the data buffer, and transfer requests are directly sent to the data buffer.・Since this is done by sending number information indicating the buffer, there is no need to provide a table in the shared memory as in the past, which simplifies the configuration of the shared memory and reduces the amount of data in the transfer request. Even when there is a large amount of transferred information, that is, when multiple data buffers are used, the burden of sending and receiving it is small, and by simply accessing the data buffer, the length of the transferred information can be changed along with the transferred information. Length information indicating the transfer and other control information for controlling the transfer can be obtained, and only one memory access is required.
Furthermore, all you need to do is manage the data buffer.
This has the advantage of reducing the burden of memory management.

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

第1図は本発明の情報転送方式の一実施例を示
すシステム構成図、第2図は従来の情報転送方式
によるシステム構成の一例を示す図、第3図は従
来の共有メモリの構成を示す図、第4図は本発明
による共有メモリの構成を示す図、第5図は本発
明の他の実施例を示すシステム構成図である。 10a……レイヤ2装置、11……シリアルデ
ータインタフエース、12……プロセツサ、15
……ダイレクトメモリアクセスコントローラ、1
6……出力ポート、17……入力ポート、20…
…レイヤ3装置、40……共有メモリ、41−0
〜41−n……データ・バツフア、42−0〜4
2−n……制御情報エリア、43−0〜43−n
……転送情報エリア。
FIG. 1 is a system configuration diagram showing an embodiment of the information transfer method of the present invention, FIG. 2 is a diagram showing an example of a system configuration using a conventional information transfer method, and FIG. 3 is a diagram showing the configuration of a conventional shared memory. 4 are diagrams showing the configuration of a shared memory according to the present invention, and FIG. 5 is a system configuration diagram showing another embodiment of the present invention. 10a...Layer 2 device, 11...Serial data interface, 12...Processor, 15
...Direct memory access controller, 1
6...Output port, 17...Input port, 20...
...Layer 3 device, 40...Shared memory, 41-0
~41-n...Data buffer, 42-0~4
2-n...Control information area, 43-0 to 43-n
...Transfer information area.

Claims (1)

【特許請求の範囲】 1 2つの装置よりアクセス可能な共有メモリを
介して、該2つの装置間の情報転送を行なう情報
転送方式において、 前記共有メモリを同一の容量を有し且つそれぞ
れの位置が既知な複数のデータ・バツフアのみで
構成するとともに、 転送情報を蓄積したデータ・バツフアを示す番
号情報からなる転送要求を、前記2つの装置間で
直接、送受信する手段を設け、 前記各データ・バツフアに、転送情報の長さを
示す長さ情報及びその他の転送を制御する制御情
報を格納する制御情報エリアと、転送情報を格納
する転送情報エリアとを連続的に設定した ことを特徴とする情報転送方式。
[Claims] 1. In an information transfer method for transferring information between two devices via a shared memory accessible by the two devices, the shared memory has the same capacity and each location is Consisting only of a plurality of known data buffers, a means is provided for directly transmitting and receiving a transfer request consisting of number information indicating a data buffer that has accumulated transfer information between the two devices, and each of the data buffers Information characterized in that a control information area for storing length information indicating the length of the transfer information and other control information for controlling the transfer, and a transfer information area for storing the transfer information are successively set. Transfer method.
JP60287244A 1985-12-20 1985-12-20 Information transfer system Granted JPS62145450A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60287244A JPS62145450A (en) 1985-12-20 1985-12-20 Information transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60287244A JPS62145450A (en) 1985-12-20 1985-12-20 Information transfer system

Publications (2)

Publication Number Publication Date
JPS62145450A JPS62145450A (en) 1987-06-29
JPH0426742B2 true JPH0426742B2 (en) 1992-05-08

Family

ID=17714894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60287244A Granted JPS62145450A (en) 1985-12-20 1985-12-20 Information transfer system

Country Status (1)

Country Link
JP (1) JPS62145450A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0251759A (en) * 1988-08-15 1990-02-21 Fujitsu Ltd Adaptor controlling system
EP0859326A3 (en) 1997-02-14 1999-05-12 Canon Kabushiki Kaisha Data transmission apparatus, system and method, and image processing apparatus
JP4833162B2 (en) * 2007-07-11 2011-12-07 株式会社三井ハイテック Laminated iron core

Also Published As

Publication number Publication date
JPS62145450A (en) 1987-06-29

Similar Documents

Publication Publication Date Title
US5574944A (en) System for accessing distributed memory by breaking each accepted access request into series of instructions by using sets of parameters defined as logical channel context
US6925512B2 (en) Communication between two embedded processors
CN102918515B (en) Store data in the multiple impact dampers in Memory Controller any in
JPH09293015A (en) Memory system and semiconductor storage device used therein
US6182164B1 (en) Minimizing cache overhead by storing data for communications between a peripheral device and a host system into separate locations in memory
US5265228A (en) Apparatus for transfer of data units between buses
JPH0426742B2 (en)
US6026032A (en) High speed data buffer using a virtual first-in-first-out register
JPH0378660B2 (en)
US20040193830A1 (en) Method and apparatus for address translation pre-fetch
KR100950356B1 (en) Data transfer unit with support for multiple coherency granules
JPH0471060A (en) Semiconductor integrated circuit
JP3178474B2 (en) Communication control device
JP2546901B2 (en) Communication control device
EP0789363B1 (en) Memory system and data communications system
JPS63259746A (en) Inter-bank-memory data transmission system
EP1668525B1 (en) Data transfer management method, software and system
US20020125501A1 (en) Integrated circuit
JPH0115100B2 (en)
JPH01274547A (en) Transmission buffer release control system
JPH0831069B2 (en) High-speed communication bus window controller
JPS59205640A (en) Data link system of programmable controller
KR100369363B1 (en) Apparatus for data transmitting and receiving between host system and microcontroller of local system using memory
JPH0410050A (en) Computer system
JPH07141283A (en) Data transfer system transferring data through main memory