Antenna tuning method, device, equipment and medium
By identifying the status parameters of the terminal device and determining the tuning requirements, and performing antenna tuning, the problem of different grip postures and folding states affecting signal transmission and reception is solved, and the equipment performance and user experience are improved.
Patent Information
- Application Number
- CN202311023378.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-14
- Publication Date
- 2025-02-21
AI Technical Summary
Different user grip postures and folded terminal devices will affect the antenna signal transmission and reception status, resulting in the application running stuttering and poor user experience.
By obtaining the current status parameter set of the terminal device, identifying whether there are target status parameters that meet the antenna tuning conditions, determining whether there is an antenna tuning requirement for the device, and determining the antenna tuning strategy for tuning based on the status parameters.
The antenna signal transmission and reception status of the terminal equipment is effectively optimized, the block error rate is reduced, the stability and performance of signal transmission and reception are improved, and the user experience is optimized.
Smart Images

Figure CN119496522A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data processing, and in particular to an antenna tuning method, device, equipment and medium. Background Art
[0002] With the development of technology, almost all applications running on terminal devices rely on the network to achieve normal operation. When users use terminal devices, they can adopt a variety of holding postures, such as two-handed holding posture and one-handed holding posture, and the terminal devices can present a variety of folding states, such as horizontal screen unfolding and reverse vertical screen folding.
[0003] In this scenario, different user gripping postures and / or different terminal device folding states may have a certain degree of impact on the antenna signal reception and transmission status of the terminal device, which may cause the application to run stuck and the user experience to be poor. Summary of the invention
[0004] The present disclosure aims to solve one of the technical problems in the related art at least to some extent.
[0005] To this end, a first aspect of the present disclosure proposes an antenna tuning method.
[0006] A second aspect of the present disclosure provides an antenna tuning device.
[0007] A third aspect of the present disclosure provides an electronic device.
[0008] A fourth aspect of the present disclosure provides a computer-readable storage medium.
[0009] The first aspect of the present disclosure proposes an antenna tuning method, which includes: obtaining a current terminal state parameter set of a terminal device, wherein the terminal state parameter set includes at least one of a terminal application scenario, a terminal user grip posture, and a terminal folded state of the terminal device; identifying whether there are target state parameters in the terminal state parameter set that meet antenna tuning conditions; in response to identifying that there is at least one target state parameter in the terminal state parameter set, determining that the terminal device has an antenna tuning requirement; and determining the antenna tuning strategy of the terminal device according to the terminal state parameter set to perform antenna tuning on the terminal device.
[0010] In addition, the antenna tuning method proposed in the first aspect of the present disclosure may also have the following additional technical features:
[0011] According to an embodiment of the present disclosure, in response to identifying that there is at least one target state parameter in the terminal state parameter set, determining that the terminal device has an antenna tuning requirement includes: in response to identifying that there is at least one target state parameter in the terminal state parameter set, obtaining a first signal transceiving parameter of a first antenna that currently transmits and receives signals of the terminal device; in response to the first signal transceiving parameter being less than or equal to a preset signal transceiving parameter threshold, determining that the terminal device has the antenna tuning requirement.
[0012] According to one embodiment of the present disclosure, identifying whether there is a target state parameter that meets the antenna tuning condition in the terminal state parameter set includes: obtaining a terminal application scenario of the terminal device in the terminal state parameter set, and a preconfigured tuning scenario list of the terminal device; in response to the terminal application scenario belonging to the tuning scenario list, determining that the terminal application scenario is the target state parameter that meets the antenna tuning condition in the terminal state parameter set.
[0013] According to one embodiment of the present disclosure, the identifying whether there is a target state parameter that meets the antenna tuning condition in the terminal state parameter set includes: obtaining the terminal user's gripping posture of the terminal device in the terminal state parameter set; in response to identifying that the terminal user's gripping posture has an impact on the signal receiving and sending state of the terminal device, determining that the terminal user's gripping posture is the target state parameter that meets the antenna tuning condition in the terminal state parameter set.
[0014] According to one embodiment of the present disclosure, obtaining the terminal user grip of the terminal device in the terminal status parameter set includes: obtaining a reference grip set of the terminal device and a reference pressure parameter of each reference grip in the reference grip set on the terminal device; collecting the current pressure parameter of the terminal device, and obtaining a target reference pressure parameter that matches the current pressure parameter in each reference pressure parameter; and determining the target reference grip corresponding to the target reference pressure parameter in the reference grip set as the terminal user grip in the terminal status parameter set of the terminal device.
[0015] According to one embodiment of the present disclosure, the identifying whether there is a target state parameter that satisfies the antenna tuning condition in the terminal state parameter set includes: obtaining a terminal folding state in the terminal state parameter set; in response to the influence of the terminal folding state on the signal receiving and transmitting state of the terminal device, determining that the terminal folding state is the target state parameter that satisfies the antenna tuning condition in the terminal state parameter set.
[0016] According to one embodiment of the present disclosure, the antenna switching of the terminal device to optimize the antenna of the terminal device includes: obtaining a first signal frequency band currently used by the terminal device; determining the priority of each antenna in the terminal device within the first signal frequency band according to the terminal user's gripping posture and the terminal folding state of the terminal device; and switching the antenna of the terminal device within the first signal frequency band according to the priority of each antenna to optimize the antenna of the terminal device.
[0017] According to one embodiment of the present disclosure, the method also includes: obtaining second signal receiving and transmitting parameters of each antenna of the terminal device within the first signal frequency band; in response to the second signal receiving and transmitting parameters of each antenna within the first signal frequency band being less than or equal to a preset signal receiving and transmitting parameter threshold, tuning the terminal device to the second signal frequency band, and switching the antenna of the terminal device within the second signal frequency band to optimize the antenna of the terminal device.
[0018] According to one embodiment of the present disclosure, before identifying whether there are target state parameters that meet antenna tuning conditions in the terminal state parameter set, the method includes: obtaining a reference state parameter set for the terminal device; for any terminal state parameter, obtaining a corresponding target reference state parameter of the terminal state parameter in the reference state parameter set; in response to the terminal state parameter being different from the target reference state parameter, identifying whether there are target state parameters that meet antenna tuning conditions in the terminal state parameter set, and using the terminal state parameter set as the next reference state parameter set of the next terminal state parameter set of the terminal device.
[0019] According to one embodiment of the present disclosure, the method also includes: in response to identifying that the target state parameter does not exist in the terminal state parameter set, obtaining the first antenna of the terminal device currently receiving and transmitting signals and the second antenna of the default configuration receiving and transmitting signals; in response to the second antenna being different from the first antenna, adjusting the terminal device to restore from the first antenna to the second antenna for signal reception and transmission.
[0020] According to an embodiment of the present disclosure, it is characterized in that the terminal user's holding posture of the terminal device includes one of a two-hand holding posture, a one-hand holding posture, a left-single-hand holding posture, and a right-single-hand holding posture.
[0021] According to one embodiment of the present disclosure, the terminal folding state of the terminal device is one of the following: horizontal screen unfolded, reverse horizontal screen unfolded, horizontal screen folded, reverse horizontal screen folded, horizontal screen half opened and closed, and reverse horizontal screen half opened and closed, and vertical screen unfolded, reverse vertical screen unfolded, vertical screen folded, reverse vertical screen folded, vertical screen half opened and closed, and reverse vertical screen half opened and closed.
[0022] To achieve the above-mentioned purpose, the second aspect of the present disclosure proposes an antenna tuning device, which includes: an acquisition module, used to obtain the current terminal state parameter set of the terminal device, wherein the terminal state parameter set includes at least one of the terminal application scenario, terminal user grip posture and terminal folded state of the terminal device; an identification module, used to identify whether there are target state parameters that meet the antenna tuning conditions in the terminal state parameter set; a determination module, used to determine that the terminal device has an antenna tuning requirement in response to identifying that there is at least one target state parameter in the terminal state parameter set; and a tuning module, used to determine the antenna tuning strategy of the terminal device according to the terminal state parameter set, so as to perform antenna tuning on the terminal device.
[0023] In addition, the antenna tuning device provided in the second aspect of the present disclosure may also have the following additional technical features:
[0024] In the embodiment of the present disclosure, the determination module is also used to: in response to identifying that there is at least one target state parameter in the terminal state parameter set, obtain the first signal transceiving parameter of the first antenna of the current signal receiving and transmitting of the terminal device; in response to the first signal transceiving parameter being less than or equal to a preset signal transceiving parameter threshold, determine that the terminal device has the antenna tuning requirement.
[0025] According to one embodiment of the present disclosure, the identification module is also used to: obtain the terminal application scenario of the terminal device in the terminal state parameter set, and a pre-configured tuning scenario list of the terminal device; in response to the terminal application scenario belonging to the tuning scenario list, determine that the terminal application scenario is the target state parameter in the terminal state parameter set that satisfies the antenna tuning condition.
[0026] According to one embodiment of the present disclosure, the identification module is also used to: obtain the terminal user's gripping posture of the terminal device in the terminal state parameter set; in response to identifying that the terminal user's gripping posture has an impact on the signal receiving and sending state of the terminal device, determine that the terminal user's gripping posture is the target state parameter in the terminal state parameter set that satisfies the antenna tuning condition.
[0027] According to one embodiment of the present disclosure, the identification module is also used to: obtain a reference grip set of the terminal device and a reference pressure parameter of each reference grip in the reference grip set on the terminal device; collect the current pressure parameter of the terminal device, and obtain a target reference pressure parameter that matches the current pressure parameter among the reference pressure parameters; and determine the target reference grip corresponding to the target reference pressure parameter in the reference grip set as the terminal user grip in the terminal state parameter set of the terminal device.
[0028] According to one embodiment of the present disclosure, the identification module is also used to: obtain the terminal folding state in the terminal state parameter set; in response to the influence of the terminal folding state on the signal receiving and transmitting state of the terminal device, determine that the terminal folding state is the target state parameter in the terminal state parameter set that satisfies the antenna tuning condition.
[0029] According to one embodiment of the present disclosure, the tuning module is also used to: obtain a first signal frequency band currently used by the terminal device; determine the priority of each antenna in the terminal device within the first signal frequency band according to the terminal user's gripping posture and the terminal folding state of the terminal device; and switch the antenna of the terminal device within the first signal frequency band according to the priority of each antenna to perform antenna tuning for the terminal device.
[0030] According to one embodiment of the present disclosure, the tuning module is also used to: obtain the second signal receiving and transmitting parameters of each antenna of the terminal device within the first signal frequency band; in response to the second signal receiving and transmitting parameters of each antenna within the first signal frequency band being less than or equal to a preset signal receiving and transmitting parameter threshold, tune the terminal device to the second signal frequency band, and switch the antenna of the terminal device within the second signal frequency band to perform antenna tuning of the terminal device.
[0031] According to one embodiment of the present disclosure, the identification module is also used to: obtain a reference state parameter set of the terminal device; for any terminal state parameter, obtain a corresponding target reference state parameter of the terminal state parameter in the reference state parameter set; in response to the terminal state parameter being different from the target reference state parameter, identify whether there is a target state parameter in the terminal state parameter set that meets the antenna tuning condition, and use the terminal state parameter set as the next reference state parameter set of the next terminal state parameter set of the terminal device.
[0032] According to one embodiment of the present disclosure, the identification module is also used to: in response to identifying that the target state parameter does not exist in the terminal state parameter set, obtain the first antenna of the terminal device that currently sends and receives signals and the second antenna that is configured to send and receive signals by default; in response to the second antenna being different from the first antenna, adjust the terminal device to restore from the first antenna to the second antenna for signal reception and transmission.
[0033] According to an embodiment of the present disclosure, the terminal user's grip of the terminal device includes one of a two-hand grip, a one-hand grip, a left-hand grip, and a right-hand grip.
[0034] According to one embodiment of the present disclosure, the terminal folding state of the terminal device is one of the following: horizontal screen unfolded, reverse horizontal screen unfolded, horizontal screen folded, reverse horizontal screen folded, horizontal screen half opened and closed, and reverse horizontal screen half opened and closed, and vertical screen unfolded, reverse vertical screen unfolded, vertical screen folded, reverse vertical screen folded, vertical screen half opened and closed, and reverse vertical screen half opened and closed.
[0035] A third aspect of the present disclosure proposes an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the instructions to implement the antenna tuning method proposed in the first aspect above.
[0036] A fourth aspect of the present disclosure proposes a computer-readable storage medium. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the antenna tuning method proposed in the first aspect.
[0037] The antenna tuning method and device proposed in the present disclosure obtain the current terminal state parameter set of the terminal device, and identify whether there is a target state parameter that meets the antenna tuning condition in the terminal state parameter set. When it is identified that there is at least one target state parameter in the terminal state parameter set, it is determined that the terminal device has an antenna tuning requirement, and further, the terminal device performs antenna switching to perform antenna tuning of the terminal device. In the present disclosure, it is identified whether the terminal device has an antenna tuning requirement through the terminal state parameter, and the terminal device is antenna tuned after it is determined that the antenna tuning requirement is identified, so that when the signal transceiver state of the antenna of the terminal device is affected, the signal transceiver state of the terminal device can be optimized in time through antenna adjustment, reducing the block error rate when the terminal device is transmitting and receiving signals, thereby reducing the degree of influence of the terminal device's use state on the antenna signal transceiver state, improving the timeliness of the antenna signal transceiver state adjustment, optimizing the link performance of the terminal device, enhancing the stability of the signal transceiver of the terminal device and the performance of the terminal device, and optimizing the user's use experience.
[0038] It should be understood that the contents described in the present disclosure are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] The above and / or additional aspects and advantages of the present disclosure will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0040] Figure 1 A schematic diagram of a flow chart of an antenna tuning method according to an embodiment of the present disclosure;
[0041] Figure 2A schematic diagram of an operation interface of a user terminal according to an embodiment of the present disclosure;
[0042] Figure 3 A schematic diagram of a user terminal operation interface according to another embodiment of the present disclosure;
[0043] Figure 4 It is a structural schematic diagram of an antenna tuning device according to an embodiment of the present disclosure;
[0044] Figure 5 A block diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0045] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.
[0046] An antenna tuning method, apparatus, device, and medium proposed in an embodiment of the present disclosure are described below with reference to the accompanying drawings.
[0047] Figure 1 FIG. 1 is a flow chart of an antenna tuning method according to an embodiment of the present disclosure. Figure 1 As shown, the method includes:
[0048] S101, obtaining a current terminal state parameter set of a terminal device, wherein the terminal state parameter set includes at least one of a terminal application scenario of the terminal device, a terminal user gripping posture, and a terminal folding state.
[0049] In implementation, the signal receiving and sending status of the terminal device may be affected to a certain extent due to the user's holding posture, the folding state of the terminal device, or the switching of application scenarios.
[0050] In this scenario, the status of the terminal device can be monitored, and based on the monitored terminal status parameters, it can be identified whether the current signal receiving and sending status of the terminal device is likely to be affected.
[0051] Optionally, a set consisting of multiple terminal status parameters describing the current status of the terminal device may be obtained as the current terminal status parameter set of the terminal device.
[0052] Among them, the terminal status parameter set may include a terminal application scenario for describing the status parameters corresponding to the application scenario currently running in the terminal device, a terminal user grip for describing the status parameters corresponding to the user's current holding posture of the terminal device, and a terminal folded state for describing the status parameters corresponding to the current folded state of the terminal device. No specific limitation is made here.
[0053] S102, identifying whether there are target state parameters that meet antenna optimization conditions in the terminal state parameter set.
[0054] In the embodiment of the present disclosure, when a terminal status parameter set of a terminal device is obtained, each terminal status parameter included in the terminal status parameter set may be analyzed separately.
[0055] Optionally, for any terminal status parameter, specific parameter information that needs to be achieved when the terminal status parameter meets the antenna tuning condition can be obtained, and the information of the terminal status parameter can be compared with the specific parameter information to identify that the terminal status parameter meets the antenna tuning condition, and the terminal status parameter identified as meeting the antenna tuning condition can be marked as the target status parameter.
[0056] S103: In response to identifying that there is at least one target state parameter in the terminal state parameter set, determining that the terminal device has an antenna tuning requirement.
[0057] In the embodiment of the present disclosure, when it is identified that there is at least one target state parameter in the terminal state parameter set, it can be determined that there is a possibility that the current signal receiving and sending state of the terminal device is affected.
[0058] In this scenario, the terminal device needs to adjust and optimize the current signal receiving and transmitting state, wherein the antenna currently used by the terminal device can be adjusted to achieve the adjustment of the signal receiving and transmitting state of the terminal device.
[0059] Optionally, the method for adjusting the antenna currently used by the terminal device can be marked as antenna tuning of the terminal device. In summary, it can be determined that when there is at least one target state parameter in the terminal state parameter set, the terminal device has an antenna tuning requirement.
[0060] S104, determining and executing an antenna tuning strategy for the terminal device according to the terminal state parameter set to perform antenna tuning for the terminal device.
[0061] In the embodiment of the present disclosure, the antenna tuning strategy of the terminal device can be determined by a terminal status parameter set, wherein each terminal status parameter in the terminal status parameter set can be obtained, and then the current usage status of the terminal device can be obtained.
[0062] As an example, the terminal status parameter set is set to limit the terminal device to being currently in forward unfolding, horizontal screen and held by the user with both hands. In this example, it can be determined based on the terminal status parameter set that the terminal device is currently in the use state of unfolding both hands and horizontal screen.
[0063] In this scenario, you can screen from multiple pre-configured antennas based on the current usage status of the terminal device to determine the antenna that the terminal device needs to switch to, and then obtain the antenna tuning strategy for the terminal device.
[0064] Optionally, the signal transmission and reception status of the antenna currently used by the terminal device to transmit and receive signals, as well as the signal transmission and reception status of each of the remaining antennas among the multiple configured antennas except the antenna can be obtained, and the signal transmission and reception status of the antenna currently used to transmit and receive signals can be compared with the signal transmission and reception status of each of the remaining antennas. Based on the comparison result, the antenna whose signal transmission and reception status meets the preset status conditions is screened out from the remaining antennas, and the terminal device is controlled to switch to the antenna for signal reception and transmission, which is determined as the current antenna tuning strategy of the terminal device.
[0065] Furthermore, based on the execution of the antenna tuning strategy, the antenna of the terminal device is switched, and the signal of the terminal device is received and sent based on the switched antenna, so that the signal receiving and sending state of the terminal device is optimized, thereby realizing the antenna tuning of the terminal device.
[0066] The antenna tuning method proposed in the present disclosure obtains the current terminal state parameter set of the terminal device, and identifies whether there is a target state parameter that meets the antenna tuning condition in the terminal state parameter set. When it is identified that there is at least one target state parameter in the terminal state parameter set, it is determined that the terminal device has an antenna tuning requirement, and further, the terminal device performs antenna switching to perform antenna tuning of the terminal device. In the present disclosure, it is identified whether the terminal device has an antenna tuning requirement through the terminal state parameter, and the terminal device is antenna tuned after it is determined that the antenna tuning requirement is identified, so that the antenna can be tuned in time when the signal transceiver state of the antenna of the terminal device is affected, thereby reducing the block error rate when the terminal device is transmitting and receiving signals, thereby reducing the degree of influence of the terminal device's usage status on the antenna signal transceiver state, improving the timeliness of the antenna signal transceiver state adjustment, optimizing the link performance of the terminal device, enhancing the stability of the signal transceiver of the terminal device and the performance of the terminal device, and optimizing the user's usage experience.
[0067] In the above embodiments, the antenna of the terminal device can be tuned in combination with Figure 2 Further understanding, Figure 2 FIG. 1 is a flow chart of an antenna tuning method according to another embodiment of the present disclosure. Figure 2 As shown, the method includes:
[0068] S201, identifying whether there are target state parameters that meet antenna optimization conditions in the terminal state parameter set.
[0069] In the embodiment of the present disclosure, the terminal device has reference state parameters, wherein a set consisting of multiple reference state parameters of the terminal device can be determined as a reference state parameter set.
[0070] Optionally, a reference state parameter set of the terminal device is obtained, wherein the obtained terminal state parameter set and the reference state parameter set may be compared to determine whether to start identifying whether there is a target state parameter in the terminal state parameter set.
[0071] It should be noted that the reference state parameter set may be a set consisting of a plurality of historical terminal state parameters collected when the state of the terminal device last changed.
[0072] Optionally, for any terminal state parameter, a target reference state parameter corresponding to the terminal state parameter in a reference state parameter set is obtained, wherein, in response to the terminal state parameter being different from the target reference state parameter, it is identified whether there is a target state parameter in the terminal state parameter set that meets the antenna tuning condition, and the terminal state parameter set is used as the next reference state parameter set of the next terminal state parameter set of the terminal device.
[0073] As an example, if any terminal state parameter in the terminal state parameter set is set to a terminal folded state, a reference terminal folded state of the terminal device can be obtained from the reference state parameter set, and the reference terminal folded state can be determined as the target reference state parameter corresponding to the terminal folded state in the reference state parameter set.
[0074] Furthermore, the folded state of the terminal is compared with the folded state of the reference terminal. If the two are different, it can be considered that the usage state of the terminal device has changed.
[0075] When the usage status of a terminal device changes, it is necessary to analyze the current usage status of the terminal device and actively identify whether the terminal device has antenna tuning requirements after the usage status changes. In this scenario, you can start to identify whether there are target status parameters in the terminal status parameter set.
[0076] In an embodiment of the present disclosure, the target state parameters that meet the antenna tuning conditions may not exist in the terminal state parameter set of the terminal device. In this scenario, in response to identifying that the target state parameters do not exist in the terminal state parameter set, the first antenna currently transmitting and receiving signals of the terminal device and the second antenna configured by default to transmit and receive signals are obtained.
[0077] Optionally, multiple antennas are configured on the terminal device, among which the antenna currently used by the terminal device for signal reception and transmission can be determined as the first antenna, and the antenna configured by default for signal reception and transmission on the terminal device can be determined as the second antenna of the terminal device, wherein the second antenna can be the signal reception and transmission antenna set by the terminal device during factory configuration, and no specific limitation is made here.
[0078] The second antenna of the terminal device may be determined from a property list of the terminal device.
[0079] Optionally, in response to the second antenna being different from the first antenna, the terminal device is adjusted to restore signal transmission and reception from the first antenna to the second antenna.
[0080] In an embodiment of the present disclosure, when the target state parameter does not exist in the terminal state parameter set, the terminal device may not have an antenna tuning requirement. If it is identified at this time that the first antenna currently receiving and transmitting signals of the terminal device is different from the second antenna configured by default for the terminal device, it can be determined that the first antenna currently receiving and transmitting signals may be the antenna switched to when the terminal device performed the last antenna tuning.
[0081] In this scenario, the antenna for signal transmission and reception of the terminal device needs to be adjusted so that it can be restored from the first antenna to the second antenna for signal transmission and reception.
[0082] S202: In response to identifying that there is at least one target state parameter in the terminal state parameter set, obtain a first signal receiving and transmitting parameter of a first antenna currently receiving and transmitting a signal of the terminal device.
[0083] In the disclosed embodiment, parameter analysis can be performed on each terminal state parameter in the terminal state parameter set to identify whether each terminal state parameter will affect the current signal reception and transmission of the terminal device, and then identify whether there is a target state parameter in the terminal state parameter set that meets the antenna tuning conditions.
[0084] Among them, the antenna that the terminal device currently uses to send and receive signals can be marked as the first antenna of the terminal device.
[0085] Optionally, the terminal status parameter set of the terminal device may include the terminal application scenario, terminal user grip and terminal folded state of the terminal device. The terminal application scenario, terminal user grip and terminal folded state may be analyzed respectively to identify whether there are parameters that affect the signal reception and transmission of the first antenna, and then identify whether there are target state parameters that meet the antenna tuning conditions in the terminal status parameter set.
[0086] Among them, the identification of whether there is at least one target state parameter in the terminal state parameter can be further understood in combination with the following contents:
[0087] In the scenario where the terminal application scenario in the terminal status parameter set is analyzed, the terminal application scenario of the terminal device in the terminal status parameter set and the pre-configured tuning scenario list of the terminal device can be obtained, wherein, in response to the terminal application scenario belonging to the tuning scenario list, the terminal application scenario is determined to be the target status parameter in the terminal status parameter set that meets the antenna tuning conditions.
[0088] In the embodiment of the present disclosure, a preconfigured tuning scenario list exists in the terminal device, wherein when the terminal device is in any tuning scenario in the tuning scenario list, the terminal device may have an antenna tuning requirement.
[0089] Among them, the tuning scenario list may include application scenarios that have certain requirements for the signal reception and transmission status during the daily operation of the terminal device, such as game scenarios and video call scenarios.
[0090] Optionally, the terminal application scenario in the terminal state parameter set can be compared with each tuning scenario in the tuning scenario list of the terminal device. If there is a matching scenario for the terminal application scenario in each tuning scenario, it can be determined that the terminal application scenario belongs to the tuning scenario list, and then the terminal application scenario can be determined as the target state parameter in the terminal state parameter set that meets the antenna tuning conditions.
[0091] In a scenario where the grip posture of the terminal user in the terminal state parameter set is analyzed, the grip posture of the terminal user of the terminal device in the terminal state parameter set may be obtained.
[0092] In the embodiment of the present disclosure, the terminal user's holding posture of the terminal device includes one of a two-hand holding posture, a one-hand holding posture, a left-hand holding posture, and a right-hand holding posture.
[0093] Optionally, a reference grip posture set of the terminal device and a reference pressure parameter of each reference grip posture in the reference grip posture set on the terminal device may be acquired.
[0094] In an embodiment of the present disclosure, a reference gripping posture set of a terminal device may be obtained, wherein the gripping posture data of the terminal device may be collected through a gesture recognition algorithm in related technologies, and a historical gripping posture set of the terminal device may be determined as a reference gripping posture set of the terminal device.
[0095] The gesture recognition algorithm may be a gesture artificial intelligence (AI) model algorithm, or may be other recognition algorithms capable of collecting grip posture data, which is not specifically limited here.
[0096] For any reference grip, relevant pressure parameters such as pressure points on the device and pressure values of each pressure point when the terminal device is in the reference grip can be obtained as reference pressure parameters corresponding to the reference grip.
[0097] Optionally, the current pressure parameters of the terminal device are collected, and the target reference pressure parameters that match the current pressure parameters are obtained from each reference pressure parameter, and the target reference grip corresponding to the target reference pressure parameter in the reference grip set is determined as the terminal user grip in the terminal state parameter set of the terminal device.
[0098] In the embodiment of the present disclosure, the pressure points on the current terminal device and the pressure values at each pressure point can be obtained as the current pressure parameter of the terminal device, and the current pressure parameter can be compared with each reference pressure parameter respectively.
[0099] Among them, a pressure parameter matching the current pressure parameter can be obtained from each reference pressure parameter as a target reference pressure parameter, and the reference grip corresponding to the target reference pressure parameter in the reference grip set is determined as the current terminal user grip of the terminal device.
[0100] Optionally, in response to identifying that the terminal user's grip posture has an impact on the signal receiving and transmitting state of the terminal device, the terminal user's grip posture is determined as a target state parameter in the terminal state parameter set that meets the antenna tuning condition.
[0101] In the embodiment of the present disclosure, when a user holds a terminal device, there are some gripping postures that will have a certain degree of influence on the signal receiving and transmitting state of the first antenna of the terminal device that currently receives and transmits signals. In this scenario, the terminal user's gripping posture in the terminal state parameter set can be obtained, and it is analyzed whether the terminal user's gripping posture has a certain degree of influence on the signal receiving and transmitting state of the first antenna of the terminal device that currently receives and transmits signals.
[0102] Among them, when it is determined that the terminal user's holding posture has a certain degree of influence on the signal receiving and transmitting state of the first antenna that currently receives and transmits signals of the terminal device, it can be determined that the current terminal device may have a need for antenna tuning, and then the terminal user's holding posture in the terminal state parameter can be determined as the target state parameter in the terminal state parameter set that meets the antenna tuning conditions.
[0103] In a scenario where the terminal folding state in the terminal state parameter set is analyzed, the terminal folding state in the terminal state parameter set may be obtained.
[0104] In the disclosed embodiments, the terminal device is a foldable terminal device, such as a foldable mobile phone. The signal receiving and transmitting states of the antenna of the terminal device may be different in different folding states, among which some folding states may have a certain degree of influence on the signal receiving and transmitting state of the antenna of the terminal device.
[0105] Optionally, the terminal device is provided with an inertial measurement unit (IMU) composed of related devices such as an accelerometer and a gyroscope. When the terminal device is folded, the IMU can be used to collect information on the acceleration and rotational motion of the terminal device, so as to determine the current terminal folding state of the terminal device.
[0106] Among them, when the instrument housing of the terminal device accelerates along the input axis, the accelerometer in the IMU can detect the mass rotating around the output axis due to inertia, and convert this rotation angle into an electrical signal to feed back to the terminal device. In addition, the motion of the terminal device is detected by the gyroscope in the IMU, and the collected data of the IMU when the terminal device undergoes a folding operation is obtained, thereby determining the current terminal folding state of the terminal device.
[0107] Among them, the terminal folding state of the terminal device is one of the following: horizontal screen unfolded, reverse horizontal screen unfolded, horizontal screen folded, reverse horizontal screen folded, horizontal screen half opened and reverse horizontal screen half opened, and vertical screen unfolded, reverse vertical screen unfolded, vertical screen folded, reverse vertical screen folded, vertical screen half opened and reverse vertical screen half opened.
[0108] Optionally, in response to the fact that the terminal folding state has an impact on the signal receiving and transmitting state of the terminal device, the terminal folding state is determined to be a target state parameter in the terminal state parameter set that meets the antenna tuning condition.
[0109] In the embodiment of the present disclosure, it can be identified whether the signal receiving and sending state of the first antenna currently receiving and sending signals of the terminal device is affected when the terminal device is in the terminal folding state in the terminal state parameter set.
[0110] Among them, when it is identified that the signal receiving and transmitting state of the first antenna currently receiving and transmitting signals is affected when the terminal device is in the folded state, it can be determined that the terminal folded state is the target state parameter in the terminal state parameter set that meets the antenna tuning conditions.
[0111] In this scenario, it is necessary to further identify the signal receiving and transmitting status of the first antenna currently receiving and transmitting signals, so as to accurately determine whether there is a need for antenna tuning of the terminal device.
[0112] Optionally, a signal transceiving parameter of a first antenna currently receiving and transmitting a signal of the terminal device may be obtained and marked as a first signal transceiving parameter.
[0113] S203: In response to the first signal receiving and transmitting parameter being less than or equal to a preset signal receiving and transmitting parameter threshold, determining that the terminal device has an antenna tuning requirement.
[0114] In the embodiment of the present disclosure, when the antenna of the terminal device transmits and receives signals, there is a preset signal transmission and reception parameter threshold. It can be understood that when the signal transmission and reception parameter of the antenna is greater than the signal transmission and reception threshold, the signal transmission and reception state of the antenna can meet the requirements for normal operation of the terminal device.
[0115] In this scenario, the first signal transceiver parameter can be compared with the signal transceiver parameter threshold. When the first signal transceiver parameter is less than or equal to the signal transceiver parameter threshold, it can be determined that the signal transceiver state of the first antenna currently transmitting and receiving signals of the terminal device cannot support the normal operation of the terminal device.
[0116] Furthermore, it can be determined that the terminal device in this scenario requires antenna tuning.
[0117] S204: Switch the antenna of the terminal device to optimize the antenna of the terminal device.
[0118] Optionally, a first signal frequency band currently used by the terminal device may be acquired, and the priority of each antenna in the terminal device within the first signal frequency band may be determined according to a terminal user's gripping posture of the terminal device and a folded state of the terminal.
[0119] In the disclosed embodiment, the frequency band currently used by the terminal device for signal transmission and reception may be determined as the first signal frequency band.
[0120] In this scenario, the antenna of the terminal device can be switched within the first signal frequency band according to the priority of each antenna in the terminal device within the first signal frequency band.
[0121] As shown in the following table:
[0122]
[0123]
[0124] In the above table, the first column on the left is the terminal user's holding posture and the terminal folding state of the terminal device, B3, N41 and N78 are the signal frequency bands available to the terminal device, and T0, T1, T2, T3 and T4 are the antennas configured on the terminal device.
[0125] It can be seen from the above table that the priority ranking of each antenna of the terminal device may be different in different signal frequency bands when the user holds the terminal in the same terminal posture and the terminal is folded.
[0126] As an example, assume that the terminal user's holding posture and the terminal folding state are as shown in the above table, with both hands unfolded and the screen turned horizontally. The first signal frequency band currently used by the terminal device is the B3 signal frequency band. It can be seen from the above table that the priority of each antenna of the terminal device in the B3 signal frequency band is T2>T4>T3>T0.
[0127] As another example, the terminal user's holding posture and the terminal folding state are still set to the unfolded hands and reverse horizontal screen as shown above, and the first signal frequency band currently used by the terminal device is the N78 signal frequency band. It can be seen from the above table that the priority of each antenna of the terminal device in the N78 signal frequency band is T4>T2>T1>T0.
[0128] Optionally, according to the priority of each antenna, the antenna of the terminal device is switched within the first signal frequency band to perform antenna tuning of the terminal device.
[0129] Among them, according to the priority of each antenna in the first signal frequency band, an antenna with the next priority level of the first antenna currently receiving and transmitting signals can be obtained from multiple antennas configured on the terminal device, and the terminal device can be switched from the first antenna currently receiving and transmitting signals to this antenna for signal reception and transmission, so as to realize antenna switching of the terminal device in the first signal frequency band, and then realize antenna tuning of the terminal device.
[0130] In the embodiment of the present disclosure, during the process of switching antennas according to the priority of each antenna in the first signal frequency band, it is possible that the signal reception and transmission states of each antenna of the terminal device in the first signal frequency band are all in a poor signal reception and transmission state such as no signal or weak signal.
[0131] Optionally, the second signal receiving and transmitting parameters of each antenna of the terminal device within the first signal frequency band can be obtained, wherein, in response to the second signal receiving and transmitting parameters of each antenna within the first signal frequency band being less than or equal to a preset signal receiving and transmitting parameter threshold, the terminal device is tuned to the second signal frequency band, and the antenna of the terminal device is switched within the second signal frequency band to optimize the antenna of the terminal device.
[0132] In this scenario, the signal receiving and transmitting frequency band currently used by the terminal device can be tuned from the first signal frequency band to other signal frequency bands, wherein other available signal frequency bands of the terminal device outside the first signal frequency band can be marked as the second signal frequency band.
[0133] As shown in the above table, when B3 is set as the first signal frequency band of the terminal device, the N41 signal frequency band and the N78 signal frequency band can be marked as the second signal frequency band of the terminal device.
[0134] Furthermore, the priority of each antenna in the terminal device within the second signal frequency band can be determined according to the terminal user's holding posture and the terminal folding state, and the antenna of the terminal device can be switched within the second signal frequency band according to the priority of each antenna in the second signal frequency band to optimize the antenna of the terminal device.
[0135] It should be noted that the antenna tuning of the terminal device can be achieved through the antenna main diversity path switching technology (Antenna Switching Diversity, ASDIV) to improve the performance and power consumption of the terminal device.
[0136] It should be noted that after the terminal device performs antenna tuning, a corresponding tuning result will be generated, where the tuning result can be sent to the modem. If the tuning result indicates success, it can be determined that the tuning of the terminal device under the current terminal state parameter set is completed normally.
[0137] Correspondingly, if the tuning result indicates recognition, it can be determined that an abnormality occurs in the tuning process of the terminal device under the current terminal state parameter set.
[0138] It should be noted that abnormal antenna tuning of the terminal device may be caused by incorrect access point name parameters (Access Point Name, APN), or by a failure in the operating system of the terminal device, or by operator network problems such as the operator's network system failure, base station problems, and network congestion. No specific limitations are made here.
[0139] The antenna tuning method proposed in the present invention identifies whether a terminal device has an antenna tuning requirement through terminal status parameters, and performs antenna tuning on the terminal device after determining and identifying the antenna tuning requirement, so that the antenna tuning can be performed in time when the signal reception and transmission status of the antenna of the terminal device is affected, thereby reducing the block error rate when the terminal device transmits and receives signals, thereby reducing the influence of the use status of the terminal device on the antenna signal reception and transmission status, improving the timeliness of the antenna signal reception and transmission status adjustment, optimizing the link performance of the terminal device, enhancing the stability of the signal reception and transmission of the terminal device and the performance of the terminal device, and optimizing the user experience.
[0140] To better understand the above embodiments, Figure 3 , Figure 3 The figure is a flowchart of an antenna tuning method according to another embodiment of the present disclosure.
[0141] like Figure 3 As shown, it is possible to identify whether the current gripping posture of the terminal device is a single-hand gripping posture or a two-hand gripping posture, thereby obtaining the terminal user gripping posture in the terminal state parameter set.
[0142] Furthermore, it is possible to identify whether the terminal device is currently in landscape or portrait orientation, folded or unfolded, and in forward or reverse orientation, thereby obtaining the terminal folded state in the current terminal state parameter set of the terminal device.
[0143] And, obtain the current application scenario of the terminal device and identify whether the application scenario is Figure 3 The antenna tuning scenario shown may be a game scenario or other application scenario with antenna tuning requirements, which is not specifically limited here.
[0144] Optionally, identify whether there are target state parameters that meet the antenna tuning conditions in the acquired terminal parameter set of the terminal device, and after identifying that the target state parameters exist in the terminal state parameter set, obtain the signal receiving and transmitting parameters of the first antenna that currently transmits and receives signals of the terminal device.
[0145] When the signal receiving and transmitting parameter of the first antenna is less than or equal to a preset signal receiving and transmitting parameter threshold, it is determined that the terminal device currently has an antenna tuning requirement.
[0146] In this scenario, the terminal device can send an antenna tuning request instruction to the modem, and obtain the antenna tuning strategy of the terminal device through the modem.
[0147] Optionally, the antenna tuning strategy may include obtaining the priority of each antenna of the terminal device in the first signal frequency band, and performing antenna switching in the first signal frequency band according to the priority of each antenna.
[0148] Optionally, the antenna tuning strategy may also include performing antenna tuning when the signal reception parameters of each antenna in the first signal frequency band are less than or equal to the signal parameter threshold, tuning the first signal frequency band to the second signal frequency band, and switching the antenna in the second signal frequency band.
[0149] Furthermore, based on the execution of the antenna tuning strategy, antenna tuning of the terminal device is achieved.
[0150] It should be noted that in the scenario where the antenna currently used for sending and receiving signals by the terminal device is the antenna switched to after antenna tuning, when it is again identified that the terminal device has an antenna tuning requirement based on the terminal status parameter set, the antenna tuning strategy newly sent by the modem can be obtained, and the newly sent antenna tuning strategy can be compared with the antenna tuning strategy currently used by the terminal device.
[0151] If the two are the same, the antenna tuning strategy currently used by the terminal device will continue to be maintained, and no antenna switching will be performed.
[0152] The antenna tuning method proposed in the present invention identifies whether a terminal device has an antenna tuning requirement through terminal status parameters, and performs antenna tuning on the terminal device after determining and identifying the antenna tuning requirement, so that the antenna tuning can be performed in time when the signal reception and transmission status of the antenna of the terminal device is affected, thereby reducing the block error rate when the terminal device transmits and receives signals, thereby reducing the influence of the use status of the terminal device on the antenna signal reception and transmission status, improving the timeliness of the antenna signal reception and transmission status adjustment, optimizing the link performance of the terminal device, enhancing the stability of the signal reception and transmission of the terminal device and the performance of the terminal device, and optimizing the user experience.
[0153] Corresponding to the antenna tuning methods proposed in the above-mentioned embodiments, an embodiment of the present disclosure also proposes an antenna tuning device. Since the antenna tuning device proposed in the embodiment of the present disclosure corresponds to the antenna tuning methods proposed in the above-mentioned embodiments, the implementation method of the above-mentioned antenna tuning method is also applicable to the antenna tuning device proposed in the embodiment of the present disclosure, and will not be described in detail in the following embodiments.
[0154] Figure 4 FIG. 1 is a schematic diagram of the structure of an antenna tuning device according to an embodiment of the present disclosure. Figure 4 As shown, the antenna tuning device 400 includes an acquisition module 41, an identification module 42, a determination module 43 and a tuning module 44, wherein:
[0155] An acquisition module 41 is used to acquire a current terminal state parameter set of the terminal device, wherein the terminal state parameter set includes at least one of a terminal application scenario of the terminal device, a terminal user grip posture, and a terminal folding state;
[0156] An identification module 42 is used to identify whether there is a target state parameter that meets the antenna tuning condition in the terminal state parameter set;
[0157] A determination module 43, configured to determine that the terminal device has an antenna tuning requirement in response to identifying that there is at least one target state parameter in the terminal state parameter set;
[0158] The tuning module 44 is used to determine the antenna tuning strategy of the terminal device according to the terminal state parameter set, so as to perform antenna tuning on the terminal device.
[0159] In the embodiment of the present disclosure, the determination module 43 is also used to: in response to identifying that there is at least one target state parameter in the terminal state parameter set, obtain the first signal transceiving parameter of the first antenna of the current transceiving signal of the terminal device; in response to the first signal transceiving parameter being less than or equal to a preset signal transceiving parameter threshold, determine that the terminal device has an antenna tuning requirement.
[0160] In the disclosed embodiment, the identification module 42 is further used to: obtain the terminal application scenario of the terminal device in the terminal state parameter set, and a pre-configured tuning scenario list of the terminal device; in response to the terminal application scenario belonging to the tuning scenario list, determine that the terminal application scenario is a target state parameter in the terminal state parameter set that meets the antenna tuning conditions.
[0161] In the disclosed embodiment, the identification module 42 is further used to: obtain the terminal user's gripping posture of the terminal device in the terminal state parameter set; in response to identifying that the terminal user's gripping posture has an impact on the signal receiving and sending state of the terminal device, determine that the terminal user's gripping posture is a target state parameter in the terminal state parameter set that meets the antenna tuning conditions.
[0162] In the disclosed embodiment, the identification module 42 is also used to: obtain a reference grip set of the terminal device and a reference pressure parameter of each reference grip in the reference grip set on the terminal device; collect the current pressure parameter of the terminal device, and obtain a target reference pressure parameter that matches the current pressure parameter in each reference pressure parameter; and determine the target reference grip corresponding to the target reference pressure parameter in the reference grip set as the terminal user grip in the terminal state parameter set of the terminal device.
[0163] In the disclosed embodiment, the identification module 42 is further used to: obtain the terminal folding state in the terminal state parameter set; in response to the influence of the terminal folding state on the signal receiving and transmitting state of the terminal device, determine that the terminal folding state is a target state parameter in the terminal state parameter set that meets the antenna tuning condition.
[0164] In the disclosed embodiment, the tuning module 44 is also used to: obtain a first signal frequency band currently used by the terminal device; determine the priority of each antenna in the terminal device within the first signal frequency band according to the terminal user's gripping posture and the terminal folding state of the terminal device; and switch the antenna of the terminal device within the first signal frequency band according to the priority of each antenna to perform antenna tuning for the terminal device.
[0165] In the disclosed embodiment, the tuning module 44 is further used to obtain the second signal receiving and transmitting parameters of each antenna of the terminal device within the first signal frequency band; in response to the second signal receiving and transmitting parameters of each antenna within the first signal frequency band being less than or equal to a preset signal receiving and transmitting parameter threshold, tune the terminal device to the second signal frequency band, and switch the antenna of the terminal device within the second signal frequency band to perform antenna tuning of the terminal device.
[0166] In the disclosed embodiment, the identification module 42 is also used to: obtain a reference state parameter set of the terminal device; for any terminal state parameter, obtain the corresponding target reference state parameter of the terminal state parameter in the reference state parameter set; in response to the terminal state parameter being different from the target reference state parameter, identify whether there is a target state parameter in the terminal state parameter set that meets the antenna tuning condition, and use the terminal state parameter set as the next reference state parameter set of the next terminal state parameter set of the terminal device.
[0167] In the embodiment of the present disclosure, the identification module 42 is also used to: in response to identifying that the target state parameter does not exist in the terminal state parameter set, obtain the first antenna currently used by the terminal device to send and receive signals and the second antenna used for sending and receiving signals by default; in response to the second antenna being different from the first antenna, adjust the terminal device to restore from the first antenna to the second antenna for signal reception and transmission.
[0168] In the disclosed embodiment, the terminal device is a foldable terminal device.
[0169] In the embodiment of the present disclosure, the terminal user's holding posture of the terminal device includes one of a two-hand holding posture, a one-hand holding posture, a left-hand holding posture, and a right-hand holding posture.
[0170] In the disclosed embodiment, the terminal folding state of the terminal device is one of the following: horizontal screen unfolded, reverse horizontal screen unfolded, horizontal screen folded, reverse horizontal screen folded, horizontal screen half opened and closed, and reverse horizontal screen half opened and closed, and vertical screen unfolded, reverse vertical screen unfolded, vertical screen folded, reverse vertical screen folded, vertical screen half opened and closed, and reverse vertical screen half opened and closed.
[0171] The antenna tuning device proposed in the present disclosure obtains the current terminal state parameter set of the terminal device, and identifies whether there is a target state parameter that meets the antenna tuning condition in the terminal state parameter set. When it is identified that there is at least one target state parameter in the terminal state parameter set, it is determined that the terminal device has an antenna tuning requirement, and further, the antenna of the terminal device is switched to perform antenna tuning of the terminal device. In the present disclosure, it is identified whether the terminal device has an antenna tuning requirement through the terminal state parameter, and the antenna of the terminal device is tuned after it is determined that the antenna tuning requirement is identified, so that the antenna can be tuned in time when the signal transceiver state of the antenna of the terminal device is affected, thereby reducing the block error rate when the terminal device is transmitting and receiving signals, thereby reducing the degree of influence of the terminal device's use state on the antenna signal transceiver state, improving the timeliness of the antenna signal transceiver state adjustment, optimizing the link performance of the terminal device, enhancing the stability of the signal transceiver of the terminal device and the performance of the terminal device, and optimizing the user experience.
[0172] To achieve the above embodiments, the present disclosure also provides an electronic device, a computer-readable storage medium, and a computer program product.
[0173] Figure 5 is a block diagram of an electronic device 500 according to an embodiment of the present disclosure, as shown in Figure 5 As shown, the electronic device 500 includes a memory 51, a processor 52, and a computer program stored in the memory 51 and executable on the processor 52. When the processor 52 executes the program instructions, the antenna tuning method provided in the above embodiment is implemented.
[0174] The antenna tuning method proposed in the present disclosure obtains the current terminal state parameter set of the terminal device, and identifies whether there is a target state parameter that meets the antenna tuning condition in the terminal state parameter set. When it is identified that there is at least one target state parameter in the terminal state parameter set, it is determined that the terminal device has an antenna tuning requirement, and further, the terminal device performs antenna switching to perform antenna tuning of the terminal device. In the present disclosure, it is identified whether the terminal device has an antenna tuning requirement through the terminal state parameter, and the terminal device is antenna tuned after it is determined that the antenna tuning requirement is identified, so that the antenna can be tuned in time when the signal transceiver state of the antenna of the terminal device is affected, thereby reducing the block error rate when the terminal device is transmitting and receiving signals, thereby reducing the degree of influence of the terminal device's usage status on the antenna signal transceiver state, improving the timeliness of the antenna signal transceiver state adjustment, optimizing the link performance of the terminal device, enhancing the stability of the signal transceiver of the terminal device and the performance of the terminal device, and optimizing the user's usage experience.
[0175] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0176] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0177] The program code for implementing the method itself can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0178] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0179] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0180] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a grid browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication grid). Examples of communication grids include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain grid.
[0181] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication grid. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server for a distributed system, or a server combined with a blockchain.
[0182] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0183] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of the present disclosure, "plurality" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0184] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present disclosure belong.
[0185] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.
[0186] It should be understood that the various parts of the present disclosure can be implemented in hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0187] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0188] In addition, each functional unit in each embodiment of the present disclosure may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0189] The storage medium mentioned above may be a read-only memory, a disk or an optical disk, etc. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations of the present disclosure. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present disclosure.
[0190] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0191] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. An antenna tuning method, characterized in that: The method comprises: Acquire a current terminal state parameter set of the terminal device, wherein the terminal state parameter set includes at least one of a terminal application scenario, a terminal user gripping posture, and a terminal folding state of the terminal device; Identify whether there is a target state parameter that meets the antenna tuning condition in the terminal state parameter set; In response to identifying that at least one of the target state parameters exists in the terminal state parameter set, determining that the terminal device has an antenna tuning requirement; An antenna tuning strategy for the terminal device is determined according to the terminal status parameter set to perform antenna tuning for the terminal device.
2. The method according to claim 1, characterized in that In response to identifying that at least one of the target state parameters exists in the terminal state parameter set, determining that the terminal device has an antenna tuning requirement includes: In response to identifying that at least one of the target state parameters exists in the terminal state parameter set, acquiring a first signal transceiving parameter of a first antenna currently transceiving a signal of the terminal device; In response to the first signal receiving and transmitting parameter being less than or equal to a preset signal receiving and transmitting parameter threshold, it is determined that the terminal device has the antenna tuning requirement.
3. The method according to claim 1, characterized in that: The identifying whether there is a target state parameter that meets the antenna tuning condition in the terminal state parameter set includes: Acquire the terminal application scenario of the terminal device in the terminal status parameter set, and a pre-configured tuning scenario list of the terminal device; In response to the terminal application scenario belonging to the tuning scenario list, the terminal application scenario is determined to be the target state parameter in the terminal state parameter set that satisfies the antenna tuning condition.
4. The method according to claim 1, characterized in that: The identifying whether there is a target state parameter that meets the antenna tuning condition in the terminal state parameter set includes: Acquire the terminal user's grip posture of the terminal device in the terminal status parameter set; In response to identifying that the terminal user's grip posture has an impact on the signal receiving and transmitting state of the terminal device, the terminal user's grip posture is determined to be the target state parameter in the terminal state parameter set that satisfies the antenna tuning condition.
5. The method according to claim 4, characterized in that The obtaining the terminal user grip posture of the terminal device in the terminal status parameter set includes: Acquire a reference grip posture set of the terminal device and a reference pressure parameter of each reference grip posture in the reference grip posture set on the terminal device; Collecting a current pressure parameter of the terminal device, and obtaining a target reference pressure parameter that matches the current pressure parameter among the reference pressure parameters; The target reference grip posture corresponding to the target reference pressure parameter in the reference grip posture set is determined as the terminal user grip posture in the terminal state parameter set of the terminal device.
6. The method according to claim 1, characterized in that The identifying whether there is a target state parameter that meets the antenna tuning condition in the terminal state parameter set includes: Obtaining the terminal folding state in the terminal state parameter set; In response to the fact that the terminal folding state has an impact on the signal receiving and transmitting state of the terminal device, the terminal folding state is determined to be the target state parameter in the terminal state parameter set that satisfies the antenna tuning condition.
7. The method according to claim 1, characterized in that The performing antenna switching on the terminal device to perform antenna tuning on the terminal device includes: Acquire a first signal frequency band currently used by the terminal device; Determining the priority of each antenna in the terminal device within the first signal frequency band according to a terminal user's holding posture of the terminal device and a terminal folding state; According to the priority of each antenna, the antenna of the terminal device is switched within the first signal frequency band to perform antenna tuning of the terminal device.
8. The method according to claim 7, characterized in that The method further comprises: Acquire a second signal receiving and transmitting parameter of each antenna of the terminal device within the first signal frequency band; In response to the second signal receiving and transmitting parameters of each antenna within the first signal frequency band being less than or equal to a preset signal receiving and transmitting parameter threshold, the terminal device is tuned to the second signal frequency band, and the antenna of the terminal device is switched within the second signal frequency band to optimize the antenna of the terminal device.
9. The method according to claim 1, characterized in that: Before the identifying whether there is a target state parameter that meets the antenna tuning condition in the terminal state parameter set, the method includes: Acquire a reference state parameter set of the terminal device; For any terminal state parameter, obtaining a target reference state parameter corresponding to the terminal state parameter in the reference state parameter set; In response to the terminal state parameter being different from the target reference state parameter, identifying whether there is a target state parameter that meets the antenna tuning condition in the terminal state parameter set, and using the terminal state parameter set as the next reference state parameter set of the next terminal state parameter set of the terminal device.
10. The method according to claim 1, characterized in that The method further comprises: In response to identifying that the target state parameter does not exist in the terminal state parameter set, acquiring a first antenna currently used to transmit and receive signals of the terminal device and a second antenna configured by default to transmit and receive signals; In response to the second antenna being different from the first antenna, the terminal device is adjusted to restore signal transmission and reception from the first antenna to the second antenna.
11. The method according to claim 1, characterized in that: The terminal user's gripping posture of the terminal device includes one of a two-hand gripping posture, a one-hand gripping posture, a left-hand gripping posture, and a right-hand gripping posture.
12. The method according to claim 1, characterized in that The terminal folding state of the terminal device is one of the following: horizontal screen unfolded, reverse horizontal screen unfolded, horizontal screen folded, reverse horizontal screen folded, horizontal screen half opened and reverse horizontal screen half opened, and vertical screen unfolded, reverse vertical screen unfolded, vertical screen folded, reverse vertical screen folded, vertical screen half opened and reverse vertical screen half opened.
13. An antenna tuning device, characterized in that: The device comprises: An acquisition module, configured to acquire a current terminal state parameter set of a terminal device, wherein the terminal state parameter set includes at least one of a terminal application scenario of the terminal device, a terminal user gripping posture, and a terminal folding state; An identification module, used to identify whether there is a target state parameter that meets the antenna tuning condition in the terminal state parameter set; A determination module, configured to determine that the terminal device has an antenna tuning requirement in response to identifying that at least one of the target state parameters exists in the terminal state parameter set; The tuning module is used to determine the antenna tuning strategy of the terminal device according to the terminal state parameter set so as to perform antenna tuning on the terminal device.
14. An electronic device, characterized in that: include: processor; a memory for storing executable instructions for the processor; The processor is configured to execute instructions to implement the method according to any one of claims 1 to 12.
15. A computer-readable storage medium, when instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 12.