WO2021046696A1 - Antenna switching method and apparatus - Google Patents
Antenna switching method and apparatus Download PDFInfo
- Publication number
- WO2021046696A1 WO2021046696A1 PCT/CN2019/104987 CN2019104987W WO2021046696A1 WO 2021046696 A1 WO2021046696 A1 WO 2021046696A1 CN 2019104987 W CN2019104987 W CN 2019104987W WO 2021046696 A1 WO2021046696 A1 WO 2021046696A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- antenna
- antennas
- user
- mobile phone
- data
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 69
- 238000004891 communication Methods 0.000 claims abstract description 58
- 230000001133 acceleration Effects 0.000 claims description 22
- 238000004590 computer program Methods 0.000 claims description 14
- 238000002955 isolation Methods 0.000 description 40
- 230000006870 function Effects 0.000 description 34
- 238000013461 design Methods 0.000 description 25
- 230000008569 process Effects 0.000 description 20
- 230000005540 biological transmission Effects 0.000 description 17
- 238000012545 processing Methods 0.000 description 17
- 230000002776 aggregation Effects 0.000 description 15
- 238000004220 aggregation Methods 0.000 description 15
- 238000007726 management method Methods 0.000 description 15
- 230000005855 radiation Effects 0.000 description 11
- 230000005236 sound signal Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 8
- 230000003068 static effect Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 7
- 239000004065 semiconductor Substances 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 229920001621 AMOLED Polymers 0.000 description 4
- 238000013500 data storage Methods 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 238000013528 artificial neural network Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010521 absorption reaction Methods 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 102000006463 Talin Human genes 0.000 description 1
- 108010083809 Talin Proteins 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 238000013529 biological neural network Methods 0.000 description 1
- 210000000988 bone and bone Anatomy 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 230000019771 cognition Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000003862 health status Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000002096 quantum dot Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000011282 treatment Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/06—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
- H04B7/0602—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/08—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
- H04B7/0802—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/34—Reselection control
- H04W36/36—Reselection control by user or terminal equipment
- H04W36/362—Conditional handover
Definitions
- This application relates to the field of communication technology, and in particular to an antenna switching method and device.
- multiple antennas may be provided in the terminal.
- one antenna is likely to be used to send and receive data of different standards.
- interference may occur between the multiple antennas.
- the interference between antennas includes, but is not limited to, intermodulation interference and harmonic interference.
- the two or more transmission signals may modulate each other, thereby generating a new frequency signal output. If the new frequency falls within the working bandwidth of the receiver, it will cause interference to the received signal of the receiver.
- the interference caused by the signal generated by the mutual modulation of multiple signals to the receiver is called intermodulation interference.
- a signal is sent at 1940MHz through one antenna, and a signal at 1980MHz is sent through another antenna.
- These two sending signals may generate a 1900MHz signal, which just falls into the reception of the left receiver. Frequency band, therefore, may cause intermodulation interference to the normal reception of the receiver.
- the harmonics of the transmitted signal (such as the first harmonic, the second harmonic, etc.) may fall into the receiving frequency band of the receiver, which will also affect the normal reception of the receiver. This kind of interference caused by the harmonics of the transmitted signal to the receiver is called harmonic interference.
- the embodiments of the present application provide an antenna switching method and device, which can reduce interference between antennas. To achieve the foregoing objective, the following technical solutions are adopted in the embodiments of the present application.
- an embodiment of the present application provides an antenna switching method, which is applied to a device or a component in the device.
- the method includes: acquiring the use status of the device, and determining at least two target antennas among the multiple candidate antennas of the device according to the use status. After that, data is transmitted or received through at least two target antennas.
- the use state represents the relative relationship between the user and the device in space. In this way, when users and devices have different relative relationships in space, users in the near-field area of the antenna may have different influences on the antenna of the device, and the influence of the users on the interference between the antennas of the device may also be different.
- the user's influence on the device antenna is fully considered, and then according to the user's influence on the device antenna, multiple antennas for sending or receiving data are selected, so that the interference between the selected multiple antennas is relatively low. small.
- determining at least two target antennas among the multiple candidate antennas of the device according to the use state includes: looking up a correspondence table according to the use state to determine a group of antennas as the at least two target antennas; wherein, the correspondence table It is used to indicate a group of antennas corresponding to each of the multiple usage states, and each group of antennas includes two or more antennas. In this way, the device can directly find the target antenna required for the current use state according to the configured correspondence table, without performing other complicated judgment logic, and reducing the complexity of the device's implementation.
- acquiring the usage status of the device includes: acquiring sensing data through one or more sensors, and acquiring the usage status of the device according to the sensing data.
- the device collects sensing data through one or more sensors to obtain the usage status of the device, such as the distance and angle from the user, and the angular velocity of the user's handheld device.
- sending or receiving data through at least two target antennas includes: receiving or sending data of one or more communication standards through at least two target antennas, respectively. That is, the at least two target antennas selected by the device according to the current use state may be antennas used to receive or transmit signals of the same communication standard. For example, two target antennas are selected, and both target antennas are antennas for receiving or transmitting 4G signals. Of course, the at least two target antennas may also be antennas for receiving or transmitting signals of different communication standards. For example, two target antennas are selected, one target antenna is used to receive or transmit 4G signals, and the other target antenna is used to transmit or receive 5G signals.
- the at least two target antennas include a first antenna and a second antenna, the first antenna is used for sending data, and the second antenna is used for sending data or receiving data.
- the transmission signal of the first antenna and the transmission signal of the second antenna may generate an intermodulation signal, which may affect the first antenna and/ Or the normal reception of the second antenna, or the intermodulation signal may also cause intermodulation interference to other receiving antennas.
- the first antenna transmits data and the second antenna receives data
- the first harmonic, second harmonic, etc. generated by the transmitted signal of the first antenna may cause harmonic interference to the second antenna or other receiving antennas.
- the present application provides an antenna switching device, which may be a device or a component in the device.
- the device includes: an acquisition module, a determination module, and a control module.
- the acquisition module is used to acquire the use status of the device, which represents the relative relationship between the user and the device in space;
- the determination module is used to determine at least two target antennas among the multiple candidate antennas of the device according to the use status;
- control The module is used to control at least two target antennas to send or receive data.
- the determining module is used to look up a correspondence table according to the use state to determine a group of antennas as at least two target antennas; wherein the correspondence table is used to indicate the corresponding use state of each of the multiple use states
- a group of antennas, each group of antennas includes two or more antennas.
- the acquisition module is also used to acquire sensing data; the use state of the device is acquired according to the sensing data.
- control module is used to control at least two target antennas to respectively receive or transmit data of one or more communication standards.
- the at least two target antennas include a first antenna and a second antenna, the first antenna is used for sending data, and the second antenna is used for sending data or receiving data.
- the present application provides an antenna switching device, which may be a device or a component in the device.
- the device includes a processor, which is used to obtain the use state of the device, and determine at least two target antennas among multiple candidate antennas of the device according to the use state. Control at least two target antennas to transmit or receive data.
- the use state represents the relative relationship between the user and the device in space.
- the processor is used to look up a correspondence table according to the use state to determine a group of antennas as at least two target antennas; wherein the correspondence table is used to indicate the corresponding use state of each of the multiple use states
- a group of antennas, each group of antennas includes two or more antennas.
- the device also includes one or more sensors for acquiring sensing data.
- the processor is also used to obtain the usage status of the device based on the sensing data.
- the processor is also used to control at least two target antennas to respectively receive or transmit data of one or more communication standards.
- the at least two target antennas include a first antenna and a second antenna, the first antenna is used for sending data, and the second antenna is used for sending data or receiving data.
- the relative spatial relationship between the user and the device includes one or a combination of the following: the relative position relationship between the user and the device, the relative speed relationship between the user and the device, and the user and the device.
- the relative spatial relationship between the user and the device includes one or a combination of the following: the relative position relationship between the user and the device, the relative speed relationship between the user and the device, and the user and the device.
- the relative angular velocity relationship of the device the relative acceleration relationship between the user and the device.
- the relative spatial relationship between the user and the device includes one or a combination of the following: the relative position relationship between the user and the device, the relative velocity relationship between the user and the device, the relative angular velocity relationship between the user and the device, and the relative acceleration relationship between the user and the device .
- the state of use of the device includes, but is not limited to, one or a combination of the following: static holding with left hand, static holding with right hand, static holding with both hands, horizontal holding, vertical holding, and left hand holding at the first speed. Holding, holding the right hand at the second speed, holding both hands at the third speed, rotating the left hand at the first angular speed, rotating the right hand at the second angular speed, rotating both hands at the third angular speed, holding the left hand at the first acceleration, holding the right hand at the first speed Two-acceleration holding, holding both hands at the third acceleration, the contact area and/or contact area of the palm with the device when holding with the left hand, the contact area and/or contact area of the palm with the device when holding with the right hand, and the palm when holding with both hands The contact area and/or contact area with the device.
- the functions of the device become more and more abundant, the usage status of the device may be other, so I will not list them all here.
- the present application provides an antenna switching device that has the function of implementing any one of the antenna switching methods of the first aspect.
- This function can be realized by hardware, or by hardware executing corresponding software.
- the hardware or software includes one or more modules corresponding to the above-mentioned functions.
- an antenna switching device including: a processor and a memory; the memory is used to store computer execution instructions, and when the antenna switching device is running, the processor executes the computer execution instructions stored in the memory to enable The antenna switching device executes the antenna switching method of any one of the above-mentioned first aspects.
- an antenna switching device including: a processor; the processor is configured to couple with a memory, and after reading an instruction in the memory, execute the antenna switching method according to any one of the foregoing first aspect according to the instruction.
- a computer-readable storage medium stores instructions that, when run on a computer, enable the computer to execute the antenna switching method of any one of the above-mentioned first aspects.
- a computer program product containing instructions which when running on a computer, enables the computer to execute the antenna switching method of any one of the above-mentioned first aspects.
- a circuit system in a ninth aspect, includes a processing circuit configured to execute the antenna switching method according to any one of the above-mentioned first aspects.
- a chip in a tenth aspect, includes a processor, and the processor is coupled with a memory.
- the memory stores program instructions. When the program instructions stored in the memory are executed by the processor, the antenna switching method of any one of the above-mentioned first aspects is implemented.
- Figure 1 is a schematic diagram of interference between antennas
- Figure 2 is a schematic structural diagram of a device provided by an embodiment of the application.
- FIG. 3 is a schematic diagram of the connection relationship of some components in the device provided by an embodiment of the application.
- FIG. 4 is a schematic flowchart of an antenna switching method provided by an embodiment of the application.
- 5 to 6 are schematic diagrams of application scenarios provided by embodiments of this application.
- FIG. 7 is a schematic diagram of an antenna switching method provided by an embodiment of the application.
- FIG. 8 is a schematic structural diagram of an antenna switching device provided by an embodiment of the application.
- the antenna switching method provided in the embodiments of the present application may be applied to an electronic device with multiple antennas, or applied to a component (such as a chip system) of a corresponding electronic device.
- a component such as a chip system
- mobile phones mobile phone chips
- tablet computers computer chips
- desktops laptops
- notebook computers ultra-mobile personal computers
- handheld computers netbooks
- personal digital assistants personal digital assistants
- PDA wearable electronic devices
- virtual reality devices etc.
- the embodiments of the present application do not impose any restrictions on this.
- FIG. 2 shows a schematic diagram of the structure of the mobile phone 100.
- the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna A, an antenna B,
- the radio frequency module 150 the communication module 160, the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, the sensor module 180, the buttons 190, the motor 191, the camera 193, the display 194, and the subscriber identification module , SIM) card interface 195 and so on.
- SIM subscriber identification module
- the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the mobile phone 100.
- the mobile phone 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
- the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units.
- the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
- the different processing units may be independent devices or integrated in one or more processors.
- the processor 110 may be the nerve center and command center of the mobile phone 100.
- the processor 110 may generate an operation control signal according to the instruction operation code and the timing signal, and complete the control of fetching and executing instructions.
- a memory may also be provided in the processor 110 to store instructions and data.
- the memory in the processor 110 is a cache memory.
- the memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
- the processor 110 may include one or more interfaces.
- the interface can include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous) interface.
- I2C integrated circuit
- I2S integrated circuit built-in audio
- PCM pulse code modulation
- UART universal asynchronous transmitter
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB Universal Serial Bus
- the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
- the USB interface 130 can be used to connect a charger to charge the mobile phone 100, and can also be used to transfer data between the mobile phone 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones. This interface can also be used to connect to other electronic devices, such as AR devices.
- the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the mobile phone 100.
- the mobile phone 100 may also adopt different interface connection modes in the above-mentioned embodiments, or a combination of multiple interface connection modes.
- the charging management module 140 is used to receive charging input from the charger.
- the charger can be a wireless charger or a wired charger.
- the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
- the charging management module 140 may receive the wireless charging input through the wireless charging coil of the mobile phone 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
- the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
- the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the communication module 160.
- the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
- the power management module 141 may also be provided in the processor 110.
- the power management module 141 and the charging management module 140 may also be provided in the same device.
- the wireless communication function of the mobile phone 100 can be realized by the antenna A, the antenna B, the radio frequency module 150, the communication module 160, the modem processor, and the baseband processor.
- Antenna A and Antenna B are used to transmit and receive electromagnetic wave signals.
- Each antenna in the mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
- Antenna A can be multiplexed as a diversity antenna of a wireless local area network.
- the antenna can be used in combination with a tuning switch.
- the radio frequency module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the mobile phone 100.
- the radio frequency module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like.
- the radio frequency module 150 may receive electromagnetic waves by the antenna A, and perform processing such as filtering and amplifying the received electromagnetic waves, and then transmitting them to the modem processor for demodulation.
- the radio frequency module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation by the antenna A.
- at least part of the functional modules of the radio frequency module 150 may be provided in the processor 110.
- at least part of the functional modules of the radio frequency module 150 and at least part of the modules of the processor 110 may be provided in the same device.
- the modem processor may include a modulator and a demodulator, and may be located in the radio frequency module 150.
- the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
- the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor in the processor 110.
- the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
- the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the radio frequency module 150 or other functional modules.
- the communication module 160 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems ( Global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
- WLAN wireless local area networks
- BT Bluetooth
- GNSS Global navigation satellite system
- frequency modulation frequency modulation, FM
- NFC near field communication technology
- infrared technology infrared, IR
- the communication module 160 may be one or more devices integrating at least one communication processing module.
- the communication module 160 receives electromagnetic waves via the antenna B, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
- the communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it to electromagnetic wave radiation via the antenna B.
- the antenna A of the mobile phone 100 is coupled with the radio frequency module 150, and the antenna B is coupled with the communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology.
- Wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), and broadband code division. Multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , And/or IR technology, etc.
- GSM global system for mobile communications
- GPRS general packet radio service
- CDMA code division multiple access
- CDMA broadband code division. Multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , And/or IR technology, etc.
- GNSS can include global positioning system (GPS
- the mobile phone 100 implements a display function through a GPU, a display screen 194, and an application processor.
- the GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor.
- the GPU is used to perform mathematical and geometric calculations for graphics rendering.
- the processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
- the display screen 194 is used to display images, videos, and the like.
- the display screen 194 includes a display panel.
- the display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
- LCD liquid crystal display
- OLED organic light-emitting diode
- active-matrix organic light-emitting diode active-matrix organic light-emitting diode
- AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
- the mobile phone 100 may include one or N display screens 194, and N is a positive integer greater than one.
- the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100.
- the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
- the internal memory 121 may be used to store computer executable program code, and the executable program code includes instructions.
- the processor 110 executes various functional applications and data processing of the mobile phone 100 by running instructions stored in the internal memory 121.
- the internal memory 121 may include a storage program area and a storage data area.
- the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function.
- the data storage area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 100.
- the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
- UFS universal flash storage
- the mobile phone 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
- the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
- the audio module 170 can also be used to encode and decode audio signals.
- the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
- the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
- the mobile phone 100 can listen to music through the speaker 170A, or listen to a hands-free call.
- the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
- the mobile phone 100 answers a call or a voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
- the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
- the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
- the mobile phone 100 may be provided with at least one microphone 170C. In other embodiments, the mobile phone 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In some other embodiments, the mobile phone 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
- the earphone interface 170D is used to connect wired earphones.
- the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
- OMTP open mobile terminal platform
- CTIA cellular telecommunications industry association of the USA, CTIA
- the connection relationship among the earphone interface 170D, the speaker 170A, the receiver 170B, and the application processor 1101 is exemplarily shown.
- the application processor 1101 can output audio through the speaker 170A, the receiver 170B, the earphone connected to the earphone interface 170D, and the like. Of course, there may be other connections between these components.
- the mobile phone can collect the usage status of the mobile phone 100 through a sensor module 180, a sensor hub, an application processor, and the like.
- the usage status includes, but is not limited to, the relative position of the user and the mobile phone 100, the relative speed with the mobile phone 100, and so on.
- the sensor module 180 may include a pressure sensor, a gyroscope (Gyro) sensor, an air pressure sensor, a magnetic sensor, an acceleration (G) sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, and a bone sensor.
- a pressure sensor a gyroscope (Gyro) sensor
- G gyroscope
- G acceleration
- G acceleration
- a distance sensor a distance sensor
- a proximity light sensor a fingerprint sensor
- a temperature sensor a temperature sensor
- a touch sensor a touch sensor
- ambient light sensor an ambient light sensor
- a bone sensor a bone sensor.
- a conductive sensor a specific absorption rate (SAR) sensor, or a Hall sensor
- a plurality of sensors namely a specific absorption ratio sensor 1801, a gyro sensor 1802, an acceleration sensor 1803, a proximity light sensor 1804, a Hall sensor 1805, a sensor hub 301, and an application processor 1101, are shown as an example.
- the sensor hub is used to process the signals collected by each sensor, and then transfer the processed signals to the application processor for subsequent processing.
- the button 190 includes a power-on button, a volume button, and so on.
- the button 190 may be a mechanical button. It can also be a touch button.
- the mobile phone 100 can receive key input, and generate key signal input related to user settings and function control of the mobile phone 100.
- the motor 191 can generate vibration prompts.
- the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
- touch operations that act on different applications can correspond to different vibration feedback effects.
- Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
- Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
- the touch vibration feedback effect can also support customization.
- the SIM card interface 195 is used to connect to the SIM card.
- the SIM card can be connected to and separated from the mobile phone 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195.
- the mobile phone 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
- the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
- the SIM card can be a white card, that is, a card that has not been written with a mobile phone number before the mobile phone number is activated. The white card can be used when replenishing the card.
- the SIM card can also be a finished card, that is, a card with a mobile phone number written in it.
- the same SIM card interface 195 can insert multiple cards at the same time.
- the types of multiple cards can be the same or different.
- the SIM card interface 195 can also be compatible with different types of SIM cards.
- the SIM card interface 195 may also be compatible with external memory cards.
- the mobile phone 100 interacts with the network through the SIM card to implement functions such as call and data communication.
- the mobile phone 100 uses an eSIM, that is, an embedded SIM card.
- the eSIM card can be embedded in the mobile phone 100 and cannot be separated from the mobile phone 100.
- FIG. 3 shows the connection relationship between the SIM card interface 195 and the application processor 1101.
- the application processor 1101 may communicate with the SIM connected to the SIM card interface 195, so as to implement corresponding functions of the mobile phone 100.
- the mobile phone 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
- the ISP is used to process the data fed back by the camera 193. For example, when taking a picture, the shutter is opened, and the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, which is converted into an image visible to the naked eye.
- ISP can also optimize the image focus, noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
- the ISP may be provided in the camera 193.
- the camera 193 is used to capture still images or videos.
- the object generates an optical image through the lens and is projected to the photosensitive element.
- the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
- CMOS complementary metal-oxide-semiconductor
- the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
- ISP outputs digital image signals to DSP for processing.
- DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
- the mobile phone 100 may include one or N cameras 193, and N is a positive integer greater than one.
- Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the mobile phone 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
- Video codecs are used to compress or decompress digital video.
- the mobile phone 100 may support one or more video codecs. In this way, the mobile phone 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
- MPEG moving picture experts group
- MPEG2 MPEG2, MPEG3, MPEG4, and so on.
- NPU is a neural-network (NN) computing processor.
- NN neural-network
- applications such as intelligent cognition of the mobile phone 100 can be implemented, such as image recognition, face recognition, voice recognition, text understanding, and so on.
- the methods in the following embodiments can all be implemented in the mobile phone 100 having the above-mentioned hardware structure. It should be noted that the method of the following embodiment can also be applied to an electronic device or a component of an electronic device (such as a chip system) having a similar structure to FIG. 2.
- an embodiment of the present application provides an antenna switching device.
- the device may be a stand-alone device located in the mobile phone 100 in FIG. 2. It may specifically include the mobile phone 100 or the processor 110, or may be a chip system in the device, including The processor 110 and other necessary components form a system, and the device mainly includes the processor 110 shown in FIG. 2.
- the device may also include a communication device (such as the radio frequency module 150 and the communication module 160 shown in FIG. 2), a storage device (such as the internal memory 121 shown in FIG. 2), and the like.
- the embodiment of the present application provides an antenna switching method, which can be applied to an electronic device, or applied to a component (such as a chip system) in the electronic device.
- the following describes the antenna switching method of the embodiment of the present application mainly taking the electronic device as a mobile phone as an example.
- the device may be the previous mobile phone 100 or a component thereof, such as a chip system including a processor 110.
- the antenna switching method includes S401-S403.
- the device obtains the use status of the device.
- one or more sensors may be used to detect the sensing data, and the use state of the device may be obtained according to the detected sensing data.
- the sensor can refer to the previous introduction, which will not be repeated here.
- Its function is mainly used to collect sensor data, that is, sensing data, so that the processor 110 can determine the use state according to the sensing data.
- the processor 110 may run necessary software, such as application software, to process the sensing data in order to obtain the usage status.
- the use state represents the relative spatial relationship between the user who is using the device and the device.
- the spatial relative relationship between the user and the device includes but is not limited to one or a combination of the following: the relative position relationship between the user and the device, and the user The relative speed relationship with the device, the relative acceleration relationship between the user and the device, and the relative angular velocity relationship between the user and the device.
- the relative position relationship between the user and the device includes, but is not limited to, the distance between the user and the device and the angle (that is, the angle at which the device is held by the user).
- the state of use of the device includes, but is not limited to, one or a combination of the following: static holding with left hand, static holding with right hand, static holding with both hands, horizontal holding, vertical holding, and left hand holding at the first speed. Holding, holding the right hand at the second speed, holding both hands at the third speed, rotating the left hand at the first angular speed, rotating the right hand at the second angular speed, rotating both hands at the third angular speed, holding the left hand at the first acceleration, holding the right hand at the first speed Two-acceleration holding, holding both hands at the third acceleration, the contact area and/or contact area of the palm with the device when holding with the left hand, the contact area and/or contact area of the palm with the device when holding with the right hand, and the palm when holding with both hands The contact area and/or contact area with the device.
- sensing data can refer to data directly measured by sensors.
- an ambient light sensor can measure ambient light, and the measured ambient light data can be called sensing data.
- the processor may obtain the brightness of the ambient light from the ambient light sensor, so as to adjust the brightness of the display of the touch screen 104, or perform other mobile phone functions.
- the acceleration sensor can detect the magnitude of inertial force received by the mass in various directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary. The measured inertial force, gravity magnitude and direction can be measured It is called the sensing data of the acceleration sensor.
- the acceleration value of the mass in this direction can be calculated to infer the acceleration of the mobile phone relative to the user. Further, the acceleration value of the mobile phone relative to the user can be used for applications that recognize mobile phone gestures (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer, tapping), and so on.
- mobile phone gestures such as horizontal and vertical screen switching, related games, magnetometer gesture calibration
- vibration recognition related functions such as pedometer, tapping
- the device determines at least two target antennas among the multiple candidate antennas of the device according to the use status.
- the relative relationship between the mobile phone antenna and the user in space may be different in different use states of the mobile phone. Therefore, the user may have different influences on the radiation characteristics of the mobile phone antenna, resulting in the degree of interference between the mobile phone antennas under different use states. It may be different.
- the following exemplarily gives several usage states of the mobile phone, and analyzes the degree of interference between antennas in different usage states.
- multiple candidate antennas can be antennas in antenna A, that is, antennas used to receive or transmit 2G/3G/4G/5G signals, or antennas in antenna B, that is, antennas used for receiving or transmitting Antennas for WLAN/BT/GNSS/FM/NFC signals.
- the mobile phone may block more antennas in the use state shown in Figure 5 (a).
- the degree of interference between the antennas of the mobile phone may be different .
- the contact area between the palm of the hand and the mobile phone is area 3 and area 4, compared with area 1 and area 2 shown in Figure 5(a) , Area 3 and Area 4 are closer to the top of the phone.
- the mobile phone antenna is set close to the top, compared to the user's palm covering area 1 and area 2, when the user's palm covers area 3 and area 4, more antennas may be blocked, or in other words, the antenna may be blocked more. High, which in turn has a greater impact on the radiation intensity of the shielded antenna.
- the degree of interference between the antennas of the mobile phone may also be different.
- the interference level between the antennas of the mobile phone is also affected by the contact area and contact area of the mobile phone touched by the user's palm.
- the angle of the mobile phone antenna relative to the ground plane may be different.
- the antenna may have different spatial radiation, such as different radiation intensity, radiation direction, etc.
- the degree of interference between antennas may also vary. As shown in (a-1) in Figure 6, the angle at which the mobile phone is held by the user is ⁇ , that is, the angle between the mobile phone and the ground plane is ⁇ ; As shown in (b), the user can lift up and gradually raise the arm until the phone is approximately perpendicular to the ground (ie, hold it vertically) as shown in (c-1) in Figure 6.
- the degree of interference between the antennas of the mobile phone may be due to the holding of the mobile phone.
- the angle of the grip varies. You can also continue to refer to Figure 5(d).
- the mobile phone In the state of using the mobile phone shown in Figure 5(d), the mobile phone is approximately parallel to the horizon, that is, the mobile phone is held by the user approximately horizontally. In this case, the distance between the mobile phone antennas
- the degree of interference is not only affected by the contact area and area between the palm of the hand and the mobile phone, but may also be affected by the angle of the grip.
- the antenna of the mobile phone and the user may also have different distances accordingly. Therefore, users in the near-field area of the mobile phone antenna may have different influences on the radiation characteristics of the antenna. In turn, the interference between the antennas may be different.
- the mobile phone when the mobile phone has different speeds and/or accelerations relative to the user, the distance between the mobile phone and the user may be different at the same time or time period. Therefore, the mobile phone may have a different degree of influence on the radiation characteristics of the antenna. , The degree of interference between antennas may also be different.
- the relative speed and/or acceleration between the mobile phone and the user may change, and the mobile phone can respond to speed and/or acceleration. Change to dynamically switch the antenna group used.
- VR virtual reality
- the angle between the mobile phone and the user may be different at the same time or time period, so that the degree of interference between the antennas may also be different.
- the foregoing only exemplarily gives some possible use states of the device, and the use state of the device may also be other, and the embodiments of the present application will not be exhaustive.
- the degree of interference between mobile phone antennas may be different under different usage conditions. Therefore, it is considered that the multiple antennas used to transmit or receive data are selected according to the use state of the mobile phone, wherein the degree of interference between the selected multiple antennas is relatively small.
- the processor in the mobile phone The angle at which the mobile phone is held in these three situations can be obtained from the sensor, and when the mobile phone is held by the user at the angle shown in Figure 6 (a-1), select antenna group 1 as the antenna for sending or receiving data.
- the degree of interference between the antennas in the antenna group 1 is relatively small.
- the processor selects antenna group 2 as the antenna for sending or receiving data.
- the processor selects the antenna group 3 as the antenna for sending or receiving data.
- the degree of interference between every two antennas of the multiple antennas of the mobile phone in each use state can be obtained.
- Each use state and the degree of interference between every two antennas in the corresponding multiple antennas can be pre-configured in the device.
- the degree of interference between the two antennas can be expressed by the isolation between the two antennas. Isolation refers to the ratio of the transmit power of the transmit antenna to the power coupled (leaked) to the receive antenna by the transmit power. Generally, the power leaked from the transmitting power to the receiving antenna is less than the transmitting power. Therefore, the value of isolation is usually greater than one. Generally, the greater the value of the isolation between two antennas, the smaller the degree of interference between the two antennas.
- the following Table 1 exemplarily shows the correspondence between the pre-configured use state and the isolation degree in the device:
- the isolation between each two antennas of the multiple antennas of the device is different under different usage conditions.
- the isolation (X1) of the antenna 1 of the system A and the antenna 1 of the system B is different from the isolation (Y1) of the antenna 1 of the system A and the antenna 1 of the system B in the use state B, correspondingly Yes
- X2 is different from Y2
- X3 is different from Y3
- X4 is different from Y4.
- the above X1 is the same as Y1, or X2 is the same as Y2, or X3 is the same as Y3, or X4 is the same as Y4.
- the system A and the system B shown in Table 1 may be systems of different communication standards.
- system A is a 4G system
- system B is a 5G system
- system A uses the corresponding first antenna for transmission
- system B uses the corresponding second antenna for reception.
- the first and second antennas can be the antennas shown in Figure 2.
- Antenna in A can also be systems of the same communication standard.
- both systems A and B are 4G communication standards as shown in FIG. 2.
- the degree of interference between the two antennas can also be expressed by the correlation coefficient between the two antennas.
- the specific introduction of the correlation coefficient can be found in the prior art. Or, it can also be expressed by other parameters.
- the embodiment of the present application does not limit the specific parameters used to indicate the degree of interference between antennas.
- each use state can correspond to a group of antennas, and the group of antennas includes the smallest degree of mutual interference.
- N antennas, N is a positive integer greater than or equal to 2.
- a set of antennas corresponding to each use state includes two antennas. Since the isolation between antenna 3 and antenna 4 is the largest, the set of antennas corresponding to use state A is antenna 3 and antenna 4. In other embodiments, a group of antennas corresponding to each use state includes more than two antennas.
- the device in a certain state of use, can also select more than two antennas to receive or transmit data of one or more communication standards according to the current communication requirements. In this way, it is possible to use more antennas to send and receive signals to obtain greater The transmission bandwidth.
- the device selects antenna 1 to antenna 4 as a group of antennas corresponding to the use state.
- Antenna 1 to antenna 4 are used to process 5G signals, where the signal frequency band of antenna 1 and the signal frequency band of antenna 2 are subjected to carrier aggregation (CA) to obtain a larger transmission bandwidth.
- CA carrier aggregation
- antenna 1 and antenna 2 are used to process 5G signals
- antenna 3 and antenna 4 are used to process 4G signals.
- a group of antennas corresponding to the use state A can be antenna 2, antenna 5, antenna 3, and antenna 4.
- a group of antennas with the smallest degree of mutual interference (for example, the largest isolation) corresponding to the use state is used as antennas for sending or receiving data.
- the mobile phone selects the antenna according to the use state, which can be implemented as: the mobile phone searches the corresponding table according to the use state of the mobile phone to determine a group of antennas as at least two target antennas for sending or receiving data.
- the at least two target antennas selected by the mobile phone include a first antenna and a second antenna.
- the first antenna is used for sending data
- the second antenna is used for sending or receiving data. That is to say, at least one antenna for transmitting data is included in the at least two antennas.
- the transmitted signals of the first antenna and the second antenna may produce intermodulation, which will affect the normal reception of the first antenna and/or the second antenna, or The modulated signal may also cause intermodulation interference to other receiving antennas.
- the first antenna transmits data and the second antenna receives data, the first harmonic, second harmonic, etc. generated by the transmitted signal of the first antenna may cause harmonic interference to the second antenna or other receiving antennas.
- the at least two target antennas selected by the device are a group of antennas with the least degree of mutual interference. Therefore, both the first antenna and the second antenna (multiple antennas) are used as the transmit antennas to generate intermodulation.
- the interference, or the harmonic interference generated by only the first antenna as the transmitting antenna, can ensure the minimum degree of interference.
- the first antenna and the second antenna may be respectively used to receive or transmit data of the same or different communication standards.
- the at least two target antennas include antenna 1 of system A and antenna 2 of system B in Table 1.
- System A is an LTE communication system
- system B is a WCDMA communication system
- antenna 1 is used for receiving or transmitting.
- the antenna 2 is used to receive or transmit data of the WCDMA communication standard.
- the at least two target antennas include the antenna 1 and the antenna 2 of the system A in Table 1 above, and the antenna 1 and the antenna 2 are used to receive or send the data of the system A.
- System A may be 2G or 3G or 4G or 5G as shown in FIG. 2, or BT or WLAN or GNSS or NFC or IR or FM.
- the above is only an example, and the specific communication system is only an example.
- the corresponding table searched above is used to indicate a group of antennas corresponding to each of the multiple usage states, and each group of antennas includes two or more antennas.
- a set of antennas corresponding to the use state is a set of antennas with the least degree of mutual interference in the use state.
- Table 2 which is an exemplary implementation of the correspondence table, the processor 110 directly obtains the antenna combination corresponding to the optimal interference situation of the use state by looking up the table, without other complicated judgment and selection logic.
- use state A corresponds to antenna 1 and antenna 2, indicating that the degree of interference between antenna 1 and antenna 2 is the smallest in use state A.
- use state B corresponds to antenna 1, antenna 2, and antenna 4, indicating that in use state B, the degree of mutual interference between antenna 1, antenna 2 and antenna 4 is the smallest.
- FIG. 5 (a-1) Take the use shown in Figure 5 (a-1) as an example.
- the mobile phone processor learns from the sensor that the mobile phone is held by the user at the angle shown in Figure 5 (a-1), the processor looks up the above Table 2 and determines The use state is use state A, and the antenna 1 and antenna 2 corresponding to use state A are determined as target antennas for sending or receiving data. These two antennas are used to process data of the same or different standards.
- the device sends or receives data through at least two target antennas.
- the device receives or transmits data of multiple different communication standards through at least two target antennas.
- at least two target antennas include antenna 1 and antenna 2.
- Antenna 1 is used to transmit or receive data of a first communication standard
- antenna 2 is used to transmit or receive data of a second communication standard.
- the first communication standard and the second communication standard may be the same or different.
- the processor 110 may control the antennas 1 and 2 to perform data transmission or reception.
- the processor 110 shown in FIG. 2 controls at least two target antennas to transmit or receive data.
- a device obtains the use status of the device, determines at least two target antennas among multiple candidate antennas of the device according to the use status, and transmits or receives data through the at least two target antennas.
- the use state represents the relative relationship between the user and the device in space
- the users in the antenna near-field area may have a different degree of influence on the device antenna, and then the user has a different effect on the device antenna.
- the impact of the degree of interference between may also be different.
- the user's influence on the device antenna is fully considered, and then according to the user's influence on the device antenna, multiple antennas for sending or receiving data are selected, so that the interference between the selected multiple antennas is relatively low. small.
- the mobile phone selects multiple antennas for transmitting and receiving signals of the communication standard under a certain communication standard.
- the mobile phone includes a multi-system public control center, five antennas of system A, namely antenna 1, antenna 2, antenna 4 to antenna 6 of system A as shown in Figure 7, and GPS as shown in Figure 7.
- antenna 1, antenna 4, and antenna 5 can send and receive signals in the frequency range of (band 42) band42
- antenna 2 and antenna 6 can both send and receive signals in the frequency range of (band 1) band1
- antenna 3 can receive 1575MHz signal of.
- the multi-system public control center as a functional module set on the mobile phone, can be used to control the switching antenna, and specifically includes the processor 110, and may further include other necessary components.
- a multi-system common control center may exist as a part of the processor 110, and specifically may be hardware in the processor 110 or a software module running on the processor 110. In one example, the multi-system common control center is equivalent to the processor 110.
- the aggregation (frequency band) band1 and band42 are taken as an example for description here. band1: 1920-1980MHz, band42: 3400MHz-3600MHz. If there are two or more transmitting antennas, such as the first antenna and the second antenna, the frequency of the transmitted signal of the first antenna falls into band1, and the frequency of the transmitted signal of the second antenna falls into band42, then the transmitted signal of the first antenna and The signal transmitted by the second antenna may produce intermodulation, and the frequency range of the intermodulation signal is between 1420-1680 MHz. Assuming that the GPS receiving frequency is 1575MHz, the intermodulation signal may fall into the receiving antenna, causing intermodulation interference to the receiving antenna.
- an embodiment of the present application provides an antenna switching solution.
- the mobile phone When the mobile phone has data (such as uplink (UL) data) transmission, the mobile phone obtains the current use status of the mobile phone through the sensor, and can According to the correspondence between each usage state and the isolation between the antennas pre-configured in the mobile phone, for example, according to Table 1, the isolation between every two antennas that meets the current carrier aggregation requirements is obtained.
- the two antennas that meet the current carrier aggregation requirements include an antenna capable of transmitting and receiving band42 signals and an antenna capable of transmitting and receiving band1 signals.
- the mobile phone detects that the mobile phone is currently in a certain state of use, and determines that band1 and band42 need to be aggregated according to the current communication requirements, that is, it is determined that the two antennas that meet the current carrier aggregation requirements include antenna 1 as shown in Figure 7. And antenna 2, antenna 1 and antenna 6, antenna 4 and antenna 2, antenna 4 and antenna 6, antenna 5 and antenna 2, antenna 5 and antenna 6. After that, the mobile phone determines the isolation between every two antennas that meet the current carrier aggregation requirements in the use state according to Table 1, for example: the isolation between antenna 1 and antenna 2 is 15, and the difference between antenna 1 and antenna 6.
- the isolation between antenna 4 and antenna 2 is 20, the isolation between antenna 4 and antenna 2 is 12, the isolation between antenna 4 and antenna 6 is 8, the isolation between antenna 5 and antenna 2 is 18, and the isolation between antenna 5 and antenna
- the isolation between 6 is 25.
- the mobile phone can select two antennas with greater isolation as the antennas used for carrier aggregation according to the isolation between every two antennas that meet the current carrier aggregation requirements. In this way, the possibility of intermodulation between the two antennas of the selected system A is reduced, and further, the interference of the intermodulation signal on the GPS antenna 3 as shown in FIG. 7 is reduced.
- the correspondence table can also indicate a group corresponding to each of the multiple usage states under different CA requirements.
- the corresponding table indicates that when band1 and band42 need to be aggregated, the use state corresponds to antenna group 1, and when band1 and band2 need to be aggregated, the use state corresponds to antenna group 2.
- the above-mentioned correspondence table can also be specifically implemented as the following Table 3:
- the mobile phone detects that the current use state is use state A, and the current carrier aggregation requirements are aggregated band1 and band42. After that, the mobile phone looks up the corresponding table 3 according to the use state A and the current carrier aggregation requirements, and it can be learned that when band1 and band42 need to be aggregated, the group of antennas corresponding to the use state A is antenna group 1. Subsequently, the mobile phone is switched to antenna group 1 through the multi-system public control center, and the mobile phone can transmit data through multiple antennas of antenna group 1. Assume that antenna group 1 includes antenna 1 and antenna 2. The mobile phone implements carrier aggregation through antenna 1 and antenna 2.
- the isolation between antenna 1 and antenna 2 selected by the mobile phone is relatively large.
- the antenna The transmission signal of 1 and the transmission signal of the antenna 2 are not easy to generate an intermodulation signal, which reduces the intermodulation interference of the GPS antenna 3 shown in FIG. 7 by the intermodulation signal.
- antenna 1 is used to transmit signals
- antenna 2 is used to receive signals
- the isolation between antenna 1 and antenna 2 is relatively high. Therefore, the harmonics generated by the antenna 1 interfere with the harmonics of the antenna 2 less.
- the antenna switching method of the embodiment of the present application is applied to a multi-connection scenario of a different system as an example, that is, the mobile phone works in two or more communication modes, and is selected to send and receive the two or more communications. Multiple antennas for standard signals.
- the correspondence table can also indicate that each of the multiple use states corresponds to each of the different communication standards.
- a set of antennas For example, for a certain use state, the correspondence table indicates that when it needs to work in LTE and NR standards, the use state corresponds to antenna group 1, and when it needs to work in LTE and WCDMA, the use state corresponds to antenna group 2.
- the above correspondence table can also be specifically implemented as the following Table 4:
- the mobile phone determines that the current use state is use state A through the sensing data obtained by the sensor, and the mobile phone determines that the current communication demand is to work in LTE and NR standards. After that, the mobile phone searches the above-mentioned correspondence table 4 according to the use state A and current communication requirements, and it can be learned that when it needs to work in LTE and NR, the group of antennas corresponding to the use state A is antenna group 1. Later, the mobile phone can transmit data through multiple antennas of antenna group 1. Assume that antenna group 1 includes antenna 1 and antenna 2. Among them, the mobile phone transmits and receives LTE signals through antenna 1, and transmits and receives NR signals through antenna 2.
- the isolation between antenna 1 and antenna 2 selected by the mobile phone is usually large.
- the transmission signal of 2 is not easy to generate an intermodulation signal, which reduces the intermodulation interference of the intermodulation signal to other antennas.
- the isolation between the antenna 1 and the antenna 2 is large, the transmission signal of the antenna 1 is unlikely to cause harmonic interference to the antenna 2, and the transmission signal of the antenna 2 is not likely to cause harmonic interference to the antenna 1.
- the devices in the embodiments of the present application include hardware structures and/or software modules corresponding to each function.
- the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Those skilled in the art can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the technical solutions of the embodiments of the present application.
- the embodiment of the present application can divide the components in the device, such as the processor 110, into functional units according to the above method examples.
- each functional unit can be divided corresponding to each function, or two or more functions can be integrated into one.
- Processing unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
- Fig. 8 shows a schematic block diagram of a device provided in an embodiment of the present application.
- the device 700 may exist in the form of software, hardware, or a combination thereof, and may also be a chip that can be used in a device, and may be located in the processor 110 or include the processor 110 and other necessary components.
- the device 700 includes: an acquisition module 701, a determination module 702, and a control module 703.
- the obtaining module 701 is configured to obtain the use state of the device, and the use state represents the relative spatial relationship between the user and the device.
- the determining module 702 is configured to determine at least two target antennas among the multiple candidate antennas of the device according to the use status.
- the control module 703 is configured to control the at least two target antennas to transmit or receive data.
- the determining module 702 is further configured to look up a correspondence table according to the use state to determine a group of antennas as the at least two target antennas; wherein, the correspondence table is used to indicate a plurality of antennas.
- a group of antennas corresponding to each usage status in the usage status, and each group of antennas includes two or more antennas.
- the spatial relative relationship between the user and the device includes a combination of one or more of the following: the relative position relationship between the user and the device, and the user and the device The relative speed relationship between the user and the device, the relative acceleration relationship between the user and the device.
- the acquiring module 701 is also used to acquire sensing data; and acquiring the use state of the device according to the sensing data.
- control module 703 is configured to control the at least two target antennas to respectively receive or transmit data of one or more communication standards.
- the at least two target antennas include a first antenna and a second antenna, the first antenna is used for sending data, and the second antenna is used for sending data or receiving data.
- the software and hardware modules can be implemented on the processor 110 and other necessary components.
- the software exists in the form of computer program instructions and can be stored in the internal memory 121 shown in FIG. 2 or the external storage device connected to the external memory interface 120, as shown in FIG.
- the processor 110 may be used to execute the program instructions to implement the above method flow.
- the processor 110 includes but is not limited to at least one of the following: a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller (microcontroller unit, MCU), or an artificial intelligence processor Various types of computing devices that run software.
- Each computing device may include one or more cores for executing software instructions to perform operations or processing.
- the processor can be a single semiconductor chip, or it can be integrated with other circuits to form a semiconductor chip. For example, it can form an SoC (on-chip) with other circuits (such as codec circuits, hardware acceleration circuits, or various bus and interface circuits). System), or it can be integrated into the ASIC as a built-in processor of an application specific integrated circuit (ASIC), and the ASIC integrated with the processor can be packaged separately or together with other circuits.
- SoC on-chip
- ASIC application specific integrated circuit
- the processor can also include necessary hardware accelerators, such as field programmable gate array (FPGA) and PLD (programmable logic device) , Or a logic circuit that implements dedicated logic operations.
- FPGA field programmable gate array
- PLD programmable logic device
- the hardware can be CPU, microprocessor, DSP, MCU, artificial intelligence processor, ASIC, SoC, FPGA, PLD, dedicated digital circuit, hardware accelerator or non-integrated discrete device
- the memory includes, but is not limited to, volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
- the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
- the volatile memory may be random access memory (RAM), which is used as an external cache.
- RAM random access memory
- many forms of random access memory (RAM) are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (DRAM), and synchronous dynamic random access memory (DRAM).
- synchronous DRAM synchronous DRAM, SDRAM
- high bandwidth memory HBM
- enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
- synchronous connection dynamic random access memory synchronization RAM (synchlink DRAM, SLDRAM)
- Direct RAM Bus RAM DRRAM
- a person of ordinary skill in the art can understand that: in the foregoing embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
- software it can be implemented in the form of a computer program product in whole or in part.
- the computer program product includes one or more computer instructions.
- the computer program instructions When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application are generated in whole or in part.
- the computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
- Computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
- computer instructions may be transmitted from a website, computer, server, or data center through a cable (such as Coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to transmit to another website, computer, server or data center.
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. Available media can be magnetic media (for example, floppy disks, hard drives, tapes), optical media (for example, Digital Video Disc (DVD)), or semiconductor media (for example, Solid State Disk (SSD)), etc. .
- the foregoing embodiments may be implemented in whole or in part by software, hardware (such as circuits), firmware, or any other combination.
- the above-mentioned embodiments may be implemented in the form of a computer program product in whole or in part.
- the computer program product includes one or more computer instructions or computer programs.
- the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
- the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
- the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as infrared, wireless, microwave, etc.).
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more sets of available media.
- the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium.
- the semiconductor medium may be a solid state drive.
- the size of the sequence number of the above-mentioned processes does not mean the order of execution.
- the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application.
- the implementation process constitutes any limitation.
- a person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in the embodiments disclosed in this document can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
- the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, which is not repeated here.
- the disclosed system, device, and method may be implemented in other ways.
- the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
- the functions described in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer readable storage medium.
- the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
- the aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program code .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
Abstract
Provided are an antenna switching method and apparatus, wherein same belong to the technical field of communications and can reduce interference between antennas. The method comprises: acquiring the usage state of a device, wherein the usage state denotes the relative relationship between a user and the device in a space; determining at least two target antennas from a plurality of candidate antennas of the device according to the usage state; and sending or receiving data by means of the at least two target antennas.
Description
本申请涉及通信技术领域,尤其涉及天线切换方法及装置。This application relates to the field of communication technology, and in particular to an antenna switching method and device.
目前,为了满足不同的通信业务需求,终端中可能设置有多根天线。其中,对于一根天线来说,一根天线很可能能够用于收发不同制式的数据。当多根天线同时工作时,多根天线之间可能产生干扰。其中,天线之间干扰包括但不限于交调干扰和谐波干扰。当存在两个或两个以上发送信号时,两个或两个以上发送信号可能互相调制,从而产生新频率信号输出。如果该新频率正好落在接收机的工作带宽内,会对接收机的接收信号造成干扰。这种由于多个信号相互调制产生的信号对接收机造成的干扰称为交调干扰。以图1为例,通过某一天线以1940MHz发送信号,通过另一天线以1980MHz发送信号,这两个发送信号可能会产生一个1900MHz的信号,该1900MHz的信号刚好落入左侧接收机的接收频段,因此,可能对该接收机的正常接收造成交调干扰。另一种场景中,发送信号的谐波(比如一次谐波、二次谐波等)可能落入接收机的接收频段,这样也会影响接收机的正常接收。这种由于发送信号的谐波对接收机产生的干扰称为谐波干扰。At present, in order to meet different communication service requirements, multiple antennas may be provided in the terminal. Among them, for one antenna, one antenna is likely to be used to send and receive data of different standards. When multiple antennas work at the same time, interference may occur between the multiple antennas. Among them, the interference between antennas includes, but is not limited to, intermodulation interference and harmonic interference. When there are two or more transmission signals, the two or more transmission signals may modulate each other, thereby generating a new frequency signal output. If the new frequency falls within the working bandwidth of the receiver, it will cause interference to the received signal of the receiver. The interference caused by the signal generated by the mutual modulation of multiple signals to the receiver is called intermodulation interference. Taking Figure 1 as an example, a signal is sent at 1940MHz through one antenna, and a signal at 1980MHz is sent through another antenna. These two sending signals may generate a 1900MHz signal, which just falls into the reception of the left receiver. Frequency band, therefore, may cause intermodulation interference to the normal reception of the receiver. In another scenario, the harmonics of the transmitted signal (such as the first harmonic, the second harmonic, etc.) may fall into the receiving frequency band of the receiver, which will also affect the normal reception of the receiver. This kind of interference caused by the harmonics of the transmitted signal to the receiver is called harmonic interference.
由上述内容可见,当终端中设置有多根天线时,多根天线之间可能存在较严重的干扰现象。因此,亟待提出一种降低天线之间干扰的技术方案。It can be seen from the above content that when multiple antennas are provided in the terminal, there may be serious interference between the multiple antennas. Therefore, it is urgent to propose a technical solution to reduce interference between antennas.
发明内容Summary of the invention
本申请实施例提供一种天线切换方法及装置,能够降低天线之间的干扰。为达到上述目的,本申请实施例采用如下技术方案。The embodiments of the present application provide an antenna switching method and device, which can reduce interference between antennas. To achieve the foregoing objective, the following technical solutions are adopted in the embodiments of the present application.
第一方面,本申请实施例提供一种天线切换方法,该方法应用于设备或设备中的组件。该方法包括:获取设备的使用状态,并根据使用状态在设备的多个候选天线中确定至少两个目标天线。之后,通过至少两个目标天线发送或接收数据。其中,使用状态表示用户与设备在空间上的相对关系。如此,当用户与设备在空间上具有不同相对关系时,在天线近场区的用户对设备天线的影响程度可能不同,进而用户对设备天线之间的干扰程度的影响也可能不同。本申请实施例中,充分考虑用户对设备天线的影响,进而根据用户对设备天线的影响程度,选取用于发送或接收数据的多个天线,使得所选取的多个天线之间的干扰程度较小。In the first aspect, an embodiment of the present application provides an antenna switching method, which is applied to a device or a component in the device. The method includes: acquiring the use status of the device, and determining at least two target antennas among the multiple candidate antennas of the device according to the use status. After that, data is transmitted or received through at least two target antennas. Among them, the use state represents the relative relationship between the user and the device in space. In this way, when users and devices have different relative relationships in space, users in the near-field area of the antenna may have different influences on the antenna of the device, and the influence of the users on the interference between the antennas of the device may also be different. In the embodiments of this application, the user's influence on the device antenna is fully considered, and then according to the user's influence on the device antenna, multiple antennas for sending or receiving data are selected, so that the interference between the selected multiple antennas is relatively low. small.
在一种可能的设计中,根据使用状态在设备的多个候选天线中确定至少两个目标天线,包括:根据使用状态查找对应表以确定一组天线作为至少两个目标天线;其中,对应表用于指示多个使用状态中的每个使用状态所对应的一组天线,每组天线包括两个或两个以上的天线。如此,设备根据配置的对应表即可直接查找当前使用状态所需使用的目标天线,无需执行其他复杂的判断逻辑,降低了设备的实现复杂度。In a possible design, determining at least two target antennas among the multiple candidate antennas of the device according to the use state includes: looking up a correspondence table according to the use state to determine a group of antennas as the at least two target antennas; wherein, the correspondence table It is used to indicate a group of antennas corresponding to each of the multiple usage states, and each group of antennas includes two or more antennas. In this way, the device can directly find the target antenna required for the current use state according to the configured correspondence table, without performing other complicated judgment logic, and reducing the complexity of the device's implementation.
在一种可能的设计中,获取设备的使用状态,包括:通过一个或多个传感器获取感应数据,并根据感应数据获取设备的使用状态。示例性的,当用户手持设备时,设 备通过一个或多个传感器采集感应数据,以获取设备诸如距离用户的距离、角度,用户手持设备的角速度等设备的使用状态。In a possible design, acquiring the usage status of the device includes: acquiring sensing data through one or more sensors, and acquiring the usage status of the device according to the sensing data. Exemplarily, when a user holds a device, the device collects sensing data through one or more sensors to obtain the usage status of the device, such as the distance and angle from the user, and the angular velocity of the user's handheld device.
在一种可能的设计中,通过至少两个目标天线发送或接收数据,包括:通过至少两个目标天线分别接收或发送一个或多个通信制式的数据。也就是说,设备根据当前使用状态选取的至少两个目标天线可以为用于接收或发送同一通信制式信号的天线。比如,选取两个目标天线,且两个目标天线均为用于接收或发送4G信号的天线。当然,至少两个目标天线也可以为用于接收或发送不同通信制式信号的天线。比如,选取两个目标天线,其中一个目标天线用于接收或发送4G信号,另一目标天线用于发送或接收5G信号。In a possible design, sending or receiving data through at least two target antennas includes: receiving or sending data of one or more communication standards through at least two target antennas, respectively. That is, the at least two target antennas selected by the device according to the current use state may be antennas used to receive or transmit signals of the same communication standard. For example, two target antennas are selected, and both target antennas are antennas for receiving or transmitting 4G signals. Of course, the at least two target antennas may also be antennas for receiving or transmitting signals of different communication standards. For example, two target antennas are selected, one target antenna is used to receive or transmit 4G signals, and the other target antenna is used to transmit or receive 5G signals.
在一种可能的设计中,至少两个目标天线包括第一天线和第二天线,第一天线用于发送数据,第二天线用于发送数据或接收数据。其中,当第一天线用于发送数据,第二天线用于发送数据时,第一天线的发送信号和第二天线的发送信号可能产生交调信号,该交调信号可能影响第一天线和/或第二天线的正常接收,或者,交调信号还可能对其他接收天线产生交调干扰。若第一天线发送数据,第二天线接收数据,则第一天线的发送信号所产生的一次谐波、二次谐波等可能对第二天线或其他接收天线产生谐波干扰。采用本申请实施例的天线切换方法,由于考虑用户对天线的影响,能够使得选取的至少两个目标天线之间的干扰程度较小。In a possible design, the at least two target antennas include a first antenna and a second antenna, the first antenna is used for sending data, and the second antenna is used for sending data or receiving data. Wherein, when the first antenna is used to transmit data and the second antenna is used to transmit data, the transmission signal of the first antenna and the transmission signal of the second antenna may generate an intermodulation signal, which may affect the first antenna and/ Or the normal reception of the second antenna, or the intermodulation signal may also cause intermodulation interference to other receiving antennas. If the first antenna transmits data and the second antenna receives data, the first harmonic, second harmonic, etc. generated by the transmitted signal of the first antenna may cause harmonic interference to the second antenna or other receiving antennas. By adopting the antenna switching method of the embodiment of the present application, since the influence of the user on the antenna is taken into consideration, the degree of interference between the selected at least two target antennas can be small.
第二方面,本申请提供一种天线切换装置,该装置可以为设备或设备中的组件。该装置包括:获取模块、确定模块,以及控制模块。其中,获取模块,用于获取设备的使用状态,使用状态表示用户与设备在空间上的相对关系;确定模块,用于根据使用状态在设备的多个候选天线中确定至少两个目标天线;控制模块,用于控制至少两个目标天线发送或接收数据。In the second aspect, the present application provides an antenna switching device, which may be a device or a component in the device. The device includes: an acquisition module, a determination module, and a control module. Among them, the acquisition module is used to acquire the use status of the device, which represents the relative relationship between the user and the device in space; the determination module is used to determine at least two target antennas among the multiple candidate antennas of the device according to the use status; control The module is used to control at least two target antennas to send or receive data.
在一种可能的设计中,确定模块,用于根据使用状态查找对应表以确定一组天线作为至少两个目标天线;其中,对应表用于指示多个使用状态中的每个使用状态所对应的一组天线,每组天线包括两个或两个以上的天线。In a possible design, the determining module is used to look up a correspondence table according to the use state to determine a group of antennas as at least two target antennas; wherein the correspondence table is used to indicate the corresponding use state of each of the multiple use states A group of antennas, each group of antennas includes two or more antennas.
在一种可能的设计中,获取模块,还用于获取感应数据;根据感应数据获取设备的使用状态。In a possible design, the acquisition module is also used to acquire sensing data; the use state of the device is acquired according to the sensing data.
在一种可能的设计中,控制模块,用于控制至少两个目标天线分别接收或发送一个或多个通信制式的数据。In a possible design, the control module is used to control at least two target antennas to respectively receive or transmit data of one or more communication standards.
在一种可能的设计中,至少两个目标天线包括第一天线和第二天线,第一天线用于发送数据,第二天线用于发送数据或接收数据。In a possible design, the at least two target antennas include a first antenna and a second antenna, the first antenna is used for sending data, and the second antenna is used for sending data or receiving data.
第三方面,本申请提供一种天线切换装置,该装置可以为设备或设备中的组件。该装置包括:处理器,用于获取设备的使用状态,并根据使用状态在设备的多个候选天线中确定至少两个目标天线。控制至少两个目标天线发送或接收数据。其中,使用状态表示用户与设备在空间上的相对关系。In a third aspect, the present application provides an antenna switching device, which may be a device or a component in the device. The device includes a processor, which is used to obtain the use state of the device, and determine at least two target antennas among multiple candidate antennas of the device according to the use state. Control at least two target antennas to transmit or receive data. Among them, the use state represents the relative relationship between the user and the device in space.
在一种可能的设计中,处理器,用于根据使用状态查找对应表以确定一组天线作为至少两个目标天线;其中,对应表用于指示多个使用状态中的每个使用状态所对应的一组天线,每组天线包括两个或两个以上的天线。In a possible design, the processor is used to look up a correspondence table according to the use state to determine a group of antennas as at least two target antennas; wherein the correspondence table is used to indicate the corresponding use state of each of the multiple use states A group of antennas, each group of antennas includes two or more antennas.
在一种可能的设计中,该装置还包括一个或多个传感器,用于获取感应数据。处 理器,还用于根据感应数据获取设备的使用状态。In a possible design, the device also includes one or more sensors for acquiring sensing data. The processor is also used to obtain the usage status of the device based on the sensing data.
在一种可能的设计中,处理器,还用于控制至少两个目标天线分别接收或发送一个或多个通信制式的数据。In a possible design, the processor is also used to control at least two target antennas to respectively receive or transmit data of one or more communication standards.
在一种可能的设计中,至少两个目标天线包括第一天线和第二天线,第一天线用于发送数据,第二天线用于发送数据或接收数据。In a possible design, the at least two target antennas include a first antenna and a second antenna, the first antenna is used for sending data, and the second antenna is used for sending data or receiving data.
在上述任一方面的一种可能的设计中,用户与设备在空间上的相对关系包括如下一项或多项的组合:用户与设备的相对位置关系、用户与设备的相对速度关系、用户与设备的相对角速度关系、用户与设备的相对加速度关系。In a possible design of any of the above aspects, the relative spatial relationship between the user and the device includes one or a combination of the following: the relative position relationship between the user and the device, the relative speed relationship between the user and the device, and the user and the device. The relative angular velocity relationship of the device, the relative acceleration relationship between the user and the device.
在上述任一方面的一种可能的设计中,用户与设备在空间上的相对关系包括如下一项或多项的组合:用户与设备的相对位置关系、用户与设备的相对速度关系、用户与设备的相对角速度关系、用户与设备的相对加速度关系。用户与设备在空间上的相对关系包括如下一项或多项的组合:用户与设备的相对位置关系、用户与设备的相对速度关系、用户与设备的相对角速度关系、用户与设备的相对加速度关系。示例性的,设备的使用状态包括但不限于如下一项或多项的组合:左手静止持握、右手静止持握、双手静止持握、水平持握、垂直持握、左手以第一速度持握、右手以第二速度持握、双手以第三速度持握、左手以第一角速度旋转、右手以第二角速度旋转、双手以第三角速度旋转、左手以第一加速度持握、右手以第二加速度持握、双手以第三加速度持握、左手持握时手掌与设备的接触区域和/或接触面积、右手持握时手掌与设备接触的区域和/或接触面积、双手持握时手掌与设备接触的区域和/或接触面积。当然,随着设备功能的日益丰富,设备的使用状态还可能为其他,这里不再一一穷举。In a possible design of any of the above aspects, the relative spatial relationship between the user and the device includes one or a combination of the following: the relative position relationship between the user and the device, the relative speed relationship between the user and the device, and the user and the device. The relative angular velocity relationship of the device, the relative acceleration relationship between the user and the device. The relative spatial relationship between the user and the device includes one or a combination of the following: the relative position relationship between the user and the device, the relative velocity relationship between the user and the device, the relative angular velocity relationship between the user and the device, and the relative acceleration relationship between the user and the device . Exemplarily, the state of use of the device includes, but is not limited to, one or a combination of the following: static holding with left hand, static holding with right hand, static holding with both hands, horizontal holding, vertical holding, and left hand holding at the first speed. Holding, holding the right hand at the second speed, holding both hands at the third speed, rotating the left hand at the first angular speed, rotating the right hand at the second angular speed, rotating both hands at the third angular speed, holding the left hand at the first acceleration, holding the right hand at the first speed Two-acceleration holding, holding both hands at the third acceleration, the contact area and/or contact area of the palm with the device when holding with the left hand, the contact area and/or contact area of the palm with the device when holding with the right hand, and the palm when holding with both hands The contact area and/or contact area with the device. Of course, as the functions of the device become more and more abundant, the usage status of the device may be other, so I will not list them all here.
第四方面,本申请提供一种天线切换装置,该天线切换装置具有实现上述第一方面任一项的天线切换方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a fourth aspect, the present application provides an antenna switching device that has the function of implementing any one of the antenna switching methods of the first aspect. This function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above-mentioned functions.
第五方面,提供一种天线切换装置,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该天线切换装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该天线切换装置执行如上述第一方面任一方面中任一项的天线切换方法。In a fifth aspect, an antenna switching device is provided, including: a processor and a memory; the memory is used to store computer execution instructions, and when the antenna switching device is running, the processor executes the computer execution instructions stored in the memory to enable The antenna switching device executes the antenna switching method of any one of the above-mentioned first aspects.
第六方面,提供一种天线切换装置,包括:处理器;处理器用于与存储器耦合,并读取存储器中的指令之后,根据指令执行如上述第一方面中任一项的天线切换方法。In a sixth aspect, an antenna switching device is provided, including: a processor; the processor is configured to couple with a memory, and after reading an instruction in the memory, execute the antenna switching method according to any one of the foregoing first aspect according to the instruction.
第七方面,提供一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第一方面中任一项的天线切换方法。In a seventh aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores instructions that, when run on a computer, enable the computer to execute the antenna switching method of any one of the above-mentioned first aspects.
第八方面,提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第一方面中任一项的天线切换方法。In an eighth aspect, a computer program product containing instructions is provided, which when running on a computer, enables the computer to execute the antenna switching method of any one of the above-mentioned first aspects.
第九方面,提供一种电路系统,电路系统包括处理电路,处理电路被配置为执行如上述第一方面中任一项的天线切换方法。In a ninth aspect, a circuit system is provided. The circuit system includes a processing circuit configured to execute the antenna switching method according to any one of the above-mentioned first aspects.
第十方面,提供一种芯片,芯片包括处理器,处理器和存储器耦合,存储器存储有程序指令,当存储器存储的程序指令被处理器执行时实现上述第一方面任意一项的天线切换方法。In a tenth aspect, a chip is provided. The chip includes a processor, and the processor is coupled with a memory. The memory stores program instructions. When the program instructions stored in the memory are executed by the processor, the antenna switching method of any one of the above-mentioned first aspects is implemented.
其中,第二方面至第十方面中任一种设计方式所带来的技术效果可参见第一方面 中不同设计方式所带来的技术效果,此处不再赘述。Among them, the technical effects brought about by any one of the design methods in the second aspect to the tenth aspect can be referred to the technical effects brought about by the different design methods in the first aspect, which will not be repeated here.
图1为本一种天线之间干扰的示意图;Figure 1 is a schematic diagram of interference between antennas;
图2为本申请实施例提供的设备的结构示意图;Figure 2 is a schematic structural diagram of a device provided by an embodiment of the application;
图3为本申请实施例提供的设备内部分组件的连接关系示意图;FIG. 3 is a schematic diagram of the connection relationship of some components in the device provided by an embodiment of the application; FIG.
图4为本申请实施例提供的天线切换方法的流程示意图;4 is a schematic flowchart of an antenna switching method provided by an embodiment of the application;
图5~图6为本申请实施例提供的应用场景的示意图;5 to 6 are schematic diagrams of application scenarios provided by embodiments of this application;
图7为本申请实施例提供的天线切换方法的示意图;FIG. 7 is a schematic diagram of an antenna switching method provided by an embodiment of the application;
图8为本申请实施例提供的天线切换装置的结构示意图。FIG. 8 is a schematic structural diagram of an antenna switching device provided by an embodiment of the application.
本申请的说明书以及附图中的术语“第一”和“第二”等是用于区别不同的对象,或者用于区别对同一对象的不同处理,而不是用于描述对象的特定顺序。此外,本申请的描述中所提到的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括其他没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。The terms “first” and “second” in the description of the application and the drawings are used to distinguish different objects or to distinguish different treatments of the same object, rather than describing a specific order of the objects. In addition, the terms "including" and "having" and any variations thereof mentioned in the description of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes other steps or units that are not listed, or optionally also Including other steps or units inherent to these processes, methods, products or equipment. It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
本申请实施例提供的天线切换方法,可应用于具有多根天线的电子设备,或者应用于相应电子设备的部件(比如芯片系统)中。比如,手机(手机芯片)、平板电脑(电脑芯片)、桌面型、膝上型、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、手持计算机、上网本、个人数字助理(personal digital assistant,PDA)、可穿戴电子设备、虚拟现实设备等,本申请实施例对此不做任何限制。The antenna switching method provided in the embodiments of the present application may be applied to an electronic device with multiple antennas, or applied to a component (such as a chip system) of a corresponding electronic device. For example, mobile phones (mobile phone chips), tablet computers (computer chips), desktops, laptops, notebook computers, ultra-mobile personal computers (UMPC), handheld computers, netbooks, personal digital assistants (personal digital assistants) assistant, PDA), wearable electronic devices, virtual reality devices, etc. The embodiments of the present application do not impose any restrictions on this.
以手机为上述电子设备举例,图2示出了手机100的结构示意图。手机100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线A,天线B,射频模块150,通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。Taking a mobile phone as an example of the above electronic device, FIG. 2 shows a schematic diagram of the structure of the mobile phone 100. The mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna A, an antenna B, The radio frequency module 150, the communication module 160, the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, the sensor module 180, the buttons 190, the motor 191, the camera 193, the display 194, and the subscriber identification module , SIM) card interface 195 and so on.
可以理解的是,本申请实施例示意的结构并不构成对手机100的具体限定。在本申请另一些实施例中,手机100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It is understandable that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the mobile phone 100. In other embodiments of the present application, the mobile phone 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理 器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,处理器110可以是手机100的神经中枢和指挥中心。处理器110可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Among them, the different processing units may be independent devices or integrated in one or more processors. Among them, the processor 110 may be the nerve center and command center of the mobile phone 100. The processor 110 may generate an operation control signal according to the instruction operation code and the timing signal, and complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 to store instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory can store instructions or data that the processor 110 has just used or used cyclically. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface can include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous) interface. receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
其中,USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为手机100充电,也可以用于手机100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。Among them, the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on. The USB interface 130 can be used to connect a charger to charge the mobile phone 100, and can also be used to transfer data between the mobile phone 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones. This interface can also be used to connect to other electronic devices, such as AR devices.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对手机100的结构限定。在本申请另一些实施例中,手机100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the mobile phone 100. In other embodiments of the present application, the mobile phone 100 may also adopt different interface connection modes in the above-mentioned embodiments, or a combination of multiple interface connection modes.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过手机100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 may receive the wireless charging input through the wireless charging coil of the mobile phone 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
手机100的无线通信功能可以通过天线A,天线B,射频模块150,通信模块160,调制解调处理器以及基带处理器等实现。天线A和天线B用于发射和接收电磁波信号。手机100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线A复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The wireless communication function of the mobile phone 100 can be realized by the antenna A, the antenna B, the radio frequency module 150, the communication module 160, the modem processor, and the baseband processor. Antenna A and Antenna B are used to transmit and receive electromagnetic wave signals. Each antenna in the mobile phone 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example: Antenna A can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
射频模块150可以提供应用在手机100上的包括2G/3G/4G/5G等无线通信的解决 方案。射频模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。射频模块150可以由天线A接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。射频模块150还可以对经调制解调处理器调制后的信号放大,经天线A转为电磁波辐射出去。在一些实施例中,射频模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,射频模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The radio frequency module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the mobile phone 100. The radio frequency module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like. The radio frequency module 150 may receive electromagnetic waves by the antenna A, and perform processing such as filtering and amplifying the received electromagnetic waves, and then transmitting them to the modem processor for demodulation. The radio frequency module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation by the antenna A. In some embodiments, at least part of the functional modules of the radio frequency module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the radio frequency module 150 and at least part of the modules of the processor 110 may be provided in the same device.
调制解调处理器可以包括调制器和解调器,可位于射频模块150中。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给处理器110中应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与射频模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator, and may be located in the radio frequency module 150. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor in the processor 110. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the radio frequency module 150 or other functional modules.
通信模块160可以提供应用在手机100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。通信模块160可以是集成至少一个通信处理模块的一个或多个器件。通信模块160经由天线B接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线B转为电磁波辐射出去。The communication module 160 can provide applications on the mobile phone 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellite systems ( Global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions. The communication module 160 may be one or more devices integrating at least one communication processing module. The communication module 160 receives electromagnetic waves via the antenna B, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The communication module 160 may also receive the signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it to electromagnetic wave radiation via the antenna B.
在一些实施例中,手机100的天线A和射频模块150耦合,天线B和通信模块160耦合,使得手机100可以通过无线通信技术与网络以及其他设备通信。无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna A of the mobile phone 100 is coupled with the radio frequency module 150, and the antenna B is coupled with the communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology. Wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), and broadband code division. Multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM , And/or IR technology, etc. GNSS can include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
手机100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The mobile phone 100 implements a display function through a GPU, a display screen 194, and an application processor. The GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采 用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. The display panel can use liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode). AMOLED, flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc. In some embodiments, the mobile phone 100 may include one or N display screens 194, and N is a positive integer greater than one.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
内部存储器121可以用于存储计算机可执行程序代码,可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行手机100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。The internal memory 121 may be used to store computer executable program code, and the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the mobile phone 100 by running instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. Among them, the storage program area can store an operating system, at least one application program (such as a sound playback function, an image playback function, etc.) required by at least one function. The data storage area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
手机100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The mobile phone 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。手机100可以通过扬声器170A收听音乐,或收听免提通话。The speaker 170A, also called "speaker", is used to convert audio electrical signals into sound signals. The mobile phone 100 can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当手机100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also called "earpiece", is used to convert audio electrical signals into sound signals. When the mobile phone 100 answers a call or a voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。手机100可以设置至少一个麦克风170C。在另一些实施例中,手机100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,手机100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone", "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C. The mobile phone 100 may be provided with at least one microphone 170C. In other embodiments, the mobile phone 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In some other embodiments, the mobile phone 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone interface 170D is used to connect wired earphones. The earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
如图3所示,示例性示出了耳机接口170D、扬声器170A、受话器170B、应用处理器1101之间连接关系。应用处理器1101可以通过扬声器170A、受话器170B、耳 机接口170D外接的耳机等输出音频。当然,这几个部件之间还可以具备其他连接关系。As shown in FIG. 3, the connection relationship among the earphone interface 170D, the speaker 170A, the receiver 170B, and the application processor 1101 is exemplarily shown. The application processor 1101 can output audio through the speaker 170A, the receiver 170B, the earphone connected to the earphone interface 170D, and the like. Of course, there may be other connections between these components.
手机可以通过传感器(sensor)模块180、感测器集线器(sensor hub)、应用处理器等采集手机100的使用状态。使用状态包括但不限于用户与手机100的相对位置,用于与手机100的相对速度等。The mobile phone can collect the usage status of the mobile phone 100 through a sensor module 180, a sensor hub, an application processor, and the like. The usage status includes, but is not limited to, the relative position of the user and the mobile phone 100, the relative speed with the mobile phone 100, and so on.
其中,传感器模块180可以包括压力传感器,陀螺仪(Gyro)传感器,气压传感器,磁传感器,加速度(G)传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器,人体吸收比率(specific absorption rate,SAR)传感器,或者霍尔(Hall)传感器等一项或多项,本申请实施例对此不做任何限制。Among them, the sensor module 180 may include a pressure sensor, a gyroscope (Gyro) sensor, an air pressure sensor, a magnetic sensor, an acceleration (G) sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, and a bone sensor. One or more of a conductive sensor, a specific absorption rate (SAR) sensor, or a Hall sensor, and the embodiment of the present application does not impose any limitation on this.
如图3,示例性示出了多个传感器,即特定吸收比率传感器1801、陀螺仪传感器1802、加速度传感器1803、接近光传感器1804、霍尔传感器1805、感测器集线器301、应用处理器1101相互之间的一种连接关系。其中,感测器集线器,用于将各个传感器所采集到的信号加以处理,再将处理后的信号传递给应用处理器进行后续处理。As shown in Fig. 3, a plurality of sensors, namely a specific absorption ratio sensor 1801, a gyro sensor 1802, an acceleration sensor 1803, a proximity light sensor 1804, a Hall sensor 1805, a sensor hub 301, and an application processor 1101, are shown as an example. A connection relationship between. Among them, the sensor hub is used to process the signals collected by each sensor, and then transfer the processed signals to the application processor for subsequent processing.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。手机100可以接收按键输入,产生与手机100的用户设置以及功能控制有关的键信号输入。The button 190 includes a power-on button, a volume button, and so on. The button 190 may be a mechanical button. It can also be a touch button. The mobile phone 100 can receive key input, and generate key signal input related to user settings and function control of the mobile phone 100.
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback. For example, touch operations that act on different applications (such as photographing, audio playback, etc.) can correspond to different vibration feedback effects. Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminding, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和手机100的接触和分离。手机100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。SIM卡可以是白卡,即手机号码开通之前,没有被写入手机号码的卡。白卡可以在补卡时使用。SIM卡也可以是成卡,即已经写入手机号码的卡。同一个SIM卡接口195可以同时插入多张卡。多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。手机100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,手机100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在手机100中,不能和手机100分离。The SIM card interface 195 is used to connect to the SIM card. The SIM card can be connected to and separated from the mobile phone 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195. The mobile phone 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. The SIM card can be a white card, that is, a card that has not been written with a mobile phone number before the mobile phone number is activated. The white card can be used when replenishing the card. The SIM card can also be a finished card, that is, a card with a mobile phone number written in it. The same SIM card interface 195 can insert multiple cards at the same time. The types of multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The mobile phone 100 interacts with the network through the SIM card to implement functions such as call and data communication. In some embodiments, the mobile phone 100 uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the mobile phone 100 and cannot be separated from the mobile phone 100.
示例性的,如图3示出了SIM卡接口195与应用处理器1101之间的连接关系。应用处理器1101可以与SIM卡接口195连接的SIM进行通信,从而实现手机100的相应功能。Exemplarily, FIG. 3 shows the connection relationship between the SIM card interface 195 and the application processor 1101. The application processor 1101 may communicate with the SIM connected to the SIM card interface 195, so as to implement corresponding functions of the mobile phone 100.
手机100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The mobile phone 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的焦点,噪点,亮度,肤色进行 算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193. For example, when taking a picture, the shutter is opened, and the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing, which is converted into an image visible to the naked eye. ISP can also optimize the image focus, noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,手机100可以包括1个或N个摄像头193,N为大于1的正整数。The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and is projected to the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal. ISP outputs digital image signals to DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the mobile phone 100 may include one or N cameras 193, and N is a positive integer greater than one.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当手机100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the mobile phone 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
视频编解码器用于对数字视频压缩或解压缩。手机100可以支持一种或多种视频编解码器。这样,手机100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The mobile phone 100 may support one or more video codecs. In this way, the mobile phone 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现手机100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, for example, the transfer mode between human brain neurons, it can quickly process input information, and it can also continuously self-learn. Through the NPU, applications such as intelligent cognition of the mobile phone 100 can be implemented, such as image recognition, face recognition, voice recognition, text understanding, and so on.
以下实施例中的方法均可以在具有上述硬件结构的手机100中实现。需要说明的是,以下实施例的方法还可以应用在具有图2类似结构的电子设备或者电子设备的部件(比如芯片系统)中。比如,本申请实施例提供一种天线切换装置,该装置可以为独立存在的设备,位于图2的手机100中,具体可以包括手机100或处理器110,也可以为设备中的芯片系统,包括处理器110和其他必要的部件,从而形成一个系统,该装置主要包括图2所示的处理器110。该装置还可以包括通信器件(比如图2所示的射频模块150、通信模块160等)、存储器件(比如图2所示的内部存储器121)等。The methods in the following embodiments can all be implemented in the mobile phone 100 having the above-mentioned hardware structure. It should be noted that the method of the following embodiment can also be applied to an electronic device or a component of an electronic device (such as a chip system) having a similar structure to FIG. 2. For example, an embodiment of the present application provides an antenna switching device. The device may be a stand-alone device located in the mobile phone 100 in FIG. 2. It may specifically include the mobile phone 100 or the processor 110, or may be a chip system in the device, including The processor 110 and other necessary components form a system, and the device mainly includes the processor 110 shown in FIG. 2. The device may also include a communication device (such as the radio frequency module 150 and the communication module 160 shown in FIG. 2), a storage device (such as the internal memory 121 shown in FIG. 2), and the like.
本申请实施例提供一种天线切换方法,该天线切换方法可以应用于电子设备,或者应用于电子设备中的部件(比如芯片系统)中。如下主要以电子设备为手机为例来详细阐述本申请实施例的天线切换方法,该设备可以是之前的手机100或其中的部件,例如包括处理器110的芯片系统。如图4所示,该天线切换方法包括S401-S403。The embodiment of the present application provides an antenna switching method, which can be applied to an electronic device, or applied to a component (such as a chip system) in the electronic device. The following describes the antenna switching method of the embodiment of the present application mainly taking the electronic device as a mobile phone as an example. The device may be the previous mobile phone 100 or a component thereof, such as a chip system including a processor 110. As shown in Fig. 4, the antenna switching method includes S401-S403.
S401、设备获取该设备的使用状态。作为一种可能的实现方式,可以通过一个或多个传感器检测感应数据,并根据检测的感应数据获取设备的使用状态。该传感器可以参考之前的介绍,这里不赘述,其功能主要用于采集传感器数据,即感应数据,以便处理器110根据感应数据确定使用状态。处理器110可以运行必要的软件,例如应用软件来处理感应数据以便得到使用状态。S401. The device obtains the use status of the device. As a possible implementation manner, one or more sensors may be used to detect the sensing data, and the use state of the device may be obtained according to the detected sensing data. The sensor can refer to the previous introduction, which will not be repeated here. Its function is mainly used to collect sensor data, that is, sensing data, so that the processor 110 can determine the use state according to the sensing data. The processor 110 may run necessary software, such as application software, to process the sensing data in order to obtain the usage status.
其中,使用状态表示正在使用设备的用户与设备在空间上的相对关系,用户与设备在空间上的相对关系包括但不限于如下一项或多项的组合:用户与设备的相对位置关系、用户与设备的相对速度关系、用户与设备的相对加速度关系、用户与设备的相对角速度关系。用户与设备的相对位置关系包括但不限于用户与设备之间的距离、角 度(即设备被用户手持的角度)关系。示例性的,设备的使用状态包括但不限于如下一项或多项的组合:左手静止持握、右手静止持握、双手静止持握、水平持握、垂直持握、左手以第一速度持握、右手以第二速度持握、双手以第三速度持握、左手以第一角速度旋转、右手以第二角速度旋转、双手以第三角速度旋转、左手以第一加速度持握、右手以第二加速度持握、双手以第三加速度持握、左手持握时手掌与设备的接触区域和/或接触面积、右手持握时手掌与设备接触的区域和/或接触面积、双手持握时手掌与设备接触的区域和/或接触面积。Among them, the use state represents the relative spatial relationship between the user who is using the device and the device. The spatial relative relationship between the user and the device includes but is not limited to one or a combination of the following: the relative position relationship between the user and the device, and the user The relative speed relationship with the device, the relative acceleration relationship between the user and the device, and the relative angular velocity relationship between the user and the device. The relative position relationship between the user and the device includes, but is not limited to, the distance between the user and the device and the angle (that is, the angle at which the device is held by the user). Exemplarily, the state of use of the device includes, but is not limited to, one or a combination of the following: static holding with left hand, static holding with right hand, static holding with both hands, horizontal holding, vertical holding, and left hand holding at the first speed. Holding, holding the right hand at the second speed, holding both hands at the third speed, rotating the left hand at the first angular speed, rotating the right hand at the second angular speed, rotating both hands at the third angular speed, holding the left hand at the first acceleration, holding the right hand at the first speed Two-acceleration holding, holding both hands at the third acceleration, the contact area and/or contact area of the palm with the device when holding with the left hand, the contact area and/or contact area of the palm with the device when holding with the right hand, and the palm when holding with both hands The contact area and/or contact area with the device.
作为举例,感应数据,可以指通过传感器直接测量的数据。比如,环境光传感器可测量环境光线,其测量的环境光线数据就可称为感应数据。进一步的,处理器可以从环境光传感器获取环境光线的明暗,以便于调节触摸屏104的显示器的亮度,或者执行其他手机功能。又比如,加速度传感器可检测质量块在各个方向上(一般为三轴)所受惯性力的大小,静止时可检测出重力的大小及方向,其测量的惯性力、重力大小及方向等数据可称为加速度传感器的感应数据。后续,基于质量块在某一方向所受惯性力等感应数据和牛顿第二定律,就可计算出质量块在该方向的加速度值,以推知手机相对于用户的加速度。进一步的,手机相对于用户的加速度值可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等。As an example, sensing data can refer to data directly measured by sensors. For example, an ambient light sensor can measure ambient light, and the measured ambient light data can be called sensing data. Further, the processor may obtain the brightness of the ambient light from the ambient light sensor, so as to adjust the brightness of the display of the touch screen 104, or perform other mobile phone functions. For another example, the acceleration sensor can detect the magnitude of inertial force received by the mass in various directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary. The measured inertial force, gravity magnitude and direction can be measured It is called the sensing data of the acceleration sensor. Subsequently, based on the induction data of the mass in a certain direction and Newton's second law, the acceleration value of the mass in this direction can be calculated to infer the acceleration of the mobile phone relative to the user. Further, the acceleration value of the mobile phone relative to the user can be used for applications that recognize mobile phone gestures (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer, tapping), and so on.
S402、设备根据使用状态在设备的多个候选天线中确定至少两个目标天线。通常,手机在不同使用状态下,手机天线与用户在空间上的相对关系可能不同,如此,用户对手机天线的辐射特性的影响程度可能不同,致使不同使用状态下,手机天线之间的干扰程度可能不同。如下示例性给出手机的几种使用状态,并分析不同使用状态下天线之间的干扰程度。以图2为例,多个候选天线可以是天线A中的天线,即用于接收或发送2G/3G/4G/5G等信号的天线,也可以是天线B中天线,即用于接收或发送WLAN/BT/GNSS/FM/NFC等信号的天线。S402. The device determines at least two target antennas among the multiple candidate antennas of the device according to the use status. Generally, the relative relationship between the mobile phone antenna and the user in space may be different in different use states of the mobile phone. Therefore, the user may have different influences on the radiation characteristics of the mobile phone antenna, resulting in the degree of interference between the mobile phone antennas under different use states. It may be different. The following exemplarily gives several usage states of the mobile phone, and analyzes the degree of interference between antennas in different usage states. Taking Figure 2 as an example, multiple candidate antennas can be antennas in antenna A, that is, antennas used to receive or transmit 2G/3G/4G/5G signals, or antennas in antenna B, that is, antennas used for receiving or transmitting Antennas for WLAN/BT/GNSS/FM/NFC signals.
在一些实施例中,当用户持握手机时,由于持握手机时手掌与手机接触的区域不同、接触的面积不同,可能遮挡手机上不同天线,从而影响被遮挡天线的辐射强度,进而影响被遮挡天线与其他天线之间的干扰程度。以图5为例,其中,如图5中(a)所示,用户双手持握手机时,手掌与手机的接触区域为区域1和区域2,如图5中(b)所示,用户单手(右手)持握手机时,手掌与手机的接触区域为区域1,由于图5中(a)的接触区域面积大于图5中(b)的接触区域面积,所以,相较于手机在图5中(b)所示的使用状态,手机在图5中(a)所示的使用状态下,可能遮挡更多的天线,在这两种使用状态下,手机天线之间的干扰程度可能不同。又比如,如图5中(c)所示,用户双手持握手机时,手掌与手机的接触区域为区域3和区域4,相较于图5中(a)所示的区域1和区域2,区域3和区域4更接近手机顶部。若手机天线设置在靠近顶部的位置,则相较于用户手掌遮挡区域1和区域2,当用户手掌遮挡区域3和区域4时,可能遮挡更多的天线,或者说,对天线的遮挡程度更高,进而对被遮挡天线的辐射强度影响更大。这样一来,在图5中(a)所示的使用状态和图5中(c)所示的使用状态下,手机天线之间的干扰程度也可能不同。类似的,图5中(d)所示的使用状态下,手机天线之间的干扰程度也受到手机被用户手掌接触的接触区域、接触面 积的影响。In some embodiments, when the user holds the handshake, because the palm and the mobile phone have different contact areas and different contact areas when holding the handshake, different antennas on the mobile phone may be blocked, thereby affecting the radiation intensity of the blocked antennas, which in turn affects the radiation intensity of the blocked antennas. The degree of interference between the shielding antenna and other antennas. Take Figure 5 as an example, where, as shown in Figure 5 (a), when the user holds the handshake with both hands, the contact area between the palm of the hand and the mobile phone is area 1 and area 2, as shown in Figure 5 (b), the user single When the hand (right hand) holds the mobile phone, the contact area between the palm of the hand and the mobile phone is area 1. As the area of the contact area in Figure 5 (a) is larger than that in Figure 5 (b), it is compared to the area of the contact area in Figure 5 (b). In the use state shown in (b) in Figure 5, the mobile phone may block more antennas in the use state shown in Figure 5 (a). In these two use states, the degree of interference between the antennas of the mobile phone may be different . For another example, as shown in Figure 5(c), when the user holds the handshake with both hands, the contact area between the palm of the hand and the mobile phone is area 3 and area 4, compared with area 1 and area 2 shown in Figure 5(a) , Area 3 and Area 4 are closer to the top of the phone. If the mobile phone antenna is set close to the top, compared to the user's palm covering area 1 and area 2, when the user's palm covers area 3 and area 4, more antennas may be blocked, or in other words, the antenna may be blocked more. High, which in turn has a greater impact on the radiation intensity of the shielded antenna. In this way, in the use state shown in Figure 5 (a) and the use state shown in Figure 5 (c), the degree of interference between the antennas of the mobile phone may also be different. Similarly, in the use state shown in Figure 5 (d), the interference level between the antennas of the mobile phone is also affected by the contact area and contact area of the mobile phone touched by the user's palm.
在一些实施例中,手机被用户持握的角度不同时,手机天线相对于地平面的角度可能不同,这样一来,可能致使天线具有不同的空间辐射,比如不同辐射强度、辐射方向等,进而天线之间的干扰程度也可能不同。如图6中的(a-1)所示,手机被用户持握的角度为α,即手机与地平面之间的角度为α;然后,由图6中的(a-1)-图6中的(b)所示,用户可以抬起逐渐抬起手臂,直至如图6中的(c-1)所示,手机与地面近似垂直(即垂直持握)。在图6中的(a-1)、图6中的(b)、图6中的(c-1)所示的三种手机使用状态下,手机天线之间的干扰程度可能因手机被持握的角度不同而不同。还可以继续参见图5中(d),图5中(d)所示的手机使用状态下,手机与地平线近似平行,即手机被用户近似水平持握,此种情况下,手机天线之间的干扰程度不仅受手掌与手机的接触面积、区域的影响,还可能受持握角度的影响。In some embodiments, when the angle at which the mobile phone is held by the user is different, the angle of the mobile phone antenna relative to the ground plane may be different. As a result, the antenna may have different spatial radiation, such as different radiation intensity, radiation direction, etc. The degree of interference between antennas may also vary. As shown in (a-1) in Figure 6, the angle at which the mobile phone is held by the user is α, that is, the angle between the mobile phone and the ground plane is α; As shown in (b), the user can lift up and gradually raise the arm until the phone is approximately perpendicular to the ground (ie, hold it vertically) as shown in (c-1) in Figure 6. In the three mobile phone usage states shown in Figure 6 (a-1), Figure 6 (b), and Figure 6 (c-1), the degree of interference between the antennas of the mobile phone may be due to the holding of the mobile phone. The angle of the grip varies. You can also continue to refer to Figure 5(d). In the state of using the mobile phone shown in Figure 5(d), the mobile phone is approximately parallel to the horizon, that is, the mobile phone is held by the user approximately horizontally. In this case, the distance between the mobile phone antennas The degree of interference is not only affected by the contact area and area between the palm of the hand and the mobile phone, but may also be affected by the angle of the grip.
在一些实施例中,手机相对于用户具有不同的距离时,手机天线与用户之间也可能相应具有不同距离,如此,处于手机天线近场区的用户对天线的辐射特性的影响程度可能不同,进而致使天线之间的干扰可能不同。In some embodiments, when the mobile phone has different distances from the user, the antenna of the mobile phone and the user may also have different distances accordingly. Therefore, users in the near-field area of the mobile phone antenna may have different influences on the radiation characteristics of the antenna. In turn, the interference between the antennas may be different.
在一些实施例中,当手机相对于用户具有不同的速度和/或加速度时,在同一时刻或时段,手机与用户之间的距离可能不同,如此,手机对天线的辐射特性的影响程度可能不同,天线之间的干扰程度也就可能不同。示例性的,在一些游戏场景中,比如用户操作虚拟现实(virtual reality,VR)游戏时,可能手机和用户之间的相对速度和/或加速度会发生改变,手机可以响应速度和/或加速度的变化,来动态切换所使用的天线组。类似的,当手机相对于用户具有不同的角速度时,在同一时刻或时段,手机与用户之间的角度可能不同,如此,天线之间的干扰程度也就可能不同。上述仅示例性的给出一些可能的设备使用状态,设备的使用状态还可以为其他,本申请实施例不再一一穷举。In some embodiments, when the mobile phone has different speeds and/or accelerations relative to the user, the distance between the mobile phone and the user may be different at the same time or time period. Therefore, the mobile phone may have a different degree of influence on the radiation characteristics of the antenna. , The degree of interference between antennas may also be different. Exemplarily, in some game scenarios, such as when the user is operating a virtual reality (VR) game, the relative speed and/or acceleration between the mobile phone and the user may change, and the mobile phone can respond to speed and/or acceleration. Change to dynamically switch the antenna group used. Similarly, when the mobile phone has different angular velocities relative to the user, the angle between the mobile phone and the user may be different at the same time or time period, so that the degree of interference between the antennas may also be different. The foregoing only exemplarily gives some possible use states of the device, and the use state of the device may also be other, and the embodiments of the present application will not be exhaustive.
依据上文所指,不同使用状态下,手机天线之间的干扰程度可能不同。因此,考虑,根据手机的使用状态选择发送或接收数据所使用的多个天线,其中,所选多个天线之间的干扰程度较小。比如,当传感器检测到手机被用户持握的角度分别如图6中的(a-1)、图6中的(b)、图6中的(c-1)所示,则手机中处理器可以从传感器获取这三种情况下手机被持握的角度,并在手机如图6中的(a-1)所示角度被用户持握时,选择天线组1作为发送或接收数据的天线,其中,在此种使用状态下,天线组1中天线之间的干扰程度较小。类似的,在手机如图6中的(b)所示角度被用户持握时,处理器选择天线组2作为发送或接收数据的天线,在手机如图6中的(c-1)所示角度被用户持握时,处理器选择天线组3作为发送或接收数据的天线。According to the above, the degree of interference between mobile phone antennas may be different under different usage conditions. Therefore, it is considered that the multiple antennas used to transmit or receive data are selected according to the use state of the mobile phone, wherein the degree of interference between the selected multiple antennas is relatively small. For example, when the sensor detects the angle at which the mobile phone is held by the user as shown in Figure 6 (a-1), Figure 6 (b), and Figure 6 (c-1), the processor in the mobile phone The angle at which the mobile phone is held in these three situations can be obtained from the sensor, and when the mobile phone is held by the user at the angle shown in Figure 6 (a-1), select antenna group 1 as the antenna for sending or receiving data. Among them, in this state of use, the degree of interference between the antennas in the antenna group 1 is relatively small. Similarly, when the mobile phone is held by the user at the angle shown in Figure 6 (b), the processor selects antenna group 2 as the antenna for sending or receiving data. In the mobile phone, as shown in Figure 6 (c-1) When the angle is held by the user, the processor selects the antenna group 3 as the antenna for sending or receiving data.
作为一种可能的实现方式,可以通过预先测试,得到每种使用状态下,手机的多个天线中每两个天线之间的干扰程度。每种使用状态和对应的多个天线中每两个天线之间的干扰程度可以预配置在设备中。其中,两个天线之间的干扰程度可以用这两个天线之间的隔离度表示。隔离度,指的是发射天线的发射功率与该发射功率耦合(泄露)到接收天线的功率之比。通常,发射功率泄露到接收天线的功率小于该发射功率,因此,隔离度的数值通常大于1。通常,两个天线之间的隔离度数值越大,说明这两个天线之间的干扰程度越小。As a possible implementation manner, through pre-testing, the degree of interference between every two antennas of the multiple antennas of the mobile phone in each use state can be obtained. Each use state and the degree of interference between every two antennas in the corresponding multiple antennas can be pre-configured in the device. Among them, the degree of interference between the two antennas can be expressed by the isolation between the two antennas. Isolation refers to the ratio of the transmit power of the transmit antenna to the power coupled (leaked) to the receive antenna by the transmit power. Generally, the power leaked from the transmitting power to the receiving antenna is less than the transmitting power. Therefore, the value of isolation is usually greater than one. Generally, the greater the value of the isolation between two antennas, the smaller the degree of interference between the two antennas.
以隔离度表示天线之间的干扰程度为例,如下表1示例性示出了设备中预配置的使用状态和隔离度的对应关系:Taking the isolation degree as an example of the degree of interference between antennas, the following Table 1 exemplarily shows the correspondence between the pre-configured use state and the isolation degree in the device:
表1Table 1
由表1可以看出,通常情况下,不同使用状态下,设备的多个天线中每两个天线之间的隔离度均不同。比如,在使用状态A下,系统A的天线1和系统B的天线1的隔离度(X1)与使用状态B下系统A的天线1和系统B的天线1的隔离度(Y1)不同,相应的,在使用状态A、使用状态B下,X2与Y2不同,X3与Y3不同,X4与Y4不同。当然,在不同使用状态下,也可能存在隔离度相同的两个天线。比如,上述X1与Y1相同,或者X2与Y2相同,或者X3与Y3相同,或者X4与Y4相同。其中,表1所示系统A、系统B可以是不同通信制式的系统。例如,系统A是4G制式的系统,系统B是5G制式的系统,系统A使用对应第一天线发送,系统B使用对应第二天线接收,第一天线和第二天线可以为图2所示天线A中的天线。当然,系统A、B还可以为相同通信制式的系统。比如,系统A、B均为如图2所示的4G通信制式。It can be seen from Table 1 that under normal circumstances, the isolation between each two antennas of the multiple antennas of the device is different under different usage conditions. For example, in the use state A, the isolation (X1) of the antenna 1 of the system A and the antenna 1 of the system B is different from the isolation (Y1) of the antenna 1 of the system A and the antenna 1 of the system B in the use state B, correspondingly Yes, in use state A and use state B, X2 is different from Y2, X3 is different from Y3, and X4 is different from Y4. Of course, under different usage conditions, there may also be two antennas with the same isolation. For example, the above X1 is the same as Y1, or X2 is the same as Y2, or X3 is the same as Y3, or X4 is the same as Y4. Among them, the system A and the system B shown in Table 1 may be systems of different communication standards. For example, system A is a 4G system, system B is a 5G system, system A uses the corresponding first antenna for transmission, and system B uses the corresponding second antenna for reception. The first and second antennas can be the antennas shown in Figure 2. Antenna in A. Of course, systems A and B can also be systems of the same communication standard. For example, both systems A and B are 4G communication standards as shown in FIG. 2.
在另一些实施例中,两个天线之间的干扰程度还可以用这两个天线之间的相关系数表示。相关系数的具体介绍可参见现有技术。或者,还可以用其他参数表示。本申请实施例对具体用什么参数表示天线之间的干扰程度不进行限制。In other embodiments, the degree of interference between the two antennas can also be expressed by the correlation coefficient between the two antennas. The specific introduction of the correlation coefficient can be found in the prior art. Or, it can also be expressed by other parameters. The embodiment of the present application does not limit the specific parameters used to indicate the degree of interference between antennas.
基于每种使用状态与对应的手机多个天线中每两个天线之间的干扰程度,比如基于上述表1,每种使用状态均可对应一组天线,该组天线包括互相之间干扰程度最小的N个天线,N为大于或等于2的正整数。以干扰程度用隔离度表示为例,假设手机上共设置有5根天线,即天线1-天线5,在使用状态A下,天线的可用组合是10种,其中5种天线组合中每种天线组合的隔离度如下:天线1与天线2之间的隔离度为8,天线1和天线5之间的隔离度为12,天线2和天线5之间的隔离度为15,天线2和天线3之间的隔离度为10,天线3和天线4之间的隔离度为20。另外5种天线组合的隔离度不再一一列举出。在一些实施例中,每种使用状态对应的一组天线包括两个天线,由于天线3和天线4之间的隔离度最大,则使用状态A对应的一组天线为天线3和天线4。在另一些实施例中,每种使用状态对应的一组天线包括两个以上天线。也就是 说,某一使用状态下,设备还可以根据当前通信需求选取两个以上天线来分别接收或发送一个或多个通信制式的数据,如此,能够通过使用较多的天线收发信号获得更大的传输带宽。比如,在某一使用状态下,设备选取天线1至天线4作为该使用状态对应的一组天线。天线1至天线4均用于处理5G信号,其中,将天线1的信号频段和天线2的信号频段做载波聚合(carrier aggregation,CA),以获得更大的传输带宽。又比如,天线1和天线2用于处理5G信号,天线3和天线4用于处理4G信号。此种情况下,假设需选取4个天线作为使用状态A下设备需使用的天线,在上述天线1至天线5中,由于天线3与天线4的隔离度、天线2与天线5之间的隔离度在上述多个隔离度中数值最大,使用状态A对应的一组天线可以为天线2、天线5、天线3和天线4。后续,当手机检测到该手机在某种使用状态下,则将该使用状态对应的相互干扰程度最小(比如隔离度最大)的一组天线作为用于发送或接收数据的天线。具体的,手机根据使用状态选择天线,可以实现为:手机根据该手机的使用状态查找对应表,以确定一组天线作为用于发送或接收数据的至少两个目标天线。Based on the degree of interference between every two antennas in each use state and the corresponding multiple antennas of the mobile phone, for example, based on the above table 1, each use state can correspond to a group of antennas, and the group of antennas includes the smallest degree of mutual interference. N antennas, N is a positive integer greater than or equal to 2. Take the isolation degree as an example. Suppose there are 5 antennas on the mobile phone, namely antenna 1-antenna 5. In use state A, there are 10 available combinations of antennas, and each of the 5 antenna combinations The combined isolation is as follows: the isolation between antenna 1 and antenna 2 is 8, the isolation between antenna 1 and antenna 5 is 12, the isolation between antenna 2 and antenna 5 is 15, antenna 2 and antenna 3 The isolation between antenna 3 and antenna 4 is 10, and the isolation between antenna 3 and antenna 4 is 20. The isolation of the other 5 antenna combinations will not be listed one by one. In some embodiments, a set of antennas corresponding to each use state includes two antennas. Since the isolation between antenna 3 and antenna 4 is the largest, the set of antennas corresponding to use state A is antenna 3 and antenna 4. In other embodiments, a group of antennas corresponding to each use state includes more than two antennas. That is to say, in a certain state of use, the device can also select more than two antennas to receive or transmit data of one or more communication standards according to the current communication requirements. In this way, it is possible to use more antennas to send and receive signals to obtain greater The transmission bandwidth. For example, in a certain use state, the device selects antenna 1 to antenna 4 as a group of antennas corresponding to the use state. Antenna 1 to antenna 4 are used to process 5G signals, where the signal frequency band of antenna 1 and the signal frequency band of antenna 2 are subjected to carrier aggregation (CA) to obtain a larger transmission bandwidth. For another example, antenna 1 and antenna 2 are used to process 5G signals, and antenna 3 and antenna 4 are used to process 4G signals. In this case, suppose that 4 antennas need to be selected as the antennas to be used by the device in use state A. Among the above antennas 1 to 5, due to the isolation between antenna 3 and antenna 4, and the isolation between antenna 2 and antenna 5. The degree of isolation has the largest value among the above-mentioned isolation degrees. A group of antennas corresponding to the use state A can be antenna 2, antenna 5, antenna 3, and antenna 4. Subsequently, when the mobile phone detects that the mobile phone is in a certain use state, a group of antennas with the smallest degree of mutual interference (for example, the largest isolation) corresponding to the use state is used as antennas for sending or receiving data. Specifically, the mobile phone selects the antenna according to the use state, which can be implemented as: the mobile phone searches the corresponding table according to the use state of the mobile phone to determine a group of antennas as at least two target antennas for sending or receiving data.
其中,手机选取的至少两个目标天线包括第一天线和第二天线,第一天线用于发送数据,第二天线用于发送或接收数据。也就是说至少两个天线中包括至少一个用于发送数据的天线。其中,若第一天线发送数据,且第二天线发送数据,则第一天线和第二天线的发送信号可能产生交调,进而影响第一天线和/或第二天线的正常接收,或者,交调信号还可能对其他接收天线产生交调干扰。若第一天线发送数据,第二天线接收数据,则第一天线的发送信号所产生的一次谐波、二次谐波等可能对第二天线或其他接收天线产生谐波干扰。基于本申请上述实施例,设备所选取的至少两个目标天线为相互干扰程度最小的一组天线,因此,无论是第一天线和第二天线(多个天线)共同作为发送天线产生的交调干扰,还是仅第一天线作为发送天线产生的谐波干扰,均可以保证产生的干扰程度最小。The at least two target antennas selected by the mobile phone include a first antenna and a second antenna. The first antenna is used for sending data, and the second antenna is used for sending or receiving data. That is to say, at least one antenna for transmitting data is included in the at least two antennas. Wherein, if the first antenna transmits data and the second antenna transmits data, the transmitted signals of the first antenna and the second antenna may produce intermodulation, which will affect the normal reception of the first antenna and/or the second antenna, or The modulated signal may also cause intermodulation interference to other receiving antennas. If the first antenna transmits data and the second antenna receives data, the first harmonic, second harmonic, etc. generated by the transmitted signal of the first antenna may cause harmonic interference to the second antenna or other receiving antennas. Based on the above-mentioned embodiments of this application, the at least two target antennas selected by the device are a group of antennas with the least degree of mutual interference. Therefore, both the first antenna and the second antenna (multiple antennas) are used as the transmit antennas to generate intermodulation. The interference, or the harmonic interference generated by only the first antenna as the transmitting antenna, can ensure the minimum degree of interference.
还需说明的是,第一天线和第二天线可以分别用于接收或发送相同或不同通信制式的数据。比如,该至少两个目标天线包括上述表1中系统A的天线1和系统B的天线2,系统A为LTE通信制式的系统,系统B为WCDMA通信制式的系统,天线1用于接收或发送LTE通信制式的数据,天线2用于接收或发送WCDMA通信制式的数据。又比如,该至少两个目标天线包括上述表1中系统A的天线1和天线2,天线1和天线2用于接收或发送系统A的数据。系统A可以是图2所示2G或者3G或者4G或者5G,或者,BT或者WLAN或者GNSS或者NFC或者IR或者FM。以上仅为举例,具体通信制式仅为举例。It should also be noted that the first antenna and the second antenna may be respectively used to receive or transmit data of the same or different communication standards. For example, the at least two target antennas include antenna 1 of system A and antenna 2 of system B in Table 1. System A is an LTE communication system, system B is a WCDMA communication system, and antenna 1 is used for receiving or transmitting. For data of the LTE communication standard, the antenna 2 is used to receive or transmit data of the WCDMA communication standard. For another example, the at least two target antennas include the antenna 1 and the antenna 2 of the system A in Table 1 above, and the antenna 1 and the antenna 2 are used to receive or send the data of the system A. System A may be 2G or 3G or 4G or 5G as shown in FIG. 2, or BT or WLAN or GNSS or NFC or IR or FM. The above is only an example, and the specific communication system is only an example.
上述所查找的对应表用于指示多个使用状态中的每个使用状态所对应的一组天线,每组天线包括两个或两个以上的天线。对于某一使用状态而言,该使用状态对应的一组天线为该使用状态下相互干扰程度最小的一组天线。如下表2所示,为对应表的一种示例性的实现方式,处理器110通过查表直接获得对应于该使用状态的最优干扰情况的天线组合,无需其他复杂的判断和选择逻辑。其中,使用状态A对应天线1、天线2,说明该使用状态A下天线1和天线2之间的干扰程度最小,这里,无需进一步列出其他干扰情况非最优的天线组合。类似的,使用状态B对应天线1、天线2、天线4,说明该使用状态B下,天线1、天线2和天线4之间相互的干扰程度最小。The corresponding table searched above is used to indicate a group of antennas corresponding to each of the multiple usage states, and each group of antennas includes two or more antennas. For a certain use state, a set of antennas corresponding to the use state is a set of antennas with the least degree of mutual interference in the use state. As shown in Table 2 below, which is an exemplary implementation of the correspondence table, the processor 110 directly obtains the antenna combination corresponding to the optimal interference situation of the use state by looking up the table, without other complicated judgment and selection logic. Among them, use state A corresponds to antenna 1 and antenna 2, indicating that the degree of interference between antenna 1 and antenna 2 is the smallest in use state A. Here, there is no need to further list other antenna combinations with non-optimal interference conditions. Similarly, use state B corresponds to antenna 1, antenna 2, and antenna 4, indicating that in use state B, the degree of mutual interference between antenna 1, antenna 2 and antenna 4 is the smallest.
表2Table 2
以图5中(a-1)所示的使用为例,当手机处理器从传感器获知手机被用户按照图5中(a-1)所示角度持握时,处理器查找上述表2,确定该使用状态为使用状态A,进而确定使用状态A对应的天线1、天线2作为用于发送或接收数据的目标天线。这两个天线用于处理相同或不同制式的数据。Take the use shown in Figure 5 (a-1) as an example. When the mobile phone processor learns from the sensor that the mobile phone is held by the user at the angle shown in Figure 5 (a-1), the processor looks up the above Table 2 and determines The use state is use state A, and the antenna 1 and antenna 2 corresponding to use state A are determined as target antennas for sending or receiving data. These two antennas are used to process data of the same or different standards.
S403、设备通过至少两个目标天线发送或接收数据。具体的,设备通过至少两个目标天线分别接收或发送多个不同通信制式的数据。比如,至少两个目标天线包括天线1和天线2,天线1用于发送或接收第一通信制式的数据,天线2用于发送或接收第二通信制式的数据。第一通信制式和第二通信制式可以相同或不同。具体地,处理器110可以控制天线1和2执行数据发送或接收。S403. The device sends or receives data through at least two target antennas. Specifically, the device receives or transmits data of multiple different communication standards through at least two target antennas. For example, at least two target antennas include antenna 1 and antenna 2. Antenna 1 is used to transmit or receive data of a first communication standard, and antenna 2 is used to transmit or receive data of a second communication standard. The first communication standard and the second communication standard may be the same or different. Specifically, the processor 110 may control the antennas 1 and 2 to perform data transmission or reception.
作为一种可能的实现方式,S403由图2所示处理器110控制至少两个目标天线发送或接收数据。As a possible implementation manner, in S403, the processor 110 shown in FIG. 2 controls at least two target antennas to transmit or receive data.
本申请实施例提供的天线切换方法,设备获取该设备的使用状态,并根据使用状态在设备的多个候选天线中确定至少两个目标天线,通过至少两个目标天线发送或接收数据。其中,由于使用状态表示用户与设备在空间上的相对关系,当用户与设备在空间上具有不同相对关系时,在天线近场区的用户对设备天线的影响程度可能不同,进而用户对设备天线之间的干扰程度的影响也可能不同。本申请实施例中,充分考虑用户对设备天线的影响,进而根据用户对设备天线的影响程度,选取用于发送或接收数据的多个天线,使得所选取的多个天线之间的干扰程度较小。In the antenna switching method provided by the embodiments of the present application, a device obtains the use status of the device, determines at least two target antennas among multiple candidate antennas of the device according to the use status, and transmits or receives data through the at least two target antennas. Among them, because the use state represents the relative relationship between the user and the device in space, when the user and the device have a different relative relationship in space, the users in the antenna near-field area may have a different degree of influence on the device antenna, and then the user has a different effect on the device antenna. The impact of the degree of interference between may also be different. In the embodiments of this application, the user's influence on the device antenna is fully considered, and then according to the user's influence on the device antenna, multiple antennas for sending or receiving data are selected, so that the interference between the selected multiple antennas is relatively low. small.
如下结合具体例子来阐述本申请实施例的方案,以便于读者的进一步理解。首先,以本申请实施例的天线切换方法应用在载波聚合场景为例,即手机选取某一通信制式下用于收发该通信制式信号的多个天线。参见图7,假设手机包括多系统公共控制中心,5个系统A的天线,即如图7所示的系统A的天线1、天线2、天线4~天线6,以及如图7所示的GPS的天线3。其中,天线1、天线4、天线5均可以收发频率范围在(频段42)band42内的信号,天线2、天线6均可以收发频率范围在(频段1)band1内的信号,天线3可以接收1575MHz的信号。多系统公共控制中心作为手机上设置的功能模块,可用于控制切换天线,具体包括处理器110,也可进一步包括其他必要部 件。或者多系统公共控制中心可以作为处理器110的一部分存在,具体可以是处理器110内硬件或运行于处理器110上的软件模块。在一个实例中,多系统公共控制中心等同于处理器110。The following describes the solutions of the embodiments of the present application in combination with specific examples to facilitate readers' further understanding. First, take the application of the antenna switching method of the embodiment of the present application in a carrier aggregation scenario as an example, that is, a mobile phone selects multiple antennas for transmitting and receiving signals of the communication standard under a certain communication standard. Referring to Figure 7, it is assumed that the mobile phone includes a multi-system public control center, five antennas of system A, namely antenna 1, antenna 2, antenna 4 to antenna 6 of system A as shown in Figure 7, and GPS as shown in Figure 7. Antenna 3. Among them, antenna 1, antenna 4, and antenna 5 can send and receive signals in the frequency range of (band 42) band42, antenna 2 and antenna 6 can both send and receive signals in the frequency range of (band 1) band1, and antenna 3 can receive 1575MHz signal of. The multi-system public control center, as a functional module set on the mobile phone, can be used to control the switching antenna, and specifically includes the processor 110, and may further include other necessary components. Or a multi-system common control center may exist as a part of the processor 110, and specifically may be hardware in the processor 110 or a software module running on the processor 110. In one example, the multi-system common control center is equivalent to the processor 110.
手机在进行数据传输时,可以通过频带内(inter)载波聚合技术来聚合多个载波,以获得更大的传输带宽。其中,这里以聚合(频段)band1、band42为例进行说明。band1:1920-1980MHz,band42:3400MHz-3600MHz。若存在两个或以上发送天线,比如第一天线和第二天线,第一天线的发送信号的频率落入band1,第二天线的发送信号的频率落入band42,则第一天线的发送信号与第二天线的发送信号可能产生交调,交调信号的频率范围在1420-1680MHz之间。假设GPS的接收频率为1575MHz,则交调信号可能落入接收天线,对接收天线产生交调干扰。When the mobile phone is performing data transmission, multiple carriers can be aggregated through the in-band (inter) carrier aggregation technology to obtain a larger transmission bandwidth. Among them, the aggregation (frequency band) band1 and band42 are taken as an example for description here. band1: 1920-1980MHz, band42: 3400MHz-3600MHz. If there are two or more transmitting antennas, such as the first antenna and the second antenna, the frequency of the transmitted signal of the first antenna falls into band1, and the frequency of the transmitted signal of the second antenna falls into band42, then the transmitted signal of the first antenna and The signal transmitted by the second antenna may produce intermodulation, and the frequency range of the intermodulation signal is between 1420-1680 MHz. Assuming that the GPS receiving frequency is 1575MHz, the intermodulation signal may fall into the receiving antenna, causing intermodulation interference to the receiving antenna.
为了降低上述交调干扰的影响,本申请实施例提供一种天线切换方案,当手机有数据(比如上行(uplink,UL)数据)传输时,手机通过传感器获取该手机的当前使用状态,并可根据手机中预配置的每种使用状态和天线之间隔离度的对应关系,比如根据表1,来获知满足当前载波聚合要求的每两个天线之间的隔离度。以聚合band1和band42为例,满足当前载波聚合要求的两个天线,包括一个能够收发band42信号的天线和一个能够收发band1信号的天线。具体的,举例来说,手机检测该手机当前是某一使用状态,且根据当前通信需求确定需聚合band1和band42,即确定满足当前载波聚合需求的两个天线包括如图7所示的天线1和天线2,天线1和天线6,天线4和天线2,天线4和天线6,天线5和天线2,天线5和天线6。之后,手机根据诸如表1确定在该使用状态下,满足当前载波聚合要求的每两个天线之间的隔离度如下:天线1和天线2之间的隔离度是15,天线1和天线6之间的隔离度是20,天线4和天线2之间的隔离度是12,天线4和天线6之间的隔离度是8,天线5和天线2之间的隔离度是18,天线5和天线6之间的隔离度是25。进而,手机可以根据满足当前载波聚合要求的每两个天线之间的隔离度选择隔离度较大的两个天线作为载波聚合所使用的天线。如此,使得所选取的系统A的两个天线产生交调的可能性降低,进一步的,降低交调信号对如图7所示的GPS天线3的干扰。In order to reduce the impact of the above-mentioned intermodulation interference, an embodiment of the present application provides an antenna switching solution. When the mobile phone has data (such as uplink (UL) data) transmission, the mobile phone obtains the current use status of the mobile phone through the sensor, and can According to the correspondence between each usage state and the isolation between the antennas pre-configured in the mobile phone, for example, according to Table 1, the isolation between every two antennas that meets the current carrier aggregation requirements is obtained. Taking the aggregation of band1 and band42 as an example, the two antennas that meet the current carrier aggregation requirements include an antenna capable of transmitting and receiving band42 signals and an antenna capable of transmitting and receiving band1 signals. Specifically, for example, the mobile phone detects that the mobile phone is currently in a certain state of use, and determines that band1 and band42 need to be aggregated according to the current communication requirements, that is, it is determined that the two antennas that meet the current carrier aggregation requirements include antenna 1 as shown in Figure 7. And antenna 2, antenna 1 and antenna 6, antenna 4 and antenna 2, antenna 4 and antenna 6, antenna 5 and antenna 2, antenna 5 and antenna 6. After that, the mobile phone determines the isolation between every two antennas that meet the current carrier aggregation requirements in the use state according to Table 1, for example: the isolation between antenna 1 and antenna 2 is 15, and the difference between antenna 1 and antenna 6. The isolation between antenna 4 and antenna 2 is 20, the isolation between antenna 4 and antenna 2 is 12, the isolation between antenna 4 and antenna 6 is 8, the isolation between antenna 5 and antenna 2 is 18, and the isolation between antenna 5 and antenna The isolation between 6 is 25. Furthermore, the mobile phone can select two antennas with greater isolation as the antennas used for carrier aggregation according to the isolation between every two antennas that meet the current carrier aggregation requirements. In this way, the possibility of intermodulation between the two antennas of the selected system A is reduced, and further, the interference of the intermodulation signal on the GPS antenna 3 as shown in FIG. 7 is reduced.
作为一种可能的实现方式,考虑到不同载波聚合需求下,手机实际所使用的天线可能不同,对应表还可以指示多个使用状态中的每一使用状态在不同CA需求下分别对应的一组天线。比如,对于某一使用状态,对应表指示在需要聚合band1和band42时,该使用状态对应天线组1,在需要聚合band1和band2时,该使用状态对应天线组2。也就是说,上述对应表还可以具体实现为如下表3:As a possible implementation, considering the different carrier aggregation requirements, the actual antennas used by the mobile phone may be different, and the correspondence table can also indicate a group corresponding to each of the multiple usage states under different CA requirements. antenna. For example, for a certain use state, the corresponding table indicates that when band1 and band42 need to be aggregated, the use state corresponds to antenna group 1, and when band1 and band2 need to be aggregated, the use state corresponds to antenna group 2. In other words, the above-mentioned correspondence table can also be specifically implemented as the following Table 3:
表3table 3
结合具体例子,手机检测到当前使用状态为使用状态A,当前载波聚合需求为聚合band1和band42。之后,手机根据使用状态A和当前载波聚合需求查找对应表3,可获知当需要聚合band1和band42时,使用状态A对应的一组天线为天线组1。后续,手机通过多系统公共控制中心切换至天线组1,手机可以通过天线组1的多个天线来传输数据。假设天线组1包括天线1、天线2。手机通过天线1和天线2实现载波聚合,如上文所描述,通常,手机所选择的天线1和天线2之间的隔离度较大,如此,当天线1和天线2均用于发送信号,天线1的发送信号和天线2的发送信号不容易产生交调信号,也就降低了交调信号对如图7所示的GPS天线3的交调干扰。当天线1和天线2中一个天线用于发送信号,另一天线用于接收信号,比如天线1用于发送信号,天线2用于接收信号时,由于天线1和天线2之间的隔离度较大,因此,天线1产生的谐波对天线2的谐波干扰较小。Combining a specific example, the mobile phone detects that the current use state is use state A, and the current carrier aggregation requirements are aggregated band1 and band42. After that, the mobile phone looks up the corresponding table 3 according to the use state A and the current carrier aggregation requirements, and it can be learned that when band1 and band42 need to be aggregated, the group of antennas corresponding to the use state A is antenna group 1. Subsequently, the mobile phone is switched to antenna group 1 through the multi-system public control center, and the mobile phone can transmit data through multiple antennas of antenna group 1. Assume that antenna group 1 includes antenna 1 and antenna 2. The mobile phone implements carrier aggregation through antenna 1 and antenna 2. As described above, generally, the isolation between antenna 1 and antenna 2 selected by the mobile phone is relatively large. Thus, when both antenna 1 and antenna 2 are used to transmit signals, the antenna The transmission signal of 1 and the transmission signal of the antenna 2 are not easy to generate an intermodulation signal, which reduces the intermodulation interference of the GPS antenna 3 shown in FIG. 7 by the intermodulation signal. When one antenna of antenna 1 and antenna 2 is used to transmit signals, and the other antenna is used to receive signals, for example, antenna 1 is used to transmit signals and antenna 2 is used to receive signals, because the isolation between antenna 1 and antenna 2 is relatively high. Therefore, the harmonics generated by the antenna 1 interfere with the harmonics of the antenna 2 less.
在另一些实施例中,以本申请实施例的天线切换方法应用在异系统多连接场景为例,即手机工作在两个以及以上的通信制式下,并选取用于收发该两个以及以上通信制式信号的多个天线。In some other embodiments, the antenna switching method of the embodiment of the present application is applied to a multi-connection scenario of a different system as an example, that is, the mobile phone works in two or more communication modes, and is selected to send and receive the two or more communications. Multiple antennas for standard signals.
作为一种可能的实现方式,考虑到当工作在不同通信制式下,手机实际所使用的天线可能不同,对应表还可以指示多个使用状态中的每一使用状态在不同通信制式下分别对应的一组天线。比如,对于某一使用状态,对应表指示在需要工作在LTE和NR制式时,该使用状态对应天线组1,在需要工作在LTE和WCDMA时,该使用状态对应天线组2。也就是说,上述对应表还可以具体实现为如下表4:As a possible implementation, considering that the antenna actually used by the mobile phone may be different when working in different communication standards, the correspondence table can also indicate that each of the multiple use states corresponds to each of the different communication standards. A set of antennas. For example, for a certain use state, the correspondence table indicates that when it needs to work in LTE and NR standards, the use state corresponds to antenna group 1, and when it needs to work in LTE and WCDMA, the use state corresponds to antenna group 2. In other words, the above correspondence table can also be specifically implemented as the following Table 4:
表4Table 4
结合具体例子,手机通过传感器获取的感应数据确定当前使用状态为使用状态A,并且,手机确定当前的通信需求是工作在LTE和NR制式。之后,手机根据使用状态A和当前通信需求查找上述对应表4,可获知当需要工作在LTE和NR时,使用状态A对应的一组天线为天线组1。后续,手机可以通过天线组1的多个天线来传输数据。假设天线组1包括天线1、天线2。其中,手机通过天线1收发LTE信号,通过天线2收发NR信号,如上文所描述,由于手机所选择的天线1和天线2之间的隔离度通常 较大,如此,天线1的发送信号和天线2的发送信号不容易产生交调信号,也就降低了交调信号对其他天线的交调干扰。并且,当天线1和天线2之间的隔离度较大时,天线1的发送信号不易对天线2产生谐波干扰,天线2的发送信号也不易对天线1产生谐波干扰。With reference to specific examples, the mobile phone determines that the current use state is use state A through the sensing data obtained by the sensor, and the mobile phone determines that the current communication demand is to work in LTE and NR standards. After that, the mobile phone searches the above-mentioned correspondence table 4 according to the use state A and current communication requirements, and it can be learned that when it needs to work in LTE and NR, the group of antennas corresponding to the use state A is antenna group 1. Later, the mobile phone can transmit data through multiple antennas of antenna group 1. Assume that antenna group 1 includes antenna 1 and antenna 2. Among them, the mobile phone transmits and receives LTE signals through antenna 1, and transmits and receives NR signals through antenna 2. As described above, the isolation between antenna 1 and antenna 2 selected by the mobile phone is usually large. The transmission signal of 2 is not easy to generate an intermodulation signal, which reduces the intermodulation interference of the intermodulation signal to other antennas. Moreover, when the isolation between the antenna 1 and the antenna 2 is large, the transmission signal of the antenna 1 is unlikely to cause harmonic interference to the antenna 2, and the transmission signal of the antenna 2 is not likely to cause harmonic interference to the antenna 1.
可以理解的是,本申请实施例中的设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。结合本申请中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以对每个特定的应用来使用不同的方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的技术方案的范围。It can be understood that, in order to implement the foregoing functions, the devices in the embodiments of the present application include hardware structures and/or software modules corresponding to each function. In combination with the units and algorithm steps of the examples described in the embodiments disclosed in the present application, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Those skilled in the art can use different methods for each specific application to implement the described functions, but such implementation should not be considered as going beyond the scope of the technical solutions of the embodiments of the present application.
本申请实施例可以根据上述方法示例对设备中的部件,如处理器110进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application can divide the components in the device, such as the processor 110, into functional units according to the above method examples. For example, each functional unit can be divided corresponding to each function, or two or more functions can be integrated into one. Processing unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
图8示出了本申请实施例中提供的设备的一种示意性框图。该设备700可以以软件、硬件或其结合的形式存在,还可以为可用于设备的芯片,可位于处理器110中或者包括处理器110和其他必要部件。设备700包括:获取模块701、确定模块702、控制模块703。其中,获取模块701,用于获取设备的使用状态,所述使用状态表示用户与所述设备在空间上的相对关系。确定模块702,用于根据所述使用状态在所述设备的多个候选天线中确定至少两个目标天线。控制模块703,用于控制所述至少两个目标天线发送或接收数据。Fig. 8 shows a schematic block diagram of a device provided in an embodiment of the present application. The device 700 may exist in the form of software, hardware, or a combination thereof, and may also be a chip that can be used in a device, and may be located in the processor 110 or include the processor 110 and other necessary components. The device 700 includes: an acquisition module 701, a determination module 702, and a control module 703. Wherein, the obtaining module 701 is configured to obtain the use state of the device, and the use state represents the relative spatial relationship between the user and the device. The determining module 702 is configured to determine at least two target antennas among the multiple candidate antennas of the device according to the use status. The control module 703 is configured to control the at least two target antennas to transmit or receive data.
在一种可能的设计中,所述确定模块702,还用于根据所述使用状态查找对应表以确定一组天线作为所述至少两个目标天线;其中,所述对应表用于指示多个使用状态中的每个使用状态所对应的一组天线,每组天线包括两个或两个以上的天线。In a possible design, the determining module 702 is further configured to look up a correspondence table according to the use state to determine a group of antennas as the at least two target antennas; wherein, the correspondence table is used to indicate a plurality of antennas. A group of antennas corresponding to each usage status in the usage status, and each group of antennas includes two or more antennas.
在一种可能的设计中,所述用户与所述设备在空间上的相对关系包括如下一项或多项的组合:所述用户与所述设备的相对位置关系、所述用户与所述设备的相对速度关系、所述用户与所述设备的相对角速度关系、所述用户与所述设备的相对加速度关系。In a possible design, the spatial relative relationship between the user and the device includes a combination of one or more of the following: the relative position relationship between the user and the device, and the user and the device The relative speed relationship between the user and the device, the relative acceleration relationship between the user and the device.
在一种可能的设计中,所述获取模块701,还用于获取感应数据;根据所述感应数据获取设备的使用状态。In a possible design, the acquiring module 701 is also used to acquire sensing data; and acquiring the use state of the device according to the sensing data.
在一种可能的设计中,所述控制模块703,用于控制所述至少两个目标天线分别接收或发送一个或多个通信制式的数据。In a possible design, the control module 703 is configured to control the at least two target antennas to respectively receive or transmit data of one or more communication standards.
在一种可能的设计中,所述至少两个目标天线包括第一天线和第二天线,所述第一天线用于发送数据,所述第二天线用于发送数据或接收数据。In a possible design, the at least two target antennas include a first antenna and a second antenna, the first antenna is used for sending data, and the second antenna is used for sending data or receiving data.
以上模块中的一个或多个可以软件、硬件或二者结合来实现。所述软件和硬件模块可被实现在处理器110以及必要的其他部件上。当至少部分流程以软件实现,所述软件以计算机程序指令的方式存在,并可存储在如图2所示的内部存储器121或外部存储器接口120连接的外部存储器件中,如图2所示的处理器110可以用于执行所述 程序指令以实现以上方法流程。处理器110包括但不限于以下至少一种:中央处理单元(central processing unit,CPU)、微处理器、数字信号处理器(DSP)、微控制器(microcontroller unit,MCU)、或人工智能处理器等各类运行软件的计算设备,每种计算设备可包括一个或多个用于执行软件指令以进行运算或处理的核。该处理器可以是个单独的半导体芯片,也可以跟其他电路一起集成为一个半导体芯片,例如,可以跟其他电路(如编解码电路、硬件加速电路或各种总线和接口电路)构成一个SoC(片上系统),或者也可以作为一个专用集成电路(ASIC)的内置处理器集成在所述ASIC当中,该集成了处理器的ASIC可以单独封装或者也可以跟其他电路封装在一起。该处理器除了包括用于执行软件指令以进行运算或处理的核外,还可进一步包括必要的硬件加速器,如现场可编程门阵列(field programmable gate array,FPGA)、PLD(可编程逻辑器件)、或者实现专用逻辑运算的逻辑电路。当以上模块以硬件实现的时候,该硬件可以是CPU、微处理器、DSP、MCU、人工智能处理器、ASIC、SoC、FPGA、PLD、专用数字电路、硬件加速器或非集成的分立器件中的任一个或任一组合,其可以运行必要的软件或不依赖于软件以执行以上方法流程。存储器包括但不限于易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的随机存取存储器(random access memory,RAM)可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、高带宽存储器(high bandwidth memory,HBM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DRRAM)。One or more of the above modules can be implemented by software, hardware or a combination of both. The software and hardware modules may be implemented on the processor 110 and other necessary components. When at least part of the process is implemented in software, the software exists in the form of computer program instructions and can be stored in the internal memory 121 shown in FIG. 2 or the external storage device connected to the external memory interface 120, as shown in FIG. The processor 110 may be used to execute the program instructions to implement the above method flow. The processor 110 includes but is not limited to at least one of the following: a central processing unit (CPU), a microprocessor, a digital signal processor (DSP), a microcontroller (microcontroller unit, MCU), or an artificial intelligence processor Various types of computing devices that run software. Each computing device may include one or more cores for executing software instructions to perform operations or processing. The processor can be a single semiconductor chip, or it can be integrated with other circuits to form a semiconductor chip. For example, it can form an SoC (on-chip) with other circuits (such as codec circuits, hardware acceleration circuits, or various bus and interface circuits). System), or it can be integrated into the ASIC as a built-in processor of an application specific integrated circuit (ASIC), and the ASIC integrated with the processor can be packaged separately or together with other circuits. In addition to the core used to execute software instructions for calculation or processing, the processor can also include necessary hardware accelerators, such as field programmable gate array (FPGA) and PLD (programmable logic device) , Or a logic circuit that implements dedicated logic operations. When the above modules are implemented in hardware, the hardware can be CPU, microprocessor, DSP, MCU, artificial intelligence processor, ASIC, SoC, FPGA, PLD, dedicated digital circuit, hardware accelerator or non-integrated discrete device For any one or any combination, it can run necessary software or does not rely on software to perform the above method flow. The memory includes, but is not limited to, volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of exemplary but not restrictive description, many forms of random access memory (RAM) are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (DRAM), and synchronous dynamic random access memory (DRAM). Access memory (synchronous DRAM, SDRAM), high bandwidth memory (HBM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) and Direct RAM Bus RAM (DRRAM).
本领域普通技术人员可以理解:在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,数字视频光盘(Digital Video Disc,DVD))、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。A person of ordinary skill in the art can understand that: in the foregoing embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. Computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions may be transmitted from a website, computer, server, or data center through a cable (such as Coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) to transmit to another website, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. Available media can be magnetic media (for example, floppy disks, hard drives, tapes), optical media (for example, Digital Video Disc (DVD)), or semiconductor media (for example, Solid State Disk (SSD)), etc. .
上述实施例,可以全部或部分地通过软件、硬件(如电路)、固件或其他任意组 合来实现。当使用软件实现时,上述实施例可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令或计算机程序。在计算机上加载或执行所述计算机指令或计算机程序时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以为通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集合的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质。半导体介质可以是固态硬盘。The foregoing embodiments may be implemented in whole or in part by software, hardware (such as circuits), firmware, or any other combination. When implemented by software, the above-mentioned embodiments may be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more sets of available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium may be a solid state drive.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It should be understood that in the various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application. The implementation process constitutes any limitation. A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in the embodiments disclosed in this document can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiment, which is not repeated here. In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
以上实施例所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program code .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.
Claims (15)
- 一种天线切换方法,其特征在于,包括:An antenna switching method, characterized in that it comprises:获取设备的使用状态,所述使用状态表示用户与所述设备在空间上的相对关系;Acquiring a use state of the device, where the use state represents the relative spatial relationship between the user and the device;根据所述使用状态在所述设备的多个候选天线中确定至少两个目标天线;Determine at least two target antennas among the multiple candidate antennas of the device according to the usage status;通过所述至少两个目标天线发送或接收数据。Send or receive data through the at least two target antennas.
- 根据权利要求1所述的天线切换方法,其特征在于,所述根据所述使用状态在所述设备的多个候选天线中确定至少两个目标天线,包括:The antenna switching method according to claim 1, wherein the determining at least two target antennas among the multiple candidate antennas of the device according to the use status comprises:根据所述使用状态查找对应表以确定一组天线作为所述至少两个目标天线;其中,所述对应表用于指示多个使用状态中的每个使用状态所对应的一组天线,每组天线包括两个或两个以上的天线。Look up a correspondence table according to the usage status to determine a group of antennas as the at least two target antennas; wherein, the correspondence table is used to indicate a group of antennas corresponding to each usage status in a plurality of usage statuses, and each group The antenna includes two or more antennas.
- 根据权利要求1或2所述的天线切换方法,其特征在于,所述用户与所述设备在空间上的相对关系包括如下一项或多项的组合:所述用户与所述设备的相对位置关系、所述用户与所述设备的相对速度关系、所述用户与所述设备的相对角速度关系、所述用户与所述设备的相对加速度关系。The antenna switching method according to claim 1 or 2, wherein the spatial relative relationship between the user and the device includes a combination of one or more of the following: the relative position of the user and the device Relationship, the relative speed relationship between the user and the device, the relative angular velocity relationship between the user and the device, and the relative acceleration relationship between the user and the device.
- 根据权利要求1至3中任一项所述的天线切换方法,其特征在于,所述获取设备的使用状态,包括:通过一个或多个传感器获取感应数据;The antenna switching method according to any one of claims 1 to 3, wherein the acquiring the use status of the device comprises: acquiring sensing data through one or more sensors;根据所述感应数据获取设备的使用状态。The use state of the device is acquired according to the sensing data.
- 根据权利要求1至4中任一项所述的天线切换方法,其特征在于,所述通过所述至少两个目标天线发送或接收数据,包括:通过所述至少两个目标天线分别接收或发送一个或多个通信制式的数据。The antenna switching method according to any one of claims 1 to 4, wherein the sending or receiving data through the at least two target antennas comprises: receiving or sending data through the at least two target antennas respectively Data of one or more communication standards.
- 根据权利要求1至5中任一项所述的天线切换方法,其特征在于,所述至少两个目标天线包括第一天线和第二天线,所述第一天线用于发送数据,所述第二天线用于发送数据或接收数据。The antenna switching method according to any one of claims 1 to 5, wherein the at least two target antennas include a first antenna and a second antenna, the first antenna is used to transmit data, and the second antenna is Two antennas are used to send data or receive data.
- 一种天线切换装置,其特征在于,包括:An antenna switching device, characterized in that it comprises:获取模块,用于获取设备的使用状态,所述使用状态表示用户与所述设备在空间上的相对关系;An obtaining module, configured to obtain a use state of a device, where the use state represents a spatial relative relationship between a user and the device;确定模块,用于根据所述使用状态在所述设备的多个候选天线中确定至少两个目标天线;A determining module, configured to determine at least two target antennas among the multiple candidate antennas of the device according to the use status;控制模块,用于控制所述至少两个目标天线发送或接收数据。The control module is used to control the at least two target antennas to transmit or receive data.
- 根据权利要求7所述的天线切换装置,其特征在于,所述确定模块,用于根据所述使用状态查找对应表以确定一组天线作为所述至少两个目标天线;其中,所述对应表用于指示多个使用状态中的每个使用状态所对应的一组天线,每组天线包括两个或两个以上的天线。The antenna switching device according to claim 7, wherein the determining module is configured to look up a correspondence table according to the use state to determine a group of antennas as the at least two target antennas; wherein, the correspondence table It is used to indicate a set of antennas corresponding to each of the multiple use states, and each set of antennas includes two or more antennas.
- 根据权利要求7或8所述的天线切换装置,其特征在于,所述用户与所述设备在空间上的相对关系包括如下一项或多项的组合:所述用户与所述设备的相对位置关系、所述用户与所述设备的相对速度关系、所述用户与所述设备的相对角速度关系、所述用户与所述设备的相对加速度关系。The antenna switching device according to claim 7 or 8, wherein the relative spatial relationship between the user and the device includes one or a combination of the following: the relative position of the user and the device Relationship, the relative speed relationship between the user and the device, the relative angular velocity relationship between the user and the device, and the relative acceleration relationship between the user and the device.
- 根据权利要求7至9中任一项所述的天线切换装置,其特征在于,所述获取模块,还用于获取感应数据;根据所述感应数据获取设备的使用状态。The antenna switching device according to any one of claims 7 to 9, wherein the acquisition module is further configured to acquire sensing data; and acquiring the use status of the device according to the sensing data.
- 根据权利要求7至10中任一项所述的天线切换装置,其特征在于,所述控制模块,用于控制所述至少两个目标天线分别接收或发送一个或多个通信制式的数据。The antenna switching device according to any one of claims 7 to 10, wherein the control module is configured to control the at least two target antennas to respectively receive or transmit data of one or more communication standards.
- 根据权利要求7至11中任一项所述的天线切换装置,其特征在于,所述至少两个目标天线包括第一天线和第二天线,所述第一天线用于发送数据,所述第二天线用于发送数据或接收数据。The antenna switching device according to any one of claims 7 to 11, wherein the at least two target antennas include a first antenna and a second antenna, the first antenna is used to transmit data, and the second antenna is Two antennas are used to send data or receive data.
- 一种天线切换装置,其特征在于,包括:处理器和存储器;An antenna switching device, characterized by comprising: a processor and a memory;所述存储器,用于存储计算机程序;The memory is used to store a computer program;所述处理器,用于执行所述存储器中存储的计算机程序,使得所述装置执行如权利要求1至6中任一项所述的天线切换方法。The processor is configured to execute a computer program stored in the memory, so that the device executes the antenna switching method according to any one of claims 1 to 6.
- 一种可读存储介质,其特征在于,存储有程序或指令,当所述程序或指令在计算机或处理器上运行时,使得所述计算机或处理器执行如权利要求1至6中任一项所述的天线切换方法。A readable storage medium, characterized in that it stores a program or instruction, and when the program or instruction runs on a computer or a processor, the computer or the processor executes any one of claims 1 to 6 The antenna switching method.
- 一种计算机程序产品,其特征在于,包括计算机程序代码,当所述计算机程序代码在计算机或处理器上运行时,使得所述计算机或处理器执行如权利要求1至6中任一项所述的天线切换方法。A computer program product, characterized by comprising computer program code, when the computer program code is run on a computer or a processor, the computer or the processor is caused to execute any one of claims 1 to 6 The antenna switching method.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/104987 WO2021046696A1 (en) | 2019-09-09 | 2019-09-09 | Antenna switching method and apparatus |
CN201980028530.8A CN112956240B (en) | 2019-09-09 | 2019-09-09 | Antenna switching method and device |
CN202310251204.1A CN116599557A (en) | 2019-09-09 | 2019-09-09 | Antenna switching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2019/104987 WO2021046696A1 (en) | 2019-09-09 | 2019-09-09 | Antenna switching method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021046696A1 true WO2021046696A1 (en) | 2021-03-18 |
Family
ID=74865938
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/104987 WO2021046696A1 (en) | 2019-09-09 | 2019-09-09 | Antenna switching method and apparatus |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN112956240B (en) |
WO (1) | WO2021046696A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115102572A (en) * | 2022-06-17 | 2022-09-23 | Oppo广东移动通信有限公司 | Radio frequency system, terminal and anti-interference method |
CN115102638B (en) * | 2022-07-20 | 2024-04-30 | 上海移远通信技术股份有限公司 | Information acquisition method, device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013074361A (en) * | 2011-09-27 | 2013-04-22 | Nec Casio Mobile Communications Ltd | Radio communication terminal, and exposure reduction method of electromagnetic wave in radio communication terminal |
CN105554834A (en) * | 2015-08-18 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Antenna switching method of user terminal and user terminal |
CN107483737A (en) * | 2017-08-24 | 2017-12-15 | 深圳市盛路物联通讯技术有限公司 | A kind of antenna switching method and mobile terminal |
CN109962719A (en) * | 2019-01-28 | 2019-07-02 | Oppo广东移动通信有限公司 | Method of controlling antenna and system, electronic equipment, computer readable storage medium |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1696503B1 (en) * | 2005-02-28 | 2019-11-20 | BlackBerry Limited | Mobile wireless communications device with human interface diversity antenna and related method of operating such a device |
US9867194B2 (en) * | 2012-06-12 | 2018-01-09 | Qualcomm Incorporated | Dynamic UE scheduling with shared antenna and carrier aggregation |
US9935676B2 (en) * | 2015-08-21 | 2018-04-03 | Qualcomm Incorporated | Opportunistic antenna switch diversity (ASDIV) in carrier aggregation |
CN107592405B (en) * | 2016-07-07 | 2020-12-29 | 中兴通讯股份有限公司 | Antenna tuning parameter processing method and mobile terminal |
CN107124212A (en) * | 2017-04-28 | 2017-09-01 | 广东欧珀移动通信有限公司 | Mobile terminal and its antenna switching method, antenna-switching device |
CN107453767A (en) * | 2017-08-30 | 2017-12-08 | 努比亚技术有限公司 | A kind of antenna switching method, communication terminal and computer-readable recording medium |
CN108566482A (en) * | 2018-03-12 | 2018-09-21 | 广东欧珀移动通信有限公司 | Switching method, device, storage medium and the electronic equipment of antenna feed point |
CN108494957A (en) * | 2018-03-13 | 2018-09-04 | 广东欧珀移动通信有限公司 | Antenna switching method, device, storage medium and electronic equipment |
CN109347531B (en) * | 2018-11-19 | 2021-11-02 | 维沃移动通信有限公司 | Antenna state control method and terminal |
CN110012169B (en) * | 2019-04-04 | 2021-06-29 | Oppo广东移动通信有限公司 | Antenna switching method and device, storage medium and electronic equipment |
-
2019
- 2019-09-09 WO PCT/CN2019/104987 patent/WO2021046696A1/en active Application Filing
- 2019-09-09 CN CN201980028530.8A patent/CN112956240B/en active Active
- 2019-09-09 CN CN202310251204.1A patent/CN116599557A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013074361A (en) * | 2011-09-27 | 2013-04-22 | Nec Casio Mobile Communications Ltd | Radio communication terminal, and exposure reduction method of electromagnetic wave in radio communication terminal |
CN105554834A (en) * | 2015-08-18 | 2016-05-04 | 宇龙计算机通信科技(深圳)有限公司 | Antenna switching method of user terminal and user terminal |
CN107483737A (en) * | 2017-08-24 | 2017-12-15 | 深圳市盛路物联通讯技术有限公司 | A kind of antenna switching method and mobile terminal |
CN109962719A (en) * | 2019-01-28 | 2019-07-02 | Oppo广东移动通信有限公司 | Method of controlling antenna and system, electronic equipment, computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112956240A (en) | 2021-06-11 |
CN112956240B (en) | 2023-05-05 |
CN116599557A (en) | 2023-08-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP4221164A1 (en) | Display method for electronic device with flexible display and electronic device | |
WO2020168965A1 (en) | Method for controlling electronic device having folding screen, and electronic device | |
CN111757477B (en) | Method for reporting capability and user equipment | |
WO2020244623A1 (en) | Air-mouse mode implementation method and related device | |
WO2021063311A1 (en) | Display control method for electronic device having foldable screen, and electronic device | |
US20220283610A1 (en) | Electronic Device Control Method and Electronic Device | |
WO2021208723A1 (en) | Full-screen display method and apparatus, and electronic device | |
WO2020168968A1 (en) | Control method for electronic device having foldable screen, and electronic device | |
WO2021180085A1 (en) | Sound pickup method and apparatus and electronic device | |
WO2021180089A1 (en) | Interface switching method and apparatus and electronic device | |
WO2021052170A1 (en) | Motor vibration control method and electronic device | |
CN110557740A (en) | Electronic equipment control method and electronic equipment | |
EP4181016A1 (en) | Image processing method, electronic device, image processing system and chip system | |
US11889386B2 (en) | Device searching method and electronic device | |
WO2022262492A1 (en) | Data downloading method and apparatus, and terminal device | |
WO2021052408A1 (en) | Electronic device display method and electronic device | |
WO2021046696A1 (en) | Antenna switching method and apparatus | |
CN116048772B (en) | Method and device for adjusting frequency of central processing unit and terminal equipment | |
WO2022062902A1 (en) | File transfer method and electronic device | |
WO2021197115A1 (en) | Antenna tuning method and apparatus, and electronic device and network device | |
CN113099734B (en) | Antenna switching method and device | |
WO2020233581A1 (en) | Height measuring method and electronic device | |
WO2020088318A1 (en) | Automatic activation method for nfc application, and terminal | |
CN114157412A (en) | Information verification method, electronic device and computer readable storage medium | |
CN115134402B (en) | Equipment connection method and electronic equipment |
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: 19945106 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19945106 Country of ref document: EP Kind code of ref document: A1 |