KR950015084B1 - Control unit and method of fast access to mechi using ring - Google Patents
Control unit and method of fast access to mechi using ring Download PDFInfo
- Publication number
- KR950015084B1 KR950015084B1 KR1019930009460A KR930009460A KR950015084B1 KR 950015084 B1 KR950015084 B1 KR 950015084B1 KR 1019930009460 A KR1019930009460 A KR 1019930009460A KR 930009460 A KR930009460 A KR 930009460A KR 950015084 B1 KR950015084 B1 KR 950015084B1
- Authority
- KR
- South Korea
- Prior art keywords
- token
- window
- priority
- cell
- value
- Prior art date
Links
Abstract
Description
제1도는 본 발명이 적용되는 이중링 구성예1 is a double ring configuration to which the present invention is applied
제2a도는 이중링 구성시의 액세스유닛의 구성 블럭도.Fig. 2A is a block diagram of an access unit in the double ring configuration.
제2b도는 단일링 구성시의 액세스유닛의 구성 블럭도.Fig. 2B is a block diagram showing the configuration of the access unit in the single ring configuration.
제3도는 3단계의 우선순위를 가지는 셀송신부와 토큰처리부의 구성 블럭도.3 is a block diagram of a cell transmitter and a token processor having three levels of priority.
제4도는 링을 회전하는 셀의 구성 블럭도.4 is a structural block diagram of a cell rotating a ring.
제5도는 3단계 우선순위를 가지는 경우의 각 우선순위의 셀 송신 방법 흐름도.5 is a flowchart of a cell transmission method for each priority in the case of having three levels of priority.
제6도는 윈도우토큰이 도착할 경우의 동작을 나타내는 흐름도.6 is a flowchart showing an operation when a window token arrives.
링 형태의 공유 전송매체를 사용하는 근거리통신망(LAN : Local Area Netwoks) 또는 도시망(MAN : Metropolitan Area Networks)에서 링에 연결된 다수의 노드에게 공정한 액세스 기회를 제공하고, 동시에 데이타의 전달시 요구되는 서비스 품질을 만족시키기 위하여 다수의 우선순위 액세스 제어기능을 제공하는 고속 매체접근 제어장치 및 방법에 관한 것이다.Local Area Networks (LAN) or Metropolitan Area Networks (MAN) using shared transmission media in a ring form provide fair access opportunities to multiple nodes connected to the ring, and at the same time A high speed medium access control apparatus and method for providing a plurality of priority access control functions to satisfy a quality of service.
이중링 형태를 가지는 기존의 프로토콜로는 ATMR(Asynchronous Transfer Mode Ring)과 Metaring이 있다. 공정성 및 우선순위 제어 기능을 실현하기 위하여 ATMR에서는 주기적인 리셋을 사용하고 있으며 Metaring에서는 SAT(SATisfy) 제어신호를 사용하고 있다. 주기적인 리셋을 사용하는 경우 리셋이 발생될 때마다 노드들에게 송신할 수 있는 셀의 갯수를 나타내는 쿼타를 할당하는 방식에 의하여 노드들간에 공정성을 유지하고 있다. 이러한 방법은 모든 노드가 할당된 쿼타를 모두 사용하였는지 검사하여 새로운 리셋을 발생시켜야 하므로 연속된 두 리셋사이클 사이에는 사이클의 종료시점을 판단하는 시간동안 링의 대역폭을 사용하지 못하는 휴지시간(idle time)이 발생하게 된다. 이 휴지시간은 링의 지연에 비례하여 증가되므로 망의 처리율이 링의 지연에 민감하게 되는 단점이 있다. 우선순위제어에 있어서도 높은 우선순위정보의 최대 전달지연을 일정시간 이내로 제한하기 위하여 높은 우선순위셀이 규정된 시간 이내에 송신되지 않으면 인터럽트 리렛을 발생시켜 낮은 우선순위 셀의 송신을 금지시키며 높은 우선순위 셀이 모두 송신되면 다시 정상적인 리셋을 발생시켜 모든 우선순위 셀이 송신될 수 있도록 한다. 이러한 ATMR의 우선순위 제어 방식은 높은 우선순위 셀에 대하여는 리셋주기를 짧게 적용하여 최대 전달지연을 규정값 이내로 제한하고 있으므로 결과적으로 리셋발생 빈도를 증가시켜 전송매체의 이용률을 저하시키는 단점이 있다.Conventional protocols having a double ring type include Asynchronous Transfer Mode Ring (ATMR) and Metaring. In order to realize fairness and priority control, ATMR uses periodic reset and Metaring uses SAT (SATisfy) control signal. In case of using periodic reset, fairness is maintained between nodes by assigning a quota indicating the number of cells that can be transmitted to the nodes whenever a reset occurs. This method must check whether all nodes have used all their quotas and generate a new reset, so the idle time between the two successive reset cycles does not use the bandwidth of the ring during the determination of the end of the cycle. This will occur. This idle time is increased in proportion to the delay of the ring, so that the throughput of the network becomes sensitive to the delay of the ring. Even in priority control, if a high priority cell is not transmitted within a specified time to limit the maximum transfer delay of high priority information within a certain time, an interrupt relet is generated to prohibit the transmission of a low priority cell. When all of these have been sent, a normal reset will occur again, allowing all priority cells to be sent. The priority control scheme of ATMR applies a short reset period to a high priority cell to limit the maximum propagation delay to within a predetermined value. As a result, the frequency of reset is increased to decrease the utilization rate of a transmission medium.
Metaring에서는 슬롯이 전달되는 방향과 반대로 SAT제어신호를 회전시키고 있다. SAT가 노드를 통과하면 노드에게 최대쿼타(Max-quota)와 최소쿼타(Min-quota)값을 할당한다. 송신할 셀을 가진 노드는 최대쿼타(Max-quota)개의 셀을 송신할 수 있으며 SAT가 링을 회전하여 다시 돌아왔을 때 송신할 셀이 남아있고 최소쿼타(Min-quota)값이 0보다 크면 최소쿼타값이 0이 되거나 송신할 셀이 남아 있지 않을 때 까지 SAT의 통과를 보류한다. 송신할 셀이 없거나 쿼타를 모두 사용한 경우 SAT를 통과시킴과 동시에 새로운 쿼타(Min-quota, Max-quota)를 할당받으며 송신할 셀과 쿼타(Min-quota)가 모두 남아있는 경우 셀을 모두 송신하거나 쿼타를 모두 사용할때까지 SAT의 통과를 보류한다. 이와 같은 방법은 SAT가 연속적으로 링을 회전하여 노드들에게 새로운 쿼타를 할당하므로 리셋을 사용하는 방법에 비하여 대역의 낭비가 적어 전송매체 이용률이 높다. 우선순위 제어를 위하여는 SAT에 우선순위를 부여하고, 각 노드는 SAT가 통과하는 순간에 SAT보다 높은 우선순위의 데이타가 남아있으며 SAT의 우선순위를 높여 송신하며 SAT를 수신한 노드는 SAT보다 낮은 우선순위의 데이타를 송신할 수 없도록 하고 있다. 이 방법은 우선순위가 높여진 SAT는 최소한 링을 1회전 이상 회전하여야만 다시 원래의 우선순위로 변화될 수 있다.In metaring, the SAT control signal is rotated in the opposite direction to the slot transfer direction. When the SAT passes through a node, it assigns a maximum and minimum quota to it. A node with a cell to transmit may transmit up to Qu-quota cells, and when the SAT returns by rotating the ring, the remaining cell to send remains and if the Min-quota value is greater than zero, then the minimum The pass of the SAT is suspended until the quota value becomes zero or there are no cells left to transmit. If there is no cell to send or if the quota is used up, it passes the SAT and is assigned a new quota (Min-quota, Max-quota), and if both the cell and the quota (Min-quota) remain, Suspend the passing of the SAT until all quotas are used up. In this method, since the SAT continuously rotates the ring and allocates new quotas to the nodes, the use of the transmission medium is high because there is less wasted bandwidth than the reset method. Priority control is given to the SAT, and each node has higher priority data than the SAT at the moment the SAT passes, transmits the SAT with higher priority, and the node receiving the SAT is lower than the SAT. Priority data cannot be transmitted. This way, the higher priority SAT can be changed back to its original priority by at least one rotation of the ring.
이러한 SAT의 단속적인 우선순위 변화에 의한 우선순위제어 방법은 SAT의 우선순위가 본래의 우선순위로 낮아지기 위하여는 SAT의 우선순위가 같거나 높은 우선순위의 데이터가 남아있지 않아야 하므로 링의 지연에 비례하는 오버헤드가 발생하여 매체의 이용률이 저하되는 단점이 있다.In order to reduce the priority of the SAT to its original priority, the priority control method based on the intermittent priority change of the SAT is proportional to the delay of the ring since the data of the same or higher priority of the SAT must not remain. There is a disadvantage in that the overhead is generated and the utilization rate of the medium is lowered.
본 발명은 데이타를 일정길이의 셀로 나누어 전송하는 링 형태의 망에서 초당 1기가비트 이상의 전송속도를 가지는 경우에 있어서도 전송매체의 대역손실을 최소화 하면서 노드들에게 우선순위별 공정한 접근 기회를 제공하는 기능 및 높은 우선순위 데이타를 우선적으로 송신하여 높은 우선순위의 최대 액세스지연을 일정값이내로 제한할 수 있는 우선순위제어 방법을 제공하는 것을 목적으로 한다.The present invention provides a fair access opportunity according to priorities to nodes while minimizing bandwidth loss of a transmission medium even in a ring type network in which data is divided into cells having a predetermined length and transmitted at a speed of 1 gigabit per second or more. It is an object of the present invention to provide a priority control method capable of preferentially transmitting high priority data to limit the maximum access delay of a high priority within a predetermined value.
본 발명은 제1도와 같은 일정길이의 연속된 슬롯이 서로 반대 방향으로 회전하는 이중량(11) 또는 연속된 슬롯이 회전하는 단일링에 적용되는 매체제어 프로토콜에 관한 것으로 링에 연결된 노드들(12)에게 공정한 액세스 기회를 제공하고, 전달하고자 하는 데이타가 여러 우선순위로 나누어지는 경우 높은 우선순위 데이타를 우선적으로 전달하는 방법에 있어서 전송매체의 이용률을 기존의 방법에 비하여 현저하게 높일 수 있도록 한 것이다.The present invention relates to a medium control protocol applied to a single ring in which a continuous slot of a certain length rotates in opposite directions as shown in FIG. 1 or a single ring in which a continuous slot rotates. ) Provides a fair access opportunity, and when the data to be delivered is divided into several priorities, the utilization rate of the transmission medium is significantly increased compared to the conventional method in the method of preferentially delivering high priority data. .
본 발명에서는 각 우선순위마다 하나씩 할당된 다수의 윈도우토큰이 동시에 링을 회전하도록 하고, 윈도우토큰이 노드를 통과할 때마다 해당 우선순위에 쿼타를 할당하며 노드는 윈도우토큰이 링을 회전하는 동안 할당된 쿼타 갯수만큼의 셀을 송신하도록 하는 방법에 의하여 노드들에게 공정한 액세스 기회를 제공한다. 쿼타는 윈도우토큰이 링을 일회전하는 동안 송신할 수 있는 셀의 수를 나타내며 쿼타의 크기는 송신하고자 하는 데이타의 크기에 따라 결정되므로 노드마다 다른 값을 가질수 있다. 우선순위 k의 송신큐에 있는 셀이 송신되기 위하여는 k보다 높은 모든 우선순위가 셀을 송신할 수 없는 상태이고, k보다 높은 모든 우선순위 윈도우토큰의 링 회전시간이 규정값 이내이야 하며 동시에 우선순위 k의 쿼타가 남아 있어야만 한다. 또한 우선순위 k의 윈도우토큰의 노드를 통과하기 위하여는 k보다 높은 모든 우선순위 각각에 대하여 쿼타가 남아 있지 않거나 우선순위의 송신큐에 송신할 셀이 남아있지 않고, k보다 높은 모든 우선순위의 윈도우토큰 회전시간이 규정값 이내 이어야 한다. 따라서 본 발명에서 각 우선순위 윈도우토큰의 링 회전시간은 망에 가해진 해당 우선순위와 같거나 높은 부하의 크기에 비례하게 된다.In the present invention, a plurality of window tokens, one assigned to each priority, rotate the ring at the same time, each time the window token passes through the node, a quota is assigned to the priority, and the node is assigned while the window token rotates the ring. The nodes are provided with fair access opportunities by transmitting the number of quota cells. Quota refers to the number of cells that Windows Token can transmit while rotating the ring, and the size of the quota depends on the size of the data to be transmitted. In order for a cell in the transmission queue of priority k to be transmitted, all priorities higher than k cannot transmit the cell, and the ring rotation time of all priority window tokens higher than k must be within the specified value. Quota of rank k must remain. In addition, in order to pass the node of the window token of priority k, no quota remains for each priority higher than k, or there are no cells to transmit in the transmission queue of priority, and windows of all priority higher than k. Token rotation time must be within the specified value. Therefore, in the present invention, the ring rotation time of each priority window token is proportional to the magnitude of the load equal to or higher than the corresponding priority applied to the network.
이러한 다중토큰 우선순위제어 방법은 우선순위 k의 윈도우토큰이 규정시간 이내에 도착되지 않은 노드들 즉 망내 일부에서만 k보다 낮은 우선순위 셀의 송신이 중지되므로 ATMR 이나 Metraring에 비하여 전송매체의 이용률 저하가 현저히 감소된다. 또한 우선순위 k의 윈도우토큰이 노드를 통과할 때 할당한 쿼타 갯수만큼의 셀은 우선순위 k의 윈도우토큰이 일회전하는 동안에 송신이 보장되므로, 윈도우토큰의 회전시간을 일정값 이내로 제한하는 방법에 의하여 셀의 최대 전달지연을 일정시간 이내로 제한할 수 있다.In this multi-token priority control method, the transmission of priority media lower than k is stopped only in nodes where priority k window tokens do not arrive within a specified time, that is, in the network, so that the utilization rate of transmission medium is significantly lower than that of ATMR or metraring. Is reduced. In addition, since the number of quotas of cells allocated when the window token of priority k passes through the node is guaranteed to be transmitted while the window token of priority k is rotated one time, the window token's rotation time is limited to a certain value. The maximum transmission delay of the cell can be limited within a certain time.
본 발명에 의한 실시예로서 3단계의 우선순위를 가진 매체접근제어 방법에 대하여 설명한다.As an embodiment of the present invention, a media access control method having three levels of priority will be described.
제1도는 본 발명이 적용되는 망의 구성을 나타낸다. 즉 본 발명은 서로 반대방향으로 일정 길이의 슬롯이 회전하는 이중링에 다수의 노드가 연결되는 형태의 망에 적용되는 적을 원칙으로 하며 단일링에서도 적용될 수 있다.1 shows a configuration of a network to which the present invention is applied. That is, the present invention is applied in principle to an enemy applied to a network in which a plurality of nodes are connected to a double ring in which slots of a predetermined length rotate in opposite directions, and can also be applied to a single ring.
제2도는 노드의 구성을 나타낸다. 이중링에 연결된 노드는 제2a도와 같이 2개의 링 각각에 셀에 송수신하는 2개의 액세스유닛(21,22)을 가지고 있으며, 두개의 액세스유닛은 독립적으로 동작한다. 본 발명이 단일링에 적용될 경우 제2b도와 같이 노드는 하나의 액세스유닛(26)으로 구성된다. 액세스유닛은 셀이 실려있는 슬롯이 도착하면 노드는 셀의 헤더영역을 살펴 셀의 수신지가 자신이며 이를 수신하고 슬롯에 실려있는 셀을 제거하여 빈 슬롯으로 만드는 셀수신부(23), 빈 슬롯이 도착하면 윈도우계수기의 값이 0보다 큰 가장 높은 우선순위의 송신큐에 있는 셀을 송신하고 토큰처리부에 해당 우선순위의 윈도우계수기를 1감소시키는 셀송신부(24), 우선순위 k의 윈도우토큰이 도착하면 k와 같거나 높은 모든 우선순위에 대하여 송신큐에 셀이 남아 있으면서 윈도우계수기의 값이 0보다 큰 우선순위가 하나라도 존재하면 윈도우토큰의 통과를 보류하고 윈도우토큰의 통과조건이 충족되면 윈도우토큰을 통과시킴과 동시에 윈도우계수기에 쿼타를 할당하는 토큰처리부(25)로 구성된다.2 shows the configuration of a node. The node connected to the double ring has two access units 21 and 22 transmitting and receiving to and from a cell in each of the two rings as shown in FIG. 2A, and the two access units operate independently. When the present invention is applied to a single ring, the node is composed of one access unit 26 as shown in FIG. 2B. When the access unit arrives at the slot in which the cell is loaded, the node looks at the header area of the cell and the destination of the cell is its own. When the cell transmitter 24 transmits a cell in the transmission queue of the highest priority having a window counter value greater than 0 and decreases the window counter of the priority by one, the window token of priority k arrives. If there is a cell in the transmission queue for all priorities equal to or higher than k and there is at least one priority with a window counter value greater than zero, the window token is suspended. If the pass condition of the window token is satisfied, the window token is opened. Pass through and the token processing unit 25 for allocating quotas to the window counter.
제3도는 링을 회전하는 슬롯의 구성을 나타낸다. 슬롯은 액세스유닛에 쿼타를 할당하는 윈도우토큰이 전달되는 비트와 링을 무한정 회전하는 셀을 감지하기 위한 모니터 비트를 포함하고 있는 액세스 제어영역(31), 셀송신부에서 데이타를 교환하기 위하여 데이타와 데이타의 수신지를 나타내는 주소가 포함된 정보영역(32)으로 구성된다.3 shows the configuration of a slot for rotating the ring. The slot includes an access control area 31 including a bit for transmitting a window token for allocating a quota to an access unit and a monitor bit for detecting a cell that rotates the ring indefinitely, and data and data for exchanging data in a cell transmitter. It consists of an information area 32 containing an address representing the destination of.
제4도는 셀송신부와 토큰처리부의 구성을 나타낸 블럭도이다. 셀송신부는 우선순위별로 송신할 셀을 저장하는 송신큐(42), 송신큐에 저장된 셀을 빈 슬롯에 실어서 송신하는 셀송신기(41), 셀의 송신여부 및 어느 우선순위의 셀을 송신할 것인가를 결정하는 송신제어기(43)로 구성된다. 토큰처리부는 링 B로부터 수신된 윈도우토큰을 우선순위별로 나누어 토큰버퍼에 저장하는 토큰분배기(40), 각 우선순위별 윈도우토큰의 통과조건을 만족할 때까지 일시적으로 윈도우토큰을 저장하는 토큰버퍼(49), 해당우선순위의 윈도우토큰이 통과하면 쿼타값을 할당받으며 해당 우선순위의 셀이 송신될 때마다 값이 감소되는 윈도우계수기(48), 윈도우토큰이 통과할 때마다 값이 0으로 초기화되며 시간이 경과됨에 따라 값이 증가되는 토큰타이머(47), 윈도우토큰이 통과될 때 0으로 초기화되기 직전의 토큰타이머 값을 저장하는 토큰회전시간 버퍼(46), 윈도우토큰의 통과조건의 판단 및 토큰버퍼 윈도우계수기의 제어를 수행하는 토큰제어기(44), 토큰제어기에서 윈도우토큰의 통과조건의 판단기준값으로 사용하는 두 종류의 변수 즉 Cycle_MIN, Cycle_MAX를 저장하는 변수버퍼(45)로 구성된다. 토큰버퍼와 윈도우 계수기는 각 우선순위마다 하나씩 할당되며 토큰타이머, 토큰회전시간버퍼, Cycle_MIN, Cycle_MAX는 최하위 우선순위를 제외한 나머지 우선순위마다 하나씩 할당된다. 제4도의 각부 명칭에서 첨자는 우선순위를 나타내며 첨자의 값이 작을 수록 높은 우선순위를 나타낸다.4 is a block diagram showing the structure of a cell transmitter and a token processor. The cell transmitting unit transmits a transmission queue 42 for storing cells to be transmitted by priority, a cell transmitter 41 for loading cells stored in the transmission queue into empty slots, whether cells are to be transmitted, and cells of any priority. It consists of the transmission controller 43 which determines whether it is. The token processing unit divides the window token received from the ring B by priority and stores it in the token buffer, and the token buffer 40 temporarily stores the window token until the pass condition of the window token for each priority is satisfied. If the window token of the corresponding priority passes, the quota value is assigned and the window counter 48 decrements each time the cell of the priority is transmitted.The value is initialized to 0 each time the window token passes. Token timer 47 that increases in value as the elapsed time, token rotation time buffer 46 for storing the token timer value immediately before it is initialized to 0 when the window token is passed, determination of the pass condition of the window token and token buffer Token controller 44, which controls the window counter, and two types of variables, Cycle_MIN and Cycle_MAX, used as a criterion value of the pass condition of the window token in the token controller. It is composed of a variable buffer 45 for storing. Token buffer and window counter are assigned one for each priority, and token timer, token rotation time buffer, Cycle_MIN and Cycle_MAX are assigned one for each priority except the lowest priority. In the names of the parts of FIG. 4, the subscript indicates the priority, and the smaller the subscript value, the higher the priority.
상기와 같은 구성을 가지는 셀송신부와 토큰처리부와 동작을 흐름도를 사용하여 상세히 설명한다.The operation of the cell transmitter and the token processor having the above configuration will be described in detail using a flowchart.
제5도는 셀송신부에 빈 슬롯이 도착하였을 경우의 셀송신 방법을 나타내는 흐름도로써 3단계의 우선순위를 가지는 경우의 예를 나타낸다. 노드가 빈 슬롯을 만났을 때 가장 높은 우선순위인 우선순위 1의 윈도우계수기(윈도우계수기 1 : 1은 윈도우계수기의 우선순위를 나타냄)의 값이 0보다 크고 송신큐 1에 셀이 남아 있는 상태이면 송신큐 1에 있는 셀을 1개를 송신하고 윈도우계수기 1을 감소시킨다(56). 만약 상기 조건이 만족되지 않으면 우선순위 1의 윈도우토큰 회전시간이 규정된 변수 값을 초과하는 지를 검사하여 빈 슬롯을 그대로 통과시킬것인지 아니면 빈 슬롯의 사용권을 우선순위 2로 넘겨줄것인지를 결정한다(51). 즉 토큰타이머의 1의 값이 Cycle_MIN1보다 작고 토큰회전시간버퍼에 저장된 값이 Cycle_MAX1보다 작을 경우에는 빈 슬롯의 사용권을 우선순위 2에게 넘겨주며, 토큰타이머 1의 값이 Cycle_MIN1보다 크거나 토큰 회전시간버퍼의 값이 Cycle_MAX1보다 큰 경우에는 빈 슬롯을 통과시킨다(55). 빈 슬롯의 사용권이 우선순위 2로 넘겨질 경우 우선순위 2의 윈도우계수기와 송신큐를 검사한다(52). 이때 윈도우계수기 2의 값이 0보다 크고 송신큐 2에 송신할 셀이 남아있으면 송신큐 2에 있는 셀을 1개 송신하고 윈도우계수기 2를 감소시킨다(57). 만약 상기 조건이 만족되지 않으면 우선순위 2의 윈도우토큰 회전시간이 규정된 변수 값을 초과하는지를 검사하여 빈 슬롯을 그대로 통과시킬 것인지 아니면 빈 슬롯의 사용권을 우선순위 3으로 넘겨줄것인지를 결정한다(53). 즉 토큰타이머 2의 값이 Cycle_MIN2보다 작고 토큰회전시간버퍼 2에 저장된 값이 Cycle_MAX2보다 작을 경우에는 빈 슬롯의 사용권을 우선순위 3으로 넘겨주며, 토큰타이머 2의 값이 Cycle_MIN2보다 크거나 토큰회전시간버퍼 2의 값이 Cycle_MAX2보다 큰 경우에는 빈 슬롯을 통과시킨다(55). 빈 슬롯의 사용권이 우선순위 3으로 넘겨질 경우 우선순위 3의 윈도우계수기와 송신큐를 검사한다(54). 이때 윈도우계수기 3의 값이 0보다 크고 송신큐 3에 송신할 셀이 남아있으면 송신큐 3에 있는 셀을 1개 송신하고 윈도우계수기 3를 감소시키며(58), 상기 조건(54)이 만족되지 않으면 빈 슬롯을 사용하지 않고 통과시킨다.5 is a flowchart illustrating a cell transmission method when an empty slot arrives in the cell transmission unit. When the node encounters an empty slot, the highest priority window counter (Window counter 1: 1 indicates the window counter priority) is greater than 0 and cells remain in transmission queue 1. Send one cell in queue 1 and decrement window counter 1 (56). If the above conditions are not met, check whether the window token rotation time of priority 1 exceeds the value of the defined variable to determine whether to pass the empty slot as it is or to pass the license of the empty slot to priority 2. 51). In other words, if the value of 1 in the token timer is less than Cycle_MIN1 and the value stored in the token rotation time buffer is less than Cycle_MAX1, the right of the empty slot is transferred to priority 2, and the value of token timer 1 is greater than Cycle_MIN1 or the token rotation time buffer If is greater than Cycle_MAX1, pass the empty slot (55). If the right of use of the empty slot is transferred to priority 2, the window counter and the transmission queue of priority 2 are checked (52). At this time, if the value of the window counter 2 is greater than 0 and there are remaining cells to be transmitted in the transmission queue 2, one cell in the transmission queue 2 is transmitted and the window counter 2 is decreased (57). If the above condition is not satisfied, the window token rotation time of priority 2 exceeds the value of the defined variable to determine whether to pass the empty slot as it is or to pass the license of the empty slot to priority 3 (53). ). In other words, if the value of Token Timer 2 is less than Cycle_MIN2 and the value stored in Token Rotation Time Buffer 2 is less than Cycle_MAX2, the license of the empty slot is transferred to Priority 3, and the value of Token Timer 2 is greater than Cycle_MIN2 or the Token Rotation Time buffer If the value of 2 is greater than Cycle_MAX2, an empty slot is passed (55). If the right of use of the empty slot is transferred to priority 3, the window counter and the transmission queue of priority 3 are checked (54). If the value of the window counter 3 is greater than 0 and there are remaining cells to be transmitted to the transmission queue 3, one cell in the transmission queue 3 is transmitted and the window counter 3 is decreased (58). If the condition 54 is not satisfied, Pass through without using an empty slot.
제6도는 우선순위 i의 윈도우토큰(토큰 i)이 토큰처리부에 도착하였을 경우의 동작을 나타내는 흐름도이다. 즉 윈도우토큰 i가 토큰처리부에 도착되면 윈도우토큰 i의 통과조건이 만족될 때까지 토큰버퍼i내에 머무른다(66). 이러한 윈도우토큰의 통과조건은 아래에 기술한다. 윈도우토큰의 통과조건이 만족되면 윈도우토큰 i를 통과시키며(62) 그때의 토큰타이머 i값을 토큰회전시간버퍼 i에 저장한 후(63), 토큰타이머 i를 0으로 초기화하며(64), 윈도우계수기 i에 쿼타 i를 할당한다(65).6 is a flowchart showing the operation when the window token of priority i (token i) arrives at the token processing unit. That is, when the window token i arrives at the token processing unit, the token stays in the token buffer i until the pass condition of the window token i is satisfied (66). The passing conditions of these window tokens are described below. When the pass condition of the window token is satisfied, the window token i is passed (62), the token timer i value is stored in the token rotation time buffer i (63), and the token timer i is initialized to 0 (64). Quota i is assigned to counter i (65).
우선순위 i의 윈도우토큰(토큰 i)이 토큰처리부에 도착하면 다음의 4가지 조건을 동시에 만족시킬 경우에만 통과될 수 있다. 아래표기에서 i, k, j는 우선순위를 나타내며 1의 값이 가장 높은 우선순위를 의미한다. 'j=1, i'는 j가 우선순위 1에서부터 i까지 중의 어느하나의 우선순위를 나타내고 있음을 나타낸다. 첫째, k=1, i를 만족하는 모든 k각각에 대하여 윈도우계수기 k=0 또는 송신큐 k=0이어야 하며, 즉 가장 높은 우선순위부터 우선순위 i에 이르기까지의 모든 우선순위 각각에 대하여 윈도우계수기값이 0이거나 또는 송신큐에 송신할 셀이 남아있지 않아야 하며, 둘째, j=1, i-1을 만족하는 모든 j에 대하여 토큰타이머 j<Cycle MINj이어야 하며, 즉 윈도우토큰의 우선순위보다 높은 모든 우선순위의 토큰타이머값이 동일우선순위의 Cycle_MIN 값보다 작아야 하며, 셋째, j=1, i-1를 만족하는 모든 j에 대하여 토큰회전시간버퍼 j<Cycle MAXj이어야 하며, 즉 윈도우토큰의 우선순위보다 높은 모든 우선순위의 토큰회전시간버퍼의 값이 동일우선순위의 Cycle_MAX보다 작아야 하며, 넷째, j=1,i-1를 만족하는 모든 j에 대하여 윈도우토큰 j를 가지고 있지 않아야 한다. 즉 윈도우토큰의 우선순위보다 높은 우선순위의 윈도우토큰이 노드에 남아있지 않아야 한다. 만약 윈도우토큰의 우선순위가 가장 높은 우선순위(i=1)이면 둘째, 셋째, 넷째 조건은 해당되지 않는다.When the window token of priority i (token i) arrives at the token processing unit, it can be passed only if the following four conditions are met simultaneously. In the notation, i, k, and j represent the priority and the value of 1 means the highest priority. 'j = 1, i' indicates that j represents a priority of any one of priority 1 to i. First, the window counter k = 0 or the send queue k = 0 for all k k satisfying k = 1, i, i.e. the window counter for each of all priorities from highest priority to priority i The value must be 0 or no cells remain in the transmission queue. Second, the token timer j <Cycle MINj must be present for all j that satisfies j = 1, i-1, i.e., higher than the priority of the window token. The token timer value of all priorities must be smaller than the Cycle_MIN value of the same priority. Third, the token rotation time buffer j <Cycle MAXj for all js satisfying j = 1, i-1. The value of the token rotation time buffer of all priorities higher than the rank must be smaller than Cycle_MAX of the same priority. Fourth, the window token j must not be present for all j satisfying j = 1, i-1. That is, window tokens with higher priority than window tokens should not remain in the node. If the priority of the window token is the highest priority (i = 1), the second, third and fourth conditions are not applicable.
본 발명에 사용하는 Cycle_MINi와 Cycle_MAXi 변수는 모든 노드에서 동일한 값을 사용하여야 하며 이 변수들의 값은 우선순위, 각 우선순위가 요구하는 최대 전달지연 및 링의 지연에 의하여 결정된다. 그러나 Cycle_MINi 값이 링지연보다 작은값을 가질 경우에는 우선순위 i의 윈도우토큰의 링회전시간은 항상 Cycle_MINi보다 크게 되어 i와 같거나 높은 우선순위의 부하가 전혀 가해지지 않을 경우에도 i보다 낮은 우선순위 부하가 링의 대역을 효율적으로 사용하지 못하게 된다. 따라서 정상적인 상태에서는 Cycle_MINi의 값은 링지연과 같거나 큰 값을 가져야 한다. Cycle_MAXi 값이 링지연보다 작게 설정하면 우선순위 i윈도우토큰의 링 회전시간은 항상 Cycle_MAXi보다 크게 되어 i보다 낮은 우선순위는 셀 송신을 할 수 없게 되므로 Cycle_MAX 값은 항상 링지연보다 큰 값으로 설정되어야 한다.Cycle_MINi and Cycle_MAXi variables used in the present invention should use the same value at all nodes, and the values of these variables are determined by priority, maximum propagation delay required by each priority, and ring delay. However, if the Cycle_MINi value is smaller than the ring delay, the ring rotation time of the window token of priority i is always greater than Cycle_MINi so that the priority is lower than i even when no load of the same or higher priority is applied. The load will not be able to use the band of the ring efficiently. Therefore, under normal conditions, the value of Cycle_MINi should be equal to or larger than the ring delay. If the value of Cycle_MAXi is set smaller than the ring delay, the ring rotation time of the priority i window token is always larger than Cycle_MAXi, and the priority lower than i cannot transmit the cell. Therefore, the Cycle_MAX value should always be set higher than the ring delay. .
본 발명은 각 우선순위마다 하나의 윈도우토큰을 할당하여 우선순위별로 노드간에 공정한 셀 송신기회를 부여하며, 각 윈도우토큰 회전시간이 해당 우선순위 및 해당 우선순위보다 높은 우선순위의 부하의 크기를 나타내도록 하고, 윈도우토큰 회전시간이 규정값을 초과할 경우에 초과 정도에 따라 일부 노드의 낮은 우선순위 셀송신을 중지시키므로 단속적으로 망 전체의 우선순위가 변화되는 ATMR이나 Metaring에 비하여 전송매체의 지연에 의한 이용효율의 저하가 현저히 감소된다. 따라서 초당 1기가비트 이상의 속도, 100킬로 미터 이상의 길이를 가지는 경우에도 적용될 수 있다. 또한 각 우선순위의 윈도우토큰의 회전시간에 의하여 셀의 최대 액세스지연이 결정되므로 최대 액세스지연의 예측이 가능할 뿐만 아니라, 윈도우토큰의 회전시간이 규정값을 초과할 경우 낮은 우선순위의 셀 송신을 제한하므로써 높은 우선순위의 최대 액세스 지연을 규정값 이내로 제한시킬 수 있는 효과가 있다.The present invention assigns one window token to each priority to give a fair cell transmitter time between nodes according to the priorities, and each window token rotation time indicates the priority and the magnitude of the load having a priority higher than the priority. If the window token rotation time exceeds the specified value, it stops the low priority cell transmission of some nodes according to the excess level, which is why the delay of transmission media is lower than that of ATMR or Metaring, which changes the priority of the entire network intermittently. The decrease in utilization efficiency is significantly reduced. Thus, it can be applied to speeds of 1 gigabit per second or more and 100 kilometers or more. In addition, since the maximum access delay of the cell is determined by the rotation time of the window token of each priority, it is possible to predict the maximum access delay and limit the transmission of low priority cells when the rotation time of the window token exceeds the specified value. This has the effect of limiting the high priority maximum access delay to within the prescribed value.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019930009460A KR950015084B1 (en) | 1993-05-27 | 1993-05-27 | Control unit and method of fast access to mechi using ring |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019930009460A KR950015084B1 (en) | 1993-05-27 | 1993-05-27 | Control unit and method of fast access to mechi using ring |
Publications (1)
Publication Number | Publication Date |
---|---|
KR950015084B1 true KR950015084B1 (en) | 1995-12-21 |
Family
ID=19356298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019930009460A KR950015084B1 (en) | 1993-05-27 | 1993-05-27 | Control unit and method of fast access to mechi using ring |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR950015084B1 (en) |
-
1993
- 1993-05-27 KR KR1019930009460A patent/KR950015084B1/en not_active IP Right Cessation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6456590B1 (en) | Static and dynamic flow control using virtual input queueing for shared memory ethernet switches | |
US6621791B1 (en) | Traffic management and flow prioritization over multiple physical interfaces on a routed computer network | |
US6615271B1 (en) | Traffic control system having distributed rate calculation and link flow control | |
US5193090A (en) | Access protection and priority control in distributed queueing | |
US5455826A (en) | Method and apparatus for rate based flow control | |
Filipiak | Access protection for fairness in a distributed queue dual bus metropolitan area network | |
US6115748A (en) | Prioritized access to shared buffers | |
AU746167B2 (en) | Method and apparatus for forwarding packets from a plurality of contending queues to an output | |
US6108306A (en) | Apparatus and method in a network switch for dynamically allocating bandwidth in ethernet workgroup switches | |
US5446737A (en) | Method and apparatus for dynamically allocating shared resource access quota | |
JPH04227146A (en) | Unbiased accesss of plurality of priority traffics to variance wating matrix double bus-bars | |
US20120317398A1 (en) | Method for reducing buffer capacity in a pipeline processor | |
JP2001519973A (en) | Prioritized access to shared buffers | |
US6230191B1 (en) | Method and apparatus for regulating the amount of buffer memory requested by a port in a multi-port switching device with shared buffer memory | |
US6249819B1 (en) | Method for flow controlling ATM traffic | |
EP0669734A2 (en) | Method and apparatus for managing communications between multi-node quota-based communication systems | |
EP0666666B1 (en) | Method and apparatus for improved throughput in a multi-node communication system with a shared resource | |
JPH03132127A (en) | Packet communication method and communication terminal device | |
US5383186A (en) | Apparatus and method for synchronous traffic bandwidth on a token ring network | |
US8103788B1 (en) | Method and apparatus for dynamically reallocating buffers for use in a packet transmission | |
KR950015084B1 (en) | Control unit and method of fast access to mechi using ring | |
JP2946462B1 (en) | Packet scheduling control method | |
US4667322A (en) | Method and apparatus for local area networks | |
US5799020A (en) | Distributed cycle reset protocol for sharing single medium | |
JP2615441B2 (en) | Distributed access method for ring network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
G160 | Decision to publish patent application | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 19981221 Year of fee payment: 4 |
|
LAPS | Lapse due to unpaid annual fee |