Nothing Special   »   [go: up one dir, main page]

CN112312476A - Service transmission method, device and computer readable storage medium - Google Patents

Service transmission method, device and computer readable storage medium Download PDF

Info

Publication number
CN112312476A
CN112312476A CN201910713782.6A CN201910713782A CN112312476A CN 112312476 A CN112312476 A CN 112312476A CN 201910713782 A CN201910713782 A CN 201910713782A CN 112312476 A CN112312476 A CN 112312476A
Authority
CN
China
Prior art keywords
service
fragment
adjustment
information blocks
block
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201910713782.6A
Other languages
Chinese (zh)
Inventor
刘峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201910713782.6A priority Critical patent/CN112312476A/en
Priority to PCT/CN2020/103059 priority patent/WO2021023001A1/en
Publication of CN112312476A publication Critical patent/CN112312476A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0252Traffic management, e.g. flow control or congestion control per individual bearer or channel
    • H04W28/0263Traffic management, e.g. flow control or congestion control per individual bearer or channel involving mapping traffic to individual bearers or channels, e.g. traffic flow template [TFT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/53Allocation or scheduling criteria for wireless resources based on regulatory allocation policies

Landscapes

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

Abstract

Disclosed herein are a traffic transmission method, apparatus and computer-readable storage medium. The method comprises the following steps: acquiring service fragments and adjusting fragments; mapping the service to the service fragment, and adjusting the size of the fragment according to the clock frequency of the first communication node; and sending the service fragment and the adjustment fragment to the second communication node.

Description

Service transmission method, device and computer readable storage medium
Technical Field
The present application relates to wireless communication networks, and for example, to a traffic transmission method, apparatus, and computer-readable storage medium.
Background
With the rapid increase of user network information flow, the interface bandwidth speed of the communication equipment is continuously improved. For a communication device with an interface bandwidth speed of 100G (unit: bit/s, omitted in the following embodiments for simplicity), a physical layer defined by an existing flexible Ethernet (FlexE) protocol is 100G, 20 timeslots are defined on the physical layer of 100G, a bandwidth corresponding to each timeslot is 5G, and for a service with a bandwidth less than 5G, the service can only be transmitted on one timeslot, so that the transmission efficiency is very low.
Disclosure of Invention
The application provides a service transmission method, a service transmission device and a computer readable storage medium, which can realize low-delay transmission of services with various transmission rates and improve transmission efficiency.
The embodiment of the application provides a service transmission method, which comprises the following steps:
acquiring service fragments and adjusting fragments;
mapping the service to the service fragment, and adjusting the size of the fragment according to the clock frequency of the first communication node;
and sending the service fragment and the adjustment fragment to the second communication node.
The embodiment of the application provides a service transmission method, which comprises the following steps:
receiving a service fragment and an adjustment fragment sent by a first communication node;
determining the position of the adjustment fragment according to the adjustment fragment, and determining the position of the service fragment according to the position of the adjustment fragment;
services are extracted from the service fragments.
An embodiment of the present application provides a transmission device, including: a processor for implementing the method of any of the above embodiments when executing the computer program.
The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the method of any of the above embodiments.
With regard to the above embodiments and other aspects of the present application and implementations thereof, further description is provided in the accompanying drawings description, detailed description and claims.
Drawings
Fig. 1 is an application diagram of a large logical channel formed by a plurality of members in the FlexE protocol according to an embodiment;
fig. 2 is a schematic diagram illustrating arrangement positions of a FlexE protocol overhead block and a service timeslot block according to an embodiment;
fig. 3 is a schematic diagram illustrating a plurality of physical members allocating time slots at a transmitting end of a FlexE protocol according to an embodiment;
fig. 4 is a schematic diagram of recovering time slots of multiple physical members at a receiving end of a FlexE protocol according to an embodiment;
FIG. 5 is a diagram illustrating a frame structure of a Flexe overhead block according to an embodiment;
FIG. 6 is a diagram illustrating a multi-frame structure of a Flexe overhead block according to an embodiment;
fig. 7 is a flowchart illustrating a service transmission method according to an embodiment;
fig. 8 is a schematic diagram illustrating a position arrangement of timeslot number 1 in a FlexE protocol according to an embodiment;
fig. 9 is a schematic diagram of information block numbering of timeslot number 1 in a FlexE protocol according to an embodiment;
fig. 10 is a schematic diagram of an embodiment of a structure for dividing the 1023 information blocks shown in fig. 9;
fig. 11 is a schematic structural diagram of an adjustment slice according to an embodiment;
FIG. 12 is a schematic view of another embodiment of a tab;
FIG. 13 is a schematic diagram of a network architecture for service delivery according to an embodiment;
fig. 14 is a diagram illustrating a reduction in the number of information blocks in a slice in a first exemplary embodiment according to an embodiment;
fig. 15 is a diagram illustrating increasing the number of information blocks in an adjustment fragment in the first exemplary embodiment according to an embodiment;
fig. 16 is a schematic diagram illustrating a position arrangement of time slot No. 3 in the FlexE protocol according to an embodiment;
fig. 17 is a schematic diagram of information block numbering of timeslot No. 3 in the FlexE protocol according to an embodiment;
fig. 18 is a schematic diagram of an embodiment of a structure for dividing the 1023 information blocks shown in fig. 17;
fig. 19 is a diagram illustrating a reduction in the number of information blocks in a slice according to a second exemplary embodiment;
fig. 20 is a diagram illustrating an increase in the number of information blocks in a slice in a second exemplary embodiment according to an embodiment;
fig. 21 is a schematic structural diagram of dividing 8 x 1023 information blocks according to an embodiment;
fig. 22 is a schematic diagram illustrating a position arrangement of time slots No. 1 and 8 in a FlexE protocol according to an embodiment;
fig. 23 is a schematic diagram illustrating the numbers of information blocks of time slot No. 1 and time slot No. 8 in the FlexE protocol according to an embodiment;
fig. 24 is a schematic structural diagram of dividing the 2 × 1023 information blocks shown in fig. 23 according to an embodiment;
fig. 25 is a flowchart illustrating another service transmission method according to an embodiment;
fig. 26 is a schematic structural diagram of a service transmission apparatus according to an embodiment;
fig. 27 is a schematic structural diagram of another service transmission apparatus according to an embodiment;
fig. 28 is a schematic structural diagram of another service transmission apparatus according to an embodiment.
Detailed Description
Hereinafter, embodiments of the present application will be described in detail with reference to the accompanying drawings.
With the rapid increase of user network information traffic, the rapid development of communication network information transmission bandwidth is promoted, the interface bandwidth speed of the communication device is increased from 10M (unit: bit/s, for simplicity, unit is omitted in the following embodiments) to 100M, and then gradually increased to 1G and 10G, and nowadays, the interface bandwidth speed of the communication device has already reached 100G, and a large amount of commercial use of 100G optical modules (hereinafter referred to as 100G optical modules) has been realized. Although a 400G optical module (hereinafter, referred to as a 400G optical module) is already known, the price of the 400G optical module is high, and exceeds the sum of the prices of 4 100G optical modules, so that the 400G optical module lacks commercial economic value.
In order to deliver 400G of traffic on 100G optical modules, the international standards organization defines the FlexE protocol. The Flexe protocol combines a plurality of 100G optical modules to form a high-speed transmission channel. Fig. 1 shows an application schematic diagram of a large logic channel formed by a plurality of members in a FlexE protocol provided in an embodiment, as shown in fig. 1, the FlexE protocol combines 4 100G optical modules to form a 400G transmission channel, that is, the transmission channel is equivalent to the transmission speed of 1 400G optical module, and the transmission requirement of 400G service is met without increasing cost, so that the transmission requirement of 400G service is met, and the economic value problem of service transmission is also solved. Currently, the physical layer defined by the FlexE protocol is 100G, 20 slots are defined on the physical layer of 100G, and each slot corresponds to a bandwidth of 5G (hereinafter referred to as a FlexE protocol slot). For the traffic with the bandwidth less than 5G (for example, the traffic with the bandwidth of 100M), the traffic can be transferred on only one time slot, and the transfer efficiency is very low.
For ease of understanding, some concepts or terms are first described herein.
Currently, the FlexE protocol is defined in terms of a rate of 100G per member. In the optical mode, the data message is first 64/66 encoded, i.e., a 64-bit block of data bits is expanded into a 66-bit block of information, before being transmitted. The added 2 bits are located in front of the 66-bit information block (the bit value of the added 2 bits may be fixed to "01" or "10", the "01" indicating that the information block is an information block, and the "10" indicating that the information block is a control block), and the added 2 bits serve as a start flag of the 66-bit information block. After the data message is encoded, the data message is transmitted from the optical port of the transmitting end in a 66-bit information block manner. When the receiving end receives the data, the optical interface of the receiving end distinguishes the information block with the length of 66 bits from the received data stream, and then recovers the original 64-bit data from the information block with the length of 66 bits, and reassembles the data message. The FlexE protocol layer is below the 64-bit to 66-bit information block conversion layer and orders and plans the 66-bit information blocks before sending them.
Fig. 2 is a schematic diagram illustrating arrangement positions of a FlexE protocol overhead block and a traffic slot block according to an embodiment. As shown in fig. 2, for 100G service, every 20 information blocks of 66 bits are divided into one information block group (i.e. 20 information blocks in each group), each information block represents one time slot (i.e. 20 time slots in total), and each time slot represents 5G bandwidth service speed. When the sender sends a 66-bit block, every 1023 blocks (1023 × 20 blocks) are sent, a FlexE overhead block (hereinafter referred to as an overhead block) is inserted, and the overhead block is also 66-bit long, as shown in the black block in fig. 2. And after inserting an overhead block, continuing to send the information block, after sending the second 1023 × 20 information blocks, inserting an overhead block, and so on, so that the overhead block is periodically inserted in the process of sending the information block by the sending end, and the interval between two adjacent overhead blocks is 1023 × 20 information blocks.
Fig. 3 is a diagram illustrating a time slot allocation by multiple physical members at a transmitting end of a FlexE protocol according to an embodiment. As shown in fig. 3, when the physical layers of the 4-way 100G are combined into a logical service bandwidth of 400G, a client sees 80 time slots at the intermediate (shim) layer of FlexE, that is, a time slot block group consisting of 80 information blocks, specifically consisting of 4-way 20 time slot blocks. Customer traffic is delivered in these 80 slots, with the bandwidth of each slot being 5G for a total traffic delivery bandwidth of 400G. The 80 time slots are divided into 4 groups at the physical layer, each member bears 20 time slots, and still forms a time slot group according to 20 information blocks, an overhead block is inserted into each 1023 time slot groups, and each physical layer works according to the mode of a Flexe 100G member. Fig. 4 is a diagram illustrating recovery time slots of multiple physical members at a receiving end of a FlexE protocol according to an embodiment. As shown in fig. 4, 4 members of the receiving end receive services independently, determine the positions of the FlexE overhead blocks respectively, align with the overhead blocks as references, and reorder the time slots of the 4 members according to the member sequence relation carried in the overhead blocks to form 80 time slots, so that the client services can be extracted from the time slots.
The FlexE overhead block is a 66-bit overhead block, and when the traffic data stream is transmitted, one overhead block is inserted every 1023 × 20 information blocks. The overhead block plays a positioning function and a member number identification function in the whole service flow, and the position of the first time slot group in the service and the position of each subsequent time slot can be known by finding the overhead block. Fig. 5 is a diagram illustrating a frame structure of a FlexE overhead block according to an embodiment. As shown in fig. 5, consecutive 8 overhead blocks constitute one FlexE overhead frame. Each overhead block consists of a 2-bit block flag and 64-bit block content. The block flags are in the first 2 columns, the last 64 columns are block contents, the block flag for the first overhead block is "10", and the block flags for the last 7 overhead blocks are "01" or SS (SS means content uncertain). The contents of the first overhead block are: 0x4B (8 bits, 4B in hexadecimal), C bits (1 bit, indicating adjustment control), OMF bits (1 bit, indicating an overhead frame multiframe indication), RPF bits (1 bit, indicating a far-end defect indication), RES bits (1 bit, reserved bits), FLEXE group number (20 bits, indicating the number of a bundle group), 0x5(4 bits, 5 in hexadecimal), 0x000_0000(28 bits, all of which are 0). 0x4B and 0x5 are the flags indicating the first overhead block, and when the receiving end finds the corresponding positions of 0x4B and 0x5 in an overhead block, it indicates that the overhead block is the first overhead block in the overhead frame, and then the consecutive 7 overhead blocks form an overhead frame. In the overhead frame, the reserved portion is reserved and is not defined yet.
In the frame structure of the FlexE overhead frame, FlexE group number indicates a group identification, and all members with the same group number belong to one group. The PHY number is a member number, the PHY number of each member is unique in the same FLEXE group number, and all the members are sequentially sorted according to the sorting from small to large of the PHY numbers during sorting. The PHY number is 8 bits of data and may represent all numbers between 0-255, so there are a maximum of 256 members in a group. In the current standard, 0 and 255 are defined reserved numbers for special applications, with normal members using numbers from 1-254.
Fig. 6 is a diagram illustrating a multi-frame structure of a FlexE overhead block according to an embodiment. As shown in fig. 6, in the first overhead block, the OMF field is a multiframe indication signal, and the OMF is a single-bit value, which is 0 in 16 consecutive frames, and then 1 in 16 consecutive frames; then again 0 in 16 consecutive frames and then 1 in 16 consecutive frames. This is repeated every 32 frames, so that a multiframe consists of 32 frames. In the frame, a Client calendar field indicates a Client name carried per slot. The number of time slots required by the customer service during bearing is uncertain, and the time slots need to be flexibly modified, so that the Client callback has two sets of configuration information, namely a Client callback A and a Client callback B, and the two sets of configuration values are respectively in a working mode and a standby mode and are used for dynamically and smoothly switching the configuration information. In the FlexE frame structure, there are three C bits. When all the C bits are '0', the Client callback A is in the working mode, and the Client callback B is in the standby mode; conversely, when all the C bits are "1", the Client callback a is in the standby mode, and the Client callback B is in the operating mode. At one point in time, only one set of Client calendar configuration values is in the working mode, and the other set of configuration values is in the standby mode. The CR bit and CA bit are negotiation bits for Client callback state switching: the CR initiates the request, and the CA responds to the request. When the time slot configuration value needs to be modified, modifying the configuration content of the standby mode, simultaneously inverting the CR bit, informing the opposite terminal that the state of the Client calendar needs to be switched, preparing the opposite terminal according to the standby configuration Client calendar value, sending a CA response signal back to the initiating terminal after the opposite terminal is prepared, starting the switching process of the configuration table after the two terminals agree, inverting all C bit values by the transmitting terminal, changing the Client calendar table originally in the working mode into the standby mode, changing the Client calendar table originally in the standby mode into the working mode, and realizing the dynamic modification of the time slot content of the Client calendar.
Since the FlexE protocol determines a speed of 5G per slot, the speed of the client traffic must be 5G or a multiple of 5G. When the client speed is less than 5G, only one time slot can be used for carrying transmission, the transmission efficiency is low, the bandwidth waste is very serious, and the economical efficiency is poor.
Embodiments of the present application provide a mobile communication network (including, but not limited to, a fifth Generation mobile communication network (5th-Generation, 5G)), where a network architecture of the network may include network-side devices (e.g., one or more types of base stations, transmission nodes, Access nodes (AP, Access Point), relays, Node Bs (NB), Terrestrial Radio Access (UTRA, Universal Terrestrial Radio Access), Evolved Terrestrial Radio Access (EUTRA, Evolved Universal Terrestrial Radio Access), etc.) and terminals (e.g., User Equipment (UE), User Equipment data cards (UE), relays (relay), mobile devices, etc.). In the embodiment of the present application, a service transmission method, an apparatus, and a computer-readable storage medium that can operate on the network architecture are provided, which can implement redistribution of time slots, meet low-latency delivery of services with multiple transmission rates, and improve delivery efficiency. The operation environment of the service transmission method provided in the embodiment of the present application is not limited to the network architecture.
Next, a service transmission method, a device and technical effects thereof are described.
Fig. 7 is a flowchart illustrating a service transmission method according to an embodiment, and as shown in fig. 7, the method provided in this embodiment is applied to a sending end, where the sending end may be a first communication node (e.g., a network side device or a terminal).
S110, obtaining service fragments and adjusting fragments.
In an embodiment, the method for acquiring the service fragment and adjusting the fragment by the first communication node may include the following two steps:
step 1, determining n time slots for carrying service, wherein each time slot comprises m information blocks, and n and m are positive integers.
In one embodiment, when X members are included in a packet of the FlexE protocol, the packet includes X × 20 slots, n slots carrying traffic are determined among the X × 20 slots, and X is a positive integer.
For example, when 1 member is included in a packet of the FlexE protocol, the packet includes 20 time slots, and n time slots for carrying traffic are determined in the 20 time slots, that is, n is a positive integer less than or equal to 20; as another example, when 4 members are included in a packet of the FlexE protocol, the packet includes 80 slots, and n slots for carrying traffic are determined among the 80 slots, that is, n is a positive integer smaller than or equal to 80.
And 2, segmenting the n × m information blocks to obtain service segments and adjustment segments.
In an embodiment, the method for fragmenting n × m information blocks by the first communication node to obtain the service fragment and the adjustment fragment may include at least one of the following two cases:
in case 1, when m is 1023, n slots include 1023 blocks within (y +1) FlexE overhead block times, and n x y 1023 blocks are fragmented to obtain service fragments and adjustment fragments, where y is a positive integer.
For example, when y is 1, m is 1023, n timeslots include n 1023 information blocks within 2 FlexE overhead block times, and n 1023 information blocks are fragmented to obtain service fragments and adjustment fragments; for another example, when y is 4, m is 4 1023, n timeslots include n 4092 information blocks within 5 FlexE overhead block times, and n 4092 information blocks are fragmented to obtain service fragments and adjustment fragments.
And 2, when m is any value, segmenting the n × m information blocks to obtain service segments and adjustment segments.
In an embodiment, all service fragments are ordered in sequence and form a determined sequence relation with the adjustment fragment.
The adjustment fragment comprises at least one identification block; or at least one identification block and at least one free block. The identification block is provided with a special identification which is used for determining the position of the adjustment fragment, and the positions of all the service fragments can be determined in sequence after the positions of the adjustment fragments are determined because the determined sequence relation is formed between all the service fragments and the adjustment fragments.
And S120, mapping the service onto the service fragment, and adjusting the size of the fragment according to the clock frequency of the first communication node.
In an embodiment, the service has at least one of the following characteristics:
the service is cut and encapsulated into messages with consistent size, and the messages are mapped to the service fragments;
one service is loaded on one service fragment or at least two service fragments;
for at least two services, different services are carried on different service fragments.
In an embodiment, when one service is carried on at least two service fragments, the service fragments may be distributed uniformly and discretely.
In an embodiment, the method for the first communication node to adjust the size of the slice according to the clock frequency of the first communication node may include any one of the following three cases:
case 1, when the transmission frequency and the reception frequency of the first communication node are equal, the number of information blocks included in the adjustment fragment is kept unchanged.
And 2, when the sending frequency of the first communication node is less than the receiving frequency and the frequency difference accumulated value reaches a preset threshold, reducing the number of information blocks included in the adjustment fragment.
Since the adjustment fragment includes at least one identification block; or at least one flag block and at least one free block, the number of at least one of repeated flag blocks and free blocks may decrease when the number of information blocks included in the adjustment slice decreases.
And 3, when the sending frequency of the first communication node is greater than the receiving frequency and the frequency difference accumulated value reaches a preset threshold, increasing the number of information blocks included in the adjustment fragment.
Since the adjustment fragment includes at least one identification block; or at least one flag block and at least one free block, when the number of information blocks included in the adjustment fragment increases, the number of at least one of the flag block and the free block increases.
S130, sending the service fragment and the adjustment fragment to the second communication node.
After the service is mapped to the service fragment and the size of the adjustment fragment is adjusted, the first communication node sends the service fragment and the adjustment fragment to the second communication node, so that the second communication node determines the position of the adjustment fragment according to the adjustment fragment, determines the position of the service fragment according to the position of the adjustment fragment, and extracts the service from the service fragment.
Some exemplary embodiments are listed below for explaining a service transmission method provided in the embodiments of the present application.
In the first exemplary embodiment, when n is 1, y is 1, and m is 1023, 1023 information blocks are sliced to obtain 127 service slices and 1 adjustment slice, where each service slice includes 8 information blocks and each adjustment slice includes 7 information blocks.
Fig. 8 is a schematic diagram illustrating a position arrangement of slot number 1 in the FlexE protocol according to an embodiment. As shown in fig. 8, for the FlexE protocol, the slot with slot number 1 (i.e. slot No. 1) is located at the first position in each slot group, there are 1023 slot groups between 2 FlexE overhead blocks, and the slot No. 1 has 1023 information blocks, such as the blank information block in fig. 8. If only the information block of the time slot No. 1 is concerned, the information blocks of other time slots are omitted, and other information blocks are masked in fig. 8, the structure of the time slot No. 1 in the FlexE protocol is as shown in fig. 9, that is, fig. 9 shows a schematic diagram of the number of the information block of the time slot No. 1 in the FlexE protocol provided in an embodiment. Between each two overhead blocks there are 1023 blocks of this time slot, which are coded, i.e. 1, 2, 3.
Fig. 10 is a schematic diagram illustrating a structure provided by an embodiment for dividing the 1023 information blocks shown in fig. 9. And (3) dividing the numbered information blocks into 8 information blocks, wherein each 8 information blocks are divided into 128 information blocks, the first 1-127 information blocks are equal-length information blocks (namely, each 8 information blocks form one information block), and the last information block consists of 7 information blocks. The first 127 fragments are called service fragments and are used for bearing services; the last fragment is called an adjustment fragment and is used for speed adaptation and positioning of the fragment position. With such a fragmentation mechanism, 127 service fragments and one adjustment fragment are separated in one time slot. The bearing speed of each service fragment is about 39.1M (bit/s), the service speed can be allowed to be reduced from 5G to 39.1M for bearing, the transmission bandwidth is not wasted, and the bearing efficiency of the service with the speed lower than 5G is greatly improved. The service can be carried on any one of 127 service fragments, and when the service speed is higher, the service can be carried by combining a plurality of service fragments. For example, in fig. 10, client1 clients are carried by slices 1, 3, 5, 7.. 127, with a bearer bandwidth of approximately 2.5G, client2 by slice 2, client3 by slice 4, and with a bearer bandwidth of approximately 39.1M each.
And adjusting the slicing to adapt the speed and simultaneously play a role in positioning the slicing position. And adjusting the fragment content to be composed of at least one identification block or at least one identification block and at least one idle block. The identification block is a unique and special information block, and has obviously different identifications from other blocks in the information block stream, and the positions of the adjustment fragments are determined after the identification block is searched in the information block stream, so that the positions of all other service fragments are determined. In the present application, the adjustment slice has two roles; 1. a positioning function for determining the position of the adjustment fragment; 2. a speed adaptation function. In a first exemplary implementation manner, fig. 11 illustrates a schematic structural diagram of an adjustment fragment provided by an embodiment, and fig. 12 illustrates a schematic structural diagram of another adjustment fragment provided by an embodiment. The adjustment fragment is composed of 7 information blocks with 66 bits, and if the adjustment fragment is composed of all the identifier blocks, the structure of the adjustment fragment is as shown in fig. 11; if the flit consists of six free blocks (IDLE) and one identity block, the structure of the flit is as shown in fig. 12. In the first exemplary embodiment, the adjustment fragment may have other structures, such as three IDLE blocks (IDLE) and four flag blocks, and in a specific implementation, it is only necessary to ensure that at least one special flag block (which is distinguishable from other information blocks) in the adjustment fragment.
The identification block is a specially defined 66-bit information block, for example an O-sequence block using the 802.3 standard, extended sequence values, in the format shown in table 1.
TABLE 1
0 1 2-9 10-17 18-25 26-33 34-37 38-41 42-49 50-57 58-65
1 0 0x4B Data1 Data2 Data3 0xC 0x0 0x00 0x00 0x00
The 802.3 standard defines an O block as a 66-bit length control block, the first two bits are "10", the 2 nd to 9 th bits are control bytes, and the content is "0 x 4B", indicating that the 66-bit block is an O block; the 10 th to 33 th bits are three Data bytes Data1, Data2 and Data 3; bits 38-65 are all zeros. Bits 34-37 are O sequence values, and the current standard defines four sequence values: 0x0, 0x1, 0x2, 0xF, in the embodiment of the present application, other sequence values can be extended, such as 0xC is used as the identification block feature value, so that if the content of the corresponding position (bit 0-1; bit 2-9; bit 34-37) in a 66-bit information block is: "10" + "0 x 4B" + "0 xC", then the 66-bit information block is the identification block in the adjustment slice of the embodiment of the present application. In a specific application, the format of the flag block may also be various other control block types defined by the 802.3 standard, and any particular control block type as the flag block in the adjustment fragment is within the technical scope of the present application.
In the 802.3 standard, the format of the IDLE block (IDLE) may be as shown in table 2.
TABLE 2
0 1 2-9 10-17 18-25 26-33 34-41 42-49 50-57 58-65
1 0 0x1E 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Fig. 13 is a schematic diagram of a network structure for service delivery provided by an embodiment. As shown in fig. 13, the first exemplary embodiment is to segment 1023 consecutive information blocks in 1 time slot into 127 service segments and 1 adjustment segment, where the service segment length is 8 information blocks and the adjustment segment length is 7 information blocks. The service can be carried on any number of fragments at any position, and is sent through a Flexe protocol interface. The frame structure defined by the Flexe protocol is an interface protocol for transmitting services between two devices, the Flexe frame structure generates a Flexe frame structure from a sending port of an upstream device and then sends the Flexe frame structure to a downstream device, the downstream device analyzes and terminates the Flexe frame structure after receiving the frame structure on a receiving port, the services are extracted, a new Flexe frame structure is generated again at the sending port of the downstream device, and the services are born in a new Flexe frame again and then sent out.
In fig. 13, the traffic of client1 is carried on device 1 in fragments and sent out in FlexE protocol frames. In the device 2, the FlexE frame is received, analyzed and terminated from the receiving port, the service of the client1 is extracted from the corresponding service fragment, the device 2 regenerates a new FlexE frame structure on the sending port, and the service of the client1 on the sending port is sent out by being carried on the fragment again. The device 3 and the device 4 also transmit the service of the client1 in the same way until the service is sent to the device 5.
Since the clock frequency is different among different devices, the system operating frequency is different among the devices, the frequency of transmitting the FlexE frame by each device is determined by the system clock frequency of the device, but the frequency of receiving the FlexE frame is determined by the system clock frequency of the upstream device, and therefore, a rate difference exists between the frame rate of the FlexE transmitted on the device and the frame rate of the FlexE received (namely, the transmission frequency and the receiving frequency of the device are different).
When the transmitting frequency and the receiving frequency of the device have a deviation, the problem that the rates of the fragments in the FlexE frame are different and the rates of the clients carried on the fragments are different can be caused. As shown in fig. 13, assuming that the clock frequency of device 1 is greater than the clock frequency of device 2 (i.e., clock1> clock2), the clock frequency of device 2 is greater than the clock frequency of device 3 (i.e., clock2> clock3), and the clock frequency of device 3 is less than the clock frequency of device 4 (i.e., clock3< clock4), after the traffic of client clock1 is sent from device 1 to device 2, the clock frequency for receiving the traffic on device 2 is clock1, and the clock frequency for sending the traffic is clock 2. Because clock1> clock2, the frequency of receiving the fragment by device 2 is greater than the frequency of sending the fragment, the receiving rate of the service on device 2 is high, the sending rate is low, the service will be backlogged on device 2, and finally overflow occurs to cause service interruption. Since the FlexE frame frequency of the receiving port and the FlexE frame frequency of the transmitting port are determined by clock1 and clock2, respectively, in the device 2, frame rate deviations are present objectively.
In order to solve the slicing frequency deviation caused by the frame frequency deviation, the device 2 may adjust the size of the slice at the transmission port to change the actual transmission speed of the service slice. Fig. 14 is a diagram illustrating a reduction in the number of information blocks in an adjustment fragment in the first exemplary embodiment according to an embodiment. As shown in fig. 14, for the device 2, since the transmission clock frequency clock2 is small, the device 2 reduces the number of the adjustment slices from 7 information blocks (information blocks of 66 bits) to 6 information blocks according to the frequency deviation accumulation result. When the size of the adjusted fragment is reduced, the position of the subsequent service fragment moves forward by one information block, the actual transmission time of the service fragment is earlier than the original transmission time by one information block transmission time, and the transmission speed of the service fragment is equivalently improved, so that the bearing speed of the client service is improved, and the problem of low transmission clock frequency is solved. If the sending clock frequency of the device 2 is always low, the number of the information blocks in each adjustment fragment is adjusted in sequence to be smaller than the normal value, the actual sending time of the service fragment is continuously advanced, the actual equivalent sending speed of the service fragment is increased, and the phenomenon that the frame frequency of the Flexe is low due to the low sending clock frequency is made up. Similarly, the sending-end clock3 of the device 3 is smaller than the sending-end clock2 of the device 2, and the device 3 may also adopt a similar operation method, so that when the device 3 sends a FlexE frame signal, the number of information blocks in the adjustment fragment is appropriately reduced, so as to improve the actual sending rate of the service.
On the device 4, the sending clock frequency clock4 of the device 4 is greater than the sending clock frequency clock3 of the device 3, the FlexE frame frequency of the sending end on the device 4 is greater than the FlexE frame frequency of the receiving end, the sending service fragmentation speed is greater than the receiving service fragmentation speed, and if no adjustment is made, the phenomenon of interruption due to insufficient sending of the service occurs. Fig. 15 is a diagram illustrating increasing the number of information blocks in an adjustment fragment in the first exemplary embodiment according to an embodiment. As shown in fig. 15, on the device 4, when the transmitting end transmits a FlexE frame, the adjustment fragment is changed from 7 information blocks to 8 information blocks, so that the subsequent service fragmentation time is delayed, the transmission speed of the service fragment is equivalently reduced, and the problem of large transmission clock frequency is solved.
When the size of the information blocks in the adjustment fragments changes, if the adjustment fragments are all composed of the identification blocks, the number of the identification blocks is adjusted; if the adjustment slice is composed of 1 identification block and a plurality of IDLE blocks (IDLE), the number of the IDLE blocks (IDLE) is adjusted, and the unique identification block is always reserved.
In the equipment, the frequency deviation of a sending port and a receiving port can cause the buffer amount of the client service in the equipment to change, if the buffer amount is gradually increased, the clock frequency of the sending port is relatively small, and when the service accumulation is increased to a certain threshold, the size of the adjustment fragment of the Flexe sending port is reduced on the basis of a normal size value so as to improve the service sending speed; if the buffer memory amount is gradually reduced, the clock frequency of the sending port is larger, and when the service accumulation is reduced to a certain threshold, the size of the adjusting fragment of the Flexe sending port is increased on the basis of the normal size value so as to reduce the service sending speed; if the buffer memory amount is kept unchanged, the clock frequency of the transmitting port and the clock frequency of the receiving port are not deviated, the size of the adjusting fragment of the Flexe transmitting port is kept in a normal value, and speed adaptation is not needed.
In the second exemplary embodiment, when n is 1, y is 1, and m is 1023, 1023 information blocks are fragmented to obtain 102 service fragments and 1 adjustment fragment, where each service fragment includes 10 information blocks and each adjustment fragment includes 3 information blocks.
Fig. 16 is a schematic diagram illustrating a position arrangement of timeslot number 3 in the FlexE protocol according to an embodiment. As shown in fig. 16, for the FlexE protocol, the slot with slot number 3 (i.e. slot No. 3) is located at the third position in each slot group, there are 1023 slot groups between 2 FlexE overhead blocks, and the slot No. 3 has 1023 information blocks, such as the blank information block in fig. 16. If only the information block of the time slot No. 3 is concerned, the information blocks of other time slots are omitted, and the other information blocks are masked in fig. 16, the structure of the time slot No. 3 in the FlexE protocol is as shown in fig. 17, that is, fig. 17 shows a schematic diagram of the number of the information block of the time slot No. 3 in the FlexE protocol provided in an embodiment. Between each two overhead blocks there are 1023 blocks of this time slot, which are coded, i.e. 1, 2, 3.
Fig. 18 is a schematic diagram illustrating a structure provided by an embodiment for dividing the 1023 information blocks shown in fig. 17. And (3) dividing the numbered information blocks into 103 pieces, wherein the first 1-102 pieces are equal-length pieces (namely, each 10 information blocks form one piece), and the last piece is formed by 3 information blocks. The first 102 fragments are called service fragments and are used for bearing services; the last fragment is called an adjustment fragment and is used for speed adaptation and positioning of the fragment position. With such a fragmentation mechanism, 102 service fragments and one adjustment fragment are separated from one slot. The bearing speed of each service fragment is about 48.88M (bit/s), the proportion of the adjustment fragment is small, the proportion of the service fragment is large, and the utilization rate of the 5G time slot bandwidth is high.
Fig. 19 is a diagram illustrating a reduction in the number of information blocks in an adjustment slice in a second exemplary embodiment according to an embodiment. When the sending clock frequency of the equipment is low, the number of the information blocks in the adjustment fragment can be reduced, and the number of the information blocks is reduced from 3 to 2 so as to improve the bearing sending speed of the service; fig. 20 is a diagram illustrating an example of increasing the number of information blocks in an adjustment fragment in the second exemplary embodiment. When the transmission clock frequency of the device is higher, the number of the information blocks in the adjustment fragment can be increased, and the number of the information blocks is changed from 3 information blocks to 4 information blocks, so that the bearing transmission speed of the service is reduced.
The fragmentation manners of the service fragmentation and the adjustment fragmentation described in the first exemplary embodiment and the second exemplary embodiment are only two implementation schemes provided in this embodiment, and in practical applications, the size of the service fragmentation and the size of the adjustment fragmentation may be any other number (for example, when n is 1, y is 1, and m is 1023, 1023 information blocks are fragmented to obtain 63 service fragmentation and 1 adjustment fragmentation, each service fragmentation includes 16 information blocks, and the adjustment fragmentation includes 15 information blocks).
In the third exemplary embodiment, when n is 1, y is 8, and m is 8 and 1023, 8 and 1023 information blocks are fragmented to obtain 1022 service fragments and 1 regulation fragment, where each service fragment includes 8 information blocks and each regulation fragment includes 8 information blocks.
Fig. 21 is a schematic diagram illustrating a structure of dividing 8 × 1023 information blocks according to an embodiment. When the information blocks of 8 × 1023 of 1 timeslot are fragmented, 1022 service fragments and 1 regulation fragment can be obtained, and each fragment is composed of 8 information blocks.
When the sending clock frequency of the equipment is low, the number of the information blocks in the adjustment fragment can be reduced, and the number of the information blocks is reduced from 8 information blocks to 7 information blocks, so that the bearing sending speed of the service is improved; when the transmission clock frequency of the device is higher, the number of the information blocks in the adjustment fragment can be increased, and the number of the information blocks is changed from 8 information blocks to 9 information blocks, so that the bearing transmission speed of the service is reduced.
In an embodiment, the information blocks of the time slot carrying the service are fragmented, and the number of the information blocks is not necessarily multiple of 1023, such as 2 × 1023, 3 × 1023, 4 × 1023.
In the fourth exemplary embodiment, when n is 2, y is 1, and m is 1023, 2 × 1023 information blocks are fragmented to obtain 255 service fragments and 1 adjustment fragment, where each service fragment includes 8 information blocks and each adjustment fragment includes 6 information blocks.
In addition to the fragmentation of a single time slot in the FlexE protocol, a plurality of time slots may be combined to perform fragmentation. Fig. 22 is a schematic diagram illustrating the arrangement of the positions of the slot No. 1 and the slot No. 8 in the FlexE protocol according to an embodiment. As shown in fig. 22, for the FlexE protocol, the timeslot with timeslot number 1 (i.e. timeslot number 1) is located at the first position in each timeslot group, the timeslot with timeslot number 8 (i.e. timeslot number 8) is located at the eighth position in each timeslot group, there are 1023 timeslot groups between 2 FlexE overhead blocks, timeslot number 1 has 1023 information blocks in total, and timeslot number 8 has 1023 information blocks in total, i.e. 2 × 1023 information blocks in total, such as the blank information block in fig. 22. If only the information blocks of the time slot No. 1 and the time slot No. 8 are concerned, the information blocks of other time slots are omitted, and the other information blocks are masked in fig. 22, the structures of the time slot No. 1 and the time slot No. 8 in the FlexE protocol are as shown in fig. 23, that is, fig. 23 shows a schematic diagram of the numbers of the information blocks of the time slot No. 1 and the time slot No. 8 in the FlexE protocol provided in an embodiment. Between each two overhead blocks there are 2 x 1023 blocks of this slot, which are coded, i.e. 1, 2, 3.
Fig. 24 is a schematic structural diagram illustrating the division of the 2 × 1023 information blocks shown in fig. 23 according to an embodiment. And (3) dividing the numbered information blocks into 256 pieces, wherein the first 1-255 pieces are equal-length pieces (namely, each 8 information blocks form one piece), and the last piece is formed by 6 information blocks. The first 255 fragments are called service fragments and are used for bearing services; the last fragment is called an adjustment fragment and is used for speed adaptation and positioning of the fragment position.
When the sending clock frequency of the equipment is low, the number of the information blocks in the adjustment fragment can be reduced, and the number of the information blocks is reduced from 6 to 5 so as to improve the bearing sending speed of the service; when the transmission clock frequency of the device is higher, the number of the information blocks in the adjustment fragment can be increased, and 6 information blocks are changed into 7 information blocks, so that the bearing transmission speed of the service is reduced.
In an embodiment, a time slot block with an indefinite number may be jointly fragmented, divided into service fragmentation and adjustment fragmentation, and the number of time slots participating in the fragmentation may be various different values, which all belong to the protection scope of the present application.
Fig. 25 is a flowchart illustrating another service transmission method according to an embodiment, and as shown in fig. 25, the method according to the embodiment is applied to a receiving end, where the receiving end may be a second communication node (e.g., a network side device or a terminal).
S210, receiving the service fragment and the adjustment fragment sent by the first communication node.
S220, determining the position of the adjustment fragment according to the adjustment fragment, and determining the position of the service fragment according to the position of the adjustment fragment.
In an embodiment, all service fragments are ordered in sequence and have a certain order relation with the adjustment fragment.
The adjustment fragment comprises at least one identification block; or at least one identification block and at least one free block. The identifier block has a special identifier, and the special identifier is used to determine the position of the adjustment fragment, so that the method for determining the position of the adjustment fragment by the second communication node according to the adjustment fragment may include: and the second communication node determines the position of the adjustment fragment according to the special identifier.
The identification block is a unique and special information block, the identification in the information block flow is obviously different from that of other blocks, and the second communication node determines the position of the adjustment fragment after searching the identification block in the information block flow, thereby determining the positions of all other service fragments.
And S230, extracting the service from the service fragment.
In an embodiment, the service has at least one of the following characteristics:
the service is cut and encapsulated into messages with consistent size, and the messages are mapped to the service fragments;
one service is loaded on one service fragment or at least two service fragments;
for at least two services, different services are carried on different service fragments;
and extracting the information of each service from the service fragment, and recovering to obtain the original data content.
Fig. 26 is a schematic structural diagram of a service transmission apparatus according to an embodiment, where the service transmission apparatus may be configured in a sending end, as shown in fig. 26, including: a fragmentation module 10, a service mapping module 11, an adjustment module 12 and a sending module 13.
A fragmentation module 10 configured to acquire a service fragment and adjust the fragment;
a service mapping module 11 configured to map a service to a service slice;
the adjusting module 12 is configured to adjust the size of the adjustment fragment according to the clock frequency of the first communication node;
and the sending module 13 is configured to send the service fragment and the adjustment fragment to the second communication node.
The service transmission apparatus provided in this embodiment is to implement the service transmission method in the embodiment shown in fig. 7, and the implementation principle and the technical effect of the service transmission apparatus provided in this embodiment are similar, and are not described herein again.
In an embodiment, the fragmentation module 10 is configured to determine n timeslots for carrying a service, where each timeslot includes m information blocks, and n and m are positive integers; and segmenting the n information blocks by m to obtain service segments and adjustment segments.
In an embodiment, the fragmentation module 10 is configured to, when X members are included in a packet of the flexible ethernet technology FlexE protocol, the packet includes X × 20 time slots, and n time slots carrying traffic are determined in the X × 20 time slots, where X is a positive integer.
In an embodiment, the fragmentation module 10 is configured to implement at least one of the following methods:
when m is 1023, n time slots include 1023 information blocks in (y +1) Flexe overhead block time, and the 1023 information blocks are segmented to obtain service segments and adjustment segments, wherein y is a positive integer;
and when m is any value, segmenting the n × m information blocks to obtain service segments and adjustment segments.
In an embodiment, the fragmentation module 10 is configured to fragment 1023 information blocks when n is 1, y is 1, and m is 1023, to obtain 127 service fragments and 1 adjustment fragment, where each service fragment includes 8 information blocks and each adjustment fragment includes 7 information blocks;
when n is 1, y is 1, and m is 1023, segmenting 1023 information blocks to obtain 102 service segments and 1 adjustment segment, wherein each service segment comprises 10 information blocks, and the adjustment segment comprises 3 information blocks;
when n is 1, y is 1, and m is 1023, segmenting 1023 information blocks to obtain 63 service segments and 1 adjustment segment, wherein each service segment comprises 16 information blocks, and each adjustment segment comprises 15 information blocks;
when n is 1, y is 8, and m is 8 and 1023, segmenting 8 and 1023 information blocks to obtain 1022 service segments and 1 adjustment segment, wherein each service segment comprises 8 information blocks, and each adjustment segment comprises 8 information blocks;
when n is 2, y is 1, and m is 1023, segmenting 2 × 1023 information blocks to obtain 255 service segments and 1 adjustment segment, wherein each service segment comprises 8 information blocks, and each adjustment segment comprises 6 information blocks.
In an embodiment, all service fragments are ordered in sequence and form a determined sequence relation with the adjustment fragment.
In an embodiment, the adjusting module 12 is configured to keep the number of the information blocks included in the adjustment fragment unchanged when the transmission frequency and the reception frequency of the first communication node are equal;
when the sending frequency of the first communication node is less than the receiving frequency and the frequency difference accumulated value reaches a preset threshold, reducing the number of information blocks included in the adjustment fragment;
and when the sending frequency of the first communication node is greater than the receiving frequency and the frequency difference accumulated value reaches a preset threshold, increasing the number of information blocks included in the adjustment fragment.
In an embodiment, the adjustment fragment includes at least one identification block; or at least one identification block and at least one free block.
In an embodiment, the identification block has a special identification, and the special identification is used for determining the position of the adjustment fragment.
In an embodiment, when the number of information blocks included in the adjustment fragment decreases, the number of at least one of the repeated identification blocks and the idle blocks decreases;
when the number of information blocks included in the adjustment fragment increases, the number of at least one of the flag block and the free block increases.
In an embodiment, the service has at least one of the following characteristics:
the service is cut and encapsulated into messages with consistent size, and the messages are mapped to the service fragments;
one service is loaded on one service fragment or at least two service fragments;
for at least two services, different services are carried on different service fragments.
In an embodiment, when one service is carried on at least two service fragments, the service fragments are distributed uniformly and discretely.
Fig. 27 is a schematic structural diagram of another service transmission apparatus according to an embodiment, where the service transmission apparatus may be configured in a receiving end, as shown in fig. 27, including: a receiving module 20, a positioning module 21 and a service extraction module 22.
A receiving module 20, configured to receive a service fragment and an adjustment fragment sent by a first communication node;
the positioning module 21 is configured to determine the position of the adjustment fragment according to the adjustment fragment, and determine the position of the service fragment according to the position of the adjustment fragment;
the service extraction module 22 is configured to extract services from the service fragments.
The service transmission apparatus provided in this embodiment is to implement the service transmission method in the embodiment shown in fig. 25, and the implementation principle and the technical effect of the service transmission apparatus provided in this embodiment are similar, and are not described herein again.
In an embodiment, all service fragments are ordered in sequence and have a certain order relation with the adjustment fragment.
In an embodiment, the adjustment fragment includes at least one identification block; or at least one identification block and at least one free block.
In one embodiment, the identification block has a special identification; the positioning module 21 is configured to determine the position of the adjustment fragment according to the special identifier.
In an embodiment, the service has at least one of the following characteristics:
the service is cut and encapsulated into messages with consistent size, and the messages are mapped to the service fragments;
one service is loaded on one service fragment or at least two service fragments;
for at least two services, different services are carried on different service fragments;
and extracting the information of each service from the service fragment, and recovering to obtain the original data content.
An embodiment of the present application further provides a service transmission apparatus, including: a processor for implementing a method as provided in any of the embodiments of the present application when executing a computer program. Specifically, the service transmission device may be a first power-on node provided in any embodiment of the present application, and may also be a second power-on node provided in any embodiment of the present application, which is not limited in this application.
Fig. 28 is a schematic structural diagram of another service transmission apparatus according to an embodiment, as shown in fig. 28, a FlexE frame structure is detected and terminated at an interface of the service transmission apparatus from an upstream FlexE frame signal, the service transmission apparatus searches for an adjustment fragment identifier block, determines a position of the adjustment fragment and a position of a service fragment, extracts services corresponding to all clients from the service fragment, and buffers each service. And the local client of the service transmission device performs slice encapsulation on the service, cuts the service into fragments with the same size as the service fragments, and caches the fragments. For example, the original service is cut and encapsulated into a fixed-length message block structure composed of 10 information blocks, and the fixed-length message block structure is placed on a service slice with the length of 10 information blocks for carrying. The structure of the fixed-length message block is shown in table 3.
TABLE 3
S block D block D block D block D block D block D block D block D block T block
Wherein, the S block is a first block, the D block is a data content block, and the T block is an end block.
The transmitting port of the service transmission device regenerates a Flexe frame structure, determines the position of the adjusting fragment and the position of each service fragment, determines the transmitting time of each service fragment when transmitting a Flexe frame signal, and the scheduler schedules and outputs the service from the upstream and the local service at fixed time and schedules and outputs the service to the corresponding service fragment at the transmitting time of the corresponding bearing fragment. And determining the frequency deviation condition of a sending clock of the service transmission device according to the buffer depth variation condition of the upstream service, and correspondingly adjusting the size of an adjustment fragment in a sending Flexe frame so as to adapt to the clock deviation between upstream and downstream equipment.
Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method provided in any of the embodiments of the present application.
The computer storage media of the embodiments of the present application may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. Computer-readable storage media include (a non-exhaustive list): an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, Ruby, Go, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of Network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It will be clear to a person skilled in the art that the term user terminal covers any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a car mounted mobile station.
In general, the various embodiments of the application may be implemented in hardware or special purpose circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software which may be executed by a controller, microprocessor or other computing device, although the application is not limited thereto.
Embodiments of the application may be implemented by a data processor of a mobile device executing computer program instructions, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
Any logic flow block diagrams in the figures of this application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program may be stored on a memory. The memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, Read Only Memory (ROM), Random Access Memory (RAM), optical storage devices and systems (digital versatile disks, DVDs, or CD discs), etc. The computer readable medium may include a non-transitory storage medium. The data processor may be of any type suitable to the local technical environment, such as but not limited to general purpose computers, special purpose computers, microprocessors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Programmable logic devices (FGPAs), and processors based on a multi-core processor architecture.

Claims (19)

1. A method for service transmission, comprising:
acquiring service fragments and adjusting fragments;
mapping the service to the service fragment, and adjusting the size of the adjustment fragment according to the clock frequency of the first communication node;
and sending the service fragment and the adjustment fragment to a second communication node.
2. The method according to claim 1, wherein the obtaining the service fragment and the adjusting the fragment comprises:
determining n time slots for carrying service, wherein each time slot comprises m information blocks, and n and m are positive integers;
and segmenting the n × m information blocks to obtain the service segments and the adjustment segments.
3. The method of claim 2, wherein the determining n timeslots for bearer traffic comprises:
when a packet of the flexible ethernet technology FlexE protocol includes X members, the packet includes X × 20 time slots, n time slots for carrying traffic are determined in the X × 20 time slots, and X is a positive integer.
4. The method according to claim 2, wherein the method for fragmenting n × m information blocks to obtain the service fragment and the adjustment fragment comprises at least one of:
when m is 1023, the n time slots include 1023 information blocks in (y +1) FlexE overhead block time, and the 1023 information blocks are segmented to obtain the service segment and the adjustment segment, wherein y is a positive integer;
and when m is any value, segmenting the n × m information blocks to obtain the service segments and the adjustment segments.
5. The method of claim 4,
when n is 1, y is 1, and m is 1023, segmenting 1023 information blocks to obtain 127 service segments and 1 adjustment segment, wherein each service segment comprises 8 information blocks, and each adjustment segment comprises 7 information blocks;
when n is 1, y is 1, and m is 1023, segmenting 1023 information blocks to obtain 102 service segments and 1 adjustment segment, wherein each service segment comprises 10 information blocks, and each adjustment segment comprises 3 information blocks;
when n is 1, y is 1, and m is 1023, segmenting 1023 information blocks to obtain 63 service segments and 1 adjustment segment, wherein each service segment comprises 16 information blocks, and each adjustment segment comprises 15 information blocks;
when n is 1, y is 8, and m is 8 is 1023, segmenting 8 is 1023 information blocks to obtain 1022 service segments and 1 adjusting segment, wherein each service segment comprises 8 information blocks, and each adjusting segment comprises 8 information blocks;
when n is 2, y is 1, and m is 1023, segmenting 2 × 1023 information blocks to obtain 255 service segments and 1 adjustment segment, wherein each service segment includes 8 information blocks, and each adjustment segment includes 6 information blocks.
6. The method according to claim 1, wherein all the service fragments are ordered in sequence and form a certain sequential relationship with the adjustment fragment.
7. The method of claim 1, wherein the adjusting the size of the flit according to the clock frequency of the first communication node comprises:
when the transmitting frequency and the receiving frequency of the first communication node are equal, keeping the number of information blocks included in the adjustment fragment unchanged;
when the sending frequency of the first communication node is less than the receiving frequency and the frequency difference accumulated value reaches a preset threshold, reducing the number of information blocks included in the adjustment fragment;
and when the sending frequency of the first communication node is greater than the receiving frequency and the frequency difference accumulated value reaches a preset threshold, increasing the number of information blocks included in the adjustment fragment.
8. The method of claim 7, wherein the adjustment slice comprises at least one identification block; or at least one identification block and at least one free block.
9. The method of claim 8, wherein the identification block has a special identifier, and wherein the special identifier is used to determine the location of the slice.
10. The method of claim 8,
when the number of information blocks included in the adjustment fragment is reduced, the number of at least one of the repeated identification blocks and the idle blocks is reduced;
when the number of information blocks included in the adjustment fragment increases, the number of at least one of the identification block and the free block increases.
11. The method of claim 1, wherein the service has at least one of the following characteristics:
the service is cut and encapsulated into messages with consistent size, and the messages are mapped to the service fragments;
a service is carried on one service fragment or at least two service fragments;
for at least two services, different services are carried on different service fragments.
12. The method of claim 11, wherein when a service is carried on at least two of the service slices, the service slices are distributed uniformly and discretely.
13. A method for service transmission, comprising:
receiving a service fragment and an adjustment fragment sent by a first communication node;
determining the position of the adjustment fragment according to the adjustment fragment, and determining the position of the service fragment according to the position of the adjustment fragment;
and extracting the service from the service fragment.
14. The method according to claim 13, wherein all the service slices are ordered in sequence and have a certain order relationship with the adjustment slices.
15. The method of claim 13, wherein the adjustment slice comprises at least one identification block; or at least one identification block and at least one free block.
16. The method of claim 15, wherein the identification block has a special identification;
the determining the position of the adjustment fragment according to the adjustment fragment includes:
and determining the position of the adjustment fragment according to the special identifier.
17. The method of claim 13, wherein the service has at least one of the following characteristics:
the service is cut and encapsulated into messages with consistent size, and the messages are mapped to the service fragments;
a service is carried on one service fragment or at least two service fragments;
for at least two services, different services are carried on different service fragments;
and extracting the information of each service from the service fragment, and recovering to obtain the original data content.
18. A traffic transmission apparatus, comprising: a processor for implementing a traffic transmission method as claimed in any one of claims 1-17 when executing a computer program.
19. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out a method for traffic transmission according to any one of claims 1-17.
CN201910713782.6A 2019-08-02 2019-08-02 Service transmission method, device and computer readable storage medium Pending CN112312476A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910713782.6A CN112312476A (en) 2019-08-02 2019-08-02 Service transmission method, device and computer readable storage medium
PCT/CN2020/103059 WO2021023001A1 (en) 2019-08-02 2020-07-20 Service transmission method and apparatus, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910713782.6A CN112312476A (en) 2019-08-02 2019-08-02 Service transmission method, device and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112312476A true CN112312476A (en) 2021-02-02

Family

ID=74486640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910713782.6A Pending CN112312476A (en) 2019-08-02 2019-08-02 Service transmission method, device and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN112312476A (en)
WO (1) WO2021023001A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113993163B (en) * 2021-10-26 2023-07-25 新华三信息安全技术有限公司 Service processing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967635A (en) * 2014-05-22 2015-10-07 腾讯科技(深圳)有限公司 Data transmission method and apparatus thereof
CN106850465A (en) * 2016-12-27 2017-06-13 深圳市海思半导体有限公司 A kind of Flex E method for interchanging data and switching equipment
WO2018130228A1 (en) * 2017-01-16 2018-07-19 中兴通讯股份有限公司 Service delivery method, device and system, and storage medium
CN108632886A (en) * 2017-03-21 2018-10-09 华为技术有限公司 A kind of method for processing business and device
CN108988977A (en) * 2017-05-31 2018-12-11 中兴通讯股份有限公司 The methods, devices and systems of business transferring stream in a kind of flexible Ethernet protocol
CN109150361A (en) * 2017-06-16 2019-01-04 中国移动通信有限公司研究院 A kind of transfers net system, data exchange and transmission method, device and equipment
WO2019085809A1 (en) * 2017-10-31 2019-05-09 华为技术有限公司 Method, relevant device and system for acquiring a target transmission path

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9609400B2 (en) * 2013-08-22 2017-03-28 Nec Corporation Reconfigurable and variable-rate shared multi-transponder architecture for flexible ethernet-based optical networks

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967635A (en) * 2014-05-22 2015-10-07 腾讯科技(深圳)有限公司 Data transmission method and apparatus thereof
CN106850465A (en) * 2016-12-27 2017-06-13 深圳市海思半导体有限公司 A kind of Flex E method for interchanging data and switching equipment
WO2018130228A1 (en) * 2017-01-16 2018-07-19 中兴通讯股份有限公司 Service delivery method, device and system, and storage medium
CN108632886A (en) * 2017-03-21 2018-10-09 华为技术有限公司 A kind of method for processing business and device
CN108988977A (en) * 2017-05-31 2018-12-11 中兴通讯股份有限公司 The methods, devices and systems of business transferring stream in a kind of flexible Ethernet protocol
CN109150361A (en) * 2017-06-16 2019-01-04 中国移动通信有限公司研究院 A kind of transfers net system, data exchange and transmission method, device and equipment
WO2019085809A1 (en) * 2017-10-31 2019-05-09 华为技术有限公司 Method, relevant device and system for acquiring a target transmission path

Also Published As

Publication number Publication date
WO2021023001A1 (en) 2021-02-11

Similar Documents

Publication Publication Date Title
US11552721B2 (en) Clock synchronization method and apparatus
EP2509344B1 (en) Method for transmitting and receiving multimedia information and terminal thereof
EP3041312B1 (en) Communication establishment method, mobile station and transfer device based on transfer mode
CN107786320B (en) Method, device and network system for sending and receiving service
US10959129B2 (en) Data transmission method, apparatus, and system, and device
CN103369593B (en) A kind of method compressing reconciliation compressed ethernet message and network element device
US11665766B2 (en) Method and apparatus for reducing overhead of ethernet frame in next generation mobile communication system
CN110858790B (en) Data packet transmission method and device, storage medium and electronic device
CN108306915A (en) A kind of communication means realized multi-protocol stack and deposited
US7864701B2 (en) Apparatus, system and method capable of decreasing management frame size in wireless networks
CN112995232B (en) Optimization method for concurrent transmission of ORAN protocol data plane and control plane
CN102348203A (en) Method for realizing encryption synchronization
CN112312476A (en) Service transmission method, device and computer readable storage medium
US8873450B2 (en) Synchronization processing method for multimedia broadcast multicast service, upper layer network element, and lower layer network element thereof
CN107548153B (en) Paging method, RAN-UP entity, RAN-CP entity and UE
US20230019547A1 (en) Uplink data transmission scheduling
CN110572237B (en) Signal sending and relaying method and related equipment
CN113543302A (en) Data transmission method and base station
CN108173623B (en) User-defined baseband frame packaging method based on sliding CRC
WO2016183823A1 (en) Group service feedback method and apparatus
WO2023165222A1 (en) Mapping method and apparatus for content to be mapped, and storage medium and electronic apparatus
CN109560894B (en) Method and equipment for adapting transmission rate of repeater
WO2024032297A1 (en) Service information processing method, network device, and storage medium
CN112887059B (en) Method for expanding MAC frame format in-band transmission flow control data
CN111245577B (en) Data transmission method, system and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination