Data transmission method and device, transmission equipment and storage medium
By adding a second overhead area to the frame structure and utilizing the calculation and insertion of the bit interleaving parity check code BIP-X, the problem of insufficient transmission process monitoring and management capabilities caused by low frame overhead frequency is solved, achieving more efficient error detection and management.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILE COMM LTD RES INST
- Filing Date
- 2023-10-31
- Publication Date
- 2026-06-05
AI Technical Summary
When data is carried in a frame structure, the low frequency of frame overhead leads to a reduction in the ability to monitor and manage the transmission process, especially at low transmission rates.
A second overhead region is added to the frame structure, and the error detection capability is enhanced by calculating the bit interleaving parity check code BIP-X. Specifically, the BIP-X is calculated and inserted into the corresponding overhead region based on the bit information of the payload region and the overhead region.
It improves the monitoring and management capabilities of the frame transmission process, and enhances the accuracy and reliability of error detection, especially in low-speed transmission environments.
Smart Images

Figure CN118827812B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of transmission and Internet Protocol (IP), and particularly relates to a data transmission method, apparatus, transmission device, and storage medium. Background Technology
[0002] In some scenarios where data is carried through a frame structure, the frame used to carry the data can include an overhead area and a payload area. The frame overhead located in the overhead area can be used to provide monitoring and management capabilities for the frame transmission process. When the transmission rate of the frame used to carry the data is low, the frame overhead occurs less frequently, which to some extent reduces the monitoring and management capabilities for the frame transmission process. Summary of the Invention
[0003] This application provides a data transmission method, apparatus, transmission device, and storage medium.
[0004] This application provides a data transmission method, which is applied to a transmission device, and the method includes:
[0005] The first service is mapped to the first frame; the first frame includes a first overhead area, a payload area, and a second overhead area.
[0006] Multiplex and / or map the first frame to the second frame;
[0007] Send the second frame.
[0008] In some embodiments, after mapping the first service to the first frame, the method further includes: calculating the first bit cross-parity check code (BIP-X) of the i-th first frame based on the bit information of the first region of the i-th first frame, wherein the number of bits X of the first BIP-X is an integer greater than 1, and the first region includes at least the payload region; and filling the first BIP-X of the i-th first frame into the first overhead region of the (i+2)-th first frame, wherein i is an integer greater than or equal to 1.
[0009] As can be seen, in this embodiment of the application, the first bit of the first frame can be determined relatively accurately based at least on the bit information of the payload area. Since the bit cross-parity check code is an error detection code, this embodiment of the application can achieve error detection relatively accurately for the case where the first frame includes two overhead areas.
[0010] In some embodiments, the first region further includes the last two columns of the first overhead region and / or the last two columns of the second overhead region.
[0011] As can be seen, in this embodiment of the application, the first bit of the first frame can be determined more accurately based on the bit information of the last two columns of the payload area and the overhead area. Since the bit cross-parity check code is an error detection code, this embodiment of the application can achieve error detection more accurately for the case where the first frame includes two overhead areas.
[0012] In some embodiments, filling the first BIP-X of the i-th first frame into the first overhead area of the (i+2)-th first frame includes: filling the first BIP-X of the i-th first frame into the first preset position of the first overhead area of the (i+2)-th first frame.
[0013] As can be seen, by inserting the first BIP-X of the i-th first frame into the first preset position of the first overhead region of the (i+2)-th first frame, the setting of the first BIP-X of the i-th first frame in the first overhead region can be achieved relatively reliably, which is beneficial for accurately reading the first BIP-X from the first preset position in the future.
[0014] In some embodiments, calculating the first BIP-X of the i-th first frame based on the bit information of the first region of the i-th first frame includes: calculating the first BIP-X of the i-th first frame based on the bit information of the first Q rows of the first region of the i-th first frame, where Q is a positive integer less than H and H is the number of rows of the i-th first frame; the method further includes: calculating the second BIP-X of the i-th first frame based on the bit information of the last HQ rows of the first region of the i-th first frame; and filling the second BIP-X of the i-th first frame into the second overhead region of the (i+2)-th first frame.
[0015] As can be seen, in this embodiment of the application, two BIP-X values of the first frame can be calculated for the two parts of the first region of the i-th first frame, and the two BIP-X values of the i-th first frame can be inserted into the (i+2)-th first frame. Since BIP-X can be used to detect transmission errors in the first frame, the ability to detect transmission errors in the first frame can be enhanced by adding BIP-X.
[0016] In some embodiments, filling the second BIP-X of the i-th first frame into the second overhead area of the (i+2)-th first frame includes:
[0017] The second BIP-X of the i-th first frame is filled into the second preset position of the second overhead area of the (i+2)-th first frame.
[0018] As can be seen, by inserting the second BIP-X of the i-th first frame into the second preset position of the second overhead region of the (i+2)-th first frame, the second BIP-X of the i-th first frame can be reliably set in the second overhead region, which is beneficial for accurately reading the second BIP-X from the second preset position later.
[0019] In some embodiments, the second overhead region is a region consisting of multiple consecutive columns. It can be seen that the second overhead region can be easily configured within a region consisting of multiple consecutive columns of the load area.
[0020] In some embodiments, the data carried by the first overhead area includes at least path monitoring (PM) overhead and / or tandem connection monitoring (TCM) overhead. It can be seen that by setting PM overhead, the embodiments of this application facilitate end-to-end channel monitoring in the network; by setting TCM overhead, they facilitate channel monitoring functionality in the operator's network.
[0021] This application embodiment also provides a data transmission apparatus, which is applied in a transmission device, and the apparatus includes:
[0022] A first processing module is used to map a first service onto a first frame; the first frame includes a first overhead area, a payload area, and a second overhead area.
[0023] The second processing module is used to multiplex the first frame and / or map it to a second frame; and send the second frame.
[0024] This application also provides a transmission device, which includes a processor and a memory for storing a computer program that can run on the processor; wherein the processor is used to run the computer program to perform any of the above-described data transmission methods.
[0025] This application also provides a computer storage medium storing a computer program, which, when executed by a processor, implements any of the above-described data transmission methods.
[0026] As can be seen, the first frame not only includes a first overhead area located outside the payload area, but also a second overhead area located outside the payload area. That is, the embodiments of this application can add a second overhead area to the first frame. Since the frame overhead in the overhead area can at least be used to monitor and manage the transmission process of the first frame, by setting two overhead areas in the first frame, the frequency of frame overhead occurrence can be increased, which is beneficial to increasing the monitoring and management capabilities of the frame transmission process. Attached Figure Description
[0027] Figure 1 This is a schematic diagram of the mapping process of fgOTN proposed in related technologies;
[0028] Figure 2 This is a schematic diagram of the frame structure of ODU in related technologies;
[0029] Figure 3A The first schematic diagram illustrating the setting of bit-crossing parity check codes in the overhead of ODU frames in related technologies;
[0030] Figure 3B A second schematic diagram illustrating the setting of bit-crossing parity check codes in the overhead of ODU frames in related technologies;
[0031] Figure 4 This is a flowchart illustrating a data transmission method applied to a transmission device according to an embodiment of this application;
[0032] Figure 5 This is a schematic diagram of the frame structure of fgODUflex in the embodiments of this application;
[0033] Figure 6 This is another schematic diagram of the frame structure of fgODUflex in the embodiments of this application;
[0034] Figure 7 This is the first schematic diagram of setting bit cross-parity check codes in the overhead of the fgODUflex frame in an embodiment of this application;
[0035] Figure 8 This is a second schematic diagram illustrating the setting of bit cross-parity check codes in the overhead of the fgODUflex frame in an embodiment of this application.
[0036] Figure 9 This is a third schematic diagram illustrating the setting of bit cross-parity check codes in the overhead of the fgODUflex frame in this embodiment of the application.
[0037] Figure 10 This is the fourth schematic diagram showing the setting of bit cross-parity check codes in the overhead of the fgODUflex frame in this embodiment of the application;
[0038] Figure 11 This is a schematic diagram of the data transmission device according to an embodiment of this application;
[0039] Figure 12 This is a schematic diagram of the structure of the transmission device according to an embodiment of this application. Detailed Implementation
[0040] In related technologies, a fine-grained optical transport network (Fine Granularity OTN / Fine grain OTN, fgOTN) transmission scheme has been introduced for services with transmission rates below 1G (Sub-1G). This scheme uses a specific frame (fgODUflex frame or fgODU frame, etc.) to carry service data. Figure 1 As shown, when implementing the fgOTN transmission scheme, small-granularity customer service data (i.e., services with a transmission rate lower than 1G) is first mapped to the specific frame. The specific frame is then mapped or multiplexed to an Optical Payload Unit (OPU) frame, and the OPU frame is mapped or multiplexed to an Optical Data Unit (ODU) frame. Here, when the specific frame is an fgODUflex frame, the fgODUflex frame includes an fgODUflex overhead area and an fgODUflex payload area.
[0041] Reference Figure 2 Each ODU frame consists of 4 rows and 3824 columns of bytes. In each ODU frame, the first 16 columns are the overhead area, and the 17th to 3824th columns are the payload area.
[0042] In related technologies, an 8-bit Bit Interleaved Parity 8 (BIP-8) code can be set in the overhead area of each ODU frame. The data carried in the overhead area of the ODU frame may include ODU PM overhead and / or ODU TCM overhead. The ODU TCM overhead includes ODU TCMj overhead, where TCMj represents the TCM function of level j. For example, the value of j can be 1 to 6.
[0043] In related technologies, a byte for storing the error detection code signal can be defined in the ODU PM overhead, or a byte for storing the error detection code signal can be defined in each of the ODU TCM1 to ODU TCM6 overheads; here, the byte defined in the ODU PM overhead or ODU TCMj overhead can be used to store BIP-8. (See reference...) Figure 3A and Figure 3B Based on the bit information of the OPU region (columns 15 to 3824) of the i-th ODU frame, the BIP-8 of the i-th ODU frame can be calculated, and then the BIP-8 can be inserted into the overhead of the (i+2)-th ODU frame, where i is an integer greater than or equal to 1. For example, refer to... Figure 3A When the data carried in the overhead area of the i-th ODU frame includes the ODU PM overhead, the BIP-8 of the i-th ODU frame can be inserted into the ODU PM overhead of the i-th ODU frame; refer to Figure 3BWhen the overhead of the i-th ODU frame includes the ODU TCMj overhead, the BIP-8 of the i-th ODU frame can be inserted into the ODU TCMj overhead of the i-th ODU frame. The insertion position of BIP-8 in the ODU TCMj overhead of the i-th ODU frame is related to the level of TCM function represented by TCMj.
[0044] Traditional Optical Transport Networks (OTNs) introduced the fgOTN mechanism to carry small-granularity frames ranging from 10 Mbps to 1 Gbps. In related technologies, OTN frames have a 4x3824 column structure, with the first 16 columns being overhead and columns 17 through 3824 being the payload area. When the frame transmission rate is low, frame overhead occurs infrequently. Since frame overhead can be used to provide monitoring and management capabilities for the frame transmission process, a low frequency of frame overhead occurrence reduces the ability to monitor and manage the frame transmission process.
[0045] To enhance the monitoring capabilities of frame transmission, additional overhead is required, which in turn leads to changes in the BIP-8 configuration.
[0046] In view of the above-mentioned technical problems, the technical solutions of the embodiments of this application are proposed.
[0047] The embodiments of this application will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the embodiments provided herein are merely illustrative of the embodiments of this application and are not intended to limit the embodiments of this application. Furthermore, the embodiments provided below are some embodiments for implementing this application, and not all embodiments for implementing this application. Unless otherwise specified, the technical solutions described in the embodiments of this application can be implemented in any combination.
[0048] It should be noted that, in the embodiments of this application, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a method or apparatus that includes a list of elements includes not only the elements expressly described, but also other elements not expressly listed, or elements inherent to implementing the method or apparatus. Without further limitations, an element defined by the phrase "comprising a..." does not exclude the presence of other related elements (e.g., steps in the method or units in the apparatus, such as portions of circuitry, processors, programs, or software, etc.) in the method or apparatus that includes that element.
[0049] The terms “first,” “second,” etc., used in the specification and claims of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented, for example, in orders other than those illustrated or described herein. Furthermore, the terms “comprising” and “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0050] The technical solutions of this invention can be applied to various communication systems, such as Long Term Evolution (LTE) systems or 5th Generation Mobile Communication Technology (5G) systems. Optionally, a 5G system or 5G network can also be referred to as a New Radio (NR) system or NR network.
[0051] For example, the communication system used in this embodiment of the invention may include network devices and terminal devices (also referred to as terminals, communication terminals, etc.); the network device may be a device that communicates with the terminal device. The network device can provide communication coverage within a certain area and can communicate with terminals located within that area. Optionally, the network device may be a base station in various communication systems, such as an evolved Node B (eNB) in an LTE system, or a base station (gNB) in a 5G or NR system.
[0052] It should be understood that devices with communication functions in the network / system of this application embodiment can be referred to as communication devices. Communication devices may include network devices and terminals with communication functions. Network devices and terminal devices can be the specific devices described above, which will not be repeated here. Communication devices may also include other devices in the communication system, such as network controllers, mobility management entities, and other network entities. This embodiment of the present invention does not limit these.
[0053] For example, the data transmission method provided in the embodiments of this application includes a series of steps, but the data transmission method provided in the embodiments of this application is not limited to the steps described. Similarly, the data transmission device provided in the embodiments of this application includes a series of modules, but the device provided in the embodiments of this application is not limited to the modules explicitly described, but may also include modules that need to be set up for obtaining relevant information or processing based on information.
[0054] This application provides a data transmission method applied to a transmission device. The transmission device can be a device used for data transmission in an OTN network. For example, the transmission device can be a communication device or an optical communication device. During data transmission, the transmission device can be a transmitting device, a source device, or the like.
[0055] Figure 4 This is a flowchart illustrating a data transmission method applied to a transmission device according to an embodiment of this application, such as... Figure 4 As shown, the process may include:
[0056] Step 401: Map the first service to the first frame; the first frame includes a first overhead area, a payload area, and a second overhead area.
[0057] In some embodiments, the first service may be Ethernet service, constant bit rate (CBR) service, etc., and the first frame may also be called fgODUflex frame, fgODU frame, optical service unit (OSU) frame or sub-1G frame.
[0058] Step 402: Multiplex and / or map the first frame to the second frame.
[0059] In some embodiments, the second frame may also be referred to as an ODU frame, an Optical Channel Transport Unit (OTU) frame, or an OPU frame, etc. Optionally, in various embodiments of this application, the multiplexing and / or mapping may also be equivalent to multiplexing, multiplexing mapping, multiplexing mapping, etc., and the above processing names may be equivalent to or replaced as needed.
[0060] For example, columns 1 to 16 in the first frame are the first overhead area, and columns 17 to 3824 are the second overhead area and the payload area.
[0061] Here, the second overhead area consists of data in rows E and columns F, where E is a positive integer less than or equal to the number of rows H in the first frame, and F is a positive integer less than the number of columns in the payload area; for example, the second overhead area consists of 4 consecutive rows and 16 columns of data.
[0062] For example, refer to Figure 5 When the first frame is an fgODUflex frame, the second overhead region is located in columns N to N+15 of the fgODUflex frame, where N is greater than or equal to 17 and less than or equal to 3809. (Refer to...) Figure 6 When N equals 1905, the second overhead area is located in columns 1905 to 1920 of the fgODUflex frame.
[0063] Step 403: Send the second frame.
[0064] In practical applications, steps 401 to 403 can be implemented based on the processor of the transmission device. The processor can be at least one of the following: Application Specific Integrated Circuit (ASIC), Digital Signal Processor (DSP), Digital Signal Processing Device (DSPD), Programmable Logic Device (PLD), Field Programmable Gate Array (FPGA), Central Processing Unit (CPU), Controller, Microcontroller, and Microprocessor.
[0065] As can be seen, the first frame not only includes a first overhead area located outside the payload area, but also a second overhead area located outside the payload area. That is, the embodiments of this application can add a second overhead area to the first frame. Since the frame overhead in the overhead area can at least be used to monitor and manage the transmission process of the first frame, by setting two overhead areas in the first frame, the frequency of frame overhead occurrence can be increased, which is beneficial to increasing the monitoring and management capabilities of the frame transmission process.
[0066] In some embodiments of this application, the data carried by the first overhead area includes at least PM overhead and / or TCM overhead. It can be seen that by setting PM overhead, the embodiments of this application facilitate end-to-end channel monitoring in the network; by setting TCM overhead, they facilitate channel monitoring functionality in the operator's network.
[0067] In some embodiments of this application, the second overhead region is a region consisting of multiple consecutive columns. It can be seen that the second overhead region can be easily implemented within a region consisting of multiple consecutive columns of the load area.
[0068] In some embodiments of this application, after mapping the first service to the first frame, the method further includes:
[0069] Based on the bit information of the first region of the i-th first frame, calculate the first bit cross-parity check code BIP-X of the i-th first frame, where the number of bits X of the first BIP-X is an integer greater than 1, and the first region includes at least the payload region.
[0070] The first BIP-X of the i-th first frame is filled into the first overhead area of the (i+2)-th first frame, where i is an integer greater than or equal to 1.
[0071] For example, the value of X can be 8 or other integers.
[0072] As can be seen, in this embodiment of the application, the first bit of the first frame can be determined relatively accurately based at least on the bit information in the payload area. Since the bit cross-parity check code is an error detection code, this embodiment of the application can achieve error detection relatively accurately for the case where the first frame includes two overhead areas.
[0073] In some embodiments of this application, the first region further includes the last two columns of the first overhead region and / or the last two columns of the second overhead region.
[0074] Here, the last two columns of the first overhead region are the OPU overhead. For example, when the first overhead region is located in columns 1 to 16 of the first frame, the last two columns of the first overhead region are columns 15 and 16. The last two columns of the second overhead region are the OPU overhead. For example, when the second overhead region is located in columns N to N+15 of the first frame, the last two columns of the second overhead region are columns N+14 and N+15.
[0075] For example, the first region may include the region from column 15 to column M of the first frame, and the region from column M+15 to column 3824, where M equals N-1.
[0076] As can be seen, in this embodiment of the application, the first bit cross-parity check code of the first frame can be determined more accurately based on the bit information of the payload area and the bit information of the last two columns of the overhead area. Since the bit cross-parity check code is an error detection code, this embodiment of the application can achieve error detection more accurately for the case where the first frame includes two overhead areas.
[0077] In some embodiments of this application, the process of filling the first BIP-X of the i-th first frame into the first overhead area of the (i+2)-th first frame may include: filling the first BIP-X of the i-th first frame into the first preset position of the first overhead area of the (i+2)-th first frame.
[0078] In this embodiment of the application, one or more bytes for storing error detection code signals can be predefined in the first overhead area of each first frame, and the first preset position is the position of one or more bytes predefined in the first overhead area.
[0079] As can be seen, by inserting the first BIP-X of the i-th first frame into the first preset position of the first overhead region of the (i+2)-th first frame, the setting of the first BIP-X of the i-th first frame in the first overhead region can be achieved relatively reliably, which is beneficial for accurately reading the first BIP-X from the first preset position in the future.
[0080] In some embodiments of this application, the process of calculating a BIP-X of the i-th first frame based on the bit information of the first region of the i-th first frame may include:
[0081] Based on the bit information of the first Q rows of the first region of the i-th first frame, calculate the first BIP-X of the i-th first frame, where Q is a positive integer less than H, and H is the number of rows of the i-th first frame;
[0082] After mapping the first service to the first frame, the method further includes:
[0083] Calculate the second BIP-X of the i-th first frame based on the bit information of the last HQ row of the first region of the i-th first frame;
[0084] The second BIP-X of the i-th first frame is filled into the second overhead area of the (i+2)-th first frame.
[0085] For example, X can be 8 or other integers. In the case where the payload area is located in columns 17 to M and columns M+17 to 3824 of the first frame, the first region can include the region in columns 15 to M and columns M+15 to 3824 of the first frame. The row number H of the i-th first frame is equal to 4, and Q can be 1, 2, or 3.
[0086] When H equals 4 and Q equals 2, the first BIP-X of the i-th first frame can be calculated based on the bit information of the first two rows of the first region of the i-th first frame; and the second BIP-X of the i-th first frame can be calculated based on the bit information of the last two rows of the first region of the i-th first frame.
[0087] For example, the second BIP-X of the i-th first frame can be filled into the reserved position or a custom position of the second overhead area of the (i+2)-th first frame.
[0088] As can be seen, in this embodiment of the application, two BIP-X values of the first frame can be calculated for the two parts of the first region of the i-th first frame, and the two BIP-X values of the i-th first frame can be inserted into the (i+2)-th first frame. Since BIP-X can be used to detect transmission errors in the first frame, the ability to detect transmission errors in the first frame can be enhanced by adding BIP-X.
[0089] In some embodiments of this application, the process of filling the second BIP-X of the i-th first frame into the second overhead area of the (i+2)-th first frame may include: filling the second BIP-X of the i-th first frame into the second preset position of the second overhead area of the (i+2)-th first frame.
[0090] In this embodiment of the application, one or more bytes for storing error detection code signals can be predefined in the second overhead area of the i-th first frame, and the second preset position is the position of one or more bytes predefined in the second overhead area.
[0091] As can be seen, by inserting the second BIP-X of the i-th first frame into the second preset position of the second overhead region of the (i+2)-th first frame, the second BIP-X of the i-th first frame can be reliably set in the second overhead region, which is beneficial for accurately reading the second BIP-X from the second preset position later.
[0092] Reference Figure 7 When the first frame is an fgODUflex frame, the first BIP-8 of the i-th fgODUflex frame can be calculated based on the bit information of the first region of the i-th fgODUflex frame. Then, the first BIP-8 is filled into the first overhead region of the (i+2)-th fgODUflex frame. Here, the first overhead region is columns 1 to 16 of the i-th fgODUflex frame, and the first region includes columns 15 to M and columns M+15 to 3824, where M equals N-1.
[0093] For example, in the case where the first frame is an fgODUflex frame and M equals 1904, refer to Figure 8 Based on the bit information of the region from column 15 to column 1904 of the i-th fgODUflex frame and the bit information of the region from column 1919 to column 3824, the first BIP-8 of the i-th fgODUflex frame can be calculated, and then the first BIP-8 can be filled into the first overhead region of the (i+2)-th fgODUflex frame.
[0094] In some embodiments, when the data carried in the first overhead area includes PM overhead, the first BIP-8 can be filled into the 3rd row and 11th column of the first overhead area of the (i+2)th fgODUflex frame.
[0095] In some embodiments, when the data carried in the first overhead area includes TCMj overhead, the first BIP-8 can be filled into the third row of the first overhead area of the (i+2)th fgODUflex frame. The insertion position of BIP-8 in the TCMj overhead of the i-th fgODUflex frame is related to the level of TCM function represented by TCMj. For example, when the data carried in the first overhead area includes TCM1 overhead, the first BIP-8 can be filled into the third row and eighth column of the first overhead area of the (i+2)th fgODUflex frame; when the data carried in the first overhead area includes TCM2 overhead, the first BIP-8 can be filled into the third row and fifth column of the first overhead area of the (i+2)th fgODUflex frame.
[0096] In some embodiments, bytes for storing error detection codes can be defined in the second overhead area, and the bytes defined in the second overhead area can be used to store BIP-8.
[0097] In this embodiment of the application, the first BIP-8 can be denoted as B1, and the second BIP-8 can be denoted as B2; refer to Figure 9 When the first frame is an fgODUflex frame, B1 can be calculated based on the bit information of the first two rows of the first region of the i-th fgODUflex frame, and B1 is filled into the first overhead region of the (i+2)-th fgODUflex frame. Here, the first overhead region is columns 1 to 16 of the i-th fgODUflex frame, and the first region includes columns 15 to M and columns M+15 to 3824, where M equals N-1.
[0098] Based on the bit information of the last two rows of the first region of the i-th fgODUflex frame, B2 can be calculated and inserted into the second overhead region of the (i+2)-th fgODUflex frame. Figure 9 In the second overhead area, the data in each fgODUflex frame is from column N to column N+15.
[0099] Reference Figure 10 When the first frame is an fgODUflex frame and M equals 1904, B1 can be calculated based on the bit information of the first two rows in the region from column 15 to column 1904 of the i-th fgODUflex frame and the bit information of the first two rows in the region from column 1919 to column 3824. Then, B1 is filled into the first overhead region of the (i+2)-th fgODUflex frame.
[0100] Based on the bit information of the last two rows in the region from column 15 to column 1904 of the i-th fgODUflex frame, and the bit information of the last two rows in the region from column 1919 to column 3824, B2 can be calculated and then filled into the second overhead region of the (i+2)-th fgODUflex frame.
[0101] In some embodiments, when the data carried in the first overhead area includes PM overhead, B1 can be filled into the 3rd row and 11th column of the first overhead area of the (i+2)th fgODUflex frame, and B2 can be filled into the second overhead area of the (i+2)th fgODUflex frame.
[0102] In some embodiments, when the data carried in the first overhead region includes TCMj overhead, B1 can be filled into the third row of the first overhead region of the (i+2)th fgODUflex frame, and B2 can be filled into the second overhead region of the (i+2)th fgODUflex frame. The insertion position of B1 in the TCMj overhead of the i-th fgODUflex frame is related to the level of TCM function represented by TCMj; for example, when the data carried in the first overhead region includes TCM1 overhead, B1 can be filled into the third row and eighth column of the first overhead region of the (i+2)th fgODUflex frame; when the data carried in the first overhead region includes TCM2 overhead, B1 can be filled into the third row and fifth column of the first overhead region of the (i+2)th fgODUflex frame.
[0103] Those skilled in the art will understand that, in the above-described method of the specific implementation, the order in which each step is written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.
[0104] Based on the data transmission method proposed in the foregoing embodiments, this application also proposes a data transmission device.
[0105] Figure 11 This is a schematic diagram of the structure of a data transmission device applied to a transmission device according to an embodiment of this application, such as... Figure 11 As shown, the device may include:
[0106] The first processing module 1101 is used to map the first service to the first frame; the first frame includes a first overhead area, a payload area and a second overhead area.
[0107] The second processing module 1102 is used to multiplex and / or map the first frame to the first frame; and send the second frame.
[0108] In some embodiments, the second processing module 1102 is further configured to calculate the first BIP-X of the i-th first frame based on the bit information of the first region of the i-th first frame, and fill the first BIP-X of the i-th first frame into the first overhead region of the (i+2)-th first frame, wherein X is an integer greater than 1, the first region includes at least the payload region, and i is an integer greater than or equal to 1.
[0109] In some embodiments, the first region further includes the last two columns of the first overhead region and / or the last two columns of the second overhead region.
[0110] In some embodiments, the processing module 1102 is configured to calculate a BIP-X of the i-th first frame based on the bit information of the first region of the i-th first frame, including:
[0111] Based on the bit information of the first Q rows of the first region of the i-th first frame, calculate the first BIP-X of the i-th first frame, where Q is a positive integer less than H, and H is the number of rows of the i-th first frame;
[0112] The processing module 1102 is further configured to calculate the second BIP-X of the i-th first frame based on the bit information of the last HQ row of the first region of the i-th first frame; and fill the second BIP-X of the i-th first frame into the second overhead region of the (i+2)-th first frame.
[0113] In some embodiments, the processing module 1102 is used to fill the second BIP-X of the i-th first frame into the second overhead area of the (i+2)-th first frame, including: filling the second BIP-X of the i-th first frame into the second preset position of the second overhead area of the (i+2)-th first frame.
[0114] In some embodiments, the second overhead area is a region of multiple consecutive columns.
[0115] In some embodiments, the data carried by the first overhead area includes at least PM overhead and / or TCM overhead.
[0116] In practical applications, both the first processing module 1101 and the second processing module 1102 can be implemented based on a processor and a communication device.
[0117] It should be noted that the description of the above device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects. For technical details not disclosed in the device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.
[0118] It should be noted that, in the embodiments of this application, if the above-described methods are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a terminal, server, etc.) to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.
[0119] Correspondingly, this application embodiment further provides a computer program product, the computer program product including computer executable instructions, which are used to implement any of the data transmission methods provided in this application embodiment.
[0120] Accordingly, this application embodiment further provides a computer storage medium storing computer-executable instructions, which are used to implement any of the data transmission methods provided in the above embodiments.
[0121] This application also provides a transmission device. Figure 12 This is a schematic diagram of the composition structure of a transmission device provided in an embodiment of this application, such as... Figure 12 As shown, the transmission device 120 may include:
[0122] Memory 121 is used to store executable instructions;
[0123] The processor 122 is used to implement any of the above-described data transmission methods when executing executable instructions stored in the memory 121.
[0124] The aforementioned computer-readable storage medium and memory 121 may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM), etc.; or it may be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0125] In some embodiments, the functions or modules of the apparatus provided in this application can be used to perform the methods described in the above method embodiments. The specific implementation can be referred to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0126] The description of the various embodiments above tends to emphasize the differences between the various embodiments. The similarities or similarities between them can be referred to, and for the sake of brevity, they will not be repeated here.
[0127] The methods disclosed in the various method embodiments provided in this application can be arbitrarily combined to obtain new method embodiments without conflict.
[0128] The features disclosed in the various product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0129] The features disclosed in the various method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.
[0130] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0131] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims. All of these forms are within the protection scope of this application.
Claims
1. A data transmission method, characterized in that, When applied in a transmission device, the method includes: The first service is mapped to the first frame; the first frame includes a first overhead area, a payload area, and a second overhead area. Multiplex and / or map the first frame to the second frame; Send the second frame; After mapping the first service to the first frame, the first bit cross-parity check code BIP-X of the i-th first frame is calculated based on the bit information of the first region of the i-th first frame. The number of bits X of the first BIP-X is an integer greater than 1, and the first region includes at least the payload area. The first BIP-X of the i-th first frame is filled into the first overhead area of the (i+2)-th first frame, where i is an integer greater than or equal to 1.
2. The method according to claim 1, characterized in that, The first region also includes the last two columns of the first overhead region and / or the last two columns of the second overhead region.
3. The method according to claim 1, characterized in that, The step of filling the first BIP-X of the i-th first frame into the first overhead area of the (i+2)-th first frame includes: Fill the first BIP-X of the i-th first frame into the first preset position of the first overhead area of the (i+2)-th first frame.
4. The method according to claim 1, characterized in that, The step of calculating the first BIP-X of the i-th first frame based on the bit information of the first region of the i-th first frame includes: Based on the bit information of the first Q rows of the first region of the i-th first frame, calculate the first BIP-X of the i-th first frame, where Q is a positive integer less than H, and H is the number of rows of the i-th first frame; The method further includes: Calculate the second BIP-X of the i-th first frame based on the bit information of the last HQ row of the first region of the i-th first frame; The second BIP-X of the i-th first frame is filled into the second overhead area of the (i+2)-th first frame.
5. The method according to claim 4, characterized in that, The step of filling the second BIP-X of the i-th first frame into the second overhead area of the (i+2)-th first frame includes: The second BIP-X of the i-th first frame is filled into the second preset position of the second overhead area of the (i+2)-th first frame.
6. The method according to any one of claims 1 to 5, characterized in that, The second overhead area is a region consisting of multiple consecutive columns.
7. The method according to any one of claims 1 to 5, characterized in that, The data carried by the first overhead area includes at least path monitoring PM overhead and / or serial connection monitoring TCM overhead.
8. A data transmission device, characterized in that, The device, used in transmission equipment, includes: A first processing module is used to map a first service onto a first frame; the first frame includes a first overhead area, a payload area, and a second overhead area. The second processing module is used to multiplex and / or map the first frame to a second frame; and send the second frame. The device is further configured to map the first service to the first frame and, based on the bit information of the first region of the i-th first frame, calculate the first bit cross-parity check code BIP-X of the i-th first frame, wherein the number of bits X of the first BIP-X is an integer greater than 1, and the first region includes at least the payload area. The first BIP-X of the i-th first frame is filled into the first overhead area of the (i+2)-th first frame, where i is an integer greater than or equal to 1.
9. A transmission device, characterized in that, Includes a processor and memory for storing computer programs that can run on the processor; wherein, The processor is used to run the computer program to perform the method according to any one of claims 1 to 7.
10. A computer storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the method described in any one of claims 1 to 7.