WO2022100429A1 - Antenna switching method, customer premise equipment and computer readable storage medium - Google Patents

Antenna switching method, customer premise equipment and computer readable storage medium Download PDF

Info

Publication number
WO2022100429A1
WO2022100429A1 PCT/CN2021/126296 CN2021126296W WO2022100429A1 WO 2022100429 A1 WO2022100429 A1 WO 2022100429A1 CN 2021126296 W CN2021126296 W CN 2021126296W WO 2022100429 A1 WO2022100429 A1 WO 2022100429A1
Authority
WO
WIPO (PCT)
Prior art keywords
switching
switching instruction
antenna
switch
radio frequency
Prior art date
Application number
PCT/CN2021/126296
Other languages
French (fr)
Chinese (zh)
Inventor
周雷
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022100429A1 publication Critical patent/WO2022100429A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
    • H04B7/0604Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching with predefined switching scheme
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of antenna technology, and in particular, to an antenna switching method, a customer premises equipment, and a computer-readable storage medium.
  • Customer Premise Equipment is a mobile signal access device used to receive mobile signals and forward them with wireless WIFI signals. It is also a kind of high-speed signal, such as 4G or 5G signal, into WiFi signal. equipment. Generally, the switching mechanism of the transmit antennas configured in the customer pre-equipment is single, and the communication performance of the customer pre-equipment is poor.
  • an antenna switching method for a customer premises equipment, and a computer-readable storage medium.
  • An antenna switching method which is applied to a customer front-end device including multiple transmitting antennas, the method includes:
  • a first switching mode and a second switching mode are enabled, wherein a first switching instruction is generated in the first switching mode, and a first switching instruction is generated in the second switching mode the second switching instruction;
  • the switch circuit is controlled to switch the first transmit antenna to the second transmit antenna according to the target switch instruction, wherein the first transmit antenna or the second transmit antenna is one of the plurality of transmit antennas.
  • a customer premises equipment comprising:
  • Antenna groups including multiple transmit antennas
  • the switch circuit is connected with multiple transmitting antennas respectively,
  • a radio frequency circuit connected to the switch circuit, and used for transmitting and receiving the received radio frequency signal, wherein the switch circuit is used to conduct the radio frequency path between any one of the transmitting antennas and the radio frequency circuit;
  • the radio frequency processing circuit is respectively connected with the radio frequency circuit and the switch circuit; wherein, the radio frequency processing circuit is configured to: control the first transmit antenna to transmit radio frequency signals; if the conditions for switching to the use of the second transmit antenna are met, enable the first transmit antenna a switching mode and enabling a second switching mode, wherein a first switching instruction is generated in the first switching mode, and a second switching instruction is generated in the second switching mode; according to the first switching instruction and/or The second switching instruction generates a target switching instruction; the switch circuit is controlled to switch the first transmit antenna to the second transmit antenna according to the target switch instruction; wherein the first transmit antenna or the second transmit antenna is a plurality of one of the transmitting antennas.
  • a customer premises equipment includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the foregoing antenna switching method.
  • Fig. 1 is the structural block diagram of customer front-end equipment in one embodiment
  • FIG. 2 is a flowchart of an antenna switching method in one embodiment
  • FIG. 3 is a flowchart of enabling a first switching mode in one embodiment
  • 4a is an arrangement diagram of eight receiving antennas in one embodiment
  • FIG. 4b is a schematic top view of an antenna group in a customer front-end equipment in one embodiment
  • FIG. 5 is a flowchart of enabling a second switching mode in one embodiment
  • FIG. 6 is a flowchart of an antenna switching method in another embodiment
  • FIG. 7 is a flowchart of a method for antenna switching in yet another embodiment
  • Fig. 8 is a structural block diagram of a customer premises equipment in another embodiment
  • FIG. 9 is a structural block diagram of a customer premises equipment in yet another embodiment.
  • FIG. 10 is a structural block diagram of a customer premises equipment in yet another embodiment.
  • first, second, etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element.
  • a first transmit antenna may be referred to as a second transmit antenna, and similarly, a second transmit antenna may be referred to as a first transmit antenna, without departing from the scope of this application.
  • Both the first transmit antenna and the second transmit antenna are transmit antennas, but they are not the same transmit antenna.
  • first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with “first”, “second” may expressly or implicitly include at least one of that feature.
  • plurality means at least two, such as two, three, etc., unless expressly and specifically defined otherwise.
  • the present application provides an antenna switching method, and the method is applied to a customer premise equipment.
  • the customer front-end equipment is used to realize the network access function and convert the operator's public network WAN to the user's home local area network LAN.
  • FTTH optical fiber access
  • DSL digital telephone line access
  • Cable cable
  • Mobile mobile access, ie wireless CPE.
  • the customer front-end device is a mobile signal access device that receives mobile signals and forwards them as wireless WIFI signals. It is also a device that converts high-speed 4G or 5G signals into WiFi signals, which can support simultaneous access of multiple mobile terminals The internet.
  • the embodiment of the present application provides a customer pre-installation device.
  • the customer premises equipment includes an antenna set 110, radio frequency circuits 120, switching circuits 130, radio frequency processing circuits 140, a housing, a memory (which optionally includes one or more computer-readable storage media), a processor , peripheral device interface, input/output (I/O) subsystem, etc. These components optionally communicate via one or more communication buses or signal lines. These components optionally communicate via one or more communication buses or signal lines.
  • the antenna group 110 includes a plurality of transmitting antennas (eg, B1 and B2), which are used to transmit radio frequency signals of a preset frequency band.
  • the multiple transmitting antennas may be 5G antennas, 4G antennas, WiFi antennas, Bluetooth antennas, etc., which are used to transmit and receive radio frequency signals in corresponding frequency bands.
  • the number N of transmitting antennas can be 2, 3, 4, 6, 8, 10, etc.
  • the multiple transmitting antennas are evenly spaced along the peripheral direction of the customer's front-end equipment, and the radiating surfaces of the multiple transmitting antennas face different directions , so that the beam scanning range of each transmitting antenna can achieve 360° omnidirectional coverage of the horizontal plane.
  • the switch circuit 130 is respectively connected with the multiple transmitting antennas, and the radio frequency processing circuit 140 is connected with the radio frequency circuit 120 and the switch circuit 130 respectively.
  • the radio frequency circuit 120 is used for transceiving and processing the received radio frequency signal, that is, the radio frequency circuit 120 can support the transceiving and processing of the radio frequency signal.
  • the radio frequency circuit 120 is connected to the multiple transmitting antennas through the switch circuit 130, and the switch circuit 130 can conduct the radio frequency path between any reflecting antenna and the radio frequency circuit 120 under the control of the radio frequency processing circuit 140, that is, it can selectively Turn on the transmit path where any transmit antenna is located.
  • the radio frequency circuit 120 may include a transceiver module that supports receiving and transmitting processing of radio frequency signals, a receiving module that supports receiving and processing radio frequency signals, and the like.
  • the radio frequency processing circuit 140 may include a radio frequency transceiver 141 and a baseband processor 142 to control transmission and reception of radio frequency signals, and the like.
  • the radio frequency processing circuit 140 may be configured to control the first transmit antenna to transmit radio frequency signals; if the conditions for switching to using the second transmit antenna are met, enable the first switching mode and enable the second switching mode, wherein , generate the first switching instruction in the first switching mode, and generate the second switching instruction in the second switching mode; generate the target switching instruction according to the first switching instruction and/or the second switching instruction; control the switch circuit 130 according to the target switching instruction
  • the first transmit antenna is switched to the second transmit antenna; wherein the first transmit antenna and the second transmit antenna are one of the multiple transmit antennas.
  • the radio frequency processing circuit 140 can control the switch circuit 130 to switch the first transmit antenna to the second transmit according to the generation of the first switch command in the first switch mode and/or the generation of the second switch command in the second switch mode
  • the antenna expands the active switching mechanism of the transmitting antenna, ensures a good communication state, and improves the transmission coverage and user experience of the transmitting antenna during use.
  • customer premises equipment shown in FIG. 1 does not constitute a limitation on the customer premises equipment, and may include more or less components than those shown in the figure, or combine some components, or different components layout.
  • the various components shown in Figure 1 are implemented in hardware, software, or a combination of both hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • FIG. 2 is a flowchart of an antenna switching method in one embodiment.
  • the antenna switching method in this embodiment is described by taking the operation on the customer premises equipment in FIG. 1 as an example. As shown in FIG. 2 , the antenna switching method includes steps 202 to 208 .
  • Step 202 controlling the first transmitting antenna to transmit radio frequency signals.
  • the first transmit antenna may be understood as any one of the multiple transmit antennas.
  • the customer front-end equipment can conduct the transmission path where the first transmission antenna is located, so that the first transmission antenna is in a working state, and then transmits radio frequency signals.
  • the customer front-end equipment can control the switch circuit 130 to conduct the radio frequency path between the first transmitting antenna and the transceiver circuit, and then conduct the transmitting path of the first transmitting antenna.
  • Step 204 if the conditions for switching to using the second transmit antenna are met, enable the first switching mode and enable the second switching mode, wherein the first switching instruction is generated in the first switching mode, and the first switching instruction is generated in the second switching mode. Two switching instructions.
  • the customer premises equipment may determine whether the condition for switching to using the second transmit antenna is satisfied according to the current transmit performance of the first transmit antenna.
  • the transmission performance can be based on the transmission power on the transmission channel where the first transmission antenna is located.
  • the transmission power gain adjustment value TX Automatic Gain Control, TXAGC
  • TXAGC Transmission Power Gain Control
  • MTPL Maximum Transmission Power Level
  • the customer premises equipment includes multiple receive antennas, eg, N receive antennas.
  • the customer front-end equipment may select K receiving antennas from the multiple receiving antennas to form the multiple receiving antenna group 110, where 2 ⁇ K ⁇ N, N ⁇ 4.
  • the polite front-end device may also determine whether the condition for switching to using the second transmit antenna is satisfied according to the network information of the radio frequency signal currently received by the antenna group 110 .
  • the network information may include raw and processed information associated with wireless performance metrics of the received RF signals, such as received power, reference signal received power, reference signal received quality, received signal strength indication, signal-to-noise ratio, etc. .
  • the network information is taken as an example of the received power of the reference signal for description. When the received power of the reference signal is less than the preset threshold value, it is considered that the condition for switching to using the second transmit antenna is satisfied.
  • the customer premises equipment may set the activation interval period of the first switching mode and the second switching mode, and when the respective activation interval periods are satisfied, it is considered that the conditions for switching to using the second transmit antenna are satisfied.
  • the activation interval period of the first switching mode is 2 seconds
  • the activation period of the switching mode of the second antenna is 3 s. That is, the first switching mode is enabled every 2s, and the second switching mode is enabled every 3s.
  • the first switching mode can be understood as a passive switching mode, and the setting of the passive switching mode can be determined from the demand source of whether the transmitting antenna needs to be switched. That is, while the first transmitting antenna transmits the radio frequency signal to the base station, the baseband processor 142 in the customer premise equipment can control the multiple receiving antenna groups 110 to receive the radio frequency signal from the base station one by one, and receive the radio frequency signal according to the reception of the radio frequency signal.
  • the network information generates the first handover instruction.
  • the second switching mode can be understood as an active switching mode.
  • the radio frequency transceiver 141 of the customer premises equipment will determine the state of the transmitting antenna according to the number of times the power information on the transmission channel reaches the MTPL to generate the second switching instruction.
  • the start times of the first switching mode and the second switching mode may be the same or different.
  • Step 206 generating a target switching instruction according to the first switching instruction and/or the second switching instruction.
  • the customer premise equipment may generate the target switching instruction according to the sequence of receiving the first switching instruction and the second switching instruction. Specifically, if the customer front-end equipment receives the first switching instruction and the second switching instruction at the same time, the target switching instruction can be generated according to the first switching instruction and the second switching instruction. If the customer front-end device receives the difference between the first switching instruction and the second switching instruction, the target switching instruction can be generated according to the first switching instruction or the second switching instruction. Exemplarily, if the first switching instruction is received first, the first switching instruction can be used as the target switching instruction; if the second switching instruction is received first, the second switching instruction can be used as the target switching instruction. instruction. It should be noted that, receiving the first switching instruction first can be understood as within the same switching cycle, or, after the first switching mode and the second switching mode are activated, the time when the first switching instruction is received is earlier than the second switching instruction is received. moment of instruction.
  • Step 208 the switch circuit is controlled to switch the first transmit antenna to the second transmit antenna according to the target switch instruction, wherein the second transmit antenna is a target transmit antenna among the multiple transmit antennas.
  • the customer front-end device can pre-store the correspondence between the target switching instruction and the control logic of the switch circuit 130 , the correspondence between the first switching instruction and the control logic of the switch circuit 130 , and the correspondence between the second switching instruction and the control logic of the switch circuit 130 . and the corresponding relationship between each terminal of the switch circuit 130 and each transmitting antenna.
  • the switch circuit 130 may be an SPnT switch. That is, the single terminal of the SPnT switch is connected to the transceiver circuit, and the n selection terminals of the SPnT switch are respectively connected to the n transmitting antennas in a one-to-one correspondence.
  • the target switching command is used to turn on the path between the nth selection terminal and the single terminal of the SPnT switch.
  • the target switching instruction can be identified by a binary value, for example, 001 is used to identify the path between the first selection terminal and the single terminal of the SPnT switch, and 010 is used to identify the second selection of the SPnT switch.
  • the switch circuit 130 can be an SPDT switch
  • the corresponding target switching instruction can also be identified by high and low level information. For example, the high level is used to identify the path between the first selection terminal and the single terminal of the SPDT switch, and the low level is used to identify the path between the second selection terminal and the single terminal of the SPDT switch.
  • the identification mode and identification meaning of the first switching instruction and the second switching instruction are the same as the identification mode and identification meaning of the target switching instruction.
  • the correspondence between the first switching instruction and the control logic of the switch circuit 130 and the correspondence between the second switching instruction and the control logic of the switch circuit 130 may also be set differently. It should be noted that, in the embodiments of the present application, the identification methods of the first switching instruction, the second switching instruction, and the target switching instruction are not further limited.
  • the customer front-end device can control the switch circuit 130 to switch the first transmit antenna to the second transmit antenna, that is, the target receive antenna, according to the target switch instruction, so as to realize switching control between the transmit antennas.
  • the above antenna switching method can control the first transmitting antenna to transmit radio frequency signals, and if the conditions for switching to using the second transmitting antenna are met, the first switching mode and the second switching mode are enabled, according to the first switching instruction and/or
  • the second switching instruction generates a target switching instruction; the switch circuit 130 is controlled to switch the first transmitting antenna to the second transmitting antenna according to the target switching instruction.
  • the customer front-end device can obtain the first switching instruction and the second switching instruction, that is, it can receive the dual logic control signal (the first switching instruction and the second switching instruction), and use the received first switching instruction and the second switching instruction.
  • the target switching command is output, which enriches the use scenarios that can be used for transmitting antenna switching (based on the first switching mode and based on the second switching mode), also ensures a good communication state, and improves the use of Transmit antenna coverage and user experience.
  • enabling the first switching mode specifically includes steps 302 to 308 .
  • Step 302 Based on the first transmit antenna, the baseband processor acquires network information of the radio frequency signal measured respectively based on multiple receive antenna groups.
  • the customer front-end device may include multiple receiving antennas, for example, N receiving antennas, and the receiving antennas may be 5G antennas, 4G antennas, WiFi antennas, Bluetooth antennas, etc., which are used to transmit and receive radio frequencies corresponding to corresponding frequency bands. Signal.
  • the number N of receiving antennas may be 2, 3, 4, 6, 8, 10, etc., to meet the communication requirements of the customer's front-end equipment.
  • the radiating surfaces of the N receiving antennas face at least three different directions. It can also be understood that each receiving antenna has a radiating surface, and the radiating surface can be understood as a plane where the radiator of the receiving antenna is used to radiate radio frequency signals.
  • the orientation directions of the radiating surfaces of the receiving antennas are different, and the beam scanning ranges and incoming wave directions of the corresponding receiving antennas are also different.
  • the N receiving antennas are set at different positions of the customer's front-end equipment, so that the beam scanning range of each receiving antenna can achieve 360° omnidirectional coverage on the horizontal plane.
  • the customer front-end equipment may select K antennas from the N receiving antennas as the receiving antenna group 110 to "directionally" "cater” to the downlink incoming wave direction of the base station to complete the reception of radio frequency signals, wherein K is less than or equal to N and K ⁇ 2.
  • the radio frequency processing circuit 140 can configure the number K of receiving antennas in the receiving antenna group 110 according to the Multiple Input Multiple Output (MIMO) technology supported by the customer front-end equipment, and the N receiving antennas can be configured according to
  • MIMO Multiple Input Multiple Output
  • the preset rule is configured as multiple receiving antenna groups 110, so that each receiving antenna group 110 includes K receiving antennas.
  • the K receiving antennas in the receiving antenna group 110 have at least two successively adjacent radiating surfaces facing in different directions.
  • the receiving antenna group 110 may include 2 receiving antennas
  • the customer premises equipment supports 4*4 MIMO its receiving antenna group 110 may include 4 receiving antennas.
  • the customer front-end equipment can control and conduct the radio frequency path between each receiving antenna group 110 and the radio frequency processing circuit 140 in sequence, so that each receiving antenna group 110 is in a working state, and then correspondingly measure the received radio frequency of each receiving antenna group 110 Signal network information.
  • Step 304 Determine a target receiving antenna group according to a plurality of the network information.
  • the network information is taken as an example of the received power of the reference signal for description. That is, the customer premises equipment can obtain multiple reference signal received powers corresponding to the multiple receiving antenna groups 110, and obtain the maximum value of the multiple reference signal received powers, so as to use the maximum value as target network information, the target network
  • the receiving antenna group 110 corresponding to the information is the target receiving antenna group 110 .
  • Step 306 Control the target receiving antenna group to receive the radio frequency signal, and acquire the direction of the incoming wave of the radio frequency signal received by the target receiving antenna group.
  • Each receiving antenna and transmitting antenna carries identification information for representing the radiation surface of each antenna.
  • acquiring the incoming wave direction of the radio frequency signal received by the target receiving antenna group 110 specifically includes acquiring identification information of each of the receiving antennas in the target receiving antenna group 110, and acquiring the radio frequency according to the identification information Steps in the direction of arrival of the signal.
  • the radio frequency system further includes a substrate.
  • the substrate can be understood as a circuit board for carrying the radio frequency circuit 120, the switch circuit 130, and the radio frequency processing circuit 140, for example, a PCB board, an FPC board, and the like.
  • the receiving antennas A1 and A4 have a radiating surface 1, the receiving antennas A6 and A7 have a radiating surface 2, the receiving antennas A2 and A3 have a radiating surface 3, the receiving antennas A5 and A8 have a radiating surface 4, the transmitting antenna B1 has a radiating surface 5, and the transmitting antenna B2 has a radiating surface 6 .
  • the radiation surfaces 1, 2, 3, 4, 5, and 6 can be identified by 001, 002, 003, 004, 005, and 006, respectively. That is, the identification information of each receiving antenna and the transmitting antenna in the embodiment of the present application may be used to indicate the incoming wave direction information corresponding to the radiation surface of each antenna, that is, the azimuth angle range.
  • the transmitting antenna B1 , the receiving antennas A1 , A4 , A6 , and A7 are located on the first side of the substrate 150
  • the transmitting antenna B2 , the receiving antennas A2 , A3 , A5 , and A8 are located on the second side of the substrate 150 .
  • the transmitting antenna B1 has a fifth radiating surface that is located in the middle of the antenna pair 1 and 4
  • the transmitting antenna B2 has a sixth radiating surface that is located in the middle of the antenna pair 2 and 3 .
  • a coordinate system can be constructed in the customer front-end equipment, wherein the plane where the substrate 150 is located can be taken as the XZ plane of the coordinate system, the length direction of the substrate can be taken as the X axis, and the width direction of the substrate can also be taken as the X-axis. That is, the height direction of the customer front-end device is taken as the Z axis, and the straight line perpendicular to the XZ plane is taken as the Y axis of the coordinate system.
  • the direction of the radiation surface of the receiving antenna on the first side of the substrate includes a first direction and a second direction
  • the azimuth angle range corresponding to the first direction is defined as 0-90°
  • the azimuth angle range corresponding to the second direction is defined as is 90-180°
  • the corresponding azimuth angle of the transmitting antenna B1 located on the first side of the substrate is in the range of 0-180°.
  • the directions of the radiation surface of the receiving antenna on the second side of the substrate include a third direction and a fourth direction, the azimuth angle corresponding to the third direction is defined as a range of 180-270°, and the azimuth angle corresponding to the fourth direction is 270° -360°; the corresponding azimuth angle of the transmit antenna B2 located on the second side of the substrate is in the range of 180-360°.
  • Step 308 Generate the first switching instruction according to the incoming wave direction, where the first switching instruction is used to instruct the switch circuit to switch the first transmit antenna to the second transmit antenna.
  • the customer premises equipment may pre-build a mapping relationship with the incoming wave direction of each receiving antenna group 110 and the matching first switching instruction.
  • the first transmitting antenna is taken as the transmitting antenna B1 as an example for description.
  • the receiving antenna group 110 is the receiving antenna group 110 (A1, A4, A6, A7)
  • the azimuth angle range of the corresponding incoming wave direction is 0-180°
  • the matching second transmitting antenna is the identification For the transmitting antenna B1 whose information is 005, the corresponding first switching command is a high-level signal
  • the receiving antenna group 110 is the receiving antenna group 110 (A2, A3, A4, A8)
  • the range is 180-360°
  • its matched second transmit antenna is the transmit antenna B2 with identification information of 006, and its corresponding first switching instruction is a low-level signal
  • the receiving antenna group 110 is the receiving antenna group 110 ( A4, A6, A7, A2)
  • the azimuth angle range of the corresponding incoming wave direction
  • the high-level signal is used to control the switch circuit 130 to conduct the connection between the select terminal of the transmitting antenna B1 and the single terminal of the switch circuit 130; the low-level signal is used to control the switch circuit 130 to conduct the connection to transmit The path between the selection terminal of the antenna B2 and the single terminal of the switch circuit 130 .
  • enabling the second switching mode includes steps 502 to 504 . in,
  • Step 502 the radio frequency transceiver acquires the number of times the power information of the first transmit antenna reaches the maximum transmit power level.
  • the radio frequency transceiver 141 can determine the first transmit power level MTPL according to the power information on the transmit path, such as TXAGC, and the number of times the maximum transmit power level MTPL is reached. The communication performance or communication status of the transmitting antenna is judged.
  • Step 504 the radio frequency transceiver generates a second switching instruction according to the number of times and the preset threshold, and the second switching instruction is used to instruct the switching circuit to switch to the second transmitting antenna.
  • a standard number of times for judging its communication performance or communication state may be pre-stored in the customer front-end device, and the standard number of times may be represented by a preset threshold.
  • the radio frequency transceiver 141 may generate the second switching instruction according to a comparison result of whether the number of times the TXAGC reaches the maximum transmit power level MTPL reaches a preset threshold.
  • the second switch instruction is used to instruct the switch circuit 130 to switch to the second transmit antenna.
  • the first transmitting antenna is taken as the transmitting antenna B1 as an example for description. If the number of times that the TXAGC of the first transmit antenna reaches the maximum transmit power level MTPL does not reach the preset threshold, the transmit antenna does not need to be switched, and the matched second transmit antenna is still transmit antenna B1, and the corresponding second switch A high-level signal is commanded, and the high-level signal is used to control the switch circuit 130 to conduct the path between the select terminal of the transmitting antenna B1 and the single terminal of the switch circuit 130 .
  • the transmit antenna needs to be switched, and the second transmit antenna matched with it is transmit antenna B2, and the corresponding second switch command is a low-level signal.
  • the level signal is used to control the switch circuit 130 to conduct the path between the select terminal of the transmitting antenna B2 and the single terminal of the switch circuit 130 .
  • the specific expressions of the first switching instruction and the second switching instruction may be the same or different.
  • the first switching instruction and the second switching instruction may also be the same or different.
  • the descriptions of the first switching command and the second switching command in the embodiments of the present application are not limited to the above examples.
  • the step of generating the target switching instruction according to the first switching instruction or the second switching instruction specifically includes: if the control logic unit module receives the first switching instruction and the second switching instruction in a time-sharing manner, according to The first switching instruction or the second switching instruction generates a target switching instruction.
  • the control logic unit module is respectively connected with the radio frequency transceiver 141, the baseband processor 142, and the switch circuit 130, and is used to control circuit switch switching to switch the first transmit antenna to the second transmit antenna according to the target switch instruction. Time-sharing reception can be understood as different times when the control logic unit module receives the first switching instruction and the second switching instruction.
  • generating the target switching instruction according to the first switching instruction or the second switching instruction is specifically included in the switching cycle, and the control logic unit module generates the target according to the priority timing principle of receiving the first switching instruction and the second switching instruction Steps for switching instructions. If the control logic unit module receives the first switching instruction and the second switching instruction in a time-sharing manner, the target switching instruction is generated according to the first switching instruction or the second switching instruction. Exemplarily, if the first switching instruction is received first, the first switching instruction can be used as the target switching instruction; if the second switching instruction is received first, the second switching instruction can be used as the target switching instruction. instruction. It should be noted that, receiving the first switching instruction first can be understood as within the same switching cycle, or, after the first switching mode and the second switching mode are activated, the time when the first switching instruction is received is earlier than the second switching instruction is received. moment of instruction.
  • step 206 the step of generating the target switching instruction according to the first switching instruction and the second switching instruction specifically includes: if the control logic unit module receives the first switching instruction and the second switching instruction at the same time, according to the first switching instruction and the second switching instruction A switching instruction and a second switching instruction generate a step of generating a target switching instruction.
  • the target switching instruction is generated according to the first switching instruction or the second switching instruction.
  • the first switching instruction is used to instruct the control circuit switch to switch the first transmission antenna to the second transmission antenna;
  • the second switching instruction is used to instruct the control circuit switch to switch the first transmission antenna to the second transmission antenna.
  • the first switching instruction and the second switching instruction are the same, it can be understood that the second transmitting antenna corresponding to the first switching instruction and the second transmitting antenna corresponding to the second switching instruction are the same, that is, both are used for the first transmitting antenna Switch to the transmit antenna B1, or both are used to switch the first transmit antenna to the transmit antenna B2.
  • control logic unit module can convert the first switching command or the second switching command.
  • the switching instruction is used as the target switching instruction.
  • the target switching instruction is generated according to the switching priorities of the first switching mode and the second switching mode.
  • the customer front-end device can preset and store the switching priorities of the first switching mode and the second switching mode. The higher the priority level, the higher the priority of the target switching instruction generated correspondingly in the switching mode.
  • the control logic unit module receives the first switching instruction and the second switching instruction at the same time, the control logic unit module can The switching instruction generates a target switching instruction to control the switch circuit 130 to switch the first transmit antenna to the second transmit antenna.
  • the priority setting of the first switching mode and the second switching mode can be customized according to factors such as the network environment and location environment where the current customer front-end equipment is located, or can be set by the customer front-end equipment.
  • the operating system is fixedly set, and in this embodiment of the present application, the setting of its priority is not further limited.
  • the control logic unit module can receive the first switching command sent by the baseband processor 142 and the second switching command sent by the radio frequency transceiver processor, that is, the control logic unit module can receive the dual logic control signal ( The first handover command and the second handover command), and the received first handover command and the second handover command signal are "negotiated" and then output the target handover command, which enriches the use scenarios that can be used for transmit antenna switching (based on the first handover command and the second handover command signal). switching mode and based on the first switching mode), it also ensures a good communication state, and improves the coverage and user experience of the transmitting antenna during use.
  • the set switching priority can also be understood as "competition conflict resolution" to avoid the first switching instruction and the second switching instruction.
  • the occurrence of unstable handover caused by different commands (conflicts) can improve the stability of communication.
  • the switch circuit 130 is controlled to switch the first transmit antenna to the second transmit antenna according to the target switch instruction, including steps 602 to 608 . in,
  • Step 602 Acquire pre-stored current first state information of the switch circuit; the first state information is used to indicate that the switch unit conducts the transmit path where the first transmit antenna is located.
  • the first state information of the current switch circuit 130 is pre-recorded in the control logic unit module.
  • the state information of the switch circuit 130 may be used to identify the switch state of the switch circuit 130 .
  • the transmission antenna includes a transmission antenna B1 and a transmission antenna B2
  • the switch circuit 130 is an SPDT switch as an example for description.
  • the SPDT switch includes a single terminal, a first selection terminal and a second selection terminal, wherein the single terminal is connected to the transceiver circuit, the first selection terminal is connected to the transmitting antenna B1, and the second selection terminal is connected to the transmitting antenna B2.
  • the switch state of the switch circuit 130 can be used to indicate the conduction state of the single terminal and the first selection terminal or the second selection terminal.
  • the state information of the switch circuit 130 may be represented by a register value D, where the register value may be identified by 0 and 1.
  • the register value when the register value is 1, it indicates that the single terminal of the current SPDT switch is connected to the first selection end, that is, the transmission path of the transmitting antenna B1 is turned on; when the register value is 0, it indicates that the current SPDT The single terminal of the switch is connected to the second selection terminal, that is, the transmission path of the transmission antenna B2 is turned on.
  • a register value of 0 may also be used to indicate that the single terminal of the current SPDT switch is connected to the first selection terminal
  • a register value of 1 may be used to indicate that the single terminal of the current SPDT switch is connected to the second selection terminal.
  • the corresponding register value may be used for binary value or identification in other ways, which is not further limited herein.
  • its register value can be set corresponding to the target switching instruction.
  • the customer front-end equipment can correspondingly obtain the first state information of the switch circuit 130, that is, the register value 1; if the first transmitting antenna is the transmitting antenna B2, the customer front-end equipment can correspondingly obtain the switch The first state information of the circuit 130, that is, the register value 0.
  • Step 604 Acquire second state information of the switch circuit corresponding to the target switching instruction.
  • the control logic unit module in the customer premises equipment can correspondingly acquire the second state information of the switching circuit 130 to be switched to the second transmitting antenna according to the target switching instruction.
  • the second transmit antenna is the transmit antenna B1
  • the second state information of the switch circuit 130 corresponding to the target switching instruction is the register value 1
  • the second transmit antenna is the transmit antenna B2
  • the second state information of the switch circuit 130 corresponding to the target switching instruction is a register value of 0.
  • Step 606 if the first state information is the same as the second state information, maintain the current state of the switch circuit.
  • Step 608 if the first state information is different from the second state information, control a switch circuit to switch the first transmit antenna to the second transmit antenna.
  • the control logic unit module may control the switch circuit 130 to perform corresponding switching according to the current first state information of the switch circuit 130 and the first state information to be switched. Specifically, if the first state information is the same as the second state information, it is determined that the first transmit antenna and the second transmit antenna are the same transmit antenna, and at this time, the control logic unit module may not perform corresponding switching control on the switch circuit 130 , that is, the current state of the switch circuit 130 is maintained. If the first state information is different from the second state information, it is determined that the first transmit antenna and the second transmit antenna are not the same transmit antenna.
  • the control logic unit module can control the switch circuit 130 to conduct the path between the single terminal and the second selection terminal according to the target switching instruction, so as to conduct the transmitting path of the transmitting antenna B2, and then switch the The first transmit antenna B1 is switched to the second transmit antenna B2.
  • the antenna switching method in this embodiment can not only harmonize the first switching command and the second switching command output in the dual antenna switching mode by introducing a control logic unit module during the "negotiation" process of the dual transmit antenna decision mechanism It can also be converted into a target switching command to control the switching of the SPDT switch.
  • the register value D of the switch circuit 130 is updated according to the second state information to provide a basis for the next switching of the transmitting antenna, so as to avoid repeated switching and useless switching of the transmitting antenna next time, thereby ensuring good communication state.
  • the antenna switching method further includes the steps of initializing the switch circuit, and recording and storing the initialization state of the switch circuit.
  • the switching of the antenna provides an accurate state information of the switch circuit 130, thereby ensuring a good communication state.
  • the antenna switch control method includes steps 702 to 714 .
  • Step 702 Control the first transmit antenna to transmit radio frequency signals.
  • Step 704 if the conditions for switching to using the second transmit antenna are met, enable the first switching mode and enable the second switching mode.
  • Step 706 Generate a target switching instruction according to the first switching instruction and/or the second switching instruction.
  • Step 708 Control a switch circuit to switch the first transmit antenna to the second transmit antenna according to the target switch instruction.
  • steps 702 to 708 correspond to steps 202 to 208 in the foregoing embodiments one-to-one, and details are not described herein again.
  • Step 710 After a preset time period, check whether the transmission performance of the second transmission antenna is better than that of the first transmission antenna; if the transmission performance of the second transmission antenna is not better than the transmission performance of the first transmission antenna, execute the step 712, control the switch circuit 130 to switch the second transmit antenna to the first transmit antenna; if the transmit performance of the second transmit antenna is better than the transmit performance of the first transmit antenna, step 714 is executed to detect whether it is satisfied to switch to use the second transmit antenna condition of the antenna.
  • the window period T can be used as the preset time period. Whether the transmission performance of the second transmission antenna is better than the transmission performance of the first transmission antenna before handover.
  • the transmission performance can be determined by the number of times the TXAGC reaches the maximum transmission power level. If the number of times that its TXAGC reaches the maximum transmit power level within the detection time period is less, it indicates that its transmit performance is better. For example, the first number of times that the TXAGC of the first transmit antenna reaches the maximum transmit power level within the detection time period can be pre-obtained.
  • the second transmit antenna is within the preset time period, the number of times that its TXAGC reaches the maximum transmit power level is greater than the first time. number of times, go to step 712 to control the switch circuit to switch the second transmit antenna to the first transmit antenna; the number of times that the TXAGC reaches the maximum transmit power level is less than the first number, go to step 714 to detect whether the switch to use is satisfied The condition of the second transmit antenna.
  • a window stabilization period T is added after each switching, and after the window stabilizer, the transmission performance before and after a switching is detected, and then it is determined whether the switching is successful. If the transmit performance is better than that of the first transmit antenna, it is considered that the switch is meaningful, that is, it is meaningful to improve the communication quality, and the current switch can be maintained; otherwise, the control switch circuit 130 switches back to the first transmit antenna , and restore the state information of the switch circuit 130 to the state before the switch.
  • steps in the flowcharts of FIGS. 2 , 3 , and 5-7 are displayed in sequence according to the arrows, these steps are not necessarily executed in the sequence indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in Figs. 2, 3, 5-7 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The order of execution of the sub-steps or phases is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or phases of the other steps.
  • an embodiment of the present application further provides a customer front-end device.
  • the customer front-end equipment includes an antenna group 110 , a radio frequency circuit 120 , a switch circuit 130 , and a radio frequency processing circuit 140 .
  • the antenna group 110 includes multiple transmit antennas (eg, B1, B2) and multiple receive antennas (eg, A1, A2, A3, . . . , A8).
  • the radio frequency circuit 120 includes a transceiver module 121 and a plurality of receiving modules 122, wherein the transceiver module 121 is respectively connected to the switch circuit 130 and at least one receiving antenna, and each receiving module 122 is connected to at least one receiving antenna.
  • the number of receiving modules 122 may be three.
  • the transceiver module 121 is connected to one receiving antenna, and each receiving module 122 is connected to one receiving antenna.
  • the transceiver modules 121 are respectively connected with two receiving antennas, and each receiving module 122 is connected with two receiving antennas.
  • the radio frequency processing circuit includes a baseband processor 142 , a radio frequency transceiver 141 and a control logic unit module 143 .
  • the baseband processor 142 is connected to the transceiver module 121, and is used for generating a first switching instruction in the first switching mode.
  • the radio frequency transceiver 141 is respectively connected with the transceiver module 121, the receiving module 122, and the baseband processor 142, and is used for generating a second switching instruction in the second switching mode.
  • the control logic unit module 143 is respectively connected with the radio frequency transceiver 141, the baseband processor 142, and the switch circuit 130, and is used for generating a target switching instruction according to the first switching instruction and/or the second switching instruction. Specifically, if the control logic unit module 143 receives the first switching instruction and the second switching instruction in a time-sharing manner, the target switching instruction is generated according to the first switching instruction or the second switching instruction. If the control logic unit module 143 receives the first switching instruction and the second switching instruction at the same time, it generates a target switching instruction according to the first switching instruction and the second switching instruction, wherein the control logic unit module 143 is configured to switch according to the target The instruction control circuit switch switches the first transmit antenna to the second transmit antenna.
  • the transceiver module 121 includes a transceiver unit 1211 , a first switch unit 1212 and a second switch unit 1213 .
  • the transceiver unit 1211 is used to amplify and filter the received radio frequency signal.
  • the transceiver unit 1211 can be configured with a receive path and a transmit path, wherein the receive path can include components such as filters and low noise amplifiers to filter and amplify the radio frequency signals received by each receive antenna.
  • the transmission path may include power amplifiers, filters and other periods to realize amplification and filtering processing of the radio frequency signal, and then send it to the corresponding transmission antenna.
  • the transceiver unit 1211 can be an L-PA Mid device, and the radio frequency L-PA Mid device can be understood as a power amplifier module (Power Amplifier Modules including Duplexers With LNA, L-PA Mid) with a built-in low noise amplifier , which can support the transceiver processing of radio frequency signals. That is, the device is a power amplifier module that integrates components such as a low-noise amplifier, a power amplifier, and a filter in the same device, thereby improving the integration of the device and compressing the space occupied by the whole machine.
  • the radio frequency L-PA Mid device can be understood as a power amplifier module (Power Amplifier Modules including Duplexers With LNA, L-PA Mid) with a built-in low noise amplifier , which can support the transceiver processing of radio frequency signals. That is, the device is a power amplifier module that integrates components such as a low-noise amplifier, a power amplifier, and a filter in the same device, thereby improving the integration of the device
  • the first end of the first switch unit 1212 is connected to the transceiver unit 1211 , the second end of the first switch unit 1212 is connected to the switch circuit 130 , and the first end of the second switch unit 1213 is connected to the other end of the first switch unit 1212 A second end is connected, and the two first ends of the second switch unit 1213 are respectively connected to the two receiving antennas in a one-to-one correspondence.
  • the radio frequency transceiver 141 is also connected to the first switch unit 1212 for controlling the first switch unit 1212 to selectively turn on the radio frequency path between the second switch unit 1213 and the transceiver unit 1211 , or between the switch circuit 130 and the transceiver unit 1211 the radio frequency path.
  • the first switch unit 1212 may be a TDD time-division switch, which is used to control the transmission and reception to be switched in different time sequences under the control of the radio frequency transceiver 141 .
  • the TDD time division switch can be an SPDT switch.
  • the baseband processor 142 is also connected to the second switch unit 1213 for controlling the second switch unit 1213 to selectively turn on the radio frequency path between any receiving antenna and the first switch unit 1212 .
  • Each receiving module 122 may include a receiving unit 1221 and a third switching unit 1222 .
  • the receiving unit 1221 may include components such as a low-noise amplifier, a filter, etc., which may filter and amplify the radio frequency signal received by the receiving antenna, and output the processed radio frequency signal to the radio frequency transceiver 141 .
  • the receiving unit 1221 may be a DRX (diversity receiver) device, a LFEM (Low noise amplifier front end module, radio frequency low noise amplifier module) device, etc. that integrate components such as low noise amplifiers, filters and other components in the same device, In order to improve the integration of the device, the occupied space of the whole machine is compressed.
  • the specific types of the receiving unit 1221 and the transceiver unit 1211 are not limited.
  • the third switch unit 1222 can be connected to the baseband processor 142, the receiving unit 1221, and the two receiving antennas respectively, and is used to select and connect the receiving path where any receiving antenna is located under the control of the baseband processor 142. Therefore, the second switch unit 1213 and the third switch unit 1222 can be controlled by the baseband processor 142 to selectively control different receiving antenna groups 110 to receive radio frequency signals.
  • the control logic unit module 143 includes a processing unit 1431 and a control unit 1432 .
  • the processing unit 1431 is respectively connected with the radio frequency transceiver 141 and the baseband processor 142, and is used for generating a target switching instruction according to the first switching instruction and/or the second switching instruction. Specifically, the processing unit 1431 generates the target switching instruction according to the timing of receiving the first switching instruction and the second switching instruction. If the processing unit 1431 receives the first switching instruction and the second switching instruction in a time-sharing manner, it generates a target switching instruction according to the first switching instruction or the second switching instruction.
  • the first switching instruction can be used as the target switching instruction; if the second switching instruction is received first, the second switching instruction can be used as the target switching instruction. instruction. It should be noted that, receiving the first switching instruction first can be understood as within the same switching cycle, or, after the first switching mode and the second switching mode are activated, the time when the first switching instruction is received is earlier than the second switching instruction is received. moment of instruction.
  • the processing unit 1431 may use the first switching instruction or the second switching instruction as the target switching instruction . If the processing unit 1431 receives the first switching instruction and the second switching instruction at the same time, and the first switching instruction and the first switching instruction are different, the target switching instruction is generated according to the switching priorities of the first switching mode and the second switching mode.
  • the control unit 1432 is respectively connected with the processing unit 1431 and the switch circuit 130, and is used for controlling the switch circuit 130 to switch the first transmit antenna to the second transmit antenna according to the target switch instruction.
  • the processing unit 1431 in the control logic unit module 143 can receive the first switching instruction issued by the baseband processor 142 and the second switching instruction issued by the radio frequency transceiver processor, that is, the processing unit 1431 can Receive dual logic control signals (first switching command and second switching command), and output the target switching command after "negotiating processing" the received first switching command and second switching command signal, which enriches the information that can be used for transmitting antenna switching.
  • the usage scenarios (based on the first switching mode and based on the first switching mode) also ensure a good communication state, and improve the coverage and user experience of the transmitting antenna during use.
  • the set switching priority can also be understood as "competition conflict resolution", so as to avoid the first switching instruction and the second switching instruction.
  • the unstable handover occurs due to different handover commands (conflicts), which in turn can improve the stability of communication.
  • control logic unit module 143 further includes a timing unit 1433 .
  • the timing unit 1433 is connected to the processing unit 1431 and the control unit 1432 respectively, and is used for controlling the switching circuit 130 to the control unit 1432 for the duration of switching the first transmit antenna to the second transmit antenna.
  • the processing unit 1431 is also used to detect whether the transmission performance of the second transmission antenna is better than that of the first transmission antenna when the time duration reaches the preset time duration; if not, instruct the control unit 1432 to control the switch circuit 130 to switch the second transmission antenna Switch to the first transmit antenna; if yes, check whether the conditions for switching to the second transmit antenna are met.
  • the timing unit 1433 After switching the first transmit antenna to the second transmit antenna, start to control the timing unit 1433 to start timing, and when the recorded duration reaches the window period T, check whether the transmit performance of the second transmit antenna is better than that of the first transmit antenna before the switch. .
  • the transmission performance can be determined by the number of times the TXAGC reaches the maximum transmission power level. If the transmission performance after switching to the second transmitting antenna is better than the performance of the first transmitting antenna, it is considered that the switching is meaningful, that is, it is meaningful to improve the communication quality, and the current switching can be maintained; otherwise, control the The switch circuit 130 switches back to the first transmit antenna, and restores the state information of the switch circuit 130 to the state before the switch.
  • control logic unit module 143 further includes a storage unit 1435 for storing the state information of the switch circuit 130 .
  • the storage unit 1435 may be a register.
  • the first state information of the current switch circuit 130 is pre-recorded in the storage unit 1435 .
  • the state information of the switch circuit 130 may be used to identify the switch state of the switch circuit 130 .
  • the state information of the switch circuit 130 may be represented by a register value D, where the register value may be identified by 0 and 1.
  • the customer front-end equipment can correspondingly obtain the first state information of the switch circuit 130, that is, the register value 1; if the first transmitting antenna is the transmitting antenna B2, the customer front-end equipment can correspondingly obtain the switch The first state information of the circuit 130, that is, the register value 0.
  • the processing unit 1431 is also connected to the storage unit 1435 for updating the state information of the switch circuit 130 so as to store the updated state information in the storage unit 1435 .
  • the state information of the switch circuit 130 may be updated to store the updated state information in the storage unit 1435 .
  • the processing unit 1431 updates the register value D of the storage unit 1435 to provide a basis for the next switching of the transmitting antenna, so as to avoid repeated switching and useless switching of the transmitting antenna next time, thereby ensuring a good communication state.
  • An embodiment of the present application further provides a customer pre-installation device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor causes the processor to execute any one of the above The steps of the receiving antenna switching method in the embodiment.
  • Embodiments of the present application also provide a computer-readable storage medium.
  • One or more non-volatile computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processor to perform the receive antenna switching method in any of the foregoing embodiments A step of.
  • Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM), which acts as external cache memory.
  • RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • Memory Bus Radbus
  • RDRAM Direct RAM
  • DRAM Direct Memory Bus Dynamic RAM
  • RDRAM Memory Bus Dynamic RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Transceivers (AREA)

Abstract

An antenna switching method. The antenna switching method is applied to customer premise equipment comprising a plurality of transmitting antennas. Said method comprises: controlling a first transmitting antenna to transmit a radio frequency signal; if a condition of switching to and using a second transmitting antenna is satisfied, enabling a first switching mode and enabling a second switching mode, wherein a first switching instruction is generated in the first switching mode, and a second switching instruction is generated in the second switching mode; generating a target switching instruction according to the first switching instruction and/or the second switching instruction; and controlling, according to the target switching instruction, a switch circuit to be switched from the first transmitting antenna to the second transmitting antenna, wherein the first transmitting antenna and the second transmitting antenna each are one of the plurality of transmitting antennas.

Description

天线切换方法、客户前置设备和计算机可读存储介质Antenna switching method, customer premises equipment and computer readable storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2020年11月12日提交中国专利局、申请号为2020112625381发明名称为“天线切换方法、客户前置设备和计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number of 2020112625381 and the invention titled "Antenna Switching Method, Customer Premises Equipment and Computer-readable Storage Medium" filed with the China Patent Office on November 12, 2020, the entire contents of which are approved by Reference is incorporated in this application.
技术领域technical field
本申请涉及天线技术领域,特别是涉及一种天线切换方法、客户前置设备和计算机可读存储介质。The present application relates to the field of antenna technology, and in particular, to an antenna switching method, a customer premises equipment, and a computer-readable storage medium.
背景技术Background technique
这里的陈述仅提供与本申请有关的背景信息,而不必然地构成现有示例性技术。The statements herein merely provide background information related to the present application and do not necessarily constitute prior exemplary art.
客户前置设备(Customer Premise Equipment,CPE)是用于接收移动信号并以无线WIFI信号转发出来的移动信号接入设备,它也是一种将高速信号,例如4G或者5G信号,转换成WiFi信号的设备。一般,客户前置设备中配置的发射天线的切换机制单一,客户前置设备的通信性能较差。Customer Premise Equipment (CPE) is a mobile signal access device used to receive mobile signals and forward them with wireless WIFI signals. It is also a kind of high-speed signal, such as 4G or 5G signal, into WiFi signal. equipment. Generally, the switching mechanism of the transmit antennas configured in the customer pre-equipment is single, and the communication performance of the customer pre-equipment is poor.
发明内容SUMMARY OF THE INVENTION
根据本申请的各种实施例,提供一种天线切换方法、客户前置设备和计算机可读存储介质。According to various embodiments of the present application, there are provided an antenna switching method, a customer premises equipment, and a computer-readable storage medium.
一种天线切换方法,应用于包括多支发射天线的客户前置设备,方法包括:An antenna switching method, which is applied to a customer front-end device including multiple transmitting antennas, the method includes:
控制第一发射天线发射射频信号;controlling the first transmitting antenna to transmit radio frequency signals;
若满足切换到使用第二发射天线的条件,则启用第一切换模式和启用第二切换模式,其中,在所述第一切换模式下生成第一切换指令,在所述第二切换模式下生成第二切换指令;If the condition for switching to using the second transmit antenna is satisfied, a first switching mode and a second switching mode are enabled, wherein a first switching instruction is generated in the first switching mode, and a first switching instruction is generated in the second switching mode the second switching instruction;
根据所述第一切换指令和/或第二切换指令生成目标切换指令;generating a target switching instruction according to the first switching instruction and/or the second switching instruction;
根据所述目标切换指令控制开关电路将所述第一发射天线切换至第二发射天线,其中所述第一发射天线或所述第二发射天线为多个所述发射天线中的一支。The switch circuit is controlled to switch the first transmit antenna to the second transmit antenna according to the target switch instruction, wherein the first transmit antenna or the second transmit antenna is one of the plurality of transmit antennas.
一种客户前置设备,包括:A customer premises equipment comprising:
天线组,包括多支发射天线;Antenna groups, including multiple transmit antennas;
开关电路,分别与多支发射天线连接,The switch circuit is connected with multiple transmitting antennas respectively,
射频电路,与所述开关电路连接,用于对接收的射频信号进行收发处理,其中,所述开关电路用于导通任一所述发射天线与所述射频电路之间的射频通路;a radio frequency circuit, connected to the switch circuit, and used for transmitting and receiving the received radio frequency signal, wherein the switch circuit is used to conduct the radio frequency path between any one of the transmitting antennas and the radio frequency circuit;
射频处理电路,分别与所述射频电路、开关电路连接;其中,所述射频处理电路被配置为:控制第一发射天线发射射频信号;若满足切换到使用第二发射天线的条件,则启用第一切换模式和启用第二切换模式,其中,在所述第一切换模式下生成第一切换指令,在所述第二切换模式下生成第二切换指令;根据所述第一切换指令和/或第二切换指令生成目标切换指令;根据所述目标切换指令控制开关电路将所述第一发射天线切换至第二发射天线;其中所述第一发射天线或所述第二发射天线为多个所述发射天线中的一支。The radio frequency processing circuit is respectively connected with the radio frequency circuit and the switch circuit; wherein, the radio frequency processing circuit is configured to: control the first transmit antenna to transmit radio frequency signals; if the conditions for switching to the use of the second transmit antenna are met, enable the first transmit antenna a switching mode and enabling a second switching mode, wherein a first switching instruction is generated in the first switching mode, and a second switching instruction is generated in the second switching mode; according to the first switching instruction and/or The second switching instruction generates a target switching instruction; the switch circuit is controlled to switch the first transmit antenna to the second transmit antenna according to the target switch instruction; wherein the first transmit antenna or the second transmit antenna is a plurality of one of the transmitting antennas.
一种客户前置设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行前述天线切换方法的步骤。A customer premises equipment includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the foregoing antenna switching method.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现前述天线切换方法的步骤。A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps of the foregoing antenna switching method.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其他特征、目的和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below. Other features, objects and advantages of the present application will become apparent from the description, drawings and claims.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为一个实施例中客户前置设备的结构框图;Fig. 1 is the structural block diagram of customer front-end equipment in one embodiment;
图2为一个实施例中天线切换方法的流程图;2 is a flowchart of an antenna switching method in one embodiment;
图3为一个实施例中启用第一切换模式的流程图;3 is a flowchart of enabling a first switching mode in one embodiment;
图4a为一个实施例中八支接收天线的排布图;4a is an arrangement diagram of eight receiving antennas in one embodiment;
图4b为一个实施例中天线组在客户前置设备中的俯视示意图;FIG. 4b is a schematic top view of an antenna group in a customer front-end equipment in one embodiment;
图5为一个实施例中启用第二切换模式的流程图;FIG. 5 is a flowchart of enabling a second switching mode in one embodiment;
图6为另一个实施例中天线切换方法的流程图;6 is a flowchart of an antenna switching method in another embodiment;
图7为再一个实施例中天线切换方法的流程图;7 is a flowchart of a method for antenna switching in yet another embodiment;
图8为另一个实施例中客户前置设备的结构框图;Fig. 8 is a structural block diagram of a customer premises equipment in another embodiment;
图9为再一个实施例中客户前置设备的结构框图;9 is a structural block diagram of a customer premises equipment in yet another embodiment;
图10为又一个实施例中客户前置设备的结构框图。FIG. 10 is a structural block diagram of a customer premises equipment in yet another embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一发射天线称为第二发射天线,且类似地,可将第二发射天线称为第一发射天线。第一发射天线和第二发射天线两者都是发射天线,但其不是同一发射天线。It will be understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, a first transmit antenna may be referred to as a second transmit antenna, and similarly, a second transmit antenna may be referred to as a first transmit antenna, without departing from the scope of this application. Both the first transmit antenna and the second transmit antenna are transmit antennas, but they are not the same transmit antenna.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless expressly and specifically defined otherwise.
本申请提供一种天线切换方法,该方法应用于客户前置设备。客户前置设备用于实现网络接入功能,将运营商公网WAN转换到用户家庭局域网LAN。按目前的互联网宽带接入方式,可分为FTTH(光纤接入),DSL(数字电话线路接入),Cable(有线电视线接入),Mobile(移动接入,即无线CPE)。客户前置设备是一种接收移动信号并以无线WIFI信号转发出来的移动信号接入设备,它也是一种将高速4G或者5G信号转换成WiFi信号的设备,可支持多个移动终端同时接入网络。本申请实施例提供了一种客户前置设备。如图1所示,客户前置设备包括天线组110、射频电路120、开关电路130、射频处理电路140、外壳、存储器(其任选地包括一个或多个计算机可读存储介质)、处理器、***设备接口、输入/输出(I/O)子***等。这些部件任选地通过一个或多个通信总线或信号线进行通信。这些部件任选地通过一个或多个通信总线或信号线进行通信。The present application provides an antenna switching method, and the method is applied to a customer premise equipment. The customer front-end equipment is used to realize the network access function and convert the operator's public network WAN to the user's home local area network LAN. According to the current Internet broadband access methods, it can be divided into FTTH (optical fiber access), DSL (digital telephone line access), Cable (cable TV line access), and Mobile (mobile access, ie wireless CPE). The customer front-end device is a mobile signal access device that receives mobile signals and forwards them as wireless WIFI signals. It is also a device that converts high-speed 4G or 5G signals into WiFi signals, which can support simultaneous access of multiple mobile terminals The internet. The embodiment of the present application provides a customer pre-installation device. As shown in FIG. 1, the customer premises equipment includes an antenna set 110, radio frequency circuits 120, switching circuits 130, radio frequency processing circuits 140, a housing, a memory (which optionally includes one or more computer-readable storage media), a processor , peripheral device interface, input/output (I/O) subsystem, etc. These components optionally communicate via one or more communication buses or signal lines. These components optionally communicate via one or more communication buses or signal lines.
具体的,天线组110包括多支发射天线(例如,B1、B2),用于发设预设频段的射频信号。例如,多支发射天线可以为5G天线、4G天线、WiFi天线、蓝牙天线等,用于对 应收发相应频段的射频信号。发射天线的数量N可以为2、3、4、6、8、10等数量,多支发射天线沿着客户前置设备的周缘方向间隔均匀设置,且多支发射天线的辐射面朝向不同的方向,使得各发射天线的波束扫描范围能够实现水平面的360°全向覆盖。Specifically, the antenna group 110 includes a plurality of transmitting antennas (eg, B1 and B2), which are used to transmit radio frequency signals of a preset frequency band. For example, the multiple transmitting antennas may be 5G antennas, 4G antennas, WiFi antennas, Bluetooth antennas, etc., which are used to transmit and receive radio frequency signals in corresponding frequency bands. The number N of transmitting antennas can be 2, 3, 4, 6, 8, 10, etc. The multiple transmitting antennas are evenly spaced along the peripheral direction of the customer's front-end equipment, and the radiating surfaces of the multiple transmitting antennas face different directions , so that the beam scanning range of each transmitting antenna can achieve 360° omnidirectional coverage of the horizontal plane.
其中,开关电路130分别与多支发射天线连接,射频处理电路140分别与射频电路120、开关电路130连接。射频电路120用于对接收的射频信号进行收发处理,也即,射频电路120可以支持对射频信号的收发处理。The switch circuit 130 is respectively connected with the multiple transmitting antennas, and the radio frequency processing circuit 140 is connected with the radio frequency circuit 120 and the switch circuit 130 respectively. The radio frequency circuit 120 is used for transceiving and processing the received radio frequency signal, that is, the radio frequency circuit 120 can support the transceiving and processing of the radio frequency signal.
射频电路120经开关电路130与多支发射天线连接,其开关电路130在射频处理电路140的控制下,可以导通任一反射天线与射频电路120之间的射频通路,也即,可以选择性导通任一发射天线所在的发射通路。示例性的,该射频电路120中可包括支持对射频信号接收和发射处理的收发模块,以及支持对射频信号接收处理的接收模块等。The radio frequency circuit 120 is connected to the multiple transmitting antennas through the switch circuit 130, and the switch circuit 130 can conduct the radio frequency path between any reflecting antenna and the radio frequency circuit 120 under the control of the radio frequency processing circuit 140, that is, it can selectively Turn on the transmit path where any transmit antenna is located. Exemplarily, the radio frequency circuit 120 may include a transceiver module that supports receiving and transmitting processing of radio frequency signals, a receiving module that supports receiving and processing radio frequency signals, and the like.
射频处理电路140可包括射频收发器141和基带处理器142,以控制对射频信号的收发控制等。在本申请实施例中,射频处理电路140可被配置为控制第一发射天线发射射频信号;若满足切换到使用第二发射天线的条件,则启用第一切换模式和启用第二切换模式,其中,在第一切换模式下生成第一切换指令,在第二切换模式下生成第二切换指令;根据第一切换指令和/或第二切换指令生成目标切换指令;根据目标切换指令控制开关电路130将第一发射天线切换至第二发射天线;其中第一发射天线、第二发射天线为多支发射天线中的一支。也即,该射频处理电路140可根据在第一切换模式下生成第一切换指令和/或在第二切换模式下生成第二切换指令来控制开关电路130将第一发射天线切换至第二发射天线,扩展了发射天线主动切换机制,保障了良好的通信状态,提升了使用时的发射天线的发射覆盖范围和用户体验。The radio frequency processing circuit 140 may include a radio frequency transceiver 141 and a baseband processor 142 to control transmission and reception of radio frequency signals, and the like. In this embodiment of the present application, the radio frequency processing circuit 140 may be configured to control the first transmit antenna to transmit radio frequency signals; if the conditions for switching to using the second transmit antenna are met, enable the first switching mode and enable the second switching mode, wherein , generate the first switching instruction in the first switching mode, and generate the second switching instruction in the second switching mode; generate the target switching instruction according to the first switching instruction and/or the second switching instruction; control the switch circuit 130 according to the target switching instruction The first transmit antenna is switched to the second transmit antenna; wherein the first transmit antenna and the second transmit antenna are one of the multiple transmit antennas. That is, the radio frequency processing circuit 140 can control the switch circuit 130 to switch the first transmit antenna to the second transmit according to the generation of the first switch command in the first switch mode and/or the generation of the second switch command in the second switch mode The antenna expands the active switching mechanism of the transmitting antenna, ensures a good communication state, and improves the transmission coverage and user experience of the transmitting antenna during use.
本领域技术人员可以理解,图1所示的客户前置设备并不构成对客户前置设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。图1中所示的各种部件以硬件、软件、或硬件与软件两者的组合来实现,包括一个或多个信号处理和/或专用集成电路。Those skilled in the art can understand that the customer premises equipment shown in FIG. 1 does not constitute a limitation on the customer premises equipment, and may include more or less components than those shown in the figure, or combine some components, or different components layout. The various components shown in Figure 1 are implemented in hardware, software, or a combination of both hardware and software, including one or more signal processing and/or application specific integrated circuits.
图2为一个实施例中天线切换方法的流程图。本实施例中的天线切换方法,以运行于图1中的客户前置设备上为例进行描述。如图2所示,天线切换方法包括步骤202至步骤208。FIG. 2 is a flowchart of an antenna switching method in one embodiment. The antenna switching method in this embodiment is described by taking the operation on the customer premises equipment in FIG. 1 as an example. As shown in FIG. 2 , the antenna switching method includes steps 202 to 208 .
步骤202,控制第一发射天线发射射频信号。 Step 202, controlling the first transmitting antenna to transmit radio frequency signals.
第一发射天线可以理解为多支发射天线中的任一支发射天线。客户前置设备可以导通第一发射天线所在的发射通路,以使第一发射天线处于工作状态,进而发射射频信号。具体的,客户前置设备可以控制开关电路130导通第一发射天线与收发电路之间的射频通路,进而导通第一发射天线的发射通路。The first transmit antenna may be understood as any one of the multiple transmit antennas. The customer front-end equipment can conduct the transmission path where the first transmission antenna is located, so that the first transmission antenna is in a working state, and then transmits radio frequency signals. Specifically, the customer front-end equipment can control the switch circuit 130 to conduct the radio frequency path between the first transmitting antenna and the transceiver circuit, and then conduct the transmitting path of the first transmitting antenna.
步骤204,若满足切换到使用第二发射天线的条件,则启用第一切换模式和启用第二切换模式,其中,在第一切换模式下生成第一切换指令,在第二切换模式下生成第二切换指令。 Step 204, if the conditions for switching to using the second transmit antenna are met, enable the first switching mode and enable the second switching mode, wherein the first switching instruction is generated in the first switching mode, and the first switching instruction is generated in the second switching mode. Two switching instructions.
客户前置设备可以根据当前第一发射天线的发射性能来确定是否满足切换到使用第二发射天线的条件。其中,发射性能可以根据第一发射天线所在的发射通道上的发射功率,例如,发射功率增益调整值(TX Automatic Gain Control,TXAGC)可以理解为一种功率的表征值,到达最大发射功率电平(Maximum Transmission Power Level,MTPL)的次数来进行判定。若该到达最大发射功率电平的次数超过以预设值,则认为满足切换到使用第二发射天线的条件。The customer premises equipment may determine whether the condition for switching to using the second transmit antenna is satisfied according to the current transmit performance of the first transmit antenna. The transmission performance can be based on the transmission power on the transmission channel where the first transmission antenna is located. For example, the transmission power gain adjustment value (TX Automatic Gain Control, TXAGC) can be understood as a characterization value of power, which reaches the maximum transmission power level. (Maximum Transmission Power Level, MTPL) times to judge. If the number of times of reaching the maximum transmit power level exceeds a preset value, it is considered that the condition for switching to using the second transmit antenna is satisfied.
在其中一个实施例中,客户前置设备包括多支接收天线,例如N支接收天线。其中,客户前置设备可以从多支接收天线中选择K支接收天线来构成多支接收天线组110,其中,2≤K≤N,N≥4。客气前置设备还可以根据当前接收天线组110接收的射频信号的网络信息来确定是否满足切换到使用第二发射天线的条件。其中,网络信息可以包括与所接收的 射频信号的无线性能度量相关联的原始和处理后的信息,诸如接收功率、参考信号接收功率、参考信号接收质量、接收信号强度指示、信噪比等等。示例性的,以网络信息为参考信号接收功率为例进行说明。当参考信号接收功率小于预设门限值时,则认为满足切换到使用第二发射天线的条件。In one embodiment, the customer premises equipment includes multiple receive antennas, eg, N receive antennas. The customer front-end equipment may select K receiving antennas from the multiple receiving antennas to form the multiple receiving antenna group 110, where 2≤K≤N, N≥4. The polite front-end device may also determine whether the condition for switching to using the second transmit antenna is satisfied according to the network information of the radio frequency signal currently received by the antenna group 110 . Among other things, the network information may include raw and processed information associated with wireless performance metrics of the received RF signals, such as received power, reference signal received power, reference signal received quality, received signal strength indication, signal-to-noise ratio, etc. . Exemplarily, the network information is taken as an example of the received power of the reference signal for description. When the received power of the reference signal is less than the preset threshold value, it is considered that the condition for switching to using the second transmit antenna is satisfied.
在其中一个实施例中,客户前置设备可以设定第一切换模式以及第二切换模式的启动间隔周期,当满足各自的启动间隔周期,则认为满足切换到使用第二发射天线的条件。示例性的,第一切换模式的启动间隔周期为2秒,第二天线的切换模式的启动周期为3s。也即,每隔2s启用第一切换模式,每隔3s启用第二切换模式。In one of the embodiments, the customer premises equipment may set the activation interval period of the first switching mode and the second switching mode, and when the respective activation interval periods are satisfied, it is considered that the conditions for switching to using the second transmit antenna are satisfied. Exemplarily, the activation interval period of the first switching mode is 2 seconds, and the activation period of the switching mode of the second antenna is 3 s. That is, the first switching mode is enabled every 2s, and the second switching mode is enabled every 3s.
第一切换模式可以理解为被动切换模式,被动切换模式的设定是可以从是否需要切换发射天线的需求来源上定的。也即,在第一发射天线向基站发射射频信号的同时,客户前置设备中的基带处理器142可以控制多支接收天线组110逐一来接收来自于基站的射频信号,并根据接收该射频信号的网络信息生成第一切换指令。The first switching mode can be understood as a passive switching mode, and the setting of the passive switching mode can be determined from the demand source of whether the transmitting antenna needs to be switched. That is, while the first transmitting antenna transmits the radio frequency signal to the base station, the baseband processor 142 in the customer premise equipment can control the multiple receiving antenna groups 110 to receive the radio frequency signal from the base station one by one, and receive the radio frequency signal according to the reception of the radio frequency signal. The network information generates the first handover instruction.
第二切换模式可以理解为主动切换模式。客户前置设备控制第一发射天线发射射频信号时,客户前置设备的射频收发器141会根据发射通道上的功率信息到达MTPL的次数来对发射天线的状态进行判断以生成第二切换指令。The second switching mode can be understood as an active switching mode. When the customer premises equipment controls the first transmitting antenna to transmit radio frequency signals, the radio frequency transceiver 141 of the customer premises equipment will determine the state of the transmitting antenna according to the number of times the power information on the transmission channel reaches the MTPL to generate the second switching instruction.
在本申请实施例中,第一切换模式、第二切换模式的启动时刻可以相同,也可以不同。In this embodiment of the present application, the start times of the first switching mode and the second switching mode may be the same or different.
步骤206,根据第一切换指令和/或第二切换指令生成目标切换指令。 Step 206, generating a target switching instruction according to the first switching instruction and/or the second switching instruction.
客户前置设备可以根据接收到第一切换指令和第二切换指令的时序来生成目标切换指令。具体的,若客户前置设备接收到第一切换指令和第二切换指令的时刻相同,则可以根据第一切换指令和第二切换指令生成目标切换指令。若客户前置设备接收到第一切换指令和第二切换指令的不同,则可以根据第一切换指令或第二切换指令生成目标切换指令。示例性的,若先接收到第一切换指令,则可以将所述第一切换指令作为该目标切换指令;若先接收到第二切换指令,则可以将所述第二切换指令作为该目标切换指令。需要说明的是,先接收到第一切换指令可以理解为在同一切换周期内,或,启动第一切换模式和第二切换模式后,接收到第一切换指令的时刻早于接收到第二切换指令的时刻。The customer premise equipment may generate the target switching instruction according to the sequence of receiving the first switching instruction and the second switching instruction. Specifically, if the customer front-end equipment receives the first switching instruction and the second switching instruction at the same time, the target switching instruction can be generated according to the first switching instruction and the second switching instruction. If the customer front-end device receives the difference between the first switching instruction and the second switching instruction, the target switching instruction can be generated according to the first switching instruction or the second switching instruction. Exemplarily, if the first switching instruction is received first, the first switching instruction can be used as the target switching instruction; if the second switching instruction is received first, the second switching instruction can be used as the target switching instruction. instruction. It should be noted that, receiving the first switching instruction first can be understood as within the same switching cycle, or, after the first switching mode and the second switching mode are activated, the time when the first switching instruction is received is earlier than the second switching instruction is received. moment of instruction.
步骤208,根据目标切换指令控制开关电路将第一发射天线切换至第二发射天线,其中第二发射天线为多支发射天线中的一支目标发射天线。 Step 208 , the switch circuit is controlled to switch the first transmit antenna to the second transmit antenna according to the target switch instruction, wherein the second transmit antenna is a target transmit antenna among the multiple transmit antennas.
客户前置设备可以预先存储目标切换指令与开关电路130控制逻辑之间的对应关系,第一切换指令与开关电路130控制逻辑之间的对应关系,第二切换指令与开关电路130控制逻辑之间的对应关系以及该开关电路130的各个端子与各发射天线之间的对应关系。示例性的,若发射天线包括发射天线1、发射天线2、….、发射天线n,则开关电路130可以为SPnT开关。也即,该SPnT开关的单端子与收发电路连接,SPnT开关的n个选择端分别一一对应与n支发射天线连接。其中,目标切换指令用于导通SPnT开关的第n个选择端与单端子之间的通路。具体的,目标切换指令可以用二进制数值进行标识,例如,001用于标识导通SPnT开关的第一个选择端与单端子之间的通路,010用于标识导通SPnT开关的第二个选择端与单端子之间的通路。若开关电路130可以为SPDT开关时,其对应的目标切换指令还可以用高低电平信息进行标识。例如,高电平用于标识导通SPDT开关的第一个选择端与单端子之间的通路,低电平用于标识导通SPDT开关的第二个选择端与单端子之间的通路。The customer front-end device can pre-store the correspondence between the target switching instruction and the control logic of the switch circuit 130 , the correspondence between the first switching instruction and the control logic of the switch circuit 130 , and the correspondence between the second switching instruction and the control logic of the switch circuit 130 . and the corresponding relationship between each terminal of the switch circuit 130 and each transmitting antenna. Exemplarily, if the transmit antenna includes transmit antenna 1, transmit antenna 2, . . . , transmit antenna n, the switch circuit 130 may be an SPnT switch. That is, the single terminal of the SPnT switch is connected to the transceiver circuit, and the n selection terminals of the SPnT switch are respectively connected to the n transmitting antennas in a one-to-one correspondence. The target switching command is used to turn on the path between the nth selection terminal and the single terminal of the SPnT switch. Specifically, the target switching instruction can be identified by a binary value, for example, 001 is used to identify the path between the first selection terminal and the single terminal of the SPnT switch, and 010 is used to identify the second selection of the SPnT switch. The path between the terminal and the single terminal. If the switch circuit 130 can be an SPDT switch, the corresponding target switching instruction can also be identified by high and low level information. For example, the high level is used to identify the path between the first selection terminal and the single terminal of the SPDT switch, and the low level is used to identify the path between the second selection terminal and the single terminal of the SPDT switch.
其中,第一切换指令、第二切换指令的标识方式以及标识意义(也即与开关电路130的控制逻辑)与目标切换指令的标识方式以及标识意义相同。可选的,也可以区别设置第一切换指令与开关电路130控制逻辑之间的对应关系,以及第二切换指令与开关电路130控制逻辑之间的对应关系。需要说明的是,在本申请实施例中,对第一切换指令、第二切换指令、目标切换指令的标识方式不做进一步的限定。Wherein, the identification mode and identification meaning of the first switching instruction and the second switching instruction (ie, the control logic of the switch circuit 130 ) are the same as the identification mode and identification meaning of the target switching instruction. Optionally, the correspondence between the first switching instruction and the control logic of the switch circuit 130 and the correspondence between the second switching instruction and the control logic of the switch circuit 130 may also be set differently. It should be noted that, in the embodiments of the present application, the identification methods of the first switching instruction, the second switching instruction, and the target switching instruction are not further limited.
客户前置设备可以根据该目标切换指令控制该开关电路130将第一发射天线切换至 第二发射天线,也即目标接收天线,以实现发射天线间的切换控制。The customer front-end device can control the switch circuit 130 to switch the first transmit antenna to the second transmit antenna, that is, the target receive antenna, according to the target switch instruction, so as to realize switching control between the transmit antennas.
上述天线切换方法,可以控制第一发射天线发射射频信号,若满足切换到使用第二发射天线的条件,则启用第一切换模式和启用第二切换模式,根据所述第一切换指令和/或第二切换指令生成目标切换指令;根据目标切换指令控制开关电路130将所述第一发射天线切换至第二发射天线。上述方法客户前置设备可以获取第一切换指令和第二切换指令,也即可以接收双重逻辑控制信号(第一切换指令和第二切换指令),并将接收到的第一切换指令和第二切换指令信号“协商处理”后输出目标切换指令,丰富了可用于发射天线切换的使用场景(基于第一切换模式和基于第二切换模式),也保障了良好的通信状态,提升了使用时的发射天线的覆盖范围和用户体验。The above antenna switching method can control the first transmitting antenna to transmit radio frequency signals, and if the conditions for switching to using the second transmitting antenna are met, the first switching mode and the second switching mode are enabled, according to the first switching instruction and/or The second switching instruction generates a target switching instruction; the switch circuit 130 is controlled to switch the first transmitting antenna to the second transmitting antenna according to the target switching instruction. In the above method, the customer front-end device can obtain the first switching instruction and the second switching instruction, that is, it can receive the dual logic control signal (the first switching instruction and the second switching instruction), and use the received first switching instruction and the second switching instruction. After the switching command signal "negotiation processing", the target switching command is output, which enriches the use scenarios that can be used for transmitting antenna switching (based on the first switching mode and based on the second switching mode), also ensures a good communication state, and improves the use of Transmit antenna coverage and user experience.
如图3所示,在其中一个实施例中,启用第一切换模式,具体包括步骤302至步骤308。As shown in FIG. 3 , in one embodiment, enabling the first switching mode specifically includes steps 302 to 308 .
步骤302,基于所述第一发射天线,基带处理器获取基于多个接收天线组分别测量的所述射频信号的网络信息。Step 302: Based on the first transmit antenna, the baseband processor acquires network information of the radio frequency signal measured respectively based on multiple receive antenna groups.
在其中一个实施例中,客户前置设备可包括多支接收天线,例如,N支接收天线,接收天线可以为5G天线、4G天线、WiFi天线、蓝牙天线等,用于对应收发相应频段的射频信号。其中,接收天线的数量N可以为2、3、4、6、8、10等数量,以满足客户前置设备的通信需求。N支接收天线的辐射面至少朝向三个不同的方向。也可以理解为,每支接收天线具有辐射面,该辐射面可以理解为该接收天线用于辐射射频信号的辐射体所在的平面。接收天线的辐射面的朝向方向不同,且对应的接收天线的波束扫描范围、来波方向也就不同。将N支接收天线分别设置在客户前置设备的不同位置,使得各接收天线的波束扫描范围能够实现水平面的360°全向覆盖。客户前置设备可以通过从N支接收天线中选择K支天线作为接收天线组110来“定向地”“迎合”基站的下行来波方向去完成进行射频信号的接收,其中,K小于等于N且K≥2。具体的,射频处理电路140可根据客户前置设备所能够支持的多进多出(Multiple Input Multiple Output,MIMO)技术来配置接收天线组110中接收天线的数量K,可将N支接收天线根据预设规则配置为多支接收天线组110,使得每支接收天线组110中包括K支接收天线。接收天线组110中的K支接收天线具有至少两个顺次相邻的且朝向不同方向的辐射面。示例性的,当客户前置设备支持2*2MIMO时,其接收天线组110可包括2支接收天线,当客户前置设备支持4*4MIMO时,其接收天线组110可包括4支接收天线。在本申请实施例中,以N=8,K=4为例进行说明。In one of the embodiments, the customer front-end device may include multiple receiving antennas, for example, N receiving antennas, and the receiving antennas may be 5G antennas, 4G antennas, WiFi antennas, Bluetooth antennas, etc., which are used to transmit and receive radio frequencies corresponding to corresponding frequency bands. Signal. Wherein, the number N of receiving antennas may be 2, 3, 4, 6, 8, 10, etc., to meet the communication requirements of the customer's front-end equipment. The radiating surfaces of the N receiving antennas face at least three different directions. It can also be understood that each receiving antenna has a radiating surface, and the radiating surface can be understood as a plane where the radiator of the receiving antenna is used to radiate radio frequency signals. The orientation directions of the radiating surfaces of the receiving antennas are different, and the beam scanning ranges and incoming wave directions of the corresponding receiving antennas are also different. The N receiving antennas are set at different positions of the customer's front-end equipment, so that the beam scanning range of each receiving antenna can achieve 360° omnidirectional coverage on the horizontal plane. The customer front-end equipment may select K antennas from the N receiving antennas as the receiving antenna group 110 to "directionally" "cater" to the downlink incoming wave direction of the base station to complete the reception of radio frequency signals, wherein K is less than or equal to N and K≥2. Specifically, the radio frequency processing circuit 140 can configure the number K of receiving antennas in the receiving antenna group 110 according to the Multiple Input Multiple Output (MIMO) technology supported by the customer front-end equipment, and the N receiving antennas can be configured according to The preset rule is configured as multiple receiving antenna groups 110, so that each receiving antenna group 110 includes K receiving antennas. The K receiving antennas in the receiving antenna group 110 have at least two successively adjacent radiating surfaces facing in different directions. Exemplarily, when the customer premises equipment supports 2*2 MIMO, its receiving antenna group 110 may include 2 receiving antennas, and when the customer premises equipment supports 4*4 MIMO, its receiving antenna group 110 may include 4 receiving antennas. In the embodiments of the present application, N=8 and K=4 are taken as an example for description.
客户前置设备可根据依次控制导通每一接收天线组110与射频处理电路140之间的射频通路,以使每一接收天线组110处于工作状态,进而对应测量每一接收天线组110接收射频信号的网络信息。The customer front-end equipment can control and conduct the radio frequency path between each receiving antenna group 110 and the radio frequency processing circuit 140 in sequence, so that each receiving antenna group 110 is in a working state, and then correspondingly measure the received radio frequency of each receiving antenna group 110 Signal network information.
步骤304,根据多个所述网络信息确定目标接收天线组。Step 304: Determine a target receiving antenna group according to a plurality of the network information.
在其中给一个实施例中,以网络信息为参考信号接收功率为例进行说明。也即,客户前置设备可获取多支接收天线组110对应的多个参考信号接收功率,并获取多个参考信号接收功率中的最大值,以将该最大值作为目标网络信息,该目标网络信息对应的接收天线组110即为目标接收天线组110。In one of the embodiments, the network information is taken as an example of the received power of the reference signal for description. That is, the customer premises equipment can obtain multiple reference signal received powers corresponding to the multiple receiving antenna groups 110, and obtain the maximum value of the multiple reference signal received powers, so as to use the maximum value as target network information, the target network The receiving antenna group 110 corresponding to the information is the target receiving antenna group 110 .
步骤306,控制所述目标接收天线组接收所述射频信号,并获取所述目标接收天线组接收所述射频信号的来波方向。Step 306: Control the target receiving antenna group to receive the radio frequency signal, and acquire the direction of the incoming wave of the radio frequency signal received by the target receiving antenna group.
每支接收天线、发射天线均携带有用于表示每支天线的辐射面的标识信息。具体的,获取所述目标接收天线组110接收所述射频信号的来波方向具体包括获取所述目标接收天线组110中每一所述接收天线的标识信息,根据所述标识信息获取所述射频信号的来波方向的步骤。Each receiving antenna and transmitting antenna carries identification information for representing the radiation surface of each antenna. Specifically, acquiring the incoming wave direction of the radio frequency signal received by the target receiving antenna group 110 specifically includes acquiring identification information of each of the receiving antennas in the target receiving antenna group 110, and acquiring the radio frequency according to the identification information Steps in the direction of arrival of the signal.
如图4a和图4b所示,在本申请实施例中,以八支接收天线、二支发射天线为例进行说明。在其中一个实施例中,射频***还包括基板。该基板可以理解为用于承载射频电路 120、开关电路130、射频处理电路140的电路板,例如,PCB板、FPC板等。接收天线A1、A4具有辐射面1,接收天线A6、A7具有辐射面2,接收天线A2、A3具有辐射面3,接收天线A5、A8具有辐射面4,发射天线B1具有辐射面5,发射天线B2具有辐射面6。示例性的,辐射面1、2、3、4、5、6可分别用001、002、003、004、005、006标识。也即,本申请实施例中的各支接收天线和发射天线的标识信息可用于表示各天线辐射面对应的来波方向信息,也即方位角范围。As shown in FIG. 4a and FIG. 4b, in the embodiment of the present application, eight receiving antennas and two transmitting antennas are used as examples for description. In one of the embodiments, the radio frequency system further includes a substrate. The substrate can be understood as a circuit board for carrying the radio frequency circuit 120, the switch circuit 130, and the radio frequency processing circuit 140, for example, a PCB board, an FPC board, and the like. The receiving antennas A1 and A4 have a radiating surface 1, the receiving antennas A6 and A7 have a radiating surface 2, the receiving antennas A2 and A3 have a radiating surface 3, the receiving antennas A5 and A8 have a radiating surface 4, the transmitting antenna B1 has a radiating surface 5, and the transmitting antenna B2 has a radiating surface 6 . Exemplarily, the radiation surfaces 1, 2, 3, 4, 5, and 6 can be identified by 001, 002, 003, 004, 005, and 006, respectively. That is, the identification information of each receiving antenna and the transmitting antenna in the embodiment of the present application may be used to indicate the incoming wave direction information corresponding to the radiation surface of each antenna, that is, the azimuth angle range.
发射天线B1、接收天线A1、A4、A6、A7位于所述基板150的第一侧,发射天线B2、接收天线A2、A3、A5、A8位于所述基板150的第二侧。具体的,发射天线B1具有第五辐射面,位于天线对1、天线对4的中间位置,发射天线B2具有第六辐射面,位于天线对2、天线对3的中间位置。The transmitting antenna B1 , the receiving antennas A1 , A4 , A6 , and A7 are located on the first side of the substrate 150 , and the transmitting antenna B2 , the receiving antennas A2 , A3 , A5 , and A8 are located on the second side of the substrate 150 . Specifically, the transmitting antenna B1 has a fifth radiating surface that is located in the middle of the antenna pair 1 and 4 , and the transmitting antenna B2 has a sixth radiating surface that is located in the middle of the antenna pair 2 and 3 .
具体的,可以在客户前置设备中构建一坐标系,其中,可以将基板150所在平面作为该坐标系的XZ平面,并将该基板的长度方向作为X轴,将该基板的宽度方向,也即该客户前置设备的高度方向作为Z轴,并将垂直于该XZ平面的直线作为该坐标系的Y轴。其中,位于基板的第一侧的接收天线的辐射面的方向包括第一方向和第二方向,其第一方向对应的方位角范围定义为0-90°,第二方向对应的方位角的范围为90-180°,位于基板的第一侧的发射天线B1的对应的方位角的范围为0-180°。位于基板的第二侧的接收天线的辐射面的方向包括第三方向和第四方向,其第三方向对应的方位角范围定义为180-270°,第四方向对应的方位角的范围为270-360°;位于基板的第二侧的发射天线B2的对应的方位角的范围为180-360°。Specifically, a coordinate system can be constructed in the customer front-end equipment, wherein the plane where the substrate 150 is located can be taken as the XZ plane of the coordinate system, the length direction of the substrate can be taken as the X axis, and the width direction of the substrate can also be taken as the X-axis. That is, the height direction of the customer front-end device is taken as the Z axis, and the straight line perpendicular to the XZ plane is taken as the Y axis of the coordinate system. The direction of the radiation surface of the receiving antenna on the first side of the substrate includes a first direction and a second direction, the azimuth angle range corresponding to the first direction is defined as 0-90°, and the azimuth angle range corresponding to the second direction is defined as is 90-180°, and the corresponding azimuth angle of the transmitting antenna B1 located on the first side of the substrate is in the range of 0-180°. The directions of the radiation surface of the receiving antenna on the second side of the substrate include a third direction and a fourth direction, the azimuth angle corresponding to the third direction is defined as a range of 180-270°, and the azimuth angle corresponding to the fourth direction is 270° -360°; the corresponding azimuth angle of the transmit antenna B2 located on the second side of the substrate is in the range of 180-360°.
步骤308,根据所述来波方向生成所述第一切换指令,所述第一切换指令用于指示所述开关电路将所述第一发射天线切换至所述第二发射天线。Step 308: Generate the first switching instruction according to the incoming wave direction, where the first switching instruction is used to instruct the switch circuit to switch the first transmit antenna to the second transmit antenna.
客户前置设备可以预先构建与每一接收天线组110的来波方向与相匹配的第一切换指令的映射关系。具体的,以第一发射天线为发射天线B1为例进行说明。具体的,若接收天线组110为接收天线组110(A1、A4、A6、A7),其对应的来波方向的方位角范围为0-180°,其与之匹配的第二发射天线为标识信息为005的发射天线B1,则对应的第一切换指令为高电平信号;若接收天线组110为接收天线组110(A2、A3、A4、A8),其对应的来波方向的方位角范围为180-360°,其与之匹配的第二发射天线为标识信息为006的发射天线B2,其对应的第一切换指令为低电平信号;若接收天线组110为接收天线组110(A4、A6、A7、A2),其对应的来波方向的方位角范围为0-270°,其与之匹配的第二发射天线为标识信息为006的发射天线B2,其对应的第一切换指令为低电平信号。其中,高电平信号用于控制该开关电路130导通连接发射天线B1的选择端与该开关电路130的单端子之间的通路;低电平信号用于控制该开关电路130导通连接发射天线B2的选择端与该开关电路130的单端子之间的通路。The customer premises equipment may pre-build a mapping relationship with the incoming wave direction of each receiving antenna group 110 and the matching first switching instruction. Specifically, the first transmitting antenna is taken as the transmitting antenna B1 as an example for description. Specifically, if the receiving antenna group 110 is the receiving antenna group 110 (A1, A4, A6, A7), the azimuth angle range of the corresponding incoming wave direction is 0-180°, and the matching second transmitting antenna is the identification For the transmitting antenna B1 whose information is 005, the corresponding first switching command is a high-level signal; if the receiving antenna group 110 is the receiving antenna group 110 (A2, A3, A4, A8), the corresponding azimuth angle of the incoming wave direction The range is 180-360°, and its matched second transmit antenna is the transmit antenna B2 with identification information of 006, and its corresponding first switching instruction is a low-level signal; if the receiving antenna group 110 is the receiving antenna group 110 ( A4, A6, A7, A2), the azimuth angle range of the corresponding incoming wave direction is 0-270°, and the second transmitting antenna matched with it is the transmitting antenna B2 whose identification information is 006, and the corresponding first switching The command is a low level signal. The high-level signal is used to control the switch circuit 130 to conduct the connection between the select terminal of the transmitting antenna B1 and the single terminal of the switch circuit 130; the low-level signal is used to control the switch circuit 130 to conduct the connection to transmit The path between the selection terminal of the antenna B2 and the single terminal of the switch circuit 130 .
如图5所示,在其中一个实施例中,启用第二切换模式,包括步骤502-步骤504。其中,As shown in FIG. 5 , in one embodiment, enabling the second switching mode includes steps 502 to 504 . in,
步骤502,射频收发器获取第一发射天线的功率信息到达最大发射功率电平的次数。 Step 502, the radio frequency transceiver acquires the number of times the power information of the first transmit antenna reaches the maximum transmit power level.
客户前置设备控制开关电路130导通第一发射天线所在的发射通路时,射频收发器141可根据该发射通路上的功率信息,例如TXAGC,到达最大发射功率电平MTPL的次数来对第一发射天线的通信性能或通信状态进行判断。When the CPE control switch circuit 130 turns on the transmit path where the first transmit antenna is located, the radio frequency transceiver 141 can determine the first transmit power level MTPL according to the power information on the transmit path, such as TXAGC, and the number of times the maximum transmit power level MTPL is reached. The communication performance or communication status of the transmitting antenna is judged.
步骤504,射频收发器根据次数和预设阈值生成第二切换指令,第二切换指令用于指示开关电路切换至第二发射天线。 Step 504, the radio frequency transceiver generates a second switching instruction according to the number of times and the preset threshold, and the second switching instruction is used to instruct the switching circuit to switch to the second transmitting antenna.
客户前置设备中可以预先存储一个用于评断其通信性能或通信状态的标准次数,该标准次数可以用预设阈值进行表示。当TXAGC到达最大发射功率电平MTPL的次数超过了这一预设阈值,则意味着此时第一发射天线的发射信号不能很好地支持当前与网络侧的通信业务,需要切换到另外一根发射天线上尝试去改善当前的发射信号质量。因此,射频收 发器141可以根据TXAGC到达最大发射功率电平MTPL的次数是否到达预设阈值的比较结果来生成第二切换指令。第二切换指令用于指示开关电路130切换至第二发射天线。具体的,以第一发射天线为发射天线B1为例进行说明。若第一发射天线的TXAGC到达最大发射功率电平MTPL的次数未到达预设阈值,则不需要切换发射天线,则与之匹配的第二发射天线仍然为发射天线B1,则对应的第二切换指令高电平信号,该高电平信号用于控制该开关电路130导通连接发射天线B1的选择端与该开关电路130的单端子之间的通路。若TXAGC到达最大发射功率电平MTPL的次数到达预设阈值,则需要切换发射天线,则与之匹配的第二发射天线为发射天线B2,则对应的第二切换指令低电平信号,该低电平信号用于控制该开关电路130导通连接发射天线B2的选择端与该开关电路130的单端子之间的通路。A standard number of times for judging its communication performance or communication state may be pre-stored in the customer front-end device, and the standard number of times may be represented by a preset threshold. When the number of times that the TXAGC reaches the maximum transmit power level MTPL exceeds this preset threshold, it means that the transmit signal of the first transmit antenna cannot well support the current communication service with the network side and needs to be switched to another antenna. Try to improve the current transmit signal quality on the transmit antenna. Therefore, the radio frequency transceiver 141 may generate the second switching instruction according to a comparison result of whether the number of times the TXAGC reaches the maximum transmit power level MTPL reaches a preset threshold. The second switch instruction is used to instruct the switch circuit 130 to switch to the second transmit antenna. Specifically, the first transmitting antenna is taken as the transmitting antenna B1 as an example for description. If the number of times that the TXAGC of the first transmit antenna reaches the maximum transmit power level MTPL does not reach the preset threshold, the transmit antenna does not need to be switched, and the matched second transmit antenna is still transmit antenna B1, and the corresponding second switch A high-level signal is commanded, and the high-level signal is used to control the switch circuit 130 to conduct the path between the select terminal of the transmitting antenna B1 and the single terminal of the switch circuit 130 . If the number of times that TXAGC reaches the maximum transmit power level MTPL reaches the preset threshold, the transmit antenna needs to be switched, and the second transmit antenna matched with it is transmit antenna B2, and the corresponding second switch command is a low-level signal. The level signal is used to control the switch circuit 130 to conduct the path between the select terminal of the transmitting antenna B2 and the single terminal of the switch circuit 130 .
需要说明的是,在本申请实施例中,对第一切换指令、第二切换指令的具体表现形式,例如,高低电平信号,可以相同,也可以不同,同时,第一切换指令和第二切换指令中的高低电平信号与开关电路130的控制逻辑也可以相同,也可以不同,本申请实施例对第一切换指令、第二切换指令的说明不限于上述举例说明。It should be noted that, in the embodiments of the present application, the specific expressions of the first switching instruction and the second switching instruction, for example, the high and low level signals, may be the same or different. At the same time, the first switching instruction and the second switching instruction The high and low level signals in the switching command and the control logic of the switch circuit 130 may also be the same or different. The descriptions of the first switching command and the second switching command in the embodiments of the present application are not limited to the above examples.
在其中一个实施例中,步骤206,根据第一切换指令或第二切换指令生成目标切换指令的步骤具体包括:若控制逻辑单元模块分时接收到第一切换指令和第二切换指令,则根据第一切换指令或第二切换指令生成目标切换指令。具体的,控制逻辑单元模块分别与射频收发器141、基带处理器142、开关电路130连接,用于根据目标切换指令控制电路开关切换将第一发射天线切换至第二发射天线。分时接收可以理解为控制逻辑单元模块接收到第一切换指令和第二切换指令的时刻不同。In one embodiment, in step 206, the step of generating the target switching instruction according to the first switching instruction or the second switching instruction specifically includes: if the control logic unit module receives the first switching instruction and the second switching instruction in a time-sharing manner, according to The first switching instruction or the second switching instruction generates a target switching instruction. Specifically, the control logic unit module is respectively connected with the radio frequency transceiver 141, the baseband processor 142, and the switch circuit 130, and is used to control circuit switch switching to switch the first transmit antenna to the second transmit antenna according to the target switch instruction. Time-sharing reception can be understood as different times when the control logic unit module receives the first switching instruction and the second switching instruction.
在其中一个实施例中,根据第一切换指令或第二切换指令生成目标切换指令具体包括在切换周期内,控制逻辑单元模块根据接收到第一切换指令和第二切换指令的优先时序原则生成目标切换指令的步骤。若控制逻辑单元模块分时接收到第一切换指令和第二切换指令,则根据第一切换指令或第二切换指令生成目标切换指令。示例性的,若先接收到第一切换指令,则可以将所述第一切换指令作为该目标切换指令;若先接收到第二切换指令,则可以将所述第二切换指令作为该目标切换指令。需要说明的是,先接收到第一切换指令可以理解为在同一切换周期内,或,启动第一切换模式和第二切换模式后,接收到第一切换指令的时刻早于接收到第二切换指令的时刻。In one of the embodiments, generating the target switching instruction according to the first switching instruction or the second switching instruction is specifically included in the switching cycle, and the control logic unit module generates the target according to the priority timing principle of receiving the first switching instruction and the second switching instruction Steps for switching instructions. If the control logic unit module receives the first switching instruction and the second switching instruction in a time-sharing manner, the target switching instruction is generated according to the first switching instruction or the second switching instruction. Exemplarily, if the first switching instruction is received first, the first switching instruction can be used as the target switching instruction; if the second switching instruction is received first, the second switching instruction can be used as the target switching instruction. instruction. It should be noted that, receiving the first switching instruction first can be understood as within the same switching cycle, or, after the first switching mode and the second switching mode are activated, the time when the first switching instruction is received is earlier than the second switching instruction is received. moment of instruction.
在其中一个实施例中,步骤206,根据第一切换指令和第二切换指令生成目标切换指令的步骤具体包括:若控制逻辑单元模块同时接收到第一切换指令和第二切换指令,则根据第一切换指令和第二切换指令生成目标切换指令的步骤。In one embodiment, step 206, the step of generating the target switching instruction according to the first switching instruction and the second switching instruction specifically includes: if the control logic unit module receives the first switching instruction and the second switching instruction at the same time, according to the first switching instruction and the second switching instruction A switching instruction and a second switching instruction generate a step of generating a target switching instruction.
在其中一个实施例中,若第一切换指令和第二切换指令相同,则根据第一切换指令或第二切换指令生成目标切换指令。其中,第一切换指令用于指示控制电路开关将所述第一发射天线切换至第二发射天线;第二切换指令用于指示控制电路开关将所述第一发射天线切换至第二发射天线。其中,第一切换指令和第二切换指令相同,可以理解为第一切换指令对应的第二发射天线和第二切换指令对应的第二发射天线相同,也就是,均用于将第一发射天线切换至发射天线B1,或均用于将第一发射天线切换至发射天线B2。也可以理解为,若控制逻辑单元模块同时接收到第一切换指令和第二切换指令,且第一切换指令和第二切换指令相同,则该控制逻辑单元模块可以将第一切换指令或第二切换指令作为该目标切换指令。In one embodiment, if the first switching instruction and the second switching instruction are the same, the target switching instruction is generated according to the first switching instruction or the second switching instruction. The first switching instruction is used to instruct the control circuit switch to switch the first transmission antenna to the second transmission antenna; the second switching instruction is used to instruct the control circuit switch to switch the first transmission antenna to the second transmission antenna. Wherein, the first switching instruction and the second switching instruction are the same, it can be understood that the second transmitting antenna corresponding to the first switching instruction and the second transmitting antenna corresponding to the second switching instruction are the same, that is, both are used for the first transmitting antenna Switch to the transmit antenna B1, or both are used to switch the first transmit antenna to the transmit antenna B2. It can also be understood that, if the control logic unit module receives the first switching command and the second switching command at the same time, and the first switching command and the second switching command are the same, then the control logic unit module can convert the first switching command or the second switching command. The switching instruction is used as the target switching instruction.
在其中一个实施例中,若第一切换指令和第一切换指令不同,则根据第一切换模式和第二切换模式的切换优先级生成目标切换指令。具体的,客户前置设备可以预设存储第一切换模式和第二切换模式的切换优先级,其优先级等级越高,该切换模式下对应生成的目标切换指令的优先级也就越高。示例性的,当第一切换模式的优先级高于第二切换模式的优先级,若控制逻辑单元模块同时接收到第一切换指令和第二切换指令,则该控制逻辑单 元模块可以根据第一切换指令生成目标切换指令以控制开关电路130将第一发射天线切换至第二发射天线。其中,第一切换模式和第二切换模式的优先级的设定,可以根据当前客户前置设备所处的网络环境、位置环境等因素来进行自定义设定,也可以由客户前置设备的操作***固定设定,在本申请实施例中,对其优先级的设定不做进一步的限定。In one embodiment, if the first switching instruction and the first switching instruction are different, the target switching instruction is generated according to the switching priorities of the first switching mode and the second switching mode. Specifically, the customer front-end device can preset and store the switching priorities of the first switching mode and the second switching mode. The higher the priority level, the higher the priority of the target switching instruction generated correspondingly in the switching mode. Exemplarily, when the priority of the first switching mode is higher than the priority of the second switching mode, if the control logic unit module receives the first switching instruction and the second switching instruction at the same time, the control logic unit module can The switching instruction generates a target switching instruction to control the switch circuit 130 to switch the first transmit antenna to the second transmit antenna. The priority setting of the first switching mode and the second switching mode can be customized according to factors such as the network environment and location environment where the current customer front-end equipment is located, or can be set by the customer front-end equipment. The operating system is fixedly set, and in this embodiment of the present application, the setting of its priority is not further limited.
上述实施例中的天线控制方法,控制逻辑单元模块可以接收基带处理器142发出的第一切换指令和射频收发处理器发出的第二切换指令,也即控制逻辑单元模块可以接收双重逻辑控制信号(第一切换指令和第二切换指令),并将接收到的第一切换指令和第二切换指令信号“协商处理”后输出目标切换指令,丰富了可用于发射天线切换的使用场景(基于第一切换模式和基于第一切换模式),也保障了良好的通信状态,提升了使用时的发射天线的覆盖范围和用户体验。另外,控制逻辑单元模块同时接收到的第一切换指令和第二切换指令不同时,通过设定的切换优先级,也可以理解为“竞争冲突解决”,以避免第一切换指令和第二切换指令不同(冲突)带来的不稳定切换的发生,进而可以提高通信的稳定性。In the antenna control method in the above-mentioned embodiment, the control logic unit module can receive the first switching command sent by the baseband processor 142 and the second switching command sent by the radio frequency transceiver processor, that is, the control logic unit module can receive the dual logic control signal ( The first handover command and the second handover command), and the received first handover command and the second handover command signal are "negotiated" and then output the target handover command, which enriches the use scenarios that can be used for transmit antenna switching (based on the first handover command and the second handover command signal). switching mode and based on the first switching mode), it also ensures a good communication state, and improves the coverage and user experience of the transmitting antenna during use. In addition, when the first switching instruction and the second switching instruction received by the control logic unit module at the same time are different, the set switching priority can also be understood as "competition conflict resolution" to avoid the first switching instruction and the second switching instruction. The occurrence of unstable handover caused by different commands (conflicts) can improve the stability of communication.
如图6所示,在其中一个实施例中,根据所述目标切换指令控制开关电路130将所述第一发射天线切换至第二发射天线,包括步骤602-步骤608。其中,As shown in FIG. 6 , in one embodiment, the switch circuit 130 is controlled to switch the first transmit antenna to the second transmit antenna according to the target switch instruction, including steps 602 to 608 . in,
步骤602,获取预先存储的所述开关电路当前的第一状态信息;所述第一状态信息用于表示所述开关单元导通所述第一发射天线所在的发射通路。Step 602: Acquire pre-stored current first state information of the switch circuit; the first state information is used to indicate that the switch unit conducts the transmit path where the first transmit antenna is located.
在控制逻辑单元模块中会预先记录当前开关电路130的第一状态信息。其中,开关电路130的状态信息可以用于标识该开关电路130的开关状态。在本申请实施例中个,以发射天线包括发射天线B1和发射天线B2,开关电路130为SPDT开关为例进行说明。SPDT开关包括单端子、第一选择端和第二选择端,其中,单端子与收发电路连接,第一选择端与发射天线B1连接,第二选择端与发射天线B2连接。该开关电路130的开关状态可以用于表示单端子与第一选择端或第二选择端的导通状态。具体的,开关电路130的状态信息可以用寄存器值D来表示,其中,寄存器值可以用0和1来标识。示例性的,当寄存器值为1时,则表明当前SPDT开关的单端子与第一选择端导通,也即导通了发射天线B1的发射通路;当寄存器值为0时,则表明当前SPDT开关的单端子与第二选择端导通,也即导通了发射天线B2的发射通路。相应的,也可以用寄存器值0来标识当前SPDT开关的单端子与第一选择端导通,用寄存器值1来标识当前SPDT开关的单端子与第二选择端导通。The first state information of the current switch circuit 130 is pre-recorded in the control logic unit module. The state information of the switch circuit 130 may be used to identify the switch state of the switch circuit 130 . In each of the embodiments of the present application, the transmission antenna includes a transmission antenna B1 and a transmission antenna B2, and the switch circuit 130 is an SPDT switch as an example for description. The SPDT switch includes a single terminal, a first selection terminal and a second selection terminal, wherein the single terminal is connected to the transceiver circuit, the first selection terminal is connected to the transmitting antenna B1, and the second selection terminal is connected to the transmitting antenna B2. The switch state of the switch circuit 130 can be used to indicate the conduction state of the single terminal and the first selection terminal or the second selection terminal. Specifically, the state information of the switch circuit 130 may be represented by a register value D, where the register value may be identified by 0 and 1. Exemplarily, when the register value is 1, it indicates that the single terminal of the current SPDT switch is connected to the first selection end, that is, the transmission path of the transmitting antenna B1 is turned on; when the register value is 0, it indicates that the current SPDT The single terminal of the switch is connected to the second selection terminal, that is, the transmission path of the transmission antenna B2 is turned on. Correspondingly, a register value of 0 may also be used to indicate that the single terminal of the current SPDT switch is connected to the first selection terminal, and a register value of 1 may be used to indicate that the single terminal of the current SPDT switch is connected to the second selection terminal.
需要说明的是,若该发射天线的数量为3、4或更多个时,其对应的寄存器值可以用于二进制值,或其他方式来标识,在此对此不作进一步的限定。例如,其寄存器值可以与目标切换指令对应设置。It should be noted that, if the number of the transmitting antennas is 3, 4 or more, the corresponding register value may be used for binary value or identification in other ways, which is not further limited herein. For example, its register value can be set corresponding to the target switching instruction.
若第一发射天线为发射天线B1,客户前置设备可以对应获取开关电路130的第一状态信息,也即寄存器值1;若第一发射天线为发射天线B2,客户前置设备可以对应获取开关电路130的第一状态信息,也即寄存器值0。If the first transmitting antenna is the transmitting antenna B1, the customer front-end equipment can correspondingly obtain the first state information of the switch circuit 130, that is, the register value 1; if the first transmitting antenna is the transmitting antenna B2, the customer front-end equipment can correspondingly obtain the switch The first state information of the circuit 130, that is, the register value 0.
步骤604,获取与所述目标切换指令相对应的所述开关电路的第二状态信息。Step 604: Acquire second state information of the switch circuit corresponding to the target switching instruction.
客户前置设备中的控制逻辑单元模块可以根据目标切换指令来对应获取开关电路130即将切换到第二发射天线的第二状态信息。示例性的,若第二发射天线为发射天线B1,则与所述目标切换指令相对应的所述开关电路130的第二状态信息为寄存器值1;若第二发射天线为发射天线B2,则与所述目标切换指令相对应的所述开关电路130的第二状态信息为寄存器值0。The control logic unit module in the customer premises equipment can correspondingly acquire the second state information of the switching circuit 130 to be switched to the second transmitting antenna according to the target switching instruction. Exemplarily, if the second transmit antenna is the transmit antenna B1, the second state information of the switch circuit 130 corresponding to the target switching instruction is the register value 1; if the second transmit antenna is the transmit antenna B2, then The second state information of the switch circuit 130 corresponding to the target switching instruction is a register value of 0.
步骤606,若所述第一状态信息与所述第二状态信息相同,则维持当前所述开关电路的状态。Step 606, if the first state information is the same as the second state information, maintain the current state of the switch circuit.
步骤608,若所述第一状态信息与所述第二状态信息不相同,则控制开关电路将所述第一发射天线切换至第二发射天线。 Step 608, if the first state information is different from the second state information, control a switch circuit to switch the first transmit antenna to the second transmit antenna.
控制逻辑单元模块可以根据开关电路130当前的第一状态信息和即将切换的第一状态信息来控制开关电路130来执行相应的切换。具体的,若第一状态信息与所述第二状态信息相同,则认定第一发射天线和第二发射天线为同一发射天线,此时,控制逻辑单元模块可不对开关电路130执行相应的切换控制,也即维持当前所述开关电路130的状态。若第一状态信息与所述第二状态信息不相同,则认定第一发射天线和第二发射天线为不是同一发射天线。若第一发射天线为发射天线B1,此时,控制逻辑单元模块可根据该目标切换指令控制开关电路130导通单端子与第二选择端的通路,以导通发射天线B2的发射通路,进而将所述第一发射天线B1切换至第二发射天线B2。The control logic unit module may control the switch circuit 130 to perform corresponding switching according to the current first state information of the switch circuit 130 and the first state information to be switched. Specifically, if the first state information is the same as the second state information, it is determined that the first transmit antenna and the second transmit antenna are the same transmit antenna, and at this time, the control logic unit module may not perform corresponding switching control on the switch circuit 130 , that is, the current state of the switch circuit 130 is maintained. If the first state information is different from the second state information, it is determined that the first transmit antenna and the second transmit antenna are not the same transmit antenna. If the first transmitting antenna is the transmitting antenna B1, at this time, the control logic unit module can control the switch circuit 130 to conduct the path between the single terminal and the second selection terminal according to the target switching instruction, so as to conduct the transmitting path of the transmitting antenna B2, and then switch the The first transmit antenna B1 is switched to the second transmit antenna B2.
本实施例中的天线切换方法,可以在双重发射天线判决机制的“协商”处理过程中,通过引入控制逻辑单元模块,不仅将双重天线切换模式下输出的第一切换指令和第二切换指令和谐地转化成目标切换指令去控制SPDT开关的切换,同时也因为控制逻辑单元模块的寄存器可以记录SPDT开关当前的状态信息,状态信息可用寄存器值=D来标识,因此也可以避免反复切换和无用切换,消除了对客户前置设备的通信状态带来负面干扰(例如,通信不稳定)的可能,保障了良好的通信状态,提升了使用时的覆盖范围和用户体验。The antenna switching method in this embodiment can not only harmonize the first switching command and the second switching command output in the dual antenna switching mode by introducing a control logic unit module during the "negotiation" process of the dual transmit antenna decision mechanism It can also be converted into a target switching command to control the switching of the SPDT switch. At the same time, because the register of the control logic unit module can record the current state information of the SPDT switch, the state information can be identified by the register value = D, so repeated switching and useless switching can also be avoided. , which eliminates the possibility of negative interference (for example, unstable communication) to the communication state of the customer's front-end equipment, ensures a good communication state, and improves the coverage and user experience during use.
在其中一个实施例中,控制开关电路将第一发射天线切换至第二发射天线的步骤后,天线切换方法还包括将根据第二状态信息对存储的第一状态信息进行更新的步骤。具体的,更新寄存器值=MOD(D+1,2)记为新的寄存器值。In one of the embodiments, after the step of controlling the switch circuit to switch the first transmit antenna to the second transmit antenna, the antenna switching method further includes the step of updating the stored first state information according to the second state information. Specifically, the updated register value=MOD(D+1, 2) is recorded as a new register value.
本实施例中,根据第二状态信息对开关电路130的寄存器值D进行更新,以为下一次发射天线的切换提供基础,以避免下一次执行发射天线的反复切换和无用切换,进而保障良好的通信状态。In this embodiment, the register value D of the switch circuit 130 is updated according to the second state information to provide a basis for the next switching of the transmitting antenna, so as to avoid repeated switching and useless switching of the transmitting antenna next time, thereby ensuring good communication state.
在其中一个实施例中,天线切换方法还包括初始化开关电路,并记录和存储开关电路的初始化状态的步骤,该步骤于启用第一切换模式和启用第二切换模式前执行,进而为每一次发射天线的切换提供一个准确的开关电路130的状态信息,进而保障良好的通信状态。In one of the embodiments, the antenna switching method further includes the steps of initializing the switch circuit, and recording and storing the initialization state of the switch circuit. The switching of the antenna provides an accurate state information of the switch circuit 130, thereby ensuring a good communication state.
如图7所示,在其中一个实施例中,根据目标切换指令控制开关电路130将第一发射天线切换至第二发射天线的步骤后,天线切换控制方法,包括步骤702-步骤714。As shown in FIG. 7 , in one embodiment, after the switch circuit 130 is controlled to switch the first transmit antenna to the second transmit antenna according to the target switch instruction, the antenna switch control method includes steps 702 to 714 .
步骤702,控制第一发射天线发射射频信号。Step 702: Control the first transmit antenna to transmit radio frequency signals.
步骤704,若满足切换到使用第二发射天线的条件,则启用第一切换模式和启用第二切换模式。 Step 704, if the conditions for switching to using the second transmit antenna are met, enable the first switching mode and enable the second switching mode.
步骤706,根据所述第一切换指令和/或第二切换指令生成目标切换指令。Step 706: Generate a target switching instruction according to the first switching instruction and/or the second switching instruction.
步骤708,根据所述目标切换指令控制开关电路将所述第一发射天线切换至第二发射天线。Step 708: Control a switch circuit to switch the first transmit antenna to the second transmit antenna according to the target switch instruction.
其中,步骤702-步骤708与前述实施例中的步骤202-步骤208一一对应,在此,不再赘述。Wherein, steps 702 to 708 correspond to steps 202 to 208 in the foregoing embodiments one-to-one, and details are not described herein again.
步骤710,在预设时长后,检测第二发射天线的发射性能是否优于第一发射天线的发射性能;若第二发射天线的发射性能不优于第一发射天线的发射性能,则执行步骤712,控制开关电路130将第二发射天线切换至第一发射天线;若第二发射天线的发射性能优于第一发射天线的发射性能,则执行步骤714,检测是否满足切换到使用第二发射天线的条件。Step 710: After a preset time period, check whether the transmission performance of the second transmission antenna is better than that of the first transmission antenna; if the transmission performance of the second transmission antenna is not better than the transmission performance of the first transmission antenna, execute the step 712, control the switch circuit 130 to switch the second transmit antenna to the first transmit antenna; if the transmit performance of the second transmit antenna is better than the transmit performance of the first transmit antenna, step 714 is executed to detect whether it is satisfied to switch to use the second transmit antenna condition of the antenna.
将第一发射天线切换至第二发射天线后,可以等待一个窗口期T,该窗口期T可以作为该预设时长,可以理解为,控制第二发射天线持续发射射频信号预设时长后,检测第二发射天线的发射性能是否优于切换前第一发射天线的发射性能。其中,该发射性能可以用TXAGC到达最大发射功率电平的次数来进行判定。若在检测时长内,其TXAGC到达最大发射功率电平的次数越少,则表明其发射性能越优。例如,可以预先获取第一发射天线在检测时长内TXAGC到达最大发射功率电平的第一次数,若第二发射天线在预设时长内, 其TXAGC到达最大发射功率电平的次数大于第一次数,则执行步骤712,控制开关电路将第二发射天线切换至第一发射天线;其TXAGC到达最大发射功率电平的次数小于第一次数,则执行步骤714,检测是否满足切换到使用第二发射天线的条件。After switching the first transmitting antenna to the second transmitting antenna, you can wait for a window period T, and the window period T can be used as the preset time period. Whether the transmission performance of the second transmission antenna is better than the transmission performance of the first transmission antenna before handover. The transmission performance can be determined by the number of times the TXAGC reaches the maximum transmission power level. If the number of times that its TXAGC reaches the maximum transmit power level within the detection time period is less, it indicates that its transmit performance is better. For example, the first number of times that the TXAGC of the first transmit antenna reaches the maximum transmit power level within the detection time period can be pre-obtained. If the second transmit antenna is within the preset time period, the number of times that its TXAGC reaches the maximum transmit power level is greater than the first time. number of times, go to step 712 to control the switch circuit to switch the second transmit antenna to the first transmit antenna; the number of times that the TXAGC reaches the maximum transmit power level is less than the first number, go to step 714 to detect whether the switch to use is satisfied The condition of the second transmit antenna.
本实施例中的天线切换方法在每次切换后增加一个窗口稳定期T,在窗口稳定器后在检测一次切换前后的发射性能,进而判定其切换是否成功,若该切换到第二发射天线后的发射性能优于第一发射天线的性能,则认为此次切换是有意义的,也即对改善通信质量是有意义的,可以维持当前切换;反之,控制开关电路130切回第一发射天线,并将开关电路130的状态信息恢复到切换前的状态。In the antenna switching method in this embodiment, a window stabilization period T is added after each switching, and after the window stabilizer, the transmission performance before and after a switching is detected, and then it is determined whether the switching is successful. If the transmit performance is better than that of the first transmit antenna, it is considered that the switch is meaningful, that is, it is meaningful to improve the communication quality, and the current switch can be maintained; otherwise, the control switch circuit 130 switches back to the first transmit antenna , and restore the state information of the switch circuit 130 to the state before the switch.
应该理解的是,虽然图2、3、5-7的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2、3、5-7中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the flowcharts of FIGS. 2 , 3 , and 5-7 are displayed in sequence according to the arrows, these steps are not necessarily executed in the sequence indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in Figs. 2, 3, 5-7 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The order of execution of the sub-steps or phases is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or phases of the other steps.
如图8所示,本申请实施例还提供一种客户前置设备。其中,该客户前置设备包括天线组110、射频电路120、开关电路130、射频处理电路140。其中,天线组110包括多支发射天线(例如B1、B2)和多支接收天线(例如A1、A2、A3、…、A8)。射频电路120包括收发模块121和多个接收模块122,其中,收发模块121分别与开关电路130、至少一接收天线连接,每一接收模块122与至少一接收天线连接。其中,接收模块122的数量可以为3个。当接收天线的数量为4个时,收发模块121与一支接收天线连接,每一接收模块122与一支接收天线连接。当接收天线的数量为8个时,收发模块121分别与两支接收天线连接,每一接收模块122与两支接收天线连接。As shown in FIG. 8 , an embodiment of the present application further provides a customer front-end device. The customer front-end equipment includes an antenna group 110 , a radio frequency circuit 120 , a switch circuit 130 , and a radio frequency processing circuit 140 . The antenna group 110 includes multiple transmit antennas (eg, B1, B2) and multiple receive antennas (eg, A1, A2, A3, . . . , A8). The radio frequency circuit 120 includes a transceiver module 121 and a plurality of receiving modules 122, wherein the transceiver module 121 is respectively connected to the switch circuit 130 and at least one receiving antenna, and each receiving module 122 is connected to at least one receiving antenna. The number of receiving modules 122 may be three. When the number of receiving antennas is 4, the transceiver module 121 is connected to one receiving antenna, and each receiving module 122 is connected to one receiving antenna. When the number of receiving antennas is 8, the transceiver modules 121 are respectively connected with two receiving antennas, and each receiving module 122 is connected with two receiving antennas.
如图9所示,射频处理电路包括基带处理器142、射频收发器141和控制逻辑单元模块143。其中,基带处理器142与收发模块121连接,用于在第一切换模式下生成第一切换指令。射频收发器141分别与收发模块121、接收模块122、基带处理器142连接,用于在第二切换模式下生成第二切换指令。As shown in FIG. 9 , the radio frequency processing circuit includes a baseband processor 142 , a radio frequency transceiver 141 and a control logic unit module 143 . The baseband processor 142 is connected to the transceiver module 121, and is used for generating a first switching instruction in the first switching mode. The radio frequency transceiver 141 is respectively connected with the transceiver module 121, the receiving module 122, and the baseband processor 142, and is used for generating a second switching instruction in the second switching mode.
控制逻辑单元模块143分别与射频收发器141、基带处理器142、开关电路130连接,用于根据第一切换指令和/或第二切换指令生成目标切换指令。具体的,若控制逻辑单元模块143分时接收到第一切换指令和第二切换指令,则根据第一切换指令或第二切换指令生成目标切换指令。若控制逻辑单元模块143同时接收到第一切换指令和第二切换指令,则根据第一切换指令和第二切换指令生成目标切换指令,其中,控制逻辑单元模块143被配置为用于根据目标切换指令控制电路开关将第一发射天线切换至第二发射天线。The control logic unit module 143 is respectively connected with the radio frequency transceiver 141, the baseband processor 142, and the switch circuit 130, and is used for generating a target switching instruction according to the first switching instruction and/or the second switching instruction. Specifically, if the control logic unit module 143 receives the first switching instruction and the second switching instruction in a time-sharing manner, the target switching instruction is generated according to the first switching instruction or the second switching instruction. If the control logic unit module 143 receives the first switching instruction and the second switching instruction at the same time, it generates a target switching instruction according to the first switching instruction and the second switching instruction, wherein the control logic unit module 143 is configured to switch according to the target The instruction control circuit switch switches the first transmit antenna to the second transmit antenna.
如图9所示,在其中一个实施例中,收发模块121包括收发单元1211、第一开关单元1212和第二开关单元1213。其中,收发单元1211用于对接收的射频信号的进行放大滤波。收发单元1211中可配置接收通路和发射通路,其中,接收通路中可包括滤波器、低噪声放大器等元器件,以实现对各接收天线接收的射频信号的滤波、放大处理。发射通路中可包括功率放大器、滤波器等期间,以实现对射频信号的放大、滤波处理,进而发送至对应的发射天线。As shown in FIG. 9 , in one embodiment, the transceiver module 121 includes a transceiver unit 1211 , a first switch unit 1212 and a second switch unit 1213 . The transceiver unit 1211 is used to amplify and filter the received radio frequency signal. The transceiver unit 1211 can be configured with a receive path and a transmit path, wherein the receive path can include components such as filters and low noise amplifiers to filter and amplify the radio frequency signals received by each receive antenna. The transmission path may include power amplifiers, filters and other periods to realize amplification and filtering processing of the radio frequency signal, and then send it to the corresponding transmission antenna.
在其中一个实施例中,收发单元1211可为L-PA Mid器件,该射频L-PA Mid器件可以理解为内置低噪声放大器的功率放大器模块(Power Amplifier Modules including Duplexers With LNA,L-PA Mid),可以支持对射频信号的收发处理。也即,该器件是将低噪声放大器、功率放大器、滤波器等元器件等集成在同一器件中的功率放大器模块,进而可以提高器件的集成度,压缩整机的占用空间。In one embodiment, the transceiver unit 1211 can be an L-PA Mid device, and the radio frequency L-PA Mid device can be understood as a power amplifier module (Power Amplifier Modules including Duplexers With LNA, L-PA Mid) with a built-in low noise amplifier , which can support the transceiver processing of radio frequency signals. That is, the device is a power amplifier module that integrates components such as a low-noise amplifier, a power amplifier, and a filter in the same device, thereby improving the integration of the device and compressing the space occupied by the whole machine.
在本申请实施例中,以八支接收天线、两支发射天线为例进行说明。其中,第一开关 单元1212的第一端与收发单元1211连接,第一开关单元1212的一第二端与开关电路130连接,第二开关单元1213的第一端与第一开关单元1212的另一第二端连接,第二开关单元1213的两个第一端分别与两支接收天线一一对应连接。In the embodiment of the present application, eight receiving antennas and two transmitting antennas are used as examples for description. The first end of the first switch unit 1212 is connected to the transceiver unit 1211 , the second end of the first switch unit 1212 is connected to the switch circuit 130 , and the first end of the second switch unit 1213 is connected to the other end of the first switch unit 1212 A second end is connected, and the two first ends of the second switch unit 1213 are respectively connected to the two receiving antennas in a one-to-one correspondence.
射频收发器141还与第一开关单元1212连接,用于控制第一开关单元1212选择性导通第二开关单元1213与收发单元1211之间的射频通路,或开关电路130与收发单元1211之间的射频通路。具体的,第一开关单元1212可以为TDD时分开关,用于在射频收发器141的控制下,控制发射和接收在不同的时序内进行切换。例如,TDD时分开关可以为SPDT开关。The radio frequency transceiver 141 is also connected to the first switch unit 1212 for controlling the first switch unit 1212 to selectively turn on the radio frequency path between the second switch unit 1213 and the transceiver unit 1211 , or between the switch circuit 130 and the transceiver unit 1211 the radio frequency path. Specifically, the first switch unit 1212 may be a TDD time-division switch, which is used to control the transmission and reception to be switched in different time sequences under the control of the radio frequency transceiver 141 . For example, the TDD time division switch can be an SPDT switch.
基带处理器142还与第二开关单元1213连接,用于控制第二开关单元1213选择性导通任一接收天线与第一开关单元1212之间的射频通路。The baseband processor 142 is also connected to the second switch unit 1213 for controlling the second switch unit 1213 to selectively turn on the radio frequency path between any receiving antenna and the first switch unit 1212 .
每一接收模块122均可包括接收单元1221和第三开关单元1222。具体的,接收单元1221可包括低噪声放大器、滤波器等元器件,可以对接收天线接收的射频信号进行滤波放大处理,并将处理后的射频信号输出至射频收发器141。接收单元1221可为将低噪声放大器、滤波器等元器件集成在同一器件中的DRX(diversity receive,分集接收)器件、LFEM(Low noise amplifier front end module,射频低噪声放大器模组)器件等,以提高器件的集成度,压缩整机的占用空间。在本申请实施例中,对接收单元1221、收发单元1211的具体类型不做限定。Each receiving module 122 may include a receiving unit 1221 and a third switching unit 1222 . Specifically, the receiving unit 1221 may include components such as a low-noise amplifier, a filter, etc., which may filter and amplify the radio frequency signal received by the receiving antenna, and output the processed radio frequency signal to the radio frequency transceiver 141 . The receiving unit 1221 may be a DRX (diversity receiver) device, a LFEM (Low noise amplifier front end module, radio frequency low noise amplifier module) device, etc. that integrate components such as low noise amplifiers, filters and other components in the same device, In order to improve the integration of the device, the occupied space of the whole machine is compressed. In this embodiment of the present application, the specific types of the receiving unit 1221 and the transceiver unit 1211 are not limited.
其中,第三开关单元1222可分别与基带处理器142、接收单元1221、两支接收天线连接,用于在基带处理器142的控制下,选择与连接任一接收天线所在的接收通路。因此,第二开关单元1213和第三开关单元1222可在基带处理器142的控制下,以选择控制不同的接收天线组110接收射频信号。The third switch unit 1222 can be connected to the baseband processor 142, the receiving unit 1221, and the two receiving antennas respectively, and is used to select and connect the receiving path where any receiving antenna is located under the control of the baseband processor 142. Therefore, the second switch unit 1213 and the third switch unit 1222 can be controlled by the baseband processor 142 to selectively control different receiving antenna groups 110 to receive radio frequency signals.
如图10所示,在其中一个实施例中,控制逻辑单元模块143包括处理单元1431和控制单元1432。其中,处理单元1431分别与射频收发器141、基带处理器142连接,用于根据第一切换指令和/或第二切换指令生成目标切换指令。具体的,处理单元1431根据接收到第一切换指令和第二切换指令的时序生成目标切换指令。若处理单元1431分时接收到第一切换指令和第二切换指令,则根据第一切换指令或第二切换指令生成目标切换指令。示例性的,若先接收到第一切换指令,则可以将所述第一切换指令作为该目标切换指令;若先接收到第二切换指令,则可以将所述第二切换指令作为该目标切换指令。需要说明的是,先接收到第一切换指令可以理解为在同一切换周期内,或,启动第一切换模式和第二切换模式后,接收到第一切换指令的时刻早于接收到第二切换指令的时刻。As shown in FIG. 10 , in one embodiment, the control logic unit module 143 includes a processing unit 1431 and a control unit 1432 . The processing unit 1431 is respectively connected with the radio frequency transceiver 141 and the baseband processor 142, and is used for generating a target switching instruction according to the first switching instruction and/or the second switching instruction. Specifically, the processing unit 1431 generates the target switching instruction according to the timing of receiving the first switching instruction and the second switching instruction. If the processing unit 1431 receives the first switching instruction and the second switching instruction in a time-sharing manner, it generates a target switching instruction according to the first switching instruction or the second switching instruction. Exemplarily, if the first switching instruction is received first, the first switching instruction can be used as the target switching instruction; if the second switching instruction is received first, the second switching instruction can be used as the target switching instruction. instruction. It should be noted that, receiving the first switching instruction first can be understood as within the same switching cycle, or, after the first switching mode and the second switching mode are activated, the time when the first switching instruction is received is earlier than the second switching instruction is received. moment of instruction.
若处理单元1431同时接收到第一切换指令和第二切换指令,且第一切换指令和第二切换指令相同,则该处理单元1431可以将第一切换指令或第二切换指令作为该目标切换指令。若处理单元1431同时接收到第一切换指令和第二切换指令,且第一切换指令和第一切换指令不同,则根据第一切换模式和第二切换模式的切换优先级生成目标切换指令。If the processing unit 1431 receives the first switching instruction and the second switching instruction at the same time, and the first switching instruction and the second switching instruction are the same, the processing unit 1431 may use the first switching instruction or the second switching instruction as the target switching instruction . If the processing unit 1431 receives the first switching instruction and the second switching instruction at the same time, and the first switching instruction and the first switching instruction are different, the target switching instruction is generated according to the switching priorities of the first switching mode and the second switching mode.
控制单元1432分别与处理单元1431、开关电路130连接,用于根据目标切换指令控制开关电路130将第一发射天线切换至第二发射天线。The control unit 1432 is respectively connected with the processing unit 1431 and the switch circuit 130, and is used for controlling the switch circuit 130 to switch the first transmit antenna to the second transmit antenna according to the target switch instruction.
上述实施例中的客户前置设备,控制逻辑单元模块143中的处理单元1431可以接收基带处理器142发出的第一切换指令和射频收发处理器发出的第二切换指令,也即处理单元1431可以接收双重逻辑控制信号(第一切换指令和第二切换指令),并将接收到的第一切换指令和第二切换指令信号“协商处理”后输出目标切换指令,丰富了可用于发射天线切换的使用场景(基于第一切换模式和基于第一切换模式),也保障了良好的通信状态,提升了使用时的发射天线的覆盖范围和用户体验。另外,控制逻辑单元模块143同时接收到的第一切换指令和第二切换指令不同时,通过设定的切换优先级,也可以理解为“竞争冲突解决”,以避免第一切换指令和第二切换指令不同(冲突)带来的不稳定切换的发生,进而可以提高通信的稳定性。In the customer front-end device in the above embodiment, the processing unit 1431 in the control logic unit module 143 can receive the first switching instruction issued by the baseband processor 142 and the second switching instruction issued by the radio frequency transceiver processor, that is, the processing unit 1431 can Receive dual logic control signals (first switching command and second switching command), and output the target switching command after "negotiating processing" the received first switching command and second switching command signal, which enriches the information that can be used for transmitting antenna switching. The usage scenarios (based on the first switching mode and based on the first switching mode) also ensure a good communication state, and improve the coverage and user experience of the transmitting antenna during use. In addition, when the first switching instruction and the second switching instruction received by the control logic unit module 143 at the same time are different, the set switching priority can also be understood as "competition conflict resolution", so as to avoid the first switching instruction and the second switching instruction. The unstable handover occurs due to different handover commands (conflicts), which in turn can improve the stability of communication.
在其中一个实施例中,控制逻辑单元模块143还包括计时单元1433。计时单元1433分别与处理单元1431、控制单元1432连接,用于对控制单元1432控制开关电路130将第一发射天线切换至第二发射天线的时长。处理单元1431还用于当时长达到预设时长时,检测第二发射天线的发射性能是否优于第一发射天线的发射性能;若否,则指示控制单元1432控制开关电路130将第二发射天线切换至第一发射天线;若是,则检测是否满足切换到使用第二发射天线的条件。In one embodiment, the control logic unit module 143 further includes a timing unit 1433 . The timing unit 1433 is connected to the processing unit 1431 and the control unit 1432 respectively, and is used for controlling the switching circuit 130 to the control unit 1432 for the duration of switching the first transmit antenna to the second transmit antenna. The processing unit 1431 is also used to detect whether the transmission performance of the second transmission antenna is better than that of the first transmission antenna when the time duration reaches the preset time duration; if not, instruct the control unit 1432 to control the switch circuit 130 to switch the second transmission antenna Switch to the first transmit antenna; if yes, check whether the conditions for switching to the second transmit antenna are met.
将第一发射天线切换至第二发射天线后,开始控制计时单元1433开始计时,当记录的时长达到窗口期T,检测第二发射天线的发射性能是否优于切换前第一发射天线的发射性能。其中,该发射性能可以用TXAGC到达最大发射功率电平的次数来进行判定。若该切换到第二发射天线后的发射性能优于第一发射天线的性能,则认为此次切换是有意义的,也即对改善通信质量是有意义的,可以维持当前切换;反之,控制开关电路130切回第一发射天线,并将开关电路130的状态信息恢复到切换前的状态。After switching the first transmit antenna to the second transmit antenna, start to control the timing unit 1433 to start timing, and when the recorded duration reaches the window period T, check whether the transmit performance of the second transmit antenna is better than that of the first transmit antenna before the switch. . The transmission performance can be determined by the number of times the TXAGC reaches the maximum transmission power level. If the transmission performance after switching to the second transmitting antenna is better than the performance of the first transmitting antenna, it is considered that the switching is meaningful, that is, it is meaningful to improve the communication quality, and the current switching can be maintained; otherwise, control the The switch circuit 130 switches back to the first transmit antenna, and restores the state information of the switch circuit 130 to the state before the switch.
在其中一个实施例中,控制逻辑单元模块143还包括存储单元1435用于存储开关电路130的状态信息。其中,该存储单元1435可以为寄存器。在存储单元1435中会预先记录当前开关电路130的第一状态信息。其中,开关电路130的状态信息可以用于标识该开关电路130的开关状态。具体的,开关电路130的状态信息可以用寄存器值D来表示,其中,寄存器值可以用0和1来标识。若第一发射天线为发射天线B1,客户前置设备可以对应获取开关电路130的第一状态信息,也即寄存器值1;若第一发射天线为发射天线B2,客户前置设备可以对应获取开关电路130的第一状态信息,也即寄存器值0。In one embodiment, the control logic unit module 143 further includes a storage unit 1435 for storing the state information of the switch circuit 130 . The storage unit 1435 may be a register. The first state information of the current switch circuit 130 is pre-recorded in the storage unit 1435 . The state information of the switch circuit 130 may be used to identify the switch state of the switch circuit 130 . Specifically, the state information of the switch circuit 130 may be represented by a register value D, where the register value may be identified by 0 and 1. If the first transmitting antenna is the transmitting antenna B1, the customer front-end equipment can correspondingly obtain the first state information of the switch circuit 130, that is, the register value 1; if the first transmitting antenna is the transmitting antenna B2, the customer front-end equipment can correspondingly obtain the switch The first state information of the circuit 130, that is, the register value 0.
处理单元1431还与存储单元1435连接,用于对开关电路130的状态信息进行更新,以将更新后的状态信息存储在存储单元1435。当由第一发射天线切换至第二发射天线时,可对开关电路130的状态信息进行更新,以将更新后的状态信息存储在存储单元1435。具体的,更新寄存器值=MOD(D+1,2)记为新的寄存器值。The processing unit 1431 is also connected to the storage unit 1435 for updating the state information of the switch circuit 130 so as to store the updated state information in the storage unit 1435 . When switching from the first transmit antenna to the second transmit antenna, the state information of the switch circuit 130 may be updated to store the updated state information in the storage unit 1435 . Specifically, the updated register value=MOD(D+1, 2) is recorded as a new register value.
本实施例中,处理单元1431对存储单元1435的寄存器值D进行更新,以为下一次发射天线的切换提供基础,以避免下一次执行发射天线的反复切换和无用切换,进而保障良好的通信状态。In this embodiment, the processing unit 1431 updates the register value D of the storage unit 1435 to provide a basis for the next switching of the transmitting antenna, so as to avoid repeated switching and useless switching of the transmitting antenna next time, thereby ensuring a good communication state.
本申请实施例还提供了一种客户前置设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行上述任一实施例中的接收天线切换方法的步骤。An embodiment of the present application further provides a customer pre-installation device, including a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor causes the processor to execute any one of the above The steps of the receiving antenna switching method in the embodiment.
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当计算机可执行指令被一个或多个处理器执行时,使得处理器执行上述任一实施例中的接收天线切换方法的步骤。Embodiments of the present application also provide a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processor to perform the receive antenna switching method in any of the foregoing embodiments A step of.
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行接收天线切换方法。A computer program product containing instructions, when executed on a computer, causes the computer to perform a receive antenna switching method.
本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。 因此,本申请专利的保护范围应以所附权利要求为准。The above examples only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be pointed out that for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (21)

  1. 一种天线切换方法,应用于包括多支发射天线的客户前置设备,所述方法包括:An antenna switching method, which is applied to a customer premises equipment including multiple transmit antennas, the method comprising:
    控制第一发射天线发射射频信号;controlling the first transmitting antenna to transmit radio frequency signals;
    若满足切换到使用第二发射天线的条件,则启用第一切换模式和启用第二切换模式,其中,在所述第一切换模式下生成第一切换指令,在所述第二切换模式下生成第二切换指令;If the condition for switching to using the second transmit antenna is satisfied, a first switching mode and a second switching mode are enabled, wherein a first switching instruction is generated in the first switching mode, and a first switching instruction is generated in the second switching mode the second switching instruction;
    根据所述第一切换指令和/或第二切换指令生成目标切换指令;generating a target switching instruction according to the first switching instruction and/or the second switching instruction;
    根据所述目标切换指令控制开关电路将所述第一发射天线切换至第二发射天线,其中所述第一发射天线或所述第二发射天线为多个所述发射天线中的一支。The switch circuit is controlled to switch the first transmit antenna to the second transmit antenna according to the target switch instruction, wherein the first transmit antenna or the second transmit antenna is one of the plurality of transmit antennas.
  2. 根据权利要求1所述的方法,所述客户前置设备包括控制逻辑单元模块,所述控制逻辑单元模块被配置为用于根据所述目标切换指令控制开关电路将所述第一发射天线切换至第二发射天线;其中,所述根据所述第一切换指令和第二切换指令生成所述目标切换指令,包括:The method of claim 1, the customer premises equipment comprising a control logic unit module configured to control a switching circuit to switch the first transmit antenna to the target switching instruction according to the target switching instruction A second transmit antenna; wherein the generating the target switching instruction according to the first switching instruction and the second switching instruction includes:
    若控制逻辑单元模块同时接收到所述第一切换指令和第二切换指令,判定所述第一切换指令和所述第二切换指令是否相同;If the control logic unit module receives the first switching instruction and the second switching instruction at the same time, determine whether the first switching instruction and the second switching instruction are the same;
    若所述第一切换指令和所述第二切换指令不同,则根据所述第一切换模式和所述第二切换模式的切换优先级生成所述目标切换指令;If the first switching instruction and the second switching instruction are different, generating the target switching instruction according to the switching priorities of the first switching mode and the second switching mode;
    若所述第一切换指令和所述第二切换指令相同,则根据第一切换指令或所述第二切换指令生成所述目标切换指令。If the first switching instruction and the second switching instruction are the same, the target switching instruction is generated according to the first switching instruction or the second switching instruction.
  3. 根据权利要求1所述的方法,所述客户前置设备包括控制逻辑单元模块,所述控制逻辑单元模块被配置为用于根据所述目标切换指令控制开关电路将所述第一发射天线切换至第二发射天线;其中,所述根据所述第一切换指令或第二切换指令生成切换指令,包括:The method of claim 1, the customer premises equipment comprising a control logic unit module configured to control a switching circuit to switch the first transmit antenna to the target switching instruction according to the target switching instruction The second transmit antenna; wherein the generating a switching instruction according to the first switching instruction or the second switching instruction includes:
    若控制逻辑单元模块分时接收到所述第一切换指令和第二切换指令,在切换周期内,所述控制逻辑单元模块根据接收到所述第一切换指令和第二切换指令的优先时序原则生成所述目标切换指令。If the control logic unit module receives the first switching command and the second switching command in a time-sharing manner, within the switching cycle, the control logic unit module receives the first switching command and the second switching command according to the priority sequence principle The target switching instruction is generated.
  4. 根据权利要求1所述的方法,所述根据所述目标切换指令控制开关电路将所述第一发射天线切换至第二发射天线,包括:The method according to claim 1, wherein the controlling a switch circuit to switch the first transmit antenna to the second transmit antenna according to the target switch instruction comprises:
    获取预先存储的所述开关电路当前的第一状态信息;所述第一状态信息用于表示所述开关电路导通所述第一发射天线;acquiring pre-stored current first state information of the switch circuit; the first state information is used to indicate that the switch circuit turns on the first transmit antenna;
    获取与所述目标切换指令相对应的所述开关电路的第二状态信息;acquiring second state information of the switch circuit corresponding to the target switching instruction;
    若所述第一状态信息与所述第二状态信息相同,则维持当前所述开关电路的状态;If the first state information is the same as the second state information, maintaining the current state of the switch circuit;
    若所述第一状态信息与所述第二状态信息不相同,则控制开关电路将所述第一发射天线切换至第二发射天线。If the first state information is different from the second state information, the control switch circuit switches the first transmit antenna to the second transmit antenna.
  5. 根据权利要求4所述的方法,所述控制开关电路将所述第一发射天线切换至第二发射天线的步骤后,所述方法还包括:The method according to claim 4, after the step of controlling the switch circuit to switch the first transmit antenna to the second transmit antenna, the method further comprises:
    将根据第二状态信息对存储的所述第一状态信息进行更新。The stored first state information will be updated according to the second state information.
  6. 根据权利要求1所述的方法,所述根据所述目标切换指令控制开关电路将所述第一发射天线切换至第二发射天线的步骤后,所述方法还包括:The method according to claim 1, after the step of controlling the switch circuit to switch the first transmit antenna to the second transmit antenna according to the target switching instruction, the method further comprises:
    在预设时长后,检测所述第二发射天线的发射性能是否优于所述第一发射天线的发射性能;After a preset time period, detecting whether the transmission performance of the second transmission antenna is better than the transmission performance of the first transmission antenna;
    若否,则控制所述开关电路将所述第二发射天线切换至所述第一发射天线;If not, controlling the switch circuit to switch the second transmit antenna to the first transmit antenna;
    若是,则检测是否满足切换到使用第二发射天线的条件。If so, it is detected whether the condition for switching to using the second transmit antenna is satisfied.
  7. 根据权利要求1所述的方法,所述客户前置设备还包括基带处理器和N支接收天线,其中,所述启用第一切换模式包括:The method according to claim 1, wherein the customer premises equipment further comprises a baseband processor and N receive antennas, wherein the enabling of the first switching mode comprises:
    基于所述第一发射天线,所述基带处理器获取基于多个接收天线组分别测量的所述射频信号的网络信息;从所述N支接收天线中选择K支天线作为所述接收天线组,K小于等于N且K≥2,N≥4;Based on the first transmit antenna, the baseband processor obtains the network information of the radio frequency signal measured based on multiple receive antenna groups respectively; selects K antennas from the N receive antennas as the receive antenna group, K is less than or equal to N and K≥2, N≥4;
    根据多个所述网络信息确定目标接收天线组;determining a target receiving antenna group according to a plurality of the network information;
    控制所述目标接收天线组接收所述射频信号,并获取所述目标接收天线组接收所述射频信号的来波方向;Controlling the target receiving antenna group to receive the radio frequency signal, and acquiring the direction of arrival of the radio frequency signal received by the target receiving antenna group;
    根据所述来波方向生成所述第一切换指令,所述第一切换指令用于指示所述开关电路将所述第一发射天线切换至所述第二发射天线。The first switching instruction is generated according to the incoming wave direction, and the first switching instruction is used to instruct the switching circuit to switch the first transmit antenna to the second transmit antenna.
  8. 根据权利要求7所述的方法,多个所述接收天线的辐射面至少朝向三个不同的方向,多支发射天线的辐射面朝向不同的方向,每支所述发射天线、接收天线均携带有用于表示辐射面的标识信息,其中,所述获取所述目标接收天线组接收所述射频信号的来波方向,包括:The method according to claim 7, wherein the radiating surfaces of the plurality of receiving antennas face at least three different directions, the radiating surfaces of the plurality of transmitting antennas face different directions, and each of the transmitting and receiving antennas carries useful is used to represent the identification information of the radiation surface, wherein the acquiring the direction of the incoming wave of the radio frequency signal received by the target receiving antenna group includes:
    获取所述目标接收天线组中每一所述接收天线的标识信息;acquiring identification information of each of the receiving antennas in the target receiving antenna group;
    根据所述标识信息获取所述射频信号的来波方向。The direction of arrival of the radio frequency signal is acquired according to the identification information.
  9. 根据权利要求1所述的方法,所述客户前置设备还包括射频收发器,其中,所述启用第二切换模式,包括:The method of claim 1, the customer premises equipment further comprising a radio frequency transceiver, wherein the enabling of the second switching mode comprises:
    所述射频收发器获取所述第一发射天线的功率信息到达最大发射功率电平的次数;The number of times that the radio frequency transceiver obtains the power information of the first transmit antenna to reach the maximum transmit power level;
    所述射频收发器根据所述次数和预设阈值生成所述第二切换指令,所述第二切换指令用于指示所述开关电路切换至所述第二发射天线。The radio frequency transceiver generates the second switching instruction according to the number of times and a preset threshold, where the second switching instruction is used to instruct the switching circuit to switch to the second transmitting antenna.
  10. 根据权利要求1所述的方法,所述方法还包括:The method of claim 1, further comprising:
    初始化所述开关电路,并记录和存储所述开关电路的初始化状态。The switch circuit is initialized, and the initialization state of the switch circuit is recorded and stored.
  11. 根据权利要求1所述的方法,所述方法还包括:The method of claim 1, further comprising:
    若所述第一发射天线的发射功率增益调整值到达最大发射功率电平的次数超过预设值,则满足切换到使用第二发射天线的条件。If the number of times that the transmit power gain adjustment value of the first transmit antenna reaches the maximum transmit power level exceeds the preset value, the condition for switching to using the second transmit antenna is satisfied.
  12. 根据权利要求1所述的方法,客户前置设备包括多支接收天线,其中,从N支接收天线中选择K支接收天线来构成多支接收天线组,其中,2≤K≤N,N≥4;所述方法还包括:According to the method according to claim 1, the customer front-end equipment comprises multiple receiving antennas, wherein K receiving antennas are selected from N receiving antennas to form a multiple receiving antenna group, wherein 2≤K≤N, N≥ 4; the method further includes:
    若所述接收天线组接收的射频信号的参考信号接收功率小于预设门限值,则满足切换到使用第二发射天线的条件。If the received power of the reference signal of the radio frequency signal received by the receiving antenna group is less than the preset threshold value, the condition for switching to using the second transmitting antenna is satisfied.
  13. 一种客户前置设备,包括:A customer premises equipment comprising:
    天线组,包括多支发射天线;Antenna groups, including multiple transmit antennas;
    开关电路,分别与多支发射天线连接,The switch circuit is connected with multiple transmitting antennas respectively,
    射频电路,与所述开关电路连接,用于对接收的射频信号进行收发处理,其中,所述开关电路用于导通任一所述发射天线与所述射频电路之间的射频通路;a radio frequency circuit, connected to the switch circuit, and used for transmitting and receiving the received radio frequency signal, wherein the switch circuit is used to conduct the radio frequency path between any one of the transmitting antennas and the radio frequency circuit;
    射频处理电路,分别与所述射频电路、开关电路连接;其中,所述射频处理电路被配置为:控制第一发射天线发射射频信号;若满足切换到使用第二发射天线的条件,则启用第一切换模式和启用第二切换模式,其中,在所述第一切换模式下生成第一切换指令,在所述第二切换模式下生成第二切换指令;根据所述第一切换指令和/或第二切换指令生成目标切换指令;根据所述目标切换指令控制开关电路将所述第一发射天线切换至第二发射天线;其中,所述第一发射天线或所述第二发射天线为多个所述发射天线中的一支。The radio frequency processing circuit is respectively connected with the radio frequency circuit and the switch circuit; wherein, the radio frequency processing circuit is configured to: control the first transmit antenna to transmit radio frequency signals; if the conditions for switching to the use of the second transmit antenna are met, enable the first transmit antenna a switching mode and enabling a second switching mode, wherein a first switching instruction is generated in the first switching mode, and a second switching instruction is generated in the second switching mode; according to the first switching instruction and/or The second switching instruction generates a target switching instruction; the switch circuit is controlled to switch the first transmission antenna to the second transmission antenna according to the target switching instruction; wherein, the first transmission antenna or the second transmission antenna is a plurality of one of the transmitting antennas.
  14. 根据权利要求13所述的客户前置设备,所述天线组还包括多支接收天线,所述射频电路包括:The customer premises equipment of claim 13, wherein the antenna group further comprises a plurality of receiving antennas, and the radio frequency circuit comprises:
    收发模块,分别与所述开关电路、至少一所述接收天线连接;a transceiver module, respectively connected with the switch circuit and at least one of the receiving antennas;
    多个接收模块,每一所述接收模块与至少一接收天线连接;a plurality of receiving modules, each of which is connected to at least one receiving antenna;
    所述射频处理电路包括:The radio frequency processing circuit includes:
    基带处理器,与所述收发模块连接,用于在所述第一切换模式下生成所述第一切换指令;a baseband processor, connected to the transceiver module, for generating the first switching instruction in the first switching mode;
    射频收发器,分别与所述收发模块、接收模块、基带处理器连接,用于在所述第二切换模式下生成所述第二切换指令;a radio frequency transceiver, connected to the transceiver module, the receiving module, and the baseband processor, respectively, for generating the second switching instruction in the second switching mode;
    控制逻辑单元模块,分别与所述射频收发器、基带处理器、开关电路连接,用于根据所述第一切换指令和/或第二切换指令生成所述目标切换指令。The control logic unit module is respectively connected with the radio frequency transceiver, the baseband processor and the switch circuit, and is used for generating the target switching instruction according to the first switching instruction and/or the second switching instruction.
  15. 根据权利要求14所述的客户前置设备,所述收发模块包括:The customer premises equipment of claim 14, the transceiver module comprising:
    收发单元,用于对接收的所述射频信号的进行放大滤波;a transceiver unit, configured to amplify and filter the received radio frequency signal;
    第一开关单元,所述第一开关单元的第一端与所述收发单元连接,所述开关单元的一第二端与所述开关电路连接;a first switch unit, a first end of the first switch unit is connected to the transceiver unit, and a second end of the switch unit is connected to the switch circuit;
    第二开关单元,所述第二开关单元的第一端与所述开关单元的另一第二端,所述第二开关单元的两个第一端分别与两支接收天线一一对应连接;a second switch unit, the first end of the second switch unit is connected to the other second end of the switch unit, and the two first ends of the second switch unit are respectively connected to the two receiving antennas in one-to-one correspondence;
    所述射频收发器还与所述第一开关单元连接,用于控制所述第一开关单元选择性导通第二开关单元与所述收发单元之间的射频通路和所述开关电路与所述收发单元之间的射频通路;The radio frequency transceiver is also connected to the first switch unit, and is used for controlling the first switch unit to selectively turn on the radio frequency path between the second switch unit and the transceiver unit, and the switch circuit and the transceiver unit. RF path between transceiver units;
    所述基带处理器还与所述第二开关单元连接,用于控制所述第二开关单元选择性导通任一所述接收天线与所述第一开关单元之间的射频通路。The baseband processor is further connected to the second switch unit, and is configured to control the second switch unit to selectively turn on the radio frequency path between any one of the receiving antennas and the first switch unit.
  16. 根据权利要求14所述的客户前置设备,所述控制逻辑单元模块包括:The customer premises equipment of claim 14, the control logic unit module comprising:
    处理单元,分别与所述射频收发器、基带处理器连接,用于根据所述第一切换指令和/或第二切换指令生成所述目标切换指令;a processing unit, connected to the radio frequency transceiver and the baseband processor, respectively, and configured to generate the target switching instruction according to the first switching instruction and/or the second switching instruction;
    控制单元,分别与所述处理单元、开关电路连接,用于根据所述目标切换指令控制开关电路将所述第一发射天线切换至第二发射天线。The control unit is respectively connected with the processing unit and the switch circuit, and is used for controlling the switch circuit to switch the first transmitting antenna to the second transmitting antenna according to the target switching instruction.
  17. 根据权利要求16所述的客户前置设备,所述处理单元根据接收到所述第一切换指令和所述第二切换指令的时序生成所述目标切换指令。The customer premises equipment of claim 16, wherein the processing unit generates the target switching instruction according to the timing of receiving the first switching instruction and the second switching instruction.
  18. 根据权利要求17所述的客户前置设备,所述控制逻辑单元模块还包括:The customer premises equipment of claim 17, the control logic unit module further comprising:
    计时单元,分别与所述处理单元、控制单元连接,用于对所述控制单元控制所述开关电路将所述第一发射天线切换至第二发射天线的时长;a timing unit, which is connected to the processing unit and the control unit respectively, and is used for controlling the switching circuit for the control unit to switch the duration of the first transmission antenna to the second transmission antenna;
    所述处理单元还用于当所述时长达到预设时长时,检测所述第二发射天线的发射性能是否优于所述第一发射天线的发射性能;若否,则指示所述控制单元控制所述开关电路将所述第二发射天线切换至所述第一发射天线;若是,则检测是否满足切换到使用第二发射天线的条件。The processing unit is further configured to detect whether the transmission performance of the second transmission antenna is better than the transmission performance of the first transmission antenna when the duration reaches a preset duration; if not, instruct the control unit to control the The switch circuit switches the second transmit antenna to the first transmit antenna; if so, detects whether the condition for switching to use the second transmit antenna is satisfied.
  19. 根据权利要求17所述的客户前置设备,所述控制逻辑单元模块还包括:The customer premises equipment of claim 17, the control logic unit module further comprising:
    存储单元用于存储所述开关电路的状态信息;The storage unit is used to store the state information of the switch circuit;
    所述处理单元还与所述存储单元连接,用于对所述开关电路的所述状态信息进行更新,以将更新后的所述状态信息存储在所述存储单元。The processing unit is further connected to the storage unit, and is configured to update the state information of the switch circuit, so as to store the updated state information in the storage unit.
  20. 一种客户前置设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1至12中任一项所述的天线切换方法的步骤。A customer premises equipment, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor is made to execute any one of claims 1 to 12 The steps of the antenna switching method.
  21. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至12中任一项所述的方法的步骤。A computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the method as claimed in any one of claims 1 to 12.
PCT/CN2021/126296 2020-11-12 2021-10-26 Antenna switching method, customer premise equipment and computer readable storage medium WO2022100429A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011262538.1 2020-11-12
CN202011262538.1A CN112383335B (en) 2020-11-12 2020-11-12 Antenna switching method, client front-end device and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2022100429A1 true WO2022100429A1 (en) 2022-05-19

Family

ID=74583368

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/126296 WO2022100429A1 (en) 2020-11-12 2021-10-26 Antenna switching method, customer premise equipment and computer readable storage medium

Country Status (2)

Country Link
CN (2) CN116112049A (en)
WO (1) WO2022100429A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115441895A (en) * 2022-11-10 2022-12-06 荣耀终端有限公司 Radio frequency switch device, radio frequency front end module, radio frequency circuit and electronic equipment
CN116545491A (en) * 2023-06-27 2023-08-04 荣耀终端有限公司 Antenna switching method, wireless network card and antenna switching device
WO2024114291A1 (en) * 2022-11-28 2024-06-06 华为技术有限公司 Communication method and apparatus

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116112049A (en) * 2020-11-12 2023-05-12 Oppo广东移动通信有限公司 Customer premises equipment
CN115412104A (en) * 2021-05-28 2022-11-29 北京小米移动软件有限公司 Gesture recognition method and device, mobile terminal and computer readable storage medium
CN115021774B (en) * 2022-05-17 2024-05-28 Oppo广东移动通信有限公司 Radio frequency system, antenna selection method and communication equipment
CN115276724B (en) * 2022-08-01 2023-06-02 深圳海星智驾科技有限公司 Multi-antenna-based communication enhancement method, device, terminal equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015220524A (en) * 2014-05-15 2015-12-07 日本電信電話株式会社 Distributed wireless communication base station system and communication method
CN107733447A (en) * 2016-08-12 2018-02-23 南宁富桂精密工业有限公司 Mobile terminal and its method for balanced radiation
CN110635821A (en) * 2019-10-31 2019-12-31 Oppo广东移动通信有限公司 Radio frequency circuit and electronic equipment
CN110830074A (en) * 2019-10-31 2020-02-21 Oppo广东移动通信有限公司 Radio frequency circuit and electronic equipment
CN112383335A (en) * 2020-11-12 2021-02-19 Oppo广东移动通信有限公司 Antenna switching method, client front-end device, and computer-readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6850745B2 (en) * 2002-01-23 2005-02-01 Broadcom Corp Method and apparatus for generating a self-correcting local oscillation
JP2005217836A (en) * 2004-01-30 2005-08-11 Fujitsu Ltd Mobile wireless unit
CN101185356A (en) * 2005-03-29 2008-05-21 高通股份有限公司 Antenna array pattern distortion mitigation
CN105870588A (en) * 2016-01-06 2016-08-17 乐视移动智能信息技术(北京)有限公司 Antenna device applied to mobile terminal and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015220524A (en) * 2014-05-15 2015-12-07 日本電信電話株式会社 Distributed wireless communication base station system and communication method
CN107733447A (en) * 2016-08-12 2018-02-23 南宁富桂精密工业有限公司 Mobile terminal and its method for balanced radiation
CN110635821A (en) * 2019-10-31 2019-12-31 Oppo广东移动通信有限公司 Radio frequency circuit and electronic equipment
CN110830074A (en) * 2019-10-31 2020-02-21 Oppo广东移动通信有限公司 Radio frequency circuit and electronic equipment
CN112383335A (en) * 2020-11-12 2021-02-19 Oppo广东移动通信有限公司 Antenna switching method, client front-end device, and computer-readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115441895A (en) * 2022-11-10 2022-12-06 荣耀终端有限公司 Radio frequency switch device, radio frequency front end module, radio frequency circuit and electronic equipment
WO2024114291A1 (en) * 2022-11-28 2024-06-06 华为技术有限公司 Communication method and apparatus
CN116545491A (en) * 2023-06-27 2023-08-04 荣耀终端有限公司 Antenna switching method, wireless network card and antenna switching device
CN116545491B (en) * 2023-06-27 2023-11-07 荣耀终端有限公司 Antenna switching method, wireless network card and antenna switching device

Also Published As

Publication number Publication date
CN112383335A (en) 2021-02-19
CN112383335B (en) 2023-01-03
CN116112049A (en) 2023-05-12

Similar Documents

Publication Publication Date Title
WO2022100429A1 (en) Antenna switching method, customer premise equipment and computer readable storage medium
CN112383321B (en) Radio frequency system, antenna switching control method and customer premises equipment
US9118394B2 (en) Antenna transfer switching for simultaneous voice and data
US11246106B2 (en) Electronic device for performing power control
CN112468178B (en) Radio frequency system, antenna switching method and customer premises equipment
US20130237294A1 (en) Auxiliary Antenna Array Attachment for Wireless Devices
US20210006319A1 (en) Apparatus and method for providing diversity service antenna in portable terminal
WO2010053738A2 (en) Efficient and flexible transmit beamforming sector sweep in a multi-antenna communication device
WO2022012596A1 (en) Terminal information acquisition method, terminal, and network side device
CN114124143B (en) Radio frequency system and customer premises equipment
KR20200067336A (en) Method for controlling antenna characteristics and an electronic device thereof
US8437333B2 (en) Contention based period beamforming
CN108832944B (en) Power compensation method, device, terminal equipment and storage medium
US8391804B2 (en) Close proximity antenna measurement and tuning
US20210091448A1 (en) Electronic device supporting thermal mitigation and method for controlling same
US20050122931A1 (en) Signal relay apparatus and method for a wireless network
US10693545B2 (en) Different sector rotation speeds for post-amble processing of a beam forming packet
US9872294B2 (en) Base station, radio communications system, and processing method in base station
EP2595434A1 (en) Method for reducing the energy consumption in a wireless communication terminal and communication terminal implementing said method
JP2001127680A (en) Antenna controller and antenna control method
EP4210231A1 (en) Radio frequency system and customer premise equipment
US10476569B1 (en) Antenna selection for interference avoidance
CN112737715B (en) Antenna deployment method and device, client front-end device and readable storage medium
US20160164567A1 (en) Methods, devices, and computer program products improving mobile communication
CN113567923B (en) Ranging component, antenna selection method, ranging method, device and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21890956

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21890956

Country of ref document: EP

Kind code of ref document: A1