Antenna control method and terminal device

By combining sensor and service information to identify the scene and posture of the terminal device, and adjusting the antenna state to match the usage conditions, the problem of the antenna reception performance of the terminal device deteriorating under different orientations is solved, and stable antenna performance and positioning capability are achieved.

WO2026020951A1PCT designated stage Publication Date: 2026-01-29HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/095849
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-24
Filing Date
2025-05-19
Publication Date
2026-01-29

AI Technical Summary

Technical Problem

The problem of deteriorating antenna reception performance of terminal devices under different orientations, especially when the attitude of the terminal device changes, leads to a decrease in GPS satellite positioning capability.

Method used

By combining sensor information and service information from the terminal device, the system identifies the scene and attitude of the device and controls the antenna device to adjust from the first antenna state to the second antenna state to match the usage scene and attitude, thereby ensuring the stability of antenna performance and reception effect.

Benefits of technology

This effectively avoids the high power consumption problem caused by frequent antenna state switching, while improving antenna reception performance and ensuring stable positioning capability of terminal devices in different scenarios and postures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025095849_29012026_PF_FP_ABST
    Figure CN2025095849_29012026_PF_FP_ABST
Patent Text Reader

Abstract

An antenna control method and a terminal device, which relate to the technical field of positioning, and are used for solving the problem of degraded antenna receiving performance when the terminal device is in different orientations. The method comprises: on the basis of sensor information of a terminal device and / or service information of the terminal device, indicating a scenario where the terminal device is located; on the basis of the sensor information of the terminal device, indicating the orientation of the terminal device; and on the basis of the scenario where the terminal device is located and the orientation, controlling an antenna apparatus to adjust from a first antenna state to a second antenna state. The adjustment of an antenna state is comprehensively determined by means of combining a scenario and an orientation, which makes the adjusted antenna state match the usage scenario and orientation of a terminal device, and thus not only can the antenna performance of an adjusted antenna apparatus be improved, the high power consumption caused by frequent adjustments of the antenna state can also be avoided, and the problem of antenna receiving performance degradation caused by adjusting the antenna state only on the basis of the orientation of the terminal device can also be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Antenna control method and terminal device

[0001] Cross-reference to Related Applications

[0002] This application claims priority to the Chinese Patent Application No. 202411002139.X, filed on July 24, 2024, and entitled "Antenna Control Method and Terminal Device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0003] The present application relates to the field of communication technology, and in particular, to an antenna control method and a terminal device. BACKGROUND

[0004] Currently, a development focus in the field of wireless communication is global mobile communication, and an important component of global mobile communication is satellite communication. Satellite communication plays an irreplaceable role in some important fields, such as space communication, aviation communication, maritime communication, etc. Satellite communication has characteristics such as long communication distance, large coverage area, and flexible networking, and can provide services for both fixed terminals and various mobile terminals.

[0005] Taking global positioning system (GPS) services as an example, the signal of a GPS satellite is sent downward from the GPS satellite to a terminal device. However, in the process of using the terminal device, if the direction of the terminal device changes, the strength of the GPS signal received by the terminal device may also change. For example, referring to FIG. 1, assuming that the antenna pattern of the terminal device is in the direction X1 of the vertical screen upward, when the terminal device is in the vertical screen upward posture, the antenna pattern of the terminal device is in the direction X1 of the GPS satellite, and the antenna receiving performance of the terminal device is the best. However, if the terminal device changes to a horizontal screen posture at a certain period of time, the antenna pattern of the terminal device is no longer in the direction X1 of the satellite, and the antenna receiving performance of the terminal device at this period of time becomes poor, which leads to the poor positioning ability of the terminal device.

[0006] Therefore, how to solve the problem of poor antenna receiving performance of the terminal device at different orientations is an urgent problem in GPS satellite positioning. SUMMARY

[0007] The present application provides an antenna control method and a terminal device to solve the problem of poor antenna receiving performance of the terminal device at different orientations.

[0008] In a first aspect, the present application provides an antenna control method, which is applied to a terminal device, the terminal device comprising an antenna device, the antenna device comprising a first antenna state and a second antenna state, the first antenna state and the second antenna state having different antenna patterns. The method can be executed by the terminal device or a module (such as a processor, a chip or a chip system) in the terminal device, and comprises: indicating a scenario in which the terminal device is located according to sensor information of the terminal device and / or service information of the terminal device, indicating a posture of the terminal device according to the sensor information of the terminal device, and controlling the antenna device to adjust from the first antenna state to the second antenna state based on the scenario in which the terminal device is located and the posture of the terminal device.

[0009] Based on the above method, the antenna state can be adjusted according to the scenario and the posture of the terminal device, so that the adjusted antenna state matches the use scenario and the posture of the terminal device. For example, when the terminal device is in the two scenarios of the front seat and the back seat of a vehicle, the best antenna pattern direction may be different when the posture of the terminal device is consistent, and therefore the corresponding antenna state adjustment method is also different. In this way, the adjusted antenna device can have better antenna performance, high power consumption caused by frequent switching of the antenna state can be avoided, and the problem of antenna reception performance degradation caused by adjusting the antenna state according to only the posture of the terminal device can also be avoided.

[0010] In a possible design, the sensor information of the terminal device comprises one or more of the following: information collected by a pedometer in the terminal device, information collected by a touch sensor in the terminal device, information collected by a specific absorption rate sensor in the terminal device, information of the terminal device collected by a GPS, information collected by an acceleration sensor in the terminal device, information collected by a gyroscope sensor in the terminal device, and information collected by a Hall sensor of the terminal device. Based on this design, the sensor information collected by various sensors in the terminal device can be integrated to assist in identifying the scenario in which the terminal device is located, so as to improve the accuracy of scenario identification.

[0011] In the above design, the information collected by the sensor can include information directly collected by the sensor, or other information calculated or derived from the information directly collected by the sensor. For example, the information collected by the acceleration sensor can be understood as acceleration information, but the acceleration information is actually intermediate data calculated from the information collected by the acceleration sensor, and displacement information, speed information, etc. can be calculated from the acceleration information. In general, in addition to the information collected by the sensor, any information derived or calculated from the information collected by the sensor is also within the scope of the information collected by the sensor.

[0012] In a possible design, the service information of the terminal device includes data information and application (APP) information, and the data information can include, but is not limited to, wireless fidelity (WiFi) information, cellular information, and GPS information, and the APP information includes, but is not limited to, information of a video APP, information of a game APP, information of a call APP, and information of a navigation APP. For example, in one example, the service information of the terminal device can include one or more of the following: signal receiving strength of an antenna device of the terminal device, information reflected by a reflection coefficient of the antenna of the terminal device, a navigation request of a user received by a navigation APP, information of an APP of the terminal device, including video, call, or game information, channel information of the terminal device, and a communication mode of the terminal device. Based on this design, information of various data services and APP services in the terminal device can be comprehensively used to assist in identifying a scenario in which the terminal device is located, so as to improve the accuracy of scenario identification.

[0013] Similar to the information collected by the sensor, the service information can include the service information itself, or other information derived or calculated from the service information. For example, the information reflected by the reflection coefficient of the antenna of the terminal device can be understood as touch information reflected by the reflection coefficient of the antenna of the terminal device, which can be used to reflect whether a position touched by a user on a display screen blocks an antenna pattern direction of the antenna. That is, in addition to the service information itself, any information derived or calculated from the service information is also within the scope of the service information.

[0014] In a possible design, the scenario in which the terminal device is located can be indicated according to sensor information of the terminal device, and can include, but is not limited to, any one or any multiple of the following indication manners:

[0015] Indication manner one: the terminal device is in a walking scenario or a running scenario according to information collected by a pedometer in the terminal device. The information collected by the pedometer can be used to indicate the number of steps of a user carrying the terminal device, and therefore indication manner one can use the information collected by the pedometer in the terminal device to identify a scenario in which the user carries the terminal device;

[0016] Indication manner two: the terminal device is in a non-handheld scenario or a scenario in which the terminal device is held at a first position according to one or more of the following: information collected by a touch sensor in the terminal device, information collected by a specific absorption rate sensor, and information reflected by a reflection coefficient of an antenna. Indication manner two can determine a carrying manner and a carrying position of the terminal device according to touch-related information and specific absorption rate-related information, and the determined information can be used to analyze whether an antenna state to be adjusted is blocked, and then can assist the terminal device in deciding whether to adjust the antenna state and the antenna state to be finally adjusted.

[0017] The third indication mode is that when the APP currently used by the terminal device is a navigation APP, a navigation request of the user received by the navigation APP is acquired, the navigation request includes a navigation mode, the navigation mode is one of walking, riding and driving, and the terminal device is indicated to be in a walking navigation scene, a non-motor vehicle navigation scene or a vehicle navigation scene according to the navigation mode. The third indication mode can identify the use scene of the terminal device by using the navigation mode selected by the user on the navigation APP, and only needs to parse the information in the navigation request, so that the operation steps are simple and the identification speed is fast;

[0018] The fourth indication mode is that when the terminal device performs a navigation service, information of the terminal device collected by GPS is acquired, the information of the terminal device includes a moving distance of the terminal device within a first time length, a moving speed of the terminal device is determined according to the moving distance and the first time length, if the moving speed is less than or equal to a first speed, the terminal device is indicated to be in a walking navigation scene, if the moving speed is greater than the first speed and less than or equal to a second speed, the terminal device is indicated to be in a non-motor vehicle navigation scene, and if the moving speed is greater than the second speed, the terminal device is indicated to be in a vehicle navigation scene. The fourth indication mode can use the information of the terminal device automatically collected by GPS in a navigation positioning service to assist in identifying the navigation scene currently used by the terminal device;

[0019] The fifth indication mode is that according to information collected by a speed sensor in the terminal device, a speed of the terminal device is determined, if the speed of the terminal device is less than or equal to a first speed, the terminal device is indicated to be in a walking scene, if the speed of the terminal device is greater than the first speed and less than or equal to a second speed, the terminal device is indicated to be in a non-motor vehicle scene, and if the speed of the terminal device is greater than the second speed, the terminal device is indicated to be in a vehicle scene. The fifth indication mode can use the information related to the speed collected by the speed sensor in the terminal device to identify the use scene of the terminal device, so as to make up for the identification scheme in which the use scene is not indicated in the service information;

[0020] The sixth indication mode is that according to information collected by an acceleration sensor in the terminal device, a shaking degree of the terminal device is determined, if the shaking degree is less than or equal to a first threshold value within a set time length, the terminal device is indicated to be in a mounting scene, and if the shaking degree is greater than the first threshold value within the set time length, the terminal device is indicated to be in a non-mounting scene. Here, the shaking degree within the set time length can be used to represent the vibration stability, the vibration stability of the terminal device in the non-mounting scene is much smaller than that in the mounting scene, that is, the shaking degree is much larger, and therefore, the terminal device is identified to be in the mounting scene or the non-mounting scene based on the shaking degree, which can have relatively high accuracy;

[0021] In the seventh indication mode, the shaking degree of the terminal device is determined according to the information collected by the acceleration sensor in the terminal device. If the shaking degree is less than or equal to a second threshold value within a set time length, it is indicated that the terminal device is in the vehicle-mounted scenario. If the shaking degree is greater than the second threshold value and less than or equal to a first threshold value within the set time length, it is indicated that the terminal device is in the non-motor vehicle-mounted scenario. If the shaking degree is greater than the first threshold value within the set time length, it is indicated that the terminal device is in the non-mounted scenario. The seventh indication mode can set different threshold values of the shaking degree for the vehicle-mounted scenario and the non-motor vehicle-mounted scenario, and determine whether the terminal device is in the vehicle-mounted scenario or the non-motor vehicle-mounted scenario according to the satisfied threshold value. In this way, the vehicle-mounted scenario and the non-motor vehicle-mounted scenario can be identified only by using the acceleration information without using other data for distinguishing, and the universality can be improved.

[0022] In the eighth indication mode, the terminal device is indicated to be in a strong signal scenario, a medium strong signal scenario, a medium signal scenario or a weak signal scenario according to the signal receiving strength of the antenna device of the terminal device. The eighth indication mode can identify the advantages and disadvantages of the received signal of the terminal device in the current use environment, and can be used as an auxiliary condition for subsequent decision whether to adjust the antenna state.

[0023] In a possible design, the antenna device is controlled to adjust from the first antenna state to the second antenna state based on the scenario and the posture of the terminal device. Specifically, when the terminal device undergoes posture transformation in the first scenario, the antenna device is controlled to switch and / or tune from the first antenna state to the second antenna state. When the terminal device undergoes posture transformation in the second scenario, the antenna device is controlled to continue to be in the first antenna state.

[0024] Based on the above design, the antenna state is adjusted with reference to the posture of the terminal device in the scenario that needs to be adjusted, so that the adjusted antenna device has better antenna performance. In the scenario that does not need to be adjusted, the antenna state is not adjusted, so that high power consumption caused by frequent adjustment of the antenna state is avoided. Meanwhile, the problem of antenna receiving performance degradation caused by adjusting the antenna state only according to the posture of the terminal device is avoided, and at least the antenna performance is not deteriorated.

[0025] In a possible design, the antenna device is controlled to adjust from the first antenna state to the second antenna state based on the scenario and the posture of the terminal device. Specifically, when the terminal device undergoes posture transformation in the mounted scenario, the walking scenario or the running scenario, the antenna device is controlled to adjust from the first antenna state to the second antenna state. The antenna pattern of the second antenna state is directed towards a target direction, and the target is a satellite, a base station or a router. The mounted scenario can include at least one of the following: the vehicle-mounted scenario, the vehicle-mounted navigation scenario, the non-motor vehicle-mounted scenario and the non-motor vehicle-mounted navigation scenario.

[0026] Based on the above design, in a scenario where the antenna state needs to be adjusted, the terminal device can be made to always point to the satellite, base station or router, so as to achieve the best signal receiving performance.

[0027] In one example of the above design, in a non-vehicle-mounted scenario or a non-vehicle-mounted navigation scenario, before the antenna device is controlled to adjust from the first antenna state to the second antenna state, it can be determined that the terminal device is in a medium signal scenario, a medium signal scenario or a weak signal scenario.

[0028] Based on the above design, the antenna state can be adjusted only in a non-vehicle-mounted or non-vehicle-mounted navigation scenario with poor current received signal strength, so as to ensure that the terminal device has better antenna performance after adjustment.

[0029] In one example of the above design, in a walking scenario or a running scenario, before the antenna device is controlled to adjust from the first antenna state to the second antenna state, it can be determined that the terminal device is in a non-handheld scenario, or that the terminal device is in a scenario where the first position of the terminal device is handheld, but the first position does not block the antenna direction pattern pointing to the target.

[0030] Based on the above design, the antenna state can be adjusted only in a user carrying scenario with poor current received signal strength and no user blocking, so as to ensure that the terminal device has better antenna performance after adjustment.

[0031] In one possible design, based on the scenario and posture of the terminal device, the antenna device can be controlled to adjust from the first antenna state to the second antenna state, and the terminal device can be in a vehicle-mounted non-mounted scenario. When the posture of the terminal device changes, if the antenna direction pattern of the first antenna state does not point to the window or windshield, the antenna device is controlled to adjust from the first antenna state to the second antenna state, and the antenna direction pattern of the second antenna state points to the window or windshield.

[0032] Based on the above design, the vehicle-mounted non-mounted scenario can be, for example, a rear seat or a co-driver seat. When the terminal device is on the rear seat, the antenna device can be adjusted to an antenna state with a direction pattern pointing to the window, so that the antenna direction pattern of the terminal device on the rear seat always points to the side window, which is a relatively good antenna direction for the rear seat, and can ensure that the terminal device always maintains good antenna performance. When the terminal device is on the co-driver seat, the antenna device can be adjusted to an antenna state with a direction pattern pointing to the windshield, such as a front windshield, so that the antenna direction pattern of the terminal device on the co-driver seat always points to the front windshield, ensuring that the terminal device maintains the best antenna performance.

[0033] In a possible design, after the antenna device is controlled to adjust from the first antenna state to the second antenna state, the terminal device can further acquire a received signal strength of the terminal device in the second antenna state, and if the received signal strength is less than a set signal strength, the antenna device is controlled to adjust from the second antenna state to another antenna state, and then the antenna device is finally controlled to adjust to an antenna state with the best received signal strength according to the received signal strength of the terminal device in each antenna state.

[0034] Based on the above design, the antenna state with the best or better received signal strength can be found through trial adjustment, so as to improve the robustness of terminal device positioning and navigation.

[0035] In a possible design, in a scenario where adjusting the antenna state affects the current service quality or service interruption, before the antenna device is controlled to adjust from the first antenna state to the second antenna state, the inertial measurement unit (IMU) can be controlled to temporarily take over the positioning function of the antenna device.

[0036] Based on the above design, the capability of the IMU to temporarily take over the positioning function can be used to adjust to an antenna state with better received signal strength without affecting the original positioning function, so as to maintain the availability of terminal device services.

[0037] In a possible design, when the terminal device undergoes a posture transformation in the second scenario, controlling the antenna device to continue in the first antenna state can include, but is not limited to, any one or any multiple of the following control manners:

[0038] Control manner one: in a vehicle-mounted non-mounted scenario or a vehicle-mounted non-mounted navigation scenario, if the terminal device transforms from a portrait posture to a landscape posture, the antenna device is controlled to continue in the first antenna state, and the antenna pattern of the first antenna state is directed upward in the portrait direction. Here, the vehicle-mounted non-mounted scenario or the vehicle-mounted non-mounted navigation scenario can be, for example, a scenario where the terminal device is on the back seat of a vehicle. Control manner one can make the antenna pattern of the terminal device on the back seat of the vehicle directed toward the side window glass, which is less shielded than the roof, so that better antenna performance can be maintained.

[0039] Control manner two: in a non-motor vehicle mounted scenario or a non-motor vehicle mounted navigation scenario, if the terminal device undergoes a posture transformation but is in a strong signal scenario, the antenna device is controlled to continue in the first antenna state. With control manner two, the antenna state can not be adjusted with the posture transformation in a scenario with good antenna performance, so that power consumption overhead caused by frequent adjustment can be avoided.

[0040] In the third control mode, in the walking scenario or the running scenario, if the terminal device is in a posture transformation, but is in a strong signal scenario, or is in a scenario where the first position of the terminal device is handheld and the first position blocks the antenna pattern pointing to the target, the antenna device is controlled to continue in the first antenna state. In the third control mode, in the scenario where the antenna performance is good, or in the scenario where the antenna performance is predicted to be poor after adjustment, the antenna state is not adjusted with the posture transformation. In this way, the power consumption overhead caused by frequent adjustment can be avoided, and the antenna state with poor performance can be avoided after adjustment, so that the terminal device can always have good antenna performance while reducing power consumption.

[0041] In a second aspect, the application provides an antenna control method, which is applied to a terminal device. The terminal device includes an antenna device, and the antenna device includes a first antenna state and a second antenna state. The first antenna state and the second antenna state have different antenna patterns. The method can be executed by the terminal device or a module (such as a processor, a chip, or a chip system) in the terminal device, and includes: determining, according to information collected by an acceleration sensor in the terminal device and one or more of the following: information collected by a speed sensor, information collected by a GPS, and a navigation request received by a navigation APP, that the terminal device is in a vehicle-mounted scenario; determining, according to information collected by the acceleration sensor and information collected by a gyroscope sensor in the terminal device, that the terminal device is switched to a first posture; and controlling the antenna device to adjust from the first antenna state to the second antenna state based on the vehicle-mounted scenario of the terminal device and the first posture.

[0042] In a possible design, the first posture includes the following six postures: a portrait-up posture, a portrait-down posture, a landscape-side-key-up posture, a landscape-side-key-down posture, a display-screen-flat-up posture, and a display-screen-flat-down posture. That is, the terminal device is switched to any one of the six postures in the vehicle-mounted scenario, and the antenna state is adjusted.

[0043] In a possible design, the method further includes: determining, according to information collected by an acceleration sensor in the terminal device and one or more of the following: information collected by a speed sensor, information collected by a GPS, and a navigation request received by a navigation APP, that the terminal device is in a vehicle-unmounted scenario; determining, according to information collected by the acceleration sensor and information collected by a gyroscope sensor in the terminal device, that the terminal device is switched to a second posture; and controlling the antenna device to continue in the first antenna state based on the vehicle-unmounted scenario of the terminal device and the second posture.

[0044] In a further possible design, the second posture includes the following four postures: a portrait-down posture, a landscape-side-key-up posture, a landscape-side-key-down posture, and a flat-display-screen-up posture, and a flat-display-screen-down posture. That is, the terminal device does not adjust the antenna state when switching to any of the above five postures in the vehicle non-mounted scenario. In other words, the terminal device always maintains the antenna state corresponding to the portrait-up posture in the vehicle non-mounted scenario.

[0045] In a possible design, the method further includes: determining, according to information collected by an acceleration sensor in the terminal device, signal receiving strength of the antenna device, and one or more of the following: information collected by a speed sensor, information collected by a GPS of the terminal device, and a navigation request of a user received by a navigation APP, that the terminal device is in a non-motor vehicle mounted scenario of a medium-strong signal, a medium signal, or a weak signal; determining, according to information collected by the acceleration sensor and information collected by a gyroscope sensor in the terminal device, that the terminal device switches to a first posture; and controlling the antenna device to adjust from a first antenna state to a second antenna state based on the non-motor vehicle mounted scenario of the medium-strong signal, the medium signal, or the weak signal of the terminal device and the first posture.

[0046] In a possible design, the method further includes: determining, according to information collected by an acceleration sensor in the terminal device, signal receiving strength of the antenna device, and one or more of the following: information collected by a speed sensor, information collected by a GPS of the terminal device, and a navigation request of a user received by a navigation APP, that the terminal device is in a non-motor vehicle mounted scenario of a strong signal; determining, according to information collected by the acceleration sensor and information collected by a gyroscope sensor in the terminal device, that the terminal device switches to a first posture; and controlling the antenna device to continue in a first antenna state based on the non-motor vehicle mounted scenario of the strong signal of the terminal device and the first posture.

[0047] In a possible design, the method further includes: determining, according to information collected by a pedometer in the terminal device, and one or more of the following: information collected by a touch sensor, information collected by a specific absorption rate sensor, and information reflected by a reflection coefficient of the antenna, that the terminal device is in a non-handheld walking or running scenario; determining, according to information collected by an acceleration sensor and information collected by a gyroscope sensor in the terminal device, that the terminal device switches to a first posture; and controlling the antenna device to adjust from a first antenna state to a second antenna state based on the non-handheld walking or running scenario of the terminal device and the first posture.

[0048] In a possible design, the method further includes: determining, according to information collected by a pedometer in the terminal device and one or more of the following: information collected by a touch sensor, information collected by a specific absorption rate sensor, and information reflected by a reflection coefficient of the antenna, that the terminal device is in a scenario in which the terminal device is held in a first position of the terminal device and walks or runs; determining, according to information collected by an acceleration sensor and information collected by a gyroscope sensor in the terminal device, that the terminal device switches to a first posture; and controlling the antenna apparatus to adjust from the first antenna state to the second antenna state based on the scenario in which the terminal device is held in the first position of the terminal device and walks or runs and the first posture, the first position not blocking an antenna pattern orientation of the second antenna state; or controlling the antenna apparatus to continue in the first antenna state based on the scenario in which the terminal device is held in the first position of the terminal device and walks or runs and the first posture, the first position blocking the antenna pattern orientation of the second antenna state.

[0049] In a third aspect, the present application provides an antenna control apparatus, which can be the terminal device or a module (such as a processor, a chip or a chip system) in the terminal device. The antenna control apparatus can include units or modules for performing the steps of the first aspect or any of the designs of the first aspect, or units or modules for performing the steps of the second aspect or any of the designs of the second aspect. For example, the antenna control apparatus can include a transceiver unit and a processing unit; the transceiver unit is configured to perform transceiving operations, such as operations related to receiving and transmitting, and the processing unit is configured to perform processing operations.

[0050] For example, when the transceiver unit and the processing unit are configured to perform the steps of the first aspect or any of the designs of the first aspect, the transceiver unit can obtain sensor information of the terminal device and / or service information of the terminal device by interacting with sensors of the terminal device and / or a service APP of the terminal device, and the processing unit can determine a scenario in which the terminal device is located according to the sensor information of the terminal device and / or the service information of the terminal device, determine a posture of the terminal device according to the sensor information of the terminal device, and control the antenna apparatus to adjust from the first antenna state to the second antenna state based on the scenario in which the terminal device is located and the posture of the terminal device.

[0051] For example, when the transceiver unit and the processing unit are used to perform the steps of the second aspect or any of the designs of the second aspect, the transceiver unit can obtain information collected by an acceleration sensor in the terminal device, information collected by a gyroscope sensor in the terminal device, and one or more of the following: information collected by a speed sensor, information collected by a GPS of the terminal device, and a navigation request of the user received by a navigation APP, through interaction with the sensors of the terminal device and / or the service APP of the terminal device. The processing unit can determine that the terminal device is in a vehicle-mounted scenario based on the information collected by the acceleration sensor in the terminal device and one or more of the following: information collected by a speed sensor, information collected by a GPS of the terminal device, and a navigation request of the user received by a navigation APP. The processing unit can determine that the terminal device switches to the first posture based on the information collected by the acceleration sensor in the terminal device and the information collected by the gyroscope sensor in the terminal device. The processing unit can control the antenna device to adjust from the first antenna state to the second antenna state based on the vehicle-mounted scenario of the terminal device and the first posture.

[0052] In a possible design, the antenna control device is a processing chip, the processing unit can be one or more processors or processor cores, and the transceiver unit can be an input / output circuit, an input / output interface, or an antenna port of the processing chip.

[0053] In another possible design, the transceiver unit can be a transmitter and a receiver, or the transceiver unit can be a transmitter and a receiver.

[0054] In a possible design, the antenna device includes a first radiator, the first radiator includes a feeding point, a first grounding point, and a second grounding point, the first grounding point is located between the feeding point and the second grounding point, and the second grounding point is connected to the reference ground through a first tuning circuit.

[0055] Based on the above design, the part between the first grounding point and the second grounding point can be used as a reverse parasitic part. By adjusting the current flow and size on the reverse parasitic part, different antenna patterns of multiple antenna states can be achieved based on one antenna radiator. The switching between different antenna states is achieved by the position of the reverse parasitic part, which is relatively simple in structure and easy to implement, and can reduce the design difficulty. In addition, the half-wavelength and differential mode (DM) design can also be used on the entire antenna radiator, which can also improve the antenna performance in the area where the antenna radiator is located.

[0056] In an example of the above design, the first radiator is located at least partially in the intersection region of the two side edges of the terminal device.

[0057] Based on the above example, the first radiator can be located at least partially at the diagonal position of the frame of the terminal device, which facilitates the bending design of the first radiator.

[0058] In one example of the above design, the first radiating body is bent, and the distance between the first grounding point and the bending position is less than the first distance, or the first radiating body is rectangular, and the distance between the first grounding point and the center position of the rectangle is less than the first distance. That is, the first grounding point can be arranged near the bending position or the center position of the first radiating body, such as near the bending center of the arc, or at the folding point of the broken line, or near the center point of the rectangle.

[0059] Based on the above example, the first grounding point is away from the feeding point and the second grounding point, and thus the current change between the first grounding point and the second grounding point will have a certain influence on the current between the first grounding point and the feeding point, based on which the switching of the antenna state can be realized.

[0060] In a further example, the first distance is related to the frequency band of the antenna design. For example, if the current frequency band is GPS, the first distance can be set to a distance greater than or equal to 1 mm and less than or equal to 3 mm. If it is other frequency bands such as cellular, WiFi, and Tiantong satellite, the designed first distance needs to be changed accordingly according to the working frequency. It should be noted that the distances in the present specification (including the first distance herein, and the second distance and the third distance below) are all related to the frequency band, and if the working frequency band changes, the distance also needs to be changed accordingly.

[0061] In one example of the above design, the first radiating body includes a conductive part between the first gap and the second gap of the frame, and the minimum distance between the feeding point and the first gap or the second gap is not less than the second distance. That is, the feeding point can be arranged outside a certain distance from the nearest gap, that is, a certain distance from one edge of the first radiating body.

[0062] Based on the above example, the feeding point can be relatively close to the first grounding point, and thus the current between the feeding point and the first grounding point can be more affected by the current between the second grounding point and the first grounding point.

[0063] In a further example, the second distance is related to the frequency band of the antenna design. For example, if the current frequency band is GPS, the second distance can be set to a distance greater than or equal to 1 mm and less than or equal to 6 mm. If it is other frequency bands such as cellular, WiFi, and Tiantong satellite, the designed second distance needs to be changed accordingly according to the working frequency.

[0064] In one example of the above design, the first radiator includes a conductive portion between the first gap and the second gap of the frame, and the second grounding point is not more than the third distance away from the first gap or the second gap. In other words, the second grounding point can be arranged near the nearest gap, i.e., at the other edge of the first radiator.

[0065] Based on the above example, the second grounding point can be relatively far away from the first grounding point, so that the current between the second grounding point and the first grounding point can affect the current between the first grounding point and the feed point.

[0066] In further examples, the third distance is related to the frequency band of the antenna design. For example, if the current frequency band is GPS, the third distance can be set to be greater than or equal to 0.5 mm and less than or equal to 6 mm. If the current frequency band is other than GPS, such as cellular, WiFi, satellite, etc., the third distance can be changed accordingly according to the working frequency.

[0067] In one example of the above design, the second grounding point is connected to the reference ground through a second tuning circuit, and / or the feed point is connected to the feed source through a third tuning circuit.

[0068] Based on the above example, the impedance and other information of the second grounding point can be adjusted through the second tuning circuit, and / or the impedance and other information of the feed source can be adjusted through the third tuning circuit, thereby assisting the first tuning circuit to achieve the maximum current in the current antenna state, so as to improve the performance of the antenna as much as possible.

[0069] In one example of the above design, the first tuning circuit includes a first switch state and a second switch state, and when the first tuning circuit works in the first switch state, the antenna device works in the first antenna state; and when the first tuning circuit works in the second switch state, the antenna device works in the second antenna state.

[0070] Based on the above design, the adjustment between the two antenna states can be realized through tuning.

[0071] In one example of the above design, in the first antenna state or the second antenna state, the first radiator is excited to generate a first resonance and a second resonance, and the first resonance and the second resonance cover the same working frequency band. In other words, in each antenna state, the first radiator is excited to generate two resonances, and the two resonances jointly realize an antenna state. In this way, by adjusting the working state (such as the current flow direction) of at least one of the two resonances, the adjustment between different antenna states can be realized.

[0072] Optionally, the first equivalent current direction of the first resonance on the first radiator is approximately perpendicular to the second equivalent current direction of the second resonance on the first radiator. Here, approximately perpendicular can be understood as the included angle between the two current directions being around 90°, for example, within a range of plus or minus 20° of 90°, that is, as long as the included angle between the two current directions belongs to [70°, 110°], it can be considered as approximately perpendicular.

[0073] Based on the above examples, different antenna states can be switched by adjusting the flow direction of the two approximately perpendicular current directions. For example, assuming that the current state is the first antenna state, the first equivalent current direction of the first resonance on the first radiator is kept unchanged, and the second current flow direction of the second resonance on the first radiator is changed to be opposite, that is, the first antenna state can be adjusted to the second antenna state.

[0074] In one example of the above design, the antenna device has a main mode and a parasitic mode. In the main mode, the first equivalent current direction is the same as the second equivalent current direction; in the parasitic mode, the first equivalent current direction is opposite to the second equivalent current direction. Based on this example, the switching from the main mode to the parasitic mode, or from the parasitic mode to the main mode, can be realized by adjusting the flow direction of the two current directions.

[0075] In a fourth aspect, the present application provides an antenna control device, which can be the terminal device or a module (such as a processor, a chip or a chip system) in the terminal device. The antenna control device can include a processor, and optionally, a memory. The memory is used to store program instructions; the processor can read the program instructions in the memory, so that the antenna control device executes the method provided in the first aspect or any one of the designs in the first aspect, or executes the method provided in the second aspect or any one of the designs in the second aspect.

[0076] In a possible design, the processor is one or more, and the memory is one or more.

[0077] In a possible design, the memory can be integrated with the processor, or the memory and the processor are separately arranged.

[0078] In a possible design, the antenna control device can further include a transceiver. The transceiver is used to receive and send signals; the processor is used to execute the program instructions in response to the signals received by the transceiver, so that the antenna control device executes the method provided in the first aspect or any one of the designs in the first aspect, or executes the method provided in the second aspect or any one of the designs in the second aspect.

[0079] In a possible design, the transceiver can include a transmitter (transmitter) and a receiver (receiver).

[0080] In a fifth aspect, the present application provides an antenna control apparatus, which can be the terminal device, or a module (e.g., a processor, a chip or a chip system) in the terminal device. The antenna control apparatus can include a processor, and optionally, a communication interface coupled to the processor. Optionally, the antenna control apparatus can further include a memory coupled to the processor. The processor can read program instructions in the memory, and invoke the communication interface to communicate with other apparatuses, to perform the method provided in the first aspect or any one of the designs in the first aspect, or to perform the method provided in the second aspect or any one of the designs in the second aspect.

[0081] In a possible design, the communication interface can be a transceiver, or an input / output interface. Optionally, the transceiver can be a transceiver circuit. Optionally, the input / output interface can be an input / output circuit.

[0082] In another possible design, when the antenna control apparatus is a chip or a chip system, the communication interface can be an input / output interface, an interface circuit, an output circuit, an input circuit, a pin or related circuit on the chip or the chip system. The processor can also be implemented as a processing circuit or a logic circuit.

[0083] In a sixth aspect, the present application provides an antenna control apparatus, which includes a processor, and can further include a storage medium storing instructions, which, when executed by the processor, can be used to implement the method provided in the first aspect or any one of the designs in the first aspect, or implement the method provided in the second aspect or any one of the designs in the second aspect. The antenna control apparatus can be a chip system. The chip system can be composed of a chip, or can include a chip and other discrete devices.

[0084] In a seventh aspect, the present application provides an antenna control system, which includes an antenna apparatus, a sensor, and the antenna control apparatus provided in any one of the third aspect to the sixth aspect. The antenna apparatus includes a first antenna state and a second antenna state, and the first antenna state and the second antenna state have different antenna patterns. The sensor is configured to collect sensor information of the terminal device, and send the sensor information to the antenna control apparatus. The antenna control apparatus is configured to perform the method provided in the first aspect or any one of the designs in the first aspect, or perform the method provided in the second aspect or any one of the designs in the second aspect, to control the antenna state of the antenna apparatus.

[0085] In an eighth aspect, the present application provides a terminal device, which includes the antenna control apparatus provided in any one of the third aspect to the sixth aspect, or the antenna control system provided in the seventh aspect.

[0086] In a ninth aspect, the present application provides a computer readable storage medium, which stores a computer program. When the computer program is executed by a computer, the computer program causes the computer to perform the method provided in the first aspect or any one of the designs of the first aspect, or perform the method provided in the second aspect or any one of the designs of the second aspect. Optionally, the computer can be a terminal device.

[0087] In a tenth aspect, the present application provides a computer program product, which, when executed on a computer, causes the computer to perform the method provided in the first aspect or any one of the designs of the first aspect, or perform the method provided in the second aspect or any one of the designs of the second aspect. Optionally, the computer can be a terminal device.

[0088] In an eleventh aspect, the present application provides a chip, which is used to read a computer program stored in a memory, and perform the method provided in the first aspect or any one of the designs of the first aspect, or perform the method provided in the second aspect or any one of the designs of the second aspect. Optionally, the chip can include a processor, which is coupled with the memory, and is used to read the computer program stored in the memory, and implement the method provided in the first aspect or any one of the designs of the first aspect, or implement the method provided in the second aspect or any one of the designs of the second aspect. Optionally, the chip can further include a memory, a communication interface, a power supply module, and the like. The memory is used to store the computer program; the communication interface is used to receive and send data; and the power supply unit is used to supply power for the processor.

[0089] In a twelfth aspect, the present application provides a chip system, which includes a processor, and is used to support a computer to implement the method provided in the first aspect or any one of the designs of the first aspect, or support the computer to implement the method provided in the second aspect or any one of the designs of the second aspect.

[0090] In a possible design, the chip system further includes a memory, which is used to save programs and data necessary for the computer. The chip system can be composed of a chip, or include the chip and other discrete devices.

[0091] The technical effects that can be achieved by the second aspect to the twelfth aspect can be referred to the description of the beneficial effects of the first aspect, which will not be repeated here. BRIEF DESCRIPTION OF DRAWINGS

[0092] FIG. 1 exemplarily shows a schematic diagram of orientation change of a terminal device provided in the present application;

[0093] FIG. 2A exemplarily shows a schematic diagram of a vehicle navigation scenario provided in the present application;

[0094] FIG. 2B exemplarily shows a schematic diagram of another vehicle navigation scenario provided in the present application;

[0095] FIG. 2C illustrates a schematic diagram of another vehicle navigation scenario according to the present application;

[0096] FIG. 2D illustrates a schematic diagram of a bicycle navigation scenario according to the present application;

[0097] FIG. 2E illustrates a schematic diagram of a user carrying navigation scenario according to the present application;

[0098] FIG. 3 illustrates a schematic diagram of a hardware structure of a terminal device according to the present application;

[0099] FIG. 4 illustrates a schematic diagram of an architecture of an antenna control system according to the present application;

[0100] FIG. 5 illustrates a schematic diagram of a possible flow of an antenna control method according to the present application;

[0101] FIG. 6 illustrates a schematic diagram of a critical state of a landscape orientation according to the present application;

[0102] FIG. 7 illustrates a schematic diagram of a correspondence between an angle deviation and time according to the present application;

[0103] FIG. 8 illustrates a schematic diagram of a possible flow of an antenna control method applied to a navigation scenario according to the present application;

[0104] FIG. 9 illustrates a schematic diagram of a set orientation of a terminal device according to the present application;

[0105] FIG. 10 illustrates a schematic diagram of antenna patterns of N antenna states according to the present application;

[0106] FIG. 11 illustrates a schematic diagram of a flow of deciding a final antenna state to be adjusted according to the present application;

[0107] FIG. 12 illustrates a schematic diagram of a possible structure of an antenna device according to the present application;

[0108] FIG. 13 illustrates a schematic diagram of another possible structure of an antenna device according to the present application;

[0109] FIG. 14a illustrates a schematic diagram of a shape of a first radiator according to the present application;

[0110] FIG. 14b illustrates a schematic diagram of another shape of a first radiator according to the present application;

[0111] FIG. 15a illustrates a schematic diagram of another structure of an antenna device according to the present application;

[0112] Fig. 15b exemplarily shows a structural schematic diagram of still another antenna device provided by the present application;

[0113] Fig. 15c exemplarily shows a structural schematic diagram of still another antenna device provided by the present application;

[0114] Fig. 16 exemplarily shows a structural schematic diagram of an antenna device provided by the present application;

[0115] Fig. 17a exemplarily shows a schematic diagram of current flow of a main mode provided by the present application;

[0116] Fig. 17b exemplarily shows a schematic diagram of current flow of a parasitic mode provided by the present application;

[0117] Fig. 18 exemplarily shows a structural schematic diagram of an antenna control device provided by the present application;

[0118] Fig. 19 exemplarily shows a structural schematic diagram of another antenna control device provided by the present application. DETAILED DESCRIPTION

[0119] The following first introduces the terms and nomenclature involved in the present application.

[0120] (1) Antenna state.

[0121] The present application involves multiple antenna states, which can be realized by any one or more of the following ways: 1, different feed radiation bodies or different combinations of multiple feed radiation bodies; 2, different switch circuits connected on the feed radiation body, which can be, for example, a ground branch; 3, different parasitic radiation bodies or different combinations of multiple parasitic radiation bodies; 4, different switch circuits connected on the parasitic radiation body. Or, it can also be realized in other ways, which are not specifically limited here. It should be understood that the feed radiation body or the parasitic radiation body is connected through the ground branch to realize grounding and disconnecting the ground branch to realize non-grounding, which can be considered as two different antenna states.

[0122] (2) Antenna pattern.

[0123] In the present application, different antenna states correspond to different antenna patterns. Different antenna patterns can be understood as one or more of the following contents:

[0124] 1, different maximum radiation directions, for example, the maximum radiation direction of one antenna state is the vertical screen direction, the maximum radiation direction of another antenna state is the horizontal screen direction, and the maximum radiation direction of still another antenna state is the flat-lying vertical screen direction, the maximum radiation directions of the three antenna states are different, and the corresponding antenna patterns are different;

[0125] 2, the gain of the maximum radiation direction is different, for example, after adjusting from one antenna state to another antenna state, the gain of the maximum radiation direction is increased by more than x dB, x>0.5, then it is considered that the gain of the maximum radiation direction of the two antenna states is different, and the corresponding antenna patterns are different; or,

[0126] 3, the polarization direction of the antenna is inconsistent, where the polarization direction of the antenna can be understood as the electric field direction in the maximum radiation direction. When the electric field directions in the maximum radiation directions of multiple antenna states differ by a certain angle, it can be considered that the polarization directions of the multiple antenna states are inconsistent, and the corresponding antenna patterns are different. The polarization here includes linear polarization, elliptical polarization, circular polarization, etc., and is not limited in detail.

[0127] Of course, there can also be other differences, such as: multiple antenna states correspond to different beams; multiple antenna states correspond to different beam widths; multiple antenna states correspond to different beam pointing directions; or multiple antenna states correspond to different beam gains, etc., which are not listed one by one here.

[0128] (3) Service information of the terminal device.

[0129] In this application, the service information of the terminal device can include but is not limited to data service information and APP service information, etc. Among them, the data service information can include but is not limited to: WiFi data, cellular data, GPS data, etc. The APP service information can include but is not limited to: video APP data, game APP data, call APP data, navigation APP data, etc. Of course, there can also be other types of service information, which are not limited in detail here.

[0130] With the rapid development of society, terminal devices such as mobile phones are becoming more and more popular. Terminal devices not only have communication functions, processing functions and storage functions, but also have navigation functions. Users can use the navigation function of the terminal device to go from their current location to any location they want to reach as long as the location has network coverage. In order to facilitate understanding, some possible navigation scenarios are listed below.

[0131] FIG. 2A shows a schematic diagram of a vehicle-mounted navigation scenario. As shown in FIG. 2A, the main driver user can mount the mobile phone at a certain position of the front console (also known as the center console, instrument panel) and start the mobile phone navigation. In this way, the main driver user can view the mobile phone navigation while driving the vehicle. It should be noted that FIG. 2A takes the example of mounting the mobile phone at the air outlet of the air conditioner, but it should be understood that the mobile phone can be mounted at any position of the front console, including but not limited to: left or right side of the steering wheel, front window glass, below the rearview mirror, near the A-pillar position on the main driver side, near the A-pillar position on the co-driver side, straight-in position of the cigarette lighter, etc.

[0132] FIG. 2B shows a schematic diagram of another car navigation scenario. As shown in FIG. 2B, the back-row user can open the mobile phone navigation and switch it to the background while holding the mobile phone to browse web pages, watch videos, or play games, etc. in the process of riding in the vehicle. In this way, the main driver user can be provided with navigation information, and the entertainment experience of the back-row user is not affected.

[0133] FIG. 2C shows a schematic diagram of another car navigation scenario. As shown in FIG. 2C, the back-row user can also place the mobile phone on the back-row seat and plug the mobile phone into the charging interface of the back-row seat through the charging line, and open the mobile phone navigation while charging the mobile phone. It should be noted that the charging interface of the back-row seat in FIG. 2C is taken as an example below the air vent of the back-row seat, but the charging interface can also be in other positions, such as the position below the body of the back-row seat, or on the back of the front-row seat, or inside the back door, etc., and the specific position is not limited.

[0134] FIG. 2D shows a schematic diagram of a bicycle navigation scenario. As shown in FIG. 2D, the user can mount the mobile phone on the handle of the bicycle and open the mobile phone navigation to view the mobile phone navigation while riding. The mounting position of the mobile phone on the handle of the bicycle can be in the middle of the handle, on the handle, or other positions, and the specific position is not limited.

[0135] FIG. 2E shows a schematic diagram of a walking navigation scenario. As shown in FIG. 2E, the user can open the mobile phone navigation in advance to walk to the destination according to the instructions of the mobile phone navigation in the process of walking. In some scenarios, the user can also be running, in which case the mobile phone can be held in the hand or placed in the pocket or bag.

[0136] It can be understood that there are many possible navigation scenarios, for example, the main driver user can also place the mobile phone on the co-driver position to charge and navigate, etc., which are not listed here.

[0137] At present, the navigation function of the terminal device can be realized in combination with the GPS satellite. The terminal device can receive the signal of the GPS satellite and can position the terminal device according to the signal. When the GPS navigation is opened, the terminal device can inform the user of the current position in the map and the position of the destination in the map, and can select a best route between the current position of the user and the destination. In the process of GPS navigation, the terminal device can also prompt the user to go straight, turn left or right, which is different from the ordinary electronic map navigation.

[0138] However, as described in the background, when the terminal device receives the signal of the GPS satellite, the antenna receiving performance can be deteriorated due to the change of the terminal device orientation, and thus the accuracy of the GPS positioning is deteriorated. In view of this, the industry has provided some solutions, but these solutions usually only consider the attitude change of the terminal device, and as long as the attitude of the terminal device changes, the orientation of the antenna pattern of the terminal device will be adjusted accordingly. For example, in combination with the above Figure 1, assuming that the side key of the terminal device is on the right side, if the terminal device changes from a portrait orientation to a landscape orientation with the side key pointing downward, the terminal device will adjust the antenna state so that the antenna pattern orientation changes from the portrait orientation X1 to the landscape orientation X2 to the left, so that the changed antenna pattern orientation X2 can continue to point to the satellite.

[0139] However, it can be understood that adjusting the antenna pattern orientation based only on the attitude of the terminal device does not have positive benefits in all scenarios. For example, in the scenario of the above Figure 2B, the mobile phone is approximately in a landscape orientation, and the direction above the landscape is the roof, which is usually made of metal structural parts, and the metal structural parts have strong shielding ability. Therefore, if the antenna pattern orientation of the mobile phone is adjusted to the direction above the landscape (such as X3 in Figure 2B) based on the approximate landscape orientation of the mobile phone, the signal transmission in the direction above the landscape X3 will be shielded by the roof, resulting in that the mobile phone cannot receive or can only receive a few signals of the GPS satellite, that is, the antenna receiving performance of the mobile phone after adjusting the antenna pattern orientation is worse than that before adjusting the antenna pattern orientation. For example, in the scenario of the above Figure 2C, the mobile phone is in a flat orientation, and if the antenna pattern orientation of the mobile phone is adjusted to the direction above the flat orientation (such as X4 in Figure 2C) based on the flat orientation of the mobile phone, the signal transmission in the direction above the flat orientation X4 will also be shielded by the roof, resulting in that the antenna receiving performance after adjusting the antenna pattern orientation is deteriorated. For example, in the scenario of the above Figure 2E, the mobile phone is approximately in a portrait orientation, and the user holds the mobile phone in the upper left area of the mobile phone. In this scenario, if the antenna pattern orientation of the mobile phone is adjusted to the direction above the portrait orientation (such as X5 in Figure 2E) based only on the portrait orientation of the mobile phone, the signal transmission in the direction above the portrait orientation X5 will be shielded by the user's hand, resulting in that the antenna receiving performance after adjusting the antenna pattern orientation is deteriorated. It can be seen that in the above scenarios, adjusting the antenna pattern orientation based only on the attitude of the mobile phone will bring negative benefits, and the scheme of adjusting the antenna pattern orientation based on the attitude of the mobile phone cannot be applied to all scenarios.

[0140] Therefore, the embodiment of the present application provides an antenna control method. The method comprehensively decides whether to adjust the antenna state according to the scene and the posture of the terminal device. If the scene is a scene with positive benefits after adjusting the antenna state, the antenna state can be adjusted to the antenna state corresponding to the current posture according to the posture of the terminal device. If the scene is a scene with negative benefits after adjusting the antenna state, the antenna state will not be adjusted, or can be adjusted to an antenna state different from the current posture of the terminal device but with positive benefits. By using the antenna control method, the antenna receiving performance of the adjusted antenna state can be better or unchanged compared with the antenna receiving performance of the unadjusted antenna state, and the antenna receiving performance will not be worse. It can be understood that if the antenna control method is applied to the GPS positioning field, the GPS positioning performance of the terminal device can be improved, and then the navigation performance of the terminal device can be improved, and the navigation use experience of the user can be improved.

[0141] The antenna control method in the embodiment of the present application can be applied to a terminal device, and the terminal device can be any electronic device with an antenna device, especially an electronic device with a GPS antenna device. For example, the terminal device can be a mobile phone, a foldable screen mobile phone, a tablet computer, a wearable device (for example, a watch, a bracelet, etc.), a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), or a smart home device (for example, a smart television, etc.), etc. It can be understood that the embodiment of the present application does not limit the specific type of the terminal device.

[0142] FIG. 3 shows a possible hardware structure schematic diagram of a terminal device. The terminal device 300 includes radio frequency (RF) circuit 310, power supply 320, processor 330, memory 340, input unit 350, display unit 360, audio circuit 370, communication interface 380, wireless fidelity (Wi-Fi) module 390, at least one sensor 391, and the like. It can be understood that the hardware structure of the terminal device 300 shown in FIG. 3 does not constitute a limitation on the terminal device 300, and the terminal device 300 can include more or fewer components than those shown, can combine two or more components, or can have a different component configuration. The various components shown in FIG. 3 can be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and / or application specific integrated circuits.

[0143] The various constituent components of the terminal device 300 will be described in detail below in conjunction with FIG. 3.

[0144] The RF circuit 310 can be used for receiving and sending data in a communication or call process. The RF circuit 310 can also communicate with other devices through a wireless communication network. In particular, the RF circuit 310 sends the processor 330 to process the downlink data received from the base station (such as a ground base station, a satellite base station, etc.); in addition, the uplink data to be sent is sent to the base station.

[0145] Optionally, the RF circuit 310 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. Among them, the antenna usually has multiple, including but not limited to GPS antenna, near field communication (NFC) antenna, etc.

[0146] Wi-Fi technology belongs to short distance wireless transmission technology, and the terminal device 300 can connect to access points (APs) through the Wi-Fi module 390 to access data networks. The Wi-Fi module 390 can be used for receiving and sending data in a communication process.

[0147] The terminal device 300 can be physically connected to other devices through the communication interface 380. Optionally, the communication interface 380 is connected to the communication interface of other devices through a cable to realize data transmission between the terminal device 300 and other devices.

[0148] The storage 340 can be used to store software programs and modules. The processor 330 executes various functional applications and data processing of the terminal device 300 by running the software programs and modules stored in the storage 340. Optionally, the storage 340 can mainly include a program storage area and a data storage area. Among them, the program storage area can store an operating system (mainly including a kernel layer, a system layer, an application program framework layer and an application program layer, etc. Corresponding software programs or modules of each layer). In addition, the storage 340 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device.

[0149] The input unit 350 can be used to receive editing operations of various different types of data objects such as digital or character information input by a user, and to generate key signal inputs related to user settings and function control of the terminal device 300. Optionally, the input unit 350 can include a touch panel 351 and other input devices 352. Optionally, the other input devices 352 can include, but are not limited to, one or more of a physical keyboard, an infrared sensor, function keys (such as volume control buttons, on-off buttons, etc.), a trackball, a mouse, a joystick, etc. For example, the infrared sensor can be used to obtain a user's air gesture operation.

[0150] The display unit 360 can be used to display information input by a user or information provided to the user, as well as various menus of the terminal device 300. The display unit 360 is used to present an interface to realize human-computer interaction. The display unit 360 can include a display panel 361. Optionally, the display panel 361 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.

[0151] The processor 330 is the control center of the terminal device 300, and connects various components through various interfaces and lines, executes various functions of the terminal device 300 and processes data by running or executing software programs and / or modules stored in the memory 340 and calling data stored in the memory 340, so that various services based on the terminal device 300 can be implemented. In the embodiments of the present application, the processor 330 can be used to implement the antenna control method provided by the embodiments of the present application.

[0152] The terminal device 300 further includes a power supply 320 (such as a battery) for supplying power to various components. Optionally, the power supply 320 can be logically connected to the processor 330 through a power management system, so as to realize functions such as management of charging, discharging and power consumption through the power management system.

[0153] As shown in FIG. 3, the terminal device 300 further includes an audio circuit 370, a microphone 371 and a speaker 372, which can provide an audio interface between a user and the terminal device 300. The audio circuit 370 can be used to convert audio data into a signal recognizable by the speaker 372 and transmit the signal to the speaker 372 for conversion into an audible signal output. The microphone 371 is used to collect external sound signals (such as human speech or other sounds, etc.) and convert the collected external sound signals into a signal recognizable by the audio circuit 370 and send it to the audio circuit 370. The audio circuit 370 can also be used to convert the signal sent by the microphone 371 into audio data, and then output the audio data to the RF circuit 310 for transmission to another terminal device, for example, or to the memory 340 for subsequent further processing.

[0154] The terminal device 300 can collect state information of the terminal device 300 and its components through at least one sensor 391. The at least one sensor 391 can include but is not limited to an accelerometer, a gyroscope, a pedometer, an IMU, a touch panel (TP) sensor (also known as a touch sensor), a specific absorption rate (SAR) sensor, a pressure sensor, a barometric pressure sensor, a distance sensor, a fingerprint sensor, a temperature sensor, etc. Optionally, when the terminal device 300 is a foldable terminal device, the at least one sensor 391 can further include a Hall sensor that can detect whether the terminal device 300 is in a folded state or an unfolded state.

[0155] It can be understood that although not shown in FIG. 3, the terminal device 300 can further include other components such as a camera, a Bluetooth module, etc., which will not be described here in detail.

[0156] The antenna control method provided by the embodiments of the present application can be used in the processor 330, the RF circuit 310 and the at least one sensor 391 shown in FIG. 3. In addition, the memory 340 can also be used. The memory 340 can be used to store a software program for implementing the antenna control method provided by the embodiments of the present application, and the processor 330 can execute the antenna control method provided by the embodiments of the present application by running the software program stored in the memory 340. The related content of the memory 340 will not be discussed in detail in the present application, and only the specific implementation of the antenna control method will be introduced below.

[0157] Based on the hardware structure of the terminal device shown in FIG. 3, FIG. 4 shows a possible architecture of an antenna control system provided by the present application. The components in the system architecture can be combined with each other to implement the antenna control method provided by the embodiments of the present application. As shown in FIG. 4, the system architecture can include a processor 330, an RF circuit 310, and at least one sensor 391. The processor 330 can exemplarily be a system on chip (SOC), including an application processor (AP) 331, a sensor hub 332, and a non-cell (NC) processor 333, and the AP 331, the sensor hub 332, and the NC processor 333 are connected to each other. Alternatively, the AP 331, the sensor hub 332, and the NC processor 333 can also be understood as chips on the SOC, for example, the AP 331 is an AP chip, the sensor hub 332 is a sensor hub chip, and the NC processor 333 is an NC processor chip.

[0158] The AP 331 is a processor related to an application (APP), and the AP 331 can be connected to the background server of each APP on the terminal device, that is, the AP 331 can communicate and interact with the background server of each APP on the terminal device. In the embodiments of the present application, the AP 331 can be connected to the memory 340 described above, or the AP 331 itself has its own memory. The AP 331 can implement the scene recognition of the terminal device 300 by reading the related software programs in the memory 340 or the local memory.

[0159] All of the at least one sensor 391 can be mounted on the sensor hub 332, and the sensor hub 332 can implement the posture recognition of the terminal device 300 based on the information of the mounted sensors, or can also assist the AP 331 to implement the scene recognition of the terminal device 300. The antenna control method in the present application needs to use one or more of the following sensors: an accelerometer 3911, a gyroscope 3912, a pedometer 3913, an IMU 3914, a Hall sensor 3915, a TP 3916, and a SAR sensor 3917. The above seven sensors can all be mounted on the sensor hub 332. However, the functions of part of the above sensors can also be implemented by other devices or methods when implementing the posture recognition or assisting the scene recognition, in which case the data of these sensors is not used by the sensor hub 332, such as the pedometer 3913. Alternatively, part of the above sensors can also not exist in some scenarios, such as the Hall sensor 3915.

[0160] In addition to being connected with the AP 331 and the Sensor Hub 332, the NC processor 333 can also be connected with the RF circuit 310. According to the scene identified by the AP 331 and the posture identified by the Sensor Hub 332, the NC processor 333 can determine the control mode of the RF circuit 310, for example, determine whether to adjust the antenna state.

[0161] The RF circuit 310 includes at least one antenna link, and two antenna links are shown as an example. One of the two antenna links (the upper link) is a tuning link, and the other (the lower link) is a switching link. The tuning link refers to a link that adjusts the antenna state by tuning. There can be only one antenna radiator (also referred to as a branch) in the tuning link. The tuning circuit 3113 is arranged in the tuning link, and the tuning circuit 3113 can adjust the radiation direction of the antenna radiator to realize different antenna states, such as GPS L1-0 and GPS L1-2. If GPS L1-0 is the default antenna state, the tuning circuit 3113 can realize adjustment from GPS L1-0 to GPS L1-2. There is another antenna radiator in the switching link, and the antenna state GPS L1-1 of the other antenna radiator is different from the radiation direction of the default antenna state GPS L1-0 in the tuning link. The switching circuit 3123 is arranged in the switching link, and the switching circuit 3123 can realize adjustment from GPS L1-0 to GPS L1-1.

[0162] Optionally, an amplifier and a filter can also be included on any antenna link, such as the amplifier 3111 and the filter 3112 on the tuning link, and the amplifier 3121 and the filter 3122 on the switching link. The amplifier can be a low-noise amplifier, for example, which can amplify the input signal while ensuring that the amplified signal has good quality. The filter can filter the input signal to achieve smooth signal output.

[0163] It can be understood that FIG. 4 is only used as an example to illustrate that the RF circuit 310 includes both the tuning link and the switching link, but in an actual antenna control system, the RF circuit 310 can only include the tuning link and not include the switching link, or only include the switching link and not include the tuning link, or include both the tuning link and the switching link, but the two links are different from the arrangement in FIG. 4, in which case the terminal device 300 can have more or fewer antenna states. For example, when the RF circuit 310 only includes the upper tuning link, the terminal device 300 has two antenna states, namely GPS L1-0 and GPS L1-2. For another example, when the RF circuit 310 only includes the lower switching link, the terminal device 300 has two antenna states, namely GPS L1-0 and GPS L1-1. For another example, when the upper tuning link in the RF circuit 310 further includes the antenna state GPS L1-3, the terminal device 300 has four antenna states, namely GPS L1-0, GPS L1-1, GPS L1-2 and GPS L1-3. And so on, which will not be listed one by one here.

[0164] Based on the above contents shown in FIG. 3 and FIG. 4 and the above other contents, FIG. 5 exemplarily shows a possible flowchart of an antenna control method provided by the embodiments of the present application, which can be executed by a terminal device, such as the terminal device 300 in FIG. 3. Further, the antenna control method can be executed by the processor 330 in the terminal device 300, which can include the AP 331, the Sensor Hub 332 and the NC processor 333 shown in FIG. 4, that is, the antenna control method can be jointly executed by the AP 331, the Sensor Hub 332 and the NC processor 333.

[0165] As shown in FIG. 5, the method includes steps 501, 502 and 503, which will be introduced below in conjunction with the drawings.

[0166] In step 501, the terminal device indicates a scenario in which the terminal device is located according to sensor information of the terminal device and / or service information of the terminal device.

[0167] Optionally, the sensor information of the terminal device can include but is not limited to one or more of the following: information collected by a pedometer in the terminal device, information collected by a touch sensor (TP) in the terminal device, information collected by a specific absorption rate sensor (SAR) in the terminal device, information collected by a GPS of the terminal device, information collected by an acceleration sensor in the terminal device, information collected by a gyroscope sensor in the terminal device, information collected by a Hall sensor of the terminal device, and so on.

[0168] Optionally, the service information of the terminal device can include, but is not limited to, one or more of the following: a navigation request of a user received by a navigation APP, a signal receiving strength of an antenna device of the terminal device, a communication mode of the terminal device, information reflected by a reflection coefficient of an antenna of the terminal device (referred to as an antenna reflection coefficient), information of an APP of the terminal device, including video, call or game information, channel information of the terminal device, and the like.

[0169] It should be noted that the information collected by the sensor can include information directly collected by the sensor, or other information calculated or derived from the information directly collected by the sensor. For example, the information collected by the acceleration sensor can be understood as acceleration information, but the acceleration information is actually intermediate data calculated from the information collected by the acceleration sensor, and displacement information, speed information, etc. can be calculated from the acceleration information. That is, in addition to the information collected by the sensor, any information derived or calculated from the information collected by the sensor is also within the scope of the information collected by the sensor. Similarly, the service information can include the service information itself, or other information calculated or derived from the service information. For example, the information reflected by the reflection coefficient of the antenna of the terminal device can be understood as touch information reflected by the reflection coefficient of the antenna of the terminal device, which can be used to reflect whether the position of the user touching the display screen blocks the antenna pattern of the antenna. That is, in addition to the service information itself, any information derived or calculated from the service information is also within the scope of the service information.

[0170] Optionally, the terminal device indicates the scenario in which the terminal device is located according to the sensor information of the terminal device and / or the service information of the terminal device, which can include, but is not limited to, any one or more of the following scenario identification manners:

[0171] In a first scenario identification manner, the terminal device determines that the terminal device is in a walking scenario or a running scenario according to information collected by a pedometer in the terminal device. For example, the terminal device can calculate the average number of steps in a period of time according to the information collected by the pedometer, and if the average number of steps is in the range of 60-120 steps / min (or other ranges, which are only examples here), it indicates that the user using the terminal device is walking, and the terminal device is in a walking scenario; if the average number of steps is in the range of 120-180 steps / min (or other ranges, which are only examples here), it indicates that the user using the terminal device is running, and the terminal device is in a running scenario. The walking scenario and the running scenario both belong to a user carrying scenario;

[0172] The second scenario recognition manner is that the terminal device determines that the terminal device is in a non-handheld scenario or a handheld scenario at a first position of the terminal device according to one or more of information collected by a touch sensor in the terminal device, information collected by a specific absorption rate sensor (i.e., the specific absorption rate information), or an antenna reflection coefficient. For example, the terminal device can first determine whether the display screen of the terminal device is touched according to the information collected by the touch sensor. If the display screen is not touched, it is determined that the terminal device is in a non-handheld scenario. If the display screen is touched, it is determined that the terminal device is in a handheld scenario. In this scenario, the terminal device can further calculate the hand holding position (referred to as the first position) of the user according to the specific absorption rate information or the antenna reflection coefficient, and then determine that the terminal device is in a scenario in which the user holds the terminal device at the first position.

[0173] The third scenario recognition manner is that the terminal device determines the speed of the terminal device according to information collected by a speed sensor in the terminal device. If the speed of the terminal device is less than or equal to a first speed (for example, 8 km / h), it is determined that the terminal device is in a walking scenario. If the speed of the terminal device is greater than the first speed and less than or equal to a second speed (for example, 25 km / h), it is determined that the terminal device is in a non-motor vehicle scenario. If the speed of the terminal device is greater than the second speed, it is determined that the terminal device is in a vehicle-mounted scenario.

[0174] The fourth scenario recognition manner is that the terminal device acquires information of the terminal device collected by a GPS. The information includes a moving distance of the terminal device within a first time length. The terminal device determines the moving speed of the terminal device according to the moving distance and the first time length. If the moving speed is less than or equal to a first speed, it is determined that the terminal device is in a walking navigation scenario. If the moving speed is greater than the first speed and less than or equal to a second speed, it is indicated that the terminal device is in a non-motor vehicle navigation scenario. If the moving speed is greater than the second speed, it is indicated that the terminal device is in a vehicle-mounted navigation scenario.

[0175] The fifth scenario recognition manner is that, assuming that the currently used APP of the terminal device is a navigation APP, the terminal device can acquire a navigation request of the user received by the navigation APP. The navigation request includes a navigation mode. If the navigation mode is walking, it is determined that the terminal device is in a walking navigation scenario. If the navigation mode is riding, it is determined that the terminal device is in a non-motor vehicle navigation scenario. If the navigation mode is driving, it is determined that the terminal device is in a vehicle-mounted navigation scenario.

[0176] The sixth scenario recognition manner is that the terminal device determines the shaking degree of the terminal device according to information collected by an acceleration sensor in the terminal device. If the shaking degree is less than or equal to a first threshold value within a set time length, it is determined that the terminal device is in a mounting scenario. If the shaking degree is greater than the first threshold value within the set time length, it is indicated that the terminal device is in a non-mounting scenario.

[0177] In a seventh scenario identification manner, the terminal device determines a shaking degree of the terminal device according to information collected by an acceleration sensor in the terminal device. If the shaking degree is less than or equal to a second threshold value within a set time length, it is indicated that the terminal device is in a vehicle-mounted scenario. If the shaking degree is greater than the second threshold value and less than or equal to a first threshold value within the set time length, it is indicated that the terminal device is in a non-motor vehicle-mounted scenario. If the shaking degree is greater than the first threshold value within the set time length, it is indicated that the terminal device is in a non-mounted scenario.

[0178] In an eighth scenario identification manner, the terminal device acquires a signal receiving strength of an antenna device of the terminal device. If the signal receiving strength is greater than or equal to a third threshold value (for example, 40 dB), it is determined that the terminal device is in a strong signal scenario. If the signal receiving strength is less than the third threshold value and greater than or equal to a fourth threshold value (for example, 24 dB), it is determined that the terminal device is in a medium strong signal scenario or a medium signal scenario. If the signal receiving strength is less than the fourth threshold value, it is determined that the terminal device is in a weak signal scenario.

[0179] It can be understood that the above-mentioned multiple scenario determination manners can also be combined with each other to form a new scenario identification manner. For example, in combination of one of the above-mentioned sixth or seventh scenario identification manner and one of the fourth or fifth scenario identification manner, a ninth scenario identification manner can be obtained, which can determine that the terminal device is in a vehicle-mounted navigation scenario, a vehicle non-mounted navigation scenario, a non-motor vehicle-mounted navigation scenario or a non-mounted scenario. For another example, in combination of one of the above-mentioned sixth or seventh scenario identification manner and the third scenario identification manner, a tenth scenario identification manner can be obtained, which can determine that the terminal device is in a vehicle-mounted scenario, a vehicle non-mounted scenario, a non-motor vehicle-mounted scenario or a non-mounted scenario. For another example, in combination of the first scenario identification manner and the second scenario identification manner, an eleventh scenario identification manner can be obtained, which can determine that the terminal device is in a non-handheld walking scenario, a non-handheld running scenario, a handheld walking scenario at the first position of the terminal device or a handheld running scenario at the first position of the terminal device. For another example, in combination of one of the fourth or fifth scenario identification manner and the second scenario identification manner, a twelfth scenario identification manner can be obtained, which can determine that the terminal device is in a non-handheld walking navigation scenario or a handheld walking navigation scenario at the first position of the terminal device. And so on, which will not be listed one by one here.

[0180] In step 502, the terminal device determines a posture of the terminal device according to sensor information of the terminal device.

[0181] Optionally, the terminal device can have multiple set postures, such as a vertical screen posture, a horizontal screen posture and a flat posture, etc.

[0182] Further, the sensor information used for determining the posture of the terminal device can comprise information collected by an acceleration sensor and information collected by a gyroscope sensor (A+G). The information collected by the acceleration sensor can comprise acceleration information, and the information collected by the gyroscope sensor can comprise angular velocity information.

[0183] In one example, the terminal device can perform smoothing filtering on the acceleration information, and then, based on a relatively small period, identify the real-time posture of the terminal device in each period by combining the smoothed acceleration information and the angular velocity information in each period. Then, the terminal device can determine the set posture to which the real-time posture in each period belongs according to a plurality of set postures of the terminal device. The terminal device can record a plurality of set postures of the terminal device in a plurality of continuous periods, and if the number (or duration) of continuous periods in the same set posture exceeds a set number (or set duration, for example, 5 seconds), it can be determined that the terminal device is in the set posture.

[0184] In the above example, which set posture a real-time posture belongs to can be determined according to the angular deviation between the real-time posture and each set posture. For example, after the terminal device identifies the real-time posture of the terminal device in any period, it can calculate the angular deviation between the real-time posture and each set posture. If the angular deviation with a certain set posture is within a preset angular deviation threshold, it can be determined that the real-time posture belongs to the set posture. Of course, if the angular deviations with multiple set postures are all within the preset angular deviation threshold, the set posture with the smallest angular deviation can also be selected as the set posture to which the real-time posture belongs, to improve the accuracy of the determination result.

[0185] The preset angular deviation threshold can be set by a person skilled in the art according to experience, for example, it can be set to a value greater than 0° and not greater than 45°. For example, if the preset angular deviation threshold is 25° and the set posture is a horizontal posture, please refer to FIG. 6, assuming that clockwise rotation is negative and counterclockwise rotation is positive, when the angle between the real-time posture of the terminal device in a period and the set horizontal posture is within the range of [-25°, 25°], it can be determined that the terminal device is in the horizontal posture in the period. Further, please refer to FIG. 7, if the angle between the real-time posture of the terminal device and the horizontal posture is within the range of [-25°, 25°] for a set duration, it can be determined that the terminal device is in the horizontal posture.

[0186] It should be noted that, in order to save computing resources, the terminal device can only focus on the case that the posture of the terminal device changes. That is, the terminal device can only compare the real-time posture of the terminal device with other postures, without comparing with the posture identified last time. For example, if the terminal device identifies that the terminal device is in a vertical screen posture last time, then in the subsequent time, the terminal device can only compare the real-time posture of the terminal device with a horizontal screen posture and a flat posture. If it is found that the angle deviation between the real-time posture of the terminal device and the horizontal screen posture (or the flat posture) is less than the preset angle deviation threshold within the preset time period, it can be identified that the terminal device changes from the vertical screen posture to the horizontal screen posture (or the flat posture).

[0187] In step 503, the terminal device controls the antenna device to adjust from the first antenna state to the second antenna state based on the scene and the posture in which the terminal device is located.

[0188] Exemplarily, the antenna device can be a GPS antenna device, which has a first antenna state and a second antenna state. The first antenna state and the second antenna state have different antenna patterns, or in other words, the antenna patterns of the first antenna state and the second antenna state are oriented in different directions. For example, the antenna pattern of the first antenna state is oriented in a vertical screen direction, and the antenna pattern of the second antenna state is oriented in a horizontal screen direction. Or, the antenna pattern of the first antenna state is oriented in a flat direction, and the antenna pattern of the second antenna state is oriented in a horizontal screen direction. Or, the antenna pattern of the first antenna state is oriented in a horizontal screen direction, and the antenna pattern of the second antenna state is oriented in a vertical screen direction. And so on, which will not be listed one by one here.

[0189] Optionally, based on the scene and the posture in which the terminal device is located, if the terminal device changes the posture in the first scene, the terminal device can control the antenna device to switch and / or tune from the first antenna state to the second antenna state, and if the terminal device changes the posture in the second scene, the terminal device can control the antenna device to continue to be in the first antenna state, that is, without switching and tuning the antenna state.

[0190] The first scene can be understood as a scene in which adjusting the antenna state has positive benefits, such as a mounting scene, a walking scene, or a running scene. The mounting scene here can include but is not limited to a vehicle-mounted scene, a vehicle-mounted navigation scene, a non-motor vehicle-mounted scene, a non-motor vehicle-mounted navigation scene, and the like. In these scenes, the terminal device can control the antenna device to adjust from the first antenna state to the second antenna state, and the antenna pattern of the second antenna state is oriented in a target direction. The target here can be a satellite, a base station, a router, or the like. Compared with the first antenna state before adjustment, the antenna pattern of the second antenna state after adjustment has better antenna performance.

[0191] The second scenario can be understood as a scenario in which adjusting the antenna state has a negative benefit, such as a vehicle-mounted non-mounted scenario. In the vehicle-mounted non-mounted scenario, if the terminal device changes from a portrait posture to a landscape posture, and the antenna pattern of the first antenna state is directed upward in the portrait posture, the terminal device can control the antenna device to remain in the first antenna state, that is, not to adjust the antenna state. Here, the vehicle-mounted non-mounted scenario can be, for example, a scenario in which the terminal device is on the back seat of a vehicle. In this scenario, the antenna pattern of the first antenna state is directed toward the side window, and the side window direction itself is the best antenna direction. Therefore, by not adjusting the first antenna state, better antenna performance can be maintained while power consumption is saved.

[0192] Alternatively, the first scenario can also be a vehicle-mounted non-mounted scenario. In the vehicle-mounted non-mounted scenario, if the antenna pattern of the first antenna state is not directed toward a vehicle window or windshield, the terminal device can control the antenna device to adjust from the first antenna state to a second antenna state when the terminal device changes posture, and the antenna pattern of the second antenna state is directed toward the vehicle window or windshield. Here, the vehicle-mounted non-mounted scenario can be, for example, a scenario in which the terminal device is on the back seat of a vehicle. In this scenario, if the antenna pattern of the first antenna state is not directed toward the vehicle window, the terminal device can control the antenna device to adjust from the first antenna state to a second antenna state whose antenna pattern is directed toward the vehicle window when the terminal device changes posture. Alternatively, the vehicle-mounted non-mounted scenario can also be a scenario in which the terminal device is on the front passenger seat. In this scenario, if the antenna pattern of the first antenna state is not directed toward the front windshield, the terminal device can control the antenna device to adjust from the first antenna state to a second antenna state whose antenna pattern is directed toward the front windshield when the terminal device changes posture. In this way, better antenna performance can also be achieved in the vehicle-mounted non-mounted scenario.

[0193] Alternatively, when the first scenario is a non-motor vehicle mounted scenario or a non-motor vehicle mounted navigation scenario, the terminal device can first determine whether the terminal device is in a medium-strong signal scenario, a medium signal scenario, or a weak signal scenario before controlling the antenna device to adjust from the first antenna state to the second antenna state. That is, if the terminal device is in a non-motor vehicle mounted scenario or a non-motor vehicle mounted navigation scenario, and the current signal strength is medium-strong, medium, or weak, the terminal device can control the antenna device to adjust from the first antenna state to the second antenna state to ensure that the adjusted antenna pattern has better antenna performance. Conversely, if the terminal device is in a non-motor vehicle mounted scenario or a non-motor vehicle mounted navigation scenario, and the current signal strength is strong, the terminal device can control the antenna device to remain in the first antenna state to save power consumption.

[0194] Optionally, when the first scenario is a walking scenario or a running scenario, the terminal device can further determine that the terminal device is in a medium-strong signal scenario, a medium signal scenario, or a weak signal scenario, or is in a non-handheld scenario, or is in a scenario of handheld at a first position of the terminal device but the first position does not block the antenna pattern orientation pointing to the target, before controlling the antenna device to adjust from the first antenna state to the second antenna state. That is to say, if the terminal device is in a non-handheld walking or running scenario, or is in a walking or running scenario of handheld at a first position of the terminal device but the first position does not block the antenna pattern orientation pointing to the target, or is in a walking or running scenario but is currently in a medium-strong signal, a medium signal, or a weak signal scenario, the terminal device can control the antenna device to adjust from the first antenna state to the second antenna state, to ensure that the adjusted antenna pattern orientation has better antenna performance. Conversely, if the terminal device is in a walking or running scenario of handheld at a first position of the terminal device but the first position blocks the antenna pattern orientation pointing to the target, or is in a walking or running scenario and is currently in a strong signal scenario, the antenna device can be controlled to continue to be in the first antenna state, to avoid adjusting to an antenna state with worse performance.

[0195] With the above antenna control method, the terminal device can comprehensively decide how to adjust the antenna state in combination with the scenario and the posture, so that the adjusted antenna state can match the use scenario and the posture of the terminal device. For example, in a scenario that needs to be adjusted, the antenna state is adjusted by referring to the posture of the terminal device, so that the adjusted antenna device has better antenna performance, while in a scenario that does not need to be adjusted, the antenna state is not adjusted, which can avoid high power consumption caused by frequent adjustment of the antenna state, and can also avoid the problem of antenna receiving performance degradation caused by adjusting the antenna state only according to the posture, at least the antenna performance is not deteriorated.

[0196] To further illustrate the scheme, the following takes a navigation scenario as an example to further introduce a specific implementation scheme of the antenna control method in the application when applied to the navigation scenario. It should be understood that the related content implemented as follows is also applicable to the non-navigation scenario as indicated in the above content, and the application does not make specific limitations thereto.

[0197] Please refer to FIG. 8, which shows a flowchart of an antenna control method provided by the application when applied to a navigation scenario. The method can be executed by a terminal device, such as the terminal device 300 in FIG. 3. Further, it can be executed by the processor 330 in the terminal device 300, which can include the AP 331, the Sensor Hub 332, and the NC processor 333 shown in FIG. 4, that is, the antenna control method can be jointly executed by the AP 331, the Sensor Hub 332, and the NC processor 333.

[0198] As shown in FIG. 8, the method includes steps 801, 802 and 803, which will be described below in conjunction with the accompanying drawings.

[0199] In step 801, the terminal device, in response to a navigation request, determines a navigation scenario in which the terminal device is located according to sensor information of the terminal device and navigation APP information of the terminal device.

[0200] Optionally, when the user has a navigation demand, the user can open a navigation APP of the terminal device and input a destination on the navigation APP. In some scenarios, the user can also select a navigation mode, such as driving, riding, walking, etc. Then, the user can click a "start navigation" button or the like, thereby generating a navigation request. In conjunction with the above-mentioned FIG. 4, the navigation request can be received by the AP 331 in the terminal device. The AP 331 can forward the navigation request to a background server of the navigation APP, so that the background server of the navigation APP provides navigation services for the user according to the navigation request.

[0201] Further, in conjunction with the above-mentioned FIG. 4, after receiving the navigation request, the AP 331 can also jointly execute an antenna control process with the Sensor Hub 332 and the NC processor 333 periodically. In each period, the AP 331 and the Sensor Hub 332 can obtain information collected by one or more sensors in the terminal device, the AP 331 can also obtain information of the terminal device collected by a GPS in the terminal device, and the AP 331 can determine a scenario in which the terminal device is located according to the information and the navigation request.

[0202] For example, after receiving the navigation request, the AP 331 can send a trigger message to the Sensor Hub 332. Since the sensors of the terminal device are all mounted on the Sensor Hub 332, after receiving the trigger message, the Sensor Hub 332 can obtain the sensor information collected by each sensor in the terminal device, and send the sensor information related to the scene to the AP 331. In combination with FIG. 4, the sensor information can include but is not limited to the information collected by the accelerometer 3911, the information collected by the gyroscope 3912, the information collected by the pedometer 3913, the information collected by the TP 3916, and the information collected by the SAR sensor 3917. When the terminal device is of a folding type, the terminal device can also be provided with a Hall sensor 3915, and therefore the Sensor Hub 332 can also obtain the information collected by the Hall sensor 3915. In some other possible embodiments, all or part of the sensors can also be mounted on the AP 331, i.e., the main chip SOC, and all the sensor information can be obtained by the AP 331. The AP 331 and the Sensor Hub 332 can communicate with each other, and in this case, the mounting position of the sensor is not limited as long as the processing center of the terminal device can obtain the sensor information.

[0203] In addition, the AP 331 can also send a trigger message to the GPS, and after receiving the trigger message, the GPS can send the collected distance and movement information to the AP 331. In addition, the AP 331 can also obtain a navigation request, which can carry a navigation mode that can assist the AP 331 to identify the scene in which the terminal device is located.

[0204] The navigation scene in which the terminal device is located can include but is not limited to the following:

[0205] The vehicle-mounted navigation scene refers to a scene in which the terminal device is mounted on a vehicle to perform a navigation service. Generally, during the driving of the vehicle, the hands of the main driver are occupied because the driver needs to hold the steering wheel. Therefore, only when the terminal device is used by the main driver for navigation, the terminal device is mounted on the vehicle, such as being mounted on the front seat. That is, if the terminal device is in the vehicle-mounted scene, it is considered that the terminal device is located on the front seat, more specifically, on the loading table at the main driver position.

[0206] The vehicle-mounted navigation scene refers to a scene in which the terminal device is mounted on a vehicle to perform a navigation service. Generally, during the driving of the vehicle, the hands of the main driver are occupied because the driver needs to hold the steering wheel. Therefore, only when the terminal device is used by the main driver for navigation, the terminal device is mounted on the vehicle, such as being mounted on the front seat. That is, if the terminal device is in the vehicle-mounted scene, it is considered that the terminal device is located on the front seat, more specifically, on the loading table at the main driver position.

[0207] The non-motor vehicle-mounted navigation scenario refers to a scenario in which a terminal device is mounted on a non-motor vehicle to perform a navigation service. The non-motor vehicle may include, but is not limited to, a bicycle, an electric bicycle, a tricycle, a handcart, a horse-drawn vehicle, and the like. Generally, the shaking degree of a non-motor vehicle is greater than that of a vehicle, and thus, the vibration stability of the terminal device in the non-motor vehicle-mounted navigation scenario is less than that of the terminal device in the vehicle-mounted navigation scenario, but is still in a relatively stable range compared to the vehicle-unmounted navigation scenario.

[0208] The user-carrying navigation scenario refers to a scenario in which a terminal device is carried on the body of a user to perform a navigation service. For example, the terminal device is held in the hand of the user to perform navigation, or is placed in the pocket of the user to perform navigation, or is placed in the armband of the user to perform navigation, and the like. In some example scenarios, the user can walk while holding the terminal device to perform navigation, or the user can run while placing the terminal device in the armband to perform navigation, or the user can perform navigation while placing the terminal device in the pocket.

[0209] The vehicle-mounted navigation scenario, the vehicle-unmounted navigation scenario, and the non-motor vehicle-mounted navigation scenario will be introduced first.

[0210] It can be understood that, whether in the vehicle-mounted navigation scenario or in the non-motor vehicle-mounted navigation scenario, the shaking degree of the terminal device is relatively small, and the shaking degree can be represented by the acceleration variance of the terminal device, that is, the acceleration variance in the mounted navigation scenario is less than that in the unmounted scenario. Based on this, the acceleration variance can be used to determine whether the terminal device is in a mounted state.

[0211] In one example, in combination with FIG. 4, the Sensor Hub 332 can send the information collected by the accelerometer 3911 to the AP 331, which includes acceleration information, and the AP 331 calculates the acceleration variance according to the acceleration information, and determines whether the terminal device is in a mounted state according to the acceleration variance. For example, the AP 331 can pre-set a set time (referred to as a first time) and a first threshold value, and after receiving the information collected by the accelerometer 3911 sent by the Sensor Hub 332, the AP 331 can calculate the acceleration variance at a relatively small period (referred to as a first period), and then determine whether the acceleration variance is less than or equal to the first threshold value within the first time. If yes, it is determined that the terminal device is in a mounted state, otherwise, it is determined that the terminal device is in an unmounted state.

[0212] In the above examples, the first time length, the first threshold value, and the first period can be set according to the experience of a person skilled in the art. For example, in a specific example, the first time length can be set to a value between 10s and 5min, such as 3min; the first period can be set to a value less than the first time length, such as 3s to 30s; and the first threshold value can be set to a value not greater than 2m / s 2 , such as 1m / s 2 .

[0213] It can be understood that in the terminal device, the accelerometer 3911 collects at least 100 acceleration values every 1s. If the acceleration variance is directly calculated based on the 100 acceleration values, there will be a large fluctuation, which may affect the accuracy of the acceleration variance. Based on this, in order to reduce the fluctuation, in an example, the AP 331 can first perform smoothing filtering on the acceleration information, and then calculate the acceleration variance based on the smoothed acceleration information. For example, taking the first time length of 3min, the first period of 30s, and the first threshold value of 1m / s 2 as an example, assuming that the accelerometer 3911 collects 100 acceleration values every 1s, the AP 331 can take the average of the 100 acceleration values received within 1s as the average acceleration value within 1s, and then calculate the acceleration variance based on the corresponding 30 average acceleration values within 30s. When the acceleration variance is less than or equal to 1m / s 2 for 3min, it can be determined that the terminal device is in the mounted state, otherwise, it can be determined that the terminal device is in the unmounted state.

[0214] Further, in order to determine whether the terminal device belongs to vehicle-mounted or non-motor vehicle-mounted, there can be multiple identification methods, such as:

[0215] Identification method one: the AP 331 obtains the navigation mode indicated in the navigation request, and determines whether the terminal device is in the mounted state based on the above content according to the acceleration information. If the navigation mode is driving and the terminal device is in the mounted state, it can be determined that the terminal device is in the vehicle-mounted navigation scene. If the navigation mode is riding and the terminal device is in the mounted state, it can be determined that the terminal device is in the non-motor vehicle-mounted navigation scene. If the navigation mode is driving and the terminal device is in the unmounted state, it can be determined that the terminal device is in the vehicle-unmounted navigation scene.

[0216] Identification method two: considering that the stability of the non-motor vehicle-mounted is smaller than that of the vehicle-mounted, the AP 331 can also pre-set two threshold values, i.e., a first threshold value and a second threshold value. The second threshold value corresponds to the vehicle-mounted scene, and the first threshold value corresponds to the non-motor vehicle-mounted scene. The first threshold value is greater than the second threshold value, such as 1m / s 2 for the first threshold value and 0.5m / s 2Based on this, after the AP 331 calculates the acceleration variance based on the acceleration information, if the acceleration variance is less than or equal to the second threshold value for a first time duration, it can be determined that the terminal device is in a vehicle-mounted navigation scenario, and if the acceleration variance is greater than the second threshold value but less than the first threshold value for the first time duration, it can be determined that the terminal device is in a non-vehicle-mounted navigation scenario.

[0217] It should be noted that in the second identification mode, if the acceleration variance is greater than or equal to the first threshold value for a first time duration, it can be determined that the terminal device is in a non-mounted navigation state. As for whether it is a vehicle-mounted state, it can be determined by other information. For example, in one example, whether it is a vehicle-mounted non-mounted navigation scenario can be identified according to the moving speed of the terminal device, for example, if the terminal device travels at a speed of 25 m / s or more, it can be determined that it is a vehicle-mounted non-mounted navigation scenario. The moving speed can be determined according to information collected by a speed sensor in the terminal device, or can be calculated according to information collected by a GPS in the terminal device, etc., and is not limited in particular. For another example, whether it is a vehicle-mounted non-mounted navigation scenario can also be determined by interaction with the user, for example, the user can be asked by voice whether he is currently sitting in a car, etc.

[0218] The identification of the user carrying navigation scenario will be introduced below.

[0219] It can be understood that for the user carrying navigation scenario, the user carrying the terminal device to walk or run is a most typical scenario, based on which the motion state of the user can be used to determine whether the terminal device is in a user carrying navigation scenario.

[0220] Optionally, the motion state of the user can be determined in various ways, two examples are described below:

[0221] In one example, in combination with FIG. 4 described above, the Sensor Hub 332 can send the information collected by the pedometer 3913 to the AP 331, and the AP 331 can calculate the average number of steps in a period of time based on the information, if the average number of steps is in the range of 60-180 steps / min (or other ranges, which are only examples here), it indicates that the user is walking or running, and therefore it can be determined that the terminal device is in a user carrying navigation scenario;

[0222] In another example, if the navigation mode is carried in the navigation request and is walking, the AP 331 can directly determine that the terminal device is in a user carrying navigation scenario based on the walking navigation mode;

[0223] In another example, if the moving speed of the terminal device is less than or equal to a first speed (for example, 8 km / h), it is determined that the terminal device is in a walking navigation scenario. The moving speed can be determined according to information collected by a speed sensor in the terminal device, or can be calculated according to information of the terminal device collected by a GPS in the terminal device, and the like, without limitation.

[0224] Further, in a user carrying navigation scenario, if the user holds the terminal device, the antenna performance of the terminal device is strongly related to the position of the user's hand. For example, if the position of the user's hand is just in the direction of the antenna pattern of the antenna state that needs to be adjusted, the signal transmission and reception in the direction of the antenna pattern will be blocked by the user's hand, and the antenna state should not be adjusted, therefore, in the user carrying navigation scenario, it is also necessary to identify whether there is a hand holding blocking situation.

[0225] In order to identify the above situation, in one example, in combination with FIG. 4, the Sensor Hub 332 can also send the information collected by the TP 3916 and the information collected by the SAR sensor 3917 (or also including the antenna reflection coefficient) to the AP 331. After receiving the information collected by the TP 3916 and the information collected by the SAR sensor 3917 (or also including the antenna reflection coefficient), the AP 331 can first determine whether there is a situation that the user's hand touches the display screen according to the information collected by the TP 3916 (or the antenna reflection coefficient). If there is no situation that the user's hand touches the display screen, and it has been determined that the terminal device is in a user carrying navigation scenario, it can be determined that the terminal device is in a user non-handheld carrying navigation scenario. If there is a situation that the user's hand touches the display screen, the position of the user's hand (referred to as a first position) can be calculated according to the information collected by the SAR sensor 3917 (or also including the antenna reflection coefficient), and then it can be determined that the terminal device is in a user handheld navigation scenario at the first position of the terminal device.

[0226] It should be noted that the above user-carrying navigation scenario and the above three scenarios of vehicle-mounted navigation, vehicle non-mounted navigation and non-motor vehicle-mounted navigation can be identified in parallel or have a sequence. For example, in an example, the user-carrying navigation scenario can be identified after it is determined that the terminal device is not in the three scenarios of vehicle-mounted navigation, vehicle non-mounted navigation and non-motor vehicle-mounted navigation. For example, after receiving the navigation request, the AP 331 can only trigger the Sensor Hub 332 to send the information collected by the accelerometer 3911 to the AP 331. According to the information collected by the accelerometer 3911, if it is determined that the terminal device is in one of the vehicle-mounted navigation scenario, the vehicle non-mounted navigation scenario or the non-motor vehicle-mounted navigation scenario, the terminal device can not need to be identified again whether it is in the user-carrying navigation scenario, but can directly adjust the antenna state in combination with the posture. On the contrary, if it is determined that the terminal device is not in the three scenarios of vehicle-mounted navigation, vehicle non-mounted navigation and non-motor vehicle-mounted navigation, the AP 331 can trigger the Sensor Hub 332 to send the information collected by the pedometer 3913 (or also including the information collected by the TP 3916, the information collected by the SAR sensor 3917 and the antenna reflection coefficient) to the AP 331 to identify whether the terminal device is in the user-carrying navigation scenario. In this way, part of the computing resources can be saved.

[0227] It can be understood that the above is only a few possible navigation scenarios of the terminal device, but in actual application, the terminal device can also have other navigation scenarios. For example, when the terminal device is of a folding type, the AP 331 can also trigger the Sensor Hub 332 to send the information collected by the hall sensor 3915 to the AP 331, and the AP 331 determines whether the terminal device is in an unfolded state or a folded state according to the information. When the terminal device is in different states (unfolded state or folded state), the AP 331 also needs to determine the way to adjust the antenna state according to the unfolded state or the folded state of the terminal device, so that the adjusted antenna state matches the unfolded state or the folded state of the terminal device.

[0228] Step 802, the terminal device indicates the posture of the terminal device according to the sensor information of the terminal device.

[0229] Optionally, after receiving the trigger message, the Sensor Hub 332 can also identify the posture of the terminal device according to the sensor information related to the posture in the obtained sensor information, and can send the identified posture to the AP 331. In other embodiments, the sensor information related to the posture can also be directly transmitted to the AP 331, and then the posture of the terminal device is directly calculated by the AP 331, which is not limited here.

[0230] Optionally, the terminal device can have multiple set postures, which can specifically include but are not limited to the following six postures:

[0231] The portrait-up posture refers to a posture in which the terminal device is vertically placed and the top edge is upward, including the portrait-up and display screen forward posture shown in (A) of FIG. 9 and the portrait-up and display screen backward posture shown in (B) of FIG. 9;

[0232] The portrait-down posture refers to a posture in which the terminal device is vertically placed and the bottom edge is upward, including the portrait-down and display screen forward posture shown in (C) of FIG. 9 and the portrait-down and display screen backward posture shown in (D) of FIG. 9;

[0233] The landscape-side-key-up posture refers to a posture in which the terminal device is placed horizontally and the side edge where the side key is located is upward. Taking the side key on the right side edge as an example, it includes the landscape-right-side-edge-up and display screen forward posture shown in (E) of FIG. 9 and the landscape-right-side-edge-up and display screen backward posture shown in (F) of FIG. 9;

[0234] The landscape-side-key-down posture refers to a posture in which the terminal device is placed horizontally and the side edge where the side key is located is downward. Still taking the side key on the right side edge as an example, it includes the landscape-right-side-edge-down and display screen forward posture shown in (G) of FIG. 9 and the landscape-right-side-edge-down and display screen backward posture shown in (H) of FIG. 9;

[0235] The flat-display-screen-up posture refers to a posture in which the terminal device is placed horizontally and the display screen is upward. Taking the left-right placement as an example, it includes the left-right flat and side key in front and display screen upward posture shown in (I) of FIG. 9 and the left-right flat and side key behind and display screen upward posture shown in (J) of FIG. 9;

[0236] The flat-display-screen-down posture refers to a posture in which the terminal device is placed horizontally and the display screen is downward. Still taking the left-right placement as an example, it includes the left-right flat and side key in front and display screen downward posture shown in (K) of FIG. 9 and the left-right flat and side key behind and display screen downward posture shown in (L) of FIG. 9.

[0237] In addition, other set postures can also be included, such as the front-back flat and side key on the right and display screen downward posture, the front-back flat and side key on the left and display screen downward posture, the front-back flat and side key on the right and display screen upward posture, and the front-back flat and side key on the left and display screen upward posture, etc., which are not listed one by one here.

[0238] The above plurality of set posture information can be pre-configured in the Sensor Hub 332, and the Sensor Hub 332 can identify which set posture the terminal device belongs to among the above plurality of set postures based on the above plurality of set posture information in combination with the posture-related sensor information. The posture-related sensor information can include information collected by the accelerometer 3911 and information collected by the gyroscope 3912 (A+G), the information collected by the accelerometer 3911 includes acceleration information, and the information collected by the gyroscope 3912 includes angular velocity information. The Sensor Hub 332 can first perform smoothing filtering on the acceleration information, and then take a relatively small period (referred to as a second period) as a reference, combine the smoothed acceleration information and angular velocity information in each second period, and identify the real-time posture of the terminal device in each second period. Then, according to the plurality of set posture information configured locally, the real-time posture of each second period is determined to belong to a set posture. The Sensor Hub 332 can record a plurality of set postures of the terminal device in a plurality of consecutive second periods. If the number (or duration) of consecutive periods recorded in the same set posture exceeds a set number (or set duration), it can be determined that the terminal device is in the set posture. For specific implementation, reference can be made to step 502 in FIG. 5 described above, which will not be repeated here.

[0239] Optionally, the terminal device has a default posture, which is pre-configured in the Sensor Hub 332. When the antenna control process is started for the first time in a navigation scenario, the Sensor Hub 332 takes the default posture as a reference to identify whether the terminal device is transformed from the default posture to other postures. For example, assuming that the default posture is a vertical screen posture, after the AP 331 receives a navigation request, it sends a trigger message to the Sensor Hub 332. According to the trigger message, the Sensor Hub 332 combines the information collected by the accelerometer 3911 and the information collected by the gyroscope 3912 to identify the posture of the terminal device for the first time. The real-time posture of the terminal device is compared with the horizontal screen posture and the flat posture. If the angle deviation between the real-time posture of the terminal device and the horizontal screen posture (or the flat posture) is less than a preset angle deviation threshold for a time duration set, it can be identified that the terminal device is transformed from the vertical screen posture to the horizontal screen posture (or the flat posture). In the subsequent judgment, the previous identification result can be taken as a reference to judge whether the terminal device is transformed to other postures or whether it is transformed back to the vertical screen posture.

[0240] Further, optionally, after determining that the posture of the terminal device changes, the Sensor Hub 332 can further send the changed posture to the AP 331. In this way, the AP 331 not only stores the navigation scene in which the terminal device is located, but also knows the posture transformation of the terminal device notified by the Sensor Hub 332. The AP 331 can determine the subsequent antenna control logic according to the navigation scene in which the terminal device is located and the posture transformation.

[0241] At step 803, when the terminal device undergoes posture transformation in the first navigation scene, the terminal device adjusts the current antenna state of the antenna device; and when the terminal device undergoes posture transformation in the second navigation scene, the terminal device does not adjust the current antenna state of the antenna device.

[0242] Here, in the navigation scene, the antenna device can be a GPS antenna device, which can assist in realizing navigation and positioning of the terminal device.

[0243] Here, the antenna device can have N antenna states, and the N antenna states have N different antenna pattern orientations, where N is an integer greater than or equal to 2.

[0244] For example, in one example, in order to enable the N antenna states to cover all directions of the terminal device, the value of N can be 6. Assuming that the six antenna states are named GPS L1-0, GPS L1-1, GPS L1-2, GPS L1-3, GPS L1-4, and GPS L1-5. Referring to FIG. 10, the antenna pattern orientations of the six antenna states GPS L1-0 to GPS L1-5 can correspond to the X 11 , X 12 , X 21 , X 22 , X 31 , and X 32 in FIG. 10 one by one. In this case, the six antenna states GPS L1-0 to GPS L1-5 correspond to the six set postures of the terminal device in step 802 above, respectively, and the correspondence relationship is shown in Table 1 below:

[0245] Table 1

[0246] The above correspondence relationship can be pre-configured in the AP 331, and the AP 331 can determine the subsequent antenna control logic according to the scene in which the terminal device is located and the posture transformation, by referring to the above correspondence relationship.

[0247] For ease of understanding, the antenna control logic under different navigation scenes and posture combinations will be described in detail below.

[0248] Vehicle-mounted navigation scene

[0249] According to the foregoing, when the terminal device is in the vehicle-mounted navigation scenario, it is illustrated that the terminal device is located on the object table, as shown in FIG. 2A, the front windshield glass is above the terminal device, and the front windshield glass has a limited shielding effect on signal transmission. Compared with other directions, the direction pointing to the front windshield glass belongs to the best antenna pattern orientation. Therefore, in the vehicle-mounted navigation scenario, the antenna pattern orientation of the antenna device can be always directed to the front windshield glass above, that is, to the satellite, and the signal transmission effect under this antenna pattern orientation is the best.

[0250] Based on this, in an example, the AP 331 identifies that the terminal device is in the vehicle-mounted navigation scenario, and determines that the terminal device has a posture transformation according to the posture information sent by the Sensor Hub 332. Then, the AP 331 can refer to the corresponding relationship shown in Table 1 above to query the antenna state corresponding to the transformed posture of the terminal device, and then control the antenna device to adjust from the current antenna state to the antenna state corresponding to the transformed posture.

[0251] For example, assuming that the default posture is a portrait posture pointing upward, and the default antenna state is GPS L1-0, after starting navigation:

[0252] If the AP 331 detects that the terminal device is in the vehicle-mounted navigation scenario, and the terminal device transforms from the portrait posture pointing upward to the portrait posture pointing downward, the AP 331 can determine, by querying the corresponding relationship shown in Table 1 above, that the portrait posture pointing downward corresponds to the antenna state GPS L1-1. Therefore, the AP 331 can control the antenna device to adjust from the original antenna state GPS L1-0 to the antenna state GPS L1-1. In combination with (C) and (D) in FIG. 2A, FIG. 10, and FIG. 9, the antenna pattern orientation of the antenna device will change from the X 11 direction corresponding to the portrait posture pointing upward to the X 12 direction corresponding to the portrait posture pointing downward, and the antenna pattern orientation of the adjusted antenna state is directed to the front windshield glass above.

[0253] If the AP 331 detects that the terminal device is in the vehicle-mounted navigation scenario, and the terminal device transforms from the portrait posture pointing upward to the landscape posture pointing to the side key upward, the AP 331 can determine, by querying the corresponding relationship shown in Table 1 above, that the landscape posture pointing to the side key upward corresponds to the antenna state GPS L1-2. Therefore, the AP 331 can control the antenna device to adjust from the original antenna state GPS L1-0 to the antenna state GPS L1-2. In combination with (E) and (F) in FIG. 2A, FIG. 10, and FIG. 9, the antenna pattern orientation of the antenna device will change from the X 11X direction corresponding to the landscape side key up posture 21 direction, the antenna pattern of the adjusted antenna state is directed to the front windshield pointing upwards;

[0254] If the AP 331 detects that the terminal device is in a vehicle-mounted scenario, and the terminal device changes from a portrait up posture to a flat display screen up posture, the AP 331 can determine, by querying the corresponding relationship shown in Table 1 above, that the flat display screen up posture corresponds to the antenna state GPS L1-4, and thus the AP 331 can control the antenna device to adjust from the original antenna state GPS L1-0 to the antenna state GPS L1-4. In combination with (I) and (G) in FIGS. 2A, 10, and 9, the antenna pattern of the antenna device will change from the X direction corresponding to the portrait up posture to the X direction corresponding to the landscape side key up posture. 11 X direction corresponding to the landscape side key up posture 31 direction, the antenna pattern of the adjusted antenna state is directed to the front windshield pointing upwards;

[0255] and so on. Other postures and corresponding antenna state adjustment manners are similar to the foregoing, and will not be enumerated one by one here.

[0256] Based on the above implementation manner, in a vehicle-mounted navigation scenario, when the posture of the terminal device changes, the antenna pattern can be directed to the front windshield pointing upwards at all times by adjusting the antenna state, that is, directed to the satellite, so that the best signal reception performance can be achieved. In addition, in a vehicle-mounted navigation scenario, due to the presence of the windshield, it is a weak signal scenario by nature, and in this scenario, every 1 dB improvement in signal reception strength can improve the positioning accuracy of GPS by several meters. It is found through verification that the above implementation manner can achieve a signal improvement effect of at least 2 dB, and thus the implementation manner can effectively improve the positioning accuracy of the terminal device in a vehicle-mounted navigation scenario, and thus the navigation experience of the user can be improved.

[0257] Vehicle-mounted non-mounted navigation scenario

[0258] According to the foregoing, when the terminal device is in the vehicle-mounted non-mounted navigation scenario, the terminal device can be in a rear seat position, such as being held in a hand of a user to play a game or a video, as shown in FIG. 2B, or being placed flat on a rear seat to charge, as shown in FIG. 2C, and the like. In this scenario, the top of the terminal device is a roof or a ceiling, and the left and right sides are side window glasses. The roof is usually made of a metal structure, and the ceiling usually has very large reflection performance, that is, compared with the side window glasses, the roof or the ceiling has a greater shielding effect on signal transmission, which belongs to a poor antenna pattern orientation. Therefore, in the vehicle-mounted non-mounted navigation scenario, the antenna device can be oriented to the side window glass on the left or the right at all times, and the signal transmission effect in this antenna pattern orientation is better than that in other directions.

[0259] Based on this, in an example, the AP 331 identifies that the terminal device is in the vehicle-mounted non-mounted navigation scenario, and according to the posture information sent by the Sensor Hub 332, determines that after the posture of the terminal device is transformed, if the antenna pattern orientation of the current antenna state under the transformed posture is oriented to the side window glass, the AP 331 can not adjust the antenna state of the antenna device, that is, the antenna device continues to work in the current antenna state. Conversely, if the antenna pattern orientation of the current antenna state under the transformed posture is not oriented to the side window glass, the AP 331 can control the antenna device to adjust the antenna state, and the antenna pattern orientation of the adjusted antenna state under the transformed posture is oriented to the side window glass. In other words, in the vehicle-mounted non-mounted navigation scenario, the AP 331 can determine whether to adjust or not to adjust the current antenna state according to the orientation of the current antenna state under the transformed posture of the terminal device, so that the antenna pattern orientation of the antenna state of the antenna device under the transformed posture of the terminal device is always oriented to the side window glass, that is, to a good signal direction.

[0260] For example, still assuming that the default posture is the portrait-up posture, and the default antenna state is GPS L1-0, after the navigation is started:

[0261] If the AP 331 detects that the terminal device is in the vehicle-mounted non-mounted navigation scenario, and the terminal device is transformed from the portrait-up posture to the landscape posture, in combination with FIG. 10, (E), (F), (G) and (H) in FIG. 9, it can be determined that the antenna pattern orientation X of the current antenna state GPS L1-0 is not oriented to the side window glass. 11 In the landscape posture, the orientations are to the left and right sides, that is, exactly to the side window glasses. In this case, the AP 331 can not adjust the antenna state of the antenna device, that is, the antenna device continues to work in the antenna state GPS L1-0.

[0262] If the AP 331 detects that the terminal device is in a vehicle-mounted non-mounted navigation scenario, and the terminal device is converted from a portrait-up posture to a left-right flat posture, such as a left-right flat posture with a display screen facing up or a left-right flat posture with a display screen facing down, in combination with FIG. 10, (I), (G), (K) and (L) in FIG. 9, it can be determined that the antenna pattern of the first antenna state GPS L1-0 is directed to X 11 In the left-right flat posture, it is just directed to the left or right side window. In this case, the AP 331 does not adjust the antenna state of the antenna device, that is, the antenna device continues to work in the antenna state GPS L1-0.

[0263] If the AP 331 detects that the terminal device is in a vehicle-mounted non-mounted navigation scenario, and the terminal device is converted from a portrait-up posture to a front-back (vehicle head-tail direction) flat posture, in combination with FIG. 10, it can be determined that the antenna pattern of the first antenna state GPS L1-0 is directed to X 11 In the front-back flat posture, it is directed to the vehicle head or tail. The direction to the vehicle head may be blocked by the backrest of the front seat, and the direction to the vehicle tail may be blocked by the rear shell. In this case, in order to reduce the negative effects of the blockage, the AP 331 can control the antenna device to adjust the antenna state, and the adjusted antenna state can be, for example, GPS L1-2 or GPS L1-3. The antenna pattern of GPS L1-2 is directed to X 21 Or the antenna pattern of GPS L1-3 is directed to X 22 In the front-back flat posture, it is directed to the left or right side window.

[0264] If the AP 331 detects that the terminal device is in a vehicle-mounted non-mounted navigation scenario, and the terminal device is converted from a portrait-up posture to a portrait-down posture, in combination with FIG. 10, (C) and (D) in FIG. 9, it can be determined that the antenna pattern of the first antenna state GPS L1-0 is directed to X 11 In the portrait-down posture, it is directed to the lower part of the vehicle bottom, and the blockage effect of the vehicle bottom is large. In this case, the AP 331 can control the antenna device to adjust the antenna state, and the adjusted antenna state can be, for example, GPS L1-2 or GPS L1-3. The antenna pattern of GPS L1-2 is directed to X 21 Or the antenna pattern of GPS L1-3 is directed to X 22 In the portrait-down posture, it is directed to the left or right side window.

[0265] and so on. Other postures and corresponding antenna state adjustment modes are similar to the above, which will not be listed one by one here.

[0266] Based on the above implementation, in the vehicle-mounted non-mounted navigation scenario, when the posture of the terminal device changes, if the current antenna state is oriented towards the left and right side windows in the changed posture, the antenna state does not need to be adjusted. In this way, not only can the negative effects caused by adjusting to the wrong antenna state be avoided, such as the signal reception performance degradation caused by adjusting the antenna state to be oriented towards the roof in the vehicle rear row according to the horizontal screen posture, but also the power consumption loss caused by frequent adjustment of the antenna state can be avoided. In addition, when the antenna device is a GPS antenna, the risk of GPS service disconnection caused by frequent adjustment of the GPS satellite antenna state can also be avoided, and the navigation interruption can be avoided, thereby improving the user's navigation experience.

[0267] It can be understood that, in the vehicle-mounted non-mounted navigation scenario, the terminal device can not only be in the rear row position, but also can be in the co-driver position, such as the co-driver user holding the mobile phone to play games or watch videos, etc. The rear row position is not a problem according to the above implementation scheme. However, for the co-driver position, the antenna pattern above it is actually oriented towards the front windshield, and the antenna pattern above it is oriented better than the antenna pattern oriented towards the left and right side windows, that is, for the terminal device in the co-driver position, the antenna pattern of the antenna device is controlled to be oriented upwards, which is the best.

[0268] Based on this, in one example, after the AP 331 detects that the terminal device is in the vehicle-mounted non-mounted navigation scenario and the posture changes, the terminal device can first identify the current position of the terminal device. If the terminal device is currently in the co-driver position, the antenna state can be adjusted according to the antenna adjustment manner of the above vehicle-mounted mounted navigation scenario, so that the antenna state is always oriented towards the front windshield. If the terminal device is currently in the rear row position, it can be further determined whether the antenna pattern of the current antenna state is oriented towards the left and right side windows in the changed posture, if yes, the antenna state does not need to be adjusted, and if no, the antenna state can be adjusted according to the antenna adjustment manner of the above vehicle-mounted non-mounted navigation scenario, so that the antenna state is always oriented towards the left and right side windows.

[0269] In the above example, the position of the terminal device can be identified in various ways. For example, the AP 331 can determine it through user interaction with the terminal device, and the interaction method can be voice interaction, interface interaction, text interaction, etc., without limitation. For another example, it can also be obtained by the AP 331 identifying the surrounding environment image collected by the terminal device. For another example, it can also be obtained by the AP 331 through interaction with the vehicle-mounted device, such as a vehicle-mounted camera, a vehicle-mounted controller, etc., without limitation.

[0270] Non-motor vehicle-mounted navigation scenario

[0271] The non-motor vehicle-mounted navigation scenario is similar to the vehicle-mounted navigation scenario, and the difference is that the vehicle-mounted navigation scenario is a weak signal scenario, while the non-motor vehicle-mounted navigation scenario is a strong signal or medium-strong signal scenario because there is no windshield or vehicle body blocking around, as shown in FIG. 2D. Through investigation of the navigation scenario, it is found that in some environments (such as open environments), even if the terminal device changes the posture, causing the current antenna state to no longer face upwards, the signal reception strength under the current antenna state is still relatively good, and according to the signal reception strength, the antenna state can actually not be adjusted. That is, in the non-motor vehicle-mounted navigation scenario, whether the antenna state needs to be adjusted can be comprehensively judged in combination with the signal reception strength.

[0272] Optionally, in combination with FIG. 4 described above, the signal reception strength can be sent to the NC processor 333 by the antenna link corresponding to the current working antenna state. For example, if the current working antenna state is GPS L1-0, the receiving signal strength (assuming CN0) of the radiating body (the inverted triangle in the middle position on the right in the figure) corresponding to GPS L1-0 can be periodically collected during the working process and sent to the NC processor 333 through the tuning link above.

[0273] Further, the NC processor 333 can forward the receiving signal strength CN0 to the Sensor Hub 332. That is, the Sensor Hub 332 not only stores the sensor information collected by each sensor mounted, but also can store the receiving signal strength CN0 corresponding to the current antenna state. Based on this, after receiving the trigger message of the AP 331, the Sensor Hub 332 can send the scene-related sensor information and the receiving signal strength CN0 to the AP 331 at the same time. Alternatively, the AP 331 can also send a trigger message to the Sensor Hub 332 to trigger the Sensor Hub 332 to report the receiving signal strength CN0 to the AP 331 alone after determining that the terminal device is in the non-motor vehicle-mounted navigation scenario. Alternatively, the Sensor Hub 332 can also identify the strong or weak signal scenario of the current signal according to the receiving signal strength CN0, and then notify the AP 331. There are many possible implementation manners, which are not limited here.

[0274] In one example, the third threshold is pre-configured in the AP 331, and the third threshold is used to indicate a strong signal scenario. The AP 331 identifies that the terminal device is in the non-vehicle-mounted navigation scenario, and according to the attitude information sent by the sensor hub 332, determines that the terminal device has changed the attitude, and can first obtain the signal reception intensity CN0 of the current antenna state under the changed attitude, and compare the signal reception intensity CN0 with the third threshold. If the signal reception intensity CN0 is greater than or equal to the third threshold, it means that even if the terminal device changes the attitude, the signal reception intensity CN0 corresponding to the current antenna state is still very good, and the current belongs to a strong signal scenario. The stronger the signal scenario, the closer the positioning accuracy is after the signal reception intensity is improved by 2 dB. That is, adjusting the antenna state in a strong signal scenario has little significance for improving the positioning performance, and therefore, the AP 331 can not adjust the antenna state of the antenna device, that is, the antenna device continues to work in the current antenna state.

[0275] On the contrary, if the signal reception intensity CN0 is less than the third threshold, it means that the signal reception intensity CN0 corresponding to the current antenna state becomes worse after the terminal device changes the attitude, but the signal reception intensity after the change can belong to a medium-strong signal scenario or a medium signal scenario, or a weak signal scenario. The medium-strong signal scenario or the medium signal scenario can adjust the antenna state or not, but the weak signal scenario must adjust the antenna state. Based on this, the fourth threshold can also be configured in the AP 331, and the fourth threshold is used to indicate a weak signal scenario. The AP 331 can also compare the signal reception intensity CN0 with the fourth threshold after determining that the signal reception intensity CN0 is less than the third threshold. If the signal reception intensity CN0 is less than the fourth threshold, it means that the current antenna state is in a weak signal scenario under the changed attitude, and in this case, the AP 331 can refer to the corresponding relationship shown in Table 1 above to adjust the antenna device from the current antenna state to the antenna state corresponding to the changed attitude. Generally, the weaker the signal scenario, the greater the positioning accuracy is improved after the signal reception intensity is improved by 2 dB. That is, adjusting the antenna state in a weak signal scenario has great benefits for improving the positioning performance.

[0276] In the above example, the third threshold and the fourth threshold can be set by those skilled in the art according to experience. For example, in one specific example, the third threshold can be set to 40 dB, and the fourth threshold can be set to 24 dB.

[0277] In addition, when the signal receiving strength CN0 is greater than or equal to the fourth threshold value and less than the third threshold value, it represents that the current is a strong signal scene or a medium signal scene, and in this scene, whether to adjust the antenna state can be decided by the user. For example, the AP 331 can control the terminal device to send a query message to the user and wait for the user's reply. If the user's reply is to adjust the antenna state, the antenna device can be adjusted from the current antenna state to the antenna state corresponding to the transformed posture. If the user's reply is not to adjust the antenna state, the antenna device can continue to work in the current antenna state.

[0278] For example, still assuming that the default posture is the portrait-up posture and the default antenna state is GPS L1-0, after starting navigation:

[0279] If the AP 331 detects that the terminal device is in a non-vehicle-mounted navigation scene and the terminal device is transformed from the portrait-up posture to the portrait-down posture, the AP 331 can first obtain the signal receiving strength CN0 of GPS L1-0 in the current posture. If CN0 is greater than or equal to 40 dB, or CN0 is greater than or equal to 24 dB but less than 40 dB and the user indicates not to adjust the antenna state, the AP 331 does not adjust the antenna state of the antenna device, that is, the antenna device continues to work in GPS L1-0. On the contrary, if CN0 is less than 24 dB, or CN0 is greater than or equal to 24 dB but less than 40 dB and the user indicates to adjust the antenna state, the AP 331 can further determine the antenna state GPS L1-1 corresponding to the portrait-down posture by querying the corresponding relationship shown in Table 1 above. Then, the AP 331 can control the antenna device to adjust from the original antenna state GPS L1-0 to the antenna state GPS L1-1. In combination with FIGS. 2D, 10, (C) and (D) of FIG. 9, the antenna pattern direction of the antenna device will change from the X 11 direction corresponding to the portrait-up posture to the X 12 direction corresponding to the portrait-down posture, and the antenna pattern direction of the adjusted antenna state points to the sky, that is, to the satellite;

[0280] If the AP 331 detects that the terminal device is in a non-vehicle-mounted navigation scenario, and the terminal device is converted from the portrait-up posture to the landscape-side-down posture, the AP 331 can first acquire the signal receiving strength CN0 of the GPS L1-0 in the current posture. If CN0 is greater than or equal to 40 dB, or CN0 is greater than or equal to 24 dB but less than 40 dB, and the user indicates not to adjust the antenna state, the AP 331 does not adjust the antenna state of the antenna device. On the contrary, if CN0 is less than 24 dB, or CN0 is greater than or equal to 24 dB but less than 40 dB, and the user indicates to adjust the antenna state, the AP 331 can further query the corresponding relationship shown in Table 1 above to determine that the landscape-side-down posture corresponds to the antenna state GPS L1-3, and then the AP 331 can control the antenna device to be adjusted from the original antenna state GPS L1-0 to the antenna state GPS L1-3. In combination with FIG. 2D, FIG. 10, (G) and (H) in FIG. 9, the antenna pattern direction of the antenna device will be changed from the X 11 direction corresponding to the portrait-up posture to the X 22 direction corresponding to the landscape-side-down posture, and the antenna pattern direction of the adjusted antenna state points to the sky, that is, to the satellite.

[0281] If the AP 331 detects that the terminal device is in a non-vehicle-mounted navigation scenario, and the terminal device is converted from the portrait-up posture to the landscape-side-down posture, the AP 331 can first acquire the signal receiving strength CN0 of the GPS L1-0 in the current posture. If CN0 is greater than or equal to 40 dB, or CN0 is greater than or equal to 24 dB but less than 40 dB, and the user indicates not to adjust the antenna state, the AP 331 does not adjust the antenna state of the antenna device. On the contrary, if CN0 is less than 24 dB, or CN0 is greater than or equal to 24 dB but less than 40 dB, and the user indicates to adjust the antenna state, the AP 331 can further query the corresponding relationship shown in Table 1 above to determine that the landscape-side-down posture corresponds to the antenna state GPS L1-3, and then the AP 331 can control the antenna device to be adjusted from the original antenna state GPS L1-0 to the antenna state GPS L1-3. In combination with FIG. 2D, FIG. 10, (G) and (H) in FIG. 9, the antenna pattern direction of the antenna device will be changed from the X 11 direction corresponding to the portrait-up posture to the X 32 direction corresponding to the landscape-side-down posture, and the antenna pattern direction of the adjusted antenna state points to the sky, that is, to the satellite.

[0282] and so on. The adjustment mode of other postures and corresponding antenna states is similar to the foregoing, which will not be listed one by one here.

[0283] Based on the above implementation, in the non-motor vehicle-mounted navigation scenario, when the posture of the terminal device changes, if the current received signal strength is still good under the changed posture, the antenna state does not need to be adjusted, and if the current received signal strength becomes poor under the changed posture, the antenna state can be adjusted according to the changed posture again, so that the adjusted antenna state always points to the sky. In this way, not only can the terminal device always have good positioning performance, but also can avoid the power consumption overhead caused by frequent adjustment.

[0284] User-carrying navigation scenario

[0285] Similar to the non-motor vehicle-mounted navigation scenario, in the user-carrying navigation scenario, there is no strong shielding around, so it also belongs to a strong signal or medium-strong signal scenario, and it is also necessary to comprehensively judge whether the antenna state needs to be adjusted in combination with the received signal strength. In addition, different from the non-motor vehicle-mounted navigation scenario, when the terminal device is in the user-carrying navigation scenario, the terminal device can be held in the hand of the user, such as being held in the hand of the user for navigation, as shown in FIG. 2E. In this case, the antenna pattern of one or more antenna states can be blocked by the hand of the user, resulting in poor antenna performance of the antenna state or the antenna states, and the terminal device cannot be adjusted to the antenna state.

[0286] Based on this, in one example, the third threshold and the fourth threshold introduced above are pre-configured in the AP 331. The AP 331 identifies that the terminal device is in the user-carrying navigation scenario, and according to the posture information sent by the Sensor Hub 332, determines that the terminal device has changed the posture. The AP 331 can first compare the current signal receiving strength CN0 with the third threshold. If the signal receiving strength CN0 is greater than or equal to the third threshold, the AP 331 can not adjust the antenna state of the antenna device, that is, the antenna device continues to work in the current antenna state.

[0287] On the contrary, if the signal receiving strength CN0 is less than the fourth threshold value, the AP 331 can acquire information whether the terminal device is carried by the user by hand (see the introduction of the user carrying scenario in step 801 above), and can determine the antenna state corresponding to the transformed posture according to the corresponding relationship shown in Table 1 above. If the terminal device is not carried by the user by hand (i.e. the scenario of the user not carrying the terminal device by hand introduced above), the current antenna state of the antenna device can be adjusted to the antenna state corresponding to the transformed posture. If the terminal device is carried by the user by hand (i.e. the scenario of the user carrying the terminal device by hand at the first position of the terminal device introduced above), it is further determined whether the user carrying the terminal device by hand at the first position has a shielding effect on the antenna pattern of the antenna state corresponding to the transformed posture. If there is a shielding effect, the antenna state of the antenna device can not be adjusted, i.e. the antenna device continues to work in the current antenna state, so as to avoid the phenomenon of adjusting to a worse antenna state. If there is no shielding effect, the antenna state of the antenna device can be adjusted to the antenna state corresponding to the transformed posture, so as to adjust to a better antenna state.

[0288] Further, if the signal receiving strength CN0 is greater than or equal to the fourth threshold value and less than the third threshold value, it can be determined whether to adjust the antenna state according to the indication of the user. If the user indicates not to adjust, there is no need to adjust, i.e. the antenna device continues to work in the current antenna state. If the user indicates to adjust, it can be further determined whether to adjust to the antenna state corresponding to the transformed posture according to the decision mode after the fourth threshold value above.

[0289] For example, still assuming that the default posture is the portrait-up posture and the default antenna state is GPS L1-0, after starting navigation:

[0290] If the AP 331 detects that the terminal device is in the user carrying navigation scenario, and the terminal device transforms from the portrait up posture to the portrait down posture, the AP 331 can first acquire the signal receiving strength CN0 of the GPS L1-0 in the current posture, if the CN0 is greater than or equal to 40dB, or the CN0 is less than 40dB but greater than or equal to 24dB, and the user indicates not to adjust the antenna state, the AP 331 does not adjust the antenna state of the antenna device. On the contrary, if the CN0 is less than 24dB, or the CN0 is less than 40dB but greater than or equal to 24dB, and the user indicates to adjust the antenna state, the AP 331 can further query the corresponding relationship shown in Table 1 above to determine the antenna state GPS L1-1 corresponding to the portrait down posture, and the AP 331 also needs to judge whether the terminal device is handheld carried by the user. In combination with (C) and (D) in FIG. 2E, FIG. 10, and FIG. 9, if the terminal device is not handheld carried, or is handheld carried by the user, but the first position of the handheld carrying is towards X 12 If the terminal device is handheld carried by the user, and the first position of the handheld carrying is towards X 12 If the terminal device is handheld carried by the user, and the first position of the handheld carrying is towards X

[0291] If the AP 331 detects that the terminal device is in the user carrying navigation scenario, and the terminal device transforms from the portrait up posture to the portrait down posture, the AP 331 can first acquire the signal receiving strength CN0 of the GPS L1-0 in the current posture, if the CN0 is greater than or equal to 40dB, or the CN0 is less than 40dB but greater than or equal to 24dB, and the user indicates not to adjust the antenna state, the AP 331 does not adjust the antenna state of the antenna device. On the contrary, if the CN0 is less than 24dB, or the CN0 is less than 40dB but greater than or equal to 24dB, and the user indicates to adjust the antenna state, the AP 331 can further query the corresponding relationship shown in Table 1 above to determine the antenna state GPS L1-1 corresponding to the portrait down posture, and the AP 331 also needs to judge whether the terminal device is handheld carried by the user. In combination with (C) and (D) in FIG. 2E, FIG. 10, and FIG. 9, if the terminal device is not handheld carried, or is handheld carried by the user, but the first position of the handheld carrying is towards X 21If the terminal device is not held by the user's hand, or is held by the user's hand but the first position of the hand-holding is towards X direction of the antenna pattern of GPS L1-2, the AP 331 can control the antenna device to adjust from the original antenna state GPS L1-0 to the antenna state GPS L1-2. Conversely, if the terminal device is held by the user's hand, and the first position of the hand-holding is towards X direction of the antenna pattern of GPS L1-2, the AP 331 can control the antenna device to adjust from the original antenna state GPS L1-0 to the antenna state GPS L1-2. 21 If the terminal device is held by the user's hand, and the first position of the hand-holding is towards X direction of the antenna pattern of GPS L1-2, the AP 331 does not adjust the antenna state of the antenna device.

[0292] If the AP 331 detects that the terminal device is in the user-carrying navigation scenario, and the terminal device is switched from the portrait-up posture to the flat display-down posture, the AP 331 can first acquire the signal receiving strength CN0 of GPS L1-0 in the current posture, and if CN0 is greater than or equal to 40 dB, or CN0 is less than 40 dB but greater than or equal to 24 dB, and the user indicates not to adjust the antenna state, the AP 331 does not adjust the antenna state of the antenna device. Conversely, if CN0 is less than 24 dB, or CN0 is less than 40 dB but greater than or equal to 24 dB, and the user indicates to adjust the antenna state, the AP 331 can query the corresponding relationship shown in Table 1 above again to determine the antenna state GPS L1-5 corresponding to the flat display-down posture, and the AP 331 also needs to determine whether the terminal device is held by the user's hand. In combination with (K) and (L) in FIGS. 2E, 10 and 9, if the terminal device is not held by the hand, or is held by the user's hand but the first position of the hand-holding is towards X direction of the antenna pattern of GPS L1-5, the AP 331 can control the antenna device to adjust from the original antenna state GPS L1-0 to the antenna state GPS L1-5. Conversely, if the terminal device is held by the user's hand, and the first position of the hand-holding is towards X direction of the antenna pattern of GPS L1-5, the AP 331 can control the antenna device to adjust from the original antenna state GPS L1-0 to the antenna state GPS L1-5. 32 If the terminal device is not held by the user's hand, or is held by the user's hand but the first position of the hand-holding is towards X direction of the antenna pattern of GPS L1-5, the AP 331 can control the antenna device to adjust from the original antenna state GPS L1-0 to the antenna state GPS L1-5. Conversely, if the terminal device is held by the user's hand, and the first position of the hand-holding is towards X direction of the antenna pattern of GPS L1-5, the AP 331 can control the antenna device to adjust from the original antenna state GPS L1-0 to the antenna state GPS L1-5. 32 If the terminal device is held by the user's hand, and the first position of the hand-holding is towards X direction of the antenna pattern of GPS L1-5, the AP 331 does not adjust the antenna state of the antenna device.

[0293] and so on. The adjustment modes of other postures and corresponding antenna states are similar to the foregoing, which will not be listed one by one here.

[0294] Based on the above implementation, in the user carrying navigation scenario, when the posture of the terminal device changes, by combining the received signal strength of the current antenna state in the changed posture and the user's hand holding condition, it is comprehensively judged whether to adjust the antenna state and the antenna state to be adjusted, which can achieve the following beneficial effects: on the one hand, by not adjusting the antenna state when the received signal strength corresponding to the current antenna state is good, the power consumption overhead caused by frequent adjustment can be saved; on the other hand, by not adjusting the antenna state in the scene where the user's hand holding position blocks the antenna state corresponding to the current posture, the phenomenon of poor antenna performance after adjustment can be avoided; on the other hand, by adjusting to the antenna state corresponding to the current posture when the received signal strength corresponding to the current antenna state is not good and there is no user's hand holding block, better antenna performance can be achieved.

[0295] The above describes how to adjust the antenna state based on the scene and the posture. Ideally, adjusting the antenna state in the above manner can always maintain good antenna performance and obtain accurate positioning results.

[0296] However, in actual scenarios, the antenna state may be adjusted to an incorrect state due to some factors (such as component failure, network failure, input / output error, etc.), resulting in poorer positioning results. Therefore, to avoid this phenomenon, the AP 331 can use some strategies to ensure that the antenna state with better performance is adjusted after determining the antenna state to be adjusted in the above manner.

[0297] For example, after adjusting to a certain antenna state, the received signal strength corresponding to the adjusted antenna state can be obtained, and then compared with the adjusted received signal strength. If it is indeed better than the received signal strength before adjustment, it means that this adjustment is correct, and the antenna state can be maintained. If it is smaller than the received signal strength before adjustment, it means that this adjustment is incorrect. In this case, the original antenna state can be adjusted back, or other antenna states can be adjusted, such as finding the antenna state with the best received signal strength by trial adjustment. Based on this, the adjusted received signal strength can be used to close-loop detect whether the antenna state is adjusted correctly to ensure that the antenna state with better performance is adjusted.

[0298] In addition, in a scenario where adjusting the antenna state affects the current service quality or service interruption (for example, in a navigation scenario, adjusting the antenna state of the GPS antenna requires a long time, and the navigation service during this time will be interrupted), before the antenna device is controlled to adjust the antenna state, the IMU can also be controlled to take over the positioning function of the antenna device, that is, after determining to adjust the antenna state, the IMU is notified to take over the positioning function, and then the antenna state is adjusted. In this way, the IMU will continue to serve during the adjustment of the antenna state, so that the adjustment of the antenna state of the antenna device can be realized without interrupting the service or affecting the service quality.

[0299] In addition, in a scenario where adjusting the antenna state affects the current service quality or service interruption (for example, in a navigation scenario, adjusting the antenna state of the GPS antenna requires a long time, and the navigation service during this time will be interrupted), before the antenna device is controlled to adjust the antenna state, the IMU can also be controlled to take over the positioning function of the antenna device, that is, after determining to adjust the antenna state, the IMU is notified to take over the positioning function, and then the antenna state is adjusted. In this way, the IMU will continue to serve during the adjustment of the antenna state, so that the adjustment of the antenna state of the antenna device can be realized without interrupting the service or affecting the service quality.

[0300] In order to further illustrate the specific implementation, taking the navigation scenario as an example, please refer to FIG. 11, the antenna control method can also include the following steps:

[0301] Step 1101, the AP 331 notifies the IMU 3914 to take over the positioning function of the GPS antenna device.

[0302] For example, the AP 331 can send a takeover control signal to the IMU 3914 through the Sensor Hub 332. The IMU 3914 temporarily takes over the positioning function of the GPS antenna device according to the takeover control signal. The temporary takeover time is about 4-5 minutes. That is, the IMU 3914 can provide positioning signals to the navigation APP within 4-5 minutes. In other words, the positioning signal of the navigation APP is no longer provided by the GPS antenna device within the 4-5 minutes.

[0303] Step 1102, the AP 331 controls the GPS antenna device to adjust from the current antenna state to the antenna state corresponding to the posture of the terminal device after the transformation.

[0304] Here, the GPS antenna device needs to break the current antenna state before adjusting the antenna state, and then reconfigure the antenna state, which takes about a few seconds. Therefore, the GPS antenna device cannot serve during these few seconds, that is, it cannot provide positioning signals.

[0305] However, since the GPS positioning function has been temporarily taken over by the IMU 3914, and the temporary takeover time is 4-5 minutes, the IMU 3914 can provide positioning signals during the period when the GPS antenna device adjusts the antenna state, so that the navigation service can continue to be used.

[0306] In step 1103, the AP 331 acquires the received signal strength corresponding to the adjusted antenna state, and determines whether the received signal strength is greater than or equal to the set signal strength. If yes, step 1104 is performed; if no, step 1105 is performed.

[0307] Here, the set signal strength can be the received signal strength corresponding to the antenna state before adjustment, or can be a set threshold. The set threshold can be set by a person skilled in the art according to experience, such as a first threshold value of 40 dB indicating a strong signal scenario, or a fourth threshold value of 24 dB indicating a weak signal scenario, or any value between 24 dB and 40 dB, or a value greater than 40 dB in a scenario requiring higher accuracy, without limitation.

[0308] Optionally, the received signal strength corresponding to the adjusted antenna state can be forwarded by the GPS antenna device to the AP 331 through the CN processor 333 and the Sensor Hub 332 in turn. The AP 331 belongs to the top decision-making component, and the adjusted antenna state is decided by the AP 331 in combination with many scenarios, postures and received signal strengths. Therefore, after adjusting the antenna state, the received signal strength corresponding to the adjusted antenna state is fed back to the AP 331, which can form a closed-loop decision and improve the robustness of the overall antenna control.

[0309] In step 1104, the AP 331 ends the antenna adjustment.

[0310] Here, when the received signal strength corresponding to the adjusted antenna state is greater than or equal to the set signal strength, it means that the antenna receiving performance corresponding to the adjusted antenna state is better than that corresponding to the antenna state before adjustment, or the set threshold requirement has been met. In this case, the AP 331 can determine the adjusted antenna state as the final antenna state and end the antenna adjustment process, so as to stabilize the adjustment to the adjusted antenna state. After that, when the posture of the terminal device changes again, the AP 331 can determine the next antenna state to be adjusted based on the current scenario.

[0311] It can be understood that after the takeover time of the IMU 3914 ends, the GPS antenna device will take over the positioning function again. At this time, since the GPS antenna device has been adjusted to the antenna state corresponding to the current posture of the terminal device, the terminal device will receive GPS signals in the antenna state corresponding to the current posture. The antenna state corresponding to the current posture has relatively good received signal strength, so the terminal device can have relatively accurate positioning function.

[0312] Step 1105, the AP 331 controls the GPS antenna device to adjust to the antenna state with the best received signal strength.

[0313] Here, when the received signal strength corresponding to the adjusted antenna state is less than the set signal strength, it means that the antenna receiving performance of the adjusted antenna state is worse than that of the unadjusted antenna state, or does not meet the set threshold requirement. In this case, it can be determined that the adjusted antenna state is not the final antenna state, and the AP 331 needs to determine the final antenna state based on the received signal strength of each antenna state.

[0314] Alternatively, the AP 331 can determine the final antenna state in various ways, two examples are given below.

[0315] In one example, the AP 331 can control the GPS antenna device to adjust from the adjusted antenna state to another antenna state other than the unadjusted antenna state and the adjusted antenna state, and obtain the received signal strength corresponding to the other antenna state, and then adjust from the other antenna state to another antenna state that has not been adjusted, and obtain the received signal strength corresponding to the other antenna state, and so on until all antenna states are adjusted. The antenna state with the best received signal strength among all antenna states is taken as the final antenna state, and the AP 331 controls the GPS antenna device to adjust to the final antenna state. Based on this example, the final antenna state will be the one with the best received signal strength among all antenna states, so after adjusting to the final antenna state, the antenna performance of the terminal device is the best, and the positioning function of the terminal device is the most accurate.

[0316] In another example, the AP 331 can control the GPS antenna device to adjust from the adjusted antenna state to another antenna state other than the pre-adjusted antenna state and the adjusted antenna state, and acquire the received signal strength corresponding to the other antenna state, and then determine whether the received signal strength corresponding to the other antenna state is greater than or equal to the set signal strength. If it is greater than or equal to the set signal strength, it means that the antenna receiving performance corresponding to the other antenna state has met the requirements, and therefore the AP 331 can end the adjustment process to stabilize the adjustment to the other antenna state. Conversely, if it is less than the set signal strength, it means that the antenna receiving performance corresponding to the other antenna state cannot meet the requirements, and in this case, the AP 331 can control the GPS antenna device to adjust from the other antenna state to another antenna state that has not been adjusted, and repeat the above operations until an antenna state with a received signal strength greater than or equal to the set signal strength is found. Based on this example, the final antenna state is an antenna state that meets the requirements among the various antenna states, and this way does not need to adjust and analyze all antenna states, and therefore the time for ending the adjustment can be advanced, and processing resources can be saved.

[0317] It should be noted that for the GPS antenna device, the adjustment between two antenna states takes about a few seconds, and even if the terminal device has 6 antenna states (such as the antenna states GPL L1-0 to GPL L1-5 introduced above), the total adjustment time is only a few tens of seconds, and the time required for judgment and other operations is only 2-3 minutes. The takeover time of the IMU 3914 is 4-5 minutes, and therefore the entire process of any of the above examples can be completed within the takeover time of the IMU 3914, and will not affect the GPS positioning function.

[0318] It can be understood that when the terminal device is in an environment with very weak GPS signals, such as a tunnel, the IMU 3914 in the terminal device will temporarily take over the positioning function, which is the original capability of the IMU 3914. The above decision scheme utilizes this capability of the IMU 3914 to find an antenna state with the best or relatively good received signal strength through trial adjustment without affecting the original positioning function, thereby improving the robustness of terminal positioning and navigation.

[0319] In the embodiments of the present application, the final antenna state determined based on the antenna receiving strength is referred to as antenna state A1, and the antenna state determined based on the scene and the posture is referred to as antenna state A2. When the antenna state A1 and the antenna state A2 conflict, the AP 331 can directly take the antenna state A1 as the final antenna state to be adjusted, or can also pre-configure weights and determine the final antenna state to be adjusted according to the weights. The foregoing describes the implementation process of taking the antenna state A1 as the final antenna state to be adjusted. The following briefly describes the content of determining the final antenna state to be adjusted based on the weights.

[0320] In one example, the weights can be configured based on the adjustment overhead and the benefits. For example, considering that the stronger the signal, the smaller the benefit of improving 1 dB in positioning and navigation, and the weaker the signal, the more obvious the improvement in positioning and navigation accuracy when improving 1 dB, therefore, in one specific example, different weight configurations can be made according to the intervals of strong and weak signals, for example:

[0321] If the receiving signal strength of the antenna state A1 is greater than or equal to 40 dB, it indicates that the antenna state A1 itself belongs to a strong signal scene, the weight of the antenna state A1 is configured as 1, and the weight of the antenna state A2 is configured as 0, that is, the antenna state A1 is the final antenna state to be adjusted;

[0322] If the receiving signal strength of the antenna state A1 is less than 24 dB, it indicates that the antenna state A1 itself belongs to a weak signal scene, the weight of the antenna state A1 is configured as 0, and the weight of the antenna state A2 is configured as 1, therefore, the antenna state A2 is the final antenna state to be adjusted;

[0323] If the receiving signal strength of the antenna state A1 is between 24 dB and 40 dB, it indicates that the antenna state A1 belongs to a medium strong signal scene, the weight of the antenna state A1 is configured as 0.5, the weight of the antenna state A2 is configured as 0.2, and the weight of the difference between the receiving signal strengths of the antenna state A1 and the antenna state A2 is configured as 0.8. That is, the difference between the receiving signal strengths of the antenna state A1 and the antenna state A2 needs to be calculated, and then the difference is multiplied by the corresponding weight 0.8, and the final weight of the antenna state A2 is calculated according to the product and the previous weight 0.2. When the difference is larger, the final weight of the antenna state A2 is larger, and the final weight of the antenna state A2 can be larger than the weight of the antenna state A1, therefore, the antenna state A2 is the antenna state to be adjusted. Conversely, when the difference is smaller, the final weight of the antenna state A2 is smaller, and the final weight of the antenna state A2 can be smaller than the weight of the antenna state A1, therefore, the antenna state A1 is the final antenna state to be adjusted.

[0324] It can be understood that the above is only an example of a weight distribution, but the application is not limited thereto. As long as the weight is set according to the adjustment overhead and the benefit to decide the antenna state to be adjusted, the scheme is within the protection scope of the application, and the application does not limit it.

[0325] The above describes how to adjust the antenna state based on the scene, the posture and the received signal strength. It should be noted that the above only takes the terminal device having 6 antenna states as an example to describe the scheme. However, in the actual terminal device, there can be less than or more than 6 antenna states.

[0326] For example, in the circuit schematic of FIG. 4, the terminal device has 3 antenna states, i.e., GPS L1-0~GPS L1-2. In this case, the AP 331 can determine whether to adjust the antenna state according to the above manner, if it needs to be adjusted to a certain antenna state, and the terminal device has the antenna state among the 3 antenna states GPS L1-0~GPS L1-2, the GPS antenna device can be controlled to adjust to the antenna state. If it needs to be adjusted to a certain antenna state, but the terminal device does not have the antenna state among the 3 antenna states GPS L1-0~GPS L1-2, it can not be adjusted, that is, the antenna device continues to work in the original antenna state, so as to avoid adjusting to a worse antenna state.

[0327] For another example, in the scene with the least antenna states, the terminal device can only have two antenna states, one of which is an example of a horizontal screen antenna state, and the other of which is an example of a vertical screen antenna state. The AP 331 determines the antenna state to be adjusted according to the above manner, if the antenna state exists in the two antenna states, it can be adjusted to the antenna state, if the antenna state does not exist in the two antenna states, it can not be adjusted.

[0328] And so on, which will not be listed one by one here.

[0329] In addition, it should be noted that there are several antenna states of the antenna device, and the terminal device can have several set postures, that is, the AP 331 can only focus on the change of the terminal device between the several set postures, and does not need to focus on the change of other non-existing postures. For example, considering that the terminal device usually has the following three postures when in use: a portrait posture, a landscape posture, and a flat posture, according to the three postures, three antenna states can be set, and the three antenna states correspond to the three postures respectively. Based on this, assuming that the terminal device is in the default portrait posture, after starting navigation, only whether the terminal device changes to the landscape posture or the flat posture can be detected, and if the posture changes, whether to adjust the antenna state or to which antenna state to adjust can be determined in combination with the corresponding scene and the changed posture, and then the state adjustment is performed. As for the posture of the terminal device changing to a posture other than the above three postures, it is not considered and analyzed. In this way, processing resources can be saved.

[0330] Further, the plurality of antenna states can be realized by a tuning mode, or can be realized by a switching mode, or can be realized by a tuning mode plus a switching mode. For example, referring to the circuit structure shown in FIG. 4, the terminal device has three antenna states GPS L1-0 to GPS L1-2, wherein the antenna state GPS L1-0 is the default antenna state, the antenna state GPS L1-2 is realized by a tuning mode, and the antenna state GPS L1-1 is realized by a switching mode. The corresponding antenna device diagram can be seen in FIG. 12. In this example, the GPS has two radiators, i.e., a radiator 1 and a radiator 2, and the radiator 1 and the radiator 2 are separated by a ground point or a gap. The radiator 1 is parallel to the top edge, and a tuning circuit is arranged on the radiator 1. The tuning circuit can realize the switching between the antenna state GPS L1-0 and the antenna state GPS L1-2 by impedance adjustment, aperture adjustment, or ground point setting. The radiator 2 is parallel to the left side edge, and a switching circuit is arranged on the radiator 2. The switching circuit can realize the switching between the antenna state GPS L1-0 and the antenna state GPS L1-1. The antenna radiator shown in FIG. 12 is located in the frame, and the antenna radiator can also be located on the frame. The position of the antenna radiator is not limited in the present application. The tuning circuit can be any circuit capable of realizing antenna tuning function, and the switching circuit can be any circuit capable of realizing antenna switching function, which are not limited in the present application.

[0331] Taking the realization of the plurality of antenna states by the tuning circuit as an example, the present application can also provide an antenna device, which can be a GPS antenna device exemplarily. The related structure and the corresponding antenna control mode are described as follows.

[0332] Please refer to FIG. 13, which is a structural schematic diagram of an antenna device provided by the present application. The antenna device comprises a first radiator 1300, and the first radiator 1300 has at least three electrical connection points, and three electrical connection points are taken as an example in the figure, which are a feeding point (J1), a first grounding point (J 21 ) and a second grounding point (J 22 ) respectively. The first grounding point J 21 is located between the feeding point J1 and the second grounding point J 22 , and the second grounding point J 22 has a first tuning circuit 1310 between the reference ground.

[0333] It should be noted that the frame of the terminal device is taken as an example in FIG. 13, but in other implementation manners, the antenna radiator can not be the frame of the terminal device, but can be located inside the frame. In this case, the frame needs to be made of a material with small shielding effect, such as a plastic material or a plastic material.

[0334] In addition, it should be noted that the frame arc is taken as an example in FIG. 13, and other implementation schemes can also be a straight line, such as a straight strip radiator located at the top or side of the terminal device, as long as three electrical connection points are met, one is a feeding point, and two or more are grounding points.

[0335] For ease of understanding, the following will take the antenna radiator as the frame arc of the terminal device as an example for introduction, but the related content can also be applicable to the scheme of non-frame arc, and the present application does not repeat the introduction.

[0336] Optionally, when the antenna radiator is the frame arc of the terminal device, the part between the first grounding point J 21 and the feeding point J1 and the part between the second grounding point J 22 and the feeding point J1 are not parallel, which can be understood as that the first grounding point J 21 and the second grounding point J 22The first radiator is located at least partially at the intersection of two side edges of the terminal device. For example, in a terminal device, there are usually eight antenna radiators, which are separated by slots, and among the eight antenna radiators, there are GPS antenna radiators, cellular antenna radiators, Wi-Fi / BT antenna radiators, RFID antenna radiators, etc. The layout of the eight antenna radiators on the frame of the terminal device is shown in FIG. 13. Based on the layout, the radiator located at the intersection of two side edges can be taken as the first radiator 1300, that is, the radiator at the diagonal can be taken as the first radiator 1300. For example, in FIG. 13, the radiator at the upper left diagonal is taken as the first radiator 1300, but in other schemes, the radiator at the upper right diagonal, the lower left diagonal, or the lower right diagonal can also be taken as the first radiator 1300, which can be a GPS antenna radiator.

[0337] Based on the above layout, the shape of the first radiator 1300 has multiple possibilities. For example, in one example, as shown in FIG. 13, if the frame of the terminal device is curved, the first radiator 1300 can be arc-shaped. For another example, as shown in FIG. 14a, if the frame of the terminal device is vertically transitioned, the first radiator 1300 is vertical. For another example, as shown in FIG. 14b, if the frame of the terminal device is rectangular, the first radiator 1300 is also rectangular. The first radiator 1300 can also have other bending or non-bending shapes, which are not listed one by one here.

[0338] Optionally, when the first radiator 1300 is a bending shape, the first ground point J 21 may be located at or near the bending position, such as a distance less than the first distance from the bending position, as shown in FIG. 13 or FIG. 14a. When the first radiator 1300 is a non-bending shape, the first ground point J 21 may be located at or near the center of the non-bending shape, such as a distance less than the first distance from the center of the non-bending shape, as shown in FIG. 14b. The first distance can be a distance greater than or equal to 1 mm and less than or equal to 3 mm.

[0339] Further, as shown in FIG. 13, FIG. 14a, or FIG. 14b, the first radiator 1300 includes a conductive part between the first slot (i.e., slot 1 in the figure) and the second slot (i.e., slot 2 in the figure) of the frame, assuming that the slot closest to the feed point J1 is slot 1, and the slot closest to the second ground point J 22 is slot 2, the feed point J1 can be arranged near the slot 1, and the second ground point J 22The second distance can be a distance greater than or equal to 1 mm and less than or equal to 6 mm. The second ground point J 22 The third distance can be a distance greater than or equal to 0.5 mm and less than or equal to 6 mm.

[0340] It should be noted that the above first distance, second distance and third distance are related to the frequency band of the antenna design. For example, the value range of each of the above first distance, second distance and third distance is given as an example of the current antenna device for the GPS frequency band. If it is other frequency bands such as cellular, WiFi, and satellite frequency bands, the first distance, second distance and third distance should be changed accordingly according to the working frequency.

[0341] Optionally, in the first radiator 1300, in addition to the second ground point J 22 The first ground point J 21 Between the reference ground and the feed point J1 and the feed source can be directly connected or connected through a tuning circuit. For example, taking the first radiator 1300 shown in FIG. 13 as an example:

[0342] In one example, as shown in FIG. 13, the second ground point J 22 The first ground point J 21 Directly accesses the reference ground, and the feed point J1 directly accesses the feed source;

[0343] In another example, as shown in FIG. 15a, the second ground point J 22 The first ground point J 21 Directly accesses the reference ground, and the feed point J1 directly accesses the feed source;

[0344] In yet another example, as shown in FIG. 15b, the second ground point J 22 The first ground point J 21 Directly accesses the reference ground;

[0345] In still another example, as shown in FIG. 15c, the second ground point J 22 The first ground point J 21The second tuning circuit 1320 is between the reference ground and the feed point J1, and the third tuning circuit 1330 is between the feed point J1 and the feed source.

[0346] For any one of the first tuning circuit 1310, the second tuning circuit 1320, or the third tuning circuit 1330 in the above, a switching element can be included, one end of the switching element is connected to the corresponding electrical connection point of the tuning circuit, and the other end can be connected to any one of the at least one adjustable device. The at least one adjustable device may, for example, include but is not limited to a resistance, an inductance, a capacitance, a ground point, etc., and the switching element may, for example, include but is not limited to a single-pole single-throw (SPST) switch, a single-pole double-throw (SPDT) switch, a single-pole three-throw (SP3T) switch, a single-pole four-throw (SP4T) switch, etc. For example, when the at least one adjustable device includes four, the switching element can be a 4-way SPST, a 2-way SPDT, or a SP4T.

[0347] For example, taking the structure shown in FIG. 15c as an example, please refer to FIG. 16, a specific structure diagram of an antenna device provided by the present application is shown. In this example, in combination with FIG. 15c and FIG. 16:

[0348] The first tuning circuit 1310 can include a first switching element K1, a first inductance L1, a first capacitance C1, and a first resistance R1. The first switching element K1 can be a SP4T shown in the figure or other switches, and the first end of the first switching element K1 is connected to the second ground point J 22 The second end has four branches that can be switched: directly connected to the reference ground; or connected to the reference ground through the first inductance L1; or connected to the reference ground through the first capacitance C1; or connected to the reference ground through the first resistance R1;

[0349] Similarly, the second tuning circuit 1320 can include a second switching element K2, a second inductance L2, a second capacitance C2, and a second resistance R2. The second switching element K2 can be a SP4T shown in the figure or other switches, and the first end of the second switching element K2 is connected to the first ground point J 21 The second end has four branches that can be switched: directly connected to the reference ground; or connected to the reference ground through the second inductance L2; or connected to the reference ground through the second capacitance C2; or connected to the reference ground through the second resistance R2;

[0350] Similarly, the third tuning circuit 1330 may include a third switching element K3, a third inductor L3, and a third capacitor C3. The third switching element K3 may be the SP3T shown in the figure or other switches. The first end of the third switching element K3 is connected to the feed point J1, and the second end has three branches that can be switched: directly connected to the feed source; or connected to the feed source through the third inductor L3; or connected to the feed source through the third capacitor C3.

[0351] Based on the adjustment circuit structure shown in Figure 16, the second grounding point J can be adjusted by switching the branch connected to the second terminal of the first switching element K1, the branch connected to the second terminal of the second switching element K2, and the branch connected to the second terminal of the third switching element K3. 22 With the first grounding point J 21 The current direction between them, the feed point J1 and the second grounding point J 22 The impedance between them, and the first grounding point J 21 With the second grounding point J 22 The impedance between them, etc., can be adjusted to achieve the desired antenna state.

[0352] Assuming the power supply point J1 is connected to the second grounding point J 22 The portion between these points is called the first part, and the first grounding point J is also called the first grounding point. 21 With the second grounding point J 22 The portion between these two points is called the second part. Therefore, the antenna state of the antenna device can be broadly categorized into two types: main mode and parasitic mode. The current flow direction in the second part differs between the main mode and the parasitic mode. For example, the current flow direction in the main mode is shown in Figure 17a, and the current flow direction in the parasitic mode is shown in Figure 17b. When the terminal device is in main mode, the current flow direction in the first part is from the second grounding point J. 22 The current flows in the direction of the feed point J1, while the current in the second part flows from the first grounding point J. 21 Flowing to the second grounding point J 22 The direction of current flow in the second part is the same as that in the first part. However, when the terminal device is in parasitic mode, the current flow in the first part is still from the second grounding point J. 22 The current flows towards the feed point J1, while the current flow in the second part changes to flow from the second grounding point J. 22 Flowing to the first grounding point J 21 The direction of the current flow in the second part is opposite to that in the first part. In this case, the reverse current flow in the second part will block the current in the first part. When the magnitude and direction of the reverse current in the second part are different, the blocking effect on the current in the first part is also different, so that the orientation of the antenna pattern of the first radiator 1300 can be changed.

[0353] Based on this, assuming that the main mode is the default mode of the antenna device, when the antenna state needs to be adjusted, one or more of the branches connected to the second end of the first switching element K1, the second end of the second switching element K2, and the second end of the third switching element K3 can be switched to excite the antenna device to generate a first resonance and a second resonance, and the first resonance and the second resonance cover the same working frequency band. Alternatively, the equivalent current direction corresponding to the first resonance on the first radiator 1300 is approximately perpendicular to the equivalent current direction corresponding to the second resonance on the first radiator 1300, where approximately perpendicular can be understood as an included angle within the range of plus or minus 20° of 90°. For example, as shown in FIG. 17b, if the equivalent current direction corresponding to the first resonance on the first radiator 1300 is the approximately vertical direction in the figure, the equivalent current direction corresponding to the second resonance on the first radiator 1300 can be the approximately horizontal direction in the figure. In this way, the antenna device can be switched from the default main mode to the parasitic mode. In the parasitic mode, by adjusting the capacitance, inductance, and resistance branches connected to the second end of the first switching element K1 and the second end of the second switching element K2, different current directions can be achieved, thereby achieving different antenna pattern orientations.

[0354] In one embodiment, the main mode can be considered as the default mode of the antenna device, and the parasitic mode can be considered as the non-default mode of the antenna device. For example, the first antenna state is the default antenna state, and the antenna device works in the first antenna state in the main mode and works in the second antenna state or other antenna states in the parasitic mode. It should be understood that the parasitic mode can correspond to multiple antenna states of the antenna device, and the multiple antenna states can be achieved by adjusting the second equivalent current direction and size.

[0355] For example, in combination with Table 1, FIG. 16, FIG. 10, FIG. 17a, and FIG. 17b:

[0356] Assuming that the default mode (i.e., the main mode) of the antenna device is GPS L1-0 in Table 1, and the corresponding antenna pattern orientation is X in FIG. 10 11 , as shown in FIG. 16, by default, the second end of the second switching element K2 can be directly connected to the reference ground, so that the first ground point J 21 is directly grounded; the second end of the third switching element K3 can be directly connected to the feed source, so that the feed point J1 is directly connected to the feed source; and the second end of the first switching element K1 can be connected to the reference ground through the first inductor L1 or the first capacitor C1. Both the first inductor L1 and the first capacitor C1 can achieve the current flow direction in FIG. 17a, but the specific selection of the adjustable component can be obtained in advance, for example, the component with the maximum current value can be obtained in advance, and the component is selected to be connected to the reference ground, thereby ensuring the best antenna performance.

[0357] Suppose to adjust from the default GPS L1-0 to GPS L1-2 in Table 1, that is, to adjust to X in Fig. 10 21 As shown in the antenna pattern orientation, the second end of the third switch element K3 in Fig. 16 can be controlled to connect the feed source through the third capacitor C3, the second end of the second switch element K2 is directly grounded, and the second end of the first switch element K1 is not grounded.

[0358] Suppose to adjust from the default GPS L1-0 to GPS L1-3 in Table 1, that is, to adjust to X in Fig. 10 22 As shown in the antenna pattern orientation, the second end of the third switch element K3 in Fig. 16 can be controlled to directly connect the feed source, the second end of the second switch element K2 is directly grounded, and the second end of the first switch element K1 is grounded through the first inductor L1.

[0359] With the above antenna device, different antenna state orientations of different antenna patterns can be realized through one antenna radiator. The adjustment between different antenna states is realized by changing the position of the parasitic element, which is relatively simple and easy to implement, and can reduce the design difficulty. In addition, the half-wavelength and different mode (DM) design can also be used on the entire antenna radiator, so the antenna performance of the area where the antenna radiator is located can also be improved.

[0360] Based on the above-described antenna control method, the present application can also provide an antenna control device, which can be used to execute the above antenna control method. The related features can be referred to the above method embodiments, which will not be described here.

[0361] In a possible implementation, please refer to Fig. 18, which shows a possible structural schematic diagram of an antenna control device. The antenna control device 1800 can include a processing unit 1810 and a transceiver unit 1820. The antenna control device 1800 can be a terminal device or a module (such as a processor, a chip or a chip system) in the terminal device, or can also be applied to or matched with the terminal device or the module thereof, and can realize the antenna control method executed by the terminal device or the module thereof.

[0362] The transceiver unit 1820 can also be referred to as a communication unit, a transceiver, a transceiver unit, or the like, and the processing unit 1810 can also be referred to as a processor, a processing chip, a processing board, a processing unit, or the like. Optionally, the transceiver unit 1820 is configured to perform the transmitting operation and the receiving operation in the above antenna control method, and the device in the transceiver unit 1820 for realizing the receiving function can be regarded as a receiving unit, and the device in the transceiver unit 1820 for realizing the transmitting function can be regarded as a transmitting unit, that is, the transceiver unit 1820 includes the receiving unit and the transmitting unit.

[0363] Optionally, the processing unit 1810 is configured to realize the processing function in the embodiments shown in FIG. 5, FIG. 8, or FIG. 11, and the transceiver unit 1820 is configured to realize the transceiving function in the embodiments shown in FIG. 5, FIG. 8, or FIG. 11. For example, when the antenna control device 1800 performs the antenna control method shown in FIG. 5, the transceiver unit 1820 is configured to interact with the sensor of the terminal device and / or the server of the service APP, to obtain the sensor information of the terminal device and / or the service information of the terminal device, and the processing unit 1810 is configured to determine the scene in which the terminal device is located according to the sensor information of the terminal device and / or the service information of the terminal device, to determine the posture of the terminal device according to the sensor information of the terminal device, and to control the antenna device to adjust from the first antenna state to the second antenna state based on the scene in which the terminal device is located and the posture of the terminal device, wherein the first antenna state adjustment to the second antenna state has different antenna patterns.

[0364] In addition, it should be noted that the aforementioned transceiver unit 1820 and / or the processing unit 1810 can be implemented by a virtual module, for example, the processing unit 1810 can be implemented by a software function unit or a virtual device, and the transceiver unit 1820 can be implemented by a software function or a virtual device. Alternatively, the processing unit 1810 or the transceiver unit 1820 can also be implemented by an entity device, for example, if the antenna control device 1800 is implemented by a chip / chip circuit, the transceiver unit 1820 can be an input / output circuit and / or a communication interface, and is configured to perform an input operation (corresponding to the aforementioned receiving operation) and an output operation (corresponding to the aforementioned transmitting operation); and the processing unit 1810 is an integrated processor or a microprocessor or an integrated circuit.

[0365] The division of the units in the embodiments of the present application is illustrative, and is only a logical function division. In actual implementation, another division mode can be used. In addition, each functional unit in each embodiment of the present application can be integrated in one processor, or can be physically separated, or two or more units can be integrated in one module. The integrated module can be implemented in the form of hardware or in the form of a software function module.

[0366] In another possible implementation, please refer to Fig. 19, which shows another possible structural schematic diagram of the antenna control apparatus. For example, the antenna control apparatus 1900 can be a chip or a chip system. Optionally, the chip system in the embodiments of the present application can be composed of a chip, or can contain a chip and other discrete devices.

[0367] The antenna control apparatus 1900 can be used to realize the functions of the terminal device or the modules (such as a processor, a chip or a chip system) in the terminal device described in the foregoing embodiments. The antenna control apparatus 1900 can include at least one processor 1910 coupled with a memory. Optionally, the memory can be located in the antenna control apparatus 1900, and can be integrated with the processor, or can be located outside the antenna control apparatus 1900. For example, the antenna control apparatus 1900 can further include at least one memory 1920. The at least one memory 1920 stores computer programs (or instructions) and / or data necessary for implementing any of the foregoing embodiments; and the at least one processor 1910 can execute the computer programs (or instructions) and / or data stored in the at least one memory 1920 to complete the method in any of the foregoing embodiments.

[0368] The antenna control apparatus 1900 can further include a communication interface 1930, and the antenna control apparatus 1900 can exchange information with other devices through the communication interface 1930. For example, the communication interface 1930 can be a transceiver, a circuit, a bus, a module, a pin or other types of communication interfaces. When the antenna control apparatus 1900 is a chip-type apparatus or a circuit, the communication interface 1930 in the antenna control apparatus 1900 can also be an input-output circuit, which can input information (or receive information) and output information (or send information). The processor can be an integrated processor or a microprocessor or an integrated circuit or a logic circuit, and the processor can determine the output information according to the input information.

[0369] The coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units or modules, which can be electrical, mechanical or other forms, and is used for information interaction between devices, units or modules. The processor 1910 can operate in cooperation with the memory 1920 and the communication interface 1930. The specific connection medium between the processor 1910, the memory 1920 and the communication interface 1930 is not limited in the embodiments of the present application.

[0370] Optionally, referring to FIG. 19, the processor 1910, the memory 1920, and the communication interface 1930 are connected with each other through a bus. The bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, only one thick line is used in FIG. 19, but it does not mean that there is only one bus or only one type of bus.

[0371] In the embodiments of the present application, the processor 1910 can be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and can implement or execute the disclosed methods, steps, and logic block diagrams in the embodiments of the present application. The general-purpose processor can be a microprocessor or any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as hardware processor execution or executed by a combination of hardware and software modules in the processor.

[0372] In the embodiments of the present application, the memory 1920 can be a non-volatile memory such as a hard disk drive (HDD) or a solid-state drive (SSD), etc., and can also be a volatile memory such as a random-access memory (RAM). The memory 1920 can be any other medium capable of carrying or storing desired program codes in the form of instructions or data structures and capable of being accessed by a computer, but is not limited to this. The memory 1920 in the embodiments of the present application can also be a circuit or any other device capable of realizing a storage function, used for storing program instructions and / or data.

[0373] Based on the above, the present application further provides an antenna control system, which includes the above antenna control device, one or more sensors, and an antenna device, such as the processor 330, at least one sensor 391, and the RF circuit 310 shown in FIG. 4, which can be used to execute the antenna control method provided by any of the above method embodiments.

[0374] Based on the above, the present application further provides a terminal device, which includes the above antenna control device, or includes the above antenna control system, or includes the above antenna device.

[0375] Based on the above, the present application further provides a computer readable storage medium, which stores instructions, when the instructions are executed, causing the method provided by any of the method embodiments to be implemented. The computer readable storage medium can include: a U disk, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, and various media that can store program codes.

[0376] Based on the above, the present application further provides a computer program product, which includes: a computer program (also can be referred to as code, or instructions), when the computer program runs on a computer, causing the computer to execute the method provided by any of the method embodiments. Optionally, the computer can be a terminal device.

[0377] In various embodiments of the present application, the terms and / or descriptions of different embodiments are consistent and can be referred to each other if there is no special description and logical conflict, and the technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationship.

[0378] In the present application, "at least one" means one or more, and "multiple" means two or more. "And / or" describes the association relationship of the associated objects, which means that there can be three kinds of relationships, for example, A and / or B, which can represent: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. In addition, various numbers (such as the number "first", "second", "third", "fourth", etc.) involved in the embodiments of the present application are only for the convenience of differentiation and do not limit the scope of the embodiments of the present application. The size of the serial number of the above processes does not mean the execution order, and the execution order of the processes should be determined according to its function and inherent logic.

[0379] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can be in the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can be in the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, compact disc read-only memory (CD-ROM), optical storage, etc.) containing computer usable program codes.

[0380] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks or in conjunction with the flowchart blocks. These computer program instructions can also be stored in a computer- readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart block or blocks.

[0381] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks or in conjunction with the flowchart blocks. These computer program instructions can also be stored in a computer- readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart block or blocks.

[0382] The computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks or in conjunction with the flowchart blocks. These computer program instructions can also be stored in a computer- readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instructions which implement the function specified in the flowchart block or blocks.

Claims

1. An antenna control method characterized by, The method is applied to a terminal device, the terminal device comprises an antenna device, the antenna device comprises a first antenna state and a second antenna state, the first antenna state and the second antenna state have different antenna patterns; the method comprises: According to the sensor information of the terminal device and / or the service information of the terminal device, the scene in which the terminal device is located is indicated; According to the sensor information of the terminal device, the posture of the terminal device is indicated; Based on the scene and the posture in which the terminal device is located, the antenna device is adjusted from the first antenna state to the second antenna state.

2. The method of claim 1, wherein: The sensor information of the terminal device comprises one or more of the following: Information collected by a pedometer in the terminal device, information collected by a touch sensor in the terminal device, information collected by a specific absorption rate sensor in the terminal device, global positioning system (GPS) collected terminal device information, information collected by an acceleration sensor in the terminal device, information collected by a gyroscope sensor in the terminal device, information collected by a Hall sensor of the terminal device, The service information of the terminal device comprises one or more of the following: A navigation application (APP) receives a user's navigation request, a signal receiving strength of an antenna device of the terminal device, a communication mode of the terminal device, information reflected by a reflection coefficient of the terminal device antenna, information of the terminal device APP, including video, call or game information, channel information of the terminal device.

3. The method of claim 1 or 2, wherein, According to the sensor information of the terminal device, the scene in which the terminal device is located is indicated, comprising: According to the information collected by the pedometer in the terminal device, it is indicated that the terminal device is in a walking scene or a running scene.

4. The method of any one of claims 1 to 3, wherein, According to the sensor information of the terminal device, the scene in which the terminal device is located is indicated, comprising: According to one or more of the information collected by the touch sensor in the terminal device, the specific absorption rate sensor, and the reflection coefficient of the antenna, it is indicated that the terminal device is in a non-handheld scene or a scene in which the terminal device is held at a first position.

5. The method of any one of claims 1 to 4, wherein, The currently used APP of the terminal device is a navigation APP; According to the service information of the terminal device, the scene in which the terminal device is located is indicated, comprising: Obtaining a navigation request of a user received by the navigation APP, the navigation request comprising a navigation mode, the navigation mode being one of walking, cycling and driving; According to the navigation mode, it is indicated that the terminal device is in a walking navigation scene, a non-motor vehicle navigation scene or a vehicle-mounted navigation scene.

6. The method of any one of claims 1 to 5, wherein, The terminal device performs a navigation service; According to the service information of the terminal device, the scene in which the terminal device is located is indicated, comprising: Obtaining terminal device information collected by the GPS, the terminal device information comprising a movement distance of the terminal device within a first time length; According to the movement distance and the first time length, a movement speed of the terminal device is determined; If the moving speed is less than or equal to a first speed, it is indicated that the terminal device is in a walking navigation scene; If the moving speed is greater than the first speed and less than or equal to a second speed, it is indicated that the terminal device is in a non-motor vehicle navigation scene; If the moving speed is greater than the second speed, it is indicated that the terminal device is in a vehicle navigation scene.

7. The method of any one of claims 1 to 6, wherein, The indication of the scene in which the terminal device is located based on the sensor information of the terminal device comprises: Determining the speed of the terminal device based on information collected by a speed sensor in the terminal device; If the speed of the terminal device is less than or equal to a first speed, it is indicated that the terminal device is in a walking scene; If the speed of the terminal device is greater than the first speed and less than or equal to a second speed, it is indicated that the terminal device is in a non-motor vehicle scene; If the speed of the terminal device is greater than the second speed, it is indicated that the terminal device is in a vehicle scene.

8. The method of any one of claims 1 to 7, wherein, The indication of the scene in which the terminal device is located based on the sensor information of the terminal device comprises: Determining the degree of shaking of the terminal device based on information collected by an acceleration sensor in the terminal device; If the degree of shaking is less than or equal to a first threshold value within a set time period, it is indicated that the terminal device is in a mounted scene; if the degree of shaking is greater than the first threshold value within a set time period, it is indicated that the terminal device is in an unmounted scene; or, If the degree of shaking is less than or equal to a second threshold value within a set time period, it is indicated that the terminal device is in a vehicle-mounted scene; if the degree of shaking is greater than the second threshold value and less than or equal to the first threshold value within a set time period, it is indicated that the terminal device is in a non-motor vehicle-mounted scene; if the degree of shaking is greater than the first threshold value within a set time period, it is indicated that the terminal device is in an unmounted scene.

9. The method of any one of claims 1 to 8, wherein, The indication of the scene in which the terminal device is located based on the sensor information of the terminal device comprises: Indicating that the terminal device is in a strong signal scene, a medium strong signal scene, a medium signal scene or a weak signal scene based on the signal reception strength of an antenna device of the terminal device.

10. The method of any one of claims 1 to 9, wherein, The control of the antenna device from the first antenna state to the second antenna state based on the scene and the posture of the terminal device comprises: When the terminal device undergoes a posture transformation in a first scene, controlling the antenna device to switch and / or tune from the first antenna state to the second antenna state; When the terminal device undergoes a posture transformation in a second scene, controlling the antenna device to continue to be in the first antenna state.

11. The method of any one of claims 1 to 10, wherein, The control of the antenna device from the first antenna state to the second antenna state based on the scene and the posture of the terminal device comprises: When the terminal device undergoes a posture transformation in a mounted scene, a walking scene or a running scene, controlling the antenna device to adjust from the first antenna state to the second antenna state, the antenna pattern of the second antenna state being oriented towards a target direction, the target being a satellite, a base station or a router.

12. The method of claim 11, wherein, The mounted scene comprises at least one of the following: The vehicle-mounted scenario, the vehicle-mounted navigation scenario, the non-motor vehicle-mounted scenario, and the non-motor vehicle-mounted navigation scenario.

13. The method of claim 11 or 12, wherein, In the non-motor vehicle-mounted scenario or the non-motor vehicle-mounted navigation scenario, before the controlling the antenna device to adjust from the first antenna state to the second antenna state, the method further comprises: determining that the terminal device is in a medium signal scenario, a weak signal scenario, or a medium-strong signal scenario.

14. The method of any one of claims 11 to 13, wherein, In the walking scenario or the running scenario, before the controlling the antenna device to adjust from the first antenna state to the second antenna state, the method further comprises: determining that the terminal device is in a non-handheld scenario; or determining that the terminal device is in a scenario of being handheld at a first position of the terminal device, but the first position does not block the antenna pattern orientation pointing to a target.

15. The method of any one of claims 1 to 14, wherein, The controlling the antenna device to adjust from the first antenna state to the second antenna state based on the scenario and the posture of the terminal device comprises: when the terminal device in the vehicle-mounted non-mounted scenario changes the posture, if the antenna pattern orientation of the first antenna state does not point to a vehicle window or a windshield, the method controls the antenna device to adjust from the first antenna state to the second antenna state, and the antenna pattern orientation of the second antenna state points to the vehicle window or the windshield.

16. The method of any one of claims 1 to 15, wherein, After the controlling the antenna device to adjust from the first antenna state to the second antenna state, the method further comprises: obtaining a received signal strength of the terminal device in the second antenna state; if the received signal strength is less than a set signal strength, controlling the antenna device to adjust from the second antenna state to another antenna state; controlling the antenna device to finally adjust to an antenna state with the best received signal strength according to the received signal strength of the terminal device in each antenna state.

17. The method of any one of claims 1 to 16, wherein, In a scenario where adjusting the antenna state will affect the current service quality or service interruption, before the controlling the antenna device to adjust from the first antenna state to the second antenna state, the method further comprises: controlling an inertial measurement unit (IMU) to take over the positioning function of the antenna device.

18. The method of any one of claims 1 to 17, wherein, The method further comprises: in the vehicle-mounted non-mounted scenario or the vehicle-mounted non-mounted navigation scenario, if the terminal device changes from a vertical screen posture to a horizontal screen posture, the method controls the antenna device to continue in the first antenna state, and the antenna pattern orientation of the first antenna state is a vertical screen upward direction.

19. The method of any one of claims 1 to 18, wherein, The method further comprises: in the non-motor vehicle-mounted scenario or the non-motor vehicle-mounted navigation scenario, if the terminal device changes the posture, but is in a strong signal scenario, the method controls the antenna device to continue in the first antenna state.

20. The method of any one of claims 1 to 19, wherein, The method further comprises: in the walking scenario or the running scenario, if the terminal device changes the posture, but is in a strong signal scenario, or is in a scenario of being handheld at a first position of the terminal device and the first position blocks the antenna pattern orientation pointing to a target, the method controls the antenna device to continue in the first antenna state.

21. An antenna control method characterized by, The method is applied to a terminal device, the terminal device comprising an antenna device, the antenna device comprising a first antenna state and a second antenna state, the first antenna state and the second antenna state having different antenna patterns; the method comprising: indicating, according to information collected by an acceleration sensor in the terminal device and one or more of the following: information collected by a speed sensor, information collected by a global positioning system (GPS) of the terminal device, a navigation request of a user received by a navigation application (APP), that the terminal device is in a vehicle-mounted scenario; indicating, according to information collected by the acceleration sensor and / or information collected by a gyroscope sensor in the terminal device, that the terminal device switches to a first posture; controlling the antenna device to adjust from the first antenna state to the second antenna state based on the vehicle-mounted scenario of the terminal device and the first posture.

22. The method of claim 21, wherein, The method further comprises: indicating, according to information collected by an acceleration sensor in the terminal device and one or more of the following: information collected by a speed sensor, information collected by a global positioning system (GPS) of the terminal device, a navigation request of a user received by a navigation application (APP), that the terminal device is in a vehicle-mounted scenario; indicating, according to information collected by the acceleration sensor and information collected by a gyroscope sensor in the terminal device, that the terminal device switches to a second posture; controlling the antenna device to continue in the first antenna state based on the vehicle-mounted scenario of the terminal device and the second posture.

23. The method of claim 21 or 22, wherein, The method further comprises: indicating, according to information collected by an acceleration sensor in the terminal device, signal reception strength of the antenna device, and one or more of the following: information collected by a speed sensor, information collected by a global positioning system (GPS) of the terminal device, a navigation request of a user received by a navigation application (APP), that the terminal device is in a non-motor vehicle-mounted scenario of a medium-strong signal, a medium signal or a weak signal; indicating, according to information collected by the acceleration sensor and information collected by a gyroscope sensor in the terminal device, that the terminal device switches to the first posture; controlling the antenna device to adjust from the first antenna state to the second antenna state based on the non-motor vehicle-mounted scenario of the medium-strong signal, the medium signal or the weak signal of the terminal device and the first posture.

24. The method of any one of claims 21 to 23, wherein, The method further comprises: indicating, according to information collected by an acceleration sensor in the terminal device, signal reception strength of the antenna device, and one or more of the following: information collected by a speed sensor, information collected by a global positioning system (GPS) of the terminal device, a navigation request of a user received by a navigation application (APP), that the terminal device is in a non-motor vehicle-mounted scenario of a strong signal; indicating, according to information collected by the acceleration sensor and information collected by a gyroscope sensor in the terminal device, that the terminal device switches to the first posture; controlling the antenna device to continue in the first antenna state based on the non-motor vehicle-mounted scenario of the strong signal of the terminal device and the first posture.

25. The method of any one of claims 21 to 24, wherein, The method further comprises: indicate that the terminal device is in a non-handheld walking or running scenario according to one or more of the following: information collected by a touch sensor, information collected by a specific absorption rate sensor, information reflected by a reflection coefficient of an antenna; indicate that the terminal device switches to the first posture according to information collected by an acceleration sensor and information collected by a gyroscope sensor in the terminal device; control the antenna device to adjust from the first antenna state to the second antenna state based on the non-handheld walking or running scenario of the terminal device and the first posture.

26. The method of any one of claims 21 to 25, wherein, The method further comprises: indicate that the terminal device is in a handheld walking or running scenario at a first position of the terminal device according to one or more of the following: information collected by a touch sensor, information collected by a specific absorption rate sensor, information reflected by a reflection coefficient of an antenna; indicate that the terminal device switches to the first posture according to information collected by an acceleration sensor and information collected by a gyroscope sensor in the terminal device; control the antenna device to adjust from the first antenna state to the second antenna state based on the handheld walking or running scenario at the first position of the terminal device and the first posture, the first position not blocking an antenna pattern orientation of the second antenna state; or, control the antenna device to continue in the first antenna state based on the handheld walking or running scenario at the first position of the terminal device and the first posture, the first position blocking the antenna pattern orientation of the second antenna state.

27. The method of any one of claims 21 to 26, wherein: the first posture comprises a portrait-up posture, a portrait-down posture, a landscape-side-key-up posture, a landscape-side-key-down posture, a flat-display-screen-up posture, and a flat-display-screen-down posture; the second posture comprises a portrait-down posture, a landscape-side-key-up posture, a landscape-side-key-down posture, a flat-display-screen-up posture, and a flat-display-screen-down posture.

28. A terminal device, comprising: An antenna control device for implementing the method of any one of claims 1 to 20, or for implementing the method of any one of claims 21 to 27.

29. The terminal device according to claim 28, characterized by The terminal device further comprises an antenna device, the antenna device comprising a first radiator, the first radiator comprising a feed point, a first ground point, and a second ground point, the first ground point being located between the feed point and the second ground point, the second ground point being connected to a reference ground through a first tuning circuit.

30. The terminal device of claim 29, wherein, The first radiator is at least partially located in an intersection region of two side edges of the terminal device.

31. The terminal device according to claim 29 or 30, characterized by The first radiator is bent, a distance between the first ground point and a bending position being less than a first distance, or the first radiator is rectangular, a distance between the first ground point and a center position of the rectangle being less than the first distance, the first distance being greater than or equal to 1 mm and less than or equal to 3 mm.

32. The terminal device of any one of claims 29 to 31, wherein, The first radiator comprises a conductive part between the first slot and the second slot of the bezel, a minimum distance between the feed point and the first slot or the second slot is not less than a second distance, the second distance is greater than or equal to 1mm and less than or equal to 6mm.

33. The terminal device of any one of claims 29 to 32, wherein, The first radiator comprises a conductive part between the first slot and the second slot of the bezel, a maximum distance between the second grounding point and the first slot or the second slot is not greater than a third distance, the third distance is greater than or equal to 0.5mm and less than or equal to 6mm.

34. The terminal device of any one of claims 29 to 33, wherein, The second grounding point connects the reference ground through a second tuning circuit, and / or the feed point connects the feed source through a third tuning circuit.

35. The terminal device of any one of claims 29 to 34, wherein, The first tuning circuit comprises a first switch state and a second switch state, when the first tuning circuit works in the first switch state, the antenna device works in the first antenna state; When the first tuning circuit works in the second switch state, the antenna device works in the second antenna state.

36. The terminal device of any one of claims 29 to 35, wherein, In the first antenna state or the second antenna state, the first radiator is excited to generate a first resonance and a second resonance, the first resonance and the second resonance cover the same working frequency band.

Citation Information

Patent Citations

  • Multi-antenna system and electronic equipment

    CN112310605A

  • Mobile terminal control method and mobile terminal

    CN114125142A

  • Control method and electronic equipment

    CN114615376A

  • Antenna switching method and device, electronic equipment and readable storage medium

    CN115225110A

  • Antenna switching method and terminal antenna

    CN116053806A