Alignment identifier AM-based communication method and related device

By using AM to pass FEC mode adjustment indication information in Ethernet communication, the problem of resource waste in AM after data transmission is solved, the utilization rate and communication efficiency of AM are improved, and the accuracy of FEC mode adjustment is ensured.

CN119135308APending Publication Date: 2024-12-13HUAWEI TECH CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202310695255.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-12
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

In Ethernet communication, although inter-channel data alignment and channel number identification are achieved through alignment identifiers (AM), AM inserted in the data stream loses its function after data transmission is completed, resulting in waste of resources, and the prior art cannot be effective Improve AM utilization and communication efficiency.

Method used

By using AM to transmit the indication information of adjusting the forward error correction FEC mode during communication, the first communication device causes the first communication device to send a first AM to indicate the adjustment FEC mode, and receive the second AM to confirm the adjustment, realizing the following: AM's lossless information transmission improves AM utilization and communication efficiency.

Benefits of technology

Without affecting the existing functions of AM, making full use of AM can improve the utilization rate and communication efficiency of AM, ensuring the accuracy of FEC mode adjustment, and reducing the probability of misidentification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135308A_ABST
    Figure CN119135308A_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a communication method based on an alignment identifier (AM) and a related device, the method comprising: a first communication device sends a first alignment identifier (AM) to a second communication device, the first AM instructing the second communication device to adjust a forward error correction (FEC) mode; the first communication device receives a second AM from the second communication device, the second AM indicating that the second communication device has adjusted the FEC mode. The indication information for adjusting the FEC mode is transmitted through the AM, the AM is fully utilized, lossless information transmission based on the AM is realized, the utilization rate of the AM is improved, and the communication efficiency is improved.
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, and in particular to a communication method based on an alignment identifier AM and a related device. Background Art

[0002] Since the 40 Gigabit Ethernet (GE) / 100GE era, Ethernet has introduced multi-channel (multi PCS lane) data distribution technology in the Physical Coding Sublayer (PCS). The sender periodically inserts the Alignment Marker (AM) in the PCS lane, so that the receiver can perform data alignment and channel number identification between channels based on AM, offset the impact of inconsistent signal transmission rates between channels and restore the data order of the sender.

[0003] Currently, the properties of AM are the same under different Ethernet rate specifications. For example, taking the Ethernet rate specification "200GBASE-RPCS" and the Ethernet rate specification "400GBASE-RPCS" as examples, the format of AM for each PCS channel is as follows: Figure 1 As shown, Figure 1 The figure is a structural diagram of AM. AM includes: a common marker (CM) field, a unique marker (UM) field and a unique pad (UP) field, wherein the CM field is a field shared by each PCS channel (referred to as a channel), and the UM field and the UP field are unique to each channel. The CM field is used for data alignment between channels, and the UM field and the UP field are used to identify the port number.

[0004] For "200GBASE-R PCS", AM includes the following specific contents: Figure 2 As shown, Figure 2 The following is a schematic diagram of AM coding for 200GBASE-R. For "400GBASE-R PCS", the specific contents of AM include: Figure 3 As shown, Figure 3 The following is a schematic diagram of AM coding for 400GBASE-R. Figure 2 and Figure 3 It can be seen that the content of the AM depends on the PCS lane number, and the CM0 field to the CM5 field including the content are the same on all AMs to allow common synchronization between PCS lanes.

[0005] The applicant has found that after the transmitter and receiver complete the data alignment and channel number identification between channels through AM, the AM inserted in the data stream no longer has any effect. At this time, the AM inserted in the data stream actually wastes communication resources. Summary of the invention

[0006] In a first aspect, an embodiment of the present application proposes a communication method based on an alignment identifier AM, comprising:

[0007] The first communication device sends a first alignment identifier AM to the second communication device, and the first AM instructs the second communication device to adjust the forward error correction FEC mode. Then, the first communication device receives the second AM from the second communication device, and determines that the second communication device has adjusted the FEC mode according to the second AM. So that the first communication device communicates with the second communication device under the adjusted FEC mode. The first communication device transmits the indication information of adjusting the forward error correction FEC mode through the AM, makes full use of the AM, realizes lossless information transmission based on the AM, improves the utilization rate of the AM, and improves the communication efficiency.

[0008] In combination with the first aspect, in a possible implementation of the first aspect, the first AM includes a first specific identification UM field combination, the first UM field combination includes multiple UM fields, and the first UM field combination indicates that the second communication device adjusts the FEC mode. Specifically, the first communication device implements information transmission through the first UM field combination included in the first AM to improve communication efficiency.

[0009] In combination with the first aspect, in a possible implementation of the first aspect, the first UM field combination indicates that the second communication device increases the type of the FEC mode, or the first UM field combination indicates that the second communication device decreases the type of the FEC mode. The first UM field combination can be used to indicate that the second communication device increases the type of the FEC mode or decreases the type of the FEC mode, thereby improving the convenience of adjusting the FEC mode.

[0010] In combination with the first aspect, in a possible implementation of the first aspect, the second AM includes a second specific identification UM field combination, the second UM field combination includes multiple UM fields, and the second UM field combination indicates that the second communication device has adjusted the FEC mode. Specifically, the second communication device implements information transmission through the second UM field combination included in the second AM to improve communication efficiency.

[0011] In combination with the first aspect, in a possible implementation manner of the first aspect, the second UM field combination indicates that the second communication device has increased the type of the FEC mode, or the second UM field combination indicates that the second communication device has decreased the type of the FEC mode. The second UM field combination can be used to indicate that the second communication device has increased the type of the FEC mode or decreased the type of the FEC mode, thereby improving the convenience of adjusting the FEC mode.

[0012] In combination with the first aspect, in a possible implementation of the first aspect, the first UM field combination is composed of codewords included in a first codeword set, the first codeword set includes multiple codewords, the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokwenheim eBCH (16,5) encoding method. The first UM field combination is composed of codewords included in the first codeword set, and the first codeword set is obtained by eBCH (16,5) encoding. Therefore, the first UM field combination meets the characteristics of large Hamming distance and direct current (DC) balance. Improve communication performance.

[0013] In combination with the first aspect, in a possible implementation of the first aspect, the second UM field combination is composed of codewords included in the first codeword set, the first codeword set includes multiple codewords, the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using the extended Bose-Chaudhuri-Hokwenheim eBCH (16,5) encoding method. The second UM field combination is composed of codewords included in the first codeword set, and the first codeword set is obtained by eBCH (16,5) encoding. Therefore, the second UM field combination meets the characteristics of large Hamming distance and direct current (DC) balance. Improve communication performance.

[0014] In combination with the first aspect, in a possible implementation manner of the first aspect, the first codeword set includes any one or more of the following codewords:

[0015] 0 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0,

[0016] 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0,

[0017] 0 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0,

[0018] 0 1 1 0 1 1 1 0 0 0 0 1 0 1 0 1,

[0019] 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1 1,

[0020] 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0 0,

[0021] 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0 0,

[0022] 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1,

[0023] 1 1 0 1 0 1 1 0 0 1 0 0 0 1 1 0,

[0024] Or, 1 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1. The first codeword set satisfies the characteristics of large Hamming distance and direct current (DC) balance.

[0025] In combination with the first aspect, in a possible implementation manner of the first aspect, the length of the first AM is 120 bits, and the length of the second AM is 120 bits. The first AM and the second AM are compatible with the current standard Ethernet.

[0026] In combination with the first aspect, in a possible implementation of the first aspect, the first AM further includes: a first public identification CM field combination and a first specific filling UP field, the first CM field combination includes 6 CM fields, each of which has a length of 8 bits, the first UP field evenly separates the 6 CM fields included in the first CM field combination, the first UP field has a length of 8 bits, and the first UM field combination includes 8 UM fields, each of which has a length of 8 bits. The first AM is compatible with the AM format of the prior art and makes full use of the UP field in the current AM format to improve communication efficiency.

[0027] In combination with the first aspect, in a possible implementation manner of the first aspect, the first UM field combination includes: a first UM field, a second UM field, a third UM field, a fourth UM field, a fifth UM field, a sixth UM field, a seventh UM field and an eighth UM field, wherein the first UM field and the second UM field are composed of a first codeword, the third UM field and the fourth UM field are composed of a second codeword, the fifth UM field and the sixth UM field are composed of a third codeword, the seventh UM field and the eighth UM field are composed of a fourth codeword, and the first codeword, the second codeword, the third codeword and the fourth codeword belong to the first codeword set.

[0028] In combination with the first aspect, in a possible implementation of the first aspect, the second AM further includes: a second public identification CM field combination and a second specific fill UP field, the second CM field combination includes 6 CM fields, each of which has a length of 8 bits, the second UP field evenly separates the 6 CM fields included in the second CM field combination, the second UP field has a length of 8 bits, and the second UM field combination includes 8 UM fields, each of which has a length of 8 bits. The first AM is compatible with the AM format of the prior art and makes full use of the UP field in the current AM format to improve communication efficiency.

[0029] In combination with the first aspect, in a possible implementation manner of the first aspect, the second UM field combination includes: a ninth UM field, a tenth UM field, an eleventh UM field, a twelfth UM field, a thirteenth UM field, a fourteenth UM field, a fifteenth UM field and a sixteenth UM field, wherein the ninth UM field and the tenth UM field are composed of a fifth codeword, the eleventh UM field and the twelfth UM field are composed of a sixth codeword, the thirteenth UM field and the fourteenth UM field are composed of a seventh codeword, the fifteenth UM field and the sixteenth UM field are composed of an eighth codeword, and the fifth codeword, the sixth codeword, the seventh codeword and the eighth codeword belong to the first codeword set.

[0030] In combination with the first aspect, in a possible implementation manner of the first aspect, the first UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1. The codeword included in the first UP field satisfies DC balance.

[0031] In combination with the first aspect, in a possible implementation manner of the first aspect, the second UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1. The codeword included in the second UP field satisfies DC balance.

[0032] In combination with the first aspect, in a possible implementation of the first aspect, after the first communication device sends the first alignment identifier AM to the second communication device, the method further includes: the first communication device sends a third alignment identifier AM to the second communication device, the third AM instructing the second communication device to adjust the forward error correction FEC mode; after the first communication device receives the second AM from the second communication device, the method further includes: the first communication device receives a fourth AM from the second communication device, the fourth AM indicating that the second communication device has adjusted the FEC mode. By sending two consecutive request messages for adjusting the FEC mode and two consecutive response messages for adjusting the FEC mode, it is ensured that there is no misidentification of the FEC mode adjustment within a longer time range, thereby improving the accuracy of the FEC mode adjustment.

[0033] In a second aspect, an embodiment of the present application proposes a communication method based on an alignment identifier AM, including:

[0034] The second communication device receives a first alignment identifier AM from the first communication device, and the first AM indicates that the second communication device adjusts the forward error correction FEC mode. Then, the second communication device sends a second AM to the first communication device, and the second AM indicates that the second communication device has adjusted the FEC mode. In response to the first AM, the second communication device adjusts the FEC mode. Finally, the second communication device communicates with the first communication device using the adjusted FEC mode. The second communication device transmits the indication information of adjusting the forward error correction FEC mode through the AM, makes full use of the AM, realizes lossless information transmission based on the AM, improves the utilization rate of the AM, and improves the communication efficiency.

[0035] In combination with the second aspect, in a possible implementation of the second aspect, the first AM includes a first specific identification UM field combination, the first UM field combination includes multiple UM fields, and the first UM field combination indicates that the second communication device adjusts the FEC mode. Specifically, the first communication device implements information transmission through the first UM field combination included in the first AM to improve communication efficiency.

[0036] In combination with the second aspect, in a possible implementation of the second aspect, the first UM field combination indicates that the second communication device increases the type of the FEC mode, or the first UM field combination indicates that the second communication device decreases the type of the FEC mode. The first UM field combination can be used to indicate that the second communication device increases the type of the FEC mode or decreases the type of the FEC mode, thereby improving the convenience of adjusting the FEC mode.

[0037] In combination with the second aspect, in a possible implementation of the second aspect, the second AM includes a second specific identification UM field combination, the second UM field combination includes multiple UM fields, and the second UM field combination indicates that the second communication device has adjusted the FEC mode. Specifically, the second communication device implements information transmission through the second UM field combination included in the second AM to improve communication efficiency.

[0038] In combination with the second aspect, in a possible implementation manner of the second aspect, the second UM field combination indicates that the second communication device has increased the type of the FEC mode, or the second UM field combination indicates that the second communication device has decreased the type of the FEC mode. The second UM field combination can be used to indicate that the second communication device has increased the type of the FEC mode or decreased the type of the FEC mode, thereby improving the convenience of adjusting the FEC mode.

[0039] In combination with the second aspect, in a possible implementation of the second aspect, the first UM field combination is composed of codewords included in a first codeword set, the first codeword set includes multiple codewords, the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokwenheim eBCH (16,5) encoding method. The first UM field combination is composed of codewords included in the first codeword set, and the first codeword set is obtained by eBCH (16,5) encoding. Therefore, the first UM field combination meets the characteristics of large Hamming distance and direct current (DC) balance. Improve communication performance.

[0040] In combination with the second aspect, in a possible implementation of the second aspect, the second UM field combination is composed of codewords included in the first codeword set, the first codeword set includes multiple codewords, the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using the extended Bose-Chaudhuri-Hokwenheim eBCH (16,5) encoding method. The second UM field combination is composed of codewords included in the first codeword set, and the first codeword set is obtained by eBCH (16,5) encoding. Therefore, the second UM field combination meets the characteristics of large Hamming distance and direct current (DC) balance. Improve communication performance.

[0041] In combination with the second aspect, in a possible implementation manner of the second aspect, the first codeword set includes any one or more of the following codewords:

[0042] 0 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0,

[0043] 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0,

[0044] 0 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0,

[0045] 0 1 1 0 1 1 1 0 0 0 0 1 0 1 0 1,

[0046] 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1 1,

[0047] 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0 0,

[0048] 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0 0,

[0049] 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1,

[0050] 1 1 0 1 0 1 1 0 0 1 0 0 0 1 1 0,

[0051] Or, 1 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1. The first codeword set satisfies the characteristics of large Hamming distance and direct current (DC) balance.

[0052] In conjunction with the second aspect, in a possible implementation manner of the second aspect, the length of the first AM is 120 bits, and the length of the second AM is 120 bits. The first AM and the second AM are compatible with the current standard Ethernet.

[0053] In combination with the second aspect, in a possible implementation of the second aspect, the first AM also includes: a first public identification CM field combination and a first specific filling UP field, the first CM field combination includes 6 CM fields, each of which has a length of 8 bits, the first UP field evenly separates the 6 CM fields included in the first CM field combination, the first UP field has a length of 8 bits, and the first UM field combination includes 8 UM fields, each of which has a length of 8 bits. The first AM is compatible with the AM format of the prior art and makes full use of the UP field in the current AM format to improve communication efficiency.

[0054] In combination with the second aspect, in a possible implementation manner of the second aspect, the first UM field combination includes: a first UM field, a second UM field, a third UM field, a fourth UM field, a fifth UM field, a sixth UM field, a seventh UM field and an eighth UM field, wherein the first UM field and the second UM field are composed of a first codeword, the third UM field and the fourth UM field are composed of a second codeword, the fifth UM field and the sixth UM field are composed of a third codeword, the seventh UM field and the eighth UM field are composed of a fourth codeword, and the first codeword, the second codeword, the third codeword and the fourth codeword belong to the first codeword set.

[0055] In combination with the second aspect, in a possible implementation of the second aspect, the second AM also includes: a second public identification CM field combination and a second specific fill UP field, the second CM field combination includes 6 CM fields, each of which has a length of 8 bits, the second UP field evenly separates the 6 CM fields included in the second CM field combination, the second UP field has a length of 8 bits, and the second UM field combination includes 8 UM fields, each of which has a length of 8 bits. The first AM is compatible with the AM format of the prior art and makes full use of the UP field in the current AM format to improve communication efficiency.

[0056] In combination with the second aspect, in a possible implementation manner of the second aspect, the second UM field combination includes: a ninth UM field, a tenth UM field, an eleventh UM field, a twelfth UM field, a thirteenth UM field, a fourteenth UM field, a fifteenth UM field and a sixteenth UM field, wherein the ninth UM field and the tenth UM field are composed of a fifth codeword, the eleventh UM field and the twelfth UM field are composed of a sixth codeword, the thirteenth UM field and the fourteenth UM field are composed of a seventh codeword, the fifteenth UM field and the sixteenth UM field are composed of an eighth codeword, and the fifth codeword, the sixth codeword, the seventh codeword and the eighth codeword belong to the first codeword set.

[0057] In combination with the second aspect, in a possible implementation manner of the second aspect, the first UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1. The codeword included in the first UP field satisfies DC balance.

[0058] In combination with the second aspect, in a possible implementation manner of the second aspect, the second UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1. The codeword included in the second UP field satisfies DC balance.

[0059] In combination with the second aspect, in a possible implementation of the second aspect, the second communication device receives a first alignment identifier AM from the first communication device, and after the first alignment identifier AM, the method further includes: the second communication device receives a third alignment identifier AM from the first communication device, and the third AM indicates that the second communication device adjusts the forward error correction FEC mode; after the second communication device sends the second AM to the first communication device, the method further includes: the second communication device sends a fourth AM to the first communication device, and the fourth AM indicates that the second communication device has adjusted the FEC mode. By sending two consecutive request messages for adjusting the FEC mode and two consecutive response messages for adjusting the FEC mode, it is ensured that there is no misidentification of the FEC mode adjustment within a longer time range, thereby improving the accuracy of the FEC mode adjustment.

[0060] In a third aspect, an embodiment of the present application provides a communication device, which is used as a first communication device, and includes: a transceiver module and a processing module;

[0061] A transceiver module, configured to send a first alignment identifier AM to a second communication device, wherein the first AM instructs the second communication device to adjust a forward error correction FEC mode;

[0062] The transceiver module is further used to receive a second AM from the second communication device, where the second AM indicates that the second communication device has adjusted the FEC mode.

[0063] In a possible implementation manner, the first AM includes a first specific identification UM field combination, the first UM field combination includes multiple UM fields, and the first UM field combination instructs the second communication device to adjust the FEC mode.

[0064] In a possible implementation manner, the first UM field combination indicates that the second communication apparatus increases the type of FEC mode, or the first UM field combination indicates that the second communication apparatus decreases the type of FEC mode.

[0065] In a possible implementation manner, the second AM includes a second specific identification UM field combination, the second UM field combination includes multiple UM fields, and the second UM field combination indicates that the second communication device has adjusted the FEC mode.

[0066] In a possible implementation, the second UM field combination indicates that the second communication apparatus has increased the type of FEC mode, or the second UM field combination indicates that the second communication apparatus has decreased the type of FEC mode.

[0067] In a possible implementation, the first UM field combination is composed of codewords included in a first codeword set, the first codeword set includes multiple codewords, the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokkewenheim eBCH (16,5) encoding method.

[0068] In a possible implementation, the second UM field combination is composed of codewords included in a first codeword set, the first codeword set includes multiple codewords, the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokkewenheim eBCH (16,5) encoding method.

[0069] In a possible implementation manner, the first codeword set includes any one or more of the following codewords:

[0070] 0 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0,

[0071] 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0,

[0072] 0 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0,

[0073] 0 1 1 0 1 1 1 0 0 0 0 1 0 1 0 1,

[0074] 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1 1,

[0075] 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0 0,

[0076] 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0 0,

[0077] 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1,

[0078] 1 1 0 1 0 1 1 0 0 1 0 0 0 1 1 0,

[0079] Or, 1 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1.

[0080] In a possible implementation manner, the length of the first AM is 120 bits, and the length of the second AM is 120 bits.

[0081] In a possible implementation, the first AM also includes: a first public identification CM field combination and a first specific padding UP field, the first CM field combination includes 6 CM fields, each of which has a length of 8 bits, the first UP field evenly separates the 6 CM fields included in the first CM field combination, the length of the first UP field is 8 bits, and the first UM field combination includes 8 UM fields, each of which has a length of 8 bits.

[0082] In a possible implementation, the first UM field combination includes: a first UM field, a second UM field, a third UM field, a fourth UM field, a fifth UM field, a sixth UM field, a seventh UM field and an eighth UM field, wherein the first UM field and the second UM field are composed of a first codeword, the third UM field and the fourth UM field are composed of a second codeword, the fifth UM field and the sixth UM field are composed of a third codeword, the seventh UM field and the eighth UM field are composed of a fourth codeword, and the first codeword, the second codeword, the third codeword and the fourth codeword belong to the first codeword set.

[0083] In a possible implementation, the second AM also includes: a second public identification CM field combination and a second specific padding UP field, the second CM field combination includes 6 CM fields, each of which has a length of 8 bits, the second UP field evenly separates the 6 CM fields included in the second CM field combination, the length of the second UP field is 8 bits, and the second UM field combination includes 8 UM fields, each of which has a length of 8 bits.

[0084] In a possible implementation, the second UM field combination includes: a ninth UM field, a tenth UM field, an eleventh UM field, a twelfth UM field, a thirteenth UM field, a fourteenth UM field, a fifteenth UM field and a sixteenth UM field, wherein the ninth UM field and the tenth UM field are composed of a fifth codeword, the eleventh UM field and the twelfth UM field are composed of a sixth codeword, the thirteenth UM field and the fourteenth UM field are composed of a seventh codeword, the fifteenth UM field and the sixteenth UM field are composed of an eighth codeword, and the fifth codeword, the sixth codeword, the seventh codeword and the eighth codeword belong to the first codeword set.

[0085] In a possible implementation manner, the first UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1.

[0086] In a possible implementation manner, the second UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1.

[0087] In one possible implementation,

[0088] The transceiver module is further configured to send a third alignment identifier AM to the second communication device, wherein the third AM instructs the second communication device to adjust a forward error correction FEC mode;

[0089] The transceiver module is further used to receive a fourth AM from the second communication device, where the fourth AM indicates that the second communication device has adjusted the FEC mode.

[0090] In a fourth aspect, an embodiment of the present application provides a communication device, which is used as a second communication device, and includes: a transceiver module and a processing module;

[0091] A transceiver module, configured to receive a first alignment identifier AM from a first communication device, wherein the first AM instructs the second communication device to adjust a forward error correction FEC mode;

[0092] The transceiver module is further configured to send a second AM to the first communication device, wherein the second AM indicates that the second communication device has adjusted the FEC mode;

[0093] The transceiver module is further used to communicate with the first communication device using the adjusted FEC mode.

[0094] In a possible implementation manner, the first AM includes a first specific identification UM field combination, the first UM field combination includes multiple UM fields, and the first UM field combination instructs the second communication device to adjust the FEC mode.

[0095] In a possible implementation manner, the first UM field combination indicates that the second communication apparatus increases the type of FEC mode, or the first UM field combination indicates that the second communication apparatus decreases the type of FEC mode.

[0096] In a possible implementation manner, the second AM includes a second specific identification UM field combination, the second UM field combination includes multiple UM fields, and the second UM field combination indicates that the second communication device has adjusted the FEC mode.

[0097] In a possible implementation, the second UM field combination indicates that the second communication apparatus has increased the type of FEC mode, or the second UM field combination indicates that the second communication apparatus has decreased the type of FEC mode.

[0098] In a possible implementation, the first UM field combination is composed of codewords included in a first codeword set, the first codeword set includes multiple codewords, the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokkewenheim eBCH (16,5) encoding method.

[0099] In a possible implementation, the second UM field combination is composed of codewords included in a first codeword set, the first codeword set includes multiple codewords, the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokkewenheim eBCH (16,5) encoding method.

[0100] In a possible implementation manner, the first codeword set includes any one or more of the following codewords:

[0101] 0 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0,

[0102] 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0,

[0103] 0 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0,

[0104] 0 1 1 0 1 1 1 0 0 0 0 1 0 1 0 1,

[0105] 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1 1,

[0106] 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0 0,

[0107] 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0 0,

[0108] 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1,

[0109] 1 1 0 1 0 1 1 0 0 1 0 0 0 1 1 0,

[0110] Or, 1 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1.

[0111] In a possible implementation manner, the length of the first AM is 120 bits, and the length of the second AM is 120 bits.

[0112] In a possible implementation, the first AM also includes: a first public identification CM field combination and a first specific padding UP field, the first CM field combination includes 6 CM fields, each of which has a length of 8 bits, the first UP field evenly separates the 6 CM fields included in the first CM field combination, the length of the first UP field is 8 bits, and the first UM field combination includes 8 UM fields, each of which has a length of 8 bits.

[0113] In a possible implementation, the first UM field combination includes: a first UM field, a second UM field, a third UM field, a fourth UM field, a fifth UM field, a sixth UM field, a seventh UM field and an eighth UM field, wherein the first UM field and the second UM field are composed of a first codeword, the third UM field and the fourth UM field are composed of a second codeword, the fifth UM field and the sixth UM field are composed of a third codeword, the seventh UM field and the eighth UM field are composed of a fourth codeword, and the first codeword, the second codeword, the third codeword and the fourth codeword belong to the first codeword set.

[0114] In a possible implementation, the second AM also includes: a second public identification CM field combination and a second specific padding UP field, the second CM field combination includes 6 CM fields, each of which has a length of 8 bits, the second UP field evenly separates the 6 CM fields included in the second CM field combination, the length of the second UP field is 8 bits, and the second UM field combination includes 8 UM fields, each of which has a length of 8 bits.

[0115] In a possible implementation, the second UM field combination includes: a ninth UM field, a tenth UM field, an eleventh UM field, a twelfth UM field, a thirteenth UM field, a fourteenth UM field, a fifteenth UM field and a sixteenth UM field, wherein the ninth UM field and the tenth UM field are composed of a fifth codeword, the eleventh UM field and the twelfth UM field are composed of a sixth codeword, the thirteenth UM field and the fourteenth UM field are composed of a seventh codeword, the fifteenth UM field and the sixteenth UM field are composed of an eighth codeword, and the fifth codeword, the sixth codeword, the seventh codeword and the eighth codeword belong to the first codeword set.

[0116] In a possible implementation manner, the first UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1.

[0117] In a possible implementation manner, the second UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1.

[0118] In a possible implementation, the transceiver module is further configured to receive a third alignment identifier AM from the first communication device, where the third AM instructs the second communication device to adjust a forward error correction FEC mode;

[0119] The transceiver module is further used to send a fourth AM to the first communication device, where the fourth AM indicates that the second communication device has adjusted the FEC mode.

[0120] In a fifth aspect, an embodiment of the present application provides a communication device, which is used as a first communication device, and includes: a communication interface and a processor;

[0121] A communication interface, configured to send a first alignment identifier AM to a second communication device, wherein the first AM instructs the second communication device to adjust a forward error correction FEC mode;

[0122] The communication interface is further used to receive a second AM from the second communication device, where the second AM indicates that the second communication device has adjusted the FEC mode.

[0123] In a possible implementation manner, the first AM includes a first specific identification UM field combination, the first UM field combination includes multiple UM fields, and the first UM field combination instructs the second communication device to adjust the FEC mode.

[0124] In a possible implementation manner, the first UM field combination indicates that the second communication apparatus increases the type of FEC mode, or the first UM field combination indicates that the second communication apparatus decreases the type of FEC mode.

[0125] In a possible implementation manner, the second AM includes a second specific identification UM field combination, the second UM field combination includes multiple UM fields, and the second UM field combination indicates that the second communication device has adjusted the FEC mode.

[0126] In a possible implementation, the second UM field combination indicates that the second communication apparatus has increased the type of FEC mode, or the second UM field combination indicates that the second communication apparatus has decreased the type of FEC mode.

[0127] In a possible implementation, the first UM field combination is composed of codewords included in a first codeword set, the first codeword set includes multiple codewords, the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokkewenheim eBCH (16,5) encoding method.

[0128] In a possible implementation, the second UM field combination is composed of codewords included in a first codeword set, the first codeword set includes multiple codewords, the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokkewenheim eBCH (16,5) encoding method.

[0129] In a possible implementation manner, the first codeword set includes any one or more of the following codewords:

[0130] 0 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0,

[0131] 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0,

[0132] 0 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0,

[0133] 0 1 1 0 1 1 1 0 0 0 0 1 0 1 0 1,

[0134] 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1 1,

[0135] 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0 0,

[0136] 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0 0,

[0137] 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1,

[0138] 1 1 0 1 0 1 1 0 0 1 0 0 0 1 1 0,

[0139] Or, 1 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1.

[0140] In a possible implementation manner, the length of the first AM is 120 bits, and the length of the second AM is 120 bits.

[0141] In a possible implementation, the first AM also includes: a first public identification CM field combination and a first specific padding UP field, the first CM field combination includes 6 CM fields, each of which has a length of 8 bits, the first UP field evenly separates the 6 CM fields included in the first CM field combination, the length of the first UP field is 8 bits, and the first UM field combination includes 8 UM fields, each of which has a length of 8 bits.

[0142] In a possible implementation, the first UM field combination includes: a first UM field, a second UM field, a third UM field, a fourth UM field, a fifth UM field, a sixth UM field, a seventh UM field and an eighth UM field, wherein the first UM field and the second UM field are composed of a first codeword, the third UM field and the fourth UM field are composed of a second codeword, the fifth UM field and the sixth UM field are composed of a third codeword, the seventh UM field and the eighth UM field are composed of a fourth codeword, and the first codeword, the second codeword, the third codeword and the fourth codeword belong to the first codeword set.

[0143] In a possible implementation, the second AM also includes: a second public identification CM field combination and a second specific padding UP field, the second CM field combination includes 6 CM fields, each of which has a length of 8 bits, the second UP field evenly separates the 6 CM fields included in the second CM field combination, the length of the second UP field is 8 bits, and the second UM field combination includes 8 UM fields, each of which has a length of 8 bits.

[0144] In a possible implementation, the second UM field combination includes: a ninth UM field, a tenth UM field, an eleventh UM field, a twelfth UM field, a thirteenth UM field, a fourteenth UM field, a fifteenth UM field and a sixteenth UM field, wherein the ninth UM field and the tenth UM field are composed of a fifth codeword, the eleventh UM field and the twelfth UM field are composed of a sixth codeword, the thirteenth UM field and the fourteenth UM field are composed of a seventh codeword, the fifteenth UM field and the sixteenth UM field are composed of an eighth codeword, and the fifth codeword, the sixth codeword, the seventh codeword and the eighth codeword belong to the first codeword set.

[0145] In a possible implementation manner, the first UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1.

[0146] In a possible implementation manner, the second UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1.

[0147] In one possible implementation,

[0148] The communication interface is further used to send a third alignment identifier AM to the second communication device, wherein the third AM instructs the second communication device to adjust a forward error correction FEC mode;

[0149] The communication interface is further used to receive a fourth AM from the second communication device, where the fourth AM indicates that the second communication device has adjusted the FEC mode.

[0150] In a sixth aspect, an embodiment of the present application provides a communication device, which is used as a second communication device, and includes: a communication interface and a processor;

[0151] A communication interface, configured to receive a first alignment identifier AM from a first communication device, wherein the first AM instructs the second communication device to adjust a forward error correction FEC mode;

[0152] The communication interface is further configured to send a second AM to the first communication device, wherein the second AM indicates that the second communication device has adjusted the FEC mode;

[0153] The communication interface is further used to communicate with the first communication device using the adjusted FEC mode.

[0154] In a possible implementation manner, the first AM includes a first specific identification UM field combination, the first UM field combination includes multiple UM fields, and the first UM field combination instructs the second communication device to adjust the FEC mode.

[0155] In a possible implementation manner, the first UM field combination indicates that the second communication apparatus increases the type of FEC mode, or the first UM field combination indicates that the second communication apparatus decreases the type of FEC mode.

[0156] In a possible implementation manner, the second AM includes a second specific identification UM field combination, the second UM field combination includes multiple UM fields, and the second UM field combination indicates that the second communication device has adjusted the FEC mode.

[0157] In a possible implementation, the second UM field combination indicates that the second communication apparatus has increased the type of FEC mode, or the second UM field combination indicates that the second communication apparatus has decreased the type of FEC mode.

[0158] In a possible implementation, the first UM field combination is composed of codewords included in a first codeword set, the first codeword set includes multiple codewords, the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokkewenheim eBCH (16,5) encoding method.

[0159] In a possible implementation, the second UM field combination is composed of codewords included in a first codeword set, the first codeword set includes multiple codewords, the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokkewenheim eBCH (16,5) encoding method.

[0160] In a possible implementation manner, the first codeword set includes any one or more of the following codewords:

[0161] 0 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0,

[0162] 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0,

[0163] 0 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0,

[0164] 0 1 1 0 1 1 1 0 0 0 0 1 0 1 0 1,

[0165] 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1 1,

[0166] 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0 0,

[0167] 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0 0,

[0168] 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1,

[0169] 1 1 0 1 0 1 1 0 0 1 0 0 0 1 1 0,

[0170] Or, 1 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1.

[0171] In a possible implementation manner, the length of the first AM is 120 bits, and the length of the second AM is 120 bits.

[0172] In a possible implementation, the first AM also includes: a first public identification CM field combination and a first specific padding UP field, the first CM field combination includes 6 CM fields, each of which has a length of 8 bits, the first UP field evenly separates the 6 CM fields included in the first CM field combination, the length of the first UP field is 8 bits, and the first UM field combination includes 8 UM fields, each of which has a length of 8 bits.

[0173] In a possible implementation, the first UM field combination includes: a first UM field, a second UM field, a third UM field, a fourth UM field, a fifth UM field, a sixth UM field, a seventh UM field and an eighth UM field, wherein the first UM field and the second UM field are composed of a first codeword, the third UM field and the fourth UM field are composed of a second codeword, the fifth UM field and the sixth UM field are composed of a third codeword, the seventh UM field and the eighth UM field are composed of a fourth codeword, and the first codeword, the second codeword, the third codeword and the fourth codeword belong to the first codeword set.

[0174] In a possible implementation, the second AM also includes: a second public identification CM field combination and a second specific padding UP field, the second CM field combination includes 6 CM fields, each of which has a length of 8 bits, the second UP field evenly separates the 6 CM fields included in the second CM field combination, the length of the second UP field is 8 bits, and the second UM field combination includes 8 UM fields, each of which has a length of 8 bits.

[0175] In a possible implementation, the second UM field combination includes: a ninth UM field, a tenth UM field, an eleventh UM field, a twelfth UM field, a thirteenth UM field, a fourteenth UM field, a fifteenth UM field and a sixteenth UM field, wherein the ninth UM field and the tenth UM field are composed of a fifth codeword, the eleventh UM field and the twelfth UM field are composed of a sixth codeword, the thirteenth UM field and the fourteenth UM field are composed of a seventh codeword, the fifteenth UM field and the sixteenth UM field are composed of an eighth codeword, and the fifth codeword, the sixth codeword, the seventh codeword and the eighth codeword belong to the first codeword set.

[0176] In a possible implementation manner, the first UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1.

[0177] In a possible implementation manner, the second UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1.

[0178] In a possible implementation, the communication interface is further configured to receive a third alignment identifier AM from the first communication device, wherein the third AM instructs the second communication device to adjust a forward error correction FEC mode;

[0179] The communication interface is further used to send a fourth AM to the first communication device, where the fourth AM indicates that the second communication device has adjusted the FEC mode.

[0180] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium storing one or more computer-executable instructions. When the computer-executable instructions are executed by a processor, the processor executes any possible implementation method as described in the first aspect or the second aspect above.

[0181] In an eighth aspect, an embodiment of the present application provides a computer program product (or computer program) storing one or more computer execution instructions. When the computer execution instructions are executed by the processor, the processor executes any possible implementation method of the first aspect or the second aspect mentioned above.

[0182] In a ninth aspect, the present application provides a chip system, which includes a processor for supporting a computer device to implement the functions involved in the above aspects. In a possible design, the chip system also includes a memory, which is used to store program instructions and data necessary for the computer device. The chip system can be composed of a chip, or it can include a chip and other discrete devices.

[0183] In the tenth aspect, an embodiment of the present application provides a chip system, which includes at least one processor and a communication interface, the communication interface and at least one processor are interconnected through lines, and the at least one processor is used to run computer programs or instructions to perform the method of the first aspect.

[0184] Among them, the communication interface in the chip system can be an input / output interface, a pin or a circuit, etc. BRIEF DESCRIPTION OF THE DRAWINGS

[0185] Figure 1 A schematic diagram of the structure of AM;

[0186] Figure 2 The diagram is a schematic diagram of AM coding for 200GBASE-R;

[0187] Figure 3 The diagram is a schematic diagram of AM coding for 400GBASE-R;

[0188] Figure 4 A schematic diagram of a system architecture involved in an embodiment of the present application;

[0189] Figure 5 Send a schematic diagram for AM;

[0190] Figure 6 Schematic diagram of the Hamming distance between any two AMs in 200GBASE-R PCS;

[0191] Figure 7 Schematic diagram of the Hamming distance between any two AMs in 400GBASE-R PCS;

[0192] Figure 8 This is a schematic diagram of PAM4 Gray mapping;

[0193] Fig. 9 This is a schematic diagram of the DC value of AM for 200GBASE-R;

[0194] Fig.10 This is a schematic diagram of the DC value of AM for 400GBASE-R;

[0195] Fig.11 This is a schematic diagram of an embodiment of a communication method based on an alignment identifier AM in an embodiment of the present application;

[0196] Fig.12 This is a schematic diagram of the structure of the first AM in the embodiment of the present application;

[0197] Fig.13 This is a schematic diagram of the structure of the second AM in the embodiment of the present application;

[0198] Fig.14 This is a schematic diagram of an encoding process in an embodiment of the present application;

[0199] Fig.15 Schematic diagram of the first codeword set in an embodiment of the present application;

[0200] Fig.16 A schematic diagram of the Hamming distance of the first codeword set in an embodiment of the present application;

[0201] Fig.17 This is another structural schematic diagram of the first AM in the embodiment of the present application;

[0202] Fig.18 This is another structural schematic diagram of the first AM in the embodiment of the present application;

[0203] Fig.19 This is another structural diagram of the first UM field combination in the embodiment of the present application;

[0204] Fig. 20 This is another structural diagram of the second AM in the embodiment of the present application;

[0205] Fig.21 This is another structural diagram of the second AM in the embodiment of the present application;

[0206] Fig. 22 This is another structural diagram of the second UM field combination in the embodiment of the present application;

[0207] Fig.23 A schematic diagram of a structure of an alignment identifier in an embodiment of the present application;

[0208] Fig.24 This is a schematic diagram of an embodiment of a communication method based on an alignment identifier AM in an embodiment of the present application;

[0209] Fig.25 This is a schematic diagram of an application scenario in an embodiment of the present application;

[0210] Fig.26 A schematic diagram of the structure of a communication device 2600 provided in an embodiment of the present application;

[0211] Fig. 27 A schematic diagram of the structure of a communication device 2700 provided in an embodiment of the present application;

[0212] Fig.28 A schematic diagram of the structure of a communication device 2800 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0213] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all of the embodiments. The terms "first", "second" and corresponding terminology labels in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, and this is merely a way of distinguishing objects of the same attributes when describing the embodiments of the present application. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, so that a process, method, system, product or device that includes a series of units is not necessarily limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or devices.

[0214] In the description of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this application is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of this application, "at least one" refers to one or more items, and "multiple items" refers to two or more items. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, a and b, a and c, b and c, or a, b and c, where a, b, c can be single or multiple.

[0215] With the development of the network, the requirements for network traffic are getting higher and higher. For example, there are currently 100G (100,000 megabits per second), 200G (200,000 megabits per second) and 400G (400,000 megabits per second) Ethernet technologies. With the development of the network, higher requirements will be placed on Ethernet speed. Figure 4 The system architecture diagram shown in the figure is as follows: Figure 4 This is a schematic diagram of a system architecture involved in an embodiment of the present application. The first communication device and the second communication device are connected through several physical channels, and multiple physical channels are transmitted in parallel, which can increase the speed of Ethernet. For example, the physical channel can be a high-speed bus, such as copper wire or optical fiber. In this way, the first communication device and the second communication device can be electrically interconnected through copper wire. For example, for 200G Ethernet technology, the first communication device and the second communication device can be connected through 8 physical channels or 4 physical channels or 2 physical channels or 1 physical channel; for another example, for 400G Ethernet technology, the first communication device and the second communication device can be connected through 16 physical channels or 8 physical channels or 4 physical channels or 2 physical channels or 1 physical channel. For another example, for 100G Ethernet technology, the first communication device and the second communication device are connected through 4 physical channels or 2 physical channels or 1 physical channel.

[0216] It can be understood that the first communication device and the second communication device can be chips or units with transceiver functions or physical devices. If the first communication device sends data, the second communication device receives the data; if the second communication device sends data, the first communication device receives the data. The sending physical channel of the first communication device corresponds one-to-one with the receiving physical channel of the second communication device; the sending physical channel of the second communication device corresponds one-to-one with the receiving physical channel of the first communication device. The embodiment of the present application is described by taking the first communication device as a transmitting end device and the second communication device as a receiving end device as an example.

[0217] Any one of the first communication device and the second communication device includes a reconciliation sublayer and an Ethernet physical layer, and the Ethernet physical layer includes a physical coding sublayer (PCS), a physical medium attachment (PMA) layer, and a physical media dependent (PMD) layer. Among them, PCS defines Z PCS channels, and the Z PCS channels correspond to Z alignment markers (AM) one by one, and the Z PCS channels are virtual channels. Z is an integer greater than 0, and Z is an integer multiple of X, such as Z = 2*X or 4*X.

[0218] There is a mapping relationship between the physical channels and the logical channels in the first communication device and the second communication device, for example, one physical channel corresponds to one logical channel, or one physical channel corresponds to two logical channels, or one physical channel corresponds to four logical channels, etc. That is, one physical channel can carry data of one or more logical channels.

[0219] In addition, IEEE 802.3 defines different numbers of logical channels for Ethernet technologies of different speeds. For example, the number of logical channels of 100G Ethernet technology is 4. For another example, the number of logical channels of 200G Ethernet technology is 8. For another example, the number of logical channels of 400G Ethernet technology is 16.

[0220] In the embodiment of the present application, the number of logical channels defined by Ethernet technologies of different speeds may be consistent with the number of logical channels defined for Ethernet technologies of different speeds, or may be different from the number of logical channels defined by IEEE802.3 for Ethernet technologies of different speeds. For example, IEEE802.3 defines the number of logical channels of 400G Ethernet technology as 16, and each logical channel supports a bandwidth of 25G; while the present application may define the number of logical channels of 400G Ethernet technology as 4, and each logical channel supports a bandwidth of 100G.

[0221] It should be noted that the logical channel can be a physical coding sublayer (PCS) channel or a forward error correction (FEC) channel. For example, for a 200G / 400G Ethernet interface, the logical channel can be called a PCS channel or a FEC channel. For another example, for a 100G Ethernet interface, the logical channel can be called a FEC channel. Since PCS channels and FEC channels are usually distributed inside the implementation unit, and for the purpose of distinguishing them from physical medium attachment (PMA) channels, they are generally referred to as logical channels. In this application, they are also referred to as logical channels.

[0222] In the case where the first communication device and the second communication device transmit data through multiple logical channels, in order to ensure that the second communication device can achieve the locking and alignment of the logical channels, IEEE802.3 also standardizes the design of alignment markers (AM) to identify each logical channel. AM (or AM word group) has the characteristic of periodic transmission, for example Figure 5 As shown, Figure 5 This is a schematic diagram of AM transmission. Figure 5 As shown, AM is sent once every T time interval in the data stream.

[0223] AM has a specific format. Taking 200G / 400G Ethernet technology as an example, the AM format is as follows: Figure 1 As shown, the CM in the common marker (CM) 0 -CM 5 It is the common identifier of multiple logical channels, the UM in the unique marker (UM) 0 -UM 5 It is used to uniquely identify a logical channel, the UP in the unique padding (UP) 0 , U.P. 1 and UP 2 That is, the CM bits in the AM of each logical channel 0 , C.M. 1 , C.M. 2 , C.M. 3 , C.M. 4 and CM 5 Similarly, the UM of any two logical channels 0 , U.M. 1 , U.M. 2 , U.M. 3 , U.M. 4 and UM5 and UP 0 , U.P. 1 and UP 2 are different. For example Figure 2 and Figure 3 Indicative.

[0224] about Figure 2 and Figure 3 Schematic diagram of the Ethernet rate specification "200GBASE-R PCS" and the Ethernet rate specification "400GBASE-R PCS":

[0225] By performing bitwise XOR calculation between any two AMs defined in "200GBASE-R PCS", the Hamming distance (HD) between any two AMs in 200GBASE-R PCS is calculated. The Hamming distance between any two AMs in "200GBASE-RPCS" is as follows: Figure 6 As shown, Figure 6 Figure 1 is a schematic diagram of the Hamming distance between any two AMs in 200GBASE-RPCS. The Hamming distance between any two AMs in 200GBASE-R PCS is 16.

[0226] By performing bitwise XOR calculation between any two AMs defined in "400GBASE-R PCS", the Hamming distance between any two AMs in 400GBASE-R PCS is calculated. The Hamming distance between any two AMs in "400GBASE-R PCS" is as follows: Figure 7 As shown, Figure 7 The figure is a schematic diagram of the Hamming distance between any two AMs in 400GBASE-R PCS. The Hamming distance between any two AMs in 400GBASE-R PCS is 12. The Hamming distance indicates the number of different characters in the corresponding positions of two strings. The Hamming distance can represent the probability of misjudgment between two AMs. The smaller the Hamming distance, the smaller the difference between the two AMs, and the easier it is to be misjudged.

[0227] The Ethernet rate specification "200GBASE-R PCS" and the Ethernet rate specification "400GBASE-R PCS" stipulate the use of four-level pulse amplitude modulation (4Pulse Amplitude Modulation, PAM4) modulation. According to the PAM4 gray mapping (such as Figure 8 As shown, Figure 8) is a PAM4 Gray mapping diagram, and the direct current (DC) value is calculated for the AM defined by 200GBASE-R PCS and the AM defined by 400GBASE-RPCS. Specifically, the DC value calculated by AM is as follows Fig. 9 and Fig.10 As shown, Fig. 9 The diagram below shows the DC value of AM for 200GBASE-R. Fig.10 The figure is a schematic diagram of the DC value of AM of 400GBASE-R. Fig. 9 and Fig.10 It can be seen that the current AM does not meet the DC balance characteristic.

[0228] The forms of AM of Ethernet technologies of other speeds are similar to those of 200G and 400G, or may vary from those of 200G and 400G. To avoid redundancy, examples are not given here one by one.

[0229] The applicant has found that after the transmitter and receiver complete the data alignment and channel number identification between channels through AM, the AM inserted in the data stream no longer has any effect. At this time, the AM inserted in the data stream actually wastes communication resources.

[0230] Based on this, an embodiment of the present application proposes a communication method based on an alignment identifier AM, including: a first communication device sends a first alignment identifier AM to a second communication device, the first AM instructing the second communication device to adjust the forward error correction FEC mode; the first communication device receives a second AM from the second communication device, the second AM indicating that the second communication device has adjusted the FEC mode. The first communication device sends a first AM to the second communication device, the first AM instructing the second communication device to adjust the forward error correction FEC mode. By transmitting the indication information of adjusting the forward error correction FEC mode through the AM, the AM is fully utilized to realize lossless information transmission based on the AM, and the utilization rate of the AM is improved without affecting the existing functions of the AM, thereby improving the communication efficiency.

[0231] The following is an introduction to the embodiments of the present application in conjunction with the accompanying drawings. Fig.11 , Fig.11 Schematic diagram of an embodiment of a communication method based on an alignment identifier AM in an embodiment of the present application. A communication method based on an alignment identifier AM proposed in an embodiment of the present application includes:

[0232] S1. A first communication device sends a first AM to a second communication device, where the first AM instructs the second communication device to adjust a forward error correction (FEC) mode.

[0233] In step S1, a communication connection is established between the first communication device and the second communication device. After the first communication device determines that it needs to request the second communication device to adjust the forward error correction FEC mode, the first communication device sends a first AM to the second communication device, and the first AM instructs the second communication device to adjust the forward error correction FEC mode.

[0234] In a possible implementation, the first communication device determines whether it is necessary to request the second communication device to adjust the FEC mode (or how to request the second communication device to adjust the FEC mode) by detecting the data transmitted between the first communication device and the second communication device. If the bit error rate of the data reaches a certain threshold, the first communication device determines that it is necessary to request the second communication device to adjust the FEC mode.

[0235] Exemplarily, if the bit error rate of data transmitted between the first communication device and the second communication device is greater than a first threshold, the first communication device considers that the bit error rate of the data is high and needs to request the second communication device to increase the FEC mode to compensate or correct the data errors.

[0236] In another example, if the bit error rate of data transmitted between the first communication device and the second communication device is less than the second threshold, the first communication device believes that the bit error rate of the data is low, and the second communication device can reduce the FEC mode to save power consumption, and the second communication device can still ensure normal communication with the first communication device after reducing the FEC mode. The first communication device needs to request the second communication device to reduce the FEC mode.

[0237] In another possible implementation, the first communication device may also determine to send the first AM to the second communication device based on an instruction (the instruction may be issued by the user or a third-party platform, such as a network manager or management platform that manages the first communication device).

[0238] The first AM is introduced below.

[0239] For a possible implementation, see Fig.12 , Fig.12 This is a structural diagram of a first AM in an embodiment of the present application. The first AM includes a first specific identification UM field combination, the first UM field combination includes multiple specific identification UM fields, and the first UM field combination instructs the second communication device to adjust the FEC mode.

[0240] Specifically, the first UM field combination is composed of codewords included in the first codeword set, and the first codeword set includes multiple codewords. The codeword specifically includes payload data and check bits. For ease of understanding, please refer to Fig.14 , Fig.14The following is a schematic diagram of an encoding process in an embodiment of the present application. The payload data is encoded by the encoding unit to obtain a check bit. Then, the data merging unit outputs a code word (CW) according to the check bit and the payload data, and the code word includes the payload data and the check bit.

[0241] In a possible implementation, the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokkewenheim eBCH (16,5) encoding method. Specifically, the first codeword set is as follows Fig.15 As shown, Fig.15 Schematic diagram of the first codeword set in the embodiment of the present application. Fig.15 It can be seen that 5 bits of payload data are encoded in eBCH (16,5) to output 11 bits of check bits, and then the 5 bits of payload data and 11 bits of check data form a total of 32 code word combinations (CW0 to CW31). The 32 code word combinations together form the first code word set.

[0242] Further optionally, the first codeword set may include codewords that satisfy DC balance. If the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, the check bits are obtained by encoding the payload data using the eBCH (16,5) encoding method. The first codeword set includes any one or more of the following codewords: 0 0 1 0 0 0 11 1 10 1 0 1 1 0,

[0243] 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0,

[0244] 0 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0,

[0245] 0 1 1 0 1 1 1 0 0 0 0 1 0 1 0 1,

[0246] 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1 1,

[0247] 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0 0,

[0248] 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0 0,

[0249] 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1,

[0250] 1 1 0 1 0 1 1 0 0 1 0 0 0 1 1 0,

[0251] Or, 1 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1.

[0252] Combination Fig.15 The codewords shown in the example are: CW4, CW8, CW11, CW13, CW14, CW17, CW22, CW23, CW26 and CW27. The Hamming distance of the codewords included in the first codeword set is as follows: Fig.16 As shown, Fig.16 Schematic diagram of the Hamming distance of the first codeword set in the embodiment of the present application. Fig.16 It can be seen that when the first codeword set includes codewords: CW4, CW8, CW11, CW13, CW14, CW17, CW22, CW23, CW26 and CW27, the minimum Hamming distance between any two codewords in the first codeword set is 8. Therefore, the first UM field combination using the first codeword set satisfies the network non-return-to-zero (NRZ) & PAM4 modulation DC balance characteristics, and the Hamming distance between the UM fields is large, which makes it easier to correct the errors of the UM fields. Furthermore, the first AM including the first UM field combination satisfies the DC balance characteristics, and the Hamming distance between the first AMs is large, which makes it easier to correct the errors of the first AMs.

[0253] It should be noted that in the embodiment of the present application, the first codeword set may also use other encoding methods to obtain the check bit, including but not limited to: eBCH (16, 4), eBCH (16, 6) or eBCH (16, 7), etc. The bit length of the payload data of the codeword in the first codeword set is not limited, and the bit length of the check bit of the codeword in the first codeword set is not limited.

[0254] For easier understanding, see Fig.19 , Fig.19This is another structural diagram of the first UM field combination in the embodiment of the present application. Regarding the first UM field combination: Optionally, the first UM field combination includes 8 UM fields, and the first UM field combination includes: a first UM field, a second UM field, a third UM field, a fourth UM field, a fifth UM field, a sixth UM field, a seventh UM field and an eighth UM field, wherein the first UM field and the second UM field are composed of a first codeword, the third UM field and the fourth UM field are composed of a second codeword, the fifth UM field and the sixth UM field are composed of a third codeword, and the seventh UM field and the eighth UM field are composed of a fourth codeword, wherein the first codeword, the second codeword, the third codeword and the fourth codeword belong to the first codeword set.

[0255] Optionally, the length of each UM field is 8 bits.

[0256] A possible example is as follows, combining Fig.15 The illustrated first codeword set and the first UM field combination are shown in Table 1.

[0257] Table 1

[0258]

[0259]

[0260] In conjunction with Table 1, different UM fields in the first UM field combination may use different code words. For example, the first UM field and the second UM field use CW4, the third UM field and the fourth UM field use CW8, the fifth UM field and the sixth UM field use CW14, and the seventh UM field and the eighth UM field use CW22. Different UM fields in the first UM field combination may also use the same code word. For example, the first UM field and the second UM field use CW4, the third UM field and the fourth UM field use CW4, the fifth UM field and the sixth UM field use CW4, and the seventh UM field and the eighth UM field use CW4.

[0261] Further, adjusting the FEC mode specifically includes: improving the type of FEC mode, or reducing the type of FEC mode. Therefore, the first UM field combination indicates that the second communication device improves the type of FEC mode, or the first UM field combination indicates that the second communication device reduces the type of FEC mode. For example, the first UM field combination indicates that the second communication device uses codeword #1 when improving the type of FEC mode, and the first UM field combination indicates that the second communication device uses codeword #2 when reducing the type of FEC mode, and codeword #1 is inconsistent with codeword #2. The second communication device determines, based on the codeword used by the first UM field combination, that the first UM field combination specifically indicates that the second communication device improves the type of FEC mode, or determines that the first UM field combination specifically indicates that the second communication device reduces the type of FEC mode.

[0262] One possible example is combining Fig.15 The first codeword set is shown in FIG. 1. The first UM field combination uses codeword CW4, which indicates that the second communication device increases the FEC mode type; the first UM field combination uses codeword CW8, which indicates that the second communication device decreases the FEC mode type.

[0263] Further optionally, each type of FEC mode uniquely corresponds to a codeword combination. The codeword included in the first AM field combination indicates the type of FEC mode that the second communication device needs to adjust. Fig.15 , as shown in Table 2.

[0264] Table 2

[0265] Code word combination FEC mode type (FEC type) CW8 (see Fig.15 ) FEC type 1 CW11 (See Fig.15 ) FEC type 2 CW13 (see Fig.15 ) FEC type 3 CW17 (see Fig.15 ) FEC type 4 CW22 (see Fig.15 ) FEC type 5 CW23 (see Fig.15 ) FEC type 6

[0266] This is described in conjunction with Table 2. When the first UM field combination of the first AM uses the codeword CW13, the first AM instructs the second communication device to adjust the FEC mode to FEC type 3; the second communication device adjusts the type of the FEC mode of the second communication device to FEC type 3 in response to the first AM. When the first UM field combination of the first AM uses the codeword CW22, the first AM instructs the second communication device to adjust the FEC mode to FEC type 5; the second communication device adjusts the type of the FEC mode of the second communication device to FEC type 5 in response to the first AM. And so on.

[0267] Furthermore, the first AM includes, in addition to the first UM field combination, a first public identifier CM field combination and a first specific fill UP field. A possible first AM structure is as follows: Fig.17 As shown, Fig.17This is another structural diagram of the first AM in the embodiment of the present application. The first UP field separates the first CM field combination.

[0268] Optionally, the length of the first AM is 120 bits to be compatible with the current standard Ethernet protocol.

[0269] Optionally, the first CM field combination includes 6 CM fields, and the length of each CM field is 8 bits.

[0270] Optionally, the first UP field evenly separates 6 CM fields included in the first CM field combination, and the length of the first UP field is 8 bits.

[0271] It is understandable that the first UP field can be replaced by other fields, and the embodiments of the present application are not limited to this.

[0272] For easier understanding, see Fig.18 , Fig.18 This is another structural diagram of the first AM in the embodiment of the present application. The first CM field combination has a total of 6 8-bit CM fields, separated by an 8-bit first UP field in the middle. After the first CM field combination is the first UM field combination, the first UM field combination includes 8 8-bit UM fields. Through the above structure, the field utilization of the first AM is improved. Moreover, the length of the first AM is 120 bits, which is compatible with the current standard Ethernet protocol.

[0273] Optionally, the character string that can be selected for the first UP field is as shown in Table 3.

[0274] Table 3

[0275]

[0276]

[0277] It is understandable that the first AM may also adopt other structures, and the embodiments of the present application are not limited to this.

[0278] S2. The second communication device sends a second AM to the first communication device, where the second AM indicates that the second communication device has adjusted the forward error correction FEC mode.

[0279] In step S2, when the second communication device receives the first AM from the first communication device, it determines that the FEC mode needs to be adjusted according to the first AM. Then, the second communication device adjusts the FEC mode of the second communication device according to the first AM. After the second communication device completes the adjustment of the FEC mode, before the new FEC mode takes effect (or before the new FEC mode is used for communication), the second communication device sends a second AM to the first communication device. The second AM indicates that the second communication device has adjusted the FEC mode, so that the first communication device learns from the second AM that the second communication device will communicate under the new FEC mode and prepares for communication in advance.

[0280] Next, let me introduce the second AM.

[0281] For a possible implementation, see Fig.13 , Fig.13 This is a structural diagram of a second AM in an embodiment of the present application. The second AM includes a first specific identification UM field combination, the second UM field combination includes multiple specific identification UM fields, and the second UM field combination indicates that the second communication device has adjusted the FEC mode.

[0282] Specifically, the second UM field combination is composed of codewords included in the first codeword set, and the first codeword set includes multiple codewords. The codeword specifically includes payload data and check bits. For ease of understanding, please refer to Fig.14 , Fig.14 The following is a schematic diagram of an encoding process in an embodiment of the present application. The payload data is encoded by the encoding unit to obtain a check bit. Then, the data merging unit outputs a code word (CW) according to the check bit and the payload data, and the code word includes the payload data and the check bit.

[0283] In a possible implementation, the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokkewenheim eBCH (16,5) encoding method. Specifically, the first codeword set is as follows Fig.15 As shown, Fig.15 Schematic diagram of the first codeword set in the embodiment of the present application. Fig.15 It can be seen that 5 bits of payload data are encoded in eBCH (16,5) to output 11 bits of check bits, and then the 5 bits of payload data and 11 bits of check data form a total of 32 code word combinations (CW0 to CW31). The 32 code word combinations together form the first code word set.

[0284] Further optionally, the first codeword set may include codewords that satisfy DC balance. If the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, the check bits are obtained by encoding the payload data using the eBCH (16,5) encoding method. The first codeword set includes any one or more of the following codewords: 0 0 1 0 0 0 11 1 10 1 0 1 1 0,

[0285] 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0,

[0286] 0 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0,

[0287] 0 1 1 0 1 1 1 0 0 0 0 1 0 1 0 1,

[0288] 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1 1,

[0289] 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0 0,

[0290] 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0 0,

[0291] 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1,

[0292] 1 1 0 1 0 1 1 0 0 1 0 0 0 1 1 0,

[0293] Or, 1 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1.

[0294] Combination Fig.15 The codewords shown in the example are: CW4, CW8, CW11, CW13, CW14, CW17, CW22, CW23, CW26 and CW27. The Hamming distance of the codewords included in the first codeword set is as follows: Fig.16 As shown, Fig.16 Schematic diagram of the Hamming distance of the first codeword set in the embodiment of the present application. Fig.16It can be seen that when the first codeword set includes codewords: CW4, CW8, CW11, CW13, CW14, CW17, CW22, CW23, CW26 and CW27, the minimum Hamming distance between any two codewords in the first codeword set is 8. Therefore, the second UM field combination using the first codeword set satisfies the network non-return-to-zero (NRZ) & PAM4 modulation DC balance characteristics, and the Hamming distance between the UM fields is large, which makes it easier to correct the errors of the UM fields. Furthermore, the second AM including the second UM field combination satisfies the DC balance characteristics, and the Hamming distance between the second AMs is large, which makes it easier to correct the errors of the second AMs.

[0295] It should be noted that in the embodiment of the present application, the first codeword set can also use other encoding methods to obtain the check bit. The bit length of the payload data of the codeword in the first codeword set is not limited, and the bit length of the check bit of the codeword in the first codeword set is not limited.

[0296] For easier understanding, see Fig. 22 , Fig. 22 This is another structural diagram of the second UM field combination in the embodiment of the present application. Regarding the second UM field combination: Optionally, the second UM field combination includes 8 UM fields, and the second UM field combination includes: a ninth UM field, a tenth UM field, an eleventh UM field, a twelfth UM field, a thirteenth UM field, a fourteenth UM field, a fifteenth UM field, and a sixteenth UM field, wherein the ninth UM field and the tenth UM field are composed of a fifth codeword, the eleventh UM field and the twelfth UM field are composed of a sixth codeword, the thirteenth UM field and the fourteenth UM field are composed of a seventh codeword, and the fifteenth UM field and the sixteenth UM field are composed of an eighth codeword, wherein the fifth codeword, the sixth codeword, the seventh codeword, and the eighth codeword belong to the first codeword set.

[0297] Optionally, the length of each UM field is 8 bits.

[0298] A possible example is as follows, combining Fig.15 The illustrated first codeword set and second UM field combination are shown in Table 4.

[0299] Table 4

[0300]

[0301]

[0302] In conjunction with Table 4, different UM fields in the second UM field combination may use different code words. For example, the ninth UM field and the tenth UM field use CW4, the eleventh UM field and the twelfth UM field use CW8, the thirteenth UM field and the fourteenth UM field use CW14, and the fifteenth UM field and the sixteenth UM field use CW22. Different UM fields in the second UM field combination may also use the same code word. For example, the ninth UM field and the tenth UM field use CW4, the eleventh UM field and the twelfth UM field use CW4, the thirteenth UM field and the fourteenth UM field use CW4, and the fifteenth UM field and the sixteenth UM field use CW4.

[0303] Further, adjusting the FEC mode specifically includes: improving the type of the FEC mode, or reducing the type of the FEC mode. Therefore, the second UM field combination indicates that the second communication device has improved the type of the FEC mode, or the second UM field combination indicates that the second communication device has reduced the type of the FEC mode. For example, the second UM field combination indicates that the second communication device has improved the type of the FEC mode using codeword #3, and the second UM field combination indicates that the second communication device has reduced the type of the FEC mode using codeword #4, and codeword #3 is inconsistent with codeword #4. The first communication device determines, based on the codeword used by the second UM field combination, that the second UM field combination specifically indicates that the second communication device has improved the type of the FEC mode, or that the second UM field combination specifically indicates that the second communication device has reduced the type of the FEC mode.

[0304] One possible example is combining Fig.15 The second UM field combination uses the codeword CW11, which indicates that the second communication device has increased the type of FEC mode; the second UM field combination uses the codeword CW14, which indicates that the second communication device has decreased the type of FEC mode.

[0305] Furthermore, the second AM includes, in addition to the second UM field combination, a second public identifier CM field combination and a second specific fill UP field. A possible second AM structure is as follows: Fig. 20 As shown, Fig. 20 This is another structural diagram of the second AM in the embodiment of the present application. The second UP field separates the second CM field combination.

[0306] Optionally, the length of the second AM is 120 bits to be compatible with the current standard Ethernet protocol.

[0307] Optionally, the second CM field combination includes 6 CM fields, and the length of each CM field is 8 bits.

[0308] Optionally, the second UP field evenly separates six CM fields included in the second CM field combination, and the length of the second UP field is 8 bits.

[0309] For easier understanding, see Fig.21 , Fig.21 This is another structural diagram of the second AM in the embodiment of the present application. The second CM field combination has a total of 6 8-bit CM fields, separated by an 8-bit second UP field in the middle. After the second CM field combination is the second UM field combination, the second UM field combination includes 8 8-bit UM fields. Through the above structure, the field utilization of the second AM is improved. Moreover, the length of the second AM is 120 bits, which is compatible with the current standard Ethernet protocol.

[0310] Optionally, the character string that can be selected for the second UP field is as shown in Table 5.

[0311] Table 5

[0312]

[0313]

[0314] It is understandable that the second AM may also adopt other structures, and the embodiments of the present application are not limited to this.

[0315] It is understandable that the second UP field can be replaced by other fields, and the embodiment of the present application is not limited to this.

[0316] Regarding the first AM in step S1 and the second AM in step S2, a possible example is as follows: Fig.23 As shown, Fig.23 This is a structural diagram of an alignment identifier in an embodiment of the present application. The AM (e.g., the first AM or the second AM) includes: a CM field combination, a UP field and a UM field combination, wherein the CM field combination includes: CM0, CM1, CM2, CM3, CM4 and CM5, and the length of each CM field (e.g., CM1) is 8 bits (1 byte); the length of the UP field is 8 bits; the UM field combination includes: UM0, UM1, UM2, UM3, UM4, UM5, UM6 and UM7, and the length of each UM field is 8 bits. The total length of the AM is 120 bits.

[0317] After step S2, the second communication device adjusts the FEC mode in response to the first AM, and then communicates with the first communication device using the adjusted FEC mode.

[0318] The above embodiment describes that the first communication device is used as a request initiator for adjusting the FEC mode, and the second communication device is used as a request receiver for adjusting the FEC mode, that is, the first communication device and the second communication device work in simplex mode. It can be understood that, in addition to being a request initiator for adjusting the FEC mode, the first communication device can also be used as a request receiver for adjusting the FEC mode; in addition to being a request receiver for adjusting the FEC mode, the second communication device can also be used as a request initiator for adjusting the FEC mode, that is, the first communication device and the second communication device work in duplex mode. The embodiment of the present application does not limit this.

[0319] In the embodiment of the present application, the first communication device sends a first AM to the second communication device, and the first AM instructs the second communication device to adjust the forward error correction FEC mode. The AM is used to transmit the instruction information for adjusting the forward error correction FEC mode, and the AM is fully utilized to achieve lossless information transmission based on the AM. Under the premise of not affecting the existing functions of the AM, the utilization rate of the AM is improved, and the communication efficiency is improved.

[0320] In combination with the above embodiments, in order to further improve the accuracy of FEC mode adjustment and reduce the probability of misidentification of FEC mode adjustment. Fig.24 , Fig.24 Schematic diagram of an embodiment of a communication method based on an alignment identifier AM in an embodiment of the present application. A communication method based on an alignment identifier AM proposed in an embodiment of the present application further includes:

[0321] F1. Send a first AM, where the first AM instructs the second communication device to adjust a forward error correction FEC mode.

[0322] Step F1 is consistent with the aforementioned step S1 and will not be described in detail here.

[0323] F2. Send a third AM, where the third AM instructs the second communication device to adjust the forward error correction FEC mode.

[0324] In step F2, after the first communication device sends the first AM, the first communication device may also send a third AM to the second communication device, where the third AM instructs the second communication device to adjust the FEC mode.

[0325] The third AM is similar to the first AM in step S1 and will not be described in detail here.

[0326] Optionally, in order to facilitate the second communication device to distinguish the first AM from the third AM, the UM field combination included in the third AM may use a codeword different from the first UM field combination included in the first AM. Fig.15 In the illustrated first codeword set, the first UM field combination included in the first AM adopts CW14, and the UM field included in the third AM adopts CW17.

[0327] Optionally, after sending the first AM at the first moment, the first communication device sends a third AM within a next AM sending time window at the first moment.

[0328] After step F2, step F3 is performed.

[0329] F3. Send a second AM, where the second AM indicates that the second communication device has adjusted the forward error correction FEC mode.

[0330] Step F3 is consistent with the aforementioned step S2 and will not be described in detail here.

[0331] F4. Send a fourth AM, where the fourth AM indicates that the second communication device has adjusted the forward error correction FEC mode.

[0332] In step F4, after the second communication device sends the second AM, the second communication device may also send a fourth AM to the first communication device, where the fourth AM indicates that the second communication device has adjusted the FEC mode.

[0333] The fourth AM is similar to the second AM in step S2 and will not be described in detail here.

[0334] Optionally, in order to facilitate the first communication device to distinguish the second AM from the fourth AM, the UM field combination included in the fourth AM may use a codeword different from the second UM field combination included in the second AM. Fig.15 In the illustrated first codeword set, the second UM field combination included in the second AM adopts CW14, and the UM field included in the third AM adopts CW17.

[0335] Optionally, after sending the second AM at the second moment, the second communication device sends a fourth AM within a next AM sending time window at the second moment.

[0336] In the embodiment of the present application, by sending two consecutive request messages for adjusting the FEC mode and two consecutive response messages for the adjusted FEC mode, it is ensured that there is no misidentification of the FEC mode adjustment within a long time range, thereby improving the accuracy of the FEC mode adjustment.

[0337] In combination with the above-mentioned embodiments, an application scenario proposed in the embodiments of the present application is introduced below. Fig.25 , Fig.25 The following is a schematic diagram of an application scenario in an embodiment of the present application. An application scenario proposed in an embodiment of the present application includes:

[0338] D1. The first communication device determines that the FEC mode needs to be adjusted.

[0339] D2. The first communication device sends a first AM to the second communication device, where the first AM instructs the second communication device to adjust the FEC mode.

[0340] D3. In the next AM sending cycle (ie, the next cycle for inserting AM into the data stream) after sending the first AM, the first communication device sends a third AM to the second communication device, and the third AM instructs the second communication device to adjust the FEC mode.

[0341] D4. The second communication device determines that the FEC mode of the second communication device needs to be adjusted in response to the received first AM and third AM. Specifically, the second communication device communicates with the first communication device using the adjusted FEC mode after the next AM transmission cycle after the fourth AM is transmitted.

[0342] D5. After the second communication device determines that the FEC mode needs to be adjusted in response to the first AM and the third AM, the second communication device notifies the first communication device through the AM that the FEC mode is to be adjusted. Specifically, the second communication device sends a second AM to the first communication device, and the second AM indicates that the second communication device has adjusted the FEC mode.

[0343] D6. In the next AM sending cycle after sending the second AM, the second communication device sends a fourth AM to the first communication device, where the fourth AM indicates that the second communication device has adjusted the FEC mode.

[0344] D7. The first communication device determines that the second communication device has adjusted the FEC mode in response to the received second AM and fourth AM.

[0345] D8. The second communication device enables the adjusted FEC mode after the new AM cycle.

[0346] After step D4, in step D8, after the next AM transmission cycle, ie, starting from the second cycle of inserting AM into the data stream after step D4, the second communication device enables the adjusted FEC mode to communicate with the first communication device.

[0347] D9. The first communication device enables the adjusted FEC mode after the new AM cycle.

[0348] After step D7, in step D9, after the next AM reception cycle (i.e., the next cycle of extracting AM from the data stream), the first communication device determines that the second communication device enables the adjusted FEC mode, so the first communication device communicates with the second communication device under the adjusted FEC mode.

[0349] The following describes a communication device according to an embodiment of the present application. The communication device described below has any function of the first communication device or the second communication device in the above method embodiment.

[0350] Fig.26 A schematic diagram of the structure of a communication device 2600 provided in an embodiment of the present application is shown in FIG. Fig.26 As shown, the communication device 2600 includes: a transceiver module 2601 and a processing module 2602 .

[0351] The communication device 2600 can correspond to the first communication device or the second communication device in the above-mentioned method embodiment. The various units in the communication device 2600 and the above-mentioned other operations and / or functions are respectively for implementing the various steps and methods implemented by the first communication device or the second communication device in the method embodiment. The specific details can be found in the above-mentioned method embodiment. For the sake of brevity, they will not be repeated here.

[0352] When the communication device 2600 executes the above method embodiment, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the communication device 2600 is divided into different functional modules to complete all or part of the functions described above. Figure 11-Figure 25 The corresponding embodiment methods belong to the same concept, and their specific implementation processes are detailed in the above method embodiments, which will not be repeated here.

[0353] In order to implement the above embodiments, the present application also provides a communication device. Fig. 27 , Fig. 27 A schematic diagram of the structure of a communication device 2700 provided in an embodiment of the present application.

[0354] Fig. 27 Although the communication device 2700 shown in the figure shows certain specific features, those skilled in the art will realize from the embodiments of the present application that for the sake of brevity, Fig. 27 Various other features are not shown to avoid confusing more relevant aspects of the embodiments disclosed in the embodiments of the present application. To this end, as an example, in some implementations, the communication device 2700 includes one or more processing units (such as CPU) 2701, a network interface 2702, a programming interface 2703, a memory 2704 and one or more communication buses 2705 for interconnecting various components. In other implementations, the communication device 2700 can also omit or add some functional components or units based on the above examples.

[0355] In some implementations, the network interface 2702 is used to connect to one or more other communication devices / servers in the network system. In some implementations, the communication bus 2705 includes circuits for interconnecting and controlling the communication between system components. The memory 2704 may include non-volatile memory, such as read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The memory 2704 may also include volatile memory, which may be random access memory (RAM), which is used as an external cache.

[0356] In some implementations, memory 2704 or a non-temporary computer-readable storage medium of memory 2704 stores the following programs, modules, and data structures, or a subset thereof, including, for example, a transceiver unit (not shown), an acquisition unit 27041, and a processing unit 27042.

[0357] In a possible embodiment, the communication device 2700 may have the above Figure 11-Figure 25 Any function in the first communication device or the second communication device in the corresponding method embodiment.

[0358] It should be understood that the communication device 2700 corresponds to the first communication device or the second communication device in the above method embodiment, and the modules in the communication device 2700 and the above other operations and / or functions are respectively for implementing the various steps and methods implemented by the first communication device or the second communication device in the above method embodiment. For details, please refer to the above Figure 11-Figure 25 For the sake of brevity, the corresponding method embodiments are not described in detail here.

[0359] It should be understood that in the present application, the data sending and receiving operations can be completed by the network interface 2702 on the communication device 2700, or the processor can call the program code in the memory and cooperate with the network interface 2702 to implement the functions of the transceiver unit when necessary.

[0360] In various implementations, the communication device 2700 is used to execute the communication method based on the alignment identifier AM provided in the embodiment of the present application, for example, to execute the above Figure 11-Figure 25 The embodiment shown corresponds to a communication method based on the alignment identifier AM.

[0361] This application Fig. 27 The specific structure of the communication device can be Fig.28 shown.

[0362] Fig.28 A structural schematic diagram of a communication device 2800 provided in an embodiment of the present application, the communication device 2800 includes: a main control board 2810 and an interface board 2830.

[0363] The main control board 2810 is also called a main processing unit (MPU) or a route processor. The main control board 2810 is used to control and manage various components in the communication device 2800, including route calculation, device management, device maintenance, and protocol processing functions. The main control board 2810 includes: a central processing unit 2811 and a memory 2812.

[0364] The interface board 2830 is also called a line processing unit (LPU), a line card or a service board. The interface board 2830 is used to provide various service interfaces and realize the forwarding of data packets. The service interfaces include but are not limited to Ethernet interfaces, POS (Packet over SONET / SDH) interfaces, etc. The interface board 2830 includes: a central processing unit 2831, a network processor 2832, a forwarding table entry memory 2834 and a physical interface card (PIC) 2833.

[0365] The central processor 2831 on the interface board 2830 is used to control and manage the interface board 2830 and communicate with the central processor 2811 on the main control board 2810 .

[0366] The network processor 2832 is used to implement message forwarding processing. The network processor 2832 may be in the form of a forwarding chip.

[0367] The physical interface card 2833 is used to implement the docking function of the physical layer, and the original traffic enters the interface board 2830 from it, and the processed message is sent from the physical interface card 2833. The physical interface card 2833 includes at least one physical interface, which is also called a physical port. The physical interface can be a Flexible Ethernet (FlexE) physical interface. The physical interface card 2833 is also called a daughter card, which can be installed on the interface board 2830 and is responsible for converting the optical signal into a message and forwarding the message to the network processor 2832 for processing after checking the legitimacy of the message. In some embodiments, the central processor 2831 of the interface board 2830 can also perform the functions of the network processor 2832, such as implementing software forwarding based on a general-purpose CPU, so that the network processor 2832 is not required in the interface board 2830.

[0368] Optionally, the communication device 2800 includes multiple interface boards. For example, the communication device 2800 also includes an interface board 2840 . The interface board 2840 includes: a central processor 2841 , a network processor 2842 , a forwarding table entry memory 2844 , and a physical interface card 2843 .

[0369] Optionally, the communication device 2800 further includes a switching fabric board 2820. The switching fabric board 2820 may also be referred to as a switch fabric unit (SFU). When the communication device has multiple interface boards 2830, the switching fabric board 2820 is used to complete data exchange between the interface boards. For example, the interface board 2830 and the interface board 2840 may communicate via the switching fabric board 2820.

[0370] The main control board 2810 is coupled to the interface board. For example, the main control board 2810, the interface board 2830, the interface board 2840, and the switching network board 2820 are connected through a system bus and / or a system backplane to achieve intercommunication. In a possible implementation, an inter-process communication (IPC) channel is established between the main control board 2810 and the interface board 2830, and the main control board 2810 and the interface board 2830 communicate through the IPC channel.

[0371] Logically, the communication device 2800 includes a control plane and a forwarding plane. The control plane includes a main control board 2810 and a central processing unit 2831. The forwarding plane includes various components for performing forwarding, such as a forwarding table entry memory 2834, a physical interface card 2833, and a network processor 2832. The control plane performs functions such as publishing routes, generating forwarding tables, processing signaling and protocol messages, and configuring and maintaining the status of the device. The control plane sends the generated forwarding table to the forwarding plane. On the forwarding plane, the network processor 2832 forwards the message received by the physical interface card 2833 based on the forwarding table sent by the control plane. The forwarding table sent by the control plane can be stored in the forwarding table entry memory 2834. In some embodiments, the control plane and the forwarding plane can be completely separated and not on the same device.

[0372] It should be understood that the transceiver module in the communication device 2600 can be equivalent to the physical interface card 2833 or the physical interface card 2843 in the communication device 2800; the acquisition unit 27041 and the processing unit 27042 in the communication device 2700 can be equivalent to the central processor 2811 or the central processor 2831 in the communication device 2800, and can also be equivalent to the program code or instructions stored in the memory 2812.

[0373] It should be understood that the operation on the interface board 2840 in the embodiment of the present application is consistent with the operation of the interface board 2830, and for the sake of brevity, it will not be repeated. It should be understood that the communication device 2800 of this embodiment can correspond to the first communication device or the second communication device in the above-mentioned various method embodiments, and the main control board 2810, the interface board 2830 and / or the interface board 2840 in the communication device 2800 can implement the functions and / or various steps implemented by the first communication device or the second communication device in the above-mentioned various method embodiments, and for the sake of brevity, it will not be repeated here.

[0374] It is worth noting that there may be one or more main control boards, and when there are multiple boards, they may include a main main control board and a standby main control board. There may be one or more interface boards. The stronger the data processing capability of the communication device, the more interface boards are provided. There may also be one or more physical interface cards on the interface board. There may be no switching network board, or there may be one or more switching network boards. When there are multiple switching network boards, load sharing and redundant backup can be achieved together. Under the centralized forwarding architecture, the communication device may not need a switching network board, and the interface board bears the processing function of the service data of the entire system. Under the distributed forwarding architecture, the communication device may have at least one switching network board, and the data exchange between multiple interface boards is realized through the switching network board, providing large-capacity data exchange and processing capabilities. Optionally, the form of the communication device may also be only one board, that is, there is no switching network board, and the functions of the interface board and the main control board are integrated on the board. At this time, the central processor on the interface board and the central processor on the main control board can be merged into one central processor on the board to perform the functions of the two superimposed. Which architecture is adopted depends on the specific networking deployment scenario, and it is not limited here.

[0375] In some possible embodiments, the first communication device or the second communication device and / or may be implemented as a virtualized device. The virtualized device may be a virtual machine (VM), a virtual router or a virtual switch running a program for sending a message function. The virtualized device is deployed on a hardware device (e.g., a physical server). For example, the first communication device or the second communication device may be implemented based on a general physical server in combination with network functions virtualization (NFV) technology.

[0376] The embodiment of the present application also provides a computer-readable storage medium, including instructions, which, when executed on a computer, enables the computer to control a terminal device to execute any one of the implementation methods shown in the aforementioned method embodiments.

[0377] An embodiment of the present application also provides a computer program product, which includes a computer program code. When the computer program code runs on a computer, the computer executes any one of the implementation methods shown in the aforementioned method embodiments.

[0378] Furthermore, the embodiment of the present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the above Figure 11-Figure 25 The method performed by the corresponding method embodiment.

[0379] The embodiment of the present application further provides a chip system, including a processor and an interface circuit, wherein the interface circuit is used to receive instructions and transmit them to the processor. The processor is used to implement the method in any of the above method embodiments.

[0380] Optionally, the chip system further includes a memory, and the processor in the chip system may be one or more. The processor may be implemented by hardware or software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor that implements the method in any of the above method embodiments by reading the software code stored in the memory.

[0381] Optionally, the memory in the chip system may be one or more. The memory may be integrated with the processor or may be separately provided with the processor, which is not limited in the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be provided on different chips. The present application does not specifically limit the type of memory and the arrangement of the memory and the processor.

[0382] The above describes the embodiments of the present application in detail. The steps in the method of the embodiments of the present application can be scheduled in sequence, merged or deleted according to actual needs; the modules in the device of the embodiments of the present application can be divided, merged or deleted according to actual needs.

[0383] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

[0384] The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0385] It should be understood that in the embodiment of the present application, "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.

[0386] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0387] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0388] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0389] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

Claims

1. A communication method based on an alignment identifier AM, characterized in that: include: The first communication device sends a first alignment identifier AM to the second communication device, wherein the first AM instructs the second communication device to adjust a forward error correction FEC mode; The first communication device receives a second AM from the second communication device, the second AM indicating that the second communication device has adjusted the FEC mode.

2. The method according to claim 1, characterized in that The first AM includes a first specific identification UM field combination, the first UM field combination includes multiple UM fields, and the first UM field combination instructs the second communication device to adjust the FEC mode.

3. The method according to claim 2, characterized in that The first UM field combination indicates a type of an enhanced FEC mode of the second communication device, Alternatively, the first UM field combination indicates a type of a reduced FEC mode of the second communication device.

4. The method according to any one of claims 1 to 3, characterized in that The second AM includes a second specific identification UM field combination, the second UM field combination includes multiple UM fields, and the second UM field combination indicates that the second communication device has adjusted the FEC mode.

5. The method according to claim 4, characterized in that The second UM field combination indicates the type of FEC mode that the second communication device has enhanced, Alternatively, the second UM field combination indicates that the second communications device has reduced the type of FEC mode.

6. The method according to any one of claims 1 to 5, characterized in that The first UM field combination consists of codewords included in the first codeword set, The first codeword set includes multiple codewords, and the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokkewenheim eBCH (16,5) encoding method.

7. The method according to any one of claims 1 to 5, characterized in that The second UM field combination consists of code words included in the first code word set, The first codeword set includes multiple codewords, and the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokkewenheim eBCH (16,5) encoding method.

8. The method according to claim 6 or 7, characterized in that: The first codeword set includes any one or more of the following codewords: 0 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0, 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0, 0 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0, 0 1 1 0 1 1 1 0 0 0 0 1 0 1 0 1, 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1 1, 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0 0, 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0 0, 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1, 1 1 0 1 0 1 1 0 0 1 0 0 0 1 1 0, Or, 1 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1.

9. The method according to any one of claims 1 to 8, characterized in that The length of the first AM is 120 bits, and the length of the second AM is 120 bits.

10. The method according to claim 9, characterized in that The first AM also includes: a first public identifier CM field combination and a first specific fill UP field, The first CM field combination includes 6 CM fields, each of which has a length of 8 bits. The first UP field evenly separates the six CM fields included in the first CM field combination, and the length of the first UP field is 8 bits. The first UM field combination includes 8 UM fields, and the length of each UM field is 8 bits.

11. The method according to claim 9, characterized in that The first UM field combination includes: a first UM field, a second UM field, a third UM field, a fourth UM field, a fifth UM field, a sixth UM field, a seventh UM field and an eighth UM field, wherein: The first UM field and the second UM field are composed of a first codeword, The third UM field and the fourth UM field are composed of a second codeword, The fifth UM field and the sixth UM field are composed of a third codeword, The seventh UM field and the eighth UM field are composed of a fourth codeword, The first codeword, the second codeword, the third codeword and the fourth codeword belong to the first codeword set.

12. The method according to any one of claims 9 to 11, characterized in that: The second AM also includes: a second public identifier CM field combination and a second specific fill UP field, The second CM field combination includes 6 CM fields, each of which has a length of 8 bits. The second UP field evenly separates the six CM fields included in the second CM field combination, and the length of the second UP field is 8 bits. The second UM field combination includes 8 UM fields, and the length of each UM field is 8 bits.

13. The method according to claim 12, characterized in that The second UM field combination includes: a ninth UM field, a tenth UM field, an eleventh UM field, a twelfth UM field, a thirteenth UM field, a fourteenth UM field, a fifteenth UM field and a sixteenth UM field, wherein: The ninth UM field and the tenth UM field are composed of a fifth codeword, The eleventh UM field and the twelfth UM field are composed of the sixth codeword, The thirteenth UM field and the fourteenth UM field are composed of the seventh codeword, The fifteenth UM field and the sixteenth UM field are composed of an eighth codeword, The fifth codeword, the sixth codeword, the seventh codeword and the eighth codeword belong to the first codeword set.

14. The method according to claim 10 or 11, characterized in that: The first UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1.

15. The method according to claim 12 or 13, characterized in that The second UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1.

16. The method according to any one of claims 1 to 15, characterized in that After the first communication device sends the first alignment identifier AM to the second communication device, the method further includes: The first communication device sends a third alignment identifier AM to the second communication device, wherein the third AM instructs the second communication device to adjust a forward error correction FEC mode; After the first communication device receives the second AM from the second communication device, the method further includes: The first communication device receives a fourth AM from the second communication device, the fourth AM indicating that the second communication device has adjusted the FEC mode.

17. A communication method based on an alignment identifier AM, characterized in that: include: The second communication device receives a first alignment identifier AM from the first communication device, wherein the first AM instructs the second communication device to adjust a forward error correction FEC mode; The second communication device sends a second AM to the first communication device, wherein the second AM indicates that the second communication device has adjusted the FEC mode; The second communication device communicates with the first communication device using the adjusted FEC mode.

18. The method according to claim 17, characterized in that The first AM includes a first specific identification UM field combination, the first UM field combination includes multiple UM fields, and the first UM field combination instructs the second communication device to adjust the FEC mode.

19. The method according to claim 18, characterized in that The first UM field combination indicates a type of an enhanced FEC mode of the second communication device, Alternatively, the first UM field combination indicates a type of a reduced FEC mode of the second communication device.

20. The method according to any one of claims 17 to 19, characterized in that The second AM includes a second specific identification UM field combination, the second UM field combination includes multiple UM fields, and the second UM field combination indicates that the second communication device has adjusted the FEC mode.

21. The method according to claim 20, characterized in that The second UM field combination indicates the type of FEC mode that the second communication device has enhanced, Alternatively, the second UM field combination indicates that the second communications device has reduced the type of FEC mode.

22. The method according to any one of claims 17 to 21, characterized in that The first UM field combination consists of codewords included in the first codeword set, The first codeword set includes multiple codewords, and the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokkewenheim eBCH (16,5) encoding method.

23. The method according to any one of claims 17 to 21, characterized in that The second UM field combination consists of code words included in the first code word set, The first codeword set includes multiple codewords, and the codewords included in the first codeword set are composed of 5-bit payload data and 11-bit check bits, and the check bits are obtained by encoding the payload data using an extended Bose-Chaudhuri-Hokkewenheim eBCH (16,5) encoding method.

24. The method according to claim 22 or 23, characterized in that The first codeword set includes any one or more of the following codewords: 0 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0, 0 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0, 0 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0, 0 1 1 0 1 1 1 0 0 0 0 1 0 1 0 1, 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1 1, 1 0 0 0 1 1 1 1 0 1 0 1 1 0 0 0, 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0 0, 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1 1, 1 1 0 1 0 1 1 0 0 1 0 0 0 1 1 0, Or, 1 1 0 1 1 1 0 0 0 0 1 0 1 0 0 1.

25. The method according to any one of claims 17 to 24, characterized in that The length of the first AM is 120 bits, and the length of the second AM is 120 bits.

26. The method according to claim 25, characterized in that The first AM also includes: a first public identifier CM field combination and a first specific fill UP field, The first CM field combination includes 6 CM fields, each of which has a length of 8 bits. The first UP field evenly separates the six CM fields included in the first CM field combination, and the length of the first UP field is 8 bits. The first UM field combination includes 8 UM fields, and the length of each UM field is 8 bits.

27. The method according to claim 25, characterized in that The first UM field combination includes: a first UM field, a second UM field, a third UM field, a fourth UM field, a fifth UM field, a sixth UM field, a seventh UM field and an eighth UM field, wherein: The first UM field and the second UM field are composed of a first codeword, The third UM field and the fourth UM field are composed of a second codeword, The fifth UM field and the sixth UM field are composed of a third codeword, The seventh UM field and the eighth UM field are composed of a fourth codeword, The first codeword, the second codeword, the third codeword and the fourth codeword belong to the first codeword set.

28. The method according to any one of claims 25 to 27, characterized in that The second AM also includes: a second public identifier CM field combination and a second specific fill UP field, The second CM field combination includes 6 CM fields, each of which has a length of 8 bits. The second UP field evenly separates the six CM fields included in the second CM field combination, and the length of the second UP field is 8 bits. The second UM field combination includes 8 UM fields, and the length of each UM field is 8 bits.

29. The method according to claim 28, characterized in that The second UM field combination includes: a ninth UM field, a tenth UM field, an eleventh UM field, a twelfth UM field, a thirteenth UM field, a fourteenth UM field, a fifteenth UM field and a sixteenth UM field, wherein: The ninth UM field and the tenth UM field are composed of a fifth codeword, The eleventh UM field and the twelfth UM field are composed of the sixth codeword, The thirteenth UM field and the fourteenth UM field are composed of the seventh codeword, The fifteenth UM field and the sixteenth UM field are composed of an eighth codeword, The fifth codeword, the sixth codeword, the seventh codeword and the eighth codeword belong to the first codeword set.

30. The method according to claim 28 or 29, characterized in that The first UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1.

31. The method according to claim 28 or 29, characterized in that The second UP field is any one of the following: 0x1E, 0x2D, ​​0x4B, 0x78, 0x87, 0xB4, 0xD2, 0x87 or 0xE1.

32. The method according to any one of claims 17 to 31, characterized in that The second communication device receives a first alignment identifier AM from the first communication device. After the first alignment identifier AM, the method further includes: The second communication device receives a third alignment identifier AM from the first communication device, wherein the third AM instructs the second communication device to adjust a forward error correction FEC mode; After the second communication device sends the second AM to the first communication device, the method further includes: The second communication device sends a fourth AM to the first communication device, where the fourth AM indicates that the second communication device has adjusted the FEC mode.

33. A communication device, characterized in that: include: Processor and memory; The processor stores instructions, and when the instructions are executed on the processor, the method according to any one of claims 1 to 16 is implemented.

34. A communication device, characterized in that: include: Processor and memory; The processor stores instructions, and when the instructions are executed on the processor, the method of any one of claims 17 to 32 is implemented.

35. A communication system, characterized in that: The invention comprises a communication device for executing the method according to any one of claims 1 to 16, and a communication device for executing the method according to any one of claims 17 to 32.

36. A chip, characterized in that: include: Processing unit and power supply circuit; The power supply circuit supplies power to the processing unit, and the processing unit is used to execute the method described in any one of claims 1 to 16 or claims 17 to 32.

37. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a processor, the method of any one of claims 1-16 or claims 17-32 is implemented.

38. A computer program product, characterized in that When the computer program product is executed on a processor, the method of any one of claims 1 to 16 or claims 17 to 32 is implemented.

Citation Information

Cited By

  • Communication method based on alignment marker (AM), and related apparatus

    EP4716125A1

  • Communication method based on alignment marker (AM), and related apparatus

    WO2024255628A1

  • Communication method and apparatus

    WO2026145102A1

  • Configuration parameter adjustment method for optical communication, apparatus, and system

    WO2026157794A1