WO2019029285A1 - 一种业务复用方法、业务解复用方法以及相关设备 - Google Patents

一种业务复用方法、业务解复用方法以及相关设备 Download PDF

Info

Publication number
WO2019029285A1
WO2019029285A1 PCT/CN2018/092835 CN2018092835W WO2019029285A1 WO 2019029285 A1 WO2019029285 A1 WO 2019029285A1 CN 2018092835 W CN2018092835 W CN 2018092835W WO 2019029285 A1 WO2019029285 A1 WO 2019029285A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
bit block
stream
receiving device
switching indication
Prior art date
Application number
PCT/CN2018/092835
Other languages
English (en)
French (fr)
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 JP2020507011A priority Critical patent/JP6992939B2/ja
Priority to EP18843144.9A priority patent/EP3661124B1/en
Priority to KR1020207006678A priority patent/KR102323871B1/ko
Publication of WO2019029285A1 publication Critical patent/WO2019029285A1/zh
Priority to US16/785,139 priority patent/US11349595B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • H04L1/0025Transmission of mode-switching indication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • H04J3/1658Optical Transport Network [OTN] carrying packets or ATM cells
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
    • H04L1/0003Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate by switching between different modulation schemes
    • H04L1/0005Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate by switching between different modulation schemes applied to payload information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0015Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
    • H04L1/0017Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy where the mode-switching is based on Quality of Service requirement
    • H04L1/0018Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy where the mode-switching is based on Quality of Service requirement based on latency requirement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0041Arrangements at the transmitter end
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0057Block codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0071Use of interleaving
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • H04L47/283Flow control; Congestion control in relation to timing considerations in response to processing delays, e.g. caused by jitter or round trip time [RTT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup
    • H04L47/722Admission control; Resource allocation using reservation actions during connection setup at the destination endpoint, e.g. reservation of terminal resources or buffer space
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup
    • H04L47/726Reserving resources in multiple paths to be used simultaneously
    • H04L47/728Reserving resources in multiple paths to be used simultaneously for backup paths
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/821Prioritising resource allocation or reservation requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J2203/00Aspects of optical multiplex systems other than those covered by H04J14/05 and H04J14/07
    • H04J2203/0001Provisions for broadband connections in integrated services digital network using frames of the Optical Transport Network [OTN] or using synchronous transfer mode [STM], e.g. SONET, SDH
    • H04J2203/0073Services, e.g. multimedia, GOS, QOS
    • H04J2203/0082Interaction of SDH with non-ATM protocols
    • H04J2203/0085Support of Ethernet

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a service multiplexing method, a service demultiplexing method, and related devices.
  • the 802.3-based Ethernet defined by the Institute of Electrical and Electronics Engineers (IEEE) is used as a service interface. It has been applied in various occasions and has achieved great success. However, with the development of network technology, the network must There are more and more types of services supported.
  • the concept of flexible ethernet is proposed.
  • Multi-service can be multiplexed on the same physical link through FlexE.
  • the network device includes multiple encoders 101 and a multiplexing module 102.
  • FlexE multiple services pass through codes corresponding to each service.
  • the encoder 101 performs encoding, and the encoder 101 transmits the encoded code block stream to the multiplexing module 102, and the multiplexing module 102 can implement multiplexing of the multi-service code block stream.
  • the multiplexing method of the multiplexing module 102 is a time division multiplexing (TDM) technology.
  • the multiplexing module 102 divides the time slots by using a code block as a granularity, and implements multiplexing by time slot interpolation, and the multiplexing module 102 outputs.
  • 20 time slots are used as the cycle period, and a FlexE overhead code block is inserted every 1023 cycles for time slot location.
  • each The time slots can be used as an independent channel to transmit traffic, and 20 time slots, ie 20 channels, can be used to transmit 20 services.
  • the service carried by each time slot is pre-configured, and the service data stream output by the multiplexing module 102 cannot be switched in real time.
  • the present application provides a service multiplexing method, a service demultiplexing method, and a related device, which can perform service switching in real time, and can effectively ensure low delay of service switching.
  • a first aspect of the embodiments of the present invention provides a service multiplexing method, including:
  • Step A The sending device inputs the bit block stream of the first service and the bit block stream of the second service to the corresponding buffer area.
  • Each receiving interface of the sending device is configured to receive a bit block stream of the first service and a bit block stream of the second service, where the sending device may determine a first buffer area corresponding to the bit block stream of the first service and a second buffer area corresponding to the bit block stream of the second service;
  • the sending device may input the bit block stream of the first service to the corresponding first buffer area, and input the bit block stream of the second service to the corresponding second buffer area.
  • the bit block stream of the first service and the bit block stream of the second service shown in this aspect may be sent to the receiving in sequence for any two of the bit block streams of the multi-path service received by the sending device.
  • the bit block stream of the device may be sent to the receiving in sequence for any two of the bit block streams of the multi-path service received by the sending device.
  • Step B The sending device sends a bit block stream of the first service to the receiving device.
  • the transmitting device may determine a priority of the bit block stream of the first service and the bit block stream of the second service to be sent to the receiving device.
  • bit block stream of the first service is sent to the receiving device before the bit block stream of the second service is taken as an example:
  • the sending device determines that the bit block stream of the first service waits for transmission longer than the time that the bit block stream of the second service waits for transmission, and determines that the bit block stream of the first service precedes the second A bit block stream of traffic is sent to the receiving device.
  • the sending device may send the first service to the receiving device. Bit block stream.
  • Step C The sending device determines whether the first service is switched to the second service for service transmission, and if yes, step D is performed.
  • the sending device may determine to switch to a bit block stream of the second service to send after the bit block stream transmission of the first service is completed.
  • the sending device may determine, after sending the preset data traffic that is determined by the sending device in the bitstream of the first service, to switch to a bitstream of the second service to send a service.
  • the transmitting device may switch to the foregoing when the sending device has sent the preset data traffic in the bit block stream of the first service when the bit block stream of the first service is not completely transmitted.
  • the bit block stream of the second service performs service transmission.
  • Step D The sending device sends at least one service switching indication bit block to the receiving device.
  • the sending device may be between the bit block stream of the first service and the bit block stream of the first service. Inserting the at least one service switching indication bit block and transmitting the at least one service switching indication bit block to the receiving device.
  • the at least one service switching indication bit block is configured to indicate that the first service is switched to the second service for service transmission.
  • Step E The sending device sends the bit block stream of the second service to the receiving device.
  • the sending device may send the bit block stream of the second service.
  • the sending device sequentially sends the bit block stream of the first service, the at least one service switching indication bit block, and the bit block stream of the second service in a sequence of sending time from front to back.
  • the beneficial effect of the service multiplexing method provided by the present aspect is that the service switching of the sending device can implement service switching on any bit block in real time as needed.
  • the service switching is performed by inserting a service switching indication bit block between the bit block streams that need to perform service switching, which reduces delay and jitter in the service switching process, and ensures low delay of service switching.
  • the transmitting device shown in this embodiment can transmit the high-priority service to the pre-emptive transmission of the high-priority service before the service with the high priority is switched to the service with the lower priority.
  • the multiplexing of services is implemented through the buffer area, thereby effectively avoiding the problem of bandwidth waste and transmission delay caused by multiplexing by means of exclusive bandwidth.
  • any one of the bit block included in the bit block stream of the first service and the bit block stream of the second service is included
  • the bit block and any one of the at least one service switching indication bit block are M1/M2 bit blocks, wherein M1 represents the number of payload bits in each bit block, and M2 represents the bit block of each bit block.
  • M1, M2 are positive integers, and M2>M1.
  • step B before performing step B, the following steps are further performed:
  • Step B01 The sending device acquires first service data of the first service.
  • the first service shown in this aspect may be a non-Ethernet service.
  • Step B02 The sending device encodes the first service data to generate a bit block stream of the first service.
  • step E Before performing step E, the following steps are also performed:
  • Step E01 The sending device acquires second service data of the second service.
  • Step E02 The sending device encodes the second service data to generate a bit block stream of the second service.
  • the sending device multiplexes data of different types of networks, so that the sending device can multiplex different types of services, so that the service multiplexing method shown in this embodiment can be applied.
  • the sending device can multiplex different types of services, so that the service multiplexing method shown in this embodiment can be applied.
  • the service multiplexing method shown in this embodiment can be applied.
  • M1/M2 bit block is a 64B/66B bit block
  • M2–M1 that is, 66-64
  • the aspect may be indicated by one or more of the service switching indication bit blocks for indicating a bit block stream switched by the bit block stream of the first service to the second service.
  • the service switching indication bit block includes parameters O0, D1, D2, D3, C4, C5, C6, and C7, and parameters D1, D2, and D3 are 8-bit bit data, and parameters C4, C5, C6, and C7 are 7. Bit bit data, parameter O0 is a 4-bit control code.
  • the M1/M2 bit block is an 8B/10B bit block
  • the number of the service switching indication bit blocks is multiple, and multiple
  • the service switching indication bit block includes at least one special bit block and at least one data bit block.
  • real-time service switching can be implemented on at least one service switching indication bit block as a service switching indication bit block, thereby reducing the service.
  • the delay and jitter during the handover process ensure low latency of service switching.
  • the at least one service switching indication bit block further includes indication information, where the indication information is used to indicate the first part that is sent to the receiving device.
  • the number of bit blocks included in the bit block stream of the second service is used to indicate the first part that is sent to the receiving device.
  • any parameter of the parameters D1, D2, D3, C4, C5, C6, and C7 included in the bit block stream may be indicated by the service switching.
  • the indication information may be transmitted, and the indication information may also be transmitted together through a plurality of service switching indication bit blocks.
  • the sending device can implement real-time notification of the number of bit blocks included in the bit block stream of the second service on the at least one service switching indication bit block, so that when the guarantee is low, In the case of delay, the number of bit blocks included in the bit block stream of the second service can be notified to the receiving device.
  • step D before performing step D, the steps are further performed:
  • Step D01 The sending device determines a target identifier.
  • the target identifier is an identifier corresponding to the second service.
  • the specific process of the sending device acquiring the target identifier may be:
  • the sending device may receive an identifier corresponding to any one of the multiple services, and the sending device may determine the target identifier corresponding to the second service.
  • the sending device may be configured with a corresponding identifier for any one of the multi-path services, and the sending device may determine, in the configured identifier, that the second service is corresponding to the second service.
  • the target identifier may be configured with a corresponding identifier for any one of the multi-path services, and the sending device may determine, in the configured identifier, that the second service is corresponding to the second service. The target identifier.
  • Step D02 The sending device generates the at least one service switching indication bit block.
  • the at least one service switching indication bit block includes the target identifier, where the target identifier is used to instruct the receiving device to store a bit block stream of the second service to a target buffer area, where the target buffer area is The receiving device is a buffer area allocated by the target identifier.
  • the receiving device may switch according to the at least one service.
  • the indication bit block determines that the service has a handover, and determines that the service is switched to the bit block stream of the second service according to the target identifier, thereby improving the efficiency of processing the service by the receiving device.
  • the method further includes:
  • the sending device deletes the free bit block.
  • the receiving interface of the sending device can determine whether there is a free bit block in the bit block stream of the multi-path service before the bit block stream of the multi-path service is input to the corresponding buffer area tx_buf, as shown in this embodiment.
  • the free bit block is a dedicated control bit block used for rate matching in the Ethernet standard, and the idle bit block can be transmitted when there is no valid data transmission at present. It can be seen that, in the case that the sending device deletes the idle bit block, the utilization rate of the bandwidth of the sending service of the sending device can be improved.
  • a second aspect of the embodiments of the present invention provides a service demultiplexing method, including:
  • Step F The receiving device receives the bit block stream sent by the sending device.
  • Step G The receiving device determines, in the bit block stream, whether at least one service switching indication bit block sent by the sending device is received, and if yes, step H is performed.
  • the at least one service switching indication bit block is configured to instruct the sending device to switch from the first service to the second service to perform service transmission, where the bit block flow of the first service is that the receiving device receives the at least one The service switching indicates the bit block stream received before the bit block.
  • Step H The receiving device determines that the received bit block stream is a bit block stream of the second service after receiving the at least one service switching indication bit block.
  • the receiving device may determine that the received bit block stream is after the receiving the at least one service switching indication bit block.
  • the bit block stream of the second service may be determined that the received bit block stream is after the receiving the at least one service switching indication bit block.
  • the receiving device shown in this aspect can determine that the service has changed according to the at least one service switching indication bit block, and the receiving device can determine the order of the receiving device according to the receiving time from front to back. And transmitting, in sequence, the bit block stream of the first service, the at least one service switching indication bit block, and the bit block stream of the second service.
  • the beneficial effect of the service multiplexing method provided by the present invention is that the receiving device can determine the service switching on any bit block, reduces the delay and jitter in the service switching process, and ensures the low delay of the service switching.
  • the demultiplexing of services is implemented through the buffer area, thereby effectively avoiding the problem of bandwidth waste and transmission delay caused by demultiplexing by exclusive bandwidth.
  • any one of the bit block included in the bit block stream of the first service and the bit block stream of the second service is included
  • the bit block and any one of the at least one service switching indication bit block are M1/M2 bit blocks, wherein M1 represents the number of payload bits in each bit block, and M2 represents the bit block of each bit block.
  • M1, M2 are positive integers, and M2>M1.
  • step H before performing step H, the following steps are further performed:
  • Step H01 The receiving device receives a bit block stream of the first service sent by the sending device.
  • Step H02 The receiving device decodes the bit block stream of the first service to obtain first service data of the first service.
  • step H After performing step H, the following steps are also performed:
  • Step H11 The receiving device receives a bit block stream of the second service sent by the sending device.
  • Step H12 The receiving device decodes a bit block stream of the second service to obtain first service data of the second service.
  • the receiving device can demultiplex different types of services, so that the service demultiplexing method shown in this embodiment can be applied to different network environments.
  • M1/M2 bit block is a 64B/66B bit block
  • M2 ⁇ M1 that is, 66-64
  • the aspect may be indicated by one or more of the service switching indication bit blocks for indicating a bit block stream switched by the bit block stream of the first service to the second service.
  • the service switching indication bit block includes parameters O0, D1, D2, D3, C4, C5, C6, and C7, and parameters D1, D2, and D3 are 8-bit bit data, and parameters C4, C5, C6, and C7 are 7. Bit bit data, parameter O0 is a 4-bit control code.
  • the number of the service switching indication bit blocks is multiple, if the M1/M2 bit block is an 8B/10B bit block.
  • the service switching indication bit block includes at least one special bit block and at least one data bit block.
  • Step H21 The receiving device acquires indication information included in the at least one service switching indication bit block.
  • the indication information is used to indicate the number of bit blocks included in the bit block stream of the second service
  • any parameter of the parameters D1, D2, D3, C4, C5, C6, and C7 included in the bit block stream may be indicated by the service switching.
  • the indication information may be transmitted, and the indication information may also be transmitted together through a plurality of service switching indication bit blocks.
  • Step H22 The receiving device determines, according to the indication information, a number of bit blocks included in a bit block stream of the second service.
  • the receiving in the process of service demultiplexing, determining the number of bit blocks included in the bit block stream of the second service on the at least one service switching indication bit block, thereby ensuring service demultiplexing Low latency in the process.
  • Step H31 The receiving device acquires a target identifier included in the at least one service switching indication bit block.
  • the target identifier is an identifier corresponding to the second service.
  • Step H32 The receiving device stores the bit block stream of the second service to a target buffer.
  • the target buffer area is a buffer area allocated by the receiving device for the target identifier.
  • the receiving device may determine, according to the at least one service switching indication bit block, that the receiving device receives the at least one service switching indication bit block that includes the target identifier.
  • the service has a handover, and the service is switched to the bit block stream of the second service according to the target identifier, thereby improving the efficiency of processing the service by the receiving device.
  • the method further includes:
  • the receiving device determines that the bit block stream of the first service and/or the bit block stream of the second service has a free bit block, the receiving device deletes the free bit block.
  • the receiving device may determine whether there is a free bit block in the bit block stream of the multi-path service before buffering the bit block stream of the multi-path service to the corresponding buffer area tx_buf, as shown in this embodiment.
  • the idle bit block is a dedicated control bit block used for rate matching in the Ethernet standard, and the idle bit block can be transmitted when there is no valid data transmission at present. It can be seen that, in the case that the receiving device deletes the idle bit block, the efficiency of processing the service by the receiving device can be improved.
  • a third aspect of the embodiments of the present invention provides a transmitting device, including a transmitter and a multiplexer connected to the transmitter:
  • the transmitter is configured to send a bit block stream of the first service to the receiving device
  • the multiplexer is configured to determine whether the first service is switched to the second service for service transmission
  • the transmitter is further configured to: if the multiplexer determines that the first service is switched to the second service for service transmission, sending, to the receiving device, at least one service switching indication bit block, where the at least one A service switching indication bit block is used to indicate that the first service is switched to the second service for service transmission, and the transmitter is further configured to send the bit block stream of the second service to the receiving device.
  • the transmitting device shown in this embodiment is used to perform the service multiplexing method shown in the first aspect of the present application.
  • the specific process of the specific method for performing the service multiplexing please refer to the first aspect of the present application, and details are not described herein.
  • a beneficial effect of the transmitting device provided by the present aspect is that the service switching of the sending device can implement service switching on any bit block in real time as needed.
  • the service switching is performed by inserting a service switching indication bit block between the bit block streams that need to perform service switching, which reduces delay and jitter in the service switching process, and ensures low delay of service switching.
  • the transmitting device shown in this embodiment can transmit the high-priority service to the pre-emptive transmission of the high-priority service before the service with the high priority is switched to the service with the lower priority.
  • the multiplexing of services is implemented through the buffer area, thereby effectively avoiding the problem of bandwidth waste and transmission delay caused by multiplexing by means of exclusive bandwidth.
  • any one of the bit block included in the bit block stream of the first service and the bit block stream of the second service is included
  • the bit block and any one of the at least one service switching indication bit block are M1/M2 bit blocks, wherein M1 represents the number of payload bits in each bit block, and M2 represents the bit block of each bit block.
  • M1, M2 are positive integers, and M2>M1.
  • the transmitter is further configured to acquire first service data of the first service, and encode the first service data to generate a Decoding a bit block stream of the first service, acquiring second service data of the second service, and encoding the second service data to generate a bit block stream of the second service.
  • the sending device multiplexes data of different types of networks, so that the sending device can multiplex different types of services, so that the sending device shown in this embodiment can be applied to different In a networked environment.
  • M1/M2 bit block is a 64B/66B bit block
  • M2 ⁇ M1 that is, 66-64, is represented in each bit block.
  • the aspect may be indicated by one or more of the service switching indication bit blocks for indicating a bit block stream switched by the bit block stream of the first service to the second service.
  • the service switching indication bit block includes parameters O0, D1, D2, D3, C4, C5, C6, and C7, and parameters D1, D2, and D3 are 8-bit bit data, and parameters C4, C5, C6, and C7 are 7. Bit bit data, parameter O0 is a 4-bit control code.
  • the M1/M2 bit block is an 8B/10B bit block
  • the number of the service switching indication bit block is multiple, and multiple
  • the service switching indication bit block includes at least one special bit block and at least one data bit block.
  • the receiving device shown in this aspect can implement real-time service switching on at least one service switching indication bit block as a service switching indication bit block, thereby reducing services.
  • the delay and jitter during the handover process ensure low latency of service switching.
  • the at least one service switching indication bit block further includes indication information, where the indication information is used to indicate the first part that is sent to the receiving device.
  • the number of bit blocks included in the bit block stream of the second service is used to indicate the first part that is sent to the receiving device.
  • any parameter of the parameters D1, D2, D3, C4, C5, C6, and C7 included in the bit block stream may be indicated by the service switching.
  • the indication information may be transmitted, and the indication information may also be transmitted together through a plurality of service switching indication bit blocks.
  • the sending device can implement real-time notification of the number of bit blocks included in the bit block stream of the second service on the at least one service switching indication bit block, so that when the guarantee is low, In the case of delay, the number of bit blocks included in the bit block stream of the second service can be notified to the receiving device.
  • the multiplexer is further configured to: determine a target identifier, where the target identifier is an identifier corresponding to the second service, generate the At least one service switching indication bit block, the at least one service switching indication bit block includes the target identifier, and the target identifier is used to instruct the receiving device to store the bit block stream of the second service to a target buffer area,
  • the target buffer area is a buffer area allocated by the receiving device for the target identifier.
  • the receiving device may switch according to the at least one service.
  • the indication bit block determines that the service has a handover, and determines that the service is switched to the bit block stream of the second service according to the target identifier, thereby improving the efficiency of processing the service by the receiving device.
  • the multiplexer is further configured to: if the bit block stream of the first service and/or the bit block stream of the second service is determined There is an idle bit block in it, and the free bit block is deleted.
  • the transmitting device may determine whether there is a free bit block in the bit block stream of the multi-path service before the bit block stream of the multi-path service is input to the corresponding buffer area tx_buf, as described in this embodiment.
  • the idle bit block is a dedicated control bit block used for rate matching in the Ethernet standard, and the idle bit block can be transmitted when there is no valid data transmission at present. It can be seen that, in the case that the sending device deletes the idle bit block, the utilization rate of the bandwidth of the sending service of the sending device can be improved.
  • a fourth aspect of the embodiments of the present invention provides a receiving device, including:
  • a receiver configured to determine whether the at least one service switching indication bit block sent by the sending device is received, where the at least one service switching indication bit block is used to indicate that the sending device switches from the first service to the second service for service transmission,
  • the bit block stream of the first service is a bit block stream received before receiving the at least one service switching indication bit block;
  • Demultiplexing if it is determined that the at least one service switching indication bit block is received, determining that the received bit block stream is a bit of the second service after receiving the at least one service switching indication bit block Block flow.
  • any one of the bit block included in the bit block stream of the first service and the bit block stream of the second service is included
  • the bit block and any one of the at least one service switching indication bit block are M1/M2 bit blocks, wherein M1 represents the number of payload bits in each bit block, and M2 represents the bit block of each bit block.
  • M1, M2 are positive integers, and M2>M1.
  • the receiver is further configured to receive a bit block stream of the first service that is sent by the sending device, where the demultiplexer The method is further configured to: decode the bit block stream of the first service to obtain the first service data of the first service; and the receiver is further configured to receive the second service sent by the sending device a bit block stream; the demultiplexer is further configured to: decode the bit block stream of the second service to obtain first service data of the second service.
  • the receiving device can demultiplex different types of services, so that the service demultiplexing method shown in this embodiment can be applied to different network environments.
  • M1/M2 bit block is a 64B/66B bit block
  • M2 ⁇ M1 that is, 66-64, is represented in each bit block.
  • the aspect may be indicated by one or more of the service switching indication bit blocks for indicating a bit block stream switched by the bit block stream of the first service to the second service.
  • the service switching indication bit block includes parameters O0, D1, D2, D3, C4, C5, C6, and C7, and parameters D1, D2, and D3 are 8-bit bit data, and parameters C4, C5, C6, and C7 are 7. Bit bit data, parameter O0 is a 4-bit control code.
  • the number of the service switching indication bit blocks is multiple, if the M1/M2 bit block is an 8B/10B bit block.
  • the service switching indication bit block includes at least one special bit block and at least one data bit block.
  • the demultiplexer is further configured to: obtain indication information included in the at least one service switching indication bit block, where the indication information is used by And indicating a number of the bit blocks included in the bit block stream of the second service, and determining, according to the indication information, a number of bit blocks included in the bit block stream of the second service.
  • the receiving in the process of service demultiplexing, determining the number of bit blocks included in the bit block stream of the second service on the at least one service switching indication bit block, thereby ensuring service demultiplexing Low latency in the process.
  • the demultiplexer is further configured to acquire a target identifier included in the at least one service switching indication bit block, where the target And identifying, by the identifier corresponding to the second service, the bit block stream of the second service to a target buffer area, where the target buffer area is a buffer area allocated by the receiving device for the target identifier.
  • the receiving device may determine, according to the at least one service switching indication bit block, that the receiving device receives the at least one service switching indication bit block that includes the target identifier.
  • the service has a handover, and the service is switched to the bit block stream of the second service according to the target identifier, thereby improving the efficiency of processing the service by the receiving device.
  • the demultiplexer is further configured to: if the bit block stream of the first service and/or the bit block of the second service is determined If there are free bit blocks in the stream, the free bit blocks are deleted.
  • the receiving device may determine whether there is a free bit block in the bit block stream of the multi-path service before buffering the bit block stream of the multi-path service to the corresponding buffer area tx_buf, as shown in this embodiment.
  • the idle bit block is a dedicated control bit block used for rate matching in the Ethernet standard, and the idle bit block can be transmitted when there is no valid data transmission at present. It can be seen that, in the case that the receiving device deletes the idle bit block, the efficiency of processing the service by the receiving device can be improved.
  • the beneficial effects of the service multiplexing method, the service demultiplexing method, and the related device provided by the present application are: in the case that the sending device determines that the first service is switched to the second service for service transmission, the sending device may be Inserting at least one service switching indication bit block between the bit block stream of the first service and the bit block stream of the second service, thereby enabling the sending device to switch the bit block stream of the first service, at least one service switch The bit block and the bit block stream of the second service are sequentially sent to the receiving device. It can be seen that the sending device can implement real-time service switching on at least one service switching indication bit block, thereby reducing delay and jitter in the service switching process. , to ensure low latency of business switching.
  • FIG. 1 is a schematic structural diagram of a network device provided by the prior art
  • FIG. 2 is a schematic structural diagram of a service data flow output by a network device provided by the prior art
  • FIG. 3 is a schematic structural diagram of an embodiment of a communication network provided by the present application.
  • FIG. 4 is a schematic structural diagram of hardware of an embodiment of a network device provided by the present application.
  • FIG. 5 is a schematic structural diagram of hardware of another embodiment of a network device according to the present application.
  • FIG. 6 is a flow chart of steps of an embodiment of a service multiplexing method provided by the present application.
  • FIG. 7 is a schematic structural diagram of an embodiment of a basic framework of network communication of a network device according to the present application.
  • FIG. 8 is a schematic diagram of a process of multiplexing a bit block stream of multiple services by a multiplexer provided by the present application
  • FIG. 9 is a flow chart of steps of an embodiment of a service demultiplexing method provided by the present application.
  • FIG. 10 is a schematic diagram of a process of demultiplexing a bit block stream by a demultiplexer provided by the present application
  • FIG. 11 is a schematic diagram of a process of multiplexing or demultiplexing a service by a network device provided by the present application;
  • FIG. 12 is a flow chart of steps of another embodiment of a service multiplexing method provided by the present application.
  • FIG. 13 is a schematic structural diagram of an embodiment of a multiplexer provided by the present application.
  • FIG. 14 is a flowchart of steps of another embodiment of a service demultiplexing method provided by the present application.
  • FIG. 15 is a schematic structural diagram of an embodiment of a demultiplexer provided by the present application.
  • 16 is a schematic diagram of another embodiment of multiplexing or demultiplexing a service by a network device according to the present application.
  • 17 is a flow chart of steps of another embodiment of a service demultiplexing method provided by the present application.
  • FIG. 18 is a schematic structural diagram of an embodiment of a multiplexer provided by the present application.
  • FIG. 19 is a flowchart of another embodiment of a service demultiplexing method provided by the present application.
  • 20 is a schematic structural diagram of an embodiment of a demultiplexer provided by the present application.
  • FIG. 21 is a schematic diagram of another embodiment of multiplexing or demultiplexing a service by a network device according to the present application.
  • FIG. 22 is a schematic diagram of a codeword structure of an embodiment of a service switching indication bit block stream provided by the present application.
  • FIG. 23 is a schematic structural diagram of an embodiment of a sending device provided by the present application.
  • FIG. 24 is a schematic structural diagram of an embodiment of a receiving device provided by the present application.
  • the present application provides a communication network, which can implement the method of service multiplexing and service demultiplexing shown in this application.
  • the following describes the structure of the communication network provided by the present application. :
  • the communication network includes at least two network devices 300 that are interconnected.
  • the specific number of the network devices 300 included in the communication network is not limited in this embodiment, and the present embodiment is associated with any network device 300.
  • the specific number of connected network devices 300 is not limited.
  • the network device shown in this embodiment may be a network card, a switch, a router, or the like.
  • the network device can be applied to a network environment such as an Ethernet, a radio access network (RAN), or a wireless local area network (WLAN).
  • a network environment such as an Ethernet, a radio access network (RAN), or a wireless local area network (WLAN).
  • RAN radio access network
  • WLAN wireless local area network
  • the network device is used as a sending device as an example.
  • the network device as the sending device is configured to multiplex the received service data, and send the multiplexed bit block stream to the receiving. device.
  • This embodiment is exemplified by the network device 400 for receiving the service data sent by the first network device 401, the second network device 402, the third network device 403, and the Nth network device 404 as an example.
  • This embodiment does not limit the number of service data that the network device 400 can receive.
  • each receiving interface included in the network device 400 is configured to receive service data sent by different network devices.
  • the receiving interface 406 is configured to receive service data sent by the first network device 401
  • the receiving interface 407 is configured to receive service data sent by the second network device 402, where the receiving interface is used.
  • 408 is configured to receive service data sent by the third network device 403, where the receiving interface 409 is configured to receive service data sent by the Nth network device 404.
  • the number of the receiving interfaces included in the network device 400 is not limited in this embodiment.
  • the sending interface 405 of the network device is configured to receive service data sent by each receiving interface, and perform service multiplexing by using the service multiplexing method shown in this application to form a bit block stream.
  • the specific number of the sending interfaces 405 included in the network device is not limited in this embodiment.
  • FIG. 4 illustrates the hardware structure when the network device is used as the transmitting device in the communication network.
  • the following describes the hardware structure when the network device functions as the receiving device according to the embodiment shown in FIG. 5:
  • the network device as the receiving device is configured to receive the multiplexed bit block stream, and the network device is further configured to demultiplex the multiplexed bit block stream.
  • the receiving port 501 of the network device 500 shown in this embodiment is configured to receive the multiplexed bit block stream.
  • the specific number of the receiving interfaces 501 included in the network device is not limited in this embodiment.
  • the receiving port 501 is configured to perform demultiplexing of the bit block stream by using the service demultiplexing method shown in this application to form a bit block stream corresponding to each service, and the receiving interface 501 sets the bit block corresponding to each service.
  • the flow is sent to the corresponding sending interface, and the receiving interface 501 sends the bit block stream of the first service to the sending interface 502, and the receiving interface 501 sends the bit block stream of the second service to the sending interface 503, where the receiving The interface 501 transmits the bit block stream of the third service to the transmission interface 504, which transmits the bit block stream of the Nth service to the transmission interface 505.
  • the number of the transmission interfaces included in the network device 500 is not limited in this embodiment.
  • Step 601 Input a bit block stream of the multi-path service to a corresponding buffer area tx_buf.
  • each receiving interface of the sending device shown in this embodiment is configured to receive a bit block stream of a multi-path service, and the receiving interface may determine a buffer area tx_buf corresponding to a bit block stream of each service, and further The bit block stream of the multiplexed service can be input to the corresponding buffer area tx_buf.
  • the sending device may determine whether there is a free bit block in the bit block stream of the multi-path service.
  • the idle bit block shown in the embodiment is a dedicated control bit block used for rate matching in the Ethernet standard, and the idle bit block can be transmitted when there is no valid data transmission at present.
  • the receiving interface of the sending device may directly discard the free bit block.
  • Step 602 Arbitrate the buffer area tx_buf to generate arbitration result information.
  • a multiplexer located in the sending interface of the sending device may be configured to arbitrate the buffer area tx_buf to generate arbitration result information for service multiplexing.
  • the basic framework of the network communication of the transmitting device shown in this embodiment is an open system interconnection (OSI).
  • OSI open system interconnection
  • the OSI model divides the network communication work of the transmitting device into seven layers, which are respectively Physical layer, data link layer, network layer, transport layer, session layer, presentation layer, and application layer.
  • the physical layer includes a physical coding sublayer (PCS), a forward error correction (FEC), a physical medium attachment (PMA), and a physical medium dependency (physical medium dependency). , PMD).
  • PCS physical coding sublayer
  • FEC forward error correction
  • PMA physical medium attachment
  • PMD physical medium dependency
  • the physical coding sublayer PCS of the sending device includes a plurality of encoding modules 712 for encoding service data, the encoding module 712 is disposed in a receiving interface, and the Encoding module 712 can encode the received traffic data to generate a block flow and input the block stream to multiplexer 713.
  • the encoding module 712 shown in this embodiment may encode any one of the bit block streams generated by the service data into an M1/M2 bit block, where M1 represents the number of payload bits in each bit block.
  • M2 denotes the total number of bits per bit block, M1, M2 are positive integers, and M2>M1.
  • the physical coding sublayer PCS includes a multiplexer 713 for multiplexing a bitstream of the encoded multipath service, and the multiplexer 713 is disposed in the transmission interface.
  • the physical coding sublayer PCS further includes a scrambling module 714 and a processing module 715 disposed in the sending interface, where the scrambling module 714 is configured to perform scrambling processing on the multiplexed bit block stream;
  • the processing module 715 is configured to perform corresponding processing on the multiplexed bit block stream, for example, distributing the multiplexed bit block stream to multiple physical links, and periodically inserting the alignment identifier, etc.,
  • the description of the processing performed by the processing module 715 in this embodiment is an optional example and is not limited.
  • the multiplexer determines whether the buffer area tx_buf of the bit block stream in which each service is cached separately satisfies a target condition, and the multiplexer will buffer the buffer area only if the buffer area tx_buf satisfies the target condition Tx_buf arbitrates to generate arbitration result information.
  • the target condition shown in this embodiment is data to be sent in the buffer area tx_buf, and the target condition is also that the flow control of the bit block stream of the service buffered by the buffer area tx_buf allows data to be transmitted.
  • the multiplexer determines the arbitration result information in the plurality of the buffer areas tx_buf that meet the target condition, and the arbitration result information shown in this embodiment may be used to indicate that the plurality of target conditions are met.
  • a priority of the bit block stream buffered by the buffer area tx_buf which is sent to the receiving device, so that the sending device performs the priority according to the priority indicated by the arbitration result information, in order of priority from front to back.
  • a bit block stream of traffic is transmitted to the receiving device.
  • bit block buffered by the buffer area tx_buf is respectively indicated by the arbitration result information shown in the embodiment.
  • the time that the stream is waiting to be sent is sorted in ascending order.
  • bit block buffered by the buffer area tx_buf is respectively indicated by the arbitration result information shown in the embodiment.
  • the data traffic that the stream has sent is sorted in as little as possible.
  • the description of the priority sent to the receiving device in the bit block stream respectively buffered by the plurality of buffer areas tx_buf that meet the target condition indicated by the arbitration result information is optional.
  • the example is not limited.
  • Step 603 Send a bit block stream of the first service to the receiving device.
  • the receiving device determines, according to the bit block stream respectively buffered by the plurality of buffer areas tx_buf that meet the target condition, that is determined to be currently sent to the receiving device.
  • the bit block stream of the first service is determined, according to the bit block stream respectively buffered by the plurality of buffer areas tx_buf that meet the target condition, that is determined to be currently sent to the receiving device.
  • Step 604 Determine whether the first service is switched to the second service for service transmission, and if yes, execute step 605.
  • the multiplexer may determine, according to the arbitration result information, whether the first service is switched to the second service for service transmission.
  • the priority order indicated by the arbitration result information may be: after the sending device sends the bit block stream of the first service, send the bit block stream of the second service.
  • the priority ordering indicated by the arbitration result information may be: after the sending device sends the preset data traffic in the bit block stream of the first service, the bit of the second service is sent. a block stream, where the preset data traffic is the data traffic indicated by the arbitration result information, that is, the sending device in the embodiment may not send the bit block stream of the first service when the flow is not complete. After the sending device has sent the preset data traffic in the bit block stream of the first service, the device switches to the bit block stream of the second service to perform service transmission.
  • Step 605 Insert at least one service switching indication bit block between the bit block stream of the first service and the second bit block stream.
  • the multiplexer may determine that the bit block stream of the first service and the bit block stream of the second service are sequentially sent to the location according to the priority order indicated by the arbitration result information. Referring to the receiving device, the multiplexer inserts at least one service switching indication bit block 801 between the bit block stream of the first service and the bit block stream of the first service.
  • the at least one service switching indication bit block is configured to indicate that the first service is switched to the second service for service transmission.
  • the at least one service switching indication bit block shown in this embodiment further includes a target identifier, where the target identifier is an identifier corresponding to the bit block stream of the second service.
  • the specific process of obtaining the target identifier by the sending device in this embodiment is not limited in this embodiment, as long as the sending device can determine the target identifier corresponding to the bit block stream of the second service, that is, can.
  • the sending device may receive an identifier corresponding to any one of the multiple services in advance, and the sending device may determine the target identifier corresponding to the second service.
  • the sending device may configure a corresponding identifier for any one of the multi-path services, and the sending device may determine, in the configured identifier, the The target identifier corresponding to the second service.
  • the sending device sends the at least one service switching indication bit block including the target identifier to the receiving device
  • the receiving device may switch the indication bit block according to the at least one service. Determining that the service has a handover, and determining, according to the target identifier, that the service is switched to the bit block stream of the second service.
  • the number of the service switching indication bit blocks is not limited.
  • Step 606 Send the at least one service switching indication bit block to the receiving device.
  • the sending device may send the bit block stream inserted into the first service and the first The at least one service switching between the bit block streams of the two services indicates a bit block.
  • Step 607 Send a bit block stream of the second service to the receiving device.
  • the sending device may send the bit block stream of the second service.
  • the sending device sequentially sends the bit block stream of the first service, the at least one service switching indication bit block, and the bit block stream of the second service in a sequence of sending time from front to back.
  • the status of the buffer area tx_buf may change, and the sending device shown in this embodiment may perform the steps 602 to 607 shown in this embodiment. All of the bit block streams to be transmitted on the buffer area tx_buf satisfying the target condition are transmitted to the receiving device.
  • Step 608 If it is detected that all of the buffer area tx_buf no bit block stream needs to be sent, send a free bit block to the receiving device.
  • the transmitting device when the multiplexer detects that the bit block stream on the target condition buffer area tx_buf has been transmitted, the transmitting device sends an idle bit block to the receiving device.
  • the service multiplexing method provided in this embodiment has the beneficial effect that the service switching of the sending device is not affected by the service currently being transmitted, and the service switching can be implemented on any bit block in real time as needed.
  • the service switching is performed by inserting a service switching indication bit block between the bit block streams that need to perform service switching, which reduces delay and jitter in the service switching process, and ensures low delay of service switching.
  • the transmitting device shown in this embodiment can transmit the high-priority service to the pre-emptive transmission of the high-priority service before the service with the high priority is switched to the service with the lower priority.
  • the multiplexing of services is implemented through the buffer area, thereby effectively avoiding the problem of bandwidth waste and transmission delay caused by multiplexing by means of exclusive bandwidth.
  • FIG. 6 illustrates a specific process of how to perform service multiplexing from the perspective of a transmitting device.
  • the specific process of performing service demultiplexing is illustrated from the perspective of the receiving device as shown in FIG. 9 below.
  • Step 901 Receive a bit block stream sent by the sending device.
  • the receiving interface of the receiving device shown in this embodiment may determine whether there is a free bit block in the bit block stream sent by the sending device, if the receiving device determines that the bit block stream has The idle bit block, the receiving interface of the receiving device may directly discard the free bit block.
  • Step 902 Detect whether there is at least one service switching indication bit block in the bit block stream, and if yes, perform step 903.
  • the demultiplexer of the receiving device detects whether each received bit block is a service switching indication bit block.
  • step 903 is performed.
  • the demultiplexer is disposed in a receiving interface of the receiving device.
  • the basic framework of the network communication of the receiving device shown in this embodiment is described in the basic framework of the network communication of the sending device, which is not described in detail in this embodiment.
  • the physical coding sublayer PCS of the receiving device includes multiple processing modules 724, and the processing module 724 is configured to receive data flows of multiple physical links, and compare data according to alignment identifiers. The flow is aligned and sorted. It should be noted that the description of the processing performed by the processing module 724 in this embodiment is an optional example and is not limited.
  • the physical coding sublayer PCS further includes a descrambling module 723, and the descrambling module 723 is configured to perform descrambling processing on the demultiplexed service data.
  • the physical coding sublayer PCS also includes a demultiplexer 722 for storing a block stream to a buffer corresponding to the block stream.
  • the physical coding sublayer PCS further includes a decoding module 721, and the decoding module 721 is configured to decode the demultiplexed bit block stream to generate service data.
  • bit block streams shown in this embodiment is an M1/M2 bit block, where M1 represents the number of payload bits in each bit block, and M2 represents the total number of bits per bit block.
  • M1 and M2 are positive integers, and M2>M1.
  • the receiving device shown in this embodiment detects the bit blocks included in the bit block stream one by one to determine the bit block. All of the service switching indication bit blocks included in the stream.
  • the receiving device in the embodiment may detect the currently received bit block to determine whether the currently received bit block is the The service switching indicates a bit block.
  • Step 903 Determine that the received bit block stream is the bit block stream of the second service after receiving the at least one service switching indication bit block.
  • the following describes how the demultiplexer determines that the bit block stream received after receiving the at least one service switching indication bit block is a bit block stream of the second service:
  • the receiving device and the sending device shown in this embodiment may appoint the at least one service switching indication bit block to indicate service switching, and the demultiplexer receives the at least one service switching indication bit.
  • the demultiplexer can determine that a service switch has occurred in the bit block stream of the first service and the bit block stream of the second service.
  • the bit block stream of the first service is a bit block stream received by the receiving device before receiving the at least one service switching indication bit block
  • the bit block stream of the second service is the receiving a bit block stream received by the device after receiving the at least one service switching indication bit block.
  • the at least one service switching indication bit block shown in this embodiment includes a target identifier, where the target identifier is an identifier corresponding to a bit block stream of the second service.
  • the receiving device may determine, according to the target identifier, a corresponding bit block stream of the second service, where the receiving device may determine, after receiving the at least one service switching indication bit block, receive the first The bit block stream of the second service.
  • the receiving device shown in this embodiment may receive an identifier corresponding to any one of the multiple services in advance, and after receiving the target identifier sent by the sending device, the receiving device, after receiving the target identifier sent by the sending device, The second service corresponding to the target identifier can be determined.
  • the receiving device may receive the identifier set sent by the sending device in advance, where the identifier set includes an identifier corresponding to any one of the multiple services, and the receiving device receives the sending device. After the target identifier is sent, the second service corresponding to the target identifier may be determined.
  • the sending device sends the at least one service switching indication bit block including the target identifier to the receiving device
  • the receiving device may switch the indication bit block according to the at least one service. Determining that the service has a handover, and determining, according to the target identifier, that the service is switched to the bit block stream of the second service.
  • Step 904 Store the bit block stream of the second service to the target buffer.
  • the demultiplexer may allocate a buffer area to any identifier to establish any service and The correspondence of a buffer area.
  • the demultiplexer receives the bit block stream of the first service and the bit block stream of the second service as an example.
  • the demultiplexer may allocate a first buffer area tx_buf for the first service and a second buffer area tx_buf for each of the second services.
  • the demultiplexer may determine a target cache that is pre-allocated and corresponding to the target identifier. And the demultiplexer can store the bit block stream of the second service to the target buffer.
  • the steps 902 to 904 shown in this embodiment are performed cyclically until the bit block stream of any service received by the receiving device is stored in the corresponding buffer area.
  • the beneficial effect of the service demultiplexing method provided in this embodiment is that the receiving device determines that the service is switched by detecting the service switching indication bit block, so that the service switching can be implemented on any bit block in real time, and the service is reduced.
  • the delay and jitter during the handover process ensure low latency of service switching.
  • the demultiplexing of services is implemented through the buffer area, thereby effectively avoiding the problem of bandwidth waste and transmission delay caused by demultiplexing by exclusive bandwidth.
  • This embodiment describes an example of how the transmitting device implements service multiplexing in the full duplex mode of the Ethernet.
  • the services received by the sending device are all Ethernet packet services.
  • Ethernet packet service is specifically: an express media access control (eMAC) and a preemptable media access control (pMAC).
  • eMAC express media access control
  • pMAC preemptable media access control
  • the delay sensitivity of the eMAC service is higher than the delay sensitivity of the pMAC service.
  • Step 1201 The first buffer area Tx_buf buffers the 64B/66B bit block stream output from the PCS up-part of the eMAC.
  • the first Tx_buf of the sending device shown in this embodiment is used to cache the eMAC service. After the sending device receives the eMAC service, the sending device can buffer the eMAC service to the first Tx_buf corresponding to the eMAC service.
  • the data stream of the eMAC service is a 64B/66B bit block stream.
  • Step 1202 The second Tx_buf buffers the 64B/66B bit block stream output from the PCS up-part of the pMAC.
  • the second Tx_buf of the sending device shown in this embodiment is used to buffer the pMAC service. After the sending device receives the pMAC service, the sending device can buffer the pMAC service to the second Tx_buf corresponding to the pMAC service.
  • the data stream of the pMAC service is a 64B/66B bit block stream.
  • the multiplexer may detect whether there is a free bit block in the first Tx_buf and the second Tx_buf;
  • the multiplexer may have a free bit block in an inter-packet-gap (IPG) in a 64B/66B bit block stream output by the PCS up-part, and if yes, the multiplexer The free bit block in the IPG can be deleted.
  • IPG inter-packet-gap
  • the multiplexer can perform flow control on the bit block stream in the buffer area, where the specific process is:
  • the multiplexer may detect the bit block stream in each buffer area periodically or in real time. If it is detected that the data volume of the bit block stream in the buffer area is greater than or equal to a preset threshold, the multiplexer may send the bit stream.
  • the device sends the indication information for instructing to suspend the data transmission, and the sending device may suspend the bit block stream of the service input to the PCS up-part, and then if the multiplexer detects the bit block stream in the buffer area If the amount of data is less than a preset threshold, the multiplexer may send indication information for indicating the transmission of data to the sending device, and the transmitting device may input a bit block stream of the service to the PCS up-part.
  • step 1203 it is detected whether the first tx_buf and the second tx_buf satisfy the target condition. If not, step 1204 is performed, and if yes, step 1205 is performed.
  • the multiplexer is configured to detect whether the first tx_buf and the second tx_buf satisfy the target condition. The following describes the embodiment in detail with the specific structure of the multiplexer:
  • the arbitration module 1302 in communication with each buffer area tx_buf in the multiplexer is configured to detect whether the first tx_buf and the second tx_buf satisfy the target condition.
  • the target condition shown in this embodiment is that the first tx_buf and the second tx_buf are to be sent, and the target condition is also a bit block of the service buffered by the first tx_buf and the second tx_buf.
  • the flow control of the flow is allowed to send data.
  • the target condition please refer to the foregoing embodiment, which is not described in detail in this embodiment.
  • Step 1204 Send an idle bit block to the receiving device.
  • the multiplexer of the sending device is configured to send a free bit block to the receiving device.
  • the multiplexing module 1301 of the multiplexer determines that the first tx_buf and the second tx_buf do not satisfy the target condition, the multiplexing module 1301 is configured to receive the The device sends a block of free bits.
  • Step 1205 Send a bit block stream of the eMAC service buffered by the first tx_buf to the receiving device.
  • the arbitration module 1302 in communication with the multiplexing module 1301 in the multiplexer may arbitrate the bit block stream in each tx_buf to determine a bit block that is first sent to the receiving device in each tx_buf. flow.
  • the arbitration module 1302 may determine that the first cached eMAC service is cached.
  • the tx_buf has a higher priority than the buffer area in which the pMAC service is buffered, and the arbitration module 1302 determines that the bit block stream buffered by the first tx_buf is sent to the receiving device.
  • This embodiment exemplifies the priority of the bit block stream sent to the receiving device based on the delay sensitivity of the service.
  • Step 1206 it is determined whether a service switching occurs, and if yes, step 1207 is performed.
  • the multiplexing module 1301 of the multiplexer is configured to determine whether a service switching occurs, that is, the multiplexing module 1301 determines whether the eMAC service is switched to the pMAC service for service transmission.
  • the arbitration module 1302 when the arbitration module 1302 arbitrates the bit block stream in each buffer area, the arbitration result information may be generated, and the arbitration module 1302 may send the arbitration result information to the multiplexing module 1301.
  • the multiplexing module 1301 may determine whether a service switching occurs according to the arbitration result information.
  • Step 1207 Insert a service switching indication bit block between the bit block stream of the eMAC service and the bit block stream of the pMAC.
  • the multiplexing module 1301 determines, according to the arbitration result information, that the insertion of the service switching indication bit block is required, and the insertion module 1303 communicably connected to the multiplexing module 1301 can be in the bit block of the eMAC service.
  • the traffic switching indication bit block is inserted between the stream and the bit block stream of the pMAC service.
  • the service switching indication bit block shown in this embodiment is a tag TAG bit block, and the number of the TAG bit blocks is at least one.
  • the traffic switching indication bit block shown in this embodiment is a 64B/66B bit block, where M2 - M1, ie 66-64, represents the number of header sync header bits in each bit block.
  • the number of the service switching indication bit blocks is taken as an example.
  • the structure of the codewords of the 64B/66B bit block is shown in FIG. 22:
  • the service switching indication bit block shown in this embodiment is exemplified by including parameters O0, D1, D2, D3, C4, C5, C6, and C7 as an example:
  • the parameters D1, D2, and D3 are 8-bit bit data
  • the parameters C4, C5, C6, and C7 are 7-bit bit data
  • the parameter O0 is a 4-bit control code for indicating the class of the bit block including the parameter O0.
  • the bit block including the parameter O0 is defined by the parameter O0 for performing the indication service switching.
  • the sending device shown in this embodiment sets the value of O0 to 0x4 to identify the bit block including the parameter O0 as a service switching indication bit block.
  • O0 in this embodiment is set to 0x4 as an optional example, and may also be set to other values not defined in the existing standard.
  • the parameters D1, D2, and D3 included in the service switching indication bit block carry a three-byte parameter, and the target identifier can be transmitted through three-byte parameters carried by D1, D2, and D3, where the target identifier is An identifier corresponding to the bit block stream of the pMAC service.
  • the description of the transmission target identifiers through D1, D2, and D3 is an optional example, which is not limited.
  • any of the parameters D1, D2, D3, C4, C5, C6, and C7 may be adopted.
  • the parameter transmits the target identifier, and the target identifier can also be transmitted through the plurality of service switching indication bit blocks.
  • the service switching indication bit block further includes indication information, where the indication information is used to indicate a number of bit blocks included in the bit block stream of the pMAC service that is sent to the receiving device.
  • the indication information may be transmitted through any one of parameters D1, D2, D3, C4, C5, C6, and C7 included in the service switching indication bit block stream, or may be indicated by multiple service switching indications.
  • the bit block transmits the indication information together.
  • the arbitration module 1302 may determine that all the bit blocks included in the pMAC service are sent to the receiving device.
  • the indication information included in the service switching indication bit block inserted by the insertion module 1303 may indicate the number of all the bit blocks of the pMAC service.
  • the arbitration module 1302 may determine that all the bit blocks included in the pMAC service are not sent to the receiving device, that is, send
  • the partial bit block stream included in the pMAC service the indication information included in the service switching indication bit block inserted by the insertion module 1303 may include a part of the pMAC service that needs to be sent to the receiving device. The number of blocks.
  • Step 1208 Send the service switching indication bit block to the receiving device.
  • Step 1209 Send a bit block stream of the pMAC service to the receiving device.
  • the sending device may send the bit block stream of the pMAC service.
  • the sending device sequentially sends the bit block stream of the eMAC service, the service switching indication bit block, and the bit block stream of the pMAC service in the order of sending time from front to back.
  • Step 1210 If it is detected that all of the buffer area tx_buf no bit block stream needs to be sent, send a free bit block to the receiving device.
  • the transmitting device when the multiplexer detects that the first tx_buf that satisfies the target condition and the bit block stream on the first tx_buf have been transmitted, the transmitting device sends an idle bit block to the receiving device.
  • each module included in the multiplexer in this embodiment is an optional example, which is not limited, as long as the multiplexer can perform the service multiplexing process shown in this embodiment. can.
  • This embodiment is described by taking an application to the Ethernet packet service as an example.
  • the service multiplexing shown in this application can also be applied to a low-speed network.
  • the number of the service switching indication bit blocks is multiple, and the service switching indication bit block is an 8B/10B bit block.
  • the number of the service switching indication bit blocks is four as an example for exemplary description.
  • the structure of the service switching indication bit block may be K28.5/D18.6/DX, Y/DX, Y, and the structure of the bit block may also be K28.5/D1.2/ DX, Y/DX, Y.
  • a service switching indication can be implemented with a single bit block, and for 8B/10B encoding, multiple bit blocks need to be tied together for service switching.
  • the structure of the service switching indication bit block is K28.5/D18.6/DX, Y/DX, Y is taken as an example, and the bit block K28.5 is a special bit block, which is located after the special bit block.
  • the bit block (Dx.y) is used as a data bit block.
  • a special bit block is used together with the data bit block to indicate a service switch.
  • the receiving device receives an Ethernet packet service as an example.
  • Ethernet packet service is specifically: an express media access control (eMAC) and a preemptable media access control (pMAC).
  • eMAC express media access control
  • pMAC preemptable media access control
  • the delay sensitivity of the eMAC service is higher than the delay sensitivity of the pMAC service.
  • Step 1401 Receive a bit block stream sent by the sending device.
  • the 64S/66B encoder and decoder part of a PCS (PCS low-part) of the receiving device is used to receive the bit block stream sent by the transmitting device.
  • the lower part of the PCS of the receiving device is the descrambling module 723 and the processing module 724 in the PCS as shown in FIG.
  • the receiving device may directly delete the idle bit block.
  • the detecting module 1501 included in the demultiplexer of the receiving device is configured to detect an idle bit block, and if the detecting module 1501 detects the free bit block, the detecting module 1501 can directly delete the free bit block.
  • Step 1402 Detect whether there is at least one service switching indication bit block in the bit block stream, and if yes, perform step 1403.
  • each bit block in the bit block stream received by the demultiplexer is a service switching indication bit block. If the demultiplexer receives a service switching indication bit block or receives a plurality of consecutive service switching indication bit blocks, step 1405 is performed.
  • the service switching indication bit block is a 64B/66B bit block, and the specific description of the 64B/66B bit block is as described above, and details are not described herein.
  • Step 1403 Determine, after receiving the service switching indication bit block, the received bit block stream as a bit block stream of the pMAC service.
  • the service switching indication bit block shown in this embodiment is used to indicate a service handover, and the service switching indication bit block indicates that the service is switched to the pMAC service by using the included target identifier.
  • Step 1404 Input a bit block stream of the pMAC service into a corresponding buffer area.
  • the extraction module 1503 communicably connected to the detecting module 1501 may extract the target identifier included in the service switching indication bit block. .
  • the demultiplexing module 1502 communicatively coupled to the extraction module 1503 determines a corresponding buffer area according to the target identifier.
  • the received bit block stream is a bit block stream of the eMAC service, and the receiving device receives the service switching indication bit block.
  • the received bit block stream is exemplified as a bit block stream of the pMAC service.
  • the demultiplexing module 1502 Before the receiving device receives the service switching indication bit block, the demultiplexing module 1502 stores the bit block stream of the eMAC service to a first tx_buf configured in advance for the eMAC service, the solution After determining the target identifier, the multiplexing module 1502 may determine that the target buffer corresponding to the target identifier is the second tx_buf, and may subsequently receive the bit block of the pMAC service. A stream is input to the second tx_buf.
  • Step 1405 Determine whether each buffer area meets an output condition, and if yes, execute step 1406.
  • the output control module 1504 of the demultiplexer can be configured to detect whether each buffer area satisfies an output condition, wherein the output condition is whether each buffer area stores a complete Ethernet media access control (MAC) frame. .
  • MAC media access control
  • the data output to the MAC layer of the receiving device is based on a complete MAC frame.
  • control module 1504 may buffer and frame the bit block stream through the buffer area until a complete frame is filled. MAC frame.
  • Step 1406 Output the complete MAC frame to the MAC layer.
  • control module 1504 determines that the bit block stream stored in the buffer area is a complete MAC frame
  • the control module 1504 can control the buffer area in which the complete MAC frame is stored to output the complete MAC frame. To the MAC layer.
  • each module included in the demultiplexer in this embodiment is an optional example, which is not limited, as long as the demultiplexer can perform the service solution shown in this embodiment. Just use the process.
  • the foregoing embodiment exemplifies the Ethernet packet service as an example.
  • the following embodiment details the specific process of how the sending device performs service multiplexing on the non-Ethernet packet service and the Ethernet packet service:
  • the Ethernet packet service is a pMAC service, and the specific description of the pMAC service is as described above, and details are not described herein.
  • the non-Ethernet packet service is exemplified by the flow service, where the flow service is a constant bit rate (CBR) service or a variable bit rate (VBR) service.
  • CBR constant bit rate
  • VBR variable bit rate
  • the flow service is taken as an example of the VBR service as an example:
  • Step 1701 The first Tx_buf buffers the 64B/66B bit block stream output from the PCS up-part of the pMAC.
  • the first Tx_buf of the sending device shown in this embodiment is used to buffer the pMAC service, and after the sending device receives the pMAC service, the sending device can buffer the eMAC service to the first Tx_buf corresponding to the pMAC service.
  • Step 1702 Encoding the VBR service.
  • the encoding module of the receiving device needs to perform 64B/66B encoding on the VBR service to generate a bit block stream.
  • Step 1703 The second Tx_buf buffers the 64B/66B bit block stream from the output of the encoding module.
  • the multiplexer may detect whether there is a free bit block in the first Tx_buf and the second Tx_buf, and if yes, the multiplexer may delete the IPG. Free bit block.
  • the multiplexer can perform flow control on the bit block stream in the buffer area. For details, refer to the above description, and details are not described herein.
  • Step 1704 It is detected whether the first tx_buf and the second tx_buf satisfy the target condition. If not, step 1705 is performed, and if yes, step 1706 is performed.
  • the multiplexer is configured to detect whether the first tx_buf and the second tx_buf meet the target condition.
  • the specific structure of the multiplexer can be seen in FIG. 18, where the multiplexer shown in FIG.
  • the multiplexing module 1801, the arbitration module 1802, and the insertion module 1803 please refer to the multiplexing module 1301, the arbitration module 1302, and the multiplexer included in the multiplexer shown in FIG.
  • the description of the insertion module 1303 is not specifically described herein.
  • the arbitration module 1802 shown in this embodiment is configured to detect whether the first tx_buf and the second tx_buf meet the target condition, wherein the specific description of the target condition is as described above, and the specific Narration.
  • Step 1705 Send a free bit block to the receiving device.
  • the multiplexing module 1801 determines that the first tx_buf and the second tx_buf do not satisfy the target condition, the multiplexing module 1801 is configured to send an idle bit block to the receiving device.
  • Step 1706 Send a bit block stream of the pMAC service buffered by the first tx_buf to the receiving device.
  • the arbitration module 1802 may arbitrate the bit block stream in each tx_buf to determine a bit block stream in the tx_buf that is first sent to the receiving device in each tx_buf.
  • the arbitration module 1802 determines that the first tx_buf in which the pMAC service is cached has a higher priority than the cache region in which the VBR service is cached, and the arbitration module 1802 can A bit block stream buffered by a tx_buf is sent to the receiving device.
  • Step 1707 Determine whether a service switch occurs. If yes, execute step 1708.
  • the multiplexing module 1801 is configured to determine whether a service switching occurs, that is, the multiplexing module 1801 determines whether the pMAC service and the VBR service are switched.
  • the arbitration module 1802 when the arbitration module 1802 arbitrates the bit block stream in each buffer area, the arbitration result information may be generated, and the arbitration module 1802 may send the arbitration result information to the multiplexing module 1801.
  • the multiplexing module 1801 can determine whether a service switching occurs according to the arbitration result information.
  • Step 1708 Insert a service switching indication bit block between the bit block stream of the pMAC service and the bit block stream of the VBR service.
  • the insertion module 1803 may be between the bit block stream of the pMAC service and the bit block stream of the VBR service. The service switching indication bit block is inserted.
  • Step 1709 Send the service switching indication bit block and the bit block stream of the VBR service to the receiving device in sequence.
  • the sending device may use the service switching indication bit block and the VBR service.
  • the bit block stream is sent to the receiving device in turn.
  • each module included in the multiplexer in this embodiment is an optional example, which is not limited, as long as the multiplexer can perform the service multiplexing process shown in this embodiment. can.
  • the Ethernet packet service in this embodiment is a pMAC service
  • the non-Ethernet packet service is exemplified by the VBR service as an example:
  • Step 1901 Receive a bit block stream sent by the sending device.
  • the PCS low-part of the receiving device receives the bit block transmitted by the transmitting device.
  • the receiving device may directly delete the idle bit block.
  • the detecting module 2001 included in the demultiplexer of the receiving device is configured to detect an idle bit block, and if the detecting module 2001 detects the free bit block, the detecting module The free bit block can be deleted directly by 2001.
  • Step 1902 Detect whether there is a service switching indication bit block in the bit block stream, and if yes, perform step 1903.
  • the demultiplexer shown in this embodiment is used to detect whether the bit block is a service switching indication bit block, and the specific description of the demultiplexer is shown in the foregoing embodiment, and details are not described herein. .
  • the service switching indication bit block is a 64B/66B bit block, and the specific description of the 64B/66B bit block is as described above, and details are not described herein.
  • Step 1903 Determine, after receiving the service switching indication bit block, the received bit block stream as a bit block stream of the VBR service service.
  • the service switching indication bit block shown in this embodiment is used to indicate a service switching, and the service switching indication bit block indicates that the service is switched to the VBR service by using the included target identifier.
  • Step 1904 Input a bit block stream of the VBR service to a corresponding buffer area.
  • the extraction module 2003 that is in communication with the detecting module 2001 can extract the target identifier included in the service switching indication bit block. .
  • the demultiplexing module 2002 communicatively coupled to the extraction module 2003 determines a corresponding cache area based on the target identification.
  • the received bit block stream is a bit block stream of the pMAC service, and the receiving device receives the service switching indication bit block.
  • the received bit block stream is exemplified as a bit block stream of the VBR service.
  • the demultiplexing module 2002 Before the receiving device receives the service switching indication bit block, the demultiplexing module 2002 stores the bit block stream of the pMAC service to a first tx_buf configured in advance for the pMAC service, the solution After determining the target identifier, the multiplexing module 2002 may determine that the target buffer corresponding to the target identifier is the second tx_buf, and may subsequently receive the bit block of the VBR service. A stream is input to the second tx_buf.
  • Step 1905 Input a bit block stream of the VBR service to the decoding module.
  • the output control module 2004 does not need to perform the frame interpolation process, and the receiving device may directly input the bit block stream of the VBR service to the decoding module for decoding.
  • decoding module For details of the decoding module, please refer to the above description, which is not specifically described in this embodiment.
  • the decoding module is configured to decode the bit block stream of the VBR service and output the service data of the VBR.
  • Step 1906 Output VBR service data.
  • the decoding module shown in this embodiment may output the VBR service data that has been decoded.
  • the receiving device may output the VBR service data output by the decoding module to a common public radio interface (CPRI) as an example.
  • CPRI common public radio interface
  • the service multiplexing method and the network to which the service demultiplexing method is applied in the present application is an optional example, which is not limited.
  • the service multiplexing method and the service demultiplexing method shown in this application are also Can be applied to flexible ethernet (FlexE).
  • the network device can implement service multiplexing for the service flexE client a1 to the service flexE client an.
  • the first-level service is multiplexed by the multiplexer, and the specific multiplexing process is shown in the foregoing embodiment, and details are not described herein.
  • the bit flow of the service flexE client a1 to the service flexE client an outputted by the service flexE client a1 to the service flexE client an through the multiplexer is input to the flexE calendar module calendar, and the flexE calendar is used based on the flexE standard
  • the method performs secondary multiplexing on the bit block stream of the service flexE client a1 to the service flexE client an.
  • the service flexE client b shown in this embodiment refers to a service based on flexE multiplexing.
  • the bit block stream of the service flexE client b is input to the flexE calendar by inserting or deleting an idle insert or delete module through an idle bit block.
  • the idle insert or delete module is used for rate adaptation of the bit block stream of the service flexE client b.
  • the flexE calendar is used to perform time slot mapping on the bit block stream of the service flexE client b according to the method of the flexE standard to perform service transmission.
  • the process of implementing demultiplexing by the network device may be:
  • the flexE calendar receives the bit block stream and performs demultiplexing to obtain a bit block stream of the service flexE client a1 to the service flexE client an and a bit block stream of the flexE client b.
  • the flexE calendar inputs the bit block stream of the service flexE client a1 to the service flexE client an to the demultiplexer for demultiplexing, thereby obtaining the bit block streams of the flexE client a1 to the service flexE client an, respectively, and inputting to the respectively
  • the specific demultiplexing process is shown in the foregoing embodiment, and is not described in detail in this embodiment.
  • the bite stream of the demultiplexed flexE client b is input to the idle insert or delete module, and the idle insert or delete module is used for rate adaptation of the bit block stream of the flexE client b.
  • the transmitting device shown in this embodiment is used to perform the service multiplexing method shown in this application.
  • the specific implementation process of the multiplexing method please refer to the foregoing embodiment, which is not described in detail in this embodiment.
  • a transmitter 2301 configured to send a bit block stream of the first service to the receiving device
  • a multiplexer 2302 configured to determine whether the first service is switched to the second service for service transmission
  • the transmitter 2301 is further configured to: if the multiplexer determines that the first service is switched to the second service to perform service transmission, sending, by the first service, the at least one service switching indication bit block to the receiving device, The at least one service switching indication bit block is configured to indicate that the first service is switched to the second service for service transmission;
  • the transmitter 2301 is further configured to send the bit block stream of the second service to the receiving device.
  • the transmitter 2301 and the multiplexer 2302 shown in this embodiment are provided in the transmission interface shown in the above embodiment. Specifically, the specific description of the multiplexer 2302 is shown in the above embodiment.
  • any one of the bit blocks included in the bit block stream of the first service, any bit block included in the bit block stream of the second service, and the at least one service switch Any of the service switching indication bit blocks in the indication bit block is an M1/M2 bit block, where M1 represents the number of payload bits in each bit block, M2 represents the total number of bits per bit block, and M1, M2 are positive Integer, and M2>M1.
  • bit blocks included in the bit block stream of the first service any bit block included in the bit block stream of the second service, and any one of the at least one service switching indication bit block
  • bit block please refer to the foregoing embodiment, which is not specifically described in this embodiment.
  • the transmitter 2301 is specifically configured to:
  • the second service data is encoded to generate a bit block stream of the second service.
  • the number of the service switching indication bit blocks is at least one.
  • the M1/M2 bit block is an 8B/10B bit block
  • the number of the service switching indication bit blocks is multiple
  • the multiple service switching indication bit blocks include at least one special bit block and At least one block of data bits.
  • the at least one service switching indication bit block further includes indication information, where the indication information is used to indicate a number of bit blocks included in the bit block stream of the second service that is sent to the receiving device.
  • the multiplexer 2302 is further configured to: determine a target identifier, where the target identifier is an identifier corresponding to the second service, generate the at least one service switching indication bit block, and the at least one service switching The indication bit block includes the target identifier, the target identifier is used to instruct the receiving device to store a bit block stream of the second service to a target buffer area, and the target buffer area is that the receiving device is the target Identifies the allocated cache area.
  • the multiplexer 2302 is further configured to delete the idle bit block if it is determined that the bit block stream of the first service and/or the bit block stream of the second service has a free bit block. .
  • the receiving device shown in this embodiment is used to perform the service demultiplexing method shown in this application.
  • the specific implementation process of the service demultiplexing method please refer to the foregoing embodiment, which is not described in detail in this embodiment.
  • the receiver 2401 is configured to determine whether the at least one service switching indication bit block sent by the sending device is received, where the at least one service switching indication bit block is used to indicate that the sending device switches from the first service to the second service for service transmission.
  • the bit block stream of the first service is a bit block stream received before receiving the at least one service switching indication bit block;
  • a demultiplexer 2402 configured to determine, if the at least one service switching indication bit block is received, determining that the received bit block stream is the second service after receiving the at least one service switching indication bit block Bit block stream.
  • the receiving device shown in this embodiment performs the benefit of the service demultiplexing process provided by the present application. For details, refer to the foregoing embodiment, which is not specifically described in this embodiment.
  • the receiver 2401 and the demultiplexer 2402 shown in this embodiment are disposed in the receiving interface shown in the foregoing embodiment. Specifically, the specific description of the demultiplexer 2402 is described in the foregoing embodiment. Shown.
  • any one of the bit blocks included in the bit block stream of the first service, any bit block included in the bit block stream of the second service, and any one of the at least one service switching indication bit block is an M1/M2 bit block, where M1 represents the number of payload bits in each bit block, M2 represents the total number of bits per bit block, M1, M2 are positive integers, and M2>M1 .
  • any bit block included in the bit block stream of the first service, any bit block included in the bit block stream of the second service, and the at least one service switching indication bit block in the first service shown in this embodiment For a detailed description of any of the service switching indication bit blocks, please refer to the foregoing embodiment, which is not described in detail in this embodiment.
  • the receiver 2401 is further configured to: receive a bit block stream of the first service sent by the sending device;
  • the demultiplexer 2402 is further configured to: decode the bit block stream of the first service to obtain first service data of the first service;
  • the receiver 2401 is further configured to receive a bit block stream of the second service that is sent by the sending device;
  • the demultiplexer 2402 is further configured to: decode the bit block stream of the second service to obtain first service data of the second service.
  • the number of the service switching indication bit blocks is at least one.
  • the M1/M2 bit block is an 8B/10B bit block
  • the number of the service switching indication bit blocks is multiple
  • the multiple service switching indication bit blocks include at least one special bit block and At least one block of data bits.
  • the demultiplexer 2402 is further configured to: obtain indication information included in the at least one service switching indication bit block, where the indication information is used to indicate that the bit block stream of the second service is included a number of bit blocks, the number of the bit blocks included in the bit block stream of the second service being determined according to the indication information.
  • the demultiplexer 2402 is further configured to: acquire the target identifier included in the at least one service switching indication bit block, where the target identifier is an identifier corresponding to the second service, where The bit block stream of the second service is stored in a target buffer area, where the target buffer area is a buffer area allocated by the receiving device for the target identifier.
  • the demultiplexer 2402 is further configured to: if the bit block stream of the first service and/or the bit block stream of the second service have a free bit block, the idle bit block is used. delete.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program code. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

本发明实施例公开了一种业务复用方法、业务解复用方法以及相关设备,所述方法包括:发送设备向接收设备发送第一业务的比特块流,若所述发送设备确定出由所述第一业务切换至第二业务进行业务发送,则所述发送设备将至少一个业务切换指示比特块发送给接收设备,所述发送设备将所述第二业务的比特块流发送给接收设备。可见,所述发送设备的业务切换不受当前正在传输的业务的影响,可根据需要实时在任一比特块上实现业务切换。且通过在需要进行业务切换的比特块流之间插入业务切换指示比特块进行业务切换,降低了业务切换过程中的延迟和抖动,保障了业务切换的低时延。

Description

一种业务复用方法、业务解复用方法以及相关设备
本申请要求于2017年8月8日提交中国专利局、申请号为201710671402.8、发明名称为“一种业务复用方法、业务解复用方法以及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及通信技术领域,尤其涉及一种业务复用方法、业务解复用方法以及相关设备。
背景技术
电气和电子工程师协会(institute of electrical and electronics engineers,IEEE)定义的基于802.3的以太网作为业务的接口,应用在各种场合并取得了巨大的成功应用,然而随着网络技术的发展,网络要支持的业务类型越来越多。
现有技术中,为使得网络能够支持多类型的业务,则提出了灵活以太网(flex ethernet,FlexE)的概念。通过FlexE可以实现多业务在同一个物理链路上复用,如图1所示,网络设备包括多个编码器101以及复用模块102,在FlexE中,多个业务经过与各业务对应的编码器101进行编码,所述编码器101将经过编码后的码块流发送给复用模块102,复用模块102可实现多业务的码块流的复用。复用模块102的复用方法是采用时分复用(time division multiplexing,TDM)技术,复用模块102以码块为粒度进行时隙划分,通过时隙间插实现复用,复用模块102输出的业务数据流的具体结构可参见图2所示为例,以20个时隙作为循环周期,每1023个循环插入一个FlexE开销码块用于时隙定位,在业务传输的具体过程中,每个时隙可以作为一个独立的通道用来传输业务,20个时隙即20个通道就可以用来传输20个业务。
基于flexE的复用,各时隙所承载的业务是预先配置的,所述复用模块102输出的业务数据流无法实时进行业务切换。
发明内容
本申请提供了一种业务复用方法、业务解复用方法以及相关设备,其能够实时进行业务切换,且能够有效的保障业务切换的低时延。
本发明实施例第一方面提供了一种业务复用方法,包括:
步骤A、发送设备将第一业务的比特块流和第二业务的比特块流输入至对应的缓存区。
所述发送设备的各接收接口用于接收第一业务的比特块流和第二业务的比特块流,所述发送设备可确定出与第一业务的比特块流对应的第一缓存区以及与第二业务的比特块流对应的第二缓存区;
所述发送设备即可将所述第一业务的比特块流输入至对应的第一缓存区,并将所述第二业务的比特块流输入至对应的第二缓存区。
本方面所示的第一业务的比特块流和所述第二业务的比特块流可为所述发送设备接收到的多路业务的比特块流中的任意两个需要依次发送给所述接收设备的比特块流。
步骤B、所述发送设备向接收设备发送第一业务的比特块流。
所述发送设备可判断所述第一业务的比特块流以及所述第二业务的比特块流发送至所述接收设备的优先级。
本方面所示以第一业务的比特块流先于所述第二业务的比特块流发送至所述接收设备为例进行示例性说明:
如,所述发送设备确定出所述第一业务的比特块流等待发送的时间长于第二业务的比特块流等待发送的时间,则确定出第一业务的比特块流先于所述第二业务的比特块流发送至所述接收设备。
在所述发送设备确定出第一业务的比特块流先于所述第二业务的比特块流发送至所述接收设备的情况下,则所述发送设备即可向接收设备发送第一业务的比特块流。
步骤C、所述发送设备确定是否由所述第一业务切换至第二业务进行业务发送,若是,则执行步骤D。
本方面中,所述发送设备可确定出在所述第一业务的比特块流发送完成后,切换至所述第二业务的比特块流进行发送。
又如,所述发送设备可确定出发送了所述第一业务的比特块流中的所述发送设备预先确定的预设数据流量后,切换至所述第二业务的比特块流进行业务发送,即所述发送设备可在所述第一业务的比特块流没有发送完整时,所述发送设备已发送了所述第一业务的比特块流中的预设数据流量后,切换至所述第二业务的比特块流进行业务发送。
步骤D、所述发送设备将至少一个业务切换指示比特块发送给接收设备。
若所述发送设备确定出由所述第一业务切换至所述第二业务进行业务发送,则发送设备可在所述第一业务的比特块流和所述第一业务的比特块流之间插入所述至少一个业务切换指示比特块,并将至少一个业务切换指示比特块发送给接收设备。
所述至少一个业务切换指示比特块用于指示由所述第一业务切换至所述第二业务进行业务发送。
步骤E、所述发送设备将所述第二业务的比特块流发送给接收设备。
所述发送设备完成所述至少一个业务切换指示比特块的发送后,所述发送设备即可发送所述第二业务的比特块流。
可见,所述发送设备按发送时间由前到后的顺序,依次发送所述第一业务的比特块流、所述至少一个业务切换指示比特块以及所述第二业务的比特块流。
本方面所提供的业务复用方法的有益效果在于,所述发送设备的业务切换可根据需要实时在任一比特块上实现业务切换。且通过在需要进行业务切换的比特块流之间插入业务切换指示比特块进行业务切换,降低了业务切换过程中的延迟和抖动,保障了业务切换的低时延。
本实施例所示的发送设备可将优先级高的业务切换至优先级低的业务之前发送,从而实现了高优先级业务的抢占发送,保障了高优先级业务极低的延时抖动。
本实施例所示通过缓存区实现业务的复用,从而有效的避免了通过独占带宽的方式进行复用所带来的带宽浪费和传输延时的问题。
本实施例所示的第一方面的一种可选的实现方式中,所述第一业务的比特块流所包括 的任一比特块、所述第二业务的比特块流所包括的任一比特块以及所述至少一个业务切换指示比特块中的任一业务切换指示比特块为M1/M2比特块,其中,M1表示每个比特块中的净荷比特数,M2表示每个比特块的总比特数,M1、M2为正整数,且M2>M1。
本实施例所示的第一方面的一种可选的实现方式中,执行步骤B之前,还执行如下步骤:
步骤B01、所述发送设备获取所述第一业务的第一业务数据。
本方面所示的所述第一业务可为非以太网业务。
步骤B02、所述发送设备对所述第一业务数据进行编码以生成所述第一业务的比特块流。
在执行步骤E之前,还执行如下步骤:
步骤E01、所述发送设备获取所述第二业务的第二业务数据。
步骤E02、所述发送设备对所述第二业务数据进行编码以生成所述第二业务的比特块流。
通过本方面所示,所述发送设备对不同类型的网络的数据进行复用,从而使得所述发送设备能够对不同类型的业务进行复用,使得本实施例所示的业务复用方法能够应用至不同的网络环境中。
本实施例所示的第一方面的一种可选的实现方式中,若所述M1/M2比特块可为64B/66B比特块,则M2–M1,即66-64表示每个比特块中的首部同步头比特数。
本方面所示可通过一个或多个所述业务切换指示比特块用于指示由第一业务的比特块流切换至所述第二业务的比特块流。
其中,所述业务切换指示比特块以包括参数O0、D1、D2、D3、C4、C5、C6以及C7,参数D1、D2以及D3为8比特bit数据,参数C4、C5、C6以及C7为7比特bit数据,参数O0为4比特控制码。
本实施例所示的第一方面的一种可选的实现方式中,若所述M1/M2比特块为8B/10B比特块,则所述业务切换指示比特块的数目为多个,且多个所述业务切换指示比特块包括至少一个特殊比特块以及至少一个数据比特块。
可见,对于8B/10B编码,需要通过特殊比特块和所述数据比特块一起用于指示业务切换。
可见,本方面所示的编码方式,在用于指示业务切换的过程中,在作为业务切换指示比特块上即可实现在至少一个业务切换指示比特块上实现实时的业务切换,从而降低了业务切换过程中的延迟和抖动,保障了业务切换的低时延。
本实施例所示的第一方面的一种可选的实现方式中,所述至少一个业务切换指示比特块还包括指示信息,所述指示信息用于指示发送给所述接收设备的所述第二业务的比特块流所包括的比特块数目。
具体的,若所述业务切换指示比特块为64B/66B比特块,则可通过所述业务切换指示比特块流所包括的参数D1、D2、D3、C4、C5、C6以及C7中的任意参数传输所述指示信息,也可通过多个业务切换指示比特块一起传输所述指示信息。
通过本方面所示,所述发送设备在业务复用的过程中,可在至少一个业务切换指示比特块上实现实时通知第二业务的比特块流所包括的比特块数目,从而在保障低时延的情况下,能够将第二业务的比特块流所包括的比特块数目通知给接收设备。
本实施例所示的第一方面的一种可选的实现方式中,在执行步骤D之前,还执行步骤:
步骤D01、所述发送设备确定目标标识。
其中,所述目标标识为与所述第二业务对应的标识。
所述发送设备获取所述目标标识的具体过程可为:
所述发送设备可预先接收与多路业务中的任一业务对应的标识,则所述发送设备即可确定出与所述第二业务对应的所述目标标识。
所述发送设备在接收到多路业务后,可对多路业务中的任一业务配置有对应的标识,则所述发送设备即可在已配置的标识中确定出与所述第二业务对应的所述目标标识。
步骤D02、所述发送设备生成所述至少一个业务切换指示比特块。
其中,所述至少一个业务切换指示比特块包括所述目标标识,所述目标标识用于指示所述接收设备将所述第二业务的比特块流存储至目标缓存区,所述目标缓存区为所述接收设备为所述目标标识所分配的缓存区。
本方面所示,在所述发送设备将包括有所述目标标识的所述至少一个业务切换指示比特块发送给所述接收设备的情况下,所述接收设备即可根据所述至少一个业务切换指示比特块确定出业务出现了切换,且可根据所述目标标识确定出业务切换至所述第二业务的比特块流,从而提升了接收设备对业务进行处理的效率。
本实施例所示的第一方面的一种可选的实现方式中,所述方法还包括:
若所述发送设备判断出第一业务的比特块流和/或所述第二业务的比特块流中有空闲比特块,则所述发送设备将所述空闲比特块删除。
所述发送设备的接收接口在将多路业务的比特块流输入至对应的缓存区tx_buf之前,所述发送设备可判断多路业务的比特块流中是否有空闲比特块,本实施例所示的所述空闲比特块为以太网标准中用来进行速率匹配的专用控制比特块,在当前无有效数据传输时即可发送空闲比特块。可见,在所述发送设备将所述空闲比特块进行删除的情况下,可提高所述发送设备发送业务的带宽的利用率。
本发明实施例第二方面提供了一种业务解复用方法,包括:
步骤F、接收设备接收发送设备发送的比特块流。
步骤G、所述接收设备在所述比特块流中确定是否接收到发送设备发送的至少一个业务切换指示比特块,若是,则执行步骤H。
所述至少一个业务切换指示比特块用于指示所述发送设备由第一业务切换至第二业务进行业务发送,所述第一业务的比特块流为所述接收设备在接收到所述至少一个业务切换指示比特块之前所接收到的比特块流。
步骤H、所述接收设备确定在接收到所述至少一个业务切换指示比特块之后所接收的比特块流为所述第二业务的比特块流。
若所述接收设备确定接收到所述至少一个业务切换指示比特块,则所述接收设备即可 确定出在接收到所述至少一个业务切换指示比特块之后所接收的比特块流为所述第二业务的比特块流。
可见,本方面所示的接收设备根据所述至少一个业务切换指示比特块即可确定出业务出现了切换,则所述接收设备即可确定出所述接收设备按接收时间由前到后的顺序,依次发送所述第一业务的比特块流、所述至少一个业务切换指示比特块以及所述第二业务的比特块流。
本方面所提供的业务复用方法的有益效果在于,所述接收设备可在任一比特块上确定出业务切换,降低了业务切换过程中的延迟和抖动,保障了业务切换的低时延。本实施例所示通过缓存区实现业务的解复用,从而有效的避免了通过独占带宽的方式进行解复用所带来的带宽浪费和传输延时的问题。
本实施例所示的第二方面的一种可选的实现方式中,所述第一业务的比特块流所包括的任一比特块、所述第二业务的比特块流所包括的任一比特块以及所述至少一个业务切换指示比特块中的任一业务切换指示比特块为M1/M2比特块,其中,M1表示每个比特块中的净荷比特数,M2表示每个比特块的总比特数,M1、M2为正整数,且M2>M1。
本实施例所示的第二方面的一种可选的实现方式中,执行步骤H之前,还执行如下步骤:
步骤H01、所述接收设备接收所述发送设备发送的所述第一业务的比特块流;
步骤H02、所述接收设备对所述第一业务的比特块流进行解码以获取所述第一业务的第一业务数据。
执行步骤H之后,还执行如下步骤:
步骤H11、所述接收设备接收所述发送设备发送的所述第二业务的比特块流;
步骤H12、所述接收设备对所述第二业务的比特块流进行解码以获取所述第二业务的第一业务数据。
通过本方面所示,所述接收设备能够对不同类型的业务进行解复用,使得本实施例所示的业务解复用方法能够应用至不同的网络环境中。
本实施例所示的第二方面的一种可选的实现方式中,若所述M1/M2比特块可为64B/66B比特块,则M2–M1,即66-64表示每个比特块中的首部同步头比特数。
本方面所示可通过一个或多个所述业务切换指示比特块用于指示由第一业务的比特块流切换至所述第二业务的比特块流。
其中,所述业务切换指示比特块以包括参数O0、D1、D2、D3、C4、C5、C6以及C7,参数D1、D2以及D3为8比特bit数据,参数C4、C5、C6以及C7为7比特bit数据,参数O0为4比特控制码。
本实施例所示的第二方面的一种可选的实现方式中,若所述M1/M2比特块为8B/10B比特块,则所述业务切换指示比特块的数目为多个,且多个所述业务切换指示比特块包括至少一个特殊比特块以及至少一个数据比特块。
可见,对于8B/10B编码,需要通过特殊比特块和所述数据比特块一起用于指示业务切换。
本实施例所示的第二方面的一种可选的实现方式中,所述步骤H之后,还需执行如下步骤:
步骤H21、所述接收设备获取所述至少一个业务切换指示比特块所包括的指示信息。
其中,所述指示信息用于指示所述第二业务的比特块流所包括的比特块数目;
具体的,若所述业务切换指示比特块为64B/66B比特块,则可通过所述业务切换指示比特块流所包括的参数D1、D2、D3、C4、C5、C6以及C7中的任意参数传输所述指示信息,也可通过多个业务切换指示比特块一起传输所述指示信息。
步骤H22、所述接收设备根据所述指示信息确定所述第二业务的比特块流所包括的比特块数目。
通过本方面所示,所述接收在业务解复用的过程中,可在至少一个业务切换指示比特块上确定出第二业务的比特块流所包括的比特块数目,从而保障业务解复用过程中的低时延。
本实施例所示的第二方面的一种可选的实现方式中,所述步骤H之后,还需执行如下步骤:
步骤H31、所述接收设备获取所述至少一个业务切换指示比特块所包括的目标标识。
其中,所述目标标识为与所述第二业务对应的标识;
步骤H32、所述接收设备将所述第二业务的比特块流存储至目标缓存区。
所述目标缓存区为所述接收设备为所述目标标识所分配的缓存区。
本方面所示,在所述接收设备接收到包括有所述目标标识的所述至少一个业务切换指示比特块的情况下,所述接收设备即可根据所述至少一个业务切换指示比特块确定出业务出现了切换,且可根据所述目标标识确定出业务切换至所述第二业务的比特块流,从而提升了接收设备对业务进行处理的效率。
本实施例所示的第二方面的一种可选的实现方式中,所述方法还包括:
若所述接收设备判断出第一业务的比特块流和/或所述第二业务的比特块流中有空闲比特块,则所述接收设备将所述空闲比特块删除。
所述接收设备在将多路业务的比特块流缓存至至对应的缓存区tx_buf之前,所述接收设备可判断多路业务的比特块流中是否有空闲比特块,本实施例所示的所述空闲比特块为以太网标准中用来进行速率匹配的专用控制比特块,在当前无有效数据传输时即可发送空闲比特块。可见,在所述接收设备将所述空闲比特块进行删除的情况下,可提高所述接收设备对业务进行处理的效率。
本发明实施例所示的第三方面提供了一种发送设备,包括发送器以及与所述发送器连接的复用器:
所述发送器用于向接收设备发送第一业务的比特块流;
所述复用器用于确定是否由所述第一业务切换至第二业务进行业务发送;
所述发送器还用于,若所述复用器确定出由所述第一业务切换至所述第二业务进行业务发送,则将至少一个业务切换指示比特块发送给接收设备,所述至少一个业务切换指示比特块用于指示由所述第一业务切换至所述第二业务进行业务发送,所述发送器还用于将 所述第二业务的比特块流发送给接收设备。
本方面所示的发送设备用于执行本申请第一方面所示的业务复用方法,具体执行业务复用方法的具体流程请详见本申请第一方面所示,具体不做赘述。
本方面所提供的发送设备的有益效果在于,所述发送设备的业务切换可根据需要实时在任一比特块上实现业务切换。且通过在需要进行业务切换的比特块流之间插入业务切换指示比特块进行业务切换,降低了业务切换过程中的延迟和抖动,保障了业务切换的低时延。
本实施例所示的发送设备可将优先级高的业务切换至优先级低的业务之前发送,从而实现了高优先级业务的抢占发送,保障了高优先级业务极低的延时抖动。本实施例所示通过缓存区实现业务的复用,从而有效的避免了通过独占带宽的方式进行复用所带来的带宽浪费和传输延时的问题。
本实施例所示的第三方面的一种可选的实现方式中,所述第一业务的比特块流所包括的任一比特块、所述第二业务的比特块流所包括的任一比特块以及所述至少一个业务切换指示比特块中的任一业务切换指示比特块为M1/M2比特块,其中,M1表示每个比特块中的净荷比特数,M2表示每个比特块的总比特数,M1、M2为正整数,且M2>M1。
本实施例所示的第三方面的一种可选的实现方式中,所述发送器还用于获取所述第一业务的第一业务数据,对所述第一业务数据进行编码以生成所述第一业务的比特块流,获取所述第二业务的第二业务数据,对所述第二业务数据进行编码以生成所述第二业务的比特块流。
通过本方面所示,所述发送设备对不同类型的网络的数据进行复用,从而使得所述发送设备能够对不同类型的业务进行复用,使得本实施例所示的发送设备能够应用至不同的网络环境中。
本实施例所示的第三方面的一种可选的实现方式中,若所述M1/M2比特块为64B/66B比特块,则M2–M1,即66-64表示每个比特块中的首部同步头比特数。
本方面所示可通过一个或多个所述业务切换指示比特块用于指示由第一业务的比特块流切换至所述第二业务的比特块流。
其中,所述业务切换指示比特块以包括参数O0、D1、D2、D3、C4、C5、C6以及C7,参数D1、D2以及D3为8比特bit数据,参数C4、C5、C6以及C7为7比特bit数据,参数O0为4比特控制码。
本实施例所示的第三方面的一种可选的实现方式中,若所述M1/M2比特块为8B/10B比特块,则所述业务切换指示比特块的数目为多个,且多个所述业务切换指示比特块包括至少一个特殊比特块以及至少一个数据比特块。
可见,对于8B/10B编码,需要通过特殊比特块和所述数据比特块一起用于指示业务切换。
可见,本方面所示的接收设备,在用于指示业务切换的过程中,在作为业务切换指示比特块上即可实现在至少一个业务切换指示比特块上实现实时的业务切换,从而降低了业务切换过程中的延迟和抖动,保障了业务切换的低时延。
本实施例所示的第三方面的一种可选的实现方式中,所述至少一个业务切换指示比特块还包括指示信息,所述指示信息用于指示发送给所述接收设备的所述第二业务的比特块流所包括的比特块数目。
具体的,若所述业务切换指示比特块为64B/66B比特块,则可通过所述业务切换指示比特块流所包括的参数D1、D2、D3、C4、C5、C6以及C7中的任意参数传输所述指示信息,也可通过多个业务切换指示比特块一起传输所述指示信息。
通过本方面所示,所述发送设备在业务复用的过程中,可在至少一个业务切换指示比特块上实现实时通知第二业务的比特块流所包括的比特块数目,从而在保障低时延的情况下,能够将第二业务的比特块流所包括的比特块数目通知给接收设备。
本实施例所示的第三方面的一种可选的实现方式中,所述复用器还用于,确定目标标识,所述目标标识为与所述第二业务对应的标识,生成所述至少一个业务切换指示比特块,所述至少一个业务切换指示比特块包括所述目标标识,所述目标标识用于指示所述接收设备将所述第二业务的比特块流存储至目标缓存区,所述目标缓存区为所述接收设备为所述目标标识所分配的缓存区。
本方面所示,在所述发送设备将包括有所述目标标识的所述至少一个业务切换指示比特块发送给所述接收设备的情况下,所述接收设备即可根据所述至少一个业务切换指示比特块确定出业务出现了切换,且可根据所述目标标识确定出业务切换至所述第二业务的比特块流,从而提升了接收设备对业务进行处理的效率。
本实施例所示的第三方面的一种可选的实现方式中,所述复用器还用于,若判断出第一业务的比特块流和/或所述第二业务的比特块流中有空闲比特块,则将所述空闲比特块删除。
所述发送设备在将多路业务的比特块流输入至对应的缓存区tx_buf之前,所述发送设备可判断多路业务的比特块流中是否有空闲比特块,本实施例所示的所述空闲比特块为以太网标准中用来进行速率匹配的专用控制比特块,在当前无有效数据传输时即可发送空闲比特块。可见,在所述发送设备将所述空闲比特块进行删除的情况下,可提高所述发送设备发送业务的带宽的利用率。
本发明实施例第四方面提供了一种接收设备,包括:
接收器,用于确定是否接收到发送设备发送的至少一个业务切换指示比特块,所述至少一个业务切换指示比特块用于指示所述发送设备由第一业务切换至第二业务进行业务发送,所述第一业务的比特块流为在接收到所述至少一个业务切换指示比特块之前所接收到的比特块流;
解复用器,用于若确定接收到所述至少一个业务切换指示比特块,则确定在接收到所述至少一个业务切换指示比特块之后所接收的比特块流为所述第二业务的比特块流。
其中,所述接收器和所述解复用器连接;
本方面所示用于执行本申请第二方面所示的业务解复用方法,具体执行业务解复用方法的具体流程请详见本申请第二方面所示,具体不做赘述。
本实施例所示的第四方面的一种可选的实现方式中,所述第一业务的比特块流所包括 的任一比特块、所述第二业务的比特块流所包括的任一比特块以及所述至少一个业务切换指示比特块中的任一业务切换指示比特块为M1/M2比特块,其中,M1表示每个比特块中的净荷比特数,M2表示每个比特块的总比特数,M1、M2为正整数,且M2>M1。
本实施例所示的第四方面的一种可选的实现方式中,所述接收器还用于,接收所述发送设备发送的所述第一业务的比特块流;所述解复用器还用于,对所述第一业务的比特块流进行解码以获取所述第一业务的第一业务数据;所述接收器还用于,接收所述发送设备发送的所述第二业务的比特块流;所述解复用器还用于,对所述第二业务的比特块流进行解码以获取所述第二业务的第一业务数据。
通过本方面所示,所述接收设备能够对不同类型的业务进行解复用,使得本实施例所示的业务解复用方法能够应用至不同的网络环境中。
本实施例所示的第四方面的一种可选的实现方式中,若所述M1/M2比特块为64B/66B比特块,则M2–M1,即66-64表示每个比特块中的首部同步头比特数。
本方面所示可通过一个或多个所述业务切换指示比特块用于指示由第一业务的比特块流切换至所述第二业务的比特块流。
其中,所述业务切换指示比特块以包括参数O0、D1、D2、D3、C4、C5、C6以及C7,参数D1、D2以及D3为8比特bit数据,参数C4、C5、C6以及C7为7比特bit数据,参数O0为4比特控制码。
本实施例所示的第四方面的一种可选的实现方式中,若所述M1/M2比特块为8B/10B比特块,则所述业务切换指示比特块的数目为多个,且多个所述业务切换指示比特块包括至少一个特殊比特块以及至少一个数据比特块。
可见,对于8B/10B编码,需要通过特殊比特块和所述数据比特块一起用于指示业务切换。
本实施例所示的第四方面的一种可选的实现方式中,所述解复用器还用于,获取所述至少一个业务切换指示比特块所包括的指示信息,所述指示信息用于指示所述第二业务的比特块流所包括的比特块数目,根据所述指示信息确定所述第二业务的比特块流所包括的比特块数目。
通过本方面所示,所述接收在业务解复用的过程中,可在至少一个业务切换指示比特块上确定出第二业务的比特块流所包括的比特块数目,从而保障业务解复用过程中的低时延。
本实施例所示的第四方面的一种可选的实现方式中,所述解复用器还用于,获取所述至少一个业务切换指示比特块所包括的目标标识,其中,所述目标标识为与所述第二业务对应的标识,将所述第二业务的比特块流存储至目标缓存区,所述目标缓存区为所述接收设备为所述目标标识所分配的缓存区。
本方面所示,在所述接收设备接收到包括有所述目标标识的所述至少一个业务切换指示比特块的情况下,所述接收设备即可根据所述至少一个业务切换指示比特块确定出业务出现了切换,且可根据所述目标标识确定出业务切换至所述第二业务的比特块流,从而提升了接收设备对业务进行处理的效率。
本实施例所示的第四方面的一种可选的实现方式中,所述解复用器还用于,若判断出第一业务的比特块流和/或所述第二业务的比特块流中有空闲比特块,则将所述空闲比特块删除。
所述接收设备在将多路业务的比特块流缓存至至对应的缓存区tx_buf之前,所述接收设备可判断多路业务的比特块流中是否有空闲比特块,本实施例所示的所述空闲比特块为以太网标准中用来进行速率匹配的专用控制比特块,在当前无有效数据传输时即可发送空闲比特块。可见,在所述接收设备将所述空闲比特块进行删除的情况下,可提高所述接收设备对业务进行处理的效率。
本申请所提供的业务复用方法、业务解复用方法以及相关设备的有益效果在于:在发送设备确定出由第一业务切换至第二业务进行业务发送的情况下,所述发送设备可在所述第一业务的比特块流和所述第二业务的比特块流之间插入至少一个业务切换指示比特块,从而使得所述发送设备能够将第一业务的比特块流、至少一个业务切换指示比特块以及第二业务的比特块流依次发送给接收设备,可见,所述发送设备可在至少一个业务切换指示比特块上实现实时的业务切换,从而降低了业务切换过程中的延迟和抖动,保障了业务切换的低时延。
附图说明
图1为现有技术所提供的网络设备的结构示意图;
图2为现有技术所提供的网络设备输出的业务数据流的结构示意图;
图3为本申请所提供的通信网络的一种实施例结构示意图;
图4为本申请所提供的网络设备的一种实施例硬件结构示意图;
图5为本申请所提供的网络设备的另一种实施例硬件结构示意图;
图6为本申请所提供的业务复用方法的一种实施例步骤流程图;
图7为本申请所提供的网络设备的网络通信的基本框架一种实施例结构示意图;
图8为本申请所提供的复用器对多个业务的比特块流进行复用的过程示意图;
图9为本申请所提供的业务解复用方法的一种实施例步骤流程图;
图10为本申请所提供的解复用器对比特块流进行解复用的一种实施例过程示意图;
图11为本申请所提供的网络设备对业务进行复用或解复用的过程示意图;
图12为本申请所提供的业务复用方法的另一种实施例步骤流程图;
图13为本申请所提供的复用器的一种实施例结构示意图;
图14为本申请所提供的业务解复用方法的另一种实施例步骤流程图;
图15为本申请所提供的解复用器的一种实施例结构示意图;
图16为本申请所提供的网络设备对业务进行复用或解复用的另一种实施例过程示意图;
图17为本申请所提供的业务解复用方法的另一种实施例步骤流程图;
图18为本申请所提供的复用器的一种实施例结构示意图;
图19为本申请所提供的业务解复用方法的另一种实施例步骤流程图;
图20为本申请所提供的解复用器的一种实施例结构示意图;
图21为本申请所提供的网络设备对业务进行复用或解复用的另一种实施例过程示意图;
图22为本申请所提供的业务切换指示比特块流的一种实施例码字结构示意图;
图23为本申请所提供的发送设备的一种实施例结构示意图;
图24为本申请所提供的接收设备的一种实施例结构示意图。
具体实施方式
本申请提供了一种通信网络,所述通信网络可实现本申请所示的业务复用以及业务解复用的方法,以下结合图3所示对本申请所提供的通信网络的结构进行示例性说明:
所述通信网络包括互连的至少两个网络设备300,本实施例对所述通信网络所包括的所述网络设备300的具体数目不做限定,且本实施例对与任一网络设备300所连接的网络设备300的具体数目不做限定。
本实施例所示的所述网络设备可为网卡、交换机、路由器等设备。
所述网络设备可应用至以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等网络环境中。
以下结合图4所示的实施例对所述网络设备的硬件结构进行说明:
本实施例以所述网络设备作为发送设备为例进行示例性说明,其中,作为发送设备的网络设备用于对接收到的业务数据进行复用,并将复用后的比特块流发送给接收设备。
本实施例以所述网络设备400用于接收第一网络设备401、第二网络设备402、第三网络设备403以及第N网络设备404发送的业务数据为例进行示例性说明。
本实施例对所述网络设备400所能够接收到的业务数据的数目不做限定。
具体的,所述网络设备400所包括的各接收接口用于接收不同的网络设备所发送的业务数据。
以图4所示为例,所述接收接口406用于接收第一网络设备401所发送的业务数据,所述接收接口407用于接收第二网络设备402所发送的业务数据,所述接收接口408用于接收第三网络设备403所发送的业务数据,所述接收接口409用于接收第N网络设备404所发送的业务数据。
本实施例对所述网络设备400所包括的接收接口的数目不做限定。
所述网络设备的发送接口405用于接收各接收接口发送的业务数据,并通过本申请所示的业务复用方法进行业务复用以形成比特块流。
本实施例对所述网络设备所包括的所述发送接口405的具体数目不做限定。
图4所示的实施例说明了在通信网络中,若所述网络设备作为发送设备时的硬件结构,以下结合图5所示的实施例说明若所述网络设备作为接收设备时的硬件结构:
本实施例中,作为接收设备的网络设备用于接收经过复用的比特块流,所述网络设备还用于对已复用的比特块流进行解复用。
本实施例所示的所述网络设备500的接收端口501用于接收经过复用的比特块流。
本实施例对所述网络设备所包括的接收接口501的具体数目不做限定。
所述接收端口501用于通过本申请所示的业务解复用方法进行比特块流的解复用以形成分别与各业务对应的比特块流,所述接收接口501将各业务对应的比特块流发送至对应的发送接口,如所述接收接口501将第一业务的比特块流发送至发送接口502,所述接收接口501将第二业务的比特块流发送至发送接口503,所述接收接口501将第三业务的比特块流发送至发送接口504,所述接收接口501将第N业务的比特块流发送至发送接口505。
本实施例对所述网络设备500所包括的发送接口的数目不做限定。
基于上述实施例所示,以下结合图6所示对网络设备作为发送设备时,对接收到的业务数据如何进行业务复用的具体流程进行详细说明。
本实施例以应用至以太网中为例进行示例性说明:
步骤601、将多路业务的比特块流输入至对应的缓存区tx_buf。
具体的,本实施例所示的所述发送设备的各接收接口用于接收多路业务的比特块流,且所述接收接口可确定分别与各业务的比特块流对应的缓存区tx_buf,进而可将多路业务的比特块流输入至对应的缓存区tx_buf中。
可选的,所述发送设备的接收接口在将多路业务的比特块流输入至对应的缓存区tx_buf之前,所述发送设备可判断多路业务的比特块流中是否有空闲比特块,本实施例所示的所述空闲比特块为以太网标准中用来进行速率匹配的专用控制比特块,在当前无有效数据传输时即可发送空闲比特块。
若发送设备的接收接口判断出多路业务的比特块流中有空闲比特块,则所述发送设备的接收接口可直接丢弃所述空闲比特块。
步骤602、对所述缓存区tx_buf进行仲裁以生成仲裁结果信息。
本实施例中,位于所述发送设备的发送接口内的复用器可用于对所述缓存区tx_buf进行仲裁以生成用于业务复用的仲裁结果信息。
以下对本实施例所示的复用器的设置方式进行说明:
如图7所示,本实施例所示的发送设备的网络通信的基本框架为开放式系统互联(open system interconnection,OSI),OSI模型把发送设备的网络通信的工作分为7层,分别是物理层、数据链路层、网络层、传输层、会话层、表示层和应用层。
具体的,所述物理层包括物理编码子层(physical coding sublayer,PCS)、前向纠错(forward error correction,FEC)、物理介质附着(physical medium attachment,PMA)以及物理介质依赖(physical medium dependent,PMD)。
更具体的,如71所示,所述发送设备的所述物理编码子层PCS包括多个用于对业务数据进行编码的编码模块712,所述编码模块712设置在接收接口中,且所述编码模块712可对接收到的业务数据进行编码以生成比特块流,并将比特块流输入至复用器713。
本实施例所示的所述编码模块712可将业务数据进行编码所生成的比特块流中的任一比特块为M1/M2比特块,其中,M1表示每个比特块中的净荷比特数,M2表示每个比特块的总比特数,M1、M2为正整数,且M2>M1。
本实施例中,所述物理编码子层PCS包括用于对编码后的多路业务的比特块流进行复 用的复用器713,且所述复用器713设置在所述发送接口中。
所述物理编码子层PCS还包括设置在所述发送接口中的加扰模块714以及处理模块715,其中,所述加扰模块714用于对复用后的比特块流进行加扰处理;
所述处理模块715用于对复用后的比特块流进行相应处理,例如把复用后的比特块流分发到多个物理链路上,同时周期性的插入对齐标识等,需明确的是,本实施例对所述处理模块715所执行的处理的说明为可选的示例,不做限定。
以下对所述复用器如何对所述缓存区tx_buf进行仲裁以生成用于业务复用的仲裁结果信息的具体过程进行说明:
所述复用器判断分别缓存有各路业务的比特块流的缓存区tx_buf是否满足目标条件,只有在所述缓存区tx_buf满足所述目标条件的情况下,所述复用器会对缓存区tx_buf进行仲裁以生成仲裁结果信息。
本实施例所示的所述目标条件为所述缓存区tx_buf有待发送的数据,且所述目标条件还为所述缓存区tx_buf所缓存的业务的比特块流的流量控制允许发送数据。
所述复用器在满足所述目标条件的多个所述缓存区tx_buf中,确定所述仲裁结果信息,本实施例所示的所述仲裁结果信息可用于指示满足所述目标条件的多个所述缓存区tx_buf分别缓存的比特块流中,发送给所述接收设备的优先级,以使所述发送设备按所述仲裁结果信息所指示的优先级,按优先级由前至后的顺序向所述接收设备发送业务的比特块流。
可选的,本实施例所示的所述仲裁结果信息所指示的满足所述目标条件的多个所述缓存区tx_buf分别缓存的比特块流中,按所述缓存区tx_buf所缓存的比特块流等待发送的时间由长至短的顺序进行排序。
可选的,本实施例所示的所述仲裁结果信息所指示的满足所述目标条件的多个所述缓存区tx_buf分别缓存的比特块流中,按所述缓存区tx_buf所缓存的比特块流已发送的数据流量由少至多的顺序进行排序。
需明确的是,上述对所述仲裁结果信息所指示的满足所述目标条件的多个所述缓存区tx_buf分别缓存的比特块流中,发送给所述接收设备的优先级的说明为可选的示例,不做限定。
步骤603、向接收设备发送第一业务的比特块流。
本实施例中,所述接收设备根据所述仲裁结果信息所指示的满足所述目标条件的多个所述缓存区tx_buf分别缓存的比特块流中,确定出当前需要发送给所述接收设备的第一业务的比特块流。
步骤604、确定是否由所述第一业务切换至第二业务进行业务发送,若是,则执行步骤605。
本实施例中,所述复用器可基于所述仲裁结果信息确定是否由所述第一业务切换至第二业务进行业务发送。
可选的,所述仲裁结果信息所指示的优先级排序可为:所述发送设备发送完所述第一业务的比特块流后,发送所述第二业务的比特块流。
可选的,所述仲裁结果信息所指示的优先级排序还可为:所述发送设备发送了所述第一业务的比特块流中的预设数据流量后,发送所述第二业务的比特块流,其中,所述预设数据流量为所述仲裁结果信息所指示的数据流量,即本实施例所示所述发送设备可在所述第一业务的比特块流没有发送完整时,所述发送设备已发送了所述第一业务的比特块流中的预设数据流量后,切换至所述第二业务的比特块流进行业务发送。
步骤605、将至少一个业务切换指示比特块插入在所述第一业务的比特块流和所述第二比特块流之间。
如图8所示为例,所述复用器根据所述仲裁结果信息所指示的优先级排序可确定出所述第一业务的比特块流以及第二业务的比特块流按序发送至所述接收设备,则所述复用器在所述第一业务的比特块流和所述第一业务的比特块流之间插入至少一个业务切换指示比特块801。
所述至少一个业务切换指示比特块用于指示由所述第一业务切换至所述第二业务进行业务发送。
其中,本实施例所示的所述至少一个业务切换指示比特块还包括目标标识,所述目标标识为与所述第二业务的比特块流对应的标识。
本实施例所示的所述发送设备获取所述目标标识的具体过程在本实施例中不做限定,只要所述发送设备能够确定出与所述第二业务的比特块流对应的目标标识即可。
例如,所述发送设备可预先接收与多路业务中的任一业务对应的标识,则所述发送设备即可确定出与所述第二业务对应的所述目标标识。
又如,所述发送设备在接收到多路业务后,可对多路业务中的任一业务配置有对应的标识,则所述发送设备即可在已配置的标识中确定出与所述第二业务对应的所述目标标识。
可见,在所述发送设备将包括有所述目标标识的所述至少一个业务切换指示比特块发送给所述接收设备的情况下,所述接收设备即可根据所述至少一个业务切换指示比特块确定出业务出现了切换,且可根据所述目标标识确定出业务切换至所述第二业务的比特块流。
本实施例对所述业务切换指示比特块的数目不做限定。
步骤606、将所述至少一个业务切换指示比特块发送给所述接收设备。
本实施例中,所述发送设备完成所述第一业务的比特块流向所述接收设备的发送后,所述发送设备即可发送已插入至所述第一业务的比特块流和所述第二业务的比特块流之间的所述至少一个业务切换指示比特块。
步骤607、将第二业务的比特块流发送给所述接收设备。
本实施例中,所述发送设备完成所述至少一个业务切换指示比特块的发送后,所述发送设备即可发送所述第二业务的比特块流。
可见,所述发送设备按发送时间由前到后的顺序,依次发送所述第一业务的比特块流、所述至少一个业务切换指示比特块以及所述第二业务的比特块流。
因所述发送设备每发生一次业务切换,则所述缓存区tx_buf的状态会发生变化,则本实施例所示的所述发送设备可循环执行本实施例所示的步骤602至步骤607,直至满足所述目标条件的所有所述缓存区tx_buf上的待发送的比特块流均发送至所述接收设备。
步骤608、若检测到所有所述缓存区tx_buf无比特块流需要发送,则向所述接收设备发送空闲比特块。
本实施例中,在所述复用器检测到满足所述目标条件缓存区tx_buf上的比特块流已发送完成,则所述发送设备向所述接收设备发送空闲比特块。
本实施例所提供的业务复用方法的有益效果在于,所述发送设备的业务切换不受当前正在传输的业务的影响,可根据需要实时在任一比特块上实现业务切换。且通过在需要进行业务切换的比特块流之间插入业务切换指示比特块进行业务切换,降低了业务切换过程中的延迟和抖动,保障了业务切换的低时延。
本实施例所示的发送设备可将优先级高的业务切换至优先级低的业务之前发送,从而实现了高优先级业务的抢占发送,保障了高优先级业务极低的延时抖动。
本实施例所示通过缓存区实现业务的复用,从而有效的避免了通过独占带宽的方式进行复用所带来的带宽浪费和传输延时的问题。
上述图6所示的实施例从发送设备的角度说明了如何执行业务复用的具体过程,以下结合图9所示从接收设备的角度说明了执行业务解复用的具体过程。
步骤901、接收所述发送设备发送的比特块流。
可选的,本实施例所示的所述接收设备的接收接口可判断所述发送设备所发送的比特块流中是否有空闲比特块,若所述接收设备判断出所述比特块流中有空闲比特块,则所述接收设备的接收接口可直接丢弃所述空闲比特块。
步骤902、检测在所述比特块流中是否有至少一个业务切换指示比特块,若是,则执行步骤903。
本实施例中,由所述接收设备的解复用器检测每一个接收到的比特块是否为业务切换指示比特块。
若所述解复用器接收到一个业务切换指示比特块或接收到多个连续的业务切换指示比特块的情况下,则执行步骤903。
其中,所述解复用器设置在所述接收设备的接收接口内。
以下对本实施例所示的解复用器的设置方式进行说明:
如图7所示,本实施例所示的接收设备的网络通信的基本框架请参见所述发送设备的网络通信的基本框架,具体在本实施例中不做赘述。
具体的,如72所示,所述接收设备的所述物理编码子层PCS包括多个处理模块724,所述处理模块724用于接收多个物理链路的数据流,并根据对齐标识对数据流进行对齐和排序,需明确的是,本实施例对所述处理模块724所执行的处理的说明为可选的示例,不做限定。
所述物理编码子层PCS还包括解扰模块723,所述解扰模块723用于对解复用后的业务数据进行解扰处理。
所述物理编码子层PCS还包括解复用器722,所述解复用器722用于将比特块流存储至与所述比特块流对应的缓存区。
所述物理编码子层PCS还包括解码模块721,所述解码模块721用于对解复用后的比特块流进行解码以生成业务数据。
本实施例所示的所述比特块流中的任一比特块为M1/M2比特块,其中,M1表示每个比特块中的净荷比特数,M2表示每个比特块的总比特数,M1、M2为正整数,且M2>M1。
可选的,本实施例所示的所述接收设备可接收到所述发送设备发送的完整的比特块流后,对所述比特块流所包括的比特块进行逐一检测以确定所述比特块流所包括的所有所述业务切换指示比特块。
可选的,本实施例所示的所述接收设备可接收到所述发送设备发送的一个比特块后,即对当前接收到的比特块进行检测以确定当前接收到的比特块是否为所述业务切换指示比特块。
步骤903、确定在接收到所述至少一个业务切换指示比特块之后所接收的比特块流为所述第二业务的比特块流。
以下对所述解复用器如何确定接收到所述至少一个业务切换指示比特块之后所接收的比特块流为所述第二业务的比特块流的进行说明:
本实施例所示的接收设备和所述发送设备之间可约定所述至少一个业务切换指示比特块用于指示业务切换,则所述解复用器在接收到所述至少一个业务切换指示比特块的情况下,所述解复用器即可确定出在第一业务的比特块流和第二业务的比特块流发生了业务切换。
其中,所述第一业务的比特块流为所述接收设备在接收到所述至少一个业务切换指示比特块之前所接收到的比特块流,所述第二业务的比特块流为所述接收设备在接收到所述至少一个业务切换指示比特块之后所接收到的比特块流。
具体的,本实施例所示的所述至少一个业务切换指示比特块包括目标标识,所述目标标识为与第二业务的比特块流对应的标识。
所述接收设备根据所述目标标识即可确定出对应的所述第二业务的比特块流,则所述接收设备即可确定出在接收到所述至少一个业务切换指示比特块之后,接收第二业务的比特块流。
可选的,本实施例所示的所述接收设备可预先接收与多路业务中的任一业务对应的标识,则所述接收设备在接收到所述发送设备发送的所述目标标识后,即可确定出与所述目标标识对应的所述第二业务。
可选的,所述接收设备可预先接收所述发送设备发送的标识集合,所述标识集合包括与多路业务中的任一业务对应的标识,则所述接收设备在接收到所述发送设备发送的所述目标标识后,即可确定出与所述目标标识对应的所述第二业务。
可见,在所述发送设备将包括有所述目标标识的所述至少一个业务切换指示比特块发送给所述接收设备的情况下,所述接收设备即可根据所述至少一个业务切换指示比特块确定业务出现了切换,且可根据所述目标标识确定出业务切换至所述第二业务的比特块流。
步骤904、将所述第二业务的比特块流存储至目标缓存区。
本实施例中,所述解复用器在接收到与多路业务中的任一业务对应的标识后,所述解 复用器即可对任一标识分配缓存区,以建立任一业务与一个缓存区的对应关系。
如图10所示,以所述解复用器接收到所述第一业务的比特块流和第二业务的比特块流为例。
所述解复用器可预先为第一业务分配第一缓存区tx_buf,为所述第二业务各分配第二缓存区tx_buf。
在所述解复用器获取到所述至少一个业务切换指示比特块所包括的目标标识的情况下,所述解复用器即可确定出预先分配的且与所述目标标识对应的目标缓存区,则所述解复用器即可将所述第二业务的比特块流存储至所述目标缓存区。
循环执行本实施例所示的步骤902至步骤904,直至所述接收设备所接收到的任一业务的比特块流均存储至对应的缓存区。
本实施例所提供的业务解复用方法的有益效果在于,所述接收设备通过检测业务切换指示比特块的方式确定出业务发生切换,从而可实时在任一比特块上实现业务切换,降低了业务切换过程中的延迟和抖动,保障了业务切换的低时延。
本实施例所示通过缓存区实现业务的解复用,从而有效的避免了通过独占带宽的方式进行解复用所带来的带宽浪费和传输延时的问题。
为更好理解本申请所示的发送设备执行业务复用的具体过程,以下结合具体的业务类型对所述发送设备执行业务复用的具体过程进行示例性说明:
本实施例以所述发送设备在以太网的全双工模式下是如何实现业务复用的进行示例性说明。
如图11所示,本实施例以发送设备接收到的业务均为以太网分组业务为例。
其中,所述以太网分组业务具体为:时延敏感型分组业务(express media access control,eMAC)以及低优先级的分组业务(preemptable media access control,pMAC)。
其中,eMAC业务的时延敏感性高于pMAC业务的时延敏感性。
以下结合图12所示的步骤流程图对本实施例的业务复用的过程进行详细说明:
步骤1201、第一缓存区Tx_buf缓存来自eMAC的PCS up-part输出的64B/66B比特块流。
所述发送设备的PCS上部分(The 64B/66B encoder and decoder part of a PCS,PCS up-part),即如图7所示的用于进行编码的编码模块712。
本实施例所示的发送设备的第一Tx_buf用于缓存eMAC业务,发送设备接收到eMAC业务后,发送设备即可将eMAC业务缓存至与所述eMAC业务对应的所述第一Tx_buf。
在以太网中,所述eMAC业务的数据流为64B/66B比特块流。
步骤1202、第二Tx_buf缓存来自pMAC的PCS up-part输出的64B/66B比特块流。
本实施例所示的发送设备的第二Tx_buf用于缓存pMAC业务,发送设备接收到pMAC业务后,发送设备即可将pMAC业务缓存至与所述pMAC业务对应的所述第二Tx_buf。
在以太网中,所述pMAC业务的数据流为64B/66B比特块流。
本实施例中,为提高带宽的利用率,则复用器可检测所述第一Tx_buf以及所述第二 Tx_buf中是否有空闲比特块;
具体的,所述复用器可在PCS up-part输出的64B/66B比特块流中的包间隙(inter-packet-gap,IPG)中是否有空闲比特块,若是,则所述复用器即可删除IPG中的空闲比特块。
其中,所述复用器的具体说明请详见上述实施例所示,具体在本实施例中不做赘述。
可选的,所述复用器可对缓存区内的比特块流进行流控,具体过程为:
所述复用器可周期性或实时的检测各缓存区中的比特块流,若检测到缓存区中的比特块流的数据量大于或等于预设阈值,则所述复用器可向发送设备发送用于指示暂停数据发送的指示信息,则所述发送设备即可暂停向所述PCS up-part输入业务的比特块流,之后若所述复用器检测到缓存区中的比特块流的数据量小于预设阈值,则所述复用器可向发送设备发送用于指示发送数据的指示信息,则所述发送设备即可向所述PCS up-part输入业务的比特块流。
步骤1203、检测第一tx_buf以及第二tx_buf是否均满足目标条件,若否,则执行步骤1204,若是,则执行步骤1205。
具体的,所述复用器用于检测第一tx_buf以及第二tx_buf是否均满足目标条件,以下结合复用器的具体结构对本实施例进行详细说明:
如图13所示,复用器中与各缓存区tx_buf通信连接的仲裁模块1302用于检测第一tx_buf以及第二tx_buf是否均满足目标条件。
本实施例所示的目标条件为所述第一tx_buf以及所述第二tx_buf有待发送的数据,且所述目标条件还为所述第一tx_buf以及所述第二tx_buf所缓存的业务的比特块流的流量控制允许发送数据,对所述目标条件的具体说明请详见上述实施例所示,具体在本实施例中不做赘述。
步骤1204、向接收设备发送空闲比特块。
具体的,所述发送设备的所述复用器用于向接收设备发送空闲比特块。
本实施例中,在所述复用器的复用模块1301判断出所述第一tx_buf以及所述第二tx_buf均不满足所述目标条件,则所述复用模块1301用于向所述接收设备发送空闲比特块。
步骤1205、将所述第一tx_buf所缓存的eMAC业务的比特块流发送给所述接收设备。
具体的,所述复用器中与所述复用模块1301通信连接的仲裁模块1302可对各tx_buf中的比特块流进行仲裁以确定出各tx_buf中最先发送至所述接收设备的比特块流。
在本实施例中,所述仲裁模块1302在确定出eMAC业务的时延敏感性高于pMAC业务的时延敏感性的情况下,则所述仲裁模块1302可确定出缓存有eMAC业务的第一tx_buf相对于缓存有pMAC业务的缓存区具有更高的优先级,则所述仲裁模块1302即可确定出将所述第一tx_buf所缓存的比特块流为发送至所述接收设备。
本实施例以基于业务的时延敏感性确定发送至所述接收设备的比特块流的优先级为例进行示例性说明。
步骤1206、确定是否发生业务切换,若是,则执行步骤1207。
本实施例中,所述复用器的复用模块1301用于判断是否发生业务切换,即所述复用模块1301判断是否由所述eMAC业务切换至所述pMAC业务进行业务发送。
具体的,在所述仲裁模块1302对各缓存区中的比特块流进行仲裁时可生成仲裁结果信息,所述仲裁模块1302可将所述仲裁结果信息发送给所述复用模块1301,所述复用模块1301即可根据所述仲裁结果信息确定出是否发生业务切换。
其中,所述仲裁结果信息的具体说明请详见上述实施例所示,具体在本实施例中不做赘述。
步骤1207、将业务切换指示比特块插入在所述eMAC业务的比特块流和所述pMAC的比特块流之间。
所述复用模块1301根据所述仲裁结果信息确定出需要插入所述业务切换指示比特块的情况下,与所述复用模块1301通信连接的插入模块1303即可在所述eMAC业务的比特块流和所述pMAC业务的比特块流之间插入所述业务切换指示比特块。
本实施例所示的所述业务切换指示比特块为标签TAG比特块,所述TAG比特块的数目为至少一个。
以下对所述业务切换指示比特块进行详细说明:
在以太网中,本实施例所示的所述业务切换指示比特块为64B/66B比特块,其中,M2–M1,即66-64表示每个比特块中的首部同步头比特数。
本实施例以所述业务切换指示比特块的数目为一个为例进行示例性说明:其中,所述64B/66B比特块的码字的结构请参见图22所示:
本实施例所示的所述业务切换指示比特块以包括参数O0、D1、D2、D3、C4、C5、C6以及C7为例进行示例性说明:
其中,参数D1、D2以及D3为8比特bit数据,参数C4、C5、C6以及C7为7比特bit数据,参数O0为4比特控制码,用于指示包括有参数O0的比特块的类别,本实施例中,通过参数O0定义包括有参数O0的比特块用于进行指示业务切换。
具体的,本实施例所示的发送设备通过设置O0的值为0x4用以标识包括有参数O0的比特块为一个业务切换指示比特块。
本实施例中的O0的值设置为0x4为可选示例,也可以设置为现有标准中未定义的其它值。
所述业务切换指示比特块所包括的参数D1、D2、D3携带三个字节的参数,通过D1、D2以及D3所携带的三个字节的参数可传输目标标识,所述目标标识为与所述pMAC业务的比特块流对应的标识。
本实施例中,通过D1、D2以及D3传输目标标识的说明为可选的示例,不做限定,在具体应用中,可通过参数D1、D2、D3、C4、C5、C6以及C7中的任意参数传输目标标识,也可通过多个业务切换指示比特块一起传输目标标识。
对所述目标标识的说明请详见上述实施例所示,具体在本实施例中不做赘述。
可选的,所述业务切换指示比特块还包括指示信息,所述指示信息用于指示发送给所述接收设备的所述pMAC业务的比特块流所包括的比特块数目。
本实施例中,可通过所述业务切换指示比特块流所包括的参数D1、D2、D3、C4、C5、C6以及C7中的任意参数传输所述指示信息,也可通过多个业务切换指示比特块一起传输所述指示信息。
可选的,在所述仲裁模块1302对所述pMAC业务进行裁定的过程中,所述仲裁模块1302可判断出将所述pMAC业务所包括的全部比特块发送给所述接收设备,则所述插入模块1303所插入的所述业务切换指示比特块所包括的指示信息可指示出所述pMAC业务的全部比特块的数目。
可选的,在所述仲裁模块1302对所述pMAC业务进行裁定的过程中,所述仲裁模块1302可判断出不将所述pMAC业务所包括的全部比特块发送给所述接收设备,即发送所述pMAC业务所包括的部分比特块流,则所述插入模块1303所插入的所述业务切换指示比特块所包括的指示信息可包括所述pMAC业务中需要发送至所述接收设备的部分比特块的数目。
步骤1208、将所述业务切换指示比特块发送至所述接收设备。
步骤1209、将所述pMAC业务的比特块流发送给所述接收设备。
本实施例中,所述发送设备完成所述业务切换指示比特块的发送后,所述发送设备即可发送所述pMAC业务的比特块流。
可见,所述发送设备按发送时间由前到后的顺序,依次发送所述eMAC业务的比特块流、所述业务切换指示比特块以及所述pMAC业务的比特块流。
步骤1210、若检测到所有所述缓存区tx_buf无比特块流需要发送,则向所述接收设备发送空闲比特块。
本实施例中,在所述复用器检测到满足所述目标条件的第一tx_buf以及第一tx_buf上的比特块流已发送完成,则所述发送设备向所述接收设备发送空闲比特块。
需明确的是,本实施例对所述复用器所包括的各模块的说明为可选的示例,不做限定,只要所述复用器能够执行本实施例所示的业务复用过程即可。
本实施例以应用至太网分组业务为例进行说明,本申请所示的业务复用还可应用至低速网络中。
在本种应用方式中,所述业务切换指示比特块的数目为多个,且所述业务切换指示比特块为8B/10B比特块。
可选的,本实施例以所述业务切换指示比特块的数目为四个为例进行示例性说明。
所述业务切换指示比特块的结构请参见表1所示:
表1
Figure PCTCN2018092835-appb-000001
对于8B/10B编码,所述业务切换指示比特块的结构可为K28.5/D18.6/DX,Y/DX,Y,所 述比特块的结构还可为K28.5/D1.2/DX,Y/DX,Y。
如64B/66B编码,可用单个比特块实现业务切换指示,而对于8B/10B编码,需要用多个比特块绑到一起用于业务切换。
具体的,本实施例以所述业务切换指示比特块的结构为K28.5/D18.6/DX,Y/DX,Y为例,比特块K28.5为特殊比特块,位于特殊比特块后的比特块(Dx.y)作为数据比特块,在8B/10B编码中,通过特殊比特块和所述数据比特块一起用于指示业务切换。
以下结合图11以及图14所示对接收设备执行业务解复用的具体过程进行示例性说明:
如图11所示,本实施例以接收设备接收到发送设备所发送的业务均为以太网分组业务为例。
其中,所述以太网分组业务具体为:时延敏感型分组业务(express media access control,eMAC)以及低优先级的分组业务(preemptable media access control,pMAC)。
其中,eMAC业务的时延敏感性高于pMAC业务的时延敏感性。
步骤1401、接收发送设备发送的比特块流。
如图11所示,接收设备的PCS下部分(the 64B/66B encoder and decoder part of a PCS,PCS low-part)用于接收发送设备发送的比特块流。
接收设备的PCS下部分如图7所示的PCS中解扰模块723以及处理模块724。
本实施例中,所述接收设备若检测出所述比特块流中包括空闲比特块,则所述接收设备即可直接将所述空闲比特块删除。
具体的,如图15所示,所述接收设备的解复用器所包括的检测模块1501用于检测空闲比特块,若所述检测模块1501检测出所述空闲比特块,则所述检测模块1501即可直接将所述空闲比特块删除。
步骤1402、检测在所述比特块流中是否有至少一个业务切换指示比特块,若是,则执行步骤1403。
本实施例中,由所述解复用器所接收到的比特块流中的每一个比特块是否为业务切换指示比特块。若所述解复用器接收到一个业务切换指示比特块或接收到多个连续的业务切换指示比特块的情况下,则执行步骤1405。
所述解复用器的的具体说明请详见上述实施例所示,具体不做赘述。
其中,所述业务切换指示比特块为64B/66B比特块,所述64B/66B比特块的具体说明请详见上述所示,具体不做赘述。
步骤1403、确定在接收到所述业务切换指示比特块之后所接收的比特块流为pMAC业务的比特块流。
本实施例所示的所述业务切换指示比特块用于指示业务切换,则所述业务切换指示比特块通过所包括的目标标识指示业务切换至pMAC业务。
步骤1404、将pMAC业务的比特块流输入至对应的缓存区。
本实施例中,在所述检测模块1501检测出所述业务切换指示比特块后,与所述检测模块1501通信连接的提取模块1503即可提取出所述业务切换指示比特块所包括的目标标识。
所述目标标识的具体说明请详见上述所示,具体在本实施例不做赘述。
与所述提取模块1503通信连接的解复用模块1502根据所述目标标识确定对应的缓存区。
本实施例中,以所述接收设备接收到所述业务切换指示比特块之前,所接收到的比特块流为eMAC业务的比特块流,以所述接收设备接收到所述业务切换指示比特块之后,所接收到的比特块流为pMAC业务的比特块流为例进行示例性说明,其中,eMAC业务以及pMAC业务的具体说明请详见上述所示,具体不做赘述。
在所述接收设备接收到所述业务切换指示比特块之前,所述解复用模块1502将所述eMAC业务的比特块流存储至预先为所述eMAC业务配置好的第一tx_buf,所述解复用模块1502在确定出所述目标标识后,即可确定出与所述目标标识对应的所述目标缓存区为所述第二tx_buf,则可将后续接收到的所述pMAC业务的比特块流输入至所述第二tx_buf。
步骤1405、判断各缓存区是否满足输出条件,若是,则执行步骤1406。
所述解复用器的输出控制模块1504可用于检测各缓存区是否满足输出条件,其中,所述输出条件为各缓存区是否存储有完整的以太网介质访问控制(media access control,MAC)帧。
具体的,在以太网中,输出至接收设备的MAC层的数据是基于一个完整的MAC帧。
在所述控制模块1504确定出缓存区内所存储的比特块流不是一个完整的MAC帧时,所述控制模块1504可通过缓存区对比特块流进行缓存和拼帧,直至拼满一个完整的MAC帧。
步骤1406、将完整的MAC帧输出至MAC层。
具体的,在所述控制模块1504确定出缓存区内所存储的比特块流是一个完整的MAC帧时,所述控制模块1504可控制存储有完整的MAC帧的缓存区将完整的MAC帧输出至MAC层。
需明确的是,本实施例对所述解复用器所包括的各模块的说明为可选的示例,不做限定,只要所述解复用器能够执行本实施例所示的业务解复用过程即可。
上述实施例对以太网分组业务为例进行示例性说明,下述实施例以所述发送设备如何对非以太网分组业务和以太网分组业务进行业务复用的具体过程进行详细说明:
如图16所示,所述以太网分组业务为pMAC业务,所述pMAC业务的具体说明请详见上述所示,具体不做赘述。
非以太网分组业务以流业务为例,其中,流业务为固定位速率(constant bit rate,CBR)业务或变化位速率(variable bit rate,VBR)业务。
本实施例以流业务为VBR业务为例进行示例性说明:
以下结合图17所示的步骤流程图对本实施例的业务复用的过程进行详细说明:
步骤1701、第一Tx_buf缓存来自pMAC的PCS up-part输出的64B/66B比特块流。
所述PCS up-part的具体说明请详见上述所示,具体不做赘述。
本实施例所示的发送设备的第一Tx_buf用于缓存pMAC业务,发送设备再接收到pMAC业务后,发送设备即可将eMAC业务缓存至与所述pMAC业务对应的所述第一Tx_buf。
步骤1702、对VBR业务进行编码。
本实施例中,由于流业务不包含PCS层相关逻辑,所以需要接收设备的编码模块对所述VBR业务进行64B/66B编码以生成比特块流。
所述编码模块的具体说明请详见上述所示,具体不做赘述。
步骤1703、第二Tx_buf缓存来自编码模块输出的64B/66B比特块流。
本实施例中,为提高带宽的利用率,则复用器可检测所述第一Tx_buf以及所述第二Tx_buf中是否有空闲比特块,若是,则所述复用器即可删除IPG中的空闲比特块。
其中,所述复用器的具体说明请详见上述实施例所示,具体在本实施例中不做赘述。
所述复用器可对缓存区内的比特块流进行流控,具体过程请详见上述所示,具体不做赘述。
步骤1704、检测第一tx_buf以及第二tx_buf是否均满足目标条件,若否,则执行步骤1705,若是,则执行步骤1706。
具体的,所述复用器用于检测第一tx_buf以及第二tx_buf是否均满足目标条件,所述复用器的具体结构可参见图18所示,其中,图18所示的复用器所包括的所述复用模块1801、所述仲裁模块1802以及所述插入模块1803的具体说明,请详见图13所示的复用器所包括的所述复用模块1301、所述仲裁模块1302以及所述插入模块1303的说明,具体不做赘述。
更具体的,本实施例所示的所述仲裁模块1802用于检测第一tx_buf以及第二tx_buf是否均满足目标条件,其中,所述目标条件的具体说明请详见上述所示,具体不做赘述。
步骤1705、向接收设备发送空闲比特块。
具体的,在所述复用模块1801判断出所述第一tx_buf以及所述第二tx_buf均不满足所述目标条件,则所述复用模块1801用于向所述接收设备发送空闲比特块。
步骤1706、将所述第一tx_buf所缓存的pMAC业务的比特块流发送给所述接收设备。
具体的,所述仲裁模块1802可对各tx_buf中的比特块流进行仲裁以确定出各tx_buf中最先发送至所述接收设备的tx_buf中的比特块流。
在本实施例中,所述仲裁模块1802在确定出缓存有pMAC业务的第一tx_buf相对于缓存有VBR业务的缓存区具有更高的优先级,则所述仲裁模块1802即可将所述第一tx_buf所缓存的比特块流发送至所述接收设备。
步骤1707、确定是否发生业务切换,若若是,则执行步骤1708。
本实施例中,所述复用模块1801用于判断是否发生业务切换,即所述复用模块1801判断所述pMAC业务与所述VBR业务是否发生切换。
具体的,在所述仲裁模块1802对各缓存区中的比特块流进行仲裁时可生成仲裁结果信息,所述仲裁模块1802可将所述仲裁结果信息发送给所述复用模块1801,所述复用模块1801即可根据所述仲裁结果信息确定出是否发生业务切换。
其中,所述仲裁结果信息的具体说明请详见上述实施例所示,具体在本实施例中不做赘述。
步骤1708、将业务切换指示比特块插入在所述pMAC业务的比特块流和所述VBR业务的比特块流之间。
所述复用模块1801在确定出需要插入所述业务切换指示比特块TAG的情况下,所述插入模块1803即可在所述pMAC业务的比特块流和所述VBR业务的比特块流之间插入所述业务切换指示比特块。
本实施例所示的所述业务切换指示比特块的具体说明请详见上述实施例所示,具体在本实施例中不做赘述。
步骤1709、将所述业务切换指示比特块以及所述VBR业务的比特块流依次发送给所述接收设备。
在将所述业务切换指示比特块插入在所述pMAC业务的比特块流和所述VBR业务的比特块流之间后,所述发送设备即可所述业务切换指示比特块以及所述VBR业务的比特块流依次发送给所述接收设备。
需明确的是,本实施例对所述复用器所包括的各模块的说明为可选的示例,不做限定,只要所述复用器能够执行本实施例所示的业务复用过程即可。
如图16至图18所示,从发送设备的角度说明了对非以太网分组业务和以太网分组业务进行业务复用的具体过程,以下从接收设备角度说明对非以太网分组业务和以太网分组业务的解复用的具体过程进行详细说明:
继续参见图16所示,本实施例中的以太网分组业务为pMAC业务,非以太网分组业务以VBR业务为例进行示例性说明:
以下结合图19所示的步骤流程图对本实施例的业务解复用的过程进行详细说明:
步骤1901、接收发送设备发送的比特块流。
如图16所示,接收设备的PCS low-part接收所述发送设备发送的比特块。
本实施例中,所述接收设备若检测出所述比特块流中包括空闲比特块,则所述接收设备即可直接将所述空闲比特块删除。
具体的,如图20所示,所述接收设备的解复用器所包括的检测模块2001用于检测空闲比特块,若所述检测模块2001检测出所述空闲比特块,则所述检测模块2001即可直接将所述空闲比特块删除。
步骤1902、检测所述比特块流中是否有业务切换指示比特块,若是,则执行步骤1903。
本实施例所示的解复用器用于检测在所述比特块是否为业务切换指示比特块,其中,所述解复用器的的具体说明请详见上述实施例所示,具体不做赘述。
其中,所述业务切换指示比特块为64B/66B比特块,所述64B/66B比特块的具体说明请详见上述所示,具体不做赘述。
步骤1903、确定在接收到所述业务切换指示比特块之后所接收的比特块流为VBR业务业务的比特块流
本实施例所示的所述业务切换指示比特块用于指示业务切换,则所述业务切换指示比特块通过所包括的目标标识指示业务切换至VBR业务。
步骤1904、将VBR业务的比特块流输入至对应的缓存区。
本实施例中,在所述检测模块2001检测出所述业务切换指示比特块后,与所述检测模 块2001通信连接的提取模块2003即可提取出所述业务切换指示比特块所包括的目标标识。
所述目标标识的具体说明请详见上述所示,具体在本实施例不做赘述。
与所述提取模块2003通信连接的解复用模块2002根据所述目标标识确定对应的缓存区。
本实施例中,以所述接收设备接收到所述业务切换指示比特块之前,所接收到的比特块流为pMAC业务的比特块流,以所述接收设备接收到所述业务切换指示比特块之后,所接收到的比特块流为VBR业务的比特块流为例进行示例性说明,其中,VBR业务以及pMAC业务的具体说明请详见上述所示,具体不做赘述。
在所述接收设备接收到所述业务切换指示比特块之前,所述解复用模块2002将所述pMAC业务的比特块流存储至预先为所述pMAC业务配置好的第一tx_buf,所述解复用模块2002在确定出所述目标标识后,即可确定出与所述目标标识对应的所述目标缓存区为所述第二tx_buf,则可将后续接收到的所述VBR业务的比特块流输入至所述第二tx_buf。
步骤1905、将VBR业务的比特块流输入至所述解码模块。
本实施例中,对于流业务VBR,则无需输出控制模块2004进行拼帧处理,则所述接收设备可直接将所述VBR业务的比特块流输入至所述解码模块进行解码。
所述解码模块的具体说明请详见上述所示,具体在本实施例中不做赘述。
所述解码模块用于对所述VBR业务的比特块流进行解码后输出VBR的业务数据。
步骤1906、输出VBR业务数据。
本实施例所示的所述解码模块可输出已解码完成的所述VBR业务数据。
在本实施例中,所述接收设备可将解码模块输出的所述VBR业务数据输出至通用公共无线电接口(common public radio interface,CPRI)为例。
上述对本申请所示的业务复用方法以及业务解复用方法所应用的网络的说明为可选的示例,不做限定,例如,本申请所示的业务复用方法以及业务解复用方法还可应用至灵活以太网(flex ethernet,FlexE)中。
如图21所示,所述网络设备能够实现对业务flexE client a1至业务flexE client an的业务复用。
具体的,对于业务flexE client a1至业务flexE client an通过复用器进行一级业务复用,具体复用的过程,请详见上述实施例所示,具体不做赘述。
所述业务flexE client a1至业务flexE client an经过所述复用器后所输出的业务flexE client a1至业务flexE client an的比特块流输入至flexE日历模块calendar,所述flexE calendar用于基于flexE标准的方法对业务flexE client a1至业务flexE client an的比特块流进行二级复用。
本实施例所示的业务flexE client b是指基于flexE复用的业务,所述业务flexE client b的比特块流通过空闲比特块插入或删除空闲insert或delete模块后输入至所述flexE calendar。
所述空闲insert或delete模块用于对业务flexE client b的比特块流进行进行速率适配。
所述flexE calendar用于按flexE标准的方法将所述业务flexE client b的比特块流进行时隙映射以进行业务的发送。
基于图21所示,所述网络设备实现解复用的过程可为:
所述flexE calendar接收比特块流后进行解复用以获取到业务flexE client a1至业务flexE client an的比特块流以及flexE client b的比特块流。
所述flexE calendar将业务flexE client a1至业务flexE client an的比特块流输入至解复用器进行解复用,从而分别获取到flexE client a1至业务flexE client an的比特块流,并输入至分别与业务flexE client a1至业务flexE client an对应的缓存区,具体解复用过程请详见上述实施例所示,具体在本实施例中不做赘述。
flexE calendar将解复用后的flexE client b的比特块流输入至所述空闲insert或delete模块,所述空闲insert或delete模块用于对所述flexE client b的比特块流进行速率适配。
以下结合图23所示对本申请所提供的发送设备的一种实施例结构进行示例性说明,本实施例所示的所述发送设备用于执行本申请所示的业务复用方法,所述业务复用方法的具体执行流程请详见上述实施例所示,具体在本实施例中不做赘述。
本实施例所示的发送设备包括:
发送器2301,用于向接收设备发送第一业务的比特块流;
复用器2302,用于确定是否由所述第一业务切换至第二业务进行业务发送;
其中,所述发送器2301还用于,若所述复用器确定出由所述第一业务切换至所述第二业务进行业务发送,则将至少一个业务切换指示比特块发送给接收设备,所述至少一个业务切换指示比特块用于指示由所述第一业务切换至所述第二业务进行业务发送;
所述发送器2301还用于,将所述第二业务的比特块流发送给接收设备。
本实施例所示的所述发送器2301以及复用器2302设置在上述实施例所示的发送接口中,具体的,所述复用器2302的具体说明请详见上述实施例所示。
本实施例所示的发送设备执行本申请所提供的业务复用过程中的有益效果,请详见上述实施例所示,具体在本实施例中不做赘述。
可选的,本实施例所示的所述第一业务的比特块流所包括的任一比特块、所述第二业务的比特块流所包括的任一比特块以及所述至少一个业务切换指示比特块中的任一业务切换指示比特块为M1/M2比特块,其中,M1表示每个比特块中的净荷比特数,M2表示每个比特块的总比特数,M1、M2为正整数,且M2>M1。
所述第一业务的比特块流所包括的任一比特块、所述第二业务的比特块流所包括的任一比特块以及所述至少一个业务切换指示比特块中的任一业务切换指示比特块的具体说明请详见上述实施例所示,具体在本实施例中不做赘述。
可选的,所述发送器2301具体用于:
获取所述第一业务的第一业务数据;
对所述第一业务数据进行编码以生成所述第一业务的比特块流;
获取所述第二业务的第二业务数据;
对所述第二业务数据进行编码以生成所述第二业务的比特块流。
可选的,若所述M1/M2比特块为64B/66B比特块,则所述业务切换指示比特块的数目为至少一个。
本实施例所示的64B/66B比特块的具体说明,请详见上述实施例所示,具体在本实施例中不做赘述。
可选的,若所述M1/M2比特块为8B/10B比特块,则所述业务切换指示比特块的数目为多个,且多个所述业务切换指示比特块包括至少一个特殊比特块以及至少一个数据比特块。
本实施例所示的8B/10B比特块的具体说明,请详见上述实施例所示,具体在本实施例中不做赘述。
可选的,所述至少一个业务切换指示比特块还包括指示信息,所述指示信息用于指示发送给所述接收设备的所述第二业务的比特块流所包括的比特块数目。
本实施例所示的指示信息的具体说明,请详见上述实施例所示,具体在本实施例中不做赘述。
可选的,所述复用器2302还用于,确定目标标识,所述目标标识为与所述第二业务对应的标识,生成所述至少一个业务切换指示比特块,所述至少一个业务切换指示比特块包括所述目标标识,所述目标标识用于指示所述接收设备将所述第二业务的比特块流存储至目标缓存区,所述目标缓存区为所述接收设备为所述目标标识所分配的缓存区。
本实施例所示的目标标识的具体说明,请详见上述实施例所示,具体在本实施例中不做赘述。
可选的,所述复用器2302还用于,若判断出第一业务的比特块流和/或所述第二业务的比特块流中有空闲比特块,则将所述空闲比特块删除。
对所述空闲比特块删除的过程请详见上述实施例所示,具体在本实施例中不做赘述。
以下结合图24所示对本申请所提供的接收设备的一种实施例结构进行示例性说明,本实施例所示的所述接收设备用于执行本申请所示的业务解复用方法,所述业务解复用方法的具体执行流程请详见上述实施例所示,具体在本实施例中不做赘述。
本实施例所示的接收设备包括:
接收器2401,用于确定是否接收到发送设备发送的至少一个业务切换指示比特块,所述至少一个业务切换指示比特块用于指示所述发送设备由第一业务切换至第二业务进行业务发送,所述第一业务的比特块流为在接收到所述至少一个业务切换指示比特块之前所接收到的比特块流;
解复用器2402,用于若确定接收到所述至少一个业务切换指示比特块,则确定在接收到所述至少一个业务切换指示比特块之后所接收的比特块流为所述第二业务的比特块流。
本实施例所示的接收设备执行本申请所提供的业务解复用过程中的有益效果,请详见上述实施例所示,具体在本实施例中不做赘述。
本实施例所示的所述接收器2401以及所述解复用器2402设置在上述实施例所示的接收接口中,具体的,所述解复用器2402的具体说明请详见上述实施例所示。
可选的,所述第一业务的比特块流所包括的任一比特块、所述第二业务的比特块流所包括的任一比特块以及所述至少一个业务切换指示比特块中的任一业务切换指示比特块为M1/M2比特块,其中,M1表示每个比特块中的净荷比特数,M2表示每个比特块的总比特数,M1、M2为正整数,且M2>M1。
本实施例所示的所述第一业务的比特块流所包括的任一比特块、所述第二业务的比特块流所包括的任一比特块以及所述至少一个业务切换指示比特块中的任一业务切换指示比特块的具体说明,请详见上述实施例所示,具体在本实施例中不做赘述。
可选的,所述接收器2401还用于,接收所述发送设备发送的所述第一业务的比特块流;
所述解复用器2402还用于,对所述第一业务的比特块流进行解码以获取所述第一业务的第一业务数据;
所述接收器2401还用于,接收所述发送设备发送的所述第二业务的比特块流;
所述解复用器2402还用于,对所述第二业务的比特块流进行解码以获取所述第二业务的第一业务数据。
可选的,若所述M1/M2比特块为64B/66B比特块,则所述业务切换指示比特块的数目为至少一个。
本实施例所示的64B/66B比特块的具体说明,请详见上述实施例所示,具体在本实施例中不做赘述。
可选的,若所述M1/M2比特块为8B/10B比特块,则所述业务切换指示比特块的数目为多个,且多个所述业务切换指示比特块包括至少一个特殊比特块以及至少一个数据比特块。
本实施例所示的8B/10B比特块的具体说明,请详见上述实施例所示,具体在本实施例中不做赘述。
可选的,所述解复用器2402还用于,获取所述至少一个业务切换指示比特块所包括的指示信息,所述指示信息用于指示所述第二业务的比特块流所包括的比特块数目,根据所述指示信息确定所述第二业务的比特块流所包括的比特块数目。
本实施例所示的指示信息比特块的具体说明,请详见上述实施例所示,具体在本实施例中不做赘述。
可选的,所述解复用器2402还用于,获取所述至少一个业务切换指示比特块所包括的目标标识,其中,所述目标标识为与所述第二业务对应的标识,将所述第二业务的比特块流存储至目标缓存区,所述目标缓存区为所述接收设备为所述目标标识所分配的缓存区。
本实施例所示的目标标识的具体说明,请详见上述实施例所示,具体在本实施例中不做赘述。
可选的,所述解复用器2402还用于,若判断出第一业务的比特块流和/或所述第二业务的比特块流中有空闲比特块,则将所述空闲比特块删除。
本实施例所示的对所述空闲比特块的删除过程,请详见上述实施例所示,具体在本实 施例中不做赘述。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only Memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (32)

  1. 一种业务复用方法,其特征在于,包括:
    发送设备向接收设备发送第一业务的比特块流;
    所述发送设备确定是否由所述第一业务切换至第二业务进行业务发送;
    若所述发送设备确定出由所述第一业务切换至所述第二业务进行业务发送,则所述发送设备将至少一个业务切换指示比特块发送给接收设备,所述至少一个业务切换指示比特块用于指示由所述第一业务切换至所述第二业务进行业务发送;
    所述发送设备将所述第二业务的比特块流发送给接收设备。
  2. 根据权利要求1所述的方法,其特征在于,所述第一业务的比特块流所包括的任一比特块、所述第二业务的比特块流所包括的任一比特块以及所述至少一个业务切换指示比特块中的任一业务切换指示比特块为M1/M2比特块,其中,M1表示每个比特块中的净荷比特数,M2表示每个比特块的总比特数,M1、M2为正整数,且M2>M1。
  3. 根据权利要求2所述的方法,其特征在于,所述发送设备向接收设备发送第一业务的比特块流之前,所述方法还包括:
    所述发送设备获取所述第一业务的第一业务数据;
    所述发送设备对所述第一业务数据进行编码以生成所述第一业务的比特块流;
    所述发送设备将所述第二业务的比特块流发送给接收设备之前,所述方法还包括:
    所述发送设备获取所述第二业务的第二业务数据;
    所述发送设备对所述第二业务数据进行编码以生成所述第二业务的比特块流。
  4. 根据权利要求2或3所述的方法,其特征在于,若所述M1/M2比特块为64B/66B比特块,则所述业务切换指示比特块的数目为至少一个。
  5. 根据权利要求2或3所述的方法,其特征在于,若所述M1/M2比特块为8B/10B比特块,则所述业务切换指示比特块的数目为多个,且多个所述业务切换指示比特块包括至少一个特殊比特块以及至少一个数据比特块。
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述至少一个业务切换指示比特块还包括指示信息,所述指示信息用于指示发送给所述接收设备的所述第二业务的比特块流所包括的比特块数目。
  7. 根据权利要求1至6所述的方法,其特征在于,所述发送设备将至少一个业务切换指示比特块发送给接收设备之前,所述方法还包括:
    所述发送设备确定目标标识,所述目标标识为与所述第二业务对应的标识;
    所述发送设备生成所述至少一个业务切换指示比特块,所述至少一个业务切换指示比特块包括所述目标标识,所述目标标识用于指示所述接收设备将所述第二业务的比特块流存储至目标缓存区,所述目标缓存区为所述接收设备为所述目标标识所分配的缓存区。
  8. 根据权利要求1至7任一项所述的方法,其特征在于,所述方法还包括:
    若所述发送设备判断出第一业务的比特块流和/或所述第二业务的比特块流中有空闲比特块,则所述发送设备将所述空闲比特块删除。
  9. 一种业务解复用方法,其特征在于,包括:
    接收设备确定是否接收到发送设备发送的至少一个业务切换指示比特块,所述至少一个业务切换指示比特块用于指示所述发送设备由第一业务切换至第二业务进行业务发送,所述第一业务的比特块流为所述接收设备在接收到所述至少一个业务切换指示比特块之前所接收到的比特块流;
    若所述接收设备确定接收到所述至少一个业务切换指示比特块,则所述接收设备确定在接收到所述至少一个业务切换指示比特块之后所接收的比特块流为所述第二业务的比特块流。
  10. 根据权利要求9所述的方法,其特征在于,所述第一业务的比特块流所包括的任一比特块、所述第二业务的比特块流所包括的任一比特块以及所述至少一个业务切换指示比特块中的任一业务切换指示比特块为M1/M2比特块,其中,M1表示每个比特块中的净荷比特数,M2表示每个比特块的总比特数,M1、M2为正整数,且M2>M1。
  11. 根据权利要求10所述的方法,其特征在于,所述若所述接收设备确定接收到所述至少一个业务切换指示比特块之前,所述方法还包括:
    所述接收设备接收所述发送设备发送的所述第一业务的比特块流;
    所述接收设备对所述第一业务的比特块流进行解码以获取所述第一业务的第一业务数据;
    所述若所述接收设备确定接收到所述至少一个业务切换指示比特块之后,所述方法还包括:
    所述接收设备接收所述发送设备发送的所述第二业务的比特块流;
    所述接收设备对所述第二业务的比特块流进行解码以获取所述第二业务的第一业务数据。
  12. 根据权利要求10或11所述的方法,其特征在于,若所述M1/M2比特块为64B/66B比特块,则所述业务切换指示比特块的数目为至少一个。
  13. 根据权利要求10或11所述的方法,其特征在于,若所述M1/M2比特块为8B/10B比特块,则所述业务切换指示比特块的数目为多个,且多个所述业务切换指示比特块包括至少一个特殊比特块以及至少一个数据比特块。
  14. 根据权利要求11至13任一项所述的方法,其特征在于,所述若所述接收设备确定接收到所述至少一个业务切换指示比特块之后,所述方法还包括:
    所述接收设备获取所述至少一个业务切换指示比特块所包括的指示信息,所述指示信息用于指示所述第二业务的比特块流所包括的比特块数目;
    所述接收设备根据所述指示信息确定所述第二业务的比特块流所包括的比特块数目。
  15. 根据权利要求9至14任一项所述的方法,其特征在于,所述若所述接收设备确定接收到所述至少一个业务切换指示比特块之后,所述方法还包括:
    所述接收设备获取所述至少一个业务切换指示比特块所包括的目标标识,其中,所述目标标识为与所述第二业务对应的标识;
    所述接收设备将所述第二业务的比特块流存储至目标缓存区,所述目标缓存区为所述接收设备为所述目标标识所分配的缓存区。
  16. 根据权利要求9至15任一项所述的方法,其特征在于,所述方法还包括:
    若所述接收设备判断出第一业务的比特块流和/或所述第二业务的比特块流中有空闲比特块,则所述接收设备将所述空闲比特块删除。
  17. 一种发送设备,其特征在于,包括发送器以及与所述发送器连接的复用器;
    所述发送器用于向接收设备发送第一业务的比特块流;
    所述复用器用于确定是否由所述第一业务切换至第二业务进行业务发送;
    所述发送器还用于,若所述复用器确定出由所述第一业务切换至所述第二业务进行业务发送,则将至少一个业务切换指示比特块发送给接收设备,所述至少一个业务切换指示比特块用于指示由所述第一业务切换至所述第二业务进行业务发送,所述发送器还用于将所述第二业务的比特块流发送给接收设备。
  18. 根据权利要求17所述的发送设备,其特征在于,所述第一业务的比特块流所包括的任一比特块、所述第二业务的比特块流所包括的任一比特块以及所述至少一个业务切换指示比特块中的任一业务切换指示比特块为M1/M2比特块,其中,M1表示每个比特块中的净荷比特数,M2表示每个比特块的总比特数,M1、M2为正整数,且M2>M1。
  19. 根据权利要求18所述的发送设备,其特征在于,所述发送器还用于获取所述第一业务的第一业务数据,对所述第一业务数据进行编码以生成所述第一业务的比特块流,获取所述第二业务的第二业务数据,对所述第二业务数据进行编码以生成所述第二业务的比特块流。
  20. 根据权利要求18或19所述的发送设备,其特征在于,若所述M1/M2比特块为64B/66B比特块,则所述业务切换指示比特块的数目为至少一个。
  21. 根据权利要求18或19所述的发送设备,其特征在于,若所述M1/M2比特块为8B/10B比特块,则所述业务切换指示比特块的数目为多个,且多个所述业务切换指示比特块包括至少一个特殊比特块以及至少一个数据比特块。
  22. 根据权利要求17至21任一项所述的发送设备,其特征在于,所述至少一个业务切换指示比特块还包括指示信息,所述指示信息用于指示发送给所述接收设备的所述第二业务的比特块流所包括的比特块数目。
  23. 根据权利要求17至22任一项所述的发送设备,其特征在于,所述复用器还用于,确定目标标识,所述目标标识为与所述第二业务对应的标识,生成所述至少一个业务切换指示比特块,所述至少一个业务切换指示比特块包括所述目标标识,所述目标标识用于指示所述接收设备将所述第二业务的比特块流存储至目标缓存区,所述目标缓存区为所述接收设备为所述目标标识所分配的缓存区。
  24. 根据权利要求17至23任一项所述的发送设备,其特征在于,所述复用器还用于,若判断出第一业务的比特块流和/或所述第二业务的比特块流中有空闲比特块,则将所述空闲比特块删除。
  25. 一种接收设备,其特征在于,包括:接收器以及与所述接收器连接的解复用器;
    所述接收器用于确定是否接收到发送设备发送的至少一个业务切换指示比特块,所述至少一个业务切换指示比特块用于指示所述发送设备由第一业务切换至第二业务进行业务 发送,所述第一业务的比特块流为在接收到所述至少一个业务切换指示比特块之前所接收到的比特块流;
    所述解复用器用于若确定接收到所述至少一个业务切换指示比特块,则确定在接收到所述至少一个业务切换指示比特块之后所接收的比特块流为所述第二业务的比特块流。
  26. 根据权利要求25所述的接收设备,其特征在于,所述第一业务的比特块流所包括的任一比特块、所述第二业务的比特块流所包括的任一比特块以及所述至少一个业务切换指示比特块中的任一业务切换指示比特块为M1/M2比特块,其中,M1表示每个比特块中的净荷比特数,M2表示每个比特块的总比特数,M1、M2为正整数,且M2>M1。
  27. 根据权利要求26所述的接收设备,其特征在于,
    所述接收器还用于,接收所述发送设备发送的所述第一业务的比特块流;
    所述解复用器还用于,对所述第一业务的比特块流进行解码以获取所述第一业务的第一业务数据;
    所述接收器还用于,接收所述发送设备发送的所述第二业务的比特块流;
    所述解复用器还用于,对所述第二业务的比特块流进行解码以获取所述第二业务的第一业务数据。
  28. 根据权利要求26或27所述的接收设备,其特征在于,若所述M1/M2比特块为64B/66B比特块,则所述业务切换指示比特块的数目为至少一个。
  29. 根据权利要求26或27所述的接收设备,其特征在于,若所述M1/M2比特块为8B/10B比特块,则所述业务切换指示比特块的数目为多个,且多个所述业务切换指示比特块包括至少一个特殊比特块以及至少一个数据比特块。
  30. 根据权利要求27至29任一项所述的接收设备,其特征在于,
    所述解复用器还用于,获取所述至少一个业务切换指示比特块所包括的指示信息,所述指示信息用于指示所述第二业务的比特块流所包括的比特块数目,根据所述指示信息确定所述第二业务的比特块流所包括的比特块数目。
  31. 根据权利要求25至30任一项所述的接收设备,其特征在于,
    所述解复用器还用于,获取所述至少一个业务切换指示比特块所包括的目标标识,其中,所述目标标识为与所述第二业务对应的标识,将所述第二业务的比特块流存储至目标缓存区,所述目标缓存区为所述接收设备为所述目标标识所分配的缓存区。
  32. 根据权利要求25至31任一项所述的接收设备,其特征在于,
    所述解复用器还用于,若判断出第一业务的比特块流和/或所述第二业务的比特块流中有空闲比特块,则将所述空闲比特块删除。
PCT/CN2018/092835 2017-08-08 2018-06-26 一种业务复用方法、业务解复用方法以及相关设备 WO2019029285A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2020507011A JP6992939B2 (ja) 2017-08-08 2018-06-26 サービス多重化方法、送信デバイス、及びネットワークデバイス
EP18843144.9A EP3661124B1 (en) 2017-08-08 2018-06-26 Service multiplexing method, service de-multiplexing method and related device
KR1020207006678A KR102323871B1 (ko) 2017-08-08 2018-06-26 서비스 다중화 방법, 서비스 역다중화 방법, 및 관련 장치
US16/785,139 US11349595B2 (en) 2017-08-08 2020-02-07 Service multiplexing method, service demultiplexing method, and related device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710671402.8 2017-08-08
CN201710671402.8A CN109379207A (zh) 2017-08-08 2017-08-08 一种业务复用方法、业务解复用方法以及相关设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/785,139 Continuation US11349595B2 (en) 2017-08-08 2020-02-07 Service multiplexing method, service demultiplexing method, and related device

Publications (1)

Publication Number Publication Date
WO2019029285A1 true WO2019029285A1 (zh) 2019-02-14

Family

ID=65272875

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/092835 WO2019029285A1 (zh) 2017-08-08 2018-06-26 一种业务复用方法、业务解复用方法以及相关设备

Country Status (6)

Country Link
US (1) US11349595B2 (zh)
EP (1) EP3661124B1 (zh)
JP (1) JP6992939B2 (zh)
KR (1) KR102323871B1 (zh)
CN (1) CN109379207A (zh)
WO (1) WO2019029285A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784418B (zh) * 2019-10-24 2022-06-24 烽火通信科技股份有限公司 一种基于时延约束的数据发送方法及系统
CN114095435A (zh) * 2020-07-31 2022-02-25 华为技术有限公司 比特块的发送方法及装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030123472A1 (en) * 2001-12-28 2003-07-03 Akara Corporation Method and apparatus for in-service dynamic allocation of bandwidth in a TDM network
CN103237339A (zh) * 2009-05-21 2013-08-07 华为技术有限公司 控制时隙的方法、设备及系统
CN106788855A (zh) * 2015-11-23 2017-05-31 华为技术有限公司 一种灵活以太网业务的光传送网承载方法及装置

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62227231A (ja) * 1986-03-28 1987-10-06 Nippon Telegr & Teleph Corp <Ntt> 優先情報伝送制御方式
JP4033152B2 (ja) * 2004-03-10 2008-01-16 Kddi株式会社 時分割多重装置及び方法
JP4984797B2 (ja) 2006-09-29 2012-07-25 富士通株式会社 光ネットワークシステム
US7839839B2 (en) 2008-10-13 2010-11-23 Applied Micro Circuits Corporation Differential inverse multiplexing virtual channels in 40G ethernet applications
US9125223B2 (en) * 2012-06-13 2015-09-01 Telefonaktiebolaget L M Ericsson (Publ) Methods providing buffer estimation and related network nodes and wireless terminals
ES2864660T3 (es) 2013-09-13 2021-10-14 Huawei Tech Co Ltd Método y aparato de transmisión de datos
CN105790883B (zh) 2014-12-22 2019-12-17 华为技术有限公司 一种处理信号的方法及通信设备
CN111147185A (zh) 2015-01-22 2020-05-12 华为技术有限公司 一种利用以太网信道传输业务信号的方法及通信设备
EP3713158B1 (en) * 2015-06-30 2022-02-09 Ciena Corporation Time transfer systems and methods over a stream of ethernet blocks
US9800361B2 (en) * 2015-06-30 2017-10-24 Ciena Corporation Flexible ethernet switching systems and methods
CN106411454B (zh) 2015-07-30 2019-10-25 华为技术有限公司 用于数据传输的方法、发送机和接收机
CN105516288B (zh) 2015-12-01 2019-05-21 盛科网络(苏州)有限公司 采用单根Serdes扩展物理接口的装置、其控制方法及控制系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030123472A1 (en) * 2001-12-28 2003-07-03 Akara Corporation Method and apparatus for in-service dynamic allocation of bandwidth in a TDM network
CN103237339A (zh) * 2009-05-21 2013-08-07 华为技术有限公司 控制时隙的方法、设备及系统
CN106788855A (zh) * 2015-11-23 2017-05-31 华为技术有限公司 一种灵活以太网业务的光传送网承载方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3661124A4

Also Published As

Publication number Publication date
EP3661124A1 (en) 2020-06-03
CN109379207A (zh) 2019-02-22
JP2020530959A (ja) 2020-10-29
US11349595B2 (en) 2022-05-31
EP3661124A4 (en) 2020-07-22
JP6992939B2 (ja) 2022-01-13
EP3661124B1 (en) 2023-12-20
KR20200033963A (ko) 2020-03-30
US20200177305A1 (en) 2020-06-04
KR102323871B1 (ko) 2021-11-08

Similar Documents

Publication Publication Date Title
US11736978B2 (en) Method and apparatus for receiving CPRI data stream, method and apparatus for receiving ethernet frame, and system
US8059681B2 (en) Method and apparatus for transmitting/receiving packet in mobile communication system
WO2019228428A1 (zh) 灵活以太网中调整传输通道的带宽方法和装置
DK2958393T3 (en) DISTRIBUTION OF BROADCAST / MULTICAST DATA IN TELECOMMUNICATION SYSTEMS
JP2005204316A (ja) 放送/通信融合信号の送受信システム及び送受信方法
EP1784936A2 (en) Message synchronization over a stochastic network
CN108631908B (zh) 使用FlexE承载信号帧的方法、FlexE信号帧还原的方法及装置
WO2008151543A1 (fr) Procédé de transmission en amont et en aval et équipement convergent
US8675870B2 (en) Encryption apparatus
US11349595B2 (en) Service multiplexing method, service demultiplexing method, and related device
US10848840B2 (en) Communication apparatus and signal relay method
WO2017206306A1 (zh) 一种数据帧发送、接收的方法和设备
US20220021472A1 (en) CPRI Data Block Transmission Method and Apparatus
US8391285B2 (en) Communication apparatus, communication system, and communication method
WO2022183875A1 (zh) 确定传输时隙的方法和相关装置
JP2010153955A (ja) 交換装置
JP5390632B2 (ja) 多数のipホストからのip多重化
JP7167345B2 (ja) データ伝送方法、通信機器、および記憶媒体
KR101341752B1 (ko) 이동 통신 시스템에서 블라인드 디코딩 방법 및 장치
CN118055076A (zh) 一种报文处理方法、信息处理方法及装置
CN117938738A (zh) 一种通信方法及装置
WO2001008419A1 (en) Statistical multiplexing utilizing ring network for in-band control
WO2012131444A1 (en) Method and system to enhance management channels

Legal Events

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

Ref document number: 18843144

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020507011

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2018843144

Country of ref document: EP

Effective date: 20200225

Ref document number: 20207006678

Country of ref document: KR

Kind code of ref document: A