WO2023142782A1 - 一种天线配置方法和设备 - Google Patents

一种天线配置方法和设备 Download PDF

Info

Publication number
WO2023142782A1
WO2023142782A1 PCT/CN2022/140137 CN2022140137W WO2023142782A1 WO 2023142782 A1 WO2023142782 A1 WO 2023142782A1 CN 2022140137 W CN2022140137 W CN 2022140137W WO 2023142782 A1 WO2023142782 A1 WO 2023142782A1
Authority
WO
WIPO (PCT)
Prior art keywords
antenna
signal
bluetooth
antennas
wifi
Prior art date
Application number
PCT/CN2022/140137
Other languages
English (en)
French (fr)
Other versions
WO2023142782A9 (zh
WO2023142782A8 (zh
Inventor
欧阳月辉
师江伟
肖驰洋
刘亮
金杰
Original Assignee
荣耀终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202210714370.6A external-priority patent/CN116567596A/zh
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Publication of WO2023142782A1 publication Critical patent/WO2023142782A1/zh
Publication of WO2023142782A9 publication Critical patent/WO2023142782A9/zh
Publication of WO2023142782A8 publication Critical patent/WO2023142782A8/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • the present application relates to the communication field, and in particular to an antenna configuration method and device.
  • Smartphones usually use the WIFI network to perform business transmission. At this time, they may also connect to Bluetooth peripherals to transmit Bluetooth data. For example, users may listen to audio data through Bluetooth peripherals, or use Bluetooth controllers to control games. In the above situation, the WIFI signal and the Bluetooth signal have always shared the same antenna for transmission. However, with the diversification of Bluetooth peripherals on mobile phones (such as watches, earphones, game controllers, stylus, etc.) Especially in some scenarios with high usage rates of WiFi and Bluetooth, the above solutions may cause communication freezes, delays, and rate degradation, making it increasingly difficult to meet user needs.
  • the present application provides an antenna configuration method and device, which can realize the transmission of Bluetooth signals and WIFI signals under high-speed services using independent antennas.
  • the present application provides a communication method applied to an electronic device
  • the electronic device includes a first set of antennas, the first set of antennas includes at least one antenna, and the antennas of the first set of antennas are used for the first signal and the second signal Communication;
  • the first signal is a WIFI signal
  • the second signal is a Bluetooth signal, or the first signal is a Bluetooth signal, and the second signal is a WIFI signal;
  • the electronic device also includes a second antenna set, and the second antenna set includes a plurality of Antennas;
  • the antennas in the second antenna set are used to transmit cellular signals; when the first preset condition is met, the first signal is transmitted using at least one antenna in the second antenna set, while the second signal independently uses the first
  • the antennas in the first antenna set perform transmission; at least one antenna in the second antenna set includes the first antenna, and the first antenna is one of the following antennas: any antenna in the second antenna set and the first antenna set An antenna with the largest isolation; an antenna in the second antenna set that has the
  • the switching target antenna is limited by conditions such as isolation, distance, and diagonal position, so that the interference of the Bluetooth signal and the WIFI signal is minimized when the independent antenna is used for transmission; Limit, to ensure the signal quality after the WIFI signal or Bluetooth signal is switched to the cellular antenna; to limit the target antenna by whether to turn it off, to ensure that the transmission of the cellular antenna is minimally affected after the WIFI signal or Bluetooth signal is switched to the cellular antenna.
  • the working frequency band of any antenna in the first antenna set and the second antenna set is 2.3 GHz to 2.7 GHz. Since the adjustable frequency of the antenna is limited, it is ensured that the frequency of the switched target cellular antenna can be tuned to the frequency of the Bluetooth signal or the WIFI signal.
  • an isolation degree between at least one antenna in the second antenna set and any antenna in the first antenna set is greater than a preset isolation degree threshold. Therefore, when the isolation of multiple antennas meets the requirement, multiple antennas whose isolation meets the requirement can be selected without being limited to the antenna with the highest isolation, which increases the flexibility of selecting the target antenna.
  • the first preset condition includes a conflict between a WIFI service and a Bluetooth service.
  • the conflict between the WIFI service and the Bluetooth service to which the first signal and the second signal belong includes coexistence of the WIFI service and the Bluetooth service to which the first signal and the second signal belong. Therefore, when it is judged that the WIFI service and the Bluetooth service may preempt each other in the time domain, the cellular antenna is used for the WIFI service or the Bluetooth service in time.
  • the conflict between the WIFI service and the Bluetooth service to which the first signal and the second signal belong includes: at least one of the channel state of the WIFI channel corresponding to the WIFI service and the channel state of the Bluetooth channel corresponding to the Bluetooth service is busy. Therefore, when it is judged that the time-division multiplexing antenna solution for the WIFI service and the Bluetooth service cannot meet the service requirements, the Bluetooth service or the WIFI service is switched to the cellular antenna in time.
  • the channel status of the WIFI channel and the Bluetooth channel is judged according to the statistical results of service indicators of the WIFI channel and the Bluetooth channel; One or more types of definite.
  • the conflict between the WIFI service and the Bluetooth service to which the first signal and the second signal belong includes: the foreground application program currently running on the electronic device belongs to a specific application program, or the process currently running on the electronic device is The specific process in the specific application program, or the service being executed by the electronic device belongs to a specific service type, and there is a communication connection between the electronic device and other bluetooth devices.
  • the electronic device recognizes that the user has started the application or process of the high-speed service, it promptly switches the Bluetooth service or the WIFI service to the cellular antenna.
  • the first preset condition further includes that the channel state of the cellular service to which the cellular signal belongs is in a non-busy state.
  • the first preset condition further includes that the transmit power of the first signal is less than a preset first transmit power threshold and/or the transmit power of the second signal is less than a preset second transmit power threshold. Therefore, it is avoided that the current transmission power of the WIFI or the Bluetooth signal is too high, resulting in too much interference after switching.
  • the first preset condition further includes the reference signal of the first antenna
  • the received power RSRP is greater than the preset RSRP threshold.
  • the electronic device has a built-in subscriber identification card
  • the second antenna set includes a main set antenna, a diversity antenna, a first MIMO antenna, and a second MIMO antenna
  • the main set antenna, the diversity antenna, and the first MIMO antenna and the second MIMO antenna are used for sending and receiving cellular signals of the subscriber identification card
  • the first antenna is the main antenna
  • the diversity antenna, the first MIMO antenna and the second MIMO antenna are used for sending and receiving cellular signals of the subscriber identification card
  • the first antenna is the diversity antenna
  • the main antenna, the first MIMO antenna and the second MIMO antenna send and receive cellular signals for sending and receiving cellular signals of the subscriber identification card.
  • the cellular antenna is occupied by the Bluetooth signal or the WIFI signal
  • the antenna occupied by the subscriber identification card needs to be adjusted accordingly.
  • the diversity antenna is adjusted to be the main antenna of the subscriber identity card. Therefore, when the main antenna is occupied by the WIFI signal or the Bluetooth signal, by adjusting the diversity antenna to the main antenna, the impact on the communication quality of the SIM card is reduced.
  • the electronic device has a plurality of card slots for placing a plurality of user identification cards
  • the plurality of user identification cards include a primary user identification card and a secondary user identification card
  • the first part of the second antenna set The antenna is used to send and receive the cellular signal of the main user identification card
  • the second part of the antenna in the second antenna set is used to send and receive the cellular signal of the secondary user identification card
  • the first antenna belongs to the first part of the antenna or the second part of the antenna
  • the main user identification The card and the secondary subscriber identity card allocate antennas in the second antenna set other than the first antenna.
  • allocating antennas other than the first antenna in the second antenna set to the primary subscriber identity card and the secondary subscriber identity card includes allocating a third part of antennas to the primary subscriber identity card, and allocating a third part of antennas to the secondary subscriber identity card.
  • the fourth part of the antenna; the third part of the antenna is different from the first part of the antenna; and the fourth part of the antenna is different from the second part of the antenna. Therefore, when a certain cellular antenna is occupied by Bluetooth or WIFI, in order to ensure the communication quality of the primary subscriber identity card, the dual SIM cards reassign the remaining antenna.
  • the transmission of the first signal on the first antenna is stopped, and the antennas of the first antenna set are resumed to communicate with the first signal and the second signal.
  • the second preset condition includes one or more of the following conditions: the conflict between the WIFI service and the Bluetooth service is resolved; the cellular service is a high-priority service; at least one of the second antenna set The signal strength of the antenna is less than a first signal strength threshold.
  • the preset condition is reached, the initial antenna transmission state can be switched back in time and the cellular antenna configuration can be restored.
  • the present application provides a communication method applied to an electronic device, the electronic device includes a first antenna set, the first antenna set includes at least one antenna, and the antennas of the first antenna set are used for communicating the first signal and the second signal ;
  • the first signal is a WIFI signal
  • the second signal is a Bluetooth signal, or the first signal is a Bluetooth signal, and the second signal is a WIFI signal
  • the electronic device also includes a second antenna set, and the second antenna set includes a plurality of antennas;
  • the antennas in the second antenna set are used to transmit cellular signals; when the first preset condition and the second preset condition are met, the first signal is transmitted using the first antenna, and the second signal is independently transmitted using the first antenna
  • the antennas in an antenna set perform transmission; wherein, the first antenna is the antenna with the largest isolation or the largest distance from any antenna in the first antenna set in the second antenna set; when the first preset condition is not met or the In the second preset condition, the antennas of the first antenna set are maintained for the first signal
  • the first preset condition includes that the WIFI service and the Bluetooth service to which the first signal and the second signal belong conflict.
  • the present application provides an electronic device, which includes: multiple antennas, memory, and one or more processors; the memory is coupled to the processor, and the memory is used to store computer program codes,
  • the computer program code includes computer instructions, which, when executed by the one or more processors, cause the electronic device to execute the method of the first aspect or the second aspect or any one thereof.
  • the present application provides a computer-readable storage medium, the computer-readable medium includes computer instructions, and when the computer instructions are run on the electronic device, the electronic device executes the first aspect or the second aspect and any one thereof Methods.
  • the present application provides an electronic device, which includes a first short-range communication module and a second short-range communication module, a cellular communication module, a switching control module, a first antenna set and a second antenna set; the first The short-distance communication module is used to generate the first signal, and the second short-distance communication module is used to generate the second signal; the first short-distance communication module is a WIFI communication module, and the second short-distance communication module is a Bluetooth communication module, or the first short-distance communication module
  • the distance communication module is a bluetooth communication module, and the second short-distance communication module is a WIFI communication module; the cellular communication module generates cellular signals; the first antenna set includes at least one antenna, and the antennas of the first antenna set are used for the first signal and the second Two-signal communication; the electronic device also includes a second antenna set, and the second antenna set includes a plurality of antennas; the antennas in the second antenna set are used to transmit cellular signals; when
  • the working frequency band of any antenna in the first antenna set and the second antenna set is 2.3 GHz to 2.7 GHz.
  • an isolation degree between at least one antenna in the second antenna set and any antenna in the first antenna set is greater than a preset isolation degree threshold.
  • the first preset condition includes that the WIFI service and the Bluetooth service to which the first signal and the second signal belong conflict.
  • the conflict between the WIFI service and the Bluetooth service to which the first signal and the second signal belong includes coexistence of the WIFI service and the Bluetooth service to which the first signal and the second signal belong.
  • the conflict between the WIFI service and the Bluetooth service to which the first signal and the second signal belong includes: the channel state of the WIFI channel corresponding to the WIFI service and the channel state of the Bluetooth channel corresponding to the Bluetooth service At least one of the channel states is busy.
  • the switching control module judges the channel states of the WIFI channel and the Bluetooth channel according to the statistical results of service indicators of the WIFI channel and the Bluetooth channel; the statistical results of the service indicators are based on the service throughput , determined by one or more of channel occupancy or service delay.
  • the conflict between the WIFI service and the Bluetooth service to which the first signal and the second signal belong includes: the foreground application program currently running on the electronic device belongs to a specific application program, or the process currently running on the electronic device is The specific process in the specific application program, or the service being executed by the electronic device belongs to a specific service type, and there is a communication connection between the electronic device and other bluetooth devices.
  • the first preset condition further includes that the channel state of the cellular service to which the cellular signal belongs is in a non-busy state.
  • the first preset condition further includes that the transmit power of the first signal is less than a preset first transmit power threshold and/or the transmit power of the second signal is less than a preset second transmit power threshold.
  • the first preset condition further includes the second antenna set
  • the reference signal received power RSRP of the antenna having the greatest isolation or distance from any antenna in the first antenna set is greater than a preset RSRP threshold.
  • the electronic device has a built-in subscriber identification card
  • the second antenna set includes a main set antenna, a diversity antenna, a first MIMO antenna, and a second MIMO antenna
  • the main set antenna, the diversity antenna, and the first MIMO antenna and the second MIMO antenna are used for sending and receiving cellular signals of the subscriber identification card
  • the first antenna is the main antenna
  • the diversity antenna, the first MIMO antenna and the second MIMO antenna are used for sending and receiving cellular signals of the subscriber identification card
  • the first antenna is the diversity antenna
  • the main antenna, the first MIMO antenna and the second MIMO antenna send and receive cellular signals for sending and receiving cellular signals of the subscriber identification card.
  • the switching control module adjusts the diversity antenna to be the main antenna of the subscriber identity card.
  • the electronic device has a plurality of card slots for placing a plurality of user identification cards
  • the plurality of user identification cards include a primary user identification card and a secondary user identification card
  • the first part of the second antenna set The antenna is used to send and receive the cellular signal of the primary user identification card
  • the second part of the antenna in the second antenna set is used to send and receive the cellular signal of the secondary user identification card
  • the first antenna belongs to the first part of the antenna or the second part of the antenna
  • the switching control module is The primary subscriber identity card and the secondary subscriber identity card allocate antennas other than the first antenna in the second antenna set.
  • the switching control module assigning antennas other than the first antenna in the second antenna set to the primary subscriber identity card and the secondary subscriber identity card includes the switching control module allocating a third part of antennas to the primary subscriber identity card, A fourth part of the antenna is assigned to the secondary subscriber identification card; the third part of the antenna is different from the first part of the antenna; and the fourth part of the antenna is different from the second part of the antenna.
  • the switching control module controls the first signal to stop transmitting on the first antenna, and the switching control module controls the antennas of the first antenna set to resume being used for the first signal communicate with the second signal.
  • the second preset condition includes one or more of the following conditions: the conflict between the WIFI service and the Bluetooth service is resolved; the cellular service is a high-priority service; at least one of the second antenna set The signal strength of the antenna is less than a first signal strength threshold.
  • the present application provides an electronic device, which includes a first short-range communication module and a second short-range communication module, a cellular communication module, a switching control module, a first antenna set and a second antenna set; the first The short-distance communication module produces the first signal, and the second short-distance communication module produces the second signal; the first short-distance communication module is a WIFI communication module, the second short-distance communication module is a Bluetooth communication module, or the first short-distance communication module is Bluetooth communication module, the second short-distance communication module is a WIFI communication module; the cellular communication module generates cellular signals; the first antenna set includes at least one antenna, and the antennas of the first antenna set are used for the first signal and the second antenna Two-signal communication; the electronic device also includes a second antenna set, and the second antenna set includes a plurality of antennas; the antennas in the second antenna set are used to transmit cellular signals; when the first preset condition is met and the second preset condition
  • the first preset condition includes that the WIFI service and the Bluetooth service to which the first signal and the second signal belong conflict.
  • FIG. 1 is a schematic structural diagram of an electronic device 100 provided in an embodiment of the present application.
  • FIG. 2 is a schematic diagram of an actual scenario in which an electronic device 100 communicates according to an embodiment of the present application
  • Figure 3 (a) is a schematic diagram of an electronic device game interface when connecting to Bluetooth provided by the embodiment of the present application;
  • Figure 3(b) is a schematic diagram of an electronic device game interface when Bluetooth is turned off provided by the embodiment of the present application;
  • Figure 4(a)- Figure 4(c) is a schematic diagram of the antenna distribution of the electronic device provided by the embodiment of the present application.
  • FIG. 5 is a schematic diagram of the connection state of the internal modules of the electronic device when the antenna is time-division multiplexed according to the embodiment of the present application;
  • Fig. 6 is a sequence diagram when a WIFI signal and a Bluetooth signal are time-division multiplexed with one antenna provided by the embodiment of the present application;
  • FIG. 7 is a flow chart of an electronic device triggering and performing antenna switching provided by an embodiment of the present application.
  • FIG. 8 is another flow chart of an electronic device triggering and performing antenna switching according to an embodiment of the present application.
  • FIG. 9 is a flow chart of specific steps for implementing an antenna switching strategy provided by an embodiment of the present application.
  • Figure 10(a) is a schematic diagram of the sensor layout of the mobile phone provided by the embodiment of the present application.
  • Figure 10(b) is a schematic diagram of a horizontal grip of a mobile phone provided by an embodiment of the present application.
  • Fig. 10(c) is a schematic diagram of vertically holding the mobile phone provided by the embodiment of the present application.
  • FIG. 11 is a schematic diagram of the connection of the internal modules of the electronic device provided by the embodiment of the present application.
  • FIG. 12(a)-FIG. 12(c) are schematic diagrams of antenna allocation before and after antenna switching is performed by the electronic device provided by the embodiment of the present application;
  • Fig. 13 is a flowchart of internal module interaction provided by the embodiment of the present application.
  • Figure 14(a)- Figure 14(b) is a schematic diagram of the internal device state before and after switching provided by the embodiment of the present application;
  • Figure 15(a)- Figure 15(b) is a flow chart of exiting the antenna switching state provided by the embodiment of the present application.
  • FIG. 16 is a schematic diagram of the structural composition of a chip system provided by an embodiment of the present application.
  • words such as “first” and “second” are used to distinguish the same or similar items with basically the same function and effect, and do not Its sequence is limited. Those skilled in the art can understand that words such as “first” and “second” do not limit the quantity and execution order, and words such as “first” and “second” do not necessarily limit the difference.
  • At least one means one or more
  • plural means two or more.
  • “And/or” describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural.
  • the character “/” generally indicates that the contextual objects are an “or” relationship.
  • “At least one of the following” or similar expressions refer to any combination of these items, including any combination of single or plural items.
  • At least one (one) of a, b and c may represent: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, wherein a, b, c can be single or multiple.
  • FIG. 1 shows a schematic structural diagram of an electronic device 100 .
  • the electronic device 100 may be a cell phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, as well as a cellular phone, a personal digital assistant (personal digital assistant) digital assistant (PDA), augmented reality (augmented reality, AR) device, virtual reality (virtual reality, VR) device, artificial intelligence (artificial intelligence, AI) device, wearable device, vehicle-mounted device, smart home device and/or
  • PDA personal digital assistant
  • augmented reality augmented reality, AR
  • VR virtual reality
  • AI artificial intelligence
  • wearable device wearable device
  • vehicle-mounted device smart home device
  • smart home device smart home device
  • smart home device smart home device
  • the embodiment of the present application does not specifically limit the specific type of the electronic equipment.
  • the electronic device 100 may include a processor 110, an internal memory 121, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a sensor module 180, and a subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • the sensor module 180 may include a distance sensor 180F, a proximity sensor 180G and the like.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit
  • the controller can generate an operation control signal according to the instruction opcode and timing signal, and complete the control of fetching and executing the instruction.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thereby improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may 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, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL).
  • processor 110 may include multiple sets of I2C buses. The processor 110 can be coupled with chargers, flashlights, etc. through different I2C bus interfaces.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • a UART interface is generally used to connect the processor 110 and the wireless communication module 160 .
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through peripheral devices.
  • the interface connection relationship between the modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the wireless communication function of the electronic device 100 can be realized by the antenna 1 , the antenna 2 , the mobile communication module 150 , the wireless communication module 160 , a modem processor, a baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves through the antenna 1, filter and amplify the received electromagnetic waves, and send them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signals modulated by the modem processor, and convert them into electromagnetic waves and radiate them through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be set in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be set in the same device.
  • a modem processor may include a modulator and a demodulator.
  • the modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator sends the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is passed to the application processor after being processed by the baseband processor.
  • the modem processor may be a stand-alone device. In some other embodiments, the modem processor may be independent from the processor 110, and be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite, etc. applied on the electronic device 100.
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • infrared technology infrared, IR
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA broadband Code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • TD-SCDMA time-division code division multiple access
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the internal memory 121 may be used to store computer-executable program codes including instructions.
  • the internal memory 121 may include an area for storing programs and an area for storing data.
  • the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
  • the storage data area can store data created during the use of the electronic device 100 (such as audio data, phonebook, etc.) and the like.
  • 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, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the distance sensor 180F is used to measure the distance.
  • the electronic device 100 may measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F for distance measurement to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user is holding the electronic device 100 close to the ear to make a call, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
  • the SIM card interface 195 is used for connecting a SIM card.
  • the SIM card can be connected and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards may be the same or different.
  • the SIM card interface 195 is also compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as calling and data communication.
  • the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • the electronic device 100 can be, for example, the mobile phone 100 in FIG. 2 .
  • the mobile phone 100 is connected to the router 200 through the WIFI network, and at the same time the mobile phone 100 is connected to the wireless headset 300 or the game controller 400 through the Bluetooth connection.
  • a scene in FIG. 2 can be that the user is Play games through the WIFI network, and the mobile phone is connected to the Bluetooth handle.
  • Another scenario can be that the user is making a video call over WIFI with a Bluetooth headset.
  • high-speed transmission of audio and video data, Bluetooth services and WIFI services have high requirements for transmission service quality, especially high requirements for real-time performance.
  • the bluetooth signal and the WIFI signal of the mobile phone share an antenna in a time-division multiplexing manner, resulting in that the mobile phone WIFI service and the bluetooth service cannot work at the same time, and the priority of the bluetooth service is high, and the WIFI service may be interrupted at any time .
  • the mobile phone is receiving audio and video data through WIFI, and when the mobile phone needs to transmit data to the Bluetooth headset, it will interrupt the audio and video data transmission and reception of WIFI, and the user will feel that the sound or picture freezes.
  • the control data of the handle needs to be transmitted to the mobile phone through Bluetooth, and the game screen data is transmitted to the mobile phone through WIFI.
  • the WIFI transmission between the mobile phone and the router and the Bluetooth transmission between the handle and the mobile phone From the point of view, the game screen is stuck.
  • Figure 3(a) and Figure 3(b) are an example of a game scene
  • Figure 3(a) is the interface where the user connects the Bluetooth peripheral to the mobile phone and uses the mobile phone to play games at the same time.
  • the upper right corner of the game interface shows that the game delay is 92ms.
  • Figure 3(b) after the user turns off the Bluetooth service of the mobile phone, the game delay on the interface is reduced to 11ms. It can be seen that the current working mechanism of WIFI and Bluetooth time-division multiplexed with one antenna is not conducive to the scenario where both are high-speed services.
  • the mobile phones 401, 402 and 403 are all equipped with six antennas in the range of 2.3GHz to 2.7GHz. It can be understood that the mobile phone The number of 2.3-2.7GHz antennas can be more or less than 6, and the mobile phone also has antennas of other frequency bands not shown.
  • the wireless fidelity (Wireless Fidelity, referred to as "WiFi”) module uses antennas Ant4 and Ant5, supports 2 ⁇ 2 Multiple Input Multiple Output (Multiple Input Multiple Output, referred to as "MIMO”) technology, Bluetooth module and The WIFI module shares the antenna Ant4.
  • WiFi Wireless Fidelity
  • MIMO Multiple Input Multiple Output
  • the Bluetooth module and the WIFI module share the antenna Ant6, and the high-frequency band of the cellular module occupies the antennas Ant1 to Ant5.
  • Bluetooth and WIFI share antenna Ant4 and antenna 5, both of which support 2 ⁇ 2 MIMO technology
  • the high-frequency frequency band of the cellular module occupies antennas Ant1-3 and Ant6, which support 4 ⁇ 4 MIMO technology.
  • MIMO technology mainly uses hardware conditions such as multiple antennas (for example, 4 antennas) and multiple radio frequency channels (for example, 4 receiving channels), and cooperates with the chip baseband algorithm to improve the user's data throughput experience.
  • the Bluetooth module 51 and the WIFI module 52 time-division multiplex the shared antenna 54 through a switch 53 .
  • the antenna 54 sends and receives Bluetooth signals;
  • the antenna 54 sends and receives WIFI signals.
  • the time-division multiplexing scheme of the Bluetooth signal and the WIFI signal is shown in Figure 6.
  • the multiplexing method in Figure 6 enables the electronic device to realize the transmission and reception of the Bluetooth service and the WIFI service on one antenna.
  • Bluetooth or WIFI perform data transmission in their respective working time period (Working Time), and do not perform data transmission in the idle time period (Idle Time).
  • the Bluetooth service and the WIFI service can only have one service in the working time period at any time period, and the Bluetooth service and the WIFI service alternately occupy time domain resources.
  • the existing antenna layout still cannot meet the user's requirements for wireless performance, because the WIFI signal and the Bluetooth signal are time-division multiplexed with one antenna, and there will be a problem of preempting antenna resources.
  • the mobile phone runs the game APP
  • the mobile phone is connected to the router through WIFI and the game controller through Bluetooth at the same time.
  • the game APP has high requirements for real-time signal transmission.
  • the user experience is not good when playing the game.
  • an independent antenna for Bluetooth or WIFI transmission is added to the mobile phone, it will not only increase the cost, but may also affect the appearance of the ID and the stability of the product structure.
  • the addition of an antenna leads to the installation of seven antennas with the same frequency in the limited space of the mobile phone, which also has a great impact on the isolation index between the antennas, thereby deteriorating the overall wireless performance of the mobile phone.
  • FIG. 7 shows a method for configuring an antenna according to an embodiment of the present application, which specifically includes:
  • the service indicators can be indicators such as service throughput, channel occupancy rate, and service delay, and can also be other commonly used indicators indicating channel busyness. One or more service indicators can be counted, which is not limited here.
  • the service throughput is the amount of data passing through the channel per unit time;
  • the service delay is the time interval from when the sender starts sending data to when the receiver completely receives the data;
  • the channel occupancy rate is the average degree of channel occupancy, for example, if It is 10%, which means that the channel is occupied 10% of the time on average.
  • the real-time statistics of service indicators of the WIFI channel may be performed every other preset short period T1.
  • the real-time statistics of service indicators of the Bluetooth channel may be performed every short period T2.
  • T1 and T2 may be the same or different.
  • S101 and S102 can be executed simultaneously or successively.
  • the statistical result of the business index can indicate the busyness of the channel business within a period of time.
  • the average value of any service index within a period of time is used as the statistical result of the service index.
  • the average value of service throughput within a period of time may be used as the statistical result of service indicators of WIFI channels.
  • a corresponding weight can be set for each business index, and a statistical result of the business index can be obtained by weighting and summing the mean values of multiple business indexes within a certain period of time.
  • any business indicator counted over a period of time may be used as the statistical result of the business indicator.
  • the statistical results of the business indicators of the WIFI channel and the Bluetooth channel can be obtained through the above method, and the channel status of the WIFI service and the Bluetooth service can be judged according to the statistical results of the business indicators of the WIFI channel and the Bluetooth channel respectively; the WIFI service can be judged according to the channel status of the WIFI service and the Bluetooth service Whether it conflicts with the Bluetooth service.
  • the electronic device determines that the channel state of the WIFI service is in a busy state, otherwise it is in an idle state; when the result of the service index of the Bluetooth channel is greater than the second statistical result threshold, determine that the channel status of the Bluetooth service is busy, otherwise it is idle.
  • the first statistical result threshold and the second statistical result threshold may be the same or different.
  • different gears can be set according to the threshold range of the statistical results of the business indicators, including idle, relatively idle, relatively busy, busy and other gears, and the Bluetooth service and the WIFI service can be combined and judged according to different gears, which can be : When one of the Bluetooth service and the WIFI service is busy, it is judged that the two conflict, or when the channel states of the Bluetooth service and the WIFI service are both busy, it is judged that the two conflict. It can be understood that those skilled in the art can also use other commonly used gear setting methods and conflict judgment methods, which are not limited here.
  • T3 may be the same as T1 and T2, or different.
  • T3 may be greater than T1 and T2, so as to collect statistics on service indicators of Bluetooth and WIFI channels for a period of time, and then perform conflict judgment.
  • the above steps can also set execution conditions. For example, it is determined whether to execute the conflict detection process of S101-S103 according to the screen state of the electronic device. It may be that the conflict detection process of S101-S103 is executed when the mobile phone is in a bright screen state. For another example, the above-mentioned conflict detection process is executed in a specific time period, and the specific time period can be obtained through statistics based on user habits. For example, statistics show that users are usually playing games from 10:00pm to 11:00pm, and service conflict detection is enabled during this time period. Another example is to exclude the user's work time or sleep time to enable conflict detection. For another example, it may be determined whether to enable service conflict detection according to the working frequency band of the WIFI module and the working state of the Bluetooth module.
  • the WIFI module can use 2.4GHz or 5GHz frequency band.
  • the WIFI module uses the 5GHz frequency band, it does not conflict with the working frequency band of the Bluetooth module.
  • the WIFI module uses the 2.4GHz frequency band, it is similar to the working frequency band of the Bluetooth module, and business conflicts may occur. Therefore, conflict detection can be performed when the WIFI module uses the 2.4Ghz frequency band and the Bluetooth module is working.
  • the electronic device determines that the WIFI service and the Bluetooth service conflict, execute S105, otherwise execute S101 and S102 again.
  • the electronic device executes S105 only after determining that the conflict duration between the Bluetooth service and the cellular service reaches the conflict detection time threshold. Otherwise, re-execute S101 and S102.
  • S104 may also be selectively performed.
  • Real-time statistics of service indicators of cellular channels and obtain statistical results of service indicators of cellular services.
  • the service indicators of the cellular channel may be indicators such as data throughput, channel occupancy rate, and service delay, and may also be other commonly used service indicators.
  • One or more service indicators may be counted, which is not limited here. It can be understood that the real-time statistics of the service indicators of the cellular channel may be performed at intervals of a preset short period T4. T4 and T1, T2, T3 may be the same or different.
  • the obtaining process of the statistical result of the service index of the cellular service is similar to S103, and will not be repeated here.
  • the channel state of the cellular service is judged according to the statistical result of the service index.
  • the electronic device determines that the channel state of the cellular service is a busy state, otherwise it is an idle state;
  • S105 is executed.
  • S101-S103 As an alternative to S101-S103, S101' may be performed.
  • S101' judges whether the WIFI service and the Bluetooth service conflict according to the service type judgment strategy. Specifically, when it is determined that the service being executed by the electronic device in the WIFI state belongs to a specific service type, and there is data transmission between the electronic device and other Bluetooth devices or there is a communication connection between the electronic device and other Bluetooth devices, the electronic device determines that the WIFI The service conflicts with the Bluetooth service, and S105 is executed, and S104 is optionally executed. For example, high-speed services such as games and video calls can be classified as specific service types.
  • the bluetooth device can be a bluetooth handle, a bluetooth headset or a bluetooth speaker, etc., the list is not exhaustive.
  • a scenario can be that the user is playing a game, and the electronic device detects that the business it is performing is a game business, which belongs to a specific business type, and the electronic device detects that it is connected to the Bluetooth handle, or detects that there is data interaction with the Bluetooth handle , the electronic device determines that there is a conflict between the WIFI service and the Bluetooth service. For another example, if the electronic device determines that it is currently running a specific application or a specific process in a specific application, and the electronic device determines that there is data transmission between it and other Bluetooth devices or that there is a communication connection with other Bluetooth devices, then it determines that the WIFI The service conflicts with the Bluetooth service.
  • Specific applications can be applications that run high-speed services.
  • electronic devices can define user-installed game applications and video call applications as specific applications.
  • electronic devices can define video call progress in chat applications Defined as a specific process in a specific application.
  • the electronic device determines that the Bluetooth service and the WIFI service conflict.
  • This embodiment can make the Bluetooth service or the WIFI service use different antennas for transmission as much as possible.
  • the cellular antennas in this application specifically refer to antennas in the 2.3GHz to 2.7GHz frequency band capable of transmitting cellular signals, such as the antennas Ant1 to Ant4 in FIG. 4( a ).
  • a cellular antenna set is defined, and the cellular antenna set includes all cellular antennas that can be used to transmit signals in the 2.3GHz to 2.7GHz frequency band after the mobile phone is turned on.
  • One or more target antennas are determined in the set of cellular antennas, and the target antennas are used to transmit the Bluetooth signal or the WIFI signal after the electronic device determines that the Bluetooth service conflicts with the WIFI service.
  • the above method for determining the target antenna may be: determining the target antenna in the cellular antenna set according to the degree of isolation between the antennas.
  • the isolation can be determined according to the ratio of the signal power transmitted by one antenna to the signal power received by another antenna, indicating that the output attenuation degree of the transmitted signal from one antenna to another antenna is greater. The greater the ratio, the better the isolation . If the Bluetooth signal or WIFI signal is switched to the cellular antenna, the isolation between the two is large enough, which means that the Bluetooth signal and WIFI signal can cancel the time division multiplexing when each occupies an antenna, and the interference level remains acceptable.
  • an antenna with the greatest isolation from any shared antenna can be selected as the target switching antenna in the cellular antenna set, where the shared antenna is the antenna shared by the WIFI module and the Bluetooth module in the initial state.
  • the electronic device can also N antennas are selected from the cellular antenna set as target antennas, and N is greater than 1.
  • the electronic device has two cellular antennas and the isolation of the shared antenna meets the signal transmission requirements, so that the Bluetooth signal or WIFI signal interferes with the signal on the shared antenna after switching within an acceptable range, then the two Each cellular antenna can be used as the target antenna.
  • the above embodiment will be described by taking the mobile phone in Fig. 4(a) and Fig. 4(c) as an example. Specifically, take switching the antenna of the Bluetooth signal as an example.
  • the Bluetooth module and the WIFI module time-division multiplex Ant4, and the antenna Ant1 with the greatest isolation from Ant4 is determined as the target antenna.
  • the Bluetooth signal is transmitted on Ant1, and the WIFI signal continues in the Ant4 and Ant5 for transfer.
  • the isolation between Ant1 and Ant4 is large enough, so even though Ant1 and Ant4 work at the same time after switching, the interference is within an acceptable range.
  • the Bluetooth module and the WIFI module time-division multiplex two antennas Ant4 and Ant5, and it can be determined that the number of target antennas is equal to the number of shared antennas, and the Bluetooth signal can occupy two original transmission cells after switching. signal antenna. Since the isolation between Ant1 and Ant2 and Ant4 or Ant5 meets the requirements, Ant1 and Ant2 are used as target antennas. After switching, the WIFI signal is transmitted on Ant4 and Ant5, and the Bluetooth signal is transmitted on Ant1 and Ant2. If only the isolation of Ant1 meets the requirements, Ant1 can also be used as the target antenna for switching two-way Bluetooth signals.
  • the two-way Bluetooth signals refer to the Bluetooth signals on Ant4 and Ant5. After switching, the WIFI signal is transmitted on antennas Ant4 and Ant5. Bluetooth signals are transmitted on Ant1.
  • the antenna for switching WIFI signals may also be used instead of the antenna for switching Bluetooth signals.
  • the WIFI signal is transmitted using two antennas Ant4 and Ant5 in the initial state, and Ant1 and Ant2 whose isolation meets the requirements can be determined in the cellular antenna as the target antenna, and Ant1 and Ant2 are used to transmit the WIFI signal after switching. After switching, Ant4 and Ant5 no longer transmit WIFI signals, and Bluetooth signals continue to transmit on Ant4.
  • Ant1 with the highest isolation can be used as the target antenna for WIFI, and the antennas on Ant4 and Ant5 no longer transmit WIFI signals after switching.
  • Ant4 can be used to transmit Bluetooth signals after switching, WIFI signals on Ant5 can keep transmitting, Ant1 can also be used to transmit WIFI signals, then WIFI signals and Bluetooth signals do not need to be time-multiplexed with one antenna.
  • the method for determining the target antenna may be: determining an antenna in a closed state as the target antenna. There are antennas that are off if the cellular traffic is relatively idle and not all antennas are being used.
  • a cellular antenna may include a main antenna and a diversity antenna, and when the cellular service is not busy, the diversity antenna may be turned off. The electronic device judges that if the diversity antenna is in an off state, it uses the diversity antenna as the target antenna.
  • the above-mentioned method for determining the target antenna may be as follows: it may be determined whether each antenna in the cellular antenna set is blocked, and one or more antennas among the unblocked antennas are selected as the target antenna.
  • the electronic device can have a built-in SAR sensor. For example, in FIG. When the human body is close to the antenna near the SAR sensor, it will cause a change in capacitance, and then the SAR sensor can be used to detect whether the antenna near it is blocked.
  • Sensor 1 and sensor 2 can also be proximity light sensors, or capacitive sensors.
  • antennas Ant1 to Ant4 are cellular antennas
  • Ant5 and Ant6 are shared antennas for WIFI and Bluetooth.
  • the user is playing a game and holds the mobile phone with both hands horizontally, as shown in Figure 10(b), the sensors 1 and 2 detect that the nearby antennas Ant1 and Ant3 are blocked by the user's hands, and the antenna radiation performance is reduced.
  • the electronic device switches the Bluetooth signal to Ant2, and the WIFI signal continues to occupy Ant4 and Ant5.
  • the user holds the mobile phone vertically, as shown in Figure 10(c)
  • sensor 2 detects that Ant1 is blocked, and Ant3 is farthest from the hand, and the radiation performance is hardly affected by the hand.
  • the wireless performance is better, and Ant3 can be as the target antenna.
  • the target antenna can be determined according to the signal strength of each antenna in the cellular antenna set, the signal strength of each antenna in the cellular antenna set can be determined, if the signal strength of a certain antenna satisfies the first signal strength condition, for example If it is greater than the first signal strength threshold, it means that the antenna is not blocked and can be used as the target antenna.
  • one or more antennas in the cellular antenna set may be selected as target antennas simultaneously according to one or more factors among factors such as isolation between antennas, shielding status, and whether they are in an off status. For example, among the unblocked cellular antennas, the antenna with the largest isolation from the first antenna is selected as the target antenna. For another example, select the antenna diversity that is turned off among the antennas that are not blocked as the target antenna. In another embodiment, factors such as isolation, whether it is closed, or whether it is blocked are weighted and given a comprehensive score, and the antenna with the highest score is selected as the target antenna, or the antenna with the score that meets the requirements is selected as the target antenna. The manner of considering the above factors is not limited here.
  • the antenna switching step S1052 is not performed, but S101 and S102 are continued.
  • the electronic device determines that the RSRP of the antenna is smaller than the first preset RSRP threshold, it indicates that the antenna is blocked and does not perform antenna switching.
  • the electronic device is in a weak cellular coverage area, the RSRP of the electronic device as a whole receiving cellular signals is less than the second preset RSRP threshold, or the electronic device judges that the RSRP of any antenna in the cellular antenna set is weak, and the RSRP of any antenna in the cellular antenna set is weak. Antenna switching is performed, but S101 and S102 are continued.
  • the electronic device determines the target antenna by looking up a table according to the target antenna determination strategy.
  • the strategy for determining the target antenna can be to determine the target antenna according to the isolation degree, to determine the target antenna according to the state of the hand, and so on. For example, if the strategy for determining the isolation degree is implemented, look up the table to find an antenna that meets the isolation degree requirement as the target antenna. If it is detected that the mobile phone is held horizontally, the corresponding target antenna in the horizontally held state is found by looking up the table. If it is detected that the mobile phone is held vertically, look up the table to find the corresponding target antenna in the vertically held state.
  • the antenna with the largest distance from any shared antenna may be selected as the target antenna.
  • the method for determining the target antenna may also be: determining the target antenna in the cellular antenna set according to the transmission power of the current WIFI signal and/or the transmission power of the Bluetooth signal. Since the working frequency bands of WIFI and Bluetooth overlap, interference is likely to occur when the two are concurrent. For example, when the mobile phone is far away from the router, the WIFI transmit power is higher; or when the Bluetooth peripheral is far away from the mobile phone, the Bluetooth transmit power is also relatively high. After Bluetooth or WIFI is switched to the target antenna, if the isolation between the antennas is limited, and the antenna time division multiplexing is canceled, the simultaneous transmission of Bluetooth signals and WIFI signals is likely to cause greater interference.
  • the requirement for the isolation between the switched antennas is relatively high, and an antenna with a relatively high isolation can be selected as the target antenna.
  • the transmit power of the Bluetooth signal is greater than the preset Bluetooth transmit power threshold or the WIFI transmit power is greater than the preset WIFI transmit power threshold, determine the antenna with the greatest isolation from any antenna in the shared antenna as the target in the cellular antenna set antenna.
  • the preset Bluetooth transmission power threshold and the preset WIFI transmission power threshold may be the same or different.
  • Ant1 may be used as the target antenna. Ant1 is far away from Ant4 and Ant5, and the isolation is better.
  • the transmission power of WIFI or Bluetooth is small, and the WIFI signal or Bluetooth signal is relatively small in interference, and the antenna with relatively small isolation can be selected as the target antenna.
  • the electronic device may also divide multiple transmission power intervals, and adopt different target antenna selection strategies accordingly. That is, it can be set that the selectable target antenna range is different when the WIFI or Bluetooth transmission power is in a different value range, and the isolation between the selected target antenna range and the shared antenna can be related to the WIFI or Bluetooth transmission power.
  • antenna switching may not be performed, and the Bluetooth signal and the WIFI signal continue to time-division multiplex the original antenna.
  • the transmission power of the WIFI signal belongs to the second transmission power value range
  • the transmission power of the WIFI signal belongs to the third transmission power value range, except The antenna with the highest isolation can be selected, and other antennas in the cellular antenna set can also be selected as the final target antenna. For example, when the antenna with the highest isolation is blocked or the business is busy, other antennas with lower isolation can be selected.
  • the candidate target antennas can be Ant1 and Ant2, and if Ant1 is blocked, then Ant2 can be selected as the target antenna.
  • the candidate target antenna can be further added, taking the mobile phone 401 in Fig. 4 (a) as an example, the candidate target antenna can be Ant1, Ant2 and Ant3, if Ant3 is off, and Ant3 can be selected as the target antenna.
  • the transmit power value in the first transmit power value range is greater than the transmit power value in the second transmit power value range
  • the transmit power value in the second transmit power value range is greater than the transmit power value in the third transmit power value range
  • the second The transmission power values in the three transmission power value ranges are greater than the transmission power values in the fourth transmission power value range.
  • different transmission power value intervals may also correspond to other target antenna selection methods, and the transmission power interval may also have other division methods, as long as the interference is within an acceptable range.
  • one or more antennas in the cellular antenna set can be selected as target antennas according to one or more factors among the factors such as isolation between antennas, occlusion status, and whether they are in a closed state. The procedure for target antennas is as described previously.
  • WIFI is a dual-frequency working mechanism, that is, WIFI and Bluetooth share the antenna of the 2.4GHz to 2.48GHz frequency band, and there is an antenna of the WIFI 5G frequency band at the same time
  • WIFI and Bluetooth shared antenna it can be used
  • the WIFI signal is transmitted on the 5G antenna alone, and the Bluetooth signal exclusively occupies the 2.4GHz frequency band antenna.
  • S1052 may be executed after S1051 is executed.
  • S1051 may not be executed, and S1052 may be directly executed, that is, after the electronic device judges that the Bluetooth service and the WIFI service conflict, the WIFI signal or the Bluetooth signal is directly switched to the preset target antenna, and the preset target antenna It is one of the following antennas: the antenna with the largest isolation from any one of the shared antennas in the cellular antenna set, the antenna with the largest distance, the antenna whose isolation meets the requirements, and the antenna that is diagonally distributed to any one of the shared antennas .
  • Fig. 11 is a schematic diagram of WIFI, Bluetooth and cellular switching antennas through switch arrays.
  • the WIFI module, the Bluetooth module, and the cellular module are connected to available antennas (six in the figure) through the RF switch array (Switch Matrix), and the path switching is performed through the RF switch array.
  • Figure 12(a), Figure 12(b) and Figure 12(c) show changes in antenna distribution before and after switching.
  • the WIFI signal and the Bluetooth signal share an antenna Ant5, and the cellular signal occupies Ant1 to Ant4.
  • One antenna Ant4 is set aside for the Bluetooth service, the WIFI service exclusively occupies the antenna Ant4, and the working mode of the cellular antenna is reduced from 4 ⁇ 4 MIMO to 3 ⁇ 3 MIMO.
  • the target switching antennas are Ant3 and Ant4, that is, the two Bluetooth Signals are both switched to cellular antennas Ant3 and Ant4.
  • both Bluetooth and WIFI support the working mode of 2 ⁇ 2 MIMO, while the working mode of the cellular antenna is reduced from 4 ⁇ 4 MIMO to 2 ⁇ 2 MIMO.
  • Bluetooth and WIFI share two antennas, both of which support the 2 ⁇ 2 MIMO specification.
  • the electronic device takes out a cellular antenna for Bluetooth.
  • the working mode of the cellular antenna is reduced from 4 ⁇ 4 MIMO to 3 ⁇ 3 MIMO, and the working mode of the Bluetooth antenna is reduced from 2 ⁇ 2 MIMO to 1 ⁇ 1 MIMO.
  • the delay of the WIFI service is the first delay, and the rate of the WIFI service is the first rate; after the execution of S1052, the delay of the WIFI service is the second delay, and the rate of the WIFI service is the first rate.
  • the rate is the second rate.
  • the first delay is greater than the second delay, and the first rate is less than the second rate.
  • Fig. 13 shows a schematic diagram of performing the above steps S101-S105 in the internal components of the electronic equipment.
  • S101-104 and S1051 can be executed in the application processor (Application processor, AP for short) of the electronic device.
  • the antenna switching action of S1052 is executed in the interaction of the AP, the cellular control circuit, the Bluetooth WIFI control circuit, and the switch array.
  • the cellular control circuit can be a modem or a radio frequency integrated circuit (RFIC), and can also include a cellular front-end module.
  • the bluetooth WIFI control circuit includes a bluetooth control circuit and a WIFI control circuit, which are used to generate bluetooth signals and WIFI signals respectively.
  • the cellular control circuit, the bluetooth control circuit and the WIFI control circuit may belong to one chip, or may belong to different chips.
  • the switch array can be all the switches involved in this solution, and its position in the circuit is not limited.
  • S101-104 and S1051 execute the antenna switching action of S1052.
  • S1052 can take the following process as an example:
  • S1. AP instructs the cellular control circuit to stop transmitting cellular signals on the target antenna.
  • the cellular control circuit instructs the switch array to connect the path from the target antenna to the Bluetooth WIFI control circuit.
  • the Bluetooth WIFI control circuit instructs the switch array to conduct the path of the target signal to the target antenna.
  • the target signal can be a Bluetooth signal or a WIFI signal.
  • the switch array changes the conduction direction, and the Bluetooth signal generated by the Bluetooth WIFI control circuit is connected to the target antenna. It can be understood that, in S2 and S4, the switch array can also be controlled by the AP.
  • the path switching process between internal devices when the electronic device performs the antenna switching action of S1-S4 can be the embodiment of Fig. 14a and Fig. 14b, and the initial state of each internal device of the electronic device before antenna switching is shown in Fig. 14a.
  • the electronic device 200 includes a Bluetooth WIFI control circuit 1 , a cellular control circuit 2 , a front-end module 3 , a filter 4 , a switch 51 , a switch 52 , a switch 53 , an antenna 61 , an antenna 62 , and an antenna 63 .
  • the function of the switch 53 is equivalent to that of the switch 53 in FIG.
  • the switch 53 can be inside the front-end module 3 or outside the front-end module 3 .
  • Antenna 61 may be one or more cellular antennas not selected as the target antenna.
  • the cellular chip transmits cellular signals through antenna 61 and antenna 62, and the Bluetooth signal and WIFI signal pass through switch 53 to time-division multiplex antenna 63.
  • the antenna 62 is the target antenna determined in step 1051, and the switching target signal is a Bluetooth signal
  • steps S1-S4 in FIG. 13 can be performed.
  • the switch 51 connects the access to the filter 4 and the Bluetooth WIFI chip 1 , and disconnects the access to the cellular control circuit 2 .
  • S4 the switch 52 turns on the path to the antenna 62 and turns off the path to the antenna 63 .
  • Switch 53 stops time division multiplexing switching.
  • the state inside the electronic device switches from FIG. 14(a) to FIG. 14(b).
  • the switch 52 may be switched first, and then the switch 51 may be switched, or the switches 51 and 52 may be controlled simultaneously.
  • the Bluetooth signal output by the Bluetooth WIFI chip is switched from the antenna 63 to the cellular antenna 62 for transmission.
  • the cellular antenna can continue to use the target antenna for transmission, that is, if the Bluetooth signal is switched to the cellular antenna, the Bluetooth signal and the cellular signal are time-division multiplexed on the target antenna; or if the When the WIFI signal is switched to the cellular antenna, the WIFI signal and the cellular signal are time-division multiplexed to the target antenna. Understandably, the antenna 62 may be time-division multiplexed through the switch 51 .
  • the transmission power of the WIFI signal on Ant5 can be reduced after switching. It can be understood that, when interference is allowed, the transmission power of the WIFI signal that is not switched may also remain unchanged.
  • the allocation of cellular antennas for the SIM card may be readjusted. For specific strategies, refer to Table 1. If the electronic device chooses to perform the optional S1051 instead of presetting the target antenna in advance, the above-mentioned adjustment can also be performed on the cellular antenna allocation of the SIM card before performing S1052 and after S1051.
  • the electronic device is a single SIM card device.
  • the SIM card communicates in the main antenna, diversity antenna, MIMO antenna 1 and MIMO antenna 2.
  • the main antenna, diversity antenna, MIMO antenna 1 and MIMO antenna 2 may correspond to Ant1, Ant2, Ant3 and Ant6 on the mobile phone 401 in FIG. 4(a).
  • an antenna system of an electronic device may include a main radio frequency module and a diversity radio frequency module.
  • the antenna is the main set antenna; when a certain antenna is connected to the diversity radio frequency module through the double pole double throw switch, the antenna is a diversity antenna.
  • Adjusting the diversity antenna to the main antenna may include connecting the main radio frequency module to the original diversity antenna through the double pole double throw switch, thereby adjusting the diversity antenna to the main antenna.
  • the Bluetooth signal or the WIFI signal may occupy the diversity antenna.
  • the SIM card continues to use the main antenna, MIMO antenna 1, and MIMO antenna 2.
  • the electronic device When the electronic device is a dual SIM card device, as shown in Table 2, in the initial state (that is, state 1), the primary SIM card occupies the main set antenna and the first MIMO antenna, and the secondary SIM card occupies the diversity antenna and the second MIMO antenna. antenna. Before S105 and after determining that the WIFI service and the Bluetooth service conflict, the allocation of cellular antennas for the SIM card can be readjusted. For specific strategies, refer to Table 1. If the electronic device chooses to perform the optional step S1051 instead of presetting the target antenna in advance, the cellular antenna allocation of the SIM card can also be adjusted before performing S1052 and after S1051.
  • the antenna occupancy configuration of the primary and secondary cards needs to be readjusted. For example, if the main antenna of the main card is occupied, there may be only one MIMO antenna left for the main card, and the performance of the MIMO antenna is weaker than that of the main antenna and the diversity antenna, resulting in a decrease in the communication quality of the main card. Re-optimize the antenna resource configuration of the primary and secondary cards. For example, in state 2, when Bluetooth or WIFI occupies the main antenna, the electronic device adjusts the signal of the cellular main card to occupy the diversity antenna and MIMO antenna 2, and the signal of the secondary card occupies MIMO antenna 1.
  • the main cellular card can also be switched to diversity antenna and MIMO antenna 1, and the secondary card can be switched to MIMO antenna 2.
  • the electronic device may adjust the diversity antenna to the main card's main antenna accordingly.
  • Bluetooth or WIFI occupies the main set antenna and the diversity set antenna.
  • the electronic device adjusts the cellular main card to occupy MIMO antenna 1, and the secondary card to occupy MIMO antenna 2.
  • state 4 the cellular service actively falls back to the single-antenna state.
  • the main card and the secondary card occupy the main antenna and the diversity antenna respectively.
  • MIMO antenna 1 and MIMO antenna 2 are idle and can be allocated to Bluetooth or WIFI services to improve Bluetooth and WIFI communication experience.
  • state 5 the time-division multiplexing of cellular and Bluetooth, or cellular and WIFI services is performed to maximize the utilization of system resources.
  • main card and Bluetooth TDM main set and MIMO antenna 1 secondary card and WIFI TDM diversity and MIMO antenna 2.
  • the antenna switching strategy needs to be rolled back.
  • the flow of the antenna switching back method is shown in Figure 15(a):
  • S1301 and S1302 count the service indicators of WIFI channel and Bluetooth channel in real time, including data throughput, channel occupancy rate, service delay and quality of experience (QoE) and other indicators.
  • QoE quality of experience
  • S1303 Determine whether the conflict between the WIFI service and the Bluetooth service is resolved.
  • the judging method is similar to that of S103 and will not be repeated here.
  • S1305 If the statistical result of the service index of the cellular service is greater than the fourth statistical result threshold, determine that there is a high-priority service in the cellular service, such as a data service or a call service.
  • a high-priority service in the cellular service such as a data service or a call service.
  • One possible scenario is that when the quality of the WIFI channel is poor, the simultaneous transmission mode of cellular and WIFI can be turned on. At this time, the cellular channel is busy. Another possible scenario is that the cellular burst calls or dials.
  • S1306 Determine whether the signal strength of at least one of the antenna transmitting the cellular signal and the target antenna is less than the first signal strength threshold; for example, when a certain antenna is blocked or the user enters an area with poor cellular coverage, the signal strength of a certain antenna may be lower than the first signal strength threshold. The first signal strength threshold, and thus the communication quality is poor. Time division multiplexing can be canceled if the target antenna is blocked. If the remaining cellular antennas are blocked, the cell needs more antennas to transmit data, and time division multiplexing can also be canceled.
  • Ending the switching state of the cellular antenna is to return to the antenna occupation state of the Bluetooth signal, the WIFI signal and the cellular signal before S108 is executed. Stop transmitting Bluetooth signals or WIFI signals on the target antenna, and reuse them for transmitting cellular signals, and Bluetooth signals and WIFI signals re-occupy the shared antenna.
  • S1301' detects whether the business scene changes in real time.
  • the foreground application recognizes user operations such as exiting the game application and ending the video call, and sends a notification of the end of the scene to the application processor.
  • the application processor continues to execute step S1303 to determine that the conflict between the WIFI and Bluetooth services is resolved.
  • the chip system includes at least one processor 1601 and at least one interface circuit 1602 .
  • the processor 1601 and the interface circuit 1602 may be interconnected through wires.
  • the interface circuit 1602 may be used to receive signals from other devices, such as the memory of the central device.
  • the interface circuit 1602 may be used to send signals to other devices (such as the processor 1601).
  • the interface circuit 1602 can read instructions stored in the memory, and send the instructions to the processor 1601 .
  • the electronic device such as the electronic device 100 shown in FIG. 1
  • the chip system may also include other discrete devices, which is not specifically limited in this embodiment of the present application.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium includes computer instructions, and when the computer instructions are run on the above-mentioned electronic device (the electronic device 100 shown in FIG. 1 ), the electronic The device executes various functions or steps executed in the foregoing method embodiments.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be Incorporation or may be integrated into another device, or some features may be omitted, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: various media that can store program codes such as U disk, mobile hard disk, read only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk.

Abstract

本申请实施例提供了一种多媒体数据传输方法和设备。在高速业务场景下,电子设备判断蓝牙信号和WIFI信号存在冲突时,将蓝牙信号或WIFI信号切换到合适的蜂窝天线上,避免了蓝牙信号和WIFI信号时分复用一根天线带来的业务卡顿。

Description

一种天线配置方法和设备
相关申请的交叉引用
本申请要求在2022-01-28日提交中国专利局、申请号为202210107712.8、申请名称为“一种共享天线的方法和设备”的中国专利的优先权,以及在2022-06-22日提交中国专利局、申请号为202210714370.6、申请名称为“一种天线配置方法和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,尤其涉及一种天线配置方法和设备。
背景技术
智能手机通常使用WIFI网络执行业务传输,此时还可能连接蓝牙外设传输蓝牙数据,例如用户可能会通过蓝牙外设收听音频数据,或用蓝牙手柄操控游戏。在上述情形下,WIFI信号和蓝牙信号一直以来共用一根天线进行传输。但是随着手机上蓝牙外设(例如手表,耳机,游戏手柄,手写笔等)的多样化和使用频率的提高,蓝牙和WIFI共用天线的方案会存在资源抢占问题。尤其在一些WiFi和蓝牙高使用率的场景中,上述方案可能导致通信卡顿、延迟和速率变差等现象,越来越难满足用户需求。
发明内容
本申请提供一种天线配置方法和设备,能够实现高速业务下的蓝牙信号和WIFI信号分别采用独立天线进行传输。
为达到上述目的,本申请采用如下技术方案:
第一方面,本申请提供一种通信方法,应用于电子设备,电子设备包括第一天线集合,第一天线集合包括至少一个天线,该第一天线集合的天线用于第一信号和第二信号通信;第一信号为WIFI信号,第二信号为蓝牙信号,或第一信号为蓝牙信号,第二信号为WIFI信号;述电子设备还包括第二天线集合,所述第二天线集合包括多个天线;该第二天线集合中的天线用于传输蜂窝信号;当满足第一预设条件时,第一信号使用第二天线集合中的至少一个天线进行传输,同时第二信号独立使用所述第一天线集合中的天线进行传输;第二天线集合中的至少一个天线包括第一天线,第一天线为下述天线之一:第二天线集合中与所述第一天线集合的任一个天线的隔离度最大的天线;第二天线集合中与所述第一天线集合的任一个天线的距离最大的一个天线;第二天线集合中与第一天线集合的任一个天线呈对角线布置的天线;满足第一预设条件之前所述第二天线集合中关闭的天线;第二天线集合中除去被遮挡的天线之外的天线。由此,通过隔离度、距离、对角线位置等条件对切换的目标天线进行限定,使蓝牙信号和WIFI信号采用独立天线传输时干扰尽可能达到最小;通过是否被遮挡对切换的目标天线进行限定,保证WIFI信号或蓝牙信号切换到蜂窝天线后的信号质量;通过是否关闭对目标天线进行限定,保证WIFI信号或蓝牙信号切换到蜂窝天线后,对蜂窝天线的传输 影响最小。
在一种可能的实现方式中,第一天线集合和第二天线集合的任一天线的工作频段为2.3GHz至2.7GHz。由于天线可调频率有限,由此保证切换的目标蜂窝天线的频率可以调谐到蓝牙信号或WIFI信号的频率。
在一种可能的实现方式中,第二天线集合中的至少一个天线与第一天线集合的任一天线的隔离度大于预设隔离度阈值。由此,当多个天线的隔离度均满足要求时,可以选择隔离度满足要求的多个天线,不用局限于选择隔离度最大的天线,增加了选择目标天线的灵活性。
在一种可能的实现方式中,第一预设条件包括WIFI业务和蓝牙业务冲突。
在一种可能的实现方式中,第一信号和所述第二信号所属的WIFI业务和蓝牙业务冲突包括第一信号和所述第二信号所属的WIFI业务和蓝牙业务同时存在。由此,当判断WIFI业务和蓝牙业务可能在时域上互相抢占时,及时将蜂窝天线给WIFI业务或蓝牙业务使用。
在一种可能的实现方式中,第一信号和所述第二信号所属WIFI业务和蓝牙业务冲突包括:WIFI业务对应的WIFI信道的信道状态和蓝牙业务对应的蓝牙信道的信道状态至少一个处于为繁忙。由此,当判断WIFI业务和蓝牙业务采用时分复用天线方案不能满足业务要求时,及时将蓝牙业务或WIFI业务切换到蜂窝天线。
在一种可能的实现方式中,根据所述WIFI信道和所述蓝牙信道的业务指标统计结果判断WIFI信道和蓝牙信道的信道状态;业务指标统计结果是根据业务吞吐量,信道占用率或业务时延的一种或多种确定的。
在一种可能的实现方式中,第一信号和所述第二信号所属WIFI业务和蓝牙业务冲突包括:电子设备当前运行的前台应用程序属于特定应用程序,或所述电子设备当前运行的进程为特定应用程序内的特定进程,或所述电子设备正在执行的业务属于特定业务类型,且电子设备与其它蓝牙设备之间存在通信连接。由此,电子设备识别用户开启了高速业务的应用或进程后,及时将蓝牙业务或WIFI业务切换到蜂窝天线。
在一种可能的实现方式中,第一预设条件还包括所述蜂窝信号所属的蜂窝业务的信道状态处于非繁忙状态。由此,可以保证天线切换不影响蜂窝业务传输质量。
在一种可能的实现方式中,第一预设条件还包括第一信号的发射功率小于预设第一发射功率阈值和/或第二信号的发射功率小于预设第二发射功率阈值。由此,避免WIFI或蓝牙信号当前发射功率过大导致切换后干扰过大。
在一种可能的实现方式中,第一天线为第二天线集合中与第一天线集合的任一个天线的隔离度或距离最大的天线时,第一预设条件还包括第一天线的参考信号接收功率RSRP大于预设RSRP阈值。当电子设备处于蜂窝弱覆盖区域或切换的目标天线被遮挡时,为了尽可能保证蜂窝信号、蓝牙信号或WIFI信号的传输质量,可以不将蜂窝天线给蓝牙或WIFI使用。
在一种可能的实现方式中,电子设备内置一个用户识别卡,第二天线集合包括主集天线、分集天线、第一MIMO天线和第二MIMO天线,主集天线、分集天线、第一MIMO天线和第二MIMO天线用于用户识别卡收发蜂窝信号;第一天线为所述主集天线时,分集天线、第一MIMO天线和第二MIMO天线用于收发所述用户识别卡的蜂窝信号;或者第一天线为所述分集天线时,主集天线、第一MIMO天线和第二MIMO天线收发蜂窝信号用于收发用户识别卡的蜂窝信号。由上所述,当蜂窝天线被蓝牙信号或WIFI信号占用时,用户识别卡占用的天线需要相应调整。
在一种可能的实现方式中,第一天线为主集天线时,将分集天线调整为用户识别卡的主 集天线。由此,当主集天线被WIFI信号或蓝牙信号占用时,通过将分集天线调整为主集天线,减少了对SIM卡通信质量的影响。
在一种可能的实现方式中,电子设备具有多个卡槽,用于放置多个用户识别卡,多个用户识别卡包括主用户识别卡和副用户识别卡,第二天线集合中的第一部分天线用于收发主用户识别卡的蜂窝信号,第二天线集合中的第二部分天线用于收发副用户识别卡的蜂窝信号,第一天线属于第一部分天线或第二部分天线;为主用户识别卡和副用户识别卡分配第二天线集合中除第一天线以外的天线。
在一种可能的实现方式中,为主用户识别卡和副用户识别卡分配第二天线集合中除第一天线以外的天线包括为主用户识别卡分配第三部分天线,为副用户识别卡分配第四部分天线;第三部分天线与第一部分天线不同;且第四部分天线和第二部分天线不同。由此,当某个蜂窝天线被蓝牙或WIFI占用时,为了保证主用户识别卡的通信质量,双SIM卡重新分配剩余天线。
在一种可能的实现方式中,当满足第二预设条件时,在第一天线上停止传输第一信号,且第一天线集合的天线恢复用于第一信号和第二信号通信。
在一种可能的实现方式中,第二预设条件包括如下条件中的一个或多个:WIFI业务和所述蓝牙业务的冲突解除;蜂窝业务为高优先级业务;第二天线集合的至少一个天线的信号强度小于第一信号强度阈值。由此,当达到预设条件时,可以及时切换回初始天线传输状态并恢复蜂窝天线配置。
第二方面,本申请提供一种通信方法,应用于电子设备,电子设备包括第一天线集合,第一天线集合包括至少一个天线,第一天线集合的天线用于第一信号和第二信号通信;第一信号为WIFI信号,第二信号为蓝牙信号,或第一信号为蓝牙信号,第二信号为WIFI信号;电子设备还包括第二天线集合,所述第二天线集合包括多个天线;第二天线集合中的天线用于传输蜂窝信号;当满足第一预设条件且满足第二预设条件时,第一信号使用第一天线进行传输,同时所述第二信号独立使用所述第一天线集合中的天线进行传输;其中,第一天线为第二天线集合中与第一天线集合的任一个天线的隔离度最大或距离最大的天线;当不满足第一预设条件或不满足第二预设条件时,维持第一天线集合的天线用于第一信号和第二信号通信;第二预设条件为第一天线未被遮挡或电子设备接收蜂窝信号的参考信号接收功率RSRP大于预设RSRP阈值。由此,保证电子设备处于弱覆盖区域时蜂窝信号的通信质量,以及避免将蓝牙信号或WIFI信号切换到被遮挡的天线。
在一种可能的实现方式中,第一预设条件包括所述第一信号和所述第二信号所属的WIFI业务和蓝牙业务冲突。
第三方面,本申请提供一种电子设备,该电子设备包括:多个天线、存储器和一个或多个处理器;所述存储器与所述处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述计算机指令被所述一个或多个处理器执行时,使得所述电子设备执行第一方面或第二方面及其任一项的方法。
第四方面,本申请提供一种计算机可读存储介质,该计算机可读介质包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行第一方面或第二方面及其任一项的方法。
第五方面,本申请提供一种电子设备,该电子设备包括第一短距通信模块和第二短距通信模块、蜂窝通信模块、切换控制模块、第一天线集合和第二天线集合;第一短距通信模块 用于产生第一信号,第二短距通信模块用于产生第二信号;第一短距通信模块是WIFI通信模块,第二短距通信模块是蓝牙通信模块,或第一短距通信模块是蓝牙通信模块,第二短距通信模块是WIFI通信模块;所述蜂窝通信模块产生蜂窝信号;第一天线集合包括至少一个天线,第一天线集合的天线用于第一信号和第二信号通信;电子设备还包括第二天线集合,第二天线集合包括多个天线;第二天线集合中的天线用于传输蜂窝信号;当满足第一预设条件时,切换控制模块控制第一信号使用第二天线集合中的至少一个天线进行传输,同时切换控制模块控制第二信号独立使用所述第一天线集合中的天线进行传输;第二天线集合中的至少一个天线包括第一天线,第一天线为天线之一:第二天线集合中与所述第一天线集合的任一个天线的隔离度最大的天线;第二天线集合中与第一天线集合的任一个天线的距离最大的一个天线;第二天线集合中与第一天线集合的任一个天线呈对角线布置的天线;满足第一预设条件之前第二天线集合中关闭的天线;第二天线集合中除去被遮挡的天线之外的天线。
在一种可能的实现方式中,第一天线集合和第二天线集合的任一天线的工作频段为2.3GHz至2.7GHz。
在一种可能的实现方式中,第二天线集合中的至少一个天线与第一天线集合的任一天线的隔离度大于预设隔离度阈值。
在一种可能的实现方式中,第一预设条件包括所述第一信号和所述第二信号所属的WIFI业务和蓝牙业务冲突。
在一种可能的实现方式中,第一信号和第二信号所属的WIFI业务和蓝牙业务冲突包括第一信号和所述第二信号所属的WIFI业务和蓝牙业务同时存在。
在一种可能的实现方式中,所述第一信号和所述第二信号所属WIFI业务和蓝牙业务冲突包括:所述WIFI业务对应的WIFI信道的信道状态和所述蓝牙业务对应的蓝牙信道的信道状态至少一个处于为繁忙。
在一种可能的实现方式中,切换控制模块根据所述WIFI信道和所述蓝牙信道的业务指标统计结果判断所述WIFI信道和所述蓝牙信道的信道状态;业务指标统计结果是根据业务吞吐量,信道占用率或业务时延的一种或多种确定的。
在一种可能的实现方式中,第一信号和第二信号所属WIFI业务和蓝牙业务冲突包括:所述电子设备当前运行的前台应用程序属于特定应用程序,或所述电子设备当前运行的进程为特定应用程序内的特定进程,或所述电子设备正在执行的业务属于特定业务类型,且电子设备与其它蓝牙设备之间存在通信连接。
在一种可能的实现方式中,第一预设条件还包括所述蜂窝信号所属的蜂窝业务的信道状态处于非繁忙状态。
在一种可能的实现方式中,第一预设条件还包括第一信号的发射功率小于预设第一发射功率阈值和/或第二信号的发射功率小于预设第二发射功率阈值。
在一种可能的实现方式中,第一天线为所述第二天线集合中与第一天线集合的任一个天线的隔离度或距离最大的天线时,第一预设条件还包括第二天线集合中与所述第一天线集合的任一个天线的隔离度或距离最大的天线的参考信号接收功率RSRP大于预设RSRP阈值。
在一种可能的实现方式中,电子设备内置一个用户识别卡,第二天线集合包括主集天线、分集天线、第一MIMO天线和第二MIMO天线,主集天线、分集天线、第一MIMO天线和第二MIMO天线用于用户识别卡收发蜂窝信号;第一天线为主集天线时,分集天线、第一MIMO天线和第二MIMO天线用于收发所述用户识别卡的蜂窝信号;所述第一天线为所述分 集天线时,主集天线、第一MIMO天线和第二MIMO天线收发蜂窝信号用于收发用户识别卡的蜂窝信号。
在一种可能的实现方式中,第一天线为所述主集天线时,切换控制模块将分集天线调整为用户识别卡的主集天线。
在一种可能的实现方式中,电子设备具有多个卡槽,用于放置多个用户识别卡,多个用户识别卡包括主用户识别卡和副用户识别卡,第二天线集合中的第一部分天线用于收发主用户识别卡的蜂窝信号,第二天线集合中的第二部分天线用于收发副用户识别卡的蜂窝信号,第一天线属于第一部分天线或第二部分天线;切换控制模块为主用户识别卡和副用户识别卡分配第二天线集合中除第一天线以外的天线。
在一种可能的实现方式中,切换控制模块为主用户识别卡和副用户识别卡分配第二天线集合中除第一天线以外的天线包括切换控制模块为主用户识别卡分配第三部分天线,为副用户识别卡分配第四部分天线;第三部分天线与第一部分天线不同;且第四部分天线和第二部分天线不同。
在一种可能的实现方式中,当满足第二预设条件时,切换控制模块控制第一信号停止在第一天线上传输,且切换控制模块控制第一天线集合的天线恢复用于第一信号和第二信号通信。
在一种可能的实现方式中,第二预设条件包括如下条件中的一个或多个:WIFI业务和所述蓝牙业务的冲突解除;蜂窝业务为高优先级业务;第二天线集合的至少一个天线的信号强度小于第一信号强度阈值。
第六方面,本申请提供一种电子设备,该电子设备包括第一短距通信模块和第二短距通信模块、蜂窝通信模块、切换控制模块、第一天线集合和第二天线集合;第一短距通信模块产生第一信号,第二短距通信模块产生第二信号;第一短距通信模块是WIFI通信模块,第二短距通信模块是蓝牙通信模块,或第一短距通信模块是蓝牙通信模块,第二短距通信模块是WIFI通信模块;蜂窝通信模块产生蜂窝信号;所述第一天线集合包括至少一个天线,第一天线集合的天线用于所述第一信号和所述第二信号通信;电子设备还包括第二天线集合,第二天线集合包括多个天线;第二天线集合中的天线用于传输蜂窝信号;当满足第一预设条件且满足第二预设条件时,切换控制模块控制所述第一信号使用第一天线进行传输,同时切换控制模块控制所述第二信号独立使用第一天线集合中的天线进行传输;其中,第一天线为所述第二天线集合中与第一天线集合的任一个天线的隔离度最大或距离最大的天线;当不满足所述第一预设条件或不满足所述第二预设条件时,切换控制模块维持所述第一天线集合的天线用于第一信号和所述第二信号通信;第二预设条件为第一天线未被遮挡或电子设备接收蜂窝信号的参考信号接收功率RSRP大于预设RSRP阈值。
在一种可能的实现方式中,第一预设条件包括第一信号和第二信号所属的WIFI业务和蓝牙业务冲突。
附图说明
图1为本申请实施例提供的一种电子设备100的结构示意图;
图2为本申请实施例提供的一种电子设备100进行通信的实际场景的示意图;
图3(a)为本申请实施例提供的连接蓝牙时一种电子设备游戏界面的示意图;
图3(b)为本申请实施例提供的关闭蓝牙时一种电子设备游戏界面的示意图;
图4(a)-图4(c)为本申请实施例提供的电子设备天线分布的示意图;
图5为本申请实施例提供的一种分时复用天线时电子设备内部模块连接状态示意图;
图6为本申请实施例提供的一种WIFI信号和蓝牙信号时分复用一根天线时的时序图;
图7为本申请实施例提供的电子设备触发并执行天线切换的流程图;
图8为本申请实施例提供的电子设备触发并执行天线切换的另一流程图;
图9为本申请实施例提供的执行天线切换策略的具体步骤流程图;
图10(a)为本申请实施例提供的手机传感器布置示意图;
图10(b)为本申请实施例提供的手机横握示意图;
图10(c)为本申请实施例提供的手机竖握示意图;
图11为本申请实施例提供的电子设备内部模块连接示意图;
图12(a)-图12(c)为本申请实施例提供的电子设备执行天线切换前后天线分配情况示意图;
图13为本申请实施例提供的内部模块交互流程图;
图14(a)-图14(b)为本申请实施例提供的切换前后内部器件状态示意图;
图15(a)-图15(b)为本申请实施例提供的退出天线切换状态流程图;
图16为本申请实施例提供的一种芯片系统的结构组成示意图。
具体实施方式
为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分,并不对其先后顺序进行限定。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。
此外,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a、b和c中的至少一项(个),可以表示:a,或b,或c,或a和b,或a和c,或b和c,或a、b和c,其中a,b,c可以是单个,也可以是多个。
为了使本申请的目的、技术方案更加清楚直观,下面将结合附图及实施例,对本申请实施例提供的方法和终端设备进行详细说明。应理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
需要说明的是,本申请中,“示例性地”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性地”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性地”或者“例如”等词旨在以具体方式呈现相关概念。
下面将结合附图,对本申请中的技术方案进行描述。
图1示出了电子设备100的结构示意图。
电子设备100可以是手机、平板电脑、桌面型计算机、膝上型计算机、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR) 设备、虚拟现实(virtual reality,VR)设备、人工智能(artificial intelligence,AI)设备、可穿戴式设备、车载设备、智能家居设备和/或智慧城市设备,本申请实施例对该电子设备的具体类型不作特殊限制。
电子设备100可以包括处理器110,内部存储器121,天线1,天线2,移动通信模块150,无线通信模块160,传感器模块180,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括距离传感器180F,接近光传感器180G等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器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)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合充电器,闪光灯等。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过外围设备播放音乐的功能。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块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经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块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)。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件, 闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
电子设备100,可以是例如图2中的手机100,手机100通过WIFI网络连接路由器200,且同时手机100通过蓝牙连接方式连接到无线耳机300或游戏手柄400,图2的一个场景可以是用户正在通过WIFI网络打游戏,其手机连着蓝牙手柄。另一个场景可以是用户正在通过WIFI进行视频通话,带着蓝牙耳机。对于游戏场景或视频通话场景,音视频数据高速传输,蓝牙业务和WIFI业务对传输服务质量的要求均较高,尤其实时性的要求较高。现有技术中,手机的蓝牙信号和WIFI信号以时分复用的方式共用一根天线,导致同一时段手机WIFI业务和蓝牙业务不能同时工作,并且蓝牙业务优先级较高,随时可能打断WIFI业务。例如对于视频通话场景,手机正在通过WIFI收发音视频数据,而手机需要给蓝牙耳机传数据的时候会打断WIFI的音视频数据收发,用户会感到声音或画面卡顿。又例如,对于游戏场景,手柄的控制数据需要通过蓝牙传输到手机,游戏画面数据通过WIFI传输到手机,手机与路由器之间的WIFI传输和手柄与手机之间的蓝牙传输存在冲突,从用户的角度看,游戏画面存在卡顿。
图3(a)和图3(b)为游戏场景的一个实例,图3(a)是用户使蓝牙外设连接到手机,同时使用手机打游戏的界面。游戏界面的右上角显示游戏延时为92ms。而在图3(b)中,在用户关掉手机蓝牙服务后,界面上的游戏延时降低为11ms。可见,当前WIFI和蓝牙时分复用一根天线的工作机制,不利于二者均是高速业务的场景。
如图4(a)-4(c)所示,在本申请的一个实施例中,手机401、402和403都配置了6根2.3GHz至2.7GHz范围内的天线,可以理解的是,手机中2.3-2.7GHz的天线可以多于或少于6根,手机还存在未示出的其余频段的天线。在手机401中,无线保真(Wireless Fidelity, 简称为“WiFi”)模块使用天线Ant4和Ant5,支持2×2多输入多输出(Multiple Input Multiple Output,简称为“MIMO”)技术,蓝牙模块和WIFI模块共享天线Ant4。在手机402中,蓝牙模块和WIFI模块共享天线Ant6,蜂窝模块高频频段占用天线Ant1到Ant5。在手机403中,蓝牙和WIFI共享天线Ant4和天线5,均支持2×2MIMO技术,蜂窝模块高频频段占用天线Ant1-3和Ant6,支持4×4MIMO技术。其中MIMO技术主要通过多天线(例如,4天线)及多射频通道(例如,4接收通道)等硬件条件,搭配芯片基带算法以提升使用者的数据吞吐体验。
如图5所示,对于单个共享天线(例如图4(a)中的手机401的Ant4),蓝牙模块51和WIFI模块52通过一个开关53,时分复用该共享天线54。当开关53的通路导通到蓝牙模块51时,天线54收发蓝牙信号;当开关53的通路导通到WIFI模块52时,天线54收发WIFI信号。
蓝牙信号和WIFI信号的时分复用方案如图6所示,图6的复用方式使电子设备实现了在一根天线上收发蓝牙业务和WIFI业务。在图6中,蓝牙或WIFI在各自的工作时间段(Working Time)内进行数据传输,在空闲时间段(Idle Time)内则不进行数据传输。而蓝牙业务和WIFI业务在任意时间段只能有一种业务处于工作时间段,蓝牙和WIFI交替占用时域资源。
可见,现有的天线布局仍然无法满足用户对于无线性能的要求,因为WIFI信号和蓝牙信号时分复用一根天线,会存在天线资源的抢占问题。当手机运行游戏APP时,手机同时通过WIFI连接路由器,通过蓝牙连接游戏手柄,游戏APP对于信号传输的实时性要求高,因此WIFI和蓝牙分时复用一根天线,会导致信号的延迟,使得用户玩游戏时的体验不佳。如果在手机上增加一根用于传输蓝牙或WIFI的独立天线,不仅会增加成本,还可能影响ID外观和产品结构稳定性。此外,增加一根天线,导致七根同频天线在有限的手机空间中设置,对于天线之间的隔离度指标影响也很大,进而恶化手机整体无线性能。
由上可知,如果蓝牙和WIFI不进行分时复用,则蓝牙和WIFI占用的时域资源将大大增加,有利于解决高速业务场景的资源抢占问题。而现有手机中蜂窝模块占用的天线数量较多,因此本申请将蓝牙信号或WIFI信号切换到蜂窝模块占用的天线中的一个或多个天线进行传输,在不增加天线的基础上,同时收发蓝牙业务和WIFI业务。
图7示出了根据本申请实施例的配置天线的方法,具体包括:
S101.实时统计WIFI信道的业务指标;
业务指标可以是业务吞吐量,信道占用率和业务时延等指标,还可以是其它常用的表示信道繁忙程度的指标,可以统计一种或多种业务指标,这里不做限定。业务吞吐量为单位时间内通过信道的数据量;业务时延为从发送端开始发送数据至接收端完全接收这个数据的时间间隔;信道占用率为信道平均被占用的程度,例如如果信道占用率是10%,表示信道平均在10%的时间处于被占用的状态。
可以理解的是,实时统计WIFI信道的业务指标可以是每隔一个预设短周期T1进行统计。
S102.实时统计蓝牙信道的业务指标;
实时统计蓝牙信道的业务指标可以是每隔一个短周期T2进行统计。T1和T2可以相同,也可以不同。S101和S102可以同时执行,也可以先后执行。
S103.判断WIFI业务和蓝牙业务是否冲突;
业务指标统计结果可以表示一段时间内的信道业务繁忙程度。作为一个实施例,将任意一个业务指标在一段时间内的均值作为其业务指标统计结果。例如,对于WIFI业务来说, 可以将一段时间内的业务吞吐量均值作为WIFI信道的业务指标统计结果。作为一个实施例,可以将每一种业务指标设置相应的权重,并将多个业务指标在一定时间内的均值加权求和得出一个业务指标统计结果。作为另一个实施例,可以将一段时间统计到的任意一个业务指标作为业务指标统计结果。
可以通过上述方式获得WIFI信道和蓝牙信道的业务指标统计结果,分别根据WIFI信道和蓝牙信道的业务指标统计结果判断WIFI业务和蓝牙业务的信道状态;根据WIFI业务和蓝牙业务的信道状态判断WIFI业务和蓝牙业务是否冲突。
具体为,当WIFI信道的业务指标统计结果大于预设第一统计结果阈值时,电子设备确定WIFI业务的信道状态为繁忙状态,否则为空闲状态;当蓝牙信道的业务指标结果大于第二统计结果阈值时,确定蓝牙业务的信道状态为繁忙状态,否则为空闲态。第一统计结果阈值和第二统计结果阈值可以相同,也可以不同。
当WIFI业务和蓝牙业务的信道状态均为繁忙状态时,则确定WIFI业务和蓝牙业务冲突;也可以是,当WIFI业务和蓝牙业务的信道状态有一个为繁忙状态时,就确定WIFI业务和蓝牙业务冲突。
又例如,可以根据业务指标统计结果所在的阈值区间设置不同的档位,包括空闲,较空闲,较忙,繁忙等档位,将蓝牙业务和WIFI业务根据不同的档位进行组合判断,可以是:当蓝牙业务和WIFI业务有一个为繁忙时,判断两者冲突,或当蓝牙业务和WIFI业务的信道状态均为较忙时,判断两者冲突。可以理解的是,本领域技术人员还可以采用其它常用的档位设定方式和冲突判断方式,这里不做限定。
可以每隔一个预设的周期T3执行S103。T3可以与T1和T2相同,也可以不同。例如T3可以大于T1和T2,以便将一段时间的蓝牙和WIFI信道的业务指标进行统计,再进行冲突判断。
上述步骤还可以设定执行条件。例如,根据电子设备的屏幕状态确定是否执行S101-S103的冲突检测流程。可以是当手机处于亮屏状态时执行S101-S103的冲突检测流程。又例如在特定时间段执行上述冲突检测流程,可以根据用户习惯进行统计得出该特定时间段。例如统计发现10:00pm到11:00pm,用户通常在打游戏,则在该时间段开启业务冲突检测。又例如,排除用户的工作时间或睡眠时间开启冲突检测。又例如可以根据WIFI模块的工作频段以及蓝牙模块的工作状态决定是否开启业务冲突检测。WIFI模块可以使用2.4GHz或5GHz频段,当WIFI模块使用5GHz频段则与蓝牙模块的工作频段不冲突,当WIFI模块使用2.4GHz频段则与蓝牙模块的工作频段相似,可能发生业务冲突。因此,可以在WIFI模块使用2.4Ghz频段,且蓝牙模块工作时,执行冲突检测。
如果电子设备确定WIFI业务和蓝牙业务冲突,则执行S105,否则重新执行S101和S102。作为另一个实施例,电子设备确定蓝牙业务和蜂窝业务冲突持续时间达到冲突检测时间阈值,才执行S105。否则重新执行S101和S102。在执行S105之前,可选的,还可以选择性的执行S104。
S104.判断蜂窝业务是否处于繁忙状态;
实时统计蜂窝信道的业务指标,并获得蜂窝业务的业务指标统计结果。蜂窝信道的业务指标可以是数据吞吐量,信道占用率和业务时延等指标,还可以是其它常用的业务指标,可以统计一种或多种业务指标,这里不做限定。可以理解的是,实时统计蜂窝信道的业务指标可以是每隔一个预设短周期T4进行统计。T4和T1、T2、T3可以相同,也可以不同。蜂窝 业务的业务指标统计结果的获得过程和S103类似,此处不再赘述。
根据业务指标统计结果判断蜂窝业务的信道状态。当蜂窝业务指标结果大于预设第三统计结果阈值时,电子设备确定蜂窝业务的信道状态为繁忙状态,否则为空闲状态;
作为另一个实施例,可以根据电子设备正在执行的业务类型判断蜂窝业务是否繁忙,例如电子设备正在蜂窝网络中进行通话,则电子设备判断蜂窝业务的信道状态为繁忙。
如果蜂窝业务的信道状态是繁忙状态,继续执行S101和S102。否则执行S105。
作为另一个实施例,如果蜂窝业务信道的空闲状态持续预定的可占用时间阈值,则执行S105。
在图8中,作为S101-S103的替换,可以执行S101'。
S101’根据业务类型判断策略判断WIFI业务和蓝牙业务是否冲突。具体为,当确定电子设备在WIFI状态下正在执行的业务属于特定业务类型,且电子设备与其它蓝牙设备之间存在数据传输或电子设备与其它蓝牙设备之间存在通信连接时,电子设备确定WIFI业务和蓝牙业务冲突,并执行S105,可选的执行S104。例如可以将游戏、视频通话等高速率业务归为特定业务类型。蓝牙设备可以是蓝牙手柄、蓝牙耳机或蓝牙音箱等,非穷举。一个场景可以是,用户正在打游戏,电子设备检测到其正在执行的业务为游戏类业务,属于特定业务类型,且电子设备检测到其与蓝牙手柄存在连接,或检测到与蓝牙手柄存在数据交互,则电子设备确定WIFI业务和蓝牙业务存在冲突。又例如,电子设备确定当前正运行特定应用程序或特定应用程序内的特定进程,且电子设备判断其与其它蓝牙设备之间存在数据传输或其与其它蓝牙设备之间存在通信连接,则确定WIFI业务和蓝牙业务冲突。特定应用程序可以为运行高速业务的应用程序,例如,电子设备可以将用户安装的游戏应用程序、视频通话类应用程序定义为特定应用程序,又例如,电子设备将聊天应用程序中的视频通话进程定义为特定应用程序中的特定进程。
作为另一个实施例,当蓝牙业务和WIFI业务同时存在时,电子设备判断蓝牙业务和WIFI业务冲突。此实施例可以使蓝牙业务或WIFI业务尽可能使用不同天线进行传输。
S105.执行天线切换策略。
在图7和图8中,在执行S105时,具体执行如图9的流程:
S1051.在蜂窝天线中选取至少一个天线作为目标天线。
本申请的蜂窝天线特指在能够传输蜂窝信号的2.3GHz至2.7GHz频段中的天线,例如图4(a)中的天线Ant1到Ant4。另外,定义一个蜂窝天线集合,该蜂窝天线集合包括手机开机后的可用于传输2.3GHz至2.7GHz频段信号的所有的蜂窝天线。在蜂窝天线集合中确定一个或多个目标天线,目标天线用于在电子设备判决蓝牙业务和WIFI业务冲突后传输蓝牙信号或WIFI信号。
本申请的一个实施例中,上述确定目标天线的方法可以为:根据天线间的隔离度在蜂窝天线集合中确定目标天线。隔离度可以根据某一天线发射的信号功率与在另一天线接收的信号功率的比值确定,表明在某一天线的发射信号到另一天线的输出衰减程度该比值越大,说明隔离度越好。如果在蓝牙信号或WIFI信号切换到蜂窝天线后,二者的隔离度足够大,意味着蓝牙信号和WIFI信号在各占用一根天线时可以取消时分复用,且干扰程度仍然保持可接受范围。作为一个实施例,可以在蜂窝天线集合中选取与任一根共享天线的隔离度最大的一根天线作为目标切换天线,其中,共享天线为初始状态下WIFI模块和蓝牙模块共享的天线。作为另一个实施例,经测定,如果有N个天线均满足隔离度要求,即,N个天线满足到 共享天线中的任意一个天线的隔离度大于预设隔离度阈值,则电子设备也可以在蜂窝天线集合中选取N个天线作为目标天线,N大于1。例如,当N=2时,电子设备有2个蜂窝天线和共享天线的隔离度满足信号传输要求,使得蓝牙信号或WIFI信号在切换后与共享天线上的信号干扰在可接受范围,则这两个蜂窝天线均可以作为目标天线。
以图4(a)和图4(c)中的手机为例,对上述实施例进行说明。具体地,以切换蓝牙信号的天线为例。在图4(a)的手机301中,初始状态下蓝牙模块和WIFI模块时分复用Ant4,确定与Ant4隔离度最大的天线Ant1为目标天线,切换后在Ant1传输蓝牙信号,且WIFI信号继续在Ant4和Ant5进行传输。Ant1与Ant4的隔离度足够大,因此在切换后尽管Ant1和Ant4同时工作,干扰也在可接受范围。对于图4(c)中的手机403,蓝牙模块和WIFI模块时分复用两根天线Ant4和Ant5,可以确定目标天线数目等于共享天线的天线数目,蓝牙信号在切换后可以占用两根原先传输蜂窝信号的天线。由于Ant1和Ant2与Ant4或Ant5的隔离度均满足要求,因此将Ant1和Ant2作为目标天线。切换后WIFI信号在天线Ant4和Ant5上传输,蓝牙信号在Ant1和Ant2上传输。如果只有Ant1的隔离度满足要求,也可以仅将Ant1作为两路蓝牙信号切换的目标天线,两路蓝牙信号指Ant4和Ant5上的蓝牙信号,则切换后WIFI信号在天线Ant4和Ant5上传输,蓝牙信号在Ant1上传输。
仍然以图4(a)中的手机401为例,还可以以切换WIFI信号的天线代替切换蓝牙信号的天线。对于手机401,WIFI信号在初始状态下使用两路天线Ant4和Ant5传输,可以在蜂窝天线中确定隔离度满足要求的Ant1和Ant2作为目标天线,在切换后使用Ant1和Ant2传输WIFI信号。切换后Ant4和Ant5上不再传输WIFI信号,蓝牙信号继续在Ant4上传输。当然,也可以仅将隔离度最大的天线Ant1作为目标天线供WIFI使用,切换后Ant4和Ant5上的天线不再传输WIFI信号。在目标天线仅有一个时,还可以在WIFI或蓝牙的发射功率足够小时,在切换后将Ant4用于传输蓝牙信号,Ant5上的WIFI信号保持传输,Ant1也用于传输WIFI信号,则WIFI信号和蓝牙信号不需要时分复用一个天线。
作为一个实施例,确定目标天线的方法可以为:确定处于关闭状态的天线为目标天线。如果蜂窝业务较为空闲,未使用所有天线,则存在处于关闭状态的天线。例如,蜂窝天线可以包括主集天线和分集天线,当蜂窝业务不繁忙时,可能将分集天线关闭。电子设备判断如果分集天线处于关闭状态,则将分集天线作为目标天线。
作为一个实施例,上述确定目标天线的方法可以为:可以判断蜂窝天线集合中的每一个天线是否被遮挡,在未被遮挡的天线中选择一个或多个天线作为目标天线。为了满足SAR(Specific Absorption Rate,电磁波吸收比值)标准,电子设备可内置SAR传感器,例如在图10(a)中,手机1001中安装有传感器1和传感器2,传感器1和传感器2为SAR传感器。当人体靠近SAR传感器附近的天线时,会引起电容的改变,进而可以通过SAR传感器检测其附近的天线是否被遮挡。传感器1和传感器2还可以为接近光传感器,或电容传感器等。初始状态下,例如天线Ant1到Ant4为蜂窝天线,Ant5和Ant6为WIFI和蓝牙的共享天线。用户正在打游戏,双手横握手机,如图10(b),则传感器1和2检测出附近的天线Ant1和Ant3被用户的手遮挡,天线辐射性能降低。电子设备将蓝牙信号切换到Ant2,WIFI信号继续占用Ant4和Ant5。又例如,用户竖握手机,如图10(c),传感器2检测出Ant1被遮挡,Ant3离手最远,辐射性能几乎不受手的影响,相比其他天线无线性能更好,可以将Ant3作为目标天线。
作为一个实施例,可以根据蜂窝天线集合中的每一个天线的信号强度确定目标天线,可以确定蜂窝天线集合中每一个天线的信号强度,如果某一天线的信号强度满足第一信号强度 条件,例如大于第一信号强度阈值,则说明该天线未被遮挡,可以作为目标天线。
在一个实施例中,可以同时根据天线间隔离度、遮挡状态、是否处于关闭状态等因素中的一种或多种因素在蜂窝天线集合中选取一个或多个天线作为目标天线。例如,在未被遮挡的蜂窝天线中选择距离第一天线隔离度最大的天线作为目标天线。又例如,在未被遮挡的天线中选取关闭的天线分集作为目标天线。在另一个实施例中,将隔离度,是否关闭,是否被遮挡等因素进行加权并给出综合打分,选取得分最高的天线作为目标天线,或者选取得分满足要求的天线作为目标天线。考虑上述因素的方式在此处不做限定。
作为另一个实施例,当蜂窝天线集合中与共享天线中任意一个天线的隔离度最大或距离最大的天线被遮挡时,不执行天线切换步骤S1052,而是继续执行S101和S102。例如,电子设备判断该天线RSRP小于第一预设RSRP阈值,则说明其被遮挡,不执行天线切换。又例如,当电子设备处于蜂窝的弱覆盖区域时,此时电子设备整体接收蜂窝信号的RSRP小于第二预设RSRP阈值,或电子设备判断蜂窝天线集合中任意一个天线的RSRP较弱,也不执行天线切换,而是继续执行S101和S102。
作为一个实施例,电子设备根据目标天线确定策略查表确定目标天线。目标天线确定策略可以是根据隔离度确定目标天线、根据手握状态确定目标天线等。例如,如果执行隔离度确定策略,则查表找到符合隔离度要求的天线作为目标天线。如果检测出手机处于横握状态,则查表找到横握状态下对应的目标天线。如果检测出手机处于竖握状态,则查表找到竖握状态下对应的目标天线。
作为另一个实施例,可以选取与任一根共享天线距离最大的天线为目标天线。
作为一个实施例,确定目标天线的方法还可以为:根据当前WIFI信号的发射功率和/或蓝牙信号的发射功率在蜂窝天线集合中确定目标天线。由于WIFI和蓝牙的工作频段重叠,两者并发时,容易产生干扰。例如,当手机距离路由器较远时,WIFI发射功率较高;或者当蓝牙外设离手机比较远,蓝牙的发射功率也会比较高。蓝牙或WIFI切换到目标天线后,如果天线间隔离度有限,外加取消了天线时分复用,蓝牙信号和WIFI信号同时传输容易产生较大干扰。此时对切换后的天线间隔离度要求较高,可以选取隔离度较大的天线作为目标天线。具体为,当蓝牙信号的发射功率大于预设蓝牙发射功率阈值或WIFI的发射功率大于预设WIFI发射功率阈值,在蜂窝天线集合中确定与共享天线中的任一天线隔离度最大的天线为目标天线。预设蓝牙发射功率阈值和预设WIFI发射功率阈值可以相同,也可以不同。例如对于图4(a)中的手机401,可以将Ant1作为目标天线。Ant1距离Ant4,Ant5较远,隔离度较好。如果手机距离路由器较近,或手机距离蓝牙外设较近,WIFI或蓝牙的发射功率较小,此时WIFI信号或蓝牙信号相对干扰较小,可以选取隔离度相对较小的天线作为目标天线。作为另一个实施例,电子设备还可以划分多个发射功率区间,并相应的采用不同的目标天线选取策略。即,可以设置当WIFI或蓝牙发射功率在不同的数值区间内时确定可选取的目标天线范围有所不同,所选取的目标天线范围与共享天线的隔离度可以与WIFI或蓝牙的发射功率相关。
在本申请的一个实施例中,以判断WIFI发射功率为例,当WIFI信号的发射功率属于第一发射功率值范围时,可以不进行天线切换,蓝牙信号和WIFI信号继续时分复用原天线。当WIFI信号的发射功率属于第二发射功率值范围时,在蜂窝天线集合中选取距离第一天线隔离度最大的天线为目标天线,当WIFI信号的发射功率属于第三发射功率值范围时,除了可以选取隔离度最大的天线,还可以在蜂窝天线集合中选取其它天线作为最终选取的目标天线,例如,当隔离度最大的天线被遮挡或业务繁忙,可以选取隔离度稍差的其它天线。以图4(a)中的 手机401为例,候选目标天线可以为Ant1和Ant2,如果Ant1被遮挡,则可以选取Ant2作为目标天线。又例如,当WIFI信号的发射功率属于第四发射功率值范围时,可以进一步增加候选目标天线,以图4(a)中的手机401为例,候选目标天线可以为Ant1、Ant2和Ant3,如果Ant3处于关闭状态,可以选择Ant3作为目标天线。第一发射功率值范围中的发射功率值大于第二发射功率值范围中的发射功率值,第二发射功率值范围中的发射功率值大于第三发射功率值范围中的发射功率值,且第三发射功率值范围中的发射功率值大于第四发射功率值范围中的发射功率值。可以理解的是,不同的发射功率值区间还可以对应其它的目标天线选取方式,发射功率区间也还可以有其它划分方式,只要使干扰在可接收范围即可。当有多个候选目标天线时,可以同时根据天线间隔离度、遮挡状态、是否处于关闭状态等因素中的一种或多种因素在蜂窝天线集合中选取一个或多个天线作为目标天线,选取目标天线的过程如前所述。
以判断蓝牙的发射功率为例,根据蓝牙的发射功率选择目标天线时,过程与上述实施例类似,此处不再赘述。
作为另一个实施例,当WIFI是双频工作机制时,即WIFI和蓝牙共用2.4GHz到2.48GHz的频段的天线,同时存在WIFI 5G频段的天线,在WIFI和蓝牙共用天线存在冲突时,可以使WIFI信号独自在5G天线上传输,蓝牙信号独占2.4GHz的频段的天线。
S1052.执行天线切换动作,将蓝牙或WIFI信号切换到目标天线。
图9中,可以在执行S1051后接着执行S1052。作为另一个实施例,可以不执行S1051,直接执行S1052,即,电子设备在判断蓝牙业务和WIFI业务冲突后,将WIFI信号或蓝牙信号直接切换到预设的目标天线上,预设的目标天线为如下天线之一:蜂窝天线集合中与共享天线中任意一个天线隔离度最大的天线、距离最大的天线、隔离度满足要求的天线、与共享天线中的任意一个天线呈对角线分布的天线。
图11是WIFI、蓝牙和蜂窝通过开关阵列切换天线的示意图。在图11中,WIFI模块,蓝牙模块,蜂窝模块通过射频开关阵列(Switch Matrix)连接到可用的天线上(图示为六根),通过射频开关阵列执行通路切换。
图12(a)、图12(b)和图12(c)示出了切换前后的天线分布变化。如图12(a)所示,初始状态下,WIFI信号和蓝牙信号共享一根天线Ant5,蜂窝信号占用Ant1到Ant4,电子设备判断WIFI和蓝牙业务繁忙且蜂窝业务相对空闲时,从蜂窝天线中挪出一根天线Ant4给蓝牙业务,WIFI业务独占天线Ant4,蜂窝天线的工作模式由4×4MIMO降低到3×3MIMO。在如图12(b)的另一实施例中,当初始状态下蓝牙信号和WIFI信号在两根天线Ant5和Ant6上时分复用时,目标切换天线为Ant3和Ant4,也就是将两路蓝牙信号均切换到蜂窝天线Ant3和Ant4。切换后蓝牙和WIFI均支持2×2MIMO的工作模式,而蜂窝天线的工作模式从4×4MIMO降低到2×2MIMO。如图12(c)所示,蓝牙和WIFI共用两根天线,均支持2×2MIMO的规格。在WIFI和蓝牙共存冲突时,电子设备挪出一根蜂窝天线给蓝牙。蜂窝天线的工作模式从4×4MIMO降低到3×3MIMO,蓝牙天线的工作模式从2×2MIMO降低到1×1MIMO。
作为一个实施例,在执行S1052之前,WIFI业务的时延为第一时延,WIFI业务的速率为第一速率,所述执行S1052之后,WIFI业务的时延为第二时延,WIFI业务的速率为第二速率。第一时延大于第二时延,第一速率小于第二速率。
图13示出了在电子设备内部器件中执行上述步骤S101-S105的原理图。S101-104以及S1051可以在电子设备的应用处理器(Application processor,简称AP)中执行.S1052的执行天线切换动作在AP、蜂窝控制电路、蓝牙WIFI控制电路、开关阵列的交互中执行。蜂窝控制电路 可以是调制解调器或射频集成电路RFIC,也可以包括蜂窝前端模组。蓝牙WIFI控制电路包括蓝牙控制电路和WIFI控制电路,分别用于产生蓝牙信号和WIFI信号。蜂窝控制电路、蓝牙控制电路和WIFI控制电路可以属于一个芯片,也可以属于不同芯片。这里以蓝牙控制电路和WIFI控制电路在一个芯片为例。开关阵列可以为本方案涉及的所有开关,在电路中的位置不做限定。在执行S101-104以及S1051后,执行S1052的执行天线切换动作.S1052可以以下述流程为例:
S1.AP指示蜂窝控制电路停止在目标天线上传输蜂窝信号。
S2.蜂窝控制电路指示开关阵列接通目标天线到蓝牙WIFI控制电路的通路。
S3.AP指示蓝牙WIFI控制电路切换到蓝牙独立传输模式,由此,蓝牙WIFI控制电路将内部软件、硬件和算法等配置更改为蓝牙独立传输模式。
S4.蓝牙WIFI控制电路指示开关阵列导通目标信号到目标天线的通路。目标信号可以为蓝牙信号或WIFI信号。例如,如果将蓝牙信号切换到目标天线,则开关阵列改变导通方向,将蓝牙WIFI控制电路产生的蓝牙信号接通到目标天线。可以理解的是,在S2和S4中,开关阵列也可以由AP进行控制。
电子设备执行S1-S4的天线切换动作时内部器件之间的通路切换过程可以是图14a和图14b的实施例,电子设备的各个内部器件在天线切换前的初始状态如图14a。在图14a中,电子设备200包括蓝牙WIFI控制电路1、蜂窝控制电路2、前端模组3、滤波器4,开关51、开关52、开关53、天线61、天线62、天线63。开关53的作用相当于图5中的开关53,用于初始状态下蓝牙信号和WIFI信号对天线63进行时分复用。开关53可以在前端模组3内,也可以在前端模组3外。天线61可以为一根或多根未被选为目标天线的蜂窝天线。
通过图14(a)的开关51、开关52导通方向可以看出,在初始状态,蜂窝芯片通过天线61和天线62传输蜂窝信号,蓝牙信号和WIFI信号通过开关53时分复用天线63。若天线62为步骤1051中确定的目标天线,且切换的目标信号是蓝牙信号,可执行图13中S1-S4的步骤。在执行S2时,开关51接通到滤波器4以及蓝牙WIFI芯片1的通路,断开与蜂窝控制电路2的通路。在执行S4时,开关52导通到天线62的通路,断开到天线63的通路。开关53停止时分复用切换。由此,电子设备内部的状态由图14(a)切换到图14(b)。又例如,还可以先切换开关52,再切换开关51,或同时控制开关51和52。通过上述步骤,蓝牙WIFI芯片输出的蓝牙信号从天线63切换到蜂窝的天线62进行传输。
作为另一个实施例,在执行天线切换动作后,蜂窝天线还可以继续使用目标天线进行传输,即,如果将蓝牙信号切换到蜂窝天线,则蓝牙信号和蜂窝信号时分复用目标天线;或如果将WIFI信号切换到蜂窝天线,则WIFI信号和蜂窝信号时分复用目标天线。可以理解地,可以通过开关51对天线62进行分时复用。
作为一个实施例,对于图4中的手机401,可以仅将Ant4上的WIFI信号切换到Ant1,并在切换后将Ant5上的WIFI信号的发射功率降低。可以理解的是,当干扰允许时,未进行切换的WIFI信号的发射功率也可以保持不变。
作为另外一个实施例,可以执行在S105之前、判断WIFI和蓝牙业务冲突之后为SIM卡重新调整蜂窝天线的分配,具体策略可以参考表1所示。如果电子设备选择执行可选的S1051,而不是提前预设目标天线,则SIM卡的蜂窝天线分配还可以在执行S1052前、S1051之后进行上述调整。
表1单SIM设备在不同场景下的蜂窝天线分配策略
  主集天线 分集天线 MIMO天线1 MIMO天线2
状态1 SIM SIM SIM SIM
状态2 蓝牙/WIFI SIM SIM SIM
状态3 SIM 蓝牙/WIFI SIM SIM
如表1所示,电子设备为单SIM卡设备。在原始状态(即状态1)下,SIM卡在主集天线、分集天线、MIMO天线1和MIMO天线2中进行通信。作为一个示例,主集天线、分集天线、MIMO天线1和MIMO天线2可以对应于图4(a)中的手机401上的Ant1、Ant2、Ant3和Ant6。
参照状态2,当蓝牙信号或WIFI信号占用的天线为主集天线时,蜂窝信号继续采用分集天线和两根MIMO天线进行通信。可选的,蜂窝信号可以将原先的分集天线调整为主集天线。例如,电子设备的天线系统可以包括主集射频模块和分集射频模块。当某一天线通过双刀双掷开关和主集射频模块连接时,该天线为主集天线;当某一天线通过该双刀双掷开关和分集射频模块连接时,该天线为分集天线。将分集天线调整为主集天线可以包括通过该双刀双掷开关,将主集射频模块和原先的分集天线连接,从而则将分集天线调整为主集天线。通过以上调整,可以尽可能保证单SIM卡设备在天线被抢占后的蜂窝收发性能。
作为另一个实施例,参照表1中的状态3,蓝牙信号或WIFI信号可以占用分集天线。SIM卡继续使用主集天线、MIMO天线1、MIMO天线2。
当电子设备是双SIM卡设备时,参照表2所示,在初始状态(即状态1时)下,主SIM卡占用主集天线和第一MIMO天线,副SIM卡占用分集天线和第二MIMO天线。可以执行在S105之前、确定WIFI业务和蓝牙业务冲突之后为SIM卡重新调整蜂窝天线的分配,具体策略可以参考表1所示。如果电子设备选择执行可选的步骤S1051,而不是提前预设目标天线,则SIM卡的蜂窝天线分配还可以在执行S1052前、S1051之后进行上述调整。
如果蓝牙或WIFI抢占了蜂窝天线,为了保证主副卡的蜂窝通信质量,需要重新调整主卡和副卡的天线占用配置。例如,如果主卡的主集天线被占用,则主卡可能只剩一根MIMO天线可以使用,而MIMO天线相对于主集天线和分集天线性能较弱,导致主卡的通信质量降低,因此可以重新优化主副卡的天线资源配置。例如,在状态2中,当蓝牙或WIFI占用主集天线时,电子设备调整蜂窝主卡的信号占用分集天线和MIMO天线2,副卡信号占用MIMO天线1。可以理解的是,蜂窝主卡还可以切换到分集天线和MIMO天线1,副卡切换到MIMO天线2。可选的,在主集天线被蓝牙或WIFI占用后,电子设备可以将分集天线相应调整为主卡的主集天线。
在状态3中,蓝牙或者WIFI占用主集天线和分集天线。电子设备调整蜂窝主卡占用MIMO天线1,副卡占用MIMO天线2。
在状态4中,蜂窝业务主动回退到单天线状态,主卡和副卡分别占用主集天线和分集天线,此时MIMO天线1和MIMO天线2空闲,可以分配给蓝牙或者WIFI业务,提升蓝牙和WIFI的通信体验。
在状态5中,使蜂窝和蓝牙、或者蜂窝和WIFI业务进行时分复用,最大化系统资源的利用率。例如,主卡和蓝牙时分复用主集和MIMO天线1,副卡和WIFI时分复用分集和MIMO天线2。
表2双SIM设备在不同场景下的蜂窝天线分配策略
Figure PCTCN2022140137-appb-000001
在WIFI信号或蓝牙信号占用了蜂窝天线的情况下,当WiFi信号和蓝牙信号的共存情况发生变化或者蜂窝上发起了数据业务或者通话业务,需要进行天线切换策略的回退。在本申请的一个实施例中,天线切换回退的方法流程如图15(a)所示:
S1301和S1302实时统计WIFI通道和蓝牙通道的业务指标,包括数据吞吐量、信道占用率、业务时延和体验质量(Qurlity of Experience,QoE)等指标。
S1303判断WIFI业务和蓝牙业务的冲突是否解除。判断方法和S103类似,此处不再赘述。
S1304实时统计蜂窝的业务指标。
S1305如果蜂窝业务的业务指标统计结果是否大于第四统计结果阈值,则确定蜂窝存在高优先级业务,例如可以是数据业务、通话业务等。一个可能的场景是,WIFI信道质量不佳时,可以开启蜂窝和WIFI同时传输模式,此时蜂窝信道忙,另一个可能的场景是,蜂窝突发来电或拨话。
S1306判断传输蜂窝信号的天线和目标天线中的至少一个天线信号强度是否小于第一信号强度阈值;例如某一天线被遮挡时或用户进入蜂窝覆盖较差区域可能某个天线的信号强度低于该第一信号强度阈值,进而通信质量较差。如果目标天线被遮挡,则可以取消时分复用。如果其余蜂窝天线被遮挡,则蜂窝需要更多天线传输数据,也可以取消时分复用。
可以理解的是,如果处理器的性能支持,上述步骤可以同时进行。上述步骤不限执行顺序。
如果S1303、S1305、S1306中至少一个满足条件,则执行S1307,否则继续执行S1301、S1302、S1304和S1306。
S1307结束蜂窝天线的切换状态。结束蜂窝天线的切换状态为退回到执行S108之前的蓝牙信号、WIFI信号和蜂窝信号的天线占用状态。目标天线上停止传输蓝牙信号或WIFI信号,并重新用于传输蜂窝信号,且蓝牙信号和WIFI信号重新占用共享天线。
在图15(b)中,作为另一个实施例,将S1301和S1302替换为S1301’。
S1301’实时检测业务场景是否发生变化。
当检测到业务场景发生变化的时候,比如前台应用识别到退出游戏应用,结束视频通话等用户操作,发出场景结束的通知给应用处理器。应用处理器继续执行S1303的步骤,判断WIFI和蓝牙业务的冲突解除。
本申请实施例还提供一种芯片系统,如图16所示,该芯片系统包括至少一个处理器1601和至少一个接口电路1602。处理器1601和接口电路1602可通过线路互联。例如,接口电路1602可用于从其它装置(例如中心设备的存储器)接收信号。又例如,接口电路1602可用于向其它装置(例如处理器1601)发送信号。示例性的,接口电路1602可读取存储器中存储的指令,并将该指令发送给处理器1601。当所述指令被处理器1601执行时,可使得电子设备(如图1所示的电子设备100)执行上述实施例中的各个步骤。当然,该芯片系统还可以包含其他分立器件,本申请实施例对此不作具体限定。
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质包括计算机指令,当所述计算机指令在上述电子设备(如图1所示的电子设备100)上运行时,使得电子设备执行上述方法实施例中执行的各个功能或者步骤。
通过以上实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (21)

  1. 一种通信方法,应用于电子设备,其特征在于:
    所述电子设备包括第一天线集合,所述第一天线集合包括至少一个天线,所述第一天线集合的天线用于第一信号和第二信号通信;第一信号为WIFI信号,第二信号为蓝牙信号,或第一信号为蓝牙信号,第二信号为WIFI信号;
    所述电子设备还包括第二天线集合,所述第二天线集合包括多个天线;所述第二天线集合中的天线用于传输蜂窝信号;
    当满足第一预设条件时,所述第一信号使用所述第二天线集合中的至少一个天线进行传输,同时所述第二信号独立使用所述第一天线集合中的天线进行传输;所述第二天线集合中的所述至少一个天线包括第一天线,所述第一天线为下述天线之一:
    所述第二天线集合中与所述第一天线集合的任一个天线的隔离度最大的天线;
    所述第二天线集合中与所述第一天线集合的任一个天线的距离最大的一个天线;
    所述第二天线集合中与所述第一天线集合的任一个天线呈对角线布置的天线;满足所述第一预设条件之前所述第二天线集合中关闭的天线;
    所述第二天线集合中除去被遮挡的天线之外的天线。
  2. 如权利要求1所述的通信方法,其特征在于:所述第一天线集合和所述第二天线集合的任一天线的工作频段为2.3GHz至2.7GHz。
  3. 如权利要求1所述的通信方法,其特征在于:
    所述第二天线集合中的至少一个天线与所述第一天线集合的任一天线的隔离度大于预设隔离度阈值。
  4. 如权利要求1所述的通信方法,其特征在于:所述第一预设条件包括所述第一信号和所述第二信号所属的WIFI业务和蓝牙业务冲突。
  5. 如权利要求4所述的通信方法,其特征在于:所述第一信号和所述第二信号所属的WIFI业务和蓝牙业务冲突包括所述第一信号和所述第二信号所属的WIFI业务和蓝牙业务同时存在。
  6. 如权利要求4所述的通信方法,其特征在于:所述第一信号和所述第二信号所属WIFI业务和蓝牙业务冲突包括:所述WIFI业务对应的WIFI信道的信道状态和所述蓝牙业务对应的蓝牙信道的信道状态至少一个处于为繁忙。
  7. 如权利要求6所述的通信方法,其特征在于:所述方法还包括:
    根据所述WIFI信道和所述蓝牙信道的业务指标统计结果判断所述WIFI信道和所述蓝牙信道的信道状态;所述业务指标统计结果是根据业务吞吐量,信道占用率或业务时延的一种或多种确定的。
  8. 如权利要求4所述的通信方法,其特征在于:所述第一信号和所述第二信号所属WIFI业务和蓝牙业务冲突包括:所述电子设备当前运行的前台应用程序属于特定应用程序,或所述电子设备当前运行的进程为特定应用程序内的特定进程,或所述电子设备正在执行的业务属于特定业务类型;且电子设备与其它蓝牙设备之间存在通信连接。
  9. 如权利要求4-8任一项所述的通信方法,其特征在于:所述第一预设条件还包括所述蜂 窝信号所属的蜂窝业务的信道状态未处于繁忙状态。
  10. 如权利要求4-8任一项所述的通信方法,其特征在于:所述第一预设条件还包括第一信号的发射功率小于预设第一发射功率阈值和/或第二信号的发射功率小于预设第二发射功率阈值。
  11. 如权利要求4-8任一项所述的通信方法,其特征在于:当所述第一天线为所述第二天线集合中与所述第一天线集合的任一个天线的隔离度或距离最大的天线时,所述第一预设条件还包括第一天线的参考信号接收功率RSRP大于预设RSRP阈值。
  12. 如权利要求1或2所述的通信方法,其特征在于:
    所述电子设备内置一个用户识别卡,所述第二天线集合包括主集天线、分集天线、第一MIMO天线和第二MIMO天线,所述主集天线、所述分集天线、所述第一MIMO天线和所述第二MIMO天线用于所述用户识别卡收发蜂窝信号;
    所述第一天线为所述主集天线时,所述分集天线、所述第一MIMO天线和所述第二MIMO天线用于收发所述用户识别卡的蜂窝信号;或者
    所述第一天线为所述分集天线时,所述主集天线、所述第一MIMO天线和所述第二MIMO天线收发蜂窝信号用于收发用户识别卡的蜂窝信号。
  13. 如权利要求12所述的通信方法,其特征在于:所述第一天线为所述主集天线时,所述方法还包括,将所述分集天线调整为所述用户识别卡的主集天线。
  14. 如权利要求1或2所述的通信方法,所述电子设备具有多个卡槽,用于放置多个用户识别卡,所述多个用户识别卡包括主用户识别卡和副用户识别卡,所述第二天线集合中的第一部分天线用于收发所述主用户识别卡的蜂窝信号,所述第二天线集合中的第二部分天线用于收发所述副用户识别卡的蜂窝信号,其特征在于:
    所述第一天线属于所述第一部分天线或所述第二部分天线;
    为所述主用户识别卡和副用户识别卡分配所述第二天线集合中除所述第一天线以外的天线。
  15. 如权利要求14所述的通信方法,其特征在于:
    所述为所述主用户识别卡和所述副用户识别卡分配所述第二天线集合中除所述第一天线以外的天线包括为所述主用户识别卡分配第三部分天线,为所述副用户识别卡分配第四部分天线;所述第三部分天线与所述第一部分天线不同;且所述第四部分天线和所述第二部分天线不同。
  16. 如权利要求1或2所述的通信方法,其特征在于:
    当满足第二预设条件时,在所述第一天线上停止传输所述第一信号,且所述第一天线集合的天线恢复用于所述第一信号和所述第二信号通信。
  17. 如权利要求16所述的通信方法,其特征在于:所述第二预设条件包括如下条件中的一个或多个:
    所述WIFI业务和所述蓝牙业务的冲突解除;
    所述蜂窝业务为高优先级业务;
    所述第二天线集合的至少一个天线的信号强度小于第一信号强度阈值。
  18. 一种通信方法,应用于电子设备,其特征在于:
    所述电子设备包括第一天线集合,所述第一天线集合包括至少一个天线,所述第一天线集合的天线用于第一信号和第二信号通信;第一信号为WIFI信号,第二信号为蓝牙信号, 或第一信号为蓝牙信号,第二信号为WIFI信号;
    所述电子设备还包括第二天线集合,所述第二天线集合包括多个天线;所述第二天线集合中的天线用于传输蜂窝信号;
    当满足第一预设条件且满足第二预设条件时,所述第一信号使用第一天线进行传输,同时所述第二信号独立使用所述第一天线集合中的天线进行传输;其中,所述第一天线为所述第二天线集合中与所述第一天线集合的任一个天线的隔离度最大或距离最大的天线;
    当不满足所述第一预设条件或不满足所述第二预设条件时,维持所述第一天线集合的天线用于所述第一信号和所述第二信号通信;
    所述第二预设条件为所述第一天线未被遮挡或所述电子设备接收蜂窝信号的参考信号接收功率RSRP大于预设RSRP阈值。
  19. 如权利要求18所述的通信方法,其特征在于:所述第一预设条件包括所述第一信号和所述第二信号所属的WIFI业务和蓝牙业务冲突。
  20. 一种电子设备,其特征在于,所述电子设备包括:多个天线、存储器和一个或多个处理器;所述存储器与所述处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述计算机指令被所述一个或多个处理器执行时,使得所述电子设备执行如权利要求1-19中任一项所述的通信方法。
  21. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在电子设备上运行时,使得所述电子设备执行如权利要求1-19中任一项所述的通信方法。
PCT/CN2022/140137 2022-01-28 2022-12-19 一种天线配置方法和设备 WO2023142782A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202210107712 2022-01-28
CN202210107712.8 2022-01-28
CN202210714370.6 2022-06-22
CN202210714370.6A CN116567596A (zh) 2022-01-28 2022-06-22 一种天线配置方法和设备

Publications (3)

Publication Number Publication Date
WO2023142782A1 true WO2023142782A1 (zh) 2023-08-03
WO2023142782A9 WO2023142782A9 (zh) 2023-10-05
WO2023142782A8 WO2023142782A8 (zh) 2023-11-02

Family

ID=87470396

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/140137 WO2023142782A1 (zh) 2022-01-28 2022-12-19 一种天线配置方法和设备

Country Status (1)

Country Link
WO (1) WO2023142782A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103620970A (zh) * 2011-06-27 2014-03-05 高通股份有限公司 动态天线共享
US20150036656A1 (en) * 2013-07-31 2015-02-05 Broadcom Corporation Wlan and cellular shared antennas
CN108282193A (zh) * 2017-01-06 2018-07-13 三星电子株式会社 电子设备和控制其无线通信的方法
CN109076640A (zh) * 2016-08-12 2018-12-21 华为技术有限公司 一种终端设备及切换方法
CN109274407A (zh) * 2018-08-14 2019-01-25 Oppo广东移动通信有限公司 数据传输方法、装置、电子设备以及存储介质
CN109768369A (zh) * 2019-01-31 2019-05-17 广州市中海达测绘仪器有限公司 多模多频组合天线及gnss接收机

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103620970A (zh) * 2011-06-27 2014-03-05 高通股份有限公司 动态天线共享
US20150036656A1 (en) * 2013-07-31 2015-02-05 Broadcom Corporation Wlan and cellular shared antennas
CN109076640A (zh) * 2016-08-12 2018-12-21 华为技术有限公司 一种终端设备及切换方法
CN108282193A (zh) * 2017-01-06 2018-07-13 三星电子株式会社 电子设备和控制其无线通信的方法
CN109274407A (zh) * 2018-08-14 2019-01-25 Oppo广东移动通信有限公司 数据传输方法、装置、电子设备以及存储介质
CN109768369A (zh) * 2019-01-31 2019-05-17 广州市中海达测绘仪器有限公司 多模多频组合天线及gnss接收机

Also Published As

Publication number Publication date
WO2023142782A9 (zh) 2023-10-05
WO2023142782A8 (zh) 2023-11-02

Similar Documents

Publication Publication Date Title
CN112119649B (zh) 接收信号的方法和终端设备
RU2502204C2 (ru) Устройство и способ работы пикосетей в нательных локальных сетях
US7809399B2 (en) Method and device for providing multiple communication protocols with a single transceiver
KR100894264B1 (ko) 동일한 주파수 대역에서 동작하는 다중 무선 콤퍼넌트들의공존을 가능하게 하기 위한 시스템들 및 방법들
US8639284B2 (en) System and method providing concurrent multimode communication
US20070275662A1 (en) Method and system for changing priority of slave frames in multiwire coexistence
US20150139167A1 (en) Systems and methods for providing categorized channel reservation
CN106961289A (zh) 在无线设备中的多个无线电同时操作期间的干扰抑制
CN113676269B (zh) 电子设备的数据传输方法及其介质和电子设备
WO2018049551A1 (zh) 配置天线的方法、终端设备和天线电路
US20230396992A1 (en) Channel Arbitration Method and Apparatus
US20220132531A1 (en) Wi-Fi Traffic Aware System with Wireless Accessories
WO2021007787A1 (zh) 资源分配方法、装置及存储介质
WO2022160306A1 (zh) 一种无线通信装置及其天线切换方法
WO2023142782A1 (zh) 一种天线配置方法和设备
CN116567596A (zh) 一种天线配置方法和设备
CN113556805B (zh) 减少功耗的方法及终端
US11553506B2 (en) Multi-radio coexistence aware intelligent WiFi data aggregation
CN110365357B (zh) 一种信号处理方法及设备、存储介质
CN113612498A (zh) 一种天线配置方法及装置
WO2021109148A1 (zh) 信息处理方法及装置、通信设备
US20140010217A1 (en) Method and apparatus for scheduling terminals in system with multiple antenna elements combining into common cell
CN115462116A (zh) 一种通信方法和装置
WO2024037642A1 (zh) 数据传输方法、装置、终端及介质
CN114096004B (zh) 用于多天线载波的控制方法及装置

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: 22923568

Country of ref document: EP

Kind code of ref document: A1