JPS61100049A - Packet exchange line control system - Google Patents

Packet exchange line control system

Info

Publication number
JPS61100049A
JPS61100049A JP59222665A JP22266584A JPS61100049A JP S61100049 A JPS61100049 A JP S61100049A JP 59222665 A JP59222665 A JP 59222665A JP 22266584 A JP22266584 A JP 22266584A JP S61100049 A JPS61100049 A JP S61100049A
Authority
JP
Japan
Prior art keywords
packet
buffer
main memory
area
idle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP59222665A
Other languages
Japanese (ja)
Inventor
Kiichiro Ito
伊藤 喜一郎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP59222665A priority Critical patent/JPS61100049A/en
Publication of JPS61100049A publication Critical patent/JPS61100049A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE:To attain effective use of a data part by separating a buffer area storing a reception packet into a header part and the data part of the packet. CONSTITUTION:In designating a reception command by the type of command, a packet header buffer is concentrated on a specific area of a main memory 12 and an area continuous to a packet header processing program is assigned. The inside of the main memory 12 is provided with an idle buffer list table consecutive to a channel command area and idle packet data buffers are regis tered in the table. a link level control part 2 reads the channel command, accesses the idle buffer list table to reserve one of idle buffers. When the data of the reception buffer is long, an additional idle buffer is reserved at a required point of time.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、パケット交換システムにおいて網と端末との
間のデー゛夕伝送制御を実現するための通信制御方式に
関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a communication control method for realizing data transmission control between a network and a terminal in a packet switching system.

(従来の一技術) 従来、この種のパケット交換機における回線制御部はパ
ケットレベルの処理を行うプロセサ部と、リンクレベル
の処理を行うリンクレベル制御部とにより構成されてい
た。リンクレベル制御部はリンクレベルプロトコル処理
の他ニ、送受信データをプロセサ部へ転送するためのチ
ャネル機能、ならびにデータを回線へ送受するための回
線制御機能を含んでいた。
(Conventional Technology) Conventionally, a line control section in this type of packet switching equipment has been comprised of a processor section that performs packet-level processing and a link-level control section that performs link-level processing. In addition to link level protocol processing, the link level control section included a channel function for transferring transmitted and received data to the processor section, and a line control function for transmitting and receiving data to and from the line.

第1図は、従来技術によるパケット交換回線  。FIG. 1 shows a packet switching line according to the prior art.

制御方式の一例を実現するための機器構成を示すブロッ
ク図である。第1図においてプロセサ部1はプロセサユ
ニット11と、メインメモリ12とによって構成され、
リンクレベル制御部2はメモリアクセス制御部21 ト
、マイクロコントローラ22と、回線制御部23とによ
り構成されている。リンクレベル制御部2′はリンクレ
ベル制御部2と同じ構成のものである。
FIG. 2 is a block diagram showing a device configuration for realizing an example of a control method. In FIG. 1, the processor section 1 is composed of a processor unit 11 and a main memory 12.
The link level control section 2 includes a memory access control section 21 , a microcontroller 22 , and a line control section 23 . The link level control section 2' has the same configuration as the link level control section 2.

プロセサ部lからリンクレベル制御部2の割部はメイン
メモリ12の内部にチャネルコマンドを設定し、リンク
レベル制御部2がメインメモリ12からチャネルコマン
ドを記取って実行することにより実現される。送受信デ
ータのリンクレベル1NIJ#J部2とプロセサ部lと
の間の転送はチャネルコマンドに従い、リンクレベル制
御部2からメインメモリ12にアクセスすることにより
行われる。
The division from the processor section l to the link level control section 2 is realized by setting a channel command in the main memory 12, and having the link level control section 2 record the channel command from the main memory 12 and execute it. Transfer of transmitted/received data between the link level 1 NIJ#J section 2 and the processor section 1 is performed by accessing the main memory 12 from the link level control section 2 in accordance with a channel command.

以上は既に公知の技術であるので、詳細は省略する。Since the above is already a well-known technique, the details will be omitted.

リンクレベル制御部2が上記の機能を実現するには、チ
ャネルコマンドの読取り、解釈、送受信アドレスの算出
、ならびにコマンド終了の監視が必要である。これらは
、マイクロコントローラ22のソフトウェアによって実
現される。
In order for the link level control unit 2 to realize the above functions, it is necessary to read and interpret channel commands, calculate sending and receiving addresses, and monitor command completion. These are realized by the software of the microcontroller 22.

メモリアクセス1司御部21はマイクロコントローラ2
2からのメモリアクセス指示に従って、メインメモIJ
12への書込み/読出しを行うための回路である。
Memory access 1 controller 21 is microcontroller 2
According to the memory access instructions from 2, main memo IJ
This is a circuit for writing/reading to/from 12.

第4図は、チャネルコマンドの内部に受信パケットバッ
ファアドレス、およびそのパケットバッファ長を指定で
きるフォーマットを示ス説明図である。
FIG. 4 is an explanatory diagram showing a format in which a receive packet buffer address and the packet buffer length can be specified within a channel command.

(発明が解決しようとする問題点) 第4図において、パケットヘッダ部のみが存在する場合
には受信パケット長が非常に短く、bつぼり、パケット
データ部を含む時には長くなって込る。斯かる方式では
、パケットを受信するまでは、パケット長が長すか、あ
るbは短いかは判断できなりため、バケットバッファ長
は長く指定しなければならず、長bバッファ長のバッフ
ァに短いパケットヘッダしか入らず、無駄な空エリアを
生ずると云う欠点があった。
(Problems to be Solved by the Invention) In FIG. 4, when only the packet header section is present, the length of the received packet is very short, and when it includes the packet data section, it becomes long. In such a method, until a packet is received, it is not possible to judge whether the packet length is long or a certain b is short, so the bucket buffer length must be specified as long, and short packets are stored in a buffer with a long b buffer length. It has the disadvantage that only the header can be entered, creating a wasteful empty area.

また、上記においてはプロセサ部lのプロセサユニット
11として8ビツト、なりしは16ビツトのマイクロプ
ロセサを使用する場合には、命令によりダイレクトアク
セスしつるメインメモリエリアが制限される。従って、
実装可能なメモリサイズの制約からプロセサユニット1
1の処理能かの低下、およびメインメモリ12の容量不
足を生じさせると云う欠点があった。
Further, in the above case, when an 8-bit, or 16-bit, microprocessor is used as the processor unit 11 of the processor section 1, the main memory area that can be directly accessed by instructions is limited. Therefore,
Processor unit 1 due to constraints on the memory size that can be implemented
However, this method has disadvantages in that it causes a decrease in the processing performance of the main memory 12 and an insufficient capacity of the main memory 12.

本発明のp的は、受信パケットを格納するバッファエリ
アをパケットのヘッダ部とデータ部とに分離することに
よって上記欠点を除去し、データ部の有効利用を可能と
するように構成したパケット交換回線制御方式を提供す
ることにある。
The object of the present invention is to eliminate the above-mentioned drawbacks by separating the buffer area for storing received packets into the header section and the data section of the packet, and to provide a packet switching line configured to enable effective use of the data section. The objective is to provide a control method.

(問題点を解決するための手段) 本発明によるパケット交換回線制御方式は、プロセサユ
ニットならびにメインメモリを備えてパケットレベルの
処理を行うだめのプロセサ部と、メモリアクセス部、マ
イクロコントローラ、ならびに回路制御部を備えてリン
クレベルの処理を行うための1台以上のリンクレベル制
御部とを具備し、パケット交換機の回線インターフェー
スの通信制御を実現するための方式を改良したものであ
る。
(Means for Solving the Problems) The packet switching line control system according to the present invention includes a processor unit and a main memory for performing packet level processing, a memory access unit, a microcontroller, and a circuit control system. This is an improved method for realizing communication control of a line interface of a packet switch, and includes one or more link level control units for performing link level processing.

本発明においては、上記構成におりてメインメモリが少
なくともチャネルコマンドエリアと、空バッファ一覧テ
ーブルエリアとを具備して構成したものである。
In the present invention, the main memory is configured to include at least a channel command area and an empty buffer list table area in the above configuration.

チャネルコマンドエリアは、チャネルコマンドを設定す
るためのものである。
The channel command area is for setting channel commands.

空バッファ一覧テーブルエリアは、リンクレベル制御部
によりひとつの空バッファを確保して受信パケットデー
タのために使用するに際して参照するためのものである
The empty buffer list table area is for reference when securing one empty buffer by the link level control unit and using it for received packet data.

(実 施 例) 次に、本発明につbて図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は、本発明によるパケット交換回線制御方式を実
現するためのチャネルコマンドのフォーマットの一実施
例を示す説明図である。
FIG. 1 is an explanatory diagram showing an example of the format of a channel command for realizing the packet-switched line control system according to the present invention.

第2図は、本発明によって行ったメインメモリ12のエ
リア割付けの一例を示す説明図である。
FIG. 2 is an explanatory diagram showing an example of area allocation of the main memory 12 performed according to the present invention.

第1図においてコマンド種別で受信コマンドを指定した
時には、このチャネルコマンドの内部はパケットへラダ
バッファの先頭アドレスのみを指定している。パケット
へラダバッファのバッファ長は固定して、チャネルコマ
ンドの内部にバッファ長を指定することは不要である。
In FIG. 1, when a receive command is designated as the command type, only the top address of the ladder buffer is designated to the packet inside this channel command. The buffer length of the ladder buffer for packets is fixed, and there is no need to specify the buffer length inside the channel command.

パケットへラダバッファは第2図に示すように、メイン
メモリ12の特定エリアに集中され、パケットヘッダ処
理プログラムと連続したエリアが割付けられている。メ
インメモリ12の内部には、チャネルコマンドエリアに
連続して空バッファ一覧テーブルがあり、ここに空のパ
ケットデータバッファが登鎌されてbる。
As shown in FIG. 2, the packet ladder buffer is concentrated in a specific area of the main memory 12, and an area continuous with the packet header processing program is allocated. Inside the main memory 12, there is an empty buffer list table that is continuous to the channel command area, and empty packet data buffers are placed here.

リンクレベル制御部2はチャネルコマンドを読泡った後
、上記の空バッファ一覧テーブルにアクセスして空バッ
ファをひとつリザーブする。
After reading the channel command, the link level control unit 2 accesses the empty buffer list table and reserves one empty buffer.

受信パケットのデータが長A時には、必要な時点で追加
の空バッファをリザーブする。
When the received packet data is of length A, an additional empty buffer is reserved at the necessary time.

(発明の効果) 以上説明したように本発明では、第1にパケットへラダ
バッファエリアがパケットヘッダ処挿プログラムと運動
して確保でき、その処理速度の向上による高速化が図れ
ると云う効果があり、第2にバケットデータバッファは
共通プールより受信パケットの長さに応じた必要数を、
その時点で確保できることからバケットデータバッファ
の使用率を向上でき、必要とされるメインメモリの容量
の削減が図れると云う効果がある。
(Effects of the Invention) As explained above, the present invention has the first effect that the ladder buffer area for the packet can be secured by working with the packet header processing program, and that the processing speed can be increased by improving the processing speed. , Second, the required number of bucket data buffers are allocated from the common pool according to the length of the received packet.
Since it can be secured at that point, the usage rate of the bucket data buffer can be improved, and the required main memory capacity can be reduced.

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

第1図は、本発明により実現するチャネルコマンドのフ
ォーマットの一例を示す説明図である。 第2図は、本発明によシ実現するメインメモリエリアの
割付けの一例を示す説明図である。 第3図は、従来から採用されているパケット   ゛交
換回線制御方式を実現する機器構成例を示すブロック図
である。 第4図は、従来技術により実現するチャネルコマンドの
フォーマットの一例を示す説明図である。 1・・・プロセサ部 2.2′・・・リンクレベル制御部 11・・・プロセサユニット 12・・・メインメモリ 21・・・メモリアクセス制御線 22・・・マイクロコントローラ 23・・・回線制御部 特許出願人  日本電気株式会社 代理人 弁理士 井 ノ ロ   壽 第1図 22図
FIG. 1 is an explanatory diagram showing an example of the format of a channel command realized by the present invention. FIG. 2 is an explanatory diagram showing an example of main memory area allocation realized according to the present invention. FIG. 3 is a block diagram showing an example of a device configuration for realizing a conventionally employed packet switching line control system. FIG. 4 is an explanatory diagram showing an example of the format of a channel command realized by the prior art. 1... Processor unit 2.2'... Link level control unit 11... Processor unit 12... Main memory 21... Memory access control line 22... Microcontroller 23... Line control unit Patent Applicant NEC Corporation Agent Patent Attorney Hisashi Inoro Figure 1 Figure 22

Claims (1)

【特許請求の範囲】[Claims] プロセサユニットならびにメインメモリを備えてパケッ
トレベルの処理を行うためのプロセサ部と、メモリアク
セス制御部、マイクロコントローラー、ならびに回線制
御部を備えてリンクレベルの処理を行うための1台以上
のリンクレベル制御部とを具備し、パケット交換機の回
線インターフェースの通信制御を実現するためのパケッ
ト交換回線制御方式において、前記メインメモリが少な
くともチャネルコマンドを設定するためのチャネルコマ
ンドエリアと、前記リンクレベル制御部によりひとつの
空バッファを確保して受信パケットデータのために使用
するに際して参照するための空バッファ一覧テーブルエ
リアとを具備して構成したことを特徴とするパケット交
換回線制御方式。
One or more link-level controllers that include a processor unit and a main memory to perform packet-level processing, a memory access control unit, a microcontroller, and a line control unit to perform link-level processing In the packet switching line control method for realizing communication control of a line interface of a packet switch, the main memory includes at least a channel command area for setting channel commands, and a channel command area for setting channel commands; and an empty buffer list table area for reference when securing empty buffers and using them for received packet data.
JP59222665A 1984-10-23 1984-10-23 Packet exchange line control system Pending JPS61100049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59222665A JPS61100049A (en) 1984-10-23 1984-10-23 Packet exchange line control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59222665A JPS61100049A (en) 1984-10-23 1984-10-23 Packet exchange line control system

Publications (1)

Publication Number Publication Date
JPS61100049A true JPS61100049A (en) 1986-05-19

Family

ID=16786008

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59222665A Pending JPS61100049A (en) 1984-10-23 1984-10-23 Packet exchange line control system

Country Status (1)

Country Link
JP (1) JPS61100049A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7145403B2 (en) 2003-12-11 2006-12-05 Fujitsu Limited Static magnetic field applying structure for use in atomic oscillator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7145403B2 (en) 2003-12-11 2006-12-05 Fujitsu Limited Static magnetic field applying structure for use in atomic oscillator

Similar Documents

Publication Publication Date Title
EP0308408B1 (en) Information transfer method and arrangement
JPH0821013B2 (en) Direct memory access order competition control method
JPS61100049A (en) Packet exchange line control system
JPH0744567B2 (en) Communication interface device
JPS61103340A (en) Packet exchange line control system
JPS6165649A (en) Communication control system
JPS61195439A (en) Remote file access system
JPS6121654A (en) Communication controller
JPS6121656A (en) Communication control system
JPH04331535A (en) Data transfer controller
JP2504478B2 (en) Facsimile storage and switching equipment
JPS6156545A (en) Control system of packet exchange circuit
JPS59230346A (en) Buffering system of transmission/reception data of transmitter
JPS6121655A (en) Communication controller
JPH05268291A (en) Data buffer management system
US7177997B2 (en) Communication bus system
JP2553086B2 (en) Bus control system for storage / exchange processing unit
JPS6029987B2 (en) Data transfer control method
JPH05276221A (en) Reception control system
JPH04316246A (en) Data exchange system for network system
JPS5830256A (en) Communication controller
JPH0311142B2 (en)
JPH04314157A (en) Communication equipment
JPS60245339A (en) Packet exchange controlling system
JPH0511453B2 (en)