Gain control method and device, equipment and storage medium

By implementing the method of calculating the signal gain difference value and issuing the signal attenuation amount at the remote unit RU and expansion unit EU ends of the optically loaded radio frequency platform, the problem of signal gain control in the 5GNR system is solved, real-time monitoring and automatic adjustment of the signal gain on the link of the optically loaded radio frequency platform is realized, and the reliability of the system is improved.

CN119853805APending Publication Date: 2025-04-18RUIJIE NETWORKS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311350228.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-18
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

The existing optically-borne radio frequency platform cannot effectively realize signal gain control at the RU end of the remote unit in the 5GNR system, especially when the number of resource blocks is different, resulting in incorrect output detection power, affecting the system detection performance.

Method used

The clock synchronization unit obtains the first first frame RF power and passes it back to the expansion unit EU, so that the EU calculates the signal gain difference value in combination with the second first frame RF power received by the transceiver, and then obtains the signal attenuation amount and sends it to the RU, where the RU adjusts the gain on the link according to the signal attenuation amount.

Benefits of technology

Real-time monitoring and automatic adjustment of signal gain on the optical-load radio frequency platform link is realized, avoiding detection power calculation errors caused by different resource blocks, and is suitable for 5GNR systems and improving system reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119853805A_ABST
    Figure CN119853805A_ABST
Patent Text Reader

Abstract

The invention provides a gain control method, a gain control device, gain control equipment and a storage medium, a remote unit (RU) of a radio-over-fiber platform responds to an instant signal of a clock synchronization unit to acquire first first frame radio frequency power, and returns the first first frame radio frequency power to an extension unit (EU) of the radio-over-fiber platform. And the EU obtains the second first frame radio frequency power received by the transceiver, determines the signal gain difference value of the link according to the first first frame radio frequency power and the second first frame radio frequency power, obtains the signal attenuation amount of the RU end according to the gain difference value, and issues the signal attenuation amount to the RU. And the RU adjusts the gain on the link according to the signal attenuation. And automatic monitoring and adjustment are realized for solving the problem of signal gain uncertainty caused by various factors such as environment temperature, production process, optical path attenuation and the like of the ROF optical module on a link. And errors in detection power calculation caused by different RB numbers can be avoided, and the method can adapt to a 5GNR system and has higher reliability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a gain control method, device, equipment and storage medium. Background Art

[0002] For the Radio Over Fiber (ROF) platform, the relevant solution adjusts the output power of the ROF optical module by setting upper and lower limit thresholds after power detection to achieve gain control.

[0003] However, when the RF data is sent with different numbers of resource blocks (RBs), the levels detected by the detection test will be different, resulting in incorrect output detection power. In addition, the actual power difference between 1RB and 273RB full bandwidth is 24DB, which ultimately leads to a huge difference in the system's detection power in actual applications due to the different numbers of RBs and the output power to be adjusted, making this solution unsuitable for 5GNR systems.

[0004] It can be seen that there is an urgent need for a solution to control the signal gain at the remote unit (English: Remote Uint, abbreviated as RU) end of the optical radio frequency platform. Summary of the invention

[0005] The present application provides a gain control method, apparatus, device and storage medium for real-time monitoring of the signal gain at the remote unit RU end and thus adjusting the gain on the link.

[0006] In a first aspect, the present application provides a gain control method, which is applied to an extension unit EU of an optical radio frequency platform, and the method includes:

[0007] Receive the first frame radio frequency power returned by the remote unit RU of the optical radio frequency platform, and obtain the second frame radio frequency power received by the transceiver;

[0008] Determine a signal gain difference value of a link according to the first first frame radio frequency power and the second first frame radio frequency power, so as to obtain a signal attenuation amount of the link according to the gain difference value;

[0009] The signal attenuation amount is sent to the RU, so that the RU adjusts the gain on the link according to the signal attenuation amount.

[0010] In a possible design, if the link is an uplink, the first first frame radio frequency power is the first first frame radio frequency receiving power, and the second first frame radio frequency power is the second first frame radio frequency receiving power;

[0011] The determining the signal gain difference of the link according to the first first frame radio frequency power and the second first frame radio frequency power includes:

[0012] identifying whether the first first frame radio frequency receiving power is a characteristic value, the characteristic value indicating that the first first frame radio frequency receiving power is invalid;

[0013] If not, obtaining the signal gain of the uplink according to the first first frame radio frequency receiving power and the second first frame radio frequency receiving power;

[0014] A difference value between the signal gain of the uplink and the nominal gain of the uplink is acquired to obtain the signal gain difference value of the uplink.

[0015] In a possible design, if the link is a downlink, the first first frame radio frequency power is the first first frame radio frequency transmission power, and the second first frame radio frequency power is the second first frame radio frequency transmission power;

[0016] The determining the signal gain difference of the link according to the first first frame radio frequency power and the second first frame radio frequency power includes:

[0017] Acquire the signal gain of the downlink according to the first first frame radio frequency transmission power and the second first frame radio frequency transmission power;

[0018] A difference value between the signal gain of the downlink and the nominal gain of the downlink is acquired to obtain the signal gain difference value of the downlink.

[0019] In a possible design, sending the signal attenuation to the RU includes:

[0020] The signal attenuation is sent to the RU via the information transmission unit of the radio frequency over optical platform.

[0021] In one possible design, the information transmission unit includes one of an FSK transmission unit, a Lora communication unit, and an asynchronous receiver-transmitter transmitter.

[0022] In a second aspect, the present application provides a gain control method, which is applied to a remote unit RU of an optical radio frequency platform, and the method includes:

[0023] Responding to the instantaneous signal of the clock synchronization unit, collecting the radio frequency power of the first frame;

[0024] Transmitting the first first frame RF power back to the extension unit EU of the optical carrier RF platform, so that the EU determines the signal gain difference value of the link according to the first first frame RF power and the second first frame RF power, where the second first frame RF power is received by the transceiver;

[0025] Receive the signal attenuation of the link sent by the EU, and adjust the gain on the link according to the signal attenuation, where the signal attenuation is obtained by the EU according to the gain difference value.

[0026] In a possible design, if the link is an uplink, the first first frame radio frequency power is the first first frame radio frequency receiving power, and the second first frame radio frequency power is the second first frame radio frequency receiving power;

[0027] If the link is a downlink, the first first frame radio frequency power is the first first frame radio frequency transmission power, and the second first frame radio frequency power is the second first frame radio frequency transmission power.

[0028] In a possible design, when the link is the uplink, before the first first frame radio frequency power is returned to the extension unit EU of the optical radio frequency platform, it also includes:

[0029] Determine whether the radio frequency receiving power of the first first frame meets the detection power threshold;

[0030] If not, marking the first first frame radio frequency receiving power as a characteristic value, wherein the characteristic value indicates that the first first frame radio frequency receiving power is invalid;

[0031] If so, in response to the interrupt signal, determine whether the first first frame radio frequency receiving power is valid.

[0032] In one possible design, adjusting the gain on the link according to the signal attenuation includes:

[0033] When the link is the uplink, sending the signal attenuation to a digital attenuator on the uplink, so that the digital attenuator automatically performs uplink gain adjustment according to the signal attenuation;

[0034] When the link is the downlink, the signal attenuation is sent to the digital attenuator on the downlink, so that the digital attenuator automatically adjusts the downlink gain according to the signal attenuation.

[0035] In a possible design, the step of collecting the first frame radio frequency power in response to the instantaneous signal of the clock synchronization unit includes:

[0036] In response to the instantaneous signal of the clock synchronization unit, a collection instruction is sent to the analog-to-digital converter ADC of the optical radio frequency platform, so that the ADC responds to the collection instruction to collect the peak detection tube detection to obtain the level value and transmits the level value back to the RU;

[0037] The instantaneous signal includes a power-on signal or a power-off signal of the clock synchronization unit.

[0038] In a third aspect, the present application provides a gain control device, which is applied to an extension unit EU of an optical radio frequency platform, and the device includes:

[0039] A receiving module, used for receiving the first frame radio frequency power returned by the remote unit RU of the optical radio frequency platform, and obtaining the second frame radio frequency power received by the transceiver;

[0040] A processing module, used to determine a signal gain difference value of a link according to the first first frame radio frequency power and the second first frame radio frequency power, so as to obtain a signal attenuation amount of the link according to the gain difference value;

[0041] The sending module is used to send the signal attenuation to the RU, so that the RU adjusts the gain on the link according to the signal attenuation.

[0042] In a possible design, if the link is an uplink, the first first frame radio frequency power is the first first frame radio frequency receiving power, and the second first frame radio frequency power is the second first frame radio frequency receiving power;

[0043] The processing module is specifically used for:

[0044] identifying whether the first first frame radio frequency receiving power is a characteristic value, the characteristic value indicating that the first first frame radio frequency receiving power is invalid;

[0045] If not, obtaining the signal gain of the uplink according to the first first frame radio frequency receiving power and the second first frame radio frequency receiving power;

[0046] A difference value between the signal gain of the uplink and the nominal gain of the uplink is acquired to obtain the signal gain difference value of the uplink.

[0047] In a possible design, if the link is a downlink, the first first frame radio frequency power is the first first frame radio frequency transmission power, and the second first frame radio frequency power is the second first frame radio frequency transmission power;

[0048] The processing module is specifically used for:

[0049] Acquire the signal gain of the downlink according to the first first frame radio frequency transmission power and the second first frame radio frequency transmission power;

[0050] A difference value between the signal gain of the downlink and the nominal gain of the downlink is acquired to obtain the signal gain difference value of the downlink.

[0051] In a possible design, the sending module is specifically used to:

[0052] The signal attenuation is sent to the RU via the information transmission unit of the radio frequency over optical platform.

[0053] In one possible design, the information transmission unit includes one of an FSK transmission unit, a Lora communication unit, and an asynchronous receiver-transmitter transmitter.

[0054] In a fourth aspect, the present application provides a gain control device, which is applied to a remote unit RU of an optical radio frequency platform, and the device includes:

[0055] An acquisition module, used for acquiring the radio frequency power of the first frame in response to the instantaneous signal of the clock synchronization unit;

[0056] A backhaul module, used to backhaul the first first frame RF power to the extension unit EU of the optical carrier RF platform, so that the EU determines the signal gain difference value of the link according to the first first frame RF power and the second first frame RF power, and the second first frame RF power is received by the transceiver;

[0057] The receiving and adjusting module is used to receive the signal attenuation of the link sent by the EU, and adjust the gain on the link according to the signal attenuation, where the signal attenuation is obtained by the EU according to the gain difference value.

[0058] In a possible design, if the link is an uplink, the first first frame radio frequency power is the first first frame radio frequency receiving power, and the second first frame radio frequency power is the second first frame radio frequency receiving power;

[0059] If the link is a downlink, the first first frame radio frequency power is the first first frame radio frequency transmission power, and the second first frame radio frequency power is the second first frame radio frequency transmission power.

[0060] In a possible design, the gain control device further includes: a marking module; the marking module is used to:

[0061] Determine whether the radio frequency receiving power of the first first frame meets the detection power threshold;

[0062] If not, marking the first first frame radio frequency receiving power as a characteristic value, wherein the characteristic value indicates that the first first frame radio frequency receiving power is invalid;

[0063] If so, in response to the interrupt signal, determine whether the first first frame radio frequency receiving power is valid.

[0064] In one possible design, the receiving and adjusting module is used to:

[0065] When the link is the uplink, sending the signal attenuation to a digital attenuator on the uplink, so that the digital attenuator automatically performs uplink gain adjustment according to the signal attenuation;

[0066] When the link is the downlink, the signal attenuation is sent to the digital attenuator on the downlink, so that the digital attenuator automatically adjusts the downlink gain according to the signal attenuation.

[0067] In a possible design, the acquisition module is specifically used to:

[0068] In response to the instantaneous signal of the clock synchronization unit, a collection instruction is sent to the analog-to-digital converter ADC of the optical radio frequency platform, so that the ADC responds to the collection instruction to collect the peak detection tube detection to obtain the level value and transmits the level value back to the RU;

[0069] The instantaneous signal includes a power-on signal or a power-off signal of the clock synchronization unit.

[0070] In a fifth aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

[0071] The memory stores computer-executable instructions;

[0072] The processor executes the computer-executable instructions stored in the memory to implement any one of the possible gain control methods provided in the first aspect or any one of the possible gain control methods provided in the second aspect.

[0073] In a sixth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement any one of the possible gain control methods provided in the first aspect or any one of the possible gain control methods provided in the second aspect.

[0074] In a seventh aspect, the present application provides a computer program product, comprising computer execution instructions, which, when executed by a processor, are used to implement any one of the possible gain control methods provided in the first aspect or any one of the possible gain control methods provided in the second aspect.

[0075] The present application provides a gain control method, device, equipment and storage medium. First, the remote unit RU of the optical radio frequency platform responds to the instantaneous signal of the clock synchronization unit to collect the first frame radio frequency power, and transmits the first frame radio frequency power back to the extension unit EU of the optical radio frequency platform. Then EU obtains the second frame radio frequency power received by the transceiver, and determines the signal gain difference value of the link according to the first frame radio frequency power and the second frame radio frequency power, and then obtains the signal attenuation at the RU end according to the gain difference value, and sends the signal attenuation to RU. Finally, RU adjusts the gain on the link according to the signal attenuation. The ROF optical module on the link solves the uncertainty of the signal gain caused by various factors such as ambient temperature, production process, and optical path attenuation, and realizes automatic real-time monitoring and effective adjustment. And there will be no errors in the calculation of the detection power due to different numbers of RBs, it can be adapted to the 5GNR system, and has higher reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0077] Figure 1 A schematic diagram of a system architecture provided for an embodiment of the present application;

[0078] Figure 2 A schematic diagram of a flow chart of a gain control method provided in an embodiment of the present application;

[0079] Figure 3 A schematic flow chart of another gain control method provided in an embodiment of the present application;

[0080] Figure 4 A schematic diagram of a flow chart of another gain control method provided in an embodiment of the present application;

[0081] Figure 5 A schematic diagram of the structure of a gain control device provided in an embodiment of the present application;

[0082] Figure 6 A schematic diagram of the structure of another gain control device provided in an embodiment of the present application;

[0083] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0084] Figure 8 A schematic diagram of the structure of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0085] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of methods and devices consistent with some aspects of the present application as detailed in the appended claims.

[0086] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0087] The related solution adjusts the output power to achieve gain control by setting upper and lower limit thresholds after power detection. Then, when the RF data is sent with different numbers of resource blocks (RB), the levels tested by the detection will be different, resulting in incorrect output detection power. In addition, the actual difference between the full bandwidth power of 1RB and 273RB is 24DB, which ultimately leads to a huge difference in the output power to be adjusted due to the different number of RBs in the system's detection power in actual applications, making this solution inapplicable to the 5GNR system. It can be seen that there is an urgent need for a solution to control the signal gain at the remote unit (RU) end of the optical radio frequency platform.

[0088] In response to the above-mentioned problems existing in the related art, the present application provides a gain control method, device, equipment and storage medium. The inventive concept of the gain control method provided by the present application is: based on the clock synchronization unit RU, the first frame radio frequency power is obtained, and it is transmitted back to the extension unit (English: Extension Uint, abbreviated as EU) so that the EU combines the transceiver to calculate the signal gain difference value on the link based on the second frame radio frequency power received by the clock synchronization unit, and then the EU obtains the signal attenuation at the RU end according to the signal gain difference value, so as to realize real-time monitoring of the signal gain on the link. Furthermore, the EU sends the monitored signal attenuation on the link to the RU, and the RU adjusts the gain on the link according to the signal attenuation, thereby solving the signal gain caused by various factors such as ambient temperature, production process, and optical path attenuation for the ROF optical module on the link, and realizes automatic real-time monitoring and effective adjustment. And there will be no errors in the calculation of the detection power due to different numbers of RBs, which can be adapted to the 5GNR system and has higher reliability.

[0089] Figure 1 A schematic diagram of a system architecture provided in an embodiment of the present application. Figure 1 As shown, the optical carrier RF platform 100 uses a ROF optical module to transmit RF, which mainly solves the uncertainty of RF signal gain caused by various factors such as production process, ambient temperature and optical path attenuation. However, the gain control solution based on the ROF optical module in the related art cannot monitor the gain in real time, and it cannot be applied to the 5GNR system because the output detection power is incorrect due to different levels of detection test when the number of RBs is different.

[0090] Among them, the remote unit (RU) and the extension unit (EU) are both deployed with ROF optical modules, and the ROF optical modules at the EU end and the ROF optical modules at the RU end are connected by optical fiber. In the traditional optical fiber distribution system, the access unit couples the RF signal from the base station and converts it into a digital RF signal and transmits it to the EU end. The EU end splits the digital RF signal to transmit it to multiple RU ends connected to it, and the RU end realizes RF signal coverage.

[0091] In view of this, the embodiment of the present application provides a gain control method, based on the clock synchronization unit 101 in the optical radio frequency platform 100, RU102 obtains the first frame radio frequency power, and transmits it back to EU103, so that EU103 combines the transceiver 104 and calculates the signal gain difference value on the link based on the second frame radio frequency power received by the clock synchronization unit 101', and then EU103 obtains the signal attenuation at the RU102 end according to the signal gain difference value, and sends the signal attenuation to RU102, and RU102 adjusts the gain on the link according to the signal attenuation, thereby solving the signal gain uncertainty caused by various factors such as ambient temperature, production process, and optical path attenuation on the ROF optical module on the link, and realizing automatic real-time monitoring and effective adjustment. In addition, there will be no errors in the calculation of the detection power due to different RB numbers, which can be adapted to the 5GNR system and has higher reliability.

[0092] Optionally, the gain control method provided in the embodiment of the present application is also applicable to gain control in frequency division duplex (FDD) and time division duplex (TDD) systems.

[0093] It is worth noting that the above system architecture is merely illustrative, and the gain control method, apparatus, device, and storage medium provided in the embodiments of the present application include but are not limited to being applied to the above system architecture.

[0094] Figure 2 A schematic diagram of a gain control method provided in an embodiment of the present application. Figure 2 As shown, the gain control method provided in the embodiment of the present application includes:

[0095] S101: The RU responds to the instantaneous signal of the clock synchronization unit to collect the radio frequency power of the first frame.

[0096] The RU collects the RF power of the first frame on the link according to the rising edge or falling edge of the clock synchronization unit. The RF power of the first frame on the link is the first first frame RF power. The rising edge of the clock synchronization unit refers to the instantaneous signal emitted at the moment of connection, which is equivalent to the power-on signal of the clock synchronization unit. The falling edge of the clock synchronization unit refers to the instantaneous signal emitted at the moment of disconnection, which is equivalent to the power-off signal of the clock synchronization unit. The instantaneous signal of the clock synchronization unit triggers the RF power of the first frame on the link.

[0097] In some embodiments, the RF power of the first frame on the link can be as follows: Figure 1The analog-to-digital converter (ADC) 105 shown in the figure collects the level value detected by the peak detector 106.

[0098] For example, the RU responds to the instantaneous signal of the clock synchronization unit and sends an acquisition instruction to the ADC of the optical RF platform. The ADC responds to the acquisition instruction and uses the peak detection tube to acquire the level value. The acquired level value is the RF power of the first frame. The ADC then transmits the level value back to the RU, and the RU acquires the RF power of the first frame.

[0099] It can be understood that the link includes an uplink or a downlink. When the link is an uplink, the RF power of the first frame is the RF receiving power of the first frame, and the first first frame RF power is also the first first frame RF receiving power. When the link is a downlink, the RF power of the first frame is the RF transmitting power of the first frame, and the first first frame RF power is also the first first frame RF transmitting power.

[0100] S102: The RU transmits the first frame RF power back to the EU of the optical carrier RF platform.

[0101] Correspondingly, the EU receives the first frame RF power transmitted back by the RU.

[0102] RU transmits the acquired RF power of the first frame back to EU, so that EU performs calculations based on the RF power of the first frame. It is understandable that each end of RU and EU has a corresponding processor built in to enable it to have data processing capabilities. For example, the EU end is equipped with a field programmable gate array (FPGA) built-in processor. RU transmits the RF power of the first frame back to EU, which specifically means that the processor of RU transmits the RF power of the first frame back to the processor of EU.

[0103] Optionally, the RU may transmit the first frame RF power back to the EU through the information transmission unit of the optical radio frequency platform. The EU and the RU have a corresponding relationship, and the RU receives the digital RF signal distributed by the EU. In some embodiments, the information transmission unit may include a frequency shift keying (FSK) transmission unit, a Lora communication unit, and an asynchronous receiver / transmitter (UART). Figure 1 The information transmission unit used by the RU in the example is shown as the FSK transmission unit 107.

[0104] S103: EU obtains the radio frequency power of the second first frame received by the transceiver.

[0105] For example, the processor at the EU end obtains the radio frequency power of the second first frame received by the transceiver (English: Tranceiver) in the clock synchronization unit.

[0106] In some embodiments, Figure 1 The clock synchronization unit shown is a 10ms clock synchronization module. The first frame RF power and the second frame RF power are data collected by different ends for the same first frame RF signal. Due to the gain uncertainty of the RF signal during transmission, the signal gain of the same first frame RF signal on the transmission link can be calculated based on the first frame RF power and the second frame RF power.

[0107] It can be understood that the link includes an uplink or a downlink, and when the link is an uplink, the second first frame RF power obtained by the EU is the second first frame RF receiving power. When the link is a downlink, the second first frame RF power is the second first frame RF transmitting power.

[0108] S104: The EU determines a signal gain difference value of the link according to the first first frame radio frequency power and the second first frame radio frequency power, and obtains a signal attenuation amount of the link according to the gain difference value.

[0109] The EU calculates the signal gain difference value of the current link according to the first frame radio frequency power it receives and the second frame radio frequency power it obtains, and then calculates the signal attenuation of the link using the gain difference value.

[0110] For example, when the link is an uplink, the EU determines the uplink signal gain difference value according to the first frame RF receiving power and the second frame RF receiving power, and then calculates the uplink signal attenuation according to the signal gain difference value.

[0111] Accordingly, when the link is a downlink, the EU determines a signal gain difference value of the downlink according to the first frame RF transmission power and the second frame RF transmission power, and then calculates the signal attenuation of the downlink according to the signal gain difference value.

[0112] S105: The EU sends the signal attenuation of the link to the RU.

[0113] Correspondingly, the RU receives the signal attenuation of the link sent by the EU.

[0114] Specifically, the processor of the EU sends the signal attenuation to the processor of the RU. For example, the processor of the EU can send the signal attenuation of the link to the processor of the RU through the information transmission unit of the optical radio frequency platform. In some embodiments, the information transmission unit can include one of an FSK transmission unit, a Lora communication unit, and an asynchronous receiver-transmitter (UART). Figure 1The information transmission unit adopted by the EU in the embodiment is shown by taking the FSK transmission unit 107' as an example.

[0115] S106: The RU adjusts the gain on the link according to the signal attenuation.

[0116] After receiving the signal attenuation of the link sent by the EU, the RU adjusts the gain on the current link according to the signal attenuation.

[0117] For example, the RU sends the signal attenuation of the current link to the digital attenuator configured on the link, and the digital attenuator automatically adjusts the gain of the current link according to the signal attenuation.

[0118] Specifically, when the current link is an uplink, the RU sends the signal attenuation to the digital attenuator on the uplink, and the digital attenuator automatically adjusts the uplink gain according to the signal attenuation;

[0119] When the current link is a downlink, the RU sends the signal attenuation to the digital attenuator on the downlink, so that the digital attenuator automatically adjusts the downlink gain according to the signal attenuation.

[0120] In one possible design, a digital attenuator such as Figure 1 As shown in 108.

[0121] The gain control method provided in the embodiment of the present application can realize real-time automatic monitoring and adjustment for the ROF optical module when the signal gain uncertainty caused by various factors such as ambient temperature, production process, and optical path attenuation on the link is resolved. Compared with the related art, the gain control method provided in the embodiment of the present application will not cause incorrect calculation of detection power due to different RB numbers, and the gain control method is suitable for 5GNR systems. In addition, a 10ms clock synchronization unit is used in the calculation process of the signal attenuation, which can ensure the high accuracy and high reliability of the monitored link gain.

[0122] The following is a detailed introduction to the gain control methods in the uplink and downlink respectively.

[0123] Figure 3 A schematic diagram of another gain control method provided in an embodiment of the present application. Figure 3 As shown, the gain control method provided in the embodiment of the present application includes:

[0124] S201: The RU responds to the instantaneous signal of the clock synchronization unit to collect the first frame RF receiving power.

[0125] The RU collects the RF power of the first frame on the uplink according to the rising or falling edge of the clock synchronization unit, that is, the first frame RF receive (Receive, abbreviated as RX) power. The falling edge of the clock synchronization unit refers to the instantaneous signal sent at the moment of disconnection, which is equivalent to the power-off signal of the clock synchronization unit. The instantaneous signal of the clock synchronization unit triggers the first frame RF receive power on the uplink.

[0126] For example, in the uplink, the RU responds to the instantaneous signal of the clock synchronization unit and sends an acquisition instruction to the ADC of the optical RF platform. The ADC responds to the acquisition instruction and uses the peak detection tube to acquire the level value. The acquired level value is the RF receiving power of the first frame. The ADC then transmits the level value back to the RU, and the RU acquires the RF receiving power of the first frame.

[0127] S202: The RU determines whether the RF receiving power of the first frame meets the detection power threshold.

[0128] In actual working conditions, there is uncertainty about the strength of the RF signal. When the RF signal is too low, the accuracy of the acquired RF receiving power of the first frame will be low; when the RF signal is too high, the chip's own P1dB compression point will cause the acquired RF receiving power of the first frame to be compressed and inaccurate. Therefore, in order to ensure the accuracy of the RF receiving power of the first frame based on the gain control, the detection power threshold is set so that the RU can judge the validity of the collected RF receiving power of the first frame. For example, it is judged whether the RF receiving power of the first frame meets the detection power threshold. If it does not meet the detection power threshold, that is, the judgment result is no, it means that the collected RF receiving power of the first frame is invalid, and step S203a is executed; if it meets the detection power threshold, that is, the judgment result is yes, it means that the collected RF receiving power of the first frame is valid, and step S203b is executed.

[0129] It should be noted that the purpose of setting the detection power threshold is to filter out the inaccurate first frame RF receiving power obtained due to the RF signal being too low or too high. The upper and lower limits of the detection power threshold can be set according to actual working conditions.

[0130] In some embodiments, the validity of the RF receiving power of the first frame can be judged by a threshold unit at the RU end.

[0131] S203a: The RU marks the first frame RF receiving power as a characteristic value.

[0132] The characteristic value indicates that the RF receiving power of the first frame is invalid.

[0133] For example, after judgment, it is determined that the first frame radio frequency receiving power is invalid, and the invalid first frame radio frequency receiving power is marked as 0xFFFF, and the characteristic value is 0xFFFF.

[0134] S203b: The RU responds to the interrupt signal and determines that the RF receiving power of the first frame is valid.

[0135] After judgment, if the RF receiving power of the first frame meets the detection power threshold, the RF receiving power of the first frame is valid, and the threshold unit can generate an interrupt signal to send to the processor of the RU. The processor of the RU can respond to the interrupt signal to determine that the RF receiving power of the first frame is valid without marking it with a characteristic value.

[0136] In a possible design, the upper limit of the detection power threshold may be 5dbm, the lower limit may be -30dbm, and the detection power threshold may be (-30dbm, 5dbm). The first frame RF receiving power satisfies the detection power threshold, which means that the first frame RF receiving power is in this range.

[0137] S204: RU transmits the first frame RF receiving power back to EU.

[0138] Correspondingly, EU receives the RF receiving power of the first frame transmitted back by RU.

[0139] S205: EU obtains the radio frequency receiving power of the second first frame received by the transceiver.

[0140] The possible implementation methods, principles and technical effects of step S204 and step S205 are similar to the possible implementation methods, principles and technical effects of step S102 and step S103, respectively. For details, please refer to the above description and will not be repeated here.

[0141] The radio frequency receiving power of the second first frame received by the transceiver obtained by EU is valid, that is, it meets the detection power threshold.

[0142] S206: The EU identifies whether the first frame RF receiving power is a characteristic value.

[0143] EU identifies whether the first frame RF receiving power received from RU is a characteristic value. If it is a characteristic value, that is, 0xFFFF is received by EU, it means that the first frame RF receiving power is invalid, and the gain control method is terminated and step S207a is executed; otherwise, if it is not a characteristic value, step S207b is executed.

[0144] S207a: EU terminates the gain control method.

[0145] S207b: The EU obtains the uplink signal gain according to the first first frame RF receiving power and the second first frame RF receiving power.

[0146] The first frame RF receiving power and the second frame RF receiving power are based on the first frame RF receiving power obtained by different processors of the clock synchronization unit. The gain uncertainty between the two may be caused by various factors such as the production process, the ambient temperature of the link, and the optical path attenuation. The difference between the two can be used to obtain the signal gain of the uplink.

[0147] S208: EU obtains a difference value between the uplink signal gain and the uplink nominal gain, and obtains an uplink signal gain difference value.

[0148] For the links of the optical radio frequency platform, a nominal gain is set accordingly. EU calculates the difference between the signal gain of the uplink and the nominal gain set for the uplink, and the difference is the signal gain difference value of the uplink.

[0149] S209: EU obtains the signal attenuation of the uplink according to the gain difference value of the uplink.

[0150] The EU determines the gain difference value of the uplink as the signal attenuation amount of the uplink, thereby obtaining the signal attenuation amount of the uplink.

[0151] S2010: EU sends the uplink signal attenuation to RU.

[0152] Correspondingly, the RU receives the uplink signal attenuation sent by the EU.

[0153] For example, the processor of the EU sends the signal attenuation of the uplink to the processor of the RU through the information transmission unit. In some embodiments, the information transmission unit may include one of an FSK transmission unit, a Lora communication unit, and an asynchronous receiver-transmitter (UART).

[0154] S2011: The RU adjusts the gain on the uplink according to the signal attenuation of the uplink.

[0155] For example, the RU sends the uplink signal attenuation to the digital attenuator configured on the uplink, and the digital attenuator automatically adjusts the uplink gain of the uplink according to the signal attenuation. For example, the digital attenuator's adaptive digital gain control circuit can automatically adjust the gain in combination with its own attenuation.

[0156] In the uplink gain control method provided in the embodiment of the present application, the RU judges the validity of the collected first frame RF receiving power. If it is judged to be invalid, the first frame RF receiving power is marked as a characteristic value. The RU transmits the first frame RF receiving power back to the EU, and the EU identifies whether the received first frame RF receiving power is a characteristic value. If so, the uplink gain control method is terminated. If not, the EU determines the uplink signal difference value according to the first frame RF receiving power and the second frame RF receiving power it obtains, and calculates the uplink signal attenuation according to the uplink signal difference value. The EU sends the calculated uplink signal attenuation to the RU, and the RU adjusts the gain on the uplink according to the signal attenuation, thereby automatically monitoring and adjusting the gain on the uplink in real time. Its implementation method will not cause incorrect detection power calculation due to different RB numbers, and is suitable for the 5GNR system. It also has the advantages of low production and operation and maintenance costs and can improve system robustness.

[0157] Figure 4 A schematic diagram of a flow chart of another gain control method provided in an embodiment of the present application. Figure 4 As shown, the gain control method provided in the embodiment of the present application includes:

[0158] S301: The RU responds to the instantaneous signal of the clock synchronization unit to collect the radio frequency transmission power of the first frame.

[0159] The RU collects the RF power of the first frame on the downlink according to the rising or falling edge of the clock synchronization unit, that is, the first frame RF transmission (English: Transport, abbreviated as TX) power. The falling edge of the clock synchronization unit refers to the instantaneous signal sent at the moment of disconnection, which is equivalent to the power-off signal of the clock synchronization unit. The instantaneous signal of the clock synchronization unit triggers the first frame RF transmission power on the downlink.

[0160] For example, in the downlink, the RU responds to the instantaneous signal of the clock synchronization unit and sends an acquisition instruction to the ADC of the optical RF platform. The ADC responds to the acquisition instruction and uses the peak detector to acquire the level value. The acquired level value is the RF transmission power of the first frame. The ADC then transmits the level value back to the RU, and the RU acquires the RF transmission power of the first frame.

[0161] S302: RU transmits the first frame RF transmission power back to EU.

[0162] Correspondingly, EU receives the RF transmission power of the first frame transmitted back by RU.

[0163] S303: EU obtains the radio frequency transmission power of the second first frame received by the transceiver.

[0164] The possible implementation methods, principles and technical effects of step S302 and step S303 are similar to the possible implementation methods, principles and technical effects of step S102 and step S103, respectively. For details, please refer to the above description and will not be repeated here.

[0165] S304: The EU obtains a downlink signal gain according to the first first frame radio frequency transmission power and the second first frame radio frequency transmission power.

[0166] The first frame RF transmit power and the second frame RF transmit power are based on the first frame RF transmit power obtained by different processors of the clock synchronization unit. The difference between the two may cause gain uncertainty due to various factors such as the process, the ambient temperature of the link, and the optical path attenuation. The signal gain of the downlink can be obtained by obtaining the difference between the two.

[0167] S305: The EU obtains a difference value between a downlink signal gain and a downlink nominal gain, and obtains a downlink signal gain difference value.

[0168] For the links of the optical radio frequency platform, a nominal gain is set accordingly. EU calculates the difference between the signal gain of the downlink and the nominal gain set for the downlink, and the difference is the signal gain difference value of the downlink.

[0169] S306: EU obtains the signal attenuation of the downlink according to the gain difference value of the downlink.

[0170] The EU determines the gain difference value of the downlink as the signal attenuation amount of the downlink, thereby obtaining the signal attenuation amount of the downlink.

[0171] S307: The EU sends the downlink signal attenuation to the RU.

[0172] Correspondingly, the RU receives the downlink signal attenuation sent by the EU.

[0173] For example, the processor of the EU sends the signal attenuation of the downlink to the processor of the RU through the information transmission unit. In some embodiments, the information transmission unit may include one of an FSK transmission unit, a Lora communication unit, and an asynchronous receiver-transmitter (UART).

[0174] S308: The RU adjusts the gain on the downlink according to the signal attenuation of the downlink.

[0175] For example, the RU sends the signal attenuation of the downlink to the digital attenuator configured on the downlink, and the digital attenuator automatically adjusts the downlink gain of the downlink according to the signal attenuation. For example, the digital attenuator can adjust the gain by itself through its adaptive digital gain control circuit combined with its own attenuation.

[0176] The gain control method for the downlink provided in the embodiment of the present application is that the RU transmits the collected first frame RF transmission power back to the EU, and the EU determines the signal difference value of the downlink according to the first frame RF transmission power and the acquired second frame RF transmission power, and calculates the signal attenuation of the downlink according to the signal difference value of the downlink. The EU sends the calculated signal attenuation of the downlink to the RU, and the RU adjusts the gain on the downlink according to the signal attenuation, thereby automatically monitoring and adjusting the gain on the downlink in real time. The implementation method will not cause incorrect calculation of the detection power due to different numbers of RBs, and is suitable for the 5GNR system. It also has the advantages of low production and operation and maintenance costs and can improve system robustness.

[0177] Figure 5 A schematic diagram of the structure of a gain control device provided in an embodiment of the present application is applied to an extension unit EU of an optical radio frequency platform, such as Figure 5 As shown, the gain control device 400 provided in the embodiment of the present application includes:

[0178] The receiving module 401 is used to receive the first frame radio frequency power returned by the remote unit RU of the optical radio frequency platform, and obtain the second frame radio frequency power received by the transceiver;

[0179] The processing module 402 is used to determine a signal gain difference value of the link according to the first first frame radio frequency power and the second first frame radio frequency power, so as to obtain a signal attenuation of the link according to the gain difference value;

[0180] The sending module 403 is used to send the signal attenuation to the RU, so that the RU adjusts the gain on the link according to the signal attenuation.

[0181] In a possible design, if the link is an uplink, the first first frame radio frequency power is the first first frame radio frequency receiving power, and the second first frame radio frequency power is the second first frame radio frequency receiving power; the processing module 402 is specifically used to:

[0182] Identify whether the first frame radio frequency receiving power is a characteristic value, the characteristic value indicates that the first frame radio frequency receiving power is invalid;

[0183] If not, obtaining the uplink signal gain according to the first first frame radio frequency receiving power and the second first frame radio frequency receiving power;

[0184] A difference value between the uplink signal gain and the uplink nominal gain is obtained to obtain the uplink signal gain difference value.

[0185] In a possible design, if the link is a downlink, the first first frame radio frequency power is the first first frame radio frequency transmission power, and the second first frame radio frequency power is the second first frame radio frequency transmission power; the processing module 402 is specifically used to:

[0186] Acquire a downlink signal gain according to the first frame radio frequency transmission power and the second frame radio frequency transmission power;

[0187] A difference value between a downlink signal gain and a downlink nominal gain is obtained to obtain a downlink signal gain difference value.

[0188] In a possible design, the sending module 403 is specifically used for:

[0189] The signal attenuation is sent to the RU through the information transmission unit of the optical radio frequency platform.

[0190] In one possible design, the information transmission unit includes one of an FSK transmission unit, a Lora communication unit, and an asynchronous receiver-transmitter transmitter.

[0191] The gain control device provided in the embodiment of the present application can execute the corresponding steps of the gain control method on the EU side in the above method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0192] Figure 6 A schematic diagram of the structure of another gain control device provided in an embodiment of the present application, which is applied to a remote unit RU of an optical radio frequency platform, such as Figure 6 As shown, the gain control device 500 provided in the embodiment of the present application includes:

[0193] The acquisition module 501 is used to collect the radio frequency power of the first frame in response to the instantaneous signal of the clock synchronization unit;

[0194] A backhaul module 502 is used to backhaul the first first frame RF power to the extension unit EU of the optical carrier RF platform, so that the EU determines the signal gain difference value of the link according to the first first frame RF power and the second first frame RF power, and the second first frame RF power is received by the transceiver;

[0195] The receiving and adjusting module 503 is used to receive the signal attenuation of the link sent by the EU, and adjust the gain on the link according to the signal attenuation. The signal attenuation is obtained by the EU according to the gain difference value.

[0196] In a possible design, if the link is an uplink, the first frame radio frequency power is the first frame radio frequency receiving power, and the second frame radio frequency power is the second frame radio frequency receiving power;

[0197] If the link is a downlink, the first first frame radio frequency power is the first first frame radio frequency transmission power, and the second first frame radio frequency power is the second first frame radio frequency transmission power.

[0198] In a possible design, the gain control device 500 further includes: a marking module; the marking module is used to:

[0199] Determine whether the radio frequency receiving power of the first frame meets the detection power threshold;

[0200] If not, the first frame radio frequency receiving power is marked as a characteristic value, and the characteristic value indicates that the first frame radio frequency receiving power is invalid;

[0201] If so, respond to the interrupt signal to determine whether the first frame RF receiving power is valid.

[0202] In one possible design, the receiving and adjusting module 503 is configured to:

[0203] When the link is an uplink, the signal attenuation is sent to the digital attenuator on the uplink, so that the digital attenuator automatically adjusts the uplink gain according to the signal attenuation;

[0204] When the link is a downlink, the signal attenuation is sent to the digital attenuator on the downlink, so that the digital attenuator automatically adjusts the downlink gain according to the signal attenuation.

[0205] In a possible design, the acquisition module 501 is specifically used for:

[0206] In response to the instantaneous signal of the clock synchronization unit, a collection instruction is sent to the analog-to-digital converter ADC of the optical radio frequency platform, so that the ADC responds to the collection instruction and collects the peak detection tube detection to obtain the level value and transmits the level value back to the RU;

[0207] The instantaneous signal includes a power-on signal or a power-off signal of the clock synchronization unit.

[0208] The gain control device provided in the embodiment of the present application can execute the corresponding steps of the gain control method on the RU side in the above method embodiment. Its implementation principle and technical effect are similar and will not be repeated here.

[0209] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 7 As shown, the electronic device 600 may include: a processor 601 , and a memory 602 communicatively connected to the processor 601 .

[0210] The memory 602 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer-executable instructions.

[0211] The memory 602 may include a high-speed RAM memory, and may also include a non-volatile memory (NoN-volatile memory), such as at least one disk memory.

[0212] The processor 601 is used to execute the computer-executable instructions stored in the memory 602 to implement the above-mentioned gain control method on the EU side.

[0213] The processor 601 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0214] Optionally, the memory 602 may be independent or integrated with the processor 601. When the memory 602 is a device independent of the processor 601, the electronic device 600 may further include:

[0215] The bus 603 is used to connect the processor 601 and the memory 602. The bus can be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.

[0216] Optionally, in a specific implementation, if the memory 602 and the processor 601 are integrated on a chip, the memory 602 and the processor 601 can communicate through an internal interface.

[0217] Figure 8 This is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application. Figure 8 As shown, the electronic device 700 may include: a processor 701 , and a memory 702 communicatively connected to the processor 701 .

[0218] The memory 702 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer-executable instructions.

[0219] The memory 702 may include a high-speed RAM memory, and may also include a non-volatile memory (NoN-volatile memory), such as at least one disk memory.

[0220] The processor 701 is used to execute the computer-executable instructions stored in the memory 702 to implement the above-mentioned gain control method on the RU side.

[0221] The processor 701 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0222] Optionally, the memory 702 may be independent or integrated with the processor 701. When the memory 702 is a device independent of the processor 701, the electronic device 700 may further include:

[0223] The bus 703 is used to connect the processor 701 and the memory 702. The bus can be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.

[0224] Optionally, in a specific implementation, if the memory 702 and the processor 701 are integrated on a chip, the memory 702 and the processor 701 can communicate through an internal interface.

[0225] The present application also provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes. Specifically, the computer-readable storage medium stores computer execution instructions, and the computer execution instructions are used for the methods in the above embodiments.

[0226] The present application also provides a computer program product, including computer execution instructions, which implement the method in the above embodiment when executed by a processor.

[0227] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the claims.

[0228] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A gain control method, characterized in that: The method applied to the extension unit EU of the radio frequency over light platform comprises: Receive the first frame radio frequency power returned by the remote unit RU of the optical radio frequency platform, and obtain the second frame radio frequency power received by the transceiver; Determine a signal gain difference value of a link according to the first first frame radio frequency power and the second first frame radio frequency power, so as to obtain a signal attenuation amount of the link according to the gain difference value; The signal attenuation amount is sent to the RU, so that the RU adjusts the gain on the link according to the signal attenuation amount.

2. The gain control method according to claim 1, characterized in that: If the link is an uplink, the first first frame radio frequency power is the first first frame radio frequency receiving power, and the second first frame radio frequency power is the second first frame radio frequency receiving power; The determining the signal gain difference of the link according to the first first frame radio frequency power and the second first frame radio frequency power includes: identifying whether the first first frame radio frequency receiving power is a characteristic value, the characteristic value indicating that the first first frame radio frequency receiving power is invalid; If not, obtaining the signal gain of the uplink according to the first first frame radio frequency receiving power and the second first frame radio frequency receiving power; A difference value between the signal gain of the uplink and the nominal gain of the uplink is acquired to obtain the signal gain difference value of the uplink.

3. The gain control method according to claim 1, characterized in that: If the link is a downlink, the first first frame radio frequency power is the first first frame radio frequency transmission power, and the second first frame radio frequency power is the second first frame radio frequency transmission power; The determining the signal gain difference of the link according to the first first frame radio frequency power and the second first frame radio frequency power includes: Acquire the signal gain of the downlink according to the first first frame radio frequency transmission power and the second first frame radio frequency transmission power; A difference value between the signal gain of the downlink and the nominal gain of the downlink is acquired to obtain the signal gain difference value of the downlink.

4. The gain control method according to any one of claims 1 to 3, characterized in that: The sending the signal attenuation to the RU includes: The signal attenuation is sent to the RU via the information transmission unit of the radio frequency over optical platform.

5. The gain control method according to claim 4, characterized in that: The information transmission unit includes one of an FSK transmission unit, a Lora communication unit and an asynchronous receiver-transmitter.

6. A gain control method, characterized in that: The method applied to a remote unit RU of an optical radio frequency platform comprises: Responding to the instantaneous signal of the clock synchronization unit, collecting the radio frequency power of the first frame; Transmitting the first first frame RF power back to the extension unit EU of the optical carrier RF platform, so that the EU determines the signal gain difference value of the link according to the first first frame RF power and the second first frame RF power, where the second first frame RF power is received by the transceiver; Receive the signal attenuation of the link sent by the EU, and adjust the gain on the link according to the signal attenuation, where the signal attenuation is obtained by the EU according to the gain difference value.

7. The gain control method according to claim 6, characterized in that: If the link is an uplink, the first first frame radio frequency power is the first first frame radio frequency receiving power, and the second first frame radio frequency power is the second first frame radio frequency receiving power; If the link is a downlink, the first first frame radio frequency power is the first first frame radio frequency transmission power, and the second first frame radio frequency power is the second first frame radio frequency transmission power.

8. The gain control method according to claim 7, characterized in that: When the link is the uplink, before the first first frame radio frequency power is returned to the extension unit EU of the optical radio frequency platform, it also includes: Determine whether the radio frequency receiving power of the first first frame meets the detection power threshold; If not, marking the first first frame radio frequency receiving power as a characteristic value, wherein the characteristic value indicates that the first first frame radio frequency receiving power is invalid; If so, in response to the interrupt signal, determine whether the first first frame radio frequency receiving power is valid.

9. The gain control method according to claim 7, characterized in that: The step of adjusting the gain on the link according to the signal attenuation comprises: When the link is the uplink, sending the signal attenuation to a digital attenuator on the uplink, so that the digital attenuator automatically performs uplink gain adjustment according to the signal attenuation; When the link is the downlink, the signal attenuation is sent to the digital attenuator on the downlink, so that the digital attenuator automatically adjusts the downlink gain according to the signal attenuation.

10. The gain control method according to any one of claims 6 to 9, characterized in that: The step of collecting the first frame radio frequency power in response to the instantaneous signal of the clock synchronization unit includes: In response to the instantaneous signal of the clock synchronization unit, a collection instruction is sent to the analog-to-digital converter ADC of the optical radio frequency platform, so that the ADC responds to the collection instruction to collect the peak detection tube detection to obtain the level value and transmits the level value back to the RU; The instantaneous signal includes a power-on signal or a power-off signal of the clock synchronization unit.

11. A gain control device, characterized in that: An extension unit EU applied to an optical radio frequency platform, the device comprising: A receiving module, used for receiving the first frame radio frequency power returned by the remote unit RU of the optical radio frequency platform, and obtaining the second frame radio frequency power received by the transceiver; A processing module, used to determine a signal gain difference value of a link according to the first first frame radio frequency power and the second first frame radio frequency power, so as to obtain a signal attenuation amount of the link according to the gain difference value; The sending module is used to send the signal attenuation to the RU, so that the RU adjusts the gain on the link according to the signal attenuation.

12. A gain control device, characterized in that: A remote unit RU applied to an optical radio frequency platform, the device comprising: An acquisition module, used for acquiring the radio frequency power of the first frame in response to the instantaneous signal of the clock synchronization unit; A backhaul module, used to backhaul the first first frame RF power to the extension unit EU of the optical carrier RF platform, so that the EU determines the signal gain difference value of the link according to the first first frame RF power and the second first frame RF power, and the second first frame RF power is received by the transceiver; The receiving and adjusting module is used to receive the signal attenuation of the link sent by the EU, and adjust the gain on the link according to the signal attenuation, where the signal attenuation is obtained by the EU according to the gain difference value.

13. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the gain control method according to any one of claims 1 to 5, or any one of claims 6 to 10.

14. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, wherein the computer-executable instructions are used to implement the gain control method according to any one of claims 1 to 5, or any one of claims 6 to 10 when executed by a processor.