Signal sending method, signal sending apparatus, and device
Patent Information
- Application Number
- PCT/CN2025/080565
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-06
- Filing Date
- 2025-03-04
- Publication Date
- 2025-10-02
AI Technical Summary
The signal sending device has a single function and cannot effectively adjust the power and modulation depth of the optical signal, which affects the performance and transmission distance of the communication system.
By introducing a control unit and an amplification modulation unit, the optical signal power can be detected and adjusted, including dynamic control of the amplification gain, adjustment of the modulation depth and attenuation function, thus enriching the functions of the signal sending device.
It achieves precise adjustment of optical signal power, optimizes the transmission performance of the communication system, increases the transmission distance, and avoids problems caused by signal distortion and improper modulation depth.
Abstract
Description
Signal sending method, signal sending device and equipment
[0001] This application claims priority to Chinese patent application No. 202410255087.0, filed on March 6, 2024, entitled “Signal sending method, signal sending device and equipment,” the entire contents of which are incorporated herein by reference. Technical Field
[0002] The present application relates to the field of communications, and in particular to a signal sending method, a signal sending device, and equipment. Background Art
[0003] The signal sending device in the optical communication system is used to send optical signals. The signal sending device can receive a service optical signal corresponding to the service, generate a modulated optical signal corresponding to the first information to be sent based on the first information to be sent, and send the service optical signal and the modulated optical signal.
[0004] For example, in related art, the first information may be tag information. After receiving a service optical signal, the signal transmitting device generates a modulated optical signal corresponding to the tag information based on the tag information, and then transmits both the service optical signal and the modulated optical signal. Therefore, in related art, the signal transmitting device can only generate a modulated optical signal, and its function is relatively simple. Summary of the Invention
[0005] This application provides a signal transmission method, a signal transmission device, and a device to enrich the functions of the signal transmission device. The technical solution is as follows:
[0006] In a first aspect, the present application provides a signal sending device, which includes a control unit and an amplification modulation unit, wherein the control unit is connected to the amplification modulation unit, and the control unit includes first information to be sent. The amplification modulation unit is used to receive a first service optical signal belonging to a first service, detect the power of the first service optical signal to obtain a first signal power, and send the first signal power to the control unit. The control unit is used to obtain a first amplification gain based on the first signal power and the target power when the first signal power is less than the target power, and then send the first information and the first amplification gain to the amplification modulation unit. The amplification modulation unit is also used to amplify the first service optical signal based on the first amplification gain, generate a first modulated optical signal corresponding to the first information based on the first information, and send the amplified first service optical signal and the first modulated optical signal.
[0007] Since the control unit can obtain the first amplification gain, the amplification modulation unit can amplify the first service optical signal based on the first amplification gain, and generate a first modulated optical signal based on the first information. In this way, the signal sending device can not only generate a modulated optical signal, but also amplify the service optical signal, thereby enriching the function of the signal sending device.
[0008] In one possible implementation, the control unit also includes second information to be sent, and the device also includes a first signal detection unit, and the output end of the amplification and modulation unit is connected to the first signal detection unit. The first signal detection unit is used to receive the amplified first service optical signal, detect the power of the amplified first service optical signal to obtain the second signal power, and send the second signal power to the control unit. The control unit is also used to obtain a second amplification gain based on the second signal power and the target power when the second signal power is not equal to the target power, and send the second information and the second amplification gain to the amplification and modulation unit. The amplification and modulation unit is also used to receive a second service optical signal belonging to the first service, amplify the second service optical signal based on the second amplification gain, generate a second modulated optical signal corresponding to the second information based on the second information, and send the amplified second service optical signal and the second modulated optical signal.
[0009] Since the second signal power of the amplified first service optical signal can be obtained, when the second signal power is not equal to the target power, the first amplification gain can be adjusted based on the second signal power and the target power to obtain the second amplification gain, so that the signal sending device has the function of adjusting the gain, which not only enriches the function of the signal sending device, but also can amplify the power of the service optical signal to the target power based on the adjusted gain, and send the service optical signal of the target power, which can optimize the transmission performance of the service optical signal and increase the transmission distance.
[0010] In another possible implementation, the control unit also includes third information to be sent, and the first signal detection unit is further used to receive the amplified second service optical signal and the second modulated optical signal, obtain the modulation depth, which is the ratio between the power of the second modulated optical signal and the power of the amplified second service optical signal, and send the modulation depth to the control unit. The control unit is also used to obtain the third signal power based on the modulation depth and the target modulation depth when the modulation depth is different from the target modulation depth, and send the third information and the third signal power to the amplifying modulation unit. The amplifying modulation unit is also used to receive the third service optical signal belonging to the first service, amplify the third service optical signal based on the second amplification gain, generate a third modulated optical signal corresponding to the third information based on the third signal power, and send the amplified third service optical signal and the third modulated optical signal.
[0011] When the acquired modulation depth is different from the target modulation depth, the control unit acquires the third signal power based on the modulation depth and the target modulation depth. The amplification and modulation unit amplifies the third service optical signal based on the second amplification gain, and generates a third modulated optical signal corresponding to the third information based on the third signal power, so that the modulation depth between the third modulated optical signal and the amplified third service optical signal reaches the target modulation depth. In this way, the signal transmitting device has the function of adjusting the modulation depth, which not only enriches the functionality of the signal transmitting device but also prevents the modulation depth between the third modulated optical signal and the amplified third service optical signal from being too small, thereby preventing the receiving end from being unable to demodulate the third information from the third modulated optical signal, or prevents the modulation depth between the third modulated optical signal and the amplified third service optical signal from being too large, thereby affecting the third service optical signal.
[0012] In another possible implementation, the device further includes a second signal detection unit and a power attenuation unit, wherein the second signal detection unit is connected to the power attenuation unit, and the power attenuation unit is also connected to the input end of the amplifying and modulating unit. The second signal detection unit is configured to receive a fourth service optical signal belonging to the second service, send the fourth service optical signal to the power attenuation unit, detect the power of the fourth service optical signal to obtain a fourth signal power corresponding to the second service, and when the fourth signal power is greater than a target power, send the fourth signal power to the power attenuation unit. The power attenuation unit is configured to obtain a first attenuation amount based on the fourth signal power and the target power, attenuate the power of the fourth service optical signal based on the first attenuation amount, and send the attenuated fourth service optical signal to the amplifying and modulating unit. The amplifying and modulating unit is further configured to send the attenuated fourth service optical signal.
[0013] Since the power attenuation unit can obtain the first attenuation amount, it can attenuate the power of the fourth service optical signal based on the first attenuation amount, so that the signal sending device has the function of attenuating the service optical signal, enriching the function of the signal sending device.
[0014] In another possible implementation, the amplifying and modulating unit is further configured to detect the power of the attenuated fourth service optical signal to obtain a fifth signal power, and when the fifth signal power is not equal to the target power, transmit the fifth signal power to the power attenuation unit. The second signal detecting unit is configured to receive the fifth service optical signal belonging to the second service and transmit the fifth service optical signal to the power attenuation unit. The power attenuation unit is configured to obtain a second attenuation amount based on the fifth signal power and the target power, attenuate the power of the fifth service optical signal based on the second attenuation amount, and transmit the attenuated fifth service optical signal to the amplifying and modulating unit. The amplifying and modulating unit is further configured to transmit the attenuated fifth service optical signal.
[0015] Since the fifth signal power of the attenuated fourth service optical signal can be obtained, when the fifth signal power is not equal to the target power, the first attenuation amount can be adjusted based on the fifth signal power and the target power to obtain the second attenuation amount, so that the signal sending device has the function of adjusting the attenuation amount, which not only enriches the function of the signal sending device, but also can attenuate the power of the service optical signal based on the adjusted attenuation amount, so that the power of the service optical signal input to the amplification modulation unit does not exceed the target power, thereby avoiding saturation of the amplification modulation unit and causing signal distortion.
[0016] In another possible implementation, the power attenuation unit is a variable attenuator (VOA).
[0017] In another possible implementation, the second signal detection unit is a photodiode PD.
[0018] In another possible implementation, the first signal detection unit is a dual-core PD.
[0019] In another possible implementation, the amplification and modulation unit is a semiconductor amplifier SOA.
[0020] In a second aspect, the present application provides a signal transmission method, the method being applied to a signal transmission device, the device including first information to be transmitted. In the method, a first service optical signal belonging to a first service is received. The power of the first service optical signal is detected to obtain a first signal power corresponding to the first service. When the first signal power is less than a target power, a first amplification gain is obtained based on the first signal power and the target power. The first service optical signal is amplified based on the first amplification gain. A first modulated optical signal corresponding to the first information is generated based on the first information. The amplified first service optical signal and the first modulated optical signal are transmitted.
[0021] Since the first amplification gain can be obtained, the first service optical signal can be amplified based on the first amplification gain, and the first modulated optical signal can be generated based on the first information, the signal sending device can not only generate a modulated optical signal, but also amplify the service optical signal, thereby enriching the function of the signal sending device.
[0022] In one possible implementation, the apparatus further includes second information to be transmitted, detects the power of the amplified first service optical signal to obtain a second signal power, obtains a second amplification gain based on the second signal power and the target power when the second signal power is not equal to a target power, receives a second service optical signal belonging to the first service, amplifies the second service optical signal based on the second amplification gain, generates a second modulated optical signal corresponding to the second information based on the second information, and transmits the amplified second service optical signal and the second modulated optical signal.
[0023] Since the second signal power of the amplified first service optical signal can be obtained, when the second signal power is not equal to the target power, the first amplification gain can be adjusted based on the second signal power and the target power to obtain the second amplification gain, so that the signal sending device has the function of adjusting the gain, which not only enriches the function of the signal sending device, but also can amplify the power of the service optical signal to the target power based on the adjusted gain, and send the service optical signal of the target power, which can optimize the transmission performance of the service optical signal and increase the transmission distance.
[0024] In another possible implementation, the apparatus further includes third information to be transmitted, detects a modulation depth, where the modulation depth is the ratio of the power of the second modulated optical signal to the power of the amplified second service optical signal. When the modulation depth differs from a target modulation depth, obtains a third signal power based on the modulation depth and the target modulation depth. Based on the third signal power, generates a third modulated optical signal corresponding to the third information. Receives a third service optical signal belonging to the first service. Amplifies the third service optical signal based on the second amplification gain. Transmits the amplified third service optical signal and the third modulated optical signal.
[0025] When the detected modulation depth is different from the target modulation depth, the third signal power is obtained based on the modulation depth and the target modulation depth, the third service optical signal is amplified based on the second amplification gain, and a third modulated optical signal corresponding to the third information is generated based on the third signal power, so that the modulation depth between the third modulated optical signal and the amplified third service optical signal reaches the target modulation depth. In this way, the signal transmitting device has the function of adjusting the modulation depth, which not only enriches the functions of the signal transmitting device but also prevents the modulation depth between the third modulated optical signal and the amplified third service optical signal from being too small, so that the receiving end cannot demodulate the third information from the third modulated optical signal, or prevents the modulation depth between the third modulated optical signal and the amplified third service optical signal from being too large, which affects the third service optical signal.
[0026] In another possible implementation, a fourth service optical signal belonging to a second service is received. The power of the fourth service optical signal is detected to obtain a fourth signal power corresponding to the second service. When the fourth signal power is greater than a target power, a first attenuation is obtained based on the fourth signal power and the target power. The power of the fourth service optical signal is attenuated based on the first attenuation. The attenuated fourth service optical signal is transmitted. Because the first attenuation can be obtained, the power of the fourth service optical signal can be attenuated based on the first attenuation. This enables the signal transmitting device to attenuate service optical signals, thereby enriching the functionality of the signal transmitting device.
[0027] In another possible implementation, the power of the attenuated fourth service optical signal is detected to obtain the fifth signal power. When the fifth signal power is not equal to the target power, a second attenuation is obtained based on the fifth signal power and the target power. The fifth service optical signal belonging to the second service is received. The power of the fifth service optical signal is attenuated based on the second attenuation. The attenuated fifth service optical signal is sent. Since the fifth signal power of the attenuated fourth service optical signal can be obtained, the first attenuation can be adjusted based on the fifth signal power and the target power to obtain the second attenuation when the fifth signal power is not equal to the target power, so that the signal sending device has the function of adjusting the attenuation. This not only enriches the function of the signal sending device, but also can attenuate the power of the service optical signal based on the adjusted attenuation, so that the power of the service optical signal input to the amplification modulation unit does not exceed the target power, thereby avoiding saturation of the amplification modulation unit and causing signal distortion.
[0028] In a third aspect, the present application provides a network device, comprising the signal sending device described in the first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] FIG1 is a schematic diagram of the structure of a communication network provided in an embodiment of the present application;
[0030] FIG2 is a schematic diagram of the structure of a network device provided in an embodiment of the present application;
[0031] FIG3 is a schematic structural diagram of a signal sending device provided in an embodiment of the present application;
[0032] FIG4 is a schematic structural diagram of another signal sending device provided in an embodiment of the present application;
[0033] FIG5 is a schematic structural diagram of another signal sending device provided in an embodiment of the present application;
[0034] FIG6 is a schematic structural diagram of another signal sending device provided in an embodiment of the present application;
[0035] FIG7 is a schematic structural diagram of another signal sending device provided in an embodiment of the present application;
[0036] FIG8 is a schematic structural diagram of another signal sending device provided in an embodiment of the present application;
[0037] FIG9 is a schematic structural diagram of another signal sending device provided in an embodiment of the present application;
[0038] FIG10 is a flow chart of a signal sending method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] 1 , an embodiment of the present application provides a communication network 100, which includes a plurality of network devices 101. The communication network 100 is used to transmit a service optical signal of a service, where the service optical signal is used to reflect service data of the service.
[0040] Optionally, the communication network 100 may be a dense wavelength division multiplexing (DWDM) system. DWDM is a fiber optic data transmission technology that allows multiple optical signals of different wavelengths to be transmitted through a single optical fiber. DWDM utilizes the wavelength of laser light to transmit data in parallel or serially within an optical fiber, thereby increasing the transmission capacity and transmission rate of the optical fiber network.
[0041] The multiple network devices 101 may be transmission devices in a DWDM system. For example, referring to FIG1 , the DWDM system includes a transmitting device (e.g., a light source), a receiving device (e.g., a receiver), and multiple transmission devices located between the transmitting device and the receiving device. The multiple transmission devices may be the multiple network devices 101.
[0042] Regarding the network device 101 included in the communication network 100, for the sake of convenience, the network device 101 is referred to as a first network device, and the first network device includes first information to be sent.
[0043] The first network device can receive a service optical signal transmitted on the communication network 100, generate a modulated optical signal corresponding to the first information based on the first information, the modulated optical signal is used to reflect the first information, and send the service optical signal and the modulated optical signal.
[0044] Optionally, the first network device may superimpose the service optical signal and the modulated optical signal into one optical signal, and send the optical signal.
[0045] Optionally, a modulated optical signal may be generated by modulation based on the first information.
[0046] For the network device 101 included in the communication network 100 except the first network device, the network device 101 receives the service optical signal and the modulated optical signal, obtains first information based on the modulated optical signal, performs a first operation based on the first information, and sends the service optical signal and / or the modulated optical signal.
[0047] When other network devices 101 in the communication network 100 receive the service optical signal and the modulated optical signal sent by the network device 101, the other network devices 101 can perform the same operation as the network device 101, that is, they can obtain first information based on the modulated optical signal, perform a specified operation or a first operation based on the first information, and send the service optical signal and / or the modulated optical signal.
[0048] For example, the first operation or designated operation may be an operation and maintenance operation, and the first information may be label information required to implement the operation and maintenance operation. Optionally, the label information may include one or more of the following: wavelength, frequency, code frequency or transmission rate of the service optical signal.
[0049] 1 , the network device 101a includes the label information, receives the service optical signal of the service sent by the sending device, generates a modulated optical signal corresponding to the label information based on the label information, and sends the service optical signal and the modulated optical signal.
[0050] The network device 101b receives the service optical signal and the modulated optical signal, obtains the label information based on the modulated optical signal, performs an operation and maintenance operation based on the label information, and sends the service optical signal and the modulated optical signal.
[0051] The network device 101c receives the service optical signal and the modulated optical signal, obtains the label information based on the modulated optical signal, performs operation and maintenance based on the label information, and sends the service optical signal and / or the modulated optical signal to a receiving device.
[0052] Referring to Figure 2 , the first network device includes a signal transmitting device 2, which includes first information to be transmitted. Signal transmitting device 2 receives a service optical signal for a service, generates a modulated optical signal corresponding to the first information based on the first information, and transmits the service optical signal and the modulated optical signal.
[0053] The signal sending device 2 can generate a modulated optical signal and then send the service optical signal and the modulated optical signal. However, the signal sending device 2 has no other functions except generating the modulated optical signal, so the function of the signal sending device 2 is single.
[0054] In order to enrich the functions of the signal sending device 2, referring to FIG3 , an embodiment of the present application provides a signal sending device 2, the device 2 including:
[0055] The control unit 21 and the amplification and modulation unit 22 are connected to each other, and the control unit 21 includes first information to be sent.
[0056] an amplifying and modulating unit 22, configured to receive a first service optical signal belonging to a first service, detect the power of the first service optical signal to obtain a first signal power corresponding to the first service, and send the first signal power to the control unit 21;
[0057] The control unit 21 is configured to obtain a first amplification gain based on the first signal power and the target power when the first signal power is less than the target power, and send the first amplification gain and first information to the amplification and modulation unit 22;
[0058] The amplifying and modulating unit 22 is further configured to amplify the first service optical signal based on the first amplifying gain, generate a first modulated optical signal corresponding to the first information based on the first information, and send the amplified first service optical signal and the first modulated optical signal.
[0059] In some embodiments, the amplifying and modulating unit 22 superimposes the amplified first service optical signal and the first modulated optical signal into one optical signal, and sends the optical signal, thereby achieving the sending of the amplified first service optical signal and the first modulated optical signal.
[0060] In some embodiments, the control unit 21 may be a top modulation circuit having a top modulation function. The top modulation function is to drive the amplification and modulation unit to modulate the information to be transmitted into a modulated optical signal, superimpose the modulated optical signal with the service optical signal to form an optical signal, and transmit the optical signal. Therefore, the process of transmitting the amplified first service optical signal and the first modulated optical signal is the top modulation process.
[0061] The signal sending device 2 is located in the network device, and the communication network where the network device is located can be used to transmit the service optical signal of the first service, which includes the first service optical signal, the second service optical signal, and the third service optical signal. The first service optical signal, the second service optical signal, and the third service optical signal are different parts of the service optical signal of the first service. The first service optical signal, the second service optical signal, and the third service optical signal are continuous signals, and the second service optical signal is located between the first service optical signal and the third service optical signal. Therefore, the amplification and modulation unit 22 can continuously receive the first service optical signal, the second service optical signal, and the third service optical signal. The power of the first service optical signal, the power of the second service optical signal, and the power of the third service optical signal are all equal, and are equal to the power of the service optical signal of the first service. The power of the service optical signal of the first service is the first signal power.
[0062] The input end of the amplifying and modulating unit 22 is provided with a signal detection unit, so after the amplifying and modulating unit 22 receives the first service optical signal, the power of the first service optical signal is detected and the detected power of the first service optical signal is used as the first signal power corresponding to the first service.
[0063] In some embodiments, after obtaining the first amplification gain, the control unit 21 generates a first drive signal corresponding to the first amplification gain based on the first amplification gain. The first drive signal is used to reflect the first amplification gain. Optionally, the first drive signal is a signal representation of the first amplification gain and is equivalent to the first amplification gain. The control unit 21 sends the first drive signal to the amplification modulation unit 22 to transmit the first amplification gain to the amplification modulation unit 22. The amplification modulation unit 22 is configured to amplify the power of the first service optical signal under the drive of the first drive signal.
[0064] In some embodiments, the control unit 21 generates a second drive signal 1 corresponding to the first information based on the first information. The second drive signal 1 is used to reflect the first information. Optionally, the second drive signal 1 is a signal representation of the first information and is equivalent to the first information. The control unit 21 sends the second drive signal 1 to the amplification and modulation unit 22 to transmit the first information to the amplification and modulation unit 22. The amplification and modulation unit 22 is driven by the second drive signal 1 to generate a first modulated optical signal corresponding to the first information.
[0065] The first modulated optical signal is used to reflect the first information. Optionally, the first modulated optical signal is a signal representation of the first information, and the first information is equivalent to the first modulated optical signal.
[0066] In some embodiments, after amplifying the power of the first service optical signal and obtaining the first modulated optical signal, the amplifying and modulating unit 22 superimposes the amplified first service optical signal and the first modulated optical signal to obtain an optical signal, and then sends the signal from the output end of the amplifying and modulating unit 22.
[0067] In some embodiments, the first drive signal and the second drive signal 1 may be current signals, and the current magnitudes of different drive signals may be the same or different. Alternatively, the first drive signal and the second drive signal 1 may be voltage signals, and the voltage magnitudes of different drive signals may be the same or different.
[0068] The amplifying and modulating unit 22 amplifies the power of the first service optical signal to a target power, and then transmits the amplified first service optical signal, thereby achieving long-distance transmission of the first service optical signal.
[0069] For example, if the network device where the signal transmitting device 2 is located is relatively far from the next-hop device, and the power of the first service optical signal transmitted by the network device is relatively low, the next-hop device may not be able to successfully receive the first service optical signal. Therefore, the network device may amplify the power of the first service optical signal and transmit the amplified first service optical signal to ensure that the next-hop device successfully receives the first service optical signal.
[0070] Since the amplifying and modulating unit 22 can not only generate the first modulated optical signal corresponding to the first information, but also amplify the power of the first service optical signal, the functions of the signal sending device 2 are enriched.
[0071] In some embodiments, referring to FIG. 4 , the control unit 21 includes a processor 211 , a first digital-to-analog conversion unit 212 , a second digital-to-analog conversion unit 213 , and a current source 214 .
[0072] The processor 211 is configured to calculate a first power difference between the first signal power and the target power, generate a first digital signal reflecting the first power difference, and send the first digital signal to the first digital-to-analog conversion unit 212; and generate a second digital signal 1 reflecting the first information, and send the second digital signal 1 to the second digital-to-analog conversion unit 213;
[0073] The first digital-to-analog conversion unit 212 is configured to convert the first digital signal into a first voltage signal, wherein the voltage of the first voltage signal is used to reflect the first amplification gain, and send the first voltage signal to the current source 214;
[0074] The second digital-to-analog conversion unit 213 is configured to convert the second digital signal 1 into a second voltage signal 1, wherein the voltage of the second voltage signal 1 is used to reflect the first information, and send the second voltage signal 1 to the current source 214;
[0075] The current source 214 is used to generate a first current signal based on the first voltage signal, the first current signal is a first drive signal, and generate a second current signal 1 based on the second voltage signal 1, the second current signal 1 is a second drive signal 1, and send the first current signal and the second current signal 1 to the amplification modulation unit 22.
[0076] The amplifying and modulating unit 22 is configured to amplify the power of the first service optical signal under the drive of the first current signal 1 , and to generate a first modulated optical signal corresponding to the first information under the drive of the second current signal 1 .
[0077] Optionally, the first digital-to-analog conversion unit 212 may be a low-speed digital-to-analog converter (DAC), etc., and the second digital-to-analog conversion unit 213 may be a high-speed DAC, etc.
[0078] The first amplification gain obtained by the control unit 21 may be too small, resulting in the power of the amplified first service optical signal being less than the target power. Alternatively, the first amplification gain obtained by the control unit 21 may be too large, resulting in the power of the amplified first service optical signal being greater than the target power.
[0079] In order to solve this problem, referring to FIG5 , the signal sending device 2 further includes a first signal detection unit 23, the output end of the amplification modulation unit 22 is connected to the first signal detection unit 23, and the first signal detection unit 23 is also connected to the control unit 21 (not shown in the figure), and the control unit 21 also includes the second information to be sent.
[0080] The first signal detection unit 23 is configured to receive the amplified first service optical signal and the first modulated optical signal, detect the power of the amplified first service optical signal to obtain a second signal power, and send the second signal power to the control unit 21;
[0081] The control unit 21 is further configured to, when the second signal power is not equal to the target power, adjust the first amplification gain based on the second signal power and the target power to obtain a second amplification gain, and send the second amplification gain and second information to the amplification and modulation unit 22;
[0082] The amplification and modulation unit 22 is further used to receive a second service optical signal belonging to the first service, amplify the second service optical signal based on a second amplification gain, generate a second modulated optical signal corresponding to the second information based on the second information, and send the amplified second service optical signal and the second modulated optical signal.
[0083] Because the first signal detection unit 23 is connected to the output end of the amplifying and modulating unit 22, the signal sent by the amplifying and modulating unit 22 to the next-hop device can be received by the first signal detection unit 23. Therefore, the first signal detection unit 23 can receive the amplified first service optical signal and the first modulated optical signal. Similarly, in the subsequent content, the first signal detection unit 23 can also receive the amplified second service optical signal and the second modulated optical signal, the amplified third service optical signal and the third modulated optical signal, etc. sent by the amplifying and modulating unit 22, which will not be explained one by one.
[0084] In some embodiments, when the second signal power is less than the target power, the control unit 21 increases the first amplification gain based on the second signal power and the target power to obtain the second amplification gain. Alternatively, when the second signal power is greater than the target power, the control unit 21 decreases the first amplification gain based on the second signal power and the target power to obtain the second amplification gain.
[0085] In some embodiments, after obtaining the second amplification gain, the control unit 21 generates a third drive signal corresponding to the second amplification gain based on the second amplification gain. The third drive signal is used to reflect the second amplification gain. Optionally, the third drive signal is a signal representation of the second amplification gain and is equivalent to the second amplification gain. The control unit 21 sends the third drive signal to the amplification modulation unit 22 to transmit the second amplification gain to the amplification modulation unit 22. The amplification modulation unit 22 is configured to amplify the power of the second service optical signal under the drive of the third drive signal.
[0086] In some embodiments, the control unit 21 sends a second drive signal 2 corresponding to the second information to the amplifying and modulating unit 22, thereby transmitting the second information to the amplifying and modulating unit 22. The amplifying and modulating unit 22 is configured to generate a second modulated optical signal corresponding to the second information under the drive of the second drive signal 2. The second modulated optical signal is configured to reflect the second information. Optionally, the second modulated optical signal is a signal representation of the second information, and the second information is equivalent to the second modulated optical signal.
[0087] In some embodiments, after amplifying the power of the second service optical signal and obtaining the second modulated optical signal, the amplifying and modulating unit 22 superimposes the amplified second service optical signal and the second modulated optical signal to obtain an optical signal, and then sends the optical signal from the output end of the amplifying and modulating unit 22.
[0088] In some embodiments, referring to FIG4 , the processor 211 is configured to calculate a second power difference between the second signal power and the target power, generate a third digital signal reflecting the second power difference, and send the third digital signal to the first digital-to-analog conversion unit 212; and generate a second digital signal 2 reflecting the second signal, and send the second digital signal 2 to the second digital-to-analog conversion unit 213.
[0089] The first digital-to-analog conversion unit 212 is configured to convert the third digital signal into a third voltage signal, wherein the voltage of the third voltage signal is used to reflect the second amplification gain, and send the third voltage signal to the current source 214;
[0090] The second digital-to-analog conversion unit 213 is configured to convert the second digital signal 2 into a second voltage signal 2, wherein the voltage of the second voltage signal 2 is used to reflect the second information, and send the second voltage signal 2 to the current source 214;
[0091] The current source 214 is used to generate a third current signal based on the third voltage signal, the third current signal is a third drive signal, generate a second current signal 2 based on the second voltage signal 2, the second current signal 2 is a second drive signal 2, and send the third current signal and the second current signal 2 to the amplification and modulation unit 22.
[0092] The amplifying and modulating unit 22 is configured to amplify the power of the second service optical signal under the drive of the third current signal, and to generate a second modulated optical signal corresponding to the second information under the drive of the second current signal 2.
[0093] The second amplification gain obtained by the control unit 21 may be too small, resulting in the power of the amplified second service optical signal being less than the target power. Alternatively, the second amplification gain obtained by the control unit 21 may be too large, resulting in the power of the amplified second service optical signal being greater than the target power. The first signal detection unit 23 may continue to detect the power of the amplified second service optical signal and send the power to the control unit 21, causing the control unit 21 to continue adjusting the amplification gain.
[0094] When the power of the service optical signal included in the optical signal transmitted by signal transmitting device 2 is significantly less than or greater than the target power, the performance of the communication system will be seriously affected. Therefore, signal transmitting device 2 continuously adjusts the amplification gain so that the power of the amplified service optical signal is equal to or close to the target power, thereby eliminating or reducing the impact on the performance of the communication system. Amplifying the power of the service optical signal to the target power based on the adjusted amplification gain and transmitting the service optical signal at the target power can optimize the transmission performance of the service optical signal and increase the transmission distance.
[0095] In some embodiments, when it is detected that the power of the amplified second service optical signal is equal to the target power or when it is detected that the power of the amplified second service optical signal is approximately equal to the target power, the adjustment of the amplification gain may be stopped.
[0096] In some embodiments, the control unit 21 further includes third information to be sent. When the power of the amplified second service optical signal is equal to the target power or the power of the amplified second service optical signal is approximately equal to the target power, the first signal detection unit 23 is further configured to detect a modulation depth between the second modulated optical signal and the amplified second service optical signal, where the modulation depth is a ratio between the power of the second modulated optical signal and the power of the amplified second service optical signal, and send the modulation depth to the control unit 21.
[0097] The control unit 21 is further configured to, when the modulation depth is different from the target modulation depth, obtain a third signal power based on the modulation depth and the target modulation depth, and send the third signal power and third information to the amplification modulation unit;
[0098] The amplification and modulation unit 22 is also used to receive a third service optical signal belonging to the first service, amplify the third service optical signal based on the second amplification gain, generate a third modulated optical signal corresponding to the third information based on the third information and the third signal power, and send the amplified third service optical signal and the third modulated optical signal.
[0099] Since the power of the amplified second service optical signal is equal to the target power or the power of the amplified second service optical signal is approximately equal to the target power, the amplification gain will no longer be adjusted, so the power of the amplified service optical signal sent by the amplifying modulation unit 22 will not change. The modulation depth can be made to reach the target modulation depth by adjusting the power of the modulated optical signal generated by the amplifying modulation unit 22.
[0100] The control unit 21 obtains a third signal power based on the modulation depth and the target modulation depth. The third signal power is the signal power that can be achieved by the modulated optical signal generated by the amplifying and modulating unit 22 .
[0101] In some embodiments, after obtaining the third signal power, control unit 21 generates a fourth drive signal corresponding to the third signal power based on the third signal power. The fourth drive signal is used to reflect the third signal power. Optionally, the fourth drive signal is a signal representation of the third signal power and is equivalent to the third signal power. Control unit 21 sends the fourth drive signal to amplification and modulation unit 22 to transmit the third signal power to amplification and modulation unit 22.
[0102] In some embodiments, the control unit 21 transmits the second drive signal 3 corresponding to the third information to the amplifying and modulating unit 22, thereby transmitting the third information to the amplifying and modulating unit 22. The amplifying and modulating unit 22 is configured to generate a third modulated optical signal corresponding to the third information under the drive of the fourth drive signal and the second drive signal 3. The third modulated optical signal is configured to reflect the third information. Optionally, the third modulated optical signal is a signal representation of the third information, and the third information is equivalent to the third modulated optical signal.
[0103] In some embodiments, after amplifying the power of the third service optical signal and obtaining the third modulated optical signal, the amplifying and modulating unit 22 superimposes the amplified third service optical signal and the third modulated optical signal to obtain an optical signal, and then sends the optical signal from the output end of the amplifying and modulating unit 22.
[0104] The first signal detection unit 23 is further configured to detect a modulation depth between the third modulated optical signal and the amplified third service optical signal, and send the modulation depth to the control unit 21. If the modulation depth is not equal to the target modulation depth, the control unit 21 may adjust the power of the third signal and send the adjusted signal power to the amplification and modulation unit 22.
[0105] Among them, although the power of the service optical signal is amplified to make the transmission distance of the service optical signal longer, the performance of the service optical signal is also reduced, making the service optical signal prone to signal distortion. Therefore, adjusting the modulation depth of the optical signal sent from the amplification modulation unit 22 to the target modulation depth can increase the performance of the service optical signal and avoid the service optical signal from being easily distorted.
[0106] In addition, when the modulation depth is adjusted to the target modulation depth, it is also avoided that the modulation depth between the third modulated optical signal and the amplified third business optical signal is too small, so that the receiving end cannot demodulate the third information from the third modulated optical signal, or the modulation depth between the third modulated optical signal and the amplified third business optical signal is too large, which affects the third business optical signal.
[0107] In some embodiments, the first information, the second information, and the third information may be different parts of the same information, for example, the first information, the second information, and the third information may be different parts of the same tag information. Alternatively, the first information, the second information, and the third information may be three different pieces of information, for example, the first information, the second information, and the third information may be three different pieces of tag information.
[0108] In some embodiments, the first signal detection unit 23 may be a dual-core photoelectric diode (PD) or the like.
[0109] In some embodiments, referring to FIG4 , the processor 211 is configured to generate a fourth digital signal reflecting the power of the third signal and send the fourth digital signal to the first digital-to-analog conversion unit 212 ; and generate a second digital signal 3 reflecting the third information and send the second digital signal 3 to the second digital-to-analog conversion unit 213 ;
[0110] The first digital-to-analog conversion unit 212 is configured to convert the fourth digital signal into a fourth voltage signal, wherein the voltage of the fourth voltage signal is used to reflect the power of the third signal, and send the fourth voltage signal to the current source 214;
[0111] The second digital-to-analog conversion unit 213 is configured to convert the second digital signal 3 into a second voltage signal 3, wherein the voltage of the second voltage signal 3 is used to reflect the third information, and send the second voltage signal 3 to the current source 214;
[0112] The current source 214 is used to generate a fourth current signal based on the fourth voltage signal, the fourth current signal is a fourth drive signal, and to generate a second current signal 3 based on the second voltage signal 3, the second current signal 3 is a second drive signal 3, and to send the fourth current signal and the second current signal 3 to the amplification and modulation unit 22.
[0113] The amplifying and modulating unit 22 is configured to generate a third modulated optical signal corresponding to third information under the drive of the fourth current signal and the second current signal 3 .
[0114] Since the amplifying and modulating unit 22 can not only generate the third modulated optical signal corresponding to the third information, but also adjust the modulation depth between the third modulated optical signal and the amplified third service optical signal, the functions of the signal sending device 2 are enriched.
[0115] In some embodiments, the control unit 21 further includes a reverse voltage power supply and a transistor (not shown in the figure), and the control unit 21 can be turned on or off by controlling the reverse voltage power supply and the transistor.
[0116] In some embodiments, referring to FIG. 6 , the first signal detection unit 23 includes a dual-core PD unit 231 , a first logarithmic operational amplifier unit 232 , a second logarithmic operational amplifier unit 233 , a first analog-to-digital conversion unit 234 , and a second analog-to-digital conversion unit 235 .
[0117] The dual-core PD unit 231 is connected to the output end of the amplification and modulation unit 22, and the dual-core PD unit 231 is respectively connected to the first logarithmic operational amplifier unit 232 and the second logarithmic operational amplifier unit 233. The first logarithmic operational amplifier unit 232 is also connected to the first analog-to-digital conversion unit 234. The first analog-to-digital conversion unit 234 is also connected to the control unit 21. The second logarithmic operational amplifier unit 233 is also connected to the second analog-to-digital conversion unit 235. The second analog-to-digital conversion unit 235 is also connected to the control unit 21.
[0118] The dual-core PD unit 231 is configured to detect the power of the amplified first service optical signal to generate a fifth current signal, the fifth current signal being used to reflect the power of the second signal, and send the fifth current signal to the first logarithmic operational amplifier unit 232. Optionally, the fifth current signal is a signal representing the power of the second signal and is equivalent to the power of the second signal.
[0119] The first logarithmic operational amplifier unit 232 is configured to convert the fifth current signal into a fifth voltage signal and send the fifth voltage signal to the first analog-to-digital conversion unit 234;
[0120] The first analog-to-digital conversion unit 234 is configured to convert the fifth voltage signal into a fifth digital signal, where the fifth digital signal is configured to reflect the second signal power, and to send the fifth digital signal to the control unit 21 to achieve sending the second signal power to the control unit 21 .
[0121] The dual-core PD unit 231 is further configured to generate a sixth current signal by detecting the power of the amplified second service optical signal and the power of the second modulated optical signal, where the sixth current signal is configured to reflect the modulation depth between the second modulated optical signal and the amplified second service optical signal, and to send the sixth current signal to the second logarithmic operational amplifier unit 233. Optionally, the sixth current signal is a signal representing the modulation depth between the second modulated optical signal and the amplified second service optical signal, and the sixth current signal is equivalent to the modulation depth between the second modulated optical signal and the amplified second service optical signal.
[0122] The second logarithmic operational amplifier unit 233 is used to convert the sixth current signal into a sixth voltage signal and send the sixth voltage signal to the second analog-to-digital conversion unit 235;
[0123] The second analog-to-digital conversion unit 235 is used to convert the sixth voltage signal into a sixth digital signal, where the sixth digital signal is used to reflect the modulation depth between the second modulated optical signal and the amplified second service optical signal, and send the sixth digital signal to the control unit 21 to achieve the modulation depth between the second modulated optical signal and the amplified second service optical signal sent to the control unit 21.
[0124] Optionally, the first analog-to-digital conversion unit 234 may be a high-speed analog-to-digital converter (ADC), and the second analog-to-digital conversion unit 235 may be a low-speed ADC.
[0125] In some embodiments, referring to FIG7 , the apparatus 2 further includes a second signal detection unit 24 and a power attenuation unit 25 , wherein the second signal detection unit 24 is connected to the power attenuation unit 25 , and the power attenuation unit 25 is further connected to the input end of the amplification and modulation unit 22 ;
[0126] The second signal detection unit 24 is configured to receive a fourth service optical signal belonging to the second service, send the fourth service optical signal to the power attenuation unit 25, detect the power of the fourth service optical signal to obtain a fourth signal power corresponding to the second service, and send the fourth signal power to the power attenuation unit 25 when the fourth signal power is greater than a target power;
[0127] The power attenuation unit 25 is configured to obtain a first attenuation amount based on the fourth signal power and the target power, attenuate the power of the fourth service optical signal based on the first attenuation amount, and send the attenuated fourth service optical signal to the amplification and modulation unit 22;
[0128] The amplifying and modulating unit 22 is further configured to send the attenuated fourth service optical signal.
[0129] In some embodiments, if the control unit 21 has not yet sent out all the information, the amplifying and modulating unit 22 will generate a modulated optical signal and send the attenuated fourth service optical signal and the modulated optical signal.
[0130] The communication network in which the network device resides can be used to transmit service optical signals for a second service. The service optical signals for the second service include a fourth service optical signal and a fifth service optical signal. The fourth service optical signal and the fifth service optical signal are different parts of the service optical signal for the second service. The fourth service optical signal and the fifth service optical signal are continuous signals, with the fourth service optical signal preceding the fifth service optical signal. Therefore, the second signal detection unit 24 is able to continuously receive the fourth service optical signal and the fifth service optical signal. The power of the fourth service optical signal and the power of the fifth service optical signal are equal, and both are equal to the fourth signal power corresponding to the second service. The fourth signal power is the power of the service optical signal for the second service.
[0131] When the power of the fourth service optical signal input to the amplifying and modulating unit 22 is large, it will have a greater impact on the amplifying and modulating unit 22. Therefore, when the power of the fourth service optical signal is large, the power of the fourth service optical signal can be reduced by the power attenuation unit 25 to reduce the impact on the amplifying and modulating unit 22, so that the power of the service optical signal input to the amplifying and modulating unit 22 does not exceed the target power, thereby avoiding saturation of the amplifying and modulating unit 22 and causing signal distortion.
[0132] Since the power attenuation unit 25 attenuates the power of the service optical signal, the functions of the signal sending device 2 are enriched.
[0133] The first attenuation value obtained by the power attenuation unit 25 may be too large, resulting in the power of the attenuated fourth service optical signal being less than the target power. Alternatively, the first attenuation value obtained by the power attenuation unit 25 may be too small, resulting in the power of the attenuated fourth service optical signal being greater than the target power.
[0134] In order to solve this problem, the amplifying and modulating unit 22 is further configured to detect the power of the attenuated fourth service optical signal to obtain a fifth signal power, and when the fifth signal power is not equal to the target power, send the fifth signal power to the power attenuation unit 25;
[0135] The second signal detection unit 24 is used to receive the fifth service optical signal belonging to the second service and send the fifth service optical signal to the power attenuation unit 24;
[0136] The power attenuation unit 25 is configured to adjust the first attenuation amount based on the fifth signal power and the target power to obtain a second attenuation amount, attenuate the power of the fifth service optical signal based on the second attenuation amount, and send the attenuated fifth service optical signal to the amplification and modulation unit 22;
[0137] The amplifying and modulating unit 22 is further configured to send the attenuated fifth service optical signal.
[0138] In some embodiments, when the fifth signal power is less than the target power, the power attenuation unit 25 increases the first attenuation amount based on the fifth signal power and the target power to obtain the second attenuation amount. Alternatively, when the fifth signal power is greater than the target power, the power attenuation unit 25 decreases the first attenuation amount based on the fifth signal power and the target power to obtain the second attenuation amount.
[0139] In some embodiments, referring to FIG. 8 , the second signal detection unit 24 includes a PD unit 241 , a third logarithmic operational amplifier unit 242 , and a third analog-to-digital conversion unit 243 .
[0140] The PD unit 241 is connected to the power attenuation unit 25, and the PD unit 241 is also connected to the third logarithmic operational amplifier unit 242, and the third logarithmic operational amplifier unit 242 is also connected to the third analog-to-digital conversion unit 243, and the third analog-to-digital conversion unit 243 is also connected to the power attenuation unit 25 (not shown in the figure).
[0141] PD unit 241 is configured to detect the power of the fourth service optical signal to generate a seventh current signal, where the seventh current signal reflects the power of the fourth signal, and send the seventh current signal to third logarithmic operational amplifier unit 242. Optionally, the seventh current signal is a signal representing the power of the fourth signal and is equivalent to the power of the fourth signal.
[0142] The third logarithmic operational amplifier unit 242 is configured to convert the seventh current signal into a seventh voltage signal and send the seventh voltage signal to the third analog-to-digital conversion unit 243;
[0143] The third analog-to-digital conversion unit 243 is used to convert the seventh voltage signal into a seventh digital signal, where the seventh digital signal is used to reflect the fourth signal power and send the seventh digital signal to the power attenuation unit 25 to achieve sending the fourth signal power to the power attenuation unit 25.
[0144] Optionally, as shown in FIG9 , the power attenuation unit 25 can be a variable optical attenuator (VOA), etc. The second signal detection unit 24 can be a PD, etc. The amplification and modulation unit 22 can be a semiconductor optical amplifier (SOA), etc. The third analog-to-digital conversion unit 243 can be an ADC, etc. The control unit 21 can be a modulation circuit, and the dual-core PD unit 231 includes a signal light detection PD and a modulation light detection PD.
[0145] 9 , PD 24 is connected to the input of VOA 25, the output of VOA 25 is connected to the first input of SOA 22, the output of SOA 22 is connected to the signal light detection PD and the modulated light detection PD, the output of the top adjustment circuit 21 is also connected to the second input of SOA 22, and the signal light detection PD and the modulated light detection PD are also connected to the input of the top adjustment circuit 21 (not shown in the figure).
[0146] The top modulation circuit 21 can send information to the SOA 22. For example, the top modulation circuit 21 sends the first amplification gain, the first information, the second amplification increment, the second information, the third signal power, or the third information to the SOA 22. The signal light detection PD is used to detect the power of the amplified first service optical signal to obtain the second signal power and send the second signal power to the top modulation circuit 21. The signal light detection PD is also used to detect the power of the amplified second service optical signal, and the modulation light detection PD is used to detect the power of the second modulated optical signal to obtain the modulation depth. The modulation depth is the ratio of the power of the second modulated optical signal to the power of the amplified second service optical signal.
[0147] Since when the power of the service optical signal of the second service exceeds the target power threshold, inputting the service optical signal of the second service into the amplifying and modulating unit 22 will affect the performance of the amplifying and modulating unit 22, the power of the service optical signal of the second service can be attenuated by the power attenuation unit 25 to avoid or reduce the impact on the performance of the amplifying and modulating unit 22.
[0148] In an embodiment of the present application, a first signal detection unit is used to receive an amplified first service optical signal and a first modulated optical signal, detect the power of the amplified first service optical signal to obtain a second signal power, and send the second signal power to a control unit. The control unit is also used to adjust the first amplification gain based on the second signal power and the target power to obtain a second amplification gain when the second signal power is not equal to the target power, and send second information and the second amplification gain to the amplification modulation unit. The amplification modulation unit is also used to receive a second service optical signal belonging to the first service, amplify the second service optical signal based on the second amplification gain, generate a second modulated optical signal corresponding to the second information based on the second information, and send the amplified second service optical signal and the second modulated optical signal. Since the second signal power of the amplified first service optical signal can be obtained, the first amplification gain can be adjusted based on the second signal power and the target power to obtain the second amplification gain when the second signal power is not equal to the target power, so that the signal sending device has the function of adjusting the gain, which enriches the function of the signal sending device. In addition, the second signal detection unit is used to receive the fourth service optical signal belonging to the second service, send the fourth service optical signal to the power attenuation unit, detect the power of the fourth service optical signal to obtain the fourth signal power corresponding to the second service, and when the fourth signal power is greater than the target power, send the fourth signal power to the power attenuation unit. The power attenuation unit is used to obtain the first attenuation amount based on the fourth signal power and the target power, attenuate the power of the fourth service optical signal based on the first attenuation amount, and send the attenuated fourth service optical signal to the amplification and modulation unit. The amplification and modulation unit is also used to send the attenuated fourth service optical signal. Since the power attenuation unit can obtain the first attenuation amount, it can attenuate the power of the fourth service optical signal based on the first attenuation amount. In this way, the signal sending device has the function of attenuating the service optical signal, which enriches the function of the signal sending device.
[0149] 10 , an embodiment of the present application provides a signal sending method 1000. The method 1000 is applied to the signal sending device 2 provided in any one of the embodiments of FIG. 3 to FIG. 9 . The device 2 includes first information to be sent, including:
[0150] Step 1001: Receive a first service optical signal belonging to a first service.
[0151] Step 1002: Detect the power of a first service optical signal to obtain a first signal power corresponding to the first service.
[0152] Step 1003: When the first signal power is less than the target power, obtain a first amplification gain based on the first signal power and the target power.
[0153] Step 1004: Amplify the first service optical signal based on a first amplification gain.
[0154] Step 1005: Generate a first modulated optical signal corresponding to the first information based on the first information.
[0155] Step 1006: Send the amplified first service optical signal and the first modulated optical signal.
[0156] The first amplification gain may be too small, resulting in the power of the amplified first service optical signal being less than the target power. Alternatively, the first amplification gain may be too large, resulting in the power of the amplified first service optical signal being greater than the target power.
[0157] In order to solve this problem, the amplification gain can be adjusted. The device 2 further includes second information to be sent. When implemented:
[0158] The power of the amplified first service optical signal is detected to obtain a second signal power.
[0159] When the second signal power is not equal to the target power, the first amplification gain is adjusted based on the second signal power and the target power to obtain the second amplification gain.
[0160] A second service optical signal belonging to the first service is received.
[0161] The second service optical signal is amplified based on the second amplification gain.
[0162] A second modulated optical signal corresponding to the second information is generated based on the second information.
[0163] The amplified second service optical signal and the second modulated optical signal are sent.
[0164] If the second amplification gain is still too small, resulting in the power of the amplified second service optical signal being less than the target power, or if the second amplification gain is still too large, resulting in the power of the amplified second service optical signal being greater than the target power, the amplification gain can be adjusted further according to the above process.
[0165] The modulation depth between the second modulated optical signal and the amplified second service optical signal may be different from the target modulation depth, so the modulation depth of the transmitted optical signal needs to be adjusted. The device 2 also includes third information to be sent. When implemented:
[0166] A modulation depth between the second modulated optical signal and the amplified second service optical signal is detected, where the modulation depth is a ratio between the power of the second modulated optical signal and the power of the amplified second service optical signal.
[0167] When the modulation depth and the target modulation depth are different, a third signal power is obtained based on the modulation depth and the target modulation depth.
[0168] A third modulated optical signal corresponding to the third information is generated based on the third information and the third signal power.
[0169] A third service optical signal belonging to the first service is received.
[0170] The third service optical signal is amplified based on the second amplification gain.
[0171] A third service optical signal and a third modulated optical signal are sent.
[0172] The power of the service optical signal of the first service received by the signal transmitting device is less than the target power, so the service optical signal of the first service needs to be amplified. The signal transmitting device may also receive a service optical signal of the second service with a power greater than the target power. In this case, the power of the service optical signal of the second service needs to be attenuated. The method 900 also includes the following attenuation process.
[0173] A fourth service optical signal belonging to the second service is received.
[0174] The power of the fourth service optical signal is detected to obtain a fourth signal power corresponding to the second service.
[0175] When the fourth signal power is greater than the target power, a first attenuation amount is acquired based on the fourth signal power and the target power.
[0176] The power of the fourth service optical signal is attenuated based on the first attenuation amount.
[0177] The attenuated fourth service optical signal is sent.
[0178] The first attenuation may be too large, causing the power of the attenuated fourth service optical signal to be less than the target power. Alternatively, the first attenuation may be too small, causing the power of the attenuated fourth service optical signal to be greater than the target power.
[0179] To solve this problem, the attenuation can be adjusted. When implementing:
[0180] The power of the attenuated fourth service optical signal is detected to obtain a fifth signal power.
[0181] When the fifth signal power is not equal to the target power, the first attenuation is adjusted based on the fifth signal power and the target power to obtain a second attenuation.
[0182] A fifth service optical signal belonging to the second service is received.
[0183] The power of the fifth service optical signal is attenuated based on the second attenuation amount.
[0184] The attenuated fifth service optical signal is sent.
[0185] In an embodiment of the present application, a first service optical signal belonging to a first service is received. The power of the first service optical signal is detected to obtain a first signal power corresponding to the first service. When the first signal power is less than a target power, a first amplification gain is obtained based on the first signal power and the target power. The first service optical signal is amplified based on the first amplification gain. A first modulated optical signal corresponding to the first information is generated based on the first information. The amplified first service optical signal and the first modulated optical signal are sent. Since the first amplification gain can be obtained, the first service optical signal is amplified based on the first amplification gain, and the first modulated optical signal is generated based on the first information, the signal sending device can not only generate a modulated optical signal, but also amplify the service optical signal, thereby enriching the function of the signal sending device.
[0186] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0187] The above description is merely an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present application shall be included in the scope of protection of the present application.
Claims
1. A signal sending device, characterized in that: The device includes a control unit and an amplification and modulation unit, the control unit is connected to the amplification and modulation unit, and the control unit includes first information to be sent; The amplifying and modulating unit is configured to receive a first service optical signal belonging to a first service, detect the power of the first service optical signal to obtain a first signal power corresponding to the first service, and send the first signal power to the control unit; The control unit is configured to obtain a first amplification gain based on the first signal power and the target power when the first signal power is less than the target power, and send the first information and the first amplification gain to the amplification and modulation unit; The amplification and modulation unit is further configured to amplify the first service optical signal based on the first amplification gain, generate a first modulated optical signal corresponding to the first information based on the first information, and send the amplified first service optical signal and the first modulated optical signal.
2. The device according to claim 1, wherein The control unit further includes second information to be sent, the device further includes a first signal detection unit, and the output end of the amplification and modulation unit is connected to the first signal detection unit; The first signal detection unit is configured to receive the amplified first service optical signal, detect the power of the amplified first service optical signal to obtain a second signal power, and send the second signal power to the control unit; The control unit is further configured to obtain a second amplification gain based on the second signal power and the target power when the second signal power is not equal to the target power, and send the second information and the second amplification gain to the amplification and modulation unit; The amplification and modulation unit is further configured to receive a second service optical signal belonging to the first service, amplify the second service optical signal based on the second amplification gain, generate a second modulated optical signal corresponding to the second information based on the second information, and send the amplified second service optical signal and the second modulated optical signal.
3. The device according to claim 2, wherein The control unit includes third information to be sent; The first signal detection unit is further configured to receive the amplified second service optical signal and the second modulated optical signal, obtain a modulation depth, where the modulation depth is a ratio between the power of the second modulated optical signal and the power of the amplified second service optical signal, and send the modulation depth to the control unit; The control unit is further configured to, when the modulation depth and the target modulation depth are different, obtain a third signal power based on the modulation depth and the target modulation depth, and send the third information and the third signal power to the amplification and modulation unit; The amplification and modulation unit is further used to receive a third service optical signal belonging to the first service, amplify the third service optical signal based on the second amplification gain, generate a third modulated optical signal corresponding to the third information based on the third signal power, and send the amplified third service optical signal and the third modulated optical signal.
4. The device according to any one of claims 1 to 3, characterized in that The device further comprises a second signal detection unit and a power attenuation unit, wherein the second signal detection unit is connected to the power attenuation unit, and the power attenuation unit is further connected to the input end of the amplification and modulation unit; The second signal detection unit is configured to receive a fourth service optical signal belonging to the second service, send the fourth service optical signal to the power attenuation unit, detect the power of the fourth service optical signal to obtain a fourth signal power corresponding to the second service, and send the fourth signal power to the power attenuation unit when the fourth signal power is greater than the target power; The power attenuation unit is configured to obtain a first attenuation amount based on the fourth signal power and the target power, attenuate the power of the fourth service optical signal based on the first attenuation amount, and send the attenuated fourth service optical signal to the amplification and modulation unit; The amplifying and modulating unit is further configured to send the attenuated fourth service optical signal.
5. The device according to claim 4, characterized in that The amplifying and modulating unit is further configured to detect the power of the attenuated fourth service optical signal to obtain a fifth signal power, and when the fifth signal power is not equal to the target power, send the fifth signal power to the power attenuation unit; The second signal detection unit is configured to receive a fifth service optical signal belonging to the second service, and send the fifth service optical signal to the power attenuation unit; The power attenuation unit is configured to obtain a second attenuation amount based on the fifth signal power and the target power, attenuate the power of the fifth service optical signal based on the second attenuation amount, and send the attenuated fifth service optical signal to the amplification and modulation unit; The amplifying and modulating unit is further configured to send the attenuated fifth service optical signal.
6. The device according to claim 4 or 5, characterized in that The power attenuation unit is a variable attenuator VOA.
7. The device according to any one of claims 4 to 6, characterized in that The second signal detection unit is a photodiode PD.
8. The device according to claim 2 or 3, characterized in that The first signal detection unit is a dual-core PD.
9. The device according to any one of claims 1 to 8, characterized in that The amplification modulation unit is a semiconductor amplifier SOA.
10. A signal sending method, characterized in that: The method is applied to a signal sending device, wherein the device includes first information to be sent, including: receiving a first service optical signal belonging to a first service; detecting the power of the first service optical signal to obtain a first signal power corresponding to the first service; When the first signal power is less than a target power, obtaining a first amplification gain based on the first signal power and the target power; amplifying the first service optical signal based on the first amplification gain; generating a first modulated optical signal corresponding to the first information based on the first information; The amplified first service optical signal and the first modulated optical signal are sent.
11. The method according to claim 10, wherein The apparatus further includes second information to be sent, and the method further includes: detecting the power of the amplified first service optical signal to obtain a second signal power; When the second signal power is not equal to the target power, obtaining a second amplification gain based on the second signal power and the target power; receiving a second service optical signal belonging to the first service; amplifying the second service optical signal based on the second amplification gain; generating a second modulated optical signal corresponding to the second information based on the second information; The amplified second service optical signal and the second modulated optical signal are sent.
12. The method according to claim 11, wherein The apparatus further includes third information to be sent, and the method further includes: detecting a modulation depth, where the modulation depth is a ratio between the power of the second modulated optical signal and the power of the amplified second service optical signal; When the modulation depth and the target modulation depth are different, obtaining a third signal power based on the modulation depth and the target modulation depth; generating a third modulated optical signal corresponding to the third information based on the third signal power; receiving a third service optical signal belonging to the first service; amplifying the third service optical signal based on the second amplification gain; The amplified third service optical signal and the third modulated optical signal are sent.
13. The method according to any one of claims 10 to 12, wherein: The method further comprises: receiving a fourth service optical signal belonging to the second service; detecting the power of the fourth service optical signal to obtain a fourth signal power corresponding to the second service; When the fourth signal power is greater than the target power, obtaining a first attenuation based on the fourth signal power and the target power; attenuating the power of the fourth service optical signal based on the first attenuation; Send the attenuated fourth service optical signal.
14. The method according to claim 13, wherein The method further comprises: detecting the power of the attenuated fourth service optical signal to obtain a fifth signal power; When the fifth signal power is not equal to the target power, obtaining a second attenuation based on the fifth signal power and the target power; receiving a fifth service optical signal belonging to the second service; attenuating the power of the fifth service optical signal based on the second attenuation; Send the attenuated fifth service optical signal.
15. A network device, characterized in that: The network device includes the signal sending device according to any one of claims 1 to 9.