A method and electronic device for regulating traffic distribution in an optical channel

By splitting service data into multiple frequency points and using a DSP module to modulate the data stream, combined with redundancy filling and stripping modules, the data traffic distribution is adjusted to match the characteristics of the optical channel, solving the problem of unsatisfactory optical channel compensation effect and improving system performance.

CN116686223BActive Publication Date: 2026-06-05HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2021-12-31
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

In existing technologies, the compensation effect of optical channels is not ideal and cannot completely eliminate the nonlinear effects introduced by optical devices, resulting in data transmission in optical channels failing to achieve optimal matching and reducing system performance.

Method used

The service data is split into multiple frequency points by the framer module, and different data streams are modulated by the DSP module. Combined with the redundancy filling and stripping module, the data traffic distribution is adjusted to match the characteristics of the optical channel. The target configuration information is determined by the SNR for data configuration.

Benefits of technology

This achieves full matching of data traffic in the optical channel, improves the overall performance of the system, and ensures the continuity of data transmission and seamless, flexible, and lossless switching for users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116686223B_ABST
    Figure CN116686223B_ABST
Patent Text Reader

Abstract

The application provides a method and an electronic device for adjusting traffic distribution in an optical channel, comprising: a framer module configuring N service data included in first frame service data in N frequency points of the optical channel; a first DSP module modulating M data streams onto the optical channel, wherein each of the M data streams comprises the N service data and first information, and the first information comprises configuration information of the framer module adjusting data traffic distribution of the N service data; a first communication module receiving M SNRs; and the framer module determining target configuration information according to the M SNRs, and configuring second frame service data in the N frequency points according to the target configuration information. The scheme provided by the application can adjust the distribution of data traffic in the optical channel, so as to fully match the optical channel, thereby improving the overall performance of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of optical fiber communication, and more particularly to a method and electronic device for adjusting the traffic distribution in an optical channel. Background Technology

[0002] refer to Figure 1 Taking the transmitting side as an example, the service data output from the source, after forward error correction (FEC) encoding, is first mapped into symbol data. The downstream digital signal processing (DSP) module processes these symbol data as a whole, and finally modulates them onto a suitable optical carrier through a digital-to-analog converter (DAC) and optical devices. Therefore, the compensation in the DSP section is based on the overall optical channel.

[0003] However, the DSP compensation in the above scheme is based on some known degradations (such as dispersion and device aging). In reality, the degradation introduced by optical devices is often greater than expected and is accompanied by some nonlinear effects that are difficult to analyze, making the compensation effect less than ideal. Typically, DSP compensation can mitigate the effects of various degradations, but it cannot completely eliminate them. Therefore, the compensated optical channel still exhibits uneven characteristics, and data transmission in such an optical channel cannot achieve optimal matching, thus reducing the overall system performance. Summary of the Invention

[0004] This application provides a method and electronic device for adjusting the traffic distribution in an optical channel, which can adjust the distribution of data traffic in the optical channel to achieve a full match with the optical channel, thereby improving the overall performance of the system.

[0005] In a first aspect, this application provides a method for adjusting the traffic distribution in an optical channel, the method being applied to a first electronic device, the method comprising:

[0006] The framer module configures the N service data included in the first frame of service data into N frequency points of the optical channel, where N is an integer greater than or equal to 2.

[0007] The first digital signal processing (DSP) module modulates M types of data streams onto the optical channel. Each of the M types of data streams includes the N service data and first information. The first information includes configuration information for the framer module to adjust the data traffic distribution of the N service data. M is an integer greater than or equal to 2.

[0008] The first communication module receives M signal-to-noise ratios (SNRs), wherein the M SNRs include the SNR of the optical channel under each of the M data streams;

[0009] The framer module determines the target configuration information based on the M SNRs, and configures the second frame service data in the N frequency points according to the target configuration information. The target configuration information is the configuration information corresponding to the SNRs that are greater than or equal to the first threshold among the M SNRs.

[0010] The solution provided in this application embodiment modulates M types of data streams onto the optical channel. This allows the second DSP module to determine the SNR of the optical channel for each of the M data streams obtained from the optical channel. The framer module then determines target configuration information based on these M SNRs and configures the second frame service data into N frequency points according to the target configuration information. Since the framer module can configure the second frame service data according to the target configuration information, it can adjust the distribution of data traffic in the optical channel to achieve a full match with the optical channel, thereby improving the overall performance of the system.

[0011] In conjunction with the first aspect, in some possible implementations, configuring the second frame service data in the N frequency points according to the target configuration information includes:

[0012] The framer module configures the second frame service data in the N frequency points according to the data traffic distribution corresponding to the frequency points in the target configuration information.

[0013] The solution provided in this application embodiment allows the framer module to configure the second frame service data according to the data traffic distribution corresponding to the target configuration information frequency point, thereby adjusting the distribution of data traffic in the optical channel to achieve a full match with the optical channel and thus improve the overall performance of the system.

[0014] In conjunction with the first aspect, in some possible implementations, before the first DSP module modulates the M data streams onto the optical channel, the method further includes:

[0015] The first DSP module makes M adjustments to the N service data based on the first information;

[0016] The redundancy filling module fills redundant overhead for each of the N frequency points after M adjustments, so that the output flow of each frequency point is equal.

[0017] The first DSP module modulates M data streams onto the optical channel, including:

[0018] The first DSP module modulates the M data streams, after filling the redundant overhead, onto the optical channel.

[0019] The solution provided in this application embodiment allows for the following steps: after the framer module adjusts the data size of N service data, the redundancy filling module can be used to fill each of the N frequency points to ensure that the output traffic of each frequency point after filling is equal. This enables the user to be unaware of changes in traffic distribution during subsequent data processing, ensuring the continuity of traffic before and after adjustment, thereby achieving flexible and lossless switching that is imperceptible to the user.

[0020] In conjunction with the first aspect, among some possible implementation methods,

[0021] The i-th business data among the N business data includes F i The amount of data in bits, and R is the clock cycle, and Q is the valid data included in each clock cycle;

[0022] Before the first DSP module modulates the M data streams onto the optical channel, the method further includes:

[0023] The framing module converts the R*Q bits of data into... The amount of data is T bits, where S is the clock cycle, and each clock cycle includes T bits of effective data. i Bit;

[0024] The first DSP module modulates M data streams onto the optical channel, including:

[0025] The first DSP module modulates the converted M data streams onto the optical channel.

[0026] The solution provided in this application embodiment allows the framer module to first convert R*Q bits of data into... The data volume is limited to bits. At the same time, the redundancy padding module can invalidate the data in each clock cycle, so that the amount of data in each clock cycle after padding is equal, in order to match the data format required by subsequent modules.

[0027] In conjunction with the first aspect, in some possible implementations, the framing module converts the R*Q bits of data into... The amount of data in bits includes:

[0028] The framing module converts the R*Q bits of data into [data] based on the sampling rate of the digital-to-analog converter. The amount of data in bits.

[0029] Secondly, this application provides a method for adjusting the traffic distribution in an optical channel, the method being applied to a second electronic device, the method comprising:

[0030] The second digital signal processing (DSP) module obtains M types of data streams from the optical channel. Each of the M types of data streams includes N service data and first information. The first information includes configuration information for the framer module to adjust the data traffic distribution of the N service data. M and N are integers greater than or equal to 2.

[0031] The frame deframe module extracts the first information from each of the data streams and adjusts the data traffic distribution of the N service data according to the first information;

[0032] The second DSP module determines M signal-to-noise ratios (SNRs) based on the adjusted N service data, wherein the M SNRs include the SNR of the optical channel under each of the M data streams;

[0033] The second communication module sends the M SNRs to the first electronic device.

[0034] The solution provided in this application embodiment involves a second DSP module obtaining M types of data streams from an optical channel. The second DSP module then determines the SNR (Shortest Node Ratio) of the optical channel for each of the M data streams and sends these M SNRs to a first electronic device. This allows the framer module to determine target configuration information based on the M SNRs and configure the second frame service data across N frequency points according to the target configuration information. Since the framer module can configure the second frame service data based on the target configuration information, it can adjust the distribution of data traffic in the optical channel to achieve a better match with the optical channel, thereby improving the overall system performance.

[0035] In conjunction with the second aspect, in some possible implementations, each data stream includes N service data points from N frequency points after filling in redundant overhead;

[0036] The method further includes:

[0037] The redundancy stripping module strips the adjusted N service data from the N frequency points included in each data stream.

[0038] In conjunction with the second aspect, in some possible implementations, the frame deframer module extracts the first information from each of the data streams, including:

[0039] The frame deframe module extracts the first information from each of the data streams multiple times;

[0040] The method further includes:

[0041] When the first information extracted by the frame deframe module from each of the data streams is the same multiple times, the first information is confirmed to be correct.

[0042] The step of adjusting the data traffic distribution of the N business data based on the first information includes:

[0043] If the first information is confirmed to be correct, the frame deframe module adjusts the data traffic distribution of the N service data according to the first information.

[0044] The solution provided in this application embodiment allows the frame deframer module to extract the first information from each type of data stream multiple times. If the first information is confirmed to be correct, the data traffic distribution of N service data can be adjusted according to the first information, which can further improve the performance of the system.

[0045] In conjunction with the second aspect, in some possible implementations, the second DSP module determines M signal-to-noise ratios (SNRs) based on the adjusted N service data, including:

[0046] The second DSP module determines the M SNRs based on the data characteristics of the adjusted N service data.

[0047] Thirdly, an apparatus is provided, included in an electronic device, having the function of implementing the behaviors of the electronic device in the above aspects and possible implementations thereof. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.

[0048] Fourthly, an electronic device is provided, comprising: one or more processors; a memory; one or more application programs; and one or more computer programs. The one or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instructions are executed by the electronic device, the electronic device performs the methods in any possible implementation of any of the first or second aspects described above.

[0049] Fifthly, a chip system is provided, including at least one processor, wherein when program instructions are executed in the at least one processor, the method in any possible implementation of the first aspect or the second aspect is implemented on the electronic device.

[0050] In a sixth aspect, a computer storage medium is provided, including computer instructions that, when executed on an electronic device, cause the electronic device to perform the method in any possible implementation of the first aspect or the second aspect described above.

[0051] In a seventh aspect, a computer program product is provided that, when the computer program product is run on an electronic device, causes the electronic device to perform the method in any of the possible designs of the first aspect or the second aspect. Attached Figure Description

[0052] Figure 1 This is a system block diagram provided for an embodiment of this application.

[0053] Figure 2 Another system block diagram provided for an embodiment of this application.

[0054] Figure 3 This is a schematic diagram of a method for adjusting the traffic distribution in an optical channel, provided in an embodiment of this application.

[0055] Figure 4 This is a schematic diagram of the information distribution of an optical channel provided in an embodiment of this application.

[0056] Figure 5 This is a schematic diagram of information distribution before and after data traffic distribution adjustment, provided as an embodiment of this application.

[0057] Figure 6 This is a schematic diagram of information distribution before and after data traffic distribution adjustment, provided as an embodiment of this application.

[0058] Figure 7 This is a schematic diagram of information distribution before and after data traffic distribution adjustment, provided as an embodiment of this application.

[0059] Figure 8 This is a schematic diagram of a data transmission frame format provided in an embodiment of this application.

[0060] Figure 9 The embodiments provided in this application are for Figure 5 The diagram shows the information distribution of filling redundancy overhead before and after the data traffic distribution adjustment.

[0061] Figure 10 The embodiments provided in this application are for Figure 6 The diagram shows the information distribution of filling redundancy overhead before and after the data traffic distribution adjustment.

[0062] Figure 11 The embodiments provided in this application are for Figure 7 The diagram shows the information distribution of filling redundancy overhead before and after the data traffic distribution adjustment.

[0063] Figure 12 This is a schematic diagram illustrating a data format conversion method provided in an embodiment of this application.

[0064] Figure 13This is a schematic block diagram of an electronic device provided in an embodiment of this application.

[0065] Figure 14 This is a schematic block diagram of another electronic device provided in the embodiments of this application. Detailed Implementation

[0066] The terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to also include expressions such as “one or more,” unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, “at least one” and “one or more” refer to one, two, or more than two. The term “and / or” is used to describe the relationship between related objects, indicating that three relationships may exist; for example, A and / or B can indicate: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character “ / ” generally indicates that the preceding and following related objects are in an “or” relationship.

[0067] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0068] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0069] The technical solution of this application can be applied to optical fiber communication, an advanced communication system that uses optical fiber as the transmission medium. Due to the characteristics of low signal attenuation and large available bandwidth, optical fiber communication has become the preferred method for long-distance, high-capacity transmission applications. However, the optical channel used for data transmission is not perfectly flat. Influenced by optical devices, different degrees of attenuation exist in different regions of the optical channel. How to more effectively utilize this characteristic of the optical channel to transmit data has become an urgent problem to be solved. Currently, mainstream optical digital signal processing (ODSP) chips treat symbolic data as a whole, process it, and then modulate it onto an optical carrier. Considering that the nonlinearity of optical devices leads to unevenness in the optical channel, the common practice is to compensate at the transceiver end to make the characteristics of the optical channel closer to an ideal channel.

[0070] like Figure 1 The diagram shown is a system block diagram provided in an embodiment of this application.

[0071] refer to Figure 1 Taking the transmitting side as an example, the service data output from the source, after FEC encoding, is first mapped into symbol data. The downstream DSP module processes these symbol data as a whole, and finally modulates them onto a suitable optical carrier through a DAC and optical devices. Therefore, the compensation in the DSP section is based on the overall optical channel.

[0072] However, the DSP compensation in the above scheme is based on some known degradations (such as dispersion and device aging). In reality, the degradation introduced by optical devices is often greater than expected and is accompanied by some nonlinear effects that are difficult to analyze, making the compensation effect less than ideal. Typically, DSP compensation can mitigate the effects of various degradations, but it cannot completely eliminate them. Therefore, the compensated optical channel still exhibits uneven characteristics, and data transmission in such an optical channel cannot achieve optimal matching, thus reducing the overall system performance.

[0073] Therefore, this application provides a method for adjusting the traffic distribution in an optical channel, which can adjust the distribution of data traffic in the optical channel to achieve a full match with the optical channel, thereby improving the overall performance of the system.

[0074] like Figure 2 The diagram shown is another system block diagram provided in an embodiment of this application.

[0075] refer to Figure 2In optical channels, the adjustment of traffic distribution is mainly accomplished through a framing module, a redundancy padding module, and a DSP processing module. In implementation, service data can be split into multiple parts, processed by different sub-DSP modules (such as TX_DSP0, TX_DSP1, TX_DSP2, ..., TX_DSP(N-1) modules in the diagram), and then modulated onto different frequency points (these center frequencies and the information they carry can be called "tones"). Correspondingly, on the receiving side, the sampled data from the analog-to-digital converter (ADC) is split by a splitting module and distributed to various sub-DSP modules (such as RX_DSP0, RX_DSP1, RX_DSP2, ..., RX_DSP(N-1) modules in the diagram), and then processed by the receiving-side FEC to obtain the service data. Since the optical channel is not flat, information attenuation varies at different frequency points. We adjust the effective information carried by different tones to obtain the best overall performance.

[0076] like Figure 3 The diagram shown is a schematic of a method 300 for adjusting the traffic distribution in an optical channel according to an embodiment of this application. The method 300 may include steps S310 to S380.

[0077] S310, the framer module configures the N service data included in the first frame of service data into the N frequency points of the optical channel, where N is an integer greater than or equal to 2.

[0078] In this embodiment of the application, the framer module can first split the first frame of service data into N service data. The data size of each of the N service data can be the same or different, without limitation.

[0079] For example, assuming the data size of the first frame of service data is 500 bits, and the first frame of service data is split into 5 service data, the data size of these 5 service data can all be 100 bits, or they can be 120 bits, 80 bits, 100 bits, 110 bits, and 90 bits respectively.

[0080] In this embodiment of the application, the N frequency points and the information they carry are the “tone” mentioned above. After the framer module splits the first frame of service data into N service data, the split N service data can be configured in the N frequency points.

[0081] like Figure 4 The diagram shown is a schematic representation of the information distribution of an optical channel according to an embodiment of this application.

[0082] refer to Figure 4In (a), the information from the transmitting side is treated as a whole and evenly distributed across the optical channel. (See reference...) Figure 4 In (b), the effective information carried at different frequency points is different.

[0083] In the embodiments of this application, the frequency point can be understood as the center frequency point of a certain frequency range, such as... Figure 4 As shown in (b), frequency point 0 is the center frequency of the first frequency range (i.e., the range of the first rectangle on the horizontal axis in the figure), frequency point 1 is the center frequency of the second frequency range (i.e., the range of the second rectangle on the horizontal axis in the figure), and so on.

[0084] S320, the first digital signal processing (DSP) module modulates M types of data streams onto the optical channel, wherein each of the M types of data streams includes the N service data and first information, and the first information includes configuration information for the framer module to adjust the data traffic distribution of the N service data, where M is an integer greater than or equal to 2.

[0085] In this embodiment of the application, after the framer module configures N service data into N frequency points of the optical channel, the framer module can embed the configuration information of the data traffic distribution, which adjusts the data size of the N service data, into the data stream. The configuration information may include M types.

[0086] In the embodiments of this application, M can be an integer greater than or equal to 2, such as 2, 3, 50, 100, etc.

[0087] The following will use M=3 as an example to illustrate the configuration information of the framer module for adjusting the data traffic distribution of N service data in this embodiment of the application.

[0088] The first type:

[0089] like Figure 5 The diagram shown is a schematic representation of information distribution before and after data traffic distribution adjustment, according to an embodiment of this application. Figure 5 (a) in the diagram is a schematic diagram of the information distribution before the data traffic distribution adjustment. Figure 5 (b) in the diagram is a schematic diagram of the information distribution after the data traffic distribution is adjusted.

[0090] Combination Figure 5 As shown in (a) and (b), the framing module reduces the amount of information at frequency 0 and increases the amount of information at frequency 1, and the amount of information reduced at frequency 0 is equal to the amount of information increased at frequency 1 (e.g., a reduction and an increase of 10 bits of information). At the same time, the framing module reduces the amount of information at frequency 7 and increases the amount of information at frequency 6, and the amount of information reduced at frequency 7 is equal to the amount of information increased at frequency 6 (e.g., a reduction and an increase of 10 bits of information).

[0091] The configuration information under this method can be: reduce the amount of information on frequency point 0, increase the amount of information on frequency point 1, and the amount of information reduced on frequency point 0 is equal to the amount of information increased on frequency point 1 (e.g., reduce and increase the amount of information by 10 bits); at the same time, reduce the amount of information on frequency point 7, increase the amount of information on frequency point 6, and the amount of information reduced on frequency point 7 is equal to the amount of information increased on frequency point 6 (e.g., reduce and increase the amount of information by 10 bits).

[0092] The second type:

[0093] like Figure 6 The diagram shown is a schematic representation of the information distribution before and after data traffic distribution adjustment, according to an embodiment of this application. Wherein, Figure 6 (a) in the diagram is a schematic diagram of the information distribution before the data traffic distribution adjustment. Figure 6 (b) in the diagram is a schematic diagram of the information distribution after the data traffic distribution is adjusted.

[0094] Combination Figure 6 As can be seen from (a) and (b) in the figure, the framer module reduces the amount of information at frequency point 0 and increases the amount of information at frequency point 2, and the amount of information reduced at frequency point 0 is equal to the amount of information increased at frequency point 2 (e.g., 50 bits of information are reduced at frequency point 0 and 10 bits of information are increased at frequency point 2).

[0095] The configuration information under this method can be: reduce the amount of information on frequency point 0, increase the amount of information on frequency point 2, and the amount of information reduced on frequency point 0 is equal to the amount of information increased on frequency point 2 (e.g., reduce and increase the amount of information by 10 bits).

[0096] The third type:

[0097] like Figure 7 The diagram shown is a schematic representation of the information distribution before and after data traffic distribution adjustment, according to an embodiment of this application. Wherein, Figure 7 (a) in the diagram is a schematic diagram of the information distribution before the data traffic distribution adjustment. Figure 7 (b) in the diagram is a schematic diagram of the information distribution after the data traffic distribution is adjusted.

[0098] Combination Figure 7 As shown in (a) and (b), the framing module reduces the amount of information at frequency 1 and increases the amount of information at frequency 2, and the amount of information reduced at frequency 1 is equal to the amount of information increased at frequency 2 (e.g., 10 bits of information are reduced at frequency 1 and 10 bits of information are increased at frequency 2). At the same time, the framing module reduces the amount of information at frequency 6 and increases the amount of information at frequency 5, and the amount of information reduced at frequency 6 is equal to the amount of information increased at frequency 7 (e.g., 10 bits of information are reduced at frequency 6 and 10 bits of information are increased at frequency 7).

[0099] The configuration information under this method can be: reduce the amount of information on frequency point 1, increase the amount of information on frequency point 2, and the amount of information reduced on frequency point 1 is equal to the amount of information increased on frequency point 2 (e.g., reduce and increase the amount of information by 10 bits); at the same time, reduce the amount of information on frequency point 6, increase the amount of information on frequency point 5, and the amount of information reduced on frequency point 6 is equal to the amount of information increased on frequency point 7 (e.g., reduce and increase the amount of information by 10 bits).

[0100] It should be understood that in practice, the configuration information for adjusting the data traffic distribution of N service data by the framer module may include hundreds or thousands of types. The three types of adjustment configuration information shown in the above example are only illustrative and should not impose any special limitations on this application.

[0101] It should also be understood that, when M=3, the configuration information of the three adjustments shown in the above example is only an illustrative example and may include other possible configuration information adjustments, such as reducing the amount of information at frequency point 2, increasing the amount of information at frequency point 3, etc., and should not impose any special limitations on this application.

[0102] The first information in the embodiments of this application may be based on, for example, Figure 8 The frame format shown is embedded in the data stream, see reference. Figure 8 As can be seen, the configuration information for data traffic distribution can be considered as part of the data filling.

[0103] Furthermore, the first DSP module in this application embodiment may include N sub-DSP modules, which can process N service data respectively.

[0104] It should be noted that, in this embodiment, the first DSP module modulates M types of data streams onto the optical channel, which can be understood as follows: the first DSP module can modulate a first type of data stream onto the optical channel, the first type of data stream including configuration information for the framer module to adjust the data traffic distribution of N service data, for example, as described above; the first DSP module can modulate a second type of data stream onto the optical channel, the second type of data stream including configuration information for the framer module to adjust the data traffic distribution of N service data, for example, as described above; ...; the first DSP module can modulate an M type of data stream onto the optical channel.

[0105] It should also be noted that, in this embodiment of the application, there may be a distribution of data streams on the optical channel at the same time. Therefore, during the process of the first DSP module modulating M data streams onto the optical channel, these M data streams can be modulated onto the optical channel at different times. For example, the first DSP module can modulate the first data stream onto the optical channel in a first time range (e.g., 0-5s), modulate the second data stream onto the optical channel in a second time range (e.g., 5-10s), and so on.

[0106] Accordingly, in S330, the second DSP module obtains M data streams from the optical channel.

[0107] S340, the frame deframe module extracts the first information from each of the data streams and adjusts the data traffic distribution of the N service data according to the first information.

[0108] In this embodiment of the application, after the second DSP module obtains M types of data streams from the optical channel, it can extract first information from each of the M types of data streams and adjust the data traffic distribution of N service data according to the first information. For the specific adjustment method, please refer to the following text.

[0109] The adjustment in this embodiment can be understood as follows: after the frame deframer module extracts the first information, it can receive N service data according to the configuration information included in the first information.

[0110] Furthermore, it should be noted that in some embodiments, after the first DSP module modulates M types of data streams (each data stream includes N service data and first information) onto the optical channel, the framer module can also adjust the N service data according to the configuration information included in the first information.

[0111] S350, the second DSP module determines M SNRs based on the adjusted N service data, wherein the M SNRs include the SNR of the optical channel under each of the M data streams.

[0112] In this embodiment of the application, the second DSP module can determine the SNR of the optical channel for each of the M data streams after obtaining M data streams from the optical channel.

[0113] In this embodiment of the application, the SNR of the optical channel under each of the M data streams can be understood as: the overall SNR of the optical channel under each data stream, or it can also be understood as the SNR of the N tones included in the optical channel under each data stream.

[0114] Optionally, in some embodiments, the second DSP module determines M signal-to-noise ratios (SNRs) based on the adjusted N service data, including:

[0115] The second DSP module determines the M SNRs based on the data characteristics of the adjusted N service data.

[0116] In this embodiment, the second DSP module can determine M SNRs from the data characteristics of N service data in each data stream. For example, it can be determined by measuring the data characteristics of the service data, and there is no limitation.

[0117] S360, the second communication module sends the M SNRs to the first electronic device.

[0118] S370, the first communication module receives M SNRs.

[0119] S380, the framer module determines the target configuration information based on the M SNRs, and configures the second frame service data in the N frequency points according to the target configuration information. The target configuration information is the configuration information corresponding to the SNRs among the M SNRs that are greater than or equal to a first threshold.

[0120] In this embodiment of the application, after receiving M SNRs, the framer module can determine the configuration information corresponding to the SNR greater than the first threshold among the M SNRs as the target configuration information, and configure the second frame service data in the N frequency points according to the target configuration information.

[0121] Let's continue with the example of M=3.

[0122] Assuming the framer module receives the SNR representing the overall optical channel, such as 70dB, 110dB, and 90dB for these three SNRs, if the first threshold in this embodiment is 100, then the target configuration information can be the configuration information corresponding to 110dB; if the first threshold in this embodiment is 90, then the target configuration information can be the configuration information corresponding to 110dB and 90dB.

[0123] Optionally, in some embodiments, the target configuration information is the configuration information corresponding to the largest SNR among the M SNRs.

[0124] As shown in the example above, if the first threshold in this embodiment is 90, the target configuration information can be the configuration information corresponding to 110dB and 90dB. In this case, the second frame service data can be configured based on the configuration information corresponding to 110dB.

[0125] Assuming the framing module receives SNRs representing N tones within the optical channel, these three SRNs can be considered as three groups of SNRs, each containing N SNRs. If N = 8, for example, the first group of SNRs includes the following eight SNRs: 60dB, 100dB, 110dB, 100dB, 100dB, 80dB, 70dB, and 40dB; the second group includes: 70dB, 100dB, 100dB, 120dB, 100dB, 100dB, 90dB, and 60dB; and the third group includes: 40dB, 80dB, 90dB, 80dB, 100dB, 90dB, 110dB, and 50dB. If the first threshold in this application embodiment is 90, it can be seen that the SNR of 6 frequency points in the second group is greater than or equal to 90, then the target configuration information can be the configuration information corresponding to the second group.

[0126] The solution provided in this application embodiment modulates M types of data streams onto an optical channel. After obtaining the M types of data streams from the optical channel, the second DSP module determines the SNR of the optical channel for each of the M data streams and sends these M SNRs to a first electronic device. The framer module determines target configuration information based on these M SNRs and configures the second frame service data into N frequency points according to the target configuration information. Since the framer module can configure the second frame service data according to the target configuration information, it can adjust the distribution of data traffic in the optical channel to achieve a full match with the optical channel, thereby improving the overall performance of the system.

[0127] As stated in step S380 above, the framer module determines the target configuration information based on the M SNRs and configures the second frame service data in the N frequency points according to the target configuration information. For specific configuration methods, please refer to the following text.

[0128] Optionally, in some embodiments, configuring the second frame service data in the N frequency points according to the target configuration information includes:

[0129] The framer module configures the second frame service data in the N frequency points according to the data traffic distribution corresponding to the frequency points in the target configuration information.

[0130] In this embodiment, the second frame of service data may be data that is temporally adjacent to the first frame of service data.

[0131] After determining the target configuration information, the framer module can split the second frame of service data to be transmitted into N service data. The data size of each of these N service data can be split based on the target configuration information.

[0132] As described above, assuming the framer module receives three SNRs representing the overall optical channel: 70dB, 110dB, and 90dB, the target configuration information can be the configuration information corresponding to 110dB. Alternatively, assuming the framer module receives SNRs representing the eight tones included in the optical channel, the target configuration information can be the configuration information corresponding to the second group. That is, the above... Figure 6 As shown in (b) above, the information distribution allows the framer module to split the second frame of service data based on this information distribution and configure it on eight frequency points.

[0133] from Figure 6 As shown in (b), the data size configured on these 8 frequency points can be: Frequency 2 = Frequency 3 = Frequency 4 > Frequency 5 > Frequency 1 = Frequency 6 = Frequency 7 > Frequency 0. Assuming the second frame of service data includes 700 bits of data, this 1000 bits of service data can be split according to the above size relationship and configured on the 8 frequency points. For example, 100 bits of data can be configured on frequency points 2, 3, and 4; 90 bits of data on frequency point 5; 80 bits of data on frequency points 1, 6, and 7; and 70 bits of data on frequency point 0.

[0134] The solution provided in this application embodiment allows the framer module to configure the second frame service data according to the data traffic distribution corresponding to the target configuration information frequency point, thereby adjusting the distribution of data traffic in the optical channel to achieve a full match with the optical channel and thus improve the overall performance of the system.

[0135] Optionally, in some embodiments, before the first DSP module modulates the M data streams onto the optical channel, the method 300 further includes:

[0136] The first DSP module makes M adjustments to the N service data based on the first information;

[0137] The redundancy filling module fills redundant overhead for each of the N frequency points after M adjustments, so that the output flow of each frequency point is equal.

[0138] The first DSP module modulates M data streams onto the optical channel, including:

[0139] The first DSP module modulates the M data streams, after filling the redundant overhead, onto the optical channel.

[0140] Accordingly, for the second electronic device side:

[0141] The method 300 further includes:

[0142] The redundancy stripping module strips the adjusted N service data from the N frequency points included in each data stream.

[0143] In this embodiment, after the framer module configures the N service data included in the first frame of service data into N frequency points of the optical channel, and performs M adjustments on the N service data according to the first information, the redundancy filling module can first fill each of the N frequency points so that the output traffic of each frequency point after filling is equal. Since the framer module adjusts the data size of the N service data in different ways, the redundancy overhead of the redundancy filling module is also different for different adjustment methods.

[0144] The above Figures 5-7 The diagram illustrates three methods by which the framer module adjusts the data traffic distribution of N service data points. Specifically, for the aforementioned... Figure 5 The adjustment method shown is as follows: the framer module reduces the amount of information at frequency 0 and increases the amount of information at frequency 1, with the reduction in information at frequency 0 equal to the increase in information at frequency 1; it also reduces the amount of information at frequency 7 and increases the amount of information at frequency 6, with the reduction in information at frequency 7 equal to the increase in information at frequency 6. To ensure that the output throughput is equal at each frequency, a redundancy padding module can be used for padding.

[0145] like Figure 9 As shown, this application provides an embodiment for... Figure 5 The diagram shows the information distribution of filling redundancy overhead before and after the data traffic distribution adjustment. Among them, Figure 9 (a) in the diagram is a schematic diagram of the information distribution for filling redundant overhead before the data traffic distribution is adjusted. Figure 9 (b) in the diagram is a schematic diagram of the information distribution for filling redundant overhead after the data traffic distribution is adjusted.

[0146] Combination Figure 9As shown in (a) and (b), before the data traffic distribution adjustment, the amount of effective information on frequency point 0 and frequency point 1 is equal (assuming both are 100 bits). Therefore, the redundancy filling module can fill with the same amount of redundancy overhead, such as 28 bits of redundancy overhead on both. However, after the data traffic distribution adjustment, the effective information on frequency point 0 is less than that on frequency point 1 (assuming the effective information on frequency point 0 is 90 bits and the effective information on frequency point 1 is 110 bits). Therefore, the redundancy filling module can fill with different amounts of redundancy overhead. Specifically, the redundancy overhead filled on frequency point 0 is less than that filled on frequency point 1, such as 38 bits of redundancy overhead on frequency point 0 and 18 bits of redundancy overhead on frequency point 1. Similarly, redundancy overhead can be filled for frequency points 6 and 7 accordingly.

[0147] Regarding the above Figure 6 The adjustment method shown is that the framer module reduces the amount of information at frequency 0 and increases the amount of information at frequency 2, with the amount of information reduced at frequency 0 being equal to the amount of information increased at frequency 2. In this case, to ensure that the output throughput is equal at each frequency, a redundancy padding module can be used for padding.

[0148] like Figure 10 As shown, this application provides an embodiment for... Figure 6 The diagram shows the information distribution of filling redundancy overhead before and after the data traffic distribution adjustment. Among them, Figure 10 (a) in the diagram is a schematic diagram of the information distribution for filling redundant overhead before the data traffic distribution is adjusted. Figure 10 (b) in the diagram is a schematic diagram of the information distribution for filling redundant overhead after the data traffic distribution is adjusted.

[0149] Combination Figure 10 As shown in (a) and (b), before the data traffic distribution adjustment, the amount of effective information on frequency point 0 is less than that on frequency point 2 (assuming the effective information on frequency point 0 is 100 bits and the effective information on frequency point 2 is 110 bits). Therefore, the redundancy filling module can fill different sizes of redundancy overhead. Specifically, the redundancy overhead filled on frequency point 0 is greater than that filled on frequency point 2, such as filling 28 bits of redundancy overhead on frequency point 0 and 18 bits of redundancy overhead on frequency point 2. After the data traffic distribution adjustment, the effective information on frequency point 0 decreases, while the effective information on frequency point 2 increases (assuming the effective information on frequency point 0 is 90 bits and the effective information on frequency point 2 is 120 bits). Therefore, compared to before the data traffic distribution adjustment, the redundancy overhead filled by the redundancy filling module on frequency point 0 increases, while the redundancy overhead filled on frequency point 2 decreases, such as filling 38 bits of redundancy overhead on frequency point 0 and 8 bits of redundancy overhead on frequency point 2.

[0150] Regarding the above Figure 7 The adjustment method shown is as follows: the framer module reduces the amount of information at frequency point 1 and increases the amount of information at frequency point 2, with the reduction in information at frequency point 1 equal to the increase in information at frequency point 2; simultaneously, the framer module reduces the amount of information at frequency point 6 and increases the amount of information at frequency point 5, with the reduction in information at frequency point 6 equal to the increase in information at frequency point 7. To ensure that the output throughput is equal at each frequency point, a redundancy padding module can be used for padding.

[0151] like Figure 11 As shown, this application provides an embodiment for... Figure 7 The diagram shows the information distribution of filling redundancy overhead before and after the data traffic distribution adjustment. Among them, Figure 11 (a) in the diagram is a schematic diagram of the information distribution for filling redundant overhead before the data traffic distribution is adjusted. Figure 11 (b) in the diagram is a schematic diagram of the information distribution for filling redundant overhead after the data traffic distribution is adjusted.

[0152] Combination Figure 11 As shown in (a) and (b), before the data traffic distribution adjustment, the amount of effective information on frequency point 1 is less than that on frequency point 2 (assuming the effective information on frequency point 1 is 100 bits and the effective information on frequency point 2 is 110 bits). Therefore, the redundancy filling module can fill different sizes of redundancy overhead. Specifically, the redundancy overhead filled on frequency point 1 is greater than that filled on frequency point 2, such as filling 28 bits of redundancy overhead on frequency point 0 and 18 bits of redundancy overhead on frequency point 2. After the data traffic distribution adjustment, the effective information on frequency point 1 decreases and the effective information on frequency point 2 increases (assuming the effective information on frequency point 1 is 90 bits and the effective information on frequency point 2 is 120 bits). Therefore, compared to before the data traffic distribution adjustment, the redundancy overhead filled by the redundancy filling module increases on frequency point 1 and decreases on frequency point 2, such as filling 38 bits of redundancy overhead on frequency point 1 and 8 bits of redundancy overhead on frequency point 2. Similarly, redundant overhead can be filled for frequency points 5 and 6.

[0153] It should be noted that in the above embodiments, the redundancy overhead filled by the redundancy filling module makes the output traffic of each frequency point equal to 128 bits. In some embodiments, the redundancy overhead filled by the redundancy filling module can make the output traffic of each frequency point equal to 256 bits, etc., and there is no limitation.

[0154] The solution provided in this application embodiment allows for the following steps: after the framer module adjusts the data size of N service data, the redundancy filling module can be used to fill each of the N frequency points to ensure that the output traffic of each frequency point after filling is equal. This enables the user to be unaware of changes in traffic distribution during subsequent data processing, ensuring the continuity of traffic before and after adjustment, thereby achieving flexible and lossless switching that is imperceptible to the user.

[0155] Optionally, in some embodiments, the i-th service data among the N service data includes F i The amount of data in bits, and R is the clock cycle, and Q is the valid data included in each clock cycle;

[0156] Before the first DSP module modulates the M data streams onto the optical channel, the method 300 further includes:

[0157] The framing module converts the R*Q bits of data into... The amount of data is T bits, where S is the clock cycle, and each clock cycle includes T bits of effective data. i Bit;

[0158] The first DSP module modulates M data streams onto the optical channel, including:

[0159] The first DSP module modulates the converted M data streams onto the optical channel.

[0160] In this embodiment of the application, before the first DSP module modulates the M data streams onto the optical channel, the data size of the N service data output by the framer module can be converted in format. This format conversion can be understood as converting the clock cycle (also called "beat") included in the i-th frequency point among the N frequency points.

[0161] As described above, the framer module can allocate the N service data items included in the first frame of service data to N frequency points of the optical channel. The amount of data on each frequency point may be different, that is, the amount of effective data on the clock of different frequency points is different. Therefore, the framer module needs to adjust the amount of data allocated to each frequency point. Without loss of generality, we describe the data allocation process (i.e., format conversion) in terms of one FEC frame.

[0162] like Figure 12 The diagram shown is a schematic representation of a data format conversion method provided in an embodiment of this application. Wherein, Figure 12 (a) in the diagram is a schematic diagram before the data format conversion. Figure 12 (b) Figure 12 (c) Figure 12(d) in the diagram represents the data after format conversion.

[0163] refer to Figure 12 As shown in (a), in an FEC frame, the original service data has 8 clock cycles, each clock cycle includes Q bits of valid data, for a total data volume of 8 * Q bits. In a certain data traffic allocation method, the amount of valid data to be allocated on each frequency point is T. i For the 8*Q bits (i = 1, 2, 3…N), a framing module is needed to allocate the 8*Q bits of data to each frequency point as required. Assuming the allocated data has 6 clock cycles, the allocation ensures that 8*Q = 6*(T1 + T2 + … + T…). N The above 8, 6, Q, and T i These are all based on the system's design parameters, and will not be described in detail here.

[0164] In addition, to match subsequent modules, the redundancy filling module can fill K. i Invalid data in bits.

[0165] For example, before the data format conversion, each of these 8 clock cycles includes 90 bits of valid data; for Figure 12 In (b), after the data format conversion, frequency point 0 includes 6 clock cycles, each clock cycle includes 120 bits of valid data. At the same time, in order to match subsequent modules, a certain number of invalid data can be inserted, such as 8 bits of invalid data.

[0166] for Figure 12 In (c), after the data format conversion, frequency point 1 includes 6 clock cycles, each clock cycle includes 122 bits of valid data. At the same time, in order to match subsequent modules, a certain number of invalid data can be inserted, such as 6 bits of invalid data.

[0167] And so on...

[0168] for Figure 12 In (d), after data format conversion, frequency point 7 includes 6 clock cycles, each clock cycle includes 116 bits of valid data. At the same time, in order to match subsequent modules, a certain amount of invalid data can be inserted, such as 12 bits of invalid data.

[0169] Refer to the above Figure 12 As can be seen, the framing module divides the original service data into 6 clock cycles, and the amount of valid data in each clock cycle may be different. Invalid data can be inserted into the clock cycles included in a frequency point, such as... Figure 12In (b) of the above, 8 bits of invalid data are inserted into the 6 clock cycles included at frequency point 0, or... Figure 12 In (c) of the above, 6 bits of invalid data are inserted within the 6 clock cycles included at frequency point 1, or... Figure 12 In (d), 12 bits of invalid data are inserted into the 6 clock cycles included at frequency 7.

[0170] The solution provided in this application embodiment allows the framer module to first convert R*Q bits of data into... The data volume is limited to bits. At the same time, the redundancy padding module can invalidate the data in each clock cycle, so that the amount of data in each clock cycle after padding is equal, in order to match the data format required by subsequent modules.

[0171] Optionally, in some embodiments, the framing module converts the R*Q bits of data into... The amount of data in bits includes:

[0172] The framing module converts the R*Q bits of data into [data] based on the sampling rate of the digital-to-analog converter. The amount of data in bits.

[0173] In this embodiment, the framing module can perform data format conversion based on the sampling rate of the digital-to-analog converter (DAC). For example, if the DAC's sampling rate is 64GHz, in the system design, the data throughput per redundant padding module is 64*F Gbps (F is an inherent value in the system design). Assuming the system clock frequency is 500MHz, the output data volume of each redundant padding module is 64*F / 0.5 = 128*F bits. For the sake of generality, let's assume F = 1. In this case, the output data volume of each redundant padding module is 128 bits. Therefore, the framing module and the redundant padding module are needed to convert the original service data into 128 bits of data per clock cycle (valid data + redundant padding data).

[0174] As mentioned above Figure 12 (b) Figure 12 (c) and Figure 12 As shown in (d), each clock cycle includes 128 bits of data, the difference being the amount of valid data and the amount of invalid data.

[0175] Step S340 above states that the frame deframer module extracts the first information from each of the data streams and adjusts the data traffic distribution of the N service data according to the first information. Please refer to the following text for specific adjustment methods.

[0176] In this embodiment, if the second DSP module obtains three data streams from the optical channel, and each data stream includes configuration information for the framer module to adjust the data traffic distribution of N service data, the frame deframer module can extract the configuration information for adjusting the data traffic distribution of N service data from these three data streams respectively, and make corresponding adjustments based on the extracted configuration information.

[0177] For example, as described above Figures 5-7 The diagram illustrates how the framer module adjusts the data traffic distribution of N service data in three ways. The second DSP module obtains three data streams from the optical channel, and the framer module can extract the configuration information for adjusting the data traffic distribution of the N service data from these three data streams respectively.

[0178] As mentioned above Figure 5 The adjustment method shown is as follows: the framer module reduces the amount of information at frequency 0 and increases the amount of information at frequency 1, with the reduction in information at frequency 0 equal to the increase in information at frequency 1; the framer module reduces the amount of information at frequency 7 and increases the amount of information at frequency 6, with the reduction in information at frequency 7 equal to the increase in information at frequency 6. After obtaining the corresponding data stream, the second DSP module can extract the configuration information corresponding to this adjustment method from the data stream and adjust the N service data accordingly based on this configuration information.

[0179] Assumption Figure 5 In (a) of the diagram, the effective information sizes on frequencies 0 to 7 are 100 bits, 100 bits, 110 bits, 120 bits, 120 bits, 110 bits, 100 bits, and 100 bits, respectively. After the frame deframer module on the receiving side extracts the configuration information under this adjustment method (the configuration information can be to reduce the amount of information on frequency 0 and increase the amount of information on frequency 1, and the amount of information reduced on frequency 0 is equal to the amount of information increased on frequency 1 (e.g., reducing and increasing the amount of information by 10 bits); at the same time, the framer module reduces the amount of information on frequency 7 and increases the amount of information on frequency 6, and the amount of information reduced on frequency 7 is equal to the amount of information increased on frequency 6 (e.g., reducing and increasing the amount of information by 10 bits)), it can make corresponding adjustments on the corresponding frequencies, that is, adjust the data sizes on frequencies 0 to 7 to 90 bits, 110 bits, 110 bits, 120 bits, 120 bits, 110 bits, 110 bits, and 90 bits, respectively.

[0180] As mentioned above Figure 6The adjustment method shown is that the framer module reduces the amount of information at frequency point 0 and increases the amount of information at frequency point 2, and the amount of information reduced at frequency point 0 is equal to the amount of information increased at frequency point 2. After the second DSP module obtains the corresponding data stream, the frame deframer module can extract the configuration information corresponding to this adjustment method from the data stream and adjust the N service data accordingly based on this configuration information.

[0181] Similarly, assuming Figure 6 In (a), the effective information sizes on frequency points 0 to 7 are 100 bits, 100 bits, 110 bits, 120 bits, 120 bits, 110 bits, 100 bits, and 100 bits respectively. After the frame deframe module on the receiving side extracts the configuration information under this adjustment method (the configuration information can be to reduce the amount of information on frequency point 0 and increase the amount of information on frequency point 2, and the amount of information reduced on frequency point 0 is equal to the amount of information increased on frequency point 2 (e.g., reducing and increasing the amount of information by 10 bits)), it can make corresponding adjustments on the corresponding frequency points, that is, adjust the data sizes on frequency points 0 to 7 to 90 bits, 100 bits, 120 bits, 120 bits, 120 bits, 110 bits, 100 bits, and 100 bits respectively.

[0182] As mentioned above Figure 7 The adjustment method shown is as follows: the framer module reduces the amount of information at frequency point 1 and increases the amount of information at frequency point 2, with the reduction in information at frequency point 1 equal to the increase in information at frequency point 2; simultaneously, the framer module reduces the amount of information at frequency point 6 and increases the amount of information at frequency point 5, with the reduction in information at frequency point 6 equal to the increase in information at frequency point 7. After obtaining the corresponding data stream, the second DSP module can extract the configuration information corresponding to this adjustment method from the data stream and adjust the N service data accordingly based on this configuration information.

[0183] Similarly, assuming Figure 7In (a) of the diagram, the effective information sizes on frequencies 0 to 7 are 100 bits, 100 bits, 110 bits, 120 bits, 120 bits, 110 bits, 100 bits, and 100 bits, respectively. After the frame deframer module on the receiving side extracts the configuration information under this adjustment method (the configuration information can be to reduce the amount of information on frequency 1, increase the amount of information on frequency 2, and the amount of information reduced on frequency 1 is equal to the amount of information increased on frequency 2 (e.g., reduce and increase the amount of information by 10 bits); at the same time, the framer module reduces the amount of information on frequency 6, increases the amount of information on frequency 5, and the amount of information reduced on frequency 6 is equal to the amount of information increased on frequency 7 (e.g., reduce and increase the amount of information by 10 bits)), it can make corresponding adjustments on the corresponding frequencies, that is, adjust the data sizes on frequencies 0 to 7 to 100 bits, 90 bits, 120 bits, 120 bits, 120 bits, 120 bits, 90 bits, and 100 bits, respectively.

[0184] The solution provided in this application embodiment involves the second DSP module obtaining M types of data streams from the optical channel, the frame deframer module extracting first information from each type of data stream (the first information includes configuration information for the framer module to adjust the data traffic distribution of the N service data), and making corresponding adjustments based on the first information. At the same time, M SNRs are determined based on the adjusted data traffic distribution, so that the framer module can determine the target configuration information for configuring the second frame service data based on the M SNRs to fully match the optical channel, thereby improving the overall performance of the system.

[0185] As stated in step S340 above, the frame deframer module extracts first information from each data stream. In some embodiments, the data traffic distribution of N service data can be adjusted if the extracted first information is found to be correct.

[0186] Optionally, in some embodiments, the frame deframer module extracts the first information from each of the data streams, including:

[0187] The frame deframe module extracts the first information from each of the data streams multiple times;

[0188] The method further includes:

[0189] When the first information extracted by the frame deframe module from each of the data streams is the same multiple times, the first information is confirmed to be correct.

[0190] The step of adjusting the data traffic distribution of the N business data based on the first information includes:

[0191] If the first information is confirmed to be correct, the frame deframe module adjusts the data traffic distribution of the N service data according to the first information.

[0192] In this embodiment, the frame deframer module extracts the first information from each data stream multiple times, and performs corresponding configuration based on the first information if the first information is confirmed to be correct.

[0193] Based on the above Figure 5 Taking (b) as an example, the frame deframe module can extract the first information from the corresponding data stream multiple times. Assuming that the frame deframe module extracts the first information 10 times and the first information extracted in these 10 times is the same, the receiving side can adjust the data traffic distribution of N service data according to the first information.

[0194] Similarly, for the above Figure 6 (b) Figure 7 As shown in (b), the frame deframe module can extract the first information from the corresponding data stream multiple times, and adjust the data traffic distribution of N business data according to the first information after confirming that the first information is correct.

[0195] The solution provided in this application embodiment allows the frame deframer module to extract the first information from each type of data stream multiple times. If the first information is confirmed to be correct, the data traffic distribution of N service data can be adjusted according to the first information, which can further improve the performance of the system.

[0196] It should be understood that the values ​​shown in the above embodiments are merely illustrative examples and may be other values, and should not impose any particular limitation on this application.

[0197] It is understood that, in order to achieve the above-mentioned functions, electronic devices include hardware and / or software modules that perform the respective functions. Based on the algorithmic steps of the examples described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.

[0198] This embodiment can divide the electronic device into functional modules according to the above method example. For example, each function can be divided into a separate functional module, or two or more functions can be integrated into one processing module, as described above. Figure 2As shown, the integrated modules described above can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and represents only one logical functional division; in actual implementation, other division methods may be used.

[0199] When dividing each function into modules according to its corresponding function. Figure 13 A schematic diagram of a possible composition of the electronic device 1300 involved in the above embodiments is shown, such as... Figure 13 As shown, the electronic device 1300 may include: a framer module 1310, a first DSP module 1320, and a first communication module 1330.

[0200] The framing module 1310 can be used to support the electronic device 1300 in performing the above steps S310, S380, etc., and / or other processes used in the technology described herein.

[0201] The first DSP module 1320 can be used to support the electronic device 1300 in performing the above-described steps S320, and / or other processes for the technology described herein.

[0202] The first communication module 1330 can be used to support the electronic device 1300 in performing the above-described steps S370, and / or other processes for the technology described herein.

[0203] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0204] Figure 14 A schematic diagram of a possible composition of the electronic device 1400 involved in the above embodiments is shown, such as... Figure 14 As shown, the electronic device 1400 may include: a frame deframer module 1410, a second DSP module 1420, and a second communication module 1430.

[0205] The frame deframe module 1410 can be used to support the electronic device 1400 in performing the above-described steps S340, and / or other processes used in the techniques described herein.

[0206] The second DSP module 1420 can be used to support the electronic device 1400 in performing the above steps S330, S350, etc., and / or other processes used in the technology described herein.

[0207] The second communication module 1430 can be used to support the electronic device 1400 in performing the above-described steps S360, etc., and / or other processes for the technology described herein.

[0208] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0209] The electronic device provided in this embodiment is used to execute the method of this application described above, and therefore can achieve the same effect as the above implementation method.

[0210] The processing module (such as the first DSP module and the second DSP module described above) can be a processor or a controller. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.

[0211] This embodiment also provides a computer storage medium storing computer instructions. When the computer instructions are executed on an electronic device, the electronic device performs the aforementioned method steps to implement the methods described in the above embodiments.

[0212] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement the methods described in the above embodiments.

[0213] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component, or module. The apparatus may include a connected processor and a memory; wherein the memory is used to store computer execution instructions, and when the apparatus is running, the processor may execute the computer execution instructions stored in the memory to cause the chip to execute the methods in the above-described method embodiments.

[0214] In this embodiment, the electronic device, computer storage medium, computer program product or chip are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding method provided above, and will not be repeated here.

[0215] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, 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 device can be divided into different functional modules to complete all or part of the functions described above.

[0216] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0217] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0218] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0219] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0220] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for adjusting the traffic distribution in an optical channel, characterized in that, The method is applied to a first electronic device, and the method includes: The framer module configures the N service data included in the first frame of service data into N frequency points of the optical channel, where N is an integer greater than or equal to 2. The first digital signal processing (DSP) module modulates M types of data streams onto the optical channel. Each of the M types of data streams includes the N service data and first information. The first information includes configuration information for the framer module to adjust the data traffic distribution of the N service data. M is an integer greater than or equal to 2. The first communication module receives M signal-to-noise ratios (SNRs), wherein the M SNRs include the SNR of the optical channel under each of the M data streams; The framer module determines the target configuration information based on the M SNRs, and configures the second frame service data in the N frequency points according to the target configuration information. The target configuration information is the configuration information corresponding to the SNRs that are greater than or equal to the first threshold among the M SNRs.

2. The method as described in claim 1, characterized in that, The step of configuring the second frame service data in the N frequency points according to the target configuration information includes: The framer module configures the second frame service data in the N frequency points according to the data traffic distribution corresponding to the frequency points in the target configuration information.

3. The method as described in claim 1 or 2, characterized in that, Before the first DSP module modulates the M data streams onto the optical channel, the method further includes: The first DSP module makes M adjustments to the N service data based on the first information; The redundancy filling module fills redundant overhead for each of the N frequency points after M adjustments, so that the output flow of each frequency point is equal. The first DSP module modulates M data streams onto the optical channel, including: The first DSP module modulates the M data streams, after filling the redundant overhead, onto the optical channel.

4. The method according to any one of claims 1 to 3, characterized in that, The i-th business data among the N business data includes F i The amount of data in bits, and R is the clock cycle, and Q is the valid data included in each clock cycle; Before the first DSP module modulates the M data streams onto the optical channel, the method further includes: The framing module converts the R*Q bits of data into... The amount of data in bits, where S is the clock cycle, and the effective data amount in each clock cycle is T. i Bit; The first DSP module modulates M data streams onto the optical channel, including: The first DSP module modulates the converted M data streams onto the optical channel.

5. The method as described in claim 4, characterized in that, The framing module converts the R*Q bits of data into... The amount of data in bits includes: The framing module converts the R*Q bits of data into [data] based on the sampling rate of the digital-to-analog converter. The amount of data in bits.

6. A method for adjusting the traffic distribution in an optical channel, characterized in that, The method is applied to a second electronic device, and the method includes: The second digital signal processing (DSP) module obtains M types of data streams from the optical channel. Each of the M types of data streams includes N service data and first information. The first information includes configuration information for the framer module to adjust the data traffic distribution of the N service data. M and N are integers greater than or equal to 2. The frame deframe module extracts the first information from each of the data streams and adjusts the data traffic distribution of the N service data according to the first information; The second DSP module determines M signal-to-noise ratios (SNRs) based on the adjusted N service data, wherein the M SNRs include the SNR of the optical channel under each of the M data streams; The second communication module sends the M SNRs to the first electronic device.

7. The method as described in claim 6, characterized in that, Each data stream includes N service data points from N frequency points after filling in redundant overhead; The method further includes: The redundancy stripping module strips the adjusted N service data from the N frequency points included in each data stream.

8. The method as described in claim 6 or 7, characterized in that, The frame deframe module extracts the first information from each of the data streams, including: The frame deframe module extracts the first information from each of the data streams multiple times; The method further includes: When the first information extracted by the frame deframe module from each of the data streams is the same multiple times, the first information is confirmed to be correct. The step of adjusting the data traffic distribution of the N business data based on the first information includes: If the first information is confirmed to be correct, the frame deframe module adjusts the data traffic distribution of the N service data according to the first information.

9. The method according to any one of claims 6 to 8, characterized in that, The second DSP module determines M signal-to-noise ratios (SNRs) based on the adjusted N service data, including: The second DSP module determines the M SNRs based on the data characteristics of the adjusted N service data.

10. An electronic device, characterized in that, include: One or more processors; One or more memory units; The one or more memories store one or more computer programs, the one or more computer programs including instructions that, when executed by the one or more processors, cause the electronic device to perform the method as described in any one of claims 1 to 5 or 6 to 9.

11. A chip system, characterized in that, The chip system includes at least one processor, which, when program instructions are executed in the at least one processor, enables the function of the method as described in any one of claims 1 to 5 or 6 to 9 on the electronic device.

12. A computer storage medium, characterized in that, Includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1 to 5 or 6 to 9.

13. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1 to 5 or 6 to 9.