The present invention is related to a system or method of avoiding cell disposal in a buffer that reads cells out of a category buffer for cell storage, inside an ATM switch. Particularly, the present invention is related to a cell disposal avoidance system or method in a buffer that performs cell disposal by changing the reading speed at which a cell is read out from a category buffer.
The conventional cell disposal system of the above-mentioned type is employed as the system including buffers classified by QoS (Quality of Service) class. This system implements cell congestion control by changing the buffer size for each QoS class.
Moreover. JP-A No. 70547/1998, for example, discloses the above-mentioned conventional cell disposal system in which the input buffer has priority for transmission. This system includes plural input buffers corresponding to input ports, an ATM switch, plural output buffers, and an input buffer controller. The input buffer controller controls input buffers so as to exchange information on a degree of congestion in each input buffer between them. If there is an input buffer in a congestion state, the input buffer controller regulates transmission from input buffers in congestion state and gives the input buffer in the congestion state a priority for transmission. Moreover, the input buffer controller checks input buffers exceeding a threshold by output buffer and informs each input buffer of these sets of information. Each input buffer includes a stopper. The stopper performs discrimination based on information from art input-buffer-congestion-information collection and notification unit residing, with the threshold overshot, and ceases to transmit cells when the number of residence cells among cells to be transmitted to the corresponding output buffer does not exceed the threshold.
However, the conventional system including buffers for each QoS class has the disadvantage in that it is difficult to avoid the cell disposal in advance because when the traffic of a specific QoS class increases, the buffer size merely changes but the cell flow remains unchanged. Moreover, this conventional system cannot dynamically control congestion while monitoring cell disposal.
JP A No. 70547/1998, for example, discloses the system in which the input buffer has a priority for transmission. However, this system is not applicable to the input buffer-type ATM switch or output buffer-type ATM switch because the input buffer is linked with the output buffer. Moreover, in the above-mentioned technique, congestion is detected by periodically exchanging information on congestion conditions between the input buffer and the output buffer. Hence, there is the disadvantage in that the processing capability of the microprocessor decreases. Moreover, regarding the above-mentioned technique, the preferential transmission of the input buffer results in completely controlling and interrupting reading cells out of an input buffer in no cell disposal state when an input buffer generates cell disposal. Therefore, there is the problem in that when a congestion state continues, the input buffer in a cease state is involved in congestion.
The present invention is made to overcome the above-mentioned problems.
An objective of the present invention is to provide a cell disposal avoidance system that can previously avoid disposal of cells resided in the QoS buffer even if a specific QoS class traffic increases in an ATM switching system.
In order to achieve the above mentioned objective, in a cell disposal avoidance system in a first buffer, the buffer including category buffers classified by category in an ATM switching, the category buffers each for storing a cell, the buffer reading out the cell, the system comprises a weight representing the priority that determines the reacting rate for each of the category buffers; a reader for laying out allocation in a time division mode according to said priority mode, the allocation being read out of each of the category buffers when a cell in a buffer is read out, and reading out the allocation in a round-robin format; a detector for detecting cell disposal of the buffer; and a controller for changing to a higher weight of a priority mode in a buffer in a cell disposal state detected by the detector.
Moreover, the cell disposal avoidance system further comprises a first resetting unit for resetting a weight representing the priority mode of the buffer when the cell disposal of the buffer is stopped.
Moreover, a priority mode changed by said controller and an initial priority mode before changing are informed a maintenance terminal.
Moreover, the cell disposal avoidance system further comprises an informer for informing the maintenance terminal of the fact that the buffer in a cell disposal state has stopped its cell disposal; and a second resetting unit for resetting a weight representing the priority mode of the buffer in a cell disposal state by commands input by the informer.
According to the present invention, in a cell disposal avoidance system in a second butter, the buffer including category buffers classified by category in an ATM switch, the category buffers is each for storing a cell, the buffer reading out the cell, the system comprises a priority mode representing a weight of a reading rate to each of the category buffers at a cell reading time; a reader for laying out allocation in a time division mode according to the priority mode, the allocation being read out of each of the category buffers when a cell in a buffer is read out, and reading out the allocation in a round-robin format; a detector for detecting the fact that the capacity of the buffer exceeds a first threshold; and a first controller for changing to a higher value the weight of a priority mode of a buffer which exceeds the threshold detected by the detector.
Moreover, the cell disposal avoidance system further comprises a first resetting unit, when the capacity of a buffer exceeding the first threshold reaches a second threshold, for resetting the priority mode of the buffer to an initial weight.
Moreover, the cell disposal avoidance system further comprises a second controller, when the capacity of a buffer exceeding the first threshold reaches a third threshold value being less than the first threshold, for setting the priority mode of the butter to a weight lower than that of the first controller.
Moreover, a priority mode changed by said first or second controller and an initial priority mode before changing are informed a maintenance terminal.
Moreover, the cell disposal avoidance system further comprises an informer for informing the maintenance terminal of the fact that the capacity of the buffer exceeding the first threshold reaches the second threshold; and second resetting unit for resetting to an initial weight the priority mode of a buffer exceeding the first threshold, by a command input by the informer.
Moreover, in the cell disposal avoidance system, the category represents the type of QoS class in accordance with a header within an area of the cell and a path set in the area.
In a cell disposal avoidance method suitable in a first buffer, the buffer including category buffers classified by category in an ATM a switch, the category buffers each for storing a cell, the buffer reading out the cell, the method comprises the steps of setting to a higher level a cell reading priority of a buffer in which cell disposal occurs in congestion of the buffer; and changing a period during which cells are read from a buffer in a cell disposal state, in accordance with a priority allocated to each of the category buffers, to speed the reading rate of the buffer.
Moreover, the cell disposal avoidance method further comprises the steps of resetting, when said buffer in which cell disposal occurs stops cell disposal, the cell reading priority of the buffer to an initial value; and resetting a period during which a cell is read out of each of the category buffers to an initial state, according to a priority allocated to each of the category buffers.
Moreover, when cell disposal occurs in a category buffer, the cell disposal avoidance system further comprises the step of informing a maintenance terminal of a priority after change of the category buffer and a priority with an initial value.
Moreover, when a buffer in a cell disposal occurrence state stops its cell disposal, the cell disposal avoidance system further comprises the step of informing a maintenance terminal of a cease of the cell disposal.
Moreover, the cell disposal avoidance method further comprises the steps of, when the maintenance terminal inputs a command for resetting to an initial value after the maintenance terminal has received information on a cease of cell disposal, resetting to an initial value a cell reading priority of the buffer in a cell disposal halt state; and resetting a period during which a cell is read out of each of the category buffers, to an initial state, in accordance with a priority allocated to each of the category buffers.
In a cell disposal avoidance method suitable for a second buffer, the buffer including category buffers classified by category in an ATM a switch, the category buffers each for storing a cell, the buffer reading out the cell, the method comprises the steps of, when the capacity of the buffer exceeds a first threshold, setting to a higher level a cell reading priority of the buffer; and changing a period during which a cell is read out of a buffer exceeding the first threshold, in accordance with a priority allocated to each of the category buffers, to speed a reading speed of the buffer in a cell disposal state.
Moreover, the cell disposal avoidance method defined further comprises the steps of, when it is detected that the capacity of the buffer exceeding the first threshold reaches a second threshold, resetting the cell reading priority of the buffer to an initial value; and resetting a period during which a cell is read out of each of the category buffers, to an original state, in accordance with a priority allocated to each of the category buffers.
Moreover, the cell disposal avoidance system further comprises the step of, when the capacity of a buffer exceeding the first; threshold reaches a third threshold being lower than the first threshold, setting the priority mode of the buffer to a threshold lower than a value set when the capacity of the buffer exceeds the first threshold.
Moreover, the cell disposal avoidance system further comprises the step of, when a category buffer exceeds the first threshold, informing a maintenance terminal of a priority after change of the buffer which has exceeded the first threshold and a priority with an initial value.
Moreover, the cell disposal avoidance system further comprises the step of, when a buffer exceeding the first threshold stops exceeding a second threshold, informing a maintenance terminal of the fact that the buffer has ceased cell disposal.
Moreover, the cell disposal avoidance system further comprises the steps of, when the maintenance terminal inputs a command for resetting to an initial value after the maintenance terminal has received information on a cease of exceeding the second threshold, resetting a cell reading priority of a buffer which has exceeded the threshold, to an initial value; and resetting a period during which a cell is read out of each of said category buffers, to an original value, in accordance with a priority of each of the category buffers.
Moreover, in the cell disposal avoidance system according to the present invention, the category represents the type, of QoS class in accordance with a header within an area of the cell and a path set.
This and other objects, features and advantages of the present invention will become more apparent upon a reading of the following detailed description and drawings, in which:
Embodiments of the present invention will be described below with reference to the attached drawings.
The control terminal 600 is used for the purpose of the maintenance for a switch. The control terminal 600 is a terminal of informing an operator of information for maintenance and implements, if necessary, various settings. A personal computer, may be connected as the control terminal 600.
The switch 500 includes a switch controller 1, a line section 2 having plural input line ports, a buffer 3 having plural QoS buffers on the input side, a core 4 acting as a core switch, a buffer 5 having plural QoS buffers on the output side, and a line section 6 having plural output line ports.
The switch controller 1 is configured of a controller 11 that operates under program control by a processor (not shown) and a storage unit 12 that stores programs and office data (having a cell reading priority of each QoS buffer).
The buffer 3 shows the configuration for plural buffers connected correspondingly to line ports of the line section 2. Each of the line sections 2 is configured of QoS buffers being category buffers.
The buffer 5 shows the configuration for plural buffers connected correspondingly to line ports of the line section 6. Earth of the line sections 6 is configured of QoS buffers being category buffers.
The switch application software 81 includes a software information processor 811 for receiving cell disposal or the like from a storage cell number monitor 82 and communicating with the switch control terminal, a software controller 812 for calculating a cell reading priority, and a software data section 813 storing office data of a switch (secured as an area within the storage unit 12).
OS 82 includes a storage cell number monitor 821 for monitoring the number of cells stored in a QoS buffer within the buffer 3, 5.
The buffer, shown in
The line section 2, shown in
Regarding method to distribute transmitted cells to the corresponding QoS buffer, the line section 2 determines a corresponding QoS buffer through the information gathered upon establishing a path. In addition, the line section 2 analyzes the ATM cell header of each transmitted in order to reconfirm the QoS buffer to be sent to. This type of cell distribution is applicable to the present invention.
The core 4, shown in
For example, the ATM Forum (an organization for Standardization) defines six types of service categories corresponding to a QoS class used in the present invention,—CBR (Constant Bit Rate), rt-VBR (Real-time Variable Bit Rate), nrt-VBR (Non-Real-time-Variable Bit Rate), UBR (Unspecified Bit Rate), ABR (Available Bit Rate), and GFR (Guaranteed Flow Rate)—.
Next, the operation of the cell disposal avoidance system according to the present invention will be explained below by referring to FIGS. 1 to 7.
First, the whole operation and function of the cell disposal avoidance system will be explained below by referring first to
Referring
Attention is now paid on the QoS buffer A shown in
In the status J2, the controller 11 executes the switch software so that the WRR value of the QoS buffer A in a cell disposal state is changed from the initial value 3 to 10. Thus, the cell reading rate from the QoS buffer increases so that the storage cell amount of the QoS buffer A decreases. The control terminal 600 displays the cell reading rate change on its screen to inform the operator of it. Accordingly, the operator can see the changed status of the QoS buffer (or information containing the WRR value), which is displayed on the screen of the control terminal 600.
In the status J3, when the cell disposal ceases because of a decrease of the number of storage cells in the QoS buffer A, the switch software 8 resets the WRR value to an initial value, thus restoring the system in the normal operation. Moreover, the operator recognizes the normal operation through the control terminal 600. Thus the operation of the cell avoidance system is ended.
Next, let us compare the reading rate in the status J1 and the reading rate in the status J2, shown in
Next, the case where cell disposal occurs will be explained below in accordance with the sequence flow of
When cell disposal occurs in a QoS buffer within the buffer (3, 5), the buffer (3, 5) detects the cell QoS buffer in a cell disposal state, thus informing the controller 11 of it. The controller 11 detects the cell disposal through interruption and then analyzes the interruption factor. After the analysis, the controller 11 informs the storage cell number monitor 821 that cell disposal has occurred in the QoS buffer in the buffer 3 or 5. The storage cell number monitor 821 detects the specified QoS buffer in a cell disposal state (in which QoS buffer the cell disposal has happened), based on the notification from the buffer 3 or 5, and then informs the software information processor 811 of the cell disposal (sequence S1, S2).
Thereafter, the software information processor 811 spurs the software controller 812 to activate the cell disposal avoidance function (step S3). The software controller 812 reads a current WRR value set in the QoS buffer in the cell disposal state, out of the software data section 813, thus determines the new WRR value (steps S4 and S5). The new WRR value indicates a WRR value to be used in a cell disposal occurrence and is set to the software data section 813 in the system configuration, as performed with the initial WRR value.
As the above-mentioned method of calculating a new WRR value in a cell disposal time, the method may be employed of calculating a new ERR value using an initial WRR value read out of the software data section 813 (for example, of doubling the initial value). Moreover, the method may be used of calculating a new WRR value using a current WRR value read out of the software data section 813 (for example, of doubling a current WRR value).
After calculation of a new WRR value, the software controller 812 informs the controller 11 of a WRR value setting change request through the software information processor 811. The cell controller 11 requests a change in WRR value to the buffer 3 or 5 in the cell disposal state (sequence S6).
In response to the WRR value setting change request, the buffer 3 or 5 changes the WRR value of the QoS buffer in cell disposal state stored in the software data section 813 to a new WRR value. Then the buffer 3 or 5 sends back the result to the controller 11 (sequences S7 and S8).
The controller 11 informs the software controller 12 of the WRR value clanged result via the software information processor 811. The software controller 812 informs the control terminal 600 of the result decision and then ends the cell disposal avoidance function (sequences S9 and S10). This means that the reading rate of the QoS buffer in cell disposal increases.
Referring to
Next, a sequence of changing a cell reading rate at a cell disposal halt will be explained with reference to
When an operator enters a command for ceasing cell disposal of a QoS buffer in a cell disposal state through the control terminal, based on the information indicated on the screen of the control terminal 600, the controller 11 analyzes it. In analysis, when the controller 11 recognizes a cease of cell buffer disposal, it hands over the control to the software information processor 811 (sequences S11 and S12 in
The software information processor 811 informs the software controller 812 of the control to start up the cell disposal halt function (step S13).
Thus, the software controller 812 reads the initial WRR value set in the QoS buffer in a cell disposal cease state out of the software data section 813 (sequences S14 and S15).
The software controller 812 informs the controller 11 of the cell with the initial WRR value, via the software information processor 811. The controller 11 requests the QoS buffer 3, 5 in a cell disposal cease state to change the setting of WRR value (sequence S16).
In response to the request for setting the WRR value, the buffer 3 or 5 changes to the initial value the WRR value of the QoS buffer in cell disposal state saved in the software data section 813 and then returns the result to the controller 11 (sequences S17 and SIB).
The controller 11 informs the software controller 812 of the WRR value change result via the software information processor 811. In response to the decision, the software controller 812 ends the cell disposal halt function (sequences S19 and S20). That is, the QoS buffer, which has received the cell disposal halt, regains the same reading rate as that before the occurrence of cell loss, thus ending the system initialization.
In the step S1 of the cell disposal cease process, explanation has been made regarding the operation of changing the WRR to an initial value according to a command entry from the control terminal 600. However, the buffer 3 or 5 may automatically detect the cell disposal cease. For example, the value which is acquired by subtracting a storage cell amount (the currently saved buffer capacity) from a maximum cell amount (the maximum savable capacity of a buffer) may be less than a described value previously set in the system configuration. In such a case, the buffer 3 or 5 transmits a cell disposal halt signal (for cell disposal alarm release) to the controller 11. The controller 11 detects the cell disposal halt signal and then hands over the control to the software information processor 811. The operation following the sequence S12 is similar to that in the foregoing description.
As described above, since the buffer 3 on the input side and the buffer 5 on the output side can be managed respectively, it is applicable to an input buffer-type ATM switch or an output buffer-type ATM switch.
The WRR value is changed with an occurrence of cell disposal and the reading rate is distributed in a time division mode based on the changed value. Hence, a decrease in the processing capability of the processor due to a periodic information exchange can be suppressed to a minimum level.
Even if cell disposal occurs in a buffer, the reading rate is distributed according to the WRR value and in a time division mode, without ceasing the reading from a buffer with a low priority. That is, the reading band is decreased and the reading band of the input buffer in a cell disposal occurrence state is increased by the decreased component. Hence, it is avoided that cells excessively reside in a buffer with a low priority.
The WRR value can be changed in accordance with a command input to the control terminal 600 and the message regarding the change is automatically displayed on the control terminal. Hence, the operator can grasp when and how the priority (ERR value) has changed.
The cell readings rate change function is started up in response to an occurrence of cell disposal in a buffer. However, the rate change function may be stared up in accordance with a difference between the maximum cell amount and a storage cell amount of a buffer. In this case, the buffer 3 or 5 monitors the remaining amount.
That is, referring to
In that case, after the buffer 3 or 5 detects 30%, the cell reading rate is decreased stepwise and automatically every time the remaining buffer amount increases. Finally, the cell reading rate returns to the initial value. Even if the remaining buffer amount once increases and then decreases after the 30% detection by the buffer 3 or 5, the WRR value is changed stepwise. When the buffer capacity (cell amount) is once lowered less than 10%, the WRR value changes stepwise till an occurrence of cell disposal returns to 30%. When the cell disposal generation reaches 30%, the WRR value returns to the initial value.
In other words, since the reading rate of the buffer is changed before ein occurrence of cell disposal, the cell disposal can be avoided in advance.
In a manner similar to that at the cell disposal detection, the WRR value is changed with the buffer congestion alarm (generated when the difference between the maximum cell amount (buffer size) and the number of storage cells decreases less than a constant value). Based on the changed value, the reading rate is distributed in a time division mode. Hence, a decrease in the processor processing capability due to periodic information exchanges can be suppressed to a minimum level.
The present system can be employed even for Per VC queuing which implements buffering every the virtual connection (VC) shown in
That operation (including the previous prediction of cell disposal) can be easily realized because the QoS class is replaced with the VC identification number in the portion explained with FIGS. 1 to 8. That is, the disposal can be prevented controllably by speeding the cell reading rate of a VC Queue in a cell disposal occurrence state,
As described above, according to the present invention, the buffer on the input side and the buffer on the output side can be managed respectively. Hence, the present invention is applicable to the input buffer-type ATM switch, the output buffer-type ATM switch, and the input/output buffer and ATM switch.
Moreover, according to the present invention, the WRR value is changed upon an occurrence of cell disposal or buffer congestion alarm and the reading speed is distributed in a time division mode based on the changed WRR value. Hence, a decrease in the processing capability of the processor due to periodical information exchanges can be suppressed to a minimum level.
According to the present invention, even if cell disposal occurs in a buffer, the reading rate is distributed in a time division mode in accordance with the WRR value, without interrupting the reading from a buffer with a low priority. Hence, it can be avoided that cells excessively reside in the buffer with a low priority.
Moreover, according to the present invention, the WRR value can be changed in accordance with the command input through the control terminal and a message is automatically indicated on the control terminal, upon the change of the WRR Value. Hence, the operator can grasp when and how the WRR value has changed.
However, according to the present invention, the mechanism of speeding the cell reading rate of the QoS buffer in a congestion state changes the weight of a WRR value from the QoS buffer to temporarily increase the cell reading rate. Thus, the time during which the storage cell passes through the buffer can be shortened compared with the existing system. Hence, CTD (cell transfer delay) and CDV (cell delay variation) of connection set in the CBR class can be ensured even in congestion of the QoS buffer. Moreover, the present invention can ensure the CLR (cell disposal ratio) and maintain the service quality.
Moreover, because of the above-mentioned feature, the present invention ensures CTD of connection set in the rt-VBR service class. Moreover, the present invention can ensure the CLR and maintain the service quality.
Moreover, because of the above-mentioned feature, the present invention ensures CLR of connection set in the nrt-VBR service class. Moreover, the present invention can maintain the servile quality.
Moreover, because of the above-mentioned feature, the present invention can suppress to a minimum level the CLR of the connection set in the UBR service class being a parameter not primarily needed to ensure the ATM Forum.
Moreover, because the reading rate of a buffer is changed before an occurrence of cell disposal, the present invention can avoid the cell disposal in advance.
The entire disclosure of Japanese Patent Application No. 11-336638 filed on Nov. 26, 1999 including specification, claims, drawing and summary are incorporated herein by reference in its entirety.
Number | Date | Country | Kind |
---|---|---|---|
11-336638 | Nov 1999 | JP | national |
Number | Date | Country | |
---|---|---|---|
Parent | 11167582 | Jun 2005 | US |
Child | 11425948 | Jun 2006 | US |
Parent | 09718378 | Nov 2000 | US |
Child | 11167582 | Jun 2005 | US |