OPTICAL TRANSMITTER AND OPTICAL MODULATION METHOD

20230138252 · 2023-05-04

    Inventors

    Cpc classification

    International classification

    Abstract

    An optical transmitter, including a wavelength selector and a plurality of modulator groups, is proposed. Each modulator group includes a plurality of modulators, and operating wavelengths of any two modulators in a same modulator group are different. The wavelength selector is configured to: obtain a first beam from a multi-wavelength light source, and generate a second beam based on the first beam, where the second beam includes some of the plurality of wavelengths. A first modulator in a first modulator group is configured to modulate first to-be-sent data onto a first wavelength in the second beam.

    Claims

    1. An optical transmitter, comprising a wavelength selector and a plurality of modulator groups, wherein each modulator group comprises a plurality of modulators, and operating wavelengths of any two modulators in a same modulator group are different, wherein the wavelength selector is configured to: obtain a first beam from a multi-wavelength light source, and generate a second beam based on the first beam, wherein the first beam comprises a plurality of wavelengths, and the second beam comprises some of the plurality of wavelengths; and a first modulator in a first modulator group is configured to modulate first to-be-sent data onto a first wavelength in the second beam.

    2. The optical transmitter according to claim 1, wherein the wavelength selector comprises a plurality of output ports, the plurality of modulator groups are in one-to-one correspondence with the plurality of output ports, and each modulator group receives a beam from a corresponding output port; and the wavelength selector is further configured to output the second beam from an output port corresponding to the first modulator group.

    3. The optical transmitter according to claim 2, wherein the wavelength selector comprises at least two operating states, and wavelengths of beams output from a same output port in different operating states are different; and the optical transmitter further comprises a first controller, configured to control an operating status of the wavelength selector, so that a wavelength of a beam output from the output port corresponding to the first modulator group comprises the first wavelength.

    4. The optical transmitter according to claim 3, wherein the wavelength selector comprises a plurality of filters and an optical switch, the optical switch comprises a plurality of input ports and a plurality of output ports, the plurality of input ports are in one-to-one correspondence with the plurality of filters, each of the plurality of input ports is configured to receive a beam from a corresponding filter, the plurality of modulator groups are in one-to-one correspondence with the plurality of output ports, each of the plurality of modulator groups receives a beam from a corresponding output port, the wavelength selector comprises at least two operating states, and wavelengths of beams output from a same output port in different operating states are different, wherein a first filter in the plurality of filters is configured to filter the first beam to generate the second beam; and the optical transmitter further comprises a first controller, configured to control an operating status of the first filter based on an input port corresponding to the first filter, so that the wavelength of the beam output from the output port corresponding to the first modulator group comprises the first wavelength.

    5. The optical transmitter according to claim 4, wherein each of the plurality of filters comprises a plurality of filtering states, and beams output by a same filter in different filtering states comprise different wavelengths; and the optical transmitter further comprises a second controller, configured to control a filtering status of the first filter, so that a beam output by the first filter comprises the first wavelength.

    6. The optical transmitter according to claim 5, wherein the optical switch comprises a plurality of Mach-Zehnder interferometers.

    7. The optical transmitter according to claim 6, wherein the wavelength selector comprises a plurality of Mach-Zehnder interferometers.

    8. The optical transmitter according to claim 7, wherein the first modulator comprises a plurality of operating wavelengths that are periodically distributed, and the first wavelength belongs to the plurality of operating wavelengths.

    9. The optical transmitter according to claim 8, wherein the optical transmitter further comprises a third controller, configured to adjust a first parameter of the first modulator, so that the operating wavelength of the first modulator comprises the first wavelength, and the first parameter comprises an effective refractive index.

    10. The optical transmitter according to claim 9, wherein the optical transmitter further comprises the multi-wavelength light source.

    11. An optical modulation method, comprising: generating a second beam based on a first beam, wherein the first beam comprises a plurality of wavelengths, and the second beam comprises some of the plurality of wavelengths; and modulating to-be-sent data onto a first wavelength in the second beam, wherein the first wavelength is a wavelength corresponding to a receiving device of the to-be-sent data.

    12. The method according to claim 11, wherein the generating a second beam based on a first beam comprises: processing the first beam by using a wavelength selector to generate the second beam; and the modulating to-be-sent data onto a first wavelength in the second beam comprises: modulating the to-be-sent data onto the first wavelength in the second beam by using a first modulator in a plurality of modulators comprised in a first modulator group in a plurality of modulator groups, wherein an operating wavelength of the first modulator comprises the first wavelength.

    13. The method according to claim 12, wherein the wavelength selector comprises a plurality of output ports, the plurality of modulator groups are in one-to-one correspondence with the plurality of output ports, and each of the plurality of modulator groups receives a beam from a corresponding output port; and the method further comprises: controlling the wavelength selector to output the second beam from an output port corresponding to the first modulator group.

    14. The method according to claim 13, wherein the wavelength selector comprises at least two operating states, and wavelengths of beams output from a same output port in different operating states are different; and the controlling the wavelength selector to output the second beam from an output port corresponding to the first modulator group comprises: controlling an operating status of the wavelength selector, so that a wavelength of a beam output from the output port corresponding to the first modulator group comprises the first wavelength.

    15. The method according to claim 14, wherein the wavelength selector comprises an optical switch, the optical switch comprises a plurality of output ports, the plurality of modulator groups are in one-to-one correspondence with the plurality of output ports, and each of the plurality of modulator groups receives a beam from a corresponding output port; and the method further comprises: controlling the optical switch to output the second beam from the output port corresponding to the first modulator group.

    16. The method according to claim 15, wherein the wavelength selector comprises a filter; and the processing the first beam by using a wavelength selector to generate the second beam comprises: performing filtering processing on the first beam by using the filter to generate the second beam.

    17. The method according to claim 16, wherein the filter comprises a plurality of filtering states, and beams output by a same filter in different filtering states comprise different wavelengths; and the method further comprises: controlling a filtering status of the filter, so that a beam output by the filter comprises the first wavelength.

    18. The method according to claim 17, wherein the first modulator comprises a plurality of operating wavelengths that are periodically distributed, and the first wavelength belongs to the plurality of operating wavelengths.

    19. The method according to claim 18, wherein the method further comprises: adjusting a first parameter of the first modulator, so that the operating wavelength of the first modulator comprises the first wavelength, and the first parameter comprises an effective refractive index.

    Description

    BRIEF DESCRIPTION OF DRAWINGS

    [0048] FIG. 1 is a schematic diagram of an example of a structure of an optical transmitter according to this application;

    [0049] FIG. 2 is a schematic diagram of an example of output spectrums of a plurality of modulators in a same modulator group;

    [0050] FIG. 3 is a schematic diagram of an example of an output spectrum of one modulator;

    [0051] FIG. 4 is a schematic diagram of a configuration manner of a plurality of modulators in one modulator group according to this application;

    [0052] FIG. 5 is a schematic diagram of another configuration manner of a plurality of modulators in one modulator group according to this application;

    [0053] FIG. 6 is a schematic diagram of an implementation of a wavelength selector according to this application;

    [0054] FIG. 7 is a schematic diagram of another implementation of a wavelength selector according to this application;

    [0055] FIG. 8 is a schematic flowchart of an example of an optical modulation method according to this application; and

    [0056] FIG. 9 is a schematic diagram of an example of a computing system applicable to an optical transmitter according to this application.

    DESCRIPTION OF EMBODIMENTS

    [0057] The following describes technical solutions of this application with reference to the accompanying drawings.

    [0058] FIG. 1 shows a structure of an optical transmitter 100 according to this application. As shown in FIG. 1, the optical transmitter 100 includes a wavelength selector 110 and a plurality of modulator groups 120. The wavelength selector 110 includes a plurality of output ports 112. The plurality of output ports 112 are in one-to-one correspondence with the plurality of modulator groups 120, and there is an optical communication connection between each output port 112 and a corresponding modulator group, in other words, a beam output from one output port 112 can be transmitted to a modulator group of the output port 112.

    [0059] Each modulator group 120 includes a plurality of modulators. Operating wavelengths of any two modulators in each modulator group are different. The modulator is configured to modulate data or information onto an input beam, and specifically, modulate the data or the information onto a wavelength that is in the beam and that matches an operating wavelength of the modulator, so that an optical signal is generated.

    [0060] It should be noted that the modulator may also be referred to as an optical modulator, configured to convert an input electrical signal into an optical signal, and inject the optical signal into a fiber line to the greatest extent by using a coupling technology. A process of converting the electrical signal into the optical signal is optical modulation. The modulator in this application may include but is not limited to an acousto-optic modulator, a magneto-optic modulator, an electro-optic modulator, an electro-absorption modulator, or the like.

    [0061] The electro-optic modulator implements optical modulation because a refractive index of an electro-optical crystal (for example, lithium niobate) changes with an external electric field, namely, an electro-optic effect, that is, a refractive index, an absorption rate, amplitude, or a phase of output light is finally controlled by a change of a voltage or the electric field. By way of example but not limitation, in this application, the electro-optic modulator may be a microring modulator, a Mach-Zehnder interferometer (MZI) modulator, or a modulator using bulk materials.

    [0062] The magneto-optic modulator implements optical modulation because a polarization plane of light may rotate under the action of a magnetic field when the light passes through a magneto-optic crystal (for example, yttrium iron garnet). The acousto-optic modulator implements optical modulation because a material (for example, lithium niobate) is strained under the action of an acoustic wave and a refractive index changes, namely, a photoelastic effect. A waveguide optical modulator implements electro-optic, magneto-optic, or acousto-optic modulation by producing a thin film optical waveguide on a substrate by using an integrated optical technology.

    [0063] In this application, the modulator has an operating wavelength, that is, the modulator can modulate data onto a beam including a wavelength that matches (for example, is the same as) the operating wavelength of the modulator.

    [0064] FIG. 2 and FIG. 3 are schematic diagrams of a spectrum of an output optical signal (namely, a modulated optical signal) of a modulator. As shown in FIG. 2, for example, when a microring modulator is used as the modulator in this application, an optical signal output by each modulator has a resonance peak. The operating wavelength of the modulator is set near the resonance peak, for example, on a sidewall of the resonance peak. Therefore, if a wavelength of a beam input to the modulator (for example, a microring modulator) does not meet an operating wavelength condition, the modulator does not modulate data onto the beam.

    [0065] It should be understood that a manner of setting the operating wavelength shown in FIG. 2 is merely an example for description, and does not constitute a limitation on this application, and the operating wavelength of the modulator may change with a type of the modulator accordingly.

    [0066] In an implementation, an operating status of the modulator (or the operating wavelength of the modulator) may be adjusted, so that the operating wavelength of the modulator matches the wavelength of the input beam, thereby implementing modulation of input light.

    [0067] By way of example but not limitation, an effective refractive index of a waveguide of the modulator (for example, a microring modulator or an MZI modulator) may be changed by using a thermo-optic effect, so that the operating wavelength of the modulator is changed. That is, optionally, the optical transmitter 100 may further include a controller 130 (namely, an example of a third controller). The controller 130 may determine a wavelength corresponding to to-be-sent data (or to-be-modulated data). Specifically, the optical transmitter 100 in this application may be applied to an optical switching network that is based on a wavelength-sensitive OXC. The wavelength corresponding to the to-be-sent data may be understood as a wavelength corresponding to a receiving end of the to-be-sent data. In other words, the optical switching network can transmit the to-be-sent data to the receiving end of the to-be-sent data based on the wavelength corresponding to the to-be-sent data.

    [0068] The controller 130 may determine whether an operating wavelength of each modulator in each modulator group in the optical transmitter 100 includes the wavelength corresponding to the to-be-sent data. For example, the controller 130 may determine an initial operating wavelength of each modulator in each modulator group through user input, factory setting, or the like, and update and record an updated operating wavelength of the modulator each time the operating wavelength is adjusted.

    [0069] If operating wavelengths of the modulators do not include the wavelength corresponding to the to-be-sent data, the controller 130 may further adjust operating wavelengths of one or more modulators in one or more modulator groups, so that an adjusted operating wavelength of at least one modulator includes the wavelength corresponding to the to-be-sent data.

    [0070] Wavelengths λ.sub.1, λ.sub.2, λ.sub.3, and λ.sub.4 are respectively set for modulators R1, R2, R3, and R4 shown in FIG. 2, and spacings between the four wavelengths are not equal to integer multiples of an FSR. Therefore, each of the four modulators modulates only an optical signal whose wavelength matches an operating wavelength of the modulator, and does not modulate optical signals whose wavelengths match operating wavelengths of the other three modulators.

    [0071] In this application, one modulator may include a plurality of operating wavelengths. Specifically, as shown in FIG. 3, an output optical signal of the modulator has a periodic characteristic on a spectrum. Specifically, a resonance peak of the output optical signal has the periodic characteristic on the spectrum to form a free spectral range (Free Spectral Range, FSR). Assuming that a wavelength λ.sub.i meets an operating wavelength condition of the modulator, when a wavelength λ.sub.j of an input beam of the modulator meets λ.sub.j=λ.sub.i+k*FSR, and k is an integer, the wavelength of the input beam meets the operating wavelength condition of the microring modulator, and may be used for modulation by the modulator.

    [0072] It should be understood that the periodic characteristic shown in FIG. 3 is merely an example, and this application is not limited thereto. When another type of modulator (for example, an MZI modulator) is used, a frequency of an output optical signal does not have a resonance peak, but the frequency of the output optical signal also has the periodic characteristic.

    [0073] In this case, assuming that the optical transmitter 100 includes four modulator groups, and sets of operating wavelengths of modulators included in all of the four modulator groups are {λ.sub.1, λ.sub.2, λ.sub.3, λ.sub.4}, {λ.sub.5, λ.sub.6, λ.sub.7, λ.sub.8}, {λ.sub.9, λ.sub.10, λ.sub.11, λ.sub.12}, and {λ.sub.13, λ.sub.14, λ.sub.15, λ.sub.16}, in a possible implementation, a spacing between wavelengths at corresponding locations (for example, a same location) in any two sets is an integer multiple of the FSR. For example, a spacing between any two of λ.sub.1, λ.sub.5, λ.sub.9, and λ.sub.13 is an integer multiple of the FSR. In this case, the four modulator groups include same modulators, so that a difficulty in configuring the modulator groups can be reduced, thereby further improving practicality of this application.

    [0074] FIG. 4 is a schematic diagram of an example of a configuration of modulators in a modulator group according to this application. As shown in FIG. 4, a plurality of modulators in a same modulator group may be connected in series, that is, a beam input to the modulator group sequentially passes through the modulators in the modulator group, and each modulator modulates to-be-sent data onto a wavelength that is in the beam and that matches an operating wavelength of the modulator. The configuration manner of the modulator group shown in FIG. 4 may be applied to a scenario in which a microring modulator or the like is used as the modulator in this application.

    [0075] FIG. 5 is a schematic diagram of another example of a configuration of modulators in a modulator group according to this application. As shown in FIG. 5, a plurality of modulators in a same modulator group may be connected in parallel. That is, a beam input to the modulator group may be separately input to the modulators in the modulator group by using a component such as a splitter. In addition, each modulator modulates to-be-sent data onto a wavelength that is in the beam and that matches an operating wavelength of the modulator, and beams output from the modulators are combined by using a combiner or the like.

    [0076] In this application, different modulator groups may include a same quantity or different quantities of modulators. This is not specifically limited in this application.

    [0077] In addition, some or all of the plurality of modulator groups of the optical transmitter 100 may include one or more modulators with a same operating wavelength. Alternatively, some or all of the plurality of modulator groups of the optical transmitter 100 may not include modulators with a same operating wavelength.

    [0078] In addition, the configurations of the modulators shown in FIG. 4 and FIG. 5 are merely examples for description, and this application is not limited thereto. For example, each modulator may further include (or correspond to) one or more filters, and the filter may be configured to obtain a wavelength that matches an operating wavelength of the modulator from an input beam.

    [0079] The following describes a structure and a function of the wavelength selector 110. In this application, the wavelength selector 110 includes two functions.

    [0080] Function 1: Obtain one or more beams based on a beam (which is denoted as a beam #1 for ease of understanding and description, namely, an example of a first beam) received from a multi-wavelength light source. When a plurality of beams are obtained, processing processes of the beams are similar. Herein, to avoid repetition, a processing process of one beam (which is denoted as a beam #2 for ease of understanding and description, namely, an example of a second beam) is used as an example for description.

    [0081] Function 2: Transmit the beam #2 to a modulator group #1 in the plurality of modulator groups. An operating wavelength of a modulator in the modulator group #1 includes a wavelength corresponding to to-be-sent data, and the beam #2 includes the wavelength corresponding to the to-be-sent data.

    [0082] By way of example but not limitation, wavelength selectors 110 that have either of the following structures and that can implement the foregoing functions may be described.

    Structure 1

    [0083] FIG. 6 shows an example of the wavelength selector 110 according to this application. As shown in FIG. 6, the wavelength selector 110 includes a plurality of cascaded unequal-arm MZI. In addition, an electro-optic phase shifter with a nanosecond (NS)-level response speed is provided on a tuning arm of the MZI. That is, the foregoing two functions of the wavelength selector 110 can be completed by using the plurality of cascaded unequal-arm MZIs shown in FIG. 6.

    [0084] Assuming that the beam #1 includes 16 wavelengths, namely, λ.sub.1 to λ.sub.16, in an implementation, the wavelength selector 110 may classify the 16 wavelengths into four groups, in other words, the beam #2 includes four wavelengths.

    [0085] In addition, in this application, the beam #2 can be transmitted to different optical modulator groups by changing a configuration status of the cascaded MZIs. That is, in a configuration state #1 of the cascaded MZIs, λ.sub.1 to λ.sub.4 are transmitted to an optical modulator group #1, in a configuration state #2 of the cascaded MZIs, λ.sub.1 to λ.sub.4 are transmitted to an optical modulator group #2, in a configuration state #3 of the cascaded MZIs, λ.sub.1 to λ.sub.4 are transmitted to an optical modulator group #3, and in a configuration state #4 of the cascaded MZIs, λ.sub.1 to λ.sub.4 are transmitted to an optical modulator group #4.

    [0086] By way of example but not limitation, the configuration status of the cascaded MZIs may be changed by changing voltages applied to the cascaded MZIs. That is, optionally, the optical transmitter 100 may further include a controller 140 (namely, an example of a first controller). The controller 140 may determine a wavelength corresponding to to-be-sent data (or to-be-modulated data).

    [0087] In addition, the controller 140 determines a modulator group (denoted as a modulator group #A) that is in the optical transmitter 100 and whose operating wavelength includes the wavelength corresponding to the to-be-sent data. Then the controller 140 changes the configuration status of the cascaded MZIs (for example, by changing the voltages applied to the cascaded MZIs), so that a beam that is selected by the wavelength selector 110 from the beam #1 and that includes the wavelength corresponding to the to-be-sent data is transmitted to the modulator group #A.

    Structure 2

    [0088] FIG. 7 shows an example of the wavelength selector 110 according to this application. As shown in FIG. 7, the wavelength selector 110 includes a plurality of filters 115 and an optical switch 117.

    [0089] The plurality of filters are configured to implement the foregoing function 1. That is, each filter 115 may filter the beam #1 to obtain a beam including a wavelength corresponding to (for example, the same as) a filtering wavelength of the filter.

    [0090] By way of example but not limitation, the filter 115 may include a microring filter.

    [0091] In an implementation, a filtering status of the filter 115 (or a filtering wavelength of the filter) may be adjusted, so that the filtering wavelength of the filter matches a wavelength corresponding to to-be-sent data. That is, optionally, the optical transmitter 100 may further include a controller 150 (namely, an example of a second controller). The controller 150 may determine the wavelength corresponding to the to-be-sent data (or to-be-modulated data).

    [0092] In addition, the controller 150 may determine whether a filtering wavelength of each filter in the optical transmitter 100 includes the wavelength corresponding to the to-be-sent data. For example, the controller 150 may determine an initial operating wavelength of each filter through user input, factory setting, or the like, and update and record an updated operating wavelength of the filter each time the filtering wavelength is adjusted.

    [0093] If filtering wavelengths of the filters do not include the wavelength corresponding to the to-be-sent data, the controller 150 may further adjust operating wavelengths of one or more filters, so that an adjusted filtering wavelength of at least one filter includes the wavelength corresponding to the to-be-sent data. Therefore, it can be ensured that a wavelength of at least one of beams output by the wavelength selector 110 includes the wavelength corresponding to the to-be-sent data.

    [0094] In addition, the optical switch 117 is configured to implement the foregoing function 2. Specifically, assuming that the wavelength selector 110 includes N filters, and the optical transmitter includes M optical modulator groups, the optical switch 117 may be an optical switch of N*M. That is, a beam output by any one of the N filters can be transmitted to any optical modulator in the M optical modulator groups by controlling an operating status of the wavelength selector 110.

    [0095] By way of example but not limitation, a function of the optical switch 117 may be implemented through cooperative operation of a plurality of MZIs.

    [0096] In this application, the beam #2 can be transmitted to different optical modulator groups by changing a configuration status of the optical switch 117 (for example, cascaded MZIs). That is, in a configuration state #1 of the cascaded MZIs, λ.sub.1 to λ.sub.4 are transmitted to an optical modulator group #1, in a configuration state #2 of the cascaded MZIs, λ.sub.1 to λ.sub.4 are transmitted to an optical modulator group #2, in a configuration state #3 of the cascaded MZIs, λ.sub.1 to λ.sub.4 are transmitted to an optical modulator group #3, and in a configuration state #4 of the cascaded MZIs, λ.sub.1 to λ.sub.4 are transmitted to an optical modulator group #4.

    [0097] By way of example but not limitation, the configuration status of the cascaded MZIs may be changed by changing voltages applied to the cascaded MZIs. That is, optionally, the optical transmitter 100 may further include a controller 160 (namely, an example of a first controller). The controller 160 may determine the wavelength corresponding to the to-be-sent data (or to-be-modulated data).

    [0098] In addition, the controller 160 determines a modulator group (denoted as a modulator group #A) that is in the optical transmitter 100 and whose operating wavelength includes the wavelength corresponding to the to-be-sent data. Then the controller 160 changes the configuration status of the cascaded MZIs (for example, by changing the voltages applied to the cascaded MZIs), so that a beam that is selected by the wavelength selector 110 from the beam #1 and that includes the wavelength corresponding to the to-be-sent data is transmitted to the modulator group #A.

    [0099] It should be understood that the foregoing structures of the optical transmitter 100 are merely examples for description, and this application is not limited thereto.

    [0100] For example, the optical transmitter 100 may further include a light source, and the light source is configured to generate a multi-wavelength beam, namely, the beam #1.

    [0101] In an implementation, there may be one light source. In another implementation, there may be a plurality of light sources, and each light source is configured to generate some wavelengths in the beam #1. In addition, in this case, the optical transmitter 100 may further include a combiner (not shown in the figure), and the combiner is configured to combine beams generated by the light sources to generate the beam #1.

    [0102] For another example, the optical transmitter 100 may include a plurality of wavelength selectors. A structure and a function of each of the plurality of wavelength selectors are similar to those of the foregoing wavelength selector 110. To avoid repetition, detailed descriptions thereof are omitted herein.

    [0103] In an implementation, the plurality of wavelength selectors may share one light source 170. In another implementation, each wavelength selector corresponds to one or more light sources, and each wavelength selector receives beams from the one or more corresponding light sources.

    [0104] It should be noted that the foregoing controllers 140 to 160 may be jointly configured. In other words, the controllers 140 to 160 may be implemented by using one controller. Alternatively, the controllers 140 to 160 may be independently configured. This is not specifically limited in this application. In addition, in this application, the optical transmitter 100 may be implemented by using a waveguide integrated optical technology or the like, that is, the wavelength selector 110 and the modulator group 120 are integrated into a same chip.

    [0105] FIG. 8 is a schematic flowchart of an optical modulation method 200 according to this application. As shown in FIG. 8, in S210, an optical transmitter 100 (for example, a controller or a processor in the optical transmitter 100) obtains to-be-sent data (denoted as data #A) from a computing node, and determines a wavelength #A corresponding to the data #A. For example, an optical signal of the wavelength #A can be transmitted to a receiving end based on a wavelength-sensitive OXC.

    [0106] In an implementation, information about the wavelength #A may be determined and notified to the optical transmitter 100 by a computing node in which the optical transmitter 100 is configured. In another implementation, a user or an administrator may configure a correspondence between a plurality of wavelengths and a plurality of computing nodes in the optical transmitter 100. Therefore, the optical transmitter 100 can determine, as the wavelength #A, a wavelength that is in the correspondence and that corresponds to a computing node used as a receiving end of the data #A.

    [0107] In S240, a wavelength selector 110 of the optical transmitter 100 receives a beam #A from a multi-wavelength light source, and generates a beam #B based on the beam #A, and in addition, the optical transmitter 100 (for example, a controller or a processor in the optical transmitter 100) controls an operating status of the wavelength selector 110 to send the beam #A to a modulator group #A. The beam #B includes the beam #A, and an operating wavelength of a modulator #A in the modulator group #A includes the wavelength #A.

    [0108] Optionally, when a structure of the wavelength selector 110 is the foregoing structure 2, in S220, the optical transmitter 100 (for example, a controller or a processor in the optical transmitter 100) determines whether a filtering wavelength of each filter 115 includes the wavelength #A, or the optical transmitter 100 (for example, a controller or a processor in the optical transmitter 100) determines whether at least one filter 115 that can output a beam including the wavelength #A exists. If filtering wavelengths of the filters 115 do not include the wavelength #A, the optical transmitter 100 (for example, a controller or a processor in the optical transmitter 100) may adjust a filtering wavelength of at least one filter 115, so that the at least one filter 115 can output the beam #A. The beam #A includes the wavelength #A.

    [0109] Optionally, in S230, the optical transmitter 100 (for example, a controller or a processor in the optical transmitter 100) determines whether an operating wavelength of each modulator in each modulator group 120 includes the wavelength #A, or the optical transmitter 100 (for example, a controller or a processor in the optical transmitter 100) determines whether at least one modulator that can modulate the wavelength #A exists. If operating wavelengths of the modulators do not include the wavelength #A, the optical transmitter 100 (for example, a controller or a processor in the optical transmitter 100) may adjust an operating wavelength of at least one modulator, so that the at least one modulator (namely, the modulator #A) can modulate the wavelength #A.

    [0110] In S250, the modulator #A modulates the data #A onto the wavelength #A.

    [0111] Optionally, other modulators in the modulator group to which the modulator #A belongs may further separately modulate other data onto wavelengths other than the wavelength #A in the beam #B.

    [0112] In a power-intensive calculation process such as artificial intelligence (Artificial Intelligence, AI) training, a common computing network solution is a server cluster constructed by using an AI training server on which a graphics processing unit (GPU) is mounted. This server cluster has the following characteristics compared with a common data center with various types of tasks and a short operation time of a single task: [0113] (1) One calculation task is executed at the same time. An execution time is relatively long, and is usually several hours or even days. [0114] (2) The cluster is relatively small. For example, if eight GPUs are typically mounted, 128 servers are usually used to construct the cluster. Each GPU is referred to as one computing node. [0115] (3) An execution algorithm is usually a multi-step iterative operation, requiring communication between nodes. [0116] (4) Calculation requires a low delay.

    [0117] A network connection of the foregoing server cluster has the following characteristics: [0118] (a) Different calculation tasks require different interconnection relationships between servers, in other words, different network topologies are constructed in the cluster. After being constructed, the network topologies do not change during task execution. [0119] (b) In one calculation task, there are a plurality of calculation steps, and the calculation steps require different network connection relationships between computing nodes, in other words, each calculation step requires one network sub-topology. In addition, a relatively short time is allowed to switch between steps, and is usually less than 100 microseconds. [0120] (c) Data traffic of communication between nodes is relatively large, and a communication time can be effectively reduced by using wider network bandwidth. [0121] (d) Both mathematical model analysis and artificial intelligence training require a large quantity of repeated iterations, in other words, data needs to be repeatedly communicated between nodes, so that a proportion of a network communication time in a task execution time in such a computing application increases, and therefore such a computing application is sensitive to a network delay.

    [0122] The optical transmitter and the optical modulation method provided in this application may be effectively applied to the foregoing power-intensive computing system. FIG. 9 shows an example of the computing system. As shown in FIG. 9, the computing system includes a plurality of computing nodes. The computing nodes are connected by using a wavelength-sensitive OXC network, and the optical transmitter 100 in this application is configured on each node.

    [0123] A plurality of modulator groups 120 are configured, so that a plurality of wavelength signals can be transmitted through a single-fiber port, thereby improving bandwidth efficiency of a physical port in an optical switching network. In addition, a wavelength selector 110 meets a requirement of an extremely short time for switching between steps in an AI algorithm, and also enables a plurality of modulators to share a light source signal, so that a light source with a fixed wavelength can be used, thereby reducing costs, avoiding a wavelength conflict between the plurality of signals, and reducing global network control complexity.

    [0124] The wavelength selector 110 and the modulator group 120 are integrated into a single chip, so that costs, packaging space, network device complexity, and a control difficulty can be reduced.

    [0125] In the foregoing method 200, steps performed by a controller or a processor or actions performed by a controller in the foregoing optical transmitter 100 may be automatically performed by the controller. That is, the controller may read a software program in a storage unit, interpret and execute instructions of the software program, and process data of the software program, to control the components of the optical transmitter 100 to perform respective functions, so that the foregoing method 200 is performed.

    [0126] For example, the controller may be implemented by using a processor, and the processor may include a central processing unit. The central processing unit is mainly configured to control an entire terminal device, execute a software program, and process data of the software program.

    [0127] It should be understood that, the processor in embodiments of this application may be a central processing unit (CPU), or may be another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or another programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or the like. The general-purpose processor may be a microprocessor, or the processor may be any conventional processor or the like.

    [0128] It should be further understood that, the memory in embodiments of this application may be a volatile memory or a nonvolatile memory, or may include both a volatile memory and a nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM) and is used as an external cache. By way of example but not limitation, many forms of RAMs can be used, for example, a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDR SDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchlink dynamic random access memory (SLDRAM), and a direct rambus random access memory (DR RAM).

    [0129] All or a part of the actions or the method performed by the controller may be implemented by using software, hardware, firmware, or any combination thereof. When software is used, all or a part of the actions or the method performed by the controller may be implemented in a form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the program instructions or the computer programs are loaded and executed on a computer, the procedure or functions according to embodiments of this application are all or partially generated. The computer may be a general-purpose computer, a dedicated computer, a computer network, or another programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or may be transmitted from a computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center to another website, computer, server, or data center in a wired (for example, infrared, radio, or microwave) manner. The computer-readable storage medium may be any usable medium accessible by a computer, or a data storage device, such as a server or a data center, integrating one or more usable media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium may be a solid-state drive.

    [0130] It should be understood that, sequence numbers of the foregoing processes do not mean execution sequences in embodiments of this application. The execution sequences of the processes should be determined based on functions and internal logic of the processes, and should not constitute any limitation on implementation processes of embodiments of this application.

    [0131] The foregoing descriptions are merely specific implementations of this application, but are not intended to limit the protection scope of this application. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in this application shall fall within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.