WO2022042743A1 - 数据传输方法和装置、电子设备、计算机可读介质 - Google Patents
数据传输方法和装置、电子设备、计算机可读介质 Download PDFInfo
- Publication number
- WO2022042743A1 WO2022042743A1 PCT/CN2021/115664 CN2021115664W WO2022042743A1 WO 2022042743 A1 WO2022042743 A1 WO 2022042743A1 CN 2021115664 W CN2021115664 W CN 2021115664W WO 2022042743 A1 WO2022042743 A1 WO 2022042743A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- channel
- time slot
- overhead
- data transmission
- Prior art date
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 96
- 238000000034 method Methods 0.000 title claims abstract description 39
- 239000002245 particle Substances 0.000 claims description 45
- 230000004048 modification Effects 0.000 claims description 14
- 238000012986 modification Methods 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 13
- 238000004891 communication Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 9
- 238000012545 processing Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 239000002699 waste material Substances 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000007723 transport mechanism Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L5/00—Arrangements affording multiple use of the transmission path
- H04L5/003—Arrangements for allocating sub-channels of the transmission path
- H04L5/0037—Inter-user or inter-terminal allocation
Definitions
- the embodiments of the present disclosure relate to the field of communication technologies, and in particular, to a data transmission method and apparatus, an electronic device, and a computer-readable medium.
- An embodiment of the present disclosure provides a data transmission method, including: establishing at least one data transmission channel based on a flexible Ethernet protocol between a data sending end and a data receiving end, where each data transmission channel in the at least one data transmission channel includes the same number of timeslot sub-channels, each of which has the same maximum data carrying capacity; dividing at least one timeslot sub-channel into a plurality of small-grain channels; and passing the small-grain channel and the timeslot sub-channels A channel transmits data from the data sender to the data receiver.
- An embodiment of the present disclosure provides an apparatus for data transmission, including: an initial module configured to establish at least one data transmission channel between a data sending end and a data receiving end based on a flexible Ethernet protocol, wherein the at least one data transmission channel Each data transmission channel includes the same number of time-slot sub-channels, and each time-slot sub-channel has the same maximum data carrying capacity; a division module for dividing at least one time-slot sub-channel into a plurality of small particle channels; and transmission a module, configured to transmit data from the data sending end to the data receiving end through the small particle channel and the time slot sub-channel.
- Embodiments of the present disclosure provide an electronic device, including: one or more processors; and a memory on which one or more programs are stored, when the one or more programs are executed by the one or more processors , so that the one or more processors implement the data transmission method according to the present disclosure.
- An embodiment of the present disclosure provides a computer-readable medium on which a computer program is stored, and when the computer program is executed by a processor, implements the data transmission method according to the present disclosure.
- FIG. 1 is a flowchart of a data transmission method according to an embodiment of the present disclosure
- FIG. 3 is a schematic diagram of a data transmission method according to an embodiment of the present disclosure.
- FIG. 4 is a schematic diagram of data transmission according to a data transmission method according to an embodiment of the present disclosure
- FIG. 5 is a schematic diagram of step S102 of the data transmission method according to an embodiment of the present disclosure.
- FIG. 6 is a schematic diagram illustrating the relationship between an overhead block and a time slot sub-channel of a data transmission method according to an embodiment of the present disclosure
- FIG. 7 is a schematic diagram illustrating the relationship between a period in which a granularity adjustment synchronization identifier is a predetermined value and an overhead frame period in a data transmission method according to an embodiment of the present disclosure
- FIG. 8 is a schematic diagram of the relationship between a granularity adjustment synchronization identifier and a C-bit signal in a data transmission method according to an embodiment of the present disclosure
- FIG. 9 is a schematic diagram of an overhead frame extension of a data transmission method according to an embodiment of the present disclosure.
- FIG. 10 is a block diagram showing the composition of an apparatus for data transmission according to an embodiment of the present disclosure.
- FIG. 11 is a block diagram of an electronic device according to an embodiment of the present disclosure.
- FIG. 12 is a block diagram of the composition of a computer-readable medium according to an embodiment of the present disclosure.
- Embodiments of the present disclosure are not limited to the embodiments shown in the drawings, but include modifications of configurations formed based on manufacturing processes.
- the regions illustrated in the figures have schematic properties and the shapes of regions illustrated in the figures are illustrative of the specific shapes of regions of elements and are not intended to be limiting.
- both the data sending end and the data receiving end are connected to multiple flexible Ethernet clients (FlexE Clients), and the bandwidth of each FlexE Client (ie, various user interfaces of the network) can be flexibly configured according to bandwidth requirements (such as 10G, 40G , n*25G), the Ethernet frames in the Ethernet MAC data streams of different rates of different FlexE Clients connected to the data sender are divided in units of data blocks (such as 64/66B encoded data blocks), and transmitted to Flex Shim layer.
- Flexible Ethernet clients ie, various user interfaces of the network
- bandwidth requirements such as 10G, 40G , n*25G
- the Ethernet frames in the Ethernet MAC data streams of different rates of different FlexE Clients connected to the data sender are divided in units of data blocks (such as 64/66B encoded data blocks), and transmitted to Flex Shim layer.
- the FlexE Shim layer divides each 100 Gigabit Ethernet (Gigabit Ethernet, GE) PHY in the FlexE group (FlexE Group, that is, various Ethernet PHY layers defined by the IEEE 802.3 standard) into 20 timeslots by time division. Channels (there may be multiple 100GE PHYs in a FlexE Group), and each slot sub-channel corresponds to a bandwidth of 5Gbps. Therefore, the Ethernet MAC data stream of each FlexE Client connected to the data sender can be segmented in units of 5Gbps, and each 5Gbps data block obtained is transmitted through a time slot sub-channel. For example, the 20Gbps Ethernet MAC data flow of the FlexE Client can be divided into four 5Gbps data blocks, and each 5Gbps data block is carried and transmitted through a time slot sub-channel.
- GE Gigabit Ethernet
- the FlexE Shim layer converts the different bandwidths of different FlexE Clients connected to the data sender into a combination of 5Gbps, so that the Ethernet MAC data streams of different FlexE Clients can be transmitted on the 100GE PHY, and data transmission becomes more flexible.
- consecutive 5 timeslot sub-channels can be "bonded” together using the bouding technology to "become” a "large channel” with a corresponding bandwidth of 25Gbps.
- Some FlexE with a larger bandwidth The client's Ethernet MAC data stream can be transmitted through these "big channels”.
- the bandwidth of the network may be less than 5Gbps, and the flexible Ethernet technology can only transmit data in units of 5Gbps. That is to say, although the bandwidth of these networks is less than 5Gbps, it needs to occupy a time slot sub-channel, which causes the network The waste of bandwidth reduces the utilization of network bandwidth.
- the Ethernet MAC data stream bandwidth of Client A, Client B, Client C, Client D, and Client E is 1Gbps. Since each time slot sub-channel can only carry and transmit data blocks from one FlexE Client, so , the data blocks of customer A, customer B, customer C, customer D, and customer E must be carried in different time slot sub-channels. Although the maximum carrying capacity of the time slot sub-channel is 5Gbps, it only carries data blocks of 1Gbps. A. Customer B, Customer C, Customer D, and Customer E have a total of 5Gbps data blocks, but 5 timeslot sub-channels are required to carry them, and the utilization rate of network bandwidth is greatly reduced.
- FIG. 1 is a flowchart of a data transmission method according to an embodiment of the present disclosure.
- the data transmission method provided by the embodiment of the present disclosure includes steps S101 to S103.
- step S101 at least one data transmission channel is established between the data transmitting end and the data receiving end based on the flexible Ethernet protocol, each data transmission channel includes the same number of time slot sub-channels, and each time slot sub-channel has the same maximum data carrying capacity.
- the network server (for example, the communication interface chip) is based on the flexible Ethernet protocol. According to the total bandwidth of the data sending end (that is, the sum of the bandwidths of all FlexE Clients on the data sending end), one or more FlexE Clients are established between the data sending end and the data receiving end.
- Each data transmission channel is a 100GE PHY, which includes a fixed number (ie, 20) of time-slot sub-channels, and the corresponding bandwidth of each time-slot sub-channel is 5Gbps, that is, its maximum data carrying capacity is 5Gbps.
- the data sender refers to the edge device (Provider Edge, PE) node of the service provider backbone network in the network.
- Multiple FlexE Clients access the network through one PE node (that is, one PE node connects to multiple FlexE Clients). These FlexE Clients connect to the network through one PE node.
- the Ethernet MAC data flow of the Client reaches the data sending end (ie, a PE node) after processing, and finally reaches the data receiving end (ie, another PE node) after passing through the intermediate node.
- the data receiving end restores the data to the Ethernet MAC data stream and sends it to the FlexE Client connected to the data receiving end, thereby realizing data transmission (or end-to-end data transmission) between the FlexE Client and the FlexE Client.
- step S102 at least one time slot sub-channel is divided into a plurality of small particle channels.
- the network server may divide at least one time slot sub-channel in at least one data transmission channel according to its data carrying capacity, for example, equally divide it into multiple small particle channels, that is, divide the time slot sub-channel into multiple
- the channels with the same maximum data bearing capacity, the channels with the same maximum data bearing capacity obtained by these divisions are the small particle channels described in the present disclosure.
- a time slot sub-channel may be divided into small particle channels to transmit data, or data may be directly transmitted without division.
- all time slot sub-channels can also be divided into small-granular channels to transmit data.
- the resources occupied will also increase. Therefore, it is necessary to balance the relationship between the number of small particle channels and the resources occupied.
- Different time slot sub-channels can be divided into different numbers of small particle channels to obtain small particle channels with different maximum data carrying capacity. As shown in FIG. 5 , dividing a certain time slot sub-channel S3 into 4 equal parts can obtain 4 small particle channels SS0, SS1, SS2, SS3 with a maximum data carrying capacity of 1.25 Gbps; another time slot sub-channel S5 is divided into four By dividing into 5 equal parts, 5 small particle channels SS0, SS1, SS2, SS3, and SS4 with a maximum data carrying capacity of 1 Gbps can be obtained.
- multiple small particle channels of the same time slot subchannel can also be “bonded” together by bonding technology. For example, after two 1.25Gbps small particle channels are “bonded” together, Then it can “become” a "large particle channel” with a bandwidth of 2.5Gbps to carry and transmit 2.5Gbps data blocks.
- step S103 data is transmitted from the data sending end to the data receiving end through the small particle channel and the time slot sub-channel.
- the network server divides the data (that is, the Ethernet MAC data stream) in units of data blocks (for example, 64/66B encoded data blocks) to obtain each data block, and divides the data into each data block through the small particle channel and the time slot sub-channel.
- the obtained data block is transmitted to the data receiving end.
- a data transmission channel including a plurality of time slot sub-channels is established at the data sending end and the data receiving end, and the time slot sub-channels are further divided into small particle channels with smaller bandwidths, each Small-granularity channels can carry and transmit data from different FlexE Clients, which is equivalent to a time slot sub-channel can carry and transmit data from different FlexE Clients, so that FlexE Clients with smaller bandwidth can be "merged" in a time slot sub-channel.
- the transmission reduces the waste of network bandwidth and improves the utilization rate of network bandwidth.
- the step of dividing at least one time slot sub-channel into a plurality of small particle channels may include step S1021: dividing the time slot sub-channels at predetermined positions of the data transmission channel , divided into multiple small particle channels.
- the data sending end and the data receiving end may determine, through negotiation or the like, which time slot sub-channel at which position or locations in the data transmission channel is to be divided. For example, the configuration can be performed on the data sending end device and the data receiving end device, and the configuration information of the data sending end and the data receiving end can be kept consistent.
- the time slot sub-channel at the predetermined position is divided into a plurality of small particle channels according to the configuration information of the data transmitting end and the data receiving end.
- the data sender and the data receiver negotiate before data transmission to reduce the occupation of transmission resources during the transmission process; at the same time, the data receiver can directly determine which FlexE the received data comes from according to its own local configuration after receiving the data Client, in order to distribute data to the FlexE Client that connects with itself.
- step S1030 may be further included: dividing the data into multiple data blocks.
- Step S103 may include step S1031: use the time slot sub-channel to transmit data blocks whose size is greater than the second data carrying capacity and less than or equal to the first data carrying capacity, and use the small particle channel to transmit data whose size is less than or equal to the second data carrying capacity Piece.
- the first data bearing capacity is the maximum data bearing capacity of the time slot sub-channel
- the second data bearing capacity is the maximum data bearing capacity of the small particle channel.
- the Ethernet MAC data streams of multiple FlexE Clients at the data sending end are divided into multiple data blocks, and the size of each data block does not exceed the maximum data carrying capacity of the time slot sub-channel (ie, 5Gbps).
- the data blocks from the same FlexE Client can be carried and transmitted using a time slot subchannel or a small particle channel.
- Data blocks whose size exceeds the maximum data carrying capacity of the small-grain channel can be transmitted using undivided time-slot sub-channels; and data blocks whose size is less than or equal to the maximum data carrying capacity of the small-grain channel can be transmitted using the small-grain channel.
- the transmission of data blocks smaller than or equal to the second data carrying capacity through the small particle channel is equivalent to using a 5Gbps timeslot sub-channel to transmit data blocks from different FlexE Clients, which reduces the actual network bandwidth occupied by data blocks smaller than 5Gbps. Improve the utilization of network bandwidth.
- Ethernet MAC data stream bandwidth of customer A, customer B, customer C, customer D, and customer E is all 1Gbps. Since a time slot sub-channel is divided into small particle channels, each small particle channel can carry And transmit the data blocks from a FlexE Client, therefore, the data blocks of Client A, Client B, Client C, Client D, Client E can be carried in different small particle channels. Referring to FIG.
- the data blocks of client A, client B, client C, client D, and client E can be sequentially carried on the second slot sub-channel in the 20 slot sub-channels, that is, the data of 5 FlexE Clients Blocks can be transmitted through a slot sub-channel, which is equivalent to this slot sub-channel (ie, the 2nd slot sub-channel of 20 slot sub-channels) with a maximum carrying capacity of 5 Gbps, and actually also carries 5 Gbps. Data blocks, the utilization of network bandwidth is very high.
- the data blocks of customer A, customer B, customer C, customer D, and customer E total 5 Gbps, which need to be carried by 5 different time-slot sub-channels, or the same time slot
- the slot sub-channel can only carry the data block of one FlexE Client, and the utilization rate of the network bandwidth is greatly reduced.
- the actual bandwidth of the network is very flexible and can adapt to various network bandwidth requirements.
- a 5Gbps timeslot sub-channel carries N FlexE Client service data
- the service bandwidth of each FlexE Client is 5/N Gbps.
- the required network bandwidth is 3.75Gbps, only one timeslot sub-channel needs to be occupied.
- Channel 4 aliquots 3 out of 4 small particle channels.
- step S103 may further include step S1032: sending an overhead block to the data receiving end through a data transmission channel every predetermined time, a plurality of consecutive overhead blocks form an overhead frame, and each overhead frame Carrying overhead information, the overhead information includes the position of the time slot sub-channel for transmitting the data block in the data transmission channel.
- 20 time slot sub-channels are a logical unit, and 1023 such logical units are a Calendar component.
- the Calendar component cyclically transmits data blocks from the FlexE Client on the data sending end to the FlexE Client on the data receiving end.
- the FlexE Shim layer supports the transfer of configuration and management information between the FlexE Clients connected to the data sender and the data receiver through the Overhead Frame and Overhead MultiFrame to realize the establishment of automatic link negotiation.
- Different numbers of data transmission channels are established between the data sender and the data receiver, and the relationship between the overhead frame and the overhead multiframe is different.
- one data transmission channel ie, 100GE PHY
- one overhead complex The frame has 32 overhead frames; 2 data transmission channels (ie, 200GE PHY), 2 overhead multiframes are a set of overhead multiframes; 400GE PHY, 4 overhead multiframes are a set of overhead multiframes; 800GE PHY, 8 An overhead multiframe is a set of overhead multiframes. If the time slot sub-channel of 100GE PHY only carries and transmits 50Gbps data, 16 overhead frames form an overhead multiframe; and so on, 25Gbps consists of 8 overhead frames to form an overhead multiframe.
- an overhead multiframe has 32 overhead frames (also called OH overhead frames), and an overhead frame consists of 8 overhead time slots (Overhead Slots) (that is, overhead block) composition.
- Overhead Slots 8 overhead time slots
- the essence of an overhead slot is a 66-bit 64/66B encoded data block, which occurs every 1023 logical units, and each overhead slot contains a different field, that is, an overhead frame The information carried by each overhead slot in is different.
- the first overhead slot (or overhead block) contains information such as the control character of "0x4B" and the "O Code” character of "0x5".
- the first overhead frame is determined by matching the control character and the "O Code” character, thereby establishing a management information channel independent of the data transmission channel between the two, realizing the connection between the connected FlexE Client Pre-negotiation and handshake of configuration information are performed between them.
- Bits 1 to 32 of the third overhead slot of the overhead frame are used to perform bandwidth adjustment and restore calendar information (ie, calendar A and calendar B) of the Ethernet MAC data stream.
- Calendar table A and calendar table B both reflect the mapping relationship between the FlexE Client of the data sender and the FlexE Group, that is, the position in the data transmission channel of the time slot sub-channel used for data block transmission corresponding to the FlexE Client of the data sender.
- Calendar table A is the table in use.
- the data receiving end can restore the received data block according to calendar table A, and restore it to the Ethernet MAC data stream, while calendar table B is a spare table, which is used for bandwidth analysis. Adjustment.
- the network server modifies the overhead frame sent to the data receiving end CR field of the handover request signal, and notify the data sender that the CR field of the overhead frame has been modified; when the data receiver finds that the CR field of the received overhead frame has changed, it can send a response signal CA to the data sender.
- the terminal receives the notification that the CR field has been modified, and then receives the corresponding signal CA, and notifies the network server, and the network server modifies the C bit field of the first three overhead time slots of the next overhead frame.
- the network server When the C-bit field changes, the network server will switch the calendar table in the next overhead frame after the overhead frame whose C-bit field is changed. The switching of the calendar table will be performed in the next overhead frame after the overhead frame in which the C bit field is changed, that is, the received data block is restored to the Ethernet MAC data stream according to the switched calendar table.
- the overhead information carried in the overhead frame further includes a granularity adjustment synchronization identifier SY (see the 34th bit of the second overhead time slot shown in FIG. 9 ), so as to realize data synchronization.
- the granularity adjustment synchronization identifier SY is used to identify whether to modify the overhead information according to the modification request.
- the granularity adjustment synchronization identifier SY indicates that the overhead information is modified according to the modification request, and the modification request sent by the data sender is received, the overhead information is modified according to the modification request, and the modification request is to modify the time slot sub-channel of the transmission data block in the data transmission channel. in the location request.
- the granularity adjustment synchronization identifier SY is used to identify whether the position of the time slot sub-channel of the transmission data block in the data transmission channel can be modified.
- the network server when it is necessary to replace the currently used calendar table, and has been negotiated by the data sender and the data receiver (that is, the network server has received the notification that the data sender has received the CR field has been modified, and then also received the corresponding Signal CA notification), when the network server needs to modify the C bit field of the first three overhead time slots of the next overhead frame, only when the granularity adjustment synchronization flag SY is a predetermined value, it indicates that the data has been Synchronization, the C bit field can be modified, and the calendar table switch can be performed in the next overhead frame after the C bit field changed overhead frame (because the data has been synchronized at this time, the calendar table A and the calendar table B are exchanged. does not affect the small particle channel).
- the network server When the C-bit field changes, the network server will switch the calendar table in the next overhead frame after the overhead frame whose C-bit field is changed, that is, the data of the data sender is carried according to the switched calendar table; the data receiver also The switching of the calendar table will be performed in the next overhead frame after the overhead frame in which the C bit field is changed, that is, the received data block is restored to the Ethernet MAC data stream according to the switched calendar table.
- the overhead block carries the granularity adjustment synchronization identifier SY
- the granularity adjustment synchronization mark SY is a predetermined value (that is, the granularity adjustment synchronization mark SY is a predetermined value, and the C bit modifies the next change after the overhead frame).
- the data synchronization between the data sender and the data receiver can be completed.
- the granularity adjustment synchronization identifier SY is a predetermined reserved field in the overhead frame.
- the 34th bit (ie, the SY flag signal) of the second overhead slot is a reserved field.
- the 34th bit of the second overhead time slot (other reserved fields can also be used of course) is used to carry the granularity adjustment synchronization identifier SY.
- the value of the granularity adjustment synchronization flag SY is 1, it means that the overhead information is modified according to the modification request. Therefore, other overhead information may not be affected, and the granularity adjustment synchronization identifier SY is also easy to obtain, so that the method of the embodiment of the present disclosure has higher compatibility.
- the data blocks in the same row are different overhead blocks in the same overhead frame, and the data blocks in different rows are different overhead frames; the numbers in the data blocks are the corresponding service sequence numbers, corresponding to the time slot sub-channels, with The number of small-grained channels divided by time slot sub-channels appears periodically.
- the service sequence number appears periodically by 5, that is, Corresponding to the data block service sequence number of the first row and second column on the left of Figure 7 is 3, the data block service sequence number of the first row and third column is 1 (because there are 1023 divided time slot sub-channels in the middle), the first row The service sequence number of the data block in the four columns is 4, and so on.
- the service sequence number of the data block in the second row and the first column (that is, the first overhead block of the next overhead frame) is 4, so that in the sixth overhead frame ( That is, the service sequence number of the first overhead block of the overhead frame 5) is 0 again.
- the granularity adjustment synchronization indicator SY can be a predetermined value, that is, the granularity adjustment synchronization indicator SY is a period t of a predetermined value. is 5.
- the service sequence number appears in a period of 4, that is, the service sequence number of the data block corresponding to the first row and second column on the right side of FIG. 7 . is 3, the data block service sequence number in the first row and the third column is 2 (because there are 1023 divided time slot sub-channels in the middle), the data block service sequence number in the first row and the fourth column is 1, and so on, the second The service sequence number of the data block in the first column of the row (that is, the first overhead block of the next overhead frame) is 0, that is, the service sequence number of the first overhead block in the second overhead frame is 0 again.
- the granularity adjustment synchronization flag SY can be a predetermined value, that is to say, the period t in which the granularity adjustment synchronization flag SY is a predetermined value is 1.
- the period t for which the granularity adjustment synchronization flag SY is a predetermined value must satisfy: 1023*8*t is an integer multiple of the divided shares of all the time slot subchannels If the minimum positive integer value cannot be satisfied, the calendar table will not be exchanged at the data synchronization boundary, resulting in packet loss.
- the period t should be such that t*1023*8 can be simultaneously divided into 5 and The smallest positive integer that is divisible by 4, that is, t is 5. If only t*1023*8 can be divisible by 4, packets will be lost in the time slot sub-channels divided into 5, resulting in information loss.
- overhead frames may be generated by a programmable logic controller.
- an overhead frame may be generated by a programmable logic controller (Field Programmable Gate Array, FPGA), and the FPGA is responsible for modifying the overhead frame and sending it to a network server (for example, a communication interface chip), and the communication interface After receiving the overhead frame sent by the FPGA, the chip sends the overhead frame through the data transmission channel.
- a programmable logic controller Field Programmable Gate Array, FPGA
- FPGA Field Programmable Gate Array
- the FPGA can modify the reserved field of the overhead frame (for example, the 34th bit of the second overhead slot) according to the calculated period, so that different overhead frames can carry different granularity adjustment synchronization identifiers; of course, for Modifying the CR field, C bits, etc. can also be done by the FPGA.
- the combination of FPGA and communication interface chip is more flexible.
- the FPGA modifies the overhead frame, and the communication interface chip transmits the overhead frame, dividing and cooperating to avoid work conflicts.
- FIG. 10 is a block diagram showing the composition of a data transmission apparatus according to an embodiment of the present disclosure.
- an apparatus for providing data transmission includes an initial module, a division module, and a transmission module.
- the initial module is used to establish at least one data transmission channel based on the flexible Ethernet protocol between the data sending end and the data receiving end, each data transmission channel includes the same number of time slot sub-channels, and each time slot sub-channel has the same maximum data carrying capacity.
- the dividing module is used to divide the at least one time slot sub-channel into a plurality of small particle channels.
- the transmission module is used to transmit data from the data sending end to the data receiving end through the small particle channel and the time slot sub-channel.
- FIG. 11 is a block diagram of an electronic device according to an embodiment of the present disclosure.
- an electronic device provided by an embodiment of the present disclosure includes: one or more processors; and a memory on which one or more programs are stored, when the one or more programs are executed by the one or more processors, so that One or more processors implement data transmission methods according to various embodiments of the present disclosure.
- a processor is a device with data processing capability, including but not limited to a central processing unit (CPU), etc.; a memory is a device with data storage capability, including but not limited to random access memory (RAM, more specifically such as SDRAM, DDR, etc.) etc.), read-only memory (ROM), electrified erasable programmable read-only memory (EEPROM), flash memory (FLASH).
- RAM random access memory
- ROM read-only memory
- EEPROM electrified erasable programmable read-only memory
- FLASH flash memory
- FIG. 12 is a block diagram of the composition of a computer-readable medium according to an embodiment of the present disclosure.
- an embodiment of the present disclosure provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, implements the data transmission method according to each embodiment of the present disclosure.
- the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of several physical components Components execute cooperatively.
- Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit (CPU), digital signal processor or microprocessor, or as hardware, or as an integrated circuit such as Application-specific integrated circuits.
- a processor such as a central processing unit (CPU), digital signal processor or microprocessor, or as hardware, or as an integrated circuit such as Application-specific integrated circuits.
- Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
- computer storage media includes both volatile and nonvolatile implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data flexible, removable and non-removable media.
- Computer storage media include, but are not limited to, random access memory (RAM, more specifically SDRAM, DDR, etc.), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), flash memory (FLASH), or other disk storage ; compact disk-read only (CD-ROM), digital versatile disk (DVD), or other optical disk storage; magnetic cartridge, tape, magnetic disk storage, or other magnetic storage; any other storage that can be used to store desired information and that can be accessed by a computer medium.
- communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and can include any information delivery media, as is well known to those of ordinary skill in the art .
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Time-Division Multiplex Systems (AREA)
Abstract
本公开实施例提供了一种数据传输方法,包括:在数据发送端和数据接收端之间基于灵活以太网协议建立至少一个数据传输通道,每个数据传输通道包括相同数量的时隙子通道,每个时隙子通道具有相同的最大数据承载量;将至少一个时隙子通道划分为多个小颗粒通道;以及通过小颗粒通道和时隙子通道将数据从数据发送端传输至数据接收端。本公开实施例还提供了一种数据传输的装置、电子设备和计算机可读介质。
Description
本公开实施例涉及通信技术领域,具体地涉及一种数据传输方法和装置、电子设备、计算机可读介质。
随着云计算、视频以及移动通信等业务的兴起,灵活以太网技术(Flex Ethernet,FlexE)应运而生。
但随着通信网络的应用越来越丰富,出现了越来越多的高价值的小带宽业务,而使用现有的FlexE网络分片技术传输这些高价值的小带宽业务的业务数据,可能会造成网络带宽的浪费。
发明内容
本公开实施例提供一种数据传输方法,包括:在数据发送端和数据接收端之间基于灵活以太网协议建立至少一个数据传输通道,所述至少一个数据传输通道中的每个数据传输通道包括相同数量的时隙子通道,每个时隙子通道具有相同的最大数据承载量;将至少一个时隙子通道划分为多个小颗粒通道;以及通过所述小颗粒通道和所述时隙子通道将数据从所述数据发送端传输至所述数据接收端。
本公开实施例提供一种数据传输的装置,包括:初始模块,用于在数据发送端和数据接收端之间基于灵活以太网协议建立至少一个数据传输通道,所述至少一个数据传输通道中的每个数据传输通道包括相同数量的时隙子通道,每个时隙子通道具有相同的最大数据承载量;划分模块,用于将至少一个时隙子通道划分为多个小颗粒通道;以及传输模块,用于通过所述小颗粒通道和所述时隙子通道将数据从所述数据发送端传输至所述数据接收端。
本公开实施例提供一种电子设备,包括:一个或多个处理器;以及存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现根据本 公开的数据传输方法。
本公开实施例提供一种计算机可读介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现根据本公开的数据传输方法。
在本公开实施例的附图中:
图1为根据本公开实施例的数据传输方法的流程图;
图2为根据本公开实施例的数据传输方法的另一流程图;
图3为根据本公开实施例的数据传输方法的示意图;
图4为根据本公开实施例的数据传输方法传输数据的示意图;
图5为根据本公开实施例的数据传输方法的步骤S102的示意图;
图6为根据本公开实施例的数据传输方法的开销块与时隙子通道的关系示意图;
图7为根据本公开实施例的数据传输方法的颗粒度调整同步标识为预定值的周期与开销帧周期的关系示意图;
图8为根据本公开实施例的数据传输方法的颗粒度调整同步标识与C比特信号的关系示意图;
图9为根据本公开实施例的数据传输方法的开销帧扩展示意图;
图10为根据本公开实施例的数据传输的装置的组成框图;
图11为根据本公开实施例的电子设备的组成框图;以及
图12为根据本公开实施例的计算机可读介质的组成框图。
为使本领域的技术人员更好地理解本公开实施例的技术方案,下面结合附图对本公开实施例提供的数据传输方法和装置、电子设备、计算机可读介质进行详细描述。
在下文中将参考附图更充分地描述本公开实施例,但是所示的实施例可以以不同形式来体现,且不应当被解释为限于本公开阐述的实施例。提供这些实施例的目的在于使本公开透彻和完整,并将使本领域技术人员充分理解本公开的范围。
本公开实施例的附图用来提供对本公开实施例的进一步理解,并且构成说明书的一部分,与本公开实施例一起用于解释本公开,并不构成对本公开的限制。通过参考附图对详细示例实施例进行描述,以上和其他特征和优点对本领域技术人员将变得更加显而易见,
在不冲突的情况下,本公开各实施例及实施例中的各特征可相互组合。
本公开所使用的术语仅用于描述特定实施例,且不意欲限制本公开。如本公开所使用的术语“和/或”包括一个或多个相关列举条目的任何和所有组合。如本公开所使用的单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。如本公开所使用的术语“包括”、“由……制成”,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加一个或多个其他特征、整体、步骤、操作、元件、组件和/或其群组。
除非另外限定,否则本公开所用的所有术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本公开明确如此限定。
本公开实施例不限于附图中所示的实施例,而是包括基于制造工艺而形成的配置的修改。因此,附图中例示的区具有示意性属性,并且图中所示区的形状例示了元件的区的具体形状,但并不是旨在限制性的。
在相关技术中,参照图3,灵活以太网技术在传统以太网架构的基础上,引入了Flex衬层(FlexE Shim),实现了介质访问控制子层(MAC)和物理层(PHY)的“解耦”。
具体地,数据发送端和数据接收端都对接多个灵活以太网客户(FlexE Client),每个FlexE Client(即,网络的各种用户接口)的带宽可根据带宽需求灵活配置(如10G、40G、n*25G),数据发送端对接的不同FlexE Client的不同速率的以太网MAC数据流中的以太网帧以数据块(如64/66B编码的数据块)为单位进行切分,并传 递至Flex Shim层。
FlexE Shim层通过时分的方式,把FlexE组(FlexE Group,即IEEE 802.3标准定义的各种以太网PHY层)中每个100千兆以太网(Gigabit Ethernet,GE)PHY划分为20个时隙子通道(FlexE Group中可能有多个100GE PHY),每个时隙子通道对应的带宽为5Gbps。因此,数据发送端对接的每个FlexE Client的以太网MAC数据流可以以5Gbps为单位进行切分,得到的每个5Gbps数据块通过一个时隙子通道进行传输。例如,FlexE Client的20Gbps的以太网MAC数据流,可以切分为4个5Gbps的数据块,每个5Gbps的数据块通过一个时隙子通道承载并传输。
也就是说,FlexE Shim层将数据发送端对接的不同FlexE Client的不同带宽都转化为5Gbps的组合,这样不同FlexE Client的以太网MAC数据流可以在100GE PHY上传输,数据传输变得更加灵活。
在一些相关技术中,连续的5个时隙子通道可以使用绑定(bouding)技术“绑定”在一起,“变成”一个对应带宽为25Gbps的“大通道”,一些带宽较大的FlexE Client的以太网MAC数据流可以通过这些“大通道”进行传输。
但随着移动网络应用越来越丰富,不同应用(或者说不同的业务)在移动性、带宽、时延、可靠性、安全性、网络成本等网络性能方面的要求存在着巨大差异,一些专用网络的带宽可能小于5Gbps,而灵活以太网技术只能以5Gbps为单位对数据进行传输,也就是说,这些网络的带宽虽然不到5Gbps,但让需要占用一个时隙子通道,这造成了网络带宽的浪费,降低了网络带宽的利用率。
例如,存在客户A、客户B、客户C、客户D、客户E的以太网MAC数据流带宽都为1Gbps,由于每一个时隙子通道只能承载并传输来自来一个FlexE Client的数据块,因此,客户A、客户B、客户C、客户D、客户E的数据块必须承载在不同的时隙子通道中,时隙子通道最大承载量虽然为5Gbps,却只承载了1Gbps的数据块,客户A、客户B、客户C、客户D、客户E一共5Gbps的数据块,却需要5个时隙子通道承载,网络带宽的利用率被大大降低。
图1为根据本公开实施例的数据传输方法的流程图。
参照图1,本公开实施例提供的数据传输方法包括步骤S101至S103。
在步骤S101,在数据发送端和数据接收端之间基于灵活以太网协议建立至少一个数据传输通道,每个数据传输通道包括相同数量的时隙子通道,每个时隙子通道具有相同的最大数据承载量。
网络服务器(例如,通信接口芯片)基于灵活以太网协议,根据数据发送端的总带宽(即,数据发送端的所有FlexE Client的带宽之和),在数据发送端与数据接收端之间建立一个或多个数据传输通道,每个数据传输通道是100GE PHY,其包括固定数量(即,20个)的时隙子通道,每个时隙子通道对应的带宽为5Gbps,即,其最大数据承载量为5Gbps。
数据发送端是指网络中的服务提供商骨干网的边缘设备(Provider Edge,PE)节点,多个FlexE Client通过一个PE节点接入网络(即,一个PE节点对接多个FlexE Client),这些FlexE Client的以太网MAC数据流经过处理达到数据发送端(即,一个PE节点),并经过中间节点之后最终达到数据接收端(即,另一个PE节点)。数据接收端将这些数据恢复为以太网MAC数据流并发送至与数据接收端连接的FlexE Client,从而实现FlexE Client与FlexE Client之间的数据传输(或者说端到端的数据传输)。
在步骤S102,将至少一个时隙子通道划分为多个小颗粒通道。
根据需求,网络服务器可以将至少一个数据传输通道中的至少一个时隙子通道根据其数据承载量进行划分,例如,等分为多个小颗粒通道,即,将时隙子通道划分为多个最大数据承载量相同的通道,这些划分得到的最大数据承载量相同的通道即为本公开所述的小颗粒通道。
可以将一个时隙子通道划分为小颗粒通道来传输数据,也可以不划分直接传输数据。当然,也可以将所有时隙子通道都划分为小颗粒通道来传输数据,随着承载的不同FlexE Client的数据块数量的增加,占用的资源也会增多。因此,需要平衡小颗粒通道的数量和占 用的资源的关系。
不同的时隙子通道可以划分为不同数量的小颗粒通道,得到不同最大数据承载量的小颗粒通道。如参照图5,将某一个时隙子通道S3进行4等分,可以得到4个最大数据承载量为1.25Gbps的小颗粒通道SS0、SS1、SS2、SS3;将另一个时隙子通道S5进行5等分,可以得到5个最大数据承载量为1Gbps的小颗粒通道SS0、SS1、SS2、SS3、SS4。
与时隙子通道类似,同一个时隙子通道的多个小颗粒通道也可以通过绑定技术“绑定”在一起,例如,两个1.25Gbps的小颗粒通道“绑定”在一起后,则可以“变成”一个带宽为2.5Gbps的“大颗粒通道”,以承载并传输2.5Gbps的数据块。
在步骤S103,通过小颗粒通道和时隙子通道将数据从数据发送端传输至数据接收端。
网络服务器对数据(即,以太网MAC数据流)以数据块(例如,64/66B编码的数据块)为单位进行切分,以得到各个数据块,并通过小颗粒通道和时隙子通道将得到的数据块传输至数据接收端。
根据本公开实施例的数据传输方法,在数据发送端和数据接收端建立包括多个时隙子通道的数据传输通道,并将时隙子通道进一步划分为带宽更小的小颗粒通道,每一个小颗粒通道可以承载和传输来自不同FlexE Client的数据,相当于一个时隙子通道可以承载并传输来自不同FlexE Client的数据,使得带宽较小的FlexE Client可以“合并”在一个时隙子通道进行传输,减少了网络带宽的浪费,提高了网络带宽的利用率。
参照图2,在一些实施例中,将至少一个时隙子通道划分为多个小颗粒通道的步骤(即,步骤S102)可以包括步骤S1021:将数据传输通道的预定位置处的时隙子通道,划分为多个小颗粒通道。
在进行数据传输之前,数据发送端与数据接收端可以通过协商等方式确定具体将数据传输通道中哪个或者哪些位置处的时隙子通道进行划分。例如,可以在数据发送端设备和数据接收端设备进行配置,并保持数据发送端与数据接收端的配置信息一致。
在数据发送端和数据接收端建立数据传输通道之后,根据数据发送端与数据接收端的配置信息将预定位置处的时隙子通道划分为多个小颗粒通道。
数据发送端和数据接收端在数据传输之前进行协商,减少在传输过程中对传输资源的占用;同时,数据接收端在接收到数据之后可以直接根据自己的本地配置判断接收到的数据来自哪个FlexE Client,以便于将数据分发至与自己对接的FlexE Client。
参照图2,在一些实施例中,在通过小颗粒通道和时隙子通道将数据从数据发送端传输至数据接收端的步骤(即,步骤S103)之前还可以包括步骤S1030:将数据分为多个数据块。
步骤S103可与包括步骤S1031:使用时隙子通道传输尺寸大于第二数据承载量而小于或等于第一数据承载量的数据块,使用小颗粒通道传输尺寸小于或等于第二数据承载量的数据块。第一数据承载量为时隙子通道的最大数据承载量,第二数据承载量为小颗粒通道的最大数据承载量。
在数据传输过程中,数据发送端的多个FlexE Client的以太网MAC数据流被切分为多个数据块,每个数据块的大小不超过时隙子通道的最大数据承载量(即,5Gbps)。这些数据块中,来自同一个FlexE Client的数据块可以使用一个时隙子通道或者一个小颗粒通道承载并传输。尺寸超过小颗粒通道的最大数据承载量的数据块,可以使用未划分的时隙子通道进行传输;而尺寸小于或等于小颗粒通道的最大数据承载量的数据块,可以使用小颗粒通道进行传输。
通过小颗粒通道传输小于或等于第二数据承载量的数据块,相当于利用一个5Gbps的时隙子通道传输来自不同FlexE Client的数据块,这减少了小于5Gbps的数据块占用的实际网络带宽,提升了网络带宽的利用率。
例如,存在客户A、客户B、客户C、客户D、客户E的以太网MAC数据流带宽都为1Gbps,由于一个时隙子通道被划分成了小颗粒通道,每一个小颗粒通道都可以承载并传输来自来一个FlexE Client的数据块,因此,客户A、客户B、客户C、客户D、客户E的数据块 可以承载在不同的小颗粒通道中。参照图4,客户A、客户B、客户C、客户D、客户E的数据块可以依次承载在20个时隙子通道中的第2个时隙子通道上,即,5个FlexE Client的数据块可以通过一个时隙子通道进行传输,相当于这个时隙子通道(即,20个时隙子通道中的第2个时隙子通道)最大承载量为5Gbps,实际上也承载了5Gbps的数据块,网络带宽的利用率非常高。若不将时隙子通道划分为小颗粒通道,则客户A、客户B、客户C、客户D、客户E一共5Gbps的数据块,需要5个不同的时隙子通道承载,或者说同一个时隙子通道只能承载一个FlexE Client的数据块,网络带宽的利用率被大大降低。
在传输的过程中,由于并不是每个时隙子通道以及每个小颗粒通道都承载并传输数据块,且每个时隙子通道被划分的份数也不一定相同;每个时隙子通道承载的数据块不一定是5Gbps,每个小颗粒通道承载的数据块也不一定是其最大数据承载量,因此网络的实际带宽非常灵活,可以适应各种对网络带宽的要求。一般而言,如果一个5Gbps时隙子通道承载N个FlexE Client业务数据,那么每个FlexE Client业务带宽为5/N Gbps,例如,要求的网络带宽为3.75Gbps,只需要占用将一个时隙子通道4等分得到的4个小颗粒通道中的3个小颗粒通道。
参照图2,在一些实施例中,步骤S103还可以包括步骤S1032:每隔预定时间通过数据传输通道向数据接收端发送一个开销块,多个连续的开销块组成一个开销帧,每个开销帧携带开销信息,开销信息包括传输数据块的时隙子通道在数据传输通道中的位置。
在数据传输过程中,20个时隙子通道为一个逻辑单元,1023个这样的逻辑单元为一个Calendar组件,Calendar组件循环往复出现将数据块从数据发送端的FlexE Client传输到数据接收端的FlexE Client。
FlexE Shim层支持通过开销帧(Overhead Frame)和开销复帧(Overhead MultiFrame)在数据发送端和数据接收端对接的FlexE Client之间传递配置、管理信息,实现链路的自动协商建立。
数据发送端和数据接收端之间建立了不同数量的数据传输通道, 开销帧与开销复帧之间的关系是不同的,例如,1个数据传输通道(即,100GE PHY),1个开销复帧有32个开销帧;2个数据传输通道(即,200GE PHY),2个开销复帧为一组开销复帧;400GE PHY,4个开销复帧为一组开销复帧;800GE PHY,8个开销复帧为一组开销复帧。若100GE PHY的时隙子通道只承载并传输了50Gbps的数据,则由16个开销帧组成一个开销复帧;以此类推,25Gbbps则由8个开销帧组成一个开销复帧。
具体地,参照图9,以一个数据传输通道为例,一个开销复帧有32个开销帧(也可以叫作OH开销帧),一个开销帧由8个开销时隙(Overhead Slot)(即,开销块)组成。参照图6,开销时隙的本质是一个66比特的64/66B编码的数据块,其每隔1023个逻辑单元出现一次,每个开销时隙包含字段是不同的,也就是说,一个开销帧中的每个开销时隙携带的信息是不同的。
第一个开销时隙(或者说开销块)中包含“0x4B”的控制字符与“0x5”的“O Code”字符等信息。在数据传输过程,通过控制字符与“O Code”字符的匹配确定第一个开销帧,从而在二者之间建立了一个独立于数据传输通道之外的管理信息通道,实现在对接的FlexE Client之间进行配置信息的预先协商、握手等。
开销帧的第三个开销时隙的第1比特到第32比特用于进行带宽调整以及恢复以太网MAC数据流的日历表信息(即,日历表A和日历表B)。日历表A和日历表B都是体现数据发送端的FlexE Client与FlexE Group的映射关系,即,数据发送端的FlexE Client对应的数据块传输所使用的时隙子通道在数据传输通道中的位置。
日历表A为正在使用的表,数据接收端可根据日历表A对接收到的数据块进行恢复,将其恢复为以太网MAC数据流,而日历表B为备用的表,用于对带宽进行调整。
当带宽需要调整时,即,更换当前正在使用的日历表(将日历表A切换到日历表B),或者需要将日历表B切换到日历表A时,网络服务器修改发送至数据接收端开销帧的切换请求信号CR字段,同时通知数据发送端开销帧CR字段已经修改;当数据接收端发现接收 到的开销帧的到CR字段发生了变化,可以发送响应信号CA至数据发送端,当数据发送端接收到CR字段已经修改的通知,之后接收到了相应信号CA,则通知网络服务器,网络服务器对下一个开销帧的前三个开销时隙的C比特字段进行修改。当C比特字段发生变化后,网络服务器会在C比特字段发生改变的开销帧后的下一个开销帧进行日历表的切换,即,根据切换后的日历表承载数据发送端的数据,数据接收端也会在C比特字段发生改变的开销帧后的下一个开销帧进行日历表的切换,即,根据切换后的日历表将接收到的数据块还原为以太网MAC数据流。
在一些实施例中,开销帧携带的开销信息还包括颗粒度调整同步标识SY(参见图9所示的第二个开销时隙的第34比特),以实现数据同步。
颗粒度调整同步标识SY用于标识是否根据修改请求修改开销信息。当颗粒度调整同步标识SY表示根据修改请求修改开销信息,且接收到数据发送端发送的修改请求,则根据修改请求修改开销信息,修改请求为修改传输数据块的时隙子通道在数据传输通道中的位置的请求。
具体地,颗粒度调整同步标识SY用于标识是否可以修改传输数据块的时隙子通道在数据传输通道中的位置。参照图8,在需要更换当前正在使用的日历表,并已经经过数据发送端和数据接收端的协商(即,网络服务器已经接收到数据发送端接收到CR字段已经修改的通知,之后也接收到了相应信号CA的通知),网络服务器需要对下一个开销帧的前三个开销时隙的C比特字段进行修改的情况下,只有当颗粒度调整同步标识SY为预定值时,才表明此时数据已经同步,才可以对C比特字段进行修改,并在C比特字段发生改变的开销帧后的下一个开销帧进行日历表的切换(因为此时数据已经同步,进行日历表A和日历表B的调换并不会对小颗粒通道造成影响)。
当C比特字段发生变化后,网络服务器会在C比特字段发生改变的开销帧后的下一个开销帧进行日历表的切换,即,根据切换后的日历表承载数据发送端的数据;数据接收端也会在C比特字段发生改 变的开销帧后的下一个开销帧进行日历表的切换,即,根据切换后的日历表将接收到的数据块还原为以太网MAC数据流。
通过颗粒度调整同步标识SY,可以与FlexE Group的多个数据传输通道进行数据对齐,并且数据接收端可以正确地将数据块恢复为以太网MAC数据流;开销块将颗粒度调整同步标识SY携带到数据接收端,结合上述A/B表更换机制,当颗粒度调整同步标识SY为预定值时(即,颗粒度调整同步标识SY为预定值,C比特修改发生改变的开销帧后的下一个开销帧开始时),可以完成数据发送端和数据接收端的数据的同步。
在一些实施例中,颗粒度调整同步标识SY为开销帧中的预定的保留字段。
在相关技术中,开销帧中有一些保留字段,这些字段未携带任何开销信息,例如,第二个开销时隙的第34比特(即,SY标记信号)是一个保留字段。
参照图9,利用第二个开销时隙的第34比特(当然也可以使用其他保留字段)承载颗粒度调整同步标识SY。参见图9中的虚线框部分,例如,当颗粒度调整同步标识SY的值为1时表示根据修改请求修改开销信息。从而,可以不影响其他开销信息,并且颗粒度调整同步标识SY也容易获取,使得本公开实施例的方法具有更高兼容性。
在一些实施例中,每隔m个逻辑单元通过数据传输通道向数据接收端发送一个开销块,n个连续的开销块组成一个开销帧,颗粒度调整同步标识SY每t个开销帧为表示根据修改请求修改开销信息的预定值,即,颗粒度调整同步标识SY周期性地为预定值,其周期t应满足:使得m*n*t为所有时隙子通道的被划分份数的整数倍的最小正整数值;m为两个开销块之间逻辑单元(即,20个时隙子通道为一个逻辑单元)的数量,即,m=1023;n为一个开销帧包括的开销块的数量,即,n=8。
参照图7,同一行的数据块为同一个开销帧中的不同开销块,不同行的数据块为不同开销帧;数据块中的数字为相应的业务序号,与时隙子通道相对应,以时隙子通道划分的小颗粒通道份数为周期循环 出现,例如,在数据传输通道中,只存在被划分为5份的时隙子通道的情况下,业务序号以5为周期出现,即,对应图7左边第一行第二列的数据块业务序号为3,第一行第三列的数据块业务序号为1(因为中间存在1023个被划分的时隙子通道),第一行第四列的数据块业务序号为4,依次类推,第二行第一列的数据块(即,下一个开销帧的第一个开销块)的业务序号为4,这样在第6个开销帧(即,开销帧5)的第一个开销块的业务序号才又一次为0,这时颗粒度调整同步标识SY可以为预定值,也就是说,颗粒度调整同步标识SY为预定值的周期t为5。
又例如,在数据传输通道中,只存在被划分为4份的时隙子通道的情况下,业务序号以4为周期出现,即,对应图7右边第一行第二列的数据块业务序号为3,第一行第三列的数据块业务序号为2(因为中间存在1023个被划分的时隙子通道),第一行第四列的数据块业务序号为1,依次类推,第二行第一列的数据块(即,下一个开销帧的第一个开销块)的业务序号为0,即,在第2个开销帧的第一个开销块的业务序号又一次为0,这时颗粒度调整同步标识SY可以为预定值,也就是说,颗粒度调整同步标识SY为预定值的周期t为1。
由于业务序号的周期与开销帧的周期的不一致性,颗粒度调整同步标识SY为预定值的周期t必须满足:使得1023*8*t为所有时隙子通道的被划分份数的整数倍的最小正整数值,若无法满足,则会导致没有在数据同步边界进行日历表的调换,最终造成丢包。
例如,如果在数据传输通道中,存在被划分为5份的时隙子通道,也存在被划分为4份的时隙子通道,则周期t应该满足使得t*1023*8能够同时被5和4整除的最小正整数,即,t为5,若只满足t*1023*8能够被4整除,则会导致被划分为5份的时隙子通道丢包,造成信息丢失。
在一些实施例中,可通过可编程序逻辑控制器产生开销帧。
本公开实施例的方法中,可以通过可编程序逻辑控制器(Field Programmable Gate Array,FPGA)产生开销帧,FPGA负责对开销帧进行修改并发送至网络服务器(例如,通信接口芯片),通信接口芯 片在接收到FPGA发送的开销帧之后,通过数据传输通道发送开销帧。
例如,FPGA可以按照计算好的周期对开销帧的保留字段(例如,第二个开销时隙的第34比特)进行修改,以使不同开销帧可以携带不同的颗粒度调整同步标识;当然,对CR字段、C比特等进行修改也可以由FPGA完成。
使用FPGA和通信接口芯片组合的方式更加灵活,FPGA对开销帧进行修改,通信接口芯片对开销帧进行发送,分工合作,避免工作冲突。
图10为根据本公开实施例的数据传输的装置的组成框图.
参照图10,本公开实施例提供数据传输的装置包括初始模块、划分模块和传输模块。
初始模块用于在数据发送端和数据接收端之间基于灵活以太网协议建立至少一个数据传输通道,每个数据传输通道包括相同数量的时隙子通道,每个时隙子通道具有相同的最大数据承载量。
划分模块用于将至少一个时隙子通道划分为多个小颗粒通道。
传输模块用于通过小颗粒通道和时隙子通道将数据从数据发送端传输至数据接收端。
图11为根据本公开实施例的电子设备的组成框图。
参照图11,本公开实施例提供的电子设备包括:一个或多个处理器;以及存储器,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现根据本公开各实施例的数据传输方法。
处理器为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH)。
图12为根据本公开实施例的计算机可读介质的组成框图。
参照图12,本公开实施例提供一种计算机可读介质,其上存储有计算机程序,程序被处理器执行时实现根据本公开各实施例的数据传输方法。
本领域普通技术人员可以理解,上文中所公开的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。
在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。
某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器(CPU)、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH)或其他磁盘存储器;只读光盘(CD-ROM)、数字多功能盘(DVD)或其他光盘存储器;磁盒、磁带、磁盘存储或其他磁存储器;可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。
本公开已经公开了示例实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则可单独使用与特定实施例相结合描述的特征、特性和/或元素,或可与其他实施例相结合描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本公开的范围的情况下,可进行各种形式和细节上的改变。
Claims (11)
- 一种数据传输方法,包括:在数据发送端和数据接收端之间基于灵活以太网协议建立至少一个数据传输通道,所述至少一个数据传输通道中的每个数据传输通道包括相同数量的时隙子通道,每个时隙子通道具有相同的最大数据承载量;将至少一个时隙子通道划分为多个小颗粒通道;以及通过所述小颗粒通道和所述时隙子通道将数据从所述数据发送端传输至所述数据接收端。
- 根据权利要求1所述的方法,其中,将至少一个时隙子通道划分为多个小颗粒通道的步骤包括:将所述数据传输通道的预定位置处的时隙子通道,划分为多个小颗粒通道。
- 根据权利要求1所述的方法,其中,在通过所述小颗粒通道和所述时隙子通道将数据从所述数据发送端传输至所述数据接收端的步骤之前,还包括:将所述数据分为多个数据块,并且通过所述小颗粒通道和所述时隙子通道将数据从所述数据发送端传输至所述数据接收端的步骤包括:使用所述时隙子通道传输尺寸大于超过第二数据承载量而小于或等于第一数据承载量的数据块,使用所述小颗粒通道传输尺寸小于或等于第二数据承载量的数据块,其中,所述第一数据承载量为所述时隙子通道的最大数据承载量,所述第二数据承载量为所述小颗粒通道的最大数据承载量。
- 根据权利要求3所述的方法,其中,通过所述小颗粒通道和所述时隙子通道将数据从所述数据发送端传输至所述数据接收端的 步骤还包括:每隔预定时间通过所述数据传输通道向所述数据接收端发送一个开销块,多个连续的开销块组成一个开销帧,每个开销帧携带开销信息,所述开销信息包括传输所述数据块的时隙子通道在所述数据传输通道中的位置。
- 根据权利要求4所述的方法,其中,所述开销信息还包括颗粒度调整同步标识,所述颗粒度调整同步标识用于标识是否根据修改请求修改所述开销信息,当所述颗粒度调整同步标识表示根据修改请求修改所述开销信息,且接收到所述数据发送端发送的修改请求,则根据所述修改请求修改所述开销信息,其中,所述修改请求为修改传输所述数据块的时隙子通道在所述数据传输通道中的位置的请求。
- 根据权利要求5所述的方法,其中,所述颗粒度调整同步标识为所述开销帧中的预定的保留字段。
- 根据权利要求5所述的方法,其中,每隔m个逻辑单元通过所述数据传输通道向所述数据接收端发送一个开销块,n个连续的开销块组成一个开销帧,所述颗粒度调整同步标识每t个开销帧为表示根据修改请求修改所述开销信息的预定值,其中,t为使得m*n*t为所有时隙子通道的被划分份数的整数倍的最小正整数值。
- 根据权利要求4所述的方法,其中,通过可编程序逻辑控制器产生所述开销帧。
- 一种数据传输的装置,包括:初始模块,用于在数据发送端和数据接收端之间基于灵活以太网协议建立至少一个数据传输通道,所述至少一个数据传输通道中的 每个数据传输通道包括相同数量的时隙子通道,每个时隙子通道具有相同的最大数据承载量;划分模块,用于将至少一个时隙子通道划分为多个小颗粒通道;以及传输模块,用于通过所述小颗粒通道和所述时隙子通道将数据从所述数据发送端传输至所述数据接收端。
- 一种电子设备,包括:一个或多个处理器;以及存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现根据权利要求1至8中任意一项所述的数据传输方法。
- 一种计算机可读介质,其上存储有计算机程序,所述程序被处理器执行时实现根据权利要求1至8中任意一项所述的数据传输方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010894486.3 | 2020-08-31 | ||
CN202010894486.3A CN114125019A (zh) | 2020-08-31 | 2020-08-31 | 数据传输的方法和装置、电子设备、计算机可读介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022042743A1 true WO2022042743A1 (zh) | 2022-03-03 |
Family
ID=80354708
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/115664 WO2022042743A1 (zh) | 2020-08-31 | 2021-08-31 | 数据传输方法和装置、电子设备、计算机可读介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114125019A (zh) |
WO (1) | WO2022042743A1 (zh) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114676222A (zh) * | 2022-03-29 | 2022-06-28 | 北京国信网联科技有限公司 | 快速对进出内部网络数据审计方法 |
CN115941494A (zh) * | 2022-12-29 | 2023-04-07 | 苏州盛科通信股份有限公司 | 一种细粒度切片时隙协商的方法及应用 |
WO2024113449A1 (zh) * | 2022-12-01 | 2024-06-06 | 苏州异格技术有限公司 | 灵活以太网数据块处理方法、装置、存储介质及电子设备 |
WO2024131360A1 (zh) * | 2022-12-21 | 2024-06-27 | 中兴通讯股份有限公司 | 一种调整小颗粒业务带宽的方法 |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115865299B (zh) * | 2022-11-30 | 2024-01-19 | 苏州异格技术有限公司 | 灵活以太网的时隙数据的处理方法、装置、存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3013017A1 (en) * | 2014-10-24 | 2016-04-27 | Ciena Corporation | Channelized oduflex systems and methods for flexible ethernet and otn multiplexing |
CN107888516A (zh) * | 2016-09-29 | 2018-04-06 | 中兴通讯股份有限公司 | 一种承载业务的方法、设备和系统 |
CN108632886A (zh) * | 2017-03-21 | 2018-10-09 | 华为技术有限公司 | 一种业务处理方法及装置 |
CN110266612A (zh) * | 2018-03-12 | 2019-09-20 | 中兴通讯股份有限公司 | 数据传输方法及装置、网络设备及存储介质 |
CN111107641A (zh) * | 2019-12-11 | 2020-05-05 | Ut斯达康通讯有限公司 | FlexE业务处理方法、装置及电子设备 |
-
2020
- 2020-08-31 CN CN202010894486.3A patent/CN114125019A/zh active Pending
-
2021
- 2021-08-31 WO PCT/CN2021/115664 patent/WO2022042743A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3013017A1 (en) * | 2014-10-24 | 2016-04-27 | Ciena Corporation | Channelized oduflex systems and methods for flexible ethernet and otn multiplexing |
CN107888516A (zh) * | 2016-09-29 | 2018-04-06 | 中兴通讯股份有限公司 | 一种承载业务的方法、设备和系统 |
CN108632886A (zh) * | 2017-03-21 | 2018-10-09 | 华为技术有限公司 | 一种业务处理方法及装置 |
CN110266612A (zh) * | 2018-03-12 | 2019-09-20 | 中兴通讯股份有限公司 | 数据传输方法及装置、网络设备及存储介质 |
CN111107641A (zh) * | 2019-12-11 | 2020-05-05 | Ut斯达康通讯有限公司 | FlexE业务处理方法、装置及电子设备 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114676222A (zh) * | 2022-03-29 | 2022-06-28 | 北京国信网联科技有限公司 | 快速对进出内部网络数据审计方法 |
WO2024113449A1 (zh) * | 2022-12-01 | 2024-06-06 | 苏州异格技术有限公司 | 灵活以太网数据块处理方法、装置、存储介质及电子设备 |
WO2024131360A1 (zh) * | 2022-12-21 | 2024-06-27 | 中兴通讯股份有限公司 | 一种调整小颗粒业务带宽的方法 |
CN115941494A (zh) * | 2022-12-29 | 2023-04-07 | 苏州盛科通信股份有限公司 | 一种细粒度切片时隙协商的方法及应用 |
Also Published As
Publication number | Publication date |
---|---|
CN114125019A (zh) | 2022-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022042743A1 (zh) | 数据传输方法和装置、电子设备、计算机可读介质 | |
US10903929B2 (en) | Flexible ethernet group establishment method and device | |
CN111727589B (zh) | 用于配置Flex以太网节点的方法和设备 | |
WO2022022263A1 (zh) | 一种传输数据的方法和设备 | |
US11552721B2 (en) | Clock synchronization method and apparatus | |
US11528169B2 (en) | Method for adjusting PHY in FlexE group, related device, and storage medium | |
US11271668B2 (en) | Data transmission methods, apparatuses, devices, and system | |
WO2021109705A1 (zh) | 灵活以太网组的管理方法、设备及计算机可读存储介质 | |
US20230337212A1 (en) | Methods for inserting and extracting operations, administration, and maintenance of transmitting end, device, and medium | |
WO2019100982A1 (zh) | 数据传输方法和设备 | |
US11451420B2 (en) | Data transmission method, communications device, and storage medium | |
CN116264587A (zh) | 一种数据传输的方法以及相关装置 | |
WO2023071249A1 (zh) | 一种时隙协商方法及装置 | |
WO2023138390A1 (zh) | 一种时隙分配的方法、网络设备和系统 | |
WO2020114084A1 (zh) | 一种报文转发方法和装置 | |
CN117202271A (zh) | 一种带宽调整方法、装置及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 11/07/2023) |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21860575 Country of ref document: EP Kind code of ref document: A1 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21860575 Country of ref document: EP Kind code of ref document: A1 |