WO2017156682A1 - Data transmission method based on channel binding - Google Patents

Data transmission method based on channel binding Download PDF

Info

Publication number
WO2017156682A1
WO2017156682A1 PCT/CN2016/076295 CN2016076295W WO2017156682A1 WO 2017156682 A1 WO2017156682 A1 WO 2017156682A1 CN 2016076295 W CN2016076295 W CN 2016076295W WO 2017156682 A1 WO2017156682 A1 WO 2017156682A1
Authority
WO
WIPO (PCT)
Prior art keywords
service flow
channel
service
data frame
sequence number
Prior art date
Application number
PCT/CN2016/076295
Other languages
French (fr)
Chinese (zh)
Inventor
高波
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2016/076295 priority Critical patent/WO2017156682A1/en
Publication of WO2017156682A1 publication Critical patent/WO2017156682A1/en

Links

Images

Definitions

  • the embodiments of the present invention relate to communication technologies, and in particular, to a data transmission method based on channel bonding.
  • FIG. 1 is a schematic diagram of a typical Ethernet networking model.
  • the networking model includes a core layer switch, an aggregation layer switch, and an access layer switch.
  • the access layer switch is connected to various types of terminals, for example, a personal computer (English: Personal Computer; PC for short).
  • the switches used in the networking model include a Layer 2 Ethernet switch (hereinafter referred to as L2) and a Layer 3 Ethernet switch (hereinafter referred to as L3).
  • L2 Ethernet switch hereinafter referred to as L2
  • L3 Ethernet switch hereinafter referred to as L3
  • the core layer switch adopts high-end L3/L2
  • the aggregation layer switch adopts the low-end L3/L2
  • the access layer switch adopts the low-end L2.
  • the Ethernet frame includes the following fields: a preamble (English: preamble), a frame start delimiter (English: Start Frame Delimiter; abbreviation: SFD). , destination address (English: Destination Address; abbreviation: DA), source address (English: Source Address; abbreviation: SA), length / type (English: length / type), MAC layer client data (English: MAC client data) Frame check sequence (English: Frame Check Sequence; FCS for short).
  • the Ethernet frame may further include a redundancy (English: pad) field and an extension (English: extension) field.
  • the preamble field is 7 bytes with a value of 0x55, and is used for receiving side synchronization.
  • the SFD field is a byte with a value of 0xd5. If the length/type field is 2 bytes, if the value of the length/type field is less than 0x600, it indicates the payload length. If the value of the length/type field is greater than or equal to 0x600, it indicates the frame type. It should be noted that 0x55, 0xd5 and 0x600 are hexadecimal numbers.
  • VLAN Virtual Local Area Network
  • FIG. 3 is a schematic diagram of a VLAN frame format, as shown in FIG. 3, the VLAN frame is compared to an Ethernet frame. It also includes the following fields: a length/type field with a value of 0x8100 (representing a VLAN tag defined by IEEE 802.1Q) and a tag control information field.
  • the tag control information field carries a virtual local area network identifier (English: VLAN Identify; abbreviated as: VID).
  • Ethernet Passive Optical Network (EPON) technology and standards are developed on the basis of IEEE802.3, compatible with ubiquitous Ethernet technologies and devices, and can reuse a large number of existing matures. Devices and circuits are designed to achieve low risk, and the technology and industry chain are relatively mature and low cost.
  • an optical line terminal (English: Optical Line Terminal; OLT for short) communicates with multiple optical network units (English: Optical Network Unit; ONU).
  • the optical network unit may also be referred to as an optical network terminal (English: Optical Network Terminal; referred to as: ONT).
  • each ONU needs to be assigned a unique logical link identifier (English: Logical Link Identity; LLID for short) as the identifier of the ONU.
  • LLID Logical Link Identity
  • each LLID can be regarded as a logically existing virtual ONU.
  • the simultaneous occurrence of data by multiple ONUs to the OLT may cause signal collisions and affect the normal transmission of the OLT. Therefore, the OLT needs to coordinate the transmission of the ONU by means of time slice authorization, and ensure that only one ONU is allowed to send data in a certain time period, which can effectively avoid conflicts.
  • the EPON standard defines a Multi-Point Control Protocol (MPCP) for registering ONUs and controlling and coordinating different ONUs with Time Division Multiple Access (English: Time Division Multiple Access; TDMA) shares the EPON network and sends upstream data.
  • MPCP Multi-Point Control Protocol
  • 10GEPON appeared on the basis of EPON.
  • the MAC layers of 10GEPON and EPON are basically the same. The main difference lies in the protocol layer below the MAC.
  • 100GEPON is the next EPON system for 10GEPON, which can provide more bandwidth.
  • the above Ethernet, EPON, 10GEPON, and 100GEPON are point-to-multipoint communication networks.
  • channel bonding is often used to increase transmission bandwidth and improve transmission capacity.
  • the channel binding may have the following implementation manner: the sending side device distributes the data frame of the high speed service flow to multiple The low-speed transmission channel transmits, and the receiving-side device receives the data frame of the high-speed service flow from the plurality of low-speed receiving channels, and recovers the high-speed service flow in the order of the data frame of the high-speed service flow.
  • the data frames of the service flow are transmitted based on the channel binding in the point-to-multipoint communication network, since the different channels have different delays, the data frame disorder of the service flow is generated on the receiving side, and the data cannot be recovered. The original business flow.
  • the embodiment of the present invention provides a data transmission method based on channel binding, so as to realize direct use of existing hardware for high-speed service stream transmission, thereby saving cost, and further avoiding data transmission based on channel binding.
  • the data frame is out of order.
  • an embodiment of the present invention provides a data transmission method based on channel bonding, where the channel binding is performed on a PON MAC layer.
  • a channel binding table is established or updated, and the entry of the channel binding table includes at least one or more service flow identifiers and one or more channel bonding groups.
  • the number of the one or more service flow identifiers is the same as the number of the one or more channel binding groups, the one or more service flow identifiers indicating one or more service flows, the one or more Each of the service flows in the service flow has a one-to-one correspondence with each of the one or more channel bonding groups, wherein each channel bonding group includes one or more bound channels.
  • the first service flow identifier is inserted in the data frame of the first service flow. Determining, according to the channel binding table and the first service flow identifier, a channel binding group of the first service flow, if the number of channels included in the channel binding group of the first service flow is greater than 1, the first A transmission sequence number is inserted into the data frame of the service flow, and the transmission sequence number is used by the receiving device to reassemble the data frame of the first service flow received by the receiving device. Then, the data frame of the first service flow is transmitted by using the channel in the channel bonding group of the first service flow.
  • channel bonding for data transmission, it is possible to utilize low-speed, low-cost hardware to carry high-speed traffic.
  • the channel binding of the embodiment of the present invention is performed on the PON MAC layer, and the change or update of the existing hardware is very small. Therefore, the hardware can be directly used without redesigning the hardware. There is hardware for channel-based data transfer, which results in significant cost savings.
  • the data frame of the first service flow includes a length/type field and a frame sequence number field; the length/type field is used to indicate whether the data frame of the first service flow carries a transmission sequence number; if the length/type The field indicates that the data frame of the first service flow carries the transmission sequence number, and the frame sequence number field is used to indicate the value of the transmission sequence number.
  • a service configuration message is sent, where the service configuration message instructs the ONU to establish or update a channel binding table of the ONU, so that the ONU transmits the service flow based on the channel binding.
  • the service configuration message carries the second service flow identifier and the channel configuration indication; the second service flow identifier is used to indicate the second service flow; the channel configuration indication is used to indicate that the channel in the ONU joins or exits the second service.
  • the channel bonding group of the stream By sending a service configuration message, the channel binding table can be updated flexibly and in a timely manner, so that the channel binding is more suitable for service flow transmission.
  • an embodiment of the present invention provides a data transmission method based on channel bonding, where the channel binding is performed on a PON MAC layer.
  • the method includes: receiving a data frame, where the data frame carries a service flow identifier field and a transmission sequence number; determining, according to the service flow identifier, a service flow in which the data frame is located; storing the data frame in a buffer queue corresponding to the service flow;
  • the service flow is sequentially reorganized according to the transmission sequence number of the data frame. Specifically, for the received data frame, the transmission sequence number of the data frame is reassembled according to the transmission order of the data frame.
  • the service flow identifier may be a VID.
  • the transmission sequence number can be indicated by inserting a length/type field and an FSN field in the data frame.
  • the length/type field indicates whether the transmission sequence number is carried in the data frame. If the data frame carries the transmission sequence number, the FSN field indicates the value of the transmission sequence number.
  • an embodiment of the present invention provides a data transmission apparatus based on channel binding, where the channel is bound to be performed on a PON MAC layer.
  • the apparatus includes an establishment and update unit, an insertion unit, and a transmission unit.
  • the establishment and update unit is configured to establish or update a channel binding table.
  • the entry of the channel binding table includes at least one or more service flow identifiers and one or more channel bonding groups.
  • the number of the one or more service flow identifiers is the same as the number of the one or more channel binding groups, the one or more service flow identifiers indicating one or more service flows, the one or more Each of the service flows in the service flow has a one-to-one correspondence with each of the one or more channel bonding groups, wherein each channel bonding group includes one or more bound channels.
  • the inserting unit is configured to insert a first service flow identifier in a data frame of the first service flow when performing the first service flow transmission in the one or more service flows; according to the channel binding table and Determining, by the first service flow identifier, a channel binding group of the first service flow, if the number of channels included in the channel bonding group of the first service flow is greater than 1, inserting in a data frame of the first service flow And sending a sequence number, where the sending sequence number is used for receiving, by the receiving device, the data frame of the first service flow received by the device.
  • the transmission unit is configured to transmit a data frame of the first service flow by using a channel in a channel bonding group of the first service flow.
  • the data frame of the first service flow includes a length/type field and a frame sequence number field; the length/type field is used to indicate whether the data frame of the first service flow carries a transmission sequence number; if the length/type field Indicates that the data frame of the first service flow carries a transmission sequence number, and the frame sequence number field is used to indicate the value of the transmission sequence number.
  • an embodiment of the present invention provides a data transmission apparatus based on channel binding, where the channel binding is performed on a PON MAC layer.
  • the device comprises a receiving unit, a determining unit and a processing unit.
  • the receiving unit is configured to receive a data frame, where the data frame carries a service flow identifier field and a sending sequence number.
  • the determining unit is configured to determine, according to the service flow identifier, a service flow in which the data frame is located.
  • the processing unit is configured to store the data frame in a buffer queue corresponding to the service flow; and sequentially reassemble the service flow according to the sending sequence number of the data frame. Specifically, for the received data frame, the transmission sequence number of the data frame is reassembled according to the transmission order of the data frame.
  • an embodiment of the present invention provides a data transmission device based on channel binding, where the channel is bound to be performed on a PON MAC layer.
  • the device comprises: a processor, a memory, a transmitter, a receiver and a bus, wherein the processor, the memory, the transmitter and the receiver are connected by a bus Data transfer is performed, and the memory is used to store data processed by the processor.
  • the transmitter and the receiver are configured to send and receive messages, and the processor is configured to implement the channel binding based data transmission method in the above embodiment by executing program code in the memory.
  • the embodiment of the present invention further provides a non-transitory computer readable storage medium, when the instructions in the storage medium are executed by a processor of a network device, enabling the network device to perform any of the foregoing channel-based Bind data transfer method.
  • Some technical features related to the second to sixth aspects of the embodiments of the present invention such as: channel binding, service flow identification, transmission sequence number, etc., and other further descriptions (such as channel binding table, data frame recombination, etc.) And some technical features related to the first aspect are similar or corresponding, and the repeated description is not repeated here.
  • the channel bonding of the embodiment of the present invention by using channel bonding for data transmission, low-speed and low-cost hardware can be used to carry high-speed service flows.
  • the channel binding of the embodiment of the present invention is performed on the PON MAC layer, and the change or update of the existing hardware is very small. Therefore, the data transmission based on the channel binding can be directly used by using the existing hardware without redesigning the hardware. Significant cost savings. Further, by adding a transmission sequence number in the data frame, the data frame disorder caused by the channel binding transmission data can be effectively solved.
  • FIG. 1 is a schematic diagram of a typical Ethernet networking model
  • FIG. 2 is a schematic diagram of an Ethernet frame format
  • FIG. 3 is a schematic diagram of a VLAN frame format
  • FIG. 4 is a schematic diagram of a typical point-to-multipoint network structure
  • FIG. 4a is a schematic structural diagram of a point-to-multipoint network including a channel binding function according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a specific implementation manner of a channel binding function
  • FIG. 6 is a schematic diagram of a data transmission method based on channel binding according to an embodiment of the present disclosure
  • Figure 6a is a schematic diagram of inserting a transmission sequence number in an Ethernet frame
  • FIG. 6b is a schematic diagram of a service configuration message format according to an embodiment of the present invention.
  • FIG. 6c is a schematic diagram of another service configuration message format according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of another method for data transmission based on channel binding according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram of a data transmission apparatus based on channel binding according to an embodiment of the present invention.
  • FIG. 9 is a processing device according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a typical point-to-multipoint network structure.
  • the network structure is mainly composed of an OLT, an ONU, and an ODN.
  • one optical fiber carries uplink and downlink data signals, and the optical signal is equally divided into N paths through a 1:N optical splitter to cover multiple access points or access users. Where N is an integer greater than one.
  • the OLT In the downlink direction, the OLT provides a fiber-optic interface for the optical distribution network (English: Optical Distribution Network; ODN for short); in the uplink direction, the OLT can provide a Gigabit Ethernet optical/electrical interface.
  • the ODN consists of a passive fiber splitter and fiber.
  • the passive fiber splitter is a passive device that connects the OLT and the ONU. Its function is to distribute downlink data and aggregate uplink data.
  • the passive splitter is quite flexible to deploy, and because it is a passive device, it can be adapted to almost all environments.
  • EPON The ONU adopts the Ethernet protocol, and no protocol conversion is needed in the process of communication, so that the ONU transparently transmits the user data.
  • a point-to-multipoint communication network such as that of FIG. 4 needs to be in the preamble of each data frame (eg, an Ethernet frame) in order to overcome the out-of-order problem of the data frame of the service flow when transmitting the data frame of the service flow based on the channel binding. Inserting the frame transmission sequence number, so that the channel binding can only be performed below the MAC layer and above the RS layer, and the MAC chip of the current passive optical network changes greatly, resulting in an excessive update cost.
  • each data frame eg, an Ethernet frame
  • FIG. 4 is a schematic diagram of a point-to-multipoint network structure including a channel binding function according to an embodiment of the present invention.
  • the OLT may include Wavelength Division Multiplexing (WDM).
  • WDM Wavelength Division Multiplexing
  • ONU1 can contain 4 channels
  • ONU2 can contain 2 channels.
  • Each channel includes a PHY layer and a PON MAC layer.
  • channel binding can be performed on the PON MAC layer for the service flow, so that multiple channels in the OLT or ONU can transmit the same service flow.
  • Channel bonding on the PON MAC layer changes the MAC chip of the current passive optical network to a small extent, which can save the cost of updating hardware.
  • the OLT can communicate with more or fewer ONUs, and the number of channels of the OLT and the ONU is not limited to four or two, and may be arbitrary according to actual conditions. One. All channels of the OLT or ONU may not be channel bound. You can select some channels for channel binding according to actual needs. However, the number of channels bound by each ONU channel cannot be greater than the number of channels of the OLT.
  • FIG. 5 is a schematic diagram of a specific implementation manner of a channel binding function.
  • the implementation manner includes four channels, and each channel includes an MPCP layer, a MAC layer, and a harmonic sublayer (English: Reconciliation Sublayer; RS), Physical Coding Sublayer (PCS), Physical Medium Attachment (PMA) layer, Physical Medium Dependent (PMD) layer .
  • the harmonic sublayer and the physical coding sublayer are connected by a media independent interface (English: Media Independent Interface; MII for short).
  • Operation Management and Maintenance English: Operational Administration and Maintenance; OAM
  • OAM Operational Administration and Maintenance
  • the traffic can be transmitted on up to 4 channels through channel bonding.
  • the implementation manner performs channel binding on the service flow formed by the data frame (for example, the Ethernet frame) on the MPCP layer, keeps the current PONMAC protocol and implementation unchanged, minimizes the impact on the product, does not affect the current PON MAC chip implementation, and updates. The cost is lower.
  • Channel bonding means that the receiving side needs to transmit a sequence number based on the received data frame when reassembling in the original transmission order.
  • the implementation shown in Figure 4 or Figure 5 requires the insertion of a transmission sequence number in the data frame.
  • the following describes a method for transmitting a service flow based on a channel binding by using a sending device (which may be an OLT or an ONU) as an example.
  • a sending device which may be an OLT or an ONU
  • the problem of data frame disorder in the data transmission process based on channel binding can be effectively solved.
  • FIG. 6 is a schematic diagram of a data transmission method based on channel binding according to an embodiment of the present invention. As shown in FIG. 6, the data transmission method includes:
  • Step 601 Establish or update a channel binding table, where the entry of the channel binding table includes at least one or more service flow identifiers and one or more channel binding groups, where the number of service flow identifiers is bound to the channel The number of groups is the same, the one or more service flow identifiers indicating one or more service flows, each of the one or more service flows being associated with each of the one or more channel binding groups
  • the channel binding groups correspond one-to-one.
  • Each of the channel bonding groups includes one or more bound channels.
  • the bound channel refers to a channel for channel bonding.
  • the available channel information can be collected and recorded according to the registration status of the ONU on one or more channels of the OLT, and the channel binding requirement is required according to the channel configuration during service configuration. Add related items.
  • the channel binding table is automatically or manually updated according to the channel load or fault condition of the transmitting device. For example, current channels 1, 2, 3, and 4 are available, and for service flow 1, three channels need to be bound. Therefore, you can add a channel bonding group for traffic flow 1, which includes three bonded channels (for example, channels 1, 2, 4 or channels 2, 3, 4, etc.).
  • the bound channel is indicated by its corresponding logical channel identifier (hereinafter may be referred to as a Channel ID).
  • the logical channel identifier may be a lane identifier or a wavelength channel. Any one of an identification, a logical identifier (such as LLID or GEMport-ID), or a PON port identifier of an ONU device.
  • the channel binding table may have the form shown in Table 1: where the channel bonding group corresponding to service flow 1 includes channels 1, 2, and 4; and the channel binding group corresponding to service flow 2 includes channels 1, 3 .
  • Table 1 A channel binding table provided by an embodiment of the present invention
  • Step 602 Insert the first service flow identifier in the data frame of the first service flow when performing the first service flow transmission in the one or more service flows.
  • the first service flow identifier may be a VID of the first service flow.
  • Step 603 Determine a channel binding group of the first service flow according to the channel binding table and the first service flow identifier, and if the channel binding group of the first service flow includes more than one channel, A transmission sequence number is inserted in the data frame of the first service flow, where the transmission sequence number is used by the receiving side device to reassemble the data frame of the first service flow received.
  • the channel binding group of the first service flow is searched in the channel binding table according to the first service flow identifier, or the channel binding table is matched according to the first service flow identifier, and the channel binding of the first service flow is matched.
  • the transmission sequence number is inserted in the data frame of the first service flow according to the sending sequence.
  • the transmission sequence number is a value according to the actual transmission order, and the specific value and value form are not limited in the present invention.
  • the transmission sequence number may be inserted in the data frame of the subsequent first service flow, so that the receiving side device reassembles all the data frames of the first service flow.
  • the following describes how to insert a transmission sequence by taking an Ethernet frame as a data frame of the first service flow. number.
  • Figure 6a is a schematic diagram of the insertion of a transmission sequence number in an Ethernet frame, as shown in Figure 6a, where the gray portion is the insertion portion.
  • the length/type field of the gray part takes a special value, such as 0x8200, indicating that the Ethernet frame carries the transmission sequence number.
  • the frame serial number (English: Frame Serial Number; FSN) field of the gray part indicates the transmission sequence number of the service flow in which the Ethernet frame is located.
  • the specific length of the FSN field is not limited in the present invention. It should be noted that the length/type field and the FSN field are two consecutive fields, but their positions are not limited as long as they are between the SA field and the MAC layer client length/type field.
  • Step 604 Transmit a data frame of the first service flow by using a channel in the channel bonding group of the first service flow.
  • the data frame of the first service flow is distributed or transmitted according to the available condition or occupation of the channel in the channel bonding group of the first service flow.
  • the data frame of the first service flow is transmitted by using an idle channel or a channel with fewer data frames to be transmitted.
  • the channels 1 and 2 are idle, and the channels 1 and 2 can be used to transmit the data frames of the first service flow, and when the channel 4 is transmitted in the subsequent service flow.
  • Channels 1, 2, and 4 can also be utilized to transmit data frames of the first traffic flow when available in the process.
  • the ONU transport service flow may have the same or similar method as the OLT transport service flow (that is, the uplink service flow transmission may be the same as or similar to the downlink service flow transmission, and only needs to be targeted in the actual implementation process.
  • the specific equipment can be adapted to change, and will not be described here.
  • the sending device is an OLT and the receiving device is an ONU
  • the channel binding table of the receiving device needs to be established or updated according to the received service configuration message. Therefore, optionally, the OLT further sends a service configuration message, and the specific implementation manner is as follows:
  • Step 605 Send a service configuration message, where the service configuration message instructs the ONU to establish a channel binding table, so that the ONU transmits the service flow based on the channel binding.
  • the service configuration message may be an MPCP or an OAM message in the EPON system, and the Gigabit Passive Optical Network (GPON)
  • the system can be a physical layer operation and maintenance (English: Physical Layer Operation and Maintenance; PLOAM for short) or an ONU management and control interface (English: ONUManagement and Control Interface; OMCI) message.
  • the specific message format of the message, as well as the name, the length, the location, and the value of the specific field are not limited in the embodiment of the present invention.
  • the service configuration message includes at least a service flow identifier and a channel configuration indication.
  • the service flow identifier indicates the service flow bound by the channel, and the channel configuration indication is used to indicate that the channel joins or exits the channel binding group of the service flow.
  • the ONU can establish or update the channel binding table according to the received service configuration message, or establish or update the binding relationship between the service flow to be transmitted by the ONU and the available channel.
  • the ONU can also transmit traffic based on channel bonding.
  • the channel binding table of the ONU is updated by sending a service configuration message. For example, if the number of available channels of the OLT or the ONU is reduced, and the number of available channels of the OLT or the ONU is increased, the information about the available channels of the ONU and the related entries in the channel binding table need to be updated in time.
  • the ONU is instructed to update the channel binding table by sending a service configuration message.
  • the following describes the composition of the service configuration message based on the MPCP message.
  • the service configuration message based on the PLOAM message or the OMCI message is similar, and will not be described here.
  • FIG. 6b is a schematic diagram of a service configuration message format according to an embodiment of the present invention.
  • a service flow identifier (English: Service Identification; SID) field and a tag group are inserted on the basis of the MPCP message.
  • the flag group field is used to get the service configuration message.
  • the SID field indicates the service flow that needs to be bound by the channel.
  • the SID field may specifically be a combination of one or more of a VID, a MAC address, or other service flow logical identifier (eg, LLID or GEMport-ID).
  • the tag group field is used as a channel configuration indicator, which indicates that the ONU uplink channel joins or exits the channel bonding group corresponding to the service flow indicated by the SID.
  • the label group field is used to indicate that the uplink channel corresponding to the downlink channel that receives the command on the ONU joins or exits the channel binding group corresponding to the service flow.
  • the tag group field takes the first value (such as 0) to indicate exit
  • the channel bonding group takes a second value (such as 1) to join the channel bonding group.
  • the field is a bit (English: bit) bitmap, where each bit corresponds to an uplink channel. For example, when the field length is 8 bits, the first bit indicates ONU uplink channel 1 The second bit represents the ONU upstream channel 2, and so on, the eighth bit represents the ONU upstream channel 8.
  • the ONU upstream channel corresponding to the bit is removed from the channel bonding group or the binding relationship is removed.
  • the 1 indicates that the ONU uplink channel corresponding to the bit is added to the channel bonding group or establishes a binding relationship.
  • FIG. 6 is a schematic diagram of another service configuration message format according to an embodiment of the present invention.
  • a service flow identifier SID field As shown in FIG. 6c, a service flow identifier SID field, a flag (English: flag) field, and a flag field corresponding to the flag field are inserted on the basis of the MPCP message.
  • the Channel ID field is used to get the service configuration message.
  • the meaning of the SID is the same as or similar to that of FIG. 6b.
  • the Channel ID field is used to identify a channel.
  • the corresponding flag field indicates that the channel exits or joins the channel bonding group of the service flow indicated by the SID.
  • the flag field takes a first value (such as 0) to indicate that the channel identified by the Channel ID field corresponding to the flag field exits the channel bonding group, and the second value (such as 1) indicates that the flag field corresponding to the flag field is identified by the Channel ID field.
  • the channel is added to the channel bonding group.
  • one or more flag fields and a Channel ID field corresponding to each other may be provided according to actual needs.
  • the service configuration message further includes a configured channel number field, where the configured channel number field is used to indicate the number of channels to join or exit the channel bonding group or to indicate the number of flag fields.
  • FIG. 6b and FIG. 6c are not limited in the embodiment of the present invention.
  • the number of bytes in the fields shown in FIG. 6b and FIG. 6c is only an example. Can be changed according to actual needs.
  • FIG. 7 is a schematic diagram of another method for data transmission based on channel binding according to an embodiment of the present invention. As shown in FIG. 7, the data transmission method includes:
  • Step 701 Receive a data frame, where the data frame carries a service flow identifier field and a transmission sequence number.
  • Step 702 Determine, according to the service flow identifier, a service flow in which the data frame is located.
  • Step 703 The data frame is stored in a buffer queue corresponding to the service flow.
  • Step 704 Perform sequence reorganization on the service flow according to the sending sequence number of the data frame. Specific The data frame is reassembled according to the transmission sequence of the data frame according to the transmission sequence of the data frame.
  • the service flow identifier may be a VID.
  • the transmission sequence number can be indicated by inserting a length/type field and an FSN field in the data frame.
  • the length/type field indicates whether the transmission sequence number is carried in the data frame. If the data frame carries the transmission sequence number, the FSN field indicates the value of the transmission sequence number.
  • the OLT or the ONU has a correspondence between the processing of the data frame of the received service flow and the processing of the transmission side of the service flow.
  • channel bonding and unbinding are performed at the service level and are independent of the PON protocol.
  • channel bonding for data transmission, it is possible to utilize low-speed, low-cost hardware to carry high-speed traffic.
  • the channel binding of the embodiment of the present invention is performed on the PON MAC layer, and the change or update of the existing hardware is very small. Therefore, the data transmission based on the channel binding can be directly used by using the existing hardware without redesigning the hardware. Significant cost savings. Further, by adding a transmission sequence number in the data frame, the data frame disorder caused by the channel binding transmission data can be effectively solved.
  • the service channel-based flexible channel binding function is realized on the basis of reusing the existing PON MAC chip, and the ONUs capable of flexibly supporting different transmission rates coexist in the same PON system. Therefore, system transmission efficiency can be optimized.
  • FIG. 8 is a schematic diagram of a data transmission apparatus based on channel binding according to an embodiment of the present invention, As shown in Figure 8, the device includes:
  • the establishing and updating unit 801 is configured to establish or update a channel binding table, where the entry of the channel binding table includes at least one or more service flow identifiers and one or more channel binding groups, where one or more The number of service flow identifiers is the same as the number of the one or more channel binding groups, the one or more service flow identifiers indicating one or more service flows, each of the one or more service flows The flow respectively corresponds to each of the one or more channel bonding groups, wherein each channel bonding group includes one or more bound channels;
  • the inserting unit 802 is configured to insert a first service flow identifier in a data frame of the first service flow when performing the first service flow transmission in the one or more service flows; according to the channel binding table and the first a service flow identifier, the channel binding group of the first service flow is determined, and if the number of channels included in the channel bonding group of the first service flow is greater than 1, the sending sequence is inserted in the data frame of the first service flow No. The sending sequence number is used by the receiving device to reassemble the data frame of the first service flow received by the receiving device.
  • the transmitting unit 803 is configured to transmit, by using a channel in the channel bonding group of the first service flow, a data frame of the first service flow.
  • the data frame of the first service flow includes a length/type field and a frame sequence number field; the length/type field is used to indicate whether the data frame of the first service flow carries a transmission sequence number; if the length/type field Indicates that the data frame of the first service flow carries a transmission sequence number, and the frame sequence number field is used to indicate the value of the transmission sequence number.
  • the transmitting unit 803 is further configured to: when the receiving side device is an optical network unit ONU, send a service configuration message, where the service configuration message instructs the ONU to establish or update a channel binding table of the ONU, so that the ONU is tied based on the channel The transport traffic is fixed.
  • the service configuration message carries the second service flow identifier and the channel configuration indication; the second service flow identifier is used to indicate the second service flow; the channel configuration indication is used to indicate that the channel in the ONU joins or exits the second service.
  • the channel bonding group of the stream is used to indicate that the channel in the ONU joins or exits the second service.
  • the embodiment of the present invention further provides a processing device, as shown in FIG. 9, comprising: a processor 901, a memory 902, a transmitter 903, a receiver 905, and a bus 904, wherein the processor 901 and the memory 902, the transmitter 903 and the receiver 905 are connected by a bus 904 for data transmission, and the memory 902 is used for storing data processed by the processor 901;
  • the bus 904 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Etc., here is not limited.
  • the bus 904 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9, but it does not mean that there is only one bus or one type of bus. among them:
  • the memory 902 is used to store data or executable program code, where the program code includes computer operating instructions, which may specifically be: an operating system, an application, or the like.
  • Memory 902 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
  • the processor 901 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention. integrated circuit.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the transmitter 903 and the receiver 905 are configured to send and receive messages
  • the processor 901 is configured to implement the channel binding-based data transmission method in the foregoing embodiment by executing program code in the memory 902, where some technical features are involved, for example: Channel binding, service flow identification, sending sequence number, etc., and other further descriptions (such as channel binding table, data frame recombination, etc.), similar or corresponding to some technical features involved in the foregoing method embodiments, Repeat the description.
  • the present invention also provides a non-transitory computer readable storage medium, which enables a network device to perform any of the above-described channel binding based data transmission methods when instructions in the storage medium are executed by a processor of the network device.
  • Some technical features involved such as: channel binding, service flow identification, sending serial number, etc., and other further descriptions (such as channel binding table, data frame recombination, etc.), and related to the above method embodiments
  • Some of the technical features are similar or corresponding, and the repeated description is not repeated here.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a computer.
  • computer readable media may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage media or other magnetic storage device, or can be used for carrying or storing in the form of an instruction or data structure.
  • connection may suitably be a computer readable medium.
  • the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave
  • coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwave are included in the fixing of the associated media.
  • a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.

Landscapes

  • Small-Scale Networks (AREA)

Abstract

Disclosed in the embodiments of the present invention is a data transmission method based on channel binding, comprising: establishing or updating a channel binding table; when transmitting a first service stream of one or a plurality of service streams, inserting a first service-stream identifier into a data frame of said first service stream; according to said channel binding table and said first service-stream identifier, determining a channel binding group of the first service stream; if the quantity of channels comprised by the channel binding group of the first service stream is greater than 1, then inserting a transmission sequence number into the data frame of the first service stream, said transmission sequence number being used for the data frame of the first service stream, reassembled and received by a receiving-side device; using the channel in the channel binding group of said first service stream to transmit the data frame of the first service stream. By using channel binding to perform data transmission, it is possible to use low-speed, low-cost hardware to bear a high-speed service stream.

Description

一种基于通道绑定的数据传输方法Data transmission method based on channel binding 技术领域Technical field
本发明实施例涉及通信技术,尤其涉及一种基于通道绑定的数据传输方法。The embodiments of the present invention relate to communication technologies, and in particular, to a data transmission method based on channel bonding.
背景技术Background technique
图1为一种典型以太网的组网模型示意图,如图1所示,该组网模型包括核心层交换机、汇聚层交换机和接入层交换机。其中,接入层交换机连接各类终端,例如:个人计算机(英文:Personnal Computer;简称:PC)。该组网模型所用的交换机包括二层以太网交换机(以下称为L2)和三层以太网交换机(以下称为L3)。其中,核心层交换机采用高端L3/L2,汇聚层交换机采用中低端L3/L2,接入层交换机采用低端L2。FIG. 1 is a schematic diagram of a typical Ethernet networking model. As shown in FIG. 1 , the networking model includes a core layer switch, an aggregation layer switch, and an access layer switch. The access layer switch is connected to various types of terminals, for example, a personal computer (English: Personal Computer; PC for short). The switches used in the networking model include a Layer 2 Ethernet switch (hereinafter referred to as L2) and a Layer 3 Ethernet switch (hereinafter referred to as L3). Among them, the core layer switch adopts high-end L3/L2, the aggregation layer switch adopts the low-end L3/L2, and the access layer switch adopts the low-end L2.
图2为一种以太网帧格式示意图,如图2所示,该以太网帧包括以下各字段:前导(英文:preamble)、帧起始定界符(英文:Start Frame Delimiter;简称:SFD)、目的地址(英文:Destination Address;简称:DA)、源地址(英文:Source Address;简称:SA)、长度/类型(英文:length/type)、MAC层客户端数据(英文:MAC client data)、帧校验序列(英文:Frame Check Sequence;简称:FCS)。此外,该以太网帧还可以包括冗余(英文:pad)字段和扩展(英文:extension)字段。其中,前导字段为7个取值为0x55的字节,用于接收侧同步。SFD字段为一个取值为0xd5的字节。若length/type字段为2个字节,若length/type字段取值小于0x600,则其指示净荷长度,若length/type字段取值大于或等于0x600,则其指示帧类型。需注意的是,0x55、0xd5和0x600为16进制数。2 is a schematic diagram of an Ethernet frame format. As shown in FIG. 2, the Ethernet frame includes the following fields: a preamble (English: preamble), a frame start delimiter (English: Start Frame Delimiter; abbreviation: SFD). , destination address (English: Destination Address; abbreviation: DA), source address (English: Source Address; abbreviation: SA), length / type (English: length / type), MAC layer client data (English: MAC client data) Frame check sequence (English: Frame Check Sequence; FCS for short). In addition, the Ethernet frame may further include a redundancy (English: pad) field and an extension (English: extension) field. The preamble field is 7 bytes with a value of 0x55, and is used for receiving side synchronization. The SFD field is a byte with a value of 0xd5. If the length/type field is 2 bytes, if the value of the length/type field is less than 0x600, it indicates the payload length. If the value of the length/type field is greater than or equal to 0x600, it indicates the frame type. It should be noted that 0x55, 0xd5 and 0x600 are hexadecimal numbers.
通过引入虚拟局域网(英文:Virtual Local Area Network;简称:VLAN),当设备从一个位置移动到另一个位置时,其网络属性不需要重新配置,最多在L2上进行相应的端口配置即可接入网络,减少更新和改变硬件的代价以及网络管理成本。By introducing a virtual local area network (English: Virtual Local Area Network; for short: VLAN), when a device moves from one location to another, its network attributes do not need to be reconfigured, and the corresponding port configuration can be accessed at up to L2. Network, reducing the cost of updating and changing hardware and network management costs.
图3为一种VLAN帧格式示意图,如图3所示,该VLAN帧相较于以太网帧 还包括以下各字段:取值为0x8100(表示IEEE802.1Q所定义的VLAN标签)的length/type字段以及tag控制信息字段。其中,tag控制信息字段携带虚拟局域网标识(英文:VLAN Identify;简称:VID)。FIG. 3 is a schematic diagram of a VLAN frame format, as shown in FIG. 3, the VLAN frame is compared to an Ethernet frame. It also includes the following fields: a length/type field with a value of 0x8100 (representing a VLAN tag defined by IEEE 802.1Q) and a tag control information field. The tag control information field carries a virtual local area network identifier (English: VLAN Identify; abbreviated as: VID).
以太网无源光网络(英文:Ethernet Passive Optical Network;简称:EPON)技术和标准是在IEEE802.3的基础上发展而来,兼容普遍存在的以太网技术和设备,可重用现有的大量成熟器件和电路,设计实现风险低,技术和产业链相对成熟成本低。在基于EPON的点到多点的网络结构中,一个光线路终端(英文:Optical Line Terminal;简称:OLT)同时和多个光网络单元(英文:Optical Network Unit;简称:ONU)通信。其中,光网络单元也可以称为光网络终端(英文:Optical Network Terminal;简称:ONT)。为了区分出不同ONU,需要给每个ONU分配一个唯一的逻辑链路标识(英文:Logical Link Identity;简称:LLID)作为ONU的标识。此外还存在多LLID场景,即OLT为一个ONU同时分配多个LLID,各LLID独立向OLT发起注册,并和OLT之间进行正常的数据业务转发。其中,每个LLID可以看成是一个逻辑上存在的虚拟ONU。Ethernet Passive Optical Network (EPON) technology and standards are developed on the basis of IEEE802.3, compatible with ubiquitous Ethernet technologies and devices, and can reuse a large number of existing matures. Devices and circuits are designed to achieve low risk, and the technology and industry chain are relatively mature and low cost. In an EPON-based point-to-multipoint network structure, an optical line terminal (English: Optical Line Terminal; OLT for short) communicates with multiple optical network units (English: Optical Network Unit; ONU). The optical network unit may also be referred to as an optical network terminal (English: Optical Network Terminal; referred to as: ONT). To distinguish between different ONUs, each ONU needs to be assigned a unique logical link identifier (English: Logical Link Identity; LLID for short) as the identifier of the ONU. In addition, there are multiple LLID scenarios, that is, the OLT allocates multiple LLIDs to one ONU at the same time, and each LLID independently initiates registration with the OLT, and performs normal data service forwarding with the OLT. Among them, each LLID can be regarded as a logically existing virtual ONU.
多个ONU同时向OLT发生数据可能会引起信号冲突,影响OLT的正常发送。因此,OLT需要通过时间片授权的方式协调ONU的发送,保证某一个时间段仅允许一个ONU发送数据,这样可有效避免冲突。EPON标准中定义了多点控制协议(英文:Multi-Point Control Protocol;简称:MPCP),用于实现ONU的注册,以及控制和协调不同ONU以时分多址(英文:Time Division Multiple Access;简称:TDMA)的方式共享EPON网络,发送上行数据。The simultaneous occurrence of data by multiple ONUs to the OLT may cause signal collisions and affect the normal transmission of the OLT. Therefore, the OLT needs to coordinate the transmission of the ONU by means of time slice authorization, and ensure that only one ONU is allowed to send data in a certain time period, which can effectively avoid conflicts. The EPON standard defines a Multi-Point Control Protocol (MPCP) for registering ONUs and controlling and coordinating different ONUs with Time Division Multiple Access (English: Time Division Multiple Access; TDMA) shares the EPON network and sends upstream data.
在EPON的基础上出现了10GEPON。10GEPON和EPON的MAC层基本一致,主要区别在于MAC以下协议层。为满足未来更大的带宽需求,在原有10GEPON的基础上,提出100GEPON的标准需求。100GEPON为面向10GEPON后的下一个EPON系统的,该系统可以提供更大的带宽。10GEPON appeared on the basis of EPON. The MAC layers of 10GEPON and EPON are basically the same. The main difference lies in the protocol layer below the MAC. In order to meet the greater bandwidth demand in the future, based on the original 10GEPON, the standard requirements of 100GEPON are proposed. 100GEPON is the next EPON system for 10GEPON, which can provide more bandwidth.
上述以太网、EPON、10GEPON、100GEPON均为点到多点的通信网络。在点到多点的通信网络中,通常会利用通道绑定来增加传输带宽,提高传输能力。通道绑定可以有如下的实现方式:发送侧设备将高速业务流的数据帧分发到多个 低速发送通道上发送,接收侧设备从多个低速接收通道上接收高速业务流的数据帧,按高速业务流的数据帧应有的顺序恢复出高速业务流。当在这些点到多点的通信网络中基于通道绑定传输业务流的数据帧时,由于不同的通道具有不同的延时,在接收侧会产生业务流的数据帧乱序问题,从而无法恢复出原来的业务流。The above Ethernet, EPON, 10GEPON, and 100GEPON are point-to-multipoint communication networks. In point-to-multipoint communication networks, channel bonding is often used to increase transmission bandwidth and improve transmission capacity. The channel binding may have the following implementation manner: the sending side device distributes the data frame of the high speed service flow to multiple The low-speed transmission channel transmits, and the receiving-side device receives the data frame of the high-speed service flow from the plurality of low-speed receiving channels, and recovers the high-speed service flow in the order of the data frame of the high-speed service flow. When the data frames of the service flow are transmitted based on the channel binding in the point-to-multipoint communication network, since the different channels have different delays, the data frame disorder of the service flow is generated on the receiving side, and the data cannot be recovered. The original business flow.
发明内容Summary of the invention
有鉴于此,本发明实施例提供了一种基于通道绑定的数据传输方法,以实现直接利用现有硬件进行高速业务流传输,从而节约成本,进一步地还可以避免基于通道绑定传输数据所带来的数据帧乱序问题。In view of this, the embodiment of the present invention provides a data transmission method based on channel binding, so as to realize direct use of existing hardware for high-speed service stream transmission, thereby saving cost, and further avoiding data transmission based on channel binding. The data frame is out of order.
第一方面,本发明实施例提供了一种基于通道绑定的数据传输方法,其中,该通道绑定在PON MAC层以上进行。在该方法中,建立或更新通道绑定表,该通道绑定表的表项至少包括一个或多个业务流标识以及一个或多个通道绑定组。其中,所述一个或多个业务流标识的个数与该一个或多个通道绑定组的个数相同,该一个或多个业务流标识指示一个或多个业务流,该一个或多个业务流中的每一个业务流分别与该一个或多个通道绑定组中的每一个通道绑定组一一对应,其中,每一个通道绑定组包括一个或多个绑定的通道。在进行该一个或多个业务流中的第一业务流传输时,在该第一业务流的数据帧中插入第一业务流标识。根据该通道绑定表和该第一业务流标识,确定该第一业务流的通道绑定组,若该第一业务流的通道绑定组包括的通道个数大于1,则在该第一业务流的数据帧中插入发送序列号,该发送序列号用于接收侧设备重组接收到的该第一业务流的数据帧。然后,利用该第一业务流的通道绑定组中的通道传输该第一业务流的数据帧。In a first aspect, an embodiment of the present invention provides a data transmission method based on channel bonding, where the channel binding is performed on a PON MAC layer. In the method, a channel binding table is established or updated, and the entry of the channel binding table includes at least one or more service flow identifiers and one or more channel bonding groups. The number of the one or more service flow identifiers is the same as the number of the one or more channel binding groups, the one or more service flow identifiers indicating one or more service flows, the one or more Each of the service flows in the service flow has a one-to-one correspondence with each of the one or more channel bonding groups, wherein each channel bonding group includes one or more bound channels. When the first traffic flow in the one or more service flows is performed, the first service flow identifier is inserted in the data frame of the first service flow. Determining, according to the channel binding table and the first service flow identifier, a channel binding group of the first service flow, if the number of channels included in the channel binding group of the first service flow is greater than 1, the first A transmission sequence number is inserted into the data frame of the service flow, and the transmission sequence number is used by the receiving device to reassemble the data frame of the first service flow received by the receiving device. Then, the data frame of the first service flow is transmitted by using the channel in the channel bonding group of the first service flow.
通过利用通道绑定进行数据传输,可以实现利用低速低成本的硬件来承载高速业务流。同时本发明实施例的通道绑定在PON MAC层以上进行,对现有硬件的改变或更新非常小,因此,可以不用重新设计硬件,直接利用现 有硬件进行基于通道绑定的数据传输,从而大大节约成本。By using channel bonding for data transmission, it is possible to utilize low-speed, low-cost hardware to carry high-speed traffic. At the same time, the channel binding of the embodiment of the present invention is performed on the PON MAC layer, and the change or update of the existing hardware is very small. Therefore, the hardware can be directly used without redesigning the hardware. There is hardware for channel-based data transfer, which results in significant cost savings.
进一步地,该第一业务流的数据帧包括长度/类型字段和帧序列号字段;该长度/类型字段用于指示该第一业务流的数据帧中是否携带发送序列号;若该长度/类型字段指示该第一业务流的数据帧中携带发送序列号,则该帧序列号字段用于指示发送序列号的值。通过在数据帧中添加发送序列号,可以有效地解决基于通道绑定传输数据所带来的数据帧乱序问题。Further, the data frame of the first service flow includes a length/type field and a frame sequence number field; the length/type field is used to indicate whether the data frame of the first service flow carries a transmission sequence number; if the length/type The field indicates that the data frame of the first service flow carries the transmission sequence number, and the frame sequence number field is used to indicate the value of the transmission sequence number. By adding a transmission sequence number in a data frame, the problem of data frame disorder caused by channel-bound transmission data can be effectively solved.
进一步地,当该接收侧设备为光网络单元ONU时,发送业务配置消息,该业务配置消息指示该ONU建立或更新ONU的通道绑定表,以便于ONU基于通道绑定传输业务流。其中,该业务配置消息携带第二业务流标识和通道配置指示;该第二业务流标识用于指示第二业务流;该通道配置指示用于指示该ONU中的通道加入或者退出该第二业务流的通道绑定组。通过发送业务配置消息,可以灵活且及时地更新通道绑定表,以使得通道绑定更加适应业务流传输。Further, when the receiving side device is an optical network unit ONU, a service configuration message is sent, where the service configuration message instructs the ONU to establish or update a channel binding table of the ONU, so that the ONU transmits the service flow based on the channel binding. The service configuration message carries the second service flow identifier and the channel configuration indication; the second service flow identifier is used to indicate the second service flow; the channel configuration indication is used to indicate that the channel in the ONU joins or exits the second service. The channel bonding group of the stream. By sending a service configuration message, the channel binding table can be updated flexibly and in a timely manner, so that the channel binding is more suitable for service flow transmission.
第二方面,本发明实施例提供了一种基于通道绑定的数据传输方法,其中,该通道绑定在PON MAC层以上进行。该方法包括:接收数据帧,该数据帧携带业务流标识字段以及发送序列号;根据该业务流标识确定该数据帧所在的业务流;将该数据帧存入该业务流对应的缓存队列;以及根据该数据帧的发送序列号对该业务流进行顺序重组。具体地,针对接收到的数据帧,根据该数据帧的发送序列号按照该数据帧的发送顺序进行重组。In a second aspect, an embodiment of the present invention provides a data transmission method based on channel bonding, where the channel binding is performed on a PON MAC layer. The method includes: receiving a data frame, where the data frame carries a service flow identifier field and a transmission sequence number; determining, according to the service flow identifier, a service flow in which the data frame is located; storing the data frame in a buffer queue corresponding to the service flow; The service flow is sequentially reorganized according to the transmission sequence number of the data frame. Specifically, for the received data frame, the transmission sequence number of the data frame is reassembled according to the transmission order of the data frame.
其中,业务流标识可以为VID。发送序列号可以通过在数据帧中插入length/type字段和FSN字段来指示。length/type字段指示该数据帧中是否携带发送序列号。若该数据帧中携带发送序列号,则FSN字段指示发送序列号的值。The service flow identifier may be a VID. The transmission sequence number can be indicated by inserting a length/type field and an FSN field in the data frame. The length/type field indicates whether the transmission sequence number is carried in the data frame. If the data frame carries the transmission sequence number, the FSN field indicates the value of the transmission sequence number.
第三方面,本发明实施例提供了一种基于通道绑定的数据传输装置,其中,该通道绑定在PON MAC层以上进行。该装置包括建立与更新单元、插入单元和传输单元。其中,该建立与更新单元,用于建立或更新通道绑定表, 该通道绑定表的表项至少包括一个或多个业务流标识以及一个或多个通道绑定组。其中,所示一个或多个业务流标识的个数与该一个或多个通道绑定组的个数相同,该一个或多个业务流标识指示一个或多个业务流,该一个或多个业务流中的每一个业务流分别与该一个或多个通道绑定组中的每一个通道绑定组一一对应,其中,每一个通道绑定组包括一个或多个绑定的通道。其中,该插入单元,用于在进行该一个或多个业务流中的第一业务流传输时,在该第一业务流的数据帧中插入第一业务流标识;根据该通道绑定表和该第一业务流标识,确定该第一业务流的通道绑定组,若该第一业务流的通道绑定组包括的通道个数大于1,则在该第一业务流的数据帧中插入发送序列号,该发送序列号用于接收侧设备重组接收到的该第一业务流的数据帧。该传输单元,用于利用该第一业务流的通道绑定组中的通道传输该第一业务流的数据帧。In a third aspect, an embodiment of the present invention provides a data transmission apparatus based on channel binding, where the channel is bound to be performed on a PON MAC layer. The apparatus includes an establishment and update unit, an insertion unit, and a transmission unit. The establishment and update unit is configured to establish or update a channel binding table. The entry of the channel binding table includes at least one or more service flow identifiers and one or more channel bonding groups. Wherein the number of the one or more service flow identifiers is the same as the number of the one or more channel binding groups, the one or more service flow identifiers indicating one or more service flows, the one or more Each of the service flows in the service flow has a one-to-one correspondence with each of the one or more channel bonding groups, wherein each channel bonding group includes one or more bound channels. The inserting unit is configured to insert a first service flow identifier in a data frame of the first service flow when performing the first service flow transmission in the one or more service flows; according to the channel binding table and Determining, by the first service flow identifier, a channel binding group of the first service flow, if the number of channels included in the channel bonding group of the first service flow is greater than 1, inserting in a data frame of the first service flow And sending a sequence number, where the sending sequence number is used for receiving, by the receiving device, the data frame of the first service flow received by the device. The transmission unit is configured to transmit a data frame of the first service flow by using a channel in a channel bonding group of the first service flow.
其中,该第一业务流的数据帧包括长度/类型字段和帧序列号字段;该长度/类型字段用于指示该第一业务流的数据帧中是否携带发送序列号;若该长度/类型字段指示该第一业务流的数据帧中携带发送序列号,则该帧序列号字段用于指示发送序列号的值。The data frame of the first service flow includes a length/type field and a frame sequence number field; the length/type field is used to indicate whether the data frame of the first service flow carries a transmission sequence number; if the length/type field Indicates that the data frame of the first service flow carries a transmission sequence number, and the frame sequence number field is used to indicate the value of the transmission sequence number.
第四方面,本发明实施例提供了一种基于通道绑定的数据传输装置,其中,该通道绑定在PON MAC层以上进行。该装置包括接收单元、确定单元和处理单元。其中,该接收单元,用于接收数据帧,该数据帧携带业务流标识字段以及发送序列号。该确定单元,用于根据该业务流标识确定该数据帧所在的业务流。处理单元,用于将该数据帧存入该业务流对应的缓存队列;根据该数据帧的发送序列号对该业务流进行顺序重组。具体地,针对接收到的数据帧,根据该数据帧的发送序列号按照该数据帧的发送顺序进行重组。In a fourth aspect, an embodiment of the present invention provides a data transmission apparatus based on channel binding, where the channel binding is performed on a PON MAC layer. The device comprises a receiving unit, a determining unit and a processing unit. The receiving unit is configured to receive a data frame, where the data frame carries a service flow identifier field and a sending sequence number. The determining unit is configured to determine, according to the service flow identifier, a service flow in which the data frame is located. The processing unit is configured to store the data frame in a buffer queue corresponding to the service flow; and sequentially reassemble the service flow according to the sending sequence number of the data frame. Specifically, for the received data frame, the transmission sequence number of the data frame is reassembled according to the transmission order of the data frame.
第五方面,本发明实施例提供了一种基于通道绑定的数据传输设备,其中,该通道绑定在PON MAC层以上进行。该装置包括:处理器、存储器、发射机、接收机及总线,其中处理器、存储器、发射机和接收机通过总线连 接进行数据传输,存储器用于存储处理器处理的数据。发射机和接收机用于收发消息,处理器用于通过执行存储器中的程序代码实现上述实施例中的基于通道绑定的数据传输方法。In a fifth aspect, an embodiment of the present invention provides a data transmission device based on channel binding, where the channel is bound to be performed on a PON MAC layer. The device comprises: a processor, a memory, a transmitter, a receiver and a bus, wherein the processor, the memory, the transmitter and the receiver are connected by a bus Data transfer is performed, and the memory is used to store data processed by the processor. The transmitter and the receiver are configured to send and receive messages, and the processor is configured to implement the channel binding based data transmission method in the above embodiment by executing program code in the memory.
第六方面,本发明实施例还提供了一种非临时性计算机可读存储介质,当所述存储介质中的指令由网络设备的处理器执行时,使得网络设备能够执行上述任一种基于通道绑定的数据传输方法。In a sixth aspect, the embodiment of the present invention further provides a non-transitory computer readable storage medium, when the instructions in the storage medium are executed by a processor of a network device, enabling the network device to perform any of the foregoing channel-based Bind data transfer method.
本发明实施例的第二方面到第六方面涉及到的一些技术特征,例如:通道绑定,业务流标识,发送序列号等,以及其他进一步的描述(如通道绑定表、数据帧重组等),和第一方面涉及到的一些技术特征类似或对应,在此不再进行重复说明。Some technical features related to the second to sixth aspects of the embodiments of the present invention, such as: channel binding, service flow identification, transmission sequence number, etc., and other further descriptions (such as channel binding table, data frame recombination, etc.) And some technical features related to the first aspect are similar or corresponding, and the repeated description is not repeated here.
本发明实施例通过利用通道绑定进行数据传输,可以实现利用低速低成本的硬件来承载高速业务流。同时本发明实施例的通道绑定在PON MAC层以上进行,对现有硬件的改变或更新非常小,因此,可以不用重新设计硬件,直接利用现有硬件进行基于通道绑定的数据传输,从而大大节约成本。进一步地,通过在数据帧中添加发送序列号,可以有效地解决基于通道绑定传输数据所带来的数据帧乱序问题。In the embodiment of the present invention, by using channel bonding for data transmission, low-speed and low-cost hardware can be used to carry high-speed service flows. At the same time, the channel binding of the embodiment of the present invention is performed on the PON MAC layer, and the change or update of the existing hardware is very small. Therefore, the data transmission based on the channel binding can be directly used by using the existing hardware without redesigning the hardware. Significant cost savings. Further, by adding a transmission sequence number in the data frame, the data frame disorder caused by the channel binding transmission data can be effectively solved.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1为一种典型以太网的组网模型示意图;FIG. 1 is a schematic diagram of a typical Ethernet networking model;
图2为一种以太网帧格式示意图;2 is a schematic diagram of an Ethernet frame format;
图3为一种VLAN帧格式示意图;3 is a schematic diagram of a VLAN frame format;
图4为一种典型的点到多点的网络结构示意图; 4 is a schematic diagram of a typical point-to-multipoint network structure;
图4a为本发明实施例提供的包含通道绑定功能的点到多点的网络结构示意图;4a is a schematic structural diagram of a point-to-multipoint network including a channel binding function according to an embodiment of the present invention;
图5为一种通道绑定功能的具体实现方式示意图;FIG. 5 is a schematic diagram of a specific implementation manner of a channel binding function;
图6为本发明实施例提供的一种基于通道绑定的数据传输方法示意图;FIG. 6 is a schematic diagram of a data transmission method based on channel binding according to an embodiment of the present disclosure;
图6a是在以太网帧中插入发送序列号的示意图;Figure 6a is a schematic diagram of inserting a transmission sequence number in an Ethernet frame;
图6b为本发明实施例提供的一种业务配置消息格式示意图;FIG. 6b is a schematic diagram of a service configuration message format according to an embodiment of the present invention;
图6c为本发明实施例提供的另一种业务配置消息格式示意图;FIG. 6c is a schematic diagram of another service configuration message format according to an embodiment of the present disclosure;
图7为本发明实施例提供的另一种基于通道绑定的数据传输方法示意图;FIG. 7 is a schematic diagram of another method for data transmission based on channel binding according to an embodiment of the present disclosure;
图8为本发明实施例提供的一种基于通道绑定的数据传输装置示意图;FIG. 8 is a schematic diagram of a data transmission apparatus based on channel binding according to an embodiment of the present invention;
图9为本发明实施例提供的一种处理设备。FIG. 9 is a processing device according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图4为一种典型的点到多点的网络结构示意图,如图4所示,该网络结构主要由OLT、ONU、ODN组成。在该点到多点的网络结构中,一根光纤承载上下行数据信号,经过1:N分光器将光信号等分成N路,以覆盖多个接入点或接入用户。其中N为大于1的整数。FIG. 4 is a schematic diagram of a typical point-to-multipoint network structure. As shown in FIG. 4, the network structure is mainly composed of an OLT, an ONU, and an ODN. In the point-to-multipoint network structure, one optical fiber carries uplink and downlink data signals, and the optical signal is equally divided into N paths through a 1:N optical splitter to cover multiple access points or access users. Where N is an integer greater than one.
在下行方向,OLT提供面向光分配网络(英文:Optical Distribution Network;简称:ODN)的光纤接口;在上行方向,OLT可以提供千兆以太网光/电接口。ODN由无源光纤分支器和光纤构成。无源光纤分支器是连接OLT和ONU的无源设备,它的功能是分发下行数据和集中上行数据。无源分光器的部署相当灵活,由于是无源器件,几乎可以适应于所有环境。EPON 中的ONU采用以太网协议,在通信的过程中就不再需要协议转换,实现ONU对用户数据的透明传送。In the downlink direction, the OLT provides a fiber-optic interface for the optical distribution network (English: Optical Distribution Network; ODN for short); in the uplink direction, the OLT can provide a Gigabit Ethernet optical/electrical interface. The ODN consists of a passive fiber splitter and fiber. The passive fiber splitter is a passive device that connects the OLT and the ONU. Its function is to distribute downlink data and aggregate uplink data. The passive splitter is quite flexible to deploy, and because it is a passive device, it can be adapted to almost all environments. EPON The ONU adopts the Ethernet protocol, and no protocol conversion is needed in the process of communication, so that the ONU transparently transmits the user data.
诸如图4的点到多点的通信网络在基于通道绑定传输业务流的数据帧时,为了克服业务流的数据帧的乱序问题,需要在各个数据帧(例如以太网帧)的前导中插入帧发送序列号,从而使得通道绑定只能在MAC层以下及RS层以上进行,对当前无源光网络的MAC芯片改变较大,造成更新成本过高。A point-to-multipoint communication network such as that of FIG. 4 needs to be in the preamble of each data frame (eg, an Ethernet frame) in order to overcome the out-of-order problem of the data frame of the service flow when transmitting the data frame of the service flow based on the channel binding. Inserting the frame transmission sequence number, so that the channel binding can only be performed below the MAC layer and above the RS layer, and the MAC chip of the current passive optical network changes greatly, resulting in an excessive update cost.
图4a为本发明实施例提供的包含通道绑定功能的点到多点的网络结构示意图,如图4a所示,通过波分复用(英文:Wavelength Division Multiplexing;简称:WDM),OLT可以包含4个通道,ONU1可以包含4个通道,ONU2可以包含2个通道。其中,每个通道包括PHY层和PON MAC层。在进行业务流传输尤其是高速业务流传输时,对该业务流而言,可以在PON MAC层之上进行通道绑定,使得OLT或ONU中的多个通道可以传输同一个业务流。在PON MAC层之上进行通道绑定对当前无源光网络的MAC芯片改变较小,可以节约更新硬件的成本。需要注意的是,在实际实现中,OLT可以与更多或更少个ONU进行通信,而且OLT和ONU的通道个数也并不限定为4个或2个,具体根据实际情况,可以为任意个。OLT或ONU的所有通道可以不全部进行通道绑定,可根据实际需要选择其中部分通道进行通道绑定。但是每个ONU进行通道绑定的通道个数不能大于OLT的通道个数。FIG. 4 is a schematic diagram of a point-to-multipoint network structure including a channel binding function according to an embodiment of the present invention. As shown in FIG. 4a, the OLT may include Wavelength Division Multiplexing (WDM). For 4 channels, ONU1 can contain 4 channels, and ONU2 can contain 2 channels. Each channel includes a PHY layer and a PON MAC layer. When performing service flow transmission, especially high-speed service flow transmission, channel binding can be performed on the PON MAC layer for the service flow, so that multiple channels in the OLT or ONU can transmit the same service flow. Channel bonding on the PON MAC layer changes the MAC chip of the current passive optical network to a small extent, which can save the cost of updating hardware. It should be noted that, in actual implementation, the OLT can communicate with more or fewer ONUs, and the number of channels of the OLT and the ONU is not limited to four or two, and may be arbitrary according to actual conditions. One. All channels of the OLT or ONU may not be channel bound. You can select some channels for channel binding according to actual needs. However, the number of channels bound by each ONU channel cannot be greater than the number of channels of the OLT.
图5为一种通道绑定功能的具体实现方式示意图,如图5所示,该实现方式包含4个通道,每个通道包括MPCP层、MAC层、调和子层(英文:Reconciliation Sublayer;简称:RS)、物理编码子层(英文:Physical Coding Sublayer;简称:PCS)、物理媒体连接(英文:Physical Medium Attachment;简称:PMA)层、物理媒体依赖(英文:Physical Medium Dependent;简称:PMD)层。其中调和子层和物理编码子层通过媒介独立接口(英文:Media Independent Interface;简称:MII)连接。运行管理维护(英文:Operation Administration and Maintenance;简称:OAM)客户端以及数据客户端产生 的业务流通过通道绑定可以在最多4个通道上传输。该实现方式在MPCP层以上针对数据帧(例如以太网帧)构成的业务流做通道绑定,保持当前PONMAC的协议和实现不变,对产品实现冲击最小,不影响当前PON MAC芯片实现,更新成本较低。FIG. 5 is a schematic diagram of a specific implementation manner of a channel binding function. As shown in FIG. 5, the implementation manner includes four channels, and each channel includes an MPCP layer, a MAC layer, and a harmonic sublayer (English: Reconciliation Sublayer; RS), Physical Coding Sublayer (PCS), Physical Medium Attachment (PMA) layer, Physical Medium Dependent (PMD) layer . The harmonic sublayer and the physical coding sublayer are connected by a media independent interface (English: Media Independent Interface; MII for short). Operation Management and Maintenance (English: Operational Administration and Maintenance; OAM) client and data client generation The traffic can be transmitted on up to 4 channels through channel bonding. The implementation manner performs channel binding on the service flow formed by the data frame (for example, the Ethernet frame) on the MPCP layer, keeps the current PONMAC protocol and implementation unchanged, minimizes the impact on the product, does not affect the current PON MAC chip implementation, and updates. The cost is lower.
通道绑定意味着接收侧在按原始发送顺序重组时,需要基于接收到的数据帧的发送序列号。因而图4或图5所示实现方式需要在数据帧中插入发送序列号。Channel bonding means that the receiving side needs to transmit a sequence number based on the received data frame when reassembling in the original transmission order. Thus the implementation shown in Figure 4 or Figure 5 requires the insertion of a transmission sequence number in the data frame.
下面首先以发送侧设备(可以是OLT,也可以是ONU)为例介绍基于通道绑定传输业务流的方法。通过该方法,可以有效地解决基于通道绑定的数据传输过程中的数据帧乱序问题。The following describes a method for transmitting a service flow based on a channel binding by using a sending device (which may be an OLT or an ONU) as an example. Through this method, the problem of data frame disorder in the data transmission process based on channel binding can be effectively solved.
图6为本发明实施例提供的一种基于通道绑定的数据传输方法示意图,如图6所示,该数据传输方法包括:FIG. 6 is a schematic diagram of a data transmission method based on channel binding according to an embodiment of the present invention. As shown in FIG. 6, the data transmission method includes:
步骤601:建立或更新通道绑定表,该通道绑定表的表项至少包括一个或多个业务流标识以及一个或多个通道绑定组,其中,业务流标识的个数与通道绑定组的个数相同,该一个或多个业务流标识指示一个或多个业务流,该一个或多个业务流中的每一个业务流分别与该一个或多个通道绑定组中的每一个通道绑定组一一对应。其中,每一个通道绑定组包括一个或多个绑定的通道(在本发明实施例中,绑定的通道指的是进行通道绑定的通道)。Step 601: Establish or update a channel binding table, where the entry of the channel binding table includes at least one or more service flow identifiers and one or more channel binding groups, where the number of service flow identifiers is bound to the channel The number of groups is the same, the one or more service flow identifiers indicating one or more service flows, each of the one or more service flows being associated with each of the one or more channel binding groups The channel binding groups correspond one-to-one. Each of the channel bonding groups includes one or more bound channels. In the embodiment of the present invention, the bound channel refers to a channel for channel bonding.
具体地,当发送侧设备是OLT,接收侧设备是ONU时,可以根据ONU在OLT的一个或多个通道上的注册情况,收集并记录其可用通道信息,在业务配置时根据通道绑定需求添加相关表项。或者,根据发送侧设备的通道负载或故障情况,自动或手动更新通道绑定表。例如,当前通道1、2、3、4可用,对于业务流1需要绑定三个通道。因此,可以针对业务流1,添加一个通道绑定组,这个通道绑定组包括三个绑定的通道(例如通道1、2、4或者通道2、3、4等)。其中,绑定的通道由其对应的逻辑通道标识(以下可以称为Channel ID)指示。该逻辑通道标识具体可以为lane标识、波长通道 标识、逻辑标识(如LLID或GEMport-ID)、或ONU设备的PON端口标识中的任一个。Specifically, when the sending side device is an OLT and the receiving side device is an ONU, the available channel information can be collected and recorded according to the registration status of the ONU on one or more channels of the OLT, and the channel binding requirement is required according to the channel configuration during service configuration. Add related items. Alternatively, the channel binding table is automatically or manually updated according to the channel load or fault condition of the transmitting device. For example, current channels 1, 2, 3, and 4 are available, and for service flow 1, three channels need to be bound. Therefore, you can add a channel bonding group for traffic flow 1, which includes three bonded channels (for example, channels 1, 2, 4 or channels 2, 3, 4, etc.). The bound channel is indicated by its corresponding logical channel identifier (hereinafter may be referred to as a Channel ID). The logical channel identifier may be a lane identifier or a wavelength channel. Any one of an identification, a logical identifier (such as LLID or GEMport-ID), or a PON port identifier of an ONU device.
举例来说,通道绑定表可以具有表1所示的形式:其中,业务流1对应的通道绑定组包括通道1、2、4;业务流2对应的通道绑定组包括通道1、3。For example, the channel binding table may have the form shown in Table 1: where the channel bonding group corresponding to service flow 1 includes channels 1, 2, and 4; and the channel binding group corresponding to service flow 2 includes channels 1, 3 .
表1 本发明实施例提供的一种通道绑定表Table 1 A channel binding table provided by an embodiment of the present invention
业务流标识Service flow identifier 通道绑定组Channel bonding group
业务流1Business flow 1 通道1、2、4Channel 1, 2, 4
业务流2Business flow 2 通道1、3Channel 1, 3
……...... ……......
步骤602:在进行该一个或多个业务流中的第一业务流传输时,在该第一业务流的数据帧中插入第一业务流标识。Step 602: Insert the first service flow identifier in the data frame of the first service flow when performing the first service flow transmission in the one or more service flows.
具体的,第一业务流标识可以为第一业务流的VID。Specifically, the first service flow identifier may be a VID of the first service flow.
步骤603:根据该通道绑定表和该第一业务流标识,确定该第一业务流的通道绑定组,若该第一业务流的通道绑定组包括的通道个数大于1,则在该第一业务流的数据帧中插入发送序列号,该发送序列号用于接收侧设备重组接收到的第一业务流的数据帧。Step 603: Determine a channel binding group of the first service flow according to the channel binding table and the first service flow identifier, and if the channel binding group of the first service flow includes more than one channel, A transmission sequence number is inserted in the data frame of the first service flow, where the transmission sequence number is used by the receiving side device to reassemble the data frame of the first service flow received.
具体地,根据第一业务流标识,在通道绑定表中查找第一业务流的通道绑定组,或者根据第一业务流标识进行通道绑定表匹配,匹配出第一业务流的通道绑定组。若该第一业务流的通道绑定组包括的通道数大于1,则根据发送顺序在该第一业务流的数据帧中插入发送序列号。该发送序列号根据实际发送顺序取值,具体取值及值的形式本发明不做限定。在另一种可能的实现方式中,若在进行第一业务流传输过程中,该第一业务流的通道绑定组中的通道个数发生变化(例如因为某种故障导致其通道个数减少),该通道个数变为1时,也可以在后续的第一业务流的数据帧中插入发送序列号,以便于接收侧设备重组第一业务流的所有数据帧。Specifically, the channel binding group of the first service flow is searched in the channel binding table according to the first service flow identifier, or the channel binding table is matched according to the first service flow identifier, and the channel binding of the first service flow is matched. Set. If the channel binding group of the first service flow includes more than one channel, the transmission sequence number is inserted in the data frame of the first service flow according to the sending sequence. The transmission sequence number is a value according to the actual transmission order, and the specific value and value form are not limited in the present invention. In another possible implementation manner, if the first service flow is performed, the number of channels in the channel bonding group of the first service flow changes (for example, the number of channels is reduced due to a certain fault) When the number of the channels becomes 1, the transmission sequence number may be inserted in the data frame of the subsequent first service flow, so that the receiving side device reassembles all the data frames of the first service flow.
下面以该第一业务流的数据帧是以太网帧为例介绍如何插入发送序列 号。The following describes how to insert a transmission sequence by taking an Ethernet frame as a data frame of the first service flow. number.
图6a是在以太网帧中插入发送序列号的示意图,如图6a所示,其中灰色部分为插入部分。灰色部分的length/type字段取值为特殊值,如0x8200,指示该以太网帧携带发送序列号。灰色部分的帧序列号(英文:Frame Serial Number;简称:FSN)字段指示该以太网帧所在业务流的发送序列号。该FSN字段的具体长度本发明不做限定。需要注意的是,length/type字段和FSN字段是连续的两个字段,但是它们的位置并不限定,只要在SA字段和MAC层客户端长度/类型字段之间都可。Figure 6a is a schematic diagram of the insertion of a transmission sequence number in an Ethernet frame, as shown in Figure 6a, where the gray portion is the insertion portion. The length/type field of the gray part takes a special value, such as 0x8200, indicating that the Ethernet frame carries the transmission sequence number. The frame serial number (English: Frame Serial Number; FSN) field of the gray part indicates the transmission sequence number of the service flow in which the Ethernet frame is located. The specific length of the FSN field is not limited in the present invention. It should be noted that the length/type field and the FSN field are two consecutive fields, but their positions are not limited as long as they are between the SA field and the MAC layer client length/type field.
步骤604:利用该第一业务流的通道绑定组中的通道传输该第一业务流的数据帧。Step 604: Transmit a data frame of the first service flow by using a channel in the channel bonding group of the first service flow.
具体地,根据第一业务流的通道绑定组中的通道的可用情况或占用情况,分发或传输第一业务流的数据帧。例如,在该通道绑定组包括的通道中,利用空闲的通道或待传输的数据帧较少的通道来传输第一业务流的数据帧。例如表1中所示的业务流1下绑定的三个通道中当前只有通道1、2空闲,可以利用通道1、2来传输第一业务流的数据帧,当通道4在后续业务流传输过程中可用时,也可以利用通道1、2、4来传输第一业务流的数据帧。Specifically, the data frame of the first service flow is distributed or transmitted according to the available condition or occupation of the channel in the channel bonding group of the first service flow. For example, in the channel included in the channel bonding group, the data frame of the first service flow is transmitted by using an idle channel or a channel with fewer data frames to be transmitted. For example, in the three channels bound to the traffic flow 1 shown in Table 1, only the channels 1 and 2 are idle, and the channels 1 and 2 can be used to transmit the data frames of the first service flow, and when the channel 4 is transmitted in the subsequent service flow. Channels 1, 2, and 4 can also be utilized to transmit data frames of the first traffic flow when available in the process.
需要注意的是,ONU传输业务流可以具有和OLT传输业务流相同或类似的方法(也就是说,上行业务流传输可以和下行业务流传输的方法相同或类似,只需在实际实现过程中针对具体设备做适应性的改变即可),在此不再赘述。在一种可能的实现方式中,当发送侧设备是OLT,接收侧设备是ONU时,需要根据接收到的业务配置消息建立或者更新接收侧设备的通道绑定表。因此,可选地,OLT还发送业务配置消息,具体实现方式可以如下:It should be noted that the ONU transport service flow may have the same or similar method as the OLT transport service flow (that is, the uplink service flow transmission may be the same as or similar to the downlink service flow transmission, and only needs to be targeted in the actual implementation process. The specific equipment can be adapted to change, and will not be described here. In a possible implementation, when the sending device is an OLT and the receiving device is an ONU, the channel binding table of the receiving device needs to be established or updated according to the received service configuration message. Therefore, optionally, the OLT further sends a service configuration message, and the specific implementation manner is as follows:
步骤605:发送业务配置消息,该业务配置消息指示ONU建立通道绑定表,以便于ONU基于通道绑定传输业务流。Step 605: Send a service configuration message, where the service configuration message instructs the ONU to establish a channel binding table, so that the ONU transmits the service flow based on the channel binding.
具体地,该业务配置消息在EPON系统中可以为MPCP或OAM消息,在吉比特无源光网络(英文:Gigabit Passive Optical Network;简称:GPON) 系统中可以为物理层运行与维护(英文:Physical Layer Operation and Maintenance;简称:PLOAM)或ONU管理和控制接口(英文:ONUManagement and Control Interface;简称:OMCI)消息。这些消息的具体消息格式以及具体字段的名称、长度、位置和取值本发明实施例均不做限定。该业务配置消息至少包括业务流标识和通道配置指示。其中,业务流标识指示进行通道绑定的业务流,通道配置指示用于指示通道加入或退出该业务流的通道绑定组。Specifically, the service configuration message may be an MPCP or an OAM message in the EPON system, and the Gigabit Passive Optical Network (GPON) The system can be a physical layer operation and maintenance (English: Physical Layer Operation and Maintenance; PLOAM for short) or an ONU management and control interface (English: ONUManagement and Control Interface; OMCI) message. The specific message format of the message, as well as the name, the length, the location, and the value of the specific field are not limited in the embodiment of the present invention. The service configuration message includes at least a service flow identifier and a channel configuration indication. The service flow identifier indicates the service flow bound by the channel, and the channel configuration indication is used to indicate that the channel joins or exits the channel binding group of the service flow.
也就是说,ONU可以根据接收到的业务配置消息建立或者更新通道绑定表,或者,建立或更新ONU待传输的业务流与可利用的通道之间的绑定关系。通过建立或更新通道绑定表,ONU也可以基于通道绑定传输业务流。在一种可能的实现方式中,当通道的使用情况或通道绑定表中表项发生变化时,通过发送业务配置消息来更新ONU的通道绑定表。例如,对于通道故障导致OLT或ONU可用通道数减少情况,以及扩容场景导致OLT或ONU可用通道数增加的情况,需要及时更新ONU可用通道信息和通道绑定表中相关表项。通过发送业务配置消息指示ONU更新通道绑定表。That is, the ONU can establish or update the channel binding table according to the received service configuration message, or establish or update the binding relationship between the service flow to be transmitted by the ONU and the available channel. By establishing or updating a channel binding table, the ONU can also transmit traffic based on channel bonding. In a possible implementation manner, when the usage of the channel or the entry in the channel binding table changes, the channel binding table of the ONU is updated by sending a service configuration message. For example, if the number of available channels of the OLT or the ONU is reduced, and the number of available channels of the OLT or the ONU is increased, the information about the available channels of the ONU and the related entries in the channel binding table need to be updated in time. The ONU is instructed to update the channel binding table by sending a service configuration message.
下面以MPCP消息为基础介绍该业务配置消息构成。以PLOAM消息或OMCI消息为基础的业务配置消息与之类似,在此不再赘述。The following describes the composition of the service configuration message based on the MPCP message. The service configuration message based on the PLOAM message or the OMCI message is similar, and will not be described here.
图6b为本发明实施例提供的一种业务配置消息格式示意图,如图6b所示,在MPCP消息的基础上插入业务流标识(英文:Service Identify;简称:SID)字段以及标记组(英文:flag group)字段以得到业务配置消息。其中,SID字段指示需要进行通道绑定的业务流。SID字段具体可以是VID、MAC地址或其他业务流逻辑标识(如LLID或GEMport-ID)中的一种或多种的组合。标记组字段作为通道配置指示,其指示ONU上行通道加入或退出SID所指示的业务流对应的通道绑定组。当ONU上下行通道为1:1绑定时,该标记组字段用于指示ONU上接收该命令的下行通道所对应的上行通道加入或退出该业务流对应的通道绑定组。该标记组字段取第一值(如0)表示退出 通道绑定组,取第二值(如1)表示加入通道绑定组。当ONU下行通道对应多个上行通道时,该字段为比特(英文:bit)位图,其中每个bit对应一个上行通道,比如,该字段长度为8bits时,第一个bit表示ONU上行通道1,第2个bit表示ONU上行通道2,依次类推第8个bit表示ONU上行通道8。某个bit取0表示该bit对应的ONU上行通道退出通道绑定组或解除绑定关系,取1表示该bit对应的ONU上行通道加入通道绑定组或建立绑定关系。Figure 6b is a schematic diagram of a service configuration message format according to an embodiment of the present invention. As shown in Figure 6b, a service flow identifier (English: Service Identification; SID) field and a tag group are inserted on the basis of the MPCP message. The flag group field is used to get the service configuration message. The SID field indicates the service flow that needs to be bound by the channel. The SID field may specifically be a combination of one or more of a VID, a MAC address, or other service flow logical identifier (eg, LLID or GEMport-ID). The tag group field is used as a channel configuration indicator, which indicates that the ONU uplink channel joins or exits the channel bonding group corresponding to the service flow indicated by the SID. When the uplink and downlink channels of the ONU are 1:1, the label group field is used to indicate that the uplink channel corresponding to the downlink channel that receives the command on the ONU joins or exits the channel binding group corresponding to the service flow. The tag group field takes the first value (such as 0) to indicate exit The channel bonding group takes a second value (such as 1) to join the channel bonding group. When the ONU downlink channel corresponds to multiple uplink channels, the field is a bit (English: bit) bitmap, where each bit corresponds to an uplink channel. For example, when the field length is 8 bits, the first bit indicates ONU uplink channel 1 The second bit represents the ONU upstream channel 2, and so on, the eighth bit represents the ONU upstream channel 8. If a bit is 0, the ONU upstream channel corresponding to the bit is removed from the channel bonding group or the binding relationship is removed. The 1 indicates that the ONU uplink channel corresponding to the bit is added to the channel bonding group or establishes a binding relationship.
图6c为本发明实施例提供的另一种业务配置消息格式示意图,如图6c所示,在MPCP消息的基础上插入业务流标识SID字段、标记(英文:flag)字段以及与flag字段对应的Channel ID字段以得到业务配置消息。其中,SID的含义与图6b相同或类似。Channel ID字段用于标识一个通道。其对应的flag字段指示该通道退出或加入SID指示的业务流的通道绑定组。该flag字段取第一值(如0)表示该flag字段对应的Channel ID字段所标识的通道退出通道绑定组,取第二值(如1)表示该flag字段对应的Channel ID字段所标识的通道加入通道绑定组。在一个可选的实现方式中,根据实际需要,可以有一个或多个相互对应的flag字段和Channel ID字段。进一步地,该业务配置消息还包括配置的通道数字段,该配置的通道数字段用于指示进行加入或退出通道绑定组的通道个数或者用于指示flag字段的个数。FIG. 6 is a schematic diagram of another service configuration message format according to an embodiment of the present invention. As shown in FIG. 6c, a service flow identifier SID field, a flag (English: flag) field, and a flag field corresponding to the flag field are inserted on the basis of the MPCP message. The Channel ID field is used to get the service configuration message. The meaning of the SID is the same as or similar to that of FIG. 6b. The Channel ID field is used to identify a channel. The corresponding flag field indicates that the channel exits or joins the channel bonding group of the service flow indicated by the SID. The flag field takes a first value (such as 0) to indicate that the channel identified by the Channel ID field corresponding to the flag field exits the channel bonding group, and the second value (such as 1) indicates that the flag field corresponding to the flag field is identified by the Channel ID field. The channel is added to the channel bonding group. In an optional implementation manner, one or more flag fields and a Channel ID field corresponding to each other may be provided according to actual needs. Further, the service configuration message further includes a configured channel number field, where the configured channel number field is used to indicate the number of channels to join or exit the channel bonding group or to indicate the number of flag fields.
需要注意的是,图6b、图6c中插入的字段的位置、名称、长度以及取值本发明实施例均不做限定,图6b、图6c中所示的字段的字节数仅是示例,可以根据实际需要改变。It should be noted that the positions, names, lengths, and values of the fields inserted in FIG. 6b and FIG. 6c are not limited in the embodiment of the present invention. The number of bytes in the fields shown in FIG. 6b and FIG. 6c is only an example. Can be changed according to actual needs.
图7为本发明实施例提供的另一种基于通道绑定的数据传输方法示意图,如图7所示,该数据传输方法包括:FIG. 7 is a schematic diagram of another method for data transmission based on channel binding according to an embodiment of the present invention. As shown in FIG. 7, the data transmission method includes:
步骤701:接收数据帧,该数据帧携带业务流标识字段以及发送序列号;Step 701: Receive a data frame, where the data frame carries a service flow identifier field and a transmission sequence number.
步骤702:根据该业务流标识确定该数据帧所在的业务流;Step 702: Determine, according to the service flow identifier, a service flow in which the data frame is located.
步骤703:将该数据帧存入该业务流对应的缓存队列;Step 703: The data frame is stored in a buffer queue corresponding to the service flow.
步骤704:根据该数据帧的发送序列号对该业务流进行顺序重组。具体 地,针对接收到的数据帧,根据该数据帧的发送序列号按照该数据帧的发送顺序进行重组。Step 704: Perform sequence reorganization on the service flow according to the sending sequence number of the data frame. Specific The data frame is reassembled according to the transmission sequence of the data frame according to the transmission sequence of the data frame.
其中,业务流标识可以为VID。发送序列号可以通过在数据帧中插入length/type字段和FSN字段来指示。length/type字段指示该数据帧中是否携带发送序列号。若该数据帧中携带发送序列号,则FSN字段指示发送序列号的值。The service flow identifier may be a VID. The transmission sequence number can be indicated by inserting a length/type field and an FSN field in the data frame. The length/type field indicates whether the transmission sequence number is carried in the data frame. If the data frame carries the transmission sequence number, the FSN field indicates the value of the transmission sequence number.
OLT或ONU对接收到的业务流的数据帧的处理过程和业务流发送侧的处理过程具有对应性。其中涉及到的一些技术特征,例如:通道绑定,业务流标识,发送序列号等,以及其他进一步的描述(如通道绑定表、数据帧重组等),和上述方法实施例中涉及到的一些技术特征类似或对应,在此不再进行重复说明。The OLT or the ONU has a correspondence between the processing of the data frame of the received service flow and the processing of the transmission side of the service flow. Some of the technical features involved, such as: channel binding, service flow identification, sending serial number, etc., and other further descriptions (such as channel binding table, data frame recombination, etc.), and related to the above method embodiments Some technical features are similar or corresponding and will not be repeated here.
需要注意的是,无论是OLT还是ONU,通道绑定和解绑定都是在业务层面进行,且与PON协议无关。It should be noted that whether it is an OLT or an ONU, channel bonding and unbinding are performed at the service level and are independent of the PON protocol.
通过利用通道绑定进行数据传输,可以实现利用低速低成本的硬件来承载高速业务流。同时本发明实施例的通道绑定在PON MAC层以上进行,对现有硬件的改变或更新非常小,因此,可以不用重新设计硬件,直接利用现有硬件进行基于通道绑定的数据传输,从而大大节约成本。进一步地,通过在数据帧中添加发送序列号,可以有效地解决基于通道绑定传输数据所带来的数据帧乱序问题。By using channel bonding for data transmission, it is possible to utilize low-speed, low-cost hardware to carry high-speed traffic. At the same time, the channel binding of the embodiment of the present invention is performed on the PON MAC layer, and the change or update of the existing hardware is very small. Therefore, the data transmission based on the channel binding can be directly used by using the existing hardware without redesigning the hardware. Significant cost savings. Further, by adding a transmission sequence number in the data frame, the data frame disorder caused by the channel binding transmission data can be effectively solved.
通过在业务配置消息中携带业务流标识和通道配置指示,可以灵活配置ONU的上行业务流的通道绑定组。在重用现有PON MAC芯片的基础上实现基于业务流的灵活通道绑定功能,同时能够灵活支持不同传输速率的ONU在同一个PON系统中共存。因此,可以优化系统传输效率。You can flexibly configure the channel bonding group of the upstream service flow of the ONU by carrying the service flow identifier and the channel configuration indicator in the service configuration message. The service channel-based flexible channel binding function is realized on the basis of reusing the existing PON MAC chip, and the ONUs capable of flexibly supporting different transmission rates coexist in the same PON system. Therefore, system transmission efficiency can be optimized.
本发明实施例进一步给出实现上述方法实施例中各步骤及方法的装置实施例。图8为本发明实施例提供的一种基于通道绑定的数据传输装置示意图, 如图8所示,该装置包括:Embodiments of the present invention further provide an apparatus embodiment for implementing the steps and methods in the foregoing method embodiments. FIG. 8 is a schematic diagram of a data transmission apparatus based on channel binding according to an embodiment of the present invention, As shown in Figure 8, the device includes:
建立与更新单元801,用于建立或更新通道绑定表,该通道绑定表的表项至少包括一个或多个业务流标识以及一个或多个通道绑定组,其中,所示一个或多个业务流标识的个数与该一个或多个通道绑定组的个数相同,该一个或多个业务流标识指示一个或多个业务流,该一个或多个业务流中的每一个业务流分别与该一个或多个通道绑定组中的每一个通道绑定组一一对应,其中,每一个通道绑定组包括一个或多个绑定的通道;The establishing and updating unit 801 is configured to establish or update a channel binding table, where the entry of the channel binding table includes at least one or more service flow identifiers and one or more channel binding groups, where one or more The number of service flow identifiers is the same as the number of the one or more channel binding groups, the one or more service flow identifiers indicating one or more service flows, each of the one or more service flows The flow respectively corresponds to each of the one or more channel bonding groups, wherein each channel bonding group includes one or more bound channels;
插入单元802,用于在进行该一个或多个业务流中的第一业务流传输时,在该第一业务流的数据帧中插入第一业务流标识;根据该通道绑定表和该第一业务流标识,确定该第一业务流的通道绑定组,若该第一业务流的通道绑定组包括的通道个数大于1,则在该第一业务流的数据帧中插入发送序列号,该发送序列号用于接收侧设备重组接收到的该第一业务流的数据帧;The inserting unit 802 is configured to insert a first service flow identifier in a data frame of the first service flow when performing the first service flow transmission in the one or more service flows; according to the channel binding table and the first a service flow identifier, the channel binding group of the first service flow is determined, and if the number of channels included in the channel bonding group of the first service flow is greater than 1, the sending sequence is inserted in the data frame of the first service flow No. The sending sequence number is used by the receiving device to reassemble the data frame of the first service flow received by the receiving device.
传输单元803,用于利用该第一业务流的通道绑定组中的通道传输该第一业务流的数据帧。The transmitting unit 803 is configured to transmit, by using a channel in the channel bonding group of the first service flow, a data frame of the first service flow.
其中,该第一业务流的数据帧包括长度/类型字段和帧序列号字段;该长度/类型字段用于指示该第一业务流的数据帧中是否携带发送序列号;若该长度/类型字段指示该第一业务流的数据帧中携带发送序列号,则该帧序列号字段用于指示发送序列号的值。The data frame of the first service flow includes a length/type field and a frame sequence number field; the length/type field is used to indicate whether the data frame of the first service flow carries a transmission sequence number; if the length/type field Indicates that the data frame of the first service flow carries a transmission sequence number, and the frame sequence number field is used to indicate the value of the transmission sequence number.
进一步地,传输单元803,还用于当该接收侧设备为光网络单元ONU时,发送业务配置消息,该业务配置消息指示该ONU建立或更新ONU的通道绑定表,以便于ONU基于通道绑定传输业务流。Further, the transmitting unit 803 is further configured to: when the receiving side device is an optical network unit ONU, send a service configuration message, where the service configuration message instructs the ONU to establish or update a channel binding table of the ONU, so that the ONU is tied based on the channel The transport traffic is fixed.
其中,该业务配置消息携带第二业务流标识和通道配置指示;该第二业务流标识用于指示第二业务流;该通道配置指示用于指示该ONU中的通道加入或者退出该第二业务流的通道绑定组。The service configuration message carries the second service flow identifier and the channel configuration indication; the second service flow identifier is used to indicate the second service flow; the channel configuration indication is used to indicate that the channel in the ONU joins or exits the second service. The channel bonding group of the stream.
本发明实施例还提供一种处理设备,参照图9所示,包括:处理器901、存储器902、发射机903、接收机905及总线904,其中处理器901、存储器 902、发射机903和接收机905通过总线904连接进行数据传输,存储器902用于存储处理器901处理的数据;The embodiment of the present invention further provides a processing device, as shown in FIG. 9, comprising: a processor 901, a memory 902, a transmitter 903, a receiver 905, and a bus 904, wherein the processor 901 and the memory 902, the transmitter 903 and the receiver 905 are connected by a bus 904 for data transmission, and the memory 902 is used for storing data processed by the processor 901;
该总线904可以是工业标准体系结构(Industry Standard Architecture,简称为ISA)总线、外部设备互连(Peripheral Component,简称为PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称为EISA)总线等,此处并不限定。该总线904可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。其中:The bus 904 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Etc., here is not limited. The bus 904 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 9, but it does not mean that there is only one bus or one type of bus. among them:
存储器902用于存储数据或可执行程序代码,其中程序代码包括计算机操作指令,具体可以为:操作系统、应用程序等。存储器902可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 902 is used to store data or executable program code, where the program code includes computer operating instructions, which may specifically be: an operating system, an application, or the like. Memory 902 may include high speed RAM memory and may also include non-volatile memory, such as at least one disk memory.
处理器901可能是一个中央处理器(Central Processing Unit,简称为CPU),或者是特定集成电路(Application Specific Integrated Circuit,简称为ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 901 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more configured to implement the embodiments of the present invention. integrated circuit.
发射机903和接收机905用于收发消息,处理器901用于通过执行存储器902中的程序代码实现上述实施例中的基于通道绑定的数据传输方法,其中涉及到的一些技术特征,例如:通道绑定,业务流标识,发送序列号等,以及其他进一步的描述(如通道绑定表、数据帧重组等),和上述方法实施例中涉及到的一些技术特征类似或对应,在此不再进行重复说明。The transmitter 903 and the receiver 905 are configured to send and receive messages, and the processor 901 is configured to implement the channel binding-based data transmission method in the foregoing embodiment by executing program code in the memory 902, where some technical features are involved, for example: Channel binding, service flow identification, sending sequence number, etc., and other further descriptions (such as channel binding table, data frame recombination, etc.), similar or corresponding to some technical features involved in the foregoing method embodiments, Repeat the description.
本发明还提供了一种非临时性计算机可读存储介质,当所述存储介质中的指令由网络设备的处理器执行时,使得网络设备能够执行上述任一种基于通道绑定的数据传输方法,其中涉及到的一些技术特征,例如:通道绑定,业务流标识,发送序列号等,以及其他进一步的描述(如通道绑定表、数据帧重组等),和上述方法实施例中涉及到的一些技术特征类似或对应,在此不再进行重复说明。 The present invention also provides a non-transitory computer readable storage medium, which enables a network device to perform any of the above-described channel binding based data transmission methods when instructions in the storage medium are executed by a processor of the network device Some technical features involved, such as: channel binding, service flow identification, sending serial number, etc., and other further descriptions (such as channel binding table, data frame recombination, etc.), and related to the above method embodiments Some of the technical features are similar or corresponding, and the repeated description is not repeated here.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括RAM、ROM、EEPROM、CD-ROM或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented in hardware, firmware implementation, or a combination thereof. When implemented in software, the functions described above may be stored in or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a computer. By way of example and not limitation, computer readable media may comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage media or other magnetic storage device, or can be used for carrying or storing in the form of an instruction or data structure. The desired program code and any other medium that can be accessed by the computer. Also. Any connection may suitably be a computer readable medium. For example, if the software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable , fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, wireless, and microwave are included in the fixing of the associated media. As used in the present invention, a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.
总之,以上所述仅为本发明技术方案的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 In summary, the above description is only a preferred embodiment of the technical solution of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (8)

  1. 一种基于通道绑定的数据传输方法,其特征在于,包括:A channel transfer based data transmission method, comprising:
    建立或更新通道绑定表,所述通道绑定表的表项至少包括一个或多个业务流标识以及一个或多个通道绑定组,其中,所示一个或多个业务流标识的个数与所述一个或多个通道绑定组的个数相同,所述一个或多个业务流标识指示一个或多个业务流,所述一个或多个业务流中的每一个业务流分别与所述一个或多个通道绑定组中的每一个通道绑定组一一对应,其中,每一个通道绑定组包括一个或多个绑定的通道;Establishing or updating a channel binding table, where the entry of the channel binding table includes at least one or more service flow identifiers and one or more channel bonding groups, where the number of one or more service flow identifiers is displayed. Same as the number of the one or more channel bonding groups, the one or more service flow identifiers indicating one or more service flows, each of the one or more traffic flows respectively One-to-one correspondence between each channel binding group in one or more channel bonding groups, wherein each channel bonding group includes one or more bound channels;
    在进行所述一个或多个业务流中的第一业务流传输时,在所述第一业务流的数据帧中插入第一业务流标识;Inserting a first service flow identifier in a data frame of the first service flow when performing the first service flow transmission in the one or more service flows;
    根据所述通道绑定表和所述第一业务流标识,确定所述第一业务流的通道绑定组,若所述第一业务流的通道绑定组包括的通道个数大于1,则在所述第一业务流的数据帧中插入发送序列号,所述发送序列号用于接收侧设备重组接收到的所述第一业务流的数据帧;Determining, according to the channel binding table and the first service flow identifier, a channel binding group of the first service flow, if the channel binding group of the first service flow includes more than one channel, Transmitting, in the data frame of the first service flow, a sending sequence number, where the sending sequence number is used by the receiving device to reassemble the data frame of the first service flow received by the receiving device;
    利用所述第一业务流的通道绑定组中的通道传输所述第一业务流的数据帧。And transmitting, by using a channel in the channel bonding group of the first service flow, a data frame of the first service flow.
  2. 根据权利要求1所述的业务流传输方法,其特征在于,The service stream transmission method according to claim 1, wherein
    所述第一业务流的数据帧包括长度/类型字段和帧序列号字段;The data frame of the first service flow includes a length/type field and a frame sequence number field;
    所述长度/类型字段用于指示所述第一业务流的数据帧中是否携带发送序列号;The length/type field is used to indicate whether a data sequence of the first service flow carries a transmission sequence number;
    若所述长度/类型字段指示所述第一业务流的数据帧中携带发送序列号,则所述帧序列号字段用于指示发送序列号的值。And if the length/type field indicates that the data frame of the first service flow carries a transmission sequence number, the frame sequence number field is used to indicate a value of the transmission sequence number.
  3. 根据权利要求1或2所述的业务流传输方法,其特征在于,The service stream transmission method according to claim 1 or 2, characterized in that
    所述数据传输方法还包括:The data transmission method further includes:
    当所述接收侧设备为光网络单元ONU时,发送业务配置消息,所述业务配置消息指示所述ONU建立或更新ONU的通道绑定表,以便于ONU基 于通道绑定传输业务流。When the receiving side device is an optical network unit ONU, sending a service configuration message, where the service configuration message instructs the ONU to establish or update a channel binding table of the ONU, so as to facilitate the ONU base. The traffic is transmitted in the channel binding.
  4. 根据权利要求3所述的业务流传输方法,其特征在于,The service stream transmission method according to claim 3, characterized in that
    所述业务配置消息携带第二业务流标识和通道配置指示;The service configuration message carries a second service flow identifier and a channel configuration indication;
    所述第二业务流标识用于指示第二业务流;The second service flow identifier is used to indicate a second service flow;
    所述通道配置指示用于指示所述ONU中的通道加入或者退出所述第二业务流的通道绑定组。The channel configuration indication is used to indicate that a channel in the ONU joins or exits a channel bonding group of the second service flow.
  5. 一种基于通道绑定的数据传输装置,其特征在于,包括:A data transmission device based on channel binding, comprising:
    建立与更新单元,用于建立或更新通道绑定表,所述通道绑定表的表项至少包括一个或多个业务流标识以及一个或多个通道绑定组,其中,所示一个或多个业务流标识的个数与所述一个或多个通道绑定组的个数相同,所述一个或多个业务流标识指示一个或多个业务流,所述一个或多个业务流中的每一个业务流分别与所述一个或多个通道绑定组中的每一个通道绑定组一一对应,其中,每一个通道绑定组包括一个或多个绑定的通道;An establishing and updating unit, configured to establish or update a channel binding table, where the table binding table entry includes at least one or more service flow identifiers and one or more channel binding groups, wherein one or more The number of service flow identifiers is the same as the number of the one or more channel bonding groups, the one or more service flow identifiers indicating one or more service flows, in the one or more service flows Each of the service flows is in one-to-one correspondence with each of the one or more channel bonding groups, wherein each channel bonding group includes one or more bound channels;
    插入单元,用于在进行所述一个或多个业务流中的第一业务流传输时,在所述第一业务流的数据帧中插入第一业务流标识;根据所述通道绑定表和所述第一业务流标识,确定所述第一业务流的通道绑定组,若所述第一业务流的通道绑定组包括的通道个数大于1,则在所述第一业务流的数据帧中插入发送序列号,所述发送序列号用于接收侧设备重组接收到的所述第一业务流的数据帧;An insertion unit, configured to insert a first service flow identifier in a data frame of the first service flow when performing the first service flow transmission in the one or more service flows; according to the channel binding table and Determining, by the first service flow identifier, a channel binding group of the first service flow, if the number of channels included in the channel bonding group of the first service flow is greater than 1, in the first service flow Transmitting a transmission sequence number into the data frame, where the transmission sequence number is used by the receiving side device to reassemble the data frame of the first service flow received;
    传输单元,用于利用所述第一业务流的通道绑定组中的通道传输所述第一业务流的数据帧。And a transmitting unit, configured to transmit, by using a channel in the channel bonding group of the first service flow, a data frame of the first service flow.
  6. 根据权利要求5所述的业务流传输装置,其特征在于,A service stream transmission apparatus according to claim 5, wherein
    所述第一业务流的数据帧包括长度/类型字段和帧序列号字段;The data frame of the first service flow includes a length/type field and a frame sequence number field;
    所述长度/类型字段用于指示所述第一业务流的数据帧中是否携带发送序列号;The length/type field is used to indicate whether a data sequence of the first service flow carries a transmission sequence number;
    若所述长度/类型字段指示所述第一业务流的数据帧中携带发送序列 号,则所述帧序列号字段用于指示发送序列号的值。If the length/type field indicates that the data sequence of the first service flow carries a transmission sequence No., the frame sequence number field is used to indicate the value of the transmission sequence number.
  7. 根据权利要求5或6所述的业务流传输装置,其特征在于,A service stream transmission apparatus according to claim 5 or 6, wherein
    所述数据传输装置还包括:The data transmission device further includes:
    发送单元,用于当所述接收侧设备为光网络单元ONU时,发送业务配置消息,所述业务配置消息指示所述ONU建立或更新ONU的通道绑定表,以便于ONU基于通道绑定传输业务流。a sending unit, configured to: when the receiving side device is an optical network unit ONU, send a service configuration message, where the service configuration message instructs the ONU to establish or update a channel binding table of the ONU, so that the ONU is based on channel binding transmission business flow.
  8. 根据权利要求7所述的业务流传输装置,其特征在于,A service stream transmission apparatus according to claim 7, wherein
    所述业务配置消息携带第二业务流标识和通道配置指示;The service configuration message carries a second service flow identifier and a channel configuration indication;
    所述第二业务流标识用于指示第二业务流;The second service flow identifier is used to indicate a second service flow;
    所述通道配置指示用于指示所述ONU中的通道加入或者退出所述第二业务流的通道绑定组。 The channel configuration indication is used to indicate that a channel in the ONU joins or exits a channel bonding group of the second service flow.
PCT/CN2016/076295 2016-03-14 2016-03-14 Data transmission method based on channel binding WO2017156682A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/076295 WO2017156682A1 (en) 2016-03-14 2016-03-14 Data transmission method based on channel binding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/076295 WO2017156682A1 (en) 2016-03-14 2016-03-14 Data transmission method based on channel binding

Publications (1)

Publication Number Publication Date
WO2017156682A1 true WO2017156682A1 (en) 2017-09-21

Family

ID=59851418

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/076295 WO2017156682A1 (en) 2016-03-14 2016-03-14 Data transmission method based on channel binding

Country Status (1)

Country Link
WO (1) WO2017156682A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098800A (en) * 2021-02-24 2021-07-09 北京瀚诺半导体科技有限公司 Data forwarding method and device, electronic equipment and medium
CN116132549A (en) * 2022-11-03 2023-05-16 北京晟芯网络科技有限公司 Ethernet data receiving method, transmitting method, device and receiving and transmitting system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086367A1 (en) * 2003-10-20 2005-04-21 Transwitch Corporation Methods and apparatus for implementing multiple types of network tunneling in a uniform manner
CN101355387A (en) * 2007-07-26 2009-01-28 华为技术有限公司 Method, equipment and system for optical network unit to access network
CN103502985A (en) * 2013-04-12 2014-01-08 华为技术有限公司 Data processing method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050086367A1 (en) * 2003-10-20 2005-04-21 Transwitch Corporation Methods and apparatus for implementing multiple types of network tunneling in a uniform manner
CN101355387A (en) * 2007-07-26 2009-01-28 华为技术有限公司 Method, equipment and system for optical network unit to access network
CN103502985A (en) * 2013-04-12 2014-01-08 华为技术有限公司 Data processing method, device and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113098800A (en) * 2021-02-24 2021-07-09 北京瀚诺半导体科技有限公司 Data forwarding method and device, electronic equipment and medium
CN113098800B (en) * 2021-02-24 2023-04-07 北京瀚诺半导体科技有限公司 Data forwarding method and device, electronic equipment and medium
CN116132549A (en) * 2022-11-03 2023-05-16 北京晟芯网络科技有限公司 Ethernet data receiving method, transmitting method, device and receiving and transmitting system

Similar Documents

Publication Publication Date Title
US10484098B2 (en) Channel bonding in passive optical networks
JP3742406B2 (en) Ethernet (registered trademark) passive optical network system
TWI455501B (en) Methods and apparatus for extending mac control messages in epon
US8787759B2 (en) Dynamic bandwidth allocation apparatus and method and optical line terminal in PON system
US8027586B2 (en) Passive optical network system and optical line terminating apparatus
TWI555355B (en) Traffic switching in hybrid fiber coaxial (hfc) network
CN100555949C (en) A kind of to GPON system configuration Native VLAN and processing Ethernet method of message
US7379676B2 (en) Communication apparatus in Ethernet passive optical network
CN1496064B (en) Operation, management and maintenance capability finding method in Ethernet passive optical network
CN102006526B (en) A kind of broadcast packet/multicast controls message processing method and device
US9681209B2 (en) Method and system for scheduling remote PONs connected via an ethernet switch
US9621970B2 (en) OLT MAC module for efficiently processing OAM frames
CN101360041B (en) Method and apparatus bearing IP packet in passive optical network
WO2017041210A1 (en) Method, device, and system for passive optical network communication
US20050129030A1 (en) Multiple shared LAN emulation method in EPON based on group ID
US20150063811A1 (en) Central-office termination apparatus of adaptively changing connection to subscriber-terminal terminator and path switching method
WO2017156682A1 (en) Data transmission method based on channel binding
JP2007074256A (en) Multiple llid processing device
CN101741592B (en) Method, device and system for managing GPON branch in multi-service transmitting network
JP6015323B2 (en) Communication system, communication method, relay device, and master station device
CN101489154B (en) Method, system and device for passive optical network connection processing
KR100601042B1 (en) Communication apparatus in ethernet passive optical network
KR20030085412A (en) Ethernet passive optical network and l2 switching method
JP2016171580A (en) Communication system, communication method, repeating device and master station device
Gilardi et al. A proposal for an Ethernet-over-WDM wide area multiplexing architecture

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16893847

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16893847

Country of ref document: EP

Kind code of ref document: A1