WO2023072243A1 - Antenna switching apparatus and method, and electronic device - Google Patents

Antenna switching apparatus and method, and electronic device Download PDF

Info

Publication number
WO2023072243A1
WO2023072243A1 PCT/CN2022/128232 CN2022128232W WO2023072243A1 WO 2023072243 A1 WO2023072243 A1 WO 2023072243A1 CN 2022128232 W CN2022128232 W CN 2022128232W WO 2023072243 A1 WO2023072243 A1 WO 2023072243A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
antenna
target
signal
antennas
Prior art date
Application number
PCT/CN2022/128232
Other languages
French (fr)
Chinese (zh)
Inventor
陈枢
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023072243A1 publication Critical patent/WO2023072243A1/en

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
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q1/00Details of, or arrangements associated with, antennas
    • H01Q1/52Means for reducing coupling between antennas; Means for reducing coupling between an antenna and another structure
    • H01Q1/521Means for reducing coupling between antennas; Means for reducing coupling between an antenna and another structure reducing the coupling between adjacent antennas

Definitions

  • the present application belongs to the technical field of communications, and in particular relates to an antenna switching device, method and electronic equipment.
  • electronic devices are usually equipped with a variety of communication functions for different purposes, for example, for communication functions such as access control, bus card swiping, remote control, and wireless charging.
  • communication functions such as access control, bus card swiping, remote control, and wireless charging.
  • multiple coils such as Near Field Communication (NFC) coils, wireless charging coils, etc., need to be installed in the electronic devices as antennas for each communication function.
  • NFC Near Field Communication
  • each antenna in the electronic device is enabled by default when it is turned on, which will easily cause large interference between antennas and affect the performance of the antenna.
  • the purpose of the embodiments of the present application is to provide an antenna switching device, method and electronic equipment, which can solve the problem that existing antenna design schemes easily cause large interference between antennas and affect the performance of antennas.
  • an antenna switching device including:
  • a signal detection module includes a second antenna and a signal detection unit, one end of the signal detection unit is connected to the second antenna, and the other end of the signal detection unit is connected to the first end of the switch electrical connection;
  • M communication modules the M communication modules are connected to the M second ends of the switch one by one, and M is an integer greater than 1;
  • N first antennas the N first antennas are connected to the N third ends of the switch in one-to-one correspondence, and N is an integer greater than 1;
  • the N first antennas are respectively used to receive different communication signals, and different communication signals have at least one parameter difference; when the signal detection module detects the target communication signal, it outputs a switch signal to the switch, To enable the switching switch to select the target communication module and the target first antenna, the target first antenna is the first antenna for receiving the target communication signal among the N first antennas, and the target communication module A communication module that matches the target first antenna among the M communication modules;
  • a first antenna in the N first antennas other than the target first antenna is not connected to any communication module in the M communication modules.
  • an embodiment of the present application provides an electronic device, including the antenna switching device as described in the first aspect.
  • an embodiment of the present application provides an antenna switching method, which is executed by the electronic device described in the second aspect, and the method includes:
  • the target communication signal is a communication signal matching the measured value of the detected parameter
  • the target first antenna and the target communication module are selected through the switching switch of the electronic device, wherein, among the N first antennas, the first antennas other than the target first antenna are not connected to the target first antenna. Any communication module among the M communication modules is connected.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, the program or instruction being The processor realizes the steps in the antenna switching method according to the third aspect when executed.
  • the embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the antenna switching method as described in the third aspect is implemented in the steps.
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, to achieve the third aspect The antenna switching method described above.
  • the antenna switching device includes: a switch; a signal detection module, the signal detection module includes a second antenna and a signal detection unit, one end of the signal detection unit is connected to the second antenna, the The other end of the signal detection unit is electrically connected to the first end of the switch; M communication modules, the M communication modules are connected to the M second ends of the switch one by one, and M is greater than 1 Integer; N first antennas, the N first antennas are connected to the N third ends of the switch one by one, and N is an integer greater than 1; wherein, the N first antennas are respectively used for Receive different communication signals, different communication signals have at least one parameter difference; when the signal detection module detects the target communication signal, output a switch signal to the switch, so that the switch gating target communication module and The target first antenna, the target first antenna is the first antenna used to receive the target communication signal among the N first antennas, and the target communication module is one of the M communication modules that communicate with the target The communication module that the first antenna matches; the first
  • the target first antenna that needs to be activated can be determined by detecting the communication signal, and then switched to the corresponding antenna path to receive the external communication signal, and the other unrelated antenna paths are disconnected, so that the actual needs can be realized.
  • FIG. 1 is a schematic structural diagram of an antenna switching device provided in an embodiment of the present application.
  • FIG. 2 is a flowchart of an antenna switching method provided in an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • FIG. 1 is a schematic structural diagram of an antenna switching device provided in an embodiment of the present application. As shown in FIG. 1, the antenna switching device 100 includes:
  • the signal detection module 12 includes a second antenna 121 and a signal detection unit 122, one end of the signal detection unit 122 is connected to the second antenna 121, and the other end of the signal detection unit 122 is electrically connected to the first end of the switch 11 ;
  • M communication modules 13 the M communication modules 13 are connected to the M second ends of the switch 11 in one-to-one correspondence, and M is an integer greater than 1;
  • N first antennas 14, the N first antennas 14 are connected to the N third ends of the switch 11 in one-to-one correspondence, and N is an integer greater than 1;
  • the N first antennas 14 are respectively used to receive different communication signals, and different communication signals have at least one parameter difference; when the signal detection module 12 detects the target communication signal, it outputs a switching signal to the switching switch 11 to Make the switch 11 gating the target communication module and the target first antenna, the target first antenna is the first antenna for receiving the target communication signal among the N first antennas 14, and the target communication module is A communication module matching the target first antenna among the M communication modules 13;
  • the first antennas in the N first antennas 14 other than the target first antenna are not connected to any communication module in the M communication modules.
  • the antenna switching device 100 in the embodiment of the present application is to solve the problem caused by the fact that each communication function is independently configured with coils in the existing antenna design scheme, and the coil antennas that realize different communication functions are all in the open state by default when the power is turned on.
  • Targeted solutions for a series of problems such as large space occupation, waste of hardware resources, unfavorable integration of new communication functions, poor antenna performance, and/or poor use effectiveness.
  • the antenna switching device 100 includes a switch 11, a signal detection module 12, a plurality of communication modules 13 and a plurality of first antennas 14, for example, the number of communication modules 13 is M, and the number of first antennas 14 is N, the number of the first antenna 14 and the communication module 13 can be set according to actual needs, M and N can be the same value, or different values, that is, one first antenna 14 can correspond to one communication module 13, Or one first antenna 14 corresponds to multiple communication modules 13 , or, multiple first antennas 14 correspond to one communication module 13 . That is to say, one first antenna 14 can be matched and connected with one or more communication modules 13 to form a radio frequency path, and one communication module 13 can also be matched and connected with one or more first antennas 14 to form a radio frequency path.
  • M communication modules 13 and N first antennas 14 are connected through a switch 11.
  • the switch 11 can be designed to include M second terminals and N third terminals, and each The two terminals are respectively connected to a communication module 13, and each third terminal is respectively connected to a first antenna 14, that is, the switch can be a multi-pole multi-throw switch.
  • the switch 11 can be used to switch and connect appropriate radio frequency channels between the M communication modules 13 and the N first antennas 14 to support the current communication function requirements.
  • the gating of the communication module 13. wherein, for any first antenna 14 among the N first antennas 14, there is at least one communication module 13 among the M communication modules 13 that matches the first antenna 14. Similarly, for any of the M communication modules 13 A communication module 13 , at least one first antenna 14 among the N first antennas 14 is matched with the communication module 13 .
  • the communication module 13 is mainly responsible for the generation of communication signals and the modulation and demodulation of signal data, and different communication modules 13 can be used to realize different communication functions respectively.
  • the first antenna 14 can be a coil, and can form an antenna loop as shown in FIG.
  • the antennas 14 can be used to receive communication signals corresponding to different communication functions, that is to say, each first antenna 14 can be used to realize a communication function, so that N first antennas 14 can be used to realize at least N kinds of communication functions , the combination of multiple first antennas among the N first antennas 14 can also form other communication functions.
  • one first antenna 14 is used to realize the remote control function (such as a car key)
  • another first antenna 14 is used to realize the NFC access control function
  • another first antenna 14 is used to realize the wireless charging function.
  • the switch 11 also includes a first terminal, which can be a signal control terminal, and the first terminal of the switch 11 can be electrically connected to the signal detection module 12, and the signal detection module 12 is used to receive and detect external communication signals to determine What type of communication signal is currently, which communication function needs to be enabled, and then output the corresponding switching signal to the switch 11, so that the switch 11 can switch the gating target first antenna and the first antenna correspondingly according to the detection result of the signal detection module 12 Target the communication module to successfully enable the antenna path that matches the current required communication function.
  • the switch 11 can switch only the target first antenna and the target communication module that match the current scene, while keeping other first antennas in a non-conducting state, that is, an off state. , That is to say, the first antennas in the N first antennas 14 other than the target first antenna do not communicate with any communication module in the M communication modules.
  • the antenna switching device 100 may further include a main control module, and the signal detection module 12 may be connected to the first end of the switch 11 through the main control module, that is, the signal detection module 12 is connected to the main control module.
  • One end of the control module is connected, and the other end of the main control module is connected with the first end of the switch 11.
  • the signal detection module 12 detects a certain parameter of the current external communication signal, and transmits the detection result to the main control module.
  • the main control module judges the communication function corresponding to the current external communication signal, and determines the target first antenna and the target communication module that need to be gated, and then sends a corresponding control signal to the switch 11, and the switch 11 selects accordingly Connect the target first antenna with the target communication module.
  • the signal detection module 12 may include a second antenna 121 and a signal detection unit 122, one end of the signal detection unit 122 is connected with the second antenna 121, and the other end of the signal detection unit 122 is connected with the first end of the switch 11;
  • the antenna 121 is used to receive external communication signals
  • the signal detection unit 122 is used to detect parameters of the external communication signals.
  • the second antenna 121 may be a coil for receiving an external communication signal, and the second antenna 121 transmits the received external communication signal to the signal detection unit 122 for detection, and the signal detection unit 122 detects the external communication signal Detect certain parameters, such as frequency, power, intensity, waveform, etc., so as to determine the type of the external communication signal according to the detection result, determine the specific corresponding communication function, and specifically correspond to the first antenna.
  • the specific detection function of the signal detection unit 122 can be configured according to the communication functions configured by the N first antennas 14, for example, the communication functions corresponding to the communication functions configured by the N first antennas 14
  • the signal detection unit 122 can be configured with a frequency detection function
  • the signal detection unit 122 can be configured with a frequency detection function
  • a power detection function is assigned to the signal detection unit 122 .
  • the signal detection unit 122 can also be configured with detection functions of various signal parameters by default, and one or more detection functions can be selected and used according to actual needs in practical applications.
  • the signal detection function can be realized through a simple structure of the antenna and the signal detection unit, so that the structure of the antenna switching device 100 is relatively simple and the implementation cost is low.
  • the above-mentioned external communication signal may refer to an external signal transmitted by an external communication device other than the antenna switching device 100 or the electronic device provided with the antenna switching device 100, that is, not the antenna switching device 100 or the electronic device
  • the signal emitted by the device may be, for example, a signal emitted by a wireless base, an access control device, or a bus card swiping device near the antenna switching device 100 .
  • the N first antennas 14 are respectively used to receive communication signals corresponding to different communication functions, and these communication signals corresponding to different communication functions may have at least one parameter difference, that is, different first antennas 14
  • the configured receivable communication signals are different types of communication signals, and there are one or more index parameters that can distinguish differences between these communication signals, for example, the frequency, power, signal strength and/or There will be obvious differences in index parameters such as waveforms or waveforms. Therefore, in actual application scenarios, based on the performance of a detected external communication signal on a certain parameter, it is possible to distinguish which communication function the current communication signal corresponds to and which communication function needs to be enabled.
  • One or several first antennas 14 are respectively used to receive communication signals corresponding to different communication functions, and these communication signals corresponding to different communication functions may have at least one parameter difference, that is, different first antennas 14
  • the configured receivable communication signals are different types of communication signals, and there are one or more index parameters that can distinguish differences between these communication signals, for example, the frequency, power, signal strength and
  • the parameters of the external communication signal detected by the signal detection unit 122 may be one or more of at least one parameter that is different in the communication signals corresponding to different communication functions, for example, the communication signals corresponding to different communication functions exist in frequency If there is an obvious difference, the detection parameter can be frequency, that is, the target first antenna that needs to be enabled in the current scenario can be determined by detecting the frequency of the external communication signal; another example, communication signals corresponding to different communication functions have obvious differences in frequency and power.
  • the detection parameter can be frequency and/or power, that is, the target first antenna that needs to be enabled in the current scenario can be determined by detecting the frequency and/or power of the external communication signal; also for example, in communication signals corresponding to different communication functions Some have obvious differences in frequency, and some have obvious differences in power, then the detection parameters can be frequency and power, that is, the target first antenna that needs to be activated in the current scenario can be accurately determined by combining the frequency and power of external communication signals . That is to say, the specific parameters to be detected can be reasonably selected according to the parameters of the communication signals corresponding to the communication functions actually configured by each first antenna 14 .
  • the signal detection module 12 determines whether the target communication signal is detected by detecting parameters of the external communication signal, the parameters including at least one of frequency, power, signal strength and waveform.
  • the communication signals that each first antenna 14 is configured to receive may have differences in parameters such as frequency, power, signal strength, and/or waveform, so that one or more difference parameters may be selected accordingly as a countermeasure.
  • Parameters for detecting external communication signals may include one or more of frequency, power, signal strength, and waveform.
  • the detection parameters may also include other parameters capable of distinguishing communication signals of different communication functions.
  • the parameters include a plurality of frequency, power, signal strength and waveform
  • the signal detection module 12 includes a plurality of signal detection units, and different signal detection units are respectively used to detect different parameters of external communication signals.
  • the signal detection module 12 when the parameters include frequency, power, signal strength and waveform, multiple signal detection units can be configured for the signal detection module 12, and each signal detection unit can correspond to a signal parameter respectively.
  • Detection function for example, when the parameters include frequency, power and waveform, the signal detection module 12 may include three signal detection units, one of which is used to detect the frequency of external communication signals, and one signal detection unit is used to detect The power of the external communication signal, another signal detection unit is used to detect the waveform of the external communication signal.
  • various parameters of the external communication signal can be detected to ensure that the communication function corresponding to the external communication signal can be more comprehensively and accurately distinguished, and the corresponding signal detection unit can be used to complete the detection according to the parameters that need to be detected
  • the detection of external communication signals ensures the flexibility and reliability of signal detection methods.
  • each first antenna 14 selects the antenna path matching the current usage scenario and enters the working state by switching the switch 11, so that in the scenario of using a certain communication function, there is only one first antenna or Some of the first antennas are activated, thereby ensuring that the antenna paths corresponding to different communication functions do not interfere with each other, thereby improving antenna performance. Therefore, it is allowed to arrange N first antennas 14 in the same physical space. For example, when the antenna switching device 100 is arranged in an electronic device, the N first antennas 14 can be arranged in the same physical space in the electronic device. space.
  • the N first antennas 14 are integrated and arranged in the same module.
  • the N first antennas 14 may be arranged superimposedly in the same physical space, or may be integrated and arranged in the same antenna module.
  • this embodiment can greatly optimize the space used by the device by integrating multiple antenna loops for use, and can Meet the need to integrate more communication functions in a small space, for example, it can integrate 125K radio frequency identification (Radio Frequency Identification, RFID), 433MHz remote key, 868MHz RFID, wireless charging, 13.65MHz NFC and other communication functions.
  • RFID Radio Frequency Identification
  • the different communication signals include one or more of a first communication signal corresponding to a remote control function, a second communication signal corresponding to a near field communication NFC function, and a third communication signal corresponding to a radio frequency identification RFID function;
  • the first communication signal is a communication signal working at 433MHz;
  • the second communication signal is a communication signal working at 13.56MHz;
  • the third communication signal is a communication signal working at 125KHz.
  • different first antennas among the N first antennas 14 can be respectively configured to receive the first communication signal corresponding to the remote control function, the second communication signal corresponding to the NFC function, and the second communication signal corresponding to the RFID function.
  • the third communication signal, etc. enables the electronic device configured with the antenna switching device 100 to support one or more of the remote control function, NFC function and RFID function, and each function can realize mutual non-interference by switching independent antenna paths Work.
  • the working frequencies of the communication signals corresponding to these functions can be configured, so that in practical applications, the frequency of external communication signals can be detected to quickly and accurately identify the type of communication signals, and then Quickly and accurately switch to the matching antenna path to support the current communication function.
  • the first communication signal may be a communication signal operating at about 433MHz
  • the second communication signal may be a communication signal operating at about 13.56MHz
  • the third communication signal may be a communication signal operating at about 125KHz.
  • the antenna switching device in the embodiment of the present application includes: a switch; a signal detection module, the signal detection module includes a second antenna and a signal detection unit, one end of the signal detection unit is connected to the second antenna, and the signal The other end of the detection unit is electrically connected to the first end of the switch; M communication modules, the M communication modules are connected to the M second ends of the switch one by one, and M is an integer greater than 1 ; N first antennas, the N first antennas are connected to the N third ends of the switch one by one, and N is an integer greater than 1; wherein, the N first antennas are respectively used for receiving Different communication signals, different communication signals have at least one parameter difference; when the signal detection module detects the target communication signal, it outputs a switch signal to the switch, so that the switch switches the target communication module and the target The first antenna, the target first antenna is the first antenna used to receive the target communication signal among the N first antennas, and the target communication module is the first antenna among the M communication modules that is connected to the target.
  • the target first antenna to be activated can be determined by detecting the external communication signal, and then switch to the corresponding antenna channel to receive the external communication signal, and keep other irrelevant antenna channels in the disconnected state, so that the actual It is required to enable the corresponding antennas to reduce the interference between antennas caused by the simultaneous activation of multiple antennas, thereby improving the performance of the antennas.
  • the embodiment of the present application further provides an electronic device, including the antenna switching apparatus 100 provided in the embodiment shown in FIG. 1 .
  • an electronic device including the antenna switching apparatus 100 provided in the embodiment shown in FIG. 1 .
  • the electronic device for the implementation manner of the electronic device, reference may be made to relevant introductions in the aforementioned embodiments, and the same technical effect as that of the aforementioned antenna device embodiments can be achieved. To avoid repetition, details are not repeated here.
  • FIG. 1 is a flow chart of the antenna switching method provided in the embodiment of the present application, which is executed by the electronic device provided in the previous embodiment. As shown in FIG. 2, the method includes the following steps:
  • Step 201 Receive and detect parameters of external communication signals through the signal detection module of the electronic device.
  • Step 202 Determine the target first antenna used to receive the target communication signal among the N first antennas of the electronic device, and determine the target communication channel among the M communication modules of the electronic device that matches the target first antenna module, wherein the target communication signal is a communication signal that matches the measured value of the detected parameter.
  • Step 203 select the target first antenna and the target communication module through the switching switch of the electronic device, wherein, among the N first antennas, the first antennas other than the target first antenna are not communicate with any communication module in the M communication modules.
  • this embodiment is a method embodiment corresponding to the embodiment of the antenna switching device shown in FIG. 1 , and its specific implementation manner can refer to the relevant introduction in the foregoing embodiment of FIG. 1 , which will not be repeated here.
  • the step 202 includes:
  • the predefined N parameter value intervals determine the first parameter value interval where the measured value is located, wherein the N parameter value intervals are based on the N parameters of the communication signals respectively configured by the N first antennas value determination;
  • determining a target communication signal whose parameter value is within the first parameter value range and determining a target first antenna among the N first antennas for receiving the target communication signal.
  • N parameter value intervals can be obtained in advance according to the N parameter values of the communication signals respectively configured by the N first antennas, for example, the parameters of the communication signals respectively configured by the 3 first antennas
  • the values from large to small are C 1 , C 2 and C 3
  • parameter value intervals S 1 , S 2 and S 3 can be set, among which, S 1 is an interval greater than C 1 ′, and S 2 is greater than C 2 ′ And less than the interval of C 1 ′, S 2 is the interval less than C 2 ′, C 1 ′ can be a value between C 1 and C 2 , and C 2 ′ can be a value between C 2 and C 3 value.
  • the parameter value range may also be defined in other ways, as long as it is ensured that the parameter values of different communication signals can be better distinguished.
  • the target communication signal whose parameter value is in the first parameter value interval can be determined, the target communication signal is the signal matching the current external communication signal, and the N number can be further determined Among the first antennas, the first antenna used to receive the target communication signal is the target first antenna.
  • the target first antenna that matches the current communication scene can be determined quickly and accurately by detecting the parameters of the external communication signal, and then the antenna corresponding to the target first antenna can be selected by switching the switch 11
  • the channel is used to ensure that the target first antenna is quickly activated and good timeliness of use is ensured.
  • the antenna switching method in the embodiment of the present application includes: receiving and detecting parameters of external communication signals through the signal detection module of the electronic device; determining the target for receiving the target communication signal among the N first antennas of the electronic device The first antenna, and determining a target communication module among the M communication modules of the electronic device that matches the target first antenna, wherein the target communication signal is a communication signal that matches the measured value of the detected parameter ; gating the target first antenna and the target communication module through the switch of the electronic device, wherein, among the N first antennas, the first antennas other than the target first antenna are not connected to the target first antenna Any communication module in the above M communication modules is connected.
  • the target first antenna to be activated at present is determined, and then switched to the corresponding antenna path to receive the external communication signal, and other unrelated antenna paths are disconnected, so that the Enable corresponding antennas according to actual needs, reduce inter-antenna interference caused by simultaneous activation of multiple antennas, and improve antenna performance.
  • Application Scenario 1 The frequencies of communication function A, communication function B, and communication function C are quite different, and they are distinguished directly by frequency.
  • communication function A is a 433MHz remote control function
  • communication function B is a 13.56MHz NFC function
  • communication function C is a 125K RFID function.
  • the remote control function When it is detected that the frequency of the external communication signal is above 100MHz, it can be judged as the remote control function, thereby enabling the antenna configured to realize the remote control function; when it is detected that the frequency of the external communication signal is 1-100MHz, it can be judged as the NFC function, thereby enabling it
  • the antenna configured to realize the NFC function is configured; and when the frequency of the external communication signal is detected to be lower than 1MHz, it can be determined as the RFID function, thereby enabling the antenna configured to realize the RFID function. In this way, by switching to the corresponding antenna loop, the quality of the corresponding communication function can be improved.
  • Application Scenario 2 Communication function A and communication function B exhibit different drive strengths (ie, power strengths), which are differentiated and judged by signal power strengths.
  • Communication function A and communication function B cannot be distinguished simply by frequency, but when the signal strengths sent by external communication devices are quite different, different functions can be identified through power detection.
  • the frequency of communication function A is close to that of communication function B, and the signal strength of communication function A is greater than that of communication function B.
  • communication function A is a wireless charging function, the signal frequency is 110kHz-150kHz, and the transmission power is relatively large;
  • communication function B is a 125K RFID function, the signal frequency is 125kHz or 134kHz, and the signal transmission drive strength and power are very small.
  • the signal strength of the detected wireless charging signal will far exceed the signal strength of RFID, which can be used as a basis for judgment.
  • Application Scenario 3 Communication function A and communication function B exhibit different indicators.
  • the corresponding communication function can be judged by detecting the difference index, thereby realizing communication function adaptation.
  • the embodiment of the present application further provides an electronic device 300, including a processor 301, a memory 302, and programs or instructions stored in the memory 302 and operable on the processor 301,
  • an electronic device 300 including a processor 301, a memory 302, and programs or instructions stored in the memory 302 and operable on the processor 301,
  • the program or instruction is executed by the processor 301, each process of the antenna switching method embodiment described above can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410 and a graph
  • the electronic device 400 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 410 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 4 does not constitute a limitation to the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the antenna switching device 411 is used to receive and detect parameters of external communication signals
  • Processor 410 configured to determine a target first antenna for receiving a target communication signal among the N first antennas of the electronic device, and determine that among the M communication modules of the electronic device, the target first antenna matches The target communication module, wherein the target communication signal is a communication signal matching the measured value of the detected parameter;
  • the antenna switching device 411 is also used to select the target first antenna and the target communication module, wherein, among the N first antennas, the first antennas other than the target first antenna are not connected to the M Any one of the two communication modules is connected.
  • the processor 410 is further configured to determine the first parameter value interval where the measurement value is located according to the predefined N parameter value intervals, wherein the N parameter value intervals are based on the Nth parameter value intervals. Determination of N parameter values of the communication signals respectively configured by one antenna;
  • determining a target communication signal whose parameter value is within the first parameter value range and determining a target first antenna among the N first antennas for receiving the target communication signal.
  • the electronic device in the embodiment of the present application receives and detects the parameters of the external communication signal; determines the target first antenna for receiving the target communication signal among the N first antennas of the electronic device, and determines the M of the electronic device Among the communication modules, the target communication module that matches the target first antenna, wherein the target communication signal is a communication signal that matches the measured value of the detected parameter; the target first antenna is selected to be connected to the target first antenna.
  • the target communication module wherein, among the N first antennas, the first antennas other than the target first antenna do not communicate with any communication module among the M communication modules.
  • the target first antenna to be activated at present is determined, and then switched to the corresponding antenna path to receive the external communication signal, and other unrelated antenna paths are disconnected, so that the Enable corresponding antennas according to actual needs, reduce inter-antenna interference caused by simultaneous activation of multiple antennas, and improve antenna performance.
  • the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042, and the graphics processor 4041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 407 includes a touch panel 4071 and other input devices 4072.
  • the touch panel 4071 is also called a touch screen.
  • the touch panel 4071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 409 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 410 .
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by a processor, each process of the above antenna switching method embodiment is realized, and can achieve the same To avoid repetition, the technical effects will not be repeated here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above antenna switching method embodiment
  • the chip includes a processor and a communication interface
  • the communication interface is coupled to the processor
  • the processor is used to run programs or instructions to implement the above antenna switching method embodiment
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Abstract

The present application discloses an antenna switching apparatus and method and an electronic device and belongs to the technical field of communications. The antenna switching apparatus comprises: a toggle switch; a signal detection module, the signal detection module comprising a second antenna and a signal detection unit, and two ends of the signal detection unit being electrically connected to the second antenna and a first end of the toggle switch, respectively; M communication modules, the M communication modules being connected in one-to-one correspondence to M second ends of the toggle switch; N first antennas, the N first antennas being connected in one-to-one correspondence to N third ends of the toggle switch. The N first antennas are used for receiving different communication signals, respectively, the different communication signals having at least one parameter that is different. The signal detection module outputs a switching signal to the toggle switch when a target communication signal is detected, so that the toggle switch gates a target communication module and a target first antenna. First antennas other than the target first antenna among the N first antennas are not in communication with any of the M communication modules.

Description

天线切换装置、方法和电子设备Antenna switching device, method and electronic device
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年10月28日在中国提交的中国专利申请No.202111262438.3的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202111262438.3 filed in China on October 28, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种天线切换装置、方法和电子设备。The present application belongs to the technical field of communications, and in particular relates to an antenna switching device, method and electronic equipment.
背景技术Background technique
目前,电子设备通常都会配置多种不同用途的通信功能,例如,用于门禁控制、公交车刷卡、遥控、无线充电等通信功能。而为了对电子设备配置不同通信功能,往往需要在电子设备中设置多个线圈,如近场通信(Near Field Communication,NFC)线圈、无线充电线圈等,作为各通信功能的天线。在实际应用中,为了保障用户随时使用各不同通信功能的需求,电子设备中的各个天线在开机状态下是默认启用的,这样易造成天线间干扰较大,影响天线工作性能。At present, electronic devices are usually equipped with a variety of communication functions for different purposes, for example, for communication functions such as access control, bus card swiping, remote control, and wireless charging. In order to configure different communication functions for electronic devices, multiple coils, such as Near Field Communication (NFC) coils, wireless charging coils, etc., need to be installed in the electronic devices as antennas for each communication function. In practical applications, in order to ensure that users can use different communication functions at any time, each antenna in the electronic device is enabled by default when it is turned on, which will easily cause large interference between antennas and affect the performance of the antenna.
发明内容Contents of the invention
本申请实施例的目的是提供一种天线切换装置、方法和电子设备,能够解决现有天线设计方案易造成天线间干扰较大,影响天线工作性能的问题。The purpose of the embodiments of the present application is to provide an antenna switching device, method and electronic equipment, which can solve the problem that existing antenna design schemes easily cause large interference between antennas and affect the performance of antennas.
第一方面,本申请实施例提供了一种天线切换装置,包括:In the first aspect, the embodiment of the present application provides an antenna switching device, including:
切换开关;toggle switch;
信号检测模块,所述信号检测模块包括第二天线和信号检测单元,所述信号检测单元的一端与所述第二天线连接,所述信号检测单元的另一端与所述切换开关的第一端电连接;A signal detection module, the signal detection module includes a second antenna and a signal detection unit, one end of the signal detection unit is connected to the second antenna, and the other end of the signal detection unit is connected to the first end of the switch electrical connection;
M个通信模块,所述M个通信模块与所述切换开关的M个第二端一一对应连接,M为大于1的整数;M communication modules, the M communication modules are connected to the M second ends of the switch one by one, and M is an integer greater than 1;
N个第一天线,所述N个第一天线与所述切换开关的N个第三端一一对应连接,N为大于1的整数;N first antennas, the N first antennas are connected to the N third ends of the switch in one-to-one correspondence, and N is an integer greater than 1;
其中,所述N个第一天线分别用于接收不同的通信信号,不同的通信信号存在至少一个参数不同;所述信号检测模块在检测到目标通信信号时,输出切换信号至所述切换开关,以使所述切换开关选通目标通信模块与目标第一天线,所述目标第一天线为所述N个第一天线中用于接收所述目标通信信号的第一天线,所述目标通信模块为所述M个通信模块中与所述目标第一天线匹配的通信模块;Wherein, the N first antennas are respectively used to receive different communication signals, and different communication signals have at least one parameter difference; when the signal detection module detects the target communication signal, it outputs a switch signal to the switch, To enable the switching switch to select the target communication module and the target first antenna, the target first antenna is the first antenna for receiving the target communication signal among the N first antennas, and the target communication module A communication module that matches the target first antenna among the M communication modules;
所述N个第一天线中除所述目标第一天线之外的第一天线不与所述M个通信模块中的任一通信模块连通。A first antenna in the N first antennas other than the target first antenna is not connected to any communication module in the M communication modules.
第二方面,本申请实施例提供了一种电子设备,包括如第一方面所述的天线切换装置。In a second aspect, an embodiment of the present application provides an electronic device, including the antenna switching device as described in the first aspect.
第三方面,本申请实施例提供了一种天线切换方法,由第二方面所述的电子设备执行,该方法包括:In a third aspect, an embodiment of the present application provides an antenna switching method, which is executed by the electronic device described in the second aspect, and the method includes:
通过所述电子设备的信号检测模块接收并检测外部通信信号的参数;receiving and detecting parameters of external communication signals through the signal detection module of the electronic device;
确定所述电子设备的N个第一天线中用于接收目标通信信号的目标第一天线,以及确定所述电子设备的M个通信模块中与所述目标第一天线匹配的目标通信模块,其中,所述目标通信信号为与所检测到的参数的测量值匹配的通信信号;determining a target first antenna for receiving a target communication signal among the N first antennas of the electronic device, and determining a target communication module matching the target first antenna among the M communication modules of the electronic device, wherein , the target communication signal is a communication signal matching the measured value of the detected parameter;
通过所述电子设备的切换开关选通所述目标第一天线与所述目标通信模块,其中,所述N个第一天线中除所述目标第一天线之外的第一天线不与所述M个通信模块中的任一通信模块连通。The target first antenna and the target communication module are selected through the switching switch of the electronic device, wherein, among the N first antennas, the first antennas other than the target first antenna are not connected to the target first antenna. Any communication module among the M communication modules is connected.
第四方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第三方面所述的天线切换方法中的步骤。In a fourth aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, the program or instruction being The processor realizes the steps in the antenna switching method according to the third aspect when executed.
第五方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第三方面所述的天线切换方法中的步骤。In the fifth aspect, the embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the antenna switching method as described in the third aspect is implemented in the steps.
第六方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第三方面所述的天线切换方法。In the sixth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, to achieve the third aspect The antenna switching method described above.
在本申请实施例中,天线切换装置包括:切换开关;信号检测模块,所述信号检测模块包括第二天线和信号检测单元,所述信号检测单元的一端与所述第二天线连接,所述信号检测单元的另一端与所述切换开关的第一端电连接;M个通信模块,所述M个通信模块与所述切换开关的M个第二端一一对应连接,M为大于1的整数;N个第一天线,所述N个第一天线与所述切换开关的N个第三端一一对应连接,N为大于1的整数;其中,所述N个第一天线分别用于接收不同的通信信号,不同的通信信号存在至少一个参数不同;所述信号检测模块在检测到目标通信信号时,输出切换信号至所述切换开关,以使所述切换开关选通目标通信模块与目标第一天线,所述目标第一天线为所述N个第一天线中用于接收所述目标通信信号的第一天线,所述目标通信模块为所述M个通信模块中与所述目标第一天线匹配的通信模块;所述N个第一天线中除所述目标第一天线之外的第一天线不与所述M个通信模块中的任一通信模块连通。In the embodiment of the present application, the antenna switching device includes: a switch; a signal detection module, the signal detection module includes a second antenna and a signal detection unit, one end of the signal detection unit is connected to the second antenna, the The other end of the signal detection unit is electrically connected to the first end of the switch; M communication modules, the M communication modules are connected to the M second ends of the switch one by one, and M is greater than 1 Integer; N first antennas, the N first antennas are connected to the N third ends of the switch one by one, and N is an integer greater than 1; wherein, the N first antennas are respectively used for Receive different communication signals, different communication signals have at least one parameter difference; when the signal detection module detects the target communication signal, output a switch signal to the switch, so that the switch gating target communication module and The target first antenna, the target first antenna is the first antenna used to receive the target communication signal among the N first antennas, and the target communication module is one of the M communication modules that communicate with the target The communication module that the first antenna matches; the first antenna in the N first antennas except the target first antenna is not connected to any communication module in the M communication modules.
这样,可通过检测通信信号来确定当前需启用的目标第一天线,进而切换至相应的天线通路来接收外部通信信号,并使其他不相关的天线通路处于断开状态,从而可实现按实际需求启用相应天线,减少多天线同时启用所产生的天线间干扰,进而改善天线工作性能。In this way, the target first antenna that needs to be activated can be determined by detecting the communication signal, and then switched to the corresponding antenna path to receive the external communication signal, and the other unrelated antenna paths are disconnected, so that the actual needs can be realized. Enable corresponding antennas to reduce inter-antenna interference caused by simultaneous activation of multiple antennas, thereby improving antenna performance.
附图说明Description of drawings
图1是本申请实施例提供的天线切换装置的结构示意图;FIG. 1 is a schematic structural diagram of an antenna switching device provided in an embodiment of the present application;
图2是本申请实施例提供的天线切换方法的流程图;FIG. 2 is a flowchart of an antenna switching method provided in an embodiment of the present application;
图3是本申请实施例提供的电子设备的结构示意图;FIG. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图4是本申请实施例提供的电子设备的硬件结构示意图。FIG. 4 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行 清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the application will be clearly described below in conjunction with the accompanying drawings in the embodiments of the application. Obviously, the described embodiments are part of the embodiments of the application, not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的天线切换装置进行详细地说明。The antenna switching device provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
请参见图1,图1为本申请实施例提供的天线切换装置的结构示意图,如图1所示,该天线切换装置100包括:Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of an antenna switching device provided in an embodiment of the present application. As shown in FIG. 1, the antenna switching device 100 includes:
切换开关11; toggle switch 11;
信号检测模块12,信号检测模块12包括第二天线121和信号检测单元122,信号检测单元122的一端与第二天线121连接,信号检测单元122的另一端与切换开关11的第一端电连接;The signal detection module 12, the signal detection module 12 includes a second antenna 121 and a signal detection unit 122, one end of the signal detection unit 122 is connected to the second antenna 121, and the other end of the signal detection unit 122 is electrically connected to the first end of the switch 11 ;
M个通信模块13,所述M个通信模块13与切换开关11的M个第二端一一对应连接,M为大于1的整数; M communication modules 13, the M communication modules 13 are connected to the M second ends of the switch 11 in one-to-one correspondence, and M is an integer greater than 1;
N个第一天线14,所述N个第一天线14与切换开关11的N个第三端一一对应连接,N为大于1的整数;N first antennas 14, the N first antennas 14 are connected to the N third ends of the switch 11 in one-to-one correspondence, and N is an integer greater than 1;
其中,所述N个第一天线14分别用于接收不同的通信信号,不同的通信信号存在至少一个参数不同;信号检测模块12在检测到目标通信信号时,输出切换信号至切换开关11,以使切换开关11选通目标通信模块与目标第一天线,所述目标第一天线为所述N个第一天线14中用于接收所述目标通信信号的第一天线,所述目标通信模块为所述M个通信模块13中与所述目标第一天线匹配的通信模块;Wherein, the N first antennas 14 are respectively used to receive different communication signals, and different communication signals have at least one parameter difference; when the signal detection module 12 detects the target communication signal, it outputs a switching signal to the switching switch 11 to Make the switch 11 gating the target communication module and the target first antenna, the target first antenna is the first antenna for receiving the target communication signal among the N first antennas 14, and the target communication module is A communication module matching the target first antenna among the M communication modules 13;
所述N个第一天线14中除所述目标第一天线之外的第一天线不与所述 M个通信模块中的任一通信模块连通。The first antennas in the N first antennas 14 other than the target first antenna are not connected to any communication module in the M communication modules.
本申请实施例中的天线切换装置100,是为解决现有天线设计方案中,由于每个通信功能独立配置线圈,且实现不同通信功能的线圈天线在开机状态下都默认处于开启状态所导致的如占用空间大、浪费硬件资源、不利于集成新通信功能、天线性能差和/或使用实效性差等系列问题而提出的针对性解决方案。The antenna switching device 100 in the embodiment of the present application is to solve the problem caused by the fact that each communication function is independently configured with coils in the existing antenna design scheme, and the coil antennas that realize different communication functions are all in the open state by default when the power is turned on. Targeted solutions for a series of problems such as large space occupation, waste of hardware resources, unfavorable integration of new communication functions, poor antenna performance, and/or poor use effectiveness.
如图1所示,该天线切换装置100包括切换开关11、信号检测模块12、多个通信模块13和多个第一天线14,例如,通信模块13的数量为M,第一天线14的数量为N,具体可根据实际需求进行第一天线14和通信模块13的数量设置,M和N可以是相同的值,也可以是不同的值,即一个第一天线14可以对应一个通信模块13,或者一个第一天线14对应多个通信模块13,还或者,多个第一天线14对应一个通信模块13。也就是说,一个第一天线14可以与一个或多个通信模块13匹配连接形成射频通路,一个通信模块13也可以与一个或多个第一天线14匹配连接形成射频通路。As shown in Figure 1, the antenna switching device 100 includes a switch 11, a signal detection module 12, a plurality of communication modules 13 and a plurality of first antennas 14, for example, the number of communication modules 13 is M, and the number of first antennas 14 is N, the number of the first antenna 14 and the communication module 13 can be set according to actual needs, M and N can be the same value, or different values, that is, one first antenna 14 can correspond to one communication module 13, Or one first antenna 14 corresponds to multiple communication modules 13 , or, multiple first antennas 14 correspond to one communication module 13 . That is to say, one first antenna 14 can be matched and connected with one or more communication modules 13 to form a radio frequency path, and one communication module 13 can also be matched and connected with one or more first antennas 14 to form a radio frequency path.
如图1所示,M个通信模块13与N个第一天线14之间通过切换开关11连接,具体地,可设计切换开关11包括M个第二端和N个第三端,每个第二端分别连接一个通信模块13,每个第三端分别连接一个第一天线14,即切换开关可以为多刀多掷开关。本申请实施例中,可通过切换开关11在M个通信模块13与N个第一天线14之间切换连通合适的射频通路来支撑当前通信功能需求,即可实现对各第一天线14与对应的通信模块13的选通。其中,对于N个第一天线14中的任一第一天线14,M个通信模块13中至少存在一个通信模块13与该第一天线14匹配,同理,对于M个通信模块13中的任一通信模块13,N个第一天线14中至少存在一个第一天线14与该通信模块13匹配。As shown in FIG. 1, M communication modules 13 and N first antennas 14 are connected through a switch 11. Specifically, the switch 11 can be designed to include M second terminals and N third terminals, and each The two terminals are respectively connected to a communication module 13, and each third terminal is respectively connected to a first antenna 14, that is, the switch can be a multi-pole multi-throw switch. In the embodiment of the present application, the switch 11 can be used to switch and connect appropriate radio frequency channels between the M communication modules 13 and the N first antennas 14 to support the current communication function requirements. The gating of the communication module 13. Wherein, for any first antenna 14 among the N first antennas 14, there is at least one communication module 13 among the M communication modules 13 that matches the first antenna 14. Similarly, for any of the M communication modules 13 A communication module 13 , at least one first antenna 14 among the N first antennas 14 is matched with the communication module 13 .
其中,通信模块13主要负责通信信号的生成与信号数据的调制解调,不同通信模块13可分别用于实现不同的通信功能。Among them, the communication module 13 is mainly responsible for the generation of communication signals and the modulation and demodulation of signal data, and different communication modules 13 can be used to realize different communication functions respectively.
第一天线14可以是线圈,可以形成如图1所示的天线环路,各第一天线14也即各天线环路用于搭配各通信模块来实现各自对应的通信功能,其中,不同第一天线14可以分别用于接收对应不同通信功能的通信信号,也就是说, 每个第一天线14可以分别用于实现一种通信功能,从而N个第一天线14至少可用于实现N种通信功能,N个第一天线14中的多个第一天线组合还可形成其他通信功能。例如,一个第一天线14用于实现遥控功能(如车钥匙),另一个第一天线14用于实现NFC门禁功能,还一个第一天线14用于实现无线充电功能。The first antenna 14 can be a coil, and can form an antenna loop as shown in FIG. The antennas 14 can be used to receive communication signals corresponding to different communication functions, that is to say, each first antenna 14 can be used to realize a communication function, so that N first antennas 14 can be used to realize at least N kinds of communication functions , the combination of multiple first antennas among the N first antennas 14 can also form other communication functions. For example, one first antenna 14 is used to realize the remote control function (such as a car key), another first antenna 14 is used to realize the NFC access control function, and another first antenna 14 is used to realize the wireless charging function.
切换开关11还包括第一端,该第一端可以是信号控制端,切换开关11的第一端可与信号检测模块12电连接,信号检测模块12用于接收并检测外部通信信号,以判断当前是何种类型的通信信号,需要启用哪种通信功能,进而输出相应的切换信号至切换开关11,使得切换开关11可根据信号检测模块12的检测结果,相应切换选通目标第一天线与目标通信模块,以成功启用与当前需求通信功能匹配的天线通路。并且,本申请实施例中,切换开关11可仅切换选通与当前场景匹配的所述目标第一天线与所述目标通信模块,而保持其他第一天线处于非导通状态也即断开状态,也就是说,所述N个第一天线14中除所述目标第一天线之外的第一天线不与所述M个通信模块中的任一通信模块连通。The switch 11 also includes a first terminal, which can be a signal control terminal, and the first terminal of the switch 11 can be electrically connected to the signal detection module 12, and the signal detection module 12 is used to receive and detect external communication signals to determine What type of communication signal is currently, which communication function needs to be enabled, and then output the corresponding switching signal to the switch 11, so that the switch 11 can switch the gating target first antenna and the first antenna correspondingly according to the detection result of the signal detection module 12 Target the communication module to successfully enable the antenna path that matches the current required communication function. Moreover, in the embodiment of the present application, the switch 11 can switch only the target first antenna and the target communication module that match the current scene, while keeping other first antennas in a non-conducting state, that is, an off state. , That is to say, the first antennas in the N first antennas 14 other than the target first antenna do not communicate with any communication module in the M communication modules.
一种实施方式中,天线切换装置100还可包括主控模块,信号检测模块12可以通过所述主控模块与切换开关11的第一端连接,也就是说,信号检测模块12与所述主控模块的一端连接,与所述主控模块的另一端与切换开关11的第一端连接,信号检测模块12检测出当前外部通信信号的某种参数,并将检测结果传递至所述主控模块,所述主控模块判断出当前外部通信信号对应的通信功能,并确定需要选通的目标第一天线与目标通信模块,进而向切换开关11发送相应的控制信号,切换开关11相应地选通所述目标第一天线与所述目标通信模块。In one embodiment, the antenna switching device 100 may further include a main control module, and the signal detection module 12 may be connected to the first end of the switch 11 through the main control module, that is, the signal detection module 12 is connected to the main control module. One end of the control module is connected, and the other end of the main control module is connected with the first end of the switch 11. The signal detection module 12 detects a certain parameter of the current external communication signal, and transmits the detection result to the main control module. module, the main control module judges the communication function corresponding to the current external communication signal, and determines the target first antenna and the target communication module that need to be gated, and then sends a corresponding control signal to the switch 11, and the switch 11 selects accordingly Connect the target first antenna with the target communication module.
其中,信号检测模块12可包括第二天线121和信号检测单元122,信号检测单元122的一端与第二天线121连接,信号检测单元122的另一端与切换开关11的第一端连接;第二天线121用于接收外部通信信号,信号检测单元122用于检测所述外部通信信号的参数。Wherein, the signal detection module 12 may include a second antenna 121 and a signal detection unit 122, one end of the signal detection unit 122 is connected with the second antenna 121, and the other end of the signal detection unit 122 is connected with the first end of the switch 11; The antenna 121 is used to receive external communication signals, and the signal detection unit 122 is used to detect parameters of the external communication signals.
具体地,第二天线121可以是用于接收外部通信信号的线圈,第二天线121将接收到的所述外部通信信号传输至信号检测单元122进行检测,信号 检测单元122对所述外部通信信号的某种参数,如频率、功率、强度、波形等,进行检测,以便根据检测结果确定所述外部通信信号的类型,确定具体对应的通信功能,具体对应的第一天线。Specifically, the second antenna 121 may be a coil for receiving an external communication signal, and the second antenna 121 transmits the received external communication signal to the signal detection unit 122 for detection, and the signal detection unit 122 detects the external communication signal Detect certain parameters, such as frequency, power, intensity, waveform, etc., so as to determine the type of the external communication signal according to the detection result, determine the specific corresponding communication function, and specifically correspond to the first antenna.
需说明的是,信号检测单元122的具体检测功能可根据所述N个第一天线14所配置的通信功能进行相应配置,例如,所述N个第一天线14配置的各通信功能对应的通信信号主要体现在信号频率上的差异时,可对信号检测单元122配置频率检测功能;所述N个第一天线14配置的各通信功能对应的通信信号主要体现在信号功率上的差异时,可对信号检测单元122配置功率检测功能。当然,也可对信号检测单元122默认配置多种信号参数的检测功能,在实际应用中可根据实际需求选择使用其中一种或多种检测功能。It should be noted that the specific detection function of the signal detection unit 122 can be configured according to the communication functions configured by the N first antennas 14, for example, the communication functions corresponding to the communication functions configured by the N first antennas 14 When the signal mainly reflects the difference in signal frequency, the signal detection unit 122 can be configured with a frequency detection function; when the communication signals corresponding to the communication functions configured by the N first antennas 14 mainly reflect the difference in signal power, the signal detection unit 122 can be configured with a frequency detection function; A power detection function is assigned to the signal detection unit 122 . Of course, the signal detection unit 122 can also be configured with detection functions of various signal parameters by default, and one or more detection functions can be selected and used according to actual needs in practical applications.
这样,本申请实施例中,可通过简单的天线和信号检测单元结构来实现信号检测功能,保证天线切换装置100的结构相对简单,实现成本低。In this way, in the embodiment of the present application, the signal detection function can be realized through a simple structure of the antenna and the signal detection unit, so that the structure of the antenna switching device 100 is relatively simple and the implementation cost is low.
需说明的是,上述外部通信信号可以是指天线切换装置100或设置有天线切换装置100的电子设备之外的外部通信设备发射出的外部信号,也即非天线切换装置100或非所述电子设备所发射出的信号,例如,可以是天线切换装置100附近的无线底座、门禁设备、公交刷卡设备等发射出的信号。It should be noted that the above-mentioned external communication signal may refer to an external signal transmitted by an external communication device other than the antenna switching device 100 or the electronic device provided with the antenna switching device 100, that is, not the antenna switching device 100 or the electronic device The signal emitted by the device may be, for example, a signal emitted by a wireless base, an access control device, or a bus card swiping device near the antenna switching device 100 .
本申请实施例中,所述N个第一天线14分别用于接收对应不同通信功能的通信信号,且这些对应不同通信功能的通信信号可存在至少一个参数不同,也就是说,不同第一天线14所配置的可接收通信信号是不同类型的通信信号,这些通信信号之间存在可区分差异的一个或多个指标参数,例如,实现不同通信功能的通信信号在频率、功率、信号强度和/或波形等指标参数上会存在明显差别,从而在实际应用场景中,可基于检测到的外部通信信号在某一参数上的表现,来区分当前通信信号对应的是何种通信功能,需要启用哪一路或哪几路第一天线14。In the embodiment of the present application, the N first antennas 14 are respectively used to receive communication signals corresponding to different communication functions, and these communication signals corresponding to different communication functions may have at least one parameter difference, that is, different first antennas 14 The configured receivable communication signals are different types of communication signals, and there are one or more index parameters that can distinguish differences between these communication signals, for example, the frequency, power, signal strength and/or There will be obvious differences in index parameters such as waveforms or waveforms. Therefore, in actual application scenarios, based on the performance of a detected external communication signal on a certain parameter, it is possible to distinguish which communication function the current communication signal corresponds to and which communication function needs to be enabled. One or several first antennas 14 .
信号检测单元122所检测的外部通信信号的参数可以是所述对应不同通信功能的通信信号中存在不同的至少一个参数中的一个或多个,例如,对应不同通信功能的通信信号在频率上存在明显差别,则检测参数可以是频率,即可以通过检测外部通信信号的频率来确定当前场景下需要启用的目标第一天线;又例如,对应不同通信功能的通信信号在频率和功率上都存在明显差 别,则检测参数可以是频率和/或功率,即可以通过检测外部通信信号的频率和/或功率来确定当前场景下需要启用的目标第一天线;还例如,对应不同通信功能的通信信号中部分在频率上存在明显差别,部分在功率上存在明显差别,则检测参数可以是频率和功率,即可以通过结合检测外部通信信号的频率和功率来准确确定当前场景下需要启用的目标第一天线。也就是说,具体需检测的参数可以根据各第一天线14实际配置的通信功能对应的通信信号的参数进行合理选择。The parameters of the external communication signal detected by the signal detection unit 122 may be one or more of at least one parameter that is different in the communication signals corresponding to different communication functions, for example, the communication signals corresponding to different communication functions exist in frequency If there is an obvious difference, the detection parameter can be frequency, that is, the target first antenna that needs to be enabled in the current scenario can be determined by detecting the frequency of the external communication signal; another example, communication signals corresponding to different communication functions have obvious differences in frequency and power. difference, the detection parameter can be frequency and/or power, that is, the target first antenna that needs to be enabled in the current scenario can be determined by detecting the frequency and/or power of the external communication signal; also for example, in communication signals corresponding to different communication functions Some have obvious differences in frequency, and some have obvious differences in power, then the detection parameters can be frequency and power, that is, the target first antenna that needs to be activated in the current scenario can be accurately determined by combining the frequency and power of external communication signals . That is to say, the specific parameters to be detected can be reasonably selected according to the parameters of the communication signals corresponding to the communication functions actually configured by each first antenna 14 .
可选地,信号检测模块12通过检测外部通信信号的参数确定是否检测到所述目标通信信号,所述参数包括频率、功率、信号强度和波形中的至少一个。Optionally, the signal detection module 12 determines whether the target communication signal is detected by detecting parameters of the external communication signal, the parameters including at least one of frequency, power, signal strength and waveform.
一种实施方式中,各第一天线14所配置接收的通信信号可在频率、功率、信号强度和/或波形等参数上存在差异,从而可相应地从中选择一个或多个差异参数来作为对外部通信信号进行检测的参数,具体地,根据实际情况,检测参数可包括频率、功率、信号强度和波形中的一个或多个。当然,检测参数也可包括其他能够区分不同通信功能的通信信号的参数。In one embodiment, the communication signals that each first antenna 14 is configured to receive may have differences in parameters such as frequency, power, signal strength, and/or waveform, so that one or more difference parameters may be selected accordingly as a countermeasure. Parameters for detecting external communication signals. Specifically, according to actual conditions, the detection parameters may include one or more of frequency, power, signal strength, and waveform. Of course, the detection parameters may also include other parameters capable of distinguishing communication signals of different communication functions.
可选地,所述参数包括频率、功率、信号强度和波形中的多个;Optionally, the parameters include a plurality of frequency, power, signal strength and waveform;
信号检测模块12包括多个信号检测单元,不同信号检测单元分别用于检测外部通信信号的不同参数。The signal detection module 12 includes a plurality of signal detection units, and different signal detection units are respectively used to detect different parameters of external communication signals.
即一种实施方式中,所述参数包括频率、功率、信号强度和波形中的多个时,可对信号检测模块12配置多个信号检测单元,每个信号检测单元可分别对应一种信号参数检测功能,例如,在所述参数包括频率、功率和波形时,信号检测模块12可包括三个信号检测单元,其中一个信号检测单元用于检测外部通信信号的频率,一个信号检测单元用于检测外部通信信号的功率,另一个信号检测单元用于检测外部通信信号的波形。That is, in one embodiment, when the parameters include frequency, power, signal strength and waveform, multiple signal detection units can be configured for the signal detection module 12, and each signal detection unit can correspond to a signal parameter respectively. Detection function, for example, when the parameters include frequency, power and waveform, the signal detection module 12 may include three signal detection units, one of which is used to detect the frequency of external communication signals, and one signal detection unit is used to detect The power of the external communication signal, another signal detection unit is used to detect the waveform of the external communication signal.
通过该实施方式,能够对外部通信信号的多种参数进行检测,以保证能够更为全面准确地区分外部通信信号对应的通信功能,并可根据需要检测的参数,使用相应的信号检测单元来完成对外部通信信号的检测,保证信号检测方式的灵活和可靠。Through this embodiment, various parameters of the external communication signal can be detected to ensure that the communication function corresponding to the external communication signal can be more comprehensively and accurately distinguished, and the corresponding signal detection unit can be used to complete the detection according to the parameters that need to be detected The detection of external communication signals ensures the flexibility and reliability of signal detection methods.
本申请实施例中,由于各第一天线14是通过切换开关11来选通与当前 使用场景匹配的天线通路进入工作状态,使得在使用某个通信功能的场景下,仅有一个第一天线或部分第一天线被启用,进而可保证各对应不同通信功能的天线通路之间彼此互不干扰,提高天线性能。因此,可允许将N个第一天线14设置在同一物理空间,例如,在电子设备中布置天线切换装置100时,可将所述N个第一天线14设置在所述电子设备中的同一物理空间。In the embodiment of the present application, since each first antenna 14 selects the antenna path matching the current usage scenario and enters the working state by switching the switch 11, so that in the scenario of using a certain communication function, there is only one first antenna or Some of the first antennas are activated, thereby ensuring that the antenna paths corresponding to different communication functions do not interfere with each other, thereby improving antenna performance. Therefore, it is allowed to arrange N first antennas 14 in the same physical space. For example, when the antenna switching device 100 is arranged in an electronic device, the N first antennas 14 can be arranged in the same physical space in the electronic device. space.
也就是说,可选地,所述N个第一天线14集成设置在同一模块。That is to say, optionally, the N first antennas 14 are integrated and arranged in the same module.
具体地,所述N个第一天线14可以在同一物理空间中叠加设置,也可以集成设置在同一天线模块。这样,相比现有技术中,在电子设备中对每个通信功能独立配置线圈天线的方式,该实施方式通过将多个天线环路整合在一起使用,可以极大地优化设备使用空间,且能满足小空间下融合更多通信功能,例如,可融合125K的射频识别(Radio Frequency Identification,RFID)、433MHz的遥控钥匙、868MHz的RFID、无线充电、13.65MHz的NFC等多种通信功能。Specifically, the N first antennas 14 may be arranged superimposedly in the same physical space, or may be integrated and arranged in the same antenna module. In this way, compared with the prior art in which the coil antenna is independently configured for each communication function in the electronic device, this embodiment can greatly optimize the space used by the device by integrating multiple antenna loops for use, and can Meet the need to integrate more communication functions in a small space, for example, it can integrate 125K radio frequency identification (Radio Frequency Identification, RFID), 433MHz remote key, 868MHz RFID, wireless charging, 13.65MHz NFC and other communication functions.
可选地,所述不同的通信信号包括对应遥控功能的第一通信信号、对应近场通信NFC功能的第二通信信号和对应射频识别RFID功能的第三通信信号中的一个或多个;Optionally, the different communication signals include one or more of a first communication signal corresponding to a remote control function, a second communication signal corresponding to a near field communication NFC function, and a third communication signal corresponding to a radio frequency identification RFID function;
所述第一通信信号为工作在433MHz的通信信号;The first communication signal is a communication signal working at 433MHz;
所述第二通信信号为工作在13.56MHz的通信信号;The second communication signal is a communication signal working at 13.56MHz;
所述第三通信信号为工作在125KHz的通信信号。The third communication signal is a communication signal working at 125KHz.
即一种实施方式中,可对所述N个第一天线14中的不同第一天线分别配置用于接收对应遥控功能的第一通信信号、对应NFC功能的第二通信信号、对应RFID功能的第三通信信号等,使得配置有天线切换装置100的电子设备能够支持遥控功能、NFC功能和RFID功能中的一个或多个,且各功能之间可通过切换独立天线通路来实现互不干扰的工作。That is, in one embodiment, different first antennas among the N first antennas 14 can be respectively configured to receive the first communication signal corresponding to the remote control function, the second communication signal corresponding to the NFC function, and the second communication signal corresponding to the RFID function. The third communication signal, etc., enables the electronic device configured with the antenna switching device 100 to support one or more of the remote control function, NFC function and RFID function, and each function can realize mutual non-interference by switching independent antenna paths Work.
并且,为了能够良好地区分这些功能,可以对这些功能所对应的通信信号的工作频率进行配置,以便在实际应用中能够通过检测外部通信信号的频率,来实现快速准确地识别通信信号类型,进而快速准确地切换至匹配的天线通路,来支持当前通信功能。具体地,所述第一通信信号可以是工作在433MHz左右的通信信号,所述第二通信信号可以是工作在13.56MHz左右的 通信信号,所述第三通信信号可以是工作在125KHz左右的通信信号,这样,可保证不同通信功能对应的通信信号的频率差异较大,进而有助于从频率上快速识别不同通信信号,进而启用相应通信功能对应的天线通路。Moreover, in order to be able to distinguish these functions well, the working frequencies of the communication signals corresponding to these functions can be configured, so that in practical applications, the frequency of external communication signals can be detected to quickly and accurately identify the type of communication signals, and then Quickly and accurately switch to the matching antenna path to support the current communication function. Specifically, the first communication signal may be a communication signal operating at about 433MHz, the second communication signal may be a communication signal operating at about 13.56MHz, and the third communication signal may be a communication signal operating at about 125KHz. In this way, it can ensure that the frequency differences of communication signals corresponding to different communication functions are relatively large, which in turn helps to quickly identify different communication signals from the frequency, and then enables the antenna path corresponding to the corresponding communication function.
本申请实施例中的天线切换装置包括:切换开关;信号检测模块,所述信号检测模块包括第二天线和信号检测单元,所述信号检测单元的一端与所述第二天线连接,所述信号检测单元的另一端与所述切换开关的第一端电连接;M个通信模块,所述M个通信模块与所述切换开关的M个第二端一一对应连接,M为大于1的整数;N个第一天线,所述N个第一天线与所述切换开关的N个第三端一一对应连接,N为大于1的整数;其中,所述N个第一天线分别用于接收不同的通信信号,不同的通信信号存在至少一个参数不同;所述信号检测模块在检测到目标通信信号时,输出切换信号至所述切换开关,以使所述切换开关选通目标通信模块与目标第一天线,所述目标第一天线为所述N个第一天线中用于接收所述目标通信信号的第一天线,所述目标通信模块为所述M个通信模块中与所述目标第一天线匹配的通信模块;所述N个第一天线中除所述目标第一天线之外的第一天线不与所述M个通信模块中的任一通信模块连通。The antenna switching device in the embodiment of the present application includes: a switch; a signal detection module, the signal detection module includes a second antenna and a signal detection unit, one end of the signal detection unit is connected to the second antenna, and the signal The other end of the detection unit is electrically connected to the first end of the switch; M communication modules, the M communication modules are connected to the M second ends of the switch one by one, and M is an integer greater than 1 ; N first antennas, the N first antennas are connected to the N third ends of the switch one by one, and N is an integer greater than 1; wherein, the N first antennas are respectively used for receiving Different communication signals, different communication signals have at least one parameter difference; when the signal detection module detects the target communication signal, it outputs a switch signal to the switch, so that the switch switches the target communication module and the target The first antenna, the target first antenna is the first antenna used to receive the target communication signal among the N first antennas, and the target communication module is the first antenna among the M communication modules that is connected to the target. A communication module with matching antennas; among the N first antennas, the first antennas other than the target first antenna are not connected to any communication module among the M communication modules.
这样,可通过检测外部通信信号来确定当前需启用的目标第一天线,进而切换至相应的天线通路来接收外部通信信号,并使其他不相关的天线通路处于断开状态,从而可实现按实际需求启用相应天线,减少多天线同时启用所产生的天线间干扰,进而改善天线工作性能。In this way, the target first antenna to be activated can be determined by detecting the external communication signal, and then switch to the corresponding antenna channel to receive the external communication signal, and keep other irrelevant antenna channels in the disconnected state, so that the actual It is required to enable the corresponding antennas to reduce the interference between antennas caused by the simultaneous activation of multiple antennas, thereby improving the performance of the antennas.
本申请实施例还提供一种电子设备,包括图1所示实施例中提供的天线切换装置100。该电子设备的实施方式可以参见前述实施例中的相关介绍,且能够取得和前述天线装置实施例相同的技术效果,为避免重复,此处不再赘述。The embodiment of the present application further provides an electronic device, including the antenna switching apparatus 100 provided in the embodiment shown in FIG. 1 . For the implementation manner of the electronic device, reference may be made to relevant introductions in the aforementioned embodiments, and the same technical effect as that of the aforementioned antenna device embodiments can be achieved. To avoid repetition, details are not repeated here.
请参见图2,图1为本申请实施例提供的天线切换方法的流程图,由前一实施例中提供的电子设备执行,如图2所示,该方法包括以下步骤:Please refer to FIG. 2. FIG. 1 is a flow chart of the antenna switching method provided in the embodiment of the present application, which is executed by the electronic device provided in the previous embodiment. As shown in FIG. 2, the method includes the following steps:
步骤201、通过所述电子设备的信号检测模块接收并检测外部通信信号的参数。Step 201: Receive and detect parameters of external communication signals through the signal detection module of the electronic device.
步骤202、确定所述电子设备的N个第一天线中用于接收目标通信信号 的目标第一天线,以及确定所述电子设备的M个通信模块中与所述目标第一天线匹配的目标通信模块,其中,所述目标通信信号为与所检测到的参数的测量值匹配的通信信号。Step 202: Determine the target first antenna used to receive the target communication signal among the N first antennas of the electronic device, and determine the target communication channel among the M communication modules of the electronic device that matches the target first antenna module, wherein the target communication signal is a communication signal that matches the measured value of the detected parameter.
步骤203、通过所述电子设备的切换开关选通所述目标第一天线与所述目标通信模块,其中,所述N个第一天线中除所述目标第一天线之外的第一天线不与所述M个通信模块中的任一通信模块连通。 Step 203, select the target first antenna and the target communication module through the switching switch of the electronic device, wherein, among the N first antennas, the first antennas other than the target first antenna are not communicate with any communication module in the M communication modules.
需说明的是,本实施例作为与图1所示天线切换装置实施例对应的方法实施例,其具体实施方式可以参见前述图1实施例中的相关介绍,此处不再赘述。It should be noted that this embodiment is a method embodiment corresponding to the embodiment of the antenna switching device shown in FIG. 1 , and its specific implementation manner can refer to the relevant introduction in the foregoing embodiment of FIG. 1 , which will not be repeated here.
可选地,所述步骤202包括:Optionally, the step 202 includes:
根据预先定义的N个参数值区间,确定所述测量值所位于的第一参数值区间,其中,所述N个参数值区间根据所述N个第一天线分别配置的通信信号的N个参数值确定;According to the predefined N parameter value intervals, determine the first parameter value interval where the measured value is located, wherein the N parameter value intervals are based on the N parameters of the communication signals respectively configured by the N first antennas value determination;
确定参数值位于所述第一参数值区间的目标通信信号,并确定所述N个第一天线中用于接收所述目标通信信号的目标第一天线。determining a target communication signal whose parameter value is within the first parameter value range, and determining a target first antenna among the N first antennas for receiving the target communication signal.
即一种实施方式中,可以预先根据所述N个第一天线分别配置的通信信号的N个参数值,相应获得N个参数值区间,例如,3个第一天线分别配置的通信信号的参数值从大到小依次为C 1、C 2和C 3,可设定参数值区间S 1、S 2和S 3,其中,S 1为大于C 1′的区间,S 2为大于C 2′且小于C 1′的区间,S 2为小于C 2′的区间,C 1′可为介于C 1与C 2之间的值,C 2′可为介于C 2与C 3之间的值。当然,也可根据其他方式来划定参数值区间,只要保证能够较好区分不同通信信号的参数值即可。 That is, in one embodiment, N parameter value intervals can be obtained in advance according to the N parameter values of the communication signals respectively configured by the N first antennas, for example, the parameters of the communication signals respectively configured by the 3 first antennas The values from large to small are C 1 , C 2 and C 3 , and parameter value intervals S 1 , S 2 and S 3 can be set, among which, S 1 is an interval greater than C 1 ′, and S 2 is greater than C 2 ′ And less than the interval of C 1 ′, S 2 is the interval less than C 2 ′, C 1 ′ can be a value between C 1 and C 2 , and C 2 can be a value between C 2 and C 3 value. Of course, the parameter value range may also be defined in other ways, as long as it is ensured that the parameter values of different communication signals can be better distinguished.
这样,可在检测得到外部通信信号的测量值后,判断所述测量值位于所述N个参数值区间中的哪个参数值区间,从而可确定所述测量值所位于的第一参数值区间。In this way, after the measured value of the external communication signal is detected, it can be determined which parameter value interval the measured value is in among the N parameter value intervals, so as to determine the first parameter value interval in which the measured value is located.
接着,可基于所述第一参数值区间,确定参数值位于所述第一参数值区间的目标通信信号,该目标通信信号即为当前外部通信信号匹配的信号,且可进一步确定所述N个第一天线中用于接收所述目标通信信号的第一天线为目标第一天线。Then, based on the first parameter value interval, the target communication signal whose parameter value is in the first parameter value interval can be determined, the target communication signal is the signal matching the current external communication signal, and the N number can be further determined Among the first antennas, the first antenna used to receive the target communication signal is the target first antenna.
这样,通过该实施方式,可以较快速且准确地通过检测外部通信信号的参数,确定与当前通信场景所匹配的目标第一天线,进而通过切换开关11选通所述目标第一天线对应的天线通路,以保证快速启用所述目标第一天线,保证良好的使用时效性。In this way, through this embodiment, the target first antenna that matches the current communication scene can be determined quickly and accurately by detecting the parameters of the external communication signal, and then the antenna corresponding to the target first antenna can be selected by switching the switch 11 The channel is used to ensure that the target first antenna is quickly activated and good timeliness of use is ensured.
本申请实施例中的天线切换方法,包括:通过所述电子设备的信号检测模块接收并检测外部通信信号的参数;确定所述电子设备的N个第一天线中用于接收目标通信信号的目标第一天线,以及确定所述电子设备的M个通信模块中与所述目标第一天线匹配的目标通信模块,其中,所述目标通信信号为与所检测到的参数的测量值匹配的通信信号;通过所述电子设备的切换开关选通所述目标第一天线与所述目标通信模块,其中,所述N个第一天线中除所述目标第一天线之外的第一天线不与所述M个通信模块中的任一通信模块连通。这样,通过检测外部通信信号的参数,来确定当前需启用的目标第一天线,进而切换至相应的天线通路来接收外部通信信号,并使其他不相关的天线通路处于断开状态,从而可实现按实际需求启用相应天线,减少多天线同时启用所产生的天线间干扰,进而改善天线工作性能。The antenna switching method in the embodiment of the present application includes: receiving and detecting parameters of external communication signals through the signal detection module of the electronic device; determining the target for receiving the target communication signal among the N first antennas of the electronic device The first antenna, and determining a target communication module among the M communication modules of the electronic device that matches the target first antenna, wherein the target communication signal is a communication signal that matches the measured value of the detected parameter ; gating the target first antenna and the target communication module through the switch of the electronic device, wherein, among the N first antennas, the first antennas other than the target first antenna are not connected to the target first antenna Any communication module in the above M communication modules is connected. In this way, by detecting the parameters of the external communication signal, the target first antenna to be activated at present is determined, and then switched to the corresponding antenna path to receive the external communication signal, and other unrelated antenna paths are disconnected, so that the Enable corresponding antennas according to actual needs, reduce inter-antenna interference caused by simultaneous activation of multiple antennas, and improve antenna performance.
下面结合若干个不同的应用场景实施例,来举例说明本申请实施例的具体实施方式:The following combines several different application scenario embodiments to illustrate the specific implementation of the embodiments of the present application:
应用场景一:通信功能A、通信功能B和通信功能C的频率差异较大,直接通过频率进行区分。Application Scenario 1: The frequencies of communication function A, communication function B, and communication function C are quite different, and they are distinguished directly by frequency.
通信功能A、通信功能B和通信功能C的工作频谱不交叉时,对应的三种频率呈现为f(A)>f(B)>f(C),通过检测外部通信信号的频率点,即可判断需要采用何种通信功能,并可切换到相应的通信环路完成通信。When the working spectrums of communication function A, communication function B and communication function C do not intersect, the corresponding three frequencies appear as f(A)>f(B)>f(C), by detecting the frequency point of the external communication signal, that is It can judge which communication function needs to be used, and can switch to the corresponding communication loop to complete the communication.
例如,通信功能A是433MHz的遥控功能,通信功能B是13.56MHz的NFC功能,通信功能C是125K的RFID功能。在检测到外部通信信号频率在100MHz以上时,可判断为遥控功能,从而启用配置用于实现遥控功能的天线;在检测到外部通信信号频率在1~100MHz时,可判断为NFC功能,从而启用配置用于实现NFC功能的天线;而在检测到外部通信信号频率低于1MHz时,可判断为RFID功能,从而启用配置用于实现RFID功能的天线。这样,通过切换至相应的天线环路,可提高对应通信功能的质量。For example, communication function A is a 433MHz remote control function, communication function B is a 13.56MHz NFC function, and communication function C is a 125K RFID function. When it is detected that the frequency of the external communication signal is above 100MHz, it can be judged as the remote control function, thereby enabling the antenna configured to realize the remote control function; when it is detected that the frequency of the external communication signal is 1-100MHz, it can be judged as the NFC function, thereby enabling it The antenna configured to realize the NFC function is configured; and when the frequency of the external communication signal is detected to be lower than 1MHz, it can be determined as the RFID function, thereby enabling the antenna configured to realize the RFID function. In this way, by switching to the corresponding antenna loop, the quality of the corresponding communication function can be improved.
应用场景二:通信功能A和通信功能B所表现的驱动强度(即功率强度)不同,通过信号功率强度进行区分判断。Application Scenario 2: Communication function A and communication function B exhibit different drive strengths (ie, power strengths), which are differentiated and judged by signal power strengths.
通信功能A与通信功能B无法简单通过频率来实现区分,但外部通信设备发送的信号强度差异较大时,可以通过功率检测来识别不同的功能。Communication function A and communication function B cannot be distinguished simply by frequency, but when the signal strengths sent by external communication devices are quite different, different functions can be identified through power detection.
具体地,通信功能A与通信功能B的频率接近,通信功能A的信号强度要大于通信功能B的信号强度,在检测到外部通信信号感应出的信号强度超出设定阈值时可判断为通信功能A,否则判断为通信功能B。Specifically, the frequency of communication function A is close to that of communication function B, and the signal strength of communication function A is greater than that of communication function B. When it is detected that the signal strength induced by an external communication signal exceeds the set threshold, it can be judged as a communication function A, otherwise it is judged as communication function B.
例如,通信功能A是无线充电功能,信号频率为110kHz~150kHz,传输功率较大;通信功能B是125K的RFID功能,信号频率为125kHz或134kHz,信号发射驱动强度与功率都很小。当使用无线充电时,检测到的无线充电信号的信号强度会远超RFID的信号强度,可以以此作为判断依据。For example, communication function A is a wireless charging function, the signal frequency is 110kHz-150kHz, and the transmission power is relatively large; communication function B is a 125K RFID function, the signal frequency is 125kHz or 134kHz, and the signal transmission drive strength and power are very small. When using wireless charging, the signal strength of the detected wireless charging signal will far exceed the signal strength of RFID, which can be used as a basis for judgment.
应用场景三:通信功能A和通信功能B所表现的其他指标不同。Application Scenario 3: Communication function A and communication function B exhibit different indicators.
在这种情况下,只要当两种通信功能的通信信号存在差异,即可通过检测该差异指标来判断对应通信功能,进而实现通信功能适配。In this case, as long as there is a difference between the communication signals of the two communication functions, the corresponding communication function can be judged by detecting the difference index, thereby realizing communication function adaptation.
可选地,如图3所示,本申请实施例还提供一种电子设备300,包括处理器301,存储器302,存储在存储器302上并可在所述处理器301上运行的程序或指令,该程序或指令被处理器301执行时实现上述天线切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 3 , the embodiment of the present application further provides an electronic device 300, including a processor 301, a memory 302, and programs or instructions stored in the memory 302 and operable on the processor 301, When the program or instruction is executed by the processor 301, each process of the antenna switching method embodiment described above can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图4为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410以及图1所示实施例中的天线切换装置411等部件。The electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410 and a graph The antenna switching device 411 and other components in the embodiment shown in 1.
本领域技术人员可以理解,电子设备400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图4中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多 或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 400 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 410 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 4 does not constitute a limitation to the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
其中,天线切换装置411,用于接收并检测外部通信信号的参数;Wherein, the antenna switching device 411 is used to receive and detect parameters of external communication signals;
处理器410,用于确定所述电子设备的N个第一天线中用于接收目标通信信号的目标第一天线,以及确定所述电子设备的M个通信模块中与所述目标第一天线匹配的目标通信模块,其中,所述目标通信信号为与所检测到的参数的测量值匹配的通信信号; Processor 410, configured to determine a target first antenna for receiving a target communication signal among the N first antennas of the electronic device, and determine that among the M communication modules of the electronic device, the target first antenna matches The target communication module, wherein the target communication signal is a communication signal matching the measured value of the detected parameter;
天线切换装置411还用于选通所述目标第一天线与所述目标通信模块,其中,所述N个第一天线中除所述目标第一天线之外的第一天线不与所述M个通信模块中的任一通信模块连通。The antenna switching device 411 is also used to select the target first antenna and the target communication module, wherein, among the N first antennas, the first antennas other than the target first antenna are not connected to the M Any one of the two communication modules is connected.
可选地,处理器410,还用于根据预先定义的N个参数值区间,确定所述测量值所位于的第一参数值区间,其中,所述N个参数值区间根据所述N个第一天线分别配置的通信信号的N个参数值确定;Optionally, the processor 410 is further configured to determine the first parameter value interval where the measurement value is located according to the predefined N parameter value intervals, wherein the N parameter value intervals are based on the Nth parameter value intervals. Determination of N parameter values of the communication signals respectively configured by one antenna;
确定参数值位于所述第一参数值区间的目标通信信号,并确定所述N个第一天线中用于接收所述目标通信信号的目标第一天线。determining a target communication signal whose parameter value is within the first parameter value range, and determining a target first antenna among the N first antennas for receiving the target communication signal.
本申请实施例中的电子设备,接收并检测外部通信信号的参数;确定所述电子设备的N个第一天线中用于接收目标通信信号的目标第一天线,以及确定所述电子设备的M个通信模块中与所述目标第一天线匹配的目标通信模块,其中,所述目标通信信号为与所检测到的参数的测量值匹配的通信信号;选通所述目标第一天线与所述目标通信模块,其中,所述N个第一天线中除所述目标第一天线之外的第一天线不与所述M个通信模块中的任一通信模块连通。这样,通过检测外部通信信号的参数,来确定当前需启用的目标第一天线,进而切换至相应的天线通路来接收外部通信信号,并使其他不相关的天线通路处于断开状态,从而可实现按实际需求启用相应天线,减少多天线同时启用所产生的天线间干扰,进而改善天线工作性能。The electronic device in the embodiment of the present application receives and detects the parameters of the external communication signal; determines the target first antenna for receiving the target communication signal among the N first antennas of the electronic device, and determines the M of the electronic device Among the communication modules, the target communication module that matches the target first antenna, wherein the target communication signal is a communication signal that matches the measured value of the detected parameter; the target first antenna is selected to be connected to the target first antenna. The target communication module, wherein, among the N first antennas, the first antennas other than the target first antenna do not communicate with any communication module among the M communication modules. In this way, by detecting the parameters of the external communication signal, the target first antenna to be activated at present is determined, and then switched to the corresponding antenna path to receive the external communication signal, and other unrelated antenna paths are disconnected, so that the Enable corresponding antennas according to actual needs, reduce inter-antenna interference caused by simultaneous activation of multiple antennas, and improve antenna performance.
应理解的是,本申请实施例中,输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元406可包括显示面板4061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板4061。用户输入单 元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器409可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。It should be understood that, in the embodiment of the present application, the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042, and the graphics processor 4041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071 is also called a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here. Memory 409 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 410 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述天线切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by a processor, each process of the above antenna switching method embodiment is realized, and can achieve the same To avoid repetition, the technical effects will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述天线切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above antenna switching method embodiment Each process can achieve the same technical effect, so in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例 如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (9)

  1. 一种天线切换装置,包括:An antenna switching device, comprising:
    切换开关;toggle switch;
    信号检测模块,所述信号检测模块包括第二天线和信号检测单元,所述信号检测单元的一端与所述第二天线连接,所述信号检测单元的另一端与所述切换开关的第一端电连接;A signal detection module, the signal detection module includes a second antenna and a signal detection unit, one end of the signal detection unit is connected to the second antenna, and the other end of the signal detection unit is connected to the first end of the switch electrical connection;
    M个通信模块,所述M个通信模块与所述切换开关的M个第二端一一对应连接,M为大于1的整数;M communication modules, the M communication modules are connected to the M second ends of the switch one by one, and M is an integer greater than 1;
    N个第一天线,所述N个第一天线与所述切换开关的N个第三端一一对应连接,N为大于1的整数;N first antennas, the N first antennas are connected to the N third ends of the switch in one-to-one correspondence, and N is an integer greater than 1;
    其中,所述N个第一天线分别用于接收不同的通信信号,不同的通信信号存在至少一个参数不同;所述信号检测模块在检测到目标通信信号时,输出切换信号至所述切换开关,以使所述切换开关选通目标通信模块与目标第一天线,所述目标第一天线为所述N个第一天线中用于接收所述目标通信信号的第一天线,所述目标通信模块为所述M个通信模块中与所述目标第一天线匹配的通信模块;Wherein, the N first antennas are respectively used to receive different communication signals, and different communication signals have at least one parameter difference; when the signal detection module detects the target communication signal, it outputs a switch signal to the switch, To enable the switching switch to select the target communication module and the target first antenna, the target first antenna is the first antenna for receiving the target communication signal among the N first antennas, and the target communication module A communication module that matches the target first antenna among the M communication modules;
    所述N个第一天线中除所述目标第一天线之外的第一天线不与所述M个通信模块中的任一通信模块连通。A first antenna in the N first antennas other than the target first antenna is not connected to any communication module in the M communication modules.
  2. 根据权利要求1所述的天线切换装置,其中,所述N个第一天线集成设置在同一模块。The antenna switching device according to claim 1, wherein the N first antennas are integrated and arranged in a same module.
  3. 根据权利要求1所述的天线切换装置,其中,所述信号检测模块通过检测外部通信信号的参数确定是否检测到所述目标通信信号,所述参数包括频率、功率、信号强度和波形中的至少一个。The antenna switching device according to claim 1, wherein the signal detection module determines whether the target communication signal is detected by detecting parameters of the external communication signal, and the parameters include at least one of frequency, power, signal strength and waveform one.
  4. 根据权利要求3所述的天线切换装置,其中,所述参数包括频率、功率、信号强度和波形中的多个;The antenna switching device according to claim 3, wherein the parameters include a plurality of frequency, power, signal strength and waveform;
    所述信号检测模块包括多个信号检测单元,不同信号检测单元分别用于检测外部通信信号的不同参数。The signal detection module includes a plurality of signal detection units, and different signal detection units are respectively used to detect different parameters of external communication signals.
  5. 根据权利要求1所述的天线切换装置,其中,所述不同的通信信号包 括对应遥控功能的第一通信信号、对应近场通信NFC功能的第二通信信号和对应射频识别RFID功能的第三通信信号中的一个或多个;The antenna switching device according to claim 1, wherein the different communication signals include a first communication signal corresponding to a remote control function, a second communication signal corresponding to a near field communication (NFC) function, and a third communication corresponding to a radio frequency identification (RFID) function one or more of the signals;
    所述第一通信信号为工作在433MHz的通信信号;The first communication signal is a communication signal working at 433MHz;
    所述第二通信信号为工作在13.56MHz的通信信号;The second communication signal is a communication signal working at 13.56MHz;
    所述第三通信信号为工作在125KHz的通信信号。The third communication signal is a communication signal working at 125KHz.
  6. 一种电子设备,包括权利要求1至5中任一项所述的天线切换装置。An electronic device comprising the antenna switching device according to any one of claims 1 to 5.
  7. 一种天线切换方法,由权利要求6中的电子设备执行,该方法包括:An antenna switching method, performed by the electronic device in claim 6, the method comprising:
    通过所述电子设备的信号检测模块接收并检测外部通信信号的参数;receiving and detecting parameters of external communication signals through the signal detection module of the electronic device;
    确定所述电子设备的N个第一天线中用于接收目标通信信号的目标第一天线,以及确定所述电子设备的M个通信模块中与所述目标第一天线匹配的目标通信模块,其中,所述目标通信信号为与所检测到的参数的测量值匹配的通信信号;determining a target first antenna for receiving a target communication signal among the N first antennas of the electronic device, and determining a target communication module matching the target first antenna among the M communication modules of the electronic device, wherein , the target communication signal is a communication signal matching the measured value of the detected parameter;
    通过所述电子设备的切换开关选通所述目标第一天线与所述目标通信模块,其中,所述N个第一天线中除所述目标第一天线之外的第一天线不与所述M个通信模块中的任一通信模块连通。The target first antenna and the target communication module are selected through the switching switch of the electronic device, wherein, among the N first antennas, the first antennas other than the target first antenna are not connected to the target first antenna. Any communication module among the M communication modules is connected.
  8. 根据权利要求7所述的方法,其中,所述确定所述电子设备的N个第一天线中用于接收目标通信信号的目标第一天线,包括:The method according to claim 7, wherein said determining the target first antenna for receiving the target communication signal among the N first antennas of the electronic device comprises:
    根据预先定义的N个参数值区间,确定所述测量值所位于的第一参数值区间,其中,所述N个参数值区间根据所述N个第一天线分别配置的通信信号的N个参数值确定;According to the predefined N parameter value intervals, determine the first parameter value interval where the measured value is located, wherein the N parameter value intervals are based on the N parameters of the communication signals respectively configured by the N first antennas value determined;
    确定参数值位于所述第一参数值区间的目标通信信号,并确定所述N个第一天线中用于接收所述目标通信信号的目标第一天线。determining a target communication signal whose parameter value is within the first parameter value range, and determining a target first antenna among the N first antennas for receiving the target communication signal.
  9. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求7或8所述的天线切换方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, wherein the program or instruction is executed by the processor to achieve claim 7 or the steps of the antenna switching method described in 8.
PCT/CN2022/128232 2021-10-28 2022-10-28 Antenna switching apparatus and method, and electronic device WO2023072243A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111262438.3 2021-10-28
CN202111262438.3A CN113992233B (en) 2021-10-28 2021-10-28 Antenna switching device and method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2023072243A1 true WO2023072243A1 (en) 2023-05-04

Family

ID=79743330

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/128232 WO2023072243A1 (en) 2021-10-28 2022-10-28 Antenna switching apparatus and method, and electronic device

Country Status (2)

Country Link
CN (1) CN113992233B (en)
WO (1) WO2023072243A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992233B (en) * 2021-10-28 2023-02-03 维沃移动通信有限公司 Antenna switching device and method and electronic equipment
CN115133950B (en) * 2022-06-29 2024-03-26 联想(北京)有限公司 Signal receiving and transmitting circuit, measuring method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954040A (en) * 2015-06-10 2015-09-30 联想(北京)有限公司 Method for determining antenna use and electronic equipment
CN110266359A (en) * 2019-06-25 2019-09-20 Oppo广东移动通信有限公司 Antenna switching method and Related product
CN209979742U (en) * 2018-07-13 2020-01-21 成都中安瑞晨科技有限责任公司 Wireless signal detection device
US10917125B1 (en) * 2019-08-08 2021-02-09 Sprint Spectrum L.P. Method and system for controlling interference by dynamically adjusting quantity of antennas
CN113992233A (en) * 2021-10-28 2022-01-28 维沃移动通信有限公司 Antenna switching device and method and electronic equipment

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006121484A (en) * 2004-10-22 2006-05-11 Kyocera Corp Antenna switch and portable terminal equipment
US20120329395A1 (en) * 2011-06-27 2012-12-27 Qualcomm Atheros, Inc. Dynamic antenna sharing
JP2013168790A (en) * 2012-02-15 2013-08-29 Hitachi Media Electoronics Co Ltd Module for radio communication terminal and radio communication method
CN103368625B (en) * 2012-04-10 2016-04-13 展讯通信(上海)有限公司 The control method of communication terminal and signal transmitting and receiving thereof and device
US20140148095A1 (en) * 2012-11-27 2014-05-29 Broadcom Corporation Multiple antenna arrangement for near field communications
CN106027114B (en) * 2016-06-29 2019-02-15 珠海格力电器股份有限公司 The control method and mobile terminal of mobile terminal
CN106559087A (en) * 2016-10-31 2017-04-05 努比亚技术有限公司 Mobile terminal and wireless signal processing methods
CN107896119B (en) * 2017-11-23 2020-05-22 Oppo广东移动通信有限公司 Antenna sharing circuit and mobile terminal
CN109450477B (en) * 2018-10-31 2021-11-02 北京小米移动软件有限公司 Antenna structure, signal receiving method and device of electronic equipment and electronic equipment
CN109347531B (en) * 2018-11-19 2021-11-02 维沃移动通信有限公司 Antenna state control method and terminal
CN110266343B (en) * 2019-06-25 2021-05-04 Oppo广东移动通信有限公司 Antenna switching method and related equipment
CN110474656B (en) * 2019-06-27 2022-02-22 维沃移动通信有限公司 Signal transmitting and receiving device and electronic equipment
CN110557166B (en) * 2019-08-28 2022-06-14 维沃移动通信有限公司 Communication circuit adjusting method and terminal
CN111146563A (en) * 2019-12-25 2020-05-12 河源市中启通讯科技有限公司 Mobile communication equipment and antenna assembly thereof
WO2021159242A1 (en) * 2020-02-10 2021-08-19 深圳市欢太数字科技有限公司 Radio frequency card selection method, terminal, radio frequency component, storage medium, and apparatus
CN111628800B (en) * 2020-05-12 2022-03-18 RealMe重庆移动通信有限公司 Radio frequency circuit, antenna control method, communication device, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954040A (en) * 2015-06-10 2015-09-30 联想(北京)有限公司 Method for determining antenna use and electronic equipment
CN209979742U (en) * 2018-07-13 2020-01-21 成都中安瑞晨科技有限责任公司 Wireless signal detection device
CN110266359A (en) * 2019-06-25 2019-09-20 Oppo广东移动通信有限公司 Antenna switching method and Related product
US10917125B1 (en) * 2019-08-08 2021-02-09 Sprint Spectrum L.P. Method and system for controlling interference by dynamically adjusting quantity of antennas
CN113992233A (en) * 2021-10-28 2022-01-28 维沃移动通信有限公司 Antenna switching device and method and electronic equipment

Also Published As

Publication number Publication date
CN113992233B (en) 2023-02-03
CN113992233A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
WO2023072243A1 (en) Antenna switching apparatus and method, and electronic device
CN111654316B (en) Antenna switching method and device, storage medium and electronic equipment
CN108430101B (en) Antenna closing method and device, storage medium and electronic equipment
US8922525B2 (en) Touch-controlled electronic device and method for reducing wireless signal interference to touch sensing function
CN108476060B (en) Method for establishing classic Bluetooth connection between dual-mode Bluetooth devices and dual-mode Bluetooth device
KR102061913B1 (en) Method and apparatus for controlling operations of electronic device
US9252890B2 (en) Near field communication device and method for saving applied power
US11012970B2 (en) Method for processing radio frequency interference and electronic device
CN101742464A (en) Method for the neighbor cell monitoring in a dual standby mobile terminal
US20140220885A1 (en) Method for establishing wireless connection between electronic device and computer host and computer system using such method
US20140334364A1 (en) Remote wake-up system and method
CN109074177A (en) A kind of method and touch screen, stylus of determining stylus target operating frequency
EP4064760A1 (en) Device control method and apparatus, storage medium and electronic device
CN109217882A (en) The switching method and mobile terminal of antenna
WO2023072244A1 (en) Signal processing method and related device
CN112886988A (en) Radio frequency system, radio frequency circuit detection method and device and electronic equipment
WO2019035211A1 (en) Communication system, communication device and power saving method
CN112688714B (en) Radio frequency circuit, Bluetooth realization method and device and electronic equipment
CN108833033B (en) Method and device for determining radio frequency calibration parameters, storage medium and mobile terminal
US20170131826A1 (en) Method and device for operating upon no response of touch screen
US10299090B2 (en) Field bus device for detecting an operating state of an automation device
CN112069843A (en) Radio frequency signal processing method and device and electronic equipment
CN106571878A (en) RF fault detection method and device
CN102264007A (en) Radio communication module, remote controller, and radio system
CN106534930A (en) Equipment operation method and device

Legal Events

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

Ref document number: 22886118

Country of ref document: EP

Kind code of ref document: A1