WO2005015837A1 - A method and system for implementing the transmission of the data packet - Google Patents

A method and system for implementing the transmission of the data packet Download PDF

Info

Publication number
WO2005015837A1
WO2005015837A1 PCT/CN2004/000911 CN2004000911W WO2005015837A1 WO 2005015837 A1 WO2005015837 A1 WO 2005015837A1 CN 2004000911 W CN2004000911 W CN 2004000911W WO 2005015837 A1 WO2005015837 A1 WO 2005015837A1
Authority
WO
WIPO (PCT)
Prior art keywords
cell
multicast
network
user
transmission bus
Prior art date
Application number
PCT/CN2004/000911
Other languages
French (fr)
Chinese (zh)
Inventor
Qiang Xie
Yufa Han
Yupeng Xiong
Yong Luo
Original Assignee
Huawei Technologies Co., Ltd.
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
Priority claimed from CNB031439934A external-priority patent/CN100546263C/en
Priority claimed from CNB031541461A external-priority patent/CN100358319C/en
Priority claimed from CNB031542948A external-priority patent/CN1327664C/en
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2005015837A1 publication Critical patent/WO2005015837A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/168Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP] specially adapted for link layer protocols, e.g. asynchronous transfer mode [ATM], synchronous optical network [SONET] or point-to-point protocol [PPP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/06Simultaneous speech and data transmission, e.g. telegraphic transmission over the same conductors
    • H04M11/062Simultaneous speech and data transmission, e.g. telegraphic transmission over the same conductors using different frequency bands for speech and other data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5638Services, e.g. multimedia, GOS, QOS
    • H04L2012/5665Interaction of ATM with other protocols
    • H04L2012/5667IP over ATM

Definitions

  • the present invention relates to the field of network communication technology, and more particularly, to a method for implementing data transmission and a system based on which data transmission is implemented. Background of the invention
  • data message transmission methods include: unicast and multicast.
  • multicast includes multicast and broadcast.
  • Unicast is a point-to-point transmission method; multicast is a transmission method based on one-point transmission and specific multi-point reception; and broadcast is a transmission method based on one-point transmission and unspecified multi-point reception.
  • multimedia services such as streaming media, video conferencing, and video-on-demand on the Internet become an important part of information transmission in network communication systems, more and more multicast data packets are transmitted on the network. It becomes more and more important in network communication.
  • this transmission method requires the server to copy a corresponding message for each user requesting to send a message, and The message is sent to the user. Therefore, if the transmission of multicast data messages is implemented in unicast mode, when multiple users request the same message to be sent, the server will copy a copy of the same content for each user's request. The message is sent to each user who requests the message through the network node. Obviously, a large amount of system resources will be occupied on the network due to repeated transmission of packets with the same content. In addition, this processing method requires the server in the system to repeatedly copy and send packets with the same content, which will cause a bottleneck in data transmission and waste service. Server resources and cause server processing power to decrease.
  • this transmission method requires that when a user of one node in the network sends a message, all other user nodes must Receive, so if the multicast data transmission is implemented in a broadcast mode, as long as one user requests a data message, the server in the system will send the data message to all users, and all users in the network To receive the data message. In fact, not all users need these data packets, so this processing method will cause unnecessary packets to be transmitted on the network, which will cause a bottleneck in data transmission and waste network resources.
  • the current broadcast mode is implemented by copying data packets. Therefore, the system may need to copy many data packets. Obviously, this will waste network resources.
  • the information transmission method adopted by multicast is single-point transmission and specific multi-point reception.
  • This transmission method requires the server to send data packets to specific multiple receivers in the network. Therefore, when one or more users under the same network node request the same data message, the multicast server should theoretically only need to copy one message and send it to the network node. Users receive messages according to their needs.
  • the existing method for solving the transmission of multicast data messages can be implemented based on an Ethernet switching module, which is the above-mentioned network node, and the network connected to the Ethernet switching module can be an IP network.
  • the module The specific internal connection relationship is shown in Figure 1. In FIG.
  • users 1 to 4 are connected to the switching module through a user interface in the switching module, and a multicast server is connected to the switching module through a network interface in the switching module.
  • the multicast server sends a corresponding multicast data packet to the switching module according to the user's application, and there is only one packet; the switching module receives the multicast sent by the multicast server through the network interface. Data packets and store them in their own shared buffers; assuming that user 1 and user 4 need the multicast data messages stored in the shared buffer, the switching module copies the corresponding multicast data messages to User interface 1 and user interface 4; user 1 receives a multicast data message from user interface 1, and user 4 receives a multicast data message from user interface 4.
  • the transmission of the multicast data message is completed.
  • the switching module 1 to the switching module 5 constitute a multicast device, and the multicast server is connected to the multicast device through a network interface in the multicast device; the switching module 2 to the switching module 5 are respectively connected to the switching module 1 and exchanged Module 1 uses its cascaded switching modules 2 to 5 as its own users.
  • Users 1, 2 are connected to switch module 2
  • user 3 is connected to switch module 3
  • user 4 is connected to switch module 4
  • users 5, 6 are connected to switch module 5.
  • the multicast server sends corresponding multicast data packets to the multicast device according to the application data of the multicast messages of users 1 to 6, and the multicast device receives the multicast server through the network interface.
  • Send a multicast data message and store the data message in a shared buffer of the switching module 1.
  • switch module 1 copies and sends the data message stored in its shared buffer to the switch module.
  • Block 2 and switching module 4; switching module 2 and switching module 4 receive the multicast data message sent by switching module 1, and store the data message in its own shared buffer; after that, switching module 2 stores itself This data message stored in the shared buffer is sent to user 1, and the switching module 4 sends this data message stored in its own shared buffer to user 4.
  • the switching module needs to copy the multicast data message stored in its own shared buffer to the corresponding cascade switching module or user, which requires higher processing performance of the switching module;
  • the switching device may be an asynchronous transmission mode digital subscriber line access multiplexer (ATM DSLAM), which is within the ATM DSLAM.
  • ATM DSLAM asynchronous transmission mode digital subscriber line access multiplexer
  • the department implements multicast replication through point-to-multipoint connections.
  • each network server that is, multicast source 1
  • VC virtual connection
  • the transmission of multicast data will cause the cells to be out of order due to the interleaving of multicast cells and Internet cells. Therefore, in addition to establishing a VC for Internet access on each user's remote terminal device (RTU), And also establish a dedicated multicast VC ".
  • the ATM DSLAM also needs to be configured with a multicast forwarding table, which specifies the correspondence between the user multicast VC "and the multicast source VC. After receiving the multicast data from the multicast source VC, the ATM DSLAM uses the multicast forwarding table. Copy the multicast data to the specified user multicast VC ".
  • each multicast source must be an ATM node, so it cannot implement a VC connection bearer.
  • Multiple multicast groups On the one hand, this causes waste of connection resources and equipment, and P reduces the flexibility and simplicity of networking.
  • new multicast sources are to be added, data configuration must be increased, so the scalability of the network is poor. .
  • Multicast streams and unicast service streams on the network side need to pass through different VCs to the ATM DSLAM. This is because unicast streams and multicast streams are processed differently on DSLAM. Unicast streams are only cross-connected on DSLAM. Multicast streams are based on virtual path identifiers and virtual channel identifiers. The (VPI / VCI) identifier is used for multicast forwarding. Therefore, the unicast stream and the multicast stream cannot use the same VC for downlink.
  • the RTU configuration requirements should be as simple and fixed as possible.
  • the DSLAM is downlinked to the RTU, it needs to be carried on two VCs.
  • Unicast data and multicast data bring some complexity to the configuration of RTU.
  • ATM DSLAM internally implements multicast replication through point-to-multipoint connections, which is not efficient, and multicast data is replicated within DSLAM, adding DSLAM equipment With the load of T2004 / 000911, too much multicast data can easily become a performance bottleneck.
  • ATM DSLAM is fixedly forwarded according to the multicast forwarding table, which prevents users from dynamically joining or leaving a multicast group. If a user needs to receive data of a certain multicast group, he must apply to the operator for service provisioning. After the operator opens this application for the user, even if the user closes the multicast terminal software on the terminal device, that is, when the user no longer needs to receive the multicast data, the ATM DSLAM will still send the multicast data to the user RTU.
  • the multicast forwarding table is managed and configured by the network administrator, which results in inflexible service development, increases the workload of maintenance, and consumes the user's bandwidth when the user does not need it.
  • the main purpose of the present invention is to provide a method for implementing data message transmission, so as to realize the transmission of data messages including unicast, multicast, and broadcast, and not to transmit multicast datagrams. Text and waste network resources.
  • Another object of the present invention is to provide a system for implementing data message transmission.
  • a method for implementing data packet transmission according to the present invention includes the following steps: a.
  • the transmitting end converts a data packet to be sent into a cell and sends it;
  • the receiving end receives the cell, and transmits the data message corresponding to the cell according to the information carried by the cell.
  • a transmission bus connecting the transmitting end and the receiving end may be set, the cell is a cell set to be transmitted on the transmission bus, and the cell has a corresponding VPI / VCI, and the cell may be an ATM cell ;
  • step a the transmitting end transmits the converted cell to the transmission bus: in step b, the receiving end receives the cell from the transmission bus.
  • the data message includes: a unicast data message, a multicast data message, and a broadcast data message.
  • a system for implementing data message transmission according to the present invention includes:
  • Network-side interface device converts a data message sent from the network into a cell, and sends the cell and the cell identifier to the transmission bus together;
  • User-side interface device Receives a cell sent by a network-side interface device to a transmission bus, and then sends the cell to a corresponding user terminal according to a cell identifier of the cell.
  • the user-side interface device in the system can further convert the data message sent by the user terminal into a cell, and send it to the transmission bus together with the unicast cell identifier;
  • the network-side interface device may further receive a cell sent by the user-side interface device to the transmission bus, and send a data packet corresponding to the cell to the network.
  • the user terminal sends the request data message of the user terminal to the network side through the transmission bus, and records related information of the request data message; the network side sends the unicast data message and multicast data message to be sent in the network After the text is converted into a cell, it is transmitted to the transmission bus; each user side connected to the transmission bus receives the cell on the transmission bus, and sends the cell to the corresponding user terminal according to the cell identifier and the requirements of the user terminal, so that
  • the cell when multiple users need the same cell, the cell does not need to be copied multiple times to transmit the cell to the corresponding user, so that the system does not transmit when a multicast data message is transmitted.
  • the bottleneck and the package efficiently implement the transmission of multicast data messages, save network resources, and improve the transmission performance of network communication equipment, thereby reducing the cost of communication equipment when the communication equipment supports the same number of users. Alas.
  • the solution of the present invention also provides a processing procedure for data packet transmission of the ATM network. Since multicast packet transmission does not need to be transmitted through a multicast forwarding table, multiple multicast group data on the network side can be placed on one VC. As a result, multiple multicast streams can be provided by one multicast server, which effectively saves uplink connection resources and equipment investment, and also facilitates simplified networking. Network-side multicast data streams and unicast data streams can also be placed on a VC This saves uplink connection resources and reduces the maintenance workload of operator maintenance personnel.
  • the user-side multicast data stream and unicast data stream can be carried on a VC, which can avoid the need to reconfigure a large number of user terminals when adding multicast services, which greatly reduces the workload of maintenance personnel.
  • the ATM DSLAM internally implements multicasting via the ATM transmission bus, which saves system resources and improves efficiency.
  • each user port receives multicast data on the bus according to its own multicast group. It does not require the CPU to perform cell replication and saves Bandwidth resources inside the device.
  • the solution of the present invention also enables users to dynamically join or leave multicast groups as needed, and the system can control users to join multicast groups according to pre-set permissions. After users leave, the system no longer sends multicasts to them Data, reducing the bandwidth occupation of user ports and improving forwarding efficiency.
  • FIG. 1 is a schematic diagram of implementing a multicast data message transmission using a switching module in the prior art
  • FIG. 2 is a schematic diagram of implementing a multicast data message transmission using a cascade of switching modules in the prior art
  • FIG. 3 is a schematic diagram of multiple multicast, wide area network, bandwidth access, and user RTU systems based on ATM DSLAM equipment in the prior art;
  • 5 is a second system for implementing data message transmission according to an embodiment of the present invention.
  • FIG. 6 is a third system for implementing data packet transmission according to an embodiment of the present invention.
  • FIG. 7 is a system for implementing data packet transmission based on IP DSLAM in an embodiment of the present invention
  • FIG. 8 is a schematic diagram of protocol processing in the system shown in FIG. 7;
  • FIG. 9 is a diagram illustrating a system for transmitting data packets based on an ATM DSLAM in an embodiment of the present invention.
  • 10 is a flowchart of processing a downlink transmission data message in the system shown in FIG. 9;
  • FIG. 11 is a flowchart of processing a transmission data message upstream in the system shown in FIG. 9;
  • FIG. 12 is an ATM DSLAM in the system shown in FIG. Structure diagram of the equipment after adding relevant modules;
  • FIG. 13 is a processing flowchart of a user joining a multicast group in the system shown in FIG. 9. Mode of Carrying Out the Invention
  • the core idea of the present invention is: setting a transmission bus between a transmitting end and a receiving end, and setting a cell for transmission on the transmission bus, and the transmitting end converts a data message to be transmitted in the network into the cell, And sending the cell to the transmission bus; the receiving end receives the cell from the transmission bus, and restores the cell to a data message according to the information carried by the cell.
  • information transmission between a network server connected to the network side and a user terminal connected to the user side in the network can be realized.
  • the transmission bus used in the present invention may specifically adopt a bus based on the ATM transmission bus standard.
  • a bus based on the ATM transmission bus standard can support a maximum of 32 transmission bus interface units at the same time, that is, the sum of the user side and the network side to which the transmission bus is connected is 32.
  • buses based on the ATM transmission bus standard can provide shared switching capacity above IGbps.
  • the characteristic of the transmission bus is to use one bus to complete the exchange of ATM cells between the transmission bus interface units of different boards, and there can be multiple user sides connected to the transmission bus, and each user connected to the transmission bus
  • the transmission bus interface unit on the side and the network side provides a richer cell scheduling mechanism such as three-level routing lookup. Therefore, ATM cells on the transmission bus can be implemented in each user-side and network-side transmission bus interface unit. Exchange.
  • the invention can realize the transmission of data messages on the transmission bus through ATM cells.
  • ATM is a high-speed, low-latency multiplexing switching technology.
  • ATM uses cells and provides limited error detection operations to make the network fast enough to support multi-megabit transmission rates. Therefore, the present invention utilizes the transmission characteristics of ATM cells, and converts unicast data packets and multicast data packets into ATM cells, and receives and sends them through a transmission bus.
  • the user side and the network side connected to the transmission bus The ATM cell is then restored into a data message, and the data message is transmitted according to the destination address carried by the data message, thereby completing the transmission of the data message between the network side and the user side.
  • data packets can be transmitted between the network side and the user side without requiring multiple replications, thereby achieving the datagram simply and efficiently. Text transmission.
  • the network side When the network is an IP network, when the network side sends data packets to the user terminal, the network side first converts unicast data packets and multicast data packets transmitted by the network server into cells, and passes them through The transmission bus is sent to the user side; the user side receives the cell from the transmission bus, and converts the cell into a corresponding data message according to the information carried by the cell, and then transmits the data to the corresponding data message.
  • User terminal The request data message sent from the user terminal to the network side is first converted by the user side into the corresponding cell and sent to the network side through the transmission bus; the network side receives the cell from the transmission bus, It converts it into a request data message according to the information carried by the cell, and then transmits it to the corresponding network server.
  • MAC media access control
  • the upstream direction refers to the direction from the user side to the network.
  • Side the downward direction refers to the network side to the user side.
  • the user side When the user side receives the request data message transmitted from the user terminal, the user side converts the message into a cell according to the source MAC address in the request data message. This is because different types of data packets have different MAC addresses, so cell conversion can be performed based on the MAC address. Different types of cells have different VPI VCL after conversion
  • the types of data messages that the user terminal requests the IP network to send to it include unicast data messages, multicast data messages, and broadcast data messages. If the user terminal needs the IP network to send a multicast data message to itself, it needs to record the relevant information of the request data message.
  • the relevant information includes the address information of the user terminal and the multicast group number of the multicast data message requested to be sent. .
  • the related information may be specifically recorded on the user side or on the network side, so that the user side can forward multicast data packets according to the information. Of course, if recorded on the network side, the network side needs to send the information To the user side.
  • the user side adds a unicast cell identifier and the characteristic information of the destination to the cell according to the VPI / VCI of the converted cell, and passes the cell, the unicast cell identifier, and the characteristic information of the destination to the unicast message together.
  • the VC corresponding to the meta ID is sent to the transmission bus.
  • the characteristic information of the destination includes a port number and a slot number, and the characteristic information of the destination may also be set in a unicast cell identifier. Because the request data message sent by the user terminal can only be unicast data, the cell identifier added to the cell by the user side is the unicast cell identifier.
  • All ports connected to the transmission bus receive cells on the transmission bus, and determine whether to receive the cell based on the cell identifier and the characteristic information of the destination.
  • the network side restores the received cell into a request data packet, and according to The destination MAC address of the request data message is sent to the IP network. Because the feature information of each user side and the feature information of the destination end of the cell are different, Therefore, each user side discards the received cells.
  • the network side converts the data packet into a cell according to the source MAC address of the data packet to be sent from the IP network.
  • the network side adds the corresponding cell identifier and the characteristic information of the destination according to the VPI / VCI of the cell, and sends the cell, the cell identifier, and the characteristic information of the destination to the transmission bus together.
  • the data messages to be sent may be unicast data messages, multicast data messages, and broadcast data messages.
  • the network side When sending a cell and related information to a transmission bus, if the data packet is a unicast data packet, the network side adds a cell identifier for the cell according to the source MAC address of the unicast data packet as unicast. Cell ID. In addition, the characteristic information of the destination end corresponding to the destination MAC address of the unicast data message is also added to the cell. Then, the converted cells, the characteristic information of the destination end, and the unicast cell identifier are sent to the transmission bus through the VC corresponding to the unicast cell identifier. Similarly, the feature information of the destination can be set in the unicast cell identifier.
  • the network side adds a multicast cell identifier to the cell according to the source MAC address of the multicast data message, and increases the multicast group number of the multicast data message. Then, the cell, the multicast cell identifier, and the multicast group number are sent to the transmission bus through the VC corresponding to the multicast cell identifier.
  • the multicast group number may be set in the multicast cell identifier.
  • the network side may add a broadcast cell identifier to the cell according to the source MAC address of the broadcast message, and correspond the cell and the broadcast cell identifier together through the broadcast cell identifier.
  • VC is sent to the transmission bus.
  • the network side may determine to allow the currently sent cells according to a predetermined algorithm and a predetermined priority to avoid transmission of the cells. Data congestion occurred during the process.
  • multicast cells can be set Has the highest priority, and the unicast cell has the second highest priority. In this way, the unicast cell, the multicast cell, and the broadcast cell can be sent according to the priority.
  • Each user side connected to the transmission bus receives the cells on the transmission bus, and determines to transmit the cells to the corresponding user terminal according to the cell identifier and the needs of the user terminal.
  • each user side determines a user terminal that needs to receive the cell according to the characteristic information of the destination end of the cell, and restores the cell to a unicast datagram. And send it to the user terminal.
  • each user side determines a user terminal that needs to receive the cell according to the recorded request information, restores the cell to a multicast data packet, and sends the packet to the User terminal. If the request information is recorded on the network side, the network side should send the request information to the user side.
  • each user side restores the cell to a broadcast data message and sends it to all user terminals connected to itself.
  • the data packets sent by the network side can only be unicast data packets and multicast data packets. There are no broadcast data packets. Therefore, only these two types of packets need to be addressed. Text for processing.
  • the data message sent is an ATM cell
  • the ATM cell may include both a unicast data packet and a multicast data ⁇ :
  • the network side needs to form the ATM cell into a corresponding Ethernet frame, and tag the Ethernet frame with a VLAN ID according to the connection information, and then perform unicast and multicast distribution on the Ethernet frame. Multicast frames are transmitted separately.
  • the connection information refers to pre-configured exchange information on the DSLAM device, and is mainly the VPI / VCI on the ADSL port side. T N2004 / 000911 Correspondence with Ethernet VLAN ID, etc.
  • the Ethernet frame For a unicast frame, the Ethernet frame needs to be converted into a corresponding ATM message according to the destination MAC address or VLAN ID of the unicast frame, and according to the correspondence between the MAC address or VLAN and the user VC identifier, that is, VPI / VIC.
  • the ATM cell is then sent to the transmission bus.
  • the multicast frame For a multicast frame, the multicast frame needs to be converted into an ATM cell according to the correspondence between the multicast group and the multicast VC identifier, and then the ATM cell is sent to the transmission bus.
  • the user side receives the multicast ATM cells and unicast ATM cells belonging to the port according to the preset multicast reception table and unicast reception table, and multiplexes the received cells in the original cell order, and Send the multiplexed ATM cell to the RTU through the user VC;
  • the RTU recovers the received ATM cells into an Ethernet frame, and then sends the Ethernet frame to the user terminal.
  • the data packet sent by the user terminal to the user side is converted into an ATM cell by the RTU, and is carried in the user VC and sent to the user side.
  • the ATM cell directly add the unicast cell identifier and the characteristic information of the destination to the cell according to the VPI / VCI of the user VC, and pass the unicast message together with the cell, the unicast cell identifier, and the characteristic information of the destination.
  • the VC corresponding to the meta ID is sent to the transmission bus.
  • the network side After receiving a cell on the transmission bus, the network side determines whether the destination characteristic information of the cell meets its own receiving conditions. If it does, the ATM cell is converted to the Ethernet of the corresponding VLAN according to the VPI / VCI of the cell. Network frame, and record the correspondence between the source MAC address of the data packet and the user VC identifier, and then convert the Ethernet frame into an ATM cell, and send the ATM cell according to the correspondence between the VLAN and the network-side VC Go to the corresponding network-side VC.
  • Figure 4 shows the first system for data packet transmission. This system enables the network to send data packets to the user.
  • the transmission bus interface unit in this system leads the transmission bus interface on the backplane side, and is connected to the transmission bus through the derived transmission bus interface.
  • the ATM universal test and operation physical layer interface is led out on the transmission bus interface unicast board ( UTOPIA), and is connected to the user equipment interface unit through the UTOPIA.
  • various network equipment interface units or user equipment interface units can be flexibly connected to the transmission bus interface unit through UTOPIA, so that the network side and the user side can complete the transmission and reception of ATM cells.
  • Each interface unit has a unique identifier, and this identifier can be the port address of each interface unit. Because the transmission bus interface unit has a priority scheduling function, the cells that need to be currently sent to the transmission bus can be determined through a predetermined algorithm and priority.
  • the user-side transmission bus interface unit is connected to the user equipment interface unit, and the network-side transmission bus interface unit is connected to the network equipment interface unit.
  • the user equipment interface unit has multiple slots, each slot has a slot number, and each slot number can correspond to multiple user terminals.
  • three transmission bus interface units 400, 410, and 420 are connected to the transmission bus, and are respectively connected to the network equipment interface unit 430 and the user equipment interface units 440 and 450.
  • the transmission bus interface unit 400 and the network device interface unit 430 constitute a network-side interface device;
  • the transmission bus interface unit 410 and the user equipment interface unit 440 constitute a user-side interface device, and
  • the transmission bus interface unit 420 and the user equipment interface unit 450 constitute a user-side Interface equipment.
  • the network device interface unit 430 When the network device interface unit 430 receives a unicast data message to be transmitted, After the unicast data packet is converted into a cell, it is transmitted to the transmission bus interface unit 400 through the dedicated VC of the unicast cell; the transmission bus interface unit 400 adds a unicast cell identifier and the cell according to the cell's VCI and VPI. Specific information of the destination of the unicast cell. The specific information is the port number and slot number of the board at the destination, and then the unicast cell, the unicast cell identifier, and the unicast port number of the destination of the unicast cell. The slot numbers are sent to the transmission bus through the VC corresponding to the unicast cell identifier.
  • Each transmission bus interface unit 410 and 420 connected to the transmission bus receives the cell at the same time, determines that the cell is a unicast cell according to the unicast cell identifier of the cell, and determines whether the port number of the destination end of the cell is the same as that of the cell. Their own port addresses are the same. If they are the same, they are transmitted according to the slot number of the cell, and the user equipment interface unit sends them to the corresponding user terminal device according to the VPI and VCI of the cell; if they are not the same, then discard the Cell.
  • the slot number belongs to the user equipment interface unit 440, that is, the transmission bus interface unit 410 can determine that the destination port number of the cell is the same as its own port address, and then according to the slot of the cell
  • the cell is transmitted to the user equipment interface unit 440, and the user equipment interface unit 440 converts the cell into a data message, and sends the converted data message to the corresponding user terminal according to the VP CI of the cell. device.
  • the transmission bus interface unit 420 it is determined that the destination port number of the cell is different from its own port address, and therefore the cell is discarded. In this way, unicast cells are transmitted between transmission bus interface units on the transmission bus.
  • the multicast data message is converted and transmitted to the transmission bus interface unit 400 through the dedicated VC of the multicast cell; the transmission bus interface unit 400 according to The VCI / VPI of a cell adds a multicast cell identifier and a multicast group number to the cell, and sends the cell, the multicast cell identifier, and the multicast group number to the VC corresponding to the multicast cell identifier to the VC.
  • the VCI / VPI of a cell adds a multicast cell identifier and a multicast group number to the cell, and sends the cell, the multicast cell identifier, and the multicast group number to the VC corresponding to the multicast cell identifier to the VC.
  • Each transmission bus interface unit 410 and 420 connected to the transmission bus simultaneously interfaces the cell, determines that the cell is a multicast cell based on the cell's multicast cell identifier, and according to the recorded user request multicast data message Request letter Information and the multicast group number of the cell to determine whether the user terminal connected to itself needs the cell of the multicast group number. If the user terminal connected to the transmission bus interface unit 410 needs this cell, the transmission bus interface unit 410 Transmit it to the corresponding user equipment interface unit 440, the user equipment interface unit 440 converts the cell into a corresponding data message, and transmits the converted data message to the corresponding data message according to the VPI / VCI of the cell User terminal. If none of the user terminals connected to the transmission bus interface unit 420 need this cell, the transmission bus interface unit 420 discards the multicast cell. Thus, the transmission of multicast data between the transmission bus interface units on the transmission bus is realized.
  • the broadcast data message When the network device interface unit 430 receives the broadcast data message to be transmitted, the broadcast data message is converted into a cell, and then transmitted to the transmission bus interface unit 400 through the dedicated VC of the broadcast cell; the transmission bus interface unit 400 according to The VCI / VPI of the cell adds a broadcast cell identifier to the cell, and sends the cell along with the broadcast cell identifier to the transmission bus through the VPI corresponding to the broadcast cell identifier.
  • Each transmission bus interface unit 410 and 420 connected to the transmission bus receives the cell at the same time, determines that the cell is a broadcast cell according to the broadcast cell identifier of the cell, and then transmits the cell to users connected to itself.
  • a device interface unit, and the user equipment interface units 440 and 450 convert the broadcast cell into a corresponding broadcast data message, and transmit the broadcast data message to all user terminal devices connected to itself.
  • the transmission of broadcast cells between the transmission bus interface units on the transmission bus is realized.
  • Figure 5 shows the second system for data packet transmission.
  • the system includes a network-side interface device 500 and a user-side interface device 510. There is only one network-side interface device on the transmission bus, and there can be multiple user-side interface devices.
  • the network-side interface device 500 includes a transmission bus interface unit 501, a data message processing unit 502, and an interface conversion unit 503.
  • the transmission bus interface unit 501 has a priority scheduling function for determining a cell identifier corresponding to a cell transmitted by the data message processing unit 502, and transmitting the cell and the cell identifier to the transmission according to a predetermined algorithm and priority.
  • a bus; the interface unit further receives a cell and a cell identifier on the transmission bus, determines a cell to be transmitted to the data packet processing unit 502 according to the cell identifier, and performs transmission.
  • a data message processing unit 502 configured to convert a data message transmitted by the IP network through the interface conversion unit 403 into a cell, and transmit it to a transmission bus interface unit 501 with an arbitration function together with its corresponding cell identifier; the processing The unit also restores the cells transmitted by the transmission bus interface unit 501 into a request data message, and transmits them to the IP network through the interface conversion unit 503.
  • the interface conversion unit 503 is configured to provide an interface between the network-side interface device and the IP network.
  • the interface conversion unit may be a Fast Ethernet (FE) optical port, an FE electrical port, or a G-bit Ethernet optical port.
  • FE Fast Ethernet
  • the user-side interface device 510 includes a transmission bus interface unit 511, a cell bearing unit 512, and a user terminal access unit 513.
  • the transmission bus interface unit can be connected to multiple cell bearer units at the same time, and the cell bearer unit can also be connected to multiple user terminal access units, respectively.
  • the transmission bus interface unit 511 is configured to transmit the cells and the cell identifiers transmitted by the cell carrying unit 512 to the transmission bus; receive the cells on the transmission bus; and transmit the information according to the cell identifier and user requirements.
  • the cells are transmitted to the corresponding cell carrying unit 512.
  • the cell carrying unit 512 is configured to transmit the ATM cells transmitted from the user terminal access unit 513 to the transmission bus interface unit 511; and carry the ATM cells transmitted from the transmission bus interface unit 511 in a predetermined frame.
  • the VPI / VCI of the cell is transmitted to the corresponding user terminal access unit 513.
  • the cell bearing unit may be an asymmetric digital subscriber line chip, a high-speed digital subscriber line chip, or a high-bit digital subscriber line chip.
  • a user terminal access unit 513 configured to convert a request data message transmitted from the user terminal into a cell, and send the converted cell in a predetermined frame to the cell carrying unit 512; the access unit will also The cells carried in the predetermined frame transmitted by the cell carrying unit 512 are restored into corresponding data messages and transmitted to the user terminal.
  • Figure 6 shows a third system that implements data message transmission.
  • the user terminal in the system shown in FIG. 6 can send the ATM cell corresponding to the request data message to the transmission bus through the user side, and the network side obtains it according to the cell sent by the transmission bus.
  • a corresponding request data message and sending the message to the IP network according to the destination MAC address in the request data message.
  • the IP network After receiving the request data message, the IP network returns a corresponding data message to the user terminal.
  • transmission bus interface units 600, 610, and 620 are connected to the transmission bus in FIG. 6, and they are connected to user equipment interface units 630, 640, and 650, respectively;
  • the transmission bus interface unit 600 and data message processing Unit 630 constitutes a network-side interface device;
  • transmission bus interface unit 610 and user equipment interface unit 640 constitute a user-side interface device;
  • transmission bus interface unit 620 and user equipment interface unit 650 constitute a user-side interface device.
  • the transmission bus interface unit 600 is a transmission bus interface unit with a priority scheduling function on the network side, and the transmission bus interface unit 610 and the transmission bus interface unit 620 are transmission user interface unit on the user side.
  • the data packet processing unit 630 is a network equipment interface unit on the network side, and the user equipment interface unit 640 and the user equipment interface unit 650 are user equipment interface units on the user side, respectively.
  • the IP network 660 is connected to the data packet processing unit 630, and the user terminal 641, the user terminal 642, the user terminal 643, the user terminal 644, and the user terminal 645 are connected to the user equipment interface unit 540 and the user equipment interface unit 650, respectively.
  • This virtual connection includes unicast.
  • the VC corresponding to the cell identity, the VC corresponding to the multicast cell identity, and the broadcast cell identity to establish the correspondence between the VPI, the VCI, and the cell identity.
  • the cell identity includes a unicast cell identity, a multicast cell identity, and a broadcast cell identity. It is set that the user terminal 641 needs the IP network 660 to send a data message to it.
  • the user terminal 641 transmits the request data message to the user equipment interface unit 640, and the user equipment interface unit 640 converts the request data message into a cell and transmits the request data message to the transmission bus interface unit 610 through a permanent virtual connection corresponding to the unicast cell identifier.
  • the transmission bus interface unit 610 After receiving the cell transmitted by the user equipment interface unit 640, the transmission bus interface unit 610 adds a unicast cell identifier and a port number and data of the transmission bus interface unit 600 to the slot number of the text processing unit 630, and sends the The unit and unicast cell identifier are sent to the transmission bus together with the port number and slot number. If the information carried by the received cell is a request for the IP network 660 to send a multicast data packet to it, the request information for requesting the IP network to send a multicast data packet also needs to be recorded; the request information includes the group of the requested multicast data packet Broadcast group number and user terminal address information. The request information for a multicast data message can be recorded in any component device of the system that implements the data message transmission.
  • Each transmission bus interface unit connected to the transmission bus receives the cells on the transmission bus at the same time. After receiving the cells, the transmission bus interface unit 600 determines according to the cell identifier that the received cells are unicast cells, multicast cells, Still broadcasting cells. If the cell identifier is a unicast cell identifier, it is determined according to the port number that it should receive the cell, and is transmitted to the data packet processing unit 620 through the permanent virtual connection corresponding to the unicast cell identifier according to the slot number; other transmissions The bus interface unit 620 discards the received cell by judging that the port number of the cell is not consistent with its own port number.
  • the data packet processing unit 620 After receiving the unicast cell transmitted by the transmission bus interface unit 600, the data packet processing unit 620 restores the unicast cell to a request data packet, and according to the media access control of the request data packet The address is transmitted to the IP network 660.
  • the data message processing unit 630 receives a data message transmitted from the IP network 660.
  • the data packets transmitted by the IP network 660 include unicast data packets, multicast data packets, and broadcast data packets. ,
  • the data message processing unit 630 can identify the type of the data message by judging the MAC address of the received data message.
  • the IP network 660 transmits a data message corresponding to the request data message to the data message processing unit 630 according to the request data message of the user terminal 641.
  • the IP network 660 needs to send a broadcast data packet, the data packet transmission to the broadcast data packet processing unit 630.
  • the transmission bus interface unit 600 receives a cell transmitted by the data packet processing unit 630 from the permanent virtual connection corresponding to the unicast cell identifier, adds a unicast cell identifier to the cell, and determines the cell according to the VPI and VCI of the cell. Its corresponding destination port number and slot number. If this unicast data message is a unicast data message sent by the IP network requested by user terminal 641, add the port number and user equipment of the transmission bus interface unit 610 to the cell The slot number of the interface unit 640; and sends the cell, the unicast cell identifier, the port number, and the slot number to the transmission bus together.
  • the transmission bus interface unit 600 receives a cell transmitted by the data packet processing unit 630 from the permanent virtual connection corresponding to the multicast cell identifier, and adds a multicast cell identifier and a multicast Group number; and send the cell with the multicast cell identifier and the multicast group number to the transmission bus.
  • the transmission bus interface unit 600 receives a cell transmitted by the data message processing unit 630 from the permanent virtual connection corresponding to the broadcast cell identifier, adds a broadcast cell identifier to it, and sends the cell and the broadcast cell identifier to the transmission together. bus.
  • the transmission bus interface unit 600 is a transmission bus interface unit with an arbitration function. When there are multiple cells converted from data packets that need to be sent, the transmission bus interface unit 600 may determine which transmission is allowed according to a predetermined algorithm and a predetermined priority. Cell.
  • Each transmission bus interface unit 610 and 620 receives a cell on the transmission bus.
  • the transmission bus interface unit 610 judges whether the received cells are unicast cells, multicast cells, or broadcast cells based on the cell identification.
  • the cell identifier of the cell received by the transmission bus interface unit 610 is a unicast cell identifier, then it is determined according to the port number of the cell whether it is the same as its own port number, and if it is the same, the unicast cell is passed according to the slot number. Identifies the corresponding permanent virtual connection and transmits it to the corresponding slot in the user equipment interface unit 640.
  • the user equipment interface unit 640 restores the cells transmitted by the transmission bus interface unit 610 to a unicast data packet, and according to the unicast data packet
  • the destination MAC address of the text transmits the unicast data ⁇ : the text to the user terminal 641. If not, the received cells are discarded.
  • the transmission bus interface unit 620 also processes the received cells according to the above method.
  • the transmission bus interface unit 610 If the cell identifier of the cell received by the transmission bus interface unit 610 is a multicast cell identifier, transmitting the cell to the corresponding slot of the user equipment interface unit 640 according to the recorded request information of the requested multicast data message, The user equipment interface unit 640 restores the cells transmitted by the transmission bus interface unit 610 to a multicast data message, and transmits the cells to the corresponding user according to the recorded request information. The other transmission bus interface unit 620 transmits the received cell to the corresponding user through the recorded request information of the request multicast data message.
  • the cell identifier of the cell received by the transmission bus interface unit 610 is a broadcast cell identifier
  • the cell is transmitted to each slot of the user equipment interface unit 640, and the user equipment interface unit 640 restores the cells transmitted by the transmission bus interface unit 610 into broadcast data messages, and transmits them to all user terminals connected to them.
  • the transmission bus interface unit 620 also transmits the cells received from the transmission bus to all user terminals connected to it according to the method described above.
  • FIG 7 shows a fourth system for data packet transmission.
  • This system is based on IP interface digital subscriber line access multiplexing equipment (IP DSLAM).
  • IP DSLAM IP interface digital subscriber line access multiplexing equipment
  • DSLAM is mainly composed of two service boards. These two service boards are a network interface board and a user interface board.
  • the main role of the network interface board is to provide a network-side interface for the DSLAM to connect the DSLAM equipment with the user terminal access unit (CPE).
  • CPE user terminal access unit
  • the user interface board and the user terminal access unit together form the user-side interface equipment in the DSLAM.
  • the network interface board 700 in the DSLAM includes a transmission bus interface unit 701, a data message processing unit 702, and a LANSWITCH chip 703.
  • the network interface board 700 is a network-side interface device
  • the transmission bus interface unit 701 is a transmission bus interface unit with an arbitration function on the network side.
  • the data packet processing unit 702 and the LANSWITCH chip 703 constitute the network device interface unit of the present invention.
  • the user interface board 710 in the DSLAM includes a transmission bus interface unit 711, an ADSL chip 712, and an ADSL chip 713.
  • ADSL chip 711 k CPE 730 is connected and forms a user equipment interface unit;
  • ADSL chip 712 is connected with CPE 740 and CPE 750 and forms a user equipment interface unit.
  • the user interface board 610 and the CPE 730, CPE 740, and CPE 750 together form a user-side interface device.
  • the IP network 720 is connected to the LANSWITCH chip 703, and the user terminals 731, 741, and 751 are connected to the user terminal access units CPE 730, CPE 740, and CPE 750, respectively.
  • the VC includes a VC corresponding to a unicast cell identifier, a VC corresponding to a multicast cell identifier, and a VC corresponding to a broadcast cell identifier. And establish the correspondence between VPI / VCI and cell identity.
  • the cell identity includes a unicast cell identity, a multicast cell identity, and a broadcast cell identity.
  • data communication is performed between the IP network and the user terminal through a DSLAM, and a protocol processing process thereof is shown in FIG. 8.
  • the user terminal sends a data packet to the IP network in the uplink direction, and the protocol processing method in the uplink direction is:
  • IP network data message sent by the user terminal is processed by the computer's protocol stack, encapsulated into an Ethernet frame, and then sent to the CPE;
  • the CPE After receiving the Ethernet frame, the CPE divides the data of the IP network into standard ATM cells according to the 1483B / AAL5 protocol, and then carries the ATM cells in the ADSL frame and sends it to the user interface board. ;
  • the user interface board recovers ATM cells from the ADSL frame, and sends the ATM cells to the network interface board through the transmission bus;
  • the network interface board composes the received ATM cells into an Ethernet frame according to the 1483B / AAL5 protocol, and sends the Ethernet frame to the IP network.
  • the data packet sent by the IP network to the user terminal is in the downlink direction.
  • the protocol processing process in the downlink direction is opposite to the uplink direction, so it will not be described again.
  • the user terminal 731 needs the IP network 720 to send a data message to the user, then the user terminal 731 transmits a request data message to the CPE 730, and the CPE 730 converts the request data message into a cell and the cell
  • the bearer carried in the ADSL frame is transmitted to the ADSL chip 712 through the VC corresponding to the unicast cell identifier; the ADSL chip 712 transmits the cell carried in the ADSL frame to the transmission bus interface unit 711 through the VC corresponding to the unicast cell identifier.
  • the DSLAM needs to record the request information of the multicast data message, that is, the multicast group number and user of the multicast data message. Address information of the terminal 731.
  • the request information can be recorded in DSLAM In any of its constituent units.
  • the ADSL chip 712 transmits the received cell to the transmission bus interface unit 711, and the transmission bus interface unit 711 adds a unicast cell identifier, the port number of the transmission bus interface unit 711, and the data packet processing unit 730 to the cell.
  • the slot number is sent to the transmission bus through the VC corresponding to the unicast cell together with the unicast cell identifier, the port number, and the slot number.
  • Each transmission bus interface unit connected to the transmission bus receives a cell on the transmission bus at the same time. After receiving the cell, the transmission bus interface unit 701 determines that the cell is a unicast cell according to the unicast cell identifier. According to the port number carried by the cell, it is determined that the local port should receive the cell, so the VC corresponding to the unicast cell identifier is transmitted to the data packet processing unit 702 according to the slot number. Of course, other transmission bus interface units connected to the transmission bus discard the cell according to the port number carried by the cell and its own port number.
  • the data packet processing unit 702 After receiving the unicast cell transmitted from the transmission bus interface unit 701, the data packet processing unit 702 restores the cell to a request data packet, and according to the request data packet MAC address, sends the request through the LANSWITCH chip 703 The data is transmitted to the IP network 720.
  • the IP network 720 sends a data packet to the user terminal 731, which is specifically transmitted to the data packet processing unit 702 through the LANSWITCH chip 703.
  • the data packets transmitted by the IP network 720 may be unicast data packets, multicast data packets, and broadcast data packets. Since the MAC addresses of the unicast data message, the multicast data message, and the broadcast data message are different, the data message processing unit 702 can identify the type of the data message by determining the MAC address of the received data message.
  • the IP network 720 transmits the data message corresponding to the request data message of the user terminal 731 to the data message processing unit 702 through the LANSWITCH chip 703.
  • Data message The processing unit 702 converts the received data message into a cell according to the MAC address.
  • the cell should be a unicast cell and transmitted to the transmission bus interface unit 701 through the VC corresponding to the unicast cell identifier; if it is a multicast Data message, the cell should be a multicast cell, and transmitted to the transmission bus interface unit 701 through the VC corresponding to the multicast cell identifier; if it is a broadcast data message, the cell should be a broadcast cell And transmit the VC corresponding to the broadcast cell identifier to the transmission bus interface unit 701.
  • the transmission bus interface unit 701 adds a unicast cell identifier to a cell transmitted from the VC corresponding to the unicast cell identifier, and determines the port number and slot number of the corresponding transmission bus interface unit 711 according to the VPI VCI of the cell, and The port number and slot number are added to the cell, and the cell is sent to the transmission bus through the VC corresponding to the unicast cell together with the unicast cell identifier and the port number slot number.
  • the transmission bus interface unit 701 adds a multicast cell identifier and a multicast group number to a cell transmitted from the VC corresponding to the multicast cell identifier, and passes the cell, the multicast cell identifier, and the multicast group number together through the group.
  • the VC corresponding to the broadcast cell identifier is sent to the transmission bus.
  • the transmission bus interface unit 701 adds a broadcast cell identifier to a cell transmitted from the VC corresponding to the broadcast cell identifier, and sends the cell and the broadcast cell identifier to the transmission bus through the VC corresponding to the broadcast cell identifier.
  • a transmission bus interface unit 711 connected to the transmission bus receives a cell on the transmission bus.
  • other transmission bus interface units connected to the transmission bus also receive the cell.
  • each transmission bus interface unit After each transmission bus interface unit receives the cell, it judges which cell is the received cell according to the cell identifier. After determining the type of the cell, it is determined whether the interface unit receives the cell or discards the cell according to the related information of the cell.
  • the transmission bus interface unit 711 determines that the port number of the cell is the same as its own port number, and then uses the VC corresponding to the unicast cell identifier to identify the cell.
  • the data is transmitted to the ADSL chip 712 corresponding to the slot number in the cell, and the ADSL chip 712 carries the cell in an ADSL frame, and transmits it to the CPE 730 through the VC corresponding to the unicast cell identifier.
  • the CPE 730 restores the cells in the received ADSL frame to a unicast data message, and transmits it to the user 731 according to the destination MAC address of the unicast data message.
  • Other transmission bus interface units connected to the transmission bus discard the cell by judging that the port number of the cell is not consistent with its own port number.
  • the transmission bus interface unit 711 determines that the user is a user to which the interface unit belongs according to the user address information in the recorded request information of the requested multicast data message, and therefore the The VC corresponding to the cell identification transmits the cell to the ADSL chip 712.
  • the ADSL chip 712 carries it in an ADSL frame and transmits it to the CPE 730 through the VC corresponding to the multicast cell identifier.
  • the CPE 730 restores the cells in the received ADSL frame to a multicast data message, and transmits it to the user terminal 731 according to the destination MAC address of the multicast data message.
  • the transmission bus interface unit 711 uses the user address information in the recorded request information of the requested multicast data message, and identifies the corresponding VC through the multicast cell.
  • the cell is transmitted to the ADSL chip 713 to which the user terminal 741 belongs.
  • the ADSL chip 713 carries the cell in an ADSL frame, and transmits the frame to the CPE 740 through the VC corresponding to the multicast cell identifier.
  • the CPE 740 restores the cells in the received ADSL frame to a multicast data message, and transmits it to the user terminal 741 according to the destination MAC address of the multicast data message. If other transmission bus interface units determine that the user address in the request message does not belong to this interface unit, the cell is discarded.
  • the transmission bus interface unit 711 determines that the cell is a broadcast cell according to the broadcast cell identifier
  • the VC corresponding to the broadcast cell identifier is transmitted to the ADSL chips 712 and 713
  • the ADSL chips 712 and 713 carry the cell
  • the ADSL frame is transmitted to the CPEs 730, 740, and 750 through the corresponding VC of the broadcast cell identifier.
  • CEP 730, 740 and 750 restore the cells in the ADSL frame to a broadcast data message, and transmit the broadcast data message to the user terminals 731, 741, and 751 according to the destination MAC address of the broadcast data message, respectively.
  • Other transmission bus interface units also transmit the broadcast data message to the corresponding users in the same way.
  • the user terminal may send a data packet requesting to join a certain multicast group to the user side. After receiving the request data packet, the user side converts the request data packet into an ATM cell and sends it to the ATM cell. Transmission bus; the network side receives the ATM cell from the transmission bus, and obtains a request data message corresponding to the ATM cell, and then records the VC identifier of the user and the multicast group to be joined according to the request data message
  • the main control module is requested to authenticate the authority of the user through the message channel.
  • the main control module determines whether there is a multicast VC for the multicast group. If it exists, it directly The user port is added to the multicast VC; otherwise, a multicast VC is established, and the user port is added to the multicast VC.
  • a protocol processing module may be added to the system shown in FIG. 7, the ATM cell is converted into a request data message by the protocol processing module, and an authentication request is sent to the main control module.
  • Figure 9 shows a system for data packet transmission for ATM networks, which is based on ATM DSLAM.
  • the network interface board 900 includes a transmission bus interface unit 901, a unicast message processing unit 903, a multicast message processing unit 902, and a protocol conversion module 904.
  • the RTU 930 is connected to the ADSL chip 912 in the user interface board 910, and the RTU 940 and 950 are connected to the ADSL chip 913.
  • the ADSL chip completes the functions of user ADSL line adaptation, access, and convergence of multicast VC and unicast VC.
  • one end of the network-side VC in FIG. 9 is terminated at the BAS device of the upper layer network, and one end is terminated at the protocol processing module, and the AVC network, the DSLAM uplink interface, and the ATM space bus are interposed in the middle.
  • the AVC network, the DSLAM uplink interface, and the ATM space bus are interposed in the middle.
  • multiple pieces are provided.
  • One end is terminated on each RTU, and the other end is terminated on the protocol processing module.
  • the user RTU, ADSL interface board, and ATM space bus are interposed.
  • the downlink forwarding process will be described.
  • the processing in the downstream direction is shown in Figure 10.
  • the ATM cells carried on the network-side VC are first converted by the protocol conversion module from ATM to IP, and the cells are composed into Ethernet frames, and the Ethernet is based on the correspondence between the network-side VC and the VLAN.
  • the network frame is marked with the corresponding VLAN ID, and then the Ethernet frame is unicasted and multicasted. Because the destination MAC address of the unicast frame is different from the destination MAC address of the multicast frame, the unicast can be achieved by the destination MAC address.
  • the unicast frame enters the unicast message processing unit 903 in FIG. 9, and the multicast frame enters the multicast message processing unit 902 in FIG. 9.
  • the multicast forwarding module converts a multicast Ethernet frame into an ATM cell according to the corresponding relationship between the multicast group (1,2) and the multicast VC (VC1, VC2), and adds a multicast group number and an ATM cell to the ATM cell.
  • the multicast cell identification, and the transmission bus interface unit 801 sends the ATM cell to the ATM bus through the multicast VC.
  • the unicast forwarding module converts the Ethernet frame into an ATM cell corresponding to the user VC according to the destination MAC address or VLAN of the unicast Ethernet frame.
  • a cell identifier and destination characteristic information are added to the element, and are transmitted to the bus by the transmission bus interface unit 901 through a unicast VC.
  • the user-side transmission bus interface unit 911 receives the ATM cell on the transmission bus, and transmits the ATM cell to the ADSL chip. Specifically, the transmission bus interface unit 911 Determine whether the receiving conditions are met according to the feature information of the destination and the unicast / multicast identifier carried by the cell. If so, remove the unicast / multicast identifier carried in the cell, strip the feature information of the destination, and The feature information of the destination sends the cell to the corresponding ADSL chip.
  • the ADSL chip receives the group of speech belonging to the port according to the set multicast receiving table, and receives the unicast cells belonging to the user VC on the port according to the set unicast receiving table.
  • the elements are multiplexed together to the user VC in the original cell order, so that a user VC can simultaneously transmit unicast cells and multicast cells. It should be pointed out that when an Ethernet frame is carried on an ATM, the cells cannot be out of order. Before the cells divided by an Ethernet frame are transmitted, the cells of other frames cannot be transmitted on the line.
  • a multicast Ethernet frame in an Ethernet frame is divided into four cells eight, B, C, and D, and a unicast Ethernet frame in the Ethernet frame is divided into four 1, 2, 3, and 4 Cells are sent by the sender in the order of ABCD1234. After the Ethernet frame reaches the receiver through multiple intermediate exchanges, the order of the cells cannot be changed.
  • the RTU After receiving the ATM cell sent by the ADSL chip, the RTU recovers the cell into an Ethernet frame and sends it to a user terminal such as a user computer or a set-top box.
  • multicast can not be completed through point-to-multipoint replication, but the internal ATM bus is used to implement multicast.
  • Each user port receives the multicast data on the bus according to the multicast group in which it is located, without the need for the CPU to perform cell replication, which also saves the bandwidth occupied by the device.
  • multiple multicast group data on the network side are carried on a VC, multiple multicast streams can be provided by one multicast server, which can effectively save uplink connection resources and equipment investment, and is also beneficial to networking. simplify.
  • multiple user VCs can converge to one network-side VC, and the network-side VC can carry both unicast data packets and multicast data packets, which reduces maintenance costs and saves network resources.
  • the processing in the uplink direction is shown in Figure 11. Specifically, the Ethernet frame sent by the user terminal is decomposed into ATM cells by the RTU and sent to the ADSL chip through the user VC.
  • the ADSL chip sends the ATM cell to the user-side transmission bus interface unit.
  • the transmission bus interface unit After receiving the ATM cell, the transmission bus interface unit directly adds a unicast cell identifier to the ATM cell according to the VPI VCI of the user VC. And the characteristic information of the destination, and send the cell, the unicast cell identifier, and the characteristic information of the destination to the transmission bus together.
  • the transmission bus interface unit on the network side determines that the received ATM cell is the cell it should receive according to the characteristic information of the destination end of the cell, and then sends the ATM cell to the unicast message processing module and the unicast message processing module. Convert the ATM cell into an Ethernet frame according to the cell's VPI / VCI, record the correspondence between the source MAC address and the user's VC identifier, and then send the Ethernet frame to the protocol conversion module. The protocol conversion module then uses the VLAN and The corresponding relationship of the network VC converts the Ethernet frame into ATM cells, and sends the ATM cells to the network-side VC, and the network-side VC sends the ATM cells to the ATM network.
  • the unicast message processing module may not perform Ethernet frame conversion on the ATM cell and learn the source MAC address. Instead, the unicast message processing module may perform the mapping based on the correspondence between the user VC and the network VC Send the ATM cell directly to the network-side VC.
  • the transmission bus interface unit connected to the transmission bus on the network side has a priority scheduling function, and implements cell transmission according to the arbitration function.
  • the data multiplexing in the upstream channel is jointly completed by the ATM backplane bus and the bus interface chip.
  • each interface chip connected to the transmission bus needs to send data to the transmission bus, it must obtain the token given by the arbiter; the token can be handed over after a complete frame of data is sent. This ensures that the services of multiple ADSL interface boards are aggregated into the strict framing in the protocol processing module, and no cell disorder occurs.
  • the point between the protocol processing module and the uplink interface board is a point-to-point channel, and there is no problem of multiplexing multiple data streams.
  • the multiplexing method of sending data on different ports of the same ADSL interface board is still statistically complex. use.
  • the bus interface chip sends the cells of each ADSL port in a round-robin manner. Each port sends a complete frame before sending data for the next port. This ensures that when an ADSL interface board is sent to the bus, it is also sent in frames, and no cell disorder occurs.
  • ATM DSLAM internally implements multicasting through the ATM space bus, which saves system resources and improves efficiency.
  • Multicast is not completed through point-to-multipoint replication, but instead uses the internal ATM space bus to implement multicast.
  • Each user port receives the multicast data on the bus according to the multicast group in which it is located. It does not require the CPU to perform cell replication, and saves Bandwidth occupied by the device.
  • multiple multicast group data can be carried on a VC.
  • multiple multicast streams can be provided by a multicast server to effectively save uplink connections.
  • Investment in resources and equipment is also conducive to simplification of networking; network-side multicast data streams and unicast data streams can also be carried on a VC to save uplink connection resources and reduce the maintenance workload of operator maintenance personnel.
  • the multicast data stream and unicast data stream can be carried on one VC, which is of great significance for simplifying the configuration of the terminal.
  • the unicast data and multicast data on the terminal side are carried on one VC, which can avoid the increase of When starting a multicast service, a large number of user terminals need to be reconfigured, which can also greatly reduce the workload of maintenance personnel.
  • the network interface board shown in FIG. 9 can also add a protocol processing module, and add a single board as a master control module on the transmission bus.
  • the main control module provides functions such as authentication of user multicast rights, management of user multicast channels, management of multicast users, data configuration, and provision of uplink interfaces.
  • the protocol processing module performs functions such as protocol conversion between ATM and Ethernet, capture of IGMP application messages, IGMP querier, and IGMP PROXY. If a protocol processing module is set, the module can also implement multicast and unicast data. Of the diversion.
  • the IGMP request is a module implemented using high-speed logic and works at the bottom. It mainly captures the message according to the format of the IGMP application message and reports it to the high-level software.
  • IGMP querier is a high-level software implementation
  • a function is to periodically send a general group query to all ADSL users to determine the user's multicast group joining status.
  • the IGMP PROXY module is also a function implemented by high-level software. It mainly performs proxy services for user requests and leave messages reported to the multicast router, and responds to general group queries and specific group queries sent by the multicast router on behalf of ADSL users. The main purpose is It is to reduce the traffic impact on the multicast router and improve the multicast efficiency.
  • the ATM DSLAM equipment after adding the main control module and protocol processing module can be set in the form shown in Figure 12.
  • users connected to ATM DSLAM devices can also dynamically join or leave multicast groups as needed, and after users leave, ATM DSLAM no longer sends multicast data to the user port.
  • the process for a user to join a multicast group is shown in Figure 13, and the specific process is as follows: After the user opens a multicast application, the computer sends a message requesting to join a multicast group, and the request message is The RTU is decomposed into ATM cells and exchanged to the network-side protocol processing module through the corresponding user VC.
  • the protocol processing module forms the ATM cells into an Ethernet frame, that is, according to the protocol carried on the ATM by the Ethernet frame RFC1483B, restore the frame of 1483B into an Ethernet frame; the underlying hardware logic recognizes this message according to the standard IGMP protocol, and captures it to the software of the protocol processing module.
  • the software uses the request message to identify the user VC ID and the user request
  • the joined multicast group is recorded in the user table, and at the same time, a high-level message is sent to the main control module through the message channel, requesting the authorization of the user.
  • the main control module After the main control module passes the authentication, it sends a response to the protocol processing module.
  • Establish a multicast VC connection for this multicast group send a message to notify the ADSL interface board, and then add the user port To the multicast VC in.
  • the function of the IGMP querier sends a multicast general query to all ADSL users through the user VC at a certain interval. If a user does not send a response message for a long time, the user is considered to have left the multicast group. The other is that when a user computer supporting the IGMP V2 protocol leaves a multicast group, it sends a leave multicast group message to the upper-layer network. After capturing the message, the protocol processing module determines that the user has left a specific multicast group. Broadcast group.
  • the protocol processing module After determining that a user leaves a multicast group, the protocol processing module sends a high-level message to the main control module, and the main control module sends a message to the user interface board to delete the user port from the corresponding multicast VC. In this way, the user will No more data messages will be received from this multicast group.
  • the interface unit connected to the transmission bus will have a priority scheduling function, but for the user-side transmission bus interface unit, the data packets transmitted to the transmission bus may only be unicast data packets Therefore, the priority scheduling function of the interface unit can be disabled.

Abstract

This invention discloses a method and system of implementing the transmission of the data packet, this method includes the steps of: first set up a transmitting bus connected to the send port and the receive port, and set the cells which are transmitted over the transmitting bus, the send port then converts the data packets which are to be transmitted, and send the cells to the transmitting bus, and transmit the data packet corresponding to the cell according to the information carried by the cell. At the same time, this invention also discloses a system for implementing the transmission of the data packet. This invention implements the unicast, multicast of the packet transmission between the network and the user, in particularly, when the network needs to transmit a number of multiple data packet, saves the network resource, improves the transmitting performance of the network by converting the multicasting data packets into cells and transmitting over the transmitting bus to reduce the cose of the communication as the communicating device supports the same number of users.

Description

一种实现数据报文传输的方法及系统  Method and system for implementing data message transmission
技术领域 Technical field
本发明涉及网絡通讯技术领域, 更确切地说是涉及一种实现数据^ =艮 文传输的方法, 以及实现数据报文传输所基于的系统。 发明背景  The present invention relates to the field of network communication technology, and more particularly, to a method for implementing data transmission and a system based on which data transmission is implemented. Background of the invention
目前的网络通讯系统中, 数据报文的传输方式包括: 单播、及多播。 其中, 多播又包括组播和广播。 单播是基于点对点的传输方式; 组播是 基于一点发送、 特定的多点接收的传输方式; 而广播是基于一点发送, 不特定的多点接收的传输方式。  In the current network communication system, data message transmission methods include: unicast and multicast. Among them, multicast includes multicast and broadcast. Unicast is a point-to-point transmission method; multicast is a transmission method based on one-point transmission and specific multi-point reception; and broadcast is a transmission method based on one-point transmission and unspecified multi-point reception.
随着互联网中诸如流媒体、 视频会议和视频点播之类的多媒体业务 成为网络通讯系统中信息传输的重要组成部分, 组播数据报文在网络中 的传输越来越多, 组播传输方式在网絡通讯中也就越来越重要。  As multimedia services such as streaming media, video conferencing, and video-on-demand on the Internet become an important part of information transmission in network communication systems, more and more multicast data packets are transmitted on the network. It becomes more and more important in network communication.
现有的网络通讯技术大多是基于单播和广播传输方式, 因此, 可以 考虑利用单播和广播传输方式来实现组播数据报文的传输。 下面对互联 网中采用单播和广播实现组播数据报文传输的方法作简要说明。  Most of the existing network communication technologies are based on unicast and broadcast transmission methods. Therefore, unicast and broadcast transmission methods can be considered to realize the transmission of multicast data packets. The following is a brief description of the method of implementing multicast data message transmission using unicast and broadcast in the Internet.
在采用单播方式实现组播时, 由于单播的传输方式为单点发送、 单 点接收, 这种传输方式要求服务器为每个请求发送报文的用户复制一份 相应的报文, 并将该 ^艮文发送给用户, 因此, 如果用单播方式实现组播 数据报文的传输, 当多个用户请求发送的报文相同时, 服务器会针对每 个用户的请求复制一份相同内容的报文, 并分别通过网络节点发送给请 求发送报文的每个用户。 显然, 这样网络上会因重复传输相同内容的报 文而占用大量的系统资源。 另外, 这种处理方式要求系统中的服务器需 要重复复制相同内容的报文并发送, 这会造成数据传输的瓶颈, 浪费服 务器的资源, 并导致服务器的处理能力下降。 When unicast is used to implement multicast, since the unicast transmission method is unicast transmission and single reception, this transmission method requires the server to copy a corresponding message for each user requesting to send a message, and The message is sent to the user. Therefore, if the transmission of multicast data messages is implemented in unicast mode, when multiple users request the same message to be sent, the server will copy a copy of the same content for each user's request. The message is sent to each user who requests the message through the network node. Obviously, a large amount of system resources will be occupied on the network due to repeated transmission of packets with the same content. In addition, this processing method requires the server in the system to repeatedly copy and send packets with the same content, which will cause a bottleneck in data transmission and waste service. Server resources and cause server processing power to decrease.
在采用广播方式实现组播时, 由于广播的传输方式为单点发送、 不 特定的多点接收, 这种传输方式要求网络中的某个节点的用户发送报文 时, 其他所有用户节点都要接收, 因此, 如果用广播方式实现组播数据 报文的传输, 只要有一个用户请求数据报文, 则系统中服务器就要将该 数据报文向所有的用户发送, 并且网络中的所有用户都要接收该数据报 文。 而实际上并不是所有的用户都需要这些数据报文, 因此这种处理方 式会造成不必要的报文在网络中的传输, 从而会造成数据传输的瓶颈, 并浪费网络资源。 另外, 目前的广播方式是通过复制数据报文实现的, 因此, 系统可能需要复制很多的数据报文, 显然, 这会浪费网络资源。  When the broadcast method is used to implement multicast, since the transmission mode of the broadcast is unicast transmission and unspecified multipoint reception, this transmission method requires that when a user of one node in the network sends a message, all other user nodes must Receive, so if the multicast data transmission is implemented in a broadcast mode, as long as one user requests a data message, the server in the system will send the data message to all users, and all users in the network To receive the data message. In fact, not all users need these data packets, so this processing method will cause unnecessary packets to be transmitted on the network, which will cause a bottleneck in data transmission and waste network resources. In addition, the current broadcast mode is implemented by copying data packets. Therefore, the system may need to copy many data packets. Obviously, this will waste network resources.
由上述描述可知, 基于单播或广播的传输方式实现组播传输具有很 大的局限性。 当然单播传输方式不适用于广播, 而广播的传输方式也不 能用于单播。  It can be known from the above description that the implementation of multicast transmission based on unicast or broadcast transmission has great limitations. Of course, unicast transmission is not suitable for broadcast, and broadcast transmission cannot be used for unicast.
对于组播来说, 由于多媒体业务已经成为网络通讯系统中信息传输 的重要组成部分, 因此组播数据报文的传输也就成为必须要解决的问 题。 或者说, 在开展了流媒体、 视频会议或视频点播等多媒体业务的网 络通讯系统中, 如果希望能够简单高效地实现数据报文的传输, 则必须 很好地解决组播数据报文在网络中的传输。  For multicast, since multimedia services have become an important part of information transmission in network communication systems, the transmission of multicast data packets has become a problem that must be solved. In other words, in a network communication system where multimedia services such as streaming media, video conferencing, or video on demand are carried out, if it is desired to simply and efficiently implement data packet transmission, it is necessary to solve multicast data packets in the network well. Transmission.
下面对组播的特性及目前网络通讯系统中实现组播数据报文传输的 方法进行详细的说明。  The following is a detailed description of the characteristics of multicast and the method of implementing multicast data message transmission in current network communication systems.
组播所采用的信息传输方式为单点发送、 特定的多点接收, 这种传 输方式要求服务器可以向网络中特定的多个接收者发送数据报文。 因 此, 当同一网络节点下的一个或多个用户请求发送的数据报文相同时, 组播服务器在理论上应该只需要拷贝一份报文, 并将其发送到该网络节 点, 网络节点中的用户则根据自己的需求接收报文。 目前, 现有的解决组播数据报文传输的方法可以基于以太网交换模 块实现, 该以太网交换模块即为上述的网络节点, 与该以太网交换模块 连接的网络可以为 IP网络,该模块内部的具体连接关系如图 1所示。在 图 1中,用户 1到用户 4均通过交换模块中的用户接口与交换模块相连, 组播服务器通过交换模块中的网络接口与交换模块连接。 基于图 1所示 的结构, 组播服务器根据用户的申请将相应的組播数据报文发送到交换 模块, 且该报文只有一份; 交换模块通过网络接口接收组播服务器发送 来的组播数据报文, 并将其存放到自身的共享緩冲区中; 假设用户 1和 用户 4需要共享緩冲区中存放的组播数据报文, 则交换模块将相应的组 播数据报文复制到用户接口 1和用户接口 4; 用户 1从用户接口 1接收 组播数据报文, 用户 4则从用户接口 4接收组播数据报文。 通过上述过 程, 则完成了组播数据报文的传输。 The information transmission method adopted by multicast is single-point transmission and specific multi-point reception. This transmission method requires the server to send data packets to specific multiple receivers in the network. Therefore, when one or more users under the same network node request the same data message, the multicast server should theoretically only need to copy one message and send it to the network node. Users receive messages according to their needs. At present, the existing method for solving the transmission of multicast data messages can be implemented based on an Ethernet switching module, which is the above-mentioned network node, and the network connected to the Ethernet switching module can be an IP network. The module The specific internal connection relationship is shown in Figure 1. In FIG. 1, users 1 to 4 are connected to the switching module through a user interface in the switching module, and a multicast server is connected to the switching module through a network interface in the switching module. Based on the structure shown in FIG. 1, the multicast server sends a corresponding multicast data packet to the switching module according to the user's application, and there is only one packet; the switching module receives the multicast sent by the multicast server through the network interface. Data packets and store them in their own shared buffers; assuming that user 1 and user 4 need the multicast data messages stored in the shared buffer, the switching module copies the corresponding multicast data messages to User interface 1 and user interface 4; user 1 receives a multicast data message from user interface 1, and user 4 receives a multicast data message from user interface 4. Through the above process, the transmission of the multicast data message is completed.
连接在交换模块上的用户数量根据需要可能会增多, 因此, 交换模 块复制传输的负担也就会相应地增大, 这种情况下, 则需要设置级联交 换模块。 基于级联交换模块的具体连接方式如图 2所示。 在图 2中, 交 换模块 1至交换模块 5组成组播设备, 组播服务器通过组播设备中的网 絡接口与组播设备相连; 交换模块 2至交换模块 5分别与交换模块 1连 接, 且交换模块 1将其下所级联的交换模块 2至 5作为自己的用户。 用 户 1、 2与交换模块 2相连, 用户 3与交换模块 3相连, 用户 4与交换 模块 4相连, 用户 5、 6则与交换模块 5相连。  The number of users connected to the switching module may increase according to needs. Therefore, the burden of copying and transmitting the switching module will increase accordingly. In this case, a cascade switching module needs to be set up. The specific connection mode based on the cascade switch module is shown in Figure 2. In FIG. 2, the switching module 1 to the switching module 5 constitute a multicast device, and the multicast server is connected to the multicast device through a network interface in the multicast device; the switching module 2 to the switching module 5 are respectively connected to the switching module 1 and exchanged Module 1 uses its cascaded switching modules 2 to 5 as its own users. Users 1, 2 are connected to switch module 2, user 3 is connected to switch module 3, user 4 is connected to switch module 4, and users 5, 6 are connected to switch module 5.
基于图 2所示的连接, 组播服务器根据用户 1至 6的组播报文数据 申请情况, 将相应的组播数据报文发送到组播设备, 组播设备则通过网 络接口接收组播服务器发送的组播数据报文, 并将该数据报文存放在交 换模块 1的共享緩冲区中。 如果用户 1和用户 4需要该数据报文, 则交 换模块 1将自身共享緩冲区中保存的这个数据报文复制并发送到交换模 块 2和交换模块 4; 交换模块 2和交换模块 4接收交换模块 1发送来的 组播数据报文, 并将该数据报文存放在自身的共享緩冲区中; 之后, 交 换模块 2将自身共享緩冲区中保存的这个数据报文发送到用户 1, 交换 模块 4则将自身共享緩冲区中保存的这个数据报文发送到用户 4。 通过 上述过程, 完成了组播数据报文的传输。 Based on the connection shown in FIG. 2, the multicast server sends corresponding multicast data packets to the multicast device according to the application data of the multicast messages of users 1 to 6, and the multicast device receives the multicast server through the network interface. Send a multicast data message, and store the data message in a shared buffer of the switching module 1. If user 1 and user 4 need the data message, switch module 1 copies and sends the data message stored in its shared buffer to the switch module. Block 2 and switching module 4; switching module 2 and switching module 4 receive the multicast data message sent by switching module 1, and store the data message in its own shared buffer; after that, switching module 2 stores itself This data message stored in the shared buffer is sent to user 1, and the switching module 4 sends this data message stored in its own shared buffer to user 4. Through the above process, the transmission of the multicast data message is completed.
对于上述两种实现组播数据报文传输的方案来说, 存在以下问题: For the above two solutions for transmitting multicast data packets, the following problems exist:
1 )由于每个组播数据报文都要占用一份带宽, 因此, 系统所要传输 的組播数据报文越多, 交换模块所要复制的数据报文也就越多, 这必然 会降低交换模块的处理能力 , 从而使网絡的传输性能受限; 1) Since each multicast data message occupies a share of bandwidth, the more multicast data messages the system needs to transmit, the more data messages the switching module needs to replicate, which will inevitably reduce the switching module. Processing capacity, which limits the transmission performance of the network;
2 )网络中传输的数据报文有很多是复制的数据报文, 也就是说, 网 絡中传输的数据报文有很大一部分的内容相同, 这必然会浪费网络资 源;  2) Many data packets transmitted in the network are duplicate data packets, that is, a large part of the data packets transmitted in the network have the same content, which will inevitably waste network resources;
3 )交换模块需要将存放在自身共享緩冲区中的组播数据报文复制到 相应的级联交换模块或用户, 这对交换模块的处理性能要求较高; 3) the switching module needs to copy the multicast data message stored in its own shared buffer to the corresponding cascade switching module or user, which requires higher processing performance of the switching module;
4 )对于通过级联实现组播传输的方案来说, 如果连接在某个级联交 换模块下的用户很多, 并且这些用户申请很多的组播数据报文, 则对交 换模块之间数据传输的带宽要求很高, 以图 2中的交换模块 2为例, 该 交换模块中需要转发的组播数据报文越多, 则占用交换模块 1和交换模 块 2之间的带宽就越多, 因此, 在带宽一定的情况下, 交换模块 1和与 自身级联的交换模块之间必然会存在传输瓶颈; 4) For a scheme for implementing multicast transmission through cascading, if there are many users connected to a cascade switching module, and these users apply for many multicast data packets, the data transmission between the switching modules Bandwidth requirements are very high. Taking switching module 2 in FIG. 2 as an example, the more multicast data packets that need to be forwarded in this switching module, the more bandwidth is occupied between switching module 1 and switching module 2. Therefore, With a certain bandwidth, there will be a transmission bottleneck between switch module 1 and the cascaded switch module.
5 )上述带宽和交换模块处理能力的问题限制了通讯设备所支持的用 户数目, 如果要保证能够支持同等数目的用户, 则需要大幅增加通讯设 备的成本, 从而使得网络设备的成本过高。  5) The above problems of bandwidth and processing capacity of the switching module limit the number of users supported by the communication equipment. If it is to be guaranteed that it can support the same number of users, the cost of the communication equipment needs to be increased significantly, thereby making the cost of the network equipment too high.
如果上述网络是异步传输模式(ATM ) 网络, 则交换设备可以为异 步传输模式数字用户线接入复用器( ATM DSLAM ), ATM DSLAM内 部通过点到多点连接实现多播复制。 如图 3所示, 每个网络服务器, 即 多播源 1都要建立一条虚连接(VC ), 以连接到 ATM DSLAM。 由于使 用上网 VC,传送多播数据会因多播信元和上网信元交错在一起而造成信 元乱序 ,因此每个用户远端终端设备( RTU )上除了建立上网使用的 VC, 连接以外, 还要建立专用的多播 VC"。 If the above network is an asynchronous transmission mode (ATM) network, the switching device may be an asynchronous transmission mode digital subscriber line access multiplexer (ATM DSLAM), which is within the ATM DSLAM. The department implements multicast replication through point-to-multipoint connections. As shown in FIG. 3, each network server, that is, multicast source 1, must establish a virtual connection (VC) to connect to the ATM DSLAM. Due to the use of Internet VC, the transmission of multicast data will cause the cells to be out of order due to the interleaving of multicast cells and Internet cells. Therefore, in addition to establishing a VC for Internet access on each user's remote terminal device (RTU), And also establish a dedicated multicast VC ".
ATM DSLAM上还需要配置多播转发表,该表指定了用户多播 VC" 和多播源 VC的对应关系, ATM DSLAM从多播源 VC上接收多播数据 后, 即根据该多播转发表将多播数据复制到指定的用户多播 VC"上。  The ATM DSLAM also needs to be configured with a multicast forwarding table, which specifies the correspondence between the user multicast VC "and the multicast source VC. After receiving the multicast data from the multicast source VC, the ATM DSLAM uses the multicast forwarding table. Copy the multicast data to the specified user multicast VC ".
对于这种方案来说, 由于 ATM DSLAM 中的多播转发表需要使用 VC的 VPI/VCI来标识不同的多播源,每个多播源都必须作为一个 ATM 节点, 因而不能实现一条 VC连接承载多个多播组。 这一方面造成连接 资源和设备的浪费, P争低了組网的灵活性和简便性, 另一方面, 如果要 增加新的多播源, 就必须增加数据配置, 因此网络的扩展性比较差。  For this solution, because the multicast forwarding table in ATM DSLAM needs to use VC's VPI / VCI to identify different multicast sources, each multicast source must be an ATM node, so it cannot implement a VC connection bearer. Multiple multicast groups. On the one hand, this causes waste of connection resources and equipment, and P reduces the flexibility and simplicity of networking. On the other hand, if new multicast sources are to be added, data configuration must be increased, so the scalability of the network is poor. .
网络侧的多播流和单播业务流需要经过不同的 VC 下行到 ATM DSLAM。 这是由于单播流和多播流在 DSLAM上的处理是不一样的, 单播流在 DSLAM上只进行筒单的交叉连接, 而多播流则要根据虚路径 标识符及虚信道标识符 (VPI/VCI )标识进行多播转发, 因此, 单播流 和多播流下行不能使用同一条 VC。  Multicast streams and unicast service streams on the network side need to pass through different VCs to the ATM DSLAM. This is because unicast streams and multicast streams are processed differently on DSLAM. Unicast streams are only cross-connected on DSLAM. Multicast streams are based on virtual path identifiers and virtual channel identifiers. The (VPI / VCI) identifier is used for multicast forwarding. Therefore, the unicast stream and the multicast stream cannot use the same VC for downlink.
对于用户 RTU来说, 需要配置至少两条 VC, 造成终端设备比较复 杂。 具体来说, RTU的配置要求本应是尽量筒单、 固定, 但是, 为防止 单播数据和多播数据的信元乱序, 因此, DSLAM下行到 RTU时, 需要 在两条 VC上分别承载单播数据和多播数据,这就给 RTU的配置带来一 定的复杂性。  For the user RTU, at least two VCs need to be configured, which makes the terminal equipment complicated. Specifically, the RTU configuration requirements should be as simple and fixed as possible. However, to prevent the unicast data and the multicast data from being out of order, therefore, when the DSLAM is downlinked to the RTU, it needs to be carried on two VCs. Unicast data and multicast data bring some complexity to the configuration of RTU.
另外, ATM DSLAM内部是通过点到多点连接实现多播复制的, 效 率不高, 并且 DSLAM内部要进行多播数据复制, 增加了 DSLAM设备 T N2004/000911 的负载, 多播数据过多时很容易变成性能瓶颈。 In addition, ATM DSLAM internally implements multicast replication through point-to-multipoint connections, which is not efficient, and multicast data is replicated within DSLAM, adding DSLAM equipment With the load of T2004 / 000911, too much multicast data can easily become a performance bottleneck.
还有, ATM DSLAM是根据组播转发表固定转发的, 这就使得用户 无法动态加入或者离开某个多播組。 用户如果需要接收某个多播组数 据, 必须要向运营商提出开通业务申请。 运营商在为该用户开通了这项 申请之后, 即使用户关闭了终端设备上的多播终端软件, 也即不需要再 接收该多播数据时, ATM DSLAM仍会将该多播数据发送到用户 RTU。 并且多播转发表是由网络管理员负责管理配置, 这就造成了业务开展不 灵活, 增加了维护的工作量, 并且在用户不需要时占用了用户的带宽。  In addition, ATM DSLAM is fixedly forwarded according to the multicast forwarding table, which prevents users from dynamically joining or leaving a multicast group. If a user needs to receive data of a certain multicast group, he must apply to the operator for service provisioning. After the operator opens this application for the user, even if the user closes the multicast terminal software on the terminal device, that is, when the user no longer needs to receive the multicast data, the ATM DSLAM will still send the multicast data to the user RTU. In addition, the multicast forwarding table is managed and configured by the network administrator, which results in inflexible service development, increases the workload of maintenance, and consumes the user's bandwidth when the user does not need it.
综上所述, 现有的组播传输方法不能完全满足组播传输的需要。 另 外, 目前没有一种传输方法能够同时满足单播、 组播及广播的需要。 发明内容  In summary, the existing multicast transmission method cannot fully meet the needs of multicast transmission. In addition, there is currently no transmission method that can simultaneously meet the needs of unicast, multicast, and broadcast. Summary of the invention
有鉴于此, 本发明的主要目的在于提供一种实现数据报文传输的方 法, 以实现对包括单播、 组播及广播在内的数据报文的传输, 并且不会 因传输多播数据报文而浪费网络的资源。  In view of this, the main purpose of the present invention is to provide a method for implementing data message transmission, so as to realize the transmission of data messages including unicast, multicast, and broadcast, and not to transmit multicast datagrams. Text and waste network resources.
本发明的另一个目的在于提供一种实现数据报文传输的系统。  Another object of the present invention is to provide a system for implementing data message transmission.
本发明的一种实现数据报文传输的方法, 该方法包括以下步骤: a. 发送端将待发送的数据报文转换为信元并发送出去;  A method for implementing data packet transmission according to the present invention includes the following steps: a. The transmitting end converts a data packet to be sent into a cell and sends it;
b. 接收端接收该信元, 并才艮据信元所承载的信息将该信元所对应的 数据报文传输出去。  b. The receiving end receives the cell, and transmits the data message corresponding to the cell according to the information carried by the cell.
进一步地, 还可以设置连接发送端与接收端的传输总线, 所述信元 为设置在传输总线上传输的信元, 且所述信元具有对应的 VPI/VCI, 该 信元可以为 ATM信元;  Further, a transmission bus connecting the transmitting end and the receiving end may be set, the cell is a cell set to be transmitted on the transmission bus, and the cell has a corresponding VPI / VCI, and the cell may be an ATM cell ;
则步骤 a中, 所述发送端将转换后的信元传输到传输总线: 步骤 b中, 所述接收端从传输总线接收该信元。 所述数据报文包括: 单播数据报文、组播数据报文和广播数据报文。 本发明的一种实现数据报文传输的系统, 该系统包括: Then in step a, the transmitting end transmits the converted cell to the transmission bus: in step b, the receiving end receives the cell from the transmission bus. The data message includes: a unicast data message, a multicast data message, and a broadcast data message. A system for implementing data message transmission according to the present invention includes:
网络侧接口设备: 将网絡发送来的数据报文转换为信元, 将信元与 信元标识一起发送到传输总线;  Network-side interface device: converts a data message sent from the network into a cell, and sends the cell and the cell identifier to the transmission bus together;
用户侧接口设备: 接收网络侧接口设备发送到传输总线上的信元, 才艮据所述信元的信元标识将该信元发送到相应的用户终端。  User-side interface device: Receives a cell sent by a network-side interface device to a transmission bus, and then sends the cell to a corresponding user terminal according to a cell identifier of the cell.
该系统中的用户侧接口设备可以进一步将用户终端发送来的数据报 文转换为信元, 并将其与单播信元标识一起发送到传输总线;  The user-side interface device in the system can further convert the data message sent by the user terminal into a cell, and send it to the transmission bus together with the unicast cell identifier;
网络侧接口设备则可以进一步接收用户侧接口设备发送到传输总线 上的信元, 将该信元所对应的数据报文发送给网络。  The network-side interface device may further receive a cell sent by the user-side interface device to the transmission bus, and send a data packet corresponding to the cell to the network.
本发明方案通过用户侧将用户终端的请求数据报文通过传输总线发 送到网络侧, 并记录请求数据报文的相关信息; 网络侧将网络中待发送 的单播数据报文及多播数据报文转换为信元后, 传输至传输总线; 与传 输总线连接的各个用户侧接收传输总线上的信元, 并根据信元标识及用 户终端的要求将该信元发送到相应的用户终端, 使得本发明在多个用户 侧需要同一个信元时, 不需要多次复制该信元即可将该信元传输至相应 的用户侧, 使得系统在多播数据报文时, 也不会出现传输瓶颈, 筒单高 效地实现了多播数据报文的传输, 节约了网络资源, 提高了网络通讯设 备的传输性能, 从而实现了在通讯设备支持同等数目的用户的情况下, 降低通讯设备成本的 ϋ的。  In the solution of the present invention, the user terminal sends the request data message of the user terminal to the network side through the transmission bus, and records related information of the request data message; the network side sends the unicast data message and multicast data message to be sent in the network After the text is converted into a cell, it is transmitted to the transmission bus; each user side connected to the transmission bus receives the cell on the transmission bus, and sends the cell to the corresponding user terminal according to the cell identifier and the requirements of the user terminal, so that In the present invention, when multiple users need the same cell, the cell does not need to be copied multiple times to transmit the cell to the corresponding user, so that the system does not transmit when a multicast data message is transmitted. The bottleneck and the package efficiently implement the transmission of multicast data messages, save network resources, and improve the transmission performance of network communication equipment, thereby reducing the cost of communication equipment when the communication equipment supports the same number of users. Alas.
另外, 本发明方案还提供了针对 ATM 网络的数据报文传输的处理 过程, 由于不需要通过组播转发表进行组播报文的传输, 使得网络侧多 个组播组数据可以放在一条 VC上承载, 因此多个组播流可以由一台组 播服务器提供, 从而有效地节省了上行连接资源和设备投资, 也有利于 组网的简化。 网络侧组播数据流和单播数据流也可以放在一条 VC上承 载, 从而节省了上行连接资源, 减少了运营商维护人员的维护工作量。 用户侧的组播数据流与单播数据流可以放在一条 VC上承载, 可以避免 增开组播业务时还需要重新配置大量的用户终端, 大大减少了维护人员 的工作量。 ATM DSLAM内部通过 ATM传输总线实现多播, 节省了系 统资源, 提高了效率, 并且, 各个用户端口根据自身所在组播組接收总 线上的组播数据,不需要 CPU进行信元复制,也节省了设备内部的带宽 资源。 In addition, the solution of the present invention also provides a processing procedure for data packet transmission of the ATM network. Since multicast packet transmission does not need to be transmitted through a multicast forwarding table, multiple multicast group data on the network side can be placed on one VC. As a result, multiple multicast streams can be provided by one multicast server, which effectively saves uplink connection resources and equipment investment, and also facilitates simplified networking. Network-side multicast data streams and unicast data streams can also be placed on a VC This saves uplink connection resources and reduces the maintenance workload of operator maintenance personnel. The user-side multicast data stream and unicast data stream can be carried on a VC, which can avoid the need to reconfigure a large number of user terminals when adding multicast services, which greatly reduces the workload of maintenance personnel. The ATM DSLAM internally implements multicasting via the ATM transmission bus, which saves system resources and improves efficiency. Moreover, each user port receives multicast data on the bus according to its own multicast group. It does not require the CPU to perform cell replication and saves Bandwidth resources inside the device.
还有,本发明方案还实现了用户根据需要动态地加入或离开组播组, 且系统可以根据预先设定的权限控制用户加入组播组, 用户离开后, 系 统也不再向其发送组播数据, 减少了用户端口的带宽占用, 提高了转发 效率。 附图简要说明  In addition, the solution of the present invention also enables users to dynamically join or leave multicast groups as needed, and the system can control users to join multicast groups according to pre-set permissions. After users leave, the system no longer sends multicasts to them Data, reducing the bandwidth occupation of user ports and improving forwarding efficiency. Brief description of the drawings
图 1为现有技术中利用交换模块实现多播数据报文传输的示意图; 图 2为现有技术中利用交换模块级联实现多播数据报文传输的示意 图;  FIG. 1 is a schematic diagram of implementing a multicast data message transmission using a switching module in the prior art; FIG. 2 is a schematic diagram of implementing a multicast data message transmission using a cascade of switching modules in the prior art;
图 3为现有技术中基于 ATM DSLAM设备构成的多个多播、广域网 络、 带宽接入以及用户 RTU系统的示意图;  3 is a schematic diagram of multiple multicast, wide area network, bandwidth access, and user RTU systems based on ATM DSLAM equipment in the prior art;
图 4为本发明实施例中第一种实现数据报文传输的系统;  4 is a first system for implementing data message transmission in an embodiment of the present invention;
图 5为本发明实施例中第二种实现数据报文传输的系统;  5 is a second system for implementing data message transmission according to an embodiment of the present invention;
图 6为本发明实施例中第三种实现数据报文传输的系统;  FIG. 6 is a third system for implementing data packet transmission according to an embodiment of the present invention; FIG.
图 7为本发明实施例中基于 IP DSLAM实现数据报文传输的系统; 图 8为图 7所示系统中的协议处理示意图;  7 is a system for implementing data packet transmission based on IP DSLAM in an embodiment of the present invention; FIG. 8 is a schematic diagram of protocol processing in the system shown in FIG. 7;
图 9为本发明实施例中基于 ATM DSLAM实现数据报文传输的系 图 10为图 9所示系统中下行传输数据报文的处理流程图; 图 11为图 9所示系统中上行传输数据报文的处理流程图; 图 12为图 9所示系统中的 ATM DSLAM设备在增加相关模块后的 结构示意图; FIG. 9 is a diagram illustrating a system for transmitting data packets based on an ATM DSLAM in an embodiment of the present invention. 10 is a flowchart of processing a downlink transmission data message in the system shown in FIG. 9; FIG. 11 is a flowchart of processing a transmission data message upstream in the system shown in FIG. 9; FIG. 12 is an ATM DSLAM in the system shown in FIG. Structure diagram of the equipment after adding relevant modules;
图 13为图 9所示系统中用户加入组播组的处理流程图。 实施本发明的方式  FIG. 13 is a processing flowchart of a user joining a multicast group in the system shown in FIG. 9. Mode of Carrying Out the Invention
本发明的核心思想为: 在发送端和接收端之间设置传输总线, 并设 置用于在传输总线上传输的信元, 发送端将网络中待发送的数据报文转 换为所述信元, 并将该信元发送到传输总线; 接收端则从传输总线上接 收所述信元, 并根据该信元所承载的信息将其还原为数据报文。 基于本 发明的核心思想 , 即可实现网络中与网络侧连接的网络 ^良务器和与用户 侧连接的用户终端之间的信息传输。  The core idea of the present invention is: setting a transmission bus between a transmitting end and a receiving end, and setting a cell for transmission on the transmission bus, and the transmitting end converts a data message to be transmitted in the network into the cell, And sending the cell to the transmission bus; the receiving end receives the cell from the transmission bus, and restores the cell to a data message according to the information carried by the cell. Based on the core idea of the present invention, information transmission between a network server connected to the network side and a user terminal connected to the user side in the network can be realized.
本发明所采用的传输总线具体可以采用基于 ATM传输总线标准的 总线。一条基于 ATM传输总线标准的总线最多可以同时支持 32个传输 总线接口单元, 也就是说, 该传输总线所连接的用户侧和网絡侧之和为 32。 目前, 基于 ATM传输总线标准的总线能够提供 IGbps以上的共享 交换容量。  The transmission bus used in the present invention may specifically adopt a bus based on the ATM transmission bus standard. A bus based on the ATM transmission bus standard can support a maximum of 32 transmission bus interface units at the same time, that is, the sum of the user side and the network side to which the transmission bus is connected is 32. Currently, buses based on the ATM transmission bus standard can provide shared switching capacity above IGbps.
由于传输总线的特点是使用一条总线即可完成 ATM信元在不同单 板的传输总线接口单元之间的交换, 而与传输总线连接的用户侧可以有 多个, 并且与传输总线连接的各个用户侧和网络侧的传输总线接口单元 的内部提供了三级路由查找等比较丰富的信元调度机制, 因此, 传输总 线上的 ATM信元可以实现在各个用户侧和网络侧的传输总线接口单元 之间的交换。  Because the characteristic of the transmission bus is to use one bus to complete the exchange of ATM cells between the transmission bus interface units of different boards, and there can be multiple user sides connected to the transmission bus, and each user connected to the transmission bus The transmission bus interface unit on the side and the network side provides a richer cell scheduling mechanism such as three-level routing lookup. Therefore, ATM cells on the transmission bus can be implemented in each user-side and network-side transmission bus interface unit. Exchange.
本发明可以通过 ATM信元来实现数据报文在传输总线上的传输。 ATM是一种高速、 低延迟的多路复用交换技术, ATM采用信元、 并提 供有限的差错检测操作等, 使得网络具有足够快的速度以支持多兆位的 传输速率。 因此, 本发明利用 ATM信元的传输特性, 通过将单播数据 报文及多播数据报文转换为 ATM信元, 并通过传输总线进行接收及发 送, 与传输总线连接的用户侧及网络侧再将 ATM信元还原为数据报文, 并根据该数据报文所携带的目的地址对其进行传输, 从而完成网络侧和 用户侧之间数据报文的传输。 这样, 在传输包括组播和广播在内的多播 数据报文时, 不需要进行多次复制即可在网络侧和用户侧之间进行数据 报文的传输, 从而简单高效地实现了数据报文的传输。 The invention can realize the transmission of data messages on the transmission bus through ATM cells. ATM is a high-speed, low-latency multiplexing switching technology. ATM uses cells and provides limited error detection operations to make the network fast enough to support multi-megabit transmission rates. Therefore, the present invention utilizes the transmission characteristics of ATM cells, and converts unicast data packets and multicast data packets into ATM cells, and receives and sends them through a transmission bus. The user side and the network side connected to the transmission bus The ATM cell is then restored into a data message, and the data message is transmitted according to the destination address carried by the data message, thereby completing the transmission of the data message between the network side and the user side. In this way, when transmitting multicast data packets including multicast and broadcast, data packets can be transmitted between the network side and the user side without requiring multiple replications, thereby achieving the datagram simply and efficiently. Text transmission.
在网络为 IP网络的情况下, 网络侧向用户终端发送数据报文时, 首 先由网络侧将网络服务器传输来的单播数据报文、 多播数据报文转换为 信元, 并将其通过传输总线发送到用户侧; 用户侧从传输总线上接收该 信元, 并根据该信元所承载的信息将该信元转换为相应的数据报文, 之 后再将该数据 4艮文传输至相应的用户终端。 从用户终端向网络侧发送的 请求数据报文则首先由用户侧将该报文转换为相应的信元, 并将其通过 传输总线发送到网络侧; 网络侧从传输总线上接收该信元, 并根据该信 元所承载的信息将其转换为请求数据报文, 之后将其传输至对应的网络 服务器。  When the network is an IP network, when the network side sends data packets to the user terminal, the network side first converts unicast data packets and multicast data packets transmitted by the network server into cells, and passes them through The transmission bus is sent to the user side; the user side receives the cell from the transmission bus, and converts the cell into a corresponding data message according to the information carried by the cell, and then transmits the data to the corresponding data message. User terminal. The request data message sent from the user terminal to the network side is first converted by the user side into the corresponding cell and sent to the network side through the transmission bus; the network side receives the cell from the transmission bus, It converts it into a request data message according to the information carried by the cell, and then transmits it to the corresponding network server.
本发明实现数据报文传输的具体方法通过以下处理实现:  The specific method for realizing data message transmission in the present invention is implemented through the following processes:
建立网络侧与用户侧之间的传输总线, 设置用于在传输总线上传输 的 ATM信元;分别建立网络侧与各个用户侧中单播信元标识对应的 VC、 组播信元标识对应的 VC, 以及广播信元标识对应的 VC; 建立介质访问 控制 (MAC )地址与 VPI/VCI的对应关系; 以及建立 VPI/VCI与信元 标识的对应关系。  Establish a transmission bus between the network side and the user side, and set the ATM cells for transmission on the transmission bus; establish the network side corresponding to the VC corresponding to the unicast cell identity in each user side, and the corresponding one to the multicast cell identity. VC, and the VC corresponding to the broadcast cell identifier; establishing the correspondence between the media access control (MAC) address and the VPI / VCI; and establishing the correspondence between the VPI / VCI and the cell identifier.
传输数据报文具体可以有两个方向, 上行方向是指从用户侧到网络 侧, 下行方向则是指从网络侧到用户侧。 There can be two directions for transmitting data packets. The upstream direction refers to the direction from the user side to the network. Side, the downward direction refers to the network side to the user side.
首先对上行方向的数据报文传输进行说明。  First, the data packet transmission in the upstream direction will be described.
用户侧在收到用户终端传输来的请求数据报文时, 用户侧根据请求 数据报文中的源 MAC地址将该报文转换成信元。 这是因为, 不同类型 数据报文的 MAC地址不同, 因此可以根据 MAC地址进行信元的转换。 转换后不同类型的信元则具有不同的 VPI VCL  When the user side receives the request data message transmitted from the user terminal, the user side converts the message into a cell according to the source MAC address in the request data message. This is because different types of data packets have different MAC addresses, so cell conversion can be performed based on the MAC address. Different types of cells have different VPI VCL after conversion
用户终端请求 IP 网络向其发送的数据报文的种类有单播数据报文、 组播数据报文及广播数据报文。如果用户终端需要 IP网络向自身发送组 播数据报文, 则需要记录该请求数据报文的相关信息, 该相关信息包括 用户终端的地址信息以及请求发送的组播数据报文的组播组号。 该相关 信息具体可以记录在用户侧, 也可以记录在网络侧, 以便用户侧才艮据该 信息进行组播数据报文的转发, 当然, 如果记录在网络侧, 则需要网络 侧将该信息发送给用户侧。  The types of data messages that the user terminal requests the IP network to send to it include unicast data messages, multicast data messages, and broadcast data messages. If the user terminal needs the IP network to send a multicast data message to itself, it needs to record the relevant information of the request data message. The relevant information includes the address information of the user terminal and the multicast group number of the multicast data message requested to be sent. . The related information may be specifically recorded on the user side or on the network side, so that the user side can forward multicast data packets according to the information. Of course, if recorded on the network side, the network side needs to send the information To the user side.
用户侧并根据转换后的信元的 VPI/VCI 为该信元增加单播信元标 识、 目的端的特征信息, 并将该信元、 单播信元标识以及目的端的特征 信息一起通过单播信元标识对应的 VC发送到传输总线。 其中, 目的端 的特征信息包括端口号和槽位号, 也可以将该目的端的特征信息设置在 单播信元标识中。 因为用户终端所发送的请求数据报文只能是单播数据 4艮文, 所以用户侧为该信元增加的信元标识为单播信元标识。  The user side adds a unicast cell identifier and the characteristic information of the destination to the cell according to the VPI / VCI of the converted cell, and passes the cell, the unicast cell identifier, and the characteristic information of the destination to the unicast message together. The VC corresponding to the meta ID is sent to the transmission bus. The characteristic information of the destination includes a port number and a slot number, and the characteristic information of the destination may also be set in a unicast cell identifier. Because the request data message sent by the user terminal can only be unicast data, the cell identifier added to the cell by the user side is the unicast cell identifier.
与传输总线连接的所有端口都接收传输总线上的信元, 并根据信元 标识和目的端的特征信息判断是否接收该信元。  All ports connected to the transmission bus receive cells on the transmission bus, and determine whether to receive the cell based on the cell identifier and the characteristic information of the destination.
由于请求数据报文转换后的信元标识为单播信元标识, 而且信元目 的端的特征信息为网络侧的特征信息, 所以网络侧将接收到的信元还原 为请求数据报文, 并根据该请求数据报文的目的 MAC地址将其发送至 IP网络。 由于各个用户侧的特征信息和信元的目的端的特征信息不同, 所以各个用户侧将接收的信元丢弃。 Since the converted cell identifier of the request data packet is a unicast cell identifier, and the characteristic information of the destination end of the cell is the characteristic information of the network side, the network side restores the received cell into a request data packet, and according to The destination MAC address of the request data message is sent to the IP network. Because the feature information of each user side and the feature information of the destination end of the cell are different, Therefore, each user side discards the received cells.
下面再对下行方向的数据 4艮文传输进行说明。  The following describes the data transmission in the downlink direction.
网络侧根据 IP网络传输来的待发送数据报文的源 MAC地址将该数 据报文转换为信元。 网络侧并根据信元的 VPI/VCI为其增加对应的信元 标识、' 目的端的特征信息, 并将该信元、 信元标识以及目的端的特征信 息一起发送到传输总线。 待发送的数据报文可能为单播数据报文、 组播 数据报文及广播数据报文。  The network side converts the data packet into a cell according to the source MAC address of the data packet to be sent from the IP network. The network side adds the corresponding cell identifier and the characteristic information of the destination according to the VPI / VCI of the cell, and sends the cell, the cell identifier, and the characteristic information of the destination to the transmission bus together. The data messages to be sent may be unicast data messages, multicast data messages, and broadcast data messages.
在将信元及相关信息发送到传输总线时, 如果该数据报文是单播数 据报文, 则网络侧根据单播数据报文的源 MAC地址为该信元增加的信 元标识为单播信元标识。 另外, 还要为该信元增加该单播数据报文的目 的 MAC地址所对应的目的端的特征信息。 之后将转换后的信元、 目的 端的特征信息以及单播信元标识一起通过单播信元标识所对应的 VC发 送至传输总线。 同样, 可以将该目的端的特征信息设置在该单播信元标 识中。  When sending a cell and related information to a transmission bus, if the data packet is a unicast data packet, the network side adds a cell identifier for the cell according to the source MAC address of the unicast data packet as unicast. Cell ID. In addition, the characteristic information of the destination end corresponding to the destination MAC address of the unicast data message is also added to the cell. Then, the converted cells, the characteristic information of the destination end, and the unicast cell identifier are sent to the transmission bus through the VC corresponding to the unicast cell identifier. Similarly, the feature information of the destination can be set in the unicast cell identifier.
如果该数据报文是组播数据报文, 则网络侧根据该组播数据报文的 源 MAC地址为该信元增加组播信元标识, 并增加该组播数据报文的组 播组号, 之后将信元、 组播信元标识以及组播组号一起通过组播信元标 识所对应的 VC发送至传输总线。 这里, 可以将该组播组号设置在组播 信元标识中。  If the data message is a multicast data message, the network side adds a multicast cell identifier to the cell according to the source MAC address of the multicast data message, and increases the multicast group number of the multicast data message. Then, the cell, the multicast cell identifier, and the multicast group number are sent to the transmission bus through the VC corresponding to the multicast cell identifier. Here, the multicast group number may be set in the multicast cell identifier.
如果该数据报文是广播数据报文, 则网络侧可以根据广播报文的源 MAC 地址为该信元增加广播信元标识, 并将信元和广播信元标识一起 通过广播信元标识所对应的 VC发送给传输总线。  If the data message is a broadcast data message, the network side may add a broadcast cell identifier to the cell according to the source MAC address of the broadcast message, and correspond the cell and the broadcast cell identifier together through the broadcast cell identifier. VC is sent to the transmission bus.
当然, 网络侧待发送的数据报文可能会有多种, 这种情况下, 网絡 侧可以才艮据预定的算法和预定的优先级确定允许当前发送的信元, 以避 免在信元的传输过程中出现数据拥塞的情况。 比如, 可以设定组播信元 的优先级为最高, 单播信元的优先级其次, 这样, 单播信元、 组播信元 及广播信元就可以根据优先级进行发送。 Of course, there may be multiple types of data packets to be sent by the network side. In this case, the network side may determine to allow the currently sent cells according to a predetermined algorithm and a predetermined priority to avoid transmission of the cells. Data congestion occurred during the process. For example, multicast cells can be set Has the highest priority, and the unicast cell has the second highest priority. In this way, the unicast cell, the multicast cell, and the broadcast cell can be sent according to the priority.
与传输总线连接的各个用户侧接收传输总线上的信元, 并^^据信元 标识和用户终端的需求确定将信元传输至对应的用户终端。  Each user side connected to the transmission bus receives the cells on the transmission bus, and determines to transmit the cells to the corresponding user terminal according to the cell identifier and the needs of the user terminal.
具体来说, 如果用户侧接收的信元标识为单播信元标识, 则各个用 户侧根据信元目的端的特征信息确定需要接收该信元的用户终端, 将该 信元还原为单播数据报文, 并发送给该用户终端。  Specifically, if the cell identifier received by the user side is a unicast cell identifier, each user side determines a user terminal that needs to receive the cell according to the characteristic information of the destination end of the cell, and restores the cell to a unicast datagram. And send it to the user terminal.
如果用户侧接收的信元标识为组播信元标识, 则各个用户侧根据记 录的请求信息确定需要接收该信元的用户终端, 将该信元还原为组播数 据报文, 并发送给该用户终端。 如果该请求信息记录在网络侧, 则网络 侧应该将该请求信息发送给用户侧。  If the cell identifier received by the user side is a multicast cell identifier, each user side determines a user terminal that needs to receive the cell according to the recorded request information, restores the cell to a multicast data packet, and sends the packet to the User terminal. If the request information is recorded on the network side, the network side should send the request information to the user side.
如果用户终端接收的信元标识为广播信元标识, 则各个用户侧将该 信元还原为广播数据报文, 并将其发送给与自身连接的所有用户终端。  If the cell identifier received by the user terminal is a broadcast cell identifier, each user side restores the cell to a broadcast data message and sends it to all user terminals connected to itself.
当然, 不管各个用户侧收到的是哪种信元, 只要各个用户侧根据信 元目的端的特征信息确定与自身连接的所有用户都不需要该信元, 则用 户侧丟弃该信元。  Of course, no matter what kind of cell is received by each user side, as long as each user side determines that all users connected to itself do not need the cell according to the characteristic information of the destination end of the cell, the user side discards the cell.
在网络为 ATM 网络的情况下, 网络侧所发送的数据报文只能为单 播数据报文和组播数据报文, 不存在广播数据报文的情况, 因此, 只需 要针对这两种报文进行处理。  When the network is an ATM network, the data packets sent by the network side can only be unicast data packets and multicast data packets. There are no broadcast data packets. Therefore, only these two types of packets need to be addressed. Text for processing.
具体来说, 下行方向, 即网络侧向用户终端发送数据报文时, 所发 送的数据报文为 ATM信元,该 ATM信元中可能同时包括单播数据报文 及组播数据^ :艮文, 网絡侧需要将该 ATM信元组成相应的以太网帧, 并 按照连接信息为该以太网帧打上 VLAN ID,然后对该以太网帧进行单播 和组播的分流, 对单播帧和组播帧分别进行传输。 其中, 该连接信息是 指 DSLAM设备上预先配置的交换信息,主要是 ADSL端口侧的 VPI/VCI T N2004/000911 与以太网 VLAN ID的对应关系等。 Specifically, in the downlink direction, that is, when the network side sends a data message to the user terminal, the data message sent is an ATM cell, and the ATM cell may include both a unicast data packet and a multicast data ^ : In the text, the network side needs to form the ATM cell into a corresponding Ethernet frame, and tag the Ethernet frame with a VLAN ID according to the connection information, and then perform unicast and multicast distribution on the Ethernet frame. Multicast frames are transmitted separately. The connection information refers to pre-configured exchange information on the DSLAM device, and is mainly the VPI / VCI on the ADSL port side. T N2004 / 000911 Correspondence with Ethernet VLAN ID, etc.
对于单播帧来说,需要根据该单播帧的目的 MAC地址或 VLAN ID, 按照 MAC地址或 VLAN与用户 VC标识, 即 VPI/VIC的对应关系 , 将 该以太网帧转换为相应的 ATM信元,之后将该 ATM信元发送到传输总 线。  For a unicast frame, the Ethernet frame needs to be converted into a corresponding ATM message according to the destination MAC address or VLAN ID of the unicast frame, and according to the correspondence between the MAC address or VLAN and the user VC identifier, that is, VPI / VIC. The ATM cell is then sent to the transmission bus.
对于组播帧来说, 则需要根据组播组与组播 VC标识的对应关系, 将组播帧转换为 ATM信元, 之后将该 ATM信元发送到传输总线。  For a multicast frame, the multicast frame needs to be converted into an ATM cell according to the correspondence between the multicast group and the multicast VC identifier, and then the ATM cell is sent to the transmission bus.
用户侧根据预先设置的组播接收表及单播接收表接收属于本端口的 组播 ATM信元及单播 ATM信元,将所接收到的信元按照原来的信元顺 序进行复用 , 并将复用后的 ATM信元通过用户 VC发送给 RTU;  The user side receives the multicast ATM cells and unicast ATM cells belonging to the port according to the preset multicast reception table and unicast reception table, and multiplexes the received cells in the original cell order, and Send the multiplexed ATM cell to the RTU through the user VC;
RTU再将收到的 ATM信元恢复成以太网帧, 之后将该以太网帧发 送到用户终端。  The RTU recovers the received ATM cells into an Ethernet frame, and then sends the Ethernet frame to the user terminal.
上行方向, 即用户侧向网络侧发送数据 4艮文时, 用户终端向用户侧 发送的数据报文被 RTU转换为 ATM信元, 并承载在用户 VC发送到用 户侧 , 用户侧在收到该 ATM信元后, 直接根据用户 VC的 VPI/VCI为 该信元增加单播信元标识、 目的端的特征信息, 并将该信元、 单播信元 标识以及目的端的特征信息一起通过单播信元标识所对应的 VC发送到 传输总线。  In the uplink direction, that is, when the user side sends data to the network side, the data packet sent by the user terminal to the user side is converted into an ATM cell by the RTU, and is carried in the user VC and sent to the user side. After the ATM cell, directly add the unicast cell identifier and the characteristic information of the destination to the cell according to the VPI / VCI of the user VC, and pass the unicast message together with the cell, the unicast cell identifier, and the characteristic information of the destination. The VC corresponding to the meta ID is sent to the transmission bus.
网络侧在接收到传输总线上的信元后, 判断该信元的目的端特征信 息是否符合自身的接收条件,如果符合,则根据信元的 VPI/VCI将 ATM 信元转换为对应 VLAN的以太网帧, 并记录该数据报文的源 MAC地址 与用户 VC标识的对应关系, 然后再将该以太网帧转换为 ATM信元, 并根据 VLAN与网络侧 VC的对应关系将该 ATM信元发送到相应的网 络侧 VC上。  After receiving a cell on the transmission bus, the network side determines whether the destination characteristic information of the cell meets its own receiving conditions. If it does, the ATM cell is converted to the Ethernet of the corresponding VLAN according to the VPI / VCI of the cell. Network frame, and record the correspondence between the source MAC address of the data packet and the user VC identifier, and then convert the Ethernet frame into an ATM cell, and send the ATM cell according to the correspondence between the VLAN and the network-side VC Go to the corresponding network-side VC.
上述对数据报文传输的具体过程进行了说明,对于针对 IP网络实现 该数据艮文传输的系统来说, 至少有四种实现方式, 下面结合附图对这 四种实现方式分别进行伴细描述。 The above has described the specific process of data packet transmission. For the data transmission system, there are at least four implementation manners, and the four implementation manners are described in detail below with reference to the accompanying drawings.
图 4所示为第一种实现数据报文传输的系统, 该系统实现了网络侧 向用户侧发送数据报文。  Figure 4 shows the first system for data packet transmission. This system enables the network to send data packets to the user.
该系统中的传输总线接口单元在背板侧引出传输总线接口, 并通过 所引出的传输总线接口与传输总线相连; 在传输总线接口单播的单板上 引出 ATM通用测试与操作物理层接口 (UTOPIA ), 并通过该 UTOPIA 与用户设备接口单元相连。  The transmission bus interface unit in this system leads the transmission bus interface on the backplane side, and is connected to the transmission bus through the derived transmission bus interface. The ATM universal test and operation physical layer interface is led out on the transmission bus interface unicast board ( UTOPIA), and is connected to the user equipment interface unit through the UTOPIA.
通过为传输总线接口单元配置不同的工作模式, 在传输总线接口单 元上可以通过 UTOPIA灵活地连接各种网络设备接口单元或用户设备接 口单元, 使得网络侧和用户侧完成 ATM信元的收发。  By configuring different working modes for the transmission bus interface unit, various network equipment interface units or user equipment interface units can be flexibly connected to the transmission bus interface unit through UTOPIA, so that the network side and the user side can complete the transmission and reception of ATM cells.
传输总线上可挂接多个传输总线接口单元, 每个接口单元都有唯一 的标识, 此标识可以是每个接口单元的端口地址。 由于传输总线接口单 元具有优先级调度功能, 因此可以通过预定的算法及优先级确定当前需 要发送到传输总线上的信元。  Multiple transmission bus interface units can be connected to the transmission bus. Each interface unit has a unique identifier, and this identifier can be the port address of each interface unit. Because the transmission bus interface unit has a priority scheduling function, the cells that need to be currently sent to the transmission bus can be determined through a predetermined algorithm and priority.
用户侧的传输总线接口单元与用户设备接口单元相连, 网络侧的传 输总线接口单元则与网络设备接口单元相连。 用户设备接口单元有多个 槽位, 每个槽位有个槽位号, 每个槽位号可以对应多个用户终端。  The user-side transmission bus interface unit is connected to the user equipment interface unit, and the network-side transmission bus interface unit is connected to the network equipment interface unit. The user equipment interface unit has multiple slots, each slot has a slot number, and each slot number can correspond to multiple user terminals.
图 4中,传输总线上挂接了三个传输总线接口单元 400、 410和 420, 分别与网络设备接口单元 430以及用户设备接口单元 440和 450相连。 其中, 传输总线接口单元 400与网络设备接口单元 430组成网络侧接口 设备; 传输总线接口单元 410和用户设备接口单元 440组成用户侧接口 设备, 传输总线接口单元 420和用户设备接口单元 450组成用户侧接口 设备。  In FIG. 4, three transmission bus interface units 400, 410, and 420 are connected to the transmission bus, and are respectively connected to the network equipment interface unit 430 and the user equipment interface units 440 and 450. The transmission bus interface unit 400 and the network device interface unit 430 constitute a network-side interface device; the transmission bus interface unit 410 and the user equipment interface unit 440 constitute a user-side interface device, and the transmission bus interface unit 420 and the user equipment interface unit 450 constitute a user-side Interface equipment.
当网络设备接口单元 430接收到待传输的单播数据报文时, 将该单 播数据报文转换为信元后, 通过单播信元的专用 VC传输至传输总线接 口单元 400; 传输总线接口单元 400根据信元的 VCI及 VPI为该信元增 加单播信元标识和该单播信元的目的端的特定信息, 该特定信息即为目 的端的单板端口号和槽位号, 之后将该单播信元、 单播信元标识以及单 播信元目的端的单播端口号、 槽位号一起通过单播信元标识所对应的 VC发送到传输总线上。 与传输总线相连的各个传输总线接口单元 410 和 420同时接收该信元, 根据该信元的单播信元标识确定该信元为单播 信元, 并判断该信元目的端的端口号是否与自己的端口地址相同, 如果 相同, 则根据信元的槽位号进行传输, 用户设备接口单元再根据该信元 的 VPI VCI将其发送到相应的用户终端设备; 如果不相同, 则丟弃该信 元。 本实施例中, 该槽位号属于用户设备接口单元 440, 也就是说, 传 输总线接口单元 410可以确定该信元的目的端端口号与自身的端口地址 相同,之后根据该信元的槽位号将该信元传输至用户设备接口单元 440, 用户设备接口单元 440 则将该信元转换为数据报文, 并根据该信元的 VP CI将转换后的数据报文发送至相应的用户终端设备。 对于传输总 线接口单元 420来说, 则会确定该信元的目的端端口号与自身的端口地 址不同, 因此丟弃该信元。 从而实现了单播信元在传输总线上各个传输 总线接口单元之间的传输。 When the network device interface unit 430 receives a unicast data message to be transmitted, After the unicast data packet is converted into a cell, it is transmitted to the transmission bus interface unit 400 through the dedicated VC of the unicast cell; the transmission bus interface unit 400 adds a unicast cell identifier and the cell according to the cell's VCI and VPI. Specific information of the destination of the unicast cell. The specific information is the port number and slot number of the board at the destination, and then the unicast cell, the unicast cell identifier, and the unicast port number of the destination of the unicast cell. The slot numbers are sent to the transmission bus through the VC corresponding to the unicast cell identifier. Each transmission bus interface unit 410 and 420 connected to the transmission bus receives the cell at the same time, determines that the cell is a unicast cell according to the unicast cell identifier of the cell, and determines whether the port number of the destination end of the cell is the same as that of the cell. Their own port addresses are the same. If they are the same, they are transmitted according to the slot number of the cell, and the user equipment interface unit sends them to the corresponding user terminal device according to the VPI and VCI of the cell; if they are not the same, then discard the Cell. In this embodiment, the slot number belongs to the user equipment interface unit 440, that is, the transmission bus interface unit 410 can determine that the destination port number of the cell is the same as its own port address, and then according to the slot of the cell The cell is transmitted to the user equipment interface unit 440, and the user equipment interface unit 440 converts the cell into a data message, and sends the converted data message to the corresponding user terminal according to the VP CI of the cell. device. For the transmission bus interface unit 420, it is determined that the destination port number of the cell is different from its own port address, and therefore the cell is discarded. In this way, unicast cells are transmitted between transmission bus interface units on the transmission bus.
当网络设备接口单元 430接收到待传输的组播数据报文时, 将该组 播数据报文转换后, 通过组播信元的专用 VC传输至传输总线接口单元 400; 传输总线接口单元 400根据信元的 VCI/VPI为该信元增加组播信 元标识和组播组号, 并将信元和组播信元标识及组播组号一起通过组播 信元标识所对应的 VC发送到传输总线上。 与传输总线相连的各个传输 总线接口单元 410和 420同时接口该信元, 根据该信元的组播信元标识 确定该信元为组播信元, 并根据记录的用户请求组播数据报文的请求信 息以及该信元的组播组号判断与自身连接的用户终端是否需要此組播 组号的信元,如果与传输总线接口单元 410连接的用户终端需要此信元, 则传输总线接口单元 410将其传输至对应的用户设备接口单元 440, 由 用户设备接口单元 440将该信元转换为相应的数据报文, 并根据该信元 的 VPI/VCI将转换后的数据报文传输至相应的用户终端。 如果与传输总 线接口单元 420连接的用户终端都不需要此信元,传输总线接口单元 420 则将该组播信元丟弃。 从而实现了组播数据在传输总线上各个传输总线 接口单元之间的传输。 When the network device interface unit 430 receives the multicast data message to be transmitted, the multicast data message is converted and transmitted to the transmission bus interface unit 400 through the dedicated VC of the multicast cell; the transmission bus interface unit 400 according to The VCI / VPI of a cell adds a multicast cell identifier and a multicast group number to the cell, and sends the cell, the multicast cell identifier, and the multicast group number to the VC corresponding to the multicast cell identifier to the VC. On the transmission bus. Each transmission bus interface unit 410 and 420 connected to the transmission bus simultaneously interfaces the cell, determines that the cell is a multicast cell based on the cell's multicast cell identifier, and according to the recorded user request multicast data message Request letter Information and the multicast group number of the cell to determine whether the user terminal connected to itself needs the cell of the multicast group number. If the user terminal connected to the transmission bus interface unit 410 needs this cell, the transmission bus interface unit 410 Transmit it to the corresponding user equipment interface unit 440, the user equipment interface unit 440 converts the cell into a corresponding data message, and transmits the converted data message to the corresponding data message according to the VPI / VCI of the cell User terminal. If none of the user terminals connected to the transmission bus interface unit 420 need this cell, the transmission bus interface unit 420 discards the multicast cell. Thus, the transmission of multicast data between the transmission bus interface units on the transmission bus is realized.
当网络设备接口单元 430接收到待传输的广播数据报文时, 将该广 播数据报文转换为信元后, 通过广播信元的专用 VC传输至传输总线接 口单元 400; 传输总线接口单元 400根据信元的 VCI/VPI为该信元增加 广播信元标识, 并将该信元与广播信元标识一起通过广播信元标识所对 应的 VPI发送到传输总线。 与传输总线相连的各个传输总线接口单元 410和 420同时接收该信元, 根据该信元的广播信元标识确定该信元为 广播信元, 之后将该信元分别传输至与自身连接的用户设备接口单元, 并由用户设备接口单元 440和 450将该广播信元转换为相应的广播数据 报文, 并将该广播数据报文传输至与自身连接的所有用户终端设备。 从 而实现了广播信元在传输总线上各个传输总线接口单元之间的传输。  When the network device interface unit 430 receives the broadcast data message to be transmitted, the broadcast data message is converted into a cell, and then transmitted to the transmission bus interface unit 400 through the dedicated VC of the broadcast cell; the transmission bus interface unit 400 according to The VCI / VPI of the cell adds a broadcast cell identifier to the cell, and sends the cell along with the broadcast cell identifier to the transmission bus through the VPI corresponding to the broadcast cell identifier. Each transmission bus interface unit 410 and 420 connected to the transmission bus receives the cell at the same time, determines that the cell is a broadcast cell according to the broadcast cell identifier of the cell, and then transmits the cell to users connected to itself. A device interface unit, and the user equipment interface units 440 and 450 convert the broadcast cell into a corresponding broadcast data message, and transmit the broadcast data message to all user terminal devices connected to itself. Thus, the transmission of broadcast cells between the transmission bus interface units on the transmission bus is realized.
上述系统中, 与传输总线相连的所有传输总线接口羊元都具有仲裁 功能, 以根据仲裁结果实现数据报文的转发。  In the above system, all transmission bus interface sheep connected to the transmission bus have an arbitration function, so as to implement data packet forwarding according to the arbitration result.
图 5所示为第二种实现数据报文传输的系统。  Figure 5 shows the second system for data packet transmission.
该系统包括网络侧接口设备 500、用户侧接口设备 510。传输总线上 只有一个网络侧接口设备, 而用户侧接口设备则可以有多个。  The system includes a network-side interface device 500 and a user-side interface device 510. There is only one network-side interface device on the transmission bus, and there can be multiple user-side interface devices.
网络侧接口设备 500包括传输总线接口单元 501、 数据报文处理单 元 502及接口转换单元 503。 传输总线接口单元 501具有优先级调度功能, 用于确定数据报文处 理单元 502传输来的信元对应的信元标识, 并才 据预定的算法和优先级 将信元及信元标识传输至传输总线; 该接口单元还接收传输总线上的信 元及信元标识, 根据信元标识确定需要传输至数据报文处理单元 502的 信元, 并进行传输。 The network-side interface device 500 includes a transmission bus interface unit 501, a data message processing unit 502, and an interface conversion unit 503. The transmission bus interface unit 501 has a priority scheduling function for determining a cell identifier corresponding to a cell transmitted by the data message processing unit 502, and transmitting the cell and the cell identifier to the transmission according to a predetermined algorithm and priority. A bus; the interface unit further receives a cell and a cell identifier on the transmission bus, determines a cell to be transmitted to the data packet processing unit 502 according to the cell identifier, and performs transmission.
数据报文处理单元 502 , 用于将 IP网絡通过接口转换单元 403传输 来的数据报文转换为信元后, 与其对应的信元标识一起传输至具有仲裁 功能的传输总线接口单元 501; 该处理单元还将传输总线接口单元 501 传输来的信元还原为请求数据报文, 并通过接口转换单元 503传输至 IP 网络。  A data message processing unit 502, configured to convert a data message transmitted by the IP network through the interface conversion unit 403 into a cell, and transmit it to a transmission bus interface unit 501 with an arbitration function together with its corresponding cell identifier; the processing The unit also restores the cells transmitted by the transmission bus interface unit 501 into a request data message, and transmits them to the IP network through the interface conversion unit 503.
接口转换单元 503 ,用于提供网络侧接口设备与 IP网络相连的接口。 该接口转换单元可以为快速以太网 (FE )光口, 也可以为 FE电口, 还 可以为 G比特以太网光口。  The interface conversion unit 503 is configured to provide an interface between the network-side interface device and the IP network. The interface conversion unit may be a Fast Ethernet (FE) optical port, an FE electrical port, or a G-bit Ethernet optical port.
用户侧接.口设备 510则包括传输总线接口单元 511、 信元承载单元 512及用户终端接入单元 513。 其中, 传输总线接口单元可同时与多个 信元承载单元相连, 信元承载单元也可以分别与多个用户终端接入单元 相连。  The user-side interface device 510 includes a transmission bus interface unit 511, a cell bearing unit 512, and a user terminal access unit 513. The transmission bus interface unit can be connected to multiple cell bearer units at the same time, and the cell bearer unit can also be connected to multiple user terminal access units, respectively.
传输总线接口单元 511 , 用于将信元承载单元 512传输来的信元及 其信元标识传输至传输总线; 并接收传输总线上的信元, 以及根据信元 的标识及用户需求将该信元传输至相应的信元 载单元 512。  The transmission bus interface unit 511 is configured to transmit the cells and the cell identifiers transmitted by the cell carrying unit 512 to the transmission bus; receive the cells on the transmission bus; and transmit the information according to the cell identifier and user requirements. The cells are transmitted to the corresponding cell carrying unit 512.
信元承载单元 512,用于将用户终端接入单元 513传输来的 ATM信 元传输至传输总线接口单元 511; 并将传输总线接口单元 511传输来的 ATM信元承载在预定帧中, 根据该信元的 VPI/VCI将其传输至相应的 用户终端接入单元 513。该信元承载单元可以是不对称数字用户线芯片 , 也可以是甚高速数字用户线芯片, 还可以是高比特数字用户线套片。 用户终端接入单元 513 , 用于将用户终端传输来的请求数据报文转 换为信元,并将转换后的信元承载在预定帧中发送给信元承载单元 512; 该接入单元还将信元承载单元 512传输来的承载在预定帧中的信元还原 为相应的数据报文, 并传输给用户终端。 The cell carrying unit 512 is configured to transmit the ATM cells transmitted from the user terminal access unit 513 to the transmission bus interface unit 511; and carry the ATM cells transmitted from the transmission bus interface unit 511 in a predetermined frame. The VPI / VCI of the cell is transmitted to the corresponding user terminal access unit 513. The cell bearing unit may be an asymmetric digital subscriber line chip, a high-speed digital subscriber line chip, or a high-bit digital subscriber line chip. A user terminal access unit 513, configured to convert a request data message transmitted from the user terminal into a cell, and send the converted cell in a predetermined frame to the cell carrying unit 512; the access unit will also The cells carried in the predetermined frame transmitted by the cell carrying unit 512 are restored into corresponding data messages and transmitted to the user terminal.
图 6所示为第三种实现数据报文传输的系统。  Figure 6 shows a third system that implements data message transmission.
该系统与第一种系统的区别在于: 图 6所示系统中的用户终端可以 通过用户侧向传输总线发送请求数据报文所对应的 ATM信元, 网络侧 根据传输总线发送来的信元得到相应的请求数据报文, 并根据该请求数 据报文中的目的 MAC地址将该报文发送给 IP网络。 IP网络则在收到该 请求数据报文后, 才向该用户终端返回相应的数据报文。  The difference between this system and the first system is that the user terminal in the system shown in FIG. 6 can send the ATM cell corresponding to the request data message to the transmission bus through the user side, and the network side obtains it according to the cell sent by the transmission bus. A corresponding request data message, and sending the message to the IP network according to the destination MAC address in the request data message. After receiving the request data message, the IP network returns a corresponding data message to the user terminal.
具体来说, 图 6中的传输总线上挂接了三个传输总线接口单元 600、 610和 620, 他们分别与用户设备接口单元 630、 640和 650相连; 传输总 线接口单元 600和数据报文处理单元 630组成网络侧接口设备; 传输总线 接口单元 610和用户设备接口单元 640组成用户侧接口设备; 传输总线接 口单元 620和用户设备接口单元 650组成用户侧接口设备。  Specifically, three transmission bus interface units 600, 610, and 620 are connected to the transmission bus in FIG. 6, and they are connected to user equipment interface units 630, 640, and 650, respectively; the transmission bus interface unit 600 and data message processing Unit 630 constitutes a network-side interface device; transmission bus interface unit 610 and user equipment interface unit 640 constitute a user-side interface device; transmission bus interface unit 620 and user equipment interface unit 650 constitute a user-side interface device.
传输总线接口单元 600为网络侧的具有优先级调度功能的传输总线 接口单元, 传输总线接口单元 610和传输总线接口单元 620为用户侧的传 输总线接口单元。  The transmission bus interface unit 600 is a transmission bus interface unit with a priority scheduling function on the network side, and the transmission bus interface unit 610 and the transmission bus interface unit 620 are transmission user interface unit on the user side.
数据报文处理单元 630为网络侧的网络设备接口单元, 用户设备接 口单元 640和用户设备接口单元 650为分别为用户侧的用户设备接口单 元。  The data packet processing unit 630 is a network equipment interface unit on the network side, and the user equipment interface unit 640 and the user equipment interface unit 650 are user equipment interface units on the user side, respectively.
IP网络 660与数据报文处理单元 630相连, 用户终端 641、 用户终端 642、 用户终端 643、 用户终端 644和用户终端 645分别与用户设备接口单 元 540和用户设备接口单元 650相连。  The IP network 660 is connected to the data packet processing unit 630, and the user terminal 641, the user terminal 642, the user terminal 643, the user terminal 644, and the user terminal 645 are connected to the user equipment interface unit 540 and the user equipment interface unit 650, respectively.
建立用户侧接口设备与网絡侧接口设备的 VC,此虚拟连接包括单播 信元标识对应的 VC、 组播信元标识对应的 VC和广播信元标识对应的 建立 VPI、 VCI与信元标识的对应关系。 Establish a VC for the user-side interface device and the network-side interface device. This virtual connection includes unicast. The VC corresponding to the cell identity, the VC corresponding to the multicast cell identity, and the broadcast cell identity to establish the correspondence between the VPI, the VCI, and the cell identity.
信元标识包括单播信元标识、 組播信元标识和广播信元标识。 设定用户终端 641需要 IP网络 660向其发送数据报文。  The cell identity includes a unicast cell identity, a multicast cell identity, and a broadcast cell identity. It is set that the user terminal 641 needs the IP network 660 to send a data message to it.
用户终端 641将请求数据报文传输至用户设备接口单元 640, 用户设 备接口单元 640将请求数据报文转换为信元后通过单播信元标识对应的 永久虚拟连接传输至传输总线接口单元 610。  The user terminal 641 transmits the request data message to the user equipment interface unit 640, and the user equipment interface unit 640 converts the request data message into a cell and transmits the request data message to the transmission bus interface unit 610 through a permanent virtual connection corresponding to the unicast cell identifier.
传输总线接口单元 610接收用户设备接口单元 640传输来的信元后 为其增加单播信元标识和传输总线接口单元 600的端口号和数据 4艮文处 理单元 630的槽位号, 并将信元和单播信元标识及端口号、 槽位号一起 发送到传输总线。如果接收的信元承载的信息是请求 IP网络 660向其发送 组播数据报文, 还需要记录请求 IP网络发送组播数据报文的请求信息; 请求信息包括请求的组播数据报文的组播组号和用户终端的地址信息。 请求组播数据报文的请求信息可记录在实现数据报文传输的系统的任 何组成器件中。  After receiving the cell transmitted by the user equipment interface unit 640, the transmission bus interface unit 610 adds a unicast cell identifier and a port number and data of the transmission bus interface unit 600 to the slot number of the text processing unit 630, and sends the The unit and unicast cell identifier are sent to the transmission bus together with the port number and slot number. If the information carried by the received cell is a request for the IP network 660 to send a multicast data packet to it, the request information for requesting the IP network to send a multicast data packet also needs to be recorded; the request information includes the group of the requested multicast data packet Broadcast group number and user terminal address information. The request information for a multicast data message can be recorded in any component device of the system that implements the data message transmission.
与传输总线相连的各传输总线接口单元同时接收传输总线上的信 元, 传输总线接口单元 600接收所述信元后根据信元标识判断接收的信 元是单播信元、 组播信元、 还是广播信元。 如果信元标识为单播信元标 识, 再根据端口号确定是自己应该接收的信元, 根据槽位号通过单播信 元标识对应的永久虚拟连接传输至数据报文处理单元 620; 其他传输总 线接口单元 620通过判断信元的端口号和自己的端口号不一致而将接收 的信元丟弃。  Each transmission bus interface unit connected to the transmission bus receives the cells on the transmission bus at the same time. After receiving the cells, the transmission bus interface unit 600 determines according to the cell identifier that the received cells are unicast cells, multicast cells, Still broadcasting cells. If the cell identifier is a unicast cell identifier, it is determined according to the port number that it should receive the cell, and is transmitted to the data packet processing unit 620 through the permanent virtual connection corresponding to the unicast cell identifier according to the slot number; other transmissions The bus interface unit 620 discards the received cell by judging that the port number of the cell is not consistent with its own port number.
数据报文处理单元 620接收到传输总线接口单元 600传输来的单播 信元后, 将其还原为请求数据报文, 并根据请求数据报文的介质访问控 制地址将其传输至 IP网络 660。 After receiving the unicast cell transmitted by the transmission bus interface unit 600, the data packet processing unit 620 restores the unicast cell to a request data packet, and according to the media access control of the request data packet The address is transmitted to the IP network 660.
数据报文处理单元 630接收 IP网络 660传输来的数据报文。  The data message processing unit 630 receives a data message transmitted from the IP network 660.
IP网络 660传输来的数据报文包括单播数据报文、组播数据报文和广 播数据报文。 ,  The data packets transmitted by the IP network 660 include unicast data packets, multicast data packets, and broadcast data packets. ,
由于广播数据报文、 組播数据报文和单播数据报文的 MAC地址不 同, 所以数据报文处理单元 630可以通过判断接收到的数据报文的 MAC 地址进行识别数据报文的种类。  Since the MAC addresses of the broadcast data message, the multicast data message, and the unicast data message are different, the data message processing unit 630 can identify the type of the data message by judging the MAC address of the received data message.
IP网络 660根据用户终端 641的请求数据报文, 将请求数据报文对应 的数据报文传输至数据报文处理单元 630。  The IP network 660 transmits a data message corresponding to the request data message to the data message processing unit 630 according to the request data message of the user terminal 641.
如果 IP网络 660需要发送广播数据报文,将广播数据报文传输至数据 报文处理单元 630。 If the IP network 660 needs to send a broadcast data packet, the data packet transmission to the broadcast data packet processing unit 630.
数据报文处理单元 630根据接收到的数据报文的 MAC地址将其转换 为对应的信元, 如果数据报文是单播数据报文则将信元通过单播信元标 识对应的永久虚拟连接传输至传输总线接口单元 600; 如果数据报文是 组播数据^ =艮文, 则通过组播信元标识对应的永久虚拟连接传输至传输总 线接口单元 600; 如果数据报文是广播数据报文, 则通过广播信元标识 对应的永久虚拟连接传输至传输总线接口单元 600。  The data packet processing unit 630 converts the received data packet into a corresponding cell according to the MAC address of the received data packet. If the data packet is a unicast data packet, the cell identifies the corresponding permanent virtual connection through the unicast cell. Transmitted to the transmission bus interface unit 600; if the data message is multicast data ^ = Gen text, it is transmitted to the transmission bus interface unit 600 through the permanent virtual connection corresponding to the multicast cell identifier; if the data message is a broadcast data message Then, the permanent virtual connection corresponding to the broadcast cell identifier is transmitted to the transmission bus interface unit 600.
传输总线接口单元 600接收到数据报文处理单元 630从单播信元标 识对应的永久虚拟连接传输来的信元, 为其增加单播信元标识并才艮据信 元的 VPI和 VCI硝定其对应的目的端的端口号和槽位号,如果此单播数据 报文是用户终端 641所请求 IP网络发送的单播数据报文,为信元增加传输 总线接口单元 610的端口号和用户设备接口单元 640的槽位号; 并将信元 和单播信元标识及端口号、 槽位号一起发送到传输总线。  The transmission bus interface unit 600 receives a cell transmitted by the data packet processing unit 630 from the permanent virtual connection corresponding to the unicast cell identifier, adds a unicast cell identifier to the cell, and determines the cell according to the VPI and VCI of the cell. Its corresponding destination port number and slot number. If this unicast data message is a unicast data message sent by the IP network requested by user terminal 641, add the port number and user equipment of the transmission bus interface unit 610 to the cell The slot number of the interface unit 640; and sends the cell, the unicast cell identifier, the port number, and the slot number to the transmission bus together.
传输总线接口单元 600接收到数据报文处理单元 630从组播信元标 识对应的永久虚拟连接传输来的信元, 为其增加组播信元标识和组播的 组号; 并将信元和组播信元标识及组播的组号一起发送到传输总线。 传输总线接口单元 600接收到数据报文处理单元 630从广播信元标 识对应的永久虚拟连接传输来的信元, 为其增加广播信元标识; 并将信 元和广播信元标识一起发送到传输总线。 The transmission bus interface unit 600 receives a cell transmitted by the data packet processing unit 630 from the permanent virtual connection corresponding to the multicast cell identifier, and adds a multicast cell identifier and a multicast Group number; and send the cell with the multicast cell identifier and the multicast group number to the transmission bus. The transmission bus interface unit 600 receives a cell transmitted by the data message processing unit 630 from the permanent virtual connection corresponding to the broadcast cell identifier, adds a broadcast cell identifier to it, and sends the cell and the broadcast cell identifier to the transmission together. bus.
传输总线接口单元 600是具有仲裁功能的传输总线接口单元, 当有 多个数据报文转换后的信元需要发送时, 传输总线接口单元 600可以根 据预定的算法和预定的优先级确定允许发送的信元。  The transmission bus interface unit 600 is a transmission bus interface unit with an arbitration function. When there are multiple cells converted from data packets that need to be sent, the transmission bus interface unit 600 may determine which transmission is allowed according to a predetermined algorithm and a predetermined priority. Cell.
各传输总线接口单元 610和 620都接收传输总线上的信元。  Each transmission bus interface unit 610 and 620 receives a cell on the transmission bus.
传输总线接口单元 610接收到传输总线上的信元后根据信元标识判 断接收到的信元是单播信元、 组播信元还是广播信元。  After receiving the cells on the transmission bus, the transmission bus interface unit 610 judges whether the received cells are unicast cells, multicast cells, or broadcast cells based on the cell identification.
如果传输总线接口单元 610接收到的信元的信元标识是单播信元标 识, 再根据信元的端口号确定和自己的端口号是否相同, 如果相同, 根 据槽位号通过单播信元标识对应的永久虚拟连接将其传输至用户设备 接口单元 640中相应的槽位 , 用户设备接口单元 640将传输总线接口单元 610传输来的信元还原为单播数据报文, 根据单播数据报文的目的 MAC 地址将单播数据^ :艮文传输至用户终端 641。 如果不相同, 将接收的信元 丟弃。 传输总线接口单元 620也根据上述方法对接收到的信元进行处理。 If the cell identifier of the cell received by the transmission bus interface unit 610 is a unicast cell identifier, then it is determined according to the port number of the cell whether it is the same as its own port number, and if it is the same, the unicast cell is passed according to the slot number. Identifies the corresponding permanent virtual connection and transmits it to the corresponding slot in the user equipment interface unit 640. The user equipment interface unit 640 restores the cells transmitted by the transmission bus interface unit 610 to a unicast data packet, and according to the unicast data packet The destination MAC address of the text transmits the unicast data ^ : the text to the user terminal 641. If not, the received cells are discarded. The transmission bus interface unit 620 also processes the received cells according to the above method.
如果传输总线接口单元 610接收到的信元的信元标识是组播信元标 识, 根据记录的请求组播数据报文的请求信息, 将信元传输至用户设备 接口单元 640的相应槽位, 用户设备接口单元 640将传输总线接口单元 610传输来的信元还原为组播数据报文, 并根据记录的请求信息将信元 传输至相应的用户。 其他传输总线接口单元 620通过记录的请求组播数 据报文的请求信息将接收的信元传输至相应的用户。  If the cell identifier of the cell received by the transmission bus interface unit 610 is a multicast cell identifier, transmitting the cell to the corresponding slot of the user equipment interface unit 640 according to the recorded request information of the requested multicast data message, The user equipment interface unit 640 restores the cells transmitted by the transmission bus interface unit 610 to a multicast data message, and transmits the cells to the corresponding user according to the recorded request information. The other transmission bus interface unit 620 transmits the received cell to the corresponding user through the recorded request information of the request multicast data message.
如果传输总线接口单元 610接收到的信元的信元标识是广播信元标 识, 将信元传输至用户设备接口单元 640的各槽位, 用户设备接口单元 640将传输总线接口单元 610传输来的信元还原为广播数据报文, 传输至 与其连接的所有的用户终端。 传输总线接口单元 620也才艮据上述方法将 从传输总线上接收的信元传输至与其连接的所有用户终端。 If the cell identifier of the cell received by the transmission bus interface unit 610 is a broadcast cell identifier, the cell is transmitted to each slot of the user equipment interface unit 640, and the user equipment interface unit 640 restores the cells transmitted by the transmission bus interface unit 610 into broadcast data messages, and transmits them to all user terminals connected to them. The transmission bus interface unit 620 also transmits the cells received from the transmission bus to all user terminals connected to it according to the method described above.
图 7所示为第四种实现数据报文传输的系统,该系统基于 IP接口数 字用户线接入复用设备(IP DSLAM )。  Figure 7 shows a fourth system for data packet transmission. This system is based on IP interface digital subscriber line access multiplexing equipment (IP DSLAM).
DSLAM主要由两种业务板组成, 这两种业务板分别为网络接口板 和用户接口板。 网络接口板的主要作用是为 DSLAM提供网络侧接口, 以连通 DSLAM设备与用户终端接入单元( CPE ), 用户接口板与用户终 端接入单元一起组成 DSLAM中的用户侧接口设备。  DSLAM is mainly composed of two service boards. These two service boards are a network interface board and a user interface board. The main role of the network interface board is to provide a network-side interface for the DSLAM to connect the DSLAM equipment with the user terminal access unit (CPE). The user interface board and the user terminal access unit together form the user-side interface equipment in the DSLAM.
具体来说, 图 7中, DSLAM中的网络接口板 700包括传输总线接 口单元 701、 数据报文处理单元 702和 LANSWITCH芯片 703。 网络接 口板 700为网絡侧接口设备, 传输总线接口单元 701为网络侧具有仲裁 功能的传输总线接口单元,数据报文处理单元 702和 LANSWITCH芯片 703组成本发明的网络设备接口单元。  Specifically, in FIG. 7, the network interface board 700 in the DSLAM includes a transmission bus interface unit 701, a data message processing unit 702, and a LANSWITCH chip 703. The network interface board 700 is a network-side interface device, and the transmission bus interface unit 701 is a transmission bus interface unit with an arbitration function on the network side. The data packet processing unit 702 and the LANSWITCH chip 703 constitute the network device interface unit of the present invention.
DSLAM中的用户接口板 710包括传输总线接口单元 711、 ADSL芯 片 712及 ADSL芯片 713。 ADSL芯片 711 k CPE 730相连并组成用户 设备接口单元; ADSL芯片 712与 CPE 740及 CPE 750相连并组成用户 设备接口单元。 用户接口板 610与 CPE 730、 CPE 740及 CPE 750共同 组成用户侧接口设备。  The user interface board 710 in the DSLAM includes a transmission bus interface unit 711, an ADSL chip 712, and an ADSL chip 713. ADSL chip 711 k CPE 730 is connected and forms a user equipment interface unit; ADSL chip 712 is connected with CPE 740 and CPE 750 and forms a user equipment interface unit. The user interface board 610 and the CPE 730, CPE 740, and CPE 750 together form a user-side interface device.
IP网络 720与 LANSWITCH芯片 703连接, 用户终端 731、 741和 751分别与用户终端接入单元 CPE 730、 CPE 740和 CPE 750相连。  The IP network 720 is connected to the LANSWITCH chip 703, and the user terminals 731, 741, and 751 are connected to the user terminal access units CPE 730, CPE 740, and CPE 750, respectively.
之后, 还需要建立各个 CPE与网络接口板 700的 VC, 该 VC包括 单播信元标识对应的 VC、 组播信元标识对应的 VC以及广播信元标识 对应的 VC。 并建立 VPI/VCI与信元标识的对应关系。 信元标识包括单 播信元标识、 组播信元标识及广播信元标识。 在图 7所对应的系统中, IP网络与用户终端之间通过 DSLAM进行 数据通讯, 其协议处理过程如图 8所示。 After that, it is necessary to establish a VC for each CPE and the network interface board 700. The VC includes a VC corresponding to a unicast cell identifier, a VC corresponding to a multicast cell identifier, and a VC corresponding to a broadcast cell identifier. And establish the correspondence between VPI / VCI and cell identity. The cell identity includes a unicast cell identity, a multicast cell identity, and a broadcast cell identity. In the system corresponding to FIG. 7, data communication is performed between the IP network and the user terminal through a DSLAM, and a protocol processing process thereof is shown in FIG. 8.
在图 8中, 用户终端向 IP网络发送数据报文为上行方向, 上行方向 的协议处理方法为:  In Figure 8, the user terminal sends a data packet to the IP network in the uplink direction, and the protocol processing method in the uplink direction is:
1 )用户终端发送的 IP网絡数据报文通过计算机的协议栈处理, 封 装成以太网帧, 然后发送给 CPE;  1) The IP network data message sent by the user terminal is processed by the computer's protocol stack, encapsulated into an Ethernet frame, and then sent to the CPE;
2 ) CPE接收到以太网帧后, 按照 1483B/AAL5协议, 将 IP网络的 数据^ =艮文分割成标准的 ATM信元,然后将 ATM信元承载在 ADSL帧中, 并发送给用户接口板;  2) After receiving the Ethernet frame, the CPE divides the data of the IP network into standard ATM cells according to the 1483B / AAL5 protocol, and then carries the ATM cells in the ADSL frame and sends it to the user interface board. ;
3 )用户接口板从 ADSL帧恢复出 ATM信元, 并通过传输总线发送 到网络接口板;  3) The user interface board recovers ATM cells from the ADSL frame, and sends the ATM cells to the network interface board through the transmission bus;
4 ) 网络接口板按照 1483B/AAL5协议, 将接收的 ATM信元组成以 太网帧, 并将该以太网帧发送到 IP网络。 '  4) The network interface board composes the received ATM cells into an Ethernet frame according to the 1483B / AAL5 protocol, and sends the Ethernet frame to the IP network. '
IP网络向用户终端发送数据报文则为下行方向, 下行方向的协议处 理过程与上行方向相反, 因此不再赘述。  The data packet sent by the IP network to the user terminal is in the downlink direction. The protocol processing process in the downlink direction is opposite to the uplink direction, so it will not be described again.
下面结合上述协议处理过程, 对基于图 7所示系统的数据报文传输 过程进行说明。  The following describes the data packet transmission process based on the system shown in FIG. 7 in combination with the above protocol processing process.
设定用户终端 731需要 IP网络 720向本用户发送数据报文,则用户 终端 731将请求数据报文传输至 CPE 730, CPE 730则将该请求数据报 文转换为信元, 并将该信元承载在 ADSL帧中, 通过单播信元标识对应 的 VC传输至 ADSL芯片 712; ADSL芯片 712将承载在 ADSL帧中的 信元通过单播信元标识对应的 VC传输至传输总线接口单元 711。 同样, 如果请求数据报文是请求 IP 网络 720 向其发送组播数据报文, 则 DSLAM需要记录该组播数据报文的请求信息, 也即该组播数据报文的 组播组号及用户终端 731的地址信息。 该请求信息可以记录在 DSLAM 的任何组成单元中。 It is set that the user terminal 731 needs the IP network 720 to send a data message to the user, then the user terminal 731 transmits a request data message to the CPE 730, and the CPE 730 converts the request data message into a cell and the cell The bearer carried in the ADSL frame is transmitted to the ADSL chip 712 through the VC corresponding to the unicast cell identifier; the ADSL chip 712 transmits the cell carried in the ADSL frame to the transmission bus interface unit 711 through the VC corresponding to the unicast cell identifier. Similarly, if the request data message is to request the IP network 720 to send a multicast data message to it, the DSLAM needs to record the request information of the multicast data message, that is, the multicast group number and user of the multicast data message. Address information of the terminal 731. The request information can be recorded in DSLAM In any of its constituent units.
ADSL芯片 712将接收到的信元传输至传输总线接口单元 711, 传 输总线接口单元 711则为该信元增加单播信元标识、 传输总线接口单元 711的端口号以及数据报文处理单元 730的槽位号, 并将该信元与单播 信元标识、 端口号、 槽位号一起通过单播信元对应的 VC发送到传输总 线。  The ADSL chip 712 transmits the received cell to the transmission bus interface unit 711, and the transmission bus interface unit 711 adds a unicast cell identifier, the port number of the transmission bus interface unit 711, and the data packet processing unit 730 to the cell. The slot number is sent to the transmission bus through the VC corresponding to the unicast cell together with the unicast cell identifier, the port number, and the slot number.
与传输总线相连的各个传输总线接口单元同时收到传输总线上的信 元, 传输总线接口单元 701收到该信元后, 根据单播信元标识确定该信 元为单播信元, 之后再根据该信元所携带的端口号确定本端口应该接收 该信元 , 因此根据槽位号通过单播信元标识对应的 VC传输至数据报文 处理单元 702。 当然, 其他与传输总线相连的传输总线接口单元则根据 该信元所携带的端口号与自身的端口号不一致而丟弃该信元。  Each transmission bus interface unit connected to the transmission bus receives a cell on the transmission bus at the same time. After receiving the cell, the transmission bus interface unit 701 determines that the cell is a unicast cell according to the unicast cell identifier. According to the port number carried by the cell, it is determined that the local port should receive the cell, so the VC corresponding to the unicast cell identifier is transmitted to the data packet processing unit 702 according to the slot number. Of course, other transmission bus interface units connected to the transmission bus discard the cell according to the port number carried by the cell and its own port number.
数据报文处理单元 702接收到传输总线接口单元 701传输来的单播 信元后, 将该信元还原为请求数据报文, 并根据该请求数据报文 MAC 地址 ,通过 LANSWITCH芯片 703将该请求数据 4艮文传输至 IP网络 720。  After receiving the unicast cell transmitted from the transmission bus interface unit 701, the data packet processing unit 702 restores the cell to a request data packet, and according to the request data packet MAC address, sends the request through the LANSWITCH chip 703 The data is transmitted to the IP network 720.
上述对用户终端向 IP 网络发送请求数据报文的过程进行了详细说 明, 下面再对 IP网络返回数据报文的过程作相应的描述。  The foregoing has described in detail the process by which a user terminal sends a request data packet to an IP network, and the following describes the process of returning a data packet by the IP network accordingly.
IP 网络 720 向该用户终端 731 发送数据报文, 具体是通过 LANSWITCH芯片 703传输至数据报文处理单元 702。 IP网络 720传输 的数据报文可能是单播数据报文、 组播数据报文及广播数据报文。 由于 单播数据报文、 组播数据报文及广播数据报文的 MAC地址不同, 因此 数据报文处理单元 702可以通过判断接收到的数据报文的 MAC地址识 别该数据报文的种类。  The IP network 720 sends a data packet to the user terminal 731, which is specifically transmitted to the data packet processing unit 702 through the LANSWITCH chip 703. The data packets transmitted by the IP network 720 may be unicast data packets, multicast data packets, and broadcast data packets. Since the MAC addresses of the unicast data message, the multicast data message, and the broadcast data message are different, the data message processing unit 702 can identify the type of the data message by determining the MAC address of the received data message.
因此, IP网络 720将用户终端 731的请求数据报文所对应的数据报 文通过 LANSWITCH芯片 703传输至数据报文处理单元 702。数据报文 处理单元 702根据接收到.的数据报文的 MAC地址将其转换为信元。 具 体来说, 如果该数据报文是单播数据报文, 则该信元应为单播信元, 并 通过单播信元标识所对应的 VC传输至传输总线接口单元 701; 如果是 组播数据报文, 则该信元应为组播信元, 并通过组播信元标识所对应的 VC传输至传输总线接口单元 701; 如果是广播数据报文,则该信元应为 广播信元, 并通过广播信元标识对应的 VC 传输至传输总线接口单元 701。 Therefore, the IP network 720 transmits the data message corresponding to the request data message of the user terminal 731 to the data message processing unit 702 through the LANSWITCH chip 703. Data message The processing unit 702 converts the received data message into a cell according to the MAC address. Specifically, if the data message is a unicast data message, the cell should be a unicast cell and transmitted to the transmission bus interface unit 701 through the VC corresponding to the unicast cell identifier; if it is a multicast Data message, the cell should be a multicast cell, and transmitted to the transmission bus interface unit 701 through the VC corresponding to the multicast cell identifier; if it is a broadcast data message, the cell should be a broadcast cell And transmit the VC corresponding to the broadcast cell identifier to the transmission bus interface unit 701.
传输总线接口单元 701为从单播信元标识对应的 VC传输来的信元 增加单播信元标识, 根据信元的 VPI VCI确定对应的传输总线接口单元 711 的端口号及槽位号, 并为该信元增加该该端口号及槽位号, 并将信 元和单播信元标识、 端口号槽位号一起通过单播信元对应的 VC发送到 传输总线。  The transmission bus interface unit 701 adds a unicast cell identifier to a cell transmitted from the VC corresponding to the unicast cell identifier, and determines the port number and slot number of the corresponding transmission bus interface unit 711 according to the VPI VCI of the cell, and The port number and slot number are added to the cell, and the cell is sent to the transmission bus through the VC corresponding to the unicast cell together with the unicast cell identifier and the port number slot number.
传输总线接口单元 701为从组播信元标识对应的 VC传输来的信元 增加组播信元标识和组播组号, 并将信元和组播信元标识及组播组号一 起通过组播信元标识对应的 VC发送到传输总线。  The transmission bus interface unit 701 adds a multicast cell identifier and a multicast group number to a cell transmitted from the VC corresponding to the multicast cell identifier, and passes the cell, the multicast cell identifier, and the multicast group number together through the group. The VC corresponding to the broadcast cell identifier is sent to the transmission bus.
传输总线接口单元 701为从广播信元标识对应的 VC传输来的信元 增加广播信元标识, 并将信元和广播信元标识一起通过广播信元标识对 应的 VC发送到传输总线。  The transmission bus interface unit 701 adds a broadcast cell identifier to a cell transmitted from the VC corresponding to the broadcast cell identifier, and sends the cell and the broadcast cell identifier to the transmission bus through the VC corresponding to the broadcast cell identifier.
与传输总线相连的传输总线接口单元 711接收传输总线上的信元, 当然, 与传输总线相连的其他传输总线接口单元也接收该信元。  A transmission bus interface unit 711 connected to the transmission bus receives a cell on the transmission bus. Of course, other transmission bus interface units connected to the transmission bus also receive the cell.
每个传输总线接口单元在接收到该信元后 , 根据信元标识判断所接 收的信元是哪种信元。 在确定了该信元的类型后, 则根据该信元的相关 信息确定本接口单元是接收该信元还是丢弃该信元。  After each transmission bus interface unit receives the cell, it judges which cell is the received cell according to the cell identifier. After determining the type of the cell, it is determined whether the interface unit receives the cell or discards the cell according to the related information of the cell.
如果确定该信元为单播信元, 则传输总线接口单元 711在确定该信 元的端口号与自身的端口号相同后, 通过单播信元标识对应的 VC将其 传输至与该信元中的槽位号对应的 ADSL芯片 712, ADSL芯片 712则 将该信元承载在 ADSL帧中, 并通过单播信元标识所对应的 VC传输至 CPE 730。 CPE 730将收到的 ADSL帧中的信元还原单播数据报文, 并 根据单播数据报文的目的 MAC地址将其传输至用户 731。 与传输总线 连接的其他传输总线接口单元则通过判断信元的端口号与自身的端口 号不一致而丟弃该信元。 If it is determined that the cell is a unicast cell, the transmission bus interface unit 711 determines that the port number of the cell is the same as its own port number, and then uses the VC corresponding to the unicast cell identifier to identify the cell. The data is transmitted to the ADSL chip 712 corresponding to the slot number in the cell, and the ADSL chip 712 carries the cell in an ADSL frame, and transmits it to the CPE 730 through the VC corresponding to the unicast cell identifier. The CPE 730 restores the cells in the received ADSL frame to a unicast data message, and transmits it to the user 731 according to the destination MAC address of the unicast data message. Other transmission bus interface units connected to the transmission bus discard the cell by judging that the port number of the cell is not consistent with its own port number.
如果确定该信元为组播信元, 则传输总线接口单元 711根据所记录 的请求组播数据报文的请求信息中的用户地址信息确定该用户为本接 口单元所属的用户, 因此通过组播信元标识对应的 VC将该信元传输至 ADSL芯片 712。 ADSL芯片 712将其承载在 ADSL帧中, 并通过组播 信元标识对应的 VC传输至 CPE 730。 CPE 730将接收到的 ADSL帧中 的信元还原为组播数据报文, 并根据组播数据报文的目的 MAC地址将 其传输至用户终端 731。 如果用户终端 741也请求了该组播数据报文, 则传输总线接口单元 711根据所记录的请求组播数据报文的请求信息中 的用户地址信息, 并通过组播信元标识所对应的 VC将该信元传输至该 用户终端 741所属的 ADSL芯片 713, ADSL芯片 713将该信元承载在 ADSL帧中, 并将该帧通过组播信元标识对应的 VC传输至 CPE 740。 CPE 740将接收到的 ADSL帧中的信元还原为组播数据报文, 并根据组 播数据报文的目的 MAC地址将其传输至用户终端 741。 其他的传输总 线接口单元如果确定请求信息中的用户地址不属于本接口单元, 则丢弃 该信元。  If it is determined that the cell is a multicast cell, the transmission bus interface unit 711 determines that the user is a user to which the interface unit belongs according to the user address information in the recorded request information of the requested multicast data message, and therefore the The VC corresponding to the cell identification transmits the cell to the ADSL chip 712. The ADSL chip 712 carries it in an ADSL frame and transmits it to the CPE 730 through the VC corresponding to the multicast cell identifier. The CPE 730 restores the cells in the received ADSL frame to a multicast data message, and transmits it to the user terminal 731 according to the destination MAC address of the multicast data message. If the user terminal 741 also requested the multicast data message, the transmission bus interface unit 711 uses the user address information in the recorded request information of the requested multicast data message, and identifies the corresponding VC through the multicast cell. The cell is transmitted to the ADSL chip 713 to which the user terminal 741 belongs. The ADSL chip 713 carries the cell in an ADSL frame, and transmits the frame to the CPE 740 through the VC corresponding to the multicast cell identifier. The CPE 740 restores the cells in the received ADSL frame to a multicast data message, and transmits it to the user terminal 741 according to the destination MAC address of the multicast data message. If other transmission bus interface units determine that the user address in the request message does not belong to this interface unit, the cell is discarded.
如果传输总线接口单元 711根据广播信元标识确定该信元为广播信 元,则通过广播信元标识对应的 VC将其传输至 ADSL芯片 712及 713, ADSL芯片 712及 713则将该信元承载在 ADSL帧中, 并通过广播信元 标识对应的 VC将该 ADSL帧传输至 CPE 730、 740及 750。 CEP 730、 740及 750则将该 ADSL帧中的信元还原为广播数据报文, 并根据该广 播数据报文的目的 MAC 地址分别将该广播数据报文传输至用户终端 731、 741及 751。 其他传输总线接口单元也以同样的方法将该广播数据 报文传输至相应的用户。 If the transmission bus interface unit 711 determines that the cell is a broadcast cell according to the broadcast cell identifier, the VC corresponding to the broadcast cell identifier is transmitted to the ADSL chips 712 and 713, and the ADSL chips 712 and 713 carry the cell In the ADSL frame, the ADSL frame is transmitted to the CPEs 730, 740, and 750 through the corresponding VC of the broadcast cell identifier. CEP 730, 740 and 750 restore the cells in the ADSL frame to a broadcast data message, and transmit the broadcast data message to the user terminals 731, 741, and 751 according to the destination MAC address of the broadcast data message, respectively. Other transmission bus interface units also transmit the broadcast data message to the corresponding users in the same way.
另外, 基于图 7所示的系统, 还可以实现用户终端在组播中的动态 加入及离开, 当然, 这就需要增加与传输总线连接的主控模块。 具体来 说, 用户终端可以向用户侧发送请求加入某个组播组的数据报文, 用户 侧在收到该请求数据报文后, 将该请求数据报文转换为 ATM信元, 并 发送到传输总线; 网络侧从传输总线接收该 ATM信元, 并获取该 ATM 信元所对应的请求数据报文, 之后根据该请求数据报文将该用户的 VC 标识及要加入的组播组记录到用户表中, 并通过消息通道请求主控模块 对该用户的权限进行鉴权, 主控模块在通过婆权后, 判断是否存在针对 该组播组的组播 VC, 如果存在, 则直接将该用户端口加入到该组播 VC 中; 否则, 建立一条组播 VC, 并将该用户端口加入到该组播 VC 中。 其中, 可以在图 7所示的系统中增加协议处理模块, 由协议处理模块将 ATM信元转换为请求数据报文, 并向主控模块发送鉴权请求。  In addition, based on the system shown in FIG. 7, dynamic joining and leaving of user terminals in multicast can also be implemented. Of course, this requires the addition of a main control module connected to the transmission bus. Specifically, the user terminal may send a data packet requesting to join a certain multicast group to the user side. After receiving the request data packet, the user side converts the request data packet into an ATM cell and sends it to the ATM cell. Transmission bus; the network side receives the ATM cell from the transmission bus, and obtains a request data message corresponding to the ATM cell, and then records the VC identifier of the user and the multicast group to be joined according to the request data message In the user table, the main control module is requested to authenticate the authority of the user through the message channel. After passing the right, the main control module determines whether there is a multicast VC for the multicast group. If it exists, it directly The user port is added to the multicast VC; otherwise, a multicast VC is established, and the user port is added to the multicast VC. Among them, a protocol processing module may be added to the system shown in FIG. 7, the ATM cell is converted into a request data message by the protocol processing module, and an authentication request is sent to the main control module.
图 9为针对 ATM网络实现数据报文传输的系统, 该系统基于 ATM DSLAM。 图 9与图 7不同的是, 网络接口板 900中包括传输总线接口 单元 901、 单播报文处理单元 903、 组播报文处理单元 902以及协议转 换模块 904。与用户接口板 910中的 ADSL芯片 912相连的是 RTU 930, 与 ADSL芯片 913相连的是 RTU 940及 950。 ADSL芯片完成用户 ADSL 线路的适配、 接入、 组播 VC和单播 VC的汇聚等功能。  Figure 9 shows a system for data packet transmission for ATM networks, which is based on ATM DSLAM. 9 is different from FIG. 7 in that the network interface board 900 includes a transmission bus interface unit 901, a unicast message processing unit 903, a multicast message processing unit 902, and a protocol conversion module 904. The RTU 930 is connected to the ADSL chip 912 in the user interface board 910, and the RTU 940 and 950 are connected to the ADSL chip 913. The ADSL chip completes the functions of user ADSL line adaptation, access, and convergence of multicast VC and unicast VC.
对于数据流来说, 上行方向, 也即用户侧向网络侧发送的方向不会 有组播数据流, 而下行方向, 也即网络侧向用户侧发送的方向则可能有 单播数据流, 也可能有组播数据流。 下面对上行和下行方向的数据流转 发过程分别进行说明。 For data flow, there is no multicast data flow in the uplink direction, that is, the direction that the user side sends to the network side, and there may be unicast data flow in the downlink direction, that is, the direction that the network side sends to the user side. There may be multicast data streams. Data flow in the uplink and downlink directions The development process is explained separately.
另外, 图 9中的网络侧 VC一端终结在上层网络的 BAS设备, 一端 终结在协议处理模块上, 中间经过 ATM 网络、 DSLAM上行接口以及 ATM空间总线, 网络侧 VC可以设置一条, 当然, 也可以像现有技术那 样, 设置多条; 用户 VC通常情况下会存在多条, 一端终结在各个 RTU 上, 另外一端终结在协议处理模块上, 中间经过用户 RTU、 ADSL接口 板以及 ATM空间总线。  In addition, one end of the network-side VC in FIG. 9 is terminated at the BAS device of the upper layer network, and one end is terminated at the protocol processing module, and the AVC network, the DSLAM uplink interface, and the ATM space bus are interposed in the middle. As in the prior art, multiple pieces are provided. Generally, there are multiple pieces of user VCs. One end is terminated on each RTU, and the other end is terminated on the protocol processing module. The user RTU, ADSL interface board, and ATM space bus are interposed.
首先对下行转发过程进行说明。 下行方向的处理过程如图 10所示。 网络侧 VC上承载的 ATM信元在进入 ATM DSLAM后, 先由协议 转换模块进行从 ATM到 IP的协议转换, 将信元组成以太网帧, 并根据 网络侧 VC与 VLAN的对应关系为该以太网帧打上相应的 VLAN ID, 之后对该以太网帧进行单播组播的分流, 由于单播帧的目的 MAC地址 与组播帧的目的 MAC地址不同, 因此可以通过目的 MAC地址来实现 单播和组播的分流, 单播帧进入图 9中的单播报文处理单元 903, 组播 帧则进入图 9中的组播报文处理单元 902。  First, the downlink forwarding process will be described. The processing in the downstream direction is shown in Figure 10. After entering the ATM DSLAM, the ATM cells carried on the network-side VC are first converted by the protocol conversion module from ATM to IP, and the cells are composed into Ethernet frames, and the Ethernet is based on the correspondence between the network-side VC and the VLAN. The network frame is marked with the corresponding VLAN ID, and then the Ethernet frame is unicasted and multicasted. Because the destination MAC address of the unicast frame is different from the destination MAC address of the multicast frame, the unicast can be achieved by the destination MAC address. For the distribution of multicast and multicast, the unicast frame enters the unicast message processing unit 903 in FIG. 9, and the multicast frame enters the multicast message processing unit 902 in FIG. 9.
多播转发模块按照组播组( 1、 2 )与组播 VC( VC1、 VC2 ) 的对应关系, 将多播以太网帧转换为 ATM信元, 并为该 ATM信元增加 组播组号及组播信元标识, 并由传输总线接口单元 801通过组播 VC将 该 ATM信元发送到 ATM总线上。  The multicast forwarding module converts a multicast Ethernet frame into an ATM cell according to the corresponding relationship between the multicast group (1,2) and the multicast VC (VC1, VC2), and adds a multicast group number and an ATM cell to the ATM cell. The multicast cell identification, and the transmission bus interface unit 801 sends the ATM cell to the ATM bus through the multicast VC.
单播转发模块则根据单播以太网帧的目的 MAC地址或 VLAN' 按 照 MAC地址或 VLAN与用户 VC标识的对应表, 将以太网帧转换为对 应用户 VC的 ATM信元, 并为该 ATM信元增加信元标识及目的端特征 信息, 由传输总线接口单元 901通过单播 VC发送到总线上。  The unicast forwarding module converts the Ethernet frame into an ATM cell corresponding to the user VC according to the destination MAC address or VLAN of the unicast Ethernet frame. A cell identifier and destination characteristic information are added to the element, and are transmitted to the bus by the transmission bus interface unit 901 through a unicast VC.
用户侧的传输总线接口单元 911接收传输总线上的 ATM信元, 并 将该 ATM信元传输到 ADSL芯片。 具体来说, 传输总线接口单元 911 根据信元携带的目的端特征信息、单播 /组播标识来确定是否符合自身的 接收条件, 如果符合, 则去掉信元中携带的单播 /組播标识, 剥离目的端 的特征信息,并根据目的端的特征信息将信元发送到相应的 ADSL芯片。 The user-side transmission bus interface unit 911 receives the ATM cell on the transmission bus, and transmits the ATM cell to the ADSL chip. Specifically, the transmission bus interface unit 911 Determine whether the receiving conditions are met according to the feature information of the destination and the unicast / multicast identifier carried by the cell. If so, remove the unicast / multicast identifier carried in the cell, strip the feature information of the destination, and The feature information of the destination sends the cell to the corresponding ADSL chip.
ADSL芯片根据设置的组播接收表接收属于本端口的组 ί言元, 并 根据设置的单播接收表接收该端口上属于用户 VC的单播信元, 之后将 单播信元及组播信元一起按照原信元顺序复用到用户 VC上, 这样, 即 可实现一条用户 VC同时传输单播信元及组播信元。需要指出的是, ATM 上承载以太网帧时不能产生信元乱序, 一个以太网帧所分割成的信元在 传送完毕之前, 线路上不能传送其他帧的信元。 比如, 一个以太网帧中 的多播以太网帧, 分割出四个信元八、 B、 C和 D, 该以太网帧中的单 播以太网帧分割出 1、 2、 3和 4四个信元, 发送方按照 ABCD1234的顺 序发送, 该以太网帧在经过中间多次交换到达接收方后, 这个信元顺序 不能改变。  The ADSL chip receives the group of speech belonging to the port according to the set multicast receiving table, and receives the unicast cells belonging to the user VC on the port according to the set unicast receiving table. The elements are multiplexed together to the user VC in the original cell order, so that a user VC can simultaneously transmit unicast cells and multicast cells. It should be pointed out that when an Ethernet frame is carried on an ATM, the cells cannot be out of order. Before the cells divided by an Ethernet frame are transmitted, the cells of other frames cannot be transmitted on the line. For example, a multicast Ethernet frame in an Ethernet frame is divided into four cells eight, B, C, and D, and a unicast Ethernet frame in the Ethernet frame is divided into four 1, 2, 3, and 4 Cells are sent by the sender in the order of ABCD1234. After the Ethernet frame reaches the receiver through multiple intermediate exchanges, the order of the cells cannot be changed.
RTU在收到 ADSL芯片发送来的 ATM信元后, 再将该信元恢复成 以太网帧, 送到用户计算机或机顶盒之类的用户终端上。  After receiving the ATM cell sent by the ADSL chip, the RTU recovers the cell into an Ethernet frame and sends it to a user terminal such as a user computer or a set-top box.
采用上述方法就可以不通过点到多点的复制完成多播, 而是使用内 部的 ATM总线实现多播。 各个用户端口根据自身所在的多播组接收总 线上的多播数据, 而不需要 CPU进行信元复制,也就节省了设备内部的 带宽占用。 由于网络侧多个多播组数据放在一条 VC上承载, 所以多个 多播流可以由一台多播服务器来提供, 因此可以有效地节省上行连接资 源和设备投资, 也有利于组网的简化。 并且, 多个用户 VC可以收敛到 一条网络侧 VC上, 且该网络侧 VC既可以承载单播数据报文, 也可以 承载组播数据报文, 降低了维护成本, 节省了网络资源。  By adopting the above method, multicast can not be completed through point-to-multipoint replication, but the internal ATM bus is used to implement multicast. Each user port receives the multicast data on the bus according to the multicast group in which it is located, without the need for the CPU to perform cell replication, which also saves the bandwidth occupied by the device. Because multiple multicast group data on the network side are carried on a VC, multiple multicast streams can be provided by one multicast server, which can effectively save uplink connection resources and equipment investment, and is also beneficial to networking. simplify. In addition, multiple user VCs can converge to one network-side VC, and the network-side VC can carry both unicast data packets and multicast data packets, which reduces maintenance costs and saves network resources.
上行方向的处理过程则如图 11所示。具体来说,用户终端发出的以 太网帧被 RTU分解为 ATM信元, 并通过用户 VC发送到 ADSL芯片。 ADSL芯片则将该 ATM信元发送到用户侧的传输总线接口单元, 传输 总线接口单元在收到该 ATM信元后, 直接根据该用户 VC的 VPI VCI 为该 ATM信元增加单播信元标识、 目的端的特征信息, 并将该信元及 单播信元标识、 目的端的特征信息一起发送到传输总线。 The processing in the uplink direction is shown in Figure 11. Specifically, the Ethernet frame sent by the user terminal is decomposed into ATM cells by the RTU and sent to the ADSL chip through the user VC. The ADSL chip sends the ATM cell to the user-side transmission bus interface unit. After receiving the ATM cell, the transmission bus interface unit directly adds a unicast cell identifier to the ATM cell according to the VPI VCI of the user VC. And the characteristic information of the destination, and send the cell, the unicast cell identifier, and the characteristic information of the destination to the transmission bus together.
网络侧的传输总线接口单元在根据信元的目的端特征信息确定收到 的 ATM信元为自身应该接收的信元后,将该 ATM信元发送到单播报文 处理模块, 单播报文处理模块根据信元的 VPI/VCI将该 ATM信元转换 为以太网帧, 记录源 MAC地址与用户 VC标识的对应关系, 之后将该 以太网帧发送到协议转换模块, 由协议转换模块再按照 VLAN与网络 VC的对应关系,将该以太网帧转换为 ATM信元, 并发送到网络侧 VC, 网絡侧 VC将该 ATM信元发送给 ATM网络。 当然, 如果用户 VC与网 络 VC——对应, 则单播报文处理模块可以不对 ATM信元进行以太网 帧的转换, 也不用对源 MAC地址进行学习, 而是根据用户 VC与网络 VC的对应关系直接将该 ATM信元直接发送到网络侧 VC。  The transmission bus interface unit on the network side determines that the received ATM cell is the cell it should receive according to the characteristic information of the destination end of the cell, and then sends the ATM cell to the unicast message processing module and the unicast message processing module. Convert the ATM cell into an Ethernet frame according to the cell's VPI / VCI, record the correspondence between the source MAC address and the user's VC identifier, and then send the Ethernet frame to the protocol conversion module. The protocol conversion module then uses the VLAN and The corresponding relationship of the network VC converts the Ethernet frame into ATM cells, and sends the ATM cells to the network-side VC, and the network-side VC sends the ATM cells to the ATM network. Of course, if the user VC corresponds to the network VC, the unicast message processing module may not perform Ethernet frame conversion on the ATM cell and learn the source MAC address. Instead, the unicast message processing module may perform the mapping based on the correspondence between the user VC and the network VC Send the ATM cell directly to the network-side VC.
同样, 网络侧与传输总线连接的传输总线接口单元具有优先级调度 功能, 并根据该仲裁功能实现信元的传输。  Similarly, the transmission bus interface unit connected to the transmission bus on the network side has a priority scheduling function, and implements cell transmission according to the arbitration function.
另夕卜,上行通道中的数据复用由 ATM背板总线和总线接口芯片共同 完成, 总线上有多个总线接口芯片, 在同一时间内只有一个仲裁器, 具 体哪个芯片作为仲裁器则可以根据需要设置, 与传输总线连接的各个接 口芯片需要发送数据到传输总线时, 必须获得该仲裁器给予的令牌; 当 完整的一帧数据发送完毕后, 才能将令牌移交出去。 这样就保证了多个 ADSL接口板的业务汇聚到协议处理模块中的严格分帧, 不会产生信元 乱序。 协议处理模块到上行接口板之间为点对点通道, 不存在多个数据 流复用的问题。  In addition, the data multiplexing in the upstream channel is jointly completed by the ATM backplane bus and the bus interface chip. There are multiple bus interface chips on the bus, and there is only one arbiter at the same time. It needs to be set. When each interface chip connected to the transmission bus needs to send data to the transmission bus, it must obtain the token given by the arbiter; the token can be handed over after a complete frame of data is sent. This ensures that the services of multiple ADSL interface boards are aggregated into the strict framing in the protocol processing module, and no cell disorder occurs. The point between the protocol processing module and the uplink interface board is a point-to-point channel, and there is no problem of multiplexing multiple data streams.
同一块 ADSL接口板的不同端口的发送数据的复用方式还是统计复 用。 总线接口芯片采用轮训方式发送各个 ADSL端口的信元, 每个端口 发送完整的一帧后, 才会发送下一个端口的数据。 这样就保证了一块 ADSL接口板发送到总线上时也按帧发送, 不会产生信元乱序。 The multiplexing method of sending data on different ports of the same ADSL interface board is still statistically complex. use. The bus interface chip sends the cells of each ADSL port in a round-robin manner. Each port sends a complete frame before sending data for the next port. This ensures that when an ADSL interface board is sent to the bus, it is also sent in frames, and no cell disorder occurs.
上述可见, ATM DSLAM内部通过 ATM空间总线实现多播, 节省系 统资源, 提高效率。 不通过点到多点复制完成多播, 而是使用内部 ATM 空间总线实现多播, 各用户端口根据自己所在多播组接收总线上的多播 数据, 不需要 CPU进行信元复制, 也节省了设备内部的带宽占用。  It can be seen from the above that ATM DSLAM internally implements multicasting through the ATM space bus, which saves system resources and improves efficiency. Multicast is not completed through point-to-multipoint replication, but instead uses the internal ATM space bus to implement multicast. Each user port receives the multicast data on the bus according to the multicast group in which it is located. It does not require the CPU to perform cell replication, and saves Bandwidth occupied by the device.
基于图 9所示的结构,在网絡侧,多个组播组数据可以放在一条 VC 上承载, 这样, 多个多播流就可以由一台多播服务器来提供, 以有效地 节省上行连接资源和设备投资, 也有利于组网的简化; 网络侧多播数据 流和单播数据流也可以放在一条 VC上承载, 以节省上行连接资源, 減 少运营商维护人员的维护工作量。 在用户终端侧, 多播数据流和单播数 据流可以放在一条 VC上承载, 对于终端配置的简化意义非常重大, 终 端侧单播数据和多播数据放在一条 VC上承载, 可以避免增开多播业务 时还需要重新配置大量的用户终端, 同样可以大大减少维护人员的工作 量。  Based on the structure shown in Figure 9, on the network side, multiple multicast group data can be carried on a VC. In this way, multiple multicast streams can be provided by a multicast server to effectively save uplink connections. Investment in resources and equipment is also conducive to simplification of networking; network-side multicast data streams and unicast data streams can also be carried on a VC to save uplink connection resources and reduce the maintenance workload of operator maintenance personnel. On the user terminal side, the multicast data stream and unicast data stream can be carried on one VC, which is of great significance for simplifying the configuration of the terminal. The unicast data and multicast data on the terminal side are carried on one VC, which can avoid the increase of When starting a multicast service, a large number of user terminals need to be reconfigured, which can also greatly reduce the workload of maintenance personnel.
另外, 图 9所示的网絡接口板中还可以增加协议处理模块, 并在传 输总线上增加一个单板作为主控模块。  In addition, the network interface board shown in FIG. 9 can also add a protocol processing module, and add a single board as a master control module on the transmission bus.
主控模块提供对用户组播权限的鉴权、 用户组播通道的管理、 组播 用户管理、 数据的配置、 上行接口的提供等功能。  The main control module provides functions such as authentication of user multicast rights, management of user multicast channels, management of multicast users, data configuration, and provision of uplink interfaces.
协议处理模块则进行 ATM与以太网之间的协议转换、 IGMP申请报 文的捕获、 IGMP查询器、 IGMP PROXY等功能, 如果设置协议处理模 块, 则还可以由该模块实现组播与单播数据的分流。 其中, IGMP请求 是使用高速逻辑实现的模块, 工作在底层, 主要是按照 IGMP申请报文 的格式捕获该报文, 并上报给高层软件。 IGMP查询器是高层软件实现 的一个功能, 主要是定时地向所有的 ADSL用户发送通用组查询, 确定 用户的多播组加入情况, 另外, 在收到用户发出的 IGMP离开报文时, 发送特定组查询, 确认该组播组是否还有其他用户的存在。 IGMP PROXY模块也是高层软件实现的功能, 主要是对用户上报给组播路由 器的请求及离开报文进行代理服务, 并代 ADSL用户应答组播路由器发 送下来的通用组查询和特定组查询, 主要目的在于减少对组播路由器的 流量冲击, 提高组播效率。 The protocol processing module performs functions such as protocol conversion between ATM and Ethernet, capture of IGMP application messages, IGMP querier, and IGMP PROXY. If a protocol processing module is set, the module can also implement multicast and unicast data. Of the diversion. Among them, the IGMP request is a module implemented using high-speed logic and works at the bottom. It mainly captures the message according to the format of the IGMP application message and reports it to the high-level software. IGMP querier is a high-level software implementation A function is to periodically send a general group query to all ADSL users to determine the user's multicast group joining status. In addition, when receiving an IGMP leave message from the user, send a specific group query to confirm the multicast Whether there are other users of the group. The IGMP PROXY module is also a function implemented by high-level software. It mainly performs proxy services for user requests and leave messages reported to the multicast router, and responds to general group queries and specific group queries sent by the multicast router on behalf of ADSL users. The main purpose is It is to reduce the traffic impact on the multicast router and improve the multicast efficiency.
增加主控模块及协议处理模块之后的 ATM DSLAM设备可以以图 12所示的形式设置。  The ATM DSLAM equipment after adding the main control module and protocol processing module can be set in the form shown in Figure 12.
基于上述设置,与 ATM DSLAM设备连接的用户还可以根据需要动 态地加入或离开组播组, 并且在用户离开后, ATM DSLAM不再发送多 播数据到该用户端口。  Based on the above settings, users connected to ATM DSLAM devices can also dynamically join or leave multicast groups as needed, and after users leave, ATM DSLAM no longer sends multicast data to the user port.
具体来说, 用户加入组播组的处理如图 13所示, 其具体过程为: 当 用户打开一个组播应用后, 计算机发送一个请求加入某个组播组的报 文, 该请求报文在 RTU上被分解为 ATM信元, 并通过相应的用户 VC 交换到网络侧的协议处理模块; 协议处理模块将 ATM信元组成以太网 帧,也就是说,按照以太网帧承载在 ATM上的协议 RFC1483B,将 1483B 的帧恢复成以太网帧; 底层硬件逻辑根据标准 IGMP协议识别此报文, 并将其捕获给协议处理模块的软件, 软件根据此请求报文将该用户 VC 标识和该用户要加入的多播组记录在用户表中, 同时通过消息通道发送 一个高层消息到主控模块, 请求对此用户的权限进行鉴权, 主控模块鉴 权通过后, 发送响应给协议处理模块, 同时针对这个多播组建立一条组 播的 VC连接, 并发送消息通知 ADSL接口板, 然后将该用户端口加入 到该组播 VC中。  Specifically, the process for a user to join a multicast group is shown in Figure 13, and the specific process is as follows: After the user opens a multicast application, the computer sends a message requesting to join a multicast group, and the request message is The RTU is decomposed into ATM cells and exchanged to the network-side protocol processing module through the corresponding user VC. The protocol processing module forms the ATM cells into an Ethernet frame, that is, according to the protocol carried on the ATM by the Ethernet frame RFC1483B, restore the frame of 1483B into an Ethernet frame; the underlying hardware logic recognizes this message according to the standard IGMP protocol, and captures it to the software of the protocol processing module. The software uses the request message to identify the user VC ID and the user request The joined multicast group is recorded in the user table, and at the same time, a high-level message is sent to the main control module through the message channel, requesting the authorization of the user. After the main control module passes the authentication, it sends a response to the protocol processing module. Establish a multicast VC connection for this multicast group, send a message to notify the ADSL interface board, and then add the user port To the multicast VC in.
用户离开组播组的处理具体有两种, 一种是协议处理模块提供 T N2004/000911 There are two types of processing for users leaving a multicast group. One is provided by the protocol processing module. T N2004 / 000911
IGMP查询器的功能, 每隔一定时间通过用户 VC向所有 ADSL用户发 送多播通用查询, 如果某个用户长时间没有发送响应报文, 则认为该用 户已离开所在的多播组。另一种是支持 IGMP V2协议的用户计算机在离 开某个多播组时, 会发送离开多播组报文给上层网络, 协议处理模块在 捕获该报文后, 确定该用户离开了特定的多播组。 The function of the IGMP querier sends a multicast general query to all ADSL users through the user VC at a certain interval. If a user does not send a response message for a long time, the user is considered to have left the multicast group. The other is that when a user computer supporting the IGMP V2 protocol leaves a multicast group, it sends a leave multicast group message to the upper-layer network. After capturing the message, the protocol processing module determines that the user has left a specific multicast group. Broadcast group.
协议处理模块在确定某个用户离开某个多播组后, 发送高层消息给 主控模块, 主控模块则发送消息到用户接口板, 将用户端口从对应的多 播 VC删除, 这样, 用户就不会再收到该多播组的数据报文了。  After determining that a user leaves a multicast group, the protocol processing module sends a high-level message to the main control module, and the main control module sends a message to the user interface board to delete the user port from the corresponding multicast VC. In this way, the user will No more data messages will be received from this multicast group.
对于上述所有的系统来说, 与传输总线连接的接口单元都会存在优 先级调度功能, 但对于用户侧传输总线接口单元来说, 其传输到传输总 线的数据报文只可能是单播数据报文, 因此可以关闭该接口单元的优先 级调度功能。  For all the above systems, the interface unit connected to the transmission bus will have a priority scheduling function, but for the user-side transmission bus interface unit, the data packets transmitted to the transmission bus may only be unicast data packets Therefore, the priority scheduling function of the interface unit can be disabled.
以上所述仅为本发明方案的较佳实施例, 并不用以限定本发明的保 护范围。  The above are only preferred embodiments of the solution of the present invention, and are not intended to limit the protection scope of the present invention.

Claims

权利要求书 Claim
1、 一种实现数据报文传输的方法, 其特征在于, 该方法包括以下步 骤:  1. A method for implementing data packet transmission, characterized in that the method includes the following steps:
a.发送端将待发送的数据报文转换为信元并发送出去;  a. The sender converts the data message to be sent into a cell and sends it out;
b. 接收端接收该信元,并根据信元所承载的信息将该信元所对应的 数据报文传输出去。  b. The receiving end receives the cell and transmits the data packet corresponding to the cell according to the information carried by the cell.
2、 ^据权利要求 1所述的方法, 其特征在于, 该方法进一步包括: 设置连接发送端与接收端的传输总线, 所述信元为设置在传输总线上传 输的信元, 且所述信元具有对应的 VPI/VCI;  2. The method according to claim 1, further comprising: setting a transmission bus connecting a transmitting end and a receiving end, wherein the cell is a cell set on a transmission bus, and the information Yuan has corresponding VPI / VCI;
步骤 a中, 所述发送端将转换后的信元传输到传输总线:  In step a, the transmitting end transmits the converted cells to a transmission bus:
步骤 b中, 所述接收端从传输总线接收该信元。  In step b, the receiving end receives the cell from a transmission bus.
3、根据权利要求 1或 2所述的方法, 其特征在于, 所述数据报文包 括: 单播数据报文、 组播数据报文和广播数据报文。  3. The method according to claim 1 or 2, wherein the data message comprises: a unicast data message, a multicast data message, and a broadcast data message.
4、根据权利要求 3所述的方法, 其特征在于, 所述信元为异步传输 模式 ATM信元;  4. The method according to claim 3, wherein the cells are asynchronous transmission mode ATM cells;
该方法进一步包括:建立发送端和接收端信元标识对应的专用信道, 建立数据报文中的源介质访问控制 MAC地址与 VC的虚路径标识符及 虚信道标识符 VPI VCI的对应关系, 并建立信元标识与 VC的 VPI/VCI 的对应关系。  The method further includes: establishing a dedicated channel corresponding to the cell identifier of the transmitting end and the receiving end, establishing a correspondence between the source medium access control MAC address in the data message and the virtual path identifier and virtual channel identifier VPI VCI of the VC, and Establish the correspondence between the cell identifier and the VPI / VCI of the VC.
5、 根据权利要求 4所述的方法, 其特征在于, 所述信元标识包括: 单播信元标识、 组播信元标识和广播信元标识。  5. The method according to claim 4, wherein the cell identity comprises: a unicast cell identity, a multicast cell identity, and a broadcast cell identity.
6、根据权利要求 5所述的方法, 其特征在于, 所述单播信元标识包 括单播信元目的端的特征信息, 所述组播信元标识包括组播组号。  6. The method according to claim 5, wherein the unicast cell identifier includes characteristic information of a destination end of the unicast cell, and the multicast cell identifier includes a multicast group number.
7、根据权利要求 4所述的方法,其特征在于,所述发送端为网络侧, 接收端为用户侧, 所述网络为 IP网络; 所述步骤 a包括: 网络侧根据待发送数据报文的 MAC地址, 将该 数据报文转换为具有 VPI/VCI的信元,并根据所述信元的 VPI VCI确定 对应的信元标识, 之后将所述信元和信元标识一起通过信元标识所对应 的专用信道发送出去。 7. The method according to claim 4, wherein the sending end is a network side, the receiving end is a user side, and the network is an IP network; The step a includes: the network side converts the data packet into a VPI / VCI cell according to the MAC address of the data packet to be sent, and determines a corresponding cell identifier according to the VPI VCI of the cell, and thereafter And sending the cell and the cell identifier together through a dedicated channel corresponding to the cell identifier.
8、 根据权利要求 7所述的方法, 其特征在于, 所述步骤 a中, 网络 侧在发送该信元及信元标识之前, 进一步包括: 网络侧根据预定的算法 及信元优先级确定当前允许发送该信元和信元标识, 之后执行所述发送 操作。  8. The method according to claim 7, wherein in the step a, before the network side sends the cell and the cell identifier, the network side further comprises: the network side determines the current according to a predetermined algorithm and cell priority. The cell and the cell identifier are allowed to be sent, and then the sending operation is performed.
9、根据权利要求 7所述的方法, 其特征在于所述步驟 b中, 所述接 收端根据该信元所承载的信息将该信元所对应的数据报文传输出去包 括:  9. The method according to claim 7, wherein in step b, the receiving end transmitting the data message corresponding to the cell according to the information carried by the cell, comprising:
每个用户侧根据接收到的信元的信元标识判断该信元是单播信元标 识、 组播信元标识或广播信元标识;  Each user side judges whether the cell is a unicast cell ID, a multicast cell ID or a broadcast cell ID according to the cell ID of the received cell;
如果是单播信元标识, 则每个用户侧根据该信元的信元标识确定自 身是否与该信元标识对应, 如果是, 则根据该信元标识确定需要接收所 述信元的用户终端, 并将所述信元还原为单播数据报文传输至所述用户 终端; 否则, 丢弃该信元;  If it is a unicast cell identifier, each user side determines whether it corresponds to the cell identifier according to the cell identifier of the cell, and if so, determines a user terminal that needs to receive the cell according to the cell identifier. And restore the cell to a unicast data message and transmit to the user terminal; otherwise, discard the cell;
如果是组播信元标识, 则每个用户侧根据预先记录的用户终端请求 数据报文信息确定是否存在需要接收该信元的用户终端, 并将所述信元 还原为组播数据^ 1艮文传输至所述用户终端; 否则, 丢弃该信元; If the cell is a multicast identifier, each user-side user terminal according to the pre-recorded information request data packet to determine whether there is a user terminal needs to receive the cell, and the cell is a reduction of the multicast data 1 ^ gen Transmit the text to the user terminal; otherwise, discard the cell;
如果是广播信元标识, 则每个用户侧将所述信元还原为广播数据报 文, 并传输至所有的用户终端。  If it is a broadcast cell identifier, each user side restores the cell to a broadcast data message and transmits it to all user terminals.
10、 根据权利要求 4所述的方法, 其特征在于, 所述发送端为用户 侧, 接收端为网络侧; 所述网絡为 IP网络。  10. The method according to claim 4, wherein the transmitting end is a user side, and the receiving end is a network side; and the network is an IP network.
所述步驟 a包括: 用户侧将用户终端传输来的请求数据报文转换为 信元, 并将该信元与单播信元标识一起通过单播信元标识对应的专用信 道传输至网络侧; The step a includes: the user side converts the request data packet transmitted from the user terminal into A cell, and transmitting the cell together with the unicast cell identifier to a network side through a dedicated channel corresponding to the unicast cell identifier;
步驟 b中, 所述网络侧根据该数据报文的目的 MAC地址发送该数 据报文。  In step b, the network side sends the data packet according to a destination MAC address of the data packet.
11、根据权利要求 10所述的方法, 其特征在于, 所述请求数据报文 承载的信息为请求组播数据报文;  11. The method according to claim 10, wherein the information carried in the request data message is a request multicast data message;
该方法进一步包括: 在网络侧或用户侧记录该请求数据报文的相关 信息;  The method further includes: recording related information of the request data message on the network side or the user side;
所述相关信息包括: 用户终端的地址信息、 所请求的組播数据报文 的组播组号。  The related information includes: address information of the user terminal, and a multicast group number of the requested multicast data message.
12、 根据权利要求 1 所述的方法, 其特征在于, 所述信元为 ATM 信元, 所述发送端为网络侧, 接收端为用户侧; 所述网絡为 ATM网络; 所述步骤 a包括: 网络侧将 ATM网络发送来的 ATM信元组成以太 网帧, 并为该以太网帧打上 VL AN ID, 之后根据组播组与组播 VC的对 应关系将该以太网帧中的组播帧转换为 ATM信元 ,并为该 ATM信元设 置信元标识及目的端特征信息, 之后发送至传输总线; 根据以太网的识 别信息与用户 VC标识的对应关系将该以太网帧中的单播帧转换为 ATM 信元, 并为该 ATM信元设置组播组号及组播信元, 之后发送至传输总 线;  12. The method according to claim 1, wherein the cell is an ATM cell, the sending end is a network side, and the receiving end is a user side; the network is an ATM network; and step a includes: : The network side composes the ATM cells sent from the ATM network into an Ethernet frame, adds the VL AN ID to the Ethernet frame, and then multicasts the multicast frame in the Ethernet frame according to the correspondence between the multicast group and the multicast VC. Convert it into ATM cells, and set the cell identifier and destination characteristic information for the ATM cell, and then send it to the transmission bus; according to the correspondence between the identification information of the Ethernet and the VC identifier of the user, the unicast in the Ethernet frame The frame is converted into an ATM cell, and a multicast group number and a multicast cell are set for the ATM cell, and then sent to the transmission bus;
步骤 b中, 所述接收端根据该信元所承载的信息将该信元所对应的 数据报文传输出去包括: 用户侧在确定接收该 ATM信元后, 并根据组 播组号或目的端的特征信息将去掉相关信息的 ATM信元组成以太网帧, 并根据帧中的目的 MAC地址对所组成的以太网帧进行转发。  In step b, the receiving end transmitting the data message corresponding to the cell according to the information carried by the cell includes: after the user side determines to receive the ATM cell, and according to the multicast group number or the destination end's The characteristic information will form the Ethernet frame by removing the ATM cells of the related information, and forward the composed Ethernet frame according to the destination MAC address in the frame.
13、根据权利要求 12所述的方法, 其特征在于, 所述用户侧通过用 户 VC与 RTU连接; 所述用户侧根据帧中的目的 MAC地址对以太网帧进行转发包括: 用户侧根据目的 MAC地址将对应的 ATM信元发送到 RTU, 由 RTU将 收到的 ATM信元转换为以太网帧并发送。 13. The method according to claim 12, wherein the user side is connected to the RTU through a user VC; The user side forwarding the Ethernet frame according to the destination MAC address in the frame includes: the user side sends the corresponding ATM cell to the RTU according to the destination MAC address, and the RTU converts the received ATM cell into an Ethernet frame and send.
14、 根据权利要求 1 所述的方法, 其特征在于, 所述信元为 ATM 信元, 所述发送端为用户侧, 接收端为网络侧; 所述网络为 ATM网絡; 且用户侧通过用户 VC与 RTU连接;  14. The method according to claim 1, wherein the cell is an ATM cell, the sending end is a user side, and the receiving end is a network side; the network is an ATM network; and the user side passes the user VC is connected to RTU;
所述步骤 a包括:与用户侧连接的 RTU将用户终端发送来的数据报 文转换为 ATM信元,并发送到用户侧, 用户侧根据用户 VC的 VPI/VCI 为该信元增加单播信元标识、 目的端的特征信息, 并将该信元、 单播信 元标识以及目的端的特征信息发送到传输总线;  The step a includes: the RTU connected to the user side converts the data message sent by the user terminal into an ATM cell and sends it to the user side, and the user side adds a unicast message to the cell according to the VPI / VCI of the user VC Element identification, characteristic information of the destination, and sending the cell, unicast cell identification, and characteristic information of the destination to the transmission bus;
步骤 b中, 所述接收端根据信元所承载的信息将该信元所对应的数 据报文传输出去包括: 网络侧根据该 ATM信元的目的端特征信息确定 接收该信元,并根据该信元的 VPI/VCI将该 ATM信元转换为对应 VLAN 的以太网帧, 并记录该以太网帧的源 MAC地址与用户 VC标识的对应 关系 , 之后将该以太网帧转换为 ATM信元, 并将该 ATM信元传输到相 应的 ATM网絡。  In step b, the receiving end transmitting the data packet corresponding to the cell according to the information carried by the cell includes: the network side determines to receive the cell according to the characteristic information of the destination end of the ATM cell, and according to the The VPI / VCI of the cell converts the ATM cell into an Ethernet frame corresponding to the VLAN, and records the correspondence between the source MAC address of the Ethernet frame and the user VC identifier, and then converts the Ethernet frame into an ATM cell. The ATM cell is transmitted to the corresponding ATM network.
15、 根据权利要求 10或 14所述的方法, 其特征在于, 所述用户终 端发出的数据报文为申请加入组播的 IGMP申请报文;  15. The method according to claim 10 or 14, wherein the data message sent by the user terminal is an IGMP application message requesting to join the multicast;
步骤 b中, 所述接收端在接收到信元之后, 进一步包括: 判断信元 所对应的数据报文是否为申请加入组播的 IGMP申请报文,  In step b, after receiving the cell, the receiving end further includes: judging whether the data message corresponding to the cell is an IGMP application message for applying to join the multicast,
如果是, 则记录该报文的相关信息, 并对该用户终端进行鉴权; 在 鉴权通过后, 判断是否存在该组播的 VC, 如果是, 则将该用户终端加 入到该组播 VC中; 否则, 建立针对该用户终端的组播 VC;  If yes, record the relevant information of the message and authenticate the user terminal; determine whether the multicast VC exists after the authentication is passed, and if so, add the user terminal to the multicast VC In; otherwise, establish a multicast VC for the user terminal;
如果不是, 则继续。  If not, continue.
16、 根据权利要求 10或 14所述的方法, 其特征在于, 所述用户终 端发出的以太网帧为申请离开组播的 IGMP申请报文; 步骤 b中, 所述接收端在接收到信元之后, 进一步包括: 判断该信 元所对应的数据报文是否为申请离开组播的 IGMP申请报文, 如果是, 则将该用户终端从对应的组播 VC删除; 否则, 继续。 16. The method according to claim 10 or 14, wherein the user terminal The Ethernet frame sent by the UE is an IGMP application message requesting to leave the multicast. In step b, after the receiving end receives the cell, it further includes: determining whether the data message corresponding to the cell is the request to leave the group. The IGMP application message broadcasted, if yes, delete the user terminal from the corresponding multicast VC; otherwise, continue.
17、 根据权利要求 7、 10、 12或 14所述的方法, 其特征在于, 该方 法进一步包括: 网络侧每隔一定时间向所有用户终端发送组播通用查 询, 如果用户终端在设定的时间内没有发送响应报文, 则确定该用户已 经离开組播组; 否则, 继续查询。  17. The method according to claim 7, 10, 12 or 14, further comprising: sending, by the network side, a universal multicast query to all user terminals at a certain time, if the user terminal is at a set time If no response message is sent, it is determined that the user has left the multicast group; otherwise, the query is continued.
18、 一种实现数据报文传输的系统, 其特征在于, 该系统包括: 网络侧接口设备: 将网络发送来的数据报文转换为信元, 将信元与 信元标识一起发送到传输总线;  18. A system for implementing data message transmission, comprising: a network-side interface device: converting a data message sent from a network into a cell, and sending the cell together with a cell identifier to a transmission bus;
用户侧接口设备: 接收网络侧接口设备发送到传输总线上的信元, 根据所述信元的信元标识将该信元发送到相应的用户终端。  User-side interface device: receiving a cell sent by a network-side interface device to a transmission bus, and sending the cell to a corresponding user terminal according to a cell identifier of the cell.
19、 根据权利要求 18所述的系统, 其特征在于,  19. The system according to claim 18, wherein:
所述用户侧接口设备进一步将用户终端发送来的数据报文转换为信 元, 并将其与单播信元标识一起发送到传输总线;  The user-side interface device further converts the data message sent by the user terminal into a cell, and sends it to the transmission bus together with the unicast cell identifier;
所述网络侧接口设备进一步接收用户侧接口设备发送到传输总线上 的信元, 将该信元所对应的数据报文发送给网络。  The network-side interface device further receives a cell sent by the user-side interface device to the transmission bus, and sends a data message corresponding to the cell to the network.
20、根据权利要求 19所述的系统, 其特征在于, 所述用户侧接口设 备包括:  20. The system according to claim 19, wherein the user-side interface device comprises:
用户设备接口单元: 用于将用户终端传输来的数据报文转换为信元 后, 传输至与自身相连的传输总线接口单元; 并将所述传输总线接口单 元传输来的信元还原为数据报文, 并发送到相应的用户终端;  User equipment interface unit: used to convert a data message transmitted from a user terminal into a cell and transmit it to a transmission bus interface unit connected to itself; and restore the cell transmitted by the transmission bus interface unit to a datagram And send it to the corresponding user terminal;
传输总线接口单元: 具有优先级调度功能, 用于将所述用户设备接 口单元传输来的信元及相应的信元标识一起发送至传输总线; 并接收所 述传输总线上的信元, 根据信元标识将信元发送到所述用户设备接口单 元。 Transmission bus interface unit: It has a priority scheduling function, and is used to send the cells transmitted by the user equipment interface unit and the corresponding cell identifiers to the transmission bus together; The cell on the transmission bus is described, and the cell is sent to the user equipment interface unit according to the cell identifier.
21、根据权利要求 20所述的系统, 其特征在于, 所述用户设备接口 单元包括:  21. The system according to claim 20, wherein the user equipment interface unit comprises:
用户终端接入单元: 用于将所述用户终端传输来的数据报文转换成 信元, 将该信元承载在预定帧中发送到信元承载单元; 并将信元承载单 元传输来的承载在预定帧中的信元还原为数据报文, 并传输至用户终 端;  User terminal access unit: configured to convert a data message transmitted by the user terminal into a cell, and send the cell bearer to a cell bearer in a predetermined frame; and bearer transmitted from the cell bearer The cells in the predetermined frame are restored into data messages and transmitted to the user terminal;
信元承载单元: 用于将用户终端接入单元通过预定帧中传输来的信 元传输至传输总线接口模块; 并将所述传输总线接口模块传输来的信元  Cell carrying unit: used to transmit a cell transmitted by a user terminal access unit through a predetermined frame to a transmission bus interface module; and transmit a cell transmitted by the transmission bus interface module
22、根据权利要求 21所述的系统, 其特征在于, 所述信元承载单元 为: 不对称数字用户线芯片、 或甚高速数字用户线芯片、 或高比特数字 用户线套片。 22. The system according to claim 21, wherein the cell carrying unit is: an asymmetric digital subscriber line chip, or a high-speed digital subscriber line chip, or a high-bit digital subscriber line sleeve.
23、根据权利要求 19所述的系统, 其特征在于, 所述网络侧接口设 备包括:  23. The system according to claim 19, wherein the network-side interface device comprises:
数据报文处理单元: 用于将网络传输来的数据报文转换成信元, 将 该信元及相应的信元标识一起传输至具有仲裁功能的传输总线接口单 元; 并将所述具有仲裁功能的传输总线接口单元传输来的信元还原为数 据报文传输到网络;  Data message processing unit: used to convert a data message transmitted from the network into a cell, and transmit the cell and the corresponding cell identifier to a transmission bus interface unit with an arbitration function; and the arbitration function is provided. The cells transmitted by the transmission bus interface unit are restored as data packets and transmitted to the network;
传输总线接口单元: 具有优先级调度功能, 用于确定所述数据报文 处理单元传输来的信元所对应的信元标识, 并根据预定的算法及优先级 确定是否允许将信元及信元标识传输至传输总线; 并接收传输总线上的 信元, 根据该信元对应的信元标识确定需要传输至数据报文处理单元的 信元, 并将该信元传输至数据^艮文处理单元。 Transmission bus interface unit: It has a priority scheduling function for determining a cell identifier corresponding to a cell transmitted by the data message processing unit, and determining whether to allow the cell and the cell according to a predetermined algorithm and priority. The identification is transmitted to the transmission bus; and a cell on the transmission bus is received, and a cell to be transmitted to the data message processing unit is determined according to the cell identifier corresponding to the cell, and the cell is transmitted to the data processing unit .
24、 根据权利要求 19或 23所述的系统, 其特征在于, 所述网络侧 接口设备进一步包括: 接口转换单元: 用于连接所述网络侧接口设备与 网络。 24. The system according to claim 19 or 23, wherein the network-side interface device further comprises: an interface conversion unit: configured to connect the network-side interface device to a network.
25、根据权利要求 24所述的系统, 其特征在于, 所述接口转换单元 为快速以太网 FE光口, 或 FE电口、 或 G比特以太网光口。  25. The system according to claim 24, wherein the interface conversion unit is a Fast Ethernet FE optical port, or a FE electrical port, or a G-bit Ethernet optical port.
26、 根据权利要求 19所述的系统, 其特征在于, 所述网络为 ATM 网络, 所述网络侧接口设备进一步包括:  26. The system according to claim 19, wherein the network is an ATM network, and the network-side interface device further comprises:
协议转换模块:用于将 ATM网络传输来的 ATM信元组成以太网帧, 为该以太网帧打上 VLAN ID ,并将处理后的以太网帧中的单播帧发送到 单播报文处理单元, 将组播帧发送到组播报文处理单元; 并将单播报文 处理模块发送来的信息转换为 ATM信元后发送到网络侧 VC;  Protocol conversion module: used to form ATM cells transmitted from the ATM network into an Ethernet frame, tag the Ethernet frame with a VLAN ID, and send the unicast frame in the processed Ethernet frame to the unicast message processing unit, Send the multicast frame to the multicast message processing unit; and convert the information sent by the unicast message processing module into ATM cells and send it to the network-side VC;
单播报文处理单元: 接收协议转换模块发送来的单播帧, 按照帧中 的目的 MAC地址与用户 VC标识的对应关系,将所述单播帧转换为 ATM 信元, 并发送到传输总线接口单元; 并转发传输总线接口单元发送来的 单播信息;  Unicast message processing unit: receives a unicast frame sent by a protocol conversion module, converts the unicast frame into an ATM cell according to the correspondence between the destination MAC address in the frame and the user VC identifier, and sends the ATM cell to the transmission bus interface Unit; and forward the unicast information sent by the transmission bus interface unit;
组播报文处理单元: 接收协议转换模块发送来的組播帧, 按照组播 组与组播 VC的对应关系, 将所述组播帧转换为 ATM信元, 并发送到 传输总线接口单元; 并转发传输总线接口单元发送来的組播信息;  A multicast message processing unit: receiving a multicast frame sent by a protocol conversion module, converting the multicast frame into an ATM cell according to a correspondence relationship between a multicast group and a multicast VC, and sending the ATM cell to a transmission bus interface unit; And forward the multicast information sent by the transmission bus interface unit;
传输总线接口单元: 具有优先级调度功能功能, 用于接收单播报文 处理单元及組播报文处理单元发送来的 ATM信元,并将收到的 ATM信 元发送到传输总线; 并将传输总线上的 ATM信元发送给单播报文处理 模块。  Transmission bus interface unit: It has the function of priority scheduling, and is used to receive ATM cells from unicast message processing unit and multicast message processing unit, and send the received ATM cells to the transmission bus; and The ATM cells on it are sent to the unicast message processing module.
27、 根据权利要求 19或 26所述的系统, 其特征在于, 该系统进一 步包括:  27. The system according to claim 19 or 26, wherein the system further comprises:
主控模块: 用于对网络侧接收到的请求数据报文进行鉴权处理, 并 在鉴权通过后, 将发送请求数据报文的用户终端加入到组播 VC 中; 所述网络侧接口设备中的传输总线接口单元进一步包括: 协议处理 单元: 用于确定传输总线接口单元接收到的 ATM信元所对应的数据报 文是否为 IGMP申请报文,将所确定的 IGMP申请报文发送到主控模块, 在确定数据报文不是 IGMP申请报文时, 将 ATM信元中的单播信息发 送给单播报文处理模块, 将组播信息发送给组播报文处理模块。 A main control module: configured to perform authentication processing on a request data packet received by a network side, and After the authentication is passed, the user terminal sending the request data message is added to the multicast VC; the transmission bus interface unit in the network-side interface device further includes: a protocol processing unit: used to determine that the transmission bus interface unit receives the Whether the data message corresponding to the ATM cell is an IGMP application message, and sends the determined IGMP application message to the main control module. When it is determined that the data message is not an IGMP application message, the The broadcast information is sent to the unicast message processing module, and the multicast information is sent to the multicast message processing module.
28、根据权利要求 27所述的系统, 其特征在于, 所述协议处理单元 包括: IGMP申请报文的捕获处理模块、 IGMP申请报文查询器或 IGMP PROXY模块, 用于根据 IGMP申请报文向协议处理单元提供用户加入 或离开组播组的信息。  28. The system according to claim 27, wherein the protocol processing unit comprises: an IGMP application message capture processing module, an IGMP application message querier, or an IGMP PROXY module, configured to send an IGMP application message to the IGMP application message. The protocol processing unit provides information for users to join or leave the multicast group.
29、根据权利要求 26'所述的系统, 其特征在于, 所述系统中存在一 条以上的用户 VC, 所述用户 VC的一端终结在与用户终端连接的 RTU 上, 另一端终结在网络侧的传输总线接口单元, 中间经过用户 RTU、 用 户侧的传输总线接口单元以及传输总线;  29. The system according to claim 26 ', characterized in that: there is more than one user VC in the system, one end of the user VC is terminated on the RTU connected to the user terminal, and the other end is terminated on the network side A transmission bus interface unit, which passes through a user RTU, a user-side transmission bus interface unit, and a transmission bus;
系统中存在一条网络侧 VC, 所述网絡侧 VC的一端终结在 ATM网 络的 BAS设备上, 另一端终结在网络侧的传输总线接口单元, 中间经过 ATM网络和网络侧的传输总线接口单元。  There is a network-side VC in the system. One end of the network-side VC is terminated on the BAS device of the ATM network, and the other end is terminated on the transmission bus interface unit on the network side, and the ATM network and the transmission bus interface unit on the network side are passed in the middle.
PCT/CN2004/000911 2003-08-07 2004-08-06 A method and system for implementing the transmission of the data packet WO2005015837A1 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
CNB031439934A CN100546263C (en) 2003-08-07 2003-08-07 Space multicast Digital Subscriber Line Access Multiplexer multicast service implementation method and device
CN03143993.4 2003-08-07
CN03154146.1 2003-08-12
CNB031541461A CN100358319C (en) 2003-08-12 2003-08-12 Method and system for realizing data-message transmission
CNB031542948A CN1327664C (en) 2003-08-19 2003-08-19 Transmitter and method of asynchronous transmitting mode data flow
CN03154294.8 2003-08-19

Publications (1)

Publication Number Publication Date
WO2005015837A1 true WO2005015837A1 (en) 2005-02-17

Family

ID=34139187

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2004/000911 WO2005015837A1 (en) 2003-08-07 2004-08-06 A method and system for implementing the transmission of the data packet

Country Status (1)

Country Link
WO (1) WO2005015837A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111786890A (en) * 2020-06-29 2020-10-16 新华三信息安全技术有限公司 Multicast message sending method, related device and network equipment
CN114338448A (en) * 2021-12-29 2022-04-12 北京天融信网络安全技术有限公司 Performance test method and device, electronic equipment and storage medium
CN115632979A (en) * 2022-12-19 2023-01-20 成都菁蓉联创科技有限公司 Communication data forwarding method, system and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1396748A (en) * 2001-07-11 2003-02-12 日本电气株式会社 Block processing device
CN1422508A (en) * 2000-03-23 2003-06-04 西门子移动通讯公司 Telecommunication process and system handling data organized in cells of variable length

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1422508A (en) * 2000-03-23 2003-06-04 西门子移动通讯公司 Telecommunication process and system handling data organized in cells of variable length
CN1396748A (en) * 2001-07-11 2003-02-12 日本电气株式会社 Block processing device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111786890A (en) * 2020-06-29 2020-10-16 新华三信息安全技术有限公司 Multicast message sending method, related device and network equipment
CN111786890B (en) * 2020-06-29 2022-05-27 新华三信息安全技术有限公司 Multicast message sending method, related device and network equipment
CN114338448A (en) * 2021-12-29 2022-04-12 北京天融信网络安全技术有限公司 Performance test method and device, electronic equipment and storage medium
CN114338448B (en) * 2021-12-29 2024-02-20 北京天融信网络安全技术有限公司 Performance test method and device, electronic equipment and storage medium
CN115632979A (en) * 2022-12-19 2023-01-20 成都菁蓉联创科技有限公司 Communication data forwarding method, system and storage medium

Similar Documents

Publication Publication Date Title
US7746799B2 (en) Controlling data link layer elements with network layer elements
Newman ATM local area networks
US6496479B1 (en) Network resource reservation control method and apparatus, receiving terminal, sending terminal, and relay apparatus
US6563830B1 (en) Multicast registration of all multicast flows in an asynchronous transfer mode based emulated LAN
US7489684B2 (en) Access network architecture for multicasting using xDSL and IGMP
EP1189387B1 (en) Method of providing bidirectional communication in a network for multicasting Internet Protocol data streams and network for applying the method
WO2006069532A1 (en) Method and system for implementing multicast using slave access module during digital subscriber line accessing
JPH11103298A (en) Method and device for controlling packet transmission
KR20060042234A (en) Multicast information delivery system and multicast information delivery method
JP2001502509A (en) Cable network using ATM cells for transmission of prioritized packets
WO2005119968A1 (en) A method for transmitting the policy information between the network devices
EP1287651B1 (en) Atm multicasting for delivering information over a network
WO2007059679A1 (en) A method for processing the abnormal multicast service and a network equipment thereof
WO2005015837A1 (en) A method and system for implementing the transmission of the data packet
KR20080042893A (en) Method, communication arrangement and communication device for transferring information
JPH11103297A (en) Method and device for controlling packet transmission
CN1327664C (en) Transmitter and method of asynchronous transmitting mode data flow
CN100546263C (en) Space multicast Digital Subscriber Line Access Multiplexer multicast service implementation method and device
CN100358319C (en) Method and system for realizing data-message transmission
EP2066073B1 (en) Access system and method for multicast management
JP3531412B2 (en) Multicast communication system and ATM cell forming apparatus
US6546015B1 (en) LAN emulation broadcast and unknown server
Bagwell et al. Achieving IP-multicast functionality in the asynchronous transfer mode environment
WO2012097646A1 (en) Isolation method and device for multicast service
JP2000224165A (en) Multi-spot conference device

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase