Search

EP-4738714-A1 - ANTENNA STATE CONTROL METHOD, AND CHIP, ELECTRONIC DEVICE AND READABLE STORAGE MEDIUM

EP4738714A1EP 4738714 A1EP4738714 A1EP 4738714A1EP-4738714-A1

Abstract

This application relates to the field of electronic technologies, and provides an antenna state control method, a chip, an electronic device, and a readable storage medium. The method includes: obtaining a pre-state of a first communication system, where the pre-state is a state that the first communication system is to enter at a second moment after a first moment; and if the pre-state is a non-working state, outputting a target antenna tuning parameter at the first moment, where the target antenna tuning parameter is used to indicate that an antenna tuning switch is in a target tuning state, the antenna tuning switch is configured to tune a tuning state of a first antenna of the first communication system, and in the target tuning state, antenna performance of a second antenna meets a preset performance requirement. In the method, the antenna performance of the second antenna can be ensured.

Inventors

  • LIU, SHUMIN
  • LI, YUANPENG
  • HUO, QIANG

Assignees

  • Honor Device Co., Ltd.

Dates

Publication Date
20260506
Application Date
20240813

Claims (16)

  1. An antenna state control method, comprising: obtaining a pre-state of a first communication system, wherein the pre-state is a state that the first communication system is to enter at a second moment after a first moment; and if the pre-state is a non-working state, outputting a target antenna tuning parameter at the first moment, wherein the target antenna tuning parameter is used to indicate that an antenna tuning switch is in a target tuning state, the antenna tuning switch is configured to tune a tuning state of a first antenna of the first communication system, and in the target tuning state, antenna performance of a second antenna meets a preset performance requirement.
  2. The method according to claim 1, wherein a time difference between the first moment and the second moment is less than or equal to a preset time difference threshold.
  3. The method according to claim 2, wherein the non-working state is a sleep state when the first communication system is in an idle state or a radio resource control RRC connected state.
  4. The method according to claim 2, wherein the non-working state is a sleep state in a network search cycle.
  5. The method according to claim 2, wherein the non-working state is a state in an airplane mode.
  6. The method according to claim 2, wherein the non-working state is that a second communication system corresponding to the second antenna is in a Bluetooth communication state.
  7. The method according to any one of claims 3 to 6, wherein the outputting a target antenna tuning parameter at the first moment comprises: outputting the target antenna tuning parameter to the antenna tuning switch by calling a close function at the first moment, wherein the close function is filled with the target antenna tuning parameter.
  8. The method according to claim 2, wherein the non-working state is a sleep state in a network search cycle, and the outputting a target antenna tuning parameter at the first moment comprises: searching for a target frequency band corresponding to the target tuning state at the first moment, to output the target antenna tuning parameter.
  9. The method according to claim 1, wherein if the pre-state is a working state, the method further comprises: determining that an electronic device is in a limited service state, and outputting the target antenna tuning parameter, to register a target frequency band corresponding to the target tuning state; and if the registration succeeds, determining that the first communication system camps on the target frequency band.
  10. The method according to any one of claims 1 to 6, before the obtaining a pre-state of a first communication system, further comprising: determining whether a subscriber identity module card is present; and if yes, performing the step of obtaining the pre-state of the first communication system; or if no, outputting the target antenna tuning parameter.
  11. The method according to claim 10, wherein the outputting the target antenna tuning parameter comprises: reporting a message indicating that the subscriber identity module card is not present to a microcontroller unit MCU; receiving a power-off instruction returned by the MCU based on the message indicating that the subscriber identity module card is not present; and in response to the power-off instruction, outputting the target antenna tuning parameter and then powering off.
  12. The method according to any one of claims 1 to 6, wherein that in the target tuning state, antenna performance of a second antenna meets a preset performance requirement comprises: in the target tuning state, antenna efficiency of the second antenna is higher than antenna efficiency in another tuning state, wherein the another tuning state is a tuning state of the antenna tuning switch, and the another tuning state is different from the target tuning state.
  13. A chip, wherein the chip comprises a processor, and the processor is configured to perform the method according to any one of claims 1 to 12.
  14. An electronic device, comprising a processor, a memory, and an interface, wherein the processor, the memory, and the interface cooperate with each other, to enable the electronic device to perform the method according to any one of claims 1 to 12.
  15. The electronic device according to claim 14, wherein the electronic device is a wearable device.
  16. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is enabled to perform the method according to any one of claims 1 to 12.

Description

This application claims priority to Chinese Patent Application No. 202311200143.2, filed with the China National Intellectual Property Administration on September 18, 2023 and entitled "ANTENNA STATE CONTROL METHOD, CHIP, ELECTRONIC DEVICE, AND READABLE STORAGE MEDIUM", which is incorporated herein by reference in its entirety. TECHNICAL FIELD This application relates to the field of electronic technologies, and specifically, to an antenna state control method, a chip, an electronic device, and a readable storage medium. BACKGROUND To meet an increasing use requirement of people, forms of electronic devices are increasingly rich. Wearable devices, as electronic devices for daily wear, play an irreplaceable role in people's lives. Usually, the wearable device needs to have a miniaturized appearance to be suitable for daily wear, and further needs to support a plurality of communication standards to meet a plurality of communication requirements of people. A common smartwatch is used as an example. Two antennas are usually disposed in the smartwatch. One antenna is used for cellular mobile communication, and the other antenna is used for Bluetooth communication. However, due to a small volume of the smartwatch, the two antennas are deployed in narrow space of the smartwatch and there is mutual coupling, resulting in poor performance of the antennas and affecting communication quality. SUMMARY This application provides an antenna state control method and apparatus, a chip, an electronic device, a computer-readable storage medium, and a computer program product, to improve antenna performance of a second antenna. According to a first aspect, an antenna state control method is provided, including: obtaining a pre-state of a first communication system, where the pre-state is a state that the first communication system is to enter at a second moment after a first moment; and if the pre-state is a non-working state, outputting a target antenna tuning parameter at the first moment, where the target antenna tuning parameter is used to indicate that an antenna tuning switch is in a target tuning state, the antenna tuning switch is configured to tune a tuning state of a first antenna of the first communication system, and in the target tuning state, antenna performance of a second antenna meets a preset performance requirement. When a Modem of the first communication system does not work, the antenna tuning switch may be switched to a switch logic state that can enable good antenna performance of the second antenna corresponding to a second communication system. In this case, the second antenna may work in a tuning state in which the antenna performance meets the preset performance requirement, to ensure communication quality of the second communication system when the first communication system does not work. In some possible implementations, a time difference between the first moment and the second moment is less than or equal to a preset time difference threshold, to ensure that the target antenna tuning parameter effectively acts on the second antenna when the first communication system does not work, and to ensure the antenna performance of the second antenna. In some possible implementations, the non-working state is a sleep state when the first communication system is in an idle state or a radio resource control RRC connected state. When the Modem is in the idle (Idle) state or the RRC state, the modem periodically enters the sleep state to reduce power consumption. The Modem may output the target antenna tuning parameter at a moment before entering the sleep state to control the antenna tuning switch to switch to the switch logic state that can enable good antenna performance of the second antenna corresponding to the second communication system, to ensure that the antenna performance of the second antenna meets the preset performance requirement. In some possible implementations, the non-working state is a sleep state in a network search cycle. When the Modem is in a network search state, the modem also periodically enters the sleep state. The Modem outputs the target antenna tuning parameter at a moment before entering the sleep state in each network search cycle to control the antenna tuning switch to switch to the switch logic state that can enable good antenna performance of the second antenna corresponding to the second communication system, to ensure that the antenna performance of the second antenna meets the preset performance requirement. In some possible implementations, the non-working state is a state in an airplane mode. When an electronic device enters the airplane mode under an operation of a user, the electronic device does not need to perform communication of the first communication system. In this case, the Modem is in the non-working state. Before the Modem enters the non-working state, the target antenna tuning parameter may be output first to control the antenna tuning switch to remain in