WO2008074191A1 - A packet switching system and a method thereof - Google Patents

A packet switching system and a method thereof Download PDF

Info

Publication number
WO2008074191A1
WO2008074191A1 PCT/CN2006/003526 CN2006003526W WO2008074191A1 WO 2008074191 A1 WO2008074191 A1 WO 2008074191A1 CN 2006003526 W CN2006003526 W CN 2006003526W WO 2008074191 A1 WO2008074191 A1 WO 2008074191A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
multicast
unicast
queue
shared buffer
Prior art date
Application number
PCT/CN2006/003526
Other languages
French (fr)
Chinese (zh)
Inventor
Zufa Yang
Original Assignee
Zte Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zte Corporation filed Critical Zte Corporation
Priority to CN2006800564629A priority Critical patent/CN101542985B/en
Priority to PCT/CN2006/003526 priority patent/WO2008074191A1/en
Publication of WO2008074191A1 publication Critical patent/WO2008074191A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/6215Individual queue per QOS, rate or priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/15Flow control; Congestion control in relation to multipoint traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling

Definitions

  • the present invention relates to the field of communications, and in particular, to a packet switching apparatus and method.
  • BACKGROUND OF THE INVENTION Time Division Multiplexing (TDM) networks are based on fixed time slot cross-connection services, and data of the same service occupies fixed-length time slot forwarding at equal intervals, and is adapted to transmit delay-sensitive services, such as real-time voice and high definition. Video information, etc.
  • the packet switched network is based on the storage forwarding and statistical multiplexing exchange services.
  • the interval between adjacent packets of the same service is uncertain, and it is suitable for transmitting services that are not sensitive to delay, such as emails, files, forbidden images, and the like.
  • the two network characteristics are different, and the bearer services are highly differentiated.
  • Optical Transport Hierarchy
  • TDM services often require switching in byte-interleaved manner, such as TDM services such as El and T1 transmitted over SDH or SONET networks.
  • Different service data is transmitted by byte interleaving and multiplexing. If the time slot of the input direction is extended from single byte to multibyte on the line card of the TDM switching device, The TDM synchronization time slot crossover unit crosses the multi-byte time slot, and the output direction of the online card is restored to the byte interleaving mode, which can realize the equivalent function of the byte interleaving TDM switching device.
  • the usual packet switching components are implemented in a shared store-and-forward and output-queue-based manner. All ports sharing a unified memory will cause the service to compete for the internal buffer resources of the switching device.
  • the service When multiple service statistics are multiplexed to the same port, the service will compete for the port bandwidth resources.
  • An effective way to solve the competition is to use the queue management buffer to limit the occupation of the shared buffer by each service, and according to a certain strategy, such as scheduling the port ⁇ ⁇ team based on priority.
  • the variable length characteristics of the packet necessarily introduce an indeterminate buffer delay.
  • the emergence of resource competition will also introduce uncertain forwarding delay. Therefore, the traditional packet switching method is not suitable for transmitting TDM services.
  • the packet switching network and TDM switching network will also be used for a long period of time. coexist.
  • the present invention proposes a packet switching apparatus and method to simultaneously accommodate the switching requirements of TDM services and packet services.
  • a packet switching apparatus comprising: a grouping unit 102 for dividing or padding input data into fixed length packets; and an exchange unit 104 for unicasting packets from the grouping unit
  • the multicast packet are respectively divided into at least one priority and each queue is assigned a unicast packet and a multicast packet for each priority, and is scheduled according to the priority of the queue, wherein the unicast packet is assigned to the highest priority
  • the queue and the queue assigned to the highest priority multicast packet are used to carry TDM traffic or packet traffic, and the queues assigned to other priority unicast packets and the queues assigned to other prior multicast packets are used for bearer. Grouping business.
  • the queue is used to buffer the address of the packet, and operates in a first-in first-out manner.
  • the switching unit includes: a unicast shared buffer for storing unicast packets from the packet unit; a multicast shared buffer for storing multicast packets from the packet unit; a packet scheduling unit, Used to dispatch packets from the queue according to the priority of the queue; queue management unit, used Allocate shared buffer space for each port's unicast packet queue and multicast packet queue, and allocate unicast shared buffer space for the highest priority unicast packet queue for TDM unicast service or unicast Packet service, the multicast shared buffer space allocated for the highest priority multicast packet queue is used for TDM multicast service or multicast packet service, and is released after the unicast packet and the multicast packet are forwarded to the designated port.
  • the queue management unit copies the storage address of the multicast packet to the corresponding multicast queue of the plurality of designated ports in the multicast shared buffer, and when the predetermined time is reached, the multicast packet storage address is forwarded. .
  • the currently input unicast packet in the case where the occupied unicast shared buffer space is lower than the allocated value, the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and the occupied multicast is used.
  • the shared buffer space is lower than the assigned value, it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded.
  • the unicast shared buffer has free storage space, it is allowed to buffer the currently input unicast packet, otherwise discard the currently input unicast packet; and there is idle in the multicast shared buffer. In the case of storage space, it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded.
  • the queue scheduling unit schedules the unicast service and the multicast service of the same priority in the following manner: preferentially scheduling the unicast service, preferentially scheduling the multicast service, and randomly scheduling.
  • the queue scheduling unit preferentially schedules packets in the highest priority queue.
  • the grouping unit divides or fills the input data into fixed length packets; and in S1204, the switching unit divides the unicast packet and the multicast packet from the grouping unit into at least one priority and each for each
  • the priority unicast packet and the multicast packet are respectively assigned a queue, and the packet is scheduled according to the priority of the queue, wherein the queue assigned to the highest priority unicast packet and the queue allocated to the highest priority multicast packet are used.
  • queues assigned to other priority unicast packets and queues allocated to other priority multicast packets are used to carry packet traffic.
  • the queue is used to buffer the address of the packet, and operates in a first-in first-out manner.
  • step S1204 includes: S12042, storing a unicast packet from a packet unit through a unicast shared buffer and using a unicast shared buffer space allocated for the highest priority unicast packet queue for TDM Unicast traffic or unicast packet traffic, and multicast packet buffers from the packet unit through the multicast shared buffer and the multicast shared buffer allocated for the highest priority multicast packet queue for TDM multicast traffic Or multicast packet service; and S 12044, a packet scheduling unit, configured to schedule a packet from the queue according to a priority of the queue; and S12046, after the unicast packet and the multicast packet are forwarded to the designated port, releasing the unicast packet and The shared buffer space corresponding to the multicast packet.
  • the write speed of the unicast shared buffer and the multicast shared buffer is not lower than the sum of the packet input rates of all the input ports of the switching unit, the unicast shared buffer and the multicast sharing slow.
  • the readout speed of the punch is not lower than the sum of the packet output speeds of all the output ports of the switching unit.
  • the multicast shared buffer copies the storage address of the multicast packet to the corresponding multicast queue of the plurality of designated ports, and when the predetermined time is reached, releases the multicast packet storage address.
  • the currently input unicast packet in the case that the occupied unicast shared buffer space is lower than the allocated value, the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and the occupied multicast sharing is occupied. In the case where the buffer space is lower than the assigned value, it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded.
  • the unicast shared buffer has free storage space, it is allowed to buffer the currently input unicast packet, otherwise discard the currently input unicast packet; and exist in the multicast shared buffer. In the case of free storage space, it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded.
  • the unicast service and the multicast service of the same priority are scheduled in the following manner: unicast service is preferentially scheduled, multicast service is preferentially scheduled, and random scheduling is performed.
  • the present invention ensures that the highest priority service preferentially occupies the global shared buffer space, and uses the highest priority service packet for forwarding TDM service or packet service, and other priority packets are used only for 4 packets of packet service, thereby making the present invention
  • the packet switching apparatus and method are capable of simultaneously adapting the exchange of TDM services and packet services.
  • FIG. 1 is a functional block diagram of a packet switching apparatus according to an embodiment of the present invention
  • FIG. 2 is a functional structural diagram of a packet switching apparatus according to an embodiment of the present invention
  • FIG. 3 is a unicast sharing according to an embodiment of the present invention.
  • FIG. 4 is a diagram of a multicast sharing buffer gate P ⁇ setting according to an embodiment of the present invention
  • FIG. 5 is a unicast priority queue structure diagram according to an embodiment of the present invention; A unicast priority queue threshold setting map of an embodiment of the invention; FIG. 7 is a map of a unicast priority queue to a unicast shared buffer according to an embodiment of the present invention; FIG. 8 is a multicast priority according to an embodiment of the present invention.
  • FIG. 9 is a multicast priority queue threshold setting diagram according to an embodiment of the present invention;
  • FIG. 10 is a mapping diagram of a multicast priority queue to a multicast shared buffer according to an embodiment of the present invention; a port queue scheduling time slot distribution map according to an embodiment of the present invention;
  • Figure 12 is a flow chart of a packet switching method in accordance with an embodiment of the present invention.
  • FIG. 1 a packet switching apparatus in accordance with an embodiment of the present invention is illustrated. As shown in FIG. 1
  • the packet switching apparatus includes: a grouping unit 102, configured to divide or fill input data into fixed length packets; and an exchanging unit 104, configured to separately separate unicast packets and multicast packets from the packet unit Dividing into at least one priority and assigning a queue to each of the unicast packets and the multicast packets of each priority, and scheduling according to the priority of the queue, wherein the queues assigned to the highest priority unicast packets are The queue assigned to the highest priority multicast packet is used for TDM service or packet service, the queue assigned to other priority unicast packets and the queue allocated to other priority multicast packets are used to carry the packet business. The queue is used to buffer the address of the packet and operates in a first-in, first-out manner.
  • the switching unit 104 includes: a unicast shared buffer 1042 for storing unicast packets from the packet unit; a multicast shared buffer 1044 for storing multicast packets from the packet unit; a packet scheduling unit 1046, A priority is used to schedule a packet from the queue; a queue management unit 1048 is configured to allocate a shared buffer space for each port's unicast packet queue and multicast packet queue, respectively, and will be the highest priority list.
  • the unicast shared buffer space allocated by the broadcast packet queue is used for TDM unicast service or unicast packet service, and the multicast shared buffer space allocated for the highest priority multicast packet queue is used for TDM multicast service or multicast.
  • Packet service and after the unicast packet and the multicast packet are forwarded to the designated port, releasing the shared buffer space corresponding to the unicast packet and the multicast packet; and an address management unit 1050 for managing the unicast shared buffer and The idle storage address of the multicast shared buffer period.
  • the write speed of the unicast shared buffer and the multicast shared buffer is not lower than the sum of the packet input rates of all the input ports of the switching unit, and the reading of the unicast shared buffer and the multicast shared buffer
  • the output speed is not lower than the sum of the packet output speeds of all the output ports of the switching unit.
  • the queue management unit copies the storage address of the multicast packet to the corresponding multicast queue of the plurality of designated ports in the multicast shared buffer, and releases the multicast packet storage address when the predetermined time is reached.
  • the occupied unicast shared buffer space is lower than the allocated value, the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and the occupied multicast shared buffer space is lower than In the case of assigning a value, it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded.
  • the queue scheduling unit schedules unicast services and multicast services of the same priority in the following manner: preferentially scheduling unicast services, preferentially scheduling multicast services, and scheduling randomly.
  • the queue scheduling unit preferentially schedules packets in the highest priority queue. Specifically, as shown in FIG.
  • a packet switching apparatus includes the following parts: a Unicast Share Buffer (USB), a multicast shared buffer (Multicast). Share Buffer (MSB), Unicast Priority Queue (UPQ), Multicast Priority Queue (MPQ), Packet Scheduler (PSch), Queue Management (Queue) Management, referred to as QM), and Address Management (AM).
  • UPQ Unicast Priority Queue
  • MPQ Multicast Priority Queue
  • PSch Packet Scheduler
  • QM Queue Management
  • Address Management A
  • TDM attributes can be selected per per PriO unicast service and per PriO multicast service per port. When the TDM attribute is selected, it indicates that the corresponding packet carries the TDM service, otherwise, it indicates that the corresponding packet carries the packet service.
  • Each port per Pril, Pri2, Pri3 unicast service and per-Pril, Pri2 Pri3 multicast service per port has no TDM attribute, and can only forward packet services.
  • the USB is shared by all the port unicast services of the switching component of the packet switching device, and the dual-port memory structure separated by read and write operations is used to store the service data in units of packets, and the writing rate is not lower than that of the switching component.
  • USB_HT the USB High Threshold
  • USB-LT the capacity that the USB has allocated to the switching unit for all unicast priority traffic queues and unicast TDM traffic queues.
  • USBJLT must be smaller than USB-HT.
  • the buffer capacity from USB-LT to USB-HT is reserved for use by TDM unicast services. When the USB usage reaches USB-LT, it is prohibited to continue to buffer unicast packets of any packet service type. As long as the USB usage does not reach USB-HT, it is always allowed to buffer any unicast TDM service packets.
  • the MSB is shared by all the ports of the switching component.
  • the dual-port memory structure separated by read and write operations stores the service data in units of packets.
  • the write rate is not lower than the sum of the maximum packet input rates of all input ports of the switching component.
  • the output rate is not lower than the sum of the maximum packet output rates of all output ports of the switching unit.
  • the QM uses the threshold P threshold to control the occupancy of the MSB by the multicast service.
  • the MSB High Threshold (MSB_HT) is the total capacity of the MSB.
  • the MSB Low Threshold (MSB-LT) is the capacity that the MSB has allocated to the switching component for all multicast priority service queues and multicast TDM service queues.
  • MSB—LT must be less than MSB—HT.
  • the buffer capacity from MSB-LT to MSB-HT is reserved for use by TDM multicast services. When the occupancy of the MSB reaches MSB_LT, it is prohibited to continue to buffer multicast packets of any packet service type.
  • the four unicast priority queues included in each port are Unicast Priority Queue 0 (UPQ0 for short), UPQ1, UPQ2, and UPQ3. These UPQs have the same structure and use FIFO operation, as shown in Figure 5.
  • the UPQ unit stores the retrieval address of a particular unicast priority service packet, rather than the data contained in a particular priority unicast service packet.
  • the unicast packet storage address is always output from the UPQ Head (UPQ_H), and is added from the next unit of the UPQ Tail (UPQ-T).
  • QM uses the threshold to limit the USB usage per UPQ per port.
  • each port contains UPQ Lower Threshold (UPQJLT) and UPQ High Threshold (UPQ High Threshold, UPQ-HT). ).
  • UPQ—HT is the storage space for a particular UPQ.
  • the UPQ-LT is used to control the occupation of the USB by the unicast service corresponding to the specific UPQ.
  • the packet queuing length of the specific UPQ is lower than the UPQ-LT, the USB is allowed to continue to buffer the corresponding unicast service packet.
  • the set UPQ-LT cannot be greater than UPQ-HT.
  • UPQ of all UPQs - the sum of LT Equal to USB-LT equivalent unicast packet storage address number.
  • any unicast packets currently queued by the UPQ are not continuously stored in the USB. As shown in Figure 7, unicast packets belonging to the same UPQ can be distributed anywhere in the USB.
  • the four multicast priority queues included in each port are Multicast Priority Queue 0 (MPQ0), MPQ1, MPQ2, and MPQ3. These MPQs have the same structure and use FIFO operation, as shown in Figure 8.
  • the MPQ unit stores the retrieval address of a particular multicast priority service packet, rather than the data contained in a particular priority multicast service packet.
  • the multicast packet storage address is always output from the MPQ Head (MPQ Head, MPQ-H for short), and is added from the next unit of the MPQ Tail (MPQ-T).
  • each MPQ includes MPQ Lower Threshold (MPQ-LT) and MPQ High Threshold (MPQ). — HT ).
  • MPQ_HT is the storage space of a specific MPQ.
  • the MPQJLT is used to control the occupancy of the MSB by the multicast service corresponding to the specific MPQ.
  • the packet queuing length of the specific MPQ is lower than the MPQ-LT, the MSB is allowed to continue to buffer the corresponding multicast service packet.
  • the set MPQ-LT cannot be greater than MPQ-HT.
  • the sum of MPQ_LT of all MPQs is equal to the number of MSB-LT equivalent multicast packet storage addresses.
  • the QM uses a Queue Input Grant (QIG) signal to notify the outside world of incoming packets.
  • QIG Queue Input Grant
  • Each UPQ and each MPQ has a corresponding QIG signal.
  • the QM sets the QIG signal corresponding to the UPQ to true, otherwise it is set to false;
  • the QM sets the QIG signal corresponding to the MPQ to true, otherwise it is set to false.
  • the QM For the unicast TDM service, if the current occupation of the USB is lower than the USB-HT, the QM sets the QIG signal corresponding to the UPQ to be true, otherwise it is set to be a branch; for the multicast TDM service, if the current occupancy of the MSB is lower than When MSB-HT, QM sets the QIG signal corresponding to the MPQ to true, otherwise it is set to £. Any unicast packets currently queued by the MPQ are not continuously stored in the MSB. As shown in FIG. 10, multicast packets belonging to the same MPQ may be distributed anywhere in the MSB.
  • the QM retains only one copy at the MSB, copying the storage address of the multicast packet to the corresponding multicast queue for multiple designated ports.
  • multicast packet y needs to be multicast to port 1.
  • Port j, port k, and corresponding storage addresses are copied to MPQi, MPQj, and MPQk, respectively.
  • STS Scheduling Time Slot
  • Each port contains a PSch, which is responsible for scheduling 4 UPQs and 4 MPQs for that port.
  • the PSch of each port works independently.
  • the total number of STSs that can be processed per second by all PSch is equivalent to the maximum number of packets that the switching component can forward per second, corresponding to the maximum packet switched capacity of the switching component.
  • PSch is based on priority scheduling packets. Combined with Figure 2 and Figure 11, the scheduling process is described as follows: Although the STSs of specific ports are not contiguous, the time interval between neighboring STSs is the same, and is an integer multiple of STS, PSch is only in every STS.
  • the scheduling operation can be performed during the period.
  • Each STS can schedule one packet from the four UPQs and four MPQs of the corresponding port.
  • the PSch of each port has eight Queue Output Grant (QOG) input signals, which are respectively controlled.
  • QOG Queue Output Grant
  • the PSch outputs a packet from the corresponding PriO queue, and then enters the waiting state, waiting for the arrival of the next STS; otherwise If the PRL queue is not empty and the corresponding QOG signal status is true, PSch outputs a packet from the corresponding PRL queue, after which Entering the wait state, waiting for the arrival of the next STS; and so on, until the Pri3 queue is scheduled; if there is no suitable packet output during the current STS, the PSch goes directly to the wait state, waiting for the arrival of the next STS; Outputting a unicast packet from the selected UPQ, ( immediately releasing the storage address of the unicast packet; the specific PSch outputs a multicast packet from the selected MPQ each time, if the corresponding port is the last multicast port of the multicast packet , immediately release the storage address of the multicast packet, otherwise, continue to maintain the storage address of the multicast packet; when a specific PSch
  • the AM is responsible for managing the free storage addresses of the USB and MSB.
  • AM allocates a USB or MSB free storage address for the queue corresponding to the service.
  • Each PSch releases a unicast or multicast storage address, and the AM immediately reclaims the storage address.
  • the packet switching method performed by the packet switching apparatus according to the embodiment of the present invention is as shown in FIG.
  • S1202 The grouping unit divides or fills the input data into fixed-length packets; and S1204, exchanges The unit will separately unicast packets and multicast packets from the packet unit Dividing into at least one priority and assigning a queue to each of the unicast packets and the multicast packets of each priority, and scheduling the packets according to the priority of the queue, wherein the queues assigned to the highest priority unicast packets are allocated
  • the queue of the highest priority multicast packet is used for 7-bit TDM traffic or packet traffic, and the queues assigned to other priority unicast packets and the queues assigned to other priority multicast packets are used to carry packet traffic.
  • Step S1204 includes: S12042, storing a unicast packet from a packet unit through a unicast shared buffer and using a unicast shared buffer space allocated for a highest priority unicast packet queue for TDM unicast traffic or unicast packet Traffic, and storing multicast packets from the packet unit through the multicast shared buffer and allocating the multicast shared buffer space for the highest priority multicast packet queue for TDM multicast traffic or multicast packet traffic; S12044.
  • a packet scheduling unit configured to schedule a packet from a queue according to a priority of the queue; and S12046, after the unicast packet and the multicast packet are forwarded to the designated port, the shared by the dry unicast packet and the multicast packet Buffer space.
  • the write speed of the unicast shared buffer and the multicast shared buffer is not lower than the sum of the packet input rates of all the input ports of the switching unit, and the reading of the unicast shared buffer and the multicast shared buffer
  • the output speed is not lower than the sum of the packet output speeds of all the output ports of the switching unit.
  • the multicast shared buffer copies the storage address of the multicast packet to the corresponding multicast queue of the plurality of designated ports, and releases the multicast packet storage address when the predetermined time is reached.
  • the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and the occupied multicast shared buffer space is lower than
  • assigning a value it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded.
  • the unicast shared buffer has free storage space, the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and the idle storage space exists in the multicast shared buffer. Next, it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded.
  • the unicast service and the multicast service of the same priority are scheduled in the following manner: preferentially scheduling the unicast service, preferentially scheduling the multicast service, and scheduling the random.
  • the core idea of the present invention is: to reserve a certain global buffer space for the highest 4 priority service, to buffer the TDM service based on the global shared buffer threshold, and to buffer the packet service based on the traffic queue threshold. Grouping.
  • the port service scheduling is performed according to the priority, and the highest priority service is preferentially forwarded.
  • Step 1 The packet component of the packet switching device according to the present invention exchanges services according to fixed length packets, wherein any service data accessed from the user interface must be segmented. Or a fixed-length packet of a specific length can be sent to the switching component of the packet switching device.
  • the switching component in the packet switching apparatus according to the present invention divides the unicast service into one or more priority levels, and allocates one queue for each priority per-port single "service; the multicast service is also divided into one or more priorities. Level, and allocate a queue for each priority multicast service per port.
  • the queue is used to queue the storage address of the buffer packet, and operates according to the First Input First Output (FIFO) mode.
  • Both buffers are dual-port storage structures, one for writing packets and the other for reading packets, prohibiting simultaneous reading and writing of the same storage address.
  • Shared unicast buffer and shared The write rate of the broadcast buffer is not lower than the sum of the packet input rates of all the input ports of the switching device, and the read speed is not lower than the packet input of all the output ports of the switching device. The sum of the rates ensures that there is no input and output congestion.
  • Step 3 The queue management component allocates a specific unicast shared buffer space for each port per priority unicast queue, and reserves part of the unicast shared buffer space for TDM.
  • Unicast service allocates a specific multicast shared buffer space for each port per priority multicast queue, and reserves part of the multicast shared buffer space for TDM multicast services.
  • Step 4 For any multicast packet, queue The management component only keeps one copy in the multicast shared buffer, and copies the storage address of the multicast packet to the corresponding multicast queue of multiple designated ports. The queue management component sets a counter for any multicast packet to control multicast. The release of the packet storage address. Only after the multicast packet has been forwarded to all designated ports, the queue management component can release the storage space corresponding to the multicast packet.
  • Step 5 all the highest priority unicast and multicast Grouping has optional TDM attributes, if The current packet contains a TDM attribute, indicating that the current packet carries the TDM service, and otherwise indicates that the current packet carries the packet service.
  • Step 6 For the unicast packet service, if the occupied unicast shared buffer space is lower than the allocated value, the currently input unicast packet is allowed to be buffered, otherwise, the currently input unicast packet is discarded.
  • For multicast packet services if the occupied multicast shared buffer space is lower than the assigned value, it is allowed to buffer the currently input multicast packet, otherwise, the currently input multicast packet is discarded.
  • Step 7 For the unicast TDM service, if the unicast shared buffer has free storage space, it is allowed to buffer the currently input unicast packet, otherwise, the currently input unicast packet is discarded.
  • For multicast TDM services if the multicast shared buffer has free storage space, it is allowed to buffer the currently input TDM multicast packet, otherwise, the currently input TDM multicast packet is discarded.
  • Step 8 The packet scheduling component schedules the service according to the priority, first schedules the highest priority service, and finally schedules the lowest priority service.
  • the unicast service and the multicast service of the same priority belong to the same scheduling level, and the unicast service or the multicast service may be preferentially scheduled, or may be randomly selected.
  • the address management component manages the free storage addresses of the unicast shared buffer and the multicast shared buffer.
  • One packet can be buffered per storage address.
  • the present invention uses a separate unicast shared buffer and a multicast shared buffer, and sets a separate queue for each unicast priority service per port, and per port per multicast priority service, when the switching component forwards
  • a connectionless packet service such as an Ethernet Media Access Control (MAC) frame
  • MAC Ethernet Media Access Control
  • the present invention buffers the packet service according to the specific queue threshold, buffers the TDM service according to the unicast shared buffer threshold and the multicast shared buffer threshold, and preferentially schedules the TDM service, and ensures the effectiveness of the TDM service forwarding. At the same time, it can ensure that the forwarding of TDM services is not affected by packet traffic congestion.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

An equipment for packet switching and a method thereof, the packet switching equipment includes: a packet unit, for dividing or filling the input data into the fixed length packet; a switching unit, for dividing at least one priority for the unicast packet and the multicast packet respectively which are from the packet unit, and respectively assigning a queue to the unicast packet and the multicast packet of each priority, then scheduling it according to the priority of the queue. The unicast packet queue which is assigned to the highest priority and the multicast packet queue which is assigned to the highest priority are used to carrying the TDM service or the packet service, and the unicast packet queue which is assigned to the other priority and the multicast packet queue which is assigned to the other priority are used to carrying the packet service. The invention is also applied to the TDM service and the packet service switching.

Description

分组交换装置及方法 技术领域 本发明涉及通信领域, 更具体地涉及一种分组交换装置及方法。 背景技术 时分复用 ( Time Division Multiplexing, 简称 TDM ) 网络基于固定时隙交 叉业务, 同一业务的数据占用等间隔的定长时隙转发, 适应传送对时延敏感的 业务, 如实时话音、 高清晰视频信息等。 分组交换网络基于存贮转发和统计复 用交换业务, 同一业务相邻分组间隔不确定, 适应传送对时延不敏感的业务, 如电子邮件、 文件、 禁止图像等。 两种网络特性不同, 承载的业务差异性较大, 同时在电信领域均得到了广泛应用。 近年来, 人们一直在探索简化电信网络的结构, 降低网络的建设成本, 提 高现有网络资源的利用率, 并相继推出了支持多业务支持平台或多业务交换平 台 ( Multi-Service Provisioning Platform or Multi-Service Switching Platform, 简称 MSPP )和边缘到边缘伪线仿真 ( Pseudo Wire Emulation Edge-to-Edge , 简 称 PWE3 )等功能的网络设备。 前者采用统一的数据封装格式同时将分组业务 和 TDM业务通过同步数字系列 ( Synchronous digital hierarchy, 简称 SDH )或 同步光网络 ( Synchronous optical network, 简称 SONET )或准同步数字体系 ( Plesiochronous Digital Hierarchy , 简称 PDH )或光传送体系 ( Optical Transport Hierarchy , 简称 ΟΤΗ )网络传送, 后者采用边缘节点仿真技术同时将分组业务 和 TDM业务通过分组交换网络传送。 伴随着因特网 (Internet ) 的高速发展, 在电信网络传送的业务中, 分组 业务的占有率远远超过 TDM业务, 并仍在进一步加大差距。 与之相适应, 电 信网络大部分的业务交换设备采用分組交换方式。  TECHNICAL FIELD The present invention relates to the field of communications, and in particular, to a packet switching apparatus and method. BACKGROUND OF THE INVENTION Time Division Multiplexing (TDM) networks are based on fixed time slot cross-connection services, and data of the same service occupies fixed-length time slot forwarding at equal intervals, and is adapted to transmit delay-sensitive services, such as real-time voice and high definition. Video information, etc. The packet switched network is based on the storage forwarding and statistical multiplexing exchange services. The interval between adjacent packets of the same service is uncertain, and it is suitable for transmitting services that are not sensitive to delay, such as emails, files, forbidden images, and the like. The two network characteristics are different, and the bearer services are highly differentiated. At the same time, they are widely used in the telecommunications field. In recent years, people have been exploring ways to simplify the structure of telecommunication networks, reduce the cost of network construction, improve the utilization of existing network resources, and have successively launched support for multi-service provisioning platforms or multi-service provisioning platforms or Multi. -Service Switching Platform (MSPP for short) and Pseudo Wire Emulation Edge-to-Edge (PWE3). The former uses a unified data encapsulation format to simultaneously pass packet services and TDM services through Synchronous Digital Hierarchy (SDH) or Synchronous Optical Network (SONET) or Plesiochronous Digital Hierarchy (PDH). Or Optical Transport Hierarchy (abbreviated as ΟΤΗ) network transmission, the latter uses edge node emulation technology to simultaneously transmit packet services and TDM services over a packet switched network. With the rapid development of the Internet, the share of packet services in telecommunications networks far exceeds that of TDM services, and the gap is still increasing. In line with this, most of the service switching equipment of the telecommunication network adopts packet switching.
TDM业务常常要求按照字节间插方式实现交换, 如通过 SDH或 SONET 网络传送的 El、 T1等 TDM业务, 不同业务数据通过字节间插复用后传送。 如果在 TDM交换设备的线卡上,将输入方向的每时隙由单字节扩展到多字节, TDM 同步时隙交叉部件按多字节时隙进行交叉, 在线卡的输出方向重新恢复 为字节间插方式, 可以实现与字节交叉方式 TDM交换设备等价的功能。 通常的分组交换部件采用共享存贮转发和基于输出排队的方式实现。所有 端口共享统一的存贮器将引起业务对交换设备内部緩冲资源的竟争, 多条业务 统计复用到同一端口时将引起业务对端口带宽资源的竟争。 解决竟争的有效办 法就是使用队列管理緩冲区, 限制各业务对共享緩沖区的占用, 并^^据某种策 略, 如基于优先级调度端口< ^队的分组。 分組的可变长特性必然引入不确定的緩冲时延。在分组的交换过程中, 资 源竟争的出现也将引入不确定的转发时延, 因此, 传统的分组交换方式不适合 传送 TDM业务, 分組交换网络和 TDM交换网絡还将会在相当长时期内并存。 由上可见, 需要一种新的适合传送 TDM业务的分组交换方式, 从而使得 TDM业务和分組业务都可以通过该种新的分组交换方式进行传送。 发明内容 鉴于上述问题,本发明提出了一种分组交换装置和方法,以同时适应 TDM 业务和分组业务的交换需求。 根据本发明的一方面, 提出了一种分组交换装置, 包括: 分组单元 102, 用于将输入数据划分或填充为定长的分組; 以及交换单元 104, 用于将来自分 组单元的单播分组和多播分组分别划分为至少一个优先级并为每个优先级的 单播分组和多播分组分别分配一个队列, 并且根据队列的优先级进行调度, 其 中, 分配给最高优先级的单播分组的队列和分配给最高优先级的多播分组的队 列用于承载 TDM业务或分组业务, 分配给其它优先级的单播分组的队列和分 配给其它 ύ先级的多播分组的队列用于承载分组业务。 在上述分組交换装置中, 队列用于緩存分組的地址,采用先入先出方式进 行操作。 在上述分组交换装置中, 交换单元包括: 单播共享緩沖器, 用于存储来自 分组单元的单播分组; 多播共享緩冲器, 用于存储来自分组单元的多播分组; 分组调度单元, 用于根据队列的优先级从队列中调度分组; 队列管理单元, 用 于分别为每个端口的单播分组队列和多播分組队列分配共享緩冲空间, 并将为 最高优先级的单播分组队列分配的单播共享緩冲空间用于 TDM单播业务或单 播分组业务, 将为最高优先级的多播分组队列分配的多播共享緩冲空间用于 TDM 多播业务或多播分组业务, 以及在单播分组和多播分组被转发送指定端 口后, 释放单播分组和多播分组对应的共享緩冲空间; 以及地址管理单元, 用 于管理单播共享緩冲器和多播共享緩冲期的空闲存储地址。 在上述分组交换装置中,单播共享緩冲器和多播共享緩冲器的写入速度不 低于交换单元的所有输入端口的分组输入速率之和, 单播共享緩冲器和多播共 享緩冲器的读出速度不低于交换单元的所有输出端口的分组输出速度之和。 在上述分组交换装置中,队列管理单元在多播共享緩冲器中将多播分组的 存储地址复制到多个指定端口的相应多播队列, 在达到预定时间时, 鋒放多播 分组存储地址。 在上述分组交换装置中, 在占用的单播共享緩冲空间低于分配值的情况 下, 允许緩冲当前输入的单播分组, 否则丟弃当前输入的单播分组; 以及在占 用的多播共享緩冲空间低于分配值的情况下, 允许緩冲当前输入的多播分组, 否则丢弃当前输入的多播分组。 在上述分组交换装置中, 在单播共享緩沖器存在空闲存储空间的情况下, 允许緩冲当前输入的单播分组, 否则丢弃当前输入的单播分组; 以及在多播共 享緩冲器存在空闲存储空间的情况下, 允许緩沖当前输入的多播分组, 否则丢 弃当前输入的多播分組。 在上述分组交换装置中,队列调度单元通过以下方式调度相同优先级的单 播业务和多播业务: 优先调度单播业务, 优先调度多播业务, 随机调度。 在上述分组交换装置中, 队列调度单元优先调度最高优先级队列中的分 组。 根据本发明的另一方面, 提供了一种分组交换方法, 其包括以下步骤:TDM services often require switching in byte-interleaved manner, such as TDM services such as El and T1 transmitted over SDH or SONET networks. Different service data is transmitted by byte interleaving and multiplexing. If the time slot of the input direction is extended from single byte to multibyte on the line card of the TDM switching device, The TDM synchronization time slot crossover unit crosses the multi-byte time slot, and the output direction of the online card is restored to the byte interleaving mode, which can realize the equivalent function of the byte interleaving TDM switching device. The usual packet switching components are implemented in a shared store-and-forward and output-queue-based manner. All ports sharing a unified memory will cause the service to compete for the internal buffer resources of the switching device. When multiple service statistics are multiplexed to the same port, the service will compete for the port bandwidth resources. An effective way to solve the competition is to use the queue management buffer to limit the occupation of the shared buffer by each service, and according to a certain strategy, such as scheduling the port < ^ team based on priority. The variable length characteristics of the packet necessarily introduce an indeterminate buffer delay. In the process of packet exchange, the emergence of resource competition will also introduce uncertain forwarding delay. Therefore, the traditional packet switching method is not suitable for transmitting TDM services. The packet switching network and TDM switching network will also be used for a long period of time. coexist. It can be seen from the above that a new packet switching method suitable for transmitting TDM services is needed, so that both TDM services and packet services can be transmitted through the new packet switching manner. SUMMARY OF THE INVENTION In view of the above problems, the present invention proposes a packet switching apparatus and method to simultaneously accommodate the switching requirements of TDM services and packet services. According to an aspect of the present invention, a packet switching apparatus is provided, comprising: a grouping unit 102 for dividing or padding input data into fixed length packets; and an exchange unit 104 for unicasting packets from the grouping unit And the multicast packet are respectively divided into at least one priority and each queue is assigned a unicast packet and a multicast packet for each priority, and is scheduled according to the priority of the queue, wherein the unicast packet is assigned to the highest priority The queue and the queue assigned to the highest priority multicast packet are used to carry TDM traffic or packet traffic, and the queues assigned to other priority unicast packets and the queues assigned to other prior multicast packets are used for bearer. Grouping business. In the above packet switching apparatus, the queue is used to buffer the address of the packet, and operates in a first-in first-out manner. In the above packet switching apparatus, the switching unit includes: a unicast shared buffer for storing unicast packets from the packet unit; a multicast shared buffer for storing multicast packets from the packet unit; a packet scheduling unit, Used to dispatch packets from the queue according to the priority of the queue; queue management unit, used Allocate shared buffer space for each port's unicast packet queue and multicast packet queue, and allocate unicast shared buffer space for the highest priority unicast packet queue for TDM unicast service or unicast Packet service, the multicast shared buffer space allocated for the highest priority multicast packet queue is used for TDM multicast service or multicast packet service, and is released after the unicast packet and the multicast packet are forwarded to the designated port. a shared buffer space corresponding to the unicast packet and the multicast packet; and an address management unit for managing the unicast shared buffer and the idle storage address of the multicast shared buffer period. In the above packet switching apparatus, the write speed of the unicast shared buffer and the multicast shared buffer is not lower than the sum of the packet input rates of all the input ports of the switching unit, the unicast shared buffer and the multicast sharing. The read speed of the buffer is not lower than the sum of the packet output speeds of all the output ports of the switching unit. In the above packet switching apparatus, the queue management unit copies the storage address of the multicast packet to the corresponding multicast queue of the plurality of designated ports in the multicast shared buffer, and when the predetermined time is reached, the multicast packet storage address is forwarded. . In the above packet switching apparatus, in the case where the occupied unicast shared buffer space is lower than the allocated value, the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and the occupied multicast is used. In the case where the shared buffer space is lower than the assigned value, it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded. In the above packet switching apparatus, in the case where the unicast shared buffer has free storage space, it is allowed to buffer the currently input unicast packet, otherwise discard the currently input unicast packet; and there is idle in the multicast shared buffer. In the case of storage space, it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded. In the above packet switching apparatus, the queue scheduling unit schedules the unicast service and the multicast service of the same priority in the following manner: preferentially scheduling the unicast service, preferentially scheduling the multicast service, and randomly scheduling. In the above packet switching apparatus, the queue scheduling unit preferentially schedules packets in the highest priority queue. According to another aspect of the present invention, a packet switching method is provided, comprising the steps of:
S1202, 分组单元将输入数据划分或填充为定长的分组; 以及 S1204, 交换单元 将来自分组单元的单播分组和多播分组分别划分为至少一个优先级并为每个 优先级的单播分组和多播分组分别分配一个队列, 并根据队列的优先级调度分 組, 其中, 分配给最高优先级的单播分组的队列和分配给最高优先级的多播分 组的队列用于承载 TDM业务或分組业务, 分配给其它优先级的单播分组的队 列和分配给其它优先级的多播分组的队列用于承载分组业务。 在上述分组交换方法中, 队列用于緩存分組的地址,采用先入先出方式进 行操作。 在上述分组交换方法中, 步骤 S1204 包括: S12042, 通过单播共享緩冲 器存储来自分组单元的单播分组并将为最高优先级的单播分组队列分配的单 播共享緩冲空间用于 TDM单播业务或单播分组业务, 以及通过多播共享緩冲 器存储来自分组单元的多播分组并将为最高优先级的多播分组队列分配的多 播共享緩冲空间用于 TDM多播业务或多播分组业务; 以及 S 12044, 分組调度 单元, 用于根据队列的优先级从队列中调度分组; 以及 S12046, 在单播分组和 多播分组被转发送指定端口后, 释放单播分组和多播分組对应的共享緩冲空 间。 在上述分组交换方法中,单播共享緩冲器和多播共享緩沖器的写入速度不 低于交换单元的所有输入端口的分组输入速率之和, 单播共享緩冲器和多播共 享緩冲器的读出速度不低于交换单元的所有输出端口的分组输出速度之和。 在上述分组交换方法中,多播共享緩冲器将多播分组的存储地址复制到多 个指定端口的相应多播队列, 在达到预定时间时, 释放多播分组存储地址。 在上述分组交换方法中, 在占用的单播共享緩冲空间低于分配值的情况 下, 允许緩冲当前输入的单播分组, 否则丢弃当前输入的单播分组; 以及在占 用的多播共享緩冲空间低于分配值的情况下, 允许緩冲当前输入的多播分组, 否则丢弃当前输入的多播分组。 在上述分组交换方法中, 在单播共享緩冲器存在空闲存储空间的情况下, 允许緩冲当前输入的单播分组, 否则丢弃当前输入的单播分组; 以及在多播共 享緩冲器存在空闲存储空间的情况下, 允许緩冲当前输入的多播分组, 否则丢 弃当前输入的多播分组。 在上述分组交换方法中,通过以下方式调度相同优先级的单播业务和多播 业务: 优先调度单播业务, 优先调度多播业务, 随机调度。 本发明保证了最高优先级业务优先占用全局共享緩冲空间,并将最高优先 级业务分组用于转发 TDM业务或分组业务, 将其他优先级分组仅用于 4 发分 组业务, 从而使得本发明的分组交换装置和方法能够同时适应 TDM业务和分 组业务的交换。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不 当限定。 在附图中: 图 1是根据本发明实施例的分組交换装置的功能框图; 图 2是根据本发明实施例的分组交换装置的功能结构图; 图 3是根据本发明实施例的单播共享緩冲器门限设置图; 图 4是根据本发明实施例的多播共享緩冲器门 P艮设置图; 图 5是根据本发明实施例的单播优先级队列结构图; 图 6是根据本发明实施例的单播优先级队列门限设置图; 图 7是根据本发明实施例的单播优先级队列到单播共享緩冲器的映射图; 图 8是根据本发明实施例的多播优先级队列结构图; 图 9是根据本发明实施例的多播优先级队列门限设置图; 图 10是本发明实施例的多播优先级队列到多播共享緩冲器的映射图; 图 11是根据本发明实施例的端口队列调度时隙分布图; 以及 图 12是 ^据本发明实施例的分组交换方法的流程图。 具体实施方式 下面参考附图, 详细说明本发明的具体实施方式。 参考图 1 , 说明根据本发明实施例的分组交换装置。 如图 1所示, 该分组 交换装置包括: 分组单元 102, 用于将输入数据划分或填充为定长的分组; 以 及交换单元 104, 用于将来自分组单元的单播分组和多播分组分别划分为至少 一个优先级并为每个优先级的单播分组和多播分组分别分配一个队列, 并且才艮 据队列的优先级进行调度, 其中, 分配给最高优先级的单播分组的队列和分配 给最高优先级的多播分组的队列用于 ?! ^载 TDM业务或分组业务, 分配给其它 优先级的单播分组的队列和分配给其它优先级的多播分组的队列用于承载分 組业务。 其中, 队列用于緩存分组的地址, 采用先入先出方式进行操作。 其中, 交换单元 104 包括: 单播共享緩冲器 1042, 用于存储来自分组单 元的单播分组; 多播共享緩冲器 1044, 用于存储来自分组单元的多播分组; 分 组调度单元 1046, 用于 ^居队列的优先级从队列中调度分组; 队列管理单元 1048 , 用于分别为每个端口的单播分組队列和多播分组队列分配共享緩冲空 间, 并将为最高优先级的单播分组队列分配的单播共享緩冲空间用于 TDM单 播业务或单播分组业务, 将为最高优先级的多播分组队列分配的多播共享緩冲 空间用于 TDM多播业务或多播分组业务, 以及在单播分组和多播分组被转发 送指定端口后, 释放单播分组和多播分组对应的共享緩冲空间; 以及地址管理 单元 1050 , 用于管理单播共享緩冲器和多播共享緩冲期的空闲存储地址。 其中,单播共享緩冲器和多播共享緩冲器的写入速度不低于交换单元的所 有输入端口的分组输入速率之和, 单播共享緩冲器和多播共享緩冲器的读出速 度不低于交换单元的所有输出端口的分组输出速度之和。 其中,队列管理单元在多播共享緩冲器中将多播分组的存储地址复制到多 个指定端口的相应多播队列, 在达到预定时间时, 释放多播分组存储地址。 其中,在占用的单播共享緩冲空间低于分配值的情况下,允许緩冲当前输 入的单播分组, 否则丢弃当前输入的单播分组; 以及在占用的多播共享緩冲空 间低于分配值的情况下, 允许緩冲当前输入的多播分组, 否则丢弃当前输入的 多播分组。 其中,在单播共享緩冲器存在空闲存储空间的情况下,允许緩冲当前输入 的单播分组, 否则丢弃当前输入的单播分组; 以及在多播共享緩冲器存在空闲 存储空间的情况下, 允许緩冲当前输入的多播分组, 否则丢弃当前输入的多播 分组。 其中, 队列调度单元通过以下方式调度相同优先级的单播业务和多播业 务: 优先调度单播业务, 优先调度多播业务, 随机调度。 其中, 队列调度单元优先调度最高优先级队列中的分組。 具体地, 如图 2所示, 在实际网络中, 根据本发明实施例的分组交换装置 包括以下部分: 单播共享緩冲器(Unicast Share Buffer, 简称 USB )、 多播共享 緩冲器(Multicast Share Buffer, 简称 MSB )、 单播优先级队列( Unicast Priority Queue, 简称 UPQ )、 多播优先级队列 ( Multicast Priority Queue , 简称 MPQ )、 分组调度器( Packet Scheduler, 简称 PSch )、 队列管理 ( Queue Management, 简称 QM )、 及地址管理 ( Address Management, 简称 AM )。 在下面的描述中 ,我们 支设 #居本发明实施例的分组交换装置分别将单播 业务和多播业务划分为了 4个优先级别。 单播业务和多播业务的 4优先级分别 命名为 PriO ( Priority 0 , 优先级 0 )、 Pril、 Pri2、 Pri3。 其中, PriO优先级最高, Pri3优先级最 4氐。 每端口每 PriO单播业务和每 PriO多播业务可以选择 TDM属 性。 当选择 TDM属性时, 指示相应分组承载的是 TDM业务, 否则, 指示相 应分组承载的是分组业务。每端口每 Pril、 Pri2、 Pri3单播业务和每端口每 Pril、 Pri2 Pri3多播业务没有 TDM属性, 只能转发分组业务。 其中, USB 被分组交换装置的交换部件的所有端口单播业务共享使用, 采用读写操作分离的双口存贮器结构, 以分组为单位存贮业务数据, 写入速率 不低于交换部件所有输入端口最大分组输入速率之和, 读出速率不低于交换部 件所有输出端口最大分组输出速率之和。 QM采用门限值控制单播业务对 USB的占用, 如图 3所示, USB高门限 ( USB High Threshold, 简称 USB_HT )是 USB的总容量。 USB 低门限( USB Low Threshold, USB— LT )是 USB已经分配给交换部件所有单播优先级业务队 列和单播 TDM业务队列的容量。 USBJLT必须小于 USB— HT。 从 USB— LT到 USB— HT之间的緩沖容量保留给 TDM单播业务使用。 当对 USB的占用达到 USB— LT时, 禁止继续緩冲任何分组业务类型的单播分组。 只要对 USB的占用 没有达到 USB— HT , 总是允许緩冲任何单播 TDM业务分組。 S1202: The grouping unit divides or fills the input data into fixed length packets; and in S1204, the switching unit divides the unicast packet and the multicast packet from the grouping unit into at least one priority and each for each The priority unicast packet and the multicast packet are respectively assigned a queue, and the packet is scheduled according to the priority of the queue, wherein the queue assigned to the highest priority unicast packet and the queue allocated to the highest priority multicast packet are used. For carrying TDM services or packet services, queues assigned to other priority unicast packets and queues allocated to other priority multicast packets are used to carry packet traffic. In the above packet switching method, the queue is used to buffer the address of the packet, and operates in a first-in first-out manner. In the above packet switching method, step S1204 includes: S12042, storing a unicast packet from a packet unit through a unicast shared buffer and using a unicast shared buffer space allocated for the highest priority unicast packet queue for TDM Unicast traffic or unicast packet traffic, and multicast packet buffers from the packet unit through the multicast shared buffer and the multicast shared buffer allocated for the highest priority multicast packet queue for TDM multicast traffic Or multicast packet service; and S 12044, a packet scheduling unit, configured to schedule a packet from the queue according to a priority of the queue; and S12046, after the unicast packet and the multicast packet are forwarded to the designated port, releasing the unicast packet and The shared buffer space corresponding to the multicast packet. In the above packet switching method, the write speed of the unicast shared buffer and the multicast shared buffer is not lower than the sum of the packet input rates of all the input ports of the switching unit, the unicast shared buffer and the multicast sharing slow. The readout speed of the punch is not lower than the sum of the packet output speeds of all the output ports of the switching unit. In the above packet switching method, the multicast shared buffer copies the storage address of the multicast packet to the corresponding multicast queue of the plurality of designated ports, and when the predetermined time is reached, releases the multicast packet storage address. In the above packet switching method, in the case that the occupied unicast shared buffer space is lower than the allocated value, the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and the occupied multicast sharing is occupied. In the case where the buffer space is lower than the assigned value, it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded. In the above packet switching method, in the case where the unicast shared buffer has free storage space, it is allowed to buffer the currently input unicast packet, otherwise discard the currently input unicast packet; and exist in the multicast shared buffer. In the case of free storage space, it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded. In the foregoing packet switching method, the unicast service and the multicast service of the same priority are scheduled in the following manner: unicast service is preferentially scheduled, multicast service is preferentially scheduled, and random scheduling is performed. The present invention ensures that the highest priority service preferentially occupies the global shared buffer space, and uses the highest priority service packet for forwarding TDM service or packet service, and other priority packets are used only for 4 packets of packet service, thereby making the present invention The packet switching apparatus and method are capable of simultaneously adapting the exchange of TDM services and packet services. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, In the drawings: FIG. 1 is a functional block diagram of a packet switching apparatus according to an embodiment of the present invention; FIG. 2 is a functional structural diagram of a packet switching apparatus according to an embodiment of the present invention; FIG. 3 is a unicast sharing according to an embodiment of the present invention. FIG. 4 is a diagram of a multicast sharing buffer gate P艮 setting according to an embodiment of the present invention; FIG. 5 is a unicast priority queue structure diagram according to an embodiment of the present invention; A unicast priority queue threshold setting map of an embodiment of the invention; FIG. 7 is a map of a unicast priority queue to a unicast shared buffer according to an embodiment of the present invention; FIG. 8 is a multicast priority according to an embodiment of the present invention. FIG. 9 is a multicast priority queue threshold setting diagram according to an embodiment of the present invention; FIG. 10 is a mapping diagram of a multicast priority queue to a multicast shared buffer according to an embodiment of the present invention; a port queue scheduling time slot distribution map according to an embodiment of the present invention; Figure 12 is a flow chart of a packet switching method in accordance with an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, specific embodiments of the present invention will be described in detail with reference to the accompanying drawings. Referring to Figure 1, a packet switching apparatus in accordance with an embodiment of the present invention is illustrated. As shown in FIG. 1, the packet switching apparatus includes: a grouping unit 102, configured to divide or fill input data into fixed length packets; and an exchanging unit 104, configured to separately separate unicast packets and multicast packets from the packet unit Dividing into at least one priority and assigning a queue to each of the unicast packets and the multicast packets of each priority, and scheduling according to the priority of the queue, wherein the queues assigned to the highest priority unicast packets are The queue assigned to the highest priority multicast packet is used for TDM service or packet service, the queue assigned to other priority unicast packets and the queue allocated to other priority multicast packets are used to carry the packet business. The queue is used to buffer the address of the packet and operates in a first-in, first-out manner. The switching unit 104 includes: a unicast shared buffer 1042 for storing unicast packets from the packet unit; a multicast shared buffer 1044 for storing multicast packets from the packet unit; a packet scheduling unit 1046, A priority is used to schedule a packet from the queue; a queue management unit 1048 is configured to allocate a shared buffer space for each port's unicast packet queue and multicast packet queue, respectively, and will be the highest priority list. The unicast shared buffer space allocated by the broadcast packet queue is used for TDM unicast service or unicast packet service, and the multicast shared buffer space allocated for the highest priority multicast packet queue is used for TDM multicast service or multicast. Packet service, and after the unicast packet and the multicast packet are forwarded to the designated port, releasing the shared buffer space corresponding to the unicast packet and the multicast packet; and an address management unit 1050 for managing the unicast shared buffer and The idle storage address of the multicast shared buffer period. Wherein, the write speed of the unicast shared buffer and the multicast shared buffer is not lower than the sum of the packet input rates of all the input ports of the switching unit, and the reading of the unicast shared buffer and the multicast shared buffer The output speed is not lower than the sum of the packet output speeds of all the output ports of the switching unit. The queue management unit copies the storage address of the multicast packet to the corresponding multicast queue of the plurality of designated ports in the multicast shared buffer, and releases the multicast packet storage address when the predetermined time is reached. Wherein, in the case that the occupied unicast shared buffer space is lower than the allocated value, the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and the occupied multicast shared buffer space is lower than In the case of assigning a value, it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded. Wherein, in the case that the unicast shared buffer has free storage space, the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and the idle storage space exists in the multicast shared buffer. Next, it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded. The queue scheduling unit schedules unicast services and multicast services of the same priority in the following manner: preferentially scheduling unicast services, preferentially scheduling multicast services, and scheduling randomly. The queue scheduling unit preferentially schedules packets in the highest priority queue. Specifically, as shown in FIG. 2, in an actual network, a packet switching apparatus according to an embodiment of the present invention includes the following parts: a Unicast Share Buffer (USB), a multicast shared buffer (Multicast). Share Buffer (MSB), Unicast Priority Queue (UPQ), Multicast Priority Queue (MPQ), Packet Scheduler (PSch), Queue Management (Queue) Management, referred to as QM), and Address Management (AM). In the following description, we support the packet switching apparatus of the embodiment of the present invention to divide the unicast service and the multicast service into four priority levels, respectively. The four priorities of the unicast service and the multicast service are named Prio (Priority 0, Priority 0), Pril, Pri2, Pri3, respectively. Among them, PriO has the highest priority, and Pri3 has the highest priority. TDM attributes can be selected per per PriO unicast service and per PriO multicast service per port. When the TDM attribute is selected, it indicates that the corresponding packet carries the TDM service, otherwise, it indicates that the corresponding packet carries the packet service. Each port per Pril, Pri2, Pri3 unicast service and per-Pril, Pri2 Pri3 multicast service per port has no TDM attribute, and can only forward packet services. The USB is shared by all the port unicast services of the switching component of the packet switching device, and the dual-port memory structure separated by read and write operations is used to store the service data in units of packets, and the writing rate is not lower than that of the switching component. The sum of the maximum packet input rates of the input ports, and the read rate is not lower than the sum of the maximum packet output rates of all output ports of the switching unit. QM uses the threshold to control the USB usage of the unicast service. As shown in Figure 3, the USB High Threshold (USB_HT) is the total capacity of the USB. The USB Low Threshold (USB-LT) is the capacity that the USB has allocated to the switching unit for all unicast priority traffic queues and unicast TDM traffic queues. USBJLT must be smaller than USB-HT. The buffer capacity from USB-LT to USB-HT is reserved for use by TDM unicast services. When the USB usage reaches USB-LT, it is prohibited to continue to buffer unicast packets of any packet service type. As long as the USB usage does not reach USB-HT, it is always allowed to buffer any unicast TDM service packets.
MSB为交换部件所有端口共享使用, 采用读写操作分离的双口存贮器结 构, 以分组为单位存贮业务数据, 写入速率不低于交换部件所有输入端口最大 分组输入速率之和, 读出速率不低于交换部件所有输出端口最大分组输出速率 之和。 The MSB is shared by all the ports of the switching component. The dual-port memory structure separated by read and write operations stores the service data in units of packets. The write rate is not lower than the sum of the maximum packet input rates of all input ports of the switching component. The output rate is not lower than the sum of the maximum packet output rates of all output ports of the switching unit.
QM采用门 P艮值控制多播业务对 MSB的占用, 如图 4所示, MSB高门限 ( MSB High Threshold,简称 MSB_HT )是 MSB的总容量。 MSB低门限( MSB Low Threshold, 简称 MSB—LT )是 MSB已经分配给交换部件所有多播优先级 业务队列和多播 TDM 业务队列的容量。 MSB— LT 必须小于 MSB— HT。 从 MSB—LT到 MSB— HT之间的緩沖容量保留给 TDM多播业务使用。 当对 MSB 的占用达到 MSB—LT时, 禁止继续緩冲任何分组业务类型的多播分组。 只要对 MSB的占用没有达到 MSB_HT , 总是允许緩冲任何多播 TDM业务分组。 每端口包含的 4 个单播优先级队列分别为单播优先级队列 0 ( Unicast Priority Queue 0, 简称 UPQ0 )、 UPQ1、 UPQ2、 UPQ3。 这些 UPQ结构相同, 采用 FIFO操作方式, 如图 5所示。 UPQ单元存贮特定单播优先级业务分组的 检索地址, 而不是特定优先级单播业务分組所包含的数据。 单播分组存贮地址 总是从 UPQ头部 ( UPQ Head, 简称 UPQ_H )输出, 从 UPQ尾部( UPQ Tail, 简称 UPQ— T ) 的下一个单元加入。 QM使用门限值限制每端口每 UPQ对 USB的占用, 如图 6所示, 每端口 每 UPQ包含 UPQ 氐门限( UPQ Lower Threshold, 简称 UPQJLT ) 和 UPQ高 门限( UPQ High Threshold, 简称 UPQ— HT )。 UPQ— HT是特定 UPQ的存贮空 间。 UPQ—LT用于控制特定 UPQ对应的单播业务对 USB的占用, 当特定 UPQ 的分組排队长度低于 UPQ— LT时, 允许 USB继续緩冲对应的单播业务分组。 对于每 UPQ, 设置的 UPQ— LT不能大于 UPQ—HT。 所有 UPQ的 UPQ— LT之和 等于 USB— LT等价的单播分组存贮地址数。 任何 UPQ当前排队的单播分组并不是连续地存贮在 USB中,如图 7所示, 属于同一 UPQ的单播分組可以分布在 USB的任何位置。 每端口包含的 4 个多播优先级队列分别为多播优先级队列 0 ( Multicast Priority Queue 0, 简称 MPQ0 )、 MPQ1、 MPQ2、 MPQ3。 这些 MPQ结构相同, 采用 FIFO操作方式, 如图 8所示。 MPQ单元存贮特定多播优先级业务分组的 检索地址, 而不是特定优先级多播业务分组所包含的数据。 多播分组存贮地址 总是从 MPQ头部( MPQ Head, 简称 MPQ— H )输出,从 MPQ尾部( MPQ Tail, 简称 MPQ— T ) 的下一个单元加入。 QM使用门限值限制每端口每 MPQ对 MSB的占用, 如图 9所示, 每端 口每 MPQ包含 MPQ低门限( MPQ Lower Threshold, 简称 MPQ— LT )和 MPQ 高门限( MPQ High Threshold, 简称 MPQ— HT )。 MPQ_HT是特定 MPQ的存 贮空间。 MPQJLT用于控制特定 MPQ对应的多播业务对 MSB的占用, 当特定 MPQ的分组排队长度低于 MPQ— LT时,允许 MSB继续緩冲对应的多播业务分 组。对于每 MPQ ,设置的 MPQ— LT不能大于 MPQ— HT。所有 MPQ的 MPQ— LT 之和等于 MSB—LT等价的多播分组存贮地址数。 The QM uses the threshold P threshold to control the occupancy of the MSB by the multicast service. As shown in Figure 4, the MSB High Threshold (MSB_HT) is the total capacity of the MSB. The MSB Low Threshold (MSB-LT) is the capacity that the MSB has allocated to the switching component for all multicast priority service queues and multicast TDM service queues. MSB—LT must be less than MSB—HT. The buffer capacity from MSB-LT to MSB-HT is reserved for use by TDM multicast services. When the occupancy of the MSB reaches MSB_LT, it is prohibited to continue to buffer multicast packets of any packet service type. As long as the MSB_HT is not occupied by the MSB, it is always allowed to buffer any multicast TDM service packets. The four unicast priority queues included in each port are Unicast Priority Queue 0 (UPQ0 for short), UPQ1, UPQ2, and UPQ3. These UPQs have the same structure and use FIFO operation, as shown in Figure 5. The UPQ unit stores the retrieval address of a particular unicast priority service packet, rather than the data contained in a particular priority unicast service packet. The unicast packet storage address is always output from the UPQ Head (UPQ_H), and is added from the next unit of the UPQ Tail (UPQ-T). QM uses the threshold to limit the USB usage per UPQ per port. As shown in Figure 6, each port contains UPQ Lower Threshold (UPQJLT) and UPQ High Threshold (UPQ High Threshold, UPQ-HT). ). UPQ—HT is the storage space for a particular UPQ. The UPQ-LT is used to control the occupation of the USB by the unicast service corresponding to the specific UPQ. When the packet queuing length of the specific UPQ is lower than the UPQ-LT, the USB is allowed to continue to buffer the corresponding unicast service packet. For each UPQ, the set UPQ-LT cannot be greater than UPQ-HT. UPQ of all UPQs - the sum of LT Equal to USB-LT equivalent unicast packet storage address number. Any unicast packets currently queued by the UPQ are not continuously stored in the USB. As shown in Figure 7, unicast packets belonging to the same UPQ can be distributed anywhere in the USB. The four multicast priority queues included in each port are Multicast Priority Queue 0 (MPQ0), MPQ1, MPQ2, and MPQ3. These MPQs have the same structure and use FIFO operation, as shown in Figure 8. The MPQ unit stores the retrieval address of a particular multicast priority service packet, rather than the data contained in a particular priority multicast service packet. The multicast packet storage address is always output from the MPQ Head (MPQ Head, MPQ-H for short), and is added from the next unit of the MPQ Tail (MPQ-T). QM uses the threshold to limit the MSB occupancy per MPQ per port. As shown in Figure 9, each MPQ includes MPQ Lower Threshold (MPQ-LT) and MPQ High Threshold (MPQ). — HT ). MPQ_HT is the storage space of a specific MPQ. The MPQJLT is used to control the occupancy of the MSB by the multicast service corresponding to the specific MPQ. When the packet queuing length of the specific MPQ is lower than the MPQ-LT, the MSB is allowed to continue to buffer the corresponding multicast service packet. For each MPQ, the set MPQ-LT cannot be greater than MPQ-HT. The sum of MPQ_LT of all MPQs is equal to the number of MSB-LT equivalent multicast packet storage addresses.
QM使用队列输入许可( Queue Input Grant, 简称 QIG )信号通知外界输 入分组, 每 UPQ和每 MPQ都存在对应的 QIG信号。 对于单播分组业务, 任 何 UPQ排队长度^ ί氐于该 UPQ的 UPQ— LT时, QM将对应于该 UPQ的 QIG信 号设置成真, 否则设置成假; 对于多播分组业务, 任何 MPQ排队长度低于该 MPQ的 MPQ_LT时, QM将对应于该 MPQ的 QIG信号设置成真, 否则设置 成假。 对于单播 TDM业务, 如果当前对 USB的占用低于 USB— HT, QM将对 应于该 UPQ的 QIG信号设置成真, 否则设置成支; 对于多播 TDM业务, 如 果当前对 MSB的占用低于 MSB— HT时, QM将对应于该 MPQ的 QIG信号设 置成真, 否则设置成 £。 任何 MPQ当前排队的单播分组并不是连续地存贮在 MSB中,如图 10所 示, 属于同一 MPQ的多播分组可以分布在 MSB的任意位置。 从图 10可以看 出, 对于任何多播分组, QM仅在 MSB保留一份拷贝, 将多播分组的存贮地 址复制到多个指定端口的相应多播队列。 如 "多播分組 y" 需要多播到端口 1、 端口 j、 端口 k, 相应的存贮地址被分别被复制到 MPQi、 MPQj、 MPQk。 The QM uses a Queue Input Grant (QIG) signal to notify the outside world of incoming packets. Each UPQ and each MPQ has a corresponding QIG signal. For unicast packet services, if any UPQ queue length is greater than the UPQ_LT of the UPQ, the QM sets the QIG signal corresponding to the UPQ to true, otherwise it is set to false; for multicast packet services, any MPQ queue length Below the MPQ_LT of the MPQ, the QM sets the QIG signal corresponding to the MPQ to true, otherwise it is set to false. For the unicast TDM service, if the current occupation of the USB is lower than the USB-HT, the QM sets the QIG signal corresponding to the UPQ to be true, otherwise it is set to be a branch; for the multicast TDM service, if the current occupancy of the MSB is lower than When MSB-HT, QM sets the QIG signal corresponding to the MPQ to true, otherwise it is set to £. Any unicast packets currently queued by the MPQ are not continuously stored in the MSB. As shown in FIG. 10, multicast packets belonging to the same MPQ may be distributed anywhere in the MSB. As can be seen from Figure 10, for any multicast packet, the QM retains only one copy at the MSB, copying the storage address of the multicast packet to the corresponding multicast queue for multiple designated ports. For example, "multicast packet y" needs to be multicast to port 1. Port j, port k, and corresponding storage addresses are copied to MPQi, MPQj, and MPQk, respectively.
PSch按照定长的调度时隙 (Schedule Time Slot, 简称 STS )从 UPQs或 MPQs调度业务分组。 每端口包含一个 PSch, 负责调度该端口的 4个 UPQs和 4个 MPQs。 各端口的 PSch独立工作。 所有 PSch每秒钟能够处理的 STS总数 等价于交换部件每秒钟能够转发的最大分組数, 对应于交换部件的最大分组交 换容量。 PSch基于优先级调度分组, 结合图 2和图 11 , 调度过程描述如下: 尽管特定端口的 STS并不邻接, 目邻 STS之间的时间间隔相同, 且是 STS 的整数倍 , PSch只有在每 STS期间才能执行调度操作, 每 STS最多能够从对 应端口的 4个 UPQs和 4个 MPQs中调度一个分組; 每端口的 PSch存在 8条 队列输出许可( Queue Output Grant, 简称 QOG )输入信号, 分別控制该端口 4 个 UPQs和 4个 MPQs的调度; 特定端口上的相同 Pri的 UPQ和 MPQ具有相 同的调度优先级, PSch可优先调度 UPQ, 或优先调度 MPQ, 也可以随机选择; 当特定的 PSch执行调度时, 首先调度 PriO队列的分组, 如果 PriO队列非空, 且对应的 QOG信号状态为真, 则 PSch从相应的 PriO队列中输出一个分组, 之后, 进入等待状态, 等待下一个 STS的到来; 否则, 如果 Pril 队列非空, 且对应的 QOG信号状态为真, 则 PSch从相应的 Pril 队列中输出一个分组, 之后, 进入等待状态, 等待下一个 STS的到来; 依此类推, 直到 Pri3 队列被 调度为止; 如果当前 STS期间没有合适的分組输出, 则 PSch直接进入等待状 态,等待下一个 STS的到来;特定 PSch每次从选择的 UPQ输出一个单播分组, ( 立即释放该单播分组的存贮地址;特定 PSch每次从选择的 MPQ输出一个多播 分组, 如果对应的端口是该多播分组最后一个多播端口, 则立即释放该多播分 组的存贮地址, 否则, 继续保持该多播分组的存贮地址; 当特定 PSch输出一 个分组时, 同时输出一个多播输出指示 (Multicast Output Indicating , 筒称 MCOI )信号, 当 MCIO信号为真时, 指示当前从 MSB输出分组多播分组, 否 则, 指示从 USB输出单播分组。 The PSch schedules service packets from UPQs or MPQs according to a fixed-length Scheduling Time Slot (STS). Each port contains a PSch, which is responsible for scheduling 4 UPQs and 4 MPQs for that port. The PSch of each port works independently. The total number of STSs that can be processed per second by all PSch is equivalent to the maximum number of packets that the switching component can forward per second, corresponding to the maximum packet switched capacity of the switching component. PSch is based on priority scheduling packets. Combined with Figure 2 and Figure 11, the scheduling process is described as follows: Although the STSs of specific ports are not contiguous, the time interval between neighboring STSs is the same, and is an integer multiple of STS, PSch is only in every STS. The scheduling operation can be performed during the period. Each STS can schedule one packet from the four UPQs and four MPQs of the corresponding port. The PSch of each port has eight Queue Output Grant (QOG) input signals, which are respectively controlled. Scheduling of 4 UPQs and 4 MPQs on a port; UPQ and MPQ of the same Pri on a specific port have the same scheduling priority, PSch can preferentially schedule UPQ, or preferentially schedule MPQ, or can be randomly selected; when a specific PSch performs scheduling First, the packet of the PriO queue is first scheduled. If the PriO queue is non-empty and the corresponding QOG signal status is true, the PSch outputs a packet from the corresponding PriO queue, and then enters the waiting state, waiting for the arrival of the next STS; otherwise If the PRL queue is not empty and the corresponding QOG signal status is true, PSch outputs a packet from the corresponding PRL queue, after which Entering the wait state, waiting for the arrival of the next STS; and so on, until the Pri3 queue is scheduled; if there is no suitable packet output during the current STS, the PSch goes directly to the wait state, waiting for the arrival of the next STS; Outputting a unicast packet from the selected UPQ, ( immediately releasing the storage address of the unicast packet; the specific PSch outputs a multicast packet from the selected MPQ each time, if the corresponding port is the last multicast port of the multicast packet , immediately release the storage address of the multicast packet, otherwise, continue to maintain the storage address of the multicast packet; when a specific PSch outputs a packet, simultaneously output a multicast output indication (Multicast Output Indicating, MCOI) The signal, when the MCIO signal is true, indicates that the packet multicast packet is currently being output from the MSB, otherwise, the unicast packet is output from the USB.
AM负责管理 USB和 MSB的空闲存贮地址。当特定业务需要緩沖一个单 播或多播输入分组时, AM为该业务对应的队列分配一个 USB或 MSB的空闲 存贮地址。 每 PSch释放一个单播或多播存贮地址, AM立即回收该存贮地址。 通过以上描迷可知,根据本发明实施例的分组交换装置执行的分组交换方 法如图 12所示, 包括以下步骤: S1202, 分组单元将输入数据划分或填充为定 长的分组; 以及 S1204, 交换单元将来自分组单元的单播分组和多播分组分别 划分为至少一个优先级并为每个优先级的单播分组和多播分组分别分配一个 队列, 并根据队列的优先级调度分组, 其中, 分配给最高优先级的单播分组的 队列和分配给最高优先级的多播分组的队列用于 7 载 TDM业务或分组业务, 分配给其它优先级的单播分组的队列和分配给其它优先级的多播分组的队列 用于承载分组业务。 其中,队列用于緩存分组的地址,采用先入先出方式进行操作。步骤 S1204 包括: S12042, 通过单播共享緩冲器存储来自分组单元的单播分组并将为最高 优先级的单播分组队列分配的单播共享緩冲空间用于 TDM单播业务或单播分 组业务, 以及通过多播共享緩冲器存储来自分组单元的多播分组并将为最高优 先级的多播分组队列分配的多播共享緩冲空间用于 TDM多播业务或多播分组 业务; 以及 S12044,分組调度单元,用于根据队列的优先级从队列中调度分组; 以及 S 12046 ,在单播分组和多播分组被转发送指定端口后,幹放单播分組和多 播分组对应的共享緩冲空间。 其中,单播共享緩冲器和多播共享緩冲器的写入速度不低于交换单元的所 有输入端口的分组输入速率之和, 单播共享緩冲器和多播共享緩冲器的读出速 度不低于交换单元的所有输出端口的分组输出速度之和。 其中,多播共享緩冲器将多播分组的存储地址复制到多个指定端口的相应 多播队列, 在达到预定时间时, 释放多播分组存储地址。 其中,在占用的单播共享緩冲空间低于分配值的情况下, 允许緩冲当前输 入的单播分组, 否则丢弃当前输入的单播分组; 以及在占用的多播共享緩冲空 间低于分配值的情况下, 允许緩冲当前输入的多播分组, 否则丢弃当前输入的 多播分組。 其中,在单播共享緩冲器存在空闲存储空间的情况下,允许緩冲当前输入 的单播分组, 否则丢弃当前输入的单播分组; 以及在多播共享緩冲器存在空闲 存储空间的情况下, 允许緩冲当前输入的多播分组, 否则丢弃当前输入的多播 分组。 其中,通过以下方式调度相同优先级的单播业务和多播业务:优先调度单 播业务, 优先调度多播业务, 随机调度。 综上所述, 本发明的核心思想是: 为最高 4尤先级业务保留一定的全局緩冲 空间, 基于全局共享緩冲门限緩冲 TDM业务的分组, 基于每业务队列门限緩 冲分组业务的分组。 按照优先级执行端口业务的调度, 优先转发最高优先级业 务。 使用独立的单播共享緩冲器和多播共享缓冲器, 并为每端口设置独立的单 播业务队列和多播业务队列, 避免两者之间的相互影响。 具体地, 本发明实现该核心思想的过程主要包括以下步骤: 步骤一, 根椐 本发明的分组交换装置的分組部件按照定长分组交换业务, 其中, 从用户接口 接入的任何业务数据必须分割或填充为特定长度的定长分组后才能发送到分 组交换设备的交换部件。 根据本发明的分组交换装置中的交换部件将单播业务 划分为一个或多个优先级别, 并为每端口每优先级单 "业务分配一个队列; 夺 多播业务也划分为一个或多个优先级别, 并为每端口每优先级多播业务分配一 个队列。 其中, 队列用于排队緩冲分组的存贮地址, 按照先进先出 (First Input First Output , 简称 FIFO )方式操作。 交换部件包含单播共享緩冲器、 多播共享 緩冲器、 分组调度、 队列管理、 地址管理等部件。 步骤二, 单播共享緩冲器存贮单播分组; 多播共享緩冲器存贮多播分组。 两个緩冲器都是双端口存贮结构, 一个端口用于写入分組, 另一个端口用于读 出分组, 禁止同时读写相同的存贮地址。 共享单播緩冲器和共享多播緩冲器的 写入速率不低于交换设备所有输入端口的分组输入速率之和, 读出速度不低于 交换设备所有输出端口的分組输出速率之和, 保证不会出现输入和输出堵塞。 步骤三,队列管理部件为每端口每优先级单播队列分配特定的单播共享緩 沖器空间, 并保留部分单播共享緩冲空间用于 TDM单播业务; 为每端口每优 先级多播队列分配特定的多播共享緩冲器空间, 并保留部分多播共享緩冲空间 用于 TDM多播业务。 步骤四,对于任何多播分组, 队列管理部件仅在多播共享緩沖器中保留一 份拷贝, 将多播分组的存贮地址复制到多个指定端口的相应多播队列。 队列管 理部件为任何多播分组设置一个计数器, 控制多播分组存贮地址的释放。 仅当 多播分组已经转发到所有指定的端口之后, 队列管理部件才能够释放该多播分 組对应的存贮空间。 步骤五, 所有最高优先级的单播和多播分组具有可选的 TDM属性, 如果 当前分组包含 TDM属性, 指示当前分组承载的是 TDM业务, 否则, 指示当 前分组承载的是分组业务。 步骤六, 对于单播分组业务, 如果占用的单播共享緩冲空间低于分配值, 允许緩冲当前输入的单播分组, 否则, 丢弃当前输入的单播分組。 对于多播分 组业务, 如果占用的多播共享緩冲空间低于分配值, 允许緩冲当前输入的多播 分組, 否则, 丟弃当前输入的多播分组。 步骤七, 对于单播 TDM业务, 如果单播共享緩冲器存在空闲存贮空间, 允许緩冲当前输入的单播分组,否则,丢弃当前输入的单播分组。对于多播 TDM 业务, 如果多播共享緩沖器存在空闲存贮空间, 允许緩冲当前输入的 TDM多 播分组, 否则, 丢弃当前输入的 TDM多播分组。 步骤八, 分组调度部件根据优先级调度业务, 最先调度最高优先级业务, 最后调度最低优先级业务。 相同优先级的单播业务和多播业务属于同一调度级 另' J , 可选择优先调度单播业务或多播业务, 或者随机选择。 步骤九,地址管理部件管理单播共享緩冲器和多播共享緩冲器的空闲存贮 地址。 每存贮地址可以緩冲一个分组。 本发明使用了独立的单播共享緩冲器和多播共享緩冲器,并为每端口的每 单播优先级业务, 和每端口每多播优先级业务设置独立的队列, 当交换部件转 发无连接的分组业务时, 如以太网媒介访问控制 (Media Access Control, 简称 MAC )帧,可以将未知目的地址的 MAC帧转换为定长的多播分組转发,从而, 避免了地址学习过程对单播业务的影响。 另夕卜, 本发明根据特定的队列门限緩 沖分组业务,根据单播共享緩冲器门限和多播共享緩冲器门限緩冲 TDM业务, 并优先调度 TDM业务, 在保证 TDM业务转发实效性的同时, 还能保证 TDM 业务的转发不受分组业务拥塞的影响。 以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领 域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之 内。 The AM is responsible for managing the free storage addresses of the USB and MSB. When a specific service needs to buffer a unicast or multicast input packet, AM allocates a USB or MSB free storage address for the queue corresponding to the service. Each PSch releases a unicast or multicast storage address, and the AM immediately reclaims the storage address. As described above, the packet switching method performed by the packet switching apparatus according to the embodiment of the present invention is as shown in FIG. 12, and includes the following steps: S1202: The grouping unit divides or fills the input data into fixed-length packets; and S1204, exchanges The unit will separately unicast packets and multicast packets from the packet unit Dividing into at least one priority and assigning a queue to each of the unicast packets and the multicast packets of each priority, and scheduling the packets according to the priority of the queue, wherein the queues assigned to the highest priority unicast packets are allocated The queue of the highest priority multicast packet is used for 7-bit TDM traffic or packet traffic, and the queues assigned to other priority unicast packets and the queues assigned to other priority multicast packets are used to carry packet traffic. The queue is used to buffer the address of the packet and operates in a first-in, first-out manner. Step S1204 includes: S12042, storing a unicast packet from a packet unit through a unicast shared buffer and using a unicast shared buffer space allocated for a highest priority unicast packet queue for TDM unicast traffic or unicast packet Traffic, and storing multicast packets from the packet unit through the multicast shared buffer and allocating the multicast shared buffer space for the highest priority multicast packet queue for TDM multicast traffic or multicast packet traffic; S12044. A packet scheduling unit, configured to schedule a packet from a queue according to a priority of the queue; and S12046, after the unicast packet and the multicast packet are forwarded to the designated port, the shared by the dry unicast packet and the multicast packet Buffer space. Wherein, the write speed of the unicast shared buffer and the multicast shared buffer is not lower than the sum of the packet input rates of all the input ports of the switching unit, and the reading of the unicast shared buffer and the multicast shared buffer The output speed is not lower than the sum of the packet output speeds of all the output ports of the switching unit. The multicast shared buffer copies the storage address of the multicast packet to the corresponding multicast queue of the plurality of designated ports, and releases the multicast packet storage address when the predetermined time is reached. Wherein, in the case that the occupied unicast shared buffer space is lower than the allocated value, the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and the occupied multicast shared buffer space is lower than In the case of assigning a value, it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded. Wherein, in the case that the unicast shared buffer has free storage space, the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and the idle storage space exists in the multicast shared buffer. Next, it is allowed to buffer the currently input multicast packet, otherwise the currently input multicast packet is discarded. The unicast service and the multicast service of the same priority are scheduled in the following manner: preferentially scheduling the unicast service, preferentially scheduling the multicast service, and scheduling the random. In summary, the core idea of the present invention is: to reserve a certain global buffer space for the highest 4 priority service, to buffer the TDM service based on the global shared buffer threshold, and to buffer the packet service based on the traffic queue threshold. Grouping. The port service scheduling is performed according to the priority, and the highest priority service is preferentially forwarded. Use separate unicast shared buffers and multicast shared buffers, and set up separate unicast traffic queues and multicast traffic queues for each port to avoid interaction between the two. Specifically, the process of implementing the core idea of the present invention mainly includes the following steps: Step 1: The packet component of the packet switching device according to the present invention exchanges services according to fixed length packets, wherein any service data accessed from the user interface must be segmented. Or a fixed-length packet of a specific length can be sent to the switching component of the packet switching device. The switching component in the packet switching apparatus according to the present invention divides the unicast service into one or more priority levels, and allocates one queue for each priority per-port single "service; the multicast service is also divided into one or more priorities. Level, and allocate a queue for each priority multicast service per port. Among them, the queue is used to queue the storage address of the buffer packet, and operates according to the First Input First Output (FIFO) mode. Broadcast shared buffer, multicast shared buffer, packet scheduling, queue management, address management, etc. Step two, unicast shared buffer stores unicast packets; multicast shared buffer stores multicast packets Both buffers are dual-port storage structures, one for writing packets and the other for reading packets, prohibiting simultaneous reading and writing of the same storage address. Shared unicast buffer and shared The write rate of the broadcast buffer is not lower than the sum of the packet input rates of all the input ports of the switching device, and the read speed is not lower than the packet input of all the output ports of the switching device. The sum of the rates ensures that there is no input and output congestion. Step 3: The queue management component allocates a specific unicast shared buffer space for each port per priority unicast queue, and reserves part of the unicast shared buffer space for TDM. Unicast service; allocates a specific multicast shared buffer space for each port per priority multicast queue, and reserves part of the multicast shared buffer space for TDM multicast services. Step 4: For any multicast packet, queue The management component only keeps one copy in the multicast shared buffer, and copies the storage address of the multicast packet to the corresponding multicast queue of multiple designated ports. The queue management component sets a counter for any multicast packet to control multicast. The release of the packet storage address. Only after the multicast packet has been forwarded to all designated ports, the queue management component can release the storage space corresponding to the multicast packet. Step 5, all the highest priority unicast and multicast Grouping has optional TDM attributes, if The current packet contains a TDM attribute, indicating that the current packet carries the TDM service, and otherwise indicates that the current packet carries the packet service. Step 6: For the unicast packet service, if the occupied unicast shared buffer space is lower than the allocated value, the currently input unicast packet is allowed to be buffered, otherwise, the currently input unicast packet is discarded. For multicast packet services, if the occupied multicast shared buffer space is lower than the assigned value, it is allowed to buffer the currently input multicast packet, otherwise, the currently input multicast packet is discarded. Step 7: For the unicast TDM service, if the unicast shared buffer has free storage space, it is allowed to buffer the currently input unicast packet, otherwise, the currently input unicast packet is discarded. For multicast TDM services, if the multicast shared buffer has free storage space, it is allowed to buffer the currently input TDM multicast packet, otherwise, the currently input TDM multicast packet is discarded. Step 8: The packet scheduling component schedules the service according to the priority, first schedules the highest priority service, and finally schedules the lowest priority service. The unicast service and the multicast service of the same priority belong to the same scheduling level, and the unicast service or the multicast service may be preferentially scheduled, or may be randomly selected. In step nine, the address management component manages the free storage addresses of the unicast shared buffer and the multicast shared buffer. One packet can be buffered per storage address. The present invention uses a separate unicast shared buffer and a multicast shared buffer, and sets a separate queue for each unicast priority service per port, and per port per multicast priority service, when the switching component forwards In the case of a connectionless packet service, such as an Ethernet Media Access Control (MAC) frame, a MAC frame of an unknown destination address can be converted into a fixed-length multicast packet forwarding, thereby avoiding the address learning process. The impact of broadcasting business. In addition, the present invention buffers the packet service according to the specific queue threshold, buffers the TDM service according to the unicast shared buffer threshold and the multicast shared buffer threshold, and preferentially schedules the TDM service, and ensures the effectiveness of the TDM service forwarding. At the same time, it can ensure that the forwarding of TDM services is not affected by packet traffic congestion. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 一种分组交换装置, 其特征在于包括: Claims: A packet switching device, characterized by including:
分组单元, 用于将输入数据划分或填充为定长的分组; 以及 交换单元,用于将来自所述分組单元的单播分组和多播分组分别划 分为至少一个优先级并为每个优先级的单播分组和多播分组分别分配一 个队列, 并且根据队列的优先级进行调度, 其中, 分配给最高优先级的 单播分组的队列和分配给最高优先级的多播分组的队列用于承载 TDM 业务或分组业务, 分配给其它优先级的单播分组的队列和分配给其它优 先级的多播分组的队列用于承载所述分组业务。 根据权利要求 1所述的分組交换装置, 其特征在于, 所述队列用于緩存 所述分组的地址, 采用先入先出方式进行操作。 根据权利要求 1所述的分组交换装置, 其特征在于, 所述交换单元包括: 单播共享緩冲器, 用于存储来自所述分组单元的单播分组; 多播共享緩冲器, 用于存储来自所述分组单元的多播分组; 分组调度单元,用于根据所述队列的优先级从所述队列中调度所述 分组; a grouping unit, used to divide or fill the input data into fixed-length packets; and a switching unit, used to divide the unicast packets and multicast packets from the grouping unit into at least one priority and provide each priority with The unicast packets and multicast packets are allocated to a queue respectively, and are scheduled according to the priority of the queue. Among them, the queue allocated to the highest priority unicast packet and the queue allocated to the highest priority multicast packet are used to carry TDM services or packet services, queues allocated to unicast packets of other priorities and queues allocated to multicast packets of other priorities are used to carry the packet services. The packet switching device according to claim 1, wherein the queue is used to cache the address of the packet and operates in a first-in, first-out manner. The packet switching device according to claim 1, wherein the switching unit includes: a unicast shared buffer for storing unicast packets from the packet unit; a multicast shared buffer for storing multicast packets from the grouping unit; a packet scheduling unit configured to schedule the packets from the queue according to the priority of the queue;
队列管理单元,用于分别为每个端口的单播分组队列和多播分组队 列分配共享緩冲空间, 并将为最高优先级的单播分组队列分配的单播共 享緩冲空间用于 TDM单播业务或单播分组业务, 将为最高优先级的多 播分组队列分配的多播共享緩冲空间用于 TDM多播业务或多播分组业 务, 以及在所述单播分组和所述多播分组被转发送指定端口后, 释放所 述单播分组和所述多播分组对应的共享緩冲空间; 以及 The queue management unit is used to allocate shared buffer space to the unicast packet queue and multicast packet queue of each port, and use the unicast shared buffer space allocated for the highest priority unicast packet queue for TDM single broadcast service or unicast packet service, the multicast shared buffer space allocated to the highest priority multicast packet queue is used for TDM multicast service or multicast packet service, and between the unicast packet and the multicast After the packet is forwarded to the designated port, release the shared buffer space corresponding to the unicast packet and the multicast packet; and
地址管理单元,用于管理所述单播共享緩冲器和所述多播共享緩沖 期的空闲存储地址。 根据权利要求 3所述的分组交换装置, 其特征在于, 所述单播共享緩冲 器和所述多 "共享緩冲器的写入速度不低于所述交换单元的所有输入端 口的分组输入速率之和, 所述单播共享緩冲器和所述多播共享緩冲器的 读出速度不低于所述交换单元的所有输出端口的分组输出速度之和。 根据权利要求 3所述的分组交换装置, 其特征在于, 所述队列管理单元 在所述多播共享緩冲器中将多播分组的存储地址复制到多个指定端口的 相应多 4番队列, 在达到预定时间时, 释放所述多播分組存储地址。 根据权利要求 4所述的分组交换装置, 其特征在于: An address management unit, configured to manage the free storage addresses of the unicast shared buffer and the multicast shared buffer period. The packet switching device according to claim 3, characterized in that, the writing speed of the unicast shared buffer and the multi-" shared buffer is not lower than the packet input of all input ports of the switching unit The sum of the rates, the read speed of the unicast shared buffer and the multicast shared buffer is not lower than the sum of the packet output speeds of all output ports of the switching unit. According to claim 3 Packet switching device, characterized in that the queue management unit copies the storage address of the multicast packet in the multicast shared buffer to the corresponding multiple queues of multiple designated ports, and releases it when the predetermined time is reached. The multicast packet storage address. The packet switching device according to claim 4, characterized in that:
在占用的单播共享緩冲空间低于分配值的情况下,允许緩冲当前输 入的单播分组, 否则丟弃当前输入的单播分组; 以及 When the occupied unicast shared buffer space is lower than the allocated value, the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and
在占用的多播共享緩冲空间低于分配值的情况下,允许緩冲当前输 入的多播分组, 否则丢弃当前输入的多播分组。 根据权利要求 4所述的分组交换装置, 其特征在于: When the occupied multicast shared buffer space is lower than the allocated value, the currently input multicast packet is allowed to be buffered, otherwise the currently input multicast packet is discarded. The packet switching device according to claim 4, characterized in that:
在所述单播共享緩冲器存在空闲存储空间的情况下,允许緩冲当前 输入的单播分组, 否则丢弃当前输入的单播分组; 以及 When there is free storage space in the unicast shared buffer, the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and
在所述多播共享緩冲器存在空闲存储空间的情况下,允许緩冲当前 输入的多播分組, 否则丢弃当前输入的多播分组。 根据权利要求 3所述的分组交换装置, 其特征在于, 所述队列调度单元 通过以下方式调度相同优先级的单播业务和多播业务: 优先调度单播业 务, 优先调度多播业务, 随机调度。 根据权利要求 3所述的分组交换装置, 其特征在于, 所述队列调度单元 优先调度最高优先级队列中的分组。 一种分组交换方法, 其特征在于包括: If there is free storage space in the multicast shared buffer, the currently input multicast packet is allowed to be buffered; otherwise, the currently input multicast packet is discarded. The packet switching device according to claim 3, characterized in that the queue scheduling unit schedules unicast services and multicast services of the same priority in the following manner: unicast services are prioritized, multicast services are prioritized, and multicast services are scheduled randomly. . The packet switching device according to claim 3, wherein the queue scheduling unit prioritizes packets in the highest priority queue. A packet switching method, characterized by including:
S 1202, 分组单元将输入数据划分或填充为定长的分组; 以及 S 1202, the grouping unit divides or fills the input data into fixed-length groups; and
S1204 , 交换单元 4务来自所述分组单元的单插 ^分组和多播分组分别 划分为至少一个优先级并为每个优先级的单播分组和多播分组分别分配 一个队列, 并根据所述队列的优先级调度所述分组, 其中, 分配给最高 优先级的单播分组的队列和分配给最高优先级的多播分组的队列用于矛 载 TDM 业务或分组业务, 分配给其它优先级的单播分组的队列和分配 给其它优先级的多播分组的队列用于承载所述分组业务。 S1204. The switching unit divides the unicast packets and multicast packets from the packet unit into at least one priority and allocates the unicast packets and multicast packets to each priority level respectively. A queue, and the packet is scheduled according to the priority of the queue, wherein the queue allocated to the highest priority unicast packet and the queue allocated to the highest priority multicast packet are used to carry TDM services or packet services , the queues allocated to unicast packets of other priorities and the queues allocated to multicast packets of other priorities are used to carry the packet service.
11. 根据权利要求 10所述的分组交换方法, 其特征在于, 所述队列用于緩存 所述分组的地址, 采用先入先出方式进行操作。 11. The packet switching method according to claim 10, wherein the queue is used to cache the address of the packet and operates in a first-in, first-out manner.
12. 居权利要求 10 所述的分组交换方法, 其特征在于, 所述步骤 S1204 包括: 12. The packet switching method of claim 10, wherein step S1204 includes:
S 12042,通过单播共享緩冲器存储来自所述分组单元的单播分组并 将为最高优先级的单播分组队列分配的单播共享緩冲空间用于 TDM单 播业务或单播分组业务, 以及通过多播共享緩冲器存储来自所述分组单 元的多播分组并将为最高优先级的多播分组队列分配的多播共享緩冲空 间用于 TDM多播业务或多播分组业务; 以及 S 12042. Store unicast packets from the packet unit through a unicast shared buffer and use the unicast shared buffer space allocated for the highest priority unicast packet queue for TDM unicast services or unicast packet services. , and storing multicast packets from the packet unit through a multicast shared buffer and using the multicast shared buffer space allocated for the highest priority multicast packet queue for TDM multicast service or multicast packet service; as well as
S 12044, 分组调度单元, 用于才艮据所述队列的优先级从所述队列中 调度所述分组; 以及 S 12044, a packet scheduling unit, configured to schedule the packet from the queue according to the priority of the queue; and
S 12046, 在所述单播分组和所述多播分组被转发送指定端口后,释 放所述单播分组和所述多播分组对应的共享緩冲空间。 S 12046: After the unicast group and the multicast group are forwarded to the designated port, release the shared buffer space corresponding to the unicast group and the multicast group.
13. 根据权利要求 12所述的分组交换方法, 其特征在于, 所述单播共享緩沖 器和所述多播共享緩冲器的写入速度不低于所述交换单元的所有输入端 口的分组输入速率之和, 所述单播共享緩冲器和所述多播共享緩冲器的 读出速度不低于所述交换单元的所有输出端口的分组输出速度之和。 13. The packet switching method according to claim 12, characterized in that the writing speed of the unicast shared buffer and the multicast shared buffer is not lower than the packet speed of all input ports of the switching unit. The sum of the input rates, the read speed of the unicast shared buffer and the multicast shared buffer is not lower than the sum of the packet output speeds of all output ports of the switching unit.
14. 根据权利要求 12所述的分组交换方法, 其特征在于, 所述多播共享緩冲 器将多播分组的存储地址复制到多个指定端口的相应多播队列, 在达到 预定时间时, 释放所述多播分组存储地址。 14. The packet switching method according to claim 12, characterized in that, the multicast shared buffer copies the storage address of the multicast packet to the corresponding multicast queues of multiple designated ports, and when the predetermined time is reached, Release the multicast packet storage address.
15. 根据权利要求 12所述的分组交换方法, 其特征在于: 15. The packet switching method according to claim 12, characterized in that:
在占用的单播共享緩冲空间低于分配值的情况下,允许緩冲当前输 入的单播分组, 否则丢弃当前输入的单播分組; 以及 在占用的多播共享緩冲空间低于分配值的情况下,允许緩冲当前输 入的多播分组, 否则丟弃当前输入的多播分组。 When the occupied unicast shared buffer space is lower than the allocated value, the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and When the occupied multicast shared buffer space is lower than the allocated value, the currently input multicast packet is allowed to be buffered; otherwise, the currently input multicast packet is discarded.
16. 根据权利要求 12所述的分组交换方法, 其特征在于: 16. The packet switching method according to claim 12, characterized in that:
在所述单播共享緩冲器存在空闲存储空间的情况下,允许緩冲当前 输入的单播分组, 否则丟弃当前输入的单播分组; 以及 When there is free storage space in the unicast shared buffer, the currently input unicast packet is allowed to be buffered, otherwise the currently input unicast packet is discarded; and
在所述多播共享緩冲器存在空闲存储空间的情况下,允许緩冲当前 输入的多播分组, 否则丟弃当前输入的多播分组。 If there is free storage space in the multicast shared buffer, the currently input multicast packet is allowed to be buffered; otherwise, the currently input multicast packet is discarded.
17. 根据权利要求 12所述的分组交换方法, 其特征在于,通过以下方式调度 相同优先级的单播业务和多播业务: 优先调度单播业务, 优先调度多播 业务, 随机调度。 17. The packet switching method according to claim 12, characterized in that unicast services and multicast services of the same priority are scheduled in the following manner: unicast services are prioritized, multicast services are prioritized, and multicast services are scheduled randomly.
PCT/CN2006/003526 2006-12-21 2006-12-21 A packet switching system and a method thereof WO2008074191A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2006800564629A CN101542985B (en) 2006-12-21 2006-12-21 A packet switching system and a method thereof
PCT/CN2006/003526 WO2008074191A1 (en) 2006-12-21 2006-12-21 A packet switching system and a method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2006/003526 WO2008074191A1 (en) 2006-12-21 2006-12-21 A packet switching system and a method thereof

Publications (1)

Publication Number Publication Date
WO2008074191A1 true WO2008074191A1 (en) 2008-06-26

Family

ID=39535971

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/003526 WO2008074191A1 (en) 2006-12-21 2006-12-21 A packet switching system and a method thereof

Country Status (2)

Country Link
CN (1) CN101542985B (en)
WO (1) WO2008074191A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010115360A1 (en) * 2009-04-07 2010-10-14 华为技术有限公司 Method and equipment for data exchange
WO2022037503A1 (en) * 2020-08-20 2022-02-24 中兴通讯股份有限公司 Packet forwarding method and apparatus, device, and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103548278B (en) * 2011-05-20 2015-07-08 日本电气株式会社 Transmission device and processing method thereof
CN107342949B (en) * 2017-06-12 2019-08-20 烽火通信科技股份有限公司 It is a kind of realize TDM and Packet Service statistical multiplex transmission device, method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004066570A1 (en) * 2003-01-17 2004-08-05 Fujitsu Limited Network switch apparatus and network switch method
US20040213149A1 (en) * 2003-04-22 2004-10-28 Alcatel Method for using the complete resource capacity of a synchronous digital hierarchy network, subject to a protection mechanism, in the presence of data (packet) network, and relating apparatus for the implementation of the method
US20050094645A1 (en) * 2003-11-03 2005-05-05 Kamakshi Sridhar Distance-sensitive scheduling of TDM-over-packet traffic in VPLS

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004066570A1 (en) * 2003-01-17 2004-08-05 Fujitsu Limited Network switch apparatus and network switch method
US20040213149A1 (en) * 2003-04-22 2004-10-28 Alcatel Method for using the complete resource capacity of a synchronous digital hierarchy network, subject to a protection mechanism, in the presence of data (packet) network, and relating apparatus for the implementation of the method
US20050094645A1 (en) * 2003-11-03 2005-05-05 Kamakshi Sridhar Distance-sensitive scheduling of TDM-over-packet traffic in VPLS

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010115360A1 (en) * 2009-04-07 2010-10-14 华为技术有限公司 Method and equipment for data exchange
US8761172B2 (en) 2009-04-07 2014-06-24 Huawei Technologies Co., Ltd. Data switching method and device
WO2022037503A1 (en) * 2020-08-20 2022-02-24 中兴通讯股份有限公司 Packet forwarding method and apparatus, device, and storage medium

Also Published As

Publication number Publication date
CN101542985B (en) 2011-03-02
CN101542985A (en) 2009-09-23

Similar Documents

Publication Publication Date Title
US8837492B2 (en) Multiplexed data stream circuit architecture
US7961751B2 (en) Multiplexed data stream timeslot map
JP2837651B2 (en) Communications system
US7940786B2 (en) System and method for communicating data using a common switch fabric
US9106439B2 (en) System for TDM data transport over Ethernet interfaces
JP3002726B1 (en) Variable speed digital switching system
US20030185249A1 (en) Flow control and quality of service provision for frame relay protocols
van As et al. CRMA ll: A Gbitls MAC Protocol for Ring and Bus Networks with Immediate Access Capability
JP2004525538A (en) Dynamic traffic management on shared media
EP2127216B1 (en) Bandwidth reuse in multiplexed data stream
JPH02202250A (en) Bandwidth assignment to integrated voice and data network and deldy control skim
WO2020155185A1 (en) Message scheduling method, scheduler, network device and network system
US6167041A (en) Switch with flexible link list manager for handling ATM and STM traffic
CN110808920A (en) Satellite communication flow control method for coexistence of CCSDS (consultative committee for space data system) frame and IP (Internet protocol) message
JP2005503071A (en) Shared memory data exchange
AU742719B2 (en) Method and device for synchronizing dynamic synchronous transfer mode in a ring topology
WO2008074191A1 (en) A packet switching system and a method thereof
JP5418086B2 (en) Transmission apparatus and signal transmission method
CN114531488A (en) High-efficiency cache management system facing Ethernet exchanger
US6347089B1 (en) Simplified ethernet frame switching system architecture without local buffer requirement
JP2003124953A (en) Ring type network system
CN117155874A (en) Data packet transmitting method, forwarding node, transmitting terminal and storage medium
JP3416156B2 (en) Method and circuit arrangement for transmitting information cells via virtual connections of different priorities
CA2308219A1 (en) Stream-line data network
EA008956B1 (en) Method for the dynamic management of resources in telecommunication systems, based on quality of service and type of service

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200680056462.9

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 06828420

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06828420

Country of ref document: EP

Kind code of ref document: A1