Antenna blocking warning method, communication chip and device
By using a communication chip in a communication device to obtain the attenuation value of the air interface loopback signal, determine whether the antenna is blocked, and output alarm information, it solves the signal problem caused by the user's inability to recognize the antenna occlusion, and improves the user experience.
Patent Information
- Application Number
- CN202180057481.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-28
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2041-01-28
AI Technical Summary
When users use communication equipment, the antenna may be blocked, resulting in weak or no signal, and the user cannot identify the cause in time, affecting the user experience.
The attenuation value of the air interface loopback signal is obtained through the communication chip, and whether the antenna is blocked is determined, and alarm information is output to the user when the blocking is determined.
It realizes the determination of antenna occlusion based on the signal attenuation value, and prompts the user through alarm information to help the user remove the occlusion in time and improve the user experience.
Smart Images

Figure CN116114240B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of chips, and in particular to an antenna blocking alarm method, a communication chip and a device. Background Art
[0002] During the use of mobile phones, due to the preferences of some users, the mobile phone may be covered with a protective case made of different materials, resulting in the mobile phone's antenna being blocked by the protective case, resulting in weak signal or even no signal. Alternatively, the mobile phone may be held in the horizontal position by the user, resulting in the mobile phone's antenna being blocked by the user's hand, resulting in weak signal or even no signal.
[0003] The signal strength of a mobile phone is an important factor that affects the user experience. For example, when the signal of a mobile phone is often weak or even no signal, the user cannot determine what caused the signal quality to deteriorate. Therefore, when the signal of a mobile phone is weak due to the above user factors, the mobile phone needs to prompt the user to improve the user experience. Summary of the invention
[0004] The embodiment of the present application provides an antenna blocking alarm method, a communication chip and a device, which solves the problem that when a user uses a communication device, the antenna of the communication device is blocked and the communication device cannot prompt the user.
[0005] In order to achieve the above purpose, the embodiment of the present application adopts the following technical solution:
[0006] In the first aspect, the embodiment of the present application provides an antenna blocking alarm method, which can be applied to a communication chip of a communication device. The method may include: the communication chip obtains the attenuation value of the air interface loopback signal through the antenna; the communication chip determines whether the antenna is blocked according to the attenuation value; if it is determined that the antenna is blocked, the communication chip instructs the processor to output an alarm message to the user indicating that the antenna is blocked.
[0007] By adopting the above technical solution, it is possible to determine whether the antenna of the communication device is blocked according to the attenuation value of the signal. When it is determined that the antenna is blocked, an alarm message is output to remind the user that the antenna is blocked. The user can find that the antenna of the communication device is blocked according to the alarm message, so as to remove the blocking object (such as a protective cover, hands, etc.) in time, thereby improving the user experience.
[0008] In one possible implementation, the antenna may include a first antenna and a second antenna. The communication chip obtains the attenuation value of the air interface loopback signal through the antenna, including: the communication chip transmits a measurement signal through the first antenna, and receives the measurement signal looped back to the second antenna; the communication chip determines the attenuation value according to the strength value of the measurement signal and the strength value of the looped measurement signal. In this way, the communication chip measures the attenuation value when the measurement signal is received through air interface loopback measurement, which is convenient for measurement and can avoid interference with the attenuation value measurement caused by external environments, such as buildings.
[0009] In another possible implementation, the communication chip includes a Bluetooth module and a Wireless Fidelity Wi-Fi network module. The communication chip transmits a measurement signal through a first antenna and receives the measurement signal looped back to a second antenna, including: the Bluetooth module transmits the measurement signal through the first antenna; the Wi-Fi network module receives the measurement signal looped back to the second antenna; the Wi-Fi network module determines the attenuation value based on the strength value of the measurement signal and the strength value of the looped measurement signal.
[0010] In another possible implementation, the communication chip obtains the attenuation value of the air interface loopback signal through the antenna, including: the communication chip periodically obtains multiple attenuation values according to a preset period; the communication chip determines whether the antenna is blocked according to the attenuation value, including: the communication chip determines whether the antenna is blocked according to the obtained multiple attenuation values. In this way, it is possible to more accurately judge whether the antenna is blocked according to the obtained multiple attenuation values, reducing misjudgment.
[0011] In another possible implementation, the communication chip determines whether the antenna is blocked based on the attenuation value, including: the communication chip determines whether the difference between the attenuation value and the attenuation calibration value is greater than a first preset threshold within a first preset time length; if so, the communication chip determines that the antenna is blocked; if not, the communication chip determines that the antenna is not blocked.
[0012] In another possible implementation, the communication chip determines whether the antenna is blocked based on the attenuation value, including: when the difference between the attenuation value obtained before a second preset time period and the attenuation calibration value is less than a second preset threshold, the communication chip determines whether the differences between multiple attenuation values and the attenuation calibration value obtained continuously within the second preset time period are all greater than the second preset threshold; if so, the communication chip determines that the antenna is blocked; if not, the communication chip determines that the antenna is not blocked.
[0013] In another possible implementation, the communication chip determines that the antenna is blocked, including: the communication chip determines that the antenna is blocked due to an abnormal grip posture according to status indication information, and the status indication information is used to indicate that the communication device is in a horizontal screen state.
[0014] In a second aspect, an embodiment of the present application provides a communication chip, which can be used in a communication device. The communication chip can implement the functions performed by the communication chip in the first aspect or the possible design of the first aspect, and the functions can be implemented by hardware. The hardware includes one or more modules corresponding to the above functions. For example, the communication chip may include: a control module, a transceiver module, etc. Among them, the transceiver module may also include a baseband module and a radio frequency module, etc.
[0015] Among them, the control module can be used to obtain the attenuation value of the air interface loopback signal through the antenna; determine whether the antenna is blocked according to the attenuation value; if it is determined that the antenna is blocked, instruct the processor to output an alarm message to the user indicating that the antenna is blocked.
[0016] In one possible implementation, the antenna includes: a first antenna, and a second antenna; the communication chip also includes a transceiver module; the transceiver module is used to transmit a measurement signal through the first antenna and receive the measurement signal looped back to the second antenna according to the control of the control module; measure the strength value of the looped measurement signal; the control module is specifically used to determine the attenuation value based on the strength value of the measurement signal and the strength value of the looped measurement signal.
[0017] In another possible implementation, the transceiver module includes a baseband module and a radio frequency module; the baseband module is used to generate a measurement signal according to the control of the control module; the radio frequency module is used to transmit the measurement signal through the first antenna and receive the measurement signal looped back to the second antenna; the baseband module is also used to measure the strength value of the looped measurement signal.
[0018] In another possible implementation, the control module includes a first control module and a second control module, the baseband module includes a Bluetooth baseband module and a Wireless Fidelity Wi-Fi baseband module, and the radio frequency module includes a Bluetooth radio frequency module and a Wi-Fi radio frequency module; the Bluetooth baseband module is used to generate a measurement signal according to the control of the first control module; the Bluetooth radio frequency module is used to transmit the measurement signal through the first antenna; the Wi-Fi radio frequency module is used to receive the measurement signal looped back to the second antenna; the Wi-Fi baseband module is used to measure the strength value of the looped back measurement signal; the second control module is used to determine the attenuation value according to the strength value of the measurement signal and the strength value of the looped back measurement signal.
[0019] In another possible implementation, the control module is specifically configured to periodically obtain a plurality of attenuation values according to a preset period; and determine whether the antenna is blocked according to the obtained plurality of attenuation values.
[0020] In another possible implementation, the control module is specifically used to determine whether the difference between the attenuation value and the attenuation calibration value is greater than a first preset threshold within a first preset time period; if so, it is determined that the antenna is blocked; if not, it is determined that the antenna is not blocked.
[0021] In another possible implementation, the control module is specifically used to determine whether the differences between multiple attenuation values and the attenuation calibration value obtained continuously within the second preset time period are all greater than the second preset threshold value when the difference between the attenuation value obtained before the second preset time period and the attenuation calibration value is less than the second preset threshold value; if so, it is determined that the antenna is blocked; if not, it is determined that the antenna is not blocked.
[0022] In another possible implementation, the control module is specifically used to determine that the antenna is blocked due to an abnormal holding posture according to the status indication information, and the status indication information is used to indicate that the communication device is in a horizontal screen state.
[0023] In a third aspect, an embodiment of the present application provides a communication chip, which is applied to a communication device and is used to execute the antenna blockage alarm method as described in the first aspect or any possible design of the first aspect.
[0024] In a fourth aspect, an embodiment of the present application provides a chipset, which can be applied to a communication device. The chipset may include a processor and a communication chip as described in the third aspect. The communication chip can be used to execute the antenna blocking alarm method as described in the first aspect or any possible design of the first aspect. The processor can be used to control the communication device to output a warning message to the user indicating that the antenna is blocked according to the instruction of the communication chip.
[0025] In a fifth aspect, an embodiment of the present application provides a communication device, which may include an antenna and a chipset as described in the fourth aspect. When the communication device is running, the chipset may implement the antenna shielding alarm method as described in the first aspect or any possible design of the first aspect.
[0026] It should be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here.
[0027] In a sixth aspect, an embodiment of the present application provides another antenna blocking alarm method, which can be applied to a communication device having an antenna. The method includes: the communication device obtains the attenuation value of the air interface loopback signal through the antenna; the communication device determines whether the antenna is blocked according to the attenuation value; if it is determined that the antenna is blocked, the communication device outputs an alarm message to the user indicating that the antenna is blocked.
[0028] By adopting the above technical solution, it is possible to determine whether the antenna of the communication device is blocked according to the attenuation value of the signal. When it is determined that the antenna is blocked, an alarm message is output to remind the user that the antenna is blocked. The user can find that the antenna of the communication device is blocked according to the alarm message, so as to remove the blocking object (such as a protective cover, hands, etc.) in time, thereby improving the user experience.
[0029] In a possible implementation, the antenna may include a first antenna and a second antenna; the communication device obtains the attenuation value of the air interface loopback signal through the antenna, including: the communication device transmits a measurement signal through the first antenna and receives the measurement signal looped back to the second antenna; the communication device determines the attenuation value according to the strength value of the measurement signal and the strength value of the looped measurement signal. In this way, the communication chip measures the attenuation value when the measurement signal is received through air interface loopback measurement, which is convenient for measurement and can avoid interference with the attenuation value measurement caused by external environments, such as buildings.
[0030] In another possible implementation, the communication device obtains the attenuation value of the air interface loopback signal through the antenna, including: the communication device periodically obtains multiple attenuation values according to a preset period; the communication device determines whether the antenna is blocked according to the attenuation value, including: the communication device determines whether the antenna is blocked according to the obtained multiple attenuation values. In this way, it is possible to more accurately determine whether the antenna is blocked according to the obtained multiple attenuation values, reducing misjudgment.
[0031] In another possible implementation, the communication device determines whether the antenna is blocked based on the attenuation value, including: the communication device determines whether the difference between the attenuation value and the attenuation calibration value is greater than a first preset threshold value within a first preset time length; if so, the communication device determines that the antenna is blocked; if not, the communication device determines that the antenna is not blocked.
[0032] In another possible implementation, the communication device determines whether the antenna is blocked based on the attenuation value, including: when the difference between the attenuation value obtained before a second preset time period and the attenuation calibration value is less than a second preset threshold, the communication device determines whether the differences between multiple attenuation values and the attenuation calibration value obtained continuously within the second preset time period are all greater than the second preset threshold; if so, the communication device determines that the antenna is blocked; if not, the communication device determines that the antenna is not blocked.
[0033] In another possible implementation, the communication device determines that the antenna is blocked, including: the communication device determines that the antenna is blocked due to an abnormal grip posture according to status indication information, where the status indication information is used to indicate that the communication device is in a horizontal screen state.
[0034] In another possible implementation, the communication device outputs warning information to the user that the antenna is blocked, which may include: the communication device displays a user interface; the user interface includes: an icon for indicating that the antenna is blocked, and / or a pop-up message for indicating that the antenna is blocked. Prompting the user that the antenna of the communication device is blocked by means of an icon or a pop-up message is easy to implement and is easier to be noticed by the user, thereby improving the prompt effect.
[0035] In another possible implementation, the method also includes: the communication device displays a first icon, the first icon is used to indicate the strength of a signal received by the communication device; the communication device outputs an alarm message to the user indicating that the antenna is blocked, including: the communication device updates the display of the first icon to a second icon, the second icon is used to indicate that the antenna is blocked.
[0036] In a seventh aspect, an embodiment of the present application provides a communication device, comprising: a processor, and a memory for storing instructions executable by the processor. When the processor is configured to execute the above instructions, the communication device implements the antenna blocking alarm method as described in any one of the sixth aspect or the possible implementation methods of the sixth aspect.
[0037] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a communication device, the communication device implements the antenna shielding alarm method as described in any one of the sixth aspect or the possible implementations of the sixth aspect.
[0038] In the ninth aspect, an embodiment of the present application provides a computer program product, comprising a computer readable code. When the computer readable code is executed in a communication device, the communication device implements the antenna obstruction alarm method as described in any one of the sixth aspect or possible implementation methods of the sixth aspect.
[0039] It should be understood that the beneficial effects of the seventh to ninth aspects mentioned above can be found in the relevant description of the sixth aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A signal strength indicator icon provided for related technologies;
[0041] Figure 2 Another signal strength indicator icon provided for related technologies;
[0042] Figure 3 A schematic diagram of the structure of a communication device provided in an embodiment of the present application;
[0043] Figure 4 A flowchart of an antenna shielding alarm method provided in an embodiment of the present application;
[0044] Figure 5 A schematic diagram of the composition of a wireless communication subsystem provided in an embodiment of the present application;
[0045] Figure 6 A schematic diagram of the composition of another wireless communication subsystem provided in an embodiment of the present application;
[0046] Figure 7 A schematic diagram of an interface when an antenna shielding alarm method is applied according to an embodiment of the present application;
[0047] Figure 8 A schematic diagram of an interface when another antenna shielding alarm method provided in an embodiment of the present application is applied;
[0048] Fig. 9 A schematic diagram of an interface when another antenna shielding alarm method provided in an embodiment of the present application is applied;
[0049] Fig.10 A schematic diagram of the structure of a communication chip provided in an embodiment of the present application;
[0050] Fig.11 A schematic diagram of the structure of another communication chip provided in an embodiment of the present application;
[0051] Fig.12 A schematic diagram of the structure of another communication chip provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] During the use of wireless communication devices (such as mobile phones), antenna performance is an important indicator of the communication capability of wireless communication devices and an important factor affecting user experience. Usually, the antennas of wireless communication devices will have strict antenna directivity, multi-antenna performance consistency and other designs and evaluations to ensure that the wireless communication devices have good antenna performance when used by users. However, during user use, due to the preferences and habits of some users, the antennas of wireless communication devices may be blocked and affect their performance. For example, for the sake of protecting the device or aesthetics, users use protective covers made of special materials; the device is installed or placed in a special location; the user holds the device with both hands, etc. When the antenna performance of a wireless communication device is blocked and deteriorates, the user cannot know the specific reason for the signal deterioration.
[0053] Therefore, taking a mobile phone as an example, in the relevant technology, a mobile phone can indicate the energy (or strength) of a signal received by the mobile phone by means of received signal strength indication (RSSI) to indicate to the user the strength of the signal received by the mobile phone.
[0054] For example, after a mobile phone is connected to a fourth generation (4G) mobile communication network, the mobile phone can periodically measure the RSSI of the received 4G signal. Figure 1 As shown, a 4G signal strength indicator icon 101 is displayed in the status bar of the mobile phone. The signal level can be displayed in real time through the strength indicator icon 101. For example, the more bars displayed, the better the received signal (or the higher the signal strength), and the fewer bars displayed, the worse the received signal (or the lower the signal strength). For another example, the mobile phone can also perform RSSI measurements on the received second generation (2nd generation, 2G), third generation (3rd generation, 3G) and 4G mobile communication network signals at the same time. And as Figure 2 As shown, a strength indication icon 201 capable of simultaneously indicating 2G, 3G and 4G mobile communication network signals is displayed in the status bar of the mobile phone.
[0055] Alternatively, after the mobile phone is connected to a wireless fidelity (Wi-Fi) network, the mobile phone can measure the RSSI of the received Wi-Fi signal and Figure 1 As shown, the Wi-Fi signal strength indicator icon 102 is displayed in the status bar, or as shown in Figure 2 As shown, a Wi-Fi signal strength indicator icon 202 is displayed in the status bar. The signal level can be displayed in real time through the strength indicator icon. For example, the more bars displayed, the better the received signal (or the higher the signal strength), and the fewer bars displayed, the worse the received signal (or the lower the signal strength).
[0056] However, RSSI measurement can only indicate the strength of the signal received by the mobile phone. Therefore, the strength indicator icon displayed based on RSSI measurement can only indicate the energy of the signal currently received by the mobile phone. For example, when the number of grids displayed by the strength indicator icon decreases, it can only mean that the signal energy received by the mobile phone has decreased. The decrease in the signal energy received by the mobile phone may be due to the reduction in the transmission power of the peer device (such as the base station), or the increase in the signal attenuation between the mobile phone and the peer device (such as the increase in the distance between the mobile phone and the peer device, or the presence of buildings, walls, etc. between the mobile phone and the peer device), or it may be caused by abnormal performance of the mobile phone's antenna. Therefore, users cannot know from the strength indicator icon displayed on the mobile phone whether the deterioration of the mobile phone antenna performance is caused by the obstruction of the antenna, so users cannot remove the obstruction to the mobile phone antenna in time, affecting the user's experience of using the mobile phone.
[0057] To solve the above problem, an embodiment of the present application provides an antenna blocking alarm method, which can be applied to a communication device with an antenna. The method may include: the communication device obtains the attenuation value of the air interface loopback signal through the antenna, and determines whether the antenna of the communication device is blocked according to the attenuation value. After determining that the antenna of the communication device is blocked, the communication device can output an alarm message to the user indicating that the antenna is blocked.
[0058] Through this method, the communication device can determine whether the antenna of the communication device is blocked according to the attenuation value of the signal. When it is determined that the antenna is blocked, an alarm message is output to prompt the user that the antenna is blocked. The user can find that the antenna of the communication device is blocked according to the alarm message, so as to remove the blocking object (such as a protective cover, hands, etc.) in time, thereby improving the user's experience.
[0059] The antenna shielding alarm method provided in the embodiment of the present application will be exemplarily described below with reference to the accompanying drawings.
[0060] It should be noted that the antenna blocking alarm method provided in the embodiment of the present application can be applied to various communication devices, and the communication device may include a communication chip. For example, the communication device may be a mobile phone, a tablet computer, a wearable device with wireless communication capability, a television, a laptop computer, a desktop computer, an augmented reality (AR) / virtual reality (VR) device, etc. For another example, the communication chip may be a wireless communication chip such as a Wi-Fi chip, a Bluetooth chip, a global navigation satellite system (GNSS) chip, etc. Or, a mobile communication chip such as a 2G, 3G, 4G, and fifth generation (5th generation, 5G) chip. Alternatively, the communication chip may also be an integrated chip integrating two or more of the above chip functions. For example, the communication chip may be an integrated chip integrating a Wi-Fi module, a Bluetooth module, and a GNSS module to provide Wi-Fi, Bluetooth, and GNSS functions. For another example, the communication chip may be a modem chip integrating a 2G module, a 3G module, a 4G module, and a 5G module.
[0061] Take a mobile phone as an example to explain the structure of communication equipment. Figure 3 , is a structural diagram of a communication device provided in an embodiment of the present application.
[0062] like Figure 3As shown, the communication device may include a processor 310, an antenna system 1, an antenna system 2, a mobile communication module 320, a wireless communication module 330, etc. The processor 310 may include one or more processing units, for example, the processor 310 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units may be independent devices, or they may be integrated in one or more processors.
[0063] The controller can be the nerve center and command center of the communication equipment. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching and executing instructions.
[0064] The processor 310 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may store instructions or data that the processor 310 has just used or cyclically used. If the processor 310 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 310, and thus improves the efficiency of the system.
[0065] The wireless communication function of the communication device can be implemented through the antenna system 1, the antenna system 2, the mobile communication module 320 (or called the mobile communication chip), the wireless communication module 330 (or called the wireless communication chip), etc.
[0066] Antenna system 1 and antenna system 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the communication device can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antennas. For example, antenna system 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.
[0067] The mobile communication module 320 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to communication devices. The mobile communication module 320 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 320 can receive electromagnetic waves from the antenna system 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 320 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna system 1. In some embodiments, at least some of the functional modules of the mobile communication module 320 can be set in the processor 310. In some embodiments, at least some of the functional modules of the mobile communication module 320 can be set in the same device as at least some of the modules of the processor 310.
[0068] The wireless communication module 330 can provide wireless communication solutions including wireless local area networks (WLAN) (such as Wi-Fi networks), Bluetooth, global navigation satellite systems, etc. applied to communication devices. The wireless communication module 330 can be one or more devices integrating at least one communication processing module. The wireless communication module 330 receives electromagnetic waves via the antenna system 2, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 310. The wireless communication module 330 can also receive the signal to be sent from the processor 310, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna system 2.
[0069] In some embodiments, the antenna system 1 of the communication device is coupled to the mobile communication module 320, and the antenna system 2 is coupled to the wireless communication module 330, so that the communication device 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), Bluetooth, GNSS, WLAN technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite based augmentation system (SBAS).
[0070] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the communication device. In other embodiments, the communication device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware. For example, the communication device may also include an external memory interface, an internal memory, a universal serial bus (USB) interface, a charging management module, a power management module, a battery, an audio module, a speaker, a receiver, a microphone, a headphone interface, a sensor module, a button, a motor, an indicator, a camera, a display, and a subscriber identification module (SIM) card interface, etc. Among them, the sensor module may include a pressure sensor, a gyroscope sensor, an acceleration sensor, a touch sensor, etc.
[0071] Continuing with the example of a mobile phone as a communication device, Figure 3 The wireless communication module 330 shown in the figure can be used as a communication chip and the processor 310 to form a chipset, and the mobile communication module 320 can also be used as a communication chip and the processor 310 to form a chipset.
[0072] The methods in the following embodiments can all be implemented by the above chipset.
[0073] Continuing with the example of a mobile phone as a communication device, Figure 4 A schematic diagram of a flow chart of an antenna shielding alarm method provided in an embodiment of the present application. Figure 4 As shown, the method may include the following S401-S404.
[0074] S401. The communication chip obtains an attenuation value of a signal.
[0075] The attenuation value may be used to indicate the attenuation of the strength value of the signal when it is received compared to the strength value of the signal when it is sent.
[0076] In some embodiments, the communication chip can perform air interface loopback measurement through the antenna to obtain the attenuation value of the signal. That is, the communication chip obtains the attenuation value of the air interface loopback signal through the antenna. For example, when the antenna of the communication device includes a first antenna and a second antenna respectively connected to the communication chip (for example, the first antenna and the second antenna are Figure 3 When there are two antennas in antenna system 1 shown in the figure, or two antennas in antenna system 2), the communication chip can control the first antenna to transmit a measurement signal and receive the measurement signal through the second antenna. After that, the communication chip determines the attenuation value according to the difference between the strength value of the measurement signal received by the second antenna and the strength value of the measurement signal transmitted by the first antenna. Among them, the coverage frequency of the first antenna and the coverage frequency of the second antenna need to have overlapping frequency bands to avoid the measurement signal transmitted by the first antenna from not being received due to not being within the coverage frequency of the second antenna, thereby resulting in the inability to complete the air interface loopback measurement.
[0077] It should be noted that the first antenna and / or the second antenna can be set to multiple. That is, in the air interface loopback measurement performed by the communication chip, multiple air interface loopbacks can be formed by multiple antennas. For example, the communication chip can transmit measurement signals through multiple first antennas respectively, so that one second antenna receives the measurement signals transmitted by multiple first antennas respectively, forming multiple air interface loopbacks. For example, the multiple first antennas are the first antenna 1 and the first antenna 2, and one second antenna is the second antenna 1. The communication chip transmits measurement signals through the first antenna 1 and the first antenna 2 respectively, and receives the measurement signals transmitted by the first antenna 1 and the measurement signals transmitted by the first antenna 2 respectively through the second antenna 1 to form two air interface loopbacks. Alternatively, the communication chip can transmit measurement signals through multiple first antennas respectively, so that multiple second antennas receive corresponding measurement signals correspondingly, forming multiple air interface loopbacks. For example, the multiple first antennas are the first antenna 1 and the first antenna 2, and the multiple second antennas are the second antenna 1 and the second antenna 2. The communication chip transmits measurement signals through the first antenna 1 and the first antenna 2 respectively, receives the measurement signals transmitted by the first antenna 1 through the second antenna 1, and receives the measurement signals transmitted by the first antenna 2 through the second antenna 2 to form two air interface loopbacks. Alternatively, the communication chip may transmit a measurement signal through a first antenna, so that multiple second antennas receive the measurement signal respectively, forming multiple air interface loopbacks. For example, the first antenna is the first antenna 1, and the multiple second antennas are the second antenna 1 and the second antenna 2. The communication chip transmits the measurement signal through the first antenna 1, and receives the measurement signal transmitted by the first antenna 1 through the second antenna 1 and the second antenna 2 respectively, so as to form two air interface loopbacks.
[0078] In some embodiments, when the communication chip performs air interface loopback measurement by forming multiple air interface loopbacks, the communication chip can calculate corresponding first attenuation values corresponding to different air interface loopbacks, and then determine the final attenuation value according to each first attenuation value, thereby improving the accuracy of the determined attenuation value. As an example, the communication chip can use the average value of the obtained multiple first attenuation values as the final determined attenuation value. For example, when the communication chip transmits measurement signals through the first antenna 1 and the first antenna 2 respectively, and receives the measurement signal transmitted by the first antenna 1 and the measurement signal transmitted by the first antenna 2 respectively through the second antenna 1 to form two air interface loopbacks, the communication chip determines the attenuation value 1 according to the difference between the strength value of the measurement signal transmitted by the first antenna 1 and the strength value of the measurement signal transmitted by the first antenna 1 received by the second antenna 1. The communication chip then determines the attenuation value 2 according to the difference between the strength value of the measurement signal transmitted by the first antenna 2 and the strength value of the measurement signal transmitted by the first antenna 2 received by the second antenna 1. Afterwards, the communication chip determines the final attenuation value according to the average value of the attenuation value 1 and the attenuation value 2.
[0079] In some other embodiments, when the communication chip performs air interface loopback measurement by forming multiple air interface loopbacks, the communication chip can also calculate and determine the attenuation value based on the average value of the strength value of the measurement signal transmitted by each first antenna and the average value of the strength value of the measurement signal received by each second antenna. For example, when the communication chip transmits measurement signals through the first antenna 1 and the first antenna 2 respectively, receives the measurement signal transmitted by the first antenna 1 through the second antenna 1, and receives the measurement signal transmitted by the first antenna 2 through the second antenna 2 to form two air interface loopbacks, the communication chip calculates the average value of the strength value of the measurement signal transmitted by the first antenna 1 and the average value of the strength value of the measurement signal transmitted by the first antenna 2 (such as called the first average value). Then calculate the average value of the strength value of the measurement signal received by the second antenna 1 and the strength value of the measurement signal received by the second antenna 2 (such as called the second average value). Afterwards, the communication chip calculates the attenuation value based on the difference between the first average value and the second average value.
[0080] For example, Figure 5 A schematic diagram of the composition of a wireless communication subsystem provided in an embodiment of the present application. Figure 5 As shown, the wireless communication subsystem includes a communication chip 500, a switch (switch, SW) and an antenna (Ant). Specifically, the communication chip 500 is a Wi-Fi / Bluetooth / GNSS chip, that is, the communication chip 500 integrates a Bluetooth module 501, a Wi-Fi module 502, and a GNSS module 503. Among them, the transmitting and receiving channel (BT_TRX) of the Bluetooth module 501 is connected to Ant0 through SW1, and SW1 is connected to Ant1 through SW2. The transmitting and receiving channel (Wi-Fi_TRX) 0 of the Wi-Fi module 502 is connected to Ant1 through SW2, and the Wi-Fi_TRX1 of the Wi-Fi module 502 is connected to Ant2 and Ant3 through SW3. The transmitting channel (GNSS_TX) and the first receiving channel (GNSS_L1RX) of the GNSS module 503 are connected to Ant4 through SW4, and the second receiving channel (GNSS_L5RX) is connected to Ant5. It should be noted that the communication chip 500 can transmit and receive signals from the corresponding connected antenna through the transmitting and receiving channels, can transmit signals from the corresponding connected antenna through the transmitting channel, and can receive signals from the corresponding connected antenna through the receiving channel.
[0081] by Figure 5As an example, when the communication chip 500 is idle in the Wi-Fi service, the Bluetooth module 501 of the communication chip generates a certain intensity, such as a single tone signal or a modulated signal of a first intensity value as a measurement signal. The Bluetooth module 501 of the communication chip 500 controls SW1 to transmit the measurement signal from Ant0 (such as, Ant0 can be the first antenna in the embodiment of the present application). Then the Wi-Fi module 502 of the communication chip 500 controls SW3 to receive the measurement signal from Ant2 (such as, Ant2 can be the second antenna in the embodiment of the present application), and then the Wi-Fi module 502 of the communication chip 500 measures the intensity value of the received measurement signal, such as, obtaining a second intensity value. The Wi-Fi module 502 of the communication chip 500 can obtain a first intensity value from the Bluetooth module 501, and calculate the attenuation value of the measurement signal according to the first intensity value and the second intensity value, such as the difference between the second intensity value and the first intensity value can be determined as the attenuation value of the measurement signal, thereby completing the air interface loopback measurement.
[0082] Optionally, a certain intensity, such as a single tone signal or a modulated signal of a first intensity value, can also be generated by the Bluetooth module 501 of the communication chip 500 as a measurement signal. The Bluetooth module 501 of the communication chip 500 controls SW1 and SW2 to transmit the measurement signal from Ant0 and Ant1 (such as, Ant0 and Ant1 can be the first antenna in the embodiment of the present application). Then the Wi-Fi module 502 of the communication chip 500 controls SW3 to receive the measurement signals transmitted from Ant0 and Ant1 respectively from Ant2, forming two air interface loopbacks. After that, the Wi-Fi module 502 of the communication chip 500 measures the intensity value of the measurement signal transmitted by the received Ant0, such as, obtaining the second intensity value, and measures the intensity value of the measurement signal transmitted by the received Ant1, such as, obtaining the third intensity value. The Wi-Fi module 502 of the communication chip 500 can obtain the first intensity value from the Bluetooth module 501, determine the difference between the first intensity value and the second intensity value as the first attenuation value, and determine the difference between the first intensity value and the third intensity value as the second attenuation value. Finally, a final attenuation value is determined according to an average value of the first attenuation value and the second attenuation value, thereby completing the air interface loopback measurement.
[0083] For another example, the GNSS module 503 of the communication chip 500 generates a certain intensity, such as a single tone signal or a modulated signal of a first intensity value as a measurement signal. The GNSS module 503 of the communication chip 500 controls SW4 to transmit the measurement signal from Ant4 (e.g., Ant4 can be the first antenna in the embodiment of the present application). Then the GNSS module 503 of the communication chip 500 receives the measurement signal from Ant5 (e.g., Ant5 can be the second antenna in the embodiment of the present application), and then the GNSS module 503 of the communication chip 500 measures the intensity value of the received measurement signal, such as obtaining a second intensity value. The GNSS module 503 of the communication chip 500 can determine the difference between the first intensity value and the second intensity value as the attenuation value of the measurement signal, thereby completing the air interface loopback measurement.
[0084] It should be noted that the communication chip can also be an independently set Wi-Fi chip, Bluetooth chip or GNSS chip, etc. The specific method of implementing the air interface loopback measurement can refer to the above Figure 5 The air interface loopback measurement process of the communication chip shown is not described here.
[0085] For example, Figure 6 A schematic diagram of another wireless communication subsystem provided in an embodiment of the present application. Figure 6 As shown, the wireless communication subsystem includes a communication chip 600, which is a 4G LTE / 5G NR modulation and demodulation chip integrated with a 4G long term evolution (LTE) module 601 and a 5G new radio (NR) module 602. Among them, the transmission channel (TRX) 1 and the receiving channel (DRX) 1 of the 4G LTE module 601 are connected to the antenna (Ant) 0 and Ant1 through a double-pole double-throw switch (DPDT) 1. TRX2 and DRX2 of the 4G LTE module 601 are connected to Ant2 and a switch (SW) through DPDT2, and SW is connected to Ant3. TRX2 and DRX2 of the 5G NR module 602 are connected to Ant4 and a switch (SW) through DPDT3. TRX1 and DRX1 of the 5G NR module 602 are connected to Ant5 and Ant6 through DPDT4. It should be noted that the communication chip 600 can transmit signals from the corresponding connected antenna through the transmitting channel, and receive signals from the corresponding connected antenna through the receiving channel.
[0086] by Figure 6Taking the communication chip 600 shown in as an example, a single tone signal or a modulated signal of a certain intensity, such as a first intensity value, can be generated as a measurement signal by the 4G LTE module 601 of the communication chip 600. The 4G LTE module 601 of the communication chip 600 controls DPDT1 so that the measurement signal is transmitted from Ant0 (such as, Ant0 can be the first antenna in the embodiment of the present application) and Ant1 (such as, Ant1 can be the first antenna in the embodiment of the present application). Then the 4G LTE module 601 of the communication chip 600 can control DPDT2 to receive the measurement signals transmitted from Ant0 and Ant1 respectively from Ant2 (such as, Ant2 can be the second antenna in the embodiment of the present application), forming two air interface loopbacks. Afterwards, the 4G LTE module 601 of the communication chip 600 measures the intensity value of the measurement signal transmitted by the received Ant0, such as obtaining the second intensity value, and measures the intensity value of the measurement signal transmitted by the received Ant1, such as obtaining the third intensity value. The 4G LTE module 601 of the communication chip 600 may determine the difference between the first strength value and the second strength value as the first attenuation value, and determine the difference between the first strength value and the third strength value as the second attenuation value. Finally, the final attenuation value is determined according to the average value of the first attenuation value and the second attenuation value, thereby completing the air interface loopback measurement.
[0087] For another example, a single tone signal or a modulated signal with a certain intensity, such as a first intensity value, can be generated as a measurement signal by the 5G NR module 602 of the communication chip 600. The 5G NR module 602 of the communication chip 600 controls DPDT3 to transmit the measurement signal from Ant4. Then the 5GNR module 602 of the communication chip 600 controls DPDT4 to receive the measurement signal from Ant5 and Ant6 respectively, forming two air interface loopbacks. After that, the 5G NR module 602 of the communication chip 600 measures the intensity value of the measurement signal received from Ant5, such as obtaining a second intensity value, and measures the intensity value of the measurement signal received from Ant6, such as obtaining a third intensity value. The 5GNR module 602 of the communication chip 600 can determine the difference between the first intensity value and the second intensity value as the first attenuation value, and determine the difference between the first intensity value and the third intensity value as the second attenuation value. Finally, the final attenuation value is determined according to the average value of the first attenuation value and the second attenuation value, thereby completing the air interface loopback measurement.
[0088] The communication chip may also be an independently configured 4G LTE chip, 5G NR chip, etc. The specific method for implementing the air interface loopback measurement may refer to the above Figure 6 The air interface loopback measurement process of the communication chip shown is not described here.
[0089] It should be noted that the above-mentioned first strength value, second strength value and third strength value can be RSSI values corresponding to the measurement signal respectively. Accordingly, the communication chip can obtain the RSSI value by performing RSSI detection on the received measurement signal, and there is no limitation here.
[0090] S402: The communication chip determines that the antenna is blocked according to the attenuation value.
[0091] In some possible implementations, the communication chip may periodically obtain the attenuation value of the signal. Then, the attenuation value obtained multiple times is compared with the attenuation calibration value within a preset time length to determine whether the antenna is blocked. For example, if the difference between the attenuation value and the attenuation calibration value is continuously greater than a preset threshold value (such as a first preset threshold value) within a preset time length (such as a first preset time length), it can be determined that the antenna is blocked. For example, when the difference between the attenuation value and the attenuation calibration value obtained each time within a certain period of time (such as 8 hours) is greater than a preset threshold value (such as 5dB), it can be determined that the antenna is blocked.
[0092] Optionally, the communication chip determines that the antenna is blocked based on the attenuation value, and can also be determined that the antenna is blocked if the number of times the difference between the attenuation value and the attenuation calibration value is greater than a preset threshold within a preset time length is greater than a preset number of times. For example, if the difference between the attenuation value and the attenuation calibration value obtained 6 times within a certain period of time (such as 8 hours) is greater than a preset threshold (such as 5dB), it can be determined that the antenna is blocked.
[0093] Among them, the reasons why the antenna is blocked may include that the antenna is blocked by a protective cover, or that the antenna is blocked due to an abnormal grip of the user. The communication chip can also determine the reason why the antenna is blocked based on the duration that the difference between the attenuation value and the attenuation calibration value is greater than a preset threshold. For example, when the difference between the attenuation value and the attenuation calibration value obtained each time within a certain period of time (such as 8 hours) is greater than a preset threshold (such as 5dB), it can be determined that the antenna may be blocked by the protective cover. For another example, when the difference between the attenuation value and the attenuation calibration value obtained before a preset time length (such as a second preset time length) is less than a preset threshold (such as a second preset threshold), the communication device determines whether the difference between multiple attenuation values and the attenuation calibration values obtained continuously within the second preset time length is greater than the second preset threshold, and if so, it is determined that the antenna is blocked. For example, if the difference between the attenuation values obtained recently (such as the attenuation values obtained within the last 5 minutes) and the attenuation calibration value is greater than a preset threshold (such as 20dB), and the difference between the attenuation value obtained previously and the attenuation calibration value is less than the preset threshold, then it can be determined in combination with the status indication of the communication device (such as the horizontal screen display indication of the mobile phone) that the antenna is blocked due to the user's abnormal grip.
[0094] It should be noted that in the above example, if the difference between the attenuation value and the attenuation calibration value is equal to the preset threshold, it can be determined that the antenna is blocked, or it can be determined that the antenna is not blocked, and there is no restriction here. Among them, the attenuation calibration value can be the attenuation value of the signal obtained when the antenna is not blocked (such as when the communication device is bare). For example, when the communication device is bare, the attenuation value of the measured signal is determined by air interface loopback measurement.
[0095] S403: The communication chip instructs the processor to output a warning message to the user indicating that the antenna is blocked.
[0096] In some possible implementations, the warning information may include the reason why the antenna is blocked, determined by the communication chip. The determination of the reason why the antenna is blocked may refer to the description in S402.
[0097] S404: The processor controls the communication device to output alarm information.
[0098] For example, the warning information output by the communication device may be an icon indicating that the antenna is blocked, and / or a pop-up message from a user indicating that the antenna is blocked. For example, when the processor receives the indication information, the processor controls the communication device to display a pop-up message. For example, the pop-up message may be "the mobile phone antenna is blocked" and the like.
[0099] In some possible implementations, the processor can also determine which antennas are blocked based on which communication chip the received indication comes from. Then, based on the reasons why the antennas are blocked as indicated by the communication chip and the determined blocked antennas, an alarm message is output to prompt the user which antennas are blocked and why. For example, when the communication chip indicates that the antenna is blocked by the protective cover, and the indication is from Figure 5 When the Wi-Fi module 502 of the communication chip 500 sends, the processor can determine that the Wi-Fi antenna is blocked by the protective cover. The processor can control the communication device to display a pop-up message. Figure 7 As shown, the pop-up message 701 may be "The Wi-Fi antenna is detected to be blocked for a long time, please check the shielding effect of the mobile phone case!". For another example, when the communication chip indicates that the antenna is blocked due to an abnormal grip, and the indication is Figure 5 When the Wi-Fi module 502 of the communication chip 500 sends, the processor can determine that the Wi-Fi antenna is blocked by the grip posture. The processor can control the communication device to display a pop-up message. Figure 8 As shown, the pop-up message 801 may be “The Wi-Fi antenna is detected to be blocked for a short time, please check the impact of the grip posture!”.
[0100] For example, when the communication chip indicates that the antenna is blocked by the protective cover, and the indication is Figure 5When the Wi-Fi module 502 of the communication chip 500 sends, the processor may determine that the Wi-Fi antenna is blocked by the protective cover. The processor may control the communication device to display an icon indicating that the Wi-Fi antenna is blocked. For example, before the processor of the mobile phone receives the instruction of the communication chip, Fig. 9 As shown in (a) of FIG. 1 , a first icon 901 indicating a Wi-Fi signal is displayed in the mobile phone status bar. When the mobile phone processor receives the instruction from the communication chip, as shown in FIG. Fig. 9 As shown in (b) in FIG. 8 , a second icon 902 is displayed in the mobile phone status bar, and the second icon 902 is used to indicate that the Wi-Fi antenna is blocked.
[0101] By adopting the above method, the communication chip can determine whether the communication device is blocked according to the attenuation value of the signal when receiving the signal, thereby instructing the processor of the communication device to control the communication device to output an alarm message to remind the user that the antenna is blocked. The user can find out that the antenna of the communication device is blocked according to the alarm message, so as to remove the blocking object (such as a protective cover, hands, etc.) in time, thereby improving the user experience.
[0102] Corresponding to the method in the above embodiment, the embodiment of the present application further provides a communication chip. The communication chip can be applied to a communication device to implement the functions of the communication chip in the method in the above embodiment. The functions of the communication chip can be implemented by hardware. It includes one or more modules corresponding to the above functions. For example, Fig.10 A schematic diagram of the structure of a communication chip is shown. Fig.10 As shown, the communication chip includes: a control module 1001, a transceiver module 1002, etc., wherein the transceiver module 1002 may also include a baseband module 1003 and a radio frequency module 1004, etc.
[0103] Among them, the control module 1001 can be used to obtain the attenuation value of the air interface loopback signal through the antenna; determine whether the antenna is blocked according to the attenuation value; if it is determined that the antenna is blocked, instruct the processor to output an alarm message to the user indicating that the antenna is blocked.
[0104] In a possible implementation, the antenna may include a first antenna and a second antenna; the transceiver module 1002 may be used to transmit a measurement signal through the first antenna and receive the measurement signal looped back to the second antenna according to the control of the control module; and measure the strength value of the looped measurement signal. The control module 1001 may be specifically used to determine the attenuation value according to the strength value of the measurement signal and the strength value of the looped measurement signal.
[0105] In another possible implementation, the transceiver module 1002 can implement its functions through the baseband module 1003 and the radio frequency module 1004. For example, the baseband module 1003 can be used to generate a measurement signal according to the control of the control module 1001. The radio frequency module 1004 can be used to transmit the measurement signal through the first antenna and receive the measurement signal looped back to the second antenna. The baseband module 1003 can also be used to measure the strength value of the looped measurement signal.
[0106] For example, Figure 5 As an example, the communication chip 500 shown in FIG. Fig.11 As shown, the communication chip may include a B-central processing unit (CPU) 1101 (i.e., a first control module) and a W-CPU 1102 (i.e., a second control module) connected to each other. Also, a GNSS baseband module 1103 and a GNSS radio frequency module 1104 connected to each other, a Bluetooth baseband module 1105 and a Bluetooth radio frequency module 1106 connected to each other, and a Wi-Fi baseband module 1107 and a Wi-Fi radio frequency module 1108 connected to each other. The Bluetooth baseband module 1105 and the GNSS baseband module 1103 are respectively connected to the B-CPU 1101, and the Wi-Fi baseband module 1107 is connected to the W-CPU 1102. The B-CPU 1101, the Bluetooth baseband module 1105, and the Bluetooth radio frequency module 1106 may be formed as follows. Figure 5 The Bluetooth module 501 of the communication chip 500 shown in FIG. 1101, the GNSS baseband module 1103 and the GNSS radio frequency module 1104 can be composed as follows: Figure 5 The GNSS module 503 of the communication chip 500 shown in FIG. 1104 is a GNSS module 503 of the communication chip 500 shown in FIG. 1105 . The W-CPU 1102, the Wi-Fi baseband module 1107 and the Wi-Fi radio frequency module 1108 can be composed as shown in FIG. Figure 5 The Wi-Fi module 502 of the communication chip 500 shown in the figure can be realized by the communication chip Figure 5 For example, when the Wi-Fi service is idle, the B-CPU 1101 can control the Bluetooth baseband module 1105 to generate a single tone signal or a modulated signal of a certain strength, such as a first strength, as a measurement signal. The Bluetooth RF module 1106 can amplify the measurement signal to the RF band and then transmit the measurement signal to the RF band. Figure 5 The Wi-Fi radio module 1108 can then transmit the Ant0 as shown. Figure 5Ant2 shown receives the measurement signal and converts the measurement signal to a baseband frequency band. The Wi-Fi baseband module 1107 can measure the strength value of the measurement signal in the baseband frequency band, such as obtaining a second strength value. Afterwards, the W-CPU 1102 can obtain the first strength value from the B-CPU 1101 and obtain the second strength value from the Wi-Fi baseband module 1107. The first strength value and the second strength value are converted to the difference in the strength value after the gain generated by the Bluetooth RF module 1106 and the Wi-Fi RF module 1108 are determined as the attenuation value of the measurement signal, thereby completing the air interface loopback measurement.
[0107] For example, Figure 6 As shown in the communication chip 600 as an example, Fig.12 As shown, the communication chip may include a cellular processor 1201 (i.e., a control module), a baseband module, a radio frequency module (which may be integrated into one module, i.e., a baseband + radio frequency module 1202), a 4G power / low noise amplifier (4G external PA / external LNA, 4G ePA / eLNA) 1203, and a 5G power / low noise amplifier (5G external PA / external LNA, 5G ePA / eLNA) 1204. The cellular processor 1201, the baseband + radio frequency module 1202, and the 4G ePA / eLNA 1203 may be formed as follows Figure 6 The 4G LTE module 601 of the communication chip 600 shown in FIG. 1 can be composed of a cellular processor 1201, a baseband + RF module 1202, and a 5G ePA / eLNA 1204. Figure 6 The 5G NR module 602 of the communication chip 600 shown in FIG. Figure 6 For example, the cellular processor 1201 can control the baseband module in the baseband + RF module 1202 to generate a single tone signal or a modulated signal with a certain strength, such as a first strength value, as a measurement signal, and the RF module amplifies the measurement signal to the RF frequency band. Then the 4G ePA / eLNA 1203 further amplifies the measurement signal and transmits it from the 4G ePA / eLNA 1203 to the 4G ePA / eLNA 1203. Figure 6 Ant0 and Ant1 are transmitted respectively. Then 4G ePA / eLNA 1203 can be used as shown in FIG. Figure 6The shown Ant2 receives the measurement signals transmitted from Ant0 and Ant1 respectively, forming two air interface loopbacks. The RF module in the baseband + RF module 1202 can convert the respectively received measurement signals to the baseband frequency band, and then the baseband module measures the strength values of the two received measurement signals respectively, such as obtaining the second strength value and the third strength value. The cellular processor 1201 can obtain the second strength value and the third strength value, and obtain the first attenuation value according to the difference between the first strength value and the second strength value, and obtain the second attenuation value according to the difference between the first strength value and the third strength value. Finally, the final attenuation value is determined according to the average value of the first attenuation value and the second attenuation value, thereby completing the air interface loopback measurement.
[0108] In another possible implementation, the control module 1001 may be specifically configured to periodically obtain a plurality of attenuation values according to a preset period; and determine whether the antenna is blocked according to the obtained plurality of attenuation values.
[0109] In another possible implementation, the control module 1001 can be specifically used to determine whether the difference between the attenuation value and the attenuation calibration value is greater than a first preset threshold within a first preset time period; if so, it is determined that the antenna is blocked; if not, it is determined that the antenna is not blocked.
[0110] In another possible implementation, the control module 1001 may be specifically used to determine whether the differences between multiple attenuation values and the attenuation calibration value obtained continuously within the second preset time period are all greater than the second preset threshold value when the difference between the attenuation value obtained before the second preset time period and the attenuation calibration value is less than the second preset threshold; if so, it is determined that the antenna is blocked; if not, it is determined that the antenna is not blocked.
[0111] In another possible implementation, the control module 1001 may be specifically configured to determine, based on status indication information, that the antenna is blocked due to an abnormal gripping posture, where the status indication information is used to indicate that the communication device is in a horizontal screen state.
[0112] It should be understood that the division of units or modules (hereinafter referred to as units) in the above communication chip is only a division of logical functions, and in actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated.
[0113] For example, each unit may be a separately established processing element, or may be integrated into a chip.
[0114] In one example, the unit in the above communication chip can be one or more integrated circuits configured to implement the above method, such as: one or more ASICs, or, one or more DSPs, or, one or more FPGAs, or a combination of at least two of these integrated circuit forms.
[0115] For another example, these units can be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0116] The embodiment of the present application may also provide a communication device, which may include: a processor, and a memory for storing instructions executable by the processor. When the processor is configured to execute the above instructions, the communication device implements the antenna blocking alarm method as described in the above embodiment. The memory may be located inside the communication device or outside the communication device.
[0117] An embodiment of the present application also provides a computer program product, including computer instructions executed by a communication device, such as the above-mentioned communication device.
[0118] The embodiment of the present application may also provide a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a communication device, the communication device implements the antenna shielding alarm method as described in the above method embodiment.
[0119] 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. An antenna blocking alarm method, characterized in that: include: The communication chip obtains the attenuation value of the air interface loopback signal through the antenna, and the antenna includes: a first antenna, and a second antenna; the first antenna is used to transmit a measurement signal, and the second antenna is used to receive the measurement signal transmitted by the first antenna, thereby forming an air interface loopback; the air interface loopback signal is a single tone signal or a modulated signal; The communication chip determines whether the antenna is blocked according to the attenuation value; In the case where it is determined that the antenna is blocked, the communication chip instructs the processor to output warning information to the user indicating that the antenna is blocked, the warning information includes a reason why the antenna is blocked, and the reason why the antenna is blocked is determined according to the difference between the attenuation value and the attenuation calibration value, the duration of the preset threshold, and the status indication of the communication device; The communication chip obtains the attenuation value of the air interface loopback signal through the antenna, including: The communication chip transmits a measurement signal through the first antenna, and receives the measurement signal looped back to the second antenna; The communication chip determines the attenuation value according to a difference between a strength value of the measurement signal and a strength value of the looped-back measurement signal.
2. The method according to claim 1, characterized in that The communication chip includes a Bluetooth module and a wireless fidelity Wi-Fi network module. The communication chip transmits a measurement signal through the first antenna and receives the measurement signal looped back to the second antenna, including: The Bluetooth module transmits the measurement signal through the first antenna; The Wi-Fi network module receives the measurement signal looped back to the second antenna; The Wi-Fi network module determines the attenuation value according to the strength value of the measurement signal and the strength value of the looped-back measurement signal.
3. The method according to claim 1 or 2, characterized in that: The communication chip obtains the attenuation value of the air interface loopback signal through the antenna, including: The communication chip periodically obtains the plurality of attenuation values according to a preset period; The communication chip determines whether the antenna is blocked according to the attenuation value, comprising: The communication chip determines whether the antenna is blocked according to the acquired multiple attenuation values.
4. The method according to claim 1 or 2, characterized in that: The communication chip determines whether the antenna is blocked according to the attenuation value, including: The communication chip determines whether the difference between the attenuation value and the attenuation calibration value is greater than a first preset threshold within a first preset time period; If yes, the communication chip determines that the antenna is blocked; If not, the communication chip determines that the antenna is not blocked.
5. The method according to claim 3, characterized in that: The communication chip determines whether the antenna is blocked according to the attenuation value, including: When the difference between the attenuation value obtained before the second preset time period and the attenuation calibration value is less than the second preset threshold, the communication chip determines whether the differences between the multiple attenuation values and the attenuation calibration value obtained continuously within the second preset time period are all greater than the second preset threshold; If yes, the communication chip determines that the antenna is blocked; If not, the communication chip determines that the antenna is not blocked.
6. The method according to claim 5, characterized in that The communication chip determines that the antenna is blocked, including: The communication chip determines that the antenna is blocked due to an abnormal grip posture based on the status indication information, and the status indication information is used to indicate that the communication device is in a horizontal screen state.
7. An antenna blocking alarm method, characterized in that: include: The communication device obtains the attenuation value of the air interface loopback signal through an antenna, wherein the antenna includes: a first antenna and a second antenna; the first antenna is used to transmit a measurement signal, and the second antenna is used to receive the measurement signal transmitted by the first antenna, thereby forming an air interface loopback; the air interface loopback signal is a single tone signal or a modulated signal; The communication device determines whether the antenna is blocked according to the attenuation value; In the case where it is determined that the antenna is blocked, the communication device outputs warning information to the user to prompt that the antenna is blocked, the warning information includes a reason why the antenna is blocked, and the reason why the antenna is blocked is determined according to the difference between the attenuation value and the attenuation calibration value, the duration of the preset threshold, and the status indication of the communication device; The communication device obtains the attenuation value of the air interface loopback signal through the antenna, including: The communication device transmits a measurement signal through the first antenna, and receives the measurement signal looped back to the second antenna; The communication device determines the attenuation value according to a difference between a strength value of the measurement signal and a strength value of the looped-back measurement signal.
8. The method according to claim 7, characterized in that The communication device obtains the attenuation value of the air interface loopback signal through the antenna, including: The communication device periodically obtains the plurality of attenuation values according to a preset period; The communication device determining, according to the attenuation value, whether the antenna is blocked comprises: The communication device determines whether the antenna is blocked according to the acquired multiple attenuation values.
9. The method according to claim 7, characterized in that: The communication device determines whether the antenna is blocked according to the attenuation value, including: The communication device determines whether the difference between the attenuation value and the attenuation calibration value is greater than a first preset threshold within a first preset time period; If so, the communication device determines that the antenna is blocked; If not, the communication device determines that the antenna is not blocked.
10. The method according to claim 8, characterized in that The communication device determines whether the antenna is blocked according to the attenuation value, including: In a case where the difference between the attenuation value obtained before a second preset time period and the attenuation calibration value is less than a second preset threshold, the communication device determines whether the differences between a plurality of attenuation values obtained continuously and the attenuation calibration value within the second preset time period are all greater than the second preset threshold; If so, the communication device determines that the antenna is blocked; If not, the communication device determines that the antenna is not blocked.
11. The method according to claim 10, characterized in that The communication device determines that the antenna is blocked, including: The communication device determines, based on status indication information, that the antenna is blocked due to an abnormal gripping posture, where the status indication information is used to indicate that the communication device is in a horizontal screen state.
12. The method according to claim 7, characterized in that The communication device outputs warning information to the user indicating that the antenna is blocked, including: The communication device displays a user interface; the user interface includes: an icon for indicating that the antenna is blocked, and / or a pop-up message for indicating that the antenna is blocked.
13. The method according to claim 7, characterized in that The method further comprises: The communication device displays a first icon, wherein the first icon is used to indicate the strength of a signal received by the communication device; The communication device outputs warning information to the user indicating that the antenna is blocked, including: The communication device updates the first icon displayed to be a second icon, where the second icon is used to indicate that the antenna is blocked.
14. A communication chip, characterized in that: include: A control module, used to obtain the attenuation value of an air interface loopback signal through an antenna, the antenna comprising: a first antenna, and a second antenna; the first antenna is used to transmit a measurement signal, and the second antenna is used to receive the measurement signal transmitted by the first antenna, thereby forming an air interface loopback; the air interface loopback signal is a single-tone signal or a modulated signal; determining whether the antenna is blocked according to the attenuation value; in the case where it is determined that the antenna is blocked, instructing a processor to output an alarm message to a user indicating that the antenna is blocked, the alarm message including a reason why the antenna is blocked, and the reason why the antenna is blocked is determined according to a difference between the attenuation value and an attenuation calibration value, a duration of a preset threshold, and a status indication of a communication device; The communication chip also includes a transceiver module; The transceiver module is used to transmit a measurement signal through the first antenna according to the control of the control module, and receive the measurement signal looped back to the second antenna; and measure the strength value of the looped measurement signal; The control module is specifically configured to determine the attenuation value according to a difference between the strength value of the measurement signal and the strength value of the looped measurement signal.
15. The communication chip according to claim 14, characterized in that: The transceiver module includes a baseband module and a radio frequency module; The baseband module is used to generate the measurement signal according to the control of the control module; The radio frequency module is used to transmit the measurement signal through the first antenna and receive the measurement signal looped back to the second antenna; The baseband module is also used to measure the strength value of the looped-back measurement signal.
16. The communication chip according to claim 15, characterized in that: The control module includes a first control module and a second control module, the baseband module includes a Bluetooth baseband module and a Wireless Fidelity Wi-Fi baseband module, and the radio frequency module includes a Bluetooth radio frequency module and a Wi-Fi radio frequency module; The Bluetooth baseband module is used to generate the measurement signal according to the control of the first control module; The Bluetooth radio frequency module is used to transmit the measurement signal through the first antenna; The Wi-Fi radio frequency module is used to receive the measurement signal looped back to the second antenna; The Wi-Fi baseband module is used to measure the strength value of the looped-back measurement signal; The second control module is used to determine the attenuation value according to the strength value of the measurement signal and the strength value of the looped measurement signal.
17. The communication chip according to any one of claims 14 to 16, characterized in that: The control module is specifically used to periodically obtain a plurality of the attenuation values according to a preset period; and determine whether the antenna is blocked according to the obtained plurality of attenuation values.
18. The communication chip according to any one of claims 14 to 16, characterized in that: The control module is specifically used to determine whether the difference between the attenuation value and the attenuation calibration value is greater than a first preset threshold value within a first preset time period; if so, determining that the antenna is blocked; If not, it is determined that the antenna is not blocked.
19. The communication chip according to claim 17, characterized in that: The control module is specifically configured to determine whether the differences between the attenuation value and the attenuation calibration value obtained before the second preset time length are all greater than the second preset threshold value when the difference between the attenuation value and the attenuation calibration value obtained before the second preset time length is less than the second preset threshold value; if so, determine that the antenna is blocked; If not, it is determined that the antenna is not blocked.
20. The communication chip according to claim 19, characterized in that: The control module is specifically used to determine that the antenna is blocked due to an abnormal holding posture according to the status indication information, and the status indication information is used to indicate that the communication device is in a horizontal screen state.
21. A chipset, characterized in that: Applicable to a communication device having an antenna; wherein the chipset comprises: a communication chip according to any one of claims 14 to 20, and a processor; The processor is used to control the communication device to output warning information to the user indicating that the antenna is blocked according to the instruction of the communication chip.
22. A communication device, characterized in that: Comprising an antenna and a chipset as claimed in claim 21.
23. A computer-readable storage medium having computer program instructions stored thereon; characterized in that: When the computer program instructions are executed by a communication device, the communication device implements the method according to any one of claims 7 to 13.
24. A computer program product, characterized in that The method comprises a computer readable code, and when the computer readable code is executed in a communication device, the communication device is caused to implement the method according to any one of claims 7 to 13.
Citation Information
Patent Citations
Method and device for prompting signal intensity of terminal
CN105959464A
Method for outputting prompt message and terminal device
CN106911848A
Communication quality detection method, device and equipment
CN107690823A
Antenna beam detecting system and method and mobile terminal
CN109391307A