USPatent applicationPatented

System and method to implement a packet switch output buffer

Granted 18 Nov 2003 · 1 office action

Application· this page
9460273
filed 13 Dec 1999
Publication
Not published
not published
Patent
US 6,650,651
granted 18 Nov 2003

Life of the application

17 dated events
⤢ drag to zoom20002002200420062008201020122014201620182020ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

The present invention provides a system and method to implement a packet switch buffer. Incoming data packets are temporarily stored in an input buffer memory. Data packets in the input buffer memory are then examined to determine locations in an output buffer memory where the data packets should be transferred. Data packets in the input buffer memory are then transferred to the output buffer memory, such that data packets destined for a line card are written in an output memory block corresponding to the line card. Afterward, data packets in the output buffer memory are extracted and forwarded to designated output destinations.

Description

7 parts
›FIELD OF THE INVENTION

The present invention generally relates to packet switches, and particular to a system and method to implement a packet switch output buffer.

›BACKGROUND

Packet switches are typically implemented within the various layers of a standard Open System Interconnection (OSI) Model which general networks use in order to allow data communication within a network environment. The typical packet switches contained in the standard OSI Model network are designed to provide the three lower layer services to the respective subscribers (i.e., physical layer, data link layer and network layer).

Accordingly, data packets or data cells are routed through the various layers of the OSI Model network by the respective packet switches of the standard network system. As data packet traffic within a network system increases, the need for a high data packet transfer rate becomes increasingly important to the proper overall operations of the network. It is therefore desirable to provide a packet switch that can provide a high data packet transfer rate.

›SUMMARY OF THE INVENTION

The present invention provides a system and method to implement a packet switch output buffer. Incoming data packets are temporarily stored in an input buffer memory. Data packets in the input buffer memory are then examined to determine locations in an output buffer memory where the data packets should be transferred. Data packets in the input buffer memory are then transferred to the output buffer memory, such that data packets destined for a line card are written in an output memory block corresponding to the line card. Afterward, data packets in the output buffer memory are extracted and forwarded.

In accordance with one embodiment of the present invention, an output buffer in a packet switch includes an output buffer memory that is configured to store data packets. The output buffer memory includes number of output memory blocks. Each of the output memory blocks configured to store data packets destined for a corresponding line card. The output buffer further includes a scheduler coupled to the output memory to extract data packets stored in the output buffer memory.

The above described and many other features of the present invention will become apparent as the invention becomes better understood by reference to the following detailed description when considered in conjunction with the accompanying drawings.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an embodiment of a packet switch in accordance with the teachings of the present invention;

FIG. 2 outlines a method of operation of one embodiment of a packet switch buffer system in accordance with the teachings of the present invention;

FIG. 3 outlines the process of extracting or unloading data packets from the output buffer memory; and

FIG. 4 outlines the process of unloading data packets from an output memory block.

›DETAILED DESCRIPTION · 1 of 3

The following detailed description sets forth numerous specific details to provide a thorough understanding of the invention. However, those of ordinary skill in the art will appreciate that the invention may be practiced without these specific details. In other instances, well-known methods, procedures, protocols, components, algorithms, and circuits have not been described in detail so as not to obscure the invention.

FIG. 1 is a block diagram of one embodiment of a packet switch system in accordance with the present invention. The packet switch system 100 includes “x” data buses (DB 1 , DB 2 , . . . DB x ) 102 1 - 102 x , where “x” is a positive whole number. These data buses (DB 1 , DB 2 , . . . , DB x ) 102 1 - 102 x are operatively coupled input queues (IQ 1 , IQ 2 , . . . IQ x ) 110 1 - 110 x , which are located in input buffer memory 114 . In one embodiment, input queues (IQ 1 , IQ 2 , . . . , IQ x ) 110 1 - 110 x are implemented as First-In-First-Out queues. Data buses (DB 1 , DB 2 , . . . , DB x ) 102 1 - 102 x supply data to input queues (IQ 1 , IQ 2 , . . . , IQ x ) 110 1 - 110 x in the form of data packets or cells. Each data bus 102 1 - 102 x supplies data to a designated corresponding input queue 110 1 - 110 x . For example, DB 1 102 1 supplies data to IQ 1 110 1 ; DB 2 102 2 supplies data to IQ 2 110 2 ; and DB x 102 x supplies data to IQ 1 110 x .

Buffer memory interface 116 is coupled to input queues (IQ 1 , IQ 2 , . . . , IQ x ) 110 1 - 110 x to control the writing of input data into the input queues (IQ 1 , IQ 2 , . . . , IQ x ) 110 1 - 110 x , such that data available from data buses (DB 1 , DB 2 , . . . , DB x ) 102 1 - 102 x at one instance in time can generally be written simultaneously into the input queues (IQ 1 , IQ 2 , . . . , IQ x ) 110 1 - 110 x in one write cycle.

Buffer memory interface 116 is also coupled to output buffer memory 128 to facilitate transfers of data from input queues (IQ 1 , IQ 2 , . . . , IQ x ) 110 1 - 110 x to “n” output memory blocks (OMB 1 , OMB 2 , . . . , OMB n ) 130 1 - 130 n , where “n” is a positive whole number. Output memory blocks (OMB 1 , OMB 2 , . . . , OMB,) 130 1 - 130 n are located in output buffer memory 128 . Input queues (IQ 1 , IQ 2 , . . . , IQ x ) 110 1 - 110 x generally serve as a temporary storage space where a sufficient amount of input data can be gathered prior to being transferred to output memory blocks (OMB 1 , OMB 2 , . . . , OMB n ) 130 1 - 130 n in output buffer memory 128 . In one embodiment, input data is written into output memory blocks (OMB 1 , OMB 2 , . . . , OMB n ) 130 1 - 130 n in 176-bit words. In this embodiment, incoming data is accumulated in input queues (IQ 1 , IQ 2 , . . . IQ x ) 110 1 - 110 x until 176 bits of data are available to be transferred to output memory blocks (OMB 1 , OMB 2 , . . . , OMB n ) 130 1 - 130 n .

As stated above, data buses (DB 1 , DB 2 , . . . , DB x ) 102 1 - 102 x supply data to input queues (IQ 1 , IQ 2 , . . . , IQ x ) 110 1 - 110 x in the form of data packets. Each data packet contains an output destination parameter and a priority parameter. In one embodiment, the output destination and priority parameters may be incorporated into a header portion of each data packet. As will be described below in more details, the output destination and priority parameters dictate where the data packet will be placed in output buffer memory 128 . Accordingly, buffer memory interface 116 examines the output destination and priority parameters contained in each data packet to determine where in output buffer memory 128 to place the data packet.

Output buffer memory 128 includes a plurality of output memory blocks (OMB 1 , OMB 2 , . . . , OMB n ) 130 1 - 130 n . In one embodiment, each output memory block (OMB 1 , OMB 2 , . . . , OMB n ) 130 1 - 130 n is configured to store data packets destined for a designated line card (LC 1 , LC 2 , . . . , LC n ) (not shown). For example, OMB 1 130 1 stores data packets destined for LC 1 ; OMB 2 130 2 stores data packets destined for LC 2 ; and OMB n 130 n stores data packets destined for LC n . Each line card (LC) is a plug-in electronic Printed Circuit (PC) card that operates lamps, ringing, holding, and other features associated with one or several telephone lines or telephones in a telephone system.

Scheduler 136 is coupled to output memory blocks (OMB 1 , OMB 2 , . . . , OMB n ) 130 1 - 130 n to facilitate the unloading or extracting of data packets from output memory blocks (OMB 1 , OMB 2 , . . . , OMB n ) 130 1 - 130 , for transfer into line card interface units (LCIU 1 , LCIU 2 , . . . , LCIU N ) 138 1 - 138 n . At the command of scheduler 136 , data packets from an output memory block 130 1 - 130 n are unloaded or extracted. The extracted data packets are eventually forwarded to line card interface units (LCIU 1 , LCIU 2 , . . . , LCIU N ) 138 1 - 138 n . Each LCIU 138 1 - 138 n generally converts the data packets to a format which a line card (LC) can accept, and forwards the converted data packets to the line cards. In one embodiment, each LCIU 138 1 - 138 n serializes the data packets so that the data packets can be forwarded to a corresponding line card (LC) through a series of serial ports or connections on the line card (LC). As illustrated, LCIU 1 138 1 forwards or supplies data to LC 1 ; LCIU 2 138 2 supplies data to LC 2 ; and LCIU N 138 n forwards data to LC n .

Each output memory block 130 1 - 130 n is further divided into several output queues, using the following characteristics: output time slice and output destination. In the embodiment of FIG. 1, each output memory block 130 1 - 130 n is divided into “m” output queues (OQ 1 , OQ 2 , . . . , OQ m ) 144 1 - 144 m, where “m” is a positive whole number. In this embodiment, a time division multiplexing (TDM) scheme is used to unload data packets from the output queues into the line card interface units. In the TDM scheme, each output queue (OQ 1 , OQ 2 , . . . , OQ m ) 144 1 - 144 m is assigned a time slice (TS 1 , TS 2 , . . . , TS m ) when data packets from the output queue is extracted or unloaded. Accordingly, data packets stored in OQ 1 144 1 are extracted or unloaded during TS 1 ; data packets stored in OQ 2 144 2 are extracted or unloaded during TS 2 ; and data packets stored in OQ m 144 m n are unloaded during TS m .

›DETAILED DESCRIPTION · 2 of 3

As stated above in one embodiment, each line card interface unit (LCIU 1 , LCIU 2 , . . . , LCIU N ) 138 1 - 138 n serializes the data packets so that the data packets can be forwarded to a corresponding line card (LC) via a plurality of serial ports or connections on the line card. In this embodiment, data packets destined for each port or connection on the line card are unloaded during a pre-assigned time slice. Accordingly, data packets destined for the first port or Port 1 on LC 1 are stored in OQ 1 144 1 of OMB 1 130 1 and are unloaded or extracted at TS 1 .

Output queues (OQ 1 , OQ 2 , . . . , OQ m ) 144 1 - 144 m in output memory blocks (OMB 1 , OMB 2 , . . . , OMB n ) 130 1 - 130 n are further divided into queue sections 140 1 - 140 m and 150 1 - 150 m according to data packet priority, including high-priority (HP) and low-priority (LP). Accordingly, high-priority data packets, which are to be unloaded during TS 1 and which are destined for LC 1 , should be placed into the (LC 1 , TS 1 , HP) queue section 140 1 of OQ 1 144 1 in OMB 1 130 1 . Similarly, low-priority data packets, which are to be unloaded at TS m and which are destined for LC n , should be placed into (LC n , TS m , LP) queue section 150 1 of OQ m 144 m in OMB n 130 n .

Scheduler extracts or unloads data packets from output memory blocks (OMB 1 , OMB 2 , . . . , OMB n ) 130 1 - 130 n in accordance with a predetermined service sequence. It should be noted that the unloading of data packets from an output memory block is also referred to as servicing the output memory block. In one embodiment, scheduler employs a cyclical or round-robin service sequence to service output memory blocks (OMB 1 , OMB 2 , . . . , OMB n ) 130 1 - 130 n . In the round-robin service sequence, scheduler services output memory blocks (OMB 1 , OMB 2 , . . . , OMB n ) 130 1 - 130 n during sequential block service periods 1 to n, wherein block service period 1 precedes block service period 2 and block service period n−1 precedes block service period n. Accordingly, scheduler 136 services OMB 1 130 1 during block service period 1 , OMB 2 130 2 during block service period 2 , and OMB n 130 n during block service period n.

During each block service period when a selected output memory block is serviced, scheduler 136 services the output queues (OQ 1 , OQ 2 , . . . , OQ m ) 144 1 - 144 m in the selected output memory block using a cyclical or round-robin service sequence. In using a cyclical or round-robin service sequence, scheduler 136 services output queues (OQ 1 , OQ 2 , . . . , OQ m ) 144 1 - 144 m in sequential queue service periods 1 to m, wherein queue service period 1 precedes queue service period 2 and queue service period m−1 precedes queue service period m. Accordingly, scheduler 136 services OQ 1 144 1 of an output memory block 130 1 - 130 n during queue service period 1 , OQ 2 144 2 of an output memory block 130 1 - 130 n during queue service period 2 , and OQ m 144 m of an output memory block 130 1 - 130 n during block service period m.

When servicing an output queue (OQ 1 , OQ 2 , . . . , OQ m ) 144 1 - 144 m in an output memory block (OMB 1 , OMB 2 , . . . , OMB n ) 130 1 - 130 n during a queue service period, scheduler 136 unloads or extracts a predetermined amount of data packets (DP max ) from the output queue. In extracting or unloading data packets from the output queue being serviced, scheduler first extracts data packets from the high-priority (HP) queue section 140 1 of the output queue. Scheduler 136 then extracts data packets from the low-priority (LP) section 150 1 of the output queue 144 1 - 144 m being serviced, so that a total of DP max data packets are extracted or unloaded from the output queue. Accordingly, data extracted during a queue service period may come from both the high-priority (HP) queue section 140 1 and low-priority (LP) queue section 150 1 of the output queue being serviced.

FIG. 2 outlines a method of operation of one embodiment of a packet switch buffer system in accordance with the teachings of the present invention. In block 205 , incoming data packets are received by the packet switch output buffer system and temporarily written to input queues (IQ 1 , IQ 2 , . . . , IQ x ). As described above, each data packet includes output destination and priority parameters dictating the proper location where the data packet should be transferred. The output destination and priority parameters associated with each data packet are examined in order to determine the appropriate location in the output buffer memory of the packet switch system (block 210 ).

In block 215 , data packets are written to the proper location in the output buffer memory based on the output destination and priority parameters associated with the data packets. For example, high-priority data packets, which are to be unloaded during TS 1 and which are destined for LC 1 , should be placed into the (LC 1 , TS 1 , HP) queue section of OQ 1 in OMB 1 , as shown in FIG. 1 . Similarly, low-priority data packets, which are to be unloaded at TS m and which are destined for LC n , should be placed into (LC n , TS m , LP) queue section of OQ m in OMB n , as shown in FIG. 1 . In block 220 , data packets stored in the output buffer memory of the packet switch system are unloaded or extracted. As stated above, the data packets are extracted or unloaded from the output buffer memory in accordance with a predetermined cyclical or round-robin service sequence to service output memory blocks.

FIG. 3 outlines the process of extracting or unloading data packets from the output buffer memory. As described above, output buffer memory includes a plurality of output memory blocks (OMB 1 , OMB 2 , . . . , OMB n ). In general, data packets from output memory blocks (OMB 1 , OMB 2 , . . . , OMB n ) are extracted or unloaded in accordance with a predetermined cyclical or round robin service sequence. It should be noted that the unloading or extracting of data packets from an output memory block is also referred to as servicing the output memory block. In the round-robin service sequence, output memory blocks (OMB 1 , OMB 2 , . . . , OMB n ) are sequentially serviced in sequential block service periods.

›DETAILED DESCRIPTION · 3 of 3

In block 305 of FIG. 3, Current_OMB is set equal to the first output memory block, or OMB 1 . Current_OMB represents the output memory block being serviced. In block 310 , data packets in Current_OMB are extracted or unloaded, as outlined in more details in FIG. 4 . After Current_OMB is serviced, a query is performed to determine whether Current_OMB is equal to the last output memory block, or OMB n (block 315 ). If Current_OMB equals the last output memory block, or OMB n , the extracting or unloading of data packets from the output buffer memory is completed. If Current_OMB does not equal the last output memory block or OMB n , Current_OMB is set to the next OMB to be serviced. Also, blocks 310 , 315 , and 320 are repeated.

FIG. 4 outlines the process of unloading data packets from an output memory block. In general during each block service period when an output memory block is serviced, output queues (OQ 1 , OQ 2 , . . . , OQ m ) in that output memory block are serviced using a cyclical or round-robin service sequence. In using a cyclical or round-robin service sequence, output queues (OQ 1 , OQ 2 , . . . , OQ m ) are sequentially serviced in sequential queue service periods 1 to m, wherein queue service period 1 precedes queue service period 2 and queue service period m−1 precedes queue service period m. Accordingly, OQ 1 is serviced during queue service period 1 ; OQ 2 is serviced during queue service period 2 ; and OQ m is serviced during block service period m.

In block 405 of FIG. 4, Current_OQ is set to the first output queue or OQ 1 . Current_OQ represents the current output queue being serviced. When servicing the Current_OQ, a predetermined amount of bytes of data (DP max ) are extracted from the Current_OQ. DP max is stored in a data structure referred to as a “permit.” In one embodiment, DP max may be set to at least 2056 bytes. It should be noted, however, that DP max is a programmable value that can be set to any values.

In extracting or unloading data packets from the output queue being serviced, data packets from the high-priority (HP) queue section are first extracted or unloaded (block 410 ). If the byte count of the extracted high-priority data packets is not greater or equal to DP max , data packets from the low-priority (LP) section are then extracted or unloaded, so that a total of DP max bytes of data are extracted or unloaded from the Current_OQ (block 420 ).

After the Current_OQ is serviced, a query is performed to determine whether Current_OQ is equal to the last output queue or OQ m (block 315 ). If Current_OQ equals the last output memory queue or OQ m , the servicing of an output memory block is completed. If Current_OQ is not the last output queue (OQ m ) in the current output memory block being serviced, Current_OQ is set to the next output queue to be serviced. Also, blocks 410 through 430 are repeated.

From the above description and drawings, it will be understood by those of ordinary skill in the art that the particular embodiments shown and described are for purposes of illustration only and are not intended to limit the scope of the invention. Those of ordinary skill in the art will recognize that the invention may be embodied in other specific forms without departing from its spirit or essential characteristics. References to details of particular embodiments are not intended to limit the scope of the claims.

Claims as granted

22 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

4 codes
IPC · International Patent Classification
Section H — Electricity
  • H04L12/56
USPC · US Patent Classification
370/412370/419370/413

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJan 2000Jul 2000Jan 2001Jul 2001Jan 2002Jul 2002Jan 2003Jul 2003Jan 2004USPTOApplicantNon-final rejectionNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
3.9 y
1,436 days filing → grant
Office actions
1
non-final + final
Responses
1
no RCE
Examiner
Salvatore Cangialosi
art unit 2732 · TC 2700
Citations: 8 back · 6 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20002002200420062008201020122014201620182020Owner 2Owner 3Owner 4Owner 7liens, releases & corrections
TitleLienReleasehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock