Antenna state control method, chip, electronic equipment and readable storage medium
By obtaining the pre-state of the communication system in the smart watch and outputting the target antenna tuning parameters, the problem of poor performance caused by antenna coupling is solved, and the performance of GPS+ Bluetooth/Wifi antennas is improved when the cellular mobile communication system is not working, and communication quality is ensured.
Patent Information
- Application Number
- CN202410228794.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-18
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2043-09-18
AI Technical Summary
Due to the small size of the smart watch, the two antennas are deployed in a small space, and there is coupling, resulting in poor antenna performance and affecting communication quality.
By obtaining the pre-state of the communication system, outputting the target antenna tuning parameters when the communication system is not working, the antenna tuning switch is controlled to switch to the switch logic state that can achieve good performance of the second antenna, thereby ensuring that the antenna performance of the second antenna meets the preset performance requirements.
When the cellular mobile communication system is not working, improve the performance of GPS+ Bluetooth/Wifi antennas to ensure communication quality.
Smart Images

Figure CN119696614A_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 202311200143.2, and the original application date is September 18, 2023. The entire contents of the original application are incorporated into this application by reference. Technical Field
[0002] The present application relates to the field of electronic technology, and in particular to an antenna state control method, a chip, an electronic device and a readable storage medium. Background Art
[0003] In order to meet people's growing demand for use, electronic devices are becoming more and more diverse. Wearable devices, as electronic devices worn daily, have an irreplaceable position in people's lives. Generally, the appearance of wearable devices needs to be miniaturized to be suitable for daily wear. At the same time, they also need to support multiple communication formats to meet people's various communication needs.
[0004] Taking a common smart watch as an example, a smart watch usually has two antennas, one for cellular mobile communication and the other for Bluetooth communication.
[0005] However, due to the small size of the smart watch, the two antennas are deployed in a small space of the smart watch, and there is coupling between them, which will lead to poor antenna performance and affect the communication quality. Summary of the invention
[0006] The present application provides an antenna state control method, device, chip, electronic device, computer-readable storage medium and computer program product, which can improve the antenna performance of a second antenna.
[0007] In a first aspect, an antenna state control method is provided, including: obtaining a pre-state of a first communication system, the pre-state being a state that the first communication system will enter at a second moment after a first moment; if the pre-state is a non-working state, outputting a target antenna tuning parameter at a first moment, the target antenna tuning parameter being used to indicate that an antenna tuning switch is in a target tuning state, the antenna tuning switch being used to tune the tuning state of a first antenna of the first communication system, and in the target tuning state, the antenna performance of the second antenna meets a preset performance requirement.
[0008] When the modem of the first communication system is not working, the antenna tuning switch can be switched to a switch logic state that enables the antenna performance of the second antenna corresponding to the second communication system to be good. In this case, the second antenna can work in a tuning state where the antenna performance meets the preset performance requirements, and the communication quality of the second communication system is ensured 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, thereby ensuring the antenna performance of the second antenna.
[0010] In some possible implementations, the non-working state is a dormant state when the first communication system is in an idle state or a radio resource control RRC connection.
[0011] When the modem is in an idle state or an RRC state, it will periodically enter a dormant state to save power consumption. The modem can output a target antenna tuning parameter before entering the dormant state, and control the antenna tuning switch to switch to a switch 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 a dormant state within a network search cycle. When the modem is in the network search state, it will also periodically enter the dormant state. The modem outputs the target antenna tuning parameters before entering the dormant state within each network search cycle, and controls the antenna tuning switch to switch to a switch 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.
[0013] In some possible implementations, the non-working state is a state of flight mode. When the electronic device enters flight mode under the operation of the user, the electronic device does not need to communicate with the first communication system. At this time, the modem is in a non-working state. Before the modem enters the non-working state, the target antenna tuning parameters can be output first to control the antenna tuning switch to remain in the target tuning state, thereby ensuring that the antenna performance of GPS+Bluetooth / Wifi in flight mode can be fully utilized, ensuring the communication quality of the GPS+Bluetooth / Wifi communication system. Afterwards, the modem enters the non-working state again.
[0014] In some possible implementations, the non-working state is that the second communication system corresponding to the second antenna is in a Bluetooth communication state.
[0015] When the electronic device is in the Bluetooth communication or Wifi communication state, it can be considered that there is no need to make a call at this time, and there is no need for a cellular mobile communication network. The modem can give priority to ensuring the communication quality of Bluetooth communication or Wifi communication. The modem can output the target antenna tuning parameters to control the antenna tuning switch to remain in the target tuning state, thereby ensuring that the GPS+Bluetooth / Wifi antenna performance can be fully utilized during Bluetooth communication or Wifi communication, further ensuring the communication quality of the GPS+Bluetooth / Wifi communication system.
[0016] In some possible implementations, the target antenna tuning parameters may be output by calling a shutdown function to output the target antenna tuning parameters to the antenna tuning switch, wherein the shutdown function is filled with the target antenna tuning parameters.
[0017] In some possible implementations, the non-working state is a dormant state within a network search cycle, and the target antenna tuning parameters are output at a first moment, including: searching for a target frequency band corresponding to the target tuning state at a first moment to output the target antenna tuning parameters.
[0018] Specifically, after the common network search is completed, a network in a frequency band can be added for search. The newly added search frequency band is the frequency band corresponding to the target antenna tuning parameters. If the Modem still fails to find an available network after searching the newly added frequency band, it enters a sleep state. After the newly added search frequency band is added, it can be ensured that the target antenna tuning parameters are output during the search for the newly added frequency band before the Modem enters the sleep state, thereby ensuring that the antenna tuning switch is switched to a switch 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.
[0019] In some possible implementations, if the pre-state is a working state, the method further includes: determining that it is in a service restricted 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 network it can reside on is limited. Then the modem can register the target frequency band first. If the network of the target frequency band can be successfully registered, it can remain on the network of the target frequency band. In this way, the antenna tuning switch can maintain the state indicated by the target antenna tuning parameters and will not change arbitrarily, ensuring the communication quality of the GPS+Bluetooth / Wifi communication system. If the network registration of the target frequency band is unsuccessful, it will reside on the frequency band of the default limited service state.
[0021] In some possible implementations, before obtaining the pre-state of the first communication system, the method further includes: determining whether a user identity card exists; if so, executing the step of obtaining the pre-state of the first communication system; if not, outputting the target antenna tuning parameters.
[0022] If the user identification card exists, the above process can be executed to control the antenna state; if the user identification card does not exist, it means that the electronic device does not have the conditions to access the cellular mobile communication system at this time, so there is no need to consider which path of the matching circuit of the antenna tuning circuit to select to tune the first antenna. Therefore, the modem can directly output the target antenna tuning parameters, for example, calling the 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. First determine whether the user identification card exists, and if not, directly output the target antenna tuning parameters. This method does not need to determine the pre-state of the modem, avoiding subsequent invalid processes.
[0023] In some possible implementations, outputting the target antenna tuning parameters includes: reporting a message that a user identity card does not exist to a microcontroller unit (MCU); receiving a power-off instruction returned by the MCU based on the message that the user identity card does not exist; and in response to the power-off instruction, outputting the target antenna tuning parameters and then powering off.
[0024] In some possible implementations, in the target tuning state, the antenna performance of the second antenna meets preset performance requirements, including: in the target tuning state, the antenna efficiency of the second antenna is higher than the antenna efficiency 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.
[0025] In a second aspect, an antenna state control device is provided, comprising a unit composed of software and / or hardware, and the unit is used to execute any one of the methods in the technical solution of the first aspect.
[0026] In a third aspect, an embodiment of the present application provides a chip, comprising a processor; the processor is used to read and execute a computer program stored in a memory to execute any one of the methods in the technical solution described in the first aspect.
[0027] Optionally, the chip also includes a memory, and the memory is connected to the processor via a circuit or wire.
[0028] Further optionally, the chip also includes a communication interface.
[0029] In a fourth aspect, an electronic device is provided, comprising: a processor, a memory and an interface; the processor, the memory and the interface cooperate with each other so that the electronic device executes any one of the methods in the technical solution described in the first aspect.
[0030] In a fifth aspect, an electronic device is provided, the electronic device comprising any chip in the technical solution 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, in which a computer program is stored. When the computer program is executed by a processor, the processor executes any one of the methods in the technical solution described in the first aspect.
[0033] In a seventh aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is run on an electronic device, the electronic device executes any one of the methods in the technical solution described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Figure 1 is a schematic diagram of the structure of a terminal device 100 provided in an embodiment of the present application;
[0035] Figure 2 is a software structure block diagram of the terminal device 100 provided in an embodiment of the present application;
[0036] Figure 3 This is a schematic diagram of the structure of an antenna solution inside an electronic device provided in an embodiment of the present application;
[0037] Figure 4 The embodiment of this application provides Figure 3 Schematic diagram of antenna distribution of the antenna scheme shown;
[0038] Figure 5 This is another schematic diagram of the structure of an antenna solution inside an electronic device provided in an embodiment of the present application;
[0039] Figure 6 is a flow chart of an antenna state control method provided in an embodiment of the present application;
[0040] Figure 7 This is another schematic diagram of the structure of an antenna solution inside an electronic device provided in an embodiment of the present application;
[0041] Figure 8 This is a schematic diagram of a working time slot of a Modem in an idle state provided in an embodiment of the present application;
[0042] Fig. 9 This is a schematic diagram of a working time slot of a Modem in an RRC connection state provided in an embodiment of the present application;
[0043] Fig.10 This is a schematic diagram of a working time slot of a modem in a common process of searching for a network after an electronic device is disconnected from the network, provided in an embodiment of the present application;
[0044] Fig.11 This is a schematic diagram of a working time slot of a modem during a network search process after an electronic device is disconnected from the network, provided in an embodiment of the present application;
[0045] Fig.12 This is a network search flow chart of an example of an electronic device in a restricted service state provided in an embodiment of the present application;
[0046] Fig.13 It is a structural diagram of modules involved in an antenna state control method inside an electronic device provided in an embodiment of the present application;
[0047] Fig.14 is another flow chart of an antenna state control method provided in an embodiment of the present application;
[0048] Fig.15 It is a schematic diagram of the structure of an antenna state control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0050] In the following, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", and "third" may explicitly or implicitly include one or more of the features.
[0051] The antenna state control method provided in the embodiment of the present application can be applied to terminal devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc. The embodiment of the present application does not impose any restrictions on the specific type of the terminal device.
[0052] For example, Figure 1 1 is a schematic diagram of the structure of an example of a terminal device 100 provided in an embodiment of the present 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, an earphone interface 170D, a sensor module 180, a button 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, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light 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 structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0054] The software system of the terminal device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The present application embodiment takes the Android system of the layered architecture as an example to exemplify the software structure of the terminal device 100.
[0055] Figure 21 is a software structure diagram of the terminal device 100 of the embodiment of the present application. The layered architecture divides the software into several layers, each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer. The application layer can include a series of application packages.
[0056] like Figure 2 As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.
[0057] The application framework layer provides an application programming interface (API) and a programming framework for the 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, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0059] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0060] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0061] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0062] The phone manager is used to provide communication functions of the terminal device 100, such as management of call status (including connection, disconnection, etc.).
[0063] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0064] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, the terminal device vibrates, the indicator light flashes, etc.
[0065] Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0066] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0067] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0068] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0069] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0070] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[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 drawing engine for 2D drawings.
[0073] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0074] In order to clearly describe the technical solutions and application scenarios of the present application, the terms and English abbreviations involved in the present application and the technical field are first explained.
[0075] PMU: Power management unit, also called power manager, is used to power Modem, RFIC, and MMBPA.
[0076] Modem: A modem can be a separate chip or built into a baseband chip and integrated with the baseband chip.
[0077] RFIC: Radio frequency integrated circuit, also called radio frequency integrated circuit, or radio transceiver. RFIC is connected to the modem to realize the conversion between the modem digital signal and the radio frequency signal.
[0078] SPST: Single-pole single-throw switch. Used to achieve on / off control of a single channel. Switches with other numbers of ports can be written as XPXT. X represents a natural number, and the two Xs in XPXT can be the same or different. When X represents 1, it can be represented by S (abbreviation for single); when X represents 2, it can be replaced by D (abbreviation for double). For example, a double-pole four-throw switch can be written as DP4T.
[0079] MMBPA: A multi-mode band power amplifier in a cellular mobile communication system, used to amplify signals in cellular mobile communications.
[0080] Combiner: A combiner usually 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 port is a common port that can select high-frequency signals through the high-frequency port and low-frequency signals through the low-frequency port. In a frequency division duplex (FDD) communication system, it is used to isolate the transmit and receive signals and suppress out-of-band signals.
[0081] Filter: A filter is used to select signals within the passband and suppress signals outside the passband. For example, it can be used in a time division duplex (TDD) communication system to suppress out-of-band signals.
[0082] Coupler: A power distribution component used to couple an additional signal from a path for power detection and other purposes.
[0083] RF front end: also called RF front end module. Usually refers to the RF transceiver circuit system composed of MMBPA, switch, duplexer, filter, coupler and other modules.
[0084] Antenna tuning switch: It has multiple switching ports and can connect different matching circuits by switching different paths to achieve the purpose of tuning antenna performance.
[0085] FDD Band: FDD communication frequency band. The specific frequency band varies according to different regions, for example, it may include B5, B8, B1, and B3.
[0086] TDD Band: TDD communication frequency band. The specific frequency band varies according to different regions. For example, it 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, medium and high frequency bands are collectively referred to as LMHB, which is used to represent the low, medium and high frequency bands in cellular mobile communications, such as all frequency bands from 700MHz to 2690MHz.
[0088] GPS L1: The carrier is at 1575.42MHz, which is one of the most common frequency bands for the global satellite navigation system.
[0089] GPS L5: The carrier is at 1176.45MHz. The signal in the L5 frequency band has a higher bandwidth and lower multipath effect, and 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 general term for wearable devices such as mobile phones, smart terminals, smart watches and smart bracelets.
[0092] In order to adapt to people's growing demand for use, electronic devices are becoming more and more diverse. Wearable devices, as electronic devices worn daily, have an irreplaceable position in people's lives. Usually, the appearance of wearable devices needs to be miniaturized for daily wear. At the same time, wearable devices also need to support multiple communication standards to meet people's communication needs. Taking smart watches as an example, common smart watches usually have two antennas. One antenna is used for cellular mobile communications, and the other antenna is used for Bluetooth communication and Wifi communication. In some scenarios, if the smart watch also needs to support GPS positioning function, GPS communication can share the same antenna with Bluetooth communication. In this case, common antenna solutions can be found in Figure 3 shown.
[0093] exist Figure 3 In the figure, the cellular mobile communication system uses antenna 1 to send and receive cellular mobile communication signals; the Bluetooth / Wifi communication system uses antenna 2 to send and receive Bluetooth / Wifi signals. If GPS and Bluetooth / Wifi share antenna 2, the GPS signal and the Bluetooth / Wifi signal can also be separated by a combiner. 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 GPS L1 frequency band path, and the high-frequency port of the combiner is connected to the high-frequency Bluetooth / Wifi frequency band path. It should be noted that the Bluetooth and Wifi modems are usually integrated in the same chip and share the same antenna to implement two communication modes. In the embodiment of the present application, Bluetooth / Wifi represents a communication system or signal path that is compatible with Bluetooth communication and Wifi communication.
[0094] The cellular mobile communication module includes a modem, a radio frequency chip (RFIC) and a radio frequency front-end module for cellular mobile communication. The cellular mobile communication module is used to process the frequency bands of cellular mobile communication, including signals of the LB, MB and HB frequency bands. The GPS module also includes a modem, a radio frequency chip (RFIC) and a radio frequency front-end module for GPS communication. The GPS module is used to process signals of the GPS frequency band. Figure 3 The example of GPS using the L1 frequency band is shown in the figure. The Bluetooth / Wifi module also includes a modem (Modem), a radio frequency chip (RFIC) and a radio frequency front-end module for Bluetooth / Wifi communication. The Bluetooth / Wifi module is used to process signals in the Bluetooth / Wifi frequency band.
[0095] Since there are many frequency bands in cellular mobile communications and the frequency distribution range is wide, antenna 1 usually has multiple 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 3In the figure, the antenna tuning switch is a single-pole four-throw SP4T switch as an example. The antenna tuning switch has four paths, namely 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 tuning state of antenna 1. For example, matching circuit 1 is a circuit debugged for frequency band 1. That is to say, when antenna 1 works in frequency band 1, matching circuit 1 can make the antenna efficiency of antenna 1 the highest compared with other matching circuits. Matching circuit 2 is a circuit debugged for frequency band 2. That is to say, when antenna 1 works in frequency band 2, matching circuit 2 can make the antenna efficiency of antenna 1 the highest compared with other matching circuits. Matching circuit 3 is a circuit debugged for frequency band 3. That is to say, when antenna 1 works in frequency band 3, matching circuit 3 can make the antenna efficiency of antenna 1 the highest compared with other matching circuits. Matching circuit 4 is a circuit debugged for frequency band 4. That is to say, when the antenna 1 operates in the frequency band 4, the matching circuit 4 can make the antenna efficiency of the antenna 1 the highest compared with other matching circuits.
[0096] exist Figure 3 In the circuit shown, when the antenna tuning switch selects the RF1 path, the RF2, RF3 and RF4 paths are disconnected, so that the matching circuit 1 is effective. Under the tuning effect of the matching circuit 1, the performance of the antenna 1 is fully utilized to ensure the communication quality of the frequency band 1. When the antenna tuning switch selects the RF2 path, the RF1, RF3 and RF4 paths are disconnected, so that the matching circuit 2 is effective. Under the tuning effect of the matching circuit 2, the performance of the antenna 1 is fully utilized to ensure the communication quality of the frequency band 2. When the antenna tuning switch selects the RF3 path, the RF1, RF2 and RF4 paths are disconnected, so that the matching circuit 3 is effective. Under the tuning effect of the matching circuit 3, the performance of the antenna 1 is fully utilized to ensure the communication quality of the frequency band 3. When the antenna tuning switch selects the RF4 path, the RF1, RF2 and RF3 paths are disconnected, so that the matching circuit 4 is effective. Under the tuning effect of the matching circuit 4, the performance of the antenna 1 is fully utilized to ensure the communication quality of the frequency band 4. The performance of the antenna 1 is fully utilized, which means that the antenna efficiency is the highest, or the antenna gain is the largest, etc., which can make the antenna performance optimal. The antenna tuning switch can switch the switch logic to select the corresponding path under the instruction of the control instruction output by the modem, so that the matching circuit on the corresponding path is effective, and the antenna state is tuned.
[0097] However, due to the small size of smart watches, the two antennas are deployed in a small space on the smart watch, and there will be coupling between them, resulting in poor antenna performance, thus affecting the communication quality. The schematic diagram of the location of the two antennas deployed in the smart watch can be seen in Figure 4As shown, antenna 1 and antenna 2 are arranged close to each other due to limited space. In this case, the two antennas may share part of the antenna structure. For example, the two antennas may share the floor and part of the antenna radiator (such as part of the metal frame), and the matching circuit of antenna 1 may also affect the antenna performance of antenna 2. This may result in that the antenna performance cannot be fully utilized in some cases, thereby affecting the communication quality.
[0098] Similar problems also exist for other antenna combining schemes. Figure 5 In the circuit shown, the GPS L5 band and the Bluetooth / Wifi band share antenna 2, while the GPS L1 band uses antenna 3 alone. If the GPS L5 band is not needed, the Bluetooth signal can also be directly connected to antenna 2 without passing through the combiner. Figure 5 In the example, the coupling degree between the three antennas is higher, resulting in more serious degradation of antenna performance.
[0099] Based on this, the present application provides an antenna state control method, which can switch the antenna tuning switch to a switch logic state that can make the GPS+Bluetooth / Wifi antenna have good antenna performance when the modem of the cellular mobile communication system is not working. In this case, the GPS+Bluetooth / Wifi antenna can work in a tuning state with good 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 the present application will be described in detail with Figures 1 to 5 The antenna state control method provided by the embodiment of the present application is specifically described by taking the structure shown as an example, combining the accompanying drawings and application scenarios. The execution subject of the embodiment of the present application can be a processor, a chip (such as a modem) or an electronic device. The following description takes the execution subject as a modem of a cellular mobile communication system as an example.
[0101] Figure 6 A flow chart of an antenna state control method provided in an embodiment of the present application, the method comprising:
[0102] S601. Acquire a pre-state of a first communication system, where the pre-state is a state that the first communication system will enter at a second moment after a first moment.
[0103] The first communication system may be a cellular mobile communication system or other communication system with an antenna tuning switch. The following description takes the first communication system as a cellular mobile communication system as an example. The standard of the cellular mobile communication system may be GSM, CDMA, LTE or new radio (NR), etc. The embodiment of the present application does not limit the standard of the cellular mobile communication system.
[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 a working state at a first moment and is about to enter a non-working state at a second moment, the pre-state is a non-working state; if the first communication system is in a working state at a first moment and is still in a working state at a second moment, the pre-state is a working state.
[0105] Optionally, if the time difference between the first moment and the second moment is too long, the pre-state at the second moment may be far apart, and the pre-state may inaccurately indicate the target antenna tuning parameters output at the first moment. Therefore, if the time difference between the first moment and the second moment is less than or equal to the preset time difference threshold, it can ensure that the target antenna tuning parameters effectively act on the second antenna when the first communication system is not working, thereby ensuring the antenna performance of the second antenna.
[0106] It should be noted that the first communication system is in working state, which means that the Modem of the first communication system is in working state; the first communication system is in non-working state, which means that the Modem of the first communication system is in non-working state. The Modem in the non-working state can be in a sleep state or a shutdown state (or a power-off state). The Modem mentioned below in this application refers to the Modem of the first communication system unless otherwise specified. The Modem can obtain the pre-state to be entered at the next moment after the current moment of the first communication system.
[0107] S602. If the pre-state is a non-working state, output a target antenna tuning parameter at the first moment, the target antenna tuning parameter is used to indicate that the antenna tuning switch is in a target tuning state, the antenna tuning switch is 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 meets the preset performance requirements.
[0108] For the second antenna of the second communication system, when the antenna tuning switch of the first communication system switches the switch logic under the control of different antenna tuning parameters, different matching circuits will be selected 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. This is reflected in the working state, that is, different frequency bands of the first communication system have different effects on the antenna efficiency of the second antenna.
[0109] exist Figure 3Based on the circuit shown, the antenna performance can be described by antenna efficiency. The higher the antenna efficiency, the better the antenna performance, and the lower the antenna efficiency, the worse the antenna performance. The following takes the first communication system as a cellular mobile communication system and the second communication system as a GPS+Bluetooth / Wifi communication system as an example, and combines the data in Table 1 to illustrate the influence of the matching circuit corresponding to different frequency bands of the cellular mobile communication system on the antenna efficiency of GPS+Bluetooth / Wifi.
[0110] Table 1
[0111]
[0112] In the above Table 1, G is the antenna efficiency of the GPS L1 band in the state without the influence of antenna 1, and A is the antenna efficiency of the Bluetooth / Wifi band in the state without the influence of antenna 1. Among them, state 1 is the state of the cellular mobile communication system working in the B1 (Band 1) band, and the antenna tuning parameter is 1000. Under the indication of 1000, the RF1 path of SP4T is turned on (ON), and other paths are turned off (OFF). In state 1, the matching circuit 1 acts on the tuning state of antenna 1, and at the same time acts on the tuning state of antenna 2. Under the action of the matching circuit 1, the antenna efficiency of antenna 2 corresponding to the GPS L1 band is reduced by 1dB compared with G, and the antenna efficiency of antenna 2 corresponding to the Bluetooth band is reduced by 0.6dB compared with A. Table 1 also shows the path state of the antenna tuning switch and the degree of influence on the antenna efficiency of antenna 2 when the cellular mobile communication system represented by state 2, state 3 and state 4 works in different frequency bands, which will not be repeated here. It can be seen from Table 1 that in state 4, that is, when the logic state of the antenna tuning switch is in the state corresponding to the B40 frequency band operation, the antenna tuning parameter is 0001. Under the indication of 0001, the antenna efficiency of the GPS L1 frequency band and Bluetooth are both the highest values compared with other states, so the target antenna tuning parameter can be determined as the parameter corresponding to the cellular mobile communication operation in the B40 frequency band, that is, the parameter for controlling the conduction of the RF4 path and the shutdown of other paths, specifically 0001.
[0113] When the first communication system is about to enter a non-working state, the Modem can determine that the first communication system does not need to work next, so there is no need to consider the working frequency band of the cellular mobile communication, but output the antenna tuning parameters that make the antenna efficiency of antenna 2 the highest to control the logical state of the antenna tuning switch. The antenna tuning parameters are recorded as target antenna tuning parameters. When the antenna tuning switch receives the target antenna tuning parameters sent by the Modem, it can switch the path according to the logical state indicated by the target antenna tuning parameters, thereby tuning the tuning state of the second antenna to the state with the highest antenna efficiency, ensuring the communication quality of GPSL1 and / or Bluetooth. Determining the target antenna tuning parameters based on the highest antenna efficiency requirement can ensure that the communication quality of GPSL1 and / or Bluetooth is maximized.
[0114] It can be understood that the second communication system can be a GPS communication system, a Bluetooth / Wifi communication system, or a communication system including GPS and Bluetooth / Wifi.
[0115] When the second communication system is a GPS communication system and supports the L1 frequency band, any state that meets the antenna efficiency requirement can be selected based on the antenna efficiency in the GPS L1 column in Table 1, and then the antenna tuning parameters corresponding to this state are 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 in Table 1, and the antenna tuning parameters corresponding to this state are used as the target antenna tuning parameters.
[0116] When the second communication system is a Bluetooth / Wifi communication system, any state that meets the antenna efficiency requirements can be selected based on the antenna efficiency of the Bluetooth column in Table 1, and 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 are used as the target antenna tuning parameters. It is also possible to select the state with the highest antenna efficiency based on the antenna efficiency of the Bluetooth column in Table 1, and use the antenna tuning parameters corresponding to this state as the target antenna tuning parameters. It should be noted that usually the communication frequency bands of Bluetooth and Wifi are close, and the antenna efficiency is also close. The antenna efficiency during Bluetooth communication can be used to characterize the antenna efficiency during Wifi communication.
[0117] The correspondence between the state of SP4T and the antenna efficiency shown in Table 1 is an example. In other embodiments, when the port or form of the antenna tuning switch changes, the expression form of the antenna tuning parameter also changes accordingly. Figure 3 Based on the circuit shown in the figure, the antenna tuning switch is replaced with a switch component composed of four SPSTs. For details, please refer to Figure 7 shown. Figure 7The antenna tuning switch in the invention can no longer only select one matching circuit, but can also select multiple matching circuits for combination to form more matching circuit forms, thereby realizing more tuning states of the antenna.
[0118] exist Figure 7 In the circuit shown, the antenna performance is described by antenna efficiency. The following takes the first communication system as a cellular mobile communication system and the second communication system as a GPS+Bluetooth / Wifi communication system as an example, and combines the data in Table 2 to illustrate the influence of different frequency bands of the cellular mobile communication system on the antenna efficiency of GPS+Bluetooth / Wifi.
[0119] It can be seen from Table 2 that when the cellular mobile communication system works in state 7, the antenna efficiency of the GPS antenna is the highest in the L1 frequency band, and the antenna efficiency of the Bluetooth antenna is reduced by 0.2dB compared to when there is no influence of antenna 1. If the antenna performance during the current GPS communication is poor, that is, G is small, the antenna efficiency during GPS communication can be given priority. Therefore, the state with the highest antenna efficiency during GPS communication can be selected, for example, the antenna tuning parameter 0011 corresponding to state 7 can be used as the target antenna tuning parameter. If the performance of the Bluetooth antenna of the current electronic device is poor, that is, A is small, the antenna efficiency during Bluetooth communication can be given priority. Therefore, the state with the highest antenna efficiency during Bluetooth communication can be selected. In the case shown in Table 2, the antenna efficiencies under the two communication states of Bluetooth and GPS can also be compromised, and the antenna tuning parameter 0011 corresponding to state 7 can be selected as the target antenna tuning parameter.
[0120] Table 2
[0121]
[0122]
[0123] Optionally, the above-mentioned target antenna tuning parameters can also be determined in combination with the current state of the electronic device. For example, in the scenario of playing music, if it is in the Bluetooth connection state, the antenna efficiency during Bluetooth communication can be given priority, and the antenna tuning parameter 1000 corresponding to state 2 is selected as the target antenna tuning parameter; if the electronic device is in sports mode, it is not necessary to consider Bluetooth communication, but the antenna efficiency during GPS communication is given priority, and the state with the highest antenna efficiency during GPS communication is selected, such as the antenna tuning parameter 0011 corresponding to state 7 as the target antenna tuning parameter.
[0124] In addition to antenna efficiency, the antenna performance of the above antenna can also be described by other parameters such as antenna gain. The corresponding preset performance requirements can be that the antenna efficiency reaches a preset efficiency threshold or the antenna gain reaches a preset gain threshold, etc.; or that the antenna efficiency is the highest value in multiple states, the antenna gain is the highest value in multiple states, etc., which is not limited in the embodiments of the present application.
[0125] Above Figure 6 In the illustrated embodiment, when the modem is about to stop working, it can first output the target tuning parameters to put the antenna tuning switch in the target tuning state, and then enter the non-working state. In the target tuning state, it is ensured that the antenna performance of the second antenna of the second communication system can meet the preset performance requirements, and the antenna performance of the second antenna is fully utilized, thereby ensuring the communication quality of the second communication system.
[0126] Next, taking the case 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, the pre-state mentioned above is described in detail:
[0127] State A:
[0128] Usually, after the electronic device (UE) is turned on, the modem is generally in an idle state or an RRC state.
[0129] When the electronic device is in black screen standby mode, it usually enters the Idle state. At this time, since the cellular mobile communication system has no business temporarily, the modem can be in a dormant state intermittently to save power. At this time, the working time slot of the modem can be seen in Figure 8 shown. Figure 8 In the example of an electronic device in the Idle state of LTE communication, 1.28 seconds is configured as a cycle. In each cycle, the modem only works for a short period of time (the period in the RF state), and the rest of the time the modem is in a dormant state, which can be called an iDRX state. When the next cycle comes, the modem restarts and enters the working state, and then enters the dormant state, and so on. Taking a 1.28 second cycle as an example: when the modem is about to enter the dormant state, that is, Figure 8At the moment (T1) before the falling edge of one cycle in , recorded as the first moment, the Modem can output the target antenna tuning parameters and control the antenna tuning switch to tune to a state where the antenna performance of the second antenna is good. Afterwards, that is, at the second moment, the Modem enters a sleep state. In the sleep state, the Modem does not need to work, so the output target antenna tuning parameters do not need to adapt to the frequency band currently registered for cellular mobile communications. It is only necessary to ensure that the antenna performance of GPS+Bluetooth / Wifi is fully utilized during the process of the Modem being in the sleep state, thereby ensuring the communication quality of the GPS+Bluetooth / Wifi communication system when the Modem is in the sleep state. In this case, the time difference threshold between the first moment and the second moment can be 0.1 seconds, 0.2 seconds, etc.
[0130] When the electronic device is in the radio resource control (RRC) state, the cellular mobile communication system is in the connected discontinuous reception state (connected mode DRX, C-DRX) when there is no data transmission. In this state, the working time slot of the Modem can be seen in Fig. 9 As shown. In each C-DRX cycle, the modem only works for a period of time, and the rest of the time the modem is in sleep mode. When the next C-DRX cycle comes, the modem restarts and enters the working state, and then enters the sleep state again, and so on. When the modem is about to enter the sleep state, that is, Fig. 9 At the moment (T2) before the falling edge of one cycle in , recorded as the first moment, the Modem can output the target antenna tuning parameters and control the antenna tuning switch to tune to a state where the antenna performance of the second antenna is good. Afterwards, that is, at the second moment, the Modem enters a sleep state. In the sleep state, the Modem does not need to work, so the output target antenna tuning parameters do not need to adapt to the frequency band currently registered for cellular mobile communications. It is only necessary to ensure that the antenna performance of GPS+Bluetooth / Wifi is fully utilized during the process of the Modem being in the sleep state, thereby ensuring the communication quality of the GPS+Bluetooth / Wifi communication system when the Modem is in the sleep state.
[0131] In order to realize the function of the modem outputting the target antenna tuning parameters, a function called the shutdown function can be added to the modem software, and the function can be named Tuner_switch_off. The target antenna tuning parameters are filled in the shutdown function. When the modem is about to enter the sleep state, the target antenna tuning parameters can be output to the antenna tuning switch by calling the Tuner_switch_off function, so as to tune the antenna performance of the second antenna and ensure the communication quality of the GPS+Bluetooth / Wifi communication system when the modem is in the sleep state.
[0132] State B:
[0133] Usually, when the cellular mobile communication system of an electronic device is disconnected from the network (no service or out of service), it will display no signal. At this time, the modem will search for the network in the preset search order to connect to the network. The common search order is to search the LTE network first, then the WCDMA network, and finally the GSM network. If no network can be found in the preset search order, in order to avoid excessive power consumption caused by continuous search, Modem adopts a periodic search strategy. The working time slot of the modem during the search process can be found in Fig.10 In the first network search cycle, when the Modem completes the preset network search sequence, that is, Fig.10 If no available network is found at T3 in the search, the device enters the dormant state. When the second search cycle arrives, the device continues to search for networks in the preset search order. If no available network is found at T4 in the second search cycle, the device enters the dormant state again. The search is repeated periodically until an available network is found.
[0134] Based on this, in the embodiment of the present application, after the common network search is completed, a network of a frequency band can be added for searching. It should be noted that the newly added search frequency band is the frequency band corresponding to the target antenna tuning parameter. If the modem still fails to search for an available network after searching the newly added frequency band, it enters the sleep state. After the newly added search frequency band, the working time slot of the modem can refer to Fig.11As shown. In a network search cycle, the original Modem can enter the sleep state at time T3. However, in this embodiment, the operation of searching for the newly added frequency band must be performed during the time period of T3-T5, and then the sleep state is entered again at time T5. In the second network search cycle, the time when the Modem enters the sleep state is delayed from the original T4 to T6, and the operation of searching for the newly added frequency band is performed during the time period of T4-T6. At this time, the antenna tuning switch can be maintained at the configuration corresponding to the frequency band of the last network search, that is, it can be maintained in the state indicated by the target tuning parameter and will not change arbitrarily. Taking Table 1 as an example, the frequency band for searching 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. When the Modem enters the sleep state after searching for the newly added frequency band, the antenna performance of GPS+Bluetooth / Wifi can be fully utilized to ensure the communication quality of the GPS+Bluetooth / Wifi communication system.
[0135] Status C:
[0136] When the electronic device enters the flight mode under the operation of the user, the electronic device does not need to perform cellular mobile communication. At this time, the modem is in an inoperative state. Before the modem enters the inoperative state, the target antenna tuning parameter can be output to control the antenna tuning switch to remain in the target tuning state, thereby ensuring that the antenna performance of the GPS+Bluetooth / Wifi in the flight mode can be fully utilized to ensure the communication quality of the GPS+Bluetooth / Wifi communication system. After that, the modem enters the inoperative state again.
[0137] Status D:
[0138] When the electronic device is in the Bluetooth communication or Wifi communication state, it can be considered that there is no need to make a call at this time, and there is no need for a cellular mobile communication network. The modem can give priority to ensuring the communication quality of Bluetooth communication or Wifi communication. The modem can output the target antenna tuning parameters to control the antenna tuning switch to remain in the target tuning state, thereby ensuring that the GPS+Bluetooth / Wifi antenna performance can be fully utilized during Bluetooth communication or Wifi communication, further ensuring the communication quality of the GPS+Bluetooth / Wifi communication system.
[0139] The manner in which the target antenna tuning parameters are output in the above-mentioned states C and D can also be implemented by calling a close function as described in state A, and will not be described in detail here.
[0140] Status E:
[0141] Electronic devices sometimes enter a restricted service state due to the conditions of the surrounding network or the settings of the operator. For example, when the user of the electronic device is in arrears, the electronic device cannot connect to the Internet without restrictions, but it is not completely disconnected from the network. In the restricted service state, the electronic device will still search the network periodically, and the modem will also enter the sleep state periodically. When a network that can provide restricted services is searched, the electronic device will select an available network to reside. During the network search process, the modem will give priority to searching the target frequency band corresponding to the target antenna tuning parameters. If the network of the target frequency band can be successfully registered, it can remain on the network of the target frequency band. In this way, the antenna tuning switch can maintain the state indicated by the target antenna tuning parameters and will not change at will, ensuring the communication quality of the GPS+Bluetooth / Wifi 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 try to register the B40 frequency band first. If the registration is successful and the residency requirements are met, it will remain in the B40 frequency band; if the registration fails, it can continue to search for other available networks to reside. Taking the electronic device as a smart watch as an example, the specific network search process can be seen in Fig.12 As shown, including:
[0143] S1201. The smart watch is in a restricted service state.
[0144] S1202: Search for a target frequency band.
[0145] If the target frequency band is set at this time, the electronic device can give priority to searching the target frequency band when the network search is started.
[0146] S1203: Determine whether the target frequency band meets the residence requirement. If yes, execute S1204A; if no, execute S1204B.
[0147] S1204A, stay in the target frequency band.
[0148] S1204B: Reside on the default network in the limited service state.
[0149] That is to say, when the electronic device is in a restricted service state, if the electronic device searches for the target frequency band and the target frequency band meets the residence requirements, it will stay in the target frequency band. At this time, due to the working state of the target frequency band, the antenna tuning switch can not only make the antenna performance of the first antenna meet the communication requirements of the target frequency band, but also make the antenna performance of GPS+Bluetooth / Wifi fully utilized, ensuring the communication quality of the GPS+Bluetooth / Wifi communication system.
[0150] If the target frequency band cannot be searched or the target frequency band does not meet the retention requirements, for example, no network is found in the target frequency band search, other frequency bands will continue to be searched, that is, the network will be searched and retained according to the default network search strategy in the restricted service state.
[0151] On the basis of the above embodiment, the electronic device can also first determine whether the subscriber identity card (Subscriber Identity Module, SIM, eSIM card) exists. If the SIM is not inserted into the electronic device or the eSIM card is not set, it means that the electronic device does not have the conditions to access the cellular mobile communication system at this time, so there is no need to consider which path of the matching circuit of the antenna tuning circuit to tune the first antenna. Therefore, the Modem can directly output the target antenna tuning parameters, for example, 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. In this way, there is no need to judge the pre-state of the Modem, avoiding subsequent invalid processes. If the user identity card exists, the method in the above embodiment can continue to be executed.
[0152] Specifically, the modem can report to the MCU that the user identification card does not exist; after receiving the message that the user identification card does not exist, the MCU returns a power-off instruction to the modem and PMU, instructing the modem to power off. Under the instruction of the power-off instruction, the modem calls the shutdown function to output the target antenna tuning parameters, and then powers off and enters the shutdown state. For details, see Fig.13 As shown in the figure: when the modem and MCU determine that the eSIM does not exist, the modem outputs a message to the MCU that the eSIM does not exist; the MCU can then return a power-off instruction to the modem, and the modem can then first output the target antenna tuning parameters to the antenna tuning switch, and then power off to enter the shutdown state. When the modem receives the power-off instruction, it can also output the target antenna tuning parameters to the antenna tuning switch through the radio frequency chip (RFIC), and then power off to enter the shutdown state. Fig.13 In the example, the modem sends the target antenna tuning parameters to the antenna tuning switch through the RFIC. Under the effect of the target antenna tuning parameters, antenna 1 enables antenna 2 to fully exert its antenna performance. Fig.13 As shown, MUC and Modem can be integrated into one chip. Fig.13In the embodiment, the modem outputs the target antenna tuning parameters by calling a shutdown function, or by searching for the target frequency band, or by residing in the target frequency band. The triggering method of the modem outputting the target antenna tuning parameters can refer to the relevant descriptions in other embodiments in the full text, which will not be repeated here. In addition, the modem outputs the target antenna tuning parameters in the form of a MIPI signal or in the form of a GPIO, as long as it can instruct the antenna tuning switch to be configured according to the target tuning state.
[0153] In order to more completely express the technical solution of the present application, a complete embodiment is used here to describe the technical solution of the embodiment of the present application, such as Fig.14 As shown, including:
[0154] S1401. Determine whether the user identity card exists; if so, execute S1402; if not, execute S1407.
[0155] S1402, determine whether to connect to other mobile phones via Bluetooth / Wifi; if not, execute S1403; if yes, execute S1407.
[0156] S1403, determine whether it is in flight mode; if not, execute S1404; if so, execute S1407.
[0157] S1404: Determine whether the mobile phone is not connected and is offline. If not, execute S1405; if yes, execute S1408.
[0158] S1405: Whether to enter iDRX or C-DRX; if not, execute S1406; if yes, execute S1407.
[0159] S1406, whether to enter the service restricted state and search the network; if not, stop the process; if so, execute S1409.
[0160] S1407. Call a close function to output target antenna tuning parameters.
[0161] S1408. Add a network to search for the target frequency band.
[0162] After the modem searches for the target frequency band, it can enter sleep mode.
[0163] S1409: Search for and reside in a network in the target frequency band.
[0164] After the modem searches for a network in the target frequency band, it can reside on the network in the target frequency band; if it does not search for a network in the target frequency band, it can search for a network in a default frequency band to reside on according to the settings in the service-restricted state.
[0165] It should be noted that Fig.14 In the process shown, the execution order of steps S1402 to S1406 can also be adjusted with each other. As long as one condition is met in steps S1402 to S1406, the execution can be jumped to the step that meets the condition (one of S1407, S1408, S1409). If it is not met, the other judgment steps can be continued to be executed in sequence.
[0166] Fig.14 The implementation principle and technical effects of the illustrated embodiment can be found in the detailed description of the aforementioned embodiment and will not be repeated here.
[0167] The above describes in detail an example of the method provided by the present application. It is understandable that, in order to implement the above functions, the corresponding device includes a hardware structure and / or software module corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0168] The present application can divide the antenna state control device into functional modules according to the above method example. For example, each function can be divided into each functional module, or two or more functions can be integrated into one module. The above integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0169] Fig.15 The schematic diagram of the structure of an antenna state control device provided by the present application is shown. The device 1500 includes:
[0170] The acquisition module 1501 is used to acquire a pre-state of the first communication system, where the pre-state is a state that the first communication system will enter at a second moment after the first moment.
[0171] Processing module 1502 is used to output target antenna tuning parameters at the first moment when the pre-state is a non-working state. The target antenna tuning parameters are used to indicate that the antenna tuning switch is in a 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 moment and the second moment is less than a preset time difference threshold.
[0173] In some embodiments, the non-working state is a sleep state when the first communication system is in an idle state or a radio resource control RRC connection.
[0174] In some embodiments, the non-working state is a dormant state within a network search cycle.
[0175] In some embodiments, the non-operating state is an airplane mode state.
[0176] In some embodiments, the non-working state is that the second communication system corresponding to the second antenna is in a Bluetooth communication state.
[0177] In some embodiments, the processing module 1502 is specifically configured to output the target antenna tuning parameters to the antenna tuning switch by calling a closing function at a first moment, and the closing function is filled with the target antenna tuning parameters.
[0178] In some embodiments, the non-working state is a dormant state within a network search cycle, and the processing module 1502 is specifically configured to search for a target frequency band corresponding to a target tuning state at a first moment to output a target antenna tuning parameter.
[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-restricted 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, the processing module 1502 also determines whether the user identity card exists before the acquisition module 1501 acquires the pre-state of the first communication system; if so, executes the step of acquiring the pre-state of the first communication system; if not, 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-off instruction returned by the MCU based on the message that the user identity card does not exist, the processing module 1502 is used to control the modem to output the target antenna tuning parameters and then power off in response to the power-off instruction.
[0182] In some embodiments, in the target tuning state, the antenna efficiency of the second antenna is higher than that in other tuning states, where the other tuning states are tuning states of an 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 produced can be found in the relevant description of the method embodiment, which will not be repeated here.
[0184] The embodiment of the present application also provides a chip, which includes a processor for executing the method in the above embodiment. The chip can be a modem chip, or a baseband processor integrated with a modem.
[0185] The present application also provides an electronic device, including the above processor. The electronic device provided by this embodiment can be Figure 1 The terminal device 100 shown is used to execute the above-mentioned antenna state control method. In the case of an integrated unit, the terminal device may include a processing module, a storage module and a communication module. Among them, the processing module can be used to control and manage the actions of the terminal device, for example, it can be used to support the terminal device to execute the steps performed by the display unit, the detection unit and the processing unit. The storage module can be used to support the terminal device to execute and store program codes and data, etc. The communication module can be used to support the communication between the terminal device and other devices.
[0186] Among them, the processing module can be a processor or a controller. It can implement or execute various exemplary logic boxes, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processor (DSP) and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a device that interacts with other terminal devices, such as a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, etc.
[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 may be a Figure 1 Device of the structure shown.
[0188] In some embodiments, the electronic device may also be a wearable device, or a miniaturized electronic device with a relatively small antenna layout space.
[0189] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processor executes the antenna state control method described in any of the above embodiments.
[0190] The embodiment of the present application further provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement the antenna state control method in the above-mentioned embodiment.
[0191] Among them, the electronic device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here.
[0192] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, the replaced units may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place, or they may be distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0193] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0194] If the integrated unit is implemented in the form of 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 solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0195] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An antenna state control method, characterized in that: include: Acquire a pre-state of a first communication system, where the pre-state is a state that the first communication system will enter at a second moment after the first moment; If the pre-state is a non-working state, the first antenna of the first communication system is tuned to be in a target tuning state, in which the antenna performance of the second antenna meets a preset performance requirement.
2. The method according to claim 1, characterized in that The first communication system includes an antenna tuning switch and a plurality of circuits, wherein the antenna tuning switch is used to select different circuits to tune the tuning state of the first antenna.
3. The method according to claim 2, characterized in that The plurality of circuits include a first circuit. If the pre-state is a non-working state, the tuning switch switches on the first circuit according to a preset tuning parameter.
4. The method according to claim 2, characterized in that: The first communication system includes a first circuit combination and a second circuit combination, the first circuit combination and the second circuit combination are any one or more of the multiple circuits, and the first circuit combination is different from the second circuit combination; If the pre-state is a non-operating state and the second antenna is in a first state, the tuning switch switches on a first circuit combination; If the pre-state is a non-operating state and the second antenna is in a second state, the tuning switch selects the second circuit combination; Wherein, in the first state and the second state, the signal frequency band of the second antenna is different.
5. The method according to any one of claims 1 to 4, characterized in that The first antenna is used for cellular mobile communication.
6. The method according to any one of claims 1 to 5, characterized in that The second antenna is used for Bluetooth communication, Wifi communication and / or GPS communication.
7. The method according to any one of claims 1 to 6, characterized in that The first antenna and the second antenna share part of the antenna radiator.
8. The method according to any one of claims 1 to 6, characterized in that The first antenna shares a common ground with the second antenna.
9. The method according to any one of claims 1 to 8, characterized in that: The time difference between the first moment and the second moment is less than or equal to a preset time difference threshold.
10. The method according to any one of claims 1 to 9, characterized in that The non-working state is that the modem of the first communication system is in a sleep state or a power-off state.
11. The method according to claim 10, characterized in that The non-working state is a dormant state when the first communication system is in an idle state or a radio resource control RRC connection.
12. The method according to claim 10, characterized in that The non-working state is a dormant state within a network search cycle.
13. The method according to claim 10, characterized in that The non-working state is a state of flight mode.
14. The method according to claim 10, characterized in that The non-working state is that the second communication system corresponding to the second antenna is in a Bluetooth communication state or a Wifi communication state.
15. The method according to claim 2, characterized in that The step of tuning the first antenna of the first communication system to a target tuning state includes: Outputting a target antenna tuning parameter, wherein the target tuning parameter is used to instruct an antenna tuning switch to select the circuit so that the first antenna is in the target tuning state.
16. The method according to claim 15, characterized in that By calling a close function, the target antenna tuning parameters are output to the antenna tuning switch, and the close function is filled with the target antenna tuning parameters.
17. The method according to claim 15, characterized in that The non-working state is a dormant state within a network search cycle, and a target frequency band corresponding to the target tuning state is searched to output the target antenna tuning parameters.
18. The method according to claim 15, characterized in that If the pre-state is a working state, the method further includes: Determining that the service is limited, and outputting the target antenna tuning parameter to register a 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.
19. The method according to claim 15, characterized in that Before obtaining the preliminary state of the first communication system, the method further includes: Determine whether the user identification card exists; If yes, executing the step of acquiring the pre-state of the first communication system; If not, the target antenna tuning parameters are output.
20. The method according to claim 19, characterized in that The outputting the target antenna tuning parameter comprises: Reporting to the microcontroller unit MCU that the user identification card does not exist; Receiving a power-off instruction returned by the MCU based on a message that the user identity card does not exist; In response to the power-off instruction, the target antenna tuning parameters are output and then the power is turned off.
21. The method according to any one of claims 1 to 20, 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 tuning states of the antenna tuning switch, and the other tuning states are different from the target tuning state.
22. A chip, characterized in that: The chip comprises a processor; the processor is configured to execute the method according to any one of claims 1 to 21.
23. An electronic device, characterized in that: include: Processors, memory, and interfaces; The processor, the memory and the interface cooperate with each other so that the electronic device executes the method as claimed in any one of claims 1 to 21.
24. The electronic device according to claim 23, characterized in that: The electronic device is a wearable device.
25. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor is caused to execute any one of claims 1 to 21.
Citation Information
Patent Citations
System for lowering power loss of wireless communication protocol coexisting device and achieving method thereof
CN103906205A
Mobile terminal equipment and multi-antenna debugging method
CN111211817A
Antenna configuration method and device
WO2023142782A1