CN112383335B - Antenna switching method, client front-end device and computer readable storage medium - Google Patents

Antenna switching method, client front-end device and computer readable storage medium Download PDF

Info

Publication number
CN112383335B
CN112383335B CN202011262538.1A CN202011262538A CN112383335B CN 112383335 B CN112383335 B CN 112383335B CN 202011262538 A CN202011262538 A CN 202011262538A CN 112383335 B CN112383335 B CN 112383335B
Authority
CN
China
Prior art keywords
switching
switching instruction
transmitting antenna
antenna
switch
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202011262538.1A
Other languages
Chinese (zh)
Other versions
CN112383335A (en
Inventor
周雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011262538.1A priority Critical patent/CN112383335B/en
Priority to CN202310088642.0A priority patent/CN116112049A/en
Publication of CN112383335A publication Critical patent/CN112383335A/en
Priority to PCT/CN2021/126296 priority patent/WO2022100429A1/en
Application granted granted Critical
Publication of CN112383335B publication Critical patent/CN112383335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The application relates to an antenna switching method, a client front-end device and a computer readable storage medium, wherein the antenna switching method is applied to the client front-end device comprising a plurality of transmitting antennas, and the method comprises the steps of controlling a first transmitting antenna to transmit a radio frequency signal; if the condition of switching to use a second transmitting antenna is met, enabling a first switching mode and 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; the switch circuit is controlled to switch the first transmitting antenna to the second transmitting antenna according to the target switching instruction, wherein the first transmitting antenna and the second transmitting antenna are one of the plurality of transmitting antennas, so that the use scenes for switching the transmitting antennas are enriched, the good communication state is guaranteed, and the coverage range and the user experience of the transmitting antennas during use are improved.

Description

Antenna switching method, client front-end device, and computer-readable storage medium
Technical Field
The present application relates to the field of antenna technologies, and in particular, to an antenna switching method, a client front-end device, and a computer-readable storage medium.
Background
A Customer Premises Equipment (CPE) is a mobile signal access device for receiving and forwarding mobile signals as WIFI signals, and is also a device for converting high-speed signals, such as 4G or 5G signals, into WIFI signals. Generally, the switching mechanism of the transmitting antenna configured in the client front-end device is single, and the communication performance of the client front-end device is poor.
Disclosure of Invention
The embodiment of the application provides an antenna switching method, a client front-end device and a computer readable storage medium, which can improve the communication performance of the client front-end device.
An antenna switching method is applied to a client front-end device comprising a plurality of transmitting antennas, and comprises the following steps:
controlling a first transmitting antenna to transmit a radio frequency signal;
if the condition of switching to use a second transmitting antenna is met, enabling a first switching mode and 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 a switch circuit to switch the first transmitting antenna to a second transmitting antenna according to the target switching instruction, wherein the first transmitting antenna or the second transmitting antenna is one of the plurality of transmitting antennas.
A customer premises equipment comprising:
the antenna group comprises a plurality of transmitting antennas;
a switch circuit connected with the plurality of transmitting antennas respectively,
the radio frequency circuit is connected with the switch circuit and is used for receiving and transmitting received radio frequency signals, wherein the switch circuit is used for conducting a radio frequency channel between any transmitting antenna 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 circuitry is configured to: controlling a first transmitting antenna to transmit a radio frequency signal; if the condition of switching to use a second transmitting antenna is met, a first switching mode and a second switching mode are started, 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; controlling a switch circuit to switch the first transmitting antenna to a second transmitting antenna according to the target switching instruction; wherein the first transmit antenna or the second transmit antenna is one of a plurality of the transmit antennas.
A client premises apparatus comprising a memory and a processor, the memory having stored therein a computer program, the computer program, when executed by the processor, causing the processor to perform the steps of the antenna switching method described above.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the aforementioned antenna switching method.
The antenna switching method, the client front-end device and the computer readable storage medium can control the first transmitting antenna to transmit the radio frequency signal, if the condition of switching to use the second transmitting antenna is met, the first switching mode and the second switching mode are started, and the switching instruction is generated according to the first switching instruction and/or the second switching instruction; and controlling a switch circuit to switch the first transmitting antenna to a second transmitting antenna according to the target switching instruction. According to the method, the client front-end device can obtain the first switching instruction and the second switching instruction, namely can receive the dual logic control signals (the first switching instruction and the second switching instruction), and output the switching instruction after carrying out 'negotiation processing' on the received first switching instruction and the received second switching instruction, so that the use scenes (based on the first switching mode and the second switching mode) for switching the transmitting antenna are enriched, the good communication state is ensured, and the coverage range and the user experience of the transmitting antenna during use are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a block diagram of a client premises equipment configuration in one embodiment;
FIG. 2 is a flow diagram of a method for antenna switching in one embodiment;
FIG. 3 is a flow diagram of enabling a first switching mode in one embodiment;
FIG. 4a is a layout diagram of eight receive antennas in one embodiment;
FIG. 4b is a schematic diagram illustrating a top view of an antenna group in a client premises equipment in one embodiment;
FIG. 5 is a flow diagram of enabling a second switching mode in one embodiment;
fig. 6 is a flow chart of an antenna switching method in another embodiment;
fig. 7 is a flowchart of an antenna switching method in yet another embodiment;
FIG. 8 is a block diagram showing the construction of a client front-end device in another embodiment;
FIG. 9 is a block diagram showing the construction of a client front-end device in still another embodiment;
fig. 10 is a block diagram showing the configuration of a client front-end device in still another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. 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 the present application. The first transmit antenna and the second transmit antenna are both transmit antennas, but are not the same transmit antenna.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
The application provides an antenna switching method which is applied to customer premises equipment. The customer premise equipment is used for realizing a network access function and converting an operator public network WAN into a user home local area network LAN. According to the current internet broadband access mode, the access modes can be classified into FTTH (fiber to the home), DSL (digital telephone line access), cable (Cable television line access), and Mobile (Mobile access, i.e. wireless CPE). The client front-end equipment is mobile signal access equipment for receiving mobile signals and transmitting the mobile signals by wireless WIFI signals, is equipment for converting high-speed 4G or 5G signals into WiFi signals, and can support a plurality of mobile terminals to access a network simultaneously. The embodiment of the application provides a client front-end device. As shown in fig. 1, the customer premises equipment includes an antenna group 110, radio frequency circuitry 120, switching circuitry 130, radio frequency processing circuitry 140, a housing, memory (which optionally includes one or more computer-readable storage media), a processor, a peripheral interface, an input/output (I/O) subsystem, and so forth. These components optionally communicate over one or more communication buses or signal lines. These components optionally communicate via one or more communication buses or signal lines.
Specifically, the antenna group 110 includes a plurality of transmitting antennas (e.g., B1, B2) for transmitting radio frequency signals in a predetermined frequency band. For example, the plurality of transmitting antennas may be 5G antennas, 4G antennas, wiFi antennas, bluetooth antennas, etc., and are used for correspondingly receiving and transmitting radio frequency signals of corresponding frequency bands. The number N of the transmitting antennas can be 2, 3, 4, 6, 8, 10 and the like, the plurality of transmitting antennas are uniformly arranged at intervals along the peripheral direction of the customer premises equipment, and the radiation surfaces of the plurality of transmitting antennas face different directions, so that the beam scanning range of each transmitting antenna can realize 360-degree omnidirectional coverage of the horizontal plane.
The switch circuit 130 is connected to the plurality of transmitting antennas, and the rf processing circuit 140 is connected to the rf circuit 120 and the switch circuit 130. The rf circuit 120 is configured to perform transceiving processing on a received rf signal, that is, the rf circuit 120 may support transceiving processing on an rf signal.
The rf circuit 120 is connected to multiple transmitting antennas through the switch circuit 130, and the switch circuit 130 can conduct the rf path between any of the reflecting antennas and the rf circuit 120 under the control of the rf processing circuit 140, that is, can selectively conduct the transmitting path where any of the transmitting antennas is located. For example, the rf circuit 120 may include a transceiver module supporting receiving and transmitting rf signals, a receiver module supporting receiving rf signals, and so on.
The rf processing circuit 140 may include an rf transceiver 141 and a baseband processor 142 to control transmission and reception of rf signals, and the like. In the present embodiment, the rf processing circuit 140 may be configured to control the first transmitting antenna to transmit the rf signal; if the condition of switching to use a second transmitting antenna is met, enabling a first switching mode and 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; controlling the switch circuit 130 to switch the first transmitting antenna to the second transmitting antenna according to the target switching instruction; wherein the first transmitting antenna and the second transmitting antenna are one of the plurality of transmitting antennas. That is, the rf processing circuit 140 may generate the first switching instruction in the first switching mode and/or generate the second switching instruction in the second switching mode to control the switch circuit 130 to switch the first transmitting antenna to the second transmitting antenna, so as to expand an active switching mechanism of the transmitting antennas, ensure a good communication state, and improve a transmitting coverage range and user experience of the transmitting antennas during use.
Those skilled in the art will appreciate that the customer premises equipment illustrated in fig. 1 is not limiting of customer premises equipment and may include more or fewer components than illustrated, or some components may be combined, or a different arrangement of components. The various components shown in fig. 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 according to an embodiment. The antenna switching method in this embodiment is described by taking the example of the method running on the client front-end device in fig. 1. As shown in fig. 2, the antenna switching method includes steps 202 to 208.
Step 202, controlling the first transmitting antenna to transmit the radio frequency signal.
The first transmitting antenna can be understood as any one of a plurality of transmitting antennas. The customer premises equipment can conduct a transmission path where the first transmission antenna is located, so that the first transmission antenna is in a working state, and further transmits radio frequency signals. Specifically, the customer premises equipment may control the switch circuit 130 to connect the radio frequency path between the first transmitting antenna and the transceiver circuit, and further connect the transmitting path of the first transmitting antenna.
And step 204, if the condition of switching to use the second transmitting antenna is met, enabling a first switching mode and 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.
The client front-end device may determine whether a condition for switching to use of the second transmission antenna is satisfied according to a transmission performance of the current first transmission antenna. The Transmission performance may be determined according to a Transmission Power on a Transmission channel where the first transmitting antenna is located, for example, a Transmission Power Gain adjustment value (TX Automatic Gain Control, TXAGC) may be understood as a characteristic value of Power, and a number of times of reaching a Maximum Transmission Power Level (MTPL) is reached. If the number of times the maximum transmit power level is reached exceeds a predetermined value, it is determined that a condition for switching to use of the second transmit antenna is satisfied.
In one embodiment, the client front-end device includes multiple receiving antennas, for example, N receiving antennas. The customer premise equipment can select K receiving antennas from the multiple receiving antennas to form the multiple receiving antenna group 110, where K is greater than or equal to 2 and less than or equal to N, and N is greater than or equal to 4. The client front-end device may also determine whether a condition for switching to use the second transmit antenna is satisfied according to network information of the radio frequency signal currently received by the receive antenna group 110. The network information may include, among other things, raw and processed information associated with wireless performance metrics of the received radio frequency signal, such as received power, reference signal received quality, received signal strength indication, signal-to-noise ratio, and so on. For example, the received power of the signal is taken as the network information as an example for explanation. And when the reference signal receiving power is smaller than a preset threshold value, the condition of switching to the second transmitting antenna is considered to be met.
In one embodiment, the ue may set the start interval periods of the first switching mode and the second switching mode, and when the respective start interval periods are satisfied, the ue considers that the condition for switching to use the second transmitting antenna is satisfied. Illustratively, the period of the start interval of the first switching pattern is 2 seconds, and the period of the start of the switching pattern of the second antenna is 3s. 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 according to the requirement of switching the transmitting antenna. That is, while the first transmit antenna transmits the rf signal to the base station, the baseband processor 142 in the cpe may control the multiple receive antenna groups 110 to receive the rf signal from the base station one by one, and generate the first switch instruction according to the network information of the received rf signal.
The second switching mode may be understood as an active switching mode. When the customer premises equipment controls the first transmitting antenna to transmit the radio frequency signal, the radio frequency transceiver 141 of the customer premises equipment judges the state of the transmitting antenna according to the number of times that the power information on the transmitting channel reaches the MTPL to generate a second switching instruction.
In the embodiment of the present application, the starting time of the first switching mode and the starting time of the second switching mode may be the same or different.
And step 206, generating a target switching instruction according to the first switching instruction and/or the second switching instruction.
The client front-end device may generate the target switching instruction according to a timing at which the first switching instruction and the second switching instruction are received. Specifically, if the time when the client front-end device receives the first switching instruction is the same as the time when the client front-end device receives the second switching instruction, the target switching instruction may be generated according to the first switching instruction and the second switching instruction. If the client front-end device receives a difference between the first switching instruction and the second switching instruction, the target switching instruction may be generated according to the first switching instruction or the second switching instruction. For example, if a first handover instruction is received first, the first handover instruction may be used as the target handover instruction; if a second switching instruction is received first, the second switching instruction may be used as the target switching instruction. It should be noted that, receiving the first switching command first may be understood as receiving the first switching command earlier than receiving the second switching command in the same switching cycle, or after the first switching mode and the second switching mode are started.
And 208, controlling the switch circuit to switch the first transmitting antenna to a second transmitting antenna according to the target switching instruction, wherein the second transmitting antenna is one target transmitting antenna of the plurality of transmitting antennas.
The pre-client device may pre-store a correspondence between the target switching command and the control logic of the switch circuit 130, a correspondence between the first switching command and the control logic of the switch circuit 130, a correspondence between the second switching command and the control logic of the switch circuit 130, and a correspondence between each terminal of the switch circuit 130 and each transmitting antenna. Illustratively, if the transmit antennas include transmit antenna 1, transmit antenna 2, \8230, transmit antenna n, then 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 connected to the n transmitting antennas in a one-to-one correspondence. And the target switching instruction is used for conducting a path between the nth selection end and the single terminal of the SPnT switch. Specifically, the target switching command may be identified by a binary value, for example, 001 is used to identify a path between the first selection terminal and the single terminal of the SPnT switch, and 010 is used to identify a path between the second selection terminal and the single terminal of the SPnT switch. If the switch circuit 130 can be an SPDT switch, its corresponding target switching command can also be identified by high/low level information. For example, a high level is used to identify the path between the first selection terminal and the single terminal of the conducting SPDT switch, and a low level is used to identify the path between the second selection terminal and the single terminal of the conducting SPDT switch.
The identification manner and the identification meaning of the first switching instruction and the second switching instruction (i.e. the control logic of the switch circuit 130) are the same as the identification manner and the identification meaning of the target switching instruction. Optionally, the corresponding relationship between the first switching instruction and the control logic of the switch circuit 130, and the corresponding relationship between the second switching instruction and the control logic of the switch circuit 130 may also be set differently. In the embodiment of the present application, the identification manners of the first handover command, the second handover command, and the target handover command are not further limited.
The customer premises equipment may control the switch circuit 130 to switch the first transmitting antenna to the second transmitting antenna, i.e. the target receiving antenna, according to the target switching instruction, so as to implement switching control between the transmitting antennas.
According to the antenna switching method, the first transmitting antenna can be controlled to transmit the radio frequency signal, if the condition of switching to the second transmitting antenna is met, the first switching mode and the second switching mode are started, and the target switching instruction is generated according to the first switching instruction and/or the second switching instruction; and controlling the switch circuit 130 to switch the first transmitting antenna to the second transmitting antenna according to the target switching instruction. According to the method, the client front-end device can obtain the first switching instruction and the second switching instruction, namely can receive the dual logic control signals (the first switching instruction and the second switching instruction), and outputs the target switching instruction after the received first switching instruction and the second switching instruction are processed in a negotiation mode, so that the use scenes (based on the first switching mode and the second switching mode) for switching the transmitting antenna are enriched, the good communication state is ensured, and the coverage range and the user experience of the transmitting antenna during use are improved.
As shown in fig. 3, in one embodiment, the first switching mode is enabled, specifically including step 302 to step 308.
Step 302, based on the first transmitting antenna, the baseband processor obtains network information of the radio frequency signals respectively measured by the multiple receiving antenna groups.
In one embodiment, the customer premises equipment may include multiple receiving antennas, for example, N receiving antennas, where the receiving antennas may be a 5G antenna, a 4G antenna, a WiFi antenna, a bluetooth antenna, and the like, and are used for correspondingly transceiving radio frequency signals in corresponding frequency bands. The number N of the receiving antennas may be 2, 3, 4, 6, 8, 10, etc. to meet the communication requirement of the customer premises equipment. The radiation surfaces of the N receiving antennas face at least three different directions. It is also understood that each receiving antenna has a radiating plane, which is understood to be the plane in which the radiator for radiating radio frequency signals of the receiving antenna is located. The radiation surfaces of the receiving antennas are different in the facing direction, and the corresponding receiving antennas are different in the beam scanning range and the incoming wave direction. The N receiving antennas are respectively arranged at different positions of the client front-end equipment, so that the beam scanning range of each receiving antenna can realize 360-degree omnidirectional coverage of a horizontal plane. The customer premise equipment can "directionally" cater to "the downlink incoming wave direction of the base station by selecting K antennas as the receiving antenna group 110 from the N receiving antennas to complete the reception of the radio frequency signal, wherein K is less than or equal to N and is greater than or equal to 2. Specifically, the rf processing circuit 140 may configure the number K of receiving antennas in the receiving antenna group 110 according to a Multiple Input Multiple Output (MIMO) technology that can be supported by the customer premises equipment, and configure N receiving antennas into Multiple receiving antenna groups 110 according to a preset rule, 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 sequentially adjacent radiation surfaces facing different directions. Illustratively, when the client front end device supports 2 × 2mimo, its receive antenna set 110 may include 2 receive antennas, and when the client front end device supports 4 × 4mimo, its receive antenna set 110 may include 4 receive antennas. In the embodiments of the present application, N =8,k =4 is exemplified.
The client front-end device may sequentially control and conduct the radio frequency path between each receiving antenna group 110 and the radio frequency processing circuit 140, so that each receiving antenna group 110 is in an operating state, and further, network information of the radio frequency signal received by each receiving antenna group 110 is correspondingly measured.
And step 304, determining a target receiving antenna group according to a plurality of network information.
In one embodiment, the received power of the signal is described by taking the network information as an example. That is, the client front-end device may obtain multiple reference signal received powers corresponding to multiple receive antenna groups 110, and obtain a maximum value of the multiple reference signal received powers, so as to use the maximum value as target network information, where the receive antenna group 110 corresponding to the target network information is the target receive antenna group 110.
Step 306, controlling the target receiving antenna group to receive the radio frequency signal, and obtaining an incoming wave direction of the target receiving antenna group receiving the radio frequency signal.
Each receiving antenna and each transmitting antenna carry identification information for representing the radiation surface of each antenna. Specifically, the step of acquiring the incoming wave direction of the radio frequency signal received by the target receiving antenna group 110 includes acquiring identification information of each receiving antenna in the target receiving antenna group 110, and acquiring the incoming wave direction of the radio frequency signal according to the identification information.
As shown in fig. 4a and 4b, in the embodiment of the present application, an example of eight receiving antennas and two transmitting antennas is described. In one embodiment, the rf system further includes a substrate. The substrate may be understood as a circuit board, e.g. a PCB board, an FPC board, etc., for carrying the rf circuit 120, the switch circuit 130, the rf processing circuit 140. The receiving antennas A1, A4 have a radiation surface 1, the receiving antennas A6, A7 have a radiation surface 2, the receiving antennas A2, A3 have a radiation surface 3, the receiving antennas A5, A8 have a radiation surface 4, the transmitting antenna B1 has a radiation surface 5, and the transmitting antenna B2 has a radiation surface 6. Illustratively, radiating surfaces 1,2, 3, 4, 5, 6 may be identified by 001, 002, 003, 004, 005, 006, respectively. That is, the identification information of each receiving antenna and each transmitting antenna in the embodiment of the present application may be used to indicate the incoming wave direction information, that is, the azimuth angle range, corresponding to each antenna radiation surface.
The transmitting antenna B1 and the receiving antennas A1, A4, A6, and A7 are located on a first side of the substrate 150, and the transmitting antenna B2 and the receiving antennas A2, A3, A5, and A8 are located on a second side of the substrate 150. Specifically, the transmitting antenna B1 has a fifth radiation surface located at the middle position between the antenna pair 1 and the antenna pair 4, and the transmitting antenna B2 has a sixth radiation surface located at the middle position between the antenna pair 2 and the antenna pair 3.
Specifically, a coordinate system may be constructed in the customer premises equipment, wherein a plane where the substrate 150 is located may be taken as an XZ plane of the coordinate system, a length direction of the substrate may be taken as an X axis, a width direction of the substrate, that is, a height direction of the customer premises equipment may be taken as a Z axis, and a straight line perpendicular to the XZ plane may be taken as a Y axis of the coordinate system. The direction of the radiation plane 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 90-180 °, and the corresponding azimuth angle range of the transmitting antenna B1 on the first side of the substrate is 0-180 °. The direction of the radiation surface of the receiving antenna positioned on the second side of the substrate comprises a third direction and a fourth direction, the azimuth angle range corresponding to the third direction is defined to be 180-270 degrees, and the azimuth angle range corresponding to the fourth direction is 270-360 degrees; the corresponding azimuth angle of the transmitting antenna B2 located at the second side of the substrate is in the range of 180-360 °.
Step 308, generating 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 transmitting antenna to the second transmitting antenna.
The ue may construct a mapping relationship between the incoming wave direction of each receiving antenna group 110 and the matching first switching instruction in advance. Specifically, the first transmitting antenna is taken as the transmitting antenna B1 for example. 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 to 180 °, and the second transmitting antenna matched with the receiving antenna group is the transmitting antenna B1 with the identification information of 005, the corresponding first switching instruction is a high-level signal; if the receiving antenna set 110 is the receiving antenna set 110 (A2, A3, A4, A8), the azimuth angle range of the corresponding incoming wave direction is 180-360 °, the second transmitting antenna matched with the receiving antenna set is the transmitting antenna B2 with the identification information of 006, and the corresponding first switching command is a low level signal; if the receiving antenna set 110 is the receiving antenna set 110 (A4, A6, A7, A2), the azimuth angle range of the corresponding incoming wave direction is 0-270 °, the second transmitting antenna matched with the receiving antenna set is the transmitting antenna B2 with the identification information of 006, and the corresponding first switching command is a low level signal. Wherein, the high level signal is used to control the switch circuit 130 to turn on the path between the selection end 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 turn on a path connecting the selection terminal of the transmitting antenna B2 and the single terminal of the switch circuit 130.
As shown in FIG. 5, in one embodiment, the second switching mode is enabled, including steps 502-504. Wherein, the first and the second end of the pipe are connected with each other,
step 502, the radio frequency transceiver obtains the number of times that the power information of the first transmit antenna reaches the maximum transmit power level.
When the customer premises equipment controls the switch circuit 130 to turn on the transmission path where the first transmitting antenna is located, the rf transceiver 141 may determine the communication performance or the communication state of the first transmitting antenna according to the number of times that the power information on the transmission path, for example, the TXAGC, reaches the maximum transmission power level MTPL.
In step 504, the radio frequency transceiver generates a second switching instruction according to the number of times and the preset threshold, where the second switching instruction is used to instruct the switching circuit to switch to the second transmitting antenna.
The client front-end device may pre-store therein a standard number for evaluating its communication performance or communication status, which may be represented by a preset threshold. When the number of times that the TXAGC reaches the maximum transmission power level MTPL exceeds the preset threshold, it means that the transmission signal of the first transmission antenna cannot support the current communication service with the network side well at this time, and it needs to switch to another transmission antenna to try to improve the current transmission signal quality. Therefore, the rf transceiver 141 may generate the second switching command according to a comparison result of whether the number of times the TXAGC reaches the maximum transmission power level MTPL reaches the preset threshold. The second switching instruction is used to instruct the switching circuit 130 to switch to the second transmitting antenna. Specifically, the first transmitting antenna is taken as the transmitting antenna B1 for example. If the number of times that the TXAGC of the first transmitting antenna reaches the maximum transmitting power level MTPL does not reach the preset threshold, the transmitting antenna does not need to be switched, and the second transmitting antenna matched with the transmitting antenna is still the transmitting antenna B1, the corresponding second switching instruction high level signal is used for controlling the switch circuit 130 to turn on a path connecting the selection end of the transmitting antenna B1 and the single terminal of the switch circuit 130. If the number of times that the TXAGC reaches the maximum transmission power level MTPL reaches the preset threshold, the transmitting antenna needs to be switched, the second transmitting antenna matched with the TXAGC is the transmitting antenna B2, and the corresponding second switching instruction low-level signal is used for controlling the switch circuit 130 to conduct a path connecting the selection end of the transmitting antenna B2 and the single terminal of the switch circuit 130.
In the embodiment of the present application, the first switching command and the second switching command may be expressed in the same or different forms, for example, the high-low level signals may be the same or different, and the high-low level signals in the first switching command and the second switching command may be the same or different from the control logic of the switch circuit 130.
In one embodiment, in step 206, the step of generating the target handover instruction according to the first handover instruction or the second handover instruction specifically includes: and if the control logic unit module receives the first switching instruction and the second switching instruction in a time-sharing manner, generating a target switching instruction according to the first switching instruction or the second switching instruction. Specifically, the control logic unit module is connected to the rf transceiver 141, the baseband processor 142, and the switch circuit 130, and is configured to control the circuit switch to switch the first transmitting antenna to the second transmitting antenna according to the target switching instruction. The time-sharing reception may be understood as that the time when the control logic unit module receives the first switching instruction is different from the time when the control logic unit module receives the second switching instruction.
In one embodiment, the step of generating the target handover command according to the first handover command or the second handover command specifically includes a step of generating the target handover command by the control logic unit module according to a priority timing principle of receiving the first handover command and the second handover command in the handover period. 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 exemplarily generated according to the first switching instruction or the second switching instruction, and if the first switching instruction is received first, the first switching instruction can be used as the target switching instruction; if a second switching instruction is received first, the second switching instruction may be used as the target switching instruction. It should be noted that, receiving the first switching command first may be understood as receiving the first switching command earlier than receiving the second switching command in the same switching period, or after starting the first switching mode and the second switching mode.
In one embodiment, in step 206, the step of generating the target handover instruction according to the first handover instruction and the second handover instruction specifically includes: and if the control logic unit module receives the first switching instruction and the second switching instruction at the same time, generating a target switching instruction according to the first switching instruction and the second switching instruction.
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 for instructing the control circuit switch to switch the first transmitting antenna to the second transmitting antenna; the second switching instruction is used for instructing the control circuit switch to switch the first transmitting antenna to the second transmitting antenna. The first switching instruction and the second switching instruction are the same, and it can be understood that the second transmitting antenna corresponding to the first switching instruction is the same as the second transmitting antenna corresponding to the second switching instruction, that is, both of the first transmitting antenna and the second transmitting antenna are used for switching the first transmitting antenna to the transmitting antenna B1, or both of the first transmitting antenna and the second transmitting antenna are used for switching the first transmitting antenna to the transmitting antenna B2. It can also be understood that, if the control logic unit module 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 control logic unit module may use the first switching instruction or the second switching instruction as the target switching instruction.
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 client front-end device may preset and store the switching priority of the first switching mode and the switching priority of the second switching mode, where the higher the priority level is, the higher the priority level of the target switching instruction correspondingly generated in the switching mode is. For example, when the priority of the first switching mode is higher than that of the second switching mode, if the control logic module receives the first switching instruction and the second switching instruction at the same time, the control logic module may generate a target switching instruction according to the first switching instruction to control the switch circuit 130 to switch the first transmitting antenna to the second transmitting antenna. The priority of the first switching mode and the priority of the second switching mode may be set by self-definition according to the network environment, the location environment, and other factors where the current client front-end device is located, or may be set by the operating system of the client front-end device.
In the antenna control method in the above embodiment, the control logic unit module may receive the first switching instruction sent by the baseband processor 142 and the second switching instruction sent by the radio frequency transceiver processor, that is, the control logic unit module may receive the dual logic control signal (the first switching instruction and the second switching instruction), and output the target switching instruction after performing "negotiation processing" on the received first switching instruction and the received second switching instruction signal, so that the usage scenarios (based on the first switching mode and based on the second switching mode) that can be used for switching the transmitting antenna are enriched, a good communication state is also ensured, and the coverage area and user experience of the transmitting antenna during usage are improved. 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 control logic unit module can also be understood as "contention resolution" by setting the switching priority, so as to avoid the occurrence of unstable switching caused by the difference (collision) between the first switching instruction and the second switching instruction, and further improve the stability of communication.
As shown in fig. 6, in one embodiment, the switching circuit 130 is controlled to switch the first transmitting antenna to the second transmitting antenna according to the target switching instruction, which includes steps 602 to 608. Wherein the content of the first and second substances,
step 602, obtaining pre-stored current first state information of the switch circuit; the first state information is used for indicating a transmission path where the switch unit conducts the first transmission antenna.
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 can be used to identify the switch state of the switch circuit 130. In the embodiment of the present application, the transmitting antenna includes a transmitting antenna B1 and a transmitting antenna B2, and the switching circuit 130 is an SPDT switch. The SPDT switch comprises a single terminal, a first selection end and a second selection end, wherein the single terminal is connected with the transceiving circuit, the first selection end is connected with the transmitting antenna B1, and the second selection end is connected with the transmitting antenna B2. The switch state of the switch circuit 130 may 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, wherein 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 conducted with the first selection terminal, that is, the transmission path of the transmitting antenna B1 is conducted; when the register value is 0, it indicates that the single terminal of the current SPDT switch is conducted with the second selection terminal, i.e., the transmission path of the transmission antenna B2 is conducted. Correspondingly, the register value 0 may be used to identify that the single terminal of the current SPDT switch is conducted with the first selection terminal, and the register value 1 may be used to identify that the single terminal of the current SPDT switch is conducted with the second selection terminal.
It should be noted that, if the number of the transmitting antennas is 3, 4 or more, the corresponding register values may be used for binary values or identified by other means, which is not further limited herein. For example, its register value may be set corresponding to the target switch instruction.
If the first transmitting antenna is the transmitting antenna B1, the customer premises equipment may 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 premises equipment may correspondingly obtain the first state information of the switch circuit 130, that is, the register value 0.
Step 604, second state information of the switch circuit 130 corresponding to the target switching instruction is obtained.
The control logic unit module in the client front-end device may correspondingly obtain the second state information that the switch circuit 130 is to be switched to the second transmitting antenna according to the target switching instruction. For example, if the second transmitting antenna is the transmitting 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 transmitting antenna is the transmitting antenna B2, the second state information of the switch circuit 130 corresponding to the target switching instruction is the register value 0.
Step 606, if the first state information is the same as the second state information, the first transmitting antenna is used as the second transmitting antenna, and the current state of the switch circuit is maintained.
Step 608, if the first status information is different from the second status information, controlling a switch circuit to switch the first transmitting antenna to a second transmitting 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 status information is the same as the second status information, the first transmitting antenna and the second transmitting antenna are determined to be the same transmitting antenna, and at this time, the control logic unit module may not perform corresponding switching control on the switch circuit 130, that is, maintain the current status of the switch circuit 130. And if the first state information is different from the second state information, determining that the first transmitting antenna and the second transmitting antenna are not the same transmitting antenna. If the first transmitting antenna is the transmitting antenna B1, at this time, the control logic unit module may control the switch circuit 130 to connect the paths of the single terminal and the second selecting terminal according to the target switching instruction, so as to connect the transmitting path of the transmitting antenna B2, and further switch the first transmitting antenna B1 to the second transmitting antenna B2.
In the antenna switching method in this embodiment, in the process of "negotiation" of the dual-transmit antenna decision mechanism, the control logic unit module is introduced, so that not only the first switching instruction and the second switching instruction output in the dual-transmit antenna switching mode are harmoniously converted into the target switching instruction to control the switching of the SPDT switch, but also the register of the control logic unit module can record the current state information of the SPDT switch, and the state information can be identified by the register value = D, so that repeated switching and useless switching can be avoided, the possibility of causing negative interference (for example, unstable communication) to the communication state of the client front-end device is eliminated, a good communication state is ensured, and the coverage range and user experience during use are improved.
In one embodiment, after the step of controlling the switch circuit to switch the first transmitting antenna to the second transmitting antenna, the antenna switching method further includes a step of updating the stored first state information according to the second state information. Specifically, the updated register value = MOD (D +1, 2) is registered as a new register value.
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 performed next time, thereby ensuring a good communication state.
In one embodiment, the antenna switching method further includes the step of initializing the switch circuit, and recording and storing the initialized state of the switch circuit, which is performed before the first switching mode and the second switching mode are enabled, so as to provide accurate state information of the switch circuit 130 for each switching of the transmitting antenna, thereby ensuring good communication state.
As shown in fig. 7, in one embodiment, after the step of controlling the switch circuit 130 to switch the first transmitting antenna to the second transmitting antenna according to the target switching instruction, the antenna switching control method includes steps 702 to 714.
Step 702, controlling a first transmitting antenna to transmit a radio frequency signal.
Step 704, if the condition for switching to use the second transmitting antenna is satisfied, the first switching mode and the second switching mode are enabled.
Step 706, generating a target switching instruction according to the first switching instruction and/or the second switching instruction.
Step 708, controlling a switch circuit to switch the first transmitting antenna to a second transmitting antenna according to the target switching instruction.
Here, steps 702 to 708 correspond to steps 202 to 208 in the foregoing embodiment one to one, and are not described herein again.
Step 710, after a preset time, detecting whether the transmission performance of the second transmitting antenna is better than that of the first transmitting antenna; if the transmission performance of the second transmitting antenna is not better than the transmission performance of the first transmitting antenna, step 712 is executed to control the switch circuit 130 to switch the second transmitting antenna to the first transmitting antenna; if the transmission performance of the second transmitting antenna is better than that of the first transmitting antenna, step 714 is executed to detect whether the condition for switching to use the second transmitting antenna is satisfied.
After the first transmitting antenna is switched to the second transmitting antenna, a window period T may be waited, where the window period T may be used as the preset time length, and it may be understood that after the second transmitting antenna is controlled to continuously transmit the radio frequency signal for the preset time length, whether the transmitting performance of the second transmitting antenna is better than the transmitting performance of the first transmitting antenna before switching is detected. Wherein the transmission performance may be determined by the number of times the TXAGC reaches a maximum transmit power level. If the TXAGC reaches the maximum transmission power level for a shorter time period, the TXAGC has better transmission performance. For example, a first number of times that the TXAGC of the first transmitting antenna reaches the maximum transmitting power level within the detection time duration may be obtained in advance, and if the number of times that the TXAGC of the second transmitting antenna reaches the maximum transmitting power level within the preset time duration is greater than the first number of times, step 712 is executed to control the switch circuit to switch the second transmitting antenna to the first transmitting antenna; the number of times its TXAGC reaches the maximum transmit power level is less than the first number of times, step 714 is performed to detect whether the condition for switching to use the second transmit antenna is met.
In the antenna switching method in the embodiment, a window stabilization period T is added after each switching, the transmission performance before and after one switching is detected after a window stabilizer, and whether the switching is successful is further determined, if the transmission performance after the switching to the second transmission antenna is superior to the performance of the first transmission antenna, the switching is considered to be meaningful, that is, meaningful for improving the communication quality, and the current switching can be maintained; otherwise, the switch circuit 130 is controlled to switch back to the first transmitting antenna, and the state information of the switch circuit 130 is restored to the state before switching.
It should be understood that although the various steps in the flowcharts of fig. 2, 3, 5-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 3, 5-7 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
As shown in fig. 8, an embodiment of the present application further provides a client front-end device. The client front-end device includes an antenna group 110, a radio frequency circuit 120, a switch circuit 130, and a radio frequency processing circuit 140. Antenna group 110 includes multiple transmit antennas (e.g., B1, B2) and multiple receive antennas (e.g., A1, A2, A3, \8230;, A8). The rf 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 the receiving modules 122 may be 3. When the number of the receiving antennas is 4, the transceiver module 121 is connected to one receiving antenna, and each of the receiver modules 122 is connected to one receiving antenna. When the number of the receiving antennas is 8, the transceiver module 121 is connected to the two receiving antennas, and each of the receiver modules 122 is connected to the two receiving antennas.
The rf processing circuit 140 includes a baseband processor 142, an rf transceiver 141, and a control logic unit module 143. The baseband processor 142 is connected to the transceiver module 121, and configured to generate a first switching instruction in the first switching mode. The rf transceiver 141 is connected to the transceiver module 121, the receiving module 122, and the baseband processor 142, respectively, and is configured to generate a second switching instruction in a second switching mode.
The control logic unit module 143 is connected to the rf transceiver 141, the baseband processor 142, and the switch circuit 130, respectively, and is configured to generate a target handover command according to the first handover command and/or the second handover command. 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, a target switching instruction is generated according to the first switching instruction and the second switching instruction, where the control logic unit module 143 is configured to control the circuit switch to switch the first transmitting antenna to the second transmitting antenna according to the target switching instruction.
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 1211 is configured to amplify and filter the received radio frequency signal. The transceiver 1211 may be configured with a receiving path and a transmitting path, wherein the receiving path may include components such as a filter and a low noise amplifier to filter and amplify the radio frequency signals received by the receiving antennas. The transmission path may include a power amplifier, a filter, and the like to amplify and filter the radio frequency signal, and then send the radio frequency signal to the corresponding transmitting antenna.
In one embodiment, the transceiving unit 1211 may be an L-PA Mid device, which may be understood as a Power Amplifier module (Power Amplifier Modules including Duplexers With LNAs) With a built-in low noise Amplifier, and may support transceiving processing of radio frequency signals. That is, the device is a power amplifier module which integrates components such as a low noise amplifier, a power amplifier, a filter and the like in the same device, so that the integration level of the device can be improved, and the occupied space of the whole machine can be reduced.
In the embodiment of the present application, eight receiving antennas and two transmitting antennas are taken as an example for explanation. The first end of the first switch unit 1212 is connected to the transceiver 1211, a second end of the first switch unit 1212 is connected to the switch circuit 130, a first end of the second switch unit 1213 is connected to the other second end of the first switch unit 1212, and two first ends of the second switch unit 1213 are connected to the two receiving antennas in a one-to-one correspondence manner.
The rf transceiver 141 is further connected to the first switch unit 1212, and is configured to control the first switch unit 1212 to selectively turn on the rf path between the second switch unit 1213 and the transceiver 1211, or the rf path between the switch circuit 130 and the transceiver 1211. Specifically, the first switch unit 1212 may be a TDD time division switch, and is configured to control the transmission and the reception to be switched in different timings under the control of the rf transceiver 141. For example, the TDD time division switch may be an SPDT switch.
The baseband processor 142 is further connected to the second switch unit 1213, and is configured to control the second switch unit 1213 to selectively turn on the rf path between any of the receiving antennas and the first switch unit 1212.
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 and a filter, and may perform filtering and amplification processing on 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 receive) device, an LFEM (Low noise amplifier front end module), or the like, which integrates devices such as a Low noise amplifier and a filter in the same device, so as to improve the integration of the devices and compress the occupied space of the whole device. In the embodiment of the present application, specific types of the receiving unit 1221 and the transceiving unit 1211 are not limited.
The third switching unit 1222 may be connected to the baseband processor 142, the receiving unit 1221, and the two receiving antennas, respectively, and is configured to select and connect a receiving path where any receiving antenna is located under the control of the baseband processor 142. Accordingly, 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 the rf signal.
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 connected to the rf transceiver 141 and the baseband processor 142, and is configured to generate a target handover command according to the first handover command and/or the second handover command. Specifically, the processing unit 1431 generates the target switching instruction according to the timing when the first switching instruction and the second switching instruction are received. If the processing unit 1431 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. For example, if a first handover instruction is received first, the first handover instruction may be used as the target handover instruction; if a second switching instruction is received first, the second switching instruction may be used as the target switching instruction. It should be noted that, receiving the first switching command first may be understood as receiving the first switching command earlier than receiving the second switching command in the same switching period, or after starting the first switching mode and the second switching mode.
If the processing unit 1431 receives the first switching command and the second switching command at the same time, and the first switching command is the same as the second switching command, the processing unit 1431 may use the first switching command or the second switching command as the target switching command. If the processing unit 1431 receives the first switching instruction and the second switching instruction at the same time, and the first switching instruction is different from the first switching instruction, 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 connected to the processing unit 1431 and the switch circuit 130, respectively, and is configured to control the switch circuit 130 to switch the first transmitting antenna to the second transmitting antenna according to the target switching instruction.
In the customer premises equipment in the foregoing embodiment, the processing unit 1431 in the control logic unit module 143 may receive the first switching instruction sent by the baseband processor 142 and the second switching instruction sent by the radio frequency transceiver, that is, the processing unit 1431 may receive the dual logic control signal (the first switching instruction and the second switching instruction), and output the target switching instruction after performing "negotiation processing" on the received first switching instruction and second switching instruction signal, so that the usage scenarios (based on the first switching mode and based on the second switching mode) that can be used for switching the transmitting antenna are enriched, a good communication state is also ensured, and the coverage of the transmitting antenna and the user experience during use are improved. 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 switching priority may also be understood as "contention resolution" by setting the switching priority, so as to avoid the occurrence of unstable switching caused by the difference (collision) between the first switching instruction and the second switching instruction, and further improve the stability of communication.
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 configured to control, to the control unit 1432, a duration for the switching circuit 130 to switch the first transmitting antenna to the second transmitting antenna. The processing unit 1431 is further configured to detect whether the transmission performance of the second transmitting antenna is better than the transmission performance of the first transmitting antenna when the duration reaches the preset duration; if not, the control unit 1432 is instructed to control the switch circuit 130 to switch the second transmitting antenna to the first transmitting antenna; if so, detecting whether a condition for switching to use of the second transmitting antenna is met.
After the first transmitting antenna is switched to the second transmitting antenna, the timing unit 1433 starts to be controlled to start timing, and when the recorded duration reaches the window period T, it is detected whether the transmitting performance of the second transmitting antenna is better than that of the first transmitting antenna before switching. Wherein the transmission performance may be determined by the number of times the TXAGC reaches a maximum transmit power level. If the transmission performance after the switching to the second transmitting antenna is superior to that of the first transmitting antenna, the switching is considered to be meaningful, namely, meaningful for improving the communication quality, and the current switching can be maintained; otherwise, the switch circuit 130 is controlled to switch back to the first transmitting antenna, and the state information of the switch circuit 130 is restored to the state before switching.
In one embodiment, the control logic unit module 143 further includes a storage unit 1435 for storing status 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 can 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, wherein the register value may be identified by 0 and 1. If the first transmitting antenna is the transmitting antenna B1, the customer premises equipment may 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 premises equipment may correspondingly obtain the first state information of the switch circuit 130, that is, the register value 0.
The processing unit 1431 is further connected to the storage unit 1435, and is configured to update 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 switching 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 registered as a new register value.
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 the repeated switching and useless switching of the transmitting antenna performed next time, and further ensure a good communication state.
The embodiment of the present application further provides a client front-end device, which includes a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the processor is enabled to execute the steps of the receiving antenna switching method in any of the above embodiments.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the receive antenna switching method in any of the embodiments described above.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a receive antenna switching method.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM).
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not to be construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (19)

1. An antenna switching method, applied to a client front-end device including multiple transmitting antennas, where the multiple transmitting antennas include a first transmitting antenna and a second transmitting antenna, the method including:
controlling the first transmitting antenna to transmit a radio frequency signal;
if the condition of switching to use the second transmitting antenna is met, a first switching mode and a second switching mode are started, wherein the first switching mode is a passive switching mode, and in the first switching mode, a baseband processor in the client front-end equipment generates a first switching instruction according to network information of a received radio frequency signal; the second switching mode is an active switching mode, and in the second switching mode, the radio frequency transceiver of the client front-end equipment generates a second switching instruction according to power information on a transmitting channel;
generating a target switching instruction according to the first switching instruction and/or the second switching instruction;
and controlling a switch circuit to switch the first transmitting antenna to a second transmitting antenna according to the target switching instruction.
2. The method of claim 1, wherein the client pre-device comprises a control logic unit module configured to control a switching circuit to switch the first transmit antenna to a second transmit antenna according to the target switching instruction; wherein the generating the target handover instruction according to the first handover instruction and/or the second handover instruction comprises:
if the control logic unit module receives the first switching instruction and the second switching instruction at the same time, judging 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 priority of the first switching mode and the second switching mode;
and if the first switching instruction is the same as the second switching instruction, generating the target switching instruction according to the first switching instruction or the second switching instruction.
3. The method of claim 1, wherein the customer premises device comprises a control logic module configured to control a switching circuit to switch the first transmit antenna to a second transmit antenna according to the target switching instruction; wherein, the generating a switching instruction according to the first switching instruction and/or the second switching instruction comprises:
if the control logic unit module receives the first switching instruction and the second switching instruction in a time-sharing manner, in a switching period, the control logic unit module generates the target switching instruction according to a priority timing principle of receiving the first switching instruction and the second switching instruction.
4. The method of claim 1, wherein the controlling a switch circuit to switch the first transmit antenna to a second transmit antenna according to the target switching command comprises:
acquiring prestored current first state information of the switching circuit; the first state information is used for indicating that the switch circuit conducts the first transmitting 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, the first transmitting antenna is used as the second transmitting antenna, and the current state of the switch circuit is maintained;
and if the first state information is different from the second state information, controlling a switch circuit to switch the first transmitting antenna to a second transmitting antenna.
5. The method of claim 4, wherein 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. The method of claim 1, wherein after the step of controlling the switch circuit to switch the first transmitting antenna to the second transmitting antenna according to the target switching instruction, the method further comprises:
after a preset time length, detecting whether the transmission performance of the second transmitting antenna is superior to that of the first transmitting antenna;
if not, controlling the switch circuit to switch the second transmitting antenna to the first transmitting antenna;
if so, detecting whether a condition for switching to use of the second transmitting antenna is met.
7. The method of claim 1, wherein the customer premises device further comprises a plurality of receive antennas, and wherein the enabling the first switching mode comprises:
based on the first transmitting antenna, the baseband processor acquires network information of the radio frequency signals respectively measured based on the multiple receiving antenna groups;
determining a target receiving antenna group according to a plurality of network information;
controlling the target receiving antenna group to receive the radio frequency signal and acquiring an incoming wave direction of the radio frequency signal received by the target receiving antenna group;
and generating the first switching instruction according to the incoming wave direction, wherein the first switching instruction is used for instructing the switch circuit to switch the first transmitting antenna to the second transmitting antenna.
8. The method of claim 7, wherein the radiation surfaces of the multiple receiving antennas face at least three different directions, the radiation surfaces of the multiple transmitting antennas face different directions, and each of the transmitting antennas and the receiving antenna carries identification information for indicating a radiation surface, wherein the obtaining of the incoming wave direction of the radio frequency signal received by the target receiving antenna group includes:
acquiring identification information of each receiving antenna in the target receiving antenna group;
and acquiring the incoming wave direction of the radio frequency signal according to the identification information.
9. The method of claim 1, wherein enabling the second switching mode comprises:
the radio frequency transceiver acquires the times of the power information of the first transmitting antenna reaching the maximum transmitting power level;
and the radio frequency transceiver generates the second switching instruction according to the times and a preset threshold value, wherein the second switching instruction is used for indicating the switching circuit to switch to the second transmitting antenna.
10. The method of claim 1, further comprising:
initializing the switch circuit, and recording and storing the initialized state of the switch circuit.
11. A client premises apparatus, comprising:
the antenna group comprises a plurality of transmitting antennas, wherein the plurality of transmitting antennas comprise a first transmitting antenna and a second transmitting antenna;
a switch circuit connected with the plurality of transmitting antennas respectively,
the radio frequency circuit is connected with the switch circuit and is used for receiving and transmitting received radio frequency signals, wherein the switch circuit is used for conducting a radio frequency channel between any transmitting antenna 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 circuitry is configured to: controlling the first transmitting antenna to transmit a radio frequency signal; if the condition of switching to use the second transmitting antenna is met, enabling a first switching mode and a second switching mode, wherein the first switching mode is a passive switching mode, and in the first switching mode, a baseband processor in the client front-end equipment generates a first switching instruction according to network information of a received radio frequency signal; the second switching mode is an active switching mode, and in the second switching mode, the radio frequency transceiver of the client front-end equipment generates a second switching instruction according to power information on a transmitting channel; generating a target switching instruction according to the first switching instruction and/or the second switching instruction; and controlling a switch circuit to switch the first transmitting antenna to a second transmitting antenna according to the target switching instruction.
12. The client premises apparatus of claim 11, wherein the antenna group further comprises a plurality of receive antennas, the radio frequency circuitry comprising:
the transceiver module is respectively connected with the switch circuit and the at least one receiving antenna;
a plurality of receiving modules, each of which is connected with at least one receiving antenna;
the baseband processor is connected with the transceiving module;
the radio frequency transceiver is respectively connected with the transceiver module, the receiving module and the baseband processor;
and 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.
13. The customer premises apparatus of claim 12, wherein said transceiver module comprises:
the receiving and transmitting unit is used for amplifying and filtering the received radio frequency signal;
a first switch unit, a first end of which is connected with the transceiver unit, and a second end of which is connected with the switch circuit;
the first end of the second switch unit is connected with the other second end of the switch unit, and the two first ends of the second switch unit are respectively connected with the two receiving antennas in a one-to-one correspondence manner;
the radio frequency transceiver is also connected with the first switch unit and is used for controlling the first switch unit to selectively conduct a radio frequency path between the second switch unit and the transceiver unit and a radio frequency path between the switch circuit and the transceiver unit;
the baseband processor is further connected with the second switch unit and is configured to control the second switch unit to selectively turn on a radio frequency path between any one of the receiving antennas and the first switch unit.
14. The customer premises apparatus of claim 12, wherein said control logic unit module comprises:
the processing unit is respectively connected with the radio frequency transceiver and the baseband processor and is used for generating the target switching instruction according to the first switching instruction and/or the second switching instruction;
and 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.
15. The client premises apparatus of claim 14, wherein the processing unit generates the target switching instruction in accordance with a timing of receiving the first switching instruction and the second switching instruction.
16. The customer premises apparatus of claim 15, wherein said control logic unit module further comprises:
the timing unit is respectively connected with the processing unit and the control unit and is used for controlling the switching circuit to switch the first transmitting antenna to the second transmitting antenna for the time length of the control unit;
the processing unit is further configured to detect whether the transmission performance of the second transmitting antenna is better than the transmission performance of the first transmitting antenna when the duration reaches a preset duration; if not, the control unit is instructed to control the switch circuit to switch the second transmitting antenna to the first transmitting antenna; if so, detecting whether a condition for switching to use of the second transmitting antenna is met.
17. The customer premise equipment of claim 15, wherein the control logic unit module further comprises:
the storage unit is used for storing the state information of the switch circuit;
the processing unit is further connected with the storage unit and used for updating the state information of the switch circuit so as to store the updated state information in the storage unit.
18. A client premises apparatus comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the antenna switching method of any of claims 1 to 10.
19. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 10.
CN202011262538.1A 2020-11-12 2020-11-12 Antenna switching method, client front-end device and computer readable storage medium Active CN112383335B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202011262538.1A CN112383335B (en) 2020-11-12 2020-11-12 Antenna switching method, client front-end device and computer readable storage medium
CN202310088642.0A CN116112049A (en) 2020-11-12 2020-11-12 Customer premises equipment
PCT/CN2021/126296 WO2022100429A1 (en) 2020-11-12 2021-10-26 Antenna switching method, customer premise equipment and computer readable storage medium

Applications Claiming Priority (1)

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

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202310088642.0A Division CN116112049A (en) 2020-11-12 2020-11-12 Customer premises equipment

Publications (2)

Publication Number Publication Date
CN112383335A CN112383335A (en) 2021-02-19
CN112383335B true CN112383335B (en) 2023-01-03

Family

ID=74583368

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202011262538.1A Active CN112383335B (en) 2020-11-12 2020-11-12 Antenna switching method, client front-end device and computer readable storage medium
CN202310088642.0A Pending CN116112049A (en) 2020-11-12 2020-11-12 Customer premises equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202310088642.0A Pending CN116112049A (en) 2020-11-12 2020-11-12 Customer premises equipment

Country Status (2)

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

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112383335B (en) * 2020-11-12 2023-01-03 Oppo广东移动通信有限公司 Antenna switching method, client front-end device and computer readable storage medium
CN115412104A (en) * 2021-05-28 2022-11-29 北京小米移动软件有限公司 Gesture recognition method and device, mobile terminal and computer readable storage medium
CN115021774A (en) * 2022-05-17 2022-09-06 Oppo广东移动通信有限公司 Radio frequency system, antenna selection method and communication device
CN115276724B (en) * 2022-08-01 2023-06-02 深圳海星智驾科技有限公司 Multi-antenna-based communication enhancement method, device, terminal equipment and medium
CN115441895B (en) * 2022-11-10 2023-04-07 荣耀终端有限公司 Radio frequency switch device, radio frequency front end module, radio frequency circuit and electronic equipment
CN116545491B (en) * 2023-06-27 2023-11-07 荣耀终端有限公司 Antenna switching method, wireless network card and antenna switching device

Family Cites Families (9)

* 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
JP6189789B2 (en) * 2014-05-15 2017-08-30 日本電信電話株式会社 Distributed wireless communication base station system and communication method
CN105870588A (en) * 2016-01-06 2016-08-17 乐视移动智能信息技术(北京)有限公司 Antenna device applied to mobile terminal and mobile terminal
CN107733447B (en) * 2016-08-12 2020-08-07 南宁富桂精密工业有限公司 Mobile terminal and radiation balancing method thereof
CN110635821B (en) * 2019-10-31 2021-07-13 Oppo广东移动通信有限公司 Radio frequency circuit and electronic equipment
CN110830074B (en) * 2019-10-31 2021-07-13 Oppo广东移动通信有限公司 Radio frequency circuit and electronic equipment
CN112383335B (en) * 2020-11-12 2023-01-03 Oppo广东移动通信有限公司 Antenna switching method, client front-end device and computer readable storage medium

Also Published As

Publication number Publication date
WO2022100429A1 (en) 2022-05-19
CN116112049A (en) 2023-05-12
CN112383335A (en) 2021-02-19

Similar Documents

Publication Publication Date Title
CN112383335B (en) Antenna switching method, client front-end device and computer readable storage medium
CN112383321B (en) Radio frequency system, antenna switching control method and customer premises equipment
US6370369B1 (en) Network device and method employing omni-directional and directional antennas
KR100889893B1 (en) Wireless communication system, wireless communication apparatus, wireless communication method, and recording medium
US7761116B2 (en) Radio device, transmission and reception directivity control method and transmission and reception directivity control program
US7969920B2 (en) Communication roaming systems and methods
US20060234776A1 (en) Antenna selection diversity apparatus and receiving method
US20230136962A1 (en) Terminal Information Obtaining Method, Terminal, and Network Side Device
CN114124143B (en) Radio frequency system and customer premises equipment
EP3968532A1 (en) User equipment beam correspondence
EP2645594B1 (en) Wireless communication device capable of controlling signal polarization based on channel conditions
US7305235B2 (en) Antenna directivity control method and radio apparatus
US20090253452A1 (en) Mobile Communication System, Base Station Device, and Interference Wave Judging Method
US11641588B2 (en) Listening method and device
US20050122931A1 (en) Signal relay apparatus and method for a wireless network
CN115551052A (en) Wireless communication method, communication device, storage medium, and computer program product
US7817975B2 (en) Wireless communication system, wireless communication terminal, and wireless communication method
US20160164567A1 (en) Methods, devices, and computer program products improving mobile communication
CN111211823B (en) Method and device for switching transmitting antenna, storage medium and electronic equipment
CN116368889A (en) Beam management method and device for reflection equipment and related equipment
CN112740561A (en) Method and system for managing interference in multiple TRP system
EP2239867A1 (en) User terminal device and network accessing method used for it
WO2018037512A1 (en) Control device, terminal device, and control method
WO2021181725A1 (en) Terminal device for executing call control for terminal device including multiple subscriber identity modules, base station apparatus, control method, and program
KR0132152B1 (en) Method of channel swithing in the wirless phone

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant