JPH0537480A - Multiplexer - Google Patents

Multiplexer

Info

Publication number
JPH0537480A
JPH0537480A JP18980191A JP18980191A JPH0537480A JP H0537480 A JPH0537480 A JP H0537480A JP 18980191 A JP18980191 A JP 18980191A JP 18980191 A JP18980191 A JP 18980191A JP H0537480 A JPH0537480 A JP H0537480A
Authority
JP
Japan
Prior art keywords
bus
priority
requesters
requester
information
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
JP18980191A
Other languages
Japanese (ja)
Inventor
Yasuhito Hayashi
林  泰仁
Tsutomu Jin
力 神
Shin Miura
紳 三浦
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.)
Mitsubishi Electric Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Mitsubishi Electric Corp
Nippon Telegraph and Telephone 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 Mitsubishi Electric Corp, Nippon Telegraph and Telephone Corp filed Critical Mitsubishi Electric Corp
Priority to JP18980191A priority Critical patent/JPH0537480A/en
Publication of JPH0537480A publication Critical patent/JPH0537480A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the multiplexer which dynamically executes control concerning the priority order of bus arbitration so as to most efficiently execute multiplexing at all times at the multiplexer to multiplex information according to a statistical multiplexing system. CONSTITUTION:The information generated variables (traffic amounts) of plural respective bus requesters 1a-1c are measured and recorded and based on the recorded value of this traffic amount, the priority orders of the respective bus requesters 1a-1c are controlled so as to be dynamically changed. As the method for utilizing the traffic amount, for example, a method is adopted to increase the priority order of the bus requester in the order of the large traffic amount in the same time zone of a previous day. By executing a statistical processing or the like to the recorded values of the plural traffic amounts, further optimum bus arbitration is executed. Thus, the priority orders of the plural respective bus requesters can be optimumly controlled with high probability at all times, and extremely efficient multiplexing can be executed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、統計多重方式によっ
て情報を多重する多重化装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiplexer for multiplexing information by a statistical multiplexing method.

【0002】[0002]

【従来の技術】通信における多重方式としては、回線交
換のような時分割多重方式と、情報が発生した任意のタ
イミングで非同期に多重する統計多重方式がある。統計
多重方式の例としては、パケット多重やATM(Asynch
ronous Transfer Mode)セル多重があり、この方式は情
報が発生した時のみ回線を使用するので効率が良いとい
う長所がある。ただし、それぞれが非同期に情報を出力
しようとするために、その要求(バスリクエスト信号)
を調停(アービトレーション)するバスアービタが必要
となる。
2. Description of the Related Art As a multiplexing system in communication, there are a time division multiplexing system such as circuit switching and a statistical multiplexing system in which information is asynchronously multiplexed at an arbitrary timing. Examples of statistical multiplexing methods include packet multiplexing and ATM (Asynch).
ronous Transfer Mode) There is cell multiplexing, and this method has the advantage that it is efficient because it uses the line only when information is generated. However, since each of them tries to output information asynchronously, the request (bus request signal)
A bus arbiter that arbitrates (arbitration) is required.

【0003】バスアービトレーションの考え方は、「共
通なバスを複数のバスリクエスタが獲得要求するのを調
停すること」であるが、具体的には2つある。1つは
「CPU(中央処理装置)基板(ブロック)におけるC
PUバスをCPUやDMAC(Direct Memory Access C
ontroller) が取り合うもの」であり、この場合はCP
UやDMACがバスリクエスタとなる。もう1つは「各
基板をつなぐ共通の外部バスを各基板が取り合うもの」
であり、この場合は情報を送出しようとしている各基板
がバスリクエスタとなる。ここでは、後者について述べ
ることにする。
The concept of bus arbitration is to "arbitrate for a plurality of bus requesters to acquire and request a common bus." One is "C in the CPU (central processing unit) board (block).
The PU bus is connected to the CPU or DMAC (Direct Memory Access C
ontroller) are the ones that compete, "in this case CP
U and DMAC are bus requesters. The other is that each board shares a common external bus that connects each board.
In this case, each board which is going to send information becomes a bus requester. Here, the latter will be described.

【0004】図8は従来の多重化装置の構成を示すブロ
ック図である。図において、1a〜1cは情報を出力す
る複数のバスリクエスタ、2は各バスリクエスタ1a〜
1cからのバス要求を調停するバスアービタ、3は情報
を多重化する多重部、4は各バスリクエスタ1a〜1c
に共通の多重バス、5a〜5cは各バスリクエスタ1a
〜1cからバスアービタ2への「バス要求」を意味する
バスリクエスト信号、6a〜6cはバスアービタ2から
各バスリクエスタ1a〜1cへの「バス要求許可」を意
味するバスグラント信号である。
FIG. 8 is a block diagram showing the structure of a conventional multiplexer. In the figure, reference numerals 1a to 1c denote a plurality of bus requesters for outputting information, and 2 denotes each bus requester 1a to.
A bus arbiter for arbitrating bus requests from 1c, 3 is a multiplexer for multiplexing information, and 4 is each bus requester 1a-1c.
Common to all bus requesters 1a, 5a-5c
Bus request signals from the bus arbiter 2 to the bus arbiter 2 and 6a to 6c are bus grant signals from the bus arbiter 2 to the bus requesters 1a to 1c.

【0005】図9は図8のバスリクエスタの要部構成を
示すブロック図である。図において、1はバスリクエス
タ、4は多重バス、5はバスリクエスト信号、6はバス
グラント信号、10は送出する情報を一時蓄積して多重
バス4での瞬時の輻輳を吸収するためのメモリ、11は
メモリ10を制御するメモリ制御部であり、このメモリ
制御部11はメモリ10の情報蓄積量に基づきバスリク
エスト信号5をオン/オフすると共に、バスグラント信
号6に基づき多重バス4への情報送出を制御する。
FIG. 9 is a block diagram showing a main structure of the bus requester of FIG. In the figure, 1 is a bus requester, 4 is a multiplex bus, 5 is a bus request signal, 6 is a bus grant signal, 10 is a memory for temporarily accumulating information to be transmitted and absorbing instantaneous congestion on the multiplex bus 4, Reference numeral 11 denotes a memory control unit that controls the memory 10. The memory control unit 11 turns on / off the bus request signal 5 based on the amount of information stored in the memory 10, and also sends information to the multiplex bus 4 based on the bus grant signal 6. Control delivery.

【0006】図10は、例えばシーメンス社の製品であ
るローカルバスアービタ(SAB82200)に開示さ
れた従来のバスアービタを示す詳細構成図である。図に
おいて、5a〜5cはバスリクエスト信号、6a〜6c
はバスグラント信号、24a〜24fはゲート、25a
〜25fはD型フリップフロップである。
FIG. 10 is a detailed configuration diagram showing a conventional bus arbiter disclosed in, for example, a local bus arbiter (SAB82200) manufactured by Siemens. In the figure, 5a to 5c are bus request signals, and 6a to 6c.
Is a bus grant signal, 24a to 24f are gates, and 25a
25f are D-type flip-flops.

【0007】次に、上記従来の多重化装置の動作につい
て説明する。図8及び図9に示されるように、例えばバ
スリクエスタ1aに入力された情報は、まずメモリ10
に蓄積される。メモリ制御部11はメモリ10内に多重
バス4への送出単位分の情報が蓄積されたことを認識す
ると、バスアービタ2に対してバス要求信号であるバス
リクエスト信号5aをオンにする。多重バス4はいずれ
か1つのバスリクエスタ、例えばバスリクエスタ1aし
か占有できないために、バスアービタ2は他のバスリク
エスタ1b,1cが多重バス4を占有していないことを
確認してから、バスグラント信号6aをオンにする。バ
スリクエスタ1aのメモリ制御部11はバスグラント信
号6aのオンを受けて、メモリ10に対して情報を多重
バス4へ送出するように指示する。このようにして多重
バス4に送出された情報は、多重部3を経て回線に送出
される。
Next, the operation of the above-mentioned conventional multiplexer will be described. As shown in FIGS. 8 and 9, for example, the information input to the bus requester 1a is first stored in the memory 10
Accumulated in. When the memory control unit 11 recognizes that the information for the transmission unit to the multiplex bus 4 is stored in the memory 10, it turns on the bus request signal 5a which is a bus request signal to the bus arbiter 2. Since the multiplex bus 4 can occupy only one of the bus requesters, for example, the bus requester 1a, the bus arbiter 2 confirms that the other bus requesters 1b and 1c do not occupy the multiplex bus 4, and then the bus grant signal. Turn on 6a. The memory control unit 11 of the bus requester 1a receives the turn-on of the bus grant signal 6a and instructs the memory 10 to send the information to the multiplex bus 4. The information thus sent to the multiplex bus 4 is sent to the line via the multiplex unit 3.

【0008】図8に示されるバスアービタ2において、
多重バス4のアービトレーションが行われる。本例は、
バスリクエスタ1aが最も優先順位が高く、次に、バス
リクエスタ1b,最後にバスリクエスタ1cの順序の優
先順位となる固定優先順位方式の例を示している。
In the bus arbiter 2 shown in FIG.
Arbitration of the multiplex bus 4 is performed. In this example,
An example of a fixed priority system is shown in which the bus requester 1a has the highest priority, the bus requester 1b is the second, and the bus requester 1c is the last.

【0009】図10に示されるバスアービタ2の機能と
して、いずれか1つのバスリクエスタ1にしかバスグラ
ント信号6を返さないようにするため、それぞれゲート
24d〜24fによりバスリクエスト信号5を抑えてい
る。また、同時に複数のバスリクエスト信号5がオンに
なった場合の優先順位をつけるために、バスリクエスト
信号5aでバスリクエスト信号5bとバスリクエスト信
号5cを抑え、バスリクエスト信号5bでバスリクエス
ト信号5cを抑えるようにしている。
As a function of the bus arbiter 2 shown in FIG. 10, the bus request signal 5 is suppressed by the gates 24d to 24f so that the bus grant signal 6 is returned to only one of the bus requesters 1. Further, in order to give priority when a plurality of bus request signals 5 are turned on at the same time, the bus request signal 5a suppresses the bus request signal 5b and the bus request signal 5c, and the bus request signal 5b controls the bus request signal 5c. I try to keep it down.

【0010】各バスリクエスタ1a〜1cに同時に大量
の情報が入力された場合、その情報はそれぞれ一時的に
メモリ10に蓄積され、固定優先順位によりバスリクエ
スタ1aを先頭にして、次いでバスリクエスタ1b,1
cの順序で多重バス4へ送出される。また、優先順位の
最も低いバスリクエスタ1cのみに大量の情報が入力さ
れた場合でも、同様にしてバスリクエスタ1a,1b,
1cの順序で多重バス4へ送出される。
When a large amount of information is input to each of the bus requesters 1a to 1c at the same time, the information is temporarily stored in the memory 10, and the bus requester 1a is set at the head according to the fixed priority, and then the bus requester 1b, 1
It is sent to the multiplex bus 4 in the order of c. Even when a large amount of information is input only to the bus requester 1c having the lowest priority, the bus requesters 1a, 1b, and
It is sent to the multiplex bus 4 in the order of 1c.

【0011】[0011]

【発明が解決しようとする課題】上記した従来の多重化
装置は以上のように構成されているので、バスアービト
レーションの優先順位が常時固定の固定優先順位方式と
なっており、複数の各バスリクエスタの情報発生量の変
動に柔軟に対応することができないために、効率良く多
重化することができず、優先順位の低いバスリクエスタ
で情報が大量に廃棄されたり、遅延が大きくなるなどの
問題点があった。
Since the above-mentioned conventional multiplexer is configured as described above, the priority order of the bus arbitration is a fixed priority method which is always fixed, and a plurality of bus requesters are provided. Since it is not possible to flexibly deal with fluctuations in the amount of generated information, it is not possible to multiplex efficiently, and a large amount of information is discarded by the low-priority bus requester, and delays increase. was there.

【0012】この発明は上記のような問題点を解消する
ためになされたもので、複数の各バスリクエスタの情報
発生量の変動に柔軟に対応して、効率の良い多重化を行
うことができる多重化装置を得ることを目的とする。
The present invention has been made in order to solve the above-mentioned problems, and can flexibly cope with the fluctuation of the information generation amount of each of a plurality of bus requesters and perform efficient multiplexing. The purpose is to obtain a multiplexer.

【0013】[0013]

【課題を解決するための手段】この発明に係る多重化装
置は、複数の各バスリクエスタの情報発生量を測定する
トラヒック量測定部と、このトラヒック量測定部の測定
値に基づいてバスリクエスタの優先順位を制御してバス
調停を行うバスアービタとを設け、バスアービトレーシ
ョンの優先順位を動的に変更するようにしたものであ
る。
SUMMARY OF THE INVENTION A multiplexing device according to the present invention comprises a traffic amount measuring unit for measuring the information generation amount of each of a plurality of bus requesters, and a bus requester based on the measured value of the traffic amount measuring unit. A bus arbiter that controls the priority and performs bus arbitration is provided, and the priority of the bus arbitration is dynamically changed.

【0014】[0014]

【作用】この発明における多重化装置は、トラヒック量
測定部とバスアービタ内の優先制御部とを設けて、複数
の各バスリクエスタの情報発生量によりバスアービトレ
ーションの優先順位を動的に変更するように制御してお
り、これにより、複数の各バスリクエスタにおいて適宜
にバスリクエスタの優先順位を制御することができる。
In the multiplexer according to the present invention, a traffic amount measuring unit and a priority control unit in the bus arbiter are provided to dynamically change the priority order of the bus arbitration according to the information generation amount of each of the plurality of bus requesters. Therefore, the priority of the bus requesters can be appropriately controlled in each of the plurality of bus requesters.

【0015】[0015]

【実施例】以下、この発明の一実施例を図について説明
する。図1はこの発明の実施例である多重化装置の構成
を示すブロック図である。図1に示される多重化装置と
しては、ATMセル多重化装置を使用した場合を例示し
ている。図において、1a〜1cは情報を出力する複数
のバスリクエスタ、2は各バスリクエスタ1a〜1cか
らのバス要求を調停するバスアービタ、3は情報を多重
化する多重部、4は各バスリクエスタ1a〜1cに共通
の多重バス、5a〜5cは各バスリクエスタ1a〜1c
からバスアービタ2への「バス要求」を意味するバスリ
クエスト信号、6a〜6cはバスアービタ2から各バス
リクエスタ1a〜1cへの「バス要求許可」を意味する
バスグラント信号、7a〜7cはそれぞれ各バスリクエ
スタ1a〜1cからのセル発生信号であり、この各セル
発生信号7a〜7cは各バスリクエスタ1a〜1cにセ
ルが到着するごとにオンされる。8は各バスリクエスタ
1a〜1cから出力されるセル発生信号7a〜7cをも
とにトラヒック量を測定するトラヒック量測定部、9a
〜9cはトラヒック量測定部8によって測定されたトラ
ヒック量情報である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a multiplexing device according to an embodiment of the present invention. As the multiplexer shown in FIG. 1, the case where an ATM cell multiplexer is used is illustrated. In the figure, 1a to 1c are a plurality of bus requesters that output information, 2 is a bus arbiter that arbitrates bus requests from the bus requesters 1a to 1c, 3 is a multiplexing unit that multiplexes information, and 4 is each bus requester 1a ... Multiple buses common to 1c, 5a to 5c are bus requesters 1a to 1c
Request signal from the bus arbiter 2 to the bus arbiter 2, 6a to 6c are bus grant signals meaning "bus request permission" from the bus arbiter 2 to each of the bus requesters 1a to 1c, and 7a to 7c are each bus The cell generation signals from the requesters 1a to 1c, and the cell generation signals 7a to 7c are turned on each time a cell arrives at each of the bus requesters 1a to 1c. Reference numeral 8 denotes a traffic amount measuring unit for measuring the traffic amount based on the cell generation signals 7a to 7c output from the bus requesters 1a to 1c, and 9a.
9c are traffic volume information measured by the traffic volume measuring unit 8.

【0016】図2は図1のバスリクエスタの要部構成を
示すブロック図である。図において、1はバスリクエス
タ、4は多重バス、5はバスリクエスト信号、6はバス
グラント信号、7はセル発生信号、10はメモリ、11
はメモリ10を制御するメモリ制御部である。セル発生
信号7は、バスリクエスタ1にセルが到着するごとにメ
モリ制御部11から出力され、メモリ制御部11はメモ
リ10の情報蓄積量に基づき送出単位(セル)分の情報
が蓄積されたことを認識すると、上記従来装置と同時に
バスリクエスト信号5をオンにする。
FIG. 2 is a block diagram showing the construction of the essential parts of the bus requester of FIG. In the figure, 1 is a bus requester, 4 is a multiplex bus, 5 is a bus request signal, 6 is a bus grant signal, 7 is a cell generation signal, 10 is a memory, 11
Is a memory control unit for controlling the memory 10. The cell generation signal 7 is output from the memory control unit 11 every time a cell arrives at the bus requester 1, and the memory control unit 11 has accumulated the information of the transmission unit (cell) based on the information storage amount of the memory 10. When the bus request signal 5 is recognized, the bus request signal 5 is turned on at the same time as the conventional device.

【0017】図3は図1のトラヒック量測定部及びバス
アービタの要部構成を示すブロック図である。図におい
て、2はバスアービタ、5a〜5cはバスリクエスト信
号、6a〜6cはバスグラント信号、7a〜7cはセル
発生信号、8はトラヒック量測定部、9a〜9cはトラ
ヒック量情報、12a〜12cはそれぞれセル発生信号
7a〜7cがオンになったことを検出するとカウントア
ップするカウンタ、13は優先制御部14がカウンタ1
2a〜12cからトラヒック量情報9a〜9cを読み込
む時間を規定するタイマ、14はトラヒック量情報9a
〜9cをもとにしてバスリクエスタ1a〜1cの優先順
位を決定する優先制御部であり、この優先制御部14
は、その決定に基づいたコードを6ビットの優先制御信
号15a〜15f及びトラヒック量測定部8内のカウン
タ12a〜12cをリセットするリセット信号17を出
力する。16は優先制御信号15a〜15f及びバスリ
クエスト信号5a〜5cをもとにバスグラント信号6a
〜6cを生成するバスグラント生成部である。
FIG. 3 is a block diagram showing the construction of the main parts of the traffic amount measuring unit and the bus arbiter of FIG. In the figure, 2 is a bus arbiter, 5a to 5c are bus request signals, 6a to 6c are bus grant signals, 7a to 7c are cell generation signals, 8 is a traffic amount measuring unit, 9a to 9c are traffic amount information, and 12a to 12c are A counter that counts up when it is detected that the cell generation signals 7a to 7c are turned on. Reference numeral 13 indicates a counter 1 by the priority control unit 14.
2a to 12c, a timer that defines the time to read the traffic volume information 9a to 9c, and 14 is the traffic volume information 9a.
9c is a priority control unit that determines the priority order of the bus requesters 1a to 1c.
Outputs a 6-bit priority control signal 15a to 15f and a reset signal 17 to reset the counters 12a to 12c in the traffic amount measuring unit 8 based on the determination. 16 is a bus grant signal 6a based on the priority control signals 15a to 15f and the bus request signals 5a to 5c.
It is a bus grant generation part which produces | generates-6c.

【0018】図4は図3の優先制御部の要部構成を示す
ブロック図である。図において、9a〜9cはトラヒッ
ク量情報、13はタイマ、14は優先制御部、15a〜
15fは優先制御信号、17はリセット信号、18はC
PU(中央処理装置)、19はトラヒック量測定部8か
らトラヒック量情報9a〜9cを読み込むためのバッフ
ァ、20はリセット信号17のためのドライバ、21は
優先制御信号15a〜15fのためのドライバ、22は
トラヒック量情報9a〜9cなどを記録するためのメモ
リ、23はバスである。
FIG. 4 is a block diagram showing a main configuration of the priority control section shown in FIG. In the figure, 9a to 9c are traffic volume information, 13 is a timer, 14 is a priority control unit, and 15a to
15f is a priority control signal, 17 is a reset signal, 18 is C
PU (Central Processing Unit), 19 is a buffer for reading the traffic amount information 9a to 9c from the traffic amount measuring unit 8, 20 is a driver for the reset signal 17, 21 is a driver for the priority control signals 15a to 15f, Reference numeral 22 is a memory for recording the traffic amount information 9a to 9c, and 23 is a bus.

【0019】図5は図3のバスグラント生成部を示す詳
細構成図である。図において、5a〜5cはバスリクエ
スト信号、6a〜6cはバスグラント信号、15a〜1
5fは優先制御部、24a〜24lはゲート、25a〜
25fはD型フリップフロップである。
FIG. 5 is a detailed block diagram showing the bus grant generating section of FIG. In the figure, 5a to 5c are bus request signals, 6a to 6c are bus grant signals, and 15a to 1
5f is a priority control unit, 24a to 24l are gates, and 25a to
25f is a D-type flip-flop.

【0020】図6は図3のカウンタの動作を説明するた
めのフローチャート、図7は図3の優先制御部の動作を
説明するためのフローチャートである。図において、S
1〜S11は動作過程を示す処理ステップである。
FIG. 6 is a flow chart for explaining the operation of the counter of FIG. 3, and FIG. 7 is a flow chart for explaining the operation of the priority control section of FIG. In the figure, S
1 to S11 are processing steps showing an operation process.

【0021】次に、上記この発明の実施例である多重化
装置の動作について説明する。本実施例では、トラヒッ
ク量の測定を1時間ごとに行い、前日の同じ時間帯のト
ラヒック量の多い順序にバスリクエスタ1a〜1cの優
先順位を高くするように制御するという設定で説明す
る。
Next, the operation of the multiplexer according to the embodiment of the present invention will be described. In this embodiment, the traffic amount is measured every hour, and the bus requesters 1a to 1c are controlled so that the bus requesters 1a to 1c are prioritized in the descending order of the traffic amount in the same time zone on the previous day.

【0022】電源投入時でのバスリクエスタ1a〜1c
の優先順位は、優先制御信号15a〜15fの初期値の
設定で決定される(処理ステップS5)。この状態では
この発明の装置と上記従来装置とは同様である。この発
明の装置と上記従来装置との相違点は、電源投入後で1
日以上経過した場合に現われる。
Bus requesters 1a to 1c at power-on
Is determined by setting the initial values of the priority control signals 15a to 15f (processing step S5). In this state, the device of the present invention is the same as the above conventional device. The difference between the device of the present invention and the conventional device is that
Appears when more than a day has passed.

【0023】まず、図3に示されるカウンタ12a〜1
2cの動作について説明する。電源投入後にカウンタ1
2a〜12cはリセットされる(処理ステップS1)。
その後、セル発生信号7a〜7cのオンを検出すると
(処理ステップS3)、カウンタ12a〜12cの値を
1インクリメント(増加)する(処理ステップS4)。
この動作は優先制御部14よりリセット信号17がオン
されるまで続く(処理ステップS2)。
First, the counters 12a to 1 shown in FIG.
The operation of 2c will be described. Counter 1 after power on
2a to 12c are reset (processing step S1).
After that, when it is detected that the cell generation signals 7a to 7c are turned on (processing step S3), the values of the counters 12a to 12c are incremented (incremented) by 1 (processing step S4).
This operation continues until the reset signal 17 is turned on by the priority control unit 14 (processing step S2).

【0024】続いて、図3及び図4に示される優先制御
部14の動作について説明する。まず、電源投入後に優
先制御信号15a〜15fの初期値の設定が行われる
(処理ステップS5)。この優先順位はどのような順序
でも良いが、例えばバスリクエスタ1aの優先順位が一
番高く、バスリクエスタ1bの優先順位が二番目に高
く、バスリクエスタ1cの優先順位が一番低くなるよう
にすると、優先制御信号15a〜15fの2進コードは
それぞれ0,0,1,0,1,1となる。タイマ13の
設定時間である1時間が経過すると(処理ステップS
6)、優先制御部14はカウンタ12a〜12cのカウ
ンタ値を読み込み優先制御部14内のメモリ22に記録
する(処理ステップS7)。そして、カウンタ12a〜
12cのリセット信号17をオンして(処理ステップS
8)、カウンタ12a〜12cをリセットする。その
後、電源投入後で1日経過していない場合は、再びタイ
マ13の設定時間が経過するまで何もしない。電源投入
後で1日以上経過している場合は(処理ステップS
9)、前日と同じ時間帯のトラヒック量の記録値をメモ
リ22より読み出して(処理ステップS10)、その記
録値の大きい順序、すなわちトラヒック量の多い順序に
バスリクエスタ1a〜1cの優先順位を高くするような
優先制御信号15a〜15fのコードを決定して出力す
る(処理ステップS11)。
Next, the operation of the priority control section 14 shown in FIGS. 3 and 4 will be described. First, after the power is turned on, the initial values of the priority control signals 15a to 15f are set (processing step S5). The order of priority may be any order. For example, if the bus requester 1a has the highest priority, the bus requester 1b has the second highest priority, and the bus requester 1c has the lowest priority. , The binary codes of the priority control signals 15a to 15f are 0, 0, 1, 0, 1, 1 respectively. When one hour, which is the set time of the timer 13, has elapsed (processing step S
6), the priority control unit 14 reads the counter values of the counters 12a to 12c and records them in the memory 22 in the priority control unit 14 (processing step S7). Then, the counter 12a-
The reset signal 17 of 12c is turned on (processing step S
8), reset the counters 12a to 12c. After that, if one day has not passed since the power was turned on, nothing is done until the time set by the timer 13 elapses again. If more than one day has passed since the power was turned on (processing step S
9) The recorded values of the traffic volume in the same time zone as the previous day are read from the memory 22 (processing step S10), and the priority of the bus requesters 1a to 1c is increased in the order of the recorded value, that is, in the order of the large traffic volume. The codes of the priority control signals 15a to 15f that are to be executed are determined and output (processing step S11).

【0025】例えば、メモリ22から読み出してきたト
ラヒック量の記録値がバスリクエスタ1a,1b,1c
の順序で大きかったとすると、この場合の優先制御信号
15a〜15fの2進コードは0,1,1,1,0,0
となる。
For example, the recorded value of the traffic amount read from the memory 22 is the bus requesters 1a, 1b, 1c.
, The binary code of the priority control signals 15a to 15f in this case is 0, 1, 1, 1, 0, 0.
Becomes

【0026】続いて、図3及び図5に示されるバスグラ
ント生成部16の動作について説明する。バスグラント
生成部16は、入力された優先制御信号15a〜15f
及びバスリクエスト信号5a〜5c及び現時点のバスグ
ラント信号6a〜6cを用いて、ゲート24a〜24l
によって制御した次のバスグラント信号6a〜6cを出
力する。例えば、優先順位の高い方から順序にバスリク
エスタ1a,1b,1cとなる場合に、上記したように
優先制御信号15a〜15fは0,1,1,1,0,0
が入力され、ゲート24h,24i,24jがオンさ
れ、従ってバスリクエスタ1c,1a,1bの順序で優
先的にバスグラント信号6a〜6cがオンされるように
なる。このように本実施例では、1日前の同時間帯のセ
ル発生量(トラヒック量)の大きい順序にバスリクエス
タ1a〜1cの優先順位が高くなるように制御される。
Next, the operation of the bus grant generator 16 shown in FIGS. 3 and 5 will be described. The bus grant generation unit 16 receives the input priority control signals 15a to 15f.
And the bus request signals 5a to 5c and the current bus grant signals 6a to 6c, the gates 24a to 24l.
The following bus grant signals 6a to 6c controlled by are output. For example, when the bus requesters 1a, 1b, 1c are arranged in order from the highest priority, the priority control signals 15a to 15f are 0, 1, 1, 1, 0, 0 as described above.
Is input to turn on the gates 24h, 24i, and 24j, so that the bus grant signals 6a to 6c are preferentially turned on in the order of the bus requesters 1c, 1a, and 1b. As described above, in the present embodiment, the bus requesters 1a to 1c are controlled so that the bus requesters 1a to 1c are prioritized in the descending order of the cell generation amount (traffic amount) in the same time zone one day before.

【0027】なお、上記実施例ではバスリクエスタの数
を3つとした場合について説明したが、複数であれば幾
つでも良い。
In the above embodiment, the case where the number of bus requesters is three has been described, but any number of bus requesters may be used.

【0028】また、上記実施例ではATMセル多重化装
置について説明したが、非同期に発生する情報を統計的
に多重化する多重化装置であれば何でも良い。
Although the ATM cell multiplexer has been described in the above embodiment, any multiplexer may be used as long as it statistically multiplexes asynchronously generated information.

【0029】また、上記実施例では1時間ごとにトラヒ
ック量を測定して記録し、1日前の同時間帯のトラヒッ
ク量を用いてバスリクエスタの優先順位を制御する場合
について説明したが、このような設定条件を変更しても
良い。例えば、1週間前の同じ曜日の同時間帯のトラヒ
ック量を用いることなどが考えられる。
In the above embodiment, the traffic volume is measured and recorded every hour, and the priority of the bus requester is controlled by using the traffic volume in the same time zone one day before. The setting conditions may be changed. For example, it is conceivable to use the traffic volume in the same time zone on the same day one week ago.

【0030】また、上記実施例では記録したトラヒック
量情報から1つの時間帯の情報を選んで用いた場合につ
いて説明したが、複数の時間帯の情報の平均を用いたり
統計的処理を施すなどの処理結果を用いても良い。
In the above embodiment, the case where the information of one time zone is selected and used from the recorded traffic volume information has been described, but the average of the information of a plurality of time zones is used or statistical processing is performed. The processing result may be used.

【0031】[0031]

【発明の効果】以上のように、この発明の多重化装置に
よれば、複数の各バスリクエスタの情報発生量を測定す
るトラヒック量測定部と、このトラヒック量測定部の測
定値に基づいてバスリクエスタの優先順位を制御してバ
ス調停を行うバスアービタとを設け、バスアービトレー
ションの優先順位を動的に変更するようにしたので、バ
スアービトレーションを各バスリクエスタの過去のトラ
ヒック量の記録値に基づいて動的に行うために、各バス
リクエスタの優先順位を常に高い確率で最適に制御する
ことができ、極めて効率の良い多重化が行えるという優
れた効果を奏する。
As described above, according to the multiplexer of the present invention, the traffic amount measuring unit for measuring the information generation amount of each of the plurality of bus requesters, and the bus based on the measured value of the traffic amount measuring unit. A bus arbiter that controls the priority of the requester and performs bus arbitration is provided, and the priority of the bus arbitration is dynamically changed.The bus arbitration is based on the past traffic volume record value of each bus requester. Since it is performed dynamically, the priority of each bus requester can be controlled optimally with a high probability at all times, and an excellent effect is achieved in that extremely efficient multiplexing can be performed.

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

【図1】この発明の実施例である多重化装置の構成を示
すブロック図である。
FIG. 1 is a block diagram showing a configuration of a multiplexing device according to an embodiment of the present invention.

【図2】図1のバスリクエスタの要部構成を示すブロッ
ク図である。
FIG. 2 is a block diagram showing a main configuration of the bus requester of FIG.

【図3】図1のトラヒック量測定部及びバスアービタの
要部構成を示すブロック図である。
FIG. 3 is a block diagram showing a main configuration of a traffic amount measuring unit and a bus arbiter of FIG.

【図4】図3の優先制御部の要部構成を示すブロック図
である。
FIG. 4 is a block diagram showing a main configuration of a priority control unit shown in FIG.

【図5】図3のバスグラント生成部を示す詳細構成図で
ある。
FIG. 5 is a detailed configuration diagram showing a bus grant generation unit in FIG.

【図6】図3のカウンタの動作を説明するためのフロー
チャートである。
6 is a flowchart for explaining the operation of the counter of FIG.

【図7】図3の優先制御部の動作を説明するためのフロ
ーチャートである。
FIG. 7 is a flowchart for explaining the operation of the priority control unit of FIG.

【図8】従来の多重化装置の構成を示すブロック図であ
る。
FIG. 8 is a block diagram showing a configuration of a conventional multiplexing device.

【図9】図8のバスリクエスタの要部構成を示すブロッ
ク図である。
9 is a block diagram showing a main configuration of the bus requester of FIG.

【図10】従来のバスアービタを示す詳細構成図であ
る。
FIG. 10 is a detailed configuration diagram showing a conventional bus arbiter.

【符号の説明】[Explanation of symbols]

1,1a〜1c バスリクエスタ 2 バスアービタ 3 多重部 4 多重バス 5,5a〜5c バスリクエスト信号 6,6a〜6c バスグラント信号 7,7a〜7c セル発生信号 8 トラヒック量測定部 9a〜9c トラヒック量情報 10,22 メモリ 11 メモリ制御部 12a〜12c カウンタ 13 タイマ 14 優先制御部 15a〜15f 優先制御信号 16 バスグラント生成部 17 リセット信号 18 CPU(中央処理装置) 19 バッファ 20,21 ドライバ 23 バス 24a〜24l ゲート 25a〜25f D型フリップフロップ S1〜S11 処理ステップ 1,1a to 1c Bus requester 2 Bus arbiter 3 Multiplexing unit 4 Multiplexing bus 5,5a to 5c Bus request signal 6,6a to 6c Bus grant signal 7,7a to 7c Cell generation signal 8 Traffic amount measuring unit 9a to 9c Traffic amount information 10, 22 memory 11 memory control unit 12a to 12c counter 13 timer 14 priority control unit 15a to 15f priority control signal 16 bus grant generation unit 17 reset signal 18 CPU (central processing unit) 19 buffer 20, 21 driver 23 bus 24a to 24l Gates 25a to 25f D-type flip-flops S1 to S11 Processing steps

【手続補正書】[Procedure amendment]

【提出日】平成3年12月3日[Submission date] December 3, 1991

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0016[Correction target item name] 0016

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0016】図2は図1のバスリクエスタの要部構成を
示すブロック図である。図において、1はバスリクエス
タ、4は多重バス、5はバスリクエスト信号、6はバス
グラント信号、7はセル発生信号、10はメモリ、11
はメモリ10を制御するメモリ制御部である。セル発生
信号7は、バスリクエスタ1にセルが到着するごとにメ
モリ制御部11から出力され、メモリ制御部11はメモ
リ10の情報蓄積量に基づき送出単位(セル)分の情報
が蓄積されたことを認識すると、上記従来装置と同
バスリクエスト信号5をオンにする。
FIG. 2 is a block diagram showing the construction of the essential parts of the bus requester of FIG. In the figure, 1 is a bus requester, 4 is a multiplex bus, 5 is a bus request signal, 6 is a bus grant signal, 7 is a cell generation signal, 10 is a memory, 11
Is a memory control unit for controlling the memory 10. The cell generation signal 7 is output from the memory control unit 11 every time a cell arrives at the bus requester 1, and the memory control unit 11 has accumulated the information of the transmission unit (cell) based on the information storage amount of the memory 10. when recognizing, to turn on the bus request signal 5 of the above conventional device the same way.

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0025[Name of item to be corrected] 0025

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0025】例えば、メモリ22から読み出してきたト
ラヒック量の記録値がバスリクエスタ1c,1a,1b
の順序で大きかったとすると、この場合の優先制御信号
15a〜15fの2進コードは0,1,1,1,0,0
となる。
For example, the recorded value of the traffic amount read from the memory 22 is the bus requesters 1c, 1a, 1b.
, The binary code of the priority control signals 15a to 15f in this case is 0, 1, 1, 1, 0, 0.
Becomes

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0026[Correction target item name] 0026

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0026】続いて、図3及び図5に示されるバスグラ
ント生成部16の動作について説明する。バスグラント
生成部16は、入力された優先制御信号15a〜15f
及びバスリクエスト信号5a〜5c及び現時点のバスグ
ラント信号6a〜6cを用いて、ゲート24a〜24l
によって制御した次のバスグラント信号6a〜6cを出
力する。例えば、優先順位の高い方から順序にバスリク
エスタ1c,1a,1bとなる場合に、上記したように
優先制御信号15a〜15fは0,1,1,1,0,0
が入力され、ゲート24h,24i,24jがオンさ
れ、従ってバスリクエスタ1c,1a,1bの順序で優
先的にバスグラント信号6a〜6cがオンされるように
なる。このように本実施例では、1日前の同時間帯のセ
ル発生量(トラヒック量)の大きい順序にバスリクエス
タ1a〜1cの優先順位が高くなるように制御される。
Next, the operation of the bus grant generator 16 shown in FIGS. 3 and 5 will be described. The bus grant generation unit 16 receives the input priority control signals 15a to 15f.
And the bus request signals 5a to 5c and the current bus grant signals 6a to 6c, the gates 24a to 24l.
The following bus grant signals 6a to 6c controlled by are output. For example, when the bus requesters 1c, 1a and 1b are arranged in order from the highest priority, the priority control signals 15a to 15f are 0 , 1, 1, 1, 0 , 0 as described above.
Is input to turn on the gates 24h, 24i, and 24j, so that the bus grant signals 6a to 6c are preferentially turned on in the order of the bus requesters 1c, 1a, and 1b. As described above, in the present embodiment, the bus requesters 1a to 1c are controlled so that the bus requesters 1a to 1c are prioritized in the descending order of the cell generation amount (traffic amount) in the same time zone one day before.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 三浦 紳 神奈川県鎌倉市大船五丁目1番1号 三菱 電機株式会社通信システム研究所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Shin Miura 5-1-1, Ofuna, Kamakura-shi, Kanagawa Mitsubishi Electric Corporation Communication Systems Laboratory

Claims (1)

【特許請求の範囲】 【請求項1】 共通のバスに送出する情報を一時蓄積す
るメモリと、このメモリの情報蓄積量に基づきバス要求
信号を出力するメモリ制御部とを有する複数のバスリク
エスタを備え、この各バスリクエスタから出力されるバ
ス要求信号を優先順位に従って調停し、最も優先順位の
高いバスリクエスタにバス許可信号を出力するようにし
た多重化装置において、 上記各バスリクエスタの情報発生量を測定するトラヒッ
ク量測定部と、このトラヒック量測定部の測定値を記録
しておき、この記録しておいた過去のトラヒック量に基
づいてバスリクエスタの優先順位を動的に制御するバス
アービタとを備えたことを特徴とする多重化装置。
Claim: What is claimed is: 1. A plurality of bus requesters comprising: a memory for temporarily storing information to be sent to a common bus; and a memory control section for outputting a bus request signal based on the information storage amount of the memory. In the multiplexing device that is provided with, arbitrates the bus request signal output from each bus requester according to the priority, and outputs the bus grant signal to the bus requester with the highest priority, the information generation amount of each bus requester described above. A traffic volume measurement unit that measures the traffic volume and a measurement value of this traffic volume measurement unit are recorded, and a bus arbiter that dynamically controls the priority of the bus requester based on the recorded past traffic volume. A multiplexing device characterized by being provided.
JP18980191A 1991-07-30 1991-07-30 Multiplexer Pending JPH0537480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18980191A JPH0537480A (en) 1991-07-30 1991-07-30 Multiplexer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18980191A JPH0537480A (en) 1991-07-30 1991-07-30 Multiplexer

Publications (1)

Publication Number Publication Date
JPH0537480A true JPH0537480A (en) 1993-02-12

Family

ID=16247440

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18980191A Pending JPH0537480A (en) 1991-07-30 1991-07-30 Multiplexer

Country Status (1)

Country Link
JP (1) JPH0537480A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05316078A (en) * 1992-05-07 1993-11-26 Nec Corp Information multiplex system
JP2007208847A (en) * 2006-02-03 2007-08-16 Advanced Telecommunication Research Institute International Priority determining device and computer program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05316078A (en) * 1992-05-07 1993-11-26 Nec Corp Information multiplex system
JP2007208847A (en) * 2006-02-03 2007-08-16 Advanced Telecommunication Research Institute International Priority determining device and computer program

Similar Documents

Publication Publication Date Title
US6199124B1 (en) Arbitration system based on requester class and relative priority including transmit descriptor valid bit for a shared resource having multiple requesters
JP4480427B2 (en) Resource management device
CA1193687A (en) Circuitry for allocating access to a demand-shared bus
US6420901B2 (en) Quantized queue length arbiter
US5901146A (en) Asynchronous data transfer and source traffic control system
EP1403773A2 (en) Resource management device
EP0218426A2 (en) Bus interface
US20020069310A1 (en) Arbitration method and circuit architecture therefore
JPH0594409A (en) Bus arbitration system
JPH08263429A (en) Bus access arbitration system and method for recognition of bus access
US7065594B2 (en) Method and apparatus of allocating minimum and maximum bandwidths on a bus-based communication system
JP3098769B2 (en) RAM-based event counter device and method
US6104724A (en) Asynchronous data transfer and source traffic control system
KR960042385A (en) Arbitrator by LRU
US9223731B2 (en) Arbitration circuit and control method thereof
JPH0537480A (en) Multiplexer
US9330038B2 (en) Computer arbitration system, bandwidth, allocation apparatus, and method thereof
JPH0528103A (en) Bus multiplex system
JPH0522335A (en) Bus multiplex system
JP3039451B2 (en) Priority arbitration device
JPH01279354A (en) Data processing system having common bus and preference decision circuit
JPH10149311A (en) Memory controller
KR100190184B1 (en) Transmitting circuit for data with serial bus line
JPS6019819B2 (en) Bus right control method
JP4097377B2 (en) Microcomputer