Antenna switching method and device, communication equipment and computer storage medium

By obtaining the signal measurement information of the receiving antenna in the communication device and determining and switching the target transmitting antenna, the problem of additional design of omnidirectional antennas in traditional technology is solved, and the effect of saving costs and improving uplink performance is achieved.

CN119496539APending Publication Date: 2025-02-21GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311030026.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-15
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

In communication devices, traditional techniques require individual design of omnidirectional antennas for scenarios where the transmitting and receiving antennas are separated, resulting in additional hardware costs and increased antenna footprint.

Method used

By obtaining the signal measurement information of the received antenna in each antenna group, the target receiving antenna is determined, and the target transmitting antenna is determined based on it, the target transmitting antenna is controlled to transmit electromagnetic wave signals to realize the switching of the transmitting antenna.

Benefits of technology

It realizes saving the antenna area and cost without increasing the omnidirectional antenna, and at the same time improving the upstream performance of communication equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119496539A_ABST
    Figure CN119496539A_ABST
Patent Text Reader

Abstract

The invention relates to an antenna switching method and device, communication equipment and a computer storage medium. The method is applied to the communication equipment, the communication equipment is provided with at least two antenna groups, each antenna group comprises a transmitting antenna and a receiving antenna which have the same radiation direction, and the method comprises the following steps: respectively acquiring signal measurement information of electromagnetic wave signals received by the receiving antenna in each antenna group; determining a target receiving antenna according to the signal measurement information; determining a target transmitting antenna according to the target receiving antenna, wherein the target receiving antenna and the target transmitting antenna are located in the same antenna group; and controlling a target transmitting antenna to transmit the electromagnetic wave signal. By adopting the method, the transmitting antenna can be switched in a scene that the transmitting antenna and the receiving antenna are separated, an omnidirectional antenna does not need to be additionally arranged as the transmitting antenna, and the occupied area and the cost of the antenna are saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of antenna technology, and in particular to an antenna switching method, device, communication equipment and computer storage medium. Background Art

[0002] With the rapid development of antenna technology, more and more communication devices are using multi-antenna design. Due to the limitations of antenna receiving sensitivity and transmission power indicators, signal transmission and reception cannot share the same antenna, so a design with separate transmitting and receiving antennas is adopted.

[0003] In traditional technology, in the scenario where the transmitting antenna and receiving antenna are separated, in order to ensure the uplink signal coverage, the transmitting antenna will use an omnidirectional antenna alone. However, designing an omnidirectional antenna as a transmitting antenna in the communication device will increase the antenna area occupied by the communication device and increase the hardware cost. Summary of the invention

[0004] The present application provides an antenna switching method, apparatus, communication equipment, computer-readable storage medium and computer program product, which realize the switching of the transmitting antenna in a scenario where the transmitting antenna and the receiving antenna are separated, without the need to add an omnidirectional antenna as a transmitting antenna, thereby saving the antenna occupied area and cost.

[0005] In a first aspect, the present application provides an antenna switching method, which is applied to a communication device, wherein the communication device is configured with at least two antenna groups, each of the antenna groups includes a transmitting antenna and a receiving antenna having the same radiation direction, and the method includes:

[0006] Respectively obtaining signal measurement information of electromagnetic wave signals received by the receiving antennas in each of the antenna groups;

[0007] Determine a target receiving antenna according to each of the signal measurement information;

[0008] Determine a target transmitting antenna according to the target receiving antenna, wherein the target receiving antenna and the target transmitting antenna are located in the same antenna group;

[0009] The target transmitting antenna is controlled to transmit the electromagnetic wave signal.

[0010] In a second aspect, the present application further provides an antenna switching device, which is applied to a communication device, wherein at least two antenna groups are configured in the communication device, each of which includes a transmitting antenna and a receiving antenna having the same radiation direction, and the device includes:

[0011] An acquisition module, used to respectively acquire signal measurement information of electromagnetic wave signals received by the receiving antennas in each of the antenna groups;

[0012] A determination module, configured to determine a target receiving antenna according to each of the signal measurement information, and determine a target transmitting antenna according to the target receiving antenna, wherein the target receiving antenna and the target transmitting antenna are located in the same antenna group;

[0013] A control module is used to control the target transmitting antenna to transmit the electromagnetic wave signal.

[0014] In a third aspect, the present application further provides a communication device, the communication device comprising:

[0015] At least two antenna groups, each of which includes a transmitting antenna and a receiving antenna having the same radiation direction;

[0016] A radio frequency transceiver, connected to each of the transmitting antennas and each of the receiving antennas respectively;

[0017] A switch module, wherein a first end of the switch module is connected to the radio frequency transceiver, and a plurality of second ends of the switch module are respectively connected to corresponding ones of the transmitting antennas;

[0018] A control module is connected to the control end of the switch module, and the control module is used to respectively obtain signal measurement information of the electromagnetic wave signal received by the receiving antenna in each of the antenna groups, determine the target receiving antenna according to each of the signal measurement information, determine the target transmitting antenna according to the target receiving antenna, and control the switch module to conduct the path between the first end and the second end corresponding to the target transmitting antenna, so as to transmit the electromagnetic wave signal through the target transmitting antenna; wherein the target receiving antenna and the target transmitting antenna are located in the same antenna group.

[0019] In a fourth aspect, the present application further provides a communication device, comprising a memory and a processor, wherein the memory stores a computer program, and wherein the processor implements the steps of the antenna switching method described in the first aspect when executing the computer program.

[0020] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the antenna switching method described in the first aspect are implemented.

[0021] The above-mentioned antenna switching method, device, communication equipment and computer storage medium can respectively obtain the signal measurement information of the electromagnetic wave signal received by the receiving antenna in each antenna group, and determine the target receiving antenna according to each signal measurement information, so as to determine the target transmitting antenna located in the same antenna group as the target receiving antenna, and then control the target transmitting antenna to transmit the electromagnetic wave signal. Since the receiving antenna and the transmitting antenna located in the same antenna group have the same radiation direction, and the signal measurement information is used to represent the receiving performance of the receiving antenna receiving electromagnetic waves, the signal measurement information of the receiving antenna can be used to evaluate the transmission performance of the transmitting antenna in the same antenna group. Based on this, through the signal measurement information of each receiving antenna and the corresponding relationship between the transmitting antenna and the receiving antenna in the antenna group, the target transmitting antenna with better transmission performance can be determined from multiple transmitting antennas, and the target transmitting antenna can be controlled to transmit the electromagnetic wave signal, thereby improving the uplink performance of the communication device. In addition, the transmitting antenna in the embodiment of the present application can be used to transmit and receive electromagnetic wave signals, realizing the multiplexing of the antenna's transceiver function, without the need to add an additional omnidirectional antenna as a transmitting antenna, saving the area and cost of the substrate occupied by the antenna. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a structural block diagram of a communication device in a related art;

[0023] Figure 2 is a structural block diagram of a communication device in one embodiment;

[0024] Figure 3 A schematic diagram of the arrangement of antenna groups in a communication device in an embodiment;

[0025] Figure 4 is a schematic flow chart of an antenna switching method in an embodiment;

[0026] Figure 5 is a flow chart of step S404 of the antenna switching method in one embodiment;

[0027] Figure 6 is a flow chart of step S504 of the antenna switching method in one embodiment;

[0028] Figure 7 is a flow chart of an antenna switching method in another embodiment;

[0029] Figure 8 is a flow chart of step S504 of the antenna switching method in one embodiment;

[0030] Fig. 9 is a flow chart of an antenna switching method in yet another embodiment;

[0031] Fig.10is a structural block diagram of a communication device in another embodiment;

[0032] Fig.11 is a structural block diagram of an antenna switching device in one embodiment;

[0033] Fig.12 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0035] It is understood that the terms "first", "second", etc. used in the present application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of the present application, 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. Both the first transmit antenna and the second transmit antenna are transmit antennas, but they are not the same transmit antenna.

[0036] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0037] With the rapid development of antenna technology, more and more communication devices are using multi-antenna design. Due to factors such as antenna receiving sensitivity and transmit power index, transmission and reception cannot share the same antenna. In this case, a design with separate transmit and receive antennas is adopted. In the scenario where the transmit and receive antennas are separated, in order to ensure the uplink signal coverage, a single omnidirectional antenna is used as the transmit antenna, such as Figure 1 As shown. Figure 1In the embodiment, the omnidirectional antenna 1 is used as a transmitting antenna to transmit electromagnetic wave signals, and the directional antenna 2 is used as a receiving antenna to receive electromagnetic wave signals. However, this design scheme will increase the antenna area occupied by the communication device, increase the hardware cost, and cannot use the antenna switching function of the communication device to realize the switching of the transmitting antenna. In addition, the omnidirectional antenna is only used for a few time division duplexing (TDD) frequency bands, which is relatively wasteful. In this regard, the present application provides an antenna switching method, device, communication device, computer storage medium and computer program product.

[0038] The present application provides an antenna switching method, which can be applied to a communication device with a wireless communication function. The communication device can be a handheld device, a vehicle-mounted device, a customer premises equipment (Customer Premise Equipment, CPE), a wearable device, a computing device or other processing device connected to a wireless modem, as well as various forms of user equipment (User Equipment, UE) (for example, a mobile phone), a mobile station (Mobile Station, MS), etc.

[0039] In one embodiment, Figure 2 As shown, a communication device is provided, which includes multiple transmitting antennas (such as ANT-L0, ANT-L1, ANT-L2 and ANT-L3), multiple receiving antennas (such as ANT-N4, ANT-N5, ANT-N6 and ANT-N7), a radio frequency transceiver 20, a switch module 30, a control module 40, a housing, a memory (which optionally includes one or more computer-readable storage media), a processor, a peripheral device interface, an input / output (I / O) subsystem, etc. These components optionally communicate through one or more communication buses or signal lines.

[0040] Specifically, the communication device is configured with at least two antenna groups, each antenna group includes a transmitting antenna and a receiving antenna with the same radiation direction. In other words, the transmitting antenna and the receiving antenna of the same antenna group are on the same receiving surface. Different antenna groups have different radiation directions. Figure 2 In the communication device shown, the transmitting antenna ANT-L0 and the receiving antenna ANT-N4 form a first antenna group 110, the transmitting antenna ANT-L1 and the receiving antenna ANT-N5 form a second antenna group 120, the transmitting antenna ANT-L2 and the receiving antenna ANT-N6 form a third antenna group 130, and the transmitting antenna ANT-L3 and the antenna ANT-N7 form a fourth antenna group 140. Figure 3 shown.

[0041] Among them, the transmitting antenna can be a directional antenna, and the transmitting antenna can be used to transmit and receive electromagnetic wave signals in a preset frequency band. For example, the multiple transmitting antennas can be 5G antennas, 4G antennas, WiFi antennas, Bluetooth antennas, etc., which are used to correspondingly transmit and receive electromagnetic wave signals in corresponding frequency bands. Exemplarily, the transmitting antenna can be used to transmit and receive radio frequency signals in the TDD frequency band. The number of transmitting antennas can be 2, 3, 4, 6, etc.

[0042] The receiving antenna may be a directional antenna, and the receiving antenna may be used to receive electromagnetic wave signals in a preset frequency band. Exemplarily, the receiving antenna may be used to receive radio frequency signals in a TDD frequency band. For example, the multiple receiving antennas may be 5G antennas, 4G antennas, WiFi antennas, Bluetooth antennas, etc., for correspondingly receiving electromagnetic wave signals in corresponding frequency bands. The number of receiving antennas may be 2, 3, 4, 6, etc.

[0043] The RF transceiver 20 is connected to the transmitting antenna and the receiving antenna of each antenna group respectively. The RF transceiver 20 is used to support the reception processing of the electromagnetic wave signals from each antenna, and to support the transmission processing of the electromagnetic wave signals through the transmitting antenna. The first end of the switch module 30 is connected to the RF transceiver 20, and the multiple second ends of the switch module 20 are respectively connected to each transmitting antenna. Exemplarily, the switch module 30 can be a single-pole multi-throw switch.

[0044] The control module 40 is connected to the control end of the switch module 30. The control module 40 is used to obtain the signal measurement information of the electromagnetic wave signal received by the receiving antenna in each antenna group, determine the target receiving antenna according to each signal measurement information, determine the target transmitting antenna according to the target receiving antenna, and control the switch module 30 to conduct the path between the first end and the second end corresponding to the target transmitting antenna, so as to transmit the electromagnetic wave signal through the target transmitting antenna. Among them, the target receiving antenna and the target transmitting antenna are located in the same antenna group. That is, the control module 40 can determine the target transmitting antenna according to the signal measurement information received from each receiving antenna, and realize the switching of the target transmitting antenna by controlling the switch module 30, so as to realize the switching of the transmitting antenna in the scenario where the transmitting antenna and the receiving antenna are separated, and the directional antenna can be used for the transmitting and receiving antennas, so as to realize the multiplexing of the antenna's transmission and reception, and there is no need to add an omnidirectional antenna as a transmitting antenna, which saves the antenna occupied area and cost.

[0045] Those skilled in the art will understand that Figure 2 The communication device shown does not constitute a limitation of the communication device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently. Figure 2 The various components shown in the EMBODIMENTS 2000 are implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application specific integrated circuits.

[0046] In one embodiment, Figure 4 As shown, an antenna switching method is provided, and the antenna switching method is applied to Figure 2 Taking the communication device in FIG. 4 as an example, the antenna switching method may include the following steps S402 to S408.

[0047] S402: Acquire signal measurement information of electromagnetic wave signals received by receiving antennas in each antenna group respectively.

[0048] The signal measurement information is used to indicate the receiving performance of the receiving antenna in receiving electromagnetic wave signals. It can be understood that the receiving antennas of each antenna group have different radiation directions, so the receiving performance of the receiving antennas of each antenna group in receiving electromagnetic wave signals may be different.

[0049] S404: Determine a target receiving antenna according to measurement information of each signal.

[0050] Exemplarily, the receiving antenna with the best receiving performance can be determined as the target receiving antenna based on the signal measurement information. Alternatively, one of the multiple receiving antennas whose receiving performance meets the communication conditions can be arbitrarily selected as the target receiving antenna based on the signal measurement information. Any other determination method is also possible, and no limitation is made here.

[0051] S406: Determine a target transmitting antenna according to the target receiving antenna, where the target receiving antenna and the target transmitting antenna are located in the same antenna group.

[0052] In practical applications, the communication device may pre-store the correspondence between the receiving antenna and the transmitting antenna in each antenna group. After determining the target receiving antenna based on S404, the communication device may determine the target transmitting antenna corresponding to the target receiving antenna according to the pre-stored correspondence. The receiving antenna and the transmitting antenna of the same antenna group may be stored by antenna identifiers, for example, the receiving antenna of antenna group A1 is recorded as L1, and the transmitting antenna of antenna group A1 is recorded as N1; the receiving antenna of antenna group A2 is recorded as L2, and the transmitting antenna of antenna group 2 is recorded as N2. There is no limitation on the way in which the communication device determines the target transmitting antenna according to the target receiving antenna.

[0053] S408: Control the target transmitting antenna to transmit electromagnetic wave signals.

[0054] After the target transmitting antenna is determined based on the above S406, the communication device can conduct the transmission path where the target transmitting antenna is located, so that the target transmitting antenna is in a working state, and then transmits the electromagnetic wave signal. Specifically, the communication device can control the switch module through the control module to conduct the transmission path between the target transmitting antenna and the radio frequency transceiver, thereby conducting the transmission path of the target transmitting antenna.

[0055] The above antenna switching method can respectively obtain the signal measurement information of the electromagnetic wave signal received by the receiving antenna in each antenna group, and determine the target receiving antenna according to each signal measurement information, so as to determine the target transmitting antenna located in the same antenna group as the target receiving antenna, and then control the target transmitting antenna to transmit the electromagnetic wave signal. Since the receiving antenna and the transmitting antenna located in the same antenna group have the same radiation direction, and the signal measurement information is used to represent the receiving performance of the receiving antenna receiving electromagnetic waves, the signal measurement information of the receiving antenna can be used to evaluate the transmitting performance of the transmitting antenna in the same antenna group. Based on this, through the signal measurement information of each receiving antenna and the corresponding relationship between the transmitting antenna and the receiving antenna in the antenna group, the target transmitting antenna with better transmitting performance can be determined from multiple transmitting antennas, and the target transmitting antenna can be controlled to transmit the electromagnetic wave signal, thereby improving the uplink performance of the communication device. In addition, the transmitting antenna in the embodiment of the present application can be used to transmit and receive electromagnetic wave signals, realizing the multiplexing of the antenna's transceiver function, without the need to add an additional omnidirectional antenna as a transmitting antenna, saving the area and cost of the substrate occupied by the antenna.

[0056] In one embodiment, Figure 5 As shown, the above step S404 "determining the target receiving antenna according to each signal measurement information" may include the following steps S502 and S504.

[0057] S502: Determine the channel quality of each receiving antenna according to each signal measurement information.

[0058] Optionally, in the same antenna group, the frequency band range supported by the transmitting antenna covers the frequency band range supported by the receiving antenna. Exemplarily, in the same antenna group, the frequency band supported by the transmitting antenna is 700MHz-5000MHz, and the frequency band supported by the receiving antenna is 2300MHz-5000MHz. The frequency bands supported by the transmitting antenna and the receiving antenna of the same antenna group may also be any other suitable frequency bands, which are only illustrated here. For frequency bands where signal transmission and reception are separated from each other, such as n41, the transmitting antenna in the same antenna group is only used to transmit signals, and the receiving antenna is only used to receive signals. For frequency bands where signal transmission and reception are not separated from each other, such as n1, the transmitting antenna in the same antenna group can be used for both transmitting and receiving signals, while the receiving antenna is only used to receive signals.

[0059] From the above, it can be seen that in the same antenna group, the transmitting antenna and the receiving antenna have the same radiation direction. In other words, the transmitting antenna and the receiving antenna are on the same receiving plane, and the frequency band range supported by the transmitting antenna covers the frequency band range supported by the receiving antenna. On this basis, in the same antenna group, within the frequency band range supported by the receiving antenna, the channel quality of the receiving antenna and the transmitting antenna is consistent. Therefore, the channel quality of each receiving antenna can be determined based on the measurement information of each signal, and the channel quality can represent the channel quality of the receiving antenna and the channel quality of the transmitting antenna in the same antenna group.

[0060] The parameter used to characterize the channel quality may include at least one of reference signal receiving power (RSRP) and spectrum efficiency. Exemplarily, RSRP may be used to represent the channel quality of a receiving antenna, spectrum efficiency may be used to represent the channel quality of a receiving antenna, or RSRP and spectrum efficiency may be used to represent the channel quality of a receiving antenna, which is not limited here.

[0061] S504: Determine a target receiving antenna according to the quality of each channel.

[0062] Exemplarily, the receiving antenna with the largest channel quality can be determined as the target receiving antenna, or the receiving antenna whose channel quality meets the communication condition can be determined as the target receiving antenna, or any other suitable determination method can be used, which is not limited here. Among them, the communication condition is used to indicate that the channel quality of the receiving antenna meets the communication requirements, that is, the channel quality of the transmitting antenna of the same antenna group corresponding to the receiving antenna meets the communication requirements.

[0063] In the above antenna switching method, since the receiving antenna and the transmitting antenna in the same antenna group have the same radiation direction, and the frequency band range supported by the transmitting antenna covers the frequency band range supported by the receiving antenna, the channel quality of the receiving antenna and the transmitting antenna in the same antenna group is consistent within the frequency band range supported by the receiving antenna. Therefore, the channel quality of the electromagnetic wave received by the receiving antenna can be equivalent to the channel quality of the transmitting antenna in the same antenna group, so that the target receiving antenna with higher channel quality can be determined according to the channel quality of each receiving antenna, and the target receiving antenna can be determined to correspond to the target transmitting antenna of the same antenna group to transmit electromagnetic wave signals. Therefore, in the scenario where the transmitting antenna and the receiving antenna are separated, the transmitting antenna is selected by selecting the receiving antenna, that is, the switching of the transmitting antenna is realized, and the uplink performance of the communication device is improved. In addition, the transmitting antenna in the embodiment of the present application can be used to transmit and receive electromagnetic wave signals, realizing the multiplexing of the antenna's transceiver functions, without the need to add an additional omnidirectional antenna as a transmitting antenna, saving the area and cost of the substrate occupied by the antenna.

[0064] Please continue reading Figure 2 and Figure 3 In one embodiment, the antenna group configured by the communication device includes at least a first antenna group 110 and a second antenna group 120. The first antenna group 110 includes a first transmitting antenna ANT-L0 and a first receiving antenna ANT-N4, and the second antenna group 120 includes a second transmitting antenna ANT-L1 and a second receiving antenna ANT-N5. The first transmitting antenna ANT-L0 is used to transmit electromagnetic wave signals in the current counting cycle. Specifically, in the current counting cycle, the communication device controls the switch module through the control module to conduct the transmission path between the first transmitting antenna ANT-L0 and the radio frequency transceiver, so that the first transmitting antenna ANT-L0 is in a working state, thereby transmitting electromagnetic wave signals.

[0065] The counting period is a preset antenna switching period, which can be set accordingly according to the antenna switching requirements. The counting period determines the antenna switching frequency. Specifically, if the counting period is small, the antenna switching frequency is large, and the antenna switching is more frequent or more sensitive within a certain period of time; if the counting period is large, the antenna cycle frequency is small, and the number of antenna switching times within a certain period of time is relatively small.

[0066] Based on the above communication device, in one embodiment, Figure 6 As shown, the above step S504 "determining the target receiving antenna according to the quality of each channel" may include the following steps S602 and S604.

[0067] S602: In the current counting period, compare the channel quality of the first receiving antenna with the channel quality of the second receiving antenna.

[0068] In the current counting cycle, the communication device transmits an electromagnetic wave signal through the first transmitting antenna ANT-L0. Specifically, the communication device can respectively obtain the first channel measurement information of the electromagnetic wave signal received by the first receiving antenna ANT-N4, and obtain the second channel measurement information of the electromagnetic wave signal received by the second receiving antenna ANT-N5. Then, the communication device can determine the channel quality of the first receiving antenna ANT-N4 according to the first channel measurement information, and determine the channel quality of the second receiving antenna ANT-N5 according to the second channel measurement information. Then, the communication device can compare the channel quality of the first receiving antenna ANT-N4 with the channel quality of the second receiving antenna ANT-N5.

[0069] Exemplarily, the reference signal received power is used to evaluate the channel quality of the receiving antenna, and the communication device can compare the reference signal received power of the first receiving antenna ANT-N4 with the reference signal received power of the second receiving antenna ANT-N5. In practical applications, at least one of the reference signal received power and the spectrum efficiency can be used to evaluate the channel quality of the receiving antenna, which is not limited here.

[0070] S604: When the channel quality of the first receiving antenna is less than the channel quality of the second receiving antenna and the channel quality of the second receiving antenna meets the communication condition, use the second receiving antenna as the target receiving antenna for the next counting cycle.

[0071] The channel quality of the first receiving antenna ANT-N4 is less than the channel quality of the second receiving antenna ANT-N5, indicating that the receiving performance of the second receiving antenna ANT-N5 is better than the receiving performance of the first receiving antenna ANT-N4, that is, the transmitting performance of the second transmitting antenna ANT-L1 is better than the transmitting performance of the first transmitting antenna ANT-L0. In this case, it can be further determined whether the channel quality of the second receiving antenna ANT-N5 meets the preset communication conditions. Among them, the communication conditions are preset communication requirements, which can be set accordingly according to the communication requirements of the communication device. If the channel quality of the second receiving antenna ANT-N5 meets the communication conditions, it indicates that the channel quality of the second transmitting antenna ANT-L1 located in the same antenna group also meets the communication requirements. In this case, the second receiving antenna ANT-N5 can be used as the target receiving antenna of the next counting cycle, so that the second transmitting antenna ANT-L1 can be determined as the target transmitting antenna according to the second receiving antenna ANT-N5, and the electromagnetic wave signal can be transmitted using the second transmitting antenna ANT-L1.

[0072] Exemplarily, the reference signal receiving power is used to evaluate the channel quality of the receiving antenna. Within the current counting period, the reference signal receiving power of the first transmitting antenna ANT-L0 is less than the reference signal receiving power of the second transmitting antenna ANT-L1, and the reference signal receiving power of the second transmitting antenna ANT-L1 is greater than a preset power threshold. The second transmitting antenna ANT-L1 is controlled to transmit an electromagnetic wave signal, thereby realizing switching from the first transmitting antenna ANT-L0 to the second transmitting antenna ANT-L1.

[0073] The above-mentioned antenna switching method, by comparing the channel quality of the receiving antenna, takes the receiving antenna with higher channel quality and meeting the communication conditions as the target receiving antenna of the next counting cycle, so that the switching of the target transmitting antenna in the next counting cycle can be realized according to the target receiving antenna. The antenna switching method provided in the embodiment of the present application, since the channel quality of the receiving antenna and the transmitting antenna in the same antenna group is consistent, the channel quality of the receiving antenna can be used to evaluate the channel quality of the transmitting antenna in the same antenna group, so that the selection of the best transmitting antenna can be realized by selecting the best receiving antenna, that is, the switching of the transmitting antenna is realized, thereby realizing the switching of the transmitting antenna in the scenario where the transmitting antenna and the receiving antenna are separated, and improving the uplink performance of the communication device.

[0074] In one embodiment, Figure 7As shown in FIG. 1 , another antenna switching method is provided. The antenna switching method is applied to Figure 2 In the communication device shown, the antenna switching method may include the following S702 to S712.

[0075] S702: Initialize the count value.

[0076] The count value is used to indicate the number of counts in a count cycle of antenna switching. Specifically, at the beginning of antenna switching, the count value n is initialized to 0. In practical applications, the communication device may set a counter to implement counting through the counter.

[0077] S704: Acquire signal measurement information of electromagnetic wave signals received by receiving antennas of each antenna group respectively.

[0078] Specifically, the communication device receives signal measurement information of the electromagnetic wave signal received by the first receiving antenna and signal measurement information of the electromagnetic wave signal received by the second receiving antenna respectively.

[0079] S706: Determine the reference signal receiving power and spectrum efficiency of each receiving antenna according to the measurement information of each signal.

[0080] Specifically, the communication device determines the first reference signal receiving power and the first spectral efficiency of the first receiving antenna ANT-N4 according to the signal measurement information of the first receiving antenna ANT-N4, and determines the second reference signal receiving power and the second spectral efficiency of the second receiving antenna ANT-N5 according to the signal measurement information of the second receiving antenna ANT-N5.

[0081] S708: Compare the first reference signal received power of the first receiving antenna with the second reference signal received power of the second receiving antenna.

[0082] S710: When the first reference signal received power is less than the second reference signal received power, compare a first spectrum efficiency of the first receiving antenna with a second spectrum efficiency of the second receiving antenna.

[0083] S712: When the first spectrum efficiency is less than the second spectrum efficiency, the count value is increased by one, and when the count value is less than a preset value, the step of obtaining signal measurement information of the electromagnetic wave signal received by the receiving antenna in each antenna group is performed again until the count value is greater than or equal to the preset value, and the second receiving antenna is used as the target receiving antenna for the next counting cycle.

[0084] S714: Determine, according to the second receiving antenna, that the target transmitting antenna for the next counting period is the second transmitting antenna.

[0085] S716: In the next counting cycle, control the second transmitting antenna to transmit an electromagnetic wave signal.

[0086] In practical applications, when the first reference signal received power of the first receiving antenna ANT-N4 is less than the second reference signal received power of the second receiving antenna ANT-N5, and the first spectrum efficiency of the first receiving antenna ANT-N4 is less than the second spectrum efficiency of the second receiving antenna ANT-N5, it indicates that the channel quality of the second receiving antenna ANT-N5 is greater than the channel quality of the first receiving antenna ANT-N. In this case, the count value is increased by one, that is, n=n+1. Then, it is determined whether the count value n is greater than or equal to the preset value m, that is, it is determined whether the duration of the channel quality of the second receiving antenna ANT-N5 being greater than the channel quality of the first receiving antenna ANT-N reaches a counting cycle. In the case of n<m, S704 is executed again until the count value n≥m, the second receiving antenna ANT-N5 is used as the target receiving antenna of the next counting cycle, so that the second transmitting antenna ANT-L2 corresponding to the first receiving antenna ANT-N5 is used as the target transmitting antenna of the next counting cycle, and the communication device controls the second transmitting antenna ANT-L2 to transmit an electromagnetic wave signal in the next counting cycle. Among them, the counting cycle is the product of the preset value m and the counting unit time. The preset value m can be determined according to the counting cycle and the counting unit time. The counting unit time can be understood as the duration of one traversal, or as the duration of one comparison of the channel quality of the receiving antenna.

[0087] The above-mentioned antenna switching method, within a counting cycle, cyclically obtains signal measurement information of each receiving antenna, and compares the reference signal receiving power and spectrum efficiency of each receiving antenna based on each signal measurement information. When the reference signal receiving power and spectrum efficiency of the second receiving antenna are greater than those of the first receiving antenna and are maintained for a counting cycle, it indicates that the channel quality of the second receiving antenna is greater than the channel quality of the first receiving antenna, that is, the channel quality of the second transmitting antenna is greater than the channel quality of the first transmitting antenna. In this case, the second transmitting antenna is controlled to transmit an electromagnetic wave signal within the next counting cycle, thereby realizing the switching of the transmitting antenna in the transmitting antenna and the receiving antenna scenario, and improving the uplink performance of the communication device.

[0088] Please continue reading Figure 7In one embodiment, the antenna switching method may further include: when the first reference signal receiving power is greater than or equal to the second reference signal receiving power, or the first spectrum efficiency is greater than or equal to the second spectrum efficiency, it indicates that the channel quality of the first receiving antenna ANT-N4 is greater than the channel quality of the second receiving antenna ANT-N5, that is, the channel quality of the first transmitting antenna ANT-L0 is greater than the channel quality of the second receiving antenna ANT-L1. In this case, S702, i.e., the step of initializing the count value n, is executed again, and the first receiving antenna is used as the target receiving antenna in the next counting unit time, that is, the transmitting antenna is not switched, and the first transmitting antenna continues to transmit electromagnetic wave signals in the next counting unit time.

[0089] The above-mentioned antenna switching method maintains the first transmitting antenna ANT-L0 transmitting the electromagnetic wave signal when the channel quality of the first transmitting antenna ANT-L0 is greater than the channel quality of the second receiving antenna ANT-L1, and switches only when the channel quality duration of the second receiving antenna ANT-L1 reaches the counting period, thereby ensuring the uplink performance of the communication device and reducing the power consumption of the communication device caused by frequent switching of the transmitting antenna.

[0090] Please continue reading Figure 2 and Figure 3 In one embodiment, the antenna group configured by the communication device includes at least a first antenna group 110, a second antenna group 120 and a third antenna group 130. The first antenna group 110 includes a first transmitting antenna ANT-L0 and a first receiving antenna ANT-N4, the second antenna group 120 includes a second transmitting antenna ANT-L1 and a second receiving antenna ANT-N5, and the third antenna group 130 includes a third transmitting antenna ANTL-2 and a third receiving antenna ANT-N6. The first transmitting antenna ANT-L0 is used to transmit electromagnetic wave signals in the current counting cycle.

[0091] Based on the above communication device, in one embodiment, Figure 8 As shown, step S404 "determine the target receiving antenna according to the quality of each channel" may include the following steps S802 to S806.

[0092] S802: In the current counting period, compare the channel quality of the first receiving antenna, the channel quality of the second receiving antenna, and the channel quality of the third receiving antenna.

[0093] In actual applications, within the current counting period, the communication device can respectively compare the reference signal receiving power of the first receiving antenna ANT-N4, the reference signal receiving power of the second receiving antenna ANT-N5 and the reference signal receiving power of the third receiving antenna ANT-N6, and compare the spectrum efficiency of the first receiving antenna ANT-N4, the spectrum efficiency of the second receiving antenna ANT-N5 and the spectrum efficiency of the third receiving antenna ANT-N6.

[0094] S804: When it is determined that the reference signal receiving power of the second receiving antenna is the largest and the spectrum efficiency of the third receiving antenna is the largest, obtain the power difference between the reference signal receiving power of the second receiving antenna and the reference signal receiving power of the first receiving antenna, and the spectrum efficiency difference between the spectrum efficiency of the third receiving antenna and the spectrum efficiency of the first receiving antenna.

[0095] The reference signal receiving power of the second receiving antenna ANT-N5 is the largest, that is, the reference signal receiving power of the first receiving antenna ANT-N4 is less than the reference signal receiving power of the second receiving antenna ANT-N5. The spectrum efficiency of the third receiving antenna ANT-N6 is the largest, that is, the spectrum efficiency of the first receiving antenna ANT-N4 is less than the spectrum efficiency of the third receiving antenna ANT-N6. In this case, it can be determined that the channel quality of the first receiving antenna ANT-N4 is not optimal.

[0096] S806: When the power difference is greater than a preset power threshold and the spectrum efficiency difference is greater than a preset efficiency threshold, use the third receiving antenna as a target receiving antenna for the next counting cycle.

[0097] The preset power threshold and the preset efficiency threshold are pre-set and can be set according to the antenna switching decision boundary, and no limitation is made here. If the power difference is greater than the preset power threshold, it indicates that the power difference between the reference signal receiving power of the second receiving antenna ANT-N5 and the first receiving antenna ANT-N4 is large, and the channel quality of the first receiving antenna ANT-N4 is smaller than that of the second receiving antenna ANT-N5. If the spectrum efficiency difference is greater than the preset efficiency threshold, it indicates that the spectrum efficiency difference between the spectrum efficiency of the third receiving antenna ANT-N6 and the first receiving antenna ANT-N4 is large, and the channel quality of the first receiving antenna ANT-N4 is smaller than that of the third receiving antenna ANT-N6. In this case, the third receiving antenna ANT-N6 can be used as the target receiving antenna for the next counting cycle, that is, in the next counting cycle, the antenna currently transmitting the electromagnetic wave signal is switched from the first transmitting antenna ANT-L0 to the third transmitting antenna ANT-L2, and the electromagnetic wave signal is transmitted by the third transmitting antenna ANT-L2.

[0098] Optionally, when it is determined that the reference signal receiving power of the third receiving antenna ANT-N6 is the largest and the spectrum efficiency of the second receiving antenna ANT-N5 is the largest, the power difference between the reference signal receiving power of the third receiving antenna ANT-N6 and the reference signal receiving power of the first receiving antenna ANT-N4, and the spectrum efficiency difference between the spectrum efficiency of the second receiving antenna ANT-N5 and the spectrum efficiency of the first receiving antenna ANT-N4 are obtained, and when the power difference is greater than a preset power threshold and the spectrum efficiency difference is greater than a preset efficiency threshold, the second receiving antenna ANT-N5 is used as the target receiving antenna for the next counting cycle, thereby using the second transmitting antenna ANT-L1 as the target transmitting antenna for the next counting cycle, and controlling the second transmitting antenna ANT-L1 to transmit an electromagnetic wave signal, thereby realizing switching from the first transmitting antenna ANT-L0 to the second transmitting antenna ANT-L1. It can be understood that the above antenna switching method is not limited to communication devices with three antenna groups, and can also be applied to communication devices configured with more than three antenna groups.

[0099] The above-mentioned antenna switching method compares the reference signal receiving power and spectrum efficiency of each receiving antenna. In the current counting cycle, if the reference signal receiving power and spectrum power of the first receiving antenna currently transmitting the electromagnetic wave signal are not the largest, and the receiving antenna with the largest reference signal receiving power is inconsistent with the receiving antenna with the largest spectrum efficiency, if the difference between the channel quality parameter (RSRP, spectrum efficiency) of the first receiving antenna and the maximum value is greater than the corresponding preset threshold (preset power threshold, preset efficiency threshold), in this case, the receiving antenna with the largest spectrum efficiency can be used as the basis for antenna switching, that is, the receiving antenna with the largest spectrum efficiency is used as the target receiving antenna for the next counting cycle, so that in the next counting cycle, the target receiving antenna is controlled to transmit the electromagnetic wave signal corresponding to the target transmitting antenna of the same antenna group, thereby realizing the switching of the transmitting antenna in the scenario where the transmitting antenna and the receiving antenna are separated, improving the uplink performance of the communication equipment, and improving the reliability of the switching of the transmitting antenna.

[0100] Understandably, Figure 8 The antenna switching method shown in the figure takes the case where the communication device is configured with three antenna groups as an example. When the communication device is configured with more antenna groups, the same method can be used. Figure 7 The antenna switching method shown in the figure realizes the switching of the transmitting antenna, and its process is similar to Figure 8 The antenna switching method shown is similar and will not be described again here.

[0101] Please continue reading Figure 8In one embodiment, the antenna switching method may further include S808: when the power difference is less than or equal to a preset power threshold, or the spectrum efficiency difference is less than or equal to a preset efficiency threshold, using the first receiving antenna as the target receiving antenna for the next counting cycle.

[0102] If the power difference is less than or equal to the preset power threshold, it indicates that the power difference between the reference signal receiving power of the second receiving antenna ANT-N5 and the first receiving antenna ANT-N4 is small, the difference between the channel quality of the first receiving antenna ANT-N4 and the channel quality of the second receiving antenna ANT-N5 is small, and the antenna switching threshold has not been reached. If the spectrum efficiency difference is less than or equal to the preset efficiency threshold, it indicates that the spectrum efficiency difference between the third receiving antenna ANT-N6 and the first receiving antenna ANT-N4 is small, the difference between the channel quality of the first receiving antenna ANT-N4 and the third receiving antenna ANT-N6 is small, and the antenna switching threshold has not been reached. In both cases, the first receiving antenna ANT-N4 can continue to be used as the target receiving antenna for the next counting cycle, that is, in the next counting cycle, the first transmitting antenna ANT-L0 is kept transmitting electromagnetic wave signals.

[0103] The above-mentioned antenna switching method does not switch the antenna when the channel quality of the transmitting antenna currently transmitting the electromagnetic wave signal is not much different from the channel quality of other transmitting antennas. The current transmitting antenna continues to transmit the electromagnetic wave signal, thereby reducing the power consumption of the communication equipment while ensuring the uplink performance of the communication equipment.

[0104] In one embodiment, Fig. 9 As shown, another antenna switching method is provided. The antenna switching method is applied to Figure 2 The communication device shown in the figure is configured with a first antenna group 110, a second antenna group 120, a third antenna group 130, and can also be configured with a fourth antenna group 140, the fourth antenna group 140 includes a fourth transmitting antenna ANT-L3 and a fourth receiving antenna ANT-N7, as shown in FIG. Figure 3 If the communication device transmits electromagnetic wave signals with the first transmitting antenna ANT-L0 in the current counting cycle, the antenna switching method includes S902 to S916.

[0105] S902: After the communication device is turned on, the TDD band automatically accesses the network and starts the algorithm.

[0106] S904: Initialize the count value of the counter to 0.

[0107] S906: Obtain RSRP and spectrum efficiency corresponding to each receiving antenna respectively.

[0108] S908: Determine whether the RSRP of the first receiving antenna is the largest. If so, return to S904; if not, proceed to S910.

[0109] S910: Determine whether the spectrum efficiency of the first receiving antenna is the maximum, if so, return to S904; if not, proceed to S912.

[0110] S912: The count value n of the counter is increased by 1.

[0111] S914: Determine whether the count value n is greater than or equal to a preset threshold value m. If not, return to S906; if yes, proceed to S916.

[0112] S916: When the RSRP and spectrum efficiency of the second receiving antenna are both the largest, determine whether the RSRP of the second receiving antenna meets the communication conditions; if not, return to S906; if so, execute S918: switch from the first transmitting antenna to the second transmitting antenna, and return to S904.

[0113] S920: When the RSRP of the second receiving antenna is the largest and the spectrum efficiency of the third receiving antenna is the largest, determine whether the power difference between the RSRP of the second receiving antenna and the RSRP of the first receiving antenna is less than a preset power threshold, and whether the difference between the spectrum efficiency of the third receiving antenna and the spectrum efficiency of the first receiving antenna is less than a preset efficiency threshold. If so, return to S906; if not, execute S922: switch from the first transmitting antenna to the third transmitting antenna, and return to S904.

[0114] It can be understood that the above-mentioned first receiving antenna can be the second receiving antenna, the third receiving antenna, the fourth receiving antenna and other receiving antennas. The embodiments of the present application only describe the antennas with terms such as first and second, and each transmitting antenna and each receiving antenna can be interchangeable.

[0115] The above-mentioned antenna switching method can determine the target transmitting antenna with the best transmission performance from multiple transmitting antennas through the signal measurement information of each receiving antenna and the correspondence between the transmitting antenna and the receiving antenna in the antenna group, and control the target transmitting antenna to transmit electromagnetic wave signals, thereby realizing the switching of the transmitting antenna in the scenario where the transmitting antenna and the receiving antenna are separated, improving the uplink performance of the communication equipment, and the transmitting antenna in the embodiment of the present application can be used to transmit and receive electromagnetic wave signals, realizing the multiplexing of the antenna's transmitting and receiving functions, without the need to additionally provide an omnidirectional antenna as a transmitting antenna, saving the area and cost of the substrate occupied by the antenna.

[0116] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0117] In one embodiment, Fig.10 As shown, a structural block diagram of another communication device is provided. The communication device includes multiple transmitting antennas, multiple receiving antennas (such as ANT-N4, ANT-N5, ANT-N6 and ANT-N7), a radio frequency transceiver 20, a switch module 30 and a control module 40. The communication device at least includes a first transmitting antenna ANT-L0, a second transmitting antenna ANT-L1, a third transmitting antenna ANT-L2 and a fourth transmitting antenna ANT-L3. Among them, the switch module 30 includes a first switch unit 310, a second switch unit 320 and a third switch unit 330.

[0118] Among them, the first end of the first switch unit 310 is connected to the RF transceiver 20, and multiple second ends of the first switch unit 310 are respectively connected to the first end of the second switch unit 320 and the first end of the third switch unit 330. The first switch unit 310 is used to select and conduct the path between the RF transceiver 20 and the first end of the second switch unit 320 and the first end of the third switch unit 330.

[0119] Multiple second ends of the second switch unit 320 are respectively connected to the first transmitting antenna ANT-L0 and the second transmitting antenna ANT-L1. The second switch unit 320 is used to select a path between a second end of the first switch unit 310 and the first transmitting antenna ANT-L0 and the second transmitting antenna ANT-L1.

[0120] Multiple second ends of the third switch unit 330 are connected to the third transmitting antenna ANT-L2 and the fourth transmitting antenna ANT-L3. The third switch unit 330 is used to select and conduct the path between the other second end of the first switch unit 310 and the third transmitting antenna ANT-L2 and the fourth transmitting antenna ANT-L3 respectively.

[0121] Exemplarily, when the communication device transmits an electromagnetic wave signal with the first transmitting antenna ANT-L0, the first switch unit 310 turns on the path between the RF transceiver 20 and the second switch unit 320, and the second switch unit 320 turns on the path between the second switch unit 320 and the first transmitting antenna ANT-L0, so that the first transmitting antenna ANT-L0 is in a working state, thereby transmitting the electromagnetic wave signal.

[0122] The above-mentioned communication device includes multiple antenna groups, a radio frequency transceiver 20, a first switch unit 310, a second switch unit 320, a third switch unit 330 and a control module 40. The control module 40 can control the first switch unit 310 to cooperate with the second switch unit 320 and the third switch unit 330 respectively, so that switching of multiple transmitting antennas can be realized in a scenario where the transmitting antenna and the receiving antenna are separated, thereby improving the antenna switching flexibility of the communication device.

[0123] Optionally, the communication device may further include a power amplifier (PA) 40, which is connected to the RF transceiver 20 and the first end of the first switch unit 310 respectively. The power amplifier 40 is used to perform power amplification processing on the electromagnetic wave signal to be transmitted to improve the transmission performance of the communication device.

[0124] Optionally, the communication device may further include a plurality of low noise amplifiers 50 (Low Noise Amplifier, LNA), which are respectively connected to the corresponding receiving antenna and RF transceiver 20, and are used to perform low noise amplification processing on the electromagnetic wave signal received by the receiving antenna to meet the receiving performance of the communication device.

[0125] In one embodiment, the radiation direction of each antenna group can be evenly arranged in a 360° direction. Specifically, each antenna group can be evenly spaced along the peripheral direction of the communication device, and the radiation surface of each antenna group faces different directions, so that the beam scanning range of the transmitting antenna and the receiving antenna of each antenna group can achieve 360° omnidirectional coverage in the horizontal plane, thereby improving the communication performance of the communication device. Figure 2 and Fig. 9 The communication device shown, Figure 3Provided is a schematic diagram of an antenna arrangement of a communication device configured with four antenna groups, wherein the radiation direction of the first antenna group 110 (ANT-L0 and ANT-N4) is -45° to 45°, the radiation direction of the second antenna group 120 (ANT-L1 and ANT-N5) is 45° to 135°, the radiation direction of the third antenna group 130 (ANT-L2 and ANT-N6) is 135° to 215°, and the radiation direction of the fourth antenna group 140 (ANT-L3 and ANT-N7) is 215° to -45°. In practical applications, each antenna group can be arranged accordingly according to the number of antenna groups configured by the communication device.

[0126] Based on the same inventive concept, the embodiment of the present application also provides an antenna switching device for implementing the antenna switching method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more antenna switching device embodiments provided below can refer to the limitations of the antenna switching method above, and will not be repeated here.

[0127] In one embodiment, Fig.11 As shown, an antenna switching device is provided, which is applied to a communication device. The communication device includes multiple transmitting antennas and multiple receiving antennas, wherein the communication device is configured with at least two antenna groups, each antenna group includes a transmitting antenna and a receiving antenna with the same radiation direction.

[0128] The antenna switching device 1100 includes an acquisition module 1101, a determination module 1102 and a control module 1103. The acquisition module 1101 is used to respectively acquire signal measurement information of electromagnetic wave signals received by the receiving antennas in each antenna group. The determination module 1102 is used to determine the target receiving antenna according to each signal measurement information, and determine the target transmitting antenna according to the target receiving antenna, and the target receiving antenna and the target transmitting antenna are located in the same antenna group. The control module 1103 is used to control the target transmitting antenna to transmit electromagnetic wave signals.

[0129] The antenna switching device 1100 includes an acquisition module 1101, a determination module 1102, and a control module 1103, which can respectively obtain signal measurement information of electromagnetic wave signals received by the receiving antenna in each antenna group, and determine the target receiving antenna according to each signal measurement information, so as to determine the target receiving antenna located in the same antenna group as the target receiving antenna, and then control the target receiving antenna to transmit electromagnetic wave signals. Since the receiving antenna and the transmitting antenna located in the same antenna group have the same radiation direction, and the signal measurement information is used to indicate the receiving performance of the receiving antenna receiving electromagnetic waves, the signal measurement information of the receiving antenna can be used to evaluate the transmitting performance of the transmitting antenna in the same antenna group. Based on this, through the signal measurement information of each receiving antenna and the corresponding relationship between the transmitting antenna and the receiving antenna in the antenna group, a target transmitting antenna with better transmitting performance can be determined from multiple transmitting antennas, and the target transmitting antenna can be controlled to transmit electromagnetic wave signals, thereby improving the uplink performance of the communication device. In addition, the transmitting antenna in the embodiment of the present application can be used to transmit and receive electromagnetic wave signals, realizing the multiplexing of the antenna's transceiver functions, without the need to add an additional omnidirectional antenna as a transmitting antenna, saving the area and cost of the substrate occupied by the antenna.

[0130] In one embodiment, the determination module is further used to determine the channel quality of each receiving antenna according to each signal measurement information, and determine the target receiving antenna according to each channel quality; wherein the parameters used to characterize the channel quality include at least one of the reference signal receiving power and the spectrum efficiency.

[0131] In one embodiment, the antenna group configured in the communication device includes at least a first antenna group and a second antenna group, the first antenna group includes a first transmitting antenna and a first receiving antenna, the second antenna group includes a second transmitting antenna and a second receiving antenna, and the first transmitting antenna is used to transmit electromagnetic wave signals in the current counting cycle. The determination module is also used to compare the channel quality of the first receiving antenna with the channel quality of the second receiving antenna in the current counting cycle; if the channel quality of the first receiving antenna is less than the channel quality of the second receiving antenna and the channel quality of the second receiving antenna meets the communication condition, the second receiving antenna is used as the target receiving antenna for the next counting cycle.

[0132] In one embodiment, the antenna switching device further includes an initialization module, which is used to initialize the count value. The determination module is also used to compare the first reference signal receiving power of the first receiving antenna with the second reference signal receiving power of the second receiving antenna; when the first reference signal receiving power is less than the second reference signal receiving power, compare the first spectrum efficiency of the first receiving antenna with the second spectrum efficiency of the second receiving antenna; when the first spectrum efficiency is less than the second spectrum efficiency, add one to the count value, and when the count value is less than a preset value, perform again the step of obtaining the signal measurement information of the electromagnetic wave signal received by the receiving antenna in each of the antenna groups, until the count value is greater than or equal to the preset value, and use the second receiving antenna as the target receiving antenna for the next counting cycle; wherein the counting cycle is the product of the preset value and the counting unit time.

[0133] In one embodiment, the determination module is also used to trigger the initialization module to initialize the count value when the first reference signal receiving power is greater than or equal to the second reference signal receiving power, or the first spectrum efficiency is greater than or equal to the second spectrum efficiency, and use the first receiving antenna as the target receiving antenna in the next counting unit time.

[0134] In one embodiment, the antenna group configured by the communication device includes at least a first antenna group, a second antenna group and a third antenna group, the first antenna group includes a first transmitting antenna and a first receiving antenna, the second antenna group includes a second transmitting antenna and a second receiving antenna, the third antenna group includes a third transmitting antenna and a third receiving antenna, and the first transmitting antenna is used to transmit electromagnetic wave signals in the current counting cycle. The determination module is also used to compare the channel quality of the first receiving antenna, the channel quality of the second receiving antenna, and the channel quality of the third receiving antenna in the current counting cycle; when it is determined that the reference signal receiving power of the second receiving antenna is the largest and the spectrum efficiency of the third receiving antenna is the largest, the power difference between the reference signal receiving power of the second receiving antenna and the reference signal receiving power of the first receiving antenna, and the spectrum efficiency difference between the spectrum efficiency of the third receiving antenna and the spectrum efficiency of the first receiving antenna are obtained; when the power difference is greater than a preset power threshold and the spectrum efficiency difference is greater than a preset efficiency threshold, the third receiving antenna is used as the target receiving antenna for the next counting cycle.

[0135] In one embodiment, the determination module is further configured to use the first receiving antenna as the target receiving antenna for the next counting cycle when the power difference is less than or equal to a preset power threshold or the spectrum efficiency difference is less than or equal to a preset efficiency threshold.

[0136] Each module in the above antenna switching device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0137] In one embodiment, a communication device is provided. The communication device may be a server, and its internal structure diagram may be as follows: Fig.12 As shown. The communication device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the communication device is used to store signal measurement information, channel quality and other data. The network interface of the communication device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an antenna switching method is implemented.

[0138] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the communication device to which the scheme of the present application is applied. The specific communication device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0139] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the antenna switching method provided in any of the above embodiments are implemented.

[0140] In one embodiment, a computer program product is provided, including a computer program, which implements the steps of the antenna switching method provided in any of the above embodiments when executed by a processor.

[0141] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0142] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0143] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0144] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. An antenna switching method, characterized in that: Applied to a communication device, the communication device is configured with at least two antenna groups, each of the antenna groups includes a transmitting antenna and a receiving antenna having the same radiation direction, the method includes: Respectively obtaining signal measurement information of electromagnetic wave signals received by the receiving antennas in each of the antenna groups; Determine a target receiving antenna according to each of the signal measurement information; Determine a target transmitting antenna according to the target receiving antenna, wherein the target receiving antenna and the target transmitting antenna are located in the same antenna group; The target transmitting antenna is controlled to transmit the electromagnetic wave signal.

2. The method according to claim 1, characterized in that The determining the target receiving antenna according to each of the signal measurement information includes: Determining the channel quality of each of the receiving antennas according to the signal measurement information; wherein the parameter used to characterize the channel quality includes at least one of a reference signal received power and a spectrum efficiency; The target receiving antenna is determined according to the quality of each channel.

3. The method according to claim 2, characterized in that The antenna group includes a first antenna group and a second antenna group, the first antenna group includes a first transmitting antenna and a first receiving antenna, the second antenna group includes a second transmitting antenna and a second receiving antenna, and the first transmitting antenna is used to transmit the electromagnetic wave signal in a current counting period; The determining the target receiving antenna according to each of the channel qualities comprises: In the current counting period, comparing the channel quality of the first receiving antenna with the channel quality of the second receiving antenna; When the channel quality of the first receiving antenna is less than the channel quality of the second receiving antenna and the channel quality of the second receiving antenna meets the communication condition, the second receiving antenna is used as the target receiving antenna for the next counting cycle.

4. The method according to claim 3, characterized in that Before respectively obtaining the signal measurement information of the electromagnetic wave signal received by the receiving antenna in each antenna group, the method further includes: initializing a count value; wherein, The comparing, within the current counting period, the channel quality of the first receiving antenna with the channel quality of the second receiving antenna includes: comparing a first reference signal received power of the first receiving antenna with a second reference signal received power of the second receiving antenna; When the first reference signal received power is less than the second reference signal received power, comparing a first spectrum efficiency of the first receiving antenna with a second spectrum efficiency of the second receiving antenna; When the first spectrum efficiency is less than the second spectrum efficiency, the count value is increased by one, and when the count value is less than a preset value, the step of respectively obtaining the signal measurement information of the electromagnetic wave signal received by the receiving antenna in each antenna group is performed again until the count value is greater than or equal to the preset value, and the second receiving antenna is used as the target receiving antenna for the next counting cycle; wherein the counting cycle is the product of the preset value and the counting unit time.

5. The method according to claim 4, characterized in that The method further comprises: When the first reference signal received power is greater than or equal to the second reference signal received power, or the first spectrum efficiency is greater than or equal to the second spectrum efficiency, the step of initializing the count value is performed again, and the first receiving antenna is used as the target receiving antenna in the next counting unit time.

6. The method according to claim 2, characterized in that The antenna group includes a first antenna group, a second antenna group and a third antenna group, the first antenna group includes a first transmitting antenna and a first receiving antenna, the second antenna group includes a second transmitting antenna and a second receiving antenna, the third antenna group includes a third transmitting antenna and a third receiving antenna, and the first transmitting antenna is used to transmit the electromagnetic wave signal in a current counting period; The determining the target receiving antenna according to each of the channel qualities comprises: In the current counting period, comparing the channel quality of the first receiving antenna, the channel quality of the second receiving antenna, and the channel quality of the third receiving antenna; When it is determined that the reference signal received power of the second receiving antenna is the largest and the spectrum efficiency of the third receiving antenna is the largest, obtaining a power difference between the reference signal received power of the second receiving antenna and the reference signal received power of the first receiving antenna, and a spectrum efficiency difference between the spectrum efficiency of the third receiving antenna and the spectrum efficiency of the first receiving antenna; When the power difference is greater than a preset power threshold and the spectrum efficiency difference is greater than a preset efficiency threshold, the third receiving antenna is used as a target receiving antenna for a next counting cycle.

7. The method according to claim 6, characterized in that The method further comprises: When the power difference is less than or equal to the preset power threshold, or the spectrum efficiency difference is less than or equal to the preset efficiency threshold, the first receiving antenna is used as the target receiving antenna for the next counting cycle.

8. An antenna switching device, characterized in that: Applied to a communication device, the communication device is configured with at least two antenna groups, each of the antenna groups includes a transmitting antenna and a receiving antenna with the same radiation direction, and the device includes: An acquisition module, used to respectively acquire signal measurement information of electromagnetic wave signals received by the receiving antennas in each of the antenna groups; A determination module, configured to determine a target receiving antenna according to each of the signal measurement information, and determine a target transmitting antenna according to the target receiving antenna, wherein the target receiving antenna and the target transmitting antenna are located in the same antenna group; A control module is used to control the target transmitting antenna to transmit the electromagnetic wave signal.

9. A communication device, characterized in that: The communication device comprises: At least two antenna groups, each of which includes a transmitting antenna and a receiving antenna having the same radiation direction; A radio frequency transceiver, connected to each of the transmitting antennas and each of the receiving antennas respectively; A switch module, wherein a first end of the switch module is connected to the radio frequency transceiver, and a plurality of second ends of the switch module are respectively connected to corresponding ones of the transmitting antennas; A control module is connected to the control end of the switch module, and the control module is used to respectively obtain signal measurement information of the electromagnetic wave signal received by the receiving antenna in each of the antenna groups, determine the target receiving antenna according to each of the signal measurement information, determine the target transmitting antenna according to the target receiving antenna, and control the switch module to conduct the path between the first end and the second end corresponding to the target transmitting antenna, so as to transmit the electromagnetic wave signal through the target transmitting antenna; wherein the target receiving antenna and the target transmitting antenna are located in the same antenna group.

10. The communication device according to claim 9, characterized in that The communication device at least includes a first transmitting antenna, a second transmitting antenna, a third transmitting antenna and a fourth transmitting antenna, and the switch module includes a first switch unit, a second switch unit and a third switch unit; wherein, The first end of the first switch unit is connected to the RF transceiver, and the plurality of second ends of the first switch unit are respectively connected to the first end of the second switch unit and the first end of the third switch unit, and the first switch unit is used to select and conduct the paths between the RF transceiver and the first end of the second switch unit and the first end of the third switch unit; The plurality of second ends of the second switch unit are respectively connected to the first transmitting antenna and the second transmitting antenna, and the second switch unit is used to select and conduct a path between a second end of the first switch unit and the first transmitting antenna and the second transmitting antenna; The multiple second ends of the third switch unit are respectively connected to the third transmitting antenna and the fourth transmitting antenna, and the third switch unit is used to select and conduct the path between the other second end of the first switch unit and the third transmitting antenna and the fourth transmitting antenna.

11. The communication device according to claim 9, characterized in that The radiation directions of the antenna groups are evenly arranged in a 360° direction.

12. A communication device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.