[go: up one dir, main page]

JPH031635A - Transmission queue management equipment - Google Patents

Transmission queue management equipment

Info

Publication number
JPH031635A
JPH031635A JP1136706A JP13670689A JPH031635A JP H031635 A JPH031635 A JP H031635A JP 1136706 A JP1136706 A JP 1136706A JP 13670689 A JP13670689 A JP 13670689A JP H031635 A JPH031635 A JP H031635A
Authority
JP
Japan
Prior art keywords
transmission
destination
queue
memory
transmission queue
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1136706A
Other languages
Japanese (ja)
Inventor
Mitsugi Anezaki
姉崎 貢
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 JP1136706A priority Critical patent/JPH031635A/en
Publication of JPH031635A publication Critical patent/JPH031635A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To update transmission queue information and to quicken the processing by transferring information to one memory when confirmation of transmittal is received from a transmission opposite party at high speed and inverting the content of the destination. CONSTITUTION:Upon the receipt of R sets of transmittal confirmation information from a transmission destination I, when a CPU sets the destination number of opposite party to an I 12 and the number of opposite parties to an R 15, a CTL 10 reads the number of transmission queues from an N 19 and an N-R 26 calculates a difference between the numbers N and R. After the number is set to the head of the transmission queue of other high speed memory MB 3 than the high speed memory designated by a TBL 11, the number R receiving the transmittal confirmation is incremented sequentially by a C 14 and the result is inputted to a FIFO 4. Till the end of the transmission queue is detected, the content of the block number of the transmission queue is transferred sequentially, and the content of a memory selection table of the destination I is inverted after the end of transfer.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は送信待ちキュー管理装置に関し、特に複数の相
手先ごとに送信待ちフレームのブロック番号を記憶して
管理する送信待ちキュー管理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a transmission queue management device, and more particularly to a transmission queue management device that stores and manages block numbers of frames waiting to be transmitted for each of a plurality of destinations.

〔従来の技術〕[Conventional technology]

従来、通信相手先が複数存在する場合には相手先ごとに
送信待ちキューを構成し、ソフトウェアがこの送信待ち
キューの接続のチエイニングポインタを操作することに
より送信待ちキューへの積込みと取出しを行っていた。
Conventionally, when there are multiple communication destinations, a transmission waiting queue is configured for each destination, and software loads and takes out data from the transmission waiting queue by manipulating the chaining pointer of the connection of this transmission waiting queue. was.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の送信待ちキュー管理装置では、送信待ち
キューの接続のポインタをとたどらなくてはならないの
で、転送速度が早く、相手先の数が多く、また通信量が
多くなると、ソフトウェアの処理が増えて転送能力が低
下するという欠点がある。
In the conventional transmission queue management device described above, it is necessary to follow the connection pointer of the transmission queue, so when the transfer speed is high, the number of destinations is large, and the amount of communication is large, the software processing becomes difficult. There is a disadvantage that the transfer capacity decreases as the number increases.

本発明の目的は、相手先ごとの送信待ちキューの情報を
専用の高速メモリ上に梧成し、送達確認があったときに
この送達確認の個数分だけ先頭につめることにより、送
信待ちキューの管理を容易にし且つデータ通信用のプロ
セッサの処理能力を高めるようにした送信待ちキュー管
理装置を提供することにある。
An object of the present invention is to compile the information of the transmission waiting queue for each destination in a dedicated high-speed memory, and when there is a delivery confirmation, to fill the information in the transmission waiting queue by the number of delivery confirmations at the beginning. An object of the present invention is to provide a transmission queue management device that facilitates management and increases the processing ability of a processor for data communication.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の送信待ちキュー管理装置は、複数の相手先ごと
に送信待ち中のフレームのブロック番号を記憶する第1
.第2のメモリと接続され、送信相手先ごとに前記第1
.第2のメモリのどちらを選択するかを記憶するメモリ
選択テーブルと、送信相手先から送達確認があったとき
にこの相手先を記憶する第1のレジスタと、送達確認の
個数を記憶する第2のレジスタと、前記相手先の送信待
ちキューから前記送達確認のとれた個数分だけ先頭につ
めるための書込みカウンタと、前記第2のレジスタの内
容と前記書込みカウンタの値とを加算する加算器と、送
信待ちキューの後端を検出するための比較器とを備える
ことを特徴とする。
The transmission queue management device of the present invention includes a first transmission queue management device that stores block numbers of frames waiting to be transmitted for each of a plurality of destinations.
.. A second memory is connected to the first memory for each transmission destination.
.. a second memory selection table that stores which memory to select; a first register that stores the destination when a delivery confirmation is received from the destination; and a second memory that stores the number of delivery confirmations. a register, a write counter for filling the head of the destination's transmission waiting queue by the number of items for which delivery confirmation has been obtained, and an adder for adding the contents of the second register and the value of the write counter. , and a comparator for detecting the rear end of the transmission waiting queue.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

第1図において、送信待ちキュー管理装置(以下QMG
)1と、送信待ちキューの情報を記憶する2組の高速メ
モリ(以下MA2.MB3)と、送達確認のとれた送信
ブロックの番号をCPUへ通知するためのファーストイ
ン・ファーストアウトメモリ(以下F I FO)4と
を備えている。
In Figure 1, a transmission queue management device (hereinafter referred to as QMG)
)1, two sets of high-speed memories (hereinafter referred to as MA2 and MB3) that store information on the transmission waiting queue, and a first-in/first-out memory (hereinafter referred to as F IFO) 4.

QMGlは制御部(以下CTL)10と、メモリ選択テ
ーブル(以下TBL)11と、送達確認を受けた相手先
を記憶するレジスタ(以下I)12と、送信待ちキュー
への積込み又は参照する相手先Jを記憶するレジスタ(
以下J)13と、送達確認R個を受けたときに送信待ち
キューを先頭へつめる場合の書込みカウンタ(以下C)
14と、送達確認R個を記憶するレジスタ(以下R)1
5と、送達確認を受けたときに送信待ちキューを先頭に
つめる場合の読出しアドレス用の加算器(以下R+C)
16と、送信待ちのキューの内容を参照するときの先頭
からの番号Kを記憶するレジスタ(以下K)17と、同
一相手先に対して送信待ちキューを先頭につめていると
きに送信待ちキューの内容を参照する場合のアドレス加
算器(以下に+R)18と、送信待ちキューの個数を記
憶して送信待ちキューの後端に新たに送信フレームのブ
ロック番号を積み込むときのアドレスを出力するカウン
タ(以下N)19と、送信待ちキューを先頭につめると
きに転送の終了を検出するための比較器く以下CMP)
20と、MA2.MB3へ入力する上位アドレスを選択
する上位アドレスセレクタ(以下5EL−)21と、M
A2へ入力する下位アドレスを選択する下位アドレスセ
レクタ(以下5LB)22と、MB3へ入力する下位ア
ドレスを選択する下位アドレスセレクタ(以下5LB)
23と、相手先ごとの送信待ちキューのサーチカウンタ
(以下5)24と、S24により見つけた送信待ちキュ
ーの個数が0でない次に送信すべき相手先を記憶するレ
ジスタ(以下5A)25と、減算器(以下N−R)26
とから成る。CPUからの信号100はQMGIの内部
バス103に入力され、データバス101を介してMA
2゜MB3.FIFO4に入力される。5EL21はC
TLIOからの選択信号により112.JlB。
QMGl includes a control unit (hereinafter referred to as CTL) 10, a memory selection table (hereinafter referred to as TBL) 11, a register (hereinafter referred to as I) 12 for storing destinations that have received delivery confirmation, and a destination to be loaded into a transmission waiting queue or referred to. A register that stores J (
Hereinafter J) 13 and a write counter (hereinafter C) when filling the transmission waiting queue to the top when receiving R delivery confirmations.
14, and a register (hereinafter referred to as R) 1 that stores R delivery confirmations.
5, and an adder for the read address (hereinafter referred to as R+C) when filling the transmission waiting queue to the top when delivery confirmation is received.
16, a register (hereinafter referred to as K) 17 that stores the number K from the beginning when referring to the contents of the transmission waiting queue, and a register 17 that stores the number K from the beginning when referring to the contents of the transmission waiting queue, and an address adder (hereinafter referred to as +R) 18 for referencing the contents of the transmission queue, and a counter for storing the number of queues waiting for transmission and outputting an address when loading a new block number of a transmission frame at the end of the queue waiting for transmission. (hereinafter referred to as N) 19 and a comparator for detecting the end of transfer when filling the transmission waiting queue to the head (hereinafter referred to as CMP)
20 and MA2. an upper address selector (hereinafter referred to as 5EL-) 21 for selecting an upper address to be input to MB3;
A lower address selector (hereinafter referred to as 5LB) 22 that selects a lower address to be input to A2, and a lower address selector (hereinafter referred to as 5LB) to select a lower address to be input to MB3.
23, a search counter (hereinafter referred to as 5) 24 for the transmission waiting queue for each destination, and a register (hereinafter referred to as 5A) 25 for storing the next destination to which the transmission waiting queue found in S24 is not 0. Subtractor (hereinafter referred to as N-R) 26
It consists of A signal 100 from the CPU is input to the internal bus 103 of the QMGI, and is sent to the MA via the data bus 101.
2゜MB3. Input to FIFO4. 5EL21 is C
112. by the selection signal from TLIO. JlB.

S24の出力のいずれかを選択してアドレスバス102
を介してMA2.MB3に上位アドレスを入力し、5L
A22,5LB23はCTLloからの選択信号により
C14,R+C16,に+R18、に17.N19の出
力および送信待ちキューの先頭アドレスのいずれかを選
択してそれぞれMA2.MB3に下位アドレスを入力す
る。
Select one of the outputs of S24 and send it to the address bus 102.
via MA2. Enter the upper address in MB3 and 5L
A22, 5LB23 is set to C14, R+C16, +R18, 17. by the selection signal from CTLlo. Select either the output of N19 or the head address of the transmission waiting queue and send MA2. Input the lower address in MB3.

第2図は第1図における高速メモリ内のメモリ構成の一
例を示す図、第3図−は送信相手先から送達確認を受信
したときの第1図における動作を説明するための図であ
る。
FIG. 2 is a diagram showing an example of the memory configuration in the high-speed memory in FIG. 1, and FIG. 3 is a diagram for explaining the operation in FIG. 1 when a delivery confirmation is received from the transmission destination.

まずCPUは送信待ちキューへの積込みを行うためにJ
lBに相手先番号をセットし、送信しないフレームのブ
ロック番号を書き込むと、CTLloは5EL21に選
択信号を送ってJlBの内容を出力させ、TBLllの
示す方の高速メモリ(ここではMA2とする)内の相手
先送信待ちキューの先頭にある送信待ち個数を一度N1
9にセットしてN19をインクリメントし、この位置に
CPUから指定されたブロック番号を書き込むとともに
送信待ちキューの先頭にN19の値(送信待ち個数)を
セットし、再びN19をインクリメントして送信待ちキ
ューの後端を示すデータ゛FF F F ”を書き込む
。CTLIOはS24により送信相手先をインクリメン
トし、TBLIIで示される方のMA2の送信待ちキュ
ーの先頭にある送信待ち個数をサーチし、送信待ち個数
がOでなく、且つ送信可否表示ビットにより送信可能な
相手先を見つけた時、この値を5A25に転送し、CP
Uに対して送信起動の要求を行う、このときのMA2の
構成を示す第2図において、CPUは送信相手先■から
送達確認R個を受けたときこの相手先の番号を112に
この個数をR15にセットすると、CTLIOはまず送
信待ちキューの先頭にある送信待ちキューの個数をN1
9から読み出し、N−R26によって個数N、Rの差を
算出し、この個数をTBLIIで指定された高速メモリ
とは別の高速メモリ(すなわちMB3)の送信待ちキュ
ーの先頭にセットした後、第3図に示すように送達確認
を受けた個数R個を順にC14をインクリメントしなが
ら読み出してF I FO4に入れた後、送信待ちキュ
ーの終端を検出するまで送信待ちキューのブロック番号
の内容をもう一方の送信待ちキューの先頭に順次転送し
、最後に終端のマークを転送し終った後にこの相手先I
のメモリ選択テーブルの内容を反転させる。
First, the CPU uses J to load the transmission queue.
After setting the destination number in IB and writing the block number of the frame not to be sent, CTLlo sends a selection signal to 5EL21 to output the contents of JIB, and stores it in the high-speed memory (here MA2) indicated by TBLll. The number of items waiting to be sent at the head of the destination sending queue is set to N1 once.
Set it to 9, increment N19, write the block number specified by the CPU to this position, set the value of N19 (number of items waiting to be sent) at the beginning of the transmission waiting queue, increment N19 again, and write the block number specified by the CPU to this position. Writes the data "FFFF" indicating the rear end. CTLIO increments the transmission destination in S24, searches for the number of waiting transmissions at the head of the transmission waiting queue of MA2 indicated by TBLII, and determines the number of waiting transmissions. When a destination is found that is not O and can be sent by the transmission permission/denial indication bit, this value is transferred to 5A25 and the CP
In FIG. 2, which shows the configuration of MA2 when requesting U to start sending, when the CPU receives R delivery confirmations from the sending destination ■, it sets this number to 112 and sets this number to 112. When set to R15, CTLIO first sets the number of queues at the head of the queue waiting for transmission to N1.
9, calculate the difference between the numbers N and R using N-R26, set this number at the head of the transmission waiting queue of a high-speed memory (i.e. MB3) different from the high-speed memory specified by TBLII, and then As shown in Figure 3, after reading out the number R of items whose delivery has been confirmed while incrementing C14 and putting them into FIFO4, the contents of the block number of the sending queue are read out until the end of the sending queue is detected. Sequentially transfer to the head of one transmission waiting queue, and finally, after transferring the end mark, this destination I
Inverts the contents of the memory selection table.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は送信相手先ごとの送信待ち
キューを2組のメモリ上に構成し、送信相手先Iから送
達確認R個を受けた場合にメモリ選択テーブルで示すメ
モリからもう一方のメモリに対し送達確認数分だけ先頭
に高速転送した後、メモリ選択テーブルの相手先Iの内
容を反転することにより、送信待ちキューの情報の更新
が可能となるので、ソフトウェアがチエイニングポイン
タの操作により送信待ちキューの処理を行う従来の装置
に比べ十分速く処理できる効果がある。
As explained above, the present invention configures a transmission waiting queue for each transmission destination on two sets of memories, and when R delivery confirmations are received from transmission destination I, a transmission waiting queue for each transmission destination is created from the other memory shown in the memory selection table. After high-speed transfer to the memory for the number of delivery confirmations to the beginning, the information in the transmission waiting queue can be updated by inverting the contents of destination I in the memory selection table, so the software can operate the chaining pointer. This has the effect of allowing processing to be performed much faster than conventional devices that process transmission queues.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図における高速メモリ内のメモリ構成の一例を示す
図、第3図は送信相手先から送達確認を受信したときの
第1図における動作を説明するための図である。 1・・・送信待ちキュー管理装置(QMG) 、2゜3
・・・高速メモリ(MA、MB)、4・・・ファースト
イン・ファーストアウトメモリ(F I FO)、10
・・・制御部(CTL)、11・・・メモリ選択テーブ
ル(TBL)、12.13,15,17.25・・・レ
ジスタ(I、J、R,に、SA)、14゜19・・・カ
ウンタ(C,N)、16・・・加算器(R+Cm 18
・・・アドレス加算器(K+R) 、20・・・比較器
(CMP)、21・・・上位アドレスセレクタ(SEL
)、22.23・・・下位アドレスセレクタ(SLA、
5LB)、24・・・サーチカウンタ(S)、26・・
・減算器(N−R)。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing an example of the memory configuration in the high-speed memory in FIG. 1, and FIG. 2 is a diagram for explaining the operation in FIG. 1. FIG. 1... Transmission queue management device (QMG), 2゜3
...High-speed memory (MA, MB), 4...First-in, first-out memory (F I FO), 10
...Control unit (CTL), 11...Memory selection table (TBL), 12.13, 15, 17.25...Register (I, J, R, SA), 14°19...・Counter (C, N), 16...Adder (R+Cm 18
... Address adder (K+R), 20... Comparator (CMP), 21... Upper address selector (SEL)
), 22.23...lower address selector (SLA,
5LB), 24... Search counter (S), 26...
- Subtractor (NR).

Claims (1)

【特許請求の範囲】[Claims] 複数の相手先ごとに送信待ち中のフレームのブロック番
号を記憶する第1,第2のメモリと接続され、送信相手
先ごとに前記第1,第2のメモリのどちらを選択するか
を記憶するメモリ選択テーブルと、送信相手先から送達
確認があったときにこの相手先を記憶する第1のレジス
タと、送達確認の個数を記憶する第2のレジスタと、前
記相手先の送信待ちキューから前記送達確認のとれた個
数分だけ先頭につめるための書込みカウンタと、前記第
2のレジスタの内容と前記書込みカウンタの値とを加算
する加算器と、送信待ちキューの後端を検出するための
比較器とを備えることを特徴とする送信待ちキュー管理
装置。
It is connected to first and second memories that store block numbers of frames waiting to be transmitted for each of a plurality of destinations, and stores which of the first and second memories to select for each destination. a memory selection table; a first register that stores the destination when a delivery confirmation is received from the destination; a second register that stores the number of delivery confirmations; A write counter for filling the head by the number of items whose delivery has been confirmed, an adder for adding the contents of the second register and the value of the write counter, and a comparison for detecting the rear end of the transmission waiting queue. A transmission queue management device comprising:
JP1136706A 1989-05-29 1989-05-29 Transmission queue management equipment Pending JPH031635A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1136706A JPH031635A (en) 1989-05-29 1989-05-29 Transmission queue management equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1136706A JPH031635A (en) 1989-05-29 1989-05-29 Transmission queue management equipment

Publications (1)

Publication Number Publication Date
JPH031635A true JPH031635A (en) 1991-01-08

Family

ID=15181583

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1136706A Pending JPH031635A (en) 1989-05-29 1989-05-29 Transmission queue management equipment

Country Status (1)

Country Link
JP (1) JPH031635A (en)

Similar Documents

Publication Publication Date Title
US4980852A (en) Non-locking queueing mechanism for enabling a receiver device to read from a queue without access synchronization with a sending device
US6427185B1 (en) Method and apparatus for managing the flow of data within a switching device
US4507760A (en) First-in, first-out (FIFO) memory configuration for queue storage
JPH02301347A (en) packet buffer device
US5944788A (en) Message transfer system and control method for multiple sending and receiving modules in a network supporting hardware and software emulated modules
JP3506130B2 (en) Buffering device and buffering method
US6816504B1 (en) Method and apparatus for transferring deterministic latency packets in a ringlet
JPH07262151A (en) Parallel processor system and packet discarding method suitable therefor
US5999969A (en) Interrupt handling system for message transfers in network having mixed hardware and software emulated modules
JPH031635A (en) Transmission queue management equipment
JP2001118378A (en) Fifo storage device and fifo control method
US5983266A (en) Control method for message communication in network supporting software emulated modules and hardware implemented modules
US5706443A (en) Method and apparatus for enabling pipelining of buffered data
EP0969356A2 (en) System and method for managing buffers using free pointer FIFOs containing pointers to empty buffers
EP0299264A2 (en) A byte queing/dequeuing apparatus for handling variable-length data words/instructions in a single clock cycle
US5842003A (en) Auxiliary message arbitrator for digital message transfer system in network of hardware modules
JP2853652B2 (en) Packet transmitting method and apparatus in inter-processor communication
JPH07281950A (en) Method for access to data storage device and memory-access control apparatus
KR100397920B1 (en) Read/Write Cancelable and Variable Depth First In First Out Communication System
US6865654B2 (en) Device for interfacing asynchronous data using first-in-first-out
JP2558062B2 (en) An adapter for transferring variable-sized data blocks to other adapters over the system bus
JP2926859B2 (en) Parallel processing system
JPS61276050A (en) Data transmission system
KR100800704B1 (en) Message preprocessor in the mobile communication terminal and its control method
JPH0115100B2 (en)