HK1146508A1 - Wireless atm network with high quality of service scheduling - Google Patents
Wireless atm network with high quality of service scheduling Download PDFInfo
- Publication number
- HK1146508A1 HK1146508A1 HK11100567.0A HK11100567A HK1146508A1 HK 1146508 A1 HK1146508 A1 HK 1146508A1 HK 11100567 A HK11100567 A HK 11100567A HK 1146508 A1 HK1146508 A1 HK 1146508A1
- Authority
- HK
- Hong Kong
- Prior art keywords
- atm
- traffic
- cell
- request
- requests
- Prior art date
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
This invention relates to the field of telecommunication networks and packet switching and, in particular, to medium access control protocols and transmission scheduling in shared media point to multipoint cell-switched networks.
As the concept of asynchronous transfer mode (ATM) gains wide acceptance, network designers are facing the issue known as "the last mile problem". There are cost effective ways to switch user information locally, i.e. LAN and voice switches, just as there are cost-effective ways to interconnect cities, i.e. fiber optics cables carrying synchronous digital hierarchy (SDH) traffic, which can serve as trunks for ATM switches. The "last mile" is the region between the user and the wide area network.
There are two classes of last mile access: dedicated links and shared media. Dedicated links include the copper twisted pairs (possibly with ADSL enhancement), some coax installations and point to point radios. Shared media include point to multipoint radio, coax, and some fiber optics solutions. Shared media has two main advantages: first, cost reduction at the head-end by serving many customers with a single unit; and second, the flexibility of dynamically allocating the shared capacity among the users based on instantaneous needs.
However, shared media poses several issues, such as how to maintain integrity if one user fails and floods the media with interfering signals and how to share the media fairly among the users. In particular, there is an issue of how to guarantee each user a quality of service (QoS) performance for each particular service, such as constant bit rate circuit emulation services (CBR-CES) and available bit rate (ABR).
These issues have been partially addressed by a family of techniques that include the following:
- 1. A base station (BS) controls the operation of the subscriber terminals (STs).
- 2. Transmissions on the medium can be made from the BS to STs (downstream) or from ST to the BS (upstream) but not from ST to ST.
- 3. The downstream transmission is a broadcast to all users, and the destination ST is specified by a media access control (MAC) address.
- 4. The upstream transmission is moderated by the BS, and the BS specifies which ST will transmit at each given transmission opportunity (or "slot").
- 5. All user-generated traffic is transmitted based on grants from the BS, and no data is transmitted in a contention slot, such as slotted ALOHA.
- 6. Contention slots or polling are used for bandwidth reservation.
The various techniques differ in the way they support multiple services in the upstream direction. For example, a customary technique is to define a time division multiplex (TDM) table such that each ST is allocated a few slots within the TDM table based on the user's traffic load. The TDM table includes contention slots for bandwidth requests and one-user slots for data transfer. However, the customary technique is too slow to respond to momentary bursts of traffic of specific users.
An alternative technique disclosed in US application serial number 08/708593 eliminates the TDM table at the ST and instead maintains the timing information at the BS for all users. In accordance with the alternative technique, the BS calculates the time intervals of CBR virtual circuits (VC) and queues a grant for each VC when its time has matured. Non-time-critical services such as ATM nrt-VBR send requests via contention slots or attached to any upstream cell MAC overhead. The requests carry a summary of the total buffer occupancy in the ST (excluding CBR), and the ST calculates an urgency figure for the buffer's status. The requests are prioritized by the BS. Once the BS decides which ST gets a grant, the grant is sent without specifying which VC within an ST can use the grant. Thus, the alternative technique provides non-directed grants.
Another example of scheduling ATM flow over a wireless network is discussed in the paper entitled "Guarantee Quality of Service Wireless Access ATM Networks" by C-S. Chang, K-C. Chen, M-Y You and J-F. Chang in IEEE J. Sel. Areas Com. Vol. 15. No. 1, January 1997, p. 106. The paper provides performance analysis of a wireless ATM network in which CBR transmission "tokens" are generated periodically and have higher priority than non-CBR traffic. Among the CBR tokens, the one selected for current transmission is the one with the highest static priority. This approach allows a bound to be calculated on the worst case delay of each VC- However, this approach lacks fairness, because a VC of similar quality objectives but lower priority will get a lower grade of service.
According to one aspect of the present invention, there is provided a method of generating requests in a packet switched network, the method including the steps of: generating requests per virtual circuit; queuing said requests at a subscriber terminal and sending said requests to a base station, characterised in that said queuing step further comprises: queuing said requests based on at least two priorities, wherein said priorities include a static priority and a sorted priority. According to another aspect of the present invention, there is provided a system for generating requests in a packet switched network, the system including: means for generating requests per virtual circuit; means for queuing said requests at a subscriber terminal; and means for sending said requests to a base station, characterised in that said means for queuing further comprises: means for queuing said requests based on at least two priorities, wherein said priorities include a static priority and a sorted priority.
In accordance with the present invention, requests and grants are specified per VC. Accordingly, in one embodiment of the present invention, a per-VC scheduler is provided, and MAC layer protocol formats for implementing requests and grants are also provided. A point to multipoint microwave ATM network and other shared media with mechanisms to request and grant bandwidth in the shared media are also disclosed.
In one embodiment, an ATM access network includes subscriber terminals (STs) located in several buildings in a section of a city and a base station located within a few kilometres of the STs. Each ST is connected to a plurality of user interfaces such as an ISDN basic rate interface or a 10BaseT Ethernet. The user traffic is converted to ATM traffic for upstream transmission. ATM traffic is also received from the BS and converted to the user interface format. After an ST has completed an admission process that sets the right carrier frequency, transmission power and transmission delay, the ST is ready to provide ATM services.
ATM traffic flow scheduling in accordance with one embodiment of the present invention includes the following:
- 1. Requests and grants that include virtual circuit (VC) information, in which VC represents a virtual path identifier/virtual channel identifier (VPI/VCI) of an ATM cell's flow.
- 2. A periodical request-less per VC scheduler residing at the BS, called a "virtual framer".
- 3. A request-based per VC scheduler residing at the BS, called a "virtual shaper".
In one embodiment, if the service of a particular VC is constant bit rate (CBR) or otherwise requires critical real time performance, then a BS scheduler called a "virtual framer" is invoked to provide periodical request-less grants to the VC.
Specifically, the grants specify which ST and which VC within the ST can use the grant to transmit one ATM cell, and the grants are transmitted as MAC overhead in the downstream direction.
More specifically, the virtual framer resides at the BS and includes a table of traffic records that define the source ST and the cell transmission interval. A microcontroller writes these records at the connection set up time. The microcontroller also generates a request on behalf of the ST to send one grant. The request is queued in the virtual framer, and the request is then processed. The virtual framer checks a traffic record, calculates the next compliant time (NCT), which for CBR traffic is simply the last calculated transmission time plus the cell's transmission interval. A grant is generated with the NCT as a priority descriptor. The grant enters a sorted priority queue in which it waits until the grant has "matured" (i.e., until the current time has met or exceeded the NCT). The matured grant is placed in a high priority queue of matured grants, and the matured grant is sent to the ST via the MAC overhead when it reaches the head of the line. Also, when a grant has matured, a new request is generated for the VC, and the new request is placed in the input queue of the virtual framer to keep the periodical scheduling process active. The traffic record includes the NCT variable which is compared with the current time. Because the time variable grows indefinitely, a finite binary number will overflow and indicate an earlier time than it should. A numerical roll-over technique similar to Gray coding is used so that as long as the cell transmission interval is significantly shorter than the NCT roll-over interval, no timing ambiguity will occur.
Accordingly, the virtual framer provides a scheduling mechanism that is useful for CBR traffic and real time VBR (rt-VBR) traffic. Thus, in one embodiment, rt-VBR traffic is served by the virtual framer using periodic grants, and if the ST VC has no traffic, the ST transmits idle cells.
However, some CBR traffic may include extra cells for operation and management (OAM) which are scheduled in addition to the period. In one embodiment, OAM traffic is served by a request-based mechanism which generates requests that are treated at the BS as high-priority VBR traffic using a VBR scheduling mechanism as described below.
In one embodiment, non-real-time (nrt) traffic is served by a virtual shaper. The nrt traffic is referred to below as "VBR", but the nrt traffic may correspond to any ATM class of service, including available bit rate (ABR), unspecified bit rate (UBR), and VBR. In an alternative embodiment, OAM cells of CBR services and CBR services can use the virtual shaper as an alternative to the virtual framer, thereby trading off delay for link utilization.
In one embodiment, in "VBR" mode, an ST generates a request for each VC that has a new cell for transmission. The request may be for multiple cells of the same VC. The ST then places these requests in priority queues, which in a preferred embodiment are static priority FIFO queues. The requests wait for the next opportunity to be transmitted. The opportunity arrives when either an ATM cell from the ST is transmitted, or when a contention minislot is granted and the ST has won the right to transmit based on the contention protocol. If the request arrives without collision at the BS, the request is placed at the input queue of the virtual shaper. If more than one cell is requested, the request is broken into multiple single requests. The request at the head of the queue is processed first. The virtual shaper checks the table entry of the VC and calculates a next compliant time (NCT) based on the recent history of the VC.
However, unlike the CBR case, the traffic parameters may be quite complex, because the traffic parameters describe the rules of flow for the VC. The rules of flow for the VC are equivalent to the traffic shaping parameters used in ATM interfaces to guarantee cell timing compliance. A real shaper would keep a history of the recent cells transmitted and would delay the current cell forwarding until its timing complies. In contrast, the virtual shaper simply calculates the next compliant time (NCT) for the cell and places a grant with the NCT in a priority queue.
At this point, there are two possible approaches. The grant may be placed in a waiting queue until it matures (as described in the CBR case above), or the grant may be sent directly to a sorted priority queue. In the first approach, all grants result in a transmission that complies with the ATM traffic contract. But the first approach is a non-work-conserving scheduling discipline, because requests can be waiting while the upstream channel is idle. In the second approach, the traffic shaping is not preserved in the air interface (but it can be corrected by the traffic shaper), but the air bandwidth is utilized efficiently.
The virtual shaper may include a variety of traffic description parameters. However, a preferred embodiment uses a dual leaky bucket algorithm which is customary with VBR traffic. The ATM Forum has defined a leaky bucket operation by a protocol called "Generic Cell Rate Algorithm" or GCRA(t1,t2), described in UNI 3.1. Thus, in one embodiment, the virtual shaper emulates two leaky buckets, one with GCRA(1/PCR,CDV), PCR representing peak cell rate and CDV representing cell delay variation, and one with GCRA(1/SCR,BT), SCR representing sustained cell rate and BT representing Burst Tolerance. A real shaper maintains leaky bucket parameters (depth of the bucket and last compliant time) for each of the two buckets, the next compliant time for a new cell based on both buckets, and delay the cell until the NCT. In contrast, the virtual bucket similarly calculates the NCT of a request but then queues the request in the maturing or sorted priority queue.
In the work-conserving mode, the NCT value becomes a fairness guarantee parameter. In particular, if multiple VCs request bandwidth in excess of their traffic contract, the VCs will get the requested bandwidth, but the NCT values will interleave grants for VCs with similar traffic parameters and defer grants for VCs with lower speed. For example, if a first VC has an SCR of 10 cells/sec, a second VC has an SCR of 100 cells/sec, and for both BT=0, then the NCT values of the first VC are 0, 0.1, 0.2, ..., and the NCT values of the second VC are 0, 0.01, 0.02, .... As a result, when the VCs are sorted by the earliest NCT, each VC will get one grant, and then the second VC will get about nine more grants before the first VC gets an additional grant. Accordingly, the above example illustrates an approximate weighted fair queuing (WFQ) discipline in which excess bandwidth is allocated among users based on the relative speeds allocated to each user. Thus, the virtual shaper provides a fair allocation of excess bandwidth.
In one embodiment, the NCT value can be a limited-size binary word (e.g., 18-bit) to which more bits can be added on the most significant side as a static priority. The static priority value is fixed for a given VC and does not vary when the NCT value is updated. Accordingly, a sorted priority can be grouped into static priority subclasses. Also, OAM cells of CBR traffic may be allocated the lowest static priority value (i.e. the highest priority) and thus served first.
Because VBR traffic can have long periods of non-activity, the time overflow mechanism mentioned above is insufficient. Accordingly, a refresh mechanism is provided in which all VBR traffic records are scanned periodically, and a time mark is stamped by setting a first bit. If in a second visit the first bit has not been cleared, then a second bit is set. For every request, the scheduler checks the first and second bits in the VC traffic record. If the first and second bits are both set, then the NCT is set to the current time, and the leaky buckets are cleared. The first and second bits are cleared for each request of the VC.
The present invention is better understood in consideration of the detailed description below and the accompanying drawings.
- Figure 1 shows the topology of a wireless point to multipoint network of a type suitable for use in a city in accordance with one embodiment of the present invention.
- Figure 2 shows the wireless base station and subscriber terminal of Figure 1 in greater detail.
- Figure 3 shows the topology of a cable-based point to multipoint network in accordance with one embodiment of the present invention.
- Figure 4 is a block diagram of a 3-way bridge for the cable-based shared media of Figure 3.
- Figure 5 shows the timing relationship between upstream and downstream time slots in the base station for a balanced bandwidth transmission in accordance with one embodiment of the present invention.
- Figure 6 shows the timing relationship between multiple upstream and downstream time slots, establishing the correspondence between grants and responses without a need for a multislot frame in accordance with one embodiment of the present invention.
- Figure 7 shows the structure of a downstream slot in accordance with one embodiment of the present invention.
- Figure 8 shows the structure of a MAC overhead and ATM cell header in the downstream slot of Figure 7.
- Figure 9 shows the structure of an upstream slot when an ATM cell is transmitted in accordance with one embodiment of the present invention.
- Figure 10 shows the structure of the MAC overhead and ATM cell header in the upstream slot of Figure 9.
- Figure 11 shows the structure of an upstream slot that is divided into six minislots and providing six request packets sent from six different STs in accordance with one embodiment of the present invention.
- Figure 12 shows the structure of a minislot in accordance with one embodiment of the present invention.
- Figure 13 shows the structure of the minislot of Figure 12 in greater detail.
- Figure 14 shows the structure of an upstream admit slot in accordance with one embodiment of the present invention.
- Figure 15 is a block diagram of a subscriber access system (SAS) in accordance with one embodiment of the present invention.
- Figure 16 is a block diagram of an SAS ASIC in accordance with one embodiment of the present invention.
- Figure 17 is a block diagram of a base sector controller (BSC) in accordance with one embodiment of the present invention.
- Figure 18 is a reference model of protocol layers involved in an ATM network access in accordance with one embodiment of the present invention.
- Figure 19 shows the MAC and ATM layer activities in the SAS of Figure 15 including request queuing and ATM cell queuing for upstream transmission.
- Figure 20 is a process diagram of activities in a BS grants scheduler in accordance with one embodiment of the present invention.
- Figure 21 shows the operation of a virtual framer in accordance with one embodiment of the present invention.
- Figure 22 depicts the operating analogy between the virtual framer of Figure 21 and a typical ATM switch trunk egress port.
- Figure 23 shows VBR and CBR traffic records for the BS grants scheduler of Figure 20.
- Figure 24 provides one embodiment of an approach for calculating a timing interval for the virtual framer of Figure 21.
- Figure 25 shows the operation of a virtual shaper in accordance with one embodiment of the present invention.
- Figure 26 shows the timing of the most significant bit of the time counter, interpreted as two phases, to avoid the time ambiguity when the binary time count rolls over to zero, in accordance with one embodiment of the present invention.
- Figure 27 provides steps for implementing a dual-leaky bucket algorithm for next compliant time (NCT) calculation in accordance with one embodiment of the present invention.
- Figure 28 provides steps for implementing the single-leaky bucket algorithm for NCT calculation in accordance with another embodiment that results in an approximate weighted fair queuing (WFQ).
- Figure 29 shows a structure of an NCT that includes static and sorted priority according to one embodiment of the present invention.
- Figure 30 shows an overall ATM traffic operation in a wireless access network in accordance with one embodiment of the present invention.
- Figure 31 is a reference model of signaling protocol layers involved in a multiplexing telephony application ATM network access in accordance with one embodiment of the present invention.
| AAL | ATM Adaptation Layer |
| ABR | Available Bit Rate, an ATM service in which the source rate may change during a connection, wherein cell delay variation is not specified |
| AGC | Automatic Gain Control |
| ARQ | Automatic Retransmit Request |
| ASIC | Application-Specific Integrated Circuit |
| ATM | Asynchronous Transfer Mode |
| BCH | Bose Chaudhuri Hocuqnghem, an error-correcting code |
| BMU | Base Modem Unit |
| BPSK | Bipolar Phase Shift Keying |
| BRU | Base station Radio Unit |
| BS | Base Station |
| BSC | Base station Sector Controller |
| BT | Burst Tolerance |
| CA | Cable Adapter |
| CBR | Constant Bit Rate, an ATM service with guaranteed rate of transport and cell delay variation, also used below to describe an ATM flow that can operate with periodical grants |
| A trademark for the MAC layer in accordance with the present invention | |
| CDV | Cell (ATM) Delay Variation |
| CLP | Cell Loss Priority |
| DC | Direct Current |
| DRAM | Dynamic Random Access Memory |
| E1 | European digital line interface at 2.048 Mbps |
| E3 | European digital line interface at 34.368 Mbps |
| EPROM | Erasable Programmable Read-Only Memory |
| EEPROM | Electrically-Erasable Programmable Read-Only Memory |
| FDD | Frequency Division Duplex |
| FPGA | Field Programmable Gate Array |
| FEC | Forward Error Correction |
| FIFO | First In First Out |
| GCRA | Generic Cell Rate Algorithm |
| HEC | Header Error Control |
| HFC | Hybrid Fiber Coax |
| ID | Identification |
| IF | Intermediate Frequency |
| IP | Internet Protocol |
| ISDN | Integrated Services Digital Network |
| LAN | Local Area Network |
| LCT | Last Compliant Time |
| LED | Light Emitting Diode |
| LLC | Link Layer Control |
| LNA | Low Noise Amplifier |
| MAC | Media Access Control |
| Mbps | Mega bits per second |
| NCT | Next Compliant Time |
| NMS | Network Management System |
| OAM | Operation And Management |
| PMP | Point to MultiPoint |
| PDU | Protocol Data Unit, the payload field of a protocol packet |
| PHY | PHYsical layer |
| PN | Pseudo Noise |
| POP | Point Of Presence |
| PROM | Programmable Read-Only Memory |
| QAM | Quaternary Amplitude Modulation |
| QoS | Quality of Service, a QoS queue includes a set of queues with different priority levels |
| QPSK | Quaternary Phase Shift Keying |
| RISC | Reduced Instruction Set Computer |
| RU | Radio Unit |
| SAP | Service Access Point |
| SAPI | Service Access Point Identifier |
| SAR | Segmentation and Reassembly |
| SAS | Subscriber Access System, an indoor portion of a subscriber terminal |
| SCR | Sustainable Cell Rate |
| SNMP | Simple Network Management Protocol |
| SRU | Subscriber Radio Unit |
| ST | Subscriber Terminal (SRU + SAS) |
| STI | Subscriber Terminal Identifier |
| STM | Synchronous Transfer Mode |
| TA | Time of Arrival, also used below to describe current time |
| TDD | Time Division Duplex, transmission and reception at the same frequency alternating in time |
| TDM | Time Division Multiplex |
| TDMA | Time Division Multiple Access |
| Terminal | A system including an SAS, SRU, and appropriate interconnections |
| UART | Universal Asynchronous Receiver Transmitter |
| UBR | Unspecified Bit Rate, an ATM service with no guaranteed rate, cell loss ratio, or delay |
| VBR | Variable Bit Rate, an ATM service, also used below to describe any ATM service that must request grants for upstream transmission |
| VC | Virtual Circuit, which represents a virtual path identifier/virtual channel identifier (VPI/VCI) of an ATM cell's flow |
| VPI/VCI | Virtual Path Identifier/Virtual Channel Identifier, an ATM address |
A wireless ATM access network allows users, such as business and residential customers, to obtain a variety of telecommunication services from a service provider. The variety of telecommunication services include telephony, Internet access, LAN emulation, basic rate ISDN, or native ATM. User traffic is converted to ATM cells which are then transmitted over a wireless link.
The ST 104 includes subscriber radio unit (SRU) 208 with integral or separate narrow beam antenna 209, connected via a coax 210 to a subscriber access system (SAS) 211 with a variety of local user interfaces 212.
The BSCs 204 and 214 in the BS 100 control and arbitrate the flow within the sector 102 (Figure 1 ) by a media access control (MAC) layer protocol, which is suitable to other forms of shared media, not just wireless.
The upstream and downstream slots are aligned in time at a reference point, usually selected to be the modem in the BMU 202 (Figure 2 ). The timing does not appear to be aligned at the STs due to a propagation delay. Thus, each ST adjusts its upstream slot start time to be in sync at the BMU 202. The downstream slots are always used, but the upstream slots are bursts of data or signaling from STs that are active only if the STs need to send data.
A grant type may also be a contention slot. Figure 11 shows the structure of an upstream slot 1100 that is divided into six minislots and providing six request packets sent from six different STs in accordance with one embodiment of the present invention. In particular, Figure 11 shows a contention slot that includes 6 minislots. Each minislot includes an optional transmission from a ST. Each minislot is 11 octets wide. Each minislot may be accessed (with a potential for collisions) by multiple STs. Also, a stabilization protocol based on collision indications, such as the well known msSTART3 may be used.
The structure of a minislot in accordance with one embodiment of the present invention is shown in Figure 12 , and the structure of a minislot 1200 of Figure 12 is shown in greater detail in Figure 13 . In particular, Figure 13 shows a minislot 1300 that includes two optional requests, identical in bit-field types to the two requests discussed above with respect to Figure 10 , and FEC bits (BCH code). Accordingly, the minislot 1300 allows transmission of a request if no ATM cell opportunity exists.
An Admit request represents the third type of upstream transmission coming from an ST that has not yet established close-loop control of transmit power and timing delay. Figure 14 shows the structure of an upstream admit slot 1400 in accordance with one embodiment of the present invention. In particular, Figure 14 shows an initial Admit transmission that includes an octet IEEE address (like Ethernet) and STI=0. This is a contention-slot where collisions may happen and retransmission is possible.
At this point, the conversion to ATM traffic can be described. The TDM traffic can go from the TDM interface 1606 to the AAL1 SAR 1604 via a direct bus 1611, which is how ATM cells of circuit emulation services are created and received from the ATM network. If needed, TDM traffic can be buffered in an external memory such as an SRAM. ISDN "D" channel information is converted from packets at the RISC processor 1600 to HDLC flows at the HDLC converter 1607 to the TDM interface 1606. HDLC packets from the TDM/HDLC chain arrive as packets at the RISC processor 1600 and can be converted under software control to AAL5 packets by the AAL5 SAR 1604. The ATM cells are delivered to the CellMAC 1601, where the ATM cells wait for a transmission opportunity. Before transmission, the ATM cells may be encrypted by encryption 1609 and scrambled by scramble and FEC 1608, both of which are well known techniques.
ATM cells from the Utopia port 1610 can directly enter the CellMAC 1601. The CellMAC 1601 performs several tasks. The CellMAC 1601 receives the downstream ATM and MAC overhead (i.e., ATM cell delineation). The CellMAC 1601 descrambles using the descrambler 1608. The CellMAC 1601 decodes the response field (Figure 8 ) if the CellMAC 1601 has transmitted an Ncycle before. The CellMAC 1601 reports timing and power adjustments to the RISC processor 1600 that will adjust these parameters by changing register values in the CellMAC 1601 and via a telemetry link 1512 (Figure 15 ) to the SRU 1508 (Figure 15 ). The CellMAC 1601 maintains a request queue 1906 (Figure 19 ). The CellMAC 1601 decodes the grant fields (as explained above with respect to Figure 8 ) and sends an ATM cell, Admit packet, or minislot, as permitted by the grant parameters. The CellMAC 1601 also picks up the received ATM cell if the STI field agrees with the local address or with one of several broadcast addresses stored in local registers. The CellMAC 1601 receives an indication from the FEC decoder 1608 if an uncorrectable error has occurred. The CellMAC 1601 maintains a VCI lookup table specifying what to do with each ATM cell corresponding to the VCI. The VCI table entry includes VCI (13 bit), and the output includes the following: destination (Utopia port, AAL1, AAL5 SAR 1604) drop cell or keep cell if uncorrectable error has occurred, and which encryption key to use among a set of keys stored in the Encryption 1609. The CellMAC 1601 optionally compensates the delay variation of CBR-type cells based on the time stamp field value. The CellMAC 1601 executes the msSTART instructions for minislot collision resolution. Finally, the CellMAC 1601 accepts ATM cells from the local ports (Utopia 1610, Processor 1600, SAR 1604) and transmits them when a corresponding grant arrives. The CellMAC 1601 is also discussed below with respect to Figure 19 .
The combined binary stream from the CellMAC 1601 is sent to a modem 1602. The modem 1602 includes an adaptive equalizer on the receive side for reception to correct multipath fading, and an optional phase compensation filter on the transmit path to pre-distort the outgoing phase so that the reception in the BS burst demodulator is equalized. The predistortion may be implemented by setting register values by the RISC processor 1600. The register values are found by the BS burst demodulator and are transmitted to the RISC processor 1600 using a slow messaging channel by the BS. The modem 1602 may also perform I and Q modulation/demodulation, receive carrier de-rotation, and any other modem functions which are well known in the digital signal processing modem design field. Modem software building blocks are available from Synopsys.
The request/grant processor 1703 receives requests and issues grants, automatically or based on requests. In one embodiment, the request/grant processor uses a 64-bit wide SRAM 1704 with depth as required. The request/grant processor 1703 is further discussed below with respect to Figures 20 through 29 .
Cell switch 1705 is a chip-set implementing a small ATM switch with switching, queuing, and address translation functions. Standard cell switch devices are available from IGT of Gaithersburg Maryland. Cell switch 1705 connects to an AAL1 SAR 1706, AAL5 SAR 1707 via a Utopia bus 1722, and BS backplane interface 1715 via cell bus 1720.
The cell bus 1720 allows connectivity to the trunk interface 206 (Figure 2 ) and to a master CPU card, if any, thus creating an AAL5 VC to the CPU 1710 via the AAL5 SAR 1707, and optionally other BSC cards. The AAL1 SAR 1706 can connect to an HDLC controller 1714 which can connect to a local bus 1716. Thus, ISDN "D" channel and similar protocols can be processed.
The AAL5 SAR 1707 allows packet-based communication with remote devices over the ATM network and the air interface. A PCI bus 1717 serves the AAL5 SAR 1707, an Ethernet Controller 1708 (for configuration or NMS access), and a PCI interface device 1709. The PCI interface device 1709 serves the CPU 1710 and may be a standard PCI interface device available from Integrated Device Technology of Santa Clara, California. The CPU 1710 controls and configures all the devices on the board via the PCI bus 1717 and the local bus 1716. The CPU 1710 includes operating system software, such as VX Works, Network Management System (NMS) interface, user interface software, and device drivers for programmable devices on the board. The CPU 1710 can communicate with an NMS and a shelf control processor (if any) via the Ethernet controller 1708 or via an ATM virtual circuit using the AAL5 SAR 1707.
Occasionally, the ATM traffic includes special ATM cells such as Resource-Management or OAM. The special ATM cells are intercepted by the cell switch 1705 (Figure 17 ) and transferred to the AAL5 SAR 1707 (Figure 17 ) or the local bus 1716 (Figure 17 ). The ATM cells at the cell bus are received by an ATM cell bus interface 1826 that queues the ATM cells with an ATM layer 1814 and outputs the ATM cells to a trunk 1816 via a physical interface 1815. The ATM cells may travel through several nodes of ATM switches, which may include physical interface 1819, ATM switching 1818, and connections to other trunks such as a trunk 1836.
At the other end or ends of the network, the ATM traffic may be converted back to a non-ATM format such as digital circuit emulation. For example, the user interface may be a telephone set or an ISDN terminal. The user's information is converted to digital TDM channels by the physical port 1800, and the signaling is handled by the link layer 1801. The TDM channel or channels are converted to ATM circuit emulation services by the interworking function 1802. The ATM cells with circuit emulation services arrive at a destination node and are converted back to TDM traffic.
However, the conversion, done by AAL1 SAR function 1822 and interworking function 1823 may intentionally result in a different TDM structure in a TDM framer 1824. For example, the user interface 1800 may be a 2-channel ISDN, and the destination interface 1825 may be a T1 or E1 trunk with multiple channels including traffic from multiple users. Channelized T1 or E1 line cards with ATM circuit emulation services are available from several vendors including Cisco Systems and 3-Com.
The telephony traffic also flows in the opposite direction, from the network 1825 to the user 1800 using the same protocol layers and the same network elements as described above. The operation of the ATM 1803 and the CellMAC 1805 at the SAS are further discussed with respect to Figure 19 .
Accordingly, Figure 18 illustrates the transmission and multiplexing of multiple TDM channels over a wireless ATM network in accordance with the present invention, which may also be combined with a special handling of the signaling as further discussed below with respect to Figure 31 .
The queue manager 1902 also examines the VCI map 1904 and the payload type PTI field of the ATM cell to determine the cell type. The cell types of interest are VBR, any cell whose air transmission is aperiodic and requires a request for a grant, CBR, any cell whose air transmission receives automatic grants without a request, and aperiodic CBR, any addition to the flow of CBR traffic, such as OAM cells which require a request.
The OAM cells of CBR flow may receive a special treatment. In one embodiment, the OAM cells of CBR flow are stored in an OAM special buffer 1907, and a request is generated and placed in the request queue 1906 at the highest priority (P1).
In another embodiment, a CBR flow may be allocated automatic grants in an amount less than the peak rate. In this embodiment, the request generator 1905 is given access to the per-VC queue 1903, examines the CBR queues, and generates requests if the queue reaches a predefined depth. The predefined depth value can be programmed in the VCI map 1904.
In response to the VBR and aperiodic cell types, the request generator 1905 issues a request that is stored in the request queue 1906. The request includes the VCI and number of cells. A request driver 1913 waits for opportunities to send requests (e.g., ATM grant or minislot). If a minislot is used, then the appropriate collision stabilizing protocol is used, as discussed above. When an opportunity to send requests arises, the request driver 1913 selects the two highest priority requests and transfers them to an upstream message selector 1908. The upstream message selector 1908 also selects the ATM cell of the grant VCI type. The grants arrive from a grant extractor 1909. The upstream message including the ATM cell and up to two requests are sent to the encryption and scrambling block 1910.
On the receive side, the CellMAC operation includes decryption, descrambling, and cell delineation, as discussed above with respect to Figure 16 . The received ATM cells are extracted by an ATM cell extractor 1911 based on the STI value and then routed to the local devices (Utopia port or SAR devices) based on a VCI map 1912.
The SAS request queuing scheme as discussed above with QoS queues may be less optimal than prioritizing each request and sorting the highest priority. However, in a preferred embodiment, the QoS queues are used for simplicity and fairness. For example, there is sufficient opportunity to send these requests with ATM cells or minislots, and in the base station, multiple requests arrive from the subscriber terminals. As a result, the scheduler must grant the request with a high degree of fairness. In another embodiment, the base station scheduler includes sorted priority queues.
Binary search manager 2004 reads the requests in intermediate request queue 2002 and searches the traffic records 2005 of the VCI. In one embodiment, the traffic records 2005 are arranged in a binary tree for a fast retrieval of information. The traffic records 2005 are kept in memory 1704 (Figure 17 ) and are deleted or added only during call setup or tear down. Accordingly, the binary tree can be managed by the CPU 1710 (Figure 17 ) as a background task. The traffic records 2005 are also discussed below with respect to Figure 23 .
The traffic record address is given to a next compliant time (NCT) controller 2006. In one embodiment, the NCT controller 2006 is an arithmetic logic unit that is micro-programmed to read the traffic records 2005, modify the traffic records 2005, based on NCT algorithms discussed below with respect to Figures 21-29 , and place a copy of the calculated NCT value, the associated STI/VCI and TYPE in one of several heaps (e.g., balanced binary trees) by a heap enqueue manager 2007. The STI/VCI + NCT combination is called a "grant". For channel 0, there are two heaps: VBR heap 2008 and CBR heap 2009. In one embodiment, VBR heap 2008 and CBR heap 2009 only include pointers to the real information for efficient usage of memory. The original heap information is stored in heap data queue and free record queue 2002 for used grants whose memory space is freed for new grants.
In parallel, a heap dequeue manager 2010 selects the highest priority grant based on predefined rules. "Highest priority" means "lowest priority value" (i.e., among all NCT values in a table, the smallest, or earliest, has the highest priority). If the NCT value of the highest priority CBR grant 2009 is greater or equal to the current time, it is selected. Otherwise, the highest priority VBR grant is selected.
The selected grant address is given to an intermediate queue manager 2011 which pulls the grant from the heap 2008 or 2009 and places the STI/VCI and Type field in the grant FIFO 2001. The grant is ready for delivery to the downstream flow of channel 0. The heap dequeue manager 2010 and intermediate queue manager 2011 can alternate between channels 0 and 1.
If the grant was for a CBR type, the free address of the used grant is marked by the intermediate queue manager 2011 as "reusable", and the other intermediate queue manager 2003 treats it as a new request that has just entered the intermediate queue 2002. Thus, when the CPU 1710 (Figure 17 ) places a CBR request in the queue 2002, the CBR request creates a non-ending chain of grant-request pairs for the VC.
The operation of a traffic flow scheduler relies on the priority value expressed in time units, the next compliant time (NCT) calculated by the NCT controller 2006. Different techniques for calculating NCT values yield different cell flow disciplines. In particular, one technique, called a "virtual framer", represents a scheduling technique for CBR traffic type in accordance with one embodiment of the present invention.
The approach is based on the assumption that the cell time interval can be derived from a common clock (usually a small integer multiple of 8 kHz), multiplied by a rational number. Otherwise, for asynchronous rates, the cell interval can be rounded up to a slightly shorter interval that can be described by a rational number p/q where p and q have an n-bit binary representation (n=18 in a preferred embodiment). The fields INCR, Q, and REMAINDER are written by the CPU and remain constant. The fields LCT and leftover can be modified by the scheduler's NCT controller 2006 (Figure 20 ) based on the steps 2400 provided in Figure 24 . Bit number 127 is a CBR-type identifier, PP field is a parent pointer for the binary tree, and the field STATIC PRIOR is a static priority, which is discussed below with respect to Figure 29 .
The approach described above generates precise cell intervals for synchronous CBR services. If precise adaptation of plesiochronous cell rates is desired such that the cell rate is not related to the network clock, then the above scheme can be modified. For example, the nearest rational number cell rate approximation can be used.
The field "REMAINDER" is occasionally incremented or decremented by the CPU 1710 (Figure 17 ) or by a modified NCT controller 2006 (Figure 20 ). Accordingly, to adapt the cell rate, a feedback mechanism is needed, which is available from the time stamp (TS) field in the MAC overhead, as discussed above with respect to Figure 10 . For example, the CPU can average the TS values of such a flow, or an FPGA accumulator circuit can be added, and as the average time stamp delay deviates from an expected average, the REMAINDER field is adjusted.
The VBR traffic record format 2302 will be discussed later.
However, in a preferred embodiment, the air interface bandwidth utilization is more important than traffic compliance. Thus, the virtual grant times are used as priority values, but are assigned as early as possible based on the priority. For example, the virtual grant 2506 is assigned much earlier as indicated by reference numeral 2507, providing a work-conserving scheduling discipline. In traffic shaping mode, the grant 2506 will wait for its maturity and then will be scheduled as indicated by reference numeral 2508. In one embodiment, this operation is implemented by allowing the grant to be placed in the CBR heap 2009 (Figure 20 ) even though this is VBR traffic.
In the work-conserving mode, the virtual shaper does not maintain traffic conformance, but it still has an important role, because as it virtually shapes multiple VCs, it interleaves the cells of these VCs fairly. Thus, if only one VC is active, the virtual shaper will get grants up to the channel capacity. If two or more VCs are active, the virtual shaper interleaves the flow automatically and fairly. The term "fair" is used to mean sharing the bandwidth in proportion to the traffic capacity allocated to each VC. The "fairness" obtained by a virtual shaper depends on the load sharing objectives of the network operator.
The dual leaky bucket algorithm is a well known algorithm used for shaping traffic flow in ATM networks and included in several ATM Forum interface specifications under the name "Generic Cell Rate Algorithm" (GCRA). In particular, GCRA describes the rules of a leaky bucket algorithm with two parameters L and I, wherein L represents the water level limit and I represents the increment of water level per each cell sent. The L and I values are expressed in time units, assuming that the bucket empties at a fixed rate of one time unit. The original algorithm can be called GCRA (I, L). The GCRA (I, L) algorithm examines if a cell arrival time (TA) complies with the traffic parameters, which are the bucket maximum depth L and increment I, by modifying a variable X for the bucket depth and by checking the time lapsed since the last compliant time (LCT). If X > L, the traffic does not comply.
In accordance with one embodiment of the present invention, a dual-leaky bucket using NCT is calculated on a modified GCRA (I, L) algorithm, and in particular, the next time the cell will comply (NCT) is calculated. The unit of time may be the slot period of the channel. For example, the water depth L (in unit of ATM cells) can be defined as the time it takes to receive L ATM cells. Accordingly, Figure 27 provides steps 2700 for implementing a dual-leaky bucket algorithm for next compliant time (NCT) calculation in accordance with one embodiment of the present invention. In one embodiment, a variable called "LCT" which is actually the NCT value for compliance with both leaky buckets is outputted. The terms "LCT" and "NCT" are shared in the same memory location (VBR Record 2302, Figure 23 ), because NCT of cell I is LCT of cell I+1.
The VBR section 2302 (Figure 23 ) is similar to the CBR section 2304 (Figure 23 ) described above with respect to Figure 23 . Both share the same block structure and, thus, can be mixed in the same address space and share the same binary tree. The different fields from CBR are discussed in groups. First, the two leaky buckets parameters are L1, L2, I1, I2, X1, and X2 and are discussed above with respect to Figures 27 and 28 . Bits 124 and 123 called "PARK" and "EXPIRE", respectively, are used for time overflow control.
Time overflow can occur, because the values "LCT" in both the CBR and VBR records are limited in size and, thus, the LCT value will eventually overflow and appear as a smaller value than previous time counts. In accordance with the present invention, the time overflow is handled by treating the LCT value as a circular counter. Time additions and subtractions are implemented modulo the word size. Thus, the carry is neglected and the borrow is taken if the subtraction result will be negative. When times are compared, such as for finding the earliest time, the LCT values are first compared with the current time TA and the maximum count+1 (the word modulo) "P". If the LCT is earlier than TA-P/2, then it is assumed to indicate a future event to occur at TA+P/2. There is an ambiguity of events that occur too late or too early, but if P represents a long enough time interval (in number of channel slots), e.g., 10 seconds, ambiguity will happen only for events spaced 5 seconds before or after the current time.
In a preferred embodiment, a simpler to implement variant is used, in which the most significant bit of the LCT is interpreted as a "phase" based on the most significant bit value of the current time modulo P. An INVERT square wave 2602 is generated with the same frequency at the phase bit but 90 degrees shifted as shown in Figure 26 . If INVERT is zero, LCT (and NCT) values are compared based on regular arithmetic. If INVERT = 1, the MSB of each NCT value is inverted before comparison.
The "Invert" technique requires less hardware, but the calculations of the scheduling algorithms must be done with special arithmetic rules as follows:
- The stored parameters X1, LCT, L1 are of two types: REAL - may include floating point numbers, integers, 2's complement, etc.The REAL variables are: X1, L1, T1, X2, L2, T2.XCT - the INVERT signal determines the interpretation of the MSB.The XCT variables are: TA, LCT, LCT1, LCT2.Definition of INV(X): invert MSB of X if and only if the INVERT signal is TRUE.Rule 1: Difference of two XCT numbers.C := X - Y where C is type REAL and X, Y are XCT. Implementation: C:=INVX-INVYC may be negative (e.g. by 2's complement arithmetic).Rule 2: Sum of mixed types.Y := X + C where C is type REAL and X, Y are XCT.
Y := INV(INV(X) + C). If INV(X) + C produces carry beyond 218, ignore it.
Example from the NCT Algorithm of.
- (a) To calculate X1 := X1 - LCT1 + LCT we rewrite it as:
- Applying Rule 1:
X1 := X1 - C where C = INV(LCT1) - INV(LCT ). Now X1 - C is a normal operation between REAL types.
- Applying Rule 1:
- (b) To calculate:
- LCT1 := X1 + LCT - L1 we first do the regular REAL operation:
- Now applying Rule 2:
- LCT1 := X1 + LCT - L1 we first do the regular REAL operation:
The above technique for clock overflow allows consistent time comparisons in a limited range, which is sufficient for most CBR applications. However, there is a problem with a VBR service that does not transmit a cell for a long time, for example, longer than P. In this case, the leaky bucket should be empty, but since the depth is calculated from the LCT value, the ambiguity of LCT modulo P may appear that LCT is recent or even in the future. To correct this problem, the PARK and EXPIRE bits can be added to the VBR record in Figure 25 , and a refresh mechanism task can be implemented as a background task in the scheduler 1703 based on an address counter. The refresh mechanism reads sequentially all the VBR records. To simplify this task, the refresh mechanism also reads and modifies the CBR records, although it is not necessary, as all CBR services are periodical with intervals much shorter than P. On a first pass, the refresh mechanism sets all the PARK bits (bit 124 in Figure 23 ). The process is analogous to a car parking attendant marking the tires of all parked cars. Each pass takes a shorter period than P but longer than ¼ P. In the second pass, if PARK is not cleared, the refresh mechanism sets the EXPIRE bits. Each VBR record visited by the NCT manager 2006 (Figure 20 ) performs the following operation before running the NCT algorithm of Figure 26 or Figure 27 :
if (EXPIRED)
{ X1 := 0;
X2 := 0;
LCT := TA;
} PARKED := 0;
EXPIRED := 0;
perform NCT algorithm as usual).
The scheduling approach described above was optimized for performance of circuit switched and packet switched traffic over the air interface. Figure 30 shows an overall traffic flow of a subscriber terminal (ST) and Base Station Controller (BSC) in accordance with one embodiment of the present invention. A user terminal 3000 connected to the ST emits information into an ingress port 3001. The information flows through a traffic policer 3002 which regulates the traffic flow per VC. Depending on the application, the traffic policer 3002 may just mark non-complying cells as high cell loss priority, or the traffic policer 3002 may be configured to reject or delay non-complying cells. The traffic policer 3002 is used in the same manner as in ordinary ATM ingress processing.
The output of the traffic policer 3002 flows to an outgoing cells queue 3003, which represents the entire queuing complex of Figure 19 . The arrival of cells and requests are controlled by the virtual framer and virtual shaper mechanism 3004. The arriving ATM cells then flow to priority queues of backplane 3005 as is standard in ATM switches. In the opposite flow, cells from the backplane wait in QoS queues 3006 to be broadcast to the STs. At each ST they may be held in a traffic shaper and then output to the user terminal 3000 via an egress port 3008. The entire downstream flow as described is similar to the operation of an ordinary ATM switch port except that the air interface limits the flow rate from the BSC backplane to the egress port.
In accordance with one embodiment of the present invention, the multiplexing and signaling of multiple telephony circuits can be implemented as described below with respect to Figure 31 . Figure 18 described the flow of the user or "bearer" traffic. However, most telephony applications require handling of signaling. The BS 100 (Figure 1 ) cannot pass this signaling transparently, because the BS needs to know when to allocate bandwidth in the air for bearer circuits and also perform protocol conversion as described below with respect to Figure 31 .
However, the other network end 3125 is connected to a T1 or E1 trunk that carries the signaling of all channels (not just the user) in one common "D" channel. Two industry standard protocols used for common channel signaling are TR303 for T1 and V5.2 for E1. Therefore, the interworking function 3130 converts the "Connect" request to an equivalent connect request for a particular protocol. The message needs to appear in the "D" channel of a trunk 3140, which is a TDM channel dedicated for signaling. The interworking function 3130 uses an HDLC 3127 and an AAL1 3128 to create a virtual CBR channel with the trunk 3140. The CBR cells traverse the network from an ATM cell bus interface 3111 to the trunk 3140 just like the user channels.
The end equipment interworking function 3123 does not need to be aware of the BS interworking function 3130, because the networking function is only used for ATM to TDM conversion. Similarly, for incoming calls, the D channel of the trunk 3140 is converted to a CBR virtual circuit that travels to the AAL1 SAR 3128. Although Figure 31 is a reference model, each layer corresponds to a real module of hardware, software or both. For example, in one embodiment, the AAL1 SAR 3128 corresponds to the SAR module 1706 (Figure 17 ), the HDLC 3127 corresponds to the device 1714 (Figure 17 ), and the interworking function can be performed in the CPU 1710 (Figure 17 ).
The above description of the present invention is illustrative and not limiting. Other embodiments of the present invention will be apparent to one of ordinary skill in the art in light of the above disclosure. Accordingly, the scope of the invention should be determined by the appended claims and their legal equivalents.
Claims (6)
- A method of generating requests in a packet switched network, the method including the steps of:generating requests per virtual circuit (2105);queuing said requests at a subscriber terminal (104, 108, 110, 112; 302, 304, 306, 308); andsending said requests to a base station, characterised in that said queuing step further comprises:queuing said requests based on at least two priorities, wherein said priorities include a static priority and a sorted priority.
- The method of Claim 1, wherein said sending step further comprises:sending said request in a MAC header of an ATM cell (207)
- The method of Claim 1 or 2, wherein said sending step further comprises:sending said request in a contention slot.
- A system for generating requests in a packet switched network, the system including:means for generating requests per virtual circuit (2105);means for queuing said requests at a subscriber terminal (1.4, 108, 110, 112; 302, 304, 306, 308); andmeans for sending said requests to a base station (100; 300), characterised in that said means for queuing further comprises:means for queuing said requests based on at least two priorities, wherein said priorities include a static priority and a sorted priority.
- The system of Claim 4, wherein said means for sending further comprises:means for sending said request in a MAC header of an ATM cell (207).
- The system of Claim 4 or 5, wherein said means for sending further comprises:means for sending said request in a contention slot.
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US08/956,256 US6157614A (en) | 1997-10-22 | 1997-10-22 | Wireless ATM network with high quality of service scheduling |
| US956256 | 1997-10-22 | ||
| HK01101400.1A HK1032162A (en) | 1997-10-22 | 1998-10-20 | Wireless atm network with high quality of service scheduling |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| HK01101400.1A Addition HK1032162A (en) | 1997-10-22 | 1998-10-20 | Wireless atm network with high quality of service scheduling |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| HK01101400.1A Division HK1032162A (en) | 1997-10-22 | 1998-10-20 | Wireless atm network with high quality of service scheduling |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1146508A1 true HK1146508A1 (en) | 2011-06-10 |
| HK1146508B HK1146508B (en) | 2013-05-16 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2209268B1 (en) | Wireless ATM network with high quality of service scheduling | |
| US6754206B1 (en) | Distributed telecommunications switching system and method | |
| EP0755164B1 (en) | Multiservices MAC-protocol for wireless ATM system | |
| US5953318A (en) | Distributed telecommunications switching system and method | |
| EP0817436B1 (en) | Packet switched communication system | |
| US6064651A (en) | Rate shaping in per-flow output queued routing mechanisms for statistical bit rate service | |
| JP2011024269A (en) | Method for generating atm cells for low bit rate applications | |
| US6574220B1 (en) | Traffic shaper that accommodates maintenance cells without causing jitter or delay | |
| EP0817433B1 (en) | Packet switched communication system and traffic shaping process | |
| EP0817431B1 (en) | A packet switched communication system | |
| EP0817435B1 (en) | A switch for a packet communication system | |
| US20050195742A1 (en) | Packet scheduler for access networks | |
| HK1146508B (en) | Wireless atm network with high quality of service scheduling | |
| HK1146508A1 (en) | Wireless atm network with high quality of service scheduling | |
| EP0817432B1 (en) | A packet switched communication system | |
| EP1065907B1 (en) | A method for generating ATM cells for low bit rate applications | |
| Charzinski | New approach to ATM access networks | |
| Clark et al. | QoS-based provisioning of ATM services over DAMA-controlled SATCOM networks | |
| Singh | Tiili" TTTTT: ETTETITETTTEI5E" TTTTTT | |
| Sezer et al. | Preserving Quality of Service in Wireless ATM Networks | |
| JPH04132434A (en) | Atm communication system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PE | Patent expired |
Effective date: 20181019 |