CN112350744B - Antenna switching method and device, signal transceiving circuit and electronic equipment - Google Patents

Antenna switching method and device, signal transceiving circuit and electronic equipment Download PDF

Info

Publication number
CN112350744B
CN112350744B CN202011196113.5A CN202011196113A CN112350744B CN 112350744 B CN112350744 B CN 112350744B CN 202011196113 A CN202011196113 A CN 202011196113A CN 112350744 B CN112350744 B CN 112350744B
Authority
CN
China
Prior art keywords
antenna
signal
switch
communication mode
parameter
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
CN202011196113.5A
Other languages
Chinese (zh)
Other versions
CN112350744A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011196113.5A priority Critical patent/CN112350744B/en
Publication of CN112350744A publication Critical patent/CN112350744A/en
Application granted granted Critical
Publication of CN112350744B publication Critical patent/CN112350744B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B15/00Suppression or limitation of noise or interference

Abstract

The application discloses an antenna switching method, an antenna switching device, a signal transceiving circuit and electronic equipment, belongs to the technical field of communication and aims to solve the problem that interference exists between a 4G antenna and a 5G antenna in the communication process. The method comprises the following steps: under the condition that a first communication mode and a second communication mode of the electronic equipment work simultaneously, acquiring a first working parameter of a first antenna and a second working parameter of a second antenna; determining whether the signal transmitted by the first antenna generates interference on the signal received by the second antenna according to the first working parameter and the second working parameter; transmitting a signal of a first communication mode through a target antenna in a case where it is determined that interference is generated; the first antenna is used for sending signals of a first communication mode, and the second antenna is used for receiving signals of a second communication mode. The method and the device are applied to a scene of reducing interference between two communication modes.

Description

Antenna switching method and device, signal transceiving circuit and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to an antenna switching method, an antenna switching device, a signal transceiving circuit and electronic equipment.
Background
Currently, in a 5G non-independent (NSA) networking architecture, a signal transceiving end of a terminal device is generally configured with multiple antennas, and meanwhile, since a 4G base station and a 5G base station in the NSA networking architecture coexist, the signal transceiving end of the terminal device is generally configured with a 4G antenna and a 5G antenna, so that the terminal device can respectively transceive a 4G signal and a 5G signal through the 4G antenna and the 5G antenna.
However, due to the limited internal space of the terminal device, the distance between the 4G antenna and the 5G antenna in the terminal device is small, so that interference is generated between the 4G antenna and the 5G antenna, and further, a 4G signal received by the 4G antenna is distorted, or a 5G signal received by the 5G antenna is distorted.
For example, when a 4G antenna in the terminal device transmits a 4G signal and a 5G antenna receives a 5G signal, the 5G antenna in the terminal device receives the 5G signal and also receives an interference signal transmitted by the 4G antenna at the same time as the 5G signal due to interference between the 4G antenna and the 5G antenna, so that the 5G signal received by the 5G antenna is distorted.
Disclosure of Invention
The embodiment of the application aims to provide an antenna switching method, an antenna switching device, a signal transceiving circuit and electronic equipment, which can solve the problem that interference exists between a 4G antenna and a 5G antenna in a communication process.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an antenna switching method, where the method includes: under the condition that a first communication mode and a second communication mode of the electronic equipment work simultaneously, acquiring a first working parameter of a first antenna and a second working parameter of a second antenna; determining whether the signal transmitted by the first antenna generates interference on the signal received by the second antenna according to the first working parameter and the second working parameter; transmitting a signal of a first communication mode through a target antenna in a case where it is determined that interference is generated; the first antenna is used for sending signals of a first communication mode, and the second antenna is used for receiving signals of a second communication mode.
In a second aspect, an embodiment of the present application provides an antenna switching apparatus, where the apparatus includes: the device comprises an acquisition module, a determination module and an execution module; the electronic equipment comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a first working parameter of a first antenna and a second working parameter of a second antenna under the condition that a first communication mode and a second communication mode of the electronic equipment work simultaneously; the determining module is used for determining whether the signal sent by the first antenna interferes with the signal received by the second antenna according to the first working parameter and the second working parameter acquired by the acquiring module; an execution module, configured to send a signal of a first communication mode through the target antenna if the determination module determines that the interference is generated; the first antenna is used for sending signals of a first communication mode, and the second antenna is used for receiving signals of a second communication mode.
In a third aspect, an embodiment of the present application provides a signal transceiving circuit, including: the antenna comprises a processor, a first signal processing module, a second signal processing module, a first antenna, a second antenna, a third antenna, a fourth antenna and a first switch for switching the signal transmission directions of the third antenna and the fourth antenna; the first antenna is connected with the processor through a first signal processing module, and the second antenna is connected with the processor through a second signal processing module; the first port of the first switch is connected with the third antenna, the second port of the first switch is connected with the fourth antenna, the third port of the first switch is connected with the first signal processing module, and the fourth port of the first switch is connected with the second signal processing module; the processor is connected with the first switch and used for controlling the first switch to switch the signal transmission directions of the third antenna and the fourth antenna; the first signal processing module is used for processing signals of a first communication mode, and the second signal processing module is used for processing signals of a second communication mode.
In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a sixth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the present application, first, in the case that the antenna switching device operates in the first communication mode and the second communication mode of the electronic device simultaneously, the first operating parameter of the first antenna (for transmitting the signal in the first communication mode) and the second operating parameter of the second antenna (for receiving the signal in the second communication mode) may be acquired. Then, the antenna switching device may determine whether the signal transmitted by the first antenna interferes with the signal received by the second antenna according to the first operating parameter and the second operating parameter. Finally, the antenna switching means may transmit a signal of the first communication mode through the target antenna in a case where it is determined that the interference is generated. Through the scheme, the antenna switching device can respectively acquire the first working parameter of the first antenna and the second working parameter of the second antenna when the electronic equipment works in the first communication mode and the second communication mode. Then, if the antenna switching device determines that the signal sent by the first antenna will interfere with the signal received by the second antenna according to the first operating parameter and the second operating parameter, the antenna switching device may switch the first antenna to a target antenna, and send the signal in the first communication mode through the target antenna. Because the interference of the signal transmitted by the target antenna on the signal received by the second antenna is smaller than the interference of the signal transmitted by the first antenna on the signal received by the second antenna, the interference of the signal transmitted by the antenna switching device in the first communication mode on the signal received by the second communication mode can be reduced.
Drawings
Fig. 1 is a schematic structural diagram of a conventional signal transceiver according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of an antenna switching method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a signal transceiver circuit according to an embodiment of the present disclosure;
fig. 4 is a second schematic structural diagram of a signal transceiver circuit according to an embodiment of the present disclosure;
fig. 5 is a third schematic structural diagram of a signal transceiver circuit according to an embodiment of the present disclosure;
fig. 6 is a fourth schematic structural diagram of a signal transceiver circuit according to an embodiment of the present disclosure;
fig. 7 is a fifth schematic structural diagram of a signal transceiver circuit according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of an antenna switching apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 10 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. The objects distinguished by "first" and "second" are usually a group, and the number of the objects is not limited, and for example, the first object may be one or more. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
Fig. 1 is a schematic structural diagram of a typical 4G and 5G dual-connection signal transceiver. As shown in fig. 1, the signal transceiver 200 includes a transceiver 201, a 4G power amplification module 202, a 4G diversity receiving module 203, a 5G power amplification module 204, a first 5G receiving module 205, a second 5G receiving module 206, a third 5G receiving module 207, a first rf switch 208, a second rf switch 209, a first 4G antenna 210, a second 4G antenna 211, a first 5G antenna 212, a second 5G antenna 213, a third 5G antenna 214, and a fourth 5G antenna 215, where: the transceiver 201, the 4G power amplification module 202, the first radio frequency switch 208 and the first 4G antenna 210 are connected in sequence; the transceiver 201, the 4G diversity receiving module 203, the first rf switch 208, and the second 4G antenna 211 are sequentially connected; the transceiver 201, the 5G power amplification module 204, the second rf switch 209, and the first 5G antenna 212 are connected in sequence; the transceiver 201, the first 5G receiving module 205, the second rf switch 209 and the second 5G antenna 213 are connected in sequence; the transceiver 201, the second 5G receiving module 206 and the third 5G antenna 214 are connected in sequence; the transceiver 201, the third 5G receiving module 207, and the fourth 5G antenna 215 are connected in sequence.
For example, the transceiver 101 is used for receiving or transmitting 4G signals and receiving or transmitting 5G signals; the 4G power amplification module 202 is configured to perform power amplification, filtering, and other processing on the received or transmitted 4G signal; the 5G power amplification module 204 is configured to perform power amplification, filtering, and other processing on the received or transmitted 5G signal; the first rf switch 208 is used to switch the first 4G antenna 210 and the second 4G antenna 211; the second rf switch 209 is used to switch the first 5G antenna 212 and the second 5G antenna 213; the 4G diversity receiving module 203 is configured to perform power amplification, filtering, and other processing on the received 4G signal; the first 5G receiving module 205, the second 5G receiving module 206, and the third 5G receiving module 207 are respectively configured to perform power amplification, filtering, and other processing on the received 5G signal.
For example, taking the transceiver 201 as an example of transmitting 4G signals and receiving 5G signals and using the first 4G antenna 210 and the first 5G antenna 212 by default, the transceiver 201 generates a second harmonic (i.e. an interference signal) while generating a 4G original signal, i.e. the 4G signal generated by the transceiver 201 includes: the 4G original signal and the above interference signal, the first 4G antenna 210 will transmit the 4G signal to the corresponding 4G base station. Meanwhile, if the frequency of the interference signal is just within the receiving frequency band of the first 5G antenna 212 for receiving the 5G signal, the first 4G antenna 210 couples the interference signal to the first 5G antenna 212, so that the first 5G antenna 212 receives the 5G original signal and also receives the interference signal, which causes interference to the 5G original signal.
For example, when the electronic device operates in the 4G B3 frequency band (with frequencies from 1710MHz to 1785 MHz), it is assumed that the transceiver 201 generates a first harmonic with a frequency of 1750MHz and also generates a second harmonic with a frequency of 3500 MHz. If the electronic device operates in the 5G nq 78 frequency band (i.e. the frequency is 3300MHz to 3800 MHz), the frequency of the second harmonic is just in the frequency band of the electronic device receiving the 5G signal, so the terminal device receives the 5G signal and the second harmonic at the same time, and the second harmonic may cause interference to the 5G signal received by the electronic device.
To solve the above problem, an embodiment of the present application provides an antenna switching method, where first, when a first communication mode and a second communication mode of an electronic device operate simultaneously, an antenna switching apparatus may acquire a first operating parameter of a first antenna (for transmitting a signal in the first communication mode) and a second operating parameter of a second antenna (for receiving a signal in the second communication mode). Then, the antenna switching device may determine whether the signal transmitted by the first antenna interferes with the signal received by the second antenna according to the first operating parameter and the second operating parameter. Finally, the antenna switching means may transmit the signal of the first communication mode through the target antenna in a case where it is determined that the interference is generated. Through the scheme, the antenna switching device can respectively acquire the first working parameter of the first antenna and the second working parameter of the second antenna when the electronic equipment works in the first communication mode and the second communication mode. Then, if the antenna switching device determines that the signal sent by the first antenna interferes with the signal received by the second antenna according to the first operating parameter and the second operating parameter, the antenna switching device may switch the first antenna to a target antenna, and send the signal in the first communication mode through the target antenna. Because the interference of the signal transmitted by the target antenna on the signal received by the second antenna is smaller than the interference of the signal transmitted by the first antenna on the signal received by the second antenna, the interference of the signal transmitted by the antenna switching device in the first communication mode on the signal received by the second communication mode can be reduced.
The term "coupling" as used in the embodiments of the present application refers to the phenomenon that two or more circuit elements or inputs and outputs of an electrical network have a close fit and an interaction, and transfer energy from one side to the other side by interaction. For example, the process of coupling the interference signal to the 5G antenna by the 4G antenna is equivalent to the process of transmitting the interference signal to the 5G antenna by the 4G antenna.
The antenna switching method provided in the embodiments of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 2 is a schematic flowchart of an antenna switching method according to an embodiment of the present application, including steps 301 to 303:
step 301: the antenna switching device acquires a first working parameter of the first antenna and a second working parameter of the second antenna under the condition that the first communication mode and the second communication mode of the electronic equipment work simultaneously.
The first antenna is used for transmitting signals in a first communication mode, and the second antenna is used for receiving signals in a second communication mode.
In this embodiment of the present application, the electronic device may be an antenna switching device, and may also be a device including an antenna switching device, which is not limited in this embodiment of the present application.
In an embodiment of the present application, the electronic device may include at least three antennas, where the at least three antennas include a first antenna, a second antenna, and a target antenna described below.
In the embodiment of the present application, the first communication mode may be any one of the following: 2G, 3G, 4G and 5G. The second communication mode may be any one of the following: 2G, 3G, 4G and 5G.
In the embodiment of the present application, the first communication mode and the second communication mode are different communication modes. For example, if the first communication mode is 4G, the second communication mode is 5G; if the first communication mode is 5G, the second communication mode is 4G.
It should be noted that the electronic device may support the first communication mode and the second communication mode, and since no interference is generated when the electronic device operates only in the first communication mode or only in the second communication mode, the antenna switching device may determine the operating state of the electronic device, and if the electronic device needs to operate in both the first communication mode and the second communication mode, step 301 to step 303 are executed.
In an embodiment of the present invention, the first antenna is an antenna corresponding to a first communication mode, and the second antenna is an antenna corresponding to a second communication mode. For example, the first antenna may be a 4G antenna if the first communication mode is 4G, and the second antenna may be a 5G antenna if the second communication mode is 5G.
If the first communication mode is 4G and the electronic device corresponds to a plurality of 4G antennas, the first antenna may be any one of the plurality of 4G antennas. If the second communication mode is 5G and the electronic device corresponds to a plurality of 5G antennas, the second antenna may be any one of the plurality of 5G antennas.
In an embodiment of the present application, the first operating parameter of the first antenna may include at least one of: the working frequency band parameter of the first antenna and the channel parameter of the first antenna. The second operating parameter of the second antenna may include at least one of: the working frequency band parameter of the second antenna and the channel parameter of the second antenna.
For example, the operating band parameter in the present application may be an identifier of an operating band, where the identifier of the operating band may include at least one of: name of the operating band, frequency of the operating band. For example, the operating band name of the first antenna may be B3, and the operating band name of the second antenna may be N78.
It should be noted that there may be one or multiple working frequency bands corresponding to the first antenna, and the embodiment of the present application is not limited thereto. For example, the operating frequency band corresponding to the first antenna may be B3 or B8.
It should be noted that there may be one or more operating frequency bands corresponding to the second antenna, and the embodiment of the present application is not limited thereto. For example, the operating frequency band corresponding to the second antenna may be N78, and may also be N79.
For example, the channel parameter in the present application may be an identifier of a channel, where the identifier of the channel may include at least one of: channel name, frequency of the channel.
It should be understood that the frequency in this application may be one frequency or a frequency range, and this is not limited in this embodiment of the application.
It should be noted that there may be one or multiple channels corresponding to the first antenna, and the embodiment of the present application is not limited thereto. One or more channels may be provided for the second antenna, which is not limited in this embodiment of the present application.
Step 302: and the antenna switching device determines whether the signal transmitted by the first antenna interferes with the signal received by the second antenna according to the first working parameter and the second working parameter.
In the embodiment of the application, under the condition that the first working parameter and the second working parameter are matched with the preset working parameter, the antenna switching device determines that the signal sent by the first antenna generates interference on the signal received by the second antenna; and under the condition that the first working parameter and the second working parameter are matched with the preset working parameter, the antenna switching device determines that the signal sent by the first antenna does not interfere with the signal received by the second antenna.
The preset working parameters may be set by default in the system or by a user, which is not limited in the embodiment of the present application. Illustratively, the preset operating parameters may include at least one of: presetting working frequency band parameters and channel parameters.
For example, after acquiring the first operating parameter and the second operating parameter, the antenna switching device may determine, according to the target table, whether the signal transmitted by the first antenna interferes with the signal received by the second antenna. The target table includes the preset operating parameters.
The target table may be set by default in the system, or may be set by the user, which is not limited in the embodiment of the present application.
For example, the target table may indicate an operating parameter capable of generating interference, and may also indicate an operating parameter incapable of generating interference, which is not limited in this embodiment of the present application.
For example, the data included in the target table may be obtained through experiments.
In an example, in a case that the preset operating parameter includes a preset operating frequency band parameter, the preset operating parameter may be a preset operating frequency band parameter combination. Specifically, the preset operating band parameter combination may include an operating band parameter combination capable of generating interference. For example, the preset operating band combination may include a 4G operating band name B3 and a 5G operating band name N78.
For example, after the antenna switching device obtains the operating frequency band name B3 of the first antenna and the operating frequency band name N78 of the second antenna, the antenna switching device may perform a search in the target table, and if the target table includes the operating frequency band name B3 and the operating frequency band name N78, it is determined that the signal transmitted by the first antenna may generate interference on the signal received by the second antenna.
In one example, in a case that the preset operating parameter includes a preset channel parameter, the preset operating parameter may be a preset channel parameter combination. The predetermined channel parameter combinations may include combinations that are capable of generating interference channel parameters. For example, the preset channel parameters may include a channel name a00 corresponding to the frequency band B3 and a channel name B00 corresponding to the frequency band N78.
For example, after the antenna switching apparatus obtains the channel name of the first antenna as a00 and the channel name of the second antenna as B00, the antenna switching apparatus may perform a lookup in the target table, and if the target table includes the channel name a00 and the channel name B00, it is determined that the signal transmitted by the first antenna may generate interference on the signal received by the second antenna.
It should be noted that the target table may include, in addition to the preset operating parameters, identifiers of all antennas included in the electronic device that may generate interference. For example, the identifier of the antenna may be an antenna name, an antenna number, or any identifier capable of identifying the antenna, which is not limited in this embodiment of the application.
Illustratively, table 1 is a possible 4G antenna and 5G antenna interference lookup table.
Figure BDA0002754065910000091
TABLE 1
Step 303: the antenna switching device transmits a signal of the first communication mode through the target antenna in a case where it is determined that the interference is generated.
In this embodiment, the target antenna may be a newly added antenna or an existing antenna, which is not limited in this embodiment. For example, the target antenna may be a 4G antenna or a 5G antenna.
In the embodiment of the present application, the interference generated by the target antenna for transmitting the signal in the first communication mode to the second antenna for receiving the signal in the second communication mode is smaller than the interference generated by the first antenna for transmitting the signal in the first communication mode to the second antenna for receiving the signal in the second communication mode.
In one example, the above-mentioned target antenna transmitting the signal of the first communication mode does not interfere with the second antenna receiving the signal of the second communication mode.
It is understood that the antenna switching device may switch the first antenna to a target antenna and transmit the signal of the first communication mode through the target antenna in the case where it is determined that the interference is generated.
It should be noted that the antenna switching device may not perform any operation when it is determined that the signal transmitted by the first antenna does not interfere with the signal received by the second antenna.
For example, referring to table 1, taking the first communication mode as 4G and the second communication mode as 5G as an example, when the mobile phone is powered on, the 4G communication is defaulted to operate in the B3 frequency band, and the antenna ANT0 is used; the 5G communication operates in the N78 band using an antenna ANT2. When the mobile phone detects that the current 4G and 5G work simultaneously, the mobile phone may obtain the channel name a00 of the antenna ANT0 and the working frequency band name N78 of the antenna ANT2. Then, the handset may perform matching in the frequency band name combination corresponding to the list of ANT0 and ANT2 in the interference lookup table. If the preset frequency band name combination is matched, it indicates that the mobile phone uses the antenna ANT0 and the antenna ANT2, and the 4G communication works in the B3 frequency band and the 5G communication works in the N78 frequency band, which may generate interference. At this time, the mobile phone may query whether the antennas ANT0' and ANT2 that may also transmit the 4G signal exist in the interference lookup table, and if not, the mobile phone may switch the antenna ANT0 to the antenna ANT0', and transmit the 4G signal through the antenna ANT0 '.
In the antenna switching method provided in the embodiment of the present application, first, in a case that the antenna switching device operates in the first communication mode and the second communication mode of the electronic device simultaneously, the antenna switching device may acquire a first operating parameter of the first antenna (for transmitting a signal in the first communication mode) and a second operating parameter of the second antenna (for receiving a signal in the second communication mode). Then, the antenna switching device may determine whether the signal transmitted by the first antenna interferes with the signal received by the second antenna according to the first operating parameter and the second operating parameter. Finally, the antenna switching means may transmit a signal of the first communication mode through the target antenna in a case where it is determined that the interference is generated. Through the scheme, the antenna switching device can respectively acquire the first working parameter of the first antenna and the second working parameter of the second antenna under the condition that the electronic equipment works in the first communication mode and the second communication mode. Then, if the antenna switching device determines that the signal sent by the first antenna interferes with the signal received by the second antenna according to the first operating parameter and the second operating parameter, the antenna switching device may switch the first antenna to a target antenna, and send the signal in the first communication mode through the target antenna. Because the interference of the signal transmitted by the target antenna on the signal received by the second antenna is smaller than the interference of the signal transmitted by the first antenna on the signal received by the second antenna, the interference of the signal transmitted by the antenna switching device in the first communication mode on the signal received by the second communication mode can be reduced.
Optionally, in this embodiment of the present application, since the first antenna and the second antenna may correspond to a plurality of operating frequency bands, each operating frequency band may correspond to a plurality of channels, and the antenna switching device may not generate interference when receiving and transmitting signals on the plurality of channels. Therefore, the antenna switching device may further compare the channel parameters corresponding to the operating frequency band after determining the operating frequency band parameters.
Illustratively, the step 302 may specifically include the following steps 302a and 302b:
step 302a: and the antenna switching device acquires the target channel parameters under the condition that the target working frequency band parameters are matched with the preset frequency band parameters.
The target working frequency band parameter is a working frequency band parameter of the first antenna and a working frequency band parameter of the second antenna; the target channel parameters are channel parameters of the first antenna and channel parameters of the second antenna.
For example, in the case that the target operating frequency band parameter is an operating frequency band parameter of the first antenna and an operating frequency band parameter of the second antenna, the preset operating frequency band parameter may be a combination of the preset operating frequency band parameters.
Illustratively, the target channel parameter is a channel parameter corresponding to the target operating frequency band parameter.
It should be noted that, in the case that the target operating band parameter does not match the preset band parameter, the antenna switching apparatus may not perform any operation.
Step 302b: and the antenna switching device determines that the signal sent by the first antenna generates interference on the signal received by the second antenna under the condition that the target channel parameter is matched with the preset channel parameter.
For example, in the case that the target channel parameter is a channel parameter of the first antenna and a channel parameter of the second antenna matched, the preset channel parameter may be a combination of the preset channel parameters described above.
For example, after determining the target operating frequency band parameter, the antenna switching apparatus may determine whether the target operating frequency band parameter matches the preset frequency band parameter according to the target table. Then, the antenna switching apparatus may continue to determine whether the target channel parameter matches the preset channel parameter according to the target table.
For example, referring to table 1, taking the first communication mode as 4G and the second communication mode as 5G as an example, when the mobile phone is powered on, the 4G communication is defaulted to operate in the B3 frequency band, and the antenna ANT0 is used; the 5G communication operates in the N78 band using an antenna ANT2. When the mobile phone detects that the current 4G and 5G work simultaneously, the mobile phone may obtain the working frequency band name B3 of the antenna ANT0 and the working frequency band name N78 of the antenna ANT2. Then, the handset may perform matching in the frequency band name combination corresponding to the list of ANT0 and ANT2 in the interference lookup table. If the preset frequency range name combination is matched, it is indicated that the mobile phone uses the antenna ANT0 and the antenna ANT2, and interference may be generated when the 4G communication works in the B3 frequency range and the 5G communication works in the N78 frequency range, and then the mobile phone obtains the channel name a00 of the antenna ANT0 and the channel name B00 of the antenna ANT2. Then, if the mobile phone matches in the channel name combination corresponding to the B3 frequency band and the N78 frequency band combination in the interference lookup table, if the preset channel name combination is matched, it indicates that the mobile phone uses the antenna ANT0 and the antenna ANT2, and interference occurs when the 4G communication works in the B3 frequency band and the 5G communication works in the N78 frequency band.
It should be noted that, in the case where the target channel parameter is the channel parameter of the first antenna and the channel parameter of the second antenna, the antenna switching device may not perform any operation.
The antenna switching method provided by the embodiment of the application can be applied to a scene of improving accuracy of judging interference, a plurality of working frequency bands correspond to a first antenna and a second antenna, each working frequency band can correspond to a plurality of channels, an antenna switching device can roughly judge whether a combination of a working frequency band parameter of the first antenna and a working frequency band parameter of the second antenna generates interference or not, if the interference is likely to be generated, the antenna switching device obtains a combination of a channel parameter of the first antenna and a channel parameter of the second antenna to perform fine judgment, and under the condition that a target channel parameter is matched with a preset channel parameter, the antenna switching device determines that a signal sent by the first antenna generates interference on a signal received by the second antenna, so that the accuracy of judgment can be improved.
Optionally, in this embodiment of the application, when the electronic device further includes a plurality of antennas in addition to the first antenna and the second antenna, the antenna switching device further needs to determine the target antenna from the plurality of antennas.
Illustratively, after determining that the signal transmitted by the first antenna interferes with the signal received by the second antenna in step 303b, the method may further include the following step A1:
step A1: the antenna switching device determines a target antenna that satisfies a switching condition from among antennas other than the first antenna and the second antenna in the electronic apparatus.
Wherein the handover condition indicates: in the case where the target antenna transmits the signal of the first communication mode, the degree of signal interference to the second antenna for receiving the signal of the second communication mode is minimized.
In one example, in the case that the target antenna transmits the signal in the first communication mode, the minimum signal interference degree for the second antenna to receive the signal in the second communication mode is: the target antenna transmits the signal of the first communication mode, and the second antenna does not generate interference for receiving the signal of the second communication mode.
Illustratively, the target antenna satisfying the handover condition is any one of: an antenna with channel parameters not matched with target preset channel parameters; and under the condition that the channel parameters of all antennas except the first antenna and the second antenna in the electronic equipment are matched with the preset channel parameters, the antenna with the minimum interference degree on the second antenna. When all antennas except the second antenna in the electronic device send signals, an error value between a signal received by the second antenna and an original signal may represent an interference degree to the second antenna, where a larger error value represents a stronger interference degree to the second antenna, and conversely, a weaker interference degree to the second antenna.
It can be understood that when the channel parameter of only one antenna in all antennas except the first antenna and the second antenna in the electronic device does not match with the target preset channel parameter, the antenna is the target antenna.
In one example, the antennas satisfying the switching condition include at least two antennas; the target antenna is an antenna satisfying a predetermined condition among the at least two antennas.
Wherein the predetermined condition comprises at least one of: the received signal has the strongest signal strength, the highest signal integrity and the best signal quality.
Example 1, when the at least two antennas whose channel parameters do not match the target preset channel parameters include at least two antennas, the target antenna of the antenna switching apparatus is an antenna with the strongest signal strength of the received signal of the at least two antennas.
Example 2, in the case that the channel parameters of all antennas except the first antenna and the second antenna in the electronic device are matched with the preset channel parameters, when at least two antennas with the minimum interference degree to the second antenna are included, that is, the interference degrees of the at least two antennas to the second antenna are the minimum and the same, the target antenna is an antenna with the strongest received signal strength among the at least two antennas.
For example, the signal strength of the received signal may be determined by a Received Signal Strength Indication (RSSI). The larger the RSSI value is, the stronger the signal strength of the antenna reception signal is, and conversely, the weaker the signal strength of the antenna reception signal is.
It is to be understood that the predetermined condition is that the signal strength of the received signal is strongest, i.e. the predetermined condition is that the value of the received signal strength indication is maximum.
The antenna switching method provided by the embodiment of the application can be applied to a scene that a target antenna is determined from a plurality of antennas, and the antenna switching device can determine an antenna which transmits a signal in a first communication mode and has the smallest interference on a second antenna to receive a signal in a second communication mode as the target antenna.
Optionally, in this embodiment of the present application, after step 303, the method may further include the following steps: the antenna switching device may re-determine the first communication mode and the second communication mode of the electronic device when detecting that the electronic device switches channels or cells, and may re-acquire the operating parameters of the target antenna and the operating parameters of the second antenna when the first communication mode and the second communication mode of the electronic device operate simultaneously, and then may determine whether a signal transmitted by the target antenna interferes with a signal received by the second antenna according to the operating parameters of the target antenna and the operating parameters of the second antenna. Finally, the antenna switching means transmits the signal of the first communication mode through the antenna newly determined in the case where it is determined that the interference is generated. For a specific determination process, reference may be made to the description of determining a target antenna in the embodiment of the present application, and details are not described here. By analogy, the antenna switching device can perform the above steps each time the electronic device is detected to switch channels or cells, so that the communication interference can be reduced.
It should be noted that the antenna switching apparatus may detect a cell or a channel where the electronic device is currently located according to a predetermined time interval, and determine whether the electronic device switches the cell or the channel by comparing the cell or the channel detected last time.
It should be noted that the antenna switching apparatus may maintain the current antenna configuration when detecting that the electronic device does not switch channels or cells.
Fig. 3 is a schematic structural diagram of a possible signal transceiver circuit according to an embodiment of the present disclosure, and as shown in fig. 3, the signal transceiver circuit 400 includes: the antenna comprises a processor 401, a first signal processing module 402, a second signal processing module 403, a first antenna 404, a second antenna 405, a third antenna 406, a fourth antenna 407 and a first switch 408 for switching the signal transmission direction of the third antenna 406 and the fourth antenna 407.
The first antenna 404 is connected to the processor 401 through the first signal processing module 402, and the second antenna 405 is connected to the processor 401 through the second signal processing module 403; the first port 408a of the first switch 408 is connected to the third antenna 406, the second port 408b of the first switch 408 is connected to the fourth antenna 407, the third port 408c of the first switch 408 is connected to the first signal processing module 402, and the fourth port 408d of the first switch 408 is connected to the second signal processing module 403.
The processor 401 is connected to the first switch 408, and is configured to control the first switch 408 to switch the signal transmission directions of the third antenna 406 and the fourth antenna 407.
The first signal processing module 402 is configured to process signals in a first communication mode, and the second signal processing module 403 is configured to process signals in a second communication mode.
In this embodiment of the application, the first signal processing module 402 may be a 4G signal processing module, and may also be a 5G signal processing module; the second signal processing module 403 may be a 5G signal processing module or a 4G signal processing module, which is not limited in this embodiment.
In addition, when the first signal processing module 402 is a 4G signal processing module, the second signal processing module 403 is a 5G signal processing module; in the case where the first signal processing module 402 is a 5G signal processing module, the second signal processing module 403 is a 4G signal processing module.
It can be understood that, when the first signal processing module 402 is a 4G signal processing module and the second signal processing module 403 is a 5G signal processing module, the first communication mode is a 4G communication mode, the second communication mode is a 5G communication mode, the signal of the first communication mode is a 4G signal, and the signal of the second communication mode is a 5G signal; alternatively, when the first signal processing module 402 is a 5G signal processing module and the second signal processing module 403 is a 4G signal processing module, the first communication mode is a 5G communication mode, the second communication mode is a 4G communication mode, the signal in the first communication mode is a 5G signal, and the signal in the second communication mode is a 4G signal.
Illustratively, the processing of the signal of the first communication mode described above may include at least one of: receiving a signal of a first communication mode, transmitting the signal of the first communication mode, amplifying the signal of the first communication mode, and performing filtering on the signal of the first communication mode. The aforementioned processing the signal of the second communication mode may include at least one of: receiving a signal of the second communication mode, transmitting the signal of the second communication mode, amplifying the signal of the second communication mode, and performing filtering on the signal of the second communication mode.
It should be noted that, the processing of the signal in the first communication mode includes, but is not limited to, the four processing manners described above; the above-mentioned processing of the signal of the second communication mode includes, but is not limited to, the above-mentioned four processing manners.
In the embodiment of the present application, the first switch 408 is used to switch the signal transmission directions of the third antenna 406 and the fourth antenna 407. For example, when the transceiver circuit 400 transmits a 4G signal through the third antenna 406 and receives a 5G signal through the fourth antenna 407, the transceiver circuit 400 may switch the signal transmission directions of the third antenna 406 and the fourth antenna 407 through the first switch 408, that is, the transceiver circuit 400 may receive the 5G signal through the third antenna 406 and transmit the 4G signal through the fourth antenna 407.
For example, the switch in the present application may be a multi-pole, multi-throw switch. Such as a double pole double throw switch, or a triple pole triple throw switch.
Alternatively, in this embodiment, the first switch 408 is a double-pole double-throw switch, the first port 408a of the first switch 408 can be a first movable end of the first switch 408, the second port 408b of the first switch 408 can be a second movable end of the first switch 408, the third port 408c of the first switch 408 can be a first fixed end of the first switch 408, and the fourth port 408d of the first switch 408 can be a second fixed end of the first switch 408.
It should be noted that, in addition to the port configuration described above, the first switch 408 may also switch the signal transmission directions of the third antenna 406 and the fourth antenna 407 according to other configuration manners. For example, the first port 408a of the first switch 408 may be a first fixed terminal of the first switch 408, the second port 408b of the first switch 408 may be a second fixed terminal of the first switch 408, the third port 408c of the first switch 408 is a first movable terminal of the first switch 408, and the fourth port 408d of the first switch 408 is a second movable terminal of the first switch 408.
Optionally, in conjunction with fig. 3, as shown in fig. 4, the first signal processing module 402 includes: the first transceiver 4021, the first power amplification module 4022, the first receiving module 4023, and the first radio frequency switch 4024 for switching the signal transmission direction of the first antenna 404 and the third antenna 406.
The first transceiver 4021 is connected to the processor 401, an output 4021b of the first transceiver 4021 is connected to an input 4022a of the first power amplifying module 4022, a first input 4021a1 of the first transceiver 4021 is connected to an output 4022b of the first power amplifying module 4022, and a second input 4021a2 of the first transceiver 4021 is connected to an output 4023b of the first receiving module 4023.
The first port 4024a of the first radio frequency switch 4024 is connected to the first power amplification module 4022, the second port 4024b of the first radio frequency switch 4024 is connected to the input terminal 4023a of the first receiving module 4023, the third port 4024c of the first radio frequency switch 4024 is connected to the first antenna 404, and the fourth port 4024d of the first radio frequency switch 4024 is connected to the first port 408a of the first switch 408.
The processor 401 is connected to the first radio frequency switch 4024, and is configured to control the first radio frequency switch 4024 to switch the signal transmission directions of the first antenna 404 and the third antenna 406.
Illustratively, the first transceiver 4021 is configured to receive or transmit a signal in a first communication mode; the first power amplifying module 4022 is configured to perform power amplification, filtering, and other processing on the received or transmitted signal in the first communication mode; the first receiving module 4023 is configured to perform power amplification and filtering on the received 4G signal.
For example, the first radio frequency switch 4024 may be a double-pole double-throw switch, the first port 4024a of the first radio frequency switch 4024 may be a first movable end of the first radio frequency switch 4024, the second port 4024b of the first radio frequency switch 4024 may be a second movable end of the first radio frequency switch 4024, the third port 4024c of the first radio frequency switch 4024 may be a first fixed end of the first radio frequency switch 4024, and the fourth port 4024d of the first radio frequency switch 4024 may be a second fixed end of the first radio frequency switch 4024.
It should be noted that, in addition to the port configuration manner described above, the first radio frequency switch 4024 may also achieve the purpose of switching the signal transmission direction of the third antenna 406 and the first antenna 404 in other configuration manners. For example, the first port 4024a of the first rf switch 4024 may be a first fixed end of the first rf switch 4024, the second port 4024b of the first rf switch 4024 may be a second fixed end of the first rf switch 4024, the third port 4024c of the first rf switch 4024 may be a first movable end of the first rf switch 4024, and the fourth port 4024d of the first rf switch 4024 may be a second movable end of the first rf switch 4024.
Optionally, on the basis of the structure of the signal transceiving circuit shown in fig. 3 or fig. 4, as shown in fig. 5, the second signal processing module 403 includes: a second transceiver 4031, a second power amplification module 4032, a second receiving module 4033, a third receiving module 4034, and a second radio frequency switch 4035 for switching a signal transmission direction of the second antenna 405.
The second transceiver 4031 is connected to the processor 401, an output 4031b of the second transceiver 4031 is connected to an input 4032a of the second power amplification module 4032, a first input 4031a1 of the second transceiver 4031 is connected to an output 4032b of the second power amplification module 4032, a second input 4031a2 of the second transceiver 4031 is connected to an output 4033b of the second reception module 4033, a third input 4031a3 of the second transceiver 4031 is connected to an output 4034b of the third reception module 4034, and an input 4034a of the third reception module 4034 is connected to the second port 408b of the first switch 408.
The first port 4035a of the second radio frequency switch 4035 is connected to the second power amplification module 4032, the second port 4035b of the second radio frequency switch 4035 is connected to the input 4033a of the second reception module 4033, and the third port 4035c of the second radio frequency switch 4035 is connected to the second antenna 405.
The processor 401 is connected to the second rf switch 4035, and is configured to control the second rf switch 4035 to switch a signal transmission direction of the second antenna 405.
Illustratively, the second transceiver 4031 is used for receiving or transmitting signals in the second communication mode; the second power amplification module 4032 is configured to perform power amplification, filtering, and other processing on a received or transmitted signal in the second communication mode; the second receiving module 4033 and the third receiving module 4034 are both used for performing processing such as power amplification and filtering on the received signal in the second communication mode.
Further optionally, with reference to fig. 5, as shown in fig. 6, the signal transceiver circuit 400 further includes: a fifth antenna 409 and a sixth antenna 410; the second signal processing module 403 further includes: a fourth receiving module 4036; a fourth port 4035d of the second rf switch 4035 is connected to the fifth antenna 409; an output 4036b of the fourth receiving module 4036 is connected to a fourth input 4031a4 of the second transceiver 4031, and an input 4036a of the fourth receiving module 4036 is connected to the sixth antenna 410. The processor 401 is connected to the second radio frequency switch 4035, and is configured to control the second radio frequency switch 4035 to switch the signal transmission directions of the second antenna 405 and the fifth antenna 409.
For example, the second radio frequency switch 4035 may be a double-pole double-throw switch, and the port configuration of the second radio frequency switch 4035 may specifically refer to the description of the port configurations of the first switch 408 and the first radio frequency switch 4024 in this embodiment, which is not described herein again.
The following is an exemplary description of the operating principle of the signal transceiver circuit provided in the embodiment of the present invention.
Referring to fig. 6, as shown in fig. 7, fig. 7 is a schematic structural diagram of a possible signal transceiver circuit with dual connections of 4G and 5G according to an embodiment of the present disclosure. Taking the example that the first signal processing module 402 is a 4G signal processing module, the second signal processing module 403 is a 5G signal processing module, the first antenna 404 is a first 4G antenna, the second antenna 405 is a first 5G antenna, the third antenna 406 is a second 4G antenna, the fourth antenna 407 is a second 5G antenna, the fifth antenna 409 is a third 5G antenna, and the sixth antenna 410 is a fourth 5G antenna, wherein: the 4G signal processing module 402 includes: 4G transceivers 4021,4G power amplification modules 4022,4G diversity reception module 4023 and a first radio frequency switch 4024; the 5G signal processing module 403 includes: a 5G transceiver 4031, a 5g power amplification module 4032, a first 5G reception module 4033, a second 5G reception module 4034, a third 5G reception module 4036, and a second radio frequency switch 4035.
Illustratively, the 4G transceiver 4021 is configured to receive or transmit a 4G signal, and the 5G transceiver 4031 is configured to receive or transmit a 5G signal. In the case where the 4G communication mode and the 5G communication mode of the electronic device operate simultaneously, for example, the electronic device transmits a 4G signal through the first 4G antenna 404 and receives a 5G signal through the first 5G antenna 405. At this time, the processor 401 may control the first radio frequency switch 4024 to communicate with the first 4G antenna 404 and the 4G diversity reception module 4023, and control the first radio frequency switch 4024 and the first switch 408 to communicate with the 4G power amplification module 4022 and the second 5G antenna 407, when determining that the 4G signal transmitted by the first 4G antenna 404 interferes with the 5G signal received by the first 5G antenna 405, the 4G signal transmitted by the second 4G antenna 406 also interferes with the 5G signal received by the first 5G antenna 405, and the 4G signal transmitted by the second 5G antenna 407 does not interfere with the 5G signal received by the first 5G antenna 405. Meanwhile, the processor 401 may control the first switch 408 to communicate the second 5G receiving module 4034 and the second 4G antenna 406. At this time, the electronic device may transmit the 4G signal through the second 5G antenna 407 without generating interference with the 5G signal received through the first 5G antenna 405.
Optionally, an embodiment of the present invention provides an electronic device, where the electronic device includes the signal transceiver circuit, and the description of the specific structure of the signal transceiver circuit may refer to the specific description in the foregoing embodiment, and is not repeated here.
It should be noted that, in the antenna switching method provided in the embodiment of the present application, the execution main body may be an antenna switching apparatus, or a control module used for executing the antenna switching method in the antenna switching apparatus. In the embodiment of the present application, an antenna switching method executed by an antenna switching apparatus is taken as an example to describe the antenna switching apparatus provided in the embodiment of the present application.
Fig. 8 is a schematic structural diagram of an antenna switching apparatus for implementing the embodiment of the present application, and as shown in fig. 8, an antenna switching apparatus 500 includes: an obtaining module 501, a determining module 502 and an executing module 503, wherein: an obtaining module 501, configured to obtain a first working parameter of a first antenna and a second working parameter of a second antenna when a first communication mode and a second communication mode of an electronic device work simultaneously; a determining module 502, configured to determine whether a signal sent by the first antenna interferes with a signal received by the second antenna according to the first working parameter and the second working parameter acquired by the acquiring module 501; an executing module 503, configured to send a signal of the first communication mode through the target antenna in the case that the determining module 502 determines that the interference is generated; the first antenna is used for sending signals of a first communication mode, and the second antenna is used for receiving signals of a second communication mode.
Optionally, the obtaining module 501 is further configured to obtain a target channel parameter when the target operating frequency band parameter is matched with the preset frequency band parameter; a determining module 502, configured to determine that a signal sent by a first antenna interferes with a signal received by a second antenna when the target channel parameter obtained by the obtaining module 501 is matched with a preset channel parameter; the target working frequency range parameter is a working frequency range parameter of the first antenna and a working frequency range parameter of the second antenna; the target channel parameters are channel parameters of the first antenna and channel parameters of the second antenna.
Optionally, the determining module 502 is further configured to determine a target antenna that meets the handover condition from antennas of the electronic device other than the first antenna and the second antenna; wherein the handover condition indicates: in the case where the target antenna transmits a signal of the first communication mode, the signal of the first communication mode minimally interferes with the signal of the second communication mode received by the second antenna.
Optionally, the target antenna satisfying the handover condition is any one of: an antenna with channel parameters not matched with target preset channel parameters; and under the condition that the channel parameters of all antennas except the first antenna and the second antenna in the electronic equipment are matched with the preset channel parameters, the antenna with the minimum interference degree on the second antenna.
Optionally, the antennas meeting the switching condition include at least two antennas; the target antenna is an antenna satisfying a predetermined condition that a value of the received signal strength indication is maximum among the at least two antennas.
In the antenna switching apparatus provided in the embodiment of the present application, first, under the condition that the first communication mode and the second communication mode of the electronic device operate simultaneously, the antenna switching apparatus may acquire a first operating parameter of the first antenna (for transmitting a signal in the first communication mode) and a second operating parameter of the second antenna (for receiving a signal in the second communication mode). Then, the antenna switching device may determine whether the signal transmitted by the first antenna interferes with the signal received by the second antenna according to the first operating parameter and the second operating parameter. Finally, the antenna switching means may transmit a signal of the first communication mode through the target antenna in a case where it is determined that the interference is generated. Through the scheme, the antenna switching device can respectively acquire the first working parameter of the first antenna and the second working parameter of the second antenna under the condition that the electronic equipment works in the first communication mode and the second communication mode. Then, if the antenna switching device determines that the signal sent by the first antenna interferes with the signal received by the second antenna according to the first operating parameter and the second operating parameter, the antenna switching device may switch the first antenna to a target antenna, and send the signal in the first communication mode through the target antenna. Because the interference of the signal transmitted by the target antenna on the signal received by the second antenna is smaller than the interference of the signal transmitted by the first antenna on the signal received by the second antenna, the interference of the signal transmitted by the antenna switching device in the first communication mode on the signal received by the second communication mode can be reduced.
The antenna switching device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiment of the present application is not particularly limited.
The antenna switching device in the embodiment of the present application may be a signal processing device, or may be a module in the signal processing device, which is not limited in the embodiment of the present application.
The antenna switching device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The antenna switching device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 2, and is not described here again to avoid repetition.
The antenna switching device provided in the embodiment of the present application may include the signal transceiver circuit described above, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 9, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the above-mentioned antenna switching method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 110 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 10 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The processor 110 is configured to, in a case that a first communication mode and a second communication mode of the electronic device work simultaneously, obtain a first operating parameter of the first antenna and a second operating parameter of the second antenna; determining whether the signal sent by the first antenna generates interference on the signal received by the second antenna according to the first working parameter and the second working parameter; and transmitting a signal of the first communication mode through the target antenna in a case where it is determined that the interference is generated; the first antenna is used for sending signals of a first communication mode, and the second antenna is used for receiving signals of a second communication mode.
Optionally, the processor 110 is further configured to obtain a target channel parameter when the target operating frequency band parameter is matched with the preset frequency band parameter; the processor 110 is specifically configured to determine that a signal sent by the first antenna interferes with a signal received by the second antenna when the target channel parameter matches the preset channel parameter; the target working frequency range parameter is a working frequency range parameter of the first antenna and a working frequency range parameter of the second antenna; the target channel parameters are channel parameters of the first antenna and channel parameters of the second antenna.
Optionally, the processor 110 is further configured to determine a target antenna that meets the handover condition from antennas other than the first antenna and the second antenna in the electronic device; wherein the handover condition indicates: in the case where the target antenna transmits the signal of the first communication mode, the signal of the first communication mode minimally interferes with the signal of the second communication mode received by the second antenna.
Optionally, the target antenna satisfying the handover condition is any one of the following: an antenna with channel parameters not matched with target preset channel parameters; and under the condition that the channel parameters of all antennas except the first antenna and the second antenna in the electronic equipment are matched with the preset channel parameters, the antenna with the minimum interference degree on the second antenna.
Optionally, the antennas meeting the switching condition include at least two antennas; the target antenna is an antenna satisfying a predetermined condition that a value of the received signal strength indication is maximum among the at least two antennas.
First, when the electronic device operates in the first communication mode and the second communication mode of the electronic device simultaneously, the electronic device may acquire a first operating parameter of the first antenna (for transmitting a signal in the first communication mode) and a second operating parameter of the second antenna (for receiving a signal in the second communication mode). Then, the electronic device may determine whether the signal transmitted by the first antenna interferes with the signal received by the second antenna according to the first operating parameter and the second operating parameter. Finally, the electronic device may transmit a signal of the first communication mode through the target antenna if it is determined that interference is generated. Through the scheme, the electronic equipment can respectively acquire the first working parameter of the first antenna and the second working parameter of the second antenna under the condition that the electronic equipment works in the first communication mode and the second communication mode. Then, if the electronic device determines that the signal sent by the first antenna interferes with the signal received by the second antenna according to the first operating parameter and the second operating parameter, the electronic device may switch the first antenna to a target antenna, and send the signal in the first communication mode through the target antenna. Because the interference of the signal transmitted by the target antenna on the signal received by the second antenna is smaller than the interference of the signal transmitted by the first antenna on the signal received by the second antenna, the interference of the signal transmitted by the electronic equipment in the first communication mode on the signal received by the second communication mode can be reduced.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the embodiment of the antenna switching method is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above antenna switching method embodiment, and can achieve the same technical effect, and is not described here again to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (17)

1. A signal transceiving circuit, comprising: the antenna comprises a processor, a first signal processing module, a second signal processing module, a first antenna, a second antenna, a third antenna, a fourth antenna and a first switch for switching the signal transmission directions of the third antenna and the fourth antenna, wherein the first signal processing module comprises a first radio frequency switch for switching the signal transmission directions of the first antenna and the third antenna;
the first antenna is connected with the processor through the first signal processing module, and the second antenna is connected with the processor through the second signal processing module;
a first port of the first switch is connected with the third antenna, a second port of the first switch is connected with the fourth antenna, a third port of the first switch is connected with the first signal processing module, and a fourth port of the first switch is connected with the second signal processing module;
the processor is connected with the first switch and used for controlling the first switch to switch the signal transmission directions of the third antenna and the fourth antenna;
the first signal processing module is used for processing signals of a first communication mode, and the second signal processing module is used for processing signals of a second communication mode.
2. Signal transceiving circuit according to claim 1,
the first switch is a double-pole double-throw switch, a first port of the first switch is a first movable end of the first switch, a second port of the first switch is a second movable end of the first switch, a third port of the first switch is a first fixed end of the first switch, and a fourth port of the first switch is a second fixed end of the first switch.
3. The signal transceiving circuit of claim 1, wherein the first signal processing module further comprises: the first transceiver, the first power amplification module and the first receiving module;
the first transceiver is connected with the processor, the output end of the first transceiver is connected with the input end of the first power amplification module, the first input end of the first transceiver is connected with the output end of the first power amplification module, and the second input end of the first transceiver is connected with the output end of the first receiving module;
a first port of the first radio frequency switch is connected with the first power amplification module, a second port of the first radio frequency switch is connected with an input end of the first receiving module, a third port of the first radio frequency switch is connected with the first antenna, and a fourth port of the first radio frequency switch is connected with the first port of the first switch;
the processor is connected with the first radio frequency switch and used for controlling the first radio frequency switch to switch the signal transmission directions of the first antenna and the third antenna.
4. The signal transceiving circuit of any of claims 1 to 3, wherein the second signal processing module comprises: the second transceiver, the second power amplification module, the second receiving module, the third receiving module and a second radio frequency switch for switching the signal transmission direction of the second antenna;
the second transceiver is connected with the processor, an output end of the second transceiver is connected with an input end of the second power amplification module, a first input end of the second transceiver is connected with an output end of the second power amplification module, a second input end of the second transceiver is connected with an output end of the second receiving module, a third input end of the second transceiver is connected with an output end of the third receiving module, and an input end of the third receiving module is connected with the second port of the first switch;
a first port of the second radio frequency switch is connected with the second power amplification module, a second port of the second radio frequency switch is connected with an input end of the second receiving module, and a third port of the second radio frequency switch is connected with the second antenna;
and the processor is connected with the second radio frequency switch and used for controlling the second radio frequency switch to switch the signal transmission direction of the second antenna.
5. An antenna switching method applied to the signal transceiving circuit according to any one of claims 1 to 4, the method comprising:
under the condition that a first communication mode and a second communication mode of the electronic equipment work simultaneously, acquiring a first working parameter of a first antenna and a second working parameter of a second antenna;
determining whether the signal sent by the first antenna interferes with the signal received by the second antenna according to the first working parameter and the second working parameter;
transmitting a signal of the first communication mode through a target antenna in a case where it is determined that interference is generated;
the first antenna is used for transmitting signals of the first communication mode, and the second antenna is used for receiving signals of the second communication mode.
6. The method of claim 5, wherein determining whether the signal transmitted by the first antenna interferes with the signal received by the second antenna based on the first operating parameter and the second operating parameter comprises:
acquiring a target channel parameter under the condition that the target working frequency band parameter is matched with a preset frequency band parameter;
determining that the signal sent by the first antenna generates interference on the signal received by the second antenna under the condition that the target channel parameter is matched with a preset channel parameter;
the target working frequency band parameter is a working frequency band parameter of the first antenna and a working frequency band parameter of the second antenna; the target channel parameters are the channel parameters of the first antenna and the channel parameters of the second antenna.
7. The method of claim 6, wherein after determining that the signal transmitted by the first antenna interferes with the signal received by the second antenna, the method further comprises:
determining a target antenna satisfying a handover condition from antennas other than the first antenna and the second antenna in the electronic device;
wherein the handover condition indicates: and when the target antenna transmits the signal of the first communication mode, the signal of the first communication mode has the minimum interference degree on the signal of the second communication mode received by the second antenna.
8. The method according to claim 7, wherein the target antenna satisfying the handover condition is any one of:
an antenna with channel parameters not matched with the target preset channel parameters;
and under the condition that the channel parameters of all antennas except the first antenna and the second antenna in the electronic equipment are matched with preset channel parameters, the antenna with the minimum interference degree on the second antenna.
9. The method of claim 8, wherein the antennas satisfying the handover condition comprise at least two antennas;
the target antenna is an antenna satisfying a predetermined condition among the at least two antennas, and the predetermined condition is that a value of the received signal strength indication is maximum.
10. An antenna switching device applied to the signal transceiving circuit according to any one of claims 1 to 4, the antenna switching device comprising: the device comprises an acquisition module, a determination module and an execution module;
the acquisition module is used for acquiring a first working parameter of the first antenna and a second working parameter of the second antenna under the condition that a first communication mode and a second communication mode of the electronic equipment work simultaneously;
the determining module is configured to determine whether a signal sent by the first antenna interferes with a signal received by the second antenna according to the first working parameter and the second working parameter acquired by the acquiring module;
the execution module is configured to send a signal of the first communication mode through a target antenna if the determination module determines that interference is generated;
the first antenna is used for transmitting signals of the first communication mode, and the second antenna is used for receiving signals of the second communication mode.
11. The antenna switching apparatus according to claim 10,
the acquisition module is further used for acquiring a target channel parameter under the condition that the target working frequency band parameter is matched with a preset frequency band parameter;
the determining module is specifically configured to determine that the signal sent by the first antenna interferes with the signal received by the second antenna when the target channel parameter acquired by the acquiring module matches a preset channel parameter;
the target working frequency range parameter is a working frequency range parameter of the first antenna and a working frequency range parameter of the second antenna; the target channel parameters are the channel parameters of the first antenna and the channel parameters of the second antenna.
12. The antenna switching apparatus according to claim 11,
the determining module is further configured to determine a target antenna that satisfies a handover condition from antennas other than the first antenna and the second antenna in the electronic device;
wherein the handover condition indicates: and when the target antenna transmits the signal of the first communication mode, the signal of the first communication mode has the minimum interference degree on the signal of the second communication mode received by the second antenna.
13. The antenna switching apparatus according to claim 12, wherein the target antenna satisfying the switching condition is any one of:
an antenna with channel parameters not matched with the target preset channel parameters;
and under the condition that the channel parameters of all antennas except the first antenna and the second antenna in the electronic equipment are matched with preset channel parameters, the antenna with the minimum interference degree on the second antenna.
14. The antenna switching apparatus according to claim 13, wherein the antennas satisfying the switching condition include at least two antennas;
the target antenna is an antenna satisfying a predetermined condition among the at least two antennas, and the predetermined condition is that a value of the received signal strength indication is maximum.
15. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the antenna switching method according to any one of claims 5 to 9.
16. An electronic device, characterized in that the electronic device comprises the signal transceiving circuit of any of claims 1 to 4.
17. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the antenna switching method according to any one of claims 5 to 9.
CN202011196113.5A 2020-10-30 2020-10-30 Antenna switching method and device, signal transceiving circuit and electronic equipment Active CN112350744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011196113.5A CN112350744B (en) 2020-10-30 2020-10-30 Antenna switching method and device, signal transceiving circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011196113.5A CN112350744B (en) 2020-10-30 2020-10-30 Antenna switching method and device, signal transceiving circuit and electronic equipment

Publications (2)

Publication Number Publication Date
CN112350744A CN112350744A (en) 2021-02-09
CN112350744B true CN112350744B (en) 2023-02-03

Family

ID=74355900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011196113.5A Active CN112350744B (en) 2020-10-30 2020-10-30 Antenna switching method and device, signal transceiving circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN112350744B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113489508B (en) * 2021-07-30 2022-11-29 维沃移动通信有限公司 Power supply control method, power supply control device, electronic device, and readable storage medium
CN115694546B (en) * 2022-09-09 2023-11-07 荣耀终端有限公司 Antenna control method, electronic equipment and computer storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294081A (en) * 2020-01-22 2020-06-16 Oppo广东移动通信有限公司 Radio frequency system and electronic equipment
CN111817745A (en) * 2020-07-28 2020-10-23 惠州Tcl移动通信有限公司 Radio frequency device and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974421A (en) * 2013-01-25 2014-08-06 华为终端有限公司 Channel selecting method and device
CN104185187B (en) * 2013-05-27 2017-12-22 华为终端有限公司 The control method and terminal device that a kind of LTE and WiFi coexists
CN106656248A (en) * 2016-11-28 2017-05-10 维沃移动通信有限公司 Antenna switching device and mobile terminal
CN110247678B (en) * 2019-04-24 2022-04-26 维沃移动通信有限公司 Terminal control method and terminal
CN111565078B (en) * 2020-05-22 2022-05-24 维沃移动通信有限公司 Channel detection method in frequency division duplex mode, radio frequency circuit and electronic equipment
CN111726128B (en) * 2020-06-22 2022-04-01 维沃移动通信有限公司 Radio frequency structure and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294081A (en) * 2020-01-22 2020-06-16 Oppo广东移动通信有限公司 Radio frequency system and electronic equipment
CN111817745A (en) * 2020-07-28 2020-10-23 惠州Tcl移动通信有限公司 Radio frequency device and mobile terminal

Also Published As

Publication number Publication date
CN112350744A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN111654316B (en) Antenna switching method and device, storage medium and electronic equipment
CN108282166B (en) Antenna coexistence mutual interference processing method and device, storage medium and electronic equipment
CN107896119B (en) Antenna sharing circuit and mobile terminal
CN112886978B (en) Radio frequency circuit, electronic device and control method
US7167722B2 (en) Wireless transmission module and method thereof and peripheral input device of wireless data processing device using the module/method
CN112350744B (en) Antenna switching method and device, signal transceiving circuit and electronic equipment
CN112769445B (en) Radio frequency circuit, signal transmitting method and electronic equipment
EP4064760A1 (en) Device control method and apparatus, storage medium and electronic device
CN108712175B (en) Antenna control method and terminal
CN104244291A (en) Mobile terminal and antenna switching method and device thereof
WO2023011584A1 (en) Radio frequency control method and apparatus, and electronic device
CN113163145A (en) Clock frequency switching method and device, electronic equipment and readable storage medium
CN112272041A (en) Radio frequency circuit and electronic device
CN113078922B (en) Radio frequency circuit, control method and device of radio frequency circuit and electronic equipment
CN112688714B (en) Radio frequency circuit, Bluetooth realization method and device and electronic equipment
CN111708056B (en) Signal processing method, processing device and electronic equipment
CN110166151B (en) Data transmission method and related equipment
CN111953389B (en) Antenna tuning method and device, storage medium and electronic terminal
CN113114279B (en) Radio frequency circuit, electronic device and signal processing method
WO2019128620A1 (en) Antenna switching circuit, antenna switching method and electronic device
CN113489508B (en) Power supply control method, power supply control device, electronic device, and readable storage medium
CN112968716B (en) Decoupling circuit, radio frequency front-end module, electronic equipment and isolation degree control method
CN112769446B (en) Radio frequency circuit, signal transceiving method and electronic device
CN112769451A (en) Information transmission/reception control method, information transmission/reception control device, electronic apparatus, and storage medium
CN112953588B (en) Radio frequency circuit, electronic equipment, signal transmission method and device

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