Bearing method, communication node and storage medium

By adopting multiple time slot sizes of bearer frame structures and multi-frame structures in the FlexE protocol, the problem that the FlexE protocol is difficult to carry customer services less than 5G speeds is solved, and flexible bearer bandwidths and efficient adaptation to communication nodes of different customer service bandwidths is achieved. sex.

CN119012357APending Publication Date: 2024-11-22ZTE CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310570037.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-18
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The FlexE protocol is difficult to effectively carry customer services less than 5G speeds, and the time slot size is inflexible, which cannot meet the bandwidth requirements of multiple customer services.

Method used

By determining a bearer frame structure that supports multiple slot sizes, a multi-frame structure is used to map and transmit the target data to achieve flexible bearer of different time slot sizes.

Benefits of technology

It realizes flexible carrying of service bandwidths for different customers, improves the adaptability and efficiency of communication nodes, and meets various bandwidth requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119012357A_ABST
    Figure CN119012357A_ABST
Patent Text Reader

Abstract

The invention discloses a bearing method, a communication node and a storage medium, and a transmission method comprises the steps: determining a frame structure of a bearing frame, the bearing frame comprising a plurality of code blocks, the bearing frame comprising a plurality of time slots, the time slots supporting a plurality of time slot sizes, and one time slot size being used in the determined frame structure; determining a frame structure of a multiframe including the bearing frame; and mapping target data to the bearing frame in the multiframe for transmission.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, for example, to a bearing method, a communication node and a storage medium. Background Art

[0002] The Flexible Ethernet (FlexE) protocol standard technical specification defines a method for delivering customer services at a speed of n (n is a positive integer)*5G (in bits per second). The FlexE physical interface can efficiently carry customer services at speeds above 5G.

[0003] In order to meet the needs of carrying customer services at speeds lower than 5G, a fine-grained frame structure has emerged. The size of a sub-time slot in a fine-grained frame structure can be 2 code blocks, 4 code blocks, or 8 code blocks. Therefore, how to achieve the transmission of customer services with different time slot sizes is an urgent problem to be solved. Summary of the invention

[0004] The present application provides a bearing method, a communication node and a storage medium.

[0005] In a first aspect, an embodiment of the present application provides a transmission method, including:

[0006] Determine a frame structure of a bearer frame, the bearer frame includes multiple code blocks, the bearer frame includes multiple time slots, the time slots support multiple time slot sizes, and one time slot size is used in the determined frame structure;

[0007] Determining a frame structure of a multiframe including the bearer frame;

[0008] The target data is mapped to the bearer frame in the multiframe for transmission.

[0009] In a second aspect, an embodiment of the present application provides a transmission method, including:

[0010] According to the first time slot size, target data carried in a time slot of a bearer frame is acquired, wherein the bearer frame includes multiple code blocks, the bearer frame includes multiple time slots, and the time slots support multiple time slot sizes;

[0011] The target data is carried in a multiframe and transmitted according to a second time slot size, and the first time slot size is not equal to the second time slot size.

[0012] In a third aspect, an embodiment of the present application provides a communication node, including:

[0013] one or more processors;

[0014] A storage device for storing one or more programs;

[0015] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided in the embodiments of the present application.

[0016] In a fourth aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the present application is implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1a A schematic diagram of a scenario of an optical module combination provided in an embodiment of the present application;

[0018] Figure 1b This is a schematic diagram of the 64 / 66 encoding rule of the 802.3 protocol;

[0019] Figure 1c A schematic diagram of inserting an overhead block into data provided by an embodiment of the present application;

[0020] Figure 1d is a schematic diagram of an fg-BU frame structure provided in an embodiment of the present application;

[0021] Figure 1e A schematic diagram of a load-bearing principle provided in an embodiment of the present application;

[0022] Figure 1f A schematic diagram of compressing customer services and then carrying them is provided in an embodiment of the present application;

[0023] Figure 1g A schematic diagram of carrying data in a size of 2 code blocks provided in an embodiment of the present application;

[0024] Figure 1h A bearer frame structure provided in an embodiment of the present application;

[0025] Figure 2 A schematic diagram of a transmission method provided in an embodiment of the present application;

[0026] Figure 3 A schematic diagram of a flow chart of another transmission method provided in an embodiment of the present application;

[0027] Figure 4a A schematic diagram of a multiframe structure in which each time slot carries two client code blocks provided in an embodiment of the present application;

[0028] Figure 4b A schematic diagram of a structure in which each time slot carries 4 client code block multiframes provided in an embodiment of the present application;

[0029] Figure 4c A bearer frame structure provided in an embodiment of the present application;

[0030] Figure 4d A schematic diagram of the structure of a multiframe in which each time slot carries two client code blocks provided in an embodiment of the present application;

[0031] Figure 4e A schematic diagram of the structure of a multiframe in which each time slot carries 4 client code blocks provided in an embodiment of the present application;

[0032] Figure 4f A schematic diagram of a bearer frame structure of a multiframe carrying 8 client code blocks per time slot provided in an embodiment of the present application;

[0033] Figure 4g A schematic diagram of the structure of a bearer frame provided in an embodiment of the present application;

[0034] Figure 4h A schematic diagram of the structure of a multiframe in which each time slot carries two client code blocks provided in an embodiment of the present application;

[0035] Figure 4i A schematic diagram of the structure of a multiframe in which each time slot carries 4 client code blocks provided in an embodiment of the present application;

[0036] Figure 4j A schematic diagram of the structure of a multiframe in which each time slot carries 8 client code blocks provided in an embodiment of the present application;

[0037] Figure 4k A schematic diagram of the structure of a bearer frame provided in an embodiment of the present application;

[0038] Figure 4l A schematic diagram of the structure of a multiframe in which each time slot carries two client code blocks provided in an embodiment of the present application;

[0039] Figure 4m A schematic diagram of the structure of a multiframe in which each time slot carries 4 client code blocks provided in an embodiment of the present application;

[0040] Figure 4n A schematic diagram of the structure of a multiframe in which each time slot carries 8 client code blocks provided in an embodiment of the present application;

[0041] Figure 4o A schematic diagram of the structure of a bearer frame provided in an embodiment of the present application;

[0042] Figure 4p A schematic diagram of the structure of a multiframe in which each time slot carries two client code blocks provided in an embodiment of the present application;

[0043] Figure 4q A schematic diagram of the structure of a multiframe in which each time slot carries 4 client code blocks provided in an embodiment of the present application;

[0044] Figure 4r A schematic diagram of the structure of a multiframe in which each time slot carries 8 client code blocks provided in an embodiment of the present application;

[0045] Figure 4s A schematic diagram of a scenario of penetrating different network systems provided in an embodiment of the present application;

[0046] Figure 4t Another bearer frame structure provided in an embodiment of the present application;

[0047] Figure 4u Another bearer frame structure provided in an embodiment of the present application;

[0048] Figure 4v Another bearer frame structure provided in an embodiment of the present application;

[0049] Figure 4w A schematic diagram of the structure of a bearer frame for carrying customer services provided in an embodiment of the present application;

[0050] Figure 4x A schematic diagram of the structure of another bearer frame for carrying customer services provided in an embodiment of the present application;

[0051] Figure 4y A schematic diagram of the structure of another bearer frame for carrying customer services provided in an embodiment of the present application;

[0052] Figure 5 A schematic diagram of the structure of another bearer frame for carrying customer services provided in an embodiment of the present application;

[0053] Figure 6a A schematic diagram of the structure of another bearer frame for carrying customer services provided in an embodiment of the present application;

[0054] Figure 6b Another bearer frame structure provided in an embodiment of the present application;

[0055] Figure 7 A schematic diagram of the structure of a transmission device provided in an embodiment of the present application;

[0056] Figure 8 A schematic diagram of the structure of another transmission device provided in an embodiment of the present application;

[0057] Fig. 9 A schematic diagram of the structure of a communication node provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the present application more clear, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily without conflict.

[0059] The steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions. Also, although a logical sequence is shown in the flowchart, in some cases, the steps shown or described can be performed in a sequence different from that shown here.

[0060] The fine-grained slicing technology of the slicing packet network proposes a fine-grained frame structure, which divides a 5G rate FlexE time slot pipeline into 480 sub-time slots. The bandwidth of each sub-time slot is 10M, which can carry customer services of 10M and above. The size of each sub-time slot in the fine-grained frame structure is 8 code blocks. In order to reduce the delay time, the sub-time slot in the fine-grained frame structure is reduced to 2 or 4 code blocks. Therefore, it is necessary to solve the scenarios of fine-grained frame transmission with different sub-time slot sizes of 2 code blocks, 4 code blocks and 8 code blocks.

[0061] The rapid increase in user network information traffic has led to the rapid development of communication network information transmission bandwidth. The interface bandwidth speed of communication equipment has increased from 10M (unit: bit / second, the same as the following content) to 100M, 1G, 10G, and 100G. A large number of 100G optical modules have been commercialized on the market. At present, 400G optical modules have been developed, but the price of 400G optical modules is expensive, exceeding the price of 4 100G optical modules, which affects the value of 400G optical modules. In order to transmit 400G services on 100G optical modules, the FlexE protocol combines multiple 100G optical modules to form a high-speed transmission channel. Figure 1a A schematic diagram of a scenario of an optical module combination provided in an embodiment of the present application. Figure 1a As shown in the figure, four 100G optical modules are combined through the FlexE protocol to form a 400G transmission channel, which is equivalent to the transmission speed of one 400G optical module, and solves the transmission demand of 400G services without increasing costs. For the 100G rate at the physical layer, the Ethernet protocol defines that before sending a 100G data message, the data packet message is 64 / 66 encoded, and the 64-bit data block is expanded into a 66-bit information block. The added 2 bits are located in front of the 66-bit block as the start mark of the 66-bit block, and then sent out from the optical port in the form of a 66-bit block.

[0062] Figure 1bThis is a schematic diagram of the 802.3 protocol 64 / 66 encoding rules. Each code block consists of 66 bits. The first two bits are the synchronization header of the code block. The synchronization header bit is "01" to indicate that it is a D code block (data code block), and the following 8 bytes (64 bits) are 8 bytes of data content; the synchronization header bit is "11" to indicate that it is a control code block. The first byte content immediately following indicates the type of control block, and the following 7 bytes are the content of the control block. The 7-byte content is determined by the type of control block. S code blocks and T code blocks are both control code blocks. The first byte content in the S code block is 0x78, indicating that the control code block is an S code block. In addition to indicating that it is an end block, the T code block can also carry customer byte content (located in the last 7 bytes of the code block). In the Ethernet standard, there are 8 types of T code blocks: T0, T1, T2, T3, T4, T5, T6, and T7. T0 (the first byte is 0x87) does not carry customer information, T1 (the first byte is 0x99) carries 1 byte of customer information, T2 (the first byte is 0x99) carries 2 bytes of customer information, and so on. T7 (when receiving, the optical port identifies the 66-bit block from the received data stream, and then recovers the original 64-bit data from the 66-bit block to reassemble the data message. For 100G services, every 20 66-bit data blocks are divided into a data block group, each group has 20 data blocks, representing 20 time slots, and each time slot represents a service speed of 5G (bit / s) bandwidth. When sending a 66-bit data block, a FlexE overhead block is inserted after every 1023 data block groups (1023*20 data blocks) are sent. Figure 1c A schematic diagram of inserting an overhead block into data provided by an embodiment of the present application, such as Figure 1cIt shows that after every 1023 20 blocks are sent, an overhead block is carried on a block (corresponding to the slash filling position). After inserting the overhead block, continue to send the data block. After sending the second 1023*20 data block, insert the overhead block again, and so on. In this way, in the process of sending the data block, the overhead block will be inserted periodically, and the interval between two adjacent overhead blocks is 1023*20 data blocks. For the physical line speed of 100G (bit / s), the FlexE protocol divides the physical port into 20 time slots, so the bandwidth corresponding to each time slot is 5G. The number of time slots and time slot bandwidth defined by the FlexE protocol can meet the carrying requirements of high-speed services. For high-volume, low-speed customer services, some difficulties are encountered: 1. The 100G physical channel has only 20 time slots in total, and the total number of time slots is too small; 2. The bandwidth of each time slot is 5G, and the granularity of a single time slot is too large to transmit customer services with a rate lower than 5G. In some scenarios, there are many customer services and the bandwidth of each service is relatively small, that is, there are many time slots and the bandwidth granularity of a single time slot is small, which makes the FlexE protocol unable to meet the application scenario. In order to solve the need to carry customer services at speeds lower than 5G, the fine-grained slicing technology of the sliced ​​packet network proposes a fine-grained frame structure to carry and transmit a sequence of fine-grained basic units (fg-BU) on the 5G speed time slots of the FlexE protocol. Figure 1d is a schematic diagram of an fg-BU frame structure provided in an embodiment of the present application, see Figure 1d , an fg-BU frame structure consists of S blocks + 195 D blocks + T blocks. There are 24 fg-BU sub-time slots in an fg-BU frame. 20 fg-BU frame structures form a multiframe. There are 480 fg-BU sub-time slots in a fine-grained multiframe. The fine-grained basic unit (fg-BU) includes an overhead part and bearer customer information. A 5G bearer pipeline is divided into 480 sub-time slots through a fine-grained basic unit. After deducting the overhead part, the bandwidth of each sub-time slot is 10M, which can carry 10M rate customer services and meet the carrying requirements of ordinary Ethernet services (customer services select multiple sub-time slots to carry according to the speed).

[0063] Figure 1e A schematic diagram of a load-bearing principle provided in an embodiment of the present application. For the load-bearing principle, see Figure 1e .

[0064] In the fine-grained basic unit, each bearer sub-time slot size is 8 code blocks, where each code block consists of 65 bits (each 66-bit code block is compressed into 65 bits, and the compression method is to compress the first 2 synchronization header bits in each code block into 1 synchronization header bit). The size of each sub-time slot is 8*65=520 bits. Figure 1fA schematic diagram of carrying customer services after compression provided in an embodiment of the present application, when a fine-grained sub-time slot carries 10M customer services, the 10M customer services are first 64 / 66 encoded, and after encoding, each 8 66-bit code blocks are grouped as a group and carried on a time slot. Before carrying, each 66-bit code block is compressed to 65 bits (the 2-bit synchronization header bit is compressed to 1 bit) to form 8 65-bit code blocks, which are carried on a sub-time slot. There are 24 sub-time slots in an fg-BU frame, and customer services select some sub-time slots to carry. The fg-BU frame carrying the customer service is then mapped to the time slot of the FlexE protocol and sent out, and delivered to the remote destination device through the 5G rate time slot of the FlexE protocol.

[0065] The size of each sub-slot in the above fg-BU frame is 8 code blocks (actually compressed code blocks). Figure 1g A schematic diagram of carrying according to a size of 2 code blocks provided in an embodiment of the present application, see Figure 1g In actual applications, in some scenarios, customer services need to be carried according to the size of 2 code blocks. If they are carried directly in each sub-time slot in the fg-BU frame, 4 groups of 2 code blocks of customer services need to be aggregated and carried in one sub-time slot in the fg-BU frame. This method will require waiting for 4 groups of 2 code blocks to be aggregated into 8 code blocks, increasing the delay time.

[0066] The FlexE standard uses time slots to represent customer bearer positions. In order to distinguish them, the fg-BU frame divides the customer bearer positions into sub-time slots to distinguish and compare. This patent does not involve FlexE time slots, but only considers the bearer frame structure of customer services. In this patent, the position of the bearer frame that carries customer services is called a time slot (relative to the FlexE time slot, it is actually a sub-time slot) to simplify the name. In actual applications, some scenarios of customer services may also need to be carried according to the size of 1 code block, 4 code blocks, 16 code blocks, 32 code blocks, etc. In order to adapt to different customer code block size scenarios, a universal bearer frame structure is constructed. The frame structure is still composed of S code blocks, multiple D code blocks and T code blocks. The structure of the frame (total length of the frame, total number of code blocks, code block position order, main overhead field content, etc.) remains unchanged, but the three parameters of each time slot size in the frame, the number of time slots in the frame, and the number of frames in the multi-frame are changed according to the constraints to achieve different scenario applications. After the frame structure is determined, the size of each time slot in the frame structure is set to x (the unit can be bytes, or code blocks, or compressed code blocks, or transcoded code blocks), the number of time slots in the frame is y, and a multiframe is composed of z frames. x, y, and z are positive integers, and the product of the two parameters x and y is fixed, as well as the product of the two parameters y and z is fixed. The product of the two parameters x and y is constant, corresponding to the total amount of customer information carried in a frame (the unit can be bytes, or code blocks, or compressed code blocks, or transcoded code blocks). When the frame structure remains unchanged, no matter how the time slot size and the number of time slots in a frame change, the total amount of customer information corresponding to all time slots in a frame remains constant, thereby ensuring that the frame length remains unchanged. The product of the two parameters y and z is constant, corresponding to the total number of time slots in a multiframe, no matter how the number of time slots in a frame changes, the total number of time slots in a multiframe is fixed. Figure 1h A bearer frame structure provided in an embodiment of the present application. Figure 1h It is shown that multiframe 1 includes z bearer frames.

[0067] In an exemplary embodiment, Figure 2 A schematic diagram of a transmission method provided in an embodiment of the present application. Figure 2 , this embodiment includes the following steps:

[0068] S110: Determine a frame structure of a bearer frame.

[0069] The bearer frame can be considered as a frame that carries data, such as carrying target data. The target data can be considered as data to be carried, such as customer services. The bearer frame includes multiple code blocks, the bearer frame includes multiple time slots, the time slots support multiple time slot sizes, and one time slot size is used in the determined frame structure.

[0070] In order to adapt to scenarios with different customer code block sizes, the present application constructs a universal bearer frame structure, which carries multiple code blocks. The code blocks are not limited here and can be determined based on actual scenarios. For example, the multiple code blocks include S code blocks, multiple D code blocks and T code blocks.

[0071] The structure of the bearer frame remains unchanged, and the three parameters of each time slot size in the frame, the number of time slots in the frame, and the number of frames in the multiframe are changed. Since the time slot size can be changed, the bearer frame supports multiple time slot sizes, and the bearer frame can only use one time slot size each time it carries data. The choice of time slot size is not limited and can be determined according to the usage scenario of the communication node. The time slot size of the bearer frame can be associated with the size of the client code block. If the two are equal, when the size of the client code block is 2, the time slot size of the bearer frame can be 2.

[0072] The structure of the bearer frame remains unchanged by adjusting the variable time slot size, the number of time slots and the number of bearer frames contained in the multiframe.

[0073] In this embodiment, the number of time slots may be determined based on the time slot size, and the number of bearer frames in a multiframe may be determined based on the number of time slots.

[0074] The step of determining the structure of the bearer frame may at least include determining the time slot size and the number of time slots of the bearer frame.

[0075] The time slot size can be constrained by the communication scenario. The time slot size, the number of time slots and the number of bearer frames in a multiframe can be considered as parameters associated with the total amount of information carried in a bearer frame and the total number of time slots in a frame. No matter how the time slot size of a bearer frame changes, the total amount of information carried in a bearer frame and the total number of time slots in a multiframe can be kept constant.

[0076] S120: Determine a frame structure of a multiframe including the bearer frame.

[0077] The step of determining the structure of the multiframe may at least include determining the number of bearer frames in the multiframe. The number of bearer frames in the multiframe may be determined by the time slot size, such as indirectly by the time slot size, determining the number of time slots in the bearer frame by the time slot size, and then determining the number of bearer frames in the multiframe based on the number of time slots in the bearer frame.

[0078] It should be noted that the time slot size, the number of time slots in the bearer frame, and the number of bearer frames in the multiframe may be associated with a communication standard and / or a communication scenario. In a certain communication standard, a fixed time slot size, the number of time slots in the bearer frame, and the number of bearer frames in the multiframe may be adopted. The fixed time slot size, the number of time slots in the bearer frame, and the number of bearer frames in the multiframe may be predetermined and directly used in the communication process. Steps S110 and S120 may directly obtain a predetermined result, such as obtaining a predetermined time slot size.

[0079] S130: Map the target data to the bearer frame in the multiframe for transmission.

[0080] The target data can be considered as the customer service to be carried and transmitted on the multiframe. The target data is mapped to the time slot of the bearer frame in the multiframe for transmission.

[0081] The time slot size of the bearer frame in the embodiment of the present application supports multiple time slot sizes. During the communication process, only one time slot size can be used to determine the structure of the bearer frame and the structure of the multiframe. The formed multiframe can support multiple communication scenarios. In a fixed communication scenario, such as a non-penetration scenario without time slot size change, communication with a fixed time slot size can be achieved to realize the transmission of target data in this scenario. Since the multiframe supports variable time slot sizes, when applied to a communication scenario corresponding to another time slot size, the scenario of target data in another scenario can also be realized. The communication scenario corresponding to another time slot size can be a client code block in the communication scenario corresponding to another time slot size.

[0082] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.

[0083] In one embodiment, the product of the time slot size in the bearer frame and the number of time slots in the bearer frame is fixed, and the product of the number of time slots in the bearer frame and the number of the bearer frames in the multiframe is fixed.

[0084] For the convenience of description in this application, the time slot size in the bearer frame can be recorded as x, the number of time slots in the bearer frame can be recorded as y, and the number of bearer frames in the multiframe can be recorded as z.

[0085] In this embodiment, the product of x and y is fixed, and the product of y and z is fixed, so as to ensure the total amount of information carried in the bearer frame and the total amount of time slots in the multiframe.

[0086] In one embodiment, the code block includes a start code block (i.e., an S code block), a data code block (i.e., a D code block) and an end code block (i.e., a T code block), and the bearer frame includes an overhead field, and the overhead field is carried in the data code block or the start code block or the end code block, and the overhead field indicates the number of the bearer frames in the complex frame and the position of the bearer frame in the complex frame.

[0087] The bearer frame consists of an S code block, multiple D code blocks and a T code block, and includes overhead bytes in the bearer frame. If the S code block does not carry a client code block, the overhead byte length is equal to the T code block carrying length, which is equivalent to the T code block not carrying a client code block. This is equivalent to only the D code block in the bearer frame carrying the client code block, and the S code block and the T code block do not carry the client code block. In this way, the carrying rate of the bearer frame = the number of D code blocks / (the number of D code blocks + 2). When the client code block is not compressed and the overhead bytes are carried on D, when it is necessary to realize the ability to carry 4.8G client services on the 5G bandwidth, the D of the bearer frame needs to be greater than 180 to achieve this.

[0088] An overhead field is defined in the bearer frame. The content of the overhead field sets the number of frames in the multiframe (such as the number of bearer frames in the multiframe) and the order of each frame (such as the position of the bearer frame in the multiframe). For example, the overhead field sets information indicating the multiframe structure, such as MFI (Multi-Frame indication) or MFAS (Multi-Frame Alignment Signal). The multiframe information carried in all frames changes periodically. The multiframe information indicates the order of the frame in the multiframe. Each change of the multiframe information once a period represents the size of a multiframe. For example, the multiframe information MFI is composed of 5 bits. The MFI of the first frame is 00000, the MFI of the second frame is 00001, the MFI of the third frame is 00010, the MFI of the fourth frame is 00011, ..... the MFI of the 32nd frame is 11111, then the MFI of the 33rd frame is 00000, and the MFI of the 34th frame is 00001....... The MFI value changes in each frame. The 1st frame with MFI=00000 to the 32nd frame with MFI=11111 constitutes a multiframe, and 32 frames constitute a multiframe. The MFI value changes periodically, and the next time MFI=00000-11111 constitutes a multiframe. When MFI consists of 5 bits, a maximum of 32 frames constitute a multiframe. If MFI consists of 3 bits, a maximum of 8 frames constitute a multiframe, and MFI changes from 000 to 111. When defining the number of MFI bits, it can be defined as 5 bits. When all 5 bits are used, it can indicate that 32 frames constitute a multiframe, and MFI changes from 00000 to 11111. When only the lower 3 bits are valid, it can indicate that 8 frames constitute a multiframe, and MFI changes from xx000 to xx111 (ignoring the contents of the upper two bits). The multiframe flag uses different bits to indicate multiframe structures of different sizes.

[0089] In one embodiment, the overhead field is located in the first data code block in the data code block, the carrying area of ​​the carrying frame includes data code blocks other than the first data code block, an area in the first data code block other than an area where the mapping overhead field is located, and an area in the end code block other than an area where the end block is located, and the target data is carried in the carrying area.

[0090] In this embodiment, the overhead field is located in the D code block, that is, the first D code block position, the last byte in the first D code block (that is, the area in the first data code block except the area where the mapping overhead field is located), all (such as 8) bytes in all subsequent D code blocks (that is, the data code blocks except the first data code block) and the last 7 bytes of the last T code block constitute the carrying area of ​​the carrying frame (that is, the area in the end code block except the area where the end block is located).

[0091] The bearer area can be considered as an idle area in the bearer frame that can map customer services. Since the first data code block is used to carry the overhead field, the bearer area includes the area of ​​the first data code block that does not map the overhead field and the data code blocks other than the first data code block. Since the end code block needs to include the end block, the area of ​​the end code block other than the end block can be used as the bearer area.

[0092] In one embodiment, the carrying area of ​​the carrying frame includes the data code block, an area of ​​the start code block excluding an area where the overhead field and the start block are located, and an area of ​​the end code block excluding an area where the end block is located.

[0093] In one embodiment, the bearing area of ​​the bearing frame includes the data code block, an area in the start code block excluding an area where the overhead field is located, and an area in the end code block excluding an area where the end block is located.

[0094] In this embodiment, the overhead field may be located in the start code block, so the bearer area may include all data code blocks, the area in the bearer area excluding the mapping overhead field and the start block, and the area in the end code block excluding the end block.

[0095] In one embodiment, the bearer frame satisfies one or more of the following conditions:

[0096] The number of code blocks included in the bearer area in the bearer frame is i times a first value, and the number of code blocks of the target data is i times a second value, the first value is determined based on the length of the target data code block, and the second value is determined based on the length of the code block in the bearer area;

[0097] The number of time slots corresponding to the target data is a factor of the total number of time slots in the multiframe.

[0098] This embodiment does not limit how to determine the first value and the second value, such as the first value is the length of the target data code block, the second value is the length of the bearing area code block. Or the first value is the value obtained after the length calculation of the target data code block, and the second code block is the value obtained after the length calculation of the bearing area code block.

[0099] Exemplarily, the length of the bearer frame needs to meet several principles. Principle 1: The number of D code blocks in the selected bearer frame is a, and b client code blocks can be carried in a D code block. Since there are 64 bearer bits in the D code block and the length of the client code block is 66 bits, the condition a*64=b*66 (a and b are positive integers) must be satisfied to select appropriate a and b parameters to achieve that b client code blocks can be carried in a D code block. The formula is simplified to: a*32=b*33. To find the values ​​of a and b, a must be a multiple of 33 and b must be a multiple of 32 to satisfy the formula. Therefore, the above formula is further equivalent to the replacement formula: (n*33)*32=(n*32)*33. That is: a=n*33, b=n*32, n is a positive integer (that is, the number of code blocks is i times the first value, the number of code blocks of the target data is i times the second value, the first value is determined based on the length of the target data code block, and the second value is the length of the bearer area code block). Principle 2: If each time slot is 2 code blocks, there are b / 2 time slots at b code block positions in the frame. When the total time slots are 480, the b / 2 time slots in each frame must be a factor of 480 (i.e., the number of time slots corresponding to the target data is a factor of the total number of time slots in the multiframe). Principle 3: There are a maximum of 480 time slots in each frame, and there are b / 2 time slots in each frame, then b / 2 is not greater than 480, i.e., n*16 is not greater than 480 (i.e., the number of time slots corresponding to the target data is not greater than the total number of time slots in the multiframe). Principle 4: In the bearer frame efficiency requirement, the number of D code blocks is greater than 180, and a=(n*33) is greater than 180.

[0100] In one embodiment, the first value is the length of the target data code block, and the second value is the length of the bearing area code block; or,

[0101] The first value is the length of the target data divided by a common divisor, and the second value is the length of the carrier area code block divided by a common divisor, and the common divisor is the common divisor of the length of the target data and the length of the carrier area code block (such as a=n*33, b=n*32).

[0102] In one embodiment, when the start code block does not carry overhead, the bearer frame includes 1 start code block, 198 data code blocks and 1 end code block, and the code block length of the target data is 66 bits; when the start code block carries overhead, the bearer frame includes 1 start code block, 197 data code blocks and 1 end code block, and the code block length of the target data is 66 bits.

[0103] In one embodiment, the time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 192, and both x and y are positive integers.

[0104] In one embodiment, the time slot size is 2 code blocks, the number of time slots of the bearer frame is 96 time slots, and the multiframe is composed of 5 bearer frames; or,

[0105] The time slot size is 4 code blocks, the number of time slots of the bearer frame is 48 time slots, and the multiframe is composed of 10 bearer frames; or,

[0106] The time slot size is 8 code blocks, the number of time slots of the bearer frame is 24 time slots, and the multiframe is composed of the 20 bearer frames.

[0107] In one embodiment, when the start code block does not carry overhead, the bearer frame includes 1 start code block, 330 data code blocks and 1 end code block, and the code block length of the target data is 66 bits;

[0108] In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 329 data code blocks and 1 end code block, and the code block length of the target data is 66 bits.

[0109] In one embodiment, the time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 320, and both x and y are positive integers.

[0110] In one embodiment, the time slot size is 2 code blocks, the number of time slots of the bearer frame is 160 time slots, and the multiframe is composed of 3 bearer frames; or,

[0111] The time slot size is 4 code blocks, the number of time slots in the bearer frame is 80 time slots, and the multiframe is composed of 6 bearer frames; or,

[0112] The time slot size is 8 code blocks, the number of time slots of the bearer frame is 40 time slots, and the multiframe is composed of the 12 bearer frames.

[0113] In one embodiment, when the start code block does not carry overhead, the bearer frame includes 1 start code block, 495 data code blocks and 1 end code block;

[0114] In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 494 data code blocks and 1 end code block.

[0115] In one embodiment, the time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 480, and both x and y are positive integers.

[0116] In one embodiment, the time slot size is 2 code blocks, the number of time slots of the bearer frame is 240 time slots, and the multiframe is composed of 2 bearer frames; or,

[0117] The time slot size is 4 code blocks, the number of time slots of the bearer frame is 120 time slots, and the multiframe is composed of 4 bearer frames; or,

[0118] The time slot size is 8 code blocks, the number of time slots of the bearer frame is 60 time slots, and the multiframe is composed of the 8 bearer frames.

[0119] In one embodiment, when the start code block does not carry overhead, the bearer frame includes 1 start code block, 990 data code blocks and 1 end code block, and the code block length of the target data is 66 bits;

[0120] In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 989 data code blocks and 1 end code block, and the code block length of the target data is 66 bits.

[0121] In one embodiment, the time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 960, and both x and y are positive integers.

[0122] In one embodiment, the time slot size is 2 code blocks, the number of time slots of the bearer frame is 480 time slots, and the multiframe consists of 1 bearer frame; or,

[0123] The time slot size is 4 code blocks, the number of time slots in the bearer frame is 240 time slots, and the multiframe is composed of 2 bearer frames; or,

[0124] The time slot size is 8 code blocks, the number of the bearer frame time slots is 120 time slots, and the multiframe is composed of the 4 frames.

[0125] In one embodiment, when the start code block does not carry overhead, the bearer frame includes 1 start code block, 65 data code blocks and 1 end code block, and the code block length of the target data is 65;

[0126] In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 64 data code blocks and 1 end code block, and the code block length of the target data is 65.

[0127] In one embodiment, the time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 64, and both x and y are positive integers.

[0128] In one embodiment, the time slot size is 2 code blocks, the number of time slots of the bearer frame is 32 time slots, and the multiframe is composed of 15 bearer frames; or,

[0129] The time slot size is 4 code blocks, the number of time slots of the bearer frame is 16 time slots, and the multiframe is composed of 30 bearer frames; or,

[0130] The time slot size is 8 code blocks, the number of time slots of the bearer frame is 8 time slots, and the multiframe is composed of the 60 bearer frames.

[0131] In one embodiment, when the start code block does not carry overhead, the bearer frame includes 1 start code block, 195 data code blocks and 1 end code block, and the code block length of the target data is 65;

[0132] In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 194 data code blocks and 1 end code block, and the code block length of the target data is 65.

[0133] In one embodiment, the time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 192, and both x and y are positive integers.

[0134] In one embodiment, the time slot size is 2 code blocks, the number of time slots of the bearer frame is 96 time slots, and the multiframe is composed of 5 bearer frames; or,

[0135] The time slot size is 4 code blocks, the number of time slots of the bearer frame is 48 time slots, and the multiframe is composed of 10 bearer frames; or,

[0136] The time slot size is 8 code blocks, the number of time slots of the bearer frame is 24 time slots, and the multiframe is composed of the 20 bearer frames.

[0137] In one embodiment, when the start code block does not carry overhead, the bearer frame includes 1 start code block, 325 data code blocks and 1 end code block, and the code block length of the target data is 65 code blocks;

[0138] In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 324 data code blocks and 1 end code block, and the code block length of the target data is 65 code blocks.

[0139] In one embodiment, the time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 320, and both x and y are positive integers.

[0140] In one embodiment, the time slot size is 2 code blocks, the number of time slots of the bearer frame is 160 time slots, and the multiframe is composed of 3 bearer frames; or,

[0141] The time slot size is 4 code blocks, the number of time slots in the bearer frame is 80 time slots, and the multiframe is composed of 6 bearer frames; or,

[0142] The time slot size is 8 code blocks, the number of time slots of the bearer frame is 40 time slots, and the multiframe is composed of the 12 bearer frames.

[0143] In one embodiment, obtaining target data carried in a bearer frame time slot according to a first time slot size includes:

[0144] Receiving a bearer frame carrying the target data;

[0145] According to a set rule, the idle code blocks between the bearer frames are restored to the original idle distribution state;

[0146] extracting the target data from the bearer frame according to a first time slot size;

[0147] Based on the idle code blocks and the local clock, clock information of the target data is recovered.

[0148] In one embodiment, the setting rule includes one of the following:

[0149] Inserting a first fixed number of idle code blocks between each bearer frame;

[0150] Inserting a second fixed number of idle code blocks between each equal number of bearer frames;

[0151] A third fixed number of idle code blocks are inserted into one multiframe period.

[0152] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 198.

[0153] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 192, and x and y are both positive integers.

[0154] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 330.

[0155] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 320, and x and y are both positive integers.

[0156] In one embodiment, the time slot size is 1 code block, and the number of time slots in the carrier frame is 320 time slots; the time slot size is 2 code blocks, and the number of time slots in the carrier frame is 160 time slots; the time slot size is 4 code blocks, and the number of time slots in the carrier frame is 80 time slots; the time slot size is 8 code blocks, and the number of time slots in the carrier frame is 40 time slots.

[0157] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 495.

[0158] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 480, and x and y are both positive integers.

[0159] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 990.

[0160] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 960, and x and y are both positive integers.

[0161] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 195.

[0162] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 192, and x and y are both positive integers.

[0163] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 65.

[0164] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 64, and x and y are both positive integers.

[0165] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 195.

[0166] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 192, and x and y are both positive integers.

[0167] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 325.

[0168] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 320, and x and y are both positive integers.

[0169] In one embodiment, the time slot size includes one or more of: 2 code blocks, 4 code blocks, and 8 code blocks.

[0170] In one embodiment, the code block length of the target data includes: 66 bits, 65 bits or 257 bits.

[0171] In one embodiment, determining the frame structure of the bearer frame includes:

[0172] Determine a time slot size used by the bearer frame, that is, determine x used for communication;

[0173] The number of time slots in the bearer frame is determined, that is, y used for communication is determined.

[0174] In one embodiment, the determining a frame structure of a multiframe including the bearer frame comprises:

[0175] The number of the bearer frames included in the multiframe is determined, that is, z is determined.

[0176] In one embodiment, mapping the target data to the bearer frame in the multiframe for transmission includes:

[0177] Mapping the target data onto the bearer frame;

[0178] Inserting idle code blocks between the bearer frames according to a set rule;

[0179] The bearer frame is transmitted.

[0180] In one embodiment, the setting rule is not limited as long as it is consistent between the communicating parties.

[0181] In one embodiment, the setting rule includes one of the following:

[0182] Inserting a first fixed number of idle code blocks between each bearer frame;

[0183] Inserting a second fixed number of idle code blocks between each equal number of bearer frames;

[0184] A third fixed number of idle code blocks are inserted into one multiframe period.

[0185] There is no limitation on the values ​​of the first fixed number, the second fixed number and the third fixed number.

[0186] In one embodiment, the method further includes: receiving a bearer frame carrying the target data;

[0187] According to a set rule, the idle code blocks between the bearer frames are restored to the original idle distribution state;

[0188] Extracting the target data from the bearer frame;

[0189] Based on the idle code blocks and the local clock, clock information of the target data is recovered.

[0190] The idle distribution status can be considered as the distribution status of idle code blocks. The original distribution status can be considered as the status that when the source device sends a bearer frame carrying target data, the idle code blocks will be distributed in the bearer frame according to the set rules. The source device can be considered as the source device that sends the target data. For example, when the source device communicates with the sink device and transmits the target data, it can be transferred through the intermediate device. The intermediate device can be considered as the intermediate forwarding device during the communication between the source device and the sink device.

[0191] The means of recovering the clock information is not limited at this time, for example, it can be determined by an algorithm.

[0192] In an exemplary embodiment, Figure 3 A flow chart of another transmission method provided in the embodiment of the present application is shown in FIG. Figure 3 The present application is applicable to the case of implementing the transmission of customer services of different time slot sizes. The method can be executed by a transmission device, which can be executed by software and / or hardware, and the transmission device can be integrated on a communication node. Figure 2 The embodiment shows a technical solution for carrying and transmitting target data in a scenario where the time slot size is changed. The time slot size change can be different when the communication node obtains data and sends data. Figure 3 As shown, this embodiment includes the following steps:

[0193] S210. Obtain target data carried in a bearer frame time slot according to a first time slot size.

[0194] The bearer frame includes multiple code blocks, and the bearer frame includes multiple time slots, and the time slots support multiple time slot sizes.

[0195] S220. Transmit the target data in a multiframe according to the second time slot size.

[0196] The first time slot size is not equal to the second time slot size. In this embodiment, the communication node is in a penetration scenario, and the target data can be obtained according to the first time slot size, and then the target data can be sent according to the second time slot size. When the first time slot size is smaller than the second time slot size, the target data can be spliced. When the second time slot size is larger than the second time slot size, the target data can be split.

[0197] The transmission method provided in this embodiment uses the first time slot size to obtain target data, uses the second time slot size to carry and transmit the target data, and realizes the transmission of client services of different time slot sizes in the penetration scenario of communication between the communication node and two networks corresponding to different time slot sizes. The networks corresponding to different time slot sizes may include a first network whose client code block is the first time slot size, that is, network 1, and a second network whose client code block is the second time slot size, that is, network 2.

[0198] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment. For the detailed details of this embodiment, please refer to the above embodiment.

[0199] In one embodiment, the first time slot size is smaller than the second time slot size, and transmitting the target data in a multiframe according to the second time slot size includes:

[0200] The target data acquired in j time slots are spliced ​​and carried in a multiframe for transmission, the time slot size of the spliced ​​target data is a second time slot size, and j is a ratio of the second time slot size to the first time slot size.

[0201] In one embodiment, the first time slot size includes: 2 or 4, and the second time slot size includes: 4 or 8.

[0202] In one embodiment, the target data is obtained on the bearer frame according to the size of 2 code blocks, and the target data of every 4 time slots is spliced ​​into 8 code blocks and then carried and transmitted in the bearer frame. In one embodiment, the target data is obtained on the bearer frame according to the size of 8 code blocks, and after the 8 code blocks are split into 4 code blocks, the target data corresponding to each split code block is carried and transmitted on the bearer frame.

[0203] In one embodiment, the first time slot size is larger than the second time slot size, and transmitting the target data in a multiframe according to the second time slot size includes:

[0204] Splitting target data in one time slot into target data of k second time slot sizes, where k is a ratio of the first time slot size to the second time slot size;

[0205] The split target data is carried in a multi-frame for transmission.

[0206] In one embodiment, the first time slot size includes 4 or 8, and the second time slot size includes 2 or 4.

[0207] In one embodiment, the product of the time slot size in the bearer frame and the number of time slots in the bearer frame is fixed, and the product of the number of time slots in the bearer frame and the number of the bearer frames in the multiframe is fixed.

[0208] In one embodiment, the code block includes a start code block, a data code block and an end code block, and the bearer frame includes an overhead field, which is carried in the data code block or the start code block or the end code block, and the overhead field indicates the number of the bearer frames in the multiframe and the position of the bearer frame in the multiframe.

[0209] In one embodiment, the overhead field is located in the first data code block in the data code block, the carrying area of ​​the carrying frame includes data code blocks other than the first data code block, an area in the first data code block other than an area where the mapping overhead field is located, and an area in the end code block other than an area where the end block is located, and the target data is carried in the carrying area.

[0210] In one embodiment, the bearing area of ​​the bearing frame includes the data code block, an area in the start code block excluding an area where the overhead field is located, and an area in the end code block excluding an area where the end block is located.

[0211] In one embodiment, the bearer frame satisfies one or more of the following conditions:

[0212] The number of code blocks included in the bearer area in the bearer frame is i times a first value, and the number of code blocks of the target data is i times a second value, the first value is determined based on the length of the target data code block, and the second value is determined based on the length of the code block in the bearer area;

[0213] The number of time slots corresponding to the target data is a factor of the total number of time slots in the multiframe.

[0214] In one embodiment, the first value is the length of the target data code block, and the second value is the length of the bearing area code block; or,

[0215] The first value is the length of the target data divided by a common divisor, and the second value is the length of the bearer area code block divided by a common divisor, and the common divisor is the common divisor of the length of the target data and the length of the bearer area code block.

[0216] In one embodiment, when the start code block does not carry overhead, the bearer frame includes 1 start code block, 198 data code blocks and 1 end code block, and the code block length of the target data is 66 bits; when the start code block carries overhead, the bearer frame includes 1 start code block, 197 data code blocks and 1 end code block, and the code block length of the target data is 66 bits.

[0217] In one embodiment, the time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 192, and both x and y are positive integers.

[0218] In one embodiment, the time slot size is 2 code blocks, the number of time slots of the bearer frame is 96 time slots, and the multiframe is composed of 5 bearer frames; or,

[0219] The time slot size is 4 code blocks, the number of time slots of the bearer frame is 48 time slots, and the multiframe is composed of 10 bearer frames; or,

[0220] The time slot size is 8 code blocks, the number of time slots of the bearer frame is 24 time slots, and the multiframe is composed of the 20 bearer frames.

[0221] In one embodiment, when the start code block does not carry overhead, the bearer frame includes 1 start code block, 330 data code blocks and 1 end code block, and the code block length of the target data is 66 bits;

[0222] In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 329 data code blocks and 1 end code block, and the code block length of the target data is 66 bits.

[0223] In one embodiment, the time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 320, and both x and y are positive integers.

[0224] In one embodiment, the time slot size is 2 code blocks, the number of time slots of the bearer frame is 160 time slots, and the multiframe is composed of 3 bearer frames; or,

[0225] The time slot size is 4 code blocks, the number of time slots in the bearer frame is 80 time slots, and the multiframe is composed of 6 bearer frames; or,

[0226] The time slot size is 8 code blocks, the number of time slots of the bearer frame is 40 time slots, and the multiframe is composed of the 12 bearer frames.

[0227] In one embodiment, when the start code block does not carry overhead, the bearer frame includes 1 start code block, 495 data code blocks and 1 end code block;

[0228] In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 494 data code blocks and 1 end code block.

[0229] In one embodiment, the time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 480, and both x and y are positive integers.

[0230] In one embodiment, the time slot size is 2 code blocks, the number of time slots of the bearer frame is 240 time slots, and the multiframe is composed of 2 bearer frames; or,

[0231] The time slot size is 4 code blocks, the number of time slots of the bearer frame is 120 time slots, and the multiframe is composed of 4 bearer frames; or,

[0232] The time slot size is 8 code blocks, the number of time slots of the bearer frame is 60 time slots, and the multiframe is composed of the 8 bearer frames.

[0233] In one embodiment, when the start code block does not carry overhead, the bearer frame includes 1 start code block, 990 data code blocks and 1 end code block, and the code block length of the target data is 66 bits;

[0234] In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 989 data code blocks and 1 end code block, and the code block length of the target data is 66 bits.

[0235] In one embodiment, the time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 960, and both x and y are positive integers.

[0236] In one embodiment, the time slot size is 2 code blocks, the number of time slots of the bearer frame is 480 time slots, and the multiframe consists of 1 bearer frame; or,

[0237] The time slot size is 4 code blocks, the number of time slots in the bearer frame is 240 time slots, and the multiframe is composed of 2 bearer frames; or,

[0238] The time slot size is 8 code blocks, the number of the bearer frame time slots is 120 time slots, and the multiframe is composed of the 4 frames.

[0239] In one embodiment, when the start code block does not carry overhead, the bearer frame includes 1 start code block, 65 data code blocks and 1 end code block, and the code block length of the target data is 65;

[0240] In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 64 data code blocks and 1 end code block, and the code block length of the target data is 65.

[0241] In one embodiment, the time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 64, and both x and y are positive integers.

[0242] In one embodiment, the time slot size is 2 code blocks, the number of time slots of the bearer frame is 32 time slots, and the multiframe is composed of 15 bearer frames; or,

[0243] The time slot size is 4 code blocks, the number of time slots of the bearer frame is 16 time slots, and the multiframe is composed of 30 bearer frames; or,

[0244] The time slot size is 8 code blocks, the number of time slots of the bearer frame is 8 time slots, and the multiframe is composed of the 60 bearer frames.

[0245] In one embodiment, when the start code block does not carry overhead, the bearer frame includes 1 start code block, 195 data code blocks and 1 end code block, and the code block length of the target data is 65;

[0246] In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 194 data code blocks and 1 end code block, and the code block length of the target data is 65.

[0247] In one embodiment, the time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 192, and both x and y are positive integers.

[0248] In one embodiment, the time slot size is 2 code blocks, the number of time slots of the bearer frame is 96 time slots, and the multiframe is composed of 5 bearer frames; or,

[0249] The time slot size is 4 code blocks, the number of time slots of the bearer frame is 48 time slots, and the multiframe is composed of 10 bearer frames; or,

[0250] The time slot size is 8 code blocks, the number of time slots of the bearer frame is 24 time slots, and the multiframe is composed of the 20 bearer frames.

[0251] In one embodiment, when the start code block does not carry overhead, the bearer frame includes 1 start code block, 325 data code blocks and 1 end code block, and the code block length of the target data is 65 code blocks;

[0252] In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 324 data code blocks and 1 end code block, and the code block length of the target data is 65 code blocks.

[0253] In one embodiment, the time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 320, and both x and y are positive integers.

[0254] In one embodiment, the time slot size is 2 code blocks, the number of time slots of the bearer frame is 160 time slots, and the multiframe is composed of 3 bearer frames; or,

[0255] The time slot size is 4 code blocks, the number of time slots in the bearer frame is 80 time slots, and the multiframe is composed of 6 bearer frames; or,

[0256] The time slot size is 8 code blocks, the number of time slots of the bearer frame is 40 time slots, and the multiframe is composed of the 12 bearer frames.

[0257] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 198.

[0258] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 192, and x and y are both positive integers.

[0259] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 330.

[0260] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 320, and x and y are both positive integers.

[0261] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 495.

[0262] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 480, and x and y are both positive integers.

[0263] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 990.

[0264] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 960, and x and y are both positive integers.

[0265] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 195.

[0266] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 192, and x and y are both positive integers.

[0267] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 65.

[0268] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 64, and x and y are both positive integers.

[0269] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 195.

[0270] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 192, and x and y are both positive integers.

[0271] In one embodiment, the number of the start code blocks is 1, the number of the end code blocks is 1, and the number of the data code blocks is 325.

[0272] The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 320, and x and y are both positive integers.

[0273] In one embodiment, the time slot size includes one or more of: 2 code blocks, 4 code blocks, and 8 code blocks.

[0274] In one embodiment, the code block length of the target data includes: 66 bits, 65 bits or 257 bits.

[0275] The following is an exemplary description of the present application. The transmission method provided by the present application can be considered as a customer service carrying method of different time slot sizes. The present application relates to a customer service carrying method of different time slot sizes, and in particular, a method for transmitting customer services between a time slot frame structure of 8 code blocks and a time slot frame structure of 2 code blocks.

[0276] According to different sub-timeslot sizes, the size of the sub-timeslot in the frame and the number of frames in the multiframe are changed to achieve the delivery of services of different customer granularities without changing the frame structure.

[0277] In specific applications, the bearer frame structure size of the network can be several fixed sizes. To meet the requirements of the bearer scenario of the fg-BU frame, the structure of the bearer frame is defined as S code blocks, 195 D code blocks and T code blocks (the corresponding number of start code blocks is 1, the number of end code blocks is 1, and the number of data code blocks is 195). In the bearer frame structure, x*y=192 (the corresponding time slot size is x code blocks, the number of bearer frame time slots is y time slots, the product of x and y is 192, and x and y are both positive integers.). When the bearer frame is divided into y=24 time slots, each time slot carries x=8 client code blocks, and z=20 frames form a multiframe, the total number of time slots in a multiframe is 480 (y*z=480). The total number of code blocks carrying clients in the frame is 8*24=192, the product of x and y is 192, and the total number of client code blocks carried in the frame is 192. The product of y and z is 480, and the multiframe carries 480 client time slots. For the same bearer frame, when the client is 2 code blocks, the time slot size parameter x in the bearer frame is 2, and each time slot carries 2 client code blocks. After x is determined, y is calculated to be 96 (when the product of x and y is 192). After y is determined, z is further calculated to be 5 (when the product of y and z is 480). In this way, each time slot in the same frame structure carries 2 client code blocks, 96 time slots are set in each frame, and a multiframe is composed of 5 frames. There are 480 time slots in the multiframe. Figure 4a A schematic diagram of a multiframe structure in which each time slot carries two client code blocks provided in an embodiment of the present application; Figure 4b A schematic diagram of a structure in which each time slot carries four client code block multiframes provided in an embodiment of the present application, Figure 4a Two multiframes are shown, multiframe 1 and multiframe 2, each multiframe includes 5 bearer frames, each bearer frame time slot size is 2 code blocks, and the number of time slots is 96. Similarly, when the client is 4 code blocks, then x is 4, then y is calculated to be 48 (when the product of x and y is 192), and then z is calculated to be 10 (when the product of y and z is 480). In this way, each time slot in the frame structure carries 4 client code blocks, 48 ​​time slots are set in each frame, and a multiframe is composed of 10 frames, and there are 480 time slots in the multiframe, as shown in FIG. Figure 4b .

[0278] For the bearer frame structure, in addition to the above example, the bearer frame structure is determined as follows: the bearer frame consists of S code blocks, D code blocks, and T code blocks. When the overhead part of the bearer frame structure has 7 bytes, the overhead bytes are placed in the first D code block position, the number of time slots is 480 time slots, and the length of the client code block is 66 bits, since the client code block is 66 bits, the carrying area of ​​the D code block carrying the client service is only 64 bits. When a (m is a positive integer) D code blocks (T code blocks are equivalent to D code blocks when T code blocks carry client content) carry b client code blocks, the length of the bearer frame needs to meet several principles. Principle 1: The number of D code blocks in the selected bearer frame is a, and b client code blocks can be carried in a D code block. Since there are 64 bearer bits in the D code and the length of the client code block is 66 bits, the condition of a*64=b*66 (a and b are positive integers) is met. Selecting appropriate a and b parameters can achieve that b client code blocks can be carried in a D code block. The formula is simplified to: a*32=b*33. To find the values ​​of a and b, a must be a multiple of 33 and b must be a multiple of 32 to satisfy the formula. Therefore, the above formula can be further replaced by the equivalent formula: (n*33)*32=(n*32)*33. That is: a=n*33, b=n*32, n is a positive integer. Principle 2: If each time slot is 2 code blocks, there are b / 2 time slots in the b code block positions in the frame. When the total time slots are 480, the b / 2 time slots in each frame must be a factor of 480. Principle 3: There are a maximum of 480 time slots in each frame, and there are b / 2 time slots in each frame, then b / 2 is not greater than 480, that is, n*16 is not greater than 480. Principle 4: When the load frame efficiency requires the number of D code blocks to be greater than 180, a=(n*33) is greater than 180. Combining principles 1 and 2, it is deduced that b / 2=(n*32) / 2=n*16 must be a factor of 480, and n can only be selected from 1, 2, 3, 5, 6, 10, 15, and 30. Principle 3 deduces that n is not greater than 30, and principle 4 deduces that n is greater than 5, so n can only be selected from 6, 10, 15, and 30. The bearer frame can have the following structures: The first bearer frame structure (n=6): 1 S code block + 198 D code blocks + 1 T code block; the second bearer frame structure (n=10): 1 S code block + 330 D code blocks + 1 T code block; the third bearer frame structure (n=15): 1 S code block + 495 D code blocks + 1 T code block; the fourth bearer frame structure (n=30): 1 S code block + 990 D code blocks + 1 T code block.

[0279] Figure 4c A bearer frame structure provided in an embodiment of the present application, the first bearer frame structure is as follows Figure 4c, the overhead byte length is 7 bytes, and the overhead byte is carried on the first D code block. The last byte in the first D code block, the 8 bytes in all subsequent D code blocks, and the last 7 bytes of the last T code block constitute the bearer area of ​​the bearer frame, a total of 192*66 bits, which can carry 192 client code blocks (each client code block is 66 bits long). The bearer area can be divided into different time slot formats: such as 2 code blocks and 96 time slots per time slot, 4 code blocks and 48 time slots per time slot, 8 code blocks and 24 time slots per time slot, and so on.

[0280] For the first bearer frame structure, when the client code block is as large as 2 code blocks, 2 code blocks per time slot and 96 time slots are used to bear client services, 5 bearer frames form a multiframe, and the bearer frame bears the client service structure. Figure 4d A schematic diagram of the structure of a multiframe in which each time slot carries two client code blocks is provided in an embodiment of the present application, such as Figure 4d The time slot size of the bearer frame is 2 code blocks, and one bearer frame has 96 time slots.

[0281] Figure 4e A schematic diagram of a structure of a multiframe in which each time slot carries 4 client code blocks provided in an embodiment of the present application, Figure 4f A schematic diagram of a bearer frame structure of a multiframe carrying 8 client code blocks per time slot provided in an embodiment of the present application. When the client code block size is 4 code blocks, 4 code blocks per time slot and 48 time slots are used to carry client services. 10 bearer frames form a multiframe. The bearer frame carries the client service structure as shown in FIG. Figure 4e When the client code block is as large as 8 code blocks, 8 code blocks and 24 time slots are used to carry client services. 20 bearer frames form a multiframe. The structure of the bearer frame carrying client services is as follows: Figure 4f .

[0282] Figure 4g A schematic diagram of a structure of a bearer frame provided in an embodiment of the present application, the second bearer frame structure is as follows Figure 4g , the overhead byte length is 7 bytes, in the first D code block. The last byte in the first D code block, the 8 bytes in all subsequent D code blocks and the last 7 bytes of the last T code block constitute the bearer area of ​​the bearer frame, a total of 320*66 bits, which can carry 320 client code blocks (each client code block is 66 bits long). The bearer area can be divided into different time slot formats: such as 1 code block and 320 time slots per time slot, 2 code blocks and 160 time slots per time slot, 4 code blocks and 80 time slots per time slot, 8 code blocks and 40 time slots per time slot, etc.

[0283] Figure 4hA schematic diagram of the structure of a multiframe in which each time slot carries 2 client code blocks is provided in an embodiment of the present application. For the second bearer frame structure, when the client code block is as large as 2 code blocks, 2 code blocks per time slot and 160 time slots are used to carry client services, and 3 bearer frames form a multiframe. The bearer frame carries the client service structure as shown in FIG. Figure 4h When the client code block is 4 code blocks, 4 code blocks and 80 time slots are used to carry client services. 6 bearer frames form a multiframe. The structure of the bearer frame carrying client services is as follows: Figure 4i When the client code block is as large as 8 code blocks, 8 code blocks and 40 time slots are used to carry client services. 12 bearer frames form a multiframe. The structure of the bearer frame carrying client services is as follows: Figure 4j .

[0284] Figure 4k A schematic diagram of a structure of a bearer frame provided in an embodiment of the present application, the third bearer frame structure is as follows Figure 4k , the overhead byte length is 7 bytes, in the first D code block. The last byte in the first D code block, the 8 bytes in all subsequent D code blocks and the last 7 bytes of the last T code block constitute the bearer area of ​​the bearer frame, a total of 480*66 bits, which can carry 480 client code blocks (each client code block is 66 bits long). The bearer area can be divided into different time slot formats: such as 1 code block per time slot and 480 time slots, 2 code blocks per time slot and 240 time slots, 4 code blocks per time slot and 120 time slots, 8 code blocks per time slot and 60 time slots, etc.

[0285] Figure 4l A schematic diagram of the structure of a multiframe in which each time slot carries two client code blocks provided in an embodiment of the present application; Figure 4m A schematic diagram of the structure of a multiframe in which each time slot carries 4 client code blocks provided in an embodiment of the present application; Figure 4n A schematic diagram of the structure of a multiframe in which each time slot carries 8 client code blocks provided in an embodiment of the present application; for the third bearer frame structure, when the client code block is as large as 2 code blocks, 2 code blocks per time slot and 240 time slots are used to carry client services, 2 bearer frames form a multiframe, and the bearer frame carries the client service structure as shown in FIG. Figure 4l When the client code block is as large as 4 code blocks, 4 code blocks and 120 time slots are used to carry client services. Four bearer frames form a multiframe. The structure of the bearer frame carrying client services is as follows: Figure 4m When the client code block is as large as 8 code blocks, 8 code blocks and 60 time slots are used to carry client services. 8 bearer frames form a multiframe. The structure of the bearer frame carrying client services is as follows: Figure 4n .

[0286] Figure 4oA schematic diagram of the structure of a bearer frame provided in an embodiment of the present application; Figure 4p A schematic diagram of the structure of a multiframe in which each time slot carries two client code blocks provided in an embodiment of the present application; Figure 4q A schematic diagram of the structure of a multiframe in which each time slot carries 4 client code blocks provided in an embodiment of the present application; Figure 4r A schematic diagram of the structure of a multiframe in which each time slot carries 8 client code blocks is provided in an embodiment of the present application; a fourth bearing frame structure is as follows Figure 4o , the overhead byte length is 7 bytes, in the first D code block. The last byte in the first D code block, the 8 bytes in all subsequent D code blocks and the last 7 bytes of the last T code block constitute the bearer area of ​​the bearer frame, a total of 960*66 bits, which can carry 960 client code blocks (each client code block is 66 bits long). The bearer area can be divided into different time slot formats: 2 code blocks per time slot and 480 time slots, 4 code blocks per time slot and 240 time slots, 8 code blocks per time slot and 120 time slots, etc.

[0287] For the fourth bearer frame structure, when the client code block is 2 code blocks, 2 code blocks per time slot and 480 time slots are used to bear client services. One bearer frame constitutes a multiframe. The bearer frame bears the client service structure as follows: Figure 4p When the client code block is as large as 4 code blocks, 4 code blocks and 240 time slots are used to carry client services. Two bearer frames form a multiframe. The structure of the bearer frame carrying client services is as follows: Figure 4q When the client code block is as large as 8 code blocks, 8 code blocks per time slot and 120 time slots are used to carry client services. Four bearer frames form a multiframe. The structure of the bearer frame carrying client services is as follows: Figure 4r .

[0288] Figure 4s A schematic diagram of a scenario of penetrating different network systems provided by an embodiment of the present application. For the previous application example, the same customer service needs to penetrate two different network systems. The same frame structure is used in the two network systems, but the size of the time slot in one network system is different, such as Figure 4s, the same customer service is carried and transmitted in network 1, and carried and transmitted in network 2 through device 3. Customer service is carried in network 1 according to the frame structure parameters of network 1 (x1, y1 and z1, for example, x1=2, y1=96 and z1=5), and is carried in network 2 according to the frame structure parameters of network 2 (x2, y2 and z2, for example, x2=8, y2=24 and z2=20) after passing through device 3. Each time slot in network 1 is 2 code blocks, and each time slot in network 2 is 8 code blocks. For the process of transmitting customer services from network 1 to network 2, the time slot in the frame when device 2 sends to device 3 is 2 code blocks. Device 3 receives customer services of 2 code blocks in each time slot. For the same customer service, device 3 needs to continuously receive the code blocks of 4 time slots of this customer. The code blocks of 4 time slots are combined into 8 code blocks and then placed in a time slot position in the frame structure of network 2. Device 3 sends it to device 4. In network 2, each time slot is 8 code blocks in size. The customer services of 8 code blocks in one time slot in the frame structure of network 2 come from the customer service code blocks of 4 time slots in network 1. Device 3 completes the conversion of 4 time slots in network 1 (each time slot consists of 2 code blocks) to 1 time slot in network 2 (each time slot consists of 8 code blocks). Similarly, when customer services are transmitted from network 2 to network 1, each time slot in network 2 is 8 code blocks, and each time slot in network 1 is 2 code blocks. For the process of transmitting customer services from network 2 to network 1, the time slot in the time frame sent by device 4 to device 3 is 8 code blocks, and device 3 receives customer services of 8 code blocks in one time slot. For the same customer service, device 3 needs to place the received 8 code blocks in the 4 time slots of the customer in network 1, and send them to device 2. The 4 time slots in network 1 complete the code block carrying of one time slot in network 2, and device 3 completes the carrying conversion from 1 time slot in network 2 (each time slot consists of 8 code blocks) to 4 time slots in network 1 (each time slot consists of 4 code blocks).

[0289] The first to fourth bearer frame structure examples above are examples in which the overhead byte length is 7 bytes, the overhead byte is carried in the D code block, and the code block length is 66 bits. In specific applications, the overhead byte length can be other byte lengths, the overhead byte can be at any position in the frame, the overhead byte in the frame structure is 6 bytes, and the overhead byte is carried in the S code block. In this way, the first frame structure consists of Figure 4c become Figure 4t style, Figure 4t It also belongs to the first frame structure category. Similar to the second frame structure, Figure 4g become Figure 4u style, Figure 4u It also belongs to the second frame structure category. The third frame structure and the fourth frame structure also have similar methods. Whether the overhead bytes are placed on the D code block or the S code block, the number of time slots and the time slot structure in the frame will not be changed. They all belong to the same frame structure.

[0290] In the example given above, the client code block is a 66-bit code block defined by Ethernet. In the application, the client code block can be compressed or transcoded first, and the time slot length of the bearer frame can be determined according to the length of the code block after compression or transcoding. For example, the client code block length is compressed from 66 bits to 65 bits, and then the bearer frame structure is designed based on the 65-bit code block length. When the client code block length is compressed from 66 bits to 65 bits, the client code block length becomes shorter, the corresponding client service bandwidth becomes smaller, and the carrying efficiency requirements of the bearer frame are reduced. The number of D code blocks in the bearer frame needs to be greater than 64 to meet the bandwidth requirements. Since the client code block is 65 bits, the carrying area of ​​the D code block carrying the client service is only 64 bits. When a (m is a positive integer) D code blocks (T code blocks are equivalent to D code blocks when T code blocks carry client content) carry b client code blocks, the length of the bearer frame needs to meet several principles. Principle 5: The number of D code blocks in the selected bearer frame is a, and b client code blocks can be carried in a D code block. Since there are 64 bearer bits in the D code and the client code block length is 65 bits, the condition a*64=b*65 (a and b are positive integers) must be satisfied to select appropriate a and b parameters to achieve the carrying of b client code blocks in a D code block. To find the values ​​of a and b, in order to satisfy the formula, a must be a multiple of 65 and b must be a multiple of 64. Therefore, the above formula is further equivalent to the replacement formula: (n*65)*64=(n*64)*65. That is: a=n*65, b=n*64, n is a positive integer (that is, the first value is the length of the target data code block, and the second value is the length of the bearer area code block). Principle six: If each time slot is 2 code blocks, there are b / 2 time slots in the b code block positions in the frame. When the total time slots are 480, the b / 2 time slots in each frame must be a factor of 480. Principle 7: There are a maximum of 480 time slots in each frame, and there are b / 2 time slots in each frame, so b / 2 is not greater than 480, that is, n*64 is not greater than 480. Principle 8: In terms of frame efficiency, the number of D code blocks must be greater than 64, and a=(n*65) is greater than 64. Combining Principles 5 and 6, it is deduced that b / 2=(n*64) / 2=n*32 must be a factor of 480, and n can only be 1, 3, 5, or 15. Principle 7 deduces that n is not greater than 7.5, and Principle 8 deduces that n is greater than or equal to 1, so n can only be 1, 3, or 5. The bearer frame may have the following structures: the fifth bearer frame structure (n=1): 1 S code block + 65 D code blocks + 1 T code block; the sixth bearer frame structure (n=3): 1 S code block + 195 D code blocks + 1 T code block; the seventh bearer frame structure (n=5): 1 S code block + 325 D code blocks + 1 T code block;

[0291] The fifth bearer frame structure is as follows Figure 4w(n=1), the overhead byte length is 7 bytes, in the first D code block. The last byte in the first D code block, the 8 bytes in all subsequent D code blocks and the last 7 bytes of the last T code block constitute the bearer area of ​​the bearer frame, a total of 64*65 bits, which can carry 64 client code blocks (each client code block is 65 bits long). The bearer area can be divided into different time slot formats: such as 1 code block and 64 time slots per time slot, 2 code blocks and 32 time slots per time slot, 4 code blocks and 16 time slots per time slot, 8 code blocks and 8 time slots per time slot, etc.

[0292] For the fifth bearer frame structure, when the client code block unit is 2 code blocks, 2 code blocks per time slot and 32 time slots are used to carry client services, and 15 bearer frames form a multiframe. Figure 4v Another bearer frame structure provided in the embodiment of the present application, the bearer frame bearer client service structure is as follows Figure 4v When the customer code block is 4 code blocks at most, 4 code blocks and 16 time slots are used to carry customer services, and 30 bearer frames constitute a multiframe; when the customer code block is 8 code blocks at most, 8 code blocks and 8 time slots are used to carry customer services, and 60 bearer frames constitute a multiframe.

[0293] Figure 4w A structural diagram of a bearer frame for carrying customer services provided in an embodiment of the present application; a sixth bearer frame structure is as follows Figure 4w (n=3), the overhead byte length is 7 bytes, in the first D code block. The last byte in the first D code block, the 8 bytes in all subsequent D code blocks and the last 7 bytes of the last T code block constitute the bearer area of ​​the bearer frame, a total of 192*65 bits, which can carry 192 client code blocks (each client code block is 65 bits long). The bearer area can be divided into different time slot formats: such as 1 code block per time slot and 192 time slots, 2 code blocks per time slot and 96 time slots, 4 code blocks per time slot and 48 time slots, 8 code blocks per time slot and 24 time slots, etc.

[0294] For the second bearer frame structure, when the customer code block is as large as 2 code blocks, 2 code blocks per time slot and 96 time slots are used to carry customer services, and 5 bearer frames constitute a multiframe; when the customer code block is as large as 4 code blocks, 4 code blocks per time slot and 48 time slots are used to carry customer services, and 10 bearer frames constitute a multiframe; when the customer code block is as large as 8 code blocks, 8 code blocks per time slot and 24 time slots are used to carry customer services, and 20 bearer frames constitute a multiframe.

[0295] Figure 4x A schematic diagram of the structure of another bearer frame for carrying customer services provided in an embodiment of the present application. The third bearer frame structure is as follows Figure 4x(n=5), the overhead byte length is 7 bytes, in the first D code block. The last byte in the first D code block, the 8 bytes in all subsequent D code blocks and the last 7 bytes of the last T code block constitute the bearer area of ​​the bearer frame, a total of 320*66 bits, which can carry 320 client code blocks (each client code block is 65 bits long). The bearer area can be divided into different time slot formats: such as 1 code block per time slot and 320 time slots, 2 code blocks per time slot and 160 time slots, 4 code blocks per time slot and 80 time slots, 8 code blocks per time slot and 40 time slots, etc.

[0296] For the third bearer frame structure, when the customer code block is as large as 2 code blocks, 2 code blocks per time slot and 160 time slots are used to carry customer services, and 3 bearer frames constitute a multiframe; when the customer code block is as large as 4 code blocks, 4 code blocks per time slot and 80 time slots are used to carry customer services, and 6 bearer frames constitute a multiframe; when the customer code block is as large as 8 code blocks, 8 code blocks per time slot and 40 time slots are used to carry customer services, and 12 bearer frames constitute a multiframe.

[0297] Figure 4y A schematic diagram of the structure of another bearer frame for carrying customer services provided in an embodiment of the present application; Figure 5 A schematic diagram of the structure of another bearer frame for carrying customer services provided in an embodiment of the present application; Figure 6a A schematic diagram of the structure of another bearer frame for carrying customer services provided in an embodiment of the present application. In the fifth, sixth, and seventh bearer frame structures given above, the overhead byte length is 7 bytes, and the overhead field is in the first D code block. In a specific application, the overhead byte length can be other byte lengths, and the overhead byte can be at any position in the frame. For example: the overhead byte in the frame structure is 6 bytes, and the overhead byte is carried in the S code block, so the fifth frame structure is composed of Figure 4w become Figure 4y style, Figure 4y It also belongs to the fifth frame structure category. Similar to the sixth frame structure, Figure 4w become Figure 5 style, Figure 5 It also belongs to the sixth frame structure category. The seventh frame structure consists of Figure 4x become Figure 6a style, Figure 6a It also belongs to the seventh frame structure category. Whether the overhead bytes are placed on the D code block or the S code block, the number of time slots and the time slot structure in the frame will not change, and both belong to the same frame structure.

[0298] Figure 6b Another bearer frame structure provided in an embodiment of the present application, when the start code block carries overhead, the bearer frame includes 1 start code block, 494 data code blocks and 1 end code block.

[0299] The client code block is a 66-bit code block defined by Ethernet. In addition to being compressed into a 65-bit length to design a bearer frame, the bearer frame can also be designed after transcoding. For example, a 66-bit code block is transcoded into a 257-bit code block (4 66-bit code blocks are transcoded into a 257-bit code block), and the time slot length of the bearer frame is designed according to the 257 code block length. All of these are within the scope of this patent.

[0300] Customer services are mapped to bearer frames and sent out through bearer frames. When the intermediate devices on the network forward bearer frames, the transmission speed deviates due to the clock deviation between different devices. In order to adjust the speed of the intermediate devices, when the devices send bearer frames, they need to insert appropriate idle code blocks (I code blocks for short) between the bearer frames. When the intermediate devices need to adjust the speed, they add or delete the appropriate amount of idle code blocks to achieve the speed frequency. This requires the source device to insert a certain number of idle code blocks between the bearer frames when sending the bearer frames. In order to facilitate the recovery of the customer service clock frequency, the sink device needs to know the original distribution of the idle code blocks and how the intermediate device adds or deletes the idle code blocks. This requires that the idle code blocks inserted between the bearer frames when the source device sends the bearer frame must have a certain distribution pattern. In this way, no matter how the intermediate device adds or deletes the idle code blocks on the network, the sink device can know the insertion of the idle code blocks of the source device. When the distribution of the idle code blocks actually received is inconsistent with the distribution of the idle blocks inserted when the source device sends, it means that the intermediate device has added or deleted the idle code blocks. The sink device can restore the original distribution of the idle code blocks in the case of addition or deletion, and then facilitate the recovery of the customer service clock. The rule of the idle code blocks inserted when the source device sends the bearer frame can be one of the following: 1. Insert 1 idle code block between each bearer frame, or 2, 3, etc., the same number of idle code blocks (that is, insert a first fixed number of idle code blocks between each bearer frame); 2. Insert a fixed number of idle code blocks between each bearer frame of the same number of intervals. For example: n idle code blocks are inserted between every m bearer frames, where n and m are positive integers (i.e., a second fixed number of idle code blocks are inserted between every equal number of bearer frames); 3. A fixed number of idle code blocks are inserted in a multiframe period (i.e., a third fixed number of idle code blocks are inserted in a multiframe period). For example, a multiframe is composed of m frames, and a total of n idle code blocks are inserted in the m frames of the multiframe. The n idle code blocks are distributed in the m bearer frames in the multiframe according to a certain rule. For example, one idle code block is inserted between frame 1 and frame 2, 0 idle code blocks are inserted between frame 2 and frame 3, 0 idle code blocks are inserted between frame 3 and frame 4, and 1 idle code block is inserted between frame 4 and frame 5. Similarly, a corresponding number of idle code blocks are inserted between other frames according to the set rule.

[0301] The source device maps the client service to the bearer frame, inserts an appropriate amount of idle code blocks between the bearer frames according to a certain rule, and then sends them out (i.e., maps the target data to the bearer frame; inserts idle code blocks between the bearer frames according to the set rule; and transmits the bearer frame). After receiving the bearer frame, the host device restores the original idle distribution status according to the idle code block insertion rule of the source device, extracts the client service, and restores the client service clock information (i.e., according to the set rule, restores the idle code blocks between the bearer frames to the original idle distribution status; extracts the target data from the bearer frame; and restores the clock information of the target data based on the idle code blocks and the local clock).

[0302] This application selects the corresponding bearer time slot size according to the size of the client code block to achieve the best bearer effect.

[0303] The above cases are several specific implementations of the present application. The specific implementations have different forms of content, such as arbitrarily combining the various embodiments or omitting, replacing or adding the technical features included in each embodiment, but these changes are all within the scope of protection of the present application.

[0304] In an exemplary embodiment, the present application provides a transmission device, which can be integrated on a communication node. Figure 7 A schematic diagram of a transmission device provided in an embodiment of the present application; see Figure 7 , the transmission device comprises:

[0305] A first determination module 510 is configured to determine a frame structure of a bearer frame, the bearer frame includes multiple code blocks, the bearer frame includes multiple time slots, the time slots support multiple time slot sizes, and one time slot size is used in the determined frame structure;

[0306] A second determination module 520 is configured to determine a frame structure of a multiframe including the bearer frame;

[0307] The mapping module 530 is configured to map the target data to the bearer frame in the multiframe for transmission.

[0308] The transmission device provided in this embodiment is used to implement the following Figure 2 The transmission method of the embodiment shown. The transmission device provided in this embodiment implements the principle and technical effect of Figure 2 The method of the illustrated embodiment is similar and will not be described in detail here.

[0309] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.

[0310] In one embodiment, the product of the time slot size in the bearer frame and the number of time slots in the bearer frame is fixed, and the product of the number of time slots in the bearer frame and the number of the bearer frames in the multiframe is fixed.

[0311] In one embodiment, the code block includes a start code block, a data code block and an end code block, and the bearer frame includes an overhead field, which is carried in the data code block or the start code block or the end code block, and the overhead field indicates the number of the bearer frames in the multiframe and the position of the bearer frame in the multiframe.

[0312] In one embodiment, the overhead field is located in the first data code block in the data code block, the carrying area of ​​the carrying frame includes data code blocks other than the first data code block, an area in the first data code block other than an area where the mapping overhead field is located, and an area in the end code block other than an area where the end block is located, and the target data is carried in the carrying area.

[0313] In one embodiment, the bearing area of ​​the bearing frame includes the data code block, an area in the start code block excluding an area where the overhead field is located, and an area in the end code block excluding an area where the end block is located.

[0314] In one embodiment, the bearer frame satisfies one or more of the following conditions:

[0315] The number of code blocks included in the bearer area in the bearer frame is i times a first value, and the number of code blocks of the target data is i times a second value, the first value is determined based on the length of the target data code block, and the second value is determined based on the length of the code block in the bearer area;

[0316] The number of time slots corresponding to the target data is a factor of the total number of time slots in the multiframe.

[0317] In one embodiment, the first value is the length of the target data code block, and the second value is the length of the bearing area code block; or,

[0318] The first value is the length of the target data divided by a common divisor, and the second value is the length of the bearer area code block divided by a common divisor, and the common divisor is the common divisor of the length of the target data and the length of the bearer area code block.

[0319] In one embodiment, the number of start code blocks is 1, the number of end code blocks is 1, the number of data code blocks is 198, the time slot size is x code blocks, the number of carrying frame time slots is y time slots, the product of x and y is 192, and x and y are both positive integers.

[0320] In one embodiment, the number of start code blocks is 1, the number of end code blocks is 1, the number of data code blocks is 330, the time slot size is x code blocks, the number of carrying frame time slots is y time slots, the product of x and y is 320, and x and y are both positive integers.

[0321] In one embodiment, the number of start code blocks is 1, the number of end code blocks is 1, the number of data code blocks is 495, the time slot size is x code blocks, the number of carrying frame time slots is y time slots, the product of x and y is 480, and x and y are both positive integers.

[0322] In one embodiment, the number of start code blocks is 1, the number of end code blocks is 1, the number of data code blocks is 990, the time slot size is x code blocks, the number of carrying frame time slots is y time slots, the product of x and y is 960, and x and y are both positive integers.

[0323] In one embodiment, the number of start code blocks is 1, the number of end code blocks is 1, the number of data code blocks is 195, the time slot size is x code blocks, the number of carrying frame time slots is y time slots, the product of x and y is 192, and x and y are both positive integers.

[0324] In one embodiment, the number of start code blocks is 1, the number of end code blocks is 1, the number of data code blocks is 65, the time slot size is x code blocks, the number of carrying frame time slots is y time slots, the product of x and y is 64, and x and y are both positive integers.

[0325] In one embodiment, the number of start code blocks is 1, the number of end code blocks is 1, the number of data code blocks is 195, the time slot size is x code blocks, the number of carrying frame time slots is y time slots, the product of x and y is 192, and x and y are both positive integers.

[0326] In one embodiment, the number of start code blocks is 1, the number of end code blocks is 1, the number of data code blocks is 325, the time slot size is x code blocks, the number of carrying frame time slots is y time slots, the product of x and y is 320, and x and y are both positive integers.

[0327] In one embodiment, the time slot size includes one or more of: 2 code blocks, 4 code blocks, and 8 code blocks.

[0328] In one embodiment, the code block length of the target data includes: 66 bits, 65 bits or 257 bits.

[0329] In one embodiment, the first determining module 510 is specifically configured to:

[0330] Determining a time slot size used by the bearer frame;

[0331] The number of time slots in the bearer frame is determined.

[0332] In one embodiment, the second determining module 520 is configured to:

[0333] Determine the number of the bearer frames included in the multiframe.

[0334] The transmission device provided in this embodiment is used to implement the following Figure 2 The transmission method of the embodiment shown in the figure, the transmission device provided in this embodiment realizes the principle and technical effect of Figure 2 The transmission method of the illustrated embodiment is similar and will not be described in detail here.

[0335] In one embodiment, mapping the target data to the bearer frame in the multiframe for transmission includes:

[0336] Mapping the target data onto the bearer frame;

[0337] Inserting idle code blocks between the bearer frames according to a set rule;

[0338] The bearer frame is transmitted.

[0339] In one embodiment, the setting rule includes one of the following:

[0340] Inserting a first fixed number of idle code blocks between each bearer frame;

[0341] Inserting a second fixed number of idle code blocks between each equal number of bearer frames;

[0342] A third fixed number of idle code blocks are inserted into one multiframe period.

[0343] In an exemplary embodiment, the present application provides another transmission device, which can be integrated in a communication node. Figure 7 The transmission devices shown are located on the same communication node, or on different communication nodes. Figure 8 A schematic diagram of another transmission device provided in the embodiment of the present application is shown in FIG. Figure 8 , the transmission device comprises:

[0344] An acquisition module 710 is configured to acquire target data carried in a time slot of a bearer frame according to a first time slot size, wherein the bearer frame includes multiple code blocks, the bearer frame includes multiple time slots, and the time slot supports multiple time slot sizes;

[0345] The bearing module 720 is configured to carry the target data in a multiframe for transmission according to a second time slot size, and the first time slot size is not equal to the second time slot size.

[0346] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.

[0347] In one embodiment, the acquisition module 710 is specifically configured as follows:

[0348] Receiving a bearer frame carrying the target data;

[0349] According to a set rule, the idle code blocks between the bearer frames are restored to the original idle distribution state;

[0350] extracting the target data from the bearer frame according to a first time slot size;

[0351] Based on the idle code blocks and the local clock, clock information of the target data is recovered.

[0352] In one embodiment, the setting rule includes one of the following:

[0353] Inserting a first fixed number of idle code blocks between each bearer frame;

[0354] Inserting a second fixed number of idle code blocks between each equal number of bearer frames;

[0355] A third fixed number of idle code blocks are inserted into one multiframe period.

[0356] In one embodiment, the first time slot size is smaller than the second time slot size, and the bearing module 720 is specifically configured as follows:

[0357] The target data acquired in j time slots are spliced ​​and carried in a multiframe for transmission, the time slot size of the spliced ​​target data is a second time slot size, and j is a ratio of the second time slot size to the first time slot size.

[0358] In one embodiment, the first time slot size includes: 2 or 4, and the second time slot size includes: 4 or 8.

[0359] In one embodiment, the first time slot size is greater than the second time slot size, and the bearing module 720 is specifically configured as follows:

[0360] Splitting target data in one time slot into target data of k second time slot sizes, where k is a ratio of the first time slot size to the second time slot size;

[0361] The split target data is carried in a multi-frame for transmission.

[0362] In one embodiment, the first time slot size includes 4 or 8, and the second time slot size includes 2 or 4.

[0363] In an exemplary embodiment, the present application also provides a communication node, Fig. 9 A schematic diagram of the structure of a communication node provided in an embodiment of the present application. Fig. 9 As shown, the communication node provided by the present application includes one or more processors 71 and a storage device 72; the processor 71 in the communication node may be one or more, Fig. 9 A processor 71 is taken as an example; the storage device 72 is used to store one or more programs; the one or more programs are executed by the one or more processors 71, so that the one or more processors 71 implement the transmission method as described in the embodiment of the present application.

[0364] The communication node further comprises: a communication device 73 , an input device 74 and an output device 75 .

[0365] The processor 71, storage device 72, communication device 73, input device 74 and output device 75 in the communication node may be connected via a bus or other means. Fig. 9 The example of connecting through bus is taken in the following.

[0366] The input device 74 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the communication node. The output device 75 may include a display device such as a display screen.

[0367] The communication device 73 may include a receiver and a transmitter. The communication device 73 is configured to perform information transmission and reception communication according to the control of the processor 71.

[0368] The storage device 72, as a computer-readable storage medium, can be configured to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the transmission method described in the embodiment of the present application (for example, the request sending module 31, the receiving module 32, the first calculation module 33, the parameter sending module 34 and the second calculation module 37 in the transmission device). The storage device 72 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to the use of the communication node, etc. In addition, the storage device 72 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the storage device 72 may further include a memory remotely arranged relative to the processor 71, and these remote memories may be connected to the communication node via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0369] The present application also provides a storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, any method described in the present application is implemented. The storage medium stores a computer program, and when the computer program is executed by a processor, any transmission method described in the present application is implemented. For example:

[0370] Determine a frame structure of a bearer frame, the bearer frame includes multiple code blocks, the bearer frame includes multiple time slots, the time slots support multiple time slot sizes, and one time slot size is used in the determined frame structure;

[0371] Determining a frame structure of a multiframe including the bearer frame;

[0372] The target data is mapped to the bearer frame in the multiframe for transmission.

[0373] Transmission method, such as:

[0374] According to the first time slot size, target data carried in a time slot of a bearer frame is acquired, wherein the bearer frame includes multiple code blocks, the bearer frame includes multiple time slots, and the time slots support multiple time slot sizes;

[0375] The target data is carried in a multiframe and transmitted according to a second time slot size, and the first time slot size is not equal to the second time slot size.

[0376] The computer storage medium of the embodiment of the present application can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (Random Access Memory, RAM), a read-only memory (Read Only Memory, ROM), an erasable programmable read-only memory (ErasableProgrammable Read Only Memory, EPROM), a flash memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the above. The computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a device or a device or used in combination with it.

[0377] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to: electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0378] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the above.

[0379] The computer program code for performing the operation of the present application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and also conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can 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 can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).

[0380] The above description is merely an exemplary embodiment of the present application and is not intended to limit the protection scope of the present application.

[0381] It will be appreciated by those skilled in the art that the term communication node covers any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a vehicle-mounted mobile station.

[0382] In general, various embodiments of the present application can be implemented in hardware or dedicated circuits, software, logic or any combination thereof. For example, some aspects can be implemented in hardware, while other aspects can be implemented in firmware or software that can be executed by a controller, microprocessor or other computing device, although the present application is not limited thereto.

[0383] Embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, 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 instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.

[0384] The block diagram of any logic flow in the drawings of the present 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. A computer program may be stored on a memory. The memory may have any type suitable for 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 memory devices and systems (digital versatile discs (DVD) or compact disks (CD)), etc. Computer-readable media may include non-transient storage media. A data processor may be any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FGPAs) and a processor based on a multi-core processor architecture.

[0385] By way of exemplary and non-limiting examples, a detailed description of exemplary embodiments of the present application has been provided above. However, various modifications and adjustments to the above embodiments will be apparent to those skilled in the art when considered in conjunction with the accompanying drawings and claims, but will not depart from the scope of the present application. Therefore, the proper scope of the present application will be determined according to the claims.

Claims

1. A transmission method, characterized in that: The method comprises: Determine a frame structure of a bearer frame, the bearer frame includes multiple code blocks, the bearer frame includes multiple time slots, the time slots support multiple time slot sizes, and one time slot size is used in the determined frame structure; Determining a frame structure of a multiframe including the bearer frame; The target data is mapped into the multiframe for transmission.

2. The method according to claim 1, characterized in that The product of the time slot size in the bearer frame and the number of time slots in the bearer frame is fixed, and the product of the number of time slots in the bearer frame and the number of bearer frames in the multiframe is fixed.

3. The method according to claim 1, characterized in that The code block includes a start code block, a data code block and an end code block, and the bearer frame includes an overhead field, which is carried in the data code block or the start code block or the end code block, and the overhead field indicates the number of the bearer frames in the multiframe and the position of the bearer frame in the multiframe.

4. The method according to claim 3, characterized in that The overhead field is located in the first data code block in the data code block, the carrying area of ​​the carrying frame includes data code blocks other than the first data code block, an area in the first data code block other than an area where the mapping overhead field is located, and an area in the end code block other than an area where the end block is located, and the target data is carried in the carrying area.

5. The method according to claim 3, characterized in that: The bearing area of ​​the bearing frame includes the data code block, the area in the start code block except the area where the overhead field is located, and the area in the end code block except the area where the end block is located.

6. The method according to claim 3, characterized in that The bearer frame meets one or more of the following conditions: The number of code blocks included in the bearer area in the bearer frame is i times a first value, and the number of code blocks of the target data is i times a second value, the first value is determined based on the target data code blocks, and the second value is determined based on the bearer area code blocks; The number of time slots corresponding to the target data is a factor of the total number of time slots in the multiframe.

7. The method according to claim 6, characterized in that The first value is the length of the target data code block, and the second value is the length of the bearing area code block; or, The first value is the length of the target data divided by a common divisor, and the second value is the length of the bearer area code block divided by a common divisor, and the common divisor is the common divisor of the length of the target data and the length of the bearer area code block.

8. The method according to claim 6, characterized in that When the start code block does not carry overhead, the bearer frame includes 1 start code block, 198 data code blocks and 1 end code block, and the code block length of the target data is 66 bits; when the start code block carries overhead, the bearer frame includes 1 start code block, 197 data code blocks and 1 end code block, and the code block length of the target data is 66 bits.

9. The method according to claim 6, characterized in that The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 192, and x and y are both positive integers.

10. The method according to claim 9, characterized in that The time slot size is 2 code blocks, the number of time slots of the bearer frame is 96 time slots, and the multiframe is composed of 5 bearer frames; or, The time slot size is 4 code blocks, the number of time slots of the bearer frame is 48 time slots, and the multiframe is composed of 10 bearer frames; or, The time slot size is 8 code blocks, the number of time slots of the bearer frame is 24 time slots, and the multiframe is composed of the 20 bearer frames.

11. The method according to claim 6, characterized in that In the case where the start code block does not carry overhead, the bearer frame includes 1 start code block, 330 data code blocks and 1 end code block, and the code block length of the target data is 66 bits; In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 329 data code blocks and 1 end code block, and the code block length of the target data is 66 bits.

12. The method according to claim 11, characterized in that The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 320, and x and y are both positive integers.

13. The method according to claim 11, characterized in that The time slot size is 2 code blocks, the number of time slots of the bearer frame is 160 time slots, and the multiframe is composed of 3 bearer frames; or, The time slot size is 4 code blocks, the number of time slots of the bearer frame is 80 time slots, and the multiframe is composed of 6 bearer frames; or, The time slot size is 8 code blocks, the number of time slots of the bearer frame is 40 time slots, and the multiframe is composed of the 12 bearer frames.

14. The method according to claim 6, characterized in that In the case where the start code block does not carry overhead, the bearer frame includes 1 start code block, 495 data code blocks and 1 end code block; In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 494 data code blocks and 1 end code block.

15. The method according to claim 14, characterized in that The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 480, and x and y are both positive integers.

16. The method according to claim 15, characterized in that The time slot size is 2 code blocks, the number of time slots of the bearer frame is 240 time slots, and the multiframe is composed of 2 bearer frames; or, The time slot size is 4 code blocks, the number of time slots in the bearer frame is 120 time slots, and the multiframe is composed of 4 bearer frames; or, The time slot size is 8 code blocks, the number of time slots of the bearer frame is 60 time slots, and the multiframe is composed of the 8 bearer frames.

17. The method according to claim 6, characterized in that In the case where the start code block does not carry overhead, the bearer frame includes 1 start code block, 990 data code blocks and 1 end code block, and the code block length of the target data is 66 bits; In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 989 data code blocks and 1 end code block, and the code block length of the target data is 66 bits.

18. The method according to claim 17, characterized in that The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 960, and x and y are both positive integers.

19. The method according to claim 18, characterized in that The time slot size is 2 code blocks, the number of time slots of the bearer frame is 480 time slots, and the multiframe consists of one bearer frame; or, The time slot size is 4 code blocks, the number of time slots in the bearer frame is 240 time slots, and the multiframe is composed of 2 bearer frames; or, The time slot size is 8 code blocks, the number of the bearer frame time slots is 120 time slots, and the multiframe is composed of the 4 frames.

20. The method according to claim 6, characterized in that In the case where the start code block does not carry overhead, the bearer frame includes 1 start code block, 65 data code blocks and 1 end code block, and the code block length of the target data is 65; In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 64 data code blocks and 1 end code block, and the code block length of the target data is 65.

21. The method according to claim 20, characterized in that The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 64, and x and y are both positive integers.

22. The method according to claim 21, characterized in that The time slot size is 2 code blocks, the number of time slots of the bearer frame is 32 time slots, and the multiframe is composed of 15 bearer frames; or, The time slot size is 4 code blocks, the number of time slots of the bearer frame is 16 time slots, and the multiframe is composed of 30 bearer frames; or, The time slot size is 8 code blocks, the number of time slots of the bearer frame is 8 time slots, and the multiframe is composed of the 60 bearer frames.

23. The method according to claim 6, characterized in that In the case where the start code block does not carry overhead, the bearer frame includes 1 start code block, 195 data code blocks and 1 end code block, and the code block length of the target data is 65; In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 194 data code blocks and 1 end code block, and the code block length of the target data is 65.

24. The method according to claim 23, characterized in that The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 192, and x and y are both positive integers.

25. The method according to claim 24, characterized in that The time slot size is 2 code blocks, the number of time slots of the bearer frame is 96 time slots, and the multiframe is composed of 5 bearer frames; or, The time slot size is 4 code blocks, the number of time slots of the bearer frame is 48 time slots, and the multiframe is composed of 10 bearer frames; or, The time slot size is 8 code blocks, the number of time slots of the bearer frame is 24 time slots, and the multiframe is composed of the 20 bearer frames.

26. The method according to claim 6, characterized in that In the case where the start code block does not carry overhead, the bearer frame includes 1 start code block, 325 data code blocks and 1 end code block, and the code block length of the target data is 65 code blocks; In the case where the start code block carries overhead, the bearer frame includes 1 start code block, 324 data code blocks and 1 end code block, and the code block length of the target data is 65 code blocks.

27. The method according to claim 26, characterized in that The time slot size is x code blocks, the number of the bearing frame time slots is y time slots, the product of x and y is 320, and x and y are both positive integers.

28. The method according to claim 27, characterized in that The time slot size is 2 code blocks, the number of time slots of the bearer frame is 160 time slots, and the multiframe is composed of 3 bearer frames; or, The time slot size is 4 code blocks, the number of time slots of the bearer frame is 80 time slots, and the multiframe is composed of 6 bearer frames; or, The time slot size is 8 code blocks, the number of time slots of the bearer frame is 40 time slots, and the multiframe is composed of the 12 bearer frames.

29. The method according to claim 1, characterized in that Determining the frame structure of the bearer frame includes: Determining a time slot size used by the bearer frame; The number of time slots in the bearer frame is determined.

30. The method according to claim 1, characterized in that The determining of the frame structure of the multiframe including the bearer frame comprises: Determine the number of the bearer frames included in the multiframe.

31. The method according to claim 1, characterized in that Mapping the target data to the bearer frame in the multiframe for transmission includes: Mapping the target data onto the bearer frame; Inserting idle code blocks between the bearer frames according to a set rule; The bearer frame is transmitted.

32. The method according to claim 31, characterized in that The setting rule includes one of the following: Inserting a first fixed number of idle code blocks between each bearer frame; Inserting a second fixed number of idle code blocks between each equal number of bearer frames; A third fixed number of idle code blocks are inserted into one multiframe period.

33. The method according to claim 1, characterized in that Also includes: Receiving a bearer frame carrying the target data; According to a set rule, the idle code blocks between the bearer frames are restored to the original idle distribution state; Extracting the target data from the bearer frame; Based on the idle code blocks and the local clock, clock information of the target data is recovered.

34. A transmission method, characterized in that: The method comprises: According to the first time slot size, target data carried in a time slot of a bearer frame is acquired, wherein the bearer frame includes multiple code blocks, the bearer frame includes multiple time slots, and the time slots support multiple time slot sizes; The target data is carried in a multiframe and transmitted according to a second time slot size, and the first time slot size is not equal to the second time slot size.

35. The method according to claim 34, characterized in that The first time slot size is smaller than the second time slot size, and the transmitting the target data in a multiframe according to the second time slot size includes: The target data acquired in j time slots are spliced ​​and carried in a multiframe for transmission, the time slot size of the spliced ​​target data is a second time slot size, and j is a ratio of the second time slot size to the first time slot size.

36. The method according to claim 35, characterized in that The first time slot size includes: 2 or 4, and the second time slot size includes: 4 or 8.

37. The method according to claim 34, characterized in that The first time slot size is larger than the second time slot size, and the transmitting the target data in a multiframe according to the second time slot size includes: Splitting target data in one time slot into target data of k second time slot sizes, where k is a ratio of the first time slot size to the second time slot size; The split target data is carried in a multi-frame for transmission.

38. The method according to claim 37, characterized in that The first time slot size includes 4 or 8, and the second time slot size includes 2 or 4.

39. A communication node, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 38.

40. A storage medium, characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 38 is implemented.

Citation Information

Patent Citations

  • Multiframe sending method, multiframe receiving method, multiframe sending device, multiframe receiving device, communication device and communication network system

    CN108183764A

  • Service processing method and device

    CN108632886A

  • Data transmission method and device, terminal equipment and storage medium

    CN111092686A

  • Time slot container configuration method and device

    CN111586752A

  • Ethernet frame fixing method and device

    CN112994843A