[go: up one dir, main page]

JPH04235433A - Cyclic polling system - Google Patents

Cyclic polling system

Info

Publication number
JPH04235433A
JPH04235433A JP1270991A JP1270991A JPH04235433A JP H04235433 A JPH04235433 A JP H04235433A JP 1270991 A JP1270991 A JP 1270991A JP 1270991 A JP1270991 A JP 1270991A JP H04235433 A JPH04235433 A JP H04235433A
Authority
JP
Japan
Prior art keywords
data
length
polling
transmission
data length
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
JP1270991A
Other languages
Japanese (ja)
Inventor
Tomoyuki Ida
井田 知幸
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 JP1270991A priority Critical patent/JPH04235433A/en
Publication of JPH04235433A publication Critical patent/JPH04235433A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To level the throughput between respective workstations. CONSTITUTION:Plural workstations serve to mutually transmit/receive data via a transmission line 15. The respective workstations consist of a receiving control part 16 conducting the receiving control, a transmission control part 17 conducting the transmission control, a receiving data queue 18 storing the receiving data, a transmission data queue 19 storing the transmission data and a CPU20 conducting the control of these parts. The respective workstations judge current average data length, judge what times the length of data to be transmitted is the average data length, and when the length of the data to be transmitted is once or less than the average data length, immediately transmit the data while responding to a polling, or when the length of the data to be transmitted is once or more than the average data length, pass up the polling by the number of times equivalent to a multiple of the average data length.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【技術分野】本発明は巡回ポーリングシステムに関し、
特に複数のワークステーション間で順番に送信権を受渡
すことによりステーション間で任意長のデータを有する
1フレームづつのデータ伝送を行う単一制限式巡回ポー
リングシステムに関するものである。
TECHNICAL FIELD The present invention relates to a circular polling system.
More particularly, the present invention relates to a single-restriction cyclic polling system that transmits frame-by-frame data having arbitrary length data between stations by sequentially passing transmission rights between a plurality of workstations.

【0002】0002

【従来技術】従来のこの種の単一制限式巡回ポーリング
システムでは、各ワークステーションの使用帯域をネッ
トワーク全体のシステムスループットに応じてダイナミ
ックに変更して、各ワークステーション間のスループッ
トを平準化することができないという欠点がある。
[Prior Art] In this type of conventional single-limit circular polling system, the bandwidth used by each workstation is dynamically changed according to the system throughput of the entire network to level out the throughput among each workstation. The disadvantage is that it cannot be done.

【0003】0003

【発明の目的】そこで、本発明はかかる従来技術の欠点
を解決すべくなされたものであって、その目的とすると
ころは、各ワークステーション間のスループットの平準
化を可能とする巡回ポーリングシステムを提供すること
にある。
OBJECTS OF THE INVENTION The present invention has been made to solve the drawbacks of the prior art, and its purpose is to provide a cyclic polling system that makes it possible to equalize the throughput between workstations. It is about providing.

【0004】0004

【発明の構成】本発明によれば、複数のワークステーシ
ョン間で順番に送信権を受渡すことによりステーション
間で任意長のデータを有する1フレームづつのデータ伝
送を行う単一制限式巡回ポーリングシステムであって、
送信すべきデータ長を算出する手段と、送信権を示すポ
ーリングが巡回してくる周期を観測してポーリング周期
を算出する手段と、前記データ長,前記ポーリング周期
,回線速度,ステーション数から現在どれだけのデータ
長のフレームが平均して流れているかを判断決定する手
段と、この決定された平均データ長に対する前記送信す
べきデータ長の比からいくつポーリングされた後に送信
可能かどうかを判断する手段とを、各ワークステーショ
ンに設けたことを特徴とする巡回ポーリングシステムが
得られる。
SUMMARY OF THE INVENTION According to the present invention, there is provided a single-restriction cyclic polling system for transmitting data one frame at a time having data of arbitrary length between stations by sequentially passing transmission rights among a plurality of workstations. And,
A means for calculating the data length to be transmitted, a means for calculating a polling cycle by observing the cycle of polling indicating transmission rights, and a means for calculating the current polling cycle based on the data length, the polling cycle, the line speed, and the number of stations. means for determining whether frames with a data length of A cyclic polling system is obtained, which is characterized in that each workstation is provided with the following.

【0005】[0005]

【実施例】以下に図面を参照しつつ本発明の実施例を詳
述する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

【0006】先ず、図2を参照すると、本発明が適用さ
れるシステムの概略構成が示されている。複数のワーク
ステーション11〜14は伝送路15を介して相互にデ
ータを送受信する機能を有している。
First, referring to FIG. 2, a schematic configuration of a system to which the present invention is applied is shown. The plurality of workstations 11 to 14 have a function of mutually transmitting and receiving data via a transmission line 15.

【0007】図3は各ワークステーション内のブロック
図である。受信制御を行う受信制御部16と、送信制御
を行う送信制御部17と、受信データを蓄積する受信デ
ータキュー18と、送信データを蓄積する送信データキ
ュー19と、これ等各部を制御するCPU20とを含む
構成である。
FIG. 3 is a block diagram inside each workstation. A reception control unit 16 that performs reception control, a transmission control unit 17 that performs transmission control, a reception data queue 18 that stores reception data, a transmission data queue 19 that stores transmission data, and a CPU 20 that controls each of these parts. The configuration includes

【0008】伝送路15上に送出されたフレームは宛先
ステーションで受信制御部16により装置内に取込まれ
、受信データキュー18に蓄積される。送信データキュ
ー19に蓄積されている送信すべきデータは任意データ
長のフレーム単位で送信制御部17を介して伝送路15
へ送出される。この送信制御部17の送信動作制御がC
PU20により行われる。
[0008] The frames sent out on the transmission path 15 are taken into the device by the reception control section 16 at the destination station and accumulated in the reception data queue 18. The data to be transmitted accumulated in the transmission data queue 19 is sent to the transmission path 15 via the transmission control unit 17 in frame units of arbitrary data length.
sent to. The transmission operation control of this transmission control section 17 is
This is performed by the PU20.

【0009】各ワークステーションが任意の長さのデー
タを相互に送信するとき、単位時間当り1ステーション
が送信できるデータ量をステーション毎のスループット
と定義したとき、このスループットのステーション間で
のばらつきを平準化する。
When each workstation mutually transmits data of arbitrary length, if the amount of data that one station can transmit per unit time is defined as the throughput of each station, then the variation in this throughput between stations can be equalized. become

【0010】各ステーションは送信権であるポーリング
を受けることにより、データをフレームとして伝送路へ
送出する権利を有することになる。この各フレームのデ
ータ長をMとする。
By receiving polling, which is a transmission right, each station has the right to send data as a frame to a transmission path. Let M be the data length of each frame.

【0011】そして、ネットワーク内のステーション数
、回線速度は、システムが決定されれば既知(定数)と
なっており、そのネットワークのトラヒックは平均ポー
リング周期をステーション数で割ることにより、1ステ
ーション当りの平均データ送信時間と定義される。 尚、ポーリングのためのオーバヘッドが無視できない場
合には、予めこのオーバヘッドαを考慮しておく必要が
ある。
[0011] The number of stations in the network and the line speed are known (constants) once the system is determined, and the traffic on the network can be calculated by dividing the average polling cycle by the number of stations. Defined as the average data transmission time. Note that if the overhead for polling cannot be ignored, it is necessary to take this overhead α into consideration in advance.

【0012】従って逆の見方をすれば、ネットワークの
ステーション数と回線速度とから、任意のデータ長に対
するポーリング巡回時間Tは判定でき、このTはT={
(データ長)÷(回線速度)}×(ステーション数)+
α……(1)と表わされる。
Therefore, from the opposite perspective, the polling cycle time T for any data length can be determined from the number of stations in the network and the line speed, and this T is T={
(Data length) ÷ (Line speed)} × (Number of stations) +
α...It is expressed as (1).

【0013】このポーリング巡回時間Tは実際の運用時
にタイマで測定することにより算出できるので、(1)
式のデータ長すなわち1ステーション当りの平均データ
送出時間(平均データ長と等価)がわかることになる。
[0013] This polling circulation time T can be calculated by measuring it with a timer during actual operation, so (1)
The data length of the equation, that is, the average data transmission time per station (equivalent to the average data length) can be found.

【0014】そこで、平均データ長Nとポーリング巡回
時間Tとの対応表を、ステーション数及び回線速度をパ
ラメータとして与えておけば、実際の運用時のTにおけ
るNが決定可能となる。
[0014] Therefore, if a correspondence table between the average data length N and the polling circulation time T is provided using the number of stations and the line speed as parameters, N at T during actual operation can be determined.

【0015】ネットワークのトラヒックを安定させるた
めには、各ステーションが平均してNに近い長さのデー
タを1回のポーリング当りに送出すれば良いことから、
データ長Mの大なるフレームを送信するときには、M/
N=P回だけポーリングを待って送信すれば良いことに
なる。
[0015] In order to stabilize network traffic, it is sufficient for each station to send data with an average length close to N per polling.
When transmitting a large frame with data length M, M/
It is sufficient to wait for polling N=P times before transmitting.

【0016】Nの値は数回の平均を取ってその値で更新
するようにすれば、安定することになるので、Nの値が
定まってから次にNが更新されるまでの間、そのステー
ションは次の規則に従って動作するようにするのである
[0016] The value of N can be stabilized by taking the average of several times and updating it with that value. The station operates according to the following rules:

【0017】(1)送信データキューの先頭にあるデー
タの長さMがN以下のときは、ポーリングされたら直ち
にそのフレームを送信する。
(1) When the length M of the data at the head of the transmission data queue is less than or equal to N, the frame is transmitted immediately after being polled.

【0018】(2)送信データキューの先頭にあるデー
タの長さMがNのP倍のときは、P回目のポーリングま
で待ってそのフレームを送信する(その間のポーリング
は見送る)。
(2) When the length M of the data at the head of the transmission data queue is P times N, the frame is transmitted after waiting until the P-th polling (polling in the meantime is postponed).

【0019】この様に各ステーションが送信動作を行え
ば、各ステーション間のスループットの平準化がなされ
ることになる。そこで、CPU1は図1に示す動作処理
を行うものである。
[0019] If each station performs the transmission operation in this manner, the throughput among the stations will be equalized. Therefore, the CPU 1 performs the operation processing shown in FIG.

【0020】ステップ1で送信すべきデータが送信デー
タキューに蓄積されると、次のステップ2でその送信デ
ータ長Mを算出(検出)する。同時に、ステップ3でポ
ーリング周期Tを算出するが、このポーリング周期は随
時タイマを用いて測定することにより算出される。
When the data to be transmitted is accumulated in the transmission data queue in step 1, the transmission data length M is calculated (detected) in the next step 2. At the same time, a polling period T is calculated in step 3, and this polling period is calculated by measuring it using a timer at any time.

【0021】ステップ4では、この算出されたポーリン
グ周期Tにより平均データ長Nを決定するが、このNの
決定は平均データ長テーブル5を参照することにより行
われる。すなわち、前述した如く、ステーション数と回
線速度とをパラメータとして、予めポーリング巡回時間
Tに夫々対応して得られる平均データ長Nを(1)式に
従って算出して、対応表5を得ておき、各ステーション
のCPUに与えておくことにより、Nが決定されるので
ある。
In step 4, the average data length N is determined based on the calculated polling period T. This determination of N is performed by referring to the average data length table 5. That is, as described above, using the number of stations and the line speed as parameters, the average data length N obtained corresponding to each polling cycle time T is calculated in advance according to formula (1), and the correspondence table 5 is obtained. N is determined by providing it to the CPU of each station.

【0022】そして、ステップ6では、N,MからP=
M/Nを算出して、ステップ7において送信データ長は
平均データ長の何倍であるかを判別する。
[0022] Then, in step 6, from N, M to P=
M/N is calculated, and in step 7 it is determined how many times the transmission data length is the average data length.

【0023】このPが1以下であれば、ステップ9にお
いて送信データキューの送信データをポーリングに応答
して送出する。Pが1より大きければ、Pが1以下にな
るまでポーリングを見送るのである(ステップ8)。
If P is less than 1, then in step 9 the transmission data in the transmission data queue is sent out in response to polling. If P is greater than 1, polling is postponed until P becomes less than 1 (step 8).

【0024】この場合、Pは装置内のバッファ容量等に
より予めある値以内に制限されるものであるが、それと
は別に、Pをある値(システムパラメータ)以内に打切
るような制限を加えても良いものである。
[0024] In this case, P is limited in advance to within a certain value depending on the buffer capacity in the device, etc., but in addition to this, a restriction is added such that P is truncated to within a certain value (system parameter). is also good.

【0025】[0025]

【発明の効果】以上述べた如く、本発明によれば、現在
の平均データ長を判定して、送信すべきデータ長がこの
平均データ長に対して何倍かを判断し、1倍以下であれ
ば直ちにポーリングに応答してデータを送信し、1倍よ
り大きければその倍数に応じた回数だけポーリングを見
送るようにしているので、各ステーション間のスループ
ットの平準化が図れるという効果がある。
As described above, according to the present invention, the current average data length is determined, and the data length to be transmitted is determined how many times the average data length is. If there is, data is immediately transmitted in response to polling, and if it is greater than 1, polling is postponed a number of times corresponding to the multiple, which has the effect of leveling the throughput between each station.

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

【図1】本発明の実施例の動作を示す処理フロー図であ
る。
FIG. 1 is a processing flow diagram showing the operation of an embodiment of the present invention.

【図2】本発明が適用される巡回ポーリングシステムの
概略システムブロック図である。
FIG. 2 is a schematic system block diagram of a cyclic polling system to which the present invention is applied.

【図3】各ワークステーションの構成を示すブロック図
である。
FIG. 3 is a block diagram showing the configuration of each workstation.

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

11〜14  ワークステーション 15  伝送路 20  CPU 11-14 Workstation 15 Transmission line 20 CPU

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  複数のワークステーション間で順番に
送信権を受渡すことによりステーション間で任意長のデ
ータを有する1フレームづつのデータ伝送を行う単一制
限式巡回ポーリングシステムであって、送信すべきデー
タ長を算出する手段と、送信権を示すポーリングが巡回
してくる周期を観測してポーリング周期を算出する手段
と、前記データ長,前記ポーリング周期,回線速度,ス
テーション数から現在どれだけのデータ長のフレームが
平均して流れているかを判断決定する手段と、この決定
された平均データ長に対する前記送信すべきデータ長の
比からいくつポーリングされた後に送信可能かどうかを
判断する手段とを、各ワークステーションに設けたこと
を特徴とする巡回ポーリングシステム。
Claim 1: A single-restriction cyclic polling system for transmitting data one frame at a time having data of arbitrary length between stations by sequentially passing transmission rights among a plurality of workstations, the system comprising: means for calculating the data length to be used; means for calculating the polling cycle by observing the cycle of polling indicating transmission rights; means for determining whether or not frames of the data length are flowing on average; and means for determining whether or not transmission is possible after how many polls are performed based on the ratio of the data length to be transmitted to the determined average data length. , a cyclic polling system characterized by being installed at each workstation.
JP1270991A 1991-01-09 1991-01-09 Cyclic polling system Pending JPH04235433A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1270991A JPH04235433A (en) 1991-01-09 1991-01-09 Cyclic polling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1270991A JPH04235433A (en) 1991-01-09 1991-01-09 Cyclic polling system

Publications (1)

Publication Number Publication Date
JPH04235433A true JPH04235433A (en) 1992-08-24

Family

ID=11812944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1270991A Pending JPH04235433A (en) 1991-01-09 1991-01-09 Cyclic polling system

Country Status (1)

Country Link
JP (1) JPH04235433A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018195757A1 (en) * 2017-04-25 2018-11-01 Abb Schweiz Ag Method and apparatus for estimating throughput of production line

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018195757A1 (en) * 2017-04-25 2018-11-01 Abb Schweiz Ag Method and apparatus for estimating throughput of production line
US11205235B2 (en) 2017-04-25 2021-12-21 Abb Schweiz Ag Method and apparatus for estimating throughput of production line

Similar Documents

Publication Publication Date Title
KR100312238B1 (en) Method and system for providing congestion control in a data communications metwork
US6035333A (en) Method and system for providing congestion control in a data communications network
Takagi Analysis and application of polling models
US6108306A (en) Apparatus and method in a network switch for dynamically allocating bandwidth in ethernet workgroup switches
JP2870569B2 (en) Congestion processing method and congestion processing circuit in frame relay switching equipment
US6031821A (en) Apparatus and method for generating a pause frame in a buffered distributor based on lengths of data packets distributed according to a round robin repeater arbitration
US5822540A (en) Method and apparatus for discarding frames in a communications device
EP0254047A2 (en) Packet length traffic control in a local area network
US7502375B2 (en) Modular and scalable switch and method for the distribution of fast ethernet data frames
US20080232253A1 (en) Port rate smoothing in an avionics network
WO1998037658A2 (en) Channel aggregation having low latency and overhead
US20110096674A1 (en) Aggregate policing applying max-min fairness for each data source based on probabilistic filtering
US7395356B2 (en) Methods and apparatus for moving data elements within a data communications device
JPH04235433A (en) Cyclic polling system
Mitchell et al. End-to-end performance modeling of local area networks
US6324625B1 (en) Rotating rationed buffer refresh
JPS62104245A (en) Data flow control system
JPH1013472A (en) Delay-exceeded-discard processing system in network connection device having bridging function
Schmickler et al. Performance evaluation of a new CSMA/CD protocol based on the SRPT principle
JP2015231137A (en) Transfer control device, computer system and management device
JP3034405B2 (en) Local area network device
JPH06311172A (en) Access controller
JPH05252178A (en) Token ring data transmission system
JPH04249445A (en) Cyclic polling system
CN1659842B (en) Data Exchange and Broadcast Packet Queue Estimation Method