A method and terminal device for adjusting bluetooth output power

By adjusting the working modes of the Bluetooth chip and WiFi chip in the terminal device, and using the power amplifier of the WiFi chip to achieve Bluetooth high-power output, the problem of insufficient output power of existing Bluetooth devices is solved, improving user experience and reducing costs.

CN114205900BActive Publication Date: 2024-09-17NOKIA TECHNOLOGIES OY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111301754.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-03-26
Publication Date
2024-09-17
Estimated Expiration
2039-03-26

AI Technical Summary

Technical Problem

The output power of existing Bluetooth devices is low, which results in lagging when blocked or when the distance increases, affecting the user experience. Adding a power amplifier to increase the output power will increase the cost.

Method used

By adjusting the Bluetooth chip in the terminal device from low-power mode to high-power mode, and using the power amplifier of the WiFi chip, Bluetooth high-power output is achieved, avoiding the need to add a separate power amplifier.

Benefits of technology

The Bluetooth output power is increased, the user experience is improved, and the demand for Bluetooth signal strength is met without increasing the production cost of the terminal device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114205900B
    Figure CN114205900B
Patent Text Reader

Abstract

The present application provides a terminal device, which relates to MIMO technology and a power amplifier. The terminal device includes a processor and a memory, the memory stores instructions and data, and the processor runs the instructions so that the terminal device performs the following operations: sending first data to a first Bluetooth device via a Bluetooth connection, wherein the Bluetooth chip of the terminal device is in a first power mode; receiving a first message, the first message is used to request the terminal device to increase output power; in response to the first message, adjusting the working mode of the Bluetooth chip from the first power mode to a second power mode, and adjusting the working mode of the WiFi chip of the terminal device from a multi-input multi-output MIMO mode to a single-input single-output SISO mode; sending second data to the first Bluetooth device in the second power mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a method and a terminal device for improving Bluetooth output power, and more specifically to a power amplifier and MIMO technology. Background Art

[0002] As smart devices and wearable products supporting Bluetooth (BT) continue to become more popular and grow rapidly, more and more users frequently use the Bluetooth function in Bluetooth devices to make calls, listen to music, etc. Users are also increasingly demanding Bluetooth performance.

[0003] However, the Bluetooth output power of existing Bluetooth devices is relatively low. When users use Bluetooth devices to make calls or listen to music, once they encounter obstructions or increase the distance, the connection will become stuck, which seriously affects the user experience. Summary of the invention

[0004] The present application provides a method and a terminal device for improving Bluetooth output power, which are used to improve the Bluetooth output power without increasing the manufacturing cost of the terminal device.

[0005] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:

[0006] In the first aspect, an embodiment of the present application provides a terminal device, the terminal device includes a processor and a memory, the memory stores instructions and data, and the processor runs the instructions so that the terminal device performs the following operations: sending first data to a first Bluetooth device via a Bluetooth connection, wherein the Bluetooth chip of the terminal device is in a first power mode; receiving a first message, wherein the first message is used to request the terminal device to increase the output power; in response to the first message, adjusting the working mode of the Bluetooth chip from the first power mode to the second power mode, and adjusting the working mode of the WiFi chip of the terminal device from the multiple-input multiple-output MIMO mode to the single-input single-output SISO mode; sending the second data to the first Bluetooth device in the second power mode. The advantage of this method is that the Bluetooth chip can use the power amplifier of the WiFi chip in the second power mode, which not only improves the output power of Bluetooth, but also does not need to add a separate power amplifier to increase the cost.

[0007] In a possible implementation of the first aspect, the terminal device includes a first power amplifier and a second power amplifier, wherein the Bluetooth chip uses the first power amplifier in the first power mode, and the WiFi chip uses the second power amplifier in the MIMO mode; the adjusting the working mode of the Bluetooth chip from the first power mode to the second power mode includes: adjusting the working mode of the Bluetooth chip from the first power mode to the second power mode; the power amplifier used by the Bluetooth chip is adjusted from the first amplifier to the second power amplifier.

[0008] In a possible implementation of the first aspect, in response to the first message, the working mode of the Bluetooth chip is adjusted from the first power mode to the second power mode, and the working mode of the WiFi chip of the terminal device is adjusted from the multi-input multi-output MIMO mode to the single-input single-output SISO mode, and further includes: in response to the first message; determining that the first adjustment condition is met, adjusting the working mode of the Bluetooth chip from the first power mode to the second power mode, and adjusting the working mode of the WiFi chip from the multi-input multi-output MIMO mode to the single-input single-output SISO mode. The advantage of this method is that if the terminal device is not suitable for using the second power mode at this time, it can be maintained in the first power mode to avoid affecting the user experience.

[0009] In a possible implementation of the first aspect, the first adjustment condition is that the output power of the terminal device increased by the first message request is higher than the first threshold. The advantage of this method is that if the increased output power does not require adjustment of the working mode, the transmission rate and output power of the WiFi chip can be guaranteed to remain unchanged.

[0010] In a possible implementation of the first aspect, the first adjustment condition is that the second data is audio data. The advantage of this approach is that if the Bluetooth chip does not need to transmit services that require high connection quality, such as audio data, even if the quality of the Bluetooth connection is poor, it will not affect the user's experience. In this case, there is no need to reduce the transmission power and transmission speed of the WiFi chip. Exemplarily, the audio data may belong to a voice call service or a music service.

[0011] In a possible implementation of the first aspect, the first adjustment condition is that the Bluetooth connection supports the second power mode. The advantage of this approach is that if the currently established Bluetooth connection does not support the second power, there is no need to reduce the transmission power and transmission speed of the WiFi chip.

[0012] In a possible implementation manner of the first aspect, the first threshold is the maximum output power of the terminal device in the first power mode.

[0013] In a possible implementation manner of the first aspect, the maximum output power of the terminal device in the second power mode is higher than the maximum output power of the terminal device in the first power mode.

[0014] On the second aspect, the embodiment of the present application provides a method for improving the Bluetooth output power applied to a terminal device, the method comprising: sending first data to a first Bluetooth device via a Bluetooth connection, wherein the Bluetooth chip of the terminal device is in a first power mode; receiving a first message, the first message being used to request the terminal device to increase the output power; in response to the first message, adjusting the working mode of the Bluetooth chip from the first power mode to the second power mode, and adjusting the working mode of the WiFi chip of the terminal device from the multiple-input multiple-output MIMO mode to the single-input single-output SISO mode; sending the second data to the first Bluetooth device in the second power mode. The advantage of this method is that when the Bluetooth chip is in the second power mode, the power amplifier of the WiFi chip can be used, which not only improves the output power of Bluetooth, but also does not need to add a separate power amplifier to increase the cost.

[0015] In a possible implementation of the second aspect, the terminal device includes a first power amplifier and a second power amplifier, wherein the Bluetooth chip uses the first power amplifier in the first power mode, and the WiFi chip uses the second power amplifier in the MIMO mode; the adjusting the working mode of the Bluetooth chip from the first power mode to the second power mode includes: adjusting the working mode of the Bluetooth chip from the first power mode to the second power mode; the power amplifier used by the Bluetooth chip is adjusted from the first amplifier to the second power amplifier.

[0016] In a possible implementation of the second aspect, in response to the first message, the working mode of the Bluetooth chip is adjusted from the first power mode to the second power mode, and the working mode of the WiFi chip is adjusted from the multiple-input multiple-output MIMO mode to the single-input single-output SISO mode, and further includes: in response to the first message; determining that the first adjustment condition is met, adjusting the working mode of the Bluetooth chip from the first power mode to the second power mode, and adjusting the working mode of the WiFi chip from the multiple-input multiple-output MIMO mode to the single-input single-output SISO mode. The advantage of this method is that if the terminal device is not suitable for using the second power mode at this time, it can be maintained in the first power mode to avoid affecting the user experience.

[0017] In a possible implementation manner of the second aspect, the first adjustment condition is that the output power of the terminal device increased by the first message is higher than a first threshold.

[0018] In a possible implementation of the second aspect, the first adjustment condition is that the second data is audio data. The advantage of this approach is that if the Bluetooth chip does not need to transmit services that require high connection quality, such as audio data, even if the quality of the Bluetooth connection is poor, it will not affect the user experience. In this case, there is no need to reduce the transmission power and transmission speed of the WiFi chip. Exemplarily, the audio data may belong to a voice call service or a music service.

[0019] In a possible implementation manner of the second aspect, the first adjustment condition is that the Bluetooth connection supports the second power mode.

[0020] In a possible implementation manner of the second aspect, the first threshold is the maximum output power of the terminal device in the first power mode.

[0021] In a possible implementation manner of the second aspect, the maximum output power of the terminal device in the second power mode is higher than the maximum output power of the terminal device in the first power mode.

[0022] In a third aspect, an embodiment of the present application provides a chip, comprising: a memory for storing programs; and a processor for executing the programs stored in the memory to execute the second aspect or any possible implementation of the second aspect.

[0023] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a transmitter, the transmitter executes the second aspect or any possible implementation method of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of a Bluetooth connection provided in an embodiment of the present application;

[0025] Figure 2 A schematic diagram of a terminal device provided in an embodiment of the present application Figure 1 ;

[0026] Figure 3A A schematic diagram of the structure of a WiFi radio frequency path provided in an embodiment of the present application;

[0027] Figure 3B A working block diagram of a Bluetooth normal power mode provided in an embodiment of the present application;

[0028] Figure 4 A working block diagram of a Bluetooth high power mode provided in an embodiment of the present application;

[0029] Figure 5A schematic diagram of a flow chart of a Bluetooth mode switching method provided in an embodiment of the present application;

[0030] Figure 6 A schematic diagram of controlling output power of a Bluetooth device provided in an embodiment of the present application;

[0031] Figure 7 A schematic diagram of a flow chart of a WiFi mode switching method provided in an embodiment of the present application;

[0032] Figure 8 A schematic diagram of a terminal device provided in an embodiment of the present application Figure 2 . DETAILED DESCRIPTION

[0033] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more bound listed items.

[0034] The Bluetooth device involved in the embodiments of the present application may be a classic Bluetooth device or a Bluetooth device supporting classic Bluetooth and low-power Bluetooth. The Bluetooth device may be a mobile phone, a tablet computer, a desktop, a laptop, a notebook computer, an ultra-mobile personal computer (UMPC), a handheld computer, a netbook, a personal digital assistant (PDA), a wearable Bluetooth device, a virtual reality device, a Bluetooth headset, etc., and the embodiments of the present application do not specifically limit this. The Bluetooth devices are connected to each other via Bluetooth to form a network, wherein the connection initiator is the master device (Master) and the receiving connection party is the slave device (Slave). All devices share the clock of the master device.

[0035] The Bluetooth involved in the embodiments of the present application is a wireless communication standard for short-range data exchange, which operates in the 2.4GHz unlicensed frequency band. Bluetooth may include classic Bluetooth (Basic Rate / Enhanced Data Rate, BR / EDR) and Bluetooth Low Energy (Bluetooth Low Energy, BLE). Classic Bluetooth may also be referred to as traditional Bluetooth or standard Bluetooth. Classic Bluetooth is developed and improved on the basis of previous Bluetooth specification protocol versions 1.0, 1.2, 2.0+EDR, 2.1+EDR, 3.0+HS, etc., and is the common name after the emergence of low-power Bluetooth. Low-power Bluetooth may also be referred to as Bluetooth Smart, which is developed on the basis of Nokia's Wibree standard and introduced in Bluetooth specification protocol version 4.0. The power consumption of low-power Bluetooth technology is 1 / 10 or less of that of classic Bluetooth, and low-power Bluetooth also has the characteristics of short messages, efficient coding, and short connection establishment time. Bluetooth technology can transmit voice and data at the same time, using circuit switching and packet switching technology, supporting asynchronous data channels, three-way voice channels, and channels for simultaneous transmission of asynchronous data and synchronous voice. Bluetooth has two link types, including Asynchronous Connectionless Link (ACL) and Synchronous Connection Oriented Link (SCO).

[0036] In recent years, more and more users use Bluetooth devices to make calls, listen to music and other services. For example, Figure 1 FIG. 1 shows a scenario of a Bluetooth connection application. Figure 1 As shown, the terminal device 100 and the Bluetooth headset 200 establish a Bluetooth connection according to the Bluetooth protocol, wherein the terminal device 100 can be a master device, the Bluetooth headset 200 can be a slave device, and the terminal device 100 can transmit voice data to the Bluetooth headset 200 through the Bluetooth connection. In order to reduce the power consumption of the Bluetooth connection and extend the use time of the Bluetooth device, the Bluetooth output power of the existing Bluetooth device is generally low. In practical applications, the distance between the terminal device 100 and the Bluetooth headset 200 and the environment in which they are located will change frequently. For example, the user puts the terminal device 100 in the living room and takes the Bluetooth headset 200 into the bedroom or balcony. As the distance between the terminal device 100 and the Bluetooth headset 200 increases, or there is a wall or human body blocking, the Bluetooth signal strength will weaken. When the user uses the Bluetooth headset 200 to listen to music or answer a call, there will be a freeze phenomenon. In order to ensure the quality of communication, the terminal device 100 needs to increase the Bluetooth output power.

[0037] Table 1 shows the power levels and power ranges specified by the existing Bluetooth protocol. According to the Bluetooth protocol, different power levels have different power output ranges. For example, in the case of power level 1, the maximum output power of a Bluetooth device can reach 20dBm, and in the case of level 3, the maximum power is only 4dBm. Due to the requirement of low power consumption, the Bluetooth output power of most Bluetooth devices is low, and the output power of the antenna port does not exceed 10dBm. Even if the Bluetooth device is in the power level 1 state, its maximum output power is far lower than the maximum output power specified by the Bluetooth protocol, and cannot meet the needs of Bluetooth communication.

[0038] Table 1

[0039] grade Maximum output power Standard output power Minimum output power 1 20dBm(100mW) none 0dBm(1mW) 2 4dBm(2.5mW) 0dBm(1mW) -6dBm(0.25mW) 3 1dBm(0mW) none none

[0040] In the prior art, the Bluetooth baseband unit in the Bluetooth module can realize two modes, high power and normal power. Therefore, an additional power amplifier (PA) can be added to the Bluetooth radio frequency path of the terminal device 100 to realize the high power design of the Bluetooth module. The disadvantage of this method is that the Bluetooth radio frequency path has two power amplifiers, which realize the two modes of Bluetooth normal power and high power respectively, which increases the design cost of the chip and affects the overall competitiveness of the product.

[0041] In traditional 1X1 single-channel WiFi, the receiving and transmitting signals each occupy one antenna, that is, the single input single output (SISO) mode. With the increase in network applications, the amount of data that WiFi needs to transmit is gradually increasing, and the wireless rate of 1X1 single-channel WiFi has now reached a development bottleneck. In this case, dual-channel and multi-channel WiFi technologies came into being, adding multiple antennas on the basis of single-channel WiFi to achieve a faster transmission rate. Now terminal devices often support 2X2, 3X3 and even 4X4 multi-channel WiFi technologies, and their WiFi coverage is wider and the transmission rate is faster. This technology can also be called multiple input multiple output (MIMO) technology. After adopting multiple input multiple output (MIMO) technology, WiFi requires additional hardware circuits, including multiple power amplifiers. MIMO technology involves two aspects of spatial diversity and spatial multiplexing. Using spatial diversity technology, the transmitter can send the same signal from different antennas. After receiving the signal, the multiple antennas at the receiving end can verify each other, thereby obtaining greater diversity gain and improving signal reliability. In areas with weak signal coverage, this feature can be used to ensure high reliability of the connection. With spatial multiplexing technology, multiple antennas at the output end transmit different signals respectively, and the corresponding multiple antennas at the receiving end receive them separately, thereby doubling the channel capacity.

[0042] Based on this, the embodiment of the present application provides a method and device for adjusting Bluetooth output power, which improves Bluetooth output power without increasing costs. The basic principle is that the terminal device uses the power amplifier of WiFi in Bluetooth high power mode to achieve Bluetooth high power mode.

[0043] The following introduces a terminal device used in an embodiment of the present application. In some embodiments of the present application, the terminal device may be a portable terminal device that also includes other functions such as a personal digital assistant and / or a music player function, such as a mobile phone, a tablet computer, a wearable terminal device with a wireless communication function (such as a smart watch), etc. Exemplary embodiments of portable terminal devices include but are not limited to devices equipped with Or a portable terminal device with other operating systems. The portable terminal device may also be other portable terminal devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present application, the terminal device may not be a portable terminal device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).

[0044] like Figure 2As shown, the terminal device in the embodiment of the present application may be a terminal device 100. The embodiment is specifically described below taking the terminal device 100 as an example.

[0045] Figure 2 The structure diagram of the terminal device 100 is shown. The terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0046] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0047] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0048] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0049] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0050] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0051] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the terminal device 100.

[0052] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0053] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0054] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0055] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the terminal device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the terminal device 100.

[0056] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0057] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the terminal device 100, and can also be used to transmit data between the terminal device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.

[0058] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0059] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the terminal device 100. While the charging management module 140 is charging the battery 142, it may also power the terminal device through the power management module 141.

[0060] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0061] The wireless communication function of the terminal device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0062] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0063] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the terminal device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0064] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0065] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the terminal device 100. Among them, Wi-Fi can use 2.4GHz and 5GHz frequency bands and is applicable to the American Institute of Electrical and Electronics Engineers standards IEEE 802.10A, IEEE 802.11b, IEEE802.11g and / or IEEE802.11n.

[0066] 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, modulates the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 may also receive a signal to be sent from the processor 110, modulate the signal, amplify the signal, and convert it into an electromagnetic wave for radiation via the antenna 2.

[0067] In some embodiments, the antenna 1 of the terminal 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 terminal 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 (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, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0068] The terminal device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change display information.

[0069] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1. The terminal device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.

[0070] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0071] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the terminal device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0072] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the terminal device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0073] Video codecs are used to compress or decompress digital videos. The terminal device 100 may support one or more video codecs. Thus, the terminal device 100 may play or record videos in various coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0074] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. NPU can realize applications such as intelligent cognition of terminal device 100, such as image recognition, face recognition, voice recognition, text understanding, etc. The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, music, video and other files are saved in the external memory card.

[0075] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the terminal device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the terminal device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.

[0076] The terminal device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0077] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0078] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The terminal device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0079] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the terminal device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the ear.

[0080] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The terminal device 100 can be provided with at least one microphone 170C. In other embodiments, the terminal device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the terminal device 100 can also be provided with three, four or more microphones 170C to realize the collection of sound signals, noise reduction, identification of sound sources, realization of directional recording function, etc.

[0081] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0082] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The terminal device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the terminal device 100 detects the touch operation intensity according to the pressure sensor 180A. The terminal device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0083] The gyroscope sensor 180B can be used to determine the motion posture of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the terminal device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the terminal device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes.

[0084] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the terminal device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0085] The magnetic sensor 180D includes a Hall sensor. The terminal device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the terminal device 100 is a flip phone, the terminal device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover automatic unlocking and other features are set.

[0086] The acceleration sensor 180E can detect the magnitude of the acceleration of the terminal device 100 in various directions (generally three axes). When the terminal device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal device and applied to applications such as horizontal and vertical screen switching and pedometers.

[0087] The distance sensor 180F is used to measure the distance. The terminal device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the terminal device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0088] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The terminal device 100 emits infrared light outward through the light emitting diode. The terminal device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the terminal device 100. When insufficient reflected light is detected, the terminal device 100 can determine that there is no object near the terminal device 100. The terminal device 100 can use the proximity light sensor 180G to detect that the user holds the terminal device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode, and pocket mode automatically unlocks and locks the screen.

[0089] The ambient light sensor 180L is used to sense the ambient light brightness. The terminal device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in a pocket to prevent accidental touch.

[0090] The fingerprint sensor 180H is used to collect fingerprints. The terminal device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0091] The temperature sensor 180J is used to detect temperature. In some embodiments, the terminal device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 heats the battery 142 to avoid abnormal shutdown of the terminal device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0092] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the terminal device 100, which is different from the position of the display screen 194.

[0093] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0094] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The terminal device 100 may receive key input and generate key signal input related to user settings and function control of the terminal device 100.

[0095] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0096] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power changes, messages, missed calls, notifications, etc.

[0097] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the terminal device 100 by inserting the SIM card interface 195 or pulling it out from the SIM card interface 195. The terminal device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the terminal device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100.

[0098] In the embodiment of the present application, the terminal device includes a Bluetooth chip and a WiFi chip, and the Bluetooth device may include a Bluetooth chip, wherein the WiFi chip can operate in the 2.4GHz and 5GHz frequency bands and communicate with other terminal devices through WiFi technology protocols (such as the American Institute of Electrical and Electronics Engineers standards IEEE 802.10A, IEEE 802.11b, IEEE802.11g and / or IEEE 802.11n). The WiFi chip supports 2*2 multiple input multiple output (Multiple Input Multiple Output, MIMO) mode and single input single output (Single Input Single Output, SISO) mode. It should be noted that in the embodiment of the present application, the Bluetooth chip may also be referred to as a Bluetooth module, and the WiFi chip may also be referred to as a WiFi module.

[0099] When a Bluetooth chip or WiFi chip sends data, it can be sent to the radio frequency channel. The radio frequency channel modulates the frequency of the data, amplifies it, and then converts it into electromagnetic waves and radiates it through the antenna. The amplification of the transmitted data is mainly completed by the power amplifier. The power amplifier can linearly and distortion-free amplify the low-power radio frequency data to a certain power value. For the convenience of description, in the embodiment of the present application, the output power of Bluetooth refers to the power radiated by the antenna after the Bluetooth data is processed by the power amplifier.

[0100] Figure 3A A schematic diagram of a WiFi radio frequency path structure according to an embodiment of the present application is shown. Figure 3AAs shown, the WiFi chip supports 2.4GHz and 5GHz frequency bands. Among them, the 2.4GHz RF path of the WiFi chip may include two RF paths for transmission and reception, wherein the transmission RF path may include a power amplifier 311, a low noise amplifier 351, a switch 341 and a filter. Exemplarily, when the WiFi chip transmits (transmit, TX) data 321 in the 2.4GHz frequency band, it can be amplified by the power amplifier 311, and then sent to the antenna 3 through the switch 341 and the duplexer 331, and radiated to the space via the antenna 3. Among them, the duplexer is used to isolate the transmission signal and the reception signal to ensure that both reception and transmission can work normally. When the WiFi chip receives data in the 2.4GHz frequency band, the received (recived, RX) data 361 is received by the antenna 3, and after passing through the duplexer 311 and the switch 341, it is amplified by the low noise amplifier (LNA) 351 and then transmitted to the WiFi chip. Among them, the transmission RF path and the receiving RF path of the WiFi chip in the 2.4GHz frequency band are connected to the duplexer 331 through the switch 341. Similar to the 2.4GHz band, the WiFi chip can have two RF paths for sending data and receiving data in the 5GHz band.

[0101] It should be noted that Figure 3A The WiFi radio frequency path structure shown is only schematic, and the WiFi radio frequency path may also include multiple electronic components. For example, in some embodiments, the WiFi transmission radio frequency path may also include a bandpass filter and a low-pass filter.

[0102] Figure 3B 1 shows a working frame of a terminal device in a normal power mode provided by this embodiment. In some embodiments, the normal power mode may be a first power mode. For the convenience of description, Figure 3B The working block diagram shown omits the receiving RF path and some electronic components. Figure 3BAs shown, the WiFi chip of the terminal device adopts a 2X2 dual-channel mode, and data can be sent simultaneously through antenna 3 and antenna 4. In addition, the WiFi chip supports the 2X2 dual-channel mode for both the 5GHz band and the 2.4GHz band. Exemplarily, the WiFi chip can simultaneously send TX data 321 and TX data 323 in the 2.4GHz band, and send TX data 322 and TX data 322 in the 5GHz band. Among them, TX data 321 and TX data 322 are connected to duplexer 331 through power amplifier 311 and power amplifier 312, respectively, and radiated to space via antenna 3. Similar to TX data 321 and TX data 322, TX data 323 and TX data 324 are connected to duplexer 332 through power amplifier 313 and power amplifier 314, respectively, and radiated to space via antenna 4. The difference is that TX data 324 and Bluetooth data 325 sent by the Bluetooth chip are connected to duplexer 332 through switch 340. Among them, Bluetooth data 325 is connected to switch 340 through power amplifier 315. Among them, the power amplifier 315 is a Bluetooth power amplifier, which is used to implement the Bluetooth normal power mode. In the embodiment of the present application, in order to save power consumption, the Bluetooth module is generally in the normal power mode. When certain conditions are met, such as the distance between the master device and the slave device reaches a certain threshold, the Bluetooth chip can be switched from Figure 3B The normal power mode shown switches to Figure 4 High power mode shown.

[0103] Figure 4 1 shows a working frame of a terminal device in a high power mode provided by an embodiment of the present application. In some embodiments, the high power mode may also be a second power mode. Figure 3B The Bluetooth normal power mode shown, Figure 4 The WiFi chip shown supports both 2.4GHz and 5GHz frequency bands. The difference is that, in high-power mode, the Bluetooth chip is connected to the switch 340 via a power amplifier 314. At the same time, TX data 323 and TX data 324 use power amplifier 313 together. At this time, the terminal device cannot use MIMO mode to work in both 2.4GHz and 5GHz frequency bands at the same time. In some embodiments, the terminal device switches from MIMO mode to SISO mode in the 5GHz frequency band. In other embodiments, the terminal device switches from MIMO mode to SISO mode in the 2.4GHz frequency band. The advantage of this approach is that the Bluetooth chip does not require an additional power amplifier and can also achieve high-power mode.

[0104] Figure 5 A schematic diagram of a method for switching Bluetooth high power mode provided in an embodiment of the present application. Figure 5 As shown, the steps in the embodiment of the present application are as follows:

[0105] S501, receiving a power control request message.

[0106] In order to save power consumption, the Bluetooth chip of the terminal device works in normal power mode by default. According to the power control requirements of the Bluetooth protocol, when the peer device detects that the signal strength is weak or strong, it can send a first message to the terminal device to request the terminal device to adjust the output power. Exemplarily, the peer device sends a first message to the terminal device via the link management protocol LMP in the Bluetooth protocol, where the first message is a power control request message (Power-Control-Req), requesting the terminal device to adjust the Bluetooth output power. The peer device is a Bluetooth device that establishes a Bluetooth connection with the terminal device, and adjusting the Bluetooth output power can be to increase the Bluetooth output power or to reduce the Bluetooth output power. For example, Figure 6 As shown, the terminal device 100 establishes a Bluetooth connection with the Bluetooth headset 200, wherein the Bluetooth headset 200 is the opposite device of the terminal device 100. When the distance between the Bluetooth headset 200 and the terminal device 100 becomes farther, and the Bluetooth headset 200 detects that the Bluetooth signal strength is lower than a preset threshold, a power control request message can be sent to the terminal device 100 to request the terminal device 100 to increase the Bluetooth output power. After receiving the power control request message, the terminal device 100 can send a power control request response message (Power-Control-Rsp) to the opposite device. In other embodiments, the first message can be used to request the terminal device to switch to a high power mode.

[0107] Optionally, the adjusted output power may be divided into at least two levels, each level corresponding to a specific output power value. For example, the adjusted output power may be divided into a first level and a second level, wherein the first level corresponds to 6 dBm and the second level corresponds to 8 dBm.

[0108] Optionally, the power control request message may be used to request the terminal device 100 to increase or decrease a specific output power value. For example, the power control request message may request the terminal device 100 to increase the Bluetooth output power by 6dBm or 8dBm. The specific increased Bluetooth output power value may be determined by the peer device according to the strength of the Bluetooth signal.

[0109] Optionally, the power control request message may also request the terminal device 100 to increase or decrease the Bluetooth output power according to a preset rule. For example, the Bluetooth output power of the terminal device may be increased or decreased by 2 dBm at regular intervals until the Bluetooth signal strength reaches a preset threshold.

[0110] Optionally, the power control request message may also request the Bluetooth output power of the terminal device 100 to be increased to a maximum output power or decreased to a minimum power.

[0111] It should be noted that the embodiments of the present application do not limit the specific method of increasing or decreasing the Bluetooth output power of the terminal device.

[0112] S502: Determine whether the power control request message is a request to increase power.

[0113] After receiving the power control request sent by the opposite device, the terminal device determines whether the power control request is a request to increase the power. If the power control request is a request for the terminal device to increase the output power, the terminal device executes step S503. If the power control request is not a request for the terminal device to increase the power, the terminal device executes step S508 to reduce the Bluetooth output power.

[0114] S503: Determine whether the power requested to be increased is higher than a first threshold.

[0115] If the peer device requests the terminal device to increase the Bluetooth output power, the terminal device determines whether the requested increased power is higher than the first threshold. If the requested increased power is higher than the first threshold, the terminal device may execute step S504 or step S505. If the requested increased power is not higher than the first threshold, the terminal device executes step S507.

[0116] In some embodiments, the first threshold is the maximum output power of the antenna port when the Bluetooth module is in normal power mode. Figure 3B When the Bluetooth module of the terminal device is working in the normal power mode, the Bluetooth baseband unit is connected to the duplexer through the Bluetooth radio frequency unit. Among them, the Bluetooth radio frequency unit includes a power amplifier for realizing the normal power mode of the Bluetooth module. If the power increase requested by the other end device does not exceed the maximum output power of the normal power mode of the Bluetooth module, the Bluetooth mode of the terminal device does not need to be switched to the high power mode, and the output power requirement of the Bluetooth connection can be met. For example, assuming that the Bluetooth module of the terminal device is in the normal power mode, the maximum output power of the antenna port is 10dBm. If the increased Bluetooth output power of the terminal device does not exceed 10dBm, the Bluetooth module of the terminal device does not need to be switched to the high power mode. The advantage of this method is that, while meeting the Bluetooth output power, it can save the power consumption of the terminal device and will not affect the transmission rate of WiFi in the 5GHz frequency band.

[0117] In some other embodiments, the first threshold may be a pre-set power value, and the pre-set power value may be less than the maximum output power of the Bluetooth module in the normal power mode. The embodiment of the present invention does not limit the first threshold.

[0118] S504: Determine whether the Bluetooth connection supports a high power mode.

[0119] This step is optional. The terminal device determines whether the Bluetooth connection established with the opposite end supports the high power mode. If the Bluetooth connection supports the high power mode, the terminal device executes step S505.

[0120] S505: Determine whether a high power mode switching condition is met.

[0121] If the high power mode switching condition is met, the terminal device executes step S506, and the terminal device switches from the Bluetooth normal power mode to the high power mode. If the high power mode switching condition is not met, the terminal device may not increase the existing Bluetooth output power, or increase the Bluetooth output power to the maximum value of the normal power mode.

[0122] Specifically, in some embodiments, the WiFi service can be divided into two priorities, including a first priority and a second priority. The first priority service may be a service that has a higher link rate requirement. For example, a high-quality music service, a voice call service, or a live broadcast service. These services require the transmission of audio data and have higher requirements for transmission rate and stability. The second priority service may be a service that has a lower link rate requirement. If the service being performed by the WiFi module of the terminal device belongs to the first priority, the high-power mode switching condition is not met. If the service being performed by the WiFi module of the terminal device belongs to the second priority, the high-power mode switching condition is met. The advantage of this method is that when WiFi service and Bluetooth service coexist, it is possible to determine whether to switch to high-power mode based on the priority of the service, thereby improving the user experience. For example, if Figure 4 As shown, in the embodiment of the present application, the Bluetooth high power mode of the terminal device needs to use a power amplifier of the WiFi core. At this time, the WiFi module of the terminal device cannot use the 2*2 mode in both the 5GHz and 2.4GHz frequency bands at the same time, affecting the transmission rate of WiFi. If the WiFi module of the terminal device is transmitting high-quality voice data, switching the terminal device to the Bluetooth high power mode will reduce the data transmission rate of WiFi, affecting the call quality of the user.

[0123] In other embodiments, the terminal device may obtain the working parameters of the WiFi module, wherein the working parameters refer to the working parameters of the terminal device in MIMO mode, and may include at least one of the following parameters: received signal strength, throughput, channel bandwidth, etc. Each parameter is introduced and described below.

[0124] Received signal strength: may refer to the signal strength of the WiFi network received by the terminal device, such as represented by the received signal strength indicator (RSSI) of the terminal device. The process of the terminal device obtaining the received signal strength may include: the terminal device measures the WiFi physical layer received signal through the integrated WiFi chip.

[0125] The throughput rate may refer to the amount of data successfully transmitted by the terminal device per unit time. The process of the terminal device obtaining the throughput rate may include: counting the number of bytes received and sent by the terminal device within a period of time, and determining the amount of data successfully transmitted per unit time based on the number of bytes within the period of time. There is a certain relationship between the throughput rate and the link rate of the physical layer, for example, the throughput rate is about 70% of the link rate of the physical layer. In the example below, the terminal device may also obtain the link rate of the physical layer, and use the link rate as an access parameter instead of the throughput rate for judgment.

[0126] The channel bandwidth may refer to the frequency bandwidth occupied by the signal, for example, the channel bandwidth may be 20 megahertz (MHz), 40M or 80M, etc. The process of the terminal device acquiring the channel bandwidth may include: the terminal device may obtain the channel bandwidth by acquiring the working state of the WiFi physical layer.

[0127] After the terminal device obtains the working parameters, it can determine whether the high power switching condition is met according to the working parameters. For example, if the throughput is less than the first throughput threshold, the high power switching condition is met; or if the received signal strength is higher than the first received signal strength, the high power switching condition is met; or if the channel bandwidth is less than the first channel bandwidth threshold, the high power switching condition is met.

[0128] It should be noted that the high power mode switching condition may also refer to other factors, and the embodiments of the present application do not limit this.

[0129] S506, switching to high power mode.

[0130] If the terminal device meets the Bluetooth high power switching conditions, its working mode changes from Figure 3B The working mode shown is switched to Figure 4 The working mode shown in the figure. Among them, the working mode of the WiFi module of the terminal device is switched from MIMO mode to SISO mode. Figure 4, after switching to high power mode, the WiFi module of the terminal device cannot implement 2*2 MIMO mode in both the 2.4GHz band and the 5GHz band at the same time. Therefore, the WiFi module needs to switch from MIMO mode to SISO mode. When the terminal device switches from MIMO mode to SISO mode, it can be switched according to the relevant provisions in the WiFi protocol. Specifically, the terminal device can interact with the AP that provides access services to the WiFi network through an action frame, for example, carrying a mode switching bit in the Action frame to negotiate with the AP to switch from MIMO mode to SISO mode; or, the terminal device interacts with the AP that provides access services to the WiFi network through an interaction (Association or reassociation) frame, for example, setting the MCS rate set used by the SISO mode in the (Re)Association frame to switch from MIMO mode to SISO mode.

[0131] After the switching is completed, the terminal device can send a power control request response message to the opposite device.

[0132] S507, increase the Bluetooth transmission power.

[0133] After the terminal device increases the Bluetooth transmission power, it can send a power control request response message to the peer device.

[0134] S508, reduce Bluetooth transmission power.

[0135] After the terminal device reduces the Bluetooth transmission power, it can send a power control request response message to the peer device.

[0136] The advantage of the embodiment of the present application is that the high power mode of the Bluetooth module is realized while keeping the cost unchanged. For example, the output power of the Bluetooth module in the normal power mode is up to 14dBm, and in the high power mode, the output power can reach up to 22dBm.

[0137] Figure 7 A flow chart of a terminal device WiFi1 module switching mode according to an embodiment of the present application is shown. Figure 7 As shown, the steps of switching the WiFi module mode in the embodiment of the present application are as follows:

[0138] S701, working in MIMO mode

[0139] After the WiFi module of the terminal device is started, it works in MIMO mode. Exemplarily, in the embodiment of the present application, the WiFi module of the terminal device can work in MIMO mode at both 2.4 GHz and 5 GHz.

[0140] S702, monitoring the working mode of the Bluetooth module.

[0141] The terminal device monitors the working mode of the Bluetooth module.

[0142] S703, determining whether the working mode of the Bluetooth module is a high power mode.

[0143] If the Bluetooth module is operating in high power mode, the terminal device executes step S704. If the Bluetooth module is not operating in high power mode, the terminal device returns to execute step S702.

[0144] S704, switch to SISO mode.

[0145] The WiFi module of the terminal device switches from MIMO mode to SISO mode. In some embodiments, the WiFi module switches from MIMO mode to SISO mode in the 5 GHz band and operates in MIMO mode in the 2.4 GHz band. In other embodiments, the WiFi module can switch from MIMO mode to SISO mode in the 2.4 GHz band and continue to operate in MIMO mode in the 5 GHz band.

[0146] It is understandable that, in order to implement the above functions, the above terminal device includes a hardware structure and / or software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present invention.

[0147] The embodiment of the present application can divide the functional modules of the above-mentioned terminal device according to the above-mentioned method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0148] Figure 8 A schematic diagram of a terminal device provided in an embodiment of the present application is shown in FIG. Figure 8, the terminal device includes: a memory 801 and a processor 802. The memory 801 is used to store the program code and data of the terminal device, and the processor 802 is used to control and manage the actions of the terminal device, for example, specifically used to support the terminal device to execute S501-S508, S701-S704 in the above method embodiment, and / or other processes for the technology described in this article. Optionally, Figure 8 The terminal device shown may further include a communication interface 803, and the communication interface 803 is used to support the terminal device to communicate.

[0149] Among them, the processor 802 can be a central processing unit, a general processor, a digital signal processor, an application-specific integrated circuit, a processing chip, a field programmable gate array or other programmable logic device, a transistor logic device, a hardware component or any combination thereof. It can implement or execute various logic boxes, modules and circuits described in conjunction with the disclosure of the embodiments of the present application. The processor 802 can also be a combination that implements a computing function, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and the like. The communication interface 703 can be a transceiver, a transceiver circuit or a transceiver interface, and the like. The memory 801 can be a volatile memory or a non-volatile memory, and the like.

[0150] For example, the communication interface 803, the processor 802, and the memory 801 are interconnected via a bus 804; the bus 804 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus 804 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Optionally, the memory 801 may be included in the processor 802.

[0151] Optional, above Figure 8 The terminal device shown may also be built into the terminal device as a chip system.

[0152] The memory 801 may be the above Figure 2 The internal memory 121 and the processor 802 shown may be the above Figure 2 The processor 110 and the communication interface 803 shown in the figure may be the above Figure 2 The wireless communication module 160 is shown.

[0153] In the embodiment of the present application, when the terminal device is in the case of using both the WiFi module and the Bluetooth module, if the Bluetooth module needs to be switched to high power mode, a power amplifier of the WiFi module can be used, and the 5GHz frequency band of the WiFi module is switched from MIMO mode to SISO mode. When the user uses the Bluetooth module to listen to music or make calls, the embodiment of the present application improves the Bluetooth output power to ensure the connection quality of the Bluetooth service, thereby improving the user experience.

[0154] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0155] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0156] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0157] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, 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, which is stored in a storage medium and includes several instructions for the terminal to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks or optical disks.

[0158] Finally, it should be noted that the above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A terminal device, characterized in that: The terminal device includes a processor and a memory, the memory stores instructions and data, and the processor executes the instructions so that the terminal device performs the following operations: receiving a first message, wherein the first message is used to request the terminal device to increase output power; In response to the first message, the output power of the Bluetooth chip of the terminal device is adjusted from a first power to a second power, and the working mode of the WiFi chip of the terminal device is adjusted from a multiple-input multiple-output MIMO mode to a single-input single-output SISO mode, wherein the second power is greater than the first power.

2. The terminal device according to claim 1, characterized in that: The terminal device comprises a first power amplifier and a second power amplifier, wherein the first power amplifier is used when the output power of the Bluetooth chip is the first power, and the WiFi chip uses the second power amplifier in the MIMO mode; The step of adjusting the output power of the Bluetooth chip of the terminal device from the first power to the second power includes: Adjusting the output power of the Bluetooth chip from a first power to a second power; The power amplifier used by the Bluetooth chip is adjusted from the first power amplifier to the second power amplifier.

3. The terminal device according to claim 1 or 2, characterized in that: The step of adjusting the output power of the Bluetooth chip from the first power to the second power in response to the first message, and adjusting the working mode of the WiFi chip of the terminal device from the multiple-input multiple-output MIMO mode to the single-input single-output SISO mode, further includes: responding to the first message; It is determined that the first adjustment condition is met, the output power of the Bluetooth chip is adjusted from the first power to the second power, and the working mode of the WiFi chip of the terminal device is adjusted from the multiple-input multiple-output MIMO mode to the single-input single-output SISO mode.

4. The terminal device according to claim 3, characterized in that: The first adjustment condition is that the output power of the terminal device increased by the first message requesting the terminal device is higher than a first threshold.

5. The terminal device according to claim 3, characterized in that: The first adjustment condition is that the first message is used to instruct the terminal device to transmit audio data.

6. The terminal device according to claim 3, characterized in that: The second power belongs to a second power mode, and the first adjustment condition is that the Bluetooth chip supports the second power mode.

7. The terminal device according to claim 4, characterized in that: The first power belongs to a first power mode, and the first threshold is the maximum output power of the terminal device in the first power mode.

8. The terminal device according to claim 1 or 2, characterized in that: The first power belongs to a first power mode, the second power belongs to a second power mode, and the maximum output power of the terminal device in the second power mode is higher than the maximum output power of the terminal device in the first power mode.

9. A method for increasing Bluetooth output power applied to a terminal device, characterized in that: The method comprises: receiving a first message, wherein the first message is used to request the terminal device to increase output power; In response to the first message, the output power of the Bluetooth chip of the terminal device is adjusted from a first power to a second power, and the working mode of the WiFi chip of the terminal device is adjusted from a multiple-input multiple-output MIMO mode to a single-input single-output SISO mode, wherein the second power is greater than the first power.

10. The method according to claim 9, characterized in that The terminal device comprises a first power amplifier and a second power amplifier, wherein the first power amplifier is used when the output power of the Bluetooth chip is the first power, and the WiFi chip uses the second power amplifier in the MIMO mode; The step of adjusting the output power of the Bluetooth chip of the terminal device from the first power to the second power includes: Adjusting the output power of the Bluetooth chip from a first power to a second power; The power amplifier used by the Bluetooth chip is adjusted from the first power amplifier to the second power amplifier.

11. The method according to claim 9 or 10, characterized in that: The step of adjusting the output power of the Bluetooth chip from the first power to the second power in response to the first message, and adjusting the working mode of the WiFi chip of the terminal device from the multiple-input multiple-output MIMO mode to the single-input single-output SISO mode, further includes: responding to the first message; It is determined that the first adjustment condition is met, the output power of the Bluetooth chip is adjusted from the first power to the second power, and the working mode of the WiFi chip of the terminal device is adjusted from the multiple-input multiple-output MIMO mode to the single-input single-output SISO mode.

12. The method according to claim 11, characterized in that The first adjustment condition is that the output power of the terminal device increased by the first message requesting the terminal device is higher than a first threshold.

13. The method according to claim 11, characterized in that The first adjustment condition is that the first message is used to instruct the terminal device to transmit audio data.

14. The method according to claim 11, characterized in that The second power belongs to a second power mode, and the first adjustment condition is that the Bluetooth chip supports the second power mode.

15. The method according to claim 12, characterized in that The first power belongs to a first power mode, and the first threshold is the maximum output power of the terminal device in the first power mode.

16. The method according to claim 9 or 10, characterized in that The first power belongs to a first power mode, the second power belongs to a second power mode, and the maximum output power of the terminal device in the second power mode is higher than the maximum output power of the terminal device in the first power mode.

17. A chip, characterized in that: include: Memory, used to store programs; A processor, configured to execute the program stored in the memory to perform the method according to any one of claims 9 to 16.

18. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a transmitter, enable the transmitter to execute the method according to any one of claims 9 to 16.