Antenna state control method, chip, electronic device and readable storage medium

By switching the antenna tuning switch to the target state when the cellular mobile communication system is not working, the communication quality problem caused by antenna coupling in smartwatches is solved, and the Bluetooth/Wi-Fi communication quality is improved.

CN119696614BActive Publication Date: 2026-07-14HONOR DEVICE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HONOR DEVICE CO LTD
Filing Date
2023-09-18
Publication Date
2026-07-14

Smart Images

  • Figure CN119696614B_ABST
    Figure CN119696614B_ABST
Patent Text Reader

Abstract

The application relates to the field of electronic technology, and provides an antenna state control method, a chip, an electronic device and a readable storage medium. The method comprises the following steps: obtaining a pre-state of a first communication system, the pre-state being a state to be entered by the first communication system at a second time moment after a first time moment; if the pre-state is a non-working state, outputting a target antenna tuning parameter at the first time moment, the target antenna tuning parameter being used for indicating that an antenna tuning switch is in a target tuning state, the antenna tuning switch being used for tuning a tuning state of a first antenna of the first communication system, and the antenna performance of a second antenna meeting a preset performance requirement in the target tuning state. The above method can guarantee the antenna performance of the second antenna.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The original application has the application number 202311200143.2 and the original application date is September 18, 2023. The entire contents of the original application are incorporated herein by reference. Technical Field

[0002] This application relates to the field of electronic technology, specifically to an antenna state control method, a chip, an electronic device, and a readable storage medium. Background Technology

[0003] To meet people's growing needs, electronic devices are taking on increasingly diverse forms. Wearable devices, as everyday electronic devices, play an irreplaceable role in people's lives. Typically, wearable devices need to be miniaturized for everyday wear, while also supporting multiple communication standards to meet people's diverse communication needs.

[0004] Taking a common smartwatch as an example, a smartwatch usually has two antennas: one for cellular mobile communication and the other for Bluetooth communication.

[0005] However, due to the small size of smartwatches, the two antennas deployed in the confined space of the smartwatch are coupled to each other, which leads to poor antenna performance and affects communication quality. Summary of the Invention

[0006] This application provides an antenna state control method, apparatus, chip, electronic device, computer-readable storage medium, and computer program product that can improve the antenna performance of a second antenna.

[0007] In a first aspect, an antenna state control method is provided, comprising: acquiring a pre-state of a first communication system, the pre-state being the state that the first communication system is to enter at a second time after a first time; if the pre-state is a non-operating state, outputting target antenna tuning parameters at the first time, the target antenna tuning parameters being used to indicate that the antenna tuning switch is in the target tuning state, the antenna tuning switch being used to tune the tuning state of the first antenna of the first communication system, and in the target tuning state, the antenna performance of the second antenna meeting preset performance requirements.

[0008] When the modem of the first communication system is not working, the antenna tuning switch can be switched to a switching logic state that ensures good antenna performance for the second antenna in the second communication system. In this case, the second antenna can operate in a tuning state that meets the preset performance requirements, ensuring the communication quality of the second communication system even when the first communication system is not working.

[0009] In some possible implementations, the time difference between the first moment and the second moment is less than or equal to a preset time difference threshold, which can ensure that the target antenna tuning parameters effectively act on the second antenna when the first communication system is not working, thus ensuring the antenna performance of the second antenna.

[0010] In some possible implementations, the non-working state is the idle state of the first communication system or the sleep state when the Radio Resource Control (RRC) connection is established.

[0011] When the modem is in idle or RRC state, it will periodically enter sleep state to save power. Before entering sleep state, the modem can output the target antenna tuning parameters and control the antenna tuning switch to switch to a switching logic state that enables the antenna performance of the second antenna corresponding to the second communication system to be good, thereby ensuring that the antenna performance of the second antenna meets the preset performance requirements.

[0012] In some possible implementations, the non-working state is the sleep state during the network search cycle. When the modem is in the network search state, it will also periodically enter the sleep state. Before entering the sleep state in each network search cycle, the modem outputs the target antenna tuning parameters and controls the antenna tuning switch to switch to a switching logic state that ensures the antenna performance of the second antenna corresponding to the second communication system is good, thereby ensuring that the antenna performance of the second antenna meets the preset performance requirements.

[0013] In some possible implementations, the non-operating state is equivalent to flight mode. When an electronic device enters flight mode under user operation, it does not need to communicate with the primary communication system. In this state, the modem is inactive. Before the modem enters the inactive state, target antenna tuning parameters can be output to control the antenna tuning switch to remain in the target tuning state. This ensures that the antenna performance of GPS + Bluetooth / Wifi can be fully utilized in flight mode, guaranteeing the communication quality of the GPS + Bluetooth / Wifi communication system. Afterward, the modem enters the inactive state.

[0014] In some possible implementations, the non-working state is when the second communication system corresponding to the second antenna is in Bluetooth communication mode.

[0015] When an electronic device is in Bluetooth or Wi-Fi communication mode, it can be assumed that no phone call is needed, and therefore the cellular network is not required. The modem can prioritize the communication quality of Bluetooth or Wi-Fi communication. The modem can output target antenna tuning parameters to control the antenna tuning switch to remain in the target tuning state, thereby ensuring that the antenna performance of GPS + Bluetooth / Wi-Fi can be fully utilized during Bluetooth or Wi-Fi communication, further ensuring the communication quality of the GPS + Bluetooth / Wi-Fi communication system.

[0016] In some possible implementations, the target antenna tuning parameters can be output by calling a shutdown function, which outputs the target antenna tuning parameters to the antenna tuning switch. The shutdown function is then populated with the target antenna tuning parameters.

[0017] In some possible implementations, the non-working state is the sleep state during the network search cycle, and the target antenna tuning parameters are output at the first moment, including: searching for the target frequency band corresponding to the target tuning state at the first moment to output the target antenna tuning parameters.

[0018] Specifically, after the standard network search is completed, a new frequency band can be searched. This newly searched frequency band corresponds to the target antenna tuning parameters. If the modem still cannot find a usable network after searching the newly added frequency band, it will enter sleep mode. Adding a new frequency band ensures that the target antenna tuning parameters are output during the search process before the modem enters sleep mode. This ensures that the antenna tuning switch is switched to a logic state that optimizes the antenna performance of the second antenna in the second communication system, guaranteeing that the antenna performance of the second antenna meets the preset performance requirements.

[0019] In some possible implementations, if the pre-state is a working state, the method further includes: determining that it is in a service-limited state, outputting the target antenna tuning parameters to register the target frequency band corresponding to the target tuning state; if the registration is successful, determining that the first communication system resides in the target frequency band.

[0020] When an electronic device is in a limited-service state, the number of networks it can camp on is limited. In this case, the modem can prioritize registering with a target frequency band. If registration with a network on the target frequency band is successful, it can remain camped on that network. This ensures that the antenna tuning switch maintains the state indicated by the target antenna tuning parameters, preventing arbitrary changes and guaranteeing the communication quality of the GPS + Bluetooth / Wi-Fi communication system. If registration with a network on the target frequency band fails, it will camp on the default limited-service frequency band.

[0021] In some possible implementations, before obtaining the pre-state of the first communication system, the method further includes: determining whether a user identification card exists; if so, performing the step of obtaining the pre-state of the first communication system; if not, outputting the target antenna tuning parameters.

[0022] If a user identification card (SIM card) is present, the above process can be executed to control the antenna state. If the SIM card is absent, it means the electronic device does not meet the conditions for accessing the cellular mobile communication system. Therefore, there is no need to consider which path's matching circuit to select to tune the first antenna. Thus, the modem can directly output the target antenna tuning parameters, for example, by calling a shutdown function. The antenna tuning switch can be configured according to the target antenna tuning parameters to ensure the second antenna's performance is fully utilized. First, it checks if the SIM card exists; if not, it directly outputs the target antenna tuning parameters. This method eliminates the need to check the modem's pre-state, avoiding subsequent invalid processes.

[0023] In some possible implementations, outputting the target antenna tuning parameters includes: reporting a message to the microcontroller unit (MCU) that the user identification card does not exist; receiving a power-down command returned by the MCU based on the message that the user identification card does not exist; and powering down after outputting the target antenna tuning parameters in response to the power-down command.

[0024] In some possible implementations, under the target tuning state, the antenna performance of the second antenna meets preset performance requirements, including: under the target tuning state, the antenna efficiency of the second antenna is higher than that of the antenna under other tuning states, and the other tuning states are the tuning states of the antenna tuning switch, and the other tuning states are different from the target tuning state.

[0025] In a second aspect, an antenna state control device is provided, comprising a unit consisting of software and / or hardware, the unit being used to execute any one of the methods in the technical solution of the first aspect.

[0026] Thirdly, embodiments of this application provide a chip including a processor; the processor is used to read and execute a computer program stored in a memory to perform any one of the methods described in the first aspect.

[0027] Optionally, the chip also includes a memory, which is connected to the processor via a circuit or wire.

[0028] Alternatively, the chip may further include a communication interface.

[0029] Fourthly, an electronic device is provided, comprising: a processor, a memory, and an interface; the processor, memory, and interface cooperate with each other to enable the electronic device to perform any one of the methods described in the first aspect.

[0030] Fifthly, an electronic device is provided, which includes any one of the chips described in the third aspect.

[0031] Optionally, the electronic device is a wearable device.

[0032] In a sixth aspect, a computer-readable storage medium is provided, wherein a computer program is stored therein, and when the computer program is executed by a processor, the processor performs any one of the methods described in the first aspect.

[0033] In a seventh aspect, a computer program product is provided, the computer program product comprising: computer program code, which, when executed on an electronic device, causes the electronic device to perform any one of the methods described in the first aspect. Attached Figure Description

[0034] Figure 1 This is a schematic diagram of the structure of a terminal device 100 provided in an embodiment of this application;

[0035] Figure 2 This is a software structure block diagram of the terminal device 100 provided in the embodiments of this application;

[0036] Figure 3 This is a schematic diagram of an example of an antenna scheme structure inside an electronic device provided in an embodiment of this application;

[0037] Figure 4 This is provided by the embodiments of this application. Figure 3 A schematic diagram of the antenna distribution for the antenna scheme shown;

[0038] Figure 5 This is another example of an antenna scheme structure inside an electronic device provided in the embodiments of this application;

[0039] Figure 6 This is a flowchart of an example antenna state control method provided in an embodiment of this application;

[0040] Figure 7 This is another example of an antenna scheme structure inside an electronic device provided in the embodiments of this application;

[0041] Figure 8 This is a schematic diagram of the working time slots of a Modem in Idle state provided in an embodiment of this application;

[0042] Figure 9 This is a schematic diagram of the working time slot of a modem in RRC connected state provided in an embodiment of this application;

[0043] Figure 10 This is a schematic diagram of the working time slots of a modem during a common network search process after an electronic device goes offline, provided in an embodiment of this application.

[0044] Figure 11 This is a schematic diagram of the modem's working time slots during the network search process after an electronic device goes offline, provided in an embodiment of this application.

[0045] Figure 12 This is a flowchart illustrating a network search process when an electronic device is in a restricted service state, as provided in an embodiment of this application.

[0046] Figure 13 This is a schematic diagram of the structure between modules inside an electronic device involving an antenna state control method, provided in an embodiment of this application.

[0047] Figure 14 This is another example of an antenna state control method flowchart provided in the embodiments of this application;

[0048] Figure 15 This is a schematic diagram of an example antenna state control device provided in an embodiment of this application. Detailed Implementation

[0049] The technical solutions of the embodiments of this application will be described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; "and / or" in this text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0050] Hereinafter, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include one or more of that feature.

[0051] The antenna state control method provided in this application can be applied to terminal devices such as mobile phones, tablets, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptops, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). This application does not impose any restrictions on the specific type of terminal device.

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

[0053] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the terminal device 100. In other embodiments of this application, the terminal device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0054] The software system of terminal device 100 can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. This application embodiment uses the layered architecture Android system as an example to exemplify the software structure of terminal device 100.

[0055] Figure 2This is a software structure block diagram of the terminal device 100 according to an embodiment of this application. The layered architecture divides the software into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer. The application layer may include a series of application packages.

[0056] like Figure 2 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, and SMS.

[0057] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

[0058] like Figure 2 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.

[0059] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.

[0060] Content providers store and retrieve data, making that data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.

[0061] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.

[0062] The phone manager is used to provide communication functions for terminal device 100. For example, it manages call status (including connection, hang-up, etc.).

[0063] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.

[0064] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating the device, and flashing indicator lights.

[0065] The Android runtime consists of core libraries and a virtual machine. The Android runtime is responsible for scheduling and managing the Android system.

[0066] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.

[0067] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.

[0068] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.

[0069] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0070] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

[0071] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0072] A 2D graphics engine is a graphics engine for 2D drawing.

[0073] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.

[0074] In order to clearly describe the technical solution and application scenarios of this application, the terms and English abbreviations involved in this application and the technical field will be explained first.

[0075] PMU: Power Management Unit, also known as Power Manager, is used to supply power to the Modem, RFIC, and MMBPA.

[0076] Modem: A modem can be a separate chip or integrated into a baseband chip.

[0077] RFIC: Radio Frequency Integrated Circuit, also called an RF transceiver. RFICs connect to the modem to convert between digital and radio frequency signals.

[0078] SPST: Single-pole single-throw switch. Used to control the on / off state of a single path. Switches with other numbers of ports can be denoted as XPXT. Here, X represents a natural number, and the two X's in XPXT can be the same or different. When X represents 1, it can be represented by S (short for single); when X represents 2, it can be represented by D (short for double). For example, a double-pole four-throw switch can be denoted as DP4T.

[0079] MMBPA: Multi-mode band power amplifier in cellular mobile communication systems, used to amplify signals in cellular mobile communication.

[0080] Combiner: A combiner typically has three ports: a high-frequency port for selecting high-frequency signals and suppressing low-frequency signals; a low-frequency port for selecting low-frequency signals and suppressing high-frequency signals; and a third common port that can accept both high-frequency signals selected through the high-frequency port and low-frequency signals selected through the low-frequency port. In frequency division duplex (FDD) communication systems, it is used to isolate transmit and receive signals and suppress out-of-band signals.

[0081] Filters: Filters are used to pass signals within the passband and suppress signals outside the passband. For example, they can be used in time division duplex (TDD) communication systems to suppress out-of-band signals.

[0082] Coupler: A power distribution element used to couple multiple signals from a path for purposes such as power detection.

[0083] RF front-end: also known as RF front-end module. It usually refers to an RF transceiver circuit system composed of modules such as MMBPA, switches, duplexers, filters, and couplers.

[0084] Antenna tuning switch: It has multiple switching ports, which can be used to connect different matching circuits by switching different paths to achieve the purpose of tuning antenna performance.

[0085] FDD Band: The communication frequency band of FDD. The specific frequency band varies depending on the region. For example, it may include B5, B8, B1, and B3.

[0086] TDD Band: The communication frequency band for TDD. The specific frequency band varies depending on the region, and may include B34, B38, B39, B40, and B41.

[0087] LMHB: L represents low band (LB), M represents middle band (MB), and H represents high band (HB). The low, middle, and high frequency bands are collectively denoted as LMHB to represent the low, middle, and high frequency bands in cellular mobile communication, including, for example, all frequency bands from 700MHz to 2690MHz.

[0088] GPS L1: The carrier frequency is 1575.42MHz, which is one of the most common frequency bands for global satellite navigation systems.

[0089] GPS L5: The carrier frequency is 1176.45MHz. The L5 band signal has a higher bandwidth and lower multipath effect, which can provide more accurate positioning information.

[0090] BT / Wifi frequency range: 2400-2483.5MHz, used for short-range wireless communication.

[0091] UE: User equipment refers to a collective term for wearable devices such as mobile phones, smart terminals, smartwatches, and smart bracelets.

[0092] To meet people's ever-growing needs, electronic devices are taking on increasingly diverse forms. Wearable devices, as everyday electronic devices, hold an irreplaceable place in people's lives. Typically, wearable devices need to be miniaturized for easy daily wear. Simultaneously, they need to support multiple communication standards to meet people's communication needs. Taking smartwatches as an example, common smartwatches usually have two antennas. One antenna is used for cellular mobile communication, and the other for Bluetooth and Wi-Fi communication. In some scenarios, if the smartwatch also needs to support GPS positioning, GPS communication can share the same antenna with Bluetooth communication. In this case, common antenna solutions can be found in [reference needed]. Figure 3 As shown.

[0093] exist Figure 3 In this embodiment, the cellular mobile communication system uses antenna 1 to transmit and receive cellular mobile communication signals; the Bluetooth / Wi-Fi communication system uses antenna 2 to transmit and receive Bluetooth / Wi-Fi signals. If GPS and Bluetooth / Wi-Fi share antenna 2, a combiner can be used to separate the GPS signal and the Bluetooth / Wi-Fi signal. That is, the common port of the combiner can be connected to antenna 2, the low-frequency port of the combiner is connected to the low-frequency L1 band path of GPS, and the high-frequency port of the combiner is connected to the high-frequency band path of Bluetooth / Wi-Fi. It should be noted that the Bluetooth and Wi-Fi modems are usually integrated into the same chip and share the same antenna to implement the two communication methods. In this embodiment, Bluetooth / Wi-Fi refers to a communication system or signal path that is compatible with both Bluetooth and Wi-Fi communication.

[0094] The cellular mobile communication module includes a modem, an RFIC (radio frequency IC), and an RF front-end module for cellular mobile communication. This module processes signals from the cellular mobile communication frequency bands, including the LB, MB, and HB bands. The GPS module also includes a modem, RFIC, and RF front-end module for GPS communication. This module processes signals from the GPS frequency band. Figure 3 The example shown uses the L1 band, which is used by GPS. The Bluetooth / Wi-Fi module also includes a modem, an RFIC (radio frequency IC), and an RF front-end module for Bluetooth / Wi-Fi communication. This Bluetooth / Wi-Fi module processes signals in the Bluetooth / Wi-Fi band.

[0095] Because cellular mobile communication has a large number of frequency bands and a wide frequency distribution range, antenna 1 is usually equipped with a variety of different matching circuits to adapt to different frequency bands, so that each frequency band can tune the performance of antenna 1 to the required tuning state under the action of the corresponding matching circuit. Figure 3Taking a single-pole four-throw SP4T switch as an example, this antenna tuning switch has four paths: RF1, RF2, RF3, and RF4. These four paths can respectively select matching circuit 1, matching circuit 2, matching circuit 3, and matching circuit 4 to tune the antenna 1. For example, matching circuit 1 is a circuit tuned for frequency band 1. That is, when antenna 1 operates in frequency band 1, matching circuit 1 can make antenna 1 have the highest antenna efficiency compared to other matching circuits. Matching circuit 2 is a circuit tuned for frequency band 2. That is, when antenna 1 operates in frequency band 2, matching circuit 2 can make antenna 1 have the highest antenna efficiency compared to other matching circuits. Matching circuit 3 is a circuit tuned for frequency band 3. That is, when antenna 1 operates in frequency band 3, matching circuit 3 can make antenna 1 have the highest antenna efficiency compared to other matching circuits. Matching circuit 4 is a circuit tuned for frequency band 4. In other words, when antenna 1 operates in frequency band 4, matching circuit 4 can make antenna 1 have the highest antenna efficiency compared to other matching circuits.

[0096] exist Figure 3 In the circuit shown, when the antenna tuning switch is on RF1 and off RF2, RF3, and RF4, matching circuit 1 is activated. Under the tuning effect of matching circuit 1, the performance of antenna 1 is fully utilized, ensuring the communication quality of frequency band 1. When the antenna tuning switch is on RF2 and off RF1, RF3, and RF4, matching circuit 2 is activated. Under the tuning effect of matching circuit 2, the performance of antenna 1 is fully utilized, ensuring the communication quality of frequency band 2. When the antenna tuning switch is on RF3 and off RF1, RF2, and RF4, matching circuit 3 is activated. Under the tuning effect of matching circuit 3, the performance of antenna 1 is fully utilized, ensuring the communication quality of frequency band 3. When the antenna tuning switch is on RF4 and off RF1, RF2, and RF3, matching circuit 4 is activated. Under the tuning effect of matching circuit 4, the performance of antenna 1 is fully utilized, ensuring the communication quality of frequency band 4. The full utilization of antenna 1's performance refers to the state where the antenna efficiency is at its highest or the antenna gain is at its maximum, thus achieving optimal antenna performance. This antenna tuning switch, under the control command output by the modem, can switch logic to select the corresponding path, enabling the matching circuit on that path to take effect and achieving antenna tuning.

[0097] However, due to the small size of smartwatches, the two antennas deployed within the confined space can couple with each other, resulting in poor antenna performance and affecting communication quality. A diagram illustrating the placement of the two antennas within a smartwatch can be found here. Figure 4As shown, due to space constraints, antennas 1 and 2 are positioned close together, resulting in the two antennas sharing some antenna structure. For example, they may share the floor and part of the antenna radiator (e.g., part of the metal frame), and the matching circuit of antenna 1 will also affect the antenna performance of antenna 2. This can prevent the antennas from performing optimally in some situations, thus affecting communication quality.

[0098] Similar problems exist with other antenna combining schemes. For example, in Figure 5 In the circuit shown, the GPS L5 band and the Bluetooth / Wi-Fi band share antenna 2, while the GPS L1 band uses antenna 3 separately. If the GPS L5 band is not needed, the Bluetooth signal can also be connected directly to antenna 2 without going through the combiner. Figure 5 In this case, the coupling between the three antennas is higher, resulting in a more severe degradation in antenna performance.

[0099] Based on this, this application provides an antenna state control method. When the modem of the cellular mobile communication system is not working, the antenna tuning switch can be switched to a switching logic state that optimizes the antenna performance of the GPS + Bluetooth / Wifi antenna. In this case, the GPS + Bluetooth / Wifi antenna can operate in a tuning state with optimal antenna performance, ensuring the communication quality of GPS + Bluetooth / Wifi when the cellular mobile communication system is not working.

[0100] For ease of understanding, the following embodiments of this application will be described using the following methods: Figures 1 to 5 Taking the structure shown as an example, and in conjunction with the accompanying drawings and application scenarios, the antenna state control method provided in this application embodiment will be specifically described. The execution subject of this application embodiment can be a processor, a chip (e.g., a modem), or an electronic device. In the following description, the execution subject is a modem of a cellular mobile communication system.

[0101] Figure 6 This is a flowchart illustrating an example of an antenna state control method provided in an embodiment of this application. The method includes:

[0102] S601. Obtain the pre-state of the first communication system, which is the state that the first communication system will enter at the second time after the first time.

[0103] The aforementioned first communication system can be a cellular mobile communication system or other communication systems equipped with an antenna tuning switch. The following description uses a cellular mobile communication system as an example. The cellular mobile communication system can be based on GSM, CDMA, LTE, or New Radio (NR), etc. This application does not limit the type of cellular mobile communication system used.

[0104] The pre-state of the first communication system is the state that the first communication system is about to enter. For example, if the first communication system is in an active state at the first moment, but is about to enter a non-active state at the second moment, then the pre-state is the non-active state; if the first communication system is in an active state at the first moment, and is still in an active state at the second moment, then the pre-state is the active state.

[0105] Optionally, an excessively long time difference between the first and second moments may result in a significant gap between the pre-states at the second moment, leading to inaccurate indications of the target antenna tuning parameters output at the first moment. Therefore, ensuring that the time difference between the first and second moments is less than or equal to a preset time difference threshold guarantees that the target antenna tuning parameters effectively apply to the second antenna when the first communication system is not operational, thus ensuring the antenna performance of the second antenna.

[0106] It should be noted that when the first communication system is in an active state, it means that the modem of the first communication system is in an active state; when the first communication system is in an inactive state, it means that the modem of the first communication system is in an inactive state. The modem in the inactive state can be in a sleep state or a powered-off state (or a power-down state). Unless otherwise specified, the term "modem" in this application refers to the modem of the first communication system. The modem is capable of obtaining the pre-state that the first communication system will enter in the next moment after the current moment.

[0107] S602. If the pre-state is a non-working state, the target antenna tuning parameters are output at the first moment. The target antenna tuning parameters are used to indicate that the antenna tuning switch is in the target tuning state. The antenna tuning switch is used to tune the tuning state of the first antenna of the first communication system. In the target tuning state, the antenna performance of the second antenna meets the preset performance requirements.

[0108] For the second antenna in the second communication system, when the antenna tuning switch of the first communication system switches its logic under different antenna tuning parameters, it will select different matching circuits to achieve the effect of tuning the antenna performance under the current cellular mobile communication frequency band. These different matching circuits have different effects on the antenna performance of the second antenna. In terms of operating conditions, this means that different frequency bands in which the first communication system operates have different impacts on the antenna efficiency of the second antenna.

[0109] exist Figure 3Based on the circuit shown, antenna performance can be described using antenna efficiency. Higher antenna efficiency indicates better antenna performance, while lower antenna efficiency indicates worse antenna performance. The following example uses a cellular mobile communication system as the first example and a GPS + Bluetooth / Wifi communication system as the second example, along with data from Table 1, to illustrate the impact of matching circuits for different frequency bands in the cellular mobile communication system on the antenna efficiency of the GPS + Bluetooth / Wifi antenna.

[0110] Table 1

[0111]

[0112] In Table 1 above, G represents the antenna efficiency of the GPS L1 band without the influence of antenna 1, and A represents the antenna efficiency of the Bluetooth / Wi-Fi band without the influence of antenna 1. State 1 represents the state where the cellular mobile communication system operates in the B1 (Band 1) band, with an antenna tuning parameter of 1000. Under the indication of 1000, the RF1 path of the SP4T is ON, and other paths are OFF. In State 1, matching circuit 1 affects the tuning state of antenna 1 and simultaneously affects the tuning state of antenna 2. Under the action of matching circuit 1, the antenna efficiency of antenna 2 corresponding to the GPS L1 band decreases by 1 dB compared to G, and the antenna efficiency of antenna 2 corresponding to the Bluetooth band decreases by 0.6 dB compared to A. Table 1 also shows the on-state of the antenna tuning switch and the degree of influence on the antenna efficiency of antenna 2 when the cellular mobile communication system operates in different frequency bands, as represented by states 2, 3, and 4, which will not be elaborated here. As shown in Table 1, in state 4, which corresponds to the state where the antenna tuning switch operates in the B40 band, the antenna tuning parameter is 0001. Under the indication of 0001, the antenna efficiency of GPS L1 band and Bluetooth is the highest compared to other states. Therefore, the target antenna tuning parameter can be determined as the parameter corresponding to cellular mobile communication operating in the B40 band, that is, the parameter controlling the RF4 path to be on and the other paths to be off, specifically 0001.

[0113] When the first communication system is about to enter a non-operational state, the modem can determine that the first communication system will not be used next. Therefore, it does not need to consider the operating frequency band of cellular mobile communication, but instead outputs the antenna tuning parameters that maximize the antenna efficiency of antenna 2 to control the logic state of the antenna tuning switch. This antenna tuning parameter is denoted as the target antenna tuning parameter. When the antenna tuning switch receives the target antenna tuning parameter sent by the modem, it can switch the path according to the logic state indicated by the target antenna tuning parameter, thereby tuning the second antenna to the state of highest antenna efficiency, ensuring the communication quality of GPSL1 and / or Bluetooth. Determining the target antenna tuning parameter based on the requirement of highest antenna efficiency ensures that the communication quality of GPSL1 and / or Bluetooth is maximized.

[0114] It is understandable that the second communication system can be a GPS communication system, a Bluetooth / Wifi communication system, or a communication system that includes both GPS and Bluetooth / Wifi.

[0115] When the second communication system is a GPS communication system and supports the L1 band, any state that meets the antenna efficiency requirements can be selected based on the antenna efficiency in the GPS L1 column of Table 1, and the antenna tuning parameters corresponding to this state can be used as the target antenna tuning parameters. Alternatively, the state with the highest antenna efficiency can be selected based on the antenna efficiency in the GPS L1 column of Table 1, and the antenna tuning parameters corresponding to this state can be used as the target antenna tuning parameters.

[0116] When the second communication system is a Bluetooth / Wi-Fi communication system, any state that meets the antenna efficiency requirements can be selected based on the antenna efficiency in the Bluetooth column of Table 1. Then, the antenna tuning parameters corresponding to this state can be used as the target antenna tuning parameters. For example, the antenna tuning parameters corresponding to state 3 or state 4 can be used as the target antenna tuning parameters. Alternatively, the state with the highest antenna efficiency can be selected based on the antenna efficiency in the Bluetooth column of Table 1, and the antenna tuning parameters corresponding to this state can be used as the target antenna tuning parameters. It should be noted that Bluetooth and Wi-Fi typically use similar communication frequency bands and have similar antenna efficiencies; therefore, the antenna efficiency during Bluetooth communication can be used to characterize the antenna efficiency during Wi-Fi communication.

[0117] The correspondence between the SP4T state and antenna efficiency shown in Table 1 above is one example. In other embodiments, when the port or form of the antenna tuning switch changes, the expression of the antenna tuning parameters also changes accordingly. Figure 3 The circuit shown is based on this, with the antenna tuning switch replaced by a switching assembly consisting of four SPSTs. For details, please refer to [link / reference needed]. Figure 7 As shown. Figure 7The antenna tuning switch can no longer only select one matching circuit, but can also select multiple matching circuits to form more types of matching circuits, thereby realizing more tuning states of the antenna.

[0118] exist Figure 7 In the circuit shown, antenna performance is described using antenna efficiency. The following example uses a cellular mobile communication system as the first communication system and a GPS + Bluetooth / Wifi communication system as the second, along with data from Table 2, to illustrate the impact of different frequency bands in the cellular mobile communication system on the antenna efficiency of the GPS + Bluetooth / Wifi system.

[0119] As shown in Table 2, when the cellular mobile communication system operates in state 7, the GPS antenna has the highest efficiency in the L1 band, while the Bluetooth antenna efficiency decreases by 0.2 dB compared to when there is no influence from antenna 1. If the current antenna performance for GPS communication is poor, i.e., G is small, then the antenna efficiency for GPS communication can be prioritized. Therefore, the state with the highest antenna efficiency for GPS communication can be selected, for example, using the antenna tuning parameter 0011 corresponding to state 7 as the target antenna tuning parameter. If the current Bluetooth antenna performance of the electronic device is poor, i.e., A is small, then the antenna efficiency for Bluetooth communication can be prioritized. Therefore, the state with the highest antenna efficiency for Bluetooth communication can be selected. In the case shown in Table 2, a compromise can also be made by considering the antenna efficiency of both Bluetooth and GPS communication states, selecting the antenna tuning parameter 0011 corresponding to state 7 as the target antenna tuning parameter.

[0120] Table 2

[0121]

[0122]

[0123] Optionally, the target antenna tuning parameters can also be determined in conjunction with the current state of the electronic device. For example, in a music playback scenario, if the device is in Bluetooth connection mode, the antenna efficiency during Bluetooth communication can be prioritized, and the antenna tuning parameter 1000 corresponding to state 2 can be selected as the target antenna tuning parameter. If the electronic device is in motion mode, Bluetooth communication can be disregarded, and the antenna efficiency during GPS communication can be prioritized, selecting the state with the highest antenna efficiency during GPS communication, such as the antenna tuning parameter 0011 corresponding to state 7 as the target antenna tuning parameter.

[0124] The antenna performance of the aforementioned antenna can be described not only by antenna efficiency but also by other parameters such as antenna gain. Corresponding preset performance requirements could include the antenna efficiency reaching a preset efficiency threshold or the antenna gain reaching a preset gain threshold; alternatively, the antenna efficiency could be the highest value among multiple states, or the antenna gain could be the highest value among multiple states. This application does not limit these requirements in its embodiments.

[0125] The above Figure 6 In the illustrated embodiment, when the modem is about to stop working, it first outputs target tuning parameters to put the antenna tuning switch into the target tuning state before entering the inactive state. In this target tuning state, it ensures that the antenna performance of the second antenna in the second communication system meets the preset performance requirements, guaranteeing that the antenna performance of the second antenna is fully utilized, thereby ensuring the communication quality of the second communication system.

[0126] Next, taking a communication system where the first communication system is a cellular mobile communication system and the second communication system is a GPS + Bluetooth / Wifi communication system as an example, we will introduce the pre-state mentioned above in detail:

[0127] Status A:

[0128] Typically, after an electronic device (UE) is powered on, the modem is in an idle state or an RRC state.

[0129] When an electronic device is in standby mode with its screen off, it typically enters Idle mode. At this time, since the cellular mobile communication system is temporarily without service, the modem can intermittently enter sleep mode to conserve power. The modem's operating time slots during this period can be found in [reference needed]. Figure 8 As shown. Figure 8 Taking the Idle state of LTE communication in China and Israel as an example, a cycle of 1.28 seconds is configured. Within each cycle, the modem only operates for a short period (the RF state period), and the modem is in sleep mode for the rest of the time. This state can be called iDRX state. At the beginning of the next cycle, the modem restarts and enters the working state, then enters sleep mode again, and so on in a cycle. For example, in a 1.28-second cycle: when the modem is about to enter sleep mode, that is... Figure 8At the moment before the falling edge of one cycle (T1), denoted as the first moment, the modem can output the target antenna tuning parameters to control the antenna tuning switch to tune to a state that optimizes the performance of the second antenna. Then, at the second moment, the modem enters sleep mode. In sleep mode, the modem does not need to operate, so the output target antenna tuning parameters do not need to be adapted to the currently registered frequency band of the cellular mobile communication. It is only necessary to ensure that the antenna performance of GPS + Bluetooth / Wifi is fully utilized during the modem's sleep state, ensuring the communication quality of the GPS + Bluetooth / Wifi communication system. In this case, the time difference threshold between the first and second moments can be 0.1 seconds, 0.2 seconds, etc.

[0130] When an electronic device is in radio resource control (RRC) mode, and the cellular mobile communication system is not transmitting data, it is in a connected mode discontinuous reception state (C-DRX). In this state, the modem's operating time slots can be found in [reference needed]. Figure 9 As shown. During each C-DRX cycle, the modem only operates for a short period, remaining in sleep mode the rest of the time. When the next C-DRX cycle begins, the modem restarts and enters working mode, then enters sleep mode again, repeating this cycle. When the modem is about to enter sleep mode, that is... Figure 9 At the moment before the falling edge of one cycle (T2), denoted as the first moment, the modem can output the target antenna tuning parameters to control the antenna tuning switch to tune to a state that optimizes the performance of the second antenna. Afterwards, at the second moment, the modem enters sleep mode. In sleep mode, the modem does not need to operate, so the output target antenna tuning parameters do not need to be adapted to the currently registered frequency band of the cellular mobile communication. It is only necessary to ensure that the antenna performance of GPS + Bluetooth / Wifi is fully utilized during the modem's sleep state, thus ensuring the communication quality of the GPS + Bluetooth / Wifi communication system.

[0131] To enable the modem to output target antenna tuning parameters, a new function called the "turn-off" function, named `Tuner_switch_off`, can be added to the modem software. This function is populated with the target antenna tuning parameters. When the modem is about to enter sleep mode, the `Tuner_switch_off` function can be called to output the target antenna tuning parameters to the antenna tuning switch, thereby tuning the second antenna's performance and ensuring the communication quality of the GPS + Bluetooth / Wi-Fi communication system when the modem is in sleep mode.

[0132] State B:

[0133] Typically, when an electronic device's cellular mobile communication system goes offline (no service or out of service), it will display "no signal." At this time, the modem will search for networks according to a preset network search order in order to establish a connection. A common search order is to search for LTE networks first, then WCDMA networks, and finally GSM networks. If no network is found according to the preset search order, the modem uses a periodic network search strategy to avoid excessive power consumption due to continuous network searching. The modem's working time slots during the network search process can be found in [link to relevant documentation]. Figure 10 As shown. During the first network search cycle, when the modem completes the preset network search sequence, that is... Figure 10 If no usable network is found at time T3, the system enters a sleep state. When the second network search cycle begins, it continues searching according to the preset network search order. If no usable network is found by the time the second network search cycle is completed, i.e., at time T4, the system again enters a sleep state. This cycle of searching continues until a usable network is found.

[0134] Based on this, in this embodiment, after the usual network search is completed, a search for a network in a different frequency band can be added. It should be noted that this newly searched frequency band is the band corresponding to the target antenna tuning parameters. If the modem still cannot find a usable network after searching the newly added frequency band, it will enter a sleep state. The modem's operating time slots after adding the new frequency band can be found in [reference needed]. Figure 11As shown in Table 1, the modem could normally enter sleep mode at time T3 within a network search cycle. However, in this embodiment, the search for newly added frequency bands is performed during the period from T3 to T5, and then the modem enters sleep mode again at time T5. In the second network search cycle, the time when the modem enters sleep mode is delayed from the original T4 to T6, and the search for newly added frequency bands is performed during the period from T4 to T6. At this time, the antenna tuning switch can remain in the configuration corresponding to the frequency band of the last network search, that is, it remains in the state indicated by the target tuning parameters and will not change arbitrarily. Taking Table 1 as an example, the frequency band B40 can be added to the network search frequency band, so that the state of the antenna tuning switch remains in the state corresponding to 0001 when the modem is in sleep mode. When the modem enters sleep mode after searching for newly added frequency bands, the antenna performance of GPS+Bluetooth / Wifi can be fully utilized to ensure the communication quality of the GPS+Bluetooth / Wifi communication system.

[0135] State C:

[0136] When an electronic device enters flight mode at the user's request, it does not require cellular mobile communication. The modem is inactive at this time. Before the modem enters inactive mode, target antenna tuning parameters can be output to control the antenna tuning switch to remain in the target tuning state. This ensures that the antenna performance of GPS + Bluetooth / Wi-Fi can be fully utilized in flight mode, guaranteeing the communication quality of the GPS + Bluetooth / Wi-Fi communication system. Afterward, the modem enters inactive mode.

[0137] State D:

[0138] When an electronic device is in Bluetooth or Wi-Fi communication mode, it can be assumed that no phone call is needed, and therefore the cellular network is not required. The modem can prioritize the communication quality of Bluetooth or Wi-Fi communication. The modem can output target antenna tuning parameters to control the antenna tuning switch to remain in the target tuning state, thereby ensuring that the antenna performance of GPS + Bluetooth / Wi-Fi can be fully utilized during Bluetooth or Wi-Fi communication, further ensuring the communication quality of the GPS + Bluetooth / Wi-Fi communication system.

[0139] The methods for outputting the target antenna tuning parameters in states C and D can also be implemented by calling the shutdown function, as described in state A, and will not be repeated here.

[0140] State E:

[0141] Electronic devices sometimes enter a limited-service state due to surrounding network conditions or operator settings. For example, if an electronic device's user account is in arrears, it cannot connect to the internet without restrictions, but it is not completely offline either. In this limited-service state, the electronic device will still periodically search for networks, and the modem will periodically enter a sleep state. When a network that can provide limited service is found, the electronic device will choose an available network to camp on. During the network search, the modem will prioritize searching for the target frequency band corresponding to the target antenna tuning parameters. If it can successfully register with a network on the target frequency band, it can remain camped on that network. This ensures that the antenna tuning switch remains in the state indicated by the target antenna tuning parameters, preventing arbitrary changes and ensuring the communication quality of the GPS + Bluetooth / Wi-Fi communication system.

[0142] Taking Table 1 as an example, the modem will output the antenna tuning parameter 0001 corresponding to the B40 frequency band to attempt to register the B40 frequency band. If the registration is successful and meets the residency requirements, it will remain residing on the B40 frequency band; if the registration fails, it can continue searching for other available networks to reside on. For a smartwatch as an example, the specific network search process can be found in [reference needed]. Figure 12 As shown, it includes:

[0143] S1201, the smartwatch is in a restricted service state.

[0144] S1202, Search for the target frequency band.

[0145] If a target frequency band is set at this time, the electronic device can prioritize searching for the target frequency band when the network search is initiated.

[0146] S1203. Determine whether the target frequency band meets the residency requirements. If yes, proceed to S1204A; otherwise, proceed to S1204B.

[0147] S1204A, residing in the target frequency band.

[0148] S1204B, Default network residency under restricted service status.

[0149] In other words, when an electronic device is in a restricted service state, if it finds a target frequency band and the target frequency band meets the camping requirements, it will camp on the target frequency band. At this time, because the target frequency band is in operation, the antenna tuning switch not only ensures that the antenna performance of the first antenna meets the communication requirements of the target frequency band, but also allows the antenna performance of GPS + Bluetooth / Wifi to be fully utilized, ensuring the communication quality of the GPS + Bluetooth / Wifi communication system.

[0150] If the target frequency band cannot be found or the target frequency band does not meet the requirements for staying, such as no network being found in the target frequency band search, then continue to search for other frequency bands, that is, search for networks and stay according to the default network search strategy under the limited service state.

[0151] Based on the above embodiments, the electronic device can also first determine whether a Subscriber Identity Module (SIM, eSIM) exists. If the SIM is not inserted into the electronic device or the eSIM is not set, it means that the electronic device does not meet the conditions for accessing the cellular mobile communication system. Therefore, there is no need to consider which path of the matching circuit to select to tune the first antenna. Thus, the modem can directly output the target antenna tuning parameters, for example, by calling a shutdown function to output the target antenna tuning parameters. The antenna tuning switch can be configured according to the target antenna tuning parameters to ensure that the antenna performance of the second antenna is fully utilized. This eliminates the need to determine the modem's pre-state, avoiding subsequent invalid processes. If the Subscriber Identity Module exists, the method in the above embodiments can continue to be executed.

[0152] Specifically, the modem can report a message to the MCU that the user identification card is not present. Upon receiving this message, the MCU sends a power-down command to both the modem and the PMU, instructing the modem to power down. Following the power-down command, the modem calls a shutdown function to output the target antenna tuning parameters before powering down and entering the shutdown state. See [link to documentation] for details. Figure 13 As shown: When the modem and MCU determine that the eSIM does not exist, the modem outputs a message to the MCU indicating that the eSIM does not exist; the MCU can then send a power-down command back to the modem. At this point, the modem can first output the target antenna tuning parameters to the antenna tuning switch, and then power down to enter the off state. When the modem receives the power-down command, it can also output the target antenna tuning parameters to the antenna tuning switch through the radio frequency chip (RFIC), and then power down to enter the off state. Figure 13 The example shown illustrates how a modem sends target antenna tuning parameters to an antenna tuning switch via an RFIC. Under the influence of these target antenna tuning parameters, antenna 1 enables antenna 2 to fully utilize its performance. For example... Figure 13 As shown, the MUC and Modem can be integrated into a single chip. Figure 13In this configuration, the modem outputs the target antenna tuning parameters via a call to a shutdown function, during target frequency band search, or while residing in the target frequency band. The triggering method for the modem to output the target antenna tuning parameters can be found in the relevant descriptions in other embodiments throughout the document, and will not be repeated here. Furthermore, the modem outputs the target antenna tuning parameters in the form of a MIPI signal or a GPIO signal, as long as it can instruct the antenna tuning switch to be configured according to the target tuning state.

[0153] To more completely illustrate the technical solution of this application, a complete embodiment is used to describe the technical solution of the embodiment of this application, such as... Figure 14 As shown, it includes:

[0154] S1401. Determine if the user identification card exists; if yes, proceed to S1402; if no, proceed to S1407.

[0155] S1402. Determine whether to connect to other mobile phones via Bluetooth / Wifi; if not, proceed to S1403; if yes, proceed to S1407.

[0156] S1403. Determine if in flight mode; if not, proceed to S1404; if yes, proceed to S1407.

[0157] S1404. Determine if there is no mobile phone connected and the device is offline. If not, proceed to S1405; if yes, proceed to S1408.

[0158] S1405. Do you want to enter iDRX or C-DRX? If not, proceed to S1406; if yes, proceed to S1407.

[0159] S1406: Does the system enter a service-restricted state and search the network? If not, stop the process; if yes, proceed to S1409.

[0160] S1407. Call the shutdown function to output the target antenna tuning parameters.

[0161] S1408, Add a network to search for the target frequency band.

[0162] After the modem has finished searching for the target frequency band, it can enter sleep mode.

[0163] S1409. Search for and reside in the target frequency band.

[0164] Once the modem finds a network on the target frequency band, it can stay on that network. If no network on the target frequency band is found, it can search for and stay on a network on the default frequency band according to the settings for the limited service state.

[0165] It should be noted that, Figure 14 In the process shown, the execution order of steps S1402 to S1406 can be adjusted. If any condition is met in steps S1402 to S1406, the process can jump to execute the step that meets the condition (one of S1407, S1408, and S1409). If the condition is not met, the other judgment steps can continue to be executed in sequence.

[0166] Figure 14 The implementation principles and technical effects of the embodiments shown can be found in the detailed descriptions of the foregoing embodiments, and will not be repeated here.

[0167] The foregoing has detailed examples of the methods provided in this application. It is understood that the corresponding apparatus, in order to achieve the above functions, includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0168] This application can divide the antenna state control device into functional modules based on the above method example. For example, each function can be divided into its own functional module, or two or more functions can be integrated into one module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.

[0169] Figure 15 A schematic diagram of an antenna state control device provided in this application is shown. The device 1500 includes:

[0170] The acquisition module 1501 is used to acquire the pre-state of the first communication system, which is the state that the first communication system will enter at the second moment after the first moment.

[0171] The processing module 1502 is used to output the target antenna tuning parameters at the first moment when the pre-state is the non-working state. The target antenna tuning parameters are used to indicate that the antenna tuning switch is in the target tuning state. The antenna tuning switch is used to tune the tuning state of the first antenna of the first communication system. In the target tuning state, the antenna performance of the second antenna meets the preset performance requirements.

[0172] In some embodiments, the time difference between the first time point and the second time point is less than a preset time difference threshold.

[0173] In some embodiments, the non-working state is the idle state of the first communication system or the sleep state when the Radio Resource Control (RRC) connection is established.

[0174] In some embodiments, the non-working state is the sleep state during the network search cycle.

[0175] In some embodiments, the non-working state is the flight mode state.

[0176] In some embodiments, the non-working state is when the second communication system corresponding to the second antenna is in Bluetooth communication state.

[0177] In some embodiments, the processing module 1502 is specifically used to output the target antenna tuning parameters to the antenna tuning switch by calling the shutdown function at a first moment, and the shutdown function is filled with the target antenna tuning parameters.

[0178] In some embodiments, the non-working state is a sleep state during the network search cycle. The processing module 1502 is specifically used to search for the target frequency band corresponding to the target tuning state at the first moment, so as to output the target antenna tuning parameters.

[0179] In some embodiments, if the pre-state is a working state, the processing module 1502 is specifically used to determine that it is in a service-limited state, output the target antenna tuning parameters to register the target frequency band corresponding to the target tuning state; if the registration is successful, it is determined that the first communication system resides in the target frequency band.

[0180] In some embodiments, before the acquisition module 1501 acquires the pre-state of the first communication system, the processing module 1502 determines whether a user identification card exists; if so, it performs the step of acquiring the pre-state of the first communication system; if not, it outputs the target antenna tuning parameters.

[0181] In some embodiments, the processing module 1502 is specifically used to control the Modem to report a message that the User Identity Card does not exist to the MCU, and when the Modem receives a power-down command returned by the MCU based on the message that the User Identity Card does not exist, in response to the power-down command, control the Modem to output the target antenna tuning parameters and then power down.

[0182] In some embodiments, under the target tuning state, the antenna efficiency of the second antenna is higher than that under other tuning states. The other tuning states are the tuning states of the antenna tuning switch, and the other tuning states are different from the target tuning state.

[0183] The specific manner in which the device 1500 executes the antenna state control method and the beneficial effects thereof can be found in the relevant descriptions in the method embodiments, and will not be repeated here.

[0184] This application also provides a chip including a processor for executing the methods described in the above embodiments. This chip can be a modem chip, or a baseband processor integrated with a modem, etc.

[0185] This application also provides an electronic device, including the processor described above. The electronic device provided in this embodiment may be... Figure 1 The terminal device 100 shown is used to execute the antenna state control method described above. When using integrated units, the terminal device may include a processing module, a storage module, and a communication module. The processing module can be used to control and manage the actions of the terminal device; for example, it can support the terminal device in executing the steps performed by the display unit, detection unit, and processing unit. The storage module can be used to support the terminal device in executing stored program code and data. The communication module can be used to support communication between the terminal device and other devices.

[0186] The processing module can be a processor or a controller. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a digital signal processor (DSP), and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, or other devices that interact with other terminal devices.

[0187] In one embodiment, when the processing module is a processor and the storage module is a memory, the terminal device involved in this embodiment can be a device having... Figure 1 The device with the structure shown.

[0188] In some embodiments, the above-mentioned electronic device may also be a wearable device or a miniaturized electronic device with a relatively small antenna layout space.

[0189] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to perform the antenna state control method described in any of the above embodiments.

[0190] This application also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement the antenna state control method described in the above embodiments.

[0191] In this embodiment, the electronic device, computer-readable storage medium, computer program product or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0192] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between devices or units. The replaced units may or may not be physically separate. The component shown as a unit may be one physical unit or multiple physical units, that is, it may be located in one place or distributed in multiple different places. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0193] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0194] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0195] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. An antenna state control method, the method being applied to an electronic device, the electronic device comprising a first communication system and a second antenna, the first communication system comprising a first antenna and an antenna tuning switch, characterized in that, include: Obtain the pre-state of the first communication system, wherein the pre-state is the state that the first communication system is to enter at the second time after the first time, and the time difference between the first time and the second time is less than or equal to a preset time difference threshold. If the pre-state is a non-working state, the target antenna tuning parameters are output at the first moment. The target antenna tuning parameters are used to indicate that the antenna tuning switch is in the target tuning state. In the target tuning state, the antenna performance of the second antenna meets the preset performance requirements. If the pre-state is a working state, it is determined that the service is limited, and the target antenna tuning parameters are output to register the target frequency band corresponding to the target tuning state. If registration is successful, it is determined that the first communication system resides in the target frequency band.

2. The method according to claim 1, characterized in that, The first communication system includes multiple matching circuits, and the antenna tuning switch is used to select different matching circuits.

3. The method according to claim 2, characterized in that, The multiple matching circuits include a first matching circuit. If the pre-state is a non-working state, the antenna tuning switch selects the first matching circuit according to the target antenna tuning parameters.

4. The method according to any one of claims 1 to 3, characterized in that, The first antenna is used for cellular mobile communication.

5. The method according to any one of claims 1 to 3, characterized in that, The second antenna is used for Bluetooth communication, Wi-Fi communication and / or GPS communication.

6. The method according to any one of claims 1 to 3, characterized in that, The first antenna and the second antenna share a portion of the antenna radiator.

7. The method according to any one of claims 1 to 3, characterized in that, The first antenna and the second antenna share the same floor.

8. The method according to any one of claims 1 to 3, characterized in that, The non-working state refers to the modem of the first communication system being in a sleep state or a power-off state.

9. The method according to claim 8, characterized in that, The non-working state refers to the idle state of the first communication system or the sleep state when the radio resource control (RRC) connection is established.

10. The method according to claim 8, characterized in that, The non-working state refers to the dormant state during the network search cycle.

11. The method according to claim 8, characterized in that, The non-working state refers to the flight mode state.

12. The method according to claim 8, characterized in that, The non-working state refers to the second communication system corresponding to the second antenna being in Bluetooth communication state or Wi-Fi communication state.

13. The method according to claim 2, characterized in that, At the first moment, the target antenna tuning parameters are output, which are used to indicate that the antenna tuning switch is in the target tuning state, including: The target antenna tuning parameters are used to instruct the antenna tuning switch to select the matching circuit so that the antenna tuning switch is in the target tuning state.

14. The method according to claim 13, characterized in that, By calling the shutdown function, the target antenna tuning parameters are output to the antenna tuning switch, and the shutdown function is filled with the target antenna tuning parameters.

15. The method according to claim 13, characterized in that, The non-working state is the sleep state during the network search cycle, which searches for the target frequency band corresponding to the target tuning state in order to output the target antenna tuning parameters.

16. The method according to claim 13, characterized in that, Before obtaining the pre-state of the first communication system, the method further includes: Determine if the user identification card exists; If so, then the step of obtaining the pre-state of the first communication system is performed; If not, output the target antenna tuning parameters.

17. The method according to claim 16, characterized in that, The output of the target antenna tuning parameters includes: Report a message to the microcontroller unit (MCU) that the user identification card does not exist; Receive the power-down command returned by the MCU based on the message that the user identification card does not exist; In response to the power-down command, the target antenna tuning parameters are output before powering down.

18. The method according to any one of claims 1 to 3, characterized in that, In the target tuning state, the antenna performance of the second antenna meets the preset performance requirements, including: In the target tuning state, the antenna efficiency of the second antenna is higher than that in other tuning states. The other tuning states are the tuning states of the antenna tuning switch, and the other tuning states are different from the target tuning state.

19. A chip, characterized in that, The chip includes a processor; the processor is used to perform the method of any one of claims 1 to 18.

20. An electronic device, characterized in that, include: Processor, memory, and interface; The processor, the memory, and the interface cooperate with each other to enable the electronic device to perform the method as described in any one of claims 1 to 18.

21. The electronic device according to claim 20, characterized in that, The electronic device is a wearable device.

22. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to perform the method of any one of claims 1 to 18.