An antenna operating mode determination method and terminal
By dynamically adjusting the terminal's antenna operating mode to 4RX or 2RX based on the signal quality detection results in the Idle and Connect states during VoNR calls, the problem of Paging signal parsing failure in VoNR calls is solved, the call success rate is improved, and power consumption is reduced.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-01-15
- Publication Date
- 2026-05-01
AI Technical Summary
During a VoNR call, when the called terminal is in the radio resource control idle state, the antenna operating mode is 2RX mode, which results in poor demodulation performance, causing the Paging signal parsing to fail, and thus the call to fail.
By acquiring the signal quality detection results of the terminal in Idle and Connect states, the antenna operating mode is dynamically adjusted to 4RX mode to improve the signal resolution success rate, and switched to 2RX mode when necessary to reduce power consumption.
It improves the success rate of VoNR calls, reduces the power consumption of the terminal in interference environments, and improves the accuracy of antenna operating modes and resource utilization efficiency.
Smart Images

Figure CN120358526B_ABST
Abstract
Description
A method for determining antenna operating mode and a terminal Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a method for determining antenna operating mode and a terminal. Background Technology
[0002] Voice over New Radio (VoNR) calls are based on 5G VoNR technology and offer higher quality voice call services. While VoNR calls are now widely commercially available, call failures still occur.
[0003] When establishing a VoNR call, the called terminal needs to parse the received paging signal. However, when parsing the paging signal, the called terminal is in the Radio Resource Control (RRC) idle state, and the antenna operating mode of the called terminal is 2 Receiver X (2RX) mode. In 2RX mode, the demodulation performance of the called terminal is poor. If the quality of the paging signal received by the called terminal is poor, the parsing of the paging signal will fail, and the VoNR call cannot be established, ultimately leading to the call failure. Summary of the Invention
[0004] The purpose of this application is to provide an antenna operating mode determination method and terminal, so as to determine the antenna operating mode of the terminal as 4RX mode when the received signal quality is poor in the Idle state, thereby improving the success rate of call calls. The specific technical solution is as follows:
[0005] Firstly, in order to achieve the above objectives, embodiments of this application provide a method for determining an antenna operating mode, the method comprising:
[0006] The system acquires a first detection result when the terminal is in a first idle state and a second detection result when the terminal is in a first connected state; wherein the first detection result represents the signal quality of the signal received by the terminal when it is in the first idle state; and the second detection result represents the signal quality of the signal received by the terminal when it is in the first connected state.
[0007] Based on the first detection result and the second detection result, the target detection result when the terminal is in the second Idle state is determined; wherein, the target detection result represents the signal quality of the signal received by the terminal when it is in the second Idle state;
[0008] When the target detection result is the first preset result, it is determined that the antenna working mode of the terminal is 4RX mode when the terminal is in the second Idle state;
[0009] When the target detection result is the second preset result, it is determined that the antenna operating mode of the terminal when the terminal is in the second Idle state is 2RX mode; wherein, the signal quality represented by the first preset result is lower than the signal quality represented by the second preset result.
[0010] As can be seen from the above, in the solution provided in this embodiment, the signal quality represented by the first preset result is lower than the signal quality represented by the second preset result. If the target detection result (first preset result) indicates that the signal quality of the signal received when the terminal is in Idle state is poor, then the antenna operating mode when the terminal is in Idle state is determined to be 4RX mode. Compared to 2RX mode, the demodulation performance of the terminal in 4RX mode is better, which can increase the probability of the terminal successfully parsing the paging signal, thereby improving the success rate of call calls. Furthermore, if the target detection result (second preset result) indicates that the signal quality of the signal received when the terminal is in Idle state is good, then the antenna operating mode of the terminal in Idle state is determined to be 2RX mode. Compared to 4RX mode, the power consumption of the terminal in 2RX mode is lower, which can reduce the terminal's power consumption and save resources.
[0011] In one embodiment of this application, the first detection result is determined through the following steps:
[0012] For each antenna of the terminal, calculate the first signal-to-noise ratio of the first reference signal received by the terminal through that antenna when the terminal is in the first Idle state;
[0013] Calculate the first statistical value for each first signal-to-noise ratio;
[0014] When the first statistical value is less than the first threshold, the first number of times the terminal failed to parse the paging signal within a preset time period when it was in the first Idle state is obtained.
[0015] When the first number of times meets the preset condition, the first detection result when the terminal is in the first Idle state is determined as the first preset result.
[0016] As can be seen from the above, in the solution provided in this embodiment, the first signal-to-noise ratio represents the signal quality of the first reference signal, and the first number represents the degree of influence of environmental interference on the signal. Determining the first detection result based on the first signal-to-noise ratio and the first number can improve the accuracy of the determined first detection result, thereby improving the accuracy of determining the antenna working mode of the terminal.
[0017] In one embodiment of this application, the preset condition is: the first number of times is greater than a second threshold, and / or the ratio of the first number of times to the second number of times is greater than a third threshold; wherein, the second number of times is the total number of times the terminal parses the paging signal within a preset duration when it is in the first Idle state.
[0018] As can be seen from the above, in the solution provided in this embodiment, when the first number of times the above preset conditions are met, it indicates that the signal quality of the signal received by the terminal in the first Idle state is poor. Therefore, the first detection result can be determined as the first preset result, which can improve the accuracy of the determined first detection result and thus improve the accuracy of determining the antenna working mode of the terminal.
[0019] In one embodiment of this application, after calculating the first statistical values of each first signal-to-noise ratio, the method further includes:
[0020] When the first statistical value is not less than the first threshold, the first detection result that determines the terminal to be in the first Idle state is the second preset result.
[0021] As can be seen from the above, in the solution provided in this embodiment, if the first statistical value is not less than the first threshold, it indicates that the signal quality of the first reference signal is good. Therefore, the first detection result is determined to be the second preset result, without the need to obtain the first number, thus saving the system resources of the terminal.
[0022] In one embodiment of this application, the first reference signal is a synchronization signal block (SSB) signal.
[0023] As can be seen from the above, in the solution provided in this embodiment, when the terminal is in the Idle state, the terminal and the base station transmit SSB signals through the control channel, and the bandwidth of the SSB signal can match the frequency band of the control channel. Therefore, the signal quality of the SSB signal can represent the signal quality of the signal received by the terminal through the control channel. Accordingly, the first detection result determined based on the SSB signal can represent the signal quality of the signal received by the terminal when it is in the Idle state, which can improve the accuracy of subsequently determining the antenna operating mode of the terminal based on the first detection result.
[0024] In one embodiment of this application, the second detection result is determined through the following steps:
[0025] For each antenna of the terminal, calculate the second signal-to-noise ratio of the second reference signal received by the terminal through that antenna when the terminal is in the first Connect state;
[0026] Calculate the second statistical value for each second signal-to-noise ratio;
[0027] When the second statistical value is less than the first threshold, the antenna operating mode of the terminal when the terminal is in the first Connect state is obtained as a reference operating mode;
[0028] Based on the reference working mode, a second detection result is determined when the terminal is in the first Connect state.
[0029] As can be seen from the above, in the solution provided in this embodiment, when it is determined that the signal quality of the second reference signal is poor, the antenna working mode (i.e., the reference working mode) of the terminal in the first Connect state is obtained, and the second detection result is determined based on the reference working mode, which can improve the accuracy of the determined second detection result.
[0030] In one embodiment of this application, after calculating the second statistical values of each second signal-to-noise ratio, the method further includes:
[0031] When the second statistical value is not less than the first threshold, the second detection result when the terminal is in the first Connect state is determined to be the second preset result.
[0032] As can be seen from the above, in the solution provided in this embodiment, if the second statistical value is not less than the first threshold, it indicates that the signal quality of the second reference signal is good. Then, the second detection result is determined to be the second preset result. There is no need to obtain the antenna working mode of the terminal when the terminal is in the first Connect state, thus saving the system resources of the terminal.
[0033] In one embodiment of this application, determining the second detection result when the terminal is in the first Connect state based on the reference working mode includes:
[0034] When the reference working mode is 4RX mode, the second detection result when the terminal is in the first Connect state is determined to be the first preset result;
[0035] When the reference working mode is 2RX mode, the second detection result when the terminal is in the first Connect state is determined to be the second preset result.
[0036] As can be seen from the above, in the solution provided in this embodiment, the antenna operating mode when the terminal is in the first Connect state is related to the signal quality of the signal received by the terminal when it is in the first Connect state. Based on the reference operating mode, the second detection result is determined, which can improve the accuracy of the determined second detection result.
[0037] In one embodiment of this application, the second reference signal is a tracking reference signal (TRS).
[0038] As can be seen from the above, in the solution provided in this embodiment, when the terminal is in the Connect state, the terminal and the base station transmit TRS signals through the service channel, and the bandwidth of the TRS signal can match the frequency band of the service channel. Therefore, the signal quality of the TRS signal can represent the signal quality of the signal received by the terminal through the service channel. Accordingly, the second detection result determined based on the TRS signal can represent the signal quality of the signal received by the terminal when it is in the Connect state, which can improve the accuracy of subsequently determining the antenna operating mode of the terminal based on the second detection result.
[0039] In one embodiment of this application, determining the target detection result when the terminal is in a second Idle state based on the first detection result and the second detection result includes:
[0040] When both the first detection result and the second detection result are the first preset result, the target detection result when the terminal is in the second Idle state is determined to be the first preset result.
[0041] As can be seen from the above, the solution provided in this embodiment, which determines the target detection result when the terminal is in the second Idle state based on the first and second detection results, can improve the accuracy of determining the target detection result. Furthermore, it can avoid the terminal frequently switching antenna operating modes, reducing the terminal's power consumption.
[0042] In one embodiment of this application, determining the target detection result when the terminal is in a second Idle state based on the first detection result and the second detection result includes:
[0043] When at least one of the first detection result and the second detection result is the second preset result, the target detection result when the terminal is in the second Idle state is determined to be the second preset result.
[0044] As can be seen from the above, the solution provided in this embodiment, which determines the target detection result when the terminal is in the second Idle state based on the first and second detection results, can improve the accuracy of determining the target detection result. Furthermore, it can avoid the terminal frequently switching antenna operating modes, reducing the terminal's power consumption.
[0045] In one embodiment of this application, before determining that the antenna operating mode of the terminal is 4RX mode when the target detection result is a first preset result, the method further includes:
[0046] When the target detection result is the first preset result, the registration frequency band of the terminal is obtained;
[0047] Based on the registered frequency band of the terminal, determine the antenna operating modes supported by the terminal;
[0048] When the target detection result is a first preset result, determining that the antenna operating mode of the terminal is 4RX mode when the terminal is in the second Idle state includes:
[0049] When the target detection result is the first preset result, if the antenna operating mode supported by the terminal includes the 4RX mode, it is determined that the antenna operating mode of the terminal is the 4RX mode when the terminal is in the second Idle state.
[0050] As can be seen from the above, in the solution provided in this embodiment, the antenna working mode supported by the terminal is determined based on the registered frequency band of the terminal. When the antenna working mode supported by the terminal includes the 4RX mode, it is determined that the antenna working mode of the terminal when it is in the second Idle state is the 4RX mode, which can improve the probability of the terminal successfully parsing the Paging signal and improve the success rate of call.
[0051] In one embodiment of this application, determining that the antenna operating mode of the terminal is 4RX mode when the terminal is in the second Idle state, if the antenna operating mode supported by the terminal includes 4RX mode, includes:
[0052] If the antenna operating modes supported by the terminal include 4RX mode, and the terminal is currently in the second Idle state, the antenna operating mode of the terminal is switched from 2RX mode to 4RX mode.
[0053] As can be seen from the above, in the solution provided in this embodiment, when the target detection result is the first preset result and the antenna working mode supported by the terminal includes the 4RX mode, if the terminal is currently in the second Idle state, switching the antenna working mode of the terminal from the 2RX mode to the 4RX mode can increase the probability of the terminal successfully parsing the Paging signal, thereby improving the success rate of the call.
[0054] In one embodiment of this application, after determining the antenna operating modes supported by the terminal based on the registered frequency band of the terminal, the method further includes:
[0055] If the antenna operating modes supported by the terminal do not include the 4RX mode, then when the terminal is in the second Idle state, the antenna operating mode of the terminal is determined to be the 2RX mode.
[0056] In one embodiment of this application, the first Idle state is the preceding Idle state adjacent to the second Idle state; the first Connect state is the preceding Connect state adjacent to the second Idle state.
[0057] As can be seen from the above, in the solution provided in this embodiment, the first Connect state is the preceding Connect state adjacent to the second Idle state, and the first Idle state is the preceding Idle state adjacent to the second Idle state. Furthermore, the time interval between two adjacent states when the terminal switches between the Idle and Connect states is short, and the signal quality of the signals received by the terminal in the second Idle state is quite similar to that of the adjacent first Idle and first Connect states. Subsequently, based on the first detection result of the terminal in the first Idle state and the second detection result of the first Connect state, the target detection result when the terminal is in the second Idle state can be determined, which can improve the accuracy of determining the target detection result, and thus improve the accuracy of determining the antenna operating mode of the terminal.
[0058] Secondly, embodiments of this application also provide a terminal, including:
[0059] One or more processors and memory;
[0060] The memory is coupled to the one or more processors, and the memory is used to store computer program code, the computer program code including computer instructions, and the one or more processors call the computer instructions to cause the terminal to execute any of the antenna operating mode determination methods described above.
[0061] Thirdly, embodiments of this application also provide a computer-readable storage medium, including a computer program, which, when run on a terminal, causes the terminal to execute any of the antenna operating mode determination methods described above.
[0062] Fourthly, embodiments of this application also provide a computer program product, the computer program product comprising executable instructions, which, when executed on a terminal, cause the terminal to execute any of the antenna operating mode determination methods described above.
[0063] Fifthly, embodiments of this application also provide a chip system applied to a terminal. The chip system includes one or more processors, which are used to invoke computer instructions to cause the terminal to input data into the chip system and execute any of the antenna operating mode determination methods described above to determine the antenna operating mode of the terminal when the terminal is in an Idle state.
[0064] The beneficial effects of the solutions provided in the embodiments of the second, third, fourth and fifth aspects above can be found in the beneficial effects of the solutions provided in the embodiments of the first aspect above. Attached Figure Description
[0065] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0066] Figure 1 is a structural diagram of a terminal provided in an embodiment of this application;
[0067] Figure 2 is a software structure block diagram of a terminal provided in an embodiment of this application;
[0068] Figure 3 is a flowchart of the first antenna operating mode determination method provided in the embodiment of this application;
[0069] Figure 4 is a flowchart of the first method for determining the first detection result provided in the embodiments of this application;
[0070] Figure 5 is a flowchart of the first method for determining the second detection result provided in the embodiments of this application;
[0071] Figure 6 is a flowchart of the second method for determining the second detection result provided in an embodiment of this application;
[0072] Figure 7 is a flowchart of the second antenna operating mode determination method provided in the embodiments of this application;
[0073] Figure 8 is a flowchart of the second method for determining the first detection result provided in an embodiment of this application;
[0074] Figure 9 is a flowchart of the third method for determining the second detection result provided in the embodiments of this application;
[0075] Figure 10 is a flowchart of a target detection result determination method provided in an embodiment of this application;
[0076] Figure 11 is a flowchart of an antenna operating mode switching method provided in an embodiment of this application;
[0077] Figure 12 is a structural diagram of an antenna operating mode switching system provided in an embodiment of this application;
[0078] Figure 13 is a structural diagram of a chip system provided in an embodiment of this application. Detailed Implementation
[0079] To better understand the technical solution of this application, the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0080] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and effect. For example, "first instruction" and "second instruction" are used to distinguish different user instructions and do not limit their order. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and the terms "first" and "second" are not necessarily different.
[0081] It should be noted that, in this application, the words "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplarily" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a specific manner.
[0082] The antenna operating mode determination method provided in this application is applied to a terminal. The terminal can be a mobile phone, tablet computer, laptop computer, personal digital assistant (PDA), smartwatch, netbook, wearable electronic device, augmented reality (AR) device, virtual reality (VR) device, in-vehicle device, smart car, robot, smart glasses, smart TV, or other terminal equipped with an antenna. In this way, the terminal can improve the success rate of call calls by determining its own antenna operating mode.
[0083] For example, Figure 1 shows a structural diagram of terminal 100. Terminal 100 may include a processor 110, a display screen 120, a camera 130, internal memory 140, a Subscriber Identification Module (SIM) card interface 150, a Universal Serial Bus (USB) interface 160, a charging management module 170, a battery management module 171, a battery 172 with battery cells and battery protection devices, a sensor module 180, a mobile communication module 190, a wireless communication module 200, antenna 1, and antenna 2, etc. The sensor module 180 may include a pressure sensor 180A, a fingerprint sensor 180B, a touch sensor 180C, an ambient light sensor 180D, etc.
[0084] Antenna 1 is used by the mobile communication module 190 for signal transmission and reception. Antenna 2 is used by the wireless communication module 200 for signal transmission and reception. Antenna 1 and antenna 2 are merely examples and do not limit the number of antennas included in the terminal. For example, the terminal may include two antennas, or the terminal may include four antennas.
[0085] When the terminal has four antennas, it supports two antenna operating modes: 2RX mode and 4Receiver X (4RX) mode. When the terminal has two antennas, it supports only one antenna operating mode: 2RX mode. 2RX mode indicates that the terminal uses two antennas for signal transmission and reception. 4RX mode indicates that the terminal uses four antennas for signal transmission and reception.
[0086] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the terminal 100. In other embodiments of this application, the terminal 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.
[0087] Processor 110 may include one or more processing units, such as a Central Processing Unit (CPU), an Application Processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processing unit (NPU). Different processing units may be independent components or integrated into one or more processors. In some embodiments, terminal 100 may also include one or more processors 110. The controller can generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. In other embodiments, processor 110 may also include a memory for storing instructions and data. For example, the memory in processor 110 may be a cache memory. This memory can store instructions or data that processor 110 has just used or is repeatedly used. If processor 110 needs to reuse the instruction or data, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the terminal 100 in processing data or executing instructions.
[0088] In some embodiments, the processor 110 may include one or more interfaces. These interfaces may include an Inter-Integrated Circuit (I2C) interface, an Inter-Integrated Circuit Sound (I2S) interface, a Pulse Code Modulation (PCM) interface, a Universal Asynchronous Receiver / Transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI) interface, a General-Purpose Input / Output (GPIO) interface, a SIM card interface, and / or a USB interface, etc. The USB interface 160 is a USB standard-compliant interface, specifically a Mini USB interface, a Micro USB interface, a USB Type-C interface, etc. The USB interface 160 can be used to connect a charger to charge the terminal 100, and can also be used for data transfer between the terminal 100 and peripheral devices. The USB interface 160 can also be used to connect headphones for audio playback.
[0089] It is understood that the interface connection relationships between the modules illustrated in the embodiments of this application are for illustrative purposes only and do not constitute a structural limitation on the terminal 100. In other embodiments of this application, the terminal 100 may also adopt different interface connection methods or a combination of multiple interface connection methods as described in the above embodiments.
[0090] The wireless communication function of terminal 100 can be implemented through antenna 1, antenna 2, mobile communication module 190, wireless communication module 200, modem processor and baseband processor.
[0091] Antennas 1 and 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0092] Terminal 100 implements display functions through a GPU, display screen 120, and application processor. The GPU is a microprocessor for image processing, connected to the display screen 120 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0093] The display screen 120 is used to display images, videos, etc. The display screen 120 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal 100 may include one or more display screens 120.
[0094] In some embodiments of this application, when the display panel uses materials such as OLED, AMOLED, and FLED, the display screen 120 in Figure 1 above can be bent. Here, "the display screen 120 can be bent" means that the display screen can be bent to any angle at any part and can be held at that angle. For example, the display screen 120 can be folded from the middle left to right. It can also be folded from the middle up and down.
[0095] The display screen 120 of terminal 100 can be a flexible screen. Currently, flexible screens are attracting much attention due to their unique characteristics and enormous potential. Compared to traditional screens, flexible screens are highly flexible and bendable, providing users with new interaction methods based on their bendability and meeting more user needs for terminals. For terminals equipped with foldable displays, the foldable display can switch between a small screen in folded mode and a large screen in unfolded mode at any time. Therefore, users are increasingly using split-screen functionality on terminals equipped with foldable displays.
[0096] Terminal 100 can perform shooting functions through ISP, camera 130, video codec, GPU, display 120 and application processor, wherein camera 130 includes a front camera and a rear camera.
[0097] The ISP is used to process data fed back from the camera 130. For example, during shooting, when the shutter is opened, light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can perform algorithmic optimization of image noise, brightness, and color. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 130.
[0098] Camera 130 is used to capture photos or videos. An object is projected onto a photosensitive element through a lens, generating an optical image. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then transmitted to an ISP (Internet Service Provider) for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP (Digital Signal Processor) for processing. The DSP converts the digital image signal into standard red-green-blue (RGB), YUV, or other image signals. In some embodiments, terminal 100 may include one or N cameras 130, where N is a positive integer greater than 1.
[0099] A digital signal processor (DSP) is used to process digital signals. Besides digital image signals, it can also process other digital signals. For example, when terminal 100 selects a frequency point, the DSP can perform Fourier transforms on the frequency energy.
[0100] Video codecs are used to compress or decompress digital video. Terminal 100 may support one or more video codecs. Thus, terminal 100 can play or record video in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG 2, MPEG 3, and MPEG 4.
[0101] NPU stands for Neural Network (NN) computing processor. By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs can enable intelligent cognitive applications in terminals, such as image recognition, facial recognition, speech recognition, and text understanding.
[0102] The internal memory 140 can be used to store one or more computer programs, which include instructions. The processor 110 can execute the aforementioned instructions stored in the internal memory 140, thereby causing the terminal 100 to perform the antenna operating mode determination method provided in some embodiments of this application, as well as various applications and data processing. The internal memory 140 may include a program storage area and a data storage area. The program storage area may store the operating system; it may also store one or more applications (such as a gallery, contacts, etc.). The data storage area may store data created by the terminal 100 during use (such as photos, contacts, etc.). Furthermore, the internal memory 140 may include high-speed random access memory and non-volatile memory, such as one or more disk storage components, flash memory components, Universal Flash Storage (UFS), etc. In some embodiments, the processor 110 can execute instructions stored in the internal memory 140 and / or instructions stored in memory disposed within the processor 110, thereby causing the terminal 100 to perform the antenna operating mode determination method provided in the embodiments of this application, as well as other applications and data processing.
[0103] The internal memory 140 can be used to store the relevant program of the antenna operating mode determination method provided in the embodiments of this application. The processor 110 can be used to call the relevant program of the antenna operating mode determination method stored in the internal memory 140 when displaying information, and execute the antenna operating mode determination method of the embodiments of this application.
[0104] The sensor module 180 may include a pressure sensor 180A, a fingerprint sensor 180B, a touch sensor 180C, an ambient light sensor 180D, etc.
[0105] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be disposed on display screen 120. Pressure sensor 180A can be of many types, such as resistive pressure sensor, inductive pressure sensor, or capacitive pressure sensor. A capacitive pressure sensor can include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes, and terminal 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 120, terminal 100 detects the touch operation based on pressure sensor 180A. Terminal 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed; when a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.
[0106] The fingerprint sensor 180B is used to collect fingerprints. The terminal 100 can use the collected fingerprint characteristics to perform functions such as unlocking, accessing the app lock, taking photos, and answering calls.
[0107] Touch sensor 180C, also known as a touch device, can be disposed on display screen 120. The touch sensor 180C and display screen 120 together form a touchscreen, also known as a touch display. Touch sensor 180C is used to detect touch operations applied to or near it. Touch sensor 180C can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 120. In other embodiments, touch sensor 180C may also be disposed on the surface of terminal 100, and in a different location from display screen 120.
[0108] The ambient light sensor 180D is used to sense the ambient light intensity. The terminal 100 can adaptively adjust the brightness of the display screen 120 based on the sensed ambient light intensity. The ambient light sensor 180D can also be used to automatically adjust the white balance during shooting. The ambient light sensor 180D can also transmit environmental information about the device's location to the GPU.
[0109] The ambient light sensor 180D is also used to acquire the brightness, light ratio, color temperature, and other parameters of the environment in which the camera 130 captures images.
[0110] Figure 2 is a software structure block diagram of a terminal applicable to embodiments of this application. The terminal's software system can adopt a layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture. A layered architecture divides the terminal's software system into several layers, each with a clear role and division of labor. Layers communicate with each other through software interfaces. In some embodiments, the software system can be divided into three layers: the application layer, the application framework layer, and the hardware abstract layer (HAL).
[0111] The application layer can include a series of application packages. The application layer runs applications by calling the application programming interface (API) provided by the application framework layer. As shown in Figure 2, an application package can include multiple applications, such as camera, gallery, browser, and music programs. Understandably, the port of each of these applications can be used to receive data.
[0112] The application framework layer provides APIs and a programming framework for applications in the application layer. The application framework layer includes some predefined functions. As shown in Figure 2, the application framework layer may include a window manager, content provider, view system, resource manager, notification manager, and Dynamic Host Configuration Protocol (DHCP) module, etc.
[0113] The driver layer is the layer between hardware and software, used to drive the hardware and make it work. Multiple drivers can be installed in the driver layer to operate the hardware. Examples include camera drivers, display drivers, audio drivers, and sensor drivers.
[0114] In addition to the above, the terminal also includes a hardware layer, which may include a camera, speaker, CPU, NPU, and modem, etc., and the hardware layer is connected to the driver layer. The antenna operating mode determination method provided in this application embodiment is applied to the modem.
[0115] The architecture of a modem processor can be divided into a Non-Access Stratum (NAS) layer, an RRC layer, a Packet Data Convergence Protocol (PDCP) layer, a Radio Link Control (RLC) layer, a Medium Access Control (MAC) layer, and a Physical (PHY) layer.
[0116] The RRC layer represents the connection state between the terminal and the base station, and includes an Idle state and a Connect state. When the connection state between the terminal and the base station is Idle, the terminal and the base station do not exchange service signals; instead, they perform state checks on each other. For example, the base station checks if the terminal is powered off, and the terminal checks if it is still connected to the base station's core network. When the connection state between the terminal and the base station is Connect, the terminal and the base station exchange service signals.
[0117] In this embodiment, when establishing a VoNR call between terminals, the calling terminal sends a call signal carrying the identifier (e.g., number) of the called terminal, such as an invite signal, to the base station of the 5G core network. The base station sends a paging signal according to the identifier of the called terminal carried in the received call signal. Correspondingly, the called terminal parses the paging signal sent by the base station and establishes a VoNR call with the calling terminal based on the parsed session information.
[0118] However, during the VoNR call establishment process, there are instances where the called party cannot connect, resulting in a call failure. Analysis of the called terminal's log reveals that while the called terminal's Reference Signal Received Power (RSRP) and Reference Signal Receiving Quality (RSRQ) are relatively good, environmental interference leads to a poor signal-to-noise ratio (SNR) of the received paging signal. Furthermore, the called terminal is in an idle state at the RRC layer, where its antenna operates in 2RX mode. This results in poor demodulation performance, causing the terminal to fail to resolve the paging signal at the physical layer, ultimately leading to call failure.
[0119] To determine the cause of the Paging signal parsing failure, a terminal was used for testing to reproduce the problem. See Table 1, which is a test information recording table provided in an embodiment of this application. Here, MT represents the terminal used for testing, and Sniffer User Equipment (Sniffer UE) represents the auxiliary terminal. RX0 to RX3 are the antenna numbers in the terminal, and the signal-to-noise ratio (SNR) of the Reference Signal-Synchronization Signal Block (RS-SSB) is the SNR of the Synchronization Signal Block (SSB) signal received through that antenna. An SNR of NA indicates that the antenna is in the off state.
[0120] Table 1
[0121]
[0122]
[0123] Based on Table 1 above, the call failure issue can be reproduced in the field. Furthermore, statistical analysis of the test data shows that the probability of a failed call (i.e., a call not connecting) during a VoNR call under interference conditions is 7%. Additionally, the probability of a failed call during a VoNR call is comparable in single-SIM and dual-SIM modes, indicating that the probability of a failed call is not affected by the terminal's single or dual-SIM mode.
[0124] The test terminal (MT) failed to call because the base station in the 5G core network sent a Paging signal to the terminal, but the test terminal failed to resolve the Paging signal. Furthermore, SIM cards 1 and 2 of the test terminal have the same registered frequency (Freq), but the signal quality of the cell signal (reference signal) received by SIM card 1 is better than that received by SIM card 2, indicating that there is co-channel interference at the location of the test terminal. Physical layer analysis revealed that SIM cards 1 and 2 need to preempt antenna resources when receiving Paging signals in Idle mode. Additionally, the auxiliary terminal (SnifferUE) was able to successfully resolve the Paging signal because the demodulation performance of 4RX mode is better than 2RX mode in interference environments.
[0125] Based on the above analysis, it can be concluded that when the called terminal is in Idle state, the antenna working mode of the called terminal is 2RX mode. In 2RX mode, the demodulation performance of the called terminal is poor. If the Paging signal received by the called terminal is of poor quality in an interference environment, it will fail to parse the Paging signal, ultimately leading to call failure.
[0126] To address the aforementioned issues, this application provides an antenna operating mode determination method applied to a modulation and demodulation processor in a terminal. When the signal quality received by the terminal in the Idle state is poor, the antenna operating mode of the terminal in the Idle state is switched from 2RX mode to 4RX mode. Compared to 2RX mode, the demodulation performance of the terminal in 4RX mode is better, which can increase the probability of the terminal successfully parsing the Paging signal, thereby improving the success rate of call calls.
[0127] Next, the antenna operating mode determination method provided in this application will be described in detail through specific embodiments.
[0128] In one embodiment of this application, referring to Figure 3, Figure 3 is a flowchart of an antenna operating mode determination method provided by an embodiment of this application. The method includes the following steps:
[0129] S301: Obtain the first detection result when the terminal is in the first idle state, and the second detection result when the terminal is in the first connected state.
[0130] The first detection result represents the signal quality of the signal received when the terminal is in the first Idle state; the second detection result represents the signal quality of the signal received when the terminal is in the first Connect state.
[0131] S302: Based on the first detection result and the second detection result, determine the target detection result when the terminal is in the second Idle state.
[0132] The target detection result represents the signal quality of the signal received by the terminal when it is in the second Idle state.
[0133] S303: When the target detection result is the first preset result, determine that the antenna working mode of the terminal is 4RX mode when the terminal is in the second Idle state.
[0134] S304: When the target detection result is the second preset result, determine that the antenna working mode of the terminal is 2RX mode when the terminal is in the second Idle state.
[0135] The signal quality represented by the first preset result is lower than that represented by the second preset result.
[0136] As can be seen from the above, in the solution provided in this embodiment, the signal quality represented by the first preset result is lower than the signal quality represented by the second preset result. If the target detection result (first preset result) indicates that the signal quality of the signal received when the terminal is in Idle state is poor, then the antenna operating mode when the terminal is in Idle state is determined to be 4RX mode. Compared to 2RX mode, the demodulation performance of the terminal in 4RX mode is better, which can increase the probability of the terminal successfully parsing the paging signal, thereby improving the success rate of call calls. Furthermore, if the target detection result (second preset result) indicates that the signal quality of the signal received when the terminal is in Idle state is good, then the antenna operating mode of the terminal in Idle state is determined to be 2RX mode. Compared to 4RX mode, the power consumption of the terminal in 2RX mode is lower, which can reduce the terminal's power consumption and save resources.
[0137] Regarding step S301, when establishing a VoNR call between terminals, the terminal is in the Idle state when parsing the Paging signal of the VoNR call service. In order to improve the probability of the terminal successfully parsing the Paging signal of the VoNR call service, it is necessary to determine the signal quality of the signal received by the terminal when it is in the Idle state.
[0138] Therefore, the first detection result when the terminal is in the first Idle state and the second detection result when the terminal is in the first Connection state are obtained. Subsequently, based on the first and second detection results, the target detection result when the terminal is in the second Idle state is determined.
[0139] In one embodiment of this application, the time when the terminal is in the first Idle state is earlier than or equal to the time when the terminal is in the second Idle state, and the first Connect state is the preceding Connect state adjacent to the second Idle state. In one implementation, if the time when the terminal is in the first Idle state is equal to the time when the terminal is in the second Idle state, then the first Idle state and the second Idle state are the same Idle state.
[0140] For example, the terminal's states over a period of time include: Idle state 1, Connect state 1, Idle state 2, and Connect state 2. If the current state is Idle state 2, meaning the second Idle state is Idle state 2, then the first Idle state is also Idle state 2, and the first Connect state is Connect state 1. Subsequently, based on the first detection result when the terminal is in Idle state 2 and the second detection result when the terminal is in Connect state 1, the target detection result when the terminal is in Idle state 2 is determined.
[0141] In another implementation, if the terminal is in the first Idle state earlier than the terminal is in the second Idle state, then the first Idle state is the Idle state preceding the second Idle state, and the first Idle state is different from the second Idle state. Specifically, the first Idle state is the preceding Idle state adjacent to the second Idle state; the first Connect state is the preceding Connect state adjacent to the second Idle state.
[0142] For example, the terminal's states over a period of time include: Idle state 1, Connect state 1, Idle state 2, and Connect state 2. If the current state is Idle state 2, then the second Idle state is Idle state 2. The first Idle state is Idle state 1, and the first Connect state is Connect state 1. Subsequently, based on the first detection result when the terminal is in Idle state 1 and the second detection result when the terminal is in Connect state 1, the target detection result when the terminal is in Idle state 2 is determined.
[0143] As can be seen from the above, in the solution provided in this embodiment, the first Connect state is the preceding Connect state adjacent to the second Idle state, and the first Idle state is the preceding Idle state adjacent to the second Idle state. Furthermore, the time interval between two adjacent states when the terminal switches between the Idle and Connect states is short, and the signal quality of the signals received by the terminal in the second Idle state is quite similar to that of the adjacent first Idle and first Connect states. Subsequently, based on the first detection result of the terminal in the first Idle state and the second detection result of the first Connect state, the target detection result when the terminal is in the second Idle state can be determined, which can improve the accuracy of determining the target detection result, and thus improve the accuracy of determining the antenna operating mode of the terminal.
[0144] The test results include a first preset result and a second preset result. The first preset result indicates poor signal quality. The second preset result indicates good signal quality. Accordingly, the signal quality indicated by the first preset result is lower than the signal quality indicated by the second preset result.
[0145] In one embodiment of this application, referring to Figure 4, the first detection result is determined through the following steps:
[0146] S401: For each antenna of the terminal, calculate the first signal-to-noise ratio of the first reference signal received by the terminal through that antenna when the terminal is in the first Idle state.
[0147] S402: Calculate the first statistical value of each first signal-to-noise ratio.
[0148] S403: If the first statistical value is less than the first threshold, obtain the first number of times the terminal fails to parse the Paging signal within a preset time period when it is in the first Idle state.
[0149] S404: When the preset conditions are met for the first number of times, the first detection result when the terminal is in the first Idle state is determined as the first preset result.
[0150] In one embodiment of this application, the first reference signal is an SSB signal. In a 5G network, the SSB is composed of primary synchronization signals (PSS), secondary synchronization signals (SSS), and a physical broadcast channel (PBCH).
[0151] When the terminal is in Idle mode, it transmits SSB signals with the base station via the control channel. The bandwidth of the SSB signal matches the frequency band of the control channel. Therefore, the signal quality of the SSB signal indicates the signal quality of the signal received by the terminal through the control channel. Consequently, the first detection result determined based on the SSB signal can represent the signal quality of the signal received by the terminal when it is in Idle mode, which can improve the accuracy of subsequent determination of the terminal's antenna operating mode based on the first detection result.
[0152] The terminal includes multiple antennas capable of receiving a first reference signal. For each antenna in the terminal, a first signal-to-noise ratio (SNR) of the first reference signal received through that antenna when the terminal is in a first idle state is calculated. The first SNR represents the signal quality of the first reference signal received through that antenna. Then, statistical values for each first SNR are calculated, such as mean, maximum, minimum, and variance. The first statistical value represents the signal quality of the first reference signal received by the terminal. A higher first statistical value indicates better signal quality, and a lower first statistical value indicates worse signal quality.
[0153] If the first statistical value is less than the first threshold, it indicates that the signal quality of the first reference signal is poor. Therefore, the processing status of the signal when the terminal is in the first Idle state is further monitored. The processing status indicates the signal quality of other signals received by the terminal when it is in the first Idle state. Thus, the number of times the terminal fails to parse the paging signal within a preset time period when it is in the first Idle state (i.e., the first count) is obtained. The first count indicates the signal quality of other signals received by the terminal when it is in the first Idle state.
[0154] The paging signal includes paging signals received by the terminal within a preset duration for various services. Examples include VoNR calls and other services such as broadcasting. The first threshold is set by technicians as needed. For example, the first threshold is -7. The preset duration is also set by technicians as needed, for example, a preset duration of 30 seconds.
[0155] If the first count meets the preset condition, meaning the terminal fails to parse the paging signal a large number of times, it indicates that the signal quality of other signals received by the terminal in the first idle state is also poor. In other words, the signal quality of signals received by the terminal in the first idle state is poor, then the first detection result is determined to be the first preset result. Correspondingly, the first detection result being the first preset result means that the first statistical value of the first signal-to-noise ratio of the first reference signal is less than the first threshold, and the first number of times the terminal fails to parse the paging signal meets the preset condition.
[0156] If the first count does not meet the preset condition, that is, the terminal fails to parse the Paging signal a few times, it indicates that the signal quality of other signals received by the terminal when it is in the first Idle state is good. In other words, the signal quality of the signals received by the terminal when it is in the first Idle state is good, then the first detection result is determined to be the second preset result.
[0157] As can be seen from the above, in the solution provided in this embodiment, the first signal-to-noise ratio represents the signal quality of the first reference signal, and the first number represents the degree of influence of environmental interference on the signal. Determining the first detection result based on the first signal-to-noise ratio and the first number can improve the accuracy of the determined first detection result, thereby improving the accuracy of determining the antenna working mode of the terminal.
[0158] In one embodiment of this application, the preset conditions are: the first count is greater than a second threshold, and / or the ratio of the first count to the second count is greater than a third threshold. The second count is the total number of times the terminal parses the paging signal within a preset duration while in the first idle state.
[0159] The second threshold is set by technical personnel according to requirements; for example, the second threshold is 7. The third threshold is set by technical personnel according to requirements; for example, the third threshold is 31%.
[0160] A higher first count indicates poorer signal quality of other signals received when the terminal is in the first idle state. When the first count meets the above preset condition, it indicates that the signal quality of the signals received when the terminal is in the first idle state is poor. Therefore, the first detection result can be determined as the first preset result, which can improve the accuracy of the determined first detection result and thus improve the accuracy of determining the antenna operating mode of the terminal.
[0161] In one embodiment of this application, after step S402, the method may further include the following steps: when the first statistical value is not less than the first threshold, determine the first detection result of the terminal being in the first Idle state as the second preset result.
[0162] If the first statistical value is not less than the first threshold, it indicates that the signal quality of the first reference signal is good. Then, the first detection result is determined to be the second preset result, and there is no need to obtain the first number, thus saving the system resources of the terminal.
[0163] In one embodiment of this application, referring to Figure 5, the second detection result is determined through the following steps:
[0164] S501: For each antenna of the terminal, calculate the second signal-to-noise ratio of the second reference signal received by the terminal through that antenna when the terminal is in the first Connect state.
[0165] S502: Calculate the second statistical value for each second signal-to-noise ratio.
[0166] S503: When the second statistical value is less than the first threshold, obtain the antenna operating mode of the terminal when the terminal is in the first Connect state, and use it as a reference operating mode.
[0167] S504: Based on the reference working mode, determine the second detection result when the terminal is in the first Connect state.
[0168] In one implementation, the second reference signal is a demodulation reference signal (DMRS).
[0169] In another implementation, the second reference signal is a tracking reference signal (TRS). In 5G networks, TRS is used to track and compensate for the time and frequency offsets of downlink signals when the terminal receives them.
[0170] When the terminal is in Connect mode, it transmits TRS signals with the base station via the service channel. The bandwidth of the TRS signal matches the frequency band of the service channel. Therefore, the signal quality of the TRS signal indicates the signal quality of the signal received by the terminal through the service channel. Accordingly, the second detection result determined based on the TRS signal indicates the signal quality of the signal received by the terminal when it is in Connect mode, which can improve the accuracy of subsequently determining the terminal's antenna operating mode based on the second detection result.
[0171] The signal quality of the second reference signal received by the terminal when it is in the first Connect state can represent the signal quality of the signal received by the terminal when it is in the first Connect state. Therefore, the terminal determines a second statistical value representing the signal quality of the second reference signal. The method by which the terminal determines the second statistical value is similar to the method by which the terminal determines the first statistical value, and can be referred to the relevant description in the foregoing embodiments.
[0172] When the second statistical value is less than the first threshold, it indicates that the signal quality of the second reference signal is poor. Therefore, the processing status of the signals received by the terminal when it is in the first Connect state is further detected. This processing status indicates the signal quality of other signals received by the terminal when it is in the first Connect state. Thus, the antenna operating mode (i.e., the reference antenna mode) when the terminal is in the first Connect state is obtained. Based on the reference antenna mode, the second detection result is then determined.
[0173] As can be seen from the above, in the solution provided in this embodiment, when it is determined that the signal quality of the second reference signal is poor, the antenna working mode (i.e., the reference working mode) of the terminal in the first Connect state is obtained, and the second detection result is determined based on the reference working mode, which can improve the accuracy of the determined second detection result.
[0174] In one embodiment of this application, after step S502, the method may further include the following steps: when the second statistical value is not less than the first threshold, determine the second detection result when the terminal is in the first Connect state as the second preset result.
[0175] If the second statistical value is not less than the first threshold, it indicates that the signal quality of the second reference signal is good. Then, the second detection result is determined to be the second preset result. There is no need to obtain the antenna working mode of the terminal when the terminal is in the first Connect state, thus saving the system resources of the terminal.
[0176] In one embodiment of this application, based on FIG5 and referring to FIG6, step S504 includes the following steps:
[0177] S5041: When the reference working mode is 4RX mode, the second detection result when the terminal is in the first Connect state is determined to be the first preset result.
[0178] S5042: When the reference working mode is 2RX mode, the second detection result when the terminal is in the first Connect state is determined to be the second preset result.
[0179] The antenna operating mode of the terminal in the first Connect state is related to the signal quality of the signal received by the terminal in the first Connect state. If the signal quality of the signal received in the first Connect state is poor, and the demodulation performance of the terminal needs to be improved, then the antenna operating mode of the terminal is determined to be 4RX mode. If the signal quality of the signal received in the first Connect state is good, and there is no need to improve the demodulation performance of the terminal, then the antenna operating mode of the terminal is determined to be 2RX mode.
[0180] Therefore, when the reference antenna is in 4RX mode, it indicates that the signal quality of the signal received by the terminal in the first Connect state is poor, and the second detection result is determined to be the first preset result. Correspondingly, the second detection result being the first preset result means that the second statistical value of the second signal-to-noise ratio of the second reference signal is less than the first threshold, and the antenna operating mode when the terminal is in the first Connect state is 4RX mode. When the reference antenna is in 2RX mode, it indicates that the signal quality of the signal received by the terminal in the first Connect state is good, and the second detection result is determined to be the second preset result.
[0181] As can be seen from the above, in the solution provided in this embodiment, the antenna operating mode when the terminal is in the first Connect state is related to the signal quality of the signal received by the terminal when it is in the first Connect state. Based on the reference operating mode, the second detection result is determined, which can improve the accuracy of the determined second detection result.
[0182] Regarding step S302, since the first detection result represents the signal quality of the signal received by the terminal when it is in the first Idle state, and the second detection result represents the signal quality of the signal received by the terminal when it is in the first Connect state, the target detection result calculated based on the first and second detection results can represent the signal quality of the signal received by the terminal when it is in the second Idle state.
[0183] In one implementation, the first detection result can be directly used as the target detection result; or, the second detection result can be directly used as the target detection result.
[0184] However, determining the target detection result based solely on the first or second detection result has low accuracy and leads to frequent switching of the terminal's antenna operating mode between 2RX and 4RX modes, resulting in high power consumption. Therefore, the target detection result when the terminal is in the second Idle state can be determined by combining the first and second detection results.
[0185] In one embodiment of this application, step S302 may include the following steps: when both the first detection result and the second detection result are first preset results, determine the target detection result when the terminal is in a second Idle state as the first preset result. When at least one of the first detection result and the second detection result is a second preset result, determine the target detection result when the terminal is in a second Idle state as the second preset result.
[0186] If the first detection result is the first preset result, it indicates that the signal quality of the signal received when the terminal is in the first Idle state is poor. If the second detection result is the first preset result, it indicates that the signal quality of the signal received when the terminal is in the first Connect state is also poor. Therefore, the target detection result when the terminal is in the second Idle state is determined to be the first preset result.
[0187] When the first detection result is the second preset result, it indicates that the signal quality of the signal received by the terminal when it is in the first Idle state is good. When the second detection result is the second preset result, it indicates that the signal quality of the signal received by the terminal when it is in the first Connect state is good. Therefore, when at least one of the first detection result and the second detection result is the second preset result, the target detection result when the terminal is in the second Idle state can be determined as the second preset result.
[0188] As can be seen from the above, the solution provided in this embodiment, which determines the target detection result when the terminal is in the second Idle state based on the first and second detection results, can improve the accuracy of determining the target detection result. Furthermore, it can avoid the terminal frequently switching antenna operating modes, reducing the terminal's power consumption.
[0189] In step S303, when the target detection result is the first preset result, it indicates that the signal quality of the signal received by the terminal in the second Idle state is poor, and the demodulation performance of the terminal needs to be enhanced to achieve a better signal processing effect. Therefore, the antenna working mode of the terminal in the second Idle state is determined to be 4RX mode to increase the probability of the terminal successfully parsing the paging signal, thereby improving the success rate of the call.
[0190] In one embodiment of this application, based on FIG3 and referring to FIG7, before step S303, the method may further include the following steps:
[0191] S305: When the target detection result is the first preset result, obtain the terminal's registered frequency band.
[0192] S306: Determine the antenna operating modes supported by the terminal based on the terminal's registered frequency band.
[0193] Accordingly, step S303 may include the following steps:
[0194] S3031: When the target detection result is the first preset result, if the antenna working mode supported by the terminal includes 4RX mode, determine that the antenna working mode of the terminal is 4RX mode when the terminal is in the second Idle state.
[0195] When the target detection result is the first preset result, the terminal's registered frequency band (i.e., Band) is obtained, and the preset correspondence between the registered frequency band and the antenna operating mode is queried to obtain the antenna operating modes supported by the terminal. In this correspondence, when the terminal's registered frequency band is high frequency, the corresponding antenna operating mode is 4RX mode; when the terminal's registered frequency band is low frequency, the corresponding antenna operating mode is 2RX mode.
[0196] Furthermore, when the target detection result is the first preset result, and the antenna operating modes supported by the terminal include the 4RX mode, it is determined that the antenna operating mode of the terminal when it is in the second Idle state is the 4RX mode.
[0197] In one embodiment of this application, since the terminal switches its antenna operating mode to 2RX mode when it switches from Connect state to Idle state, the initial antenna operating mode of the terminal in the second Idle state is 2RX mode. Therefore, when the target detection result is the first preset result, and the terminal supports antenna operating modes including 4RX mode, if the terminal is currently in the second Idle state, the four physical antennas in the terminal are activated for signal transmission and reception. This can switch the terminal's antenna operating mode from 2RX mode to 4RX mode, which can increase the probability of the terminal successfully parsing the paging signal, thereby improving the success rate of call calls.
[0198] If the terminal is not currently in the second Idle state, that is, if the terminal is in the Connect state, then the terminal does not need to do anything.
[0199] Subsequently, if the target detection result still represents the signal quality of the signal received by the terminal in the second idle state when the terminal switches to the second idle state within the specified duration, then all four physical antennas in the terminal will be activated for signal transmission and reception, thus switching the terminal's antenna operating mode from 2RX mode to 4RX mode. If the terminal does not switch to the second idle state within the specified duration, the target detection result cannot represent the signal quality of the signal received by the terminal in the second idle state. Therefore, the target detection result in the second idle state will be re-determined, and the antenna operating mode will be switched based on the newly determined target detection result. The specified duration is set by technical personnel according to requirements. For example, 2 minutes.
[0200] In one embodiment of this application, if the antenna operating modes supported by the terminal do not include the 4RX mode, indicating that the terminal only supports the 2RX mode, then it is determined that the antenna operating mode of the terminal when it is in the second Idle state is the 2RX mode.
[0201] As can be seen from the above, in the solution provided in this embodiment, the antenna working mode supported by the terminal is determined based on the registered frequency band of the terminal. When the antenna working mode supported by the terminal includes the 4RX mode, it is determined that the antenna working mode of the terminal when it is in the second Idle state is the 4RX mode, which can improve the probability of the terminal successfully parsing the Paging signal and improve the success rate of call.
[0202] Regarding step S305, when the target detection result is the second preset result, it indicates that the signal quality of the signal received by the terminal in the second Idle state is good. There is no need to enhance the demodulation performance of the terminal, and a good signal processing effect can be achieved. It is determined that the antenna working mode of the terminal in the second Idle state is 2RX mode, which can reduce the power consumption of the terminal compared to 4RX mode.
[0203] Referring to Figure 8, which is a flowchart of a first detection result determination method provided in an embodiment of this application. The method detects the SNR of the SSB (i.e., the first reference signal) when the UE is in the Idle state, and determines whether the SNR (i.e., the first statistical value) of the first reference signal for 10 consecutive seconds when the UE is in the Idle state is less than -7 (i.e., the first threshold). If the SNR of the SSB is not less than -7, it is determined that the signal quality of the signal received by the UE when it is in the Idle state is normal, that is, the first detection result is determined to be the second preset result.
[0204] If the SSB SNR is less than -7, the first number of times the UE attempts to parse and identify the Paging signal within 30 seconds (i.e., a preset duration) while in the Idle state is obtained, and it is determined whether the first count is greater than 7 (i.e., the second threshold) and the failure rate is above 31% (i.e., the third threshold), thus determining whether the first count meets the preset conditions. If the first count is greater than 7 and the failure rate is above 31%, meaning the first count meets the preset conditions, it is determined that the signal quality of the signal received by the UE while in the Idle state is poor, thus determining the first detection result as the first preset result. If the first count is not greater than 7, or the failure rate is not above 31%, meaning the first count does not meet the preset conditions, the SSB SNR received by the UE while in the Idle state is continuously detected to determine the signal quality of the signal received by the UE while in the Idle state, thus determining the first detection result.
[0205] As can be seen from the above, in the scheme provided in this embodiment, the SNR of SSB represents the signal quality of the signal received by the UE, and the first count represents the degree of influence of environmental interference on the signal quality. Determining the first detection result based on the SNR of SSB and the first count can improve the accuracy of the determined first detection result, thereby improving the accuracy of determining the antenna operating mode of the UE.
[0206] Referring to Figure 9, which is a flowchart of a second detection result determination method provided in an embodiment of this application. The method detects the SNR (i.e., second statistical value) of the TRS (i.e., second reference signal) received by the UE in the Connect state, and determines whether the SNR of the second reference signal is less than -7 (i.e., a first threshold) for 10 consecutive seconds while the UE is in the Connect state. If the SNR of the SSB is not less than -7, it is determined that the signal quality of the signal received by the UE in the Connect state is good, that is, the second detection result is determined to be the second preset result, and the antenna operating mode of the UE in the Connect state is 2RX mode.
[0207] If the SNR of the TRS is less than -7, the antenna operating mode of the UE in the Connect state is detected. If the antenna operating mode of the UE in the Connect state is 2RX mode, it is determined that the signal quality of the received signal of the UE in the Connect state is good, that is, the second detection result is determined to be the second preset result, and the antenna operating mode of the UE in the Connect state is 2RX mode.
[0208] If the antenna operating mode of the UE in the Connect state is 4RX mode, then it is determined that the signal quality of the signal received by the UE in the Connect state is poor, that is, the second detection result is determined to be the first preset result, and the antenna operating mode of the UE in the Connect state is 4RX mode.
[0209] As can be seen from the above, in the solution provided in this embodiment, when it is determined that the signal quality of the second reference signal is poor, the antenna operating mode of the UE when it is in the Connect state is obtained, and then the second detection result is determined based on the antenna operating mode of the UE when it is in the Connect state. This can improve the accuracy of the determined second detection result, and thus improve the accuracy of the antenna operating mode of the terminal.
[0210] Referring to Figure 10, which is a flowchart of a target detection result determination method provided in an embodiment of this application. The signal quality detection result (i.e., the first detection result) of the UE in the Idle state is obtained. If the signal quality detection result indicates that the signal quality of the UE in the Idle state is good, the signal quality of the first reference signal received by the UE in the Idle state is further detected to determine the signal quality of the signal received by the UE in the Idle state.
[0211] If the signal quality detection result indicates poor signal quality when the UE is in the Idle state (i.e., the first detection result is the first preset result), then the signal quality of the second reference signal when the UE is in the Connect state, and the antenna operating mode (i.e., the second detection result) are obtained. If the signal quality of the second reference signal when the UE is in the Connect state is poor, and the activated antenna operating mode is 4RX mode (i.e., the second detection result is the first preset result), then the signal quality of the signal received by the UE when it is in the Idle state is determined to be poor (i.e., the target detection result is the first preset result). If the signal quality of the second reference signal received by the UE when it is in the Connect state is good, or the activated antenna operating mode is 2RX mode (i.e., the second detection result is the second preset result), then the signal quality of the signal received by the UE when it is in the Idle state is determined to be good (i.e., the target detection result is the second preset result).
[0212] As can be seen from the above, in the solution provided by this embodiment, the first detection result and the second detection result of the terminal determine the target detection result, which represents the signal quality of the signal received by the terminal when it is in the Idle state, thereby improving the accuracy of determining the target detection result. Furthermore, it can avoid the terminal frequently switching antenna operating modes, reducing the terminal's power consumption.
[0213] Referring to Figure 11, Figure 11 is a flowchart of an antenna operating mode switching method provided in an embodiment of this application.
[0214] Obtain the signal quality detection result of the UE (i.e. the target detection result), determine whether the signal quality of the UE is poor when it is in the Idle state, and if the signal quality of the UE is good when it is in the Idle state, that is, the target detection result is the second preset result, then determine that the antenna working mode of the UE is 2RX mode.
[0215] If the signal quality is poor when the UE is in Idle mode (i.e., the target detection result is the first preset result), then the UE's registered band is obtained, and it is determined whether 4RX mode is supported based on the UE's registered band. If the UE does not support 4RX mode, then the UE's antenna operating mode is determined to be 2RX mode. If the UE supports 4RX mode, then the UE's RRC status is obtained, and it is determined whether the UE is currently in Idle mode. If the UE is not currently in Idle mode, no action is taken. If the UE is currently in Idle mode, then the UE's antenna operating mode is switched from 2RX mode to 4RX mode.
[0216] As can be seen from the above, the signal quality received when the terminal is in Idle mode is poor. Therefore, the antenna operating mode of the terminal in Idle mode should be switched from 2RX mode to 4RX mode. Compared with 2RX mode, the demodulation performance of the terminal in 4RX mode is better, which can increase the probability of the terminal successfully parsing the Paging signal, thereby improving the success rate of call.
[0217] Referring to Figure 12, which is a structural diagram of an antenna operating mode switching system provided in an embodiment of this application, the system includes a signal detection system 1201 and an antenna switching system 1202. The signal detection system 1201 is used to determine a target detection result representing the signal quality of the signal received when the terminal is in the Idle state, based on a first detection result indicating that the terminal is in the Idle state and a second detection result indicating that the terminal is in the Connect state.
[0218] The antenna switching system 1202 is used to switch the antenna operating mode of the terminal from 2RX mode to 4RX mode when the target detection result is a first preset result. When the target detection result is a second preset result, the antenna operating mode of the terminal in the Idle state is determined to be 2RX mode.
[0219] As can be seen from the above, the signal quality received when the terminal is in Idle mode is poor. Therefore, the antenna operating mode of the terminal in Idle mode is switched from 2RX mode to 4RX mode. Compared with 2RX mode, the demodulation performance of the terminal in 4RX mode is better, which can increase the probability of the terminal successfully parsing the paging signal, thereby improving the success rate of call calls. Furthermore, the target detection result being the second preset result indicates that the signal quality of the signal received when the terminal is in Idle mode is good. Therefore, the antenna operating mode of the terminal in Idle mode is determined to be 2RX mode. Compared with 4RX mode, the power consumption of the terminal in 2RX mode is lower, which can reduce the terminal's power consumption and save resources.
[0220] In a specific implementation, this application also provides a terminal, which includes one or more processors and a memory; the memory is coupled to one or more processors, and the memory is used to store computer program code, which includes computer instructions, and one or more processors call the computer instructions to cause the terminal to perform some or all of the steps in the above method embodiments.
[0221] This application also provides a computer-readable storage medium including a computer program that, when run on a terminal, causes the terminal to perform some or all of the steps described in the method embodiments. The storage medium may be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0222] In a specific implementation, this application also provides a computer program product, which includes executable instructions. When the executable instructions are executed on a terminal, the terminal performs some or all of the steps in the above method embodiments.
[0223] As shown in Figure 13, this application also provides a chip system applied to a terminal. The chip system includes one or more processors 1301. The processors 1301 are used to call computer instructions to cause the terminal to input data to be processed into the chip system. The chip system determines the antenna operating mode of the terminal when the terminal is in the Idle state based on the antenna operating mode determination method provided in the embodiments of this application.
[0224] In one possible implementation, the chip system also includes input and output interfaces for inputting and outputting data.
[0225] The various embodiments of the mechanisms disclosed in this application can be implemented in hardware, software, firmware, or a combination of these implementation methods. Embodiments of this application can be implemented as computer programs or program code executable on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.
[0226] Program code can be applied to input instructions to execute the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, the processing system includes any system having a processor such as, for example, a Digital Signal Processor (DSP), a microcontroller, an Application Specific Integrated Circuit (ASIC), or a microprocessor.
[0227] The program code can be implemented using a high-level procedural language or an object-oriented programming language to communicate with the processing system. Assembly language or machine language can also be used when needed. In fact, the mechanisms described in this application are not limited to any particular programming language. In either case, the language can be a compiled language or an interpreted language.
[0228] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored thereon on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine-readable (e.g., computer-readable) form, including but not limited to floppy disks, optical disks, CD-ROMs, compact disc read-only memory (CD-ROMs), magneto-optical disks, read-only memory, random access memory, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic cards or optical cards, flash memory, or tangible machine-readable storage for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in the form of electrical, optical, acoustic, or other forms of propagated signals. Therefore, machine-readable media includes any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a machine-readable (e.g., computer-readable) form.
[0229] In the accompanying drawings, some structural or methodological features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be necessary. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the accompanying drawings. Furthermore, including structural or methodological features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may be omitted or may be combined with other features.
[0230] It should be noted that all units / modules mentioned in the device embodiments of this application are logical units / modules. Physically, a logical unit / module can be a physical unit / module, a part of a physical unit / module, or a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important factor; the combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed in this application. Furthermore, to highlight the innovative aspects of this application, the above-described device embodiments of this application have not introduced units / modules that are not closely related to solving the technical problems proposed in this application. This does not mean that the above-described device embodiments do not contain other units / modules.
[0231] It should be noted that in the examples and description of this patent, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0232] Although this application has been illustrated and described with reference to certain preferred embodiments thereof, those skilled in the art should understand that various changes in form and detail may be made thereto without departing from the spirit and scope of this application.
Claims
1. A method for determining an antenna operating mode, characterized in that, The method includes: acquiring a first detection result when the terminal is in a first idle state, and a second detection result when the terminal is in a first connected state; wherein the first detection result represents the signal quality of the signal received by the terminal when it is in the first idle state; the second detection result represents the signal quality of the signal received by the terminal when it is in the first connected state; determining a target detection result when the terminal is in a second idle state based on the first detection result and the second detection result; wherein the target detection result represents the signal quality of the signal received by the terminal when it is in the second idle state; when the target detection result is a first preset result, determining that the antenna operating mode of the terminal when it is in the second idle state is 4RX mode; when the target detection result is a second preset result, determining that the antenna operating mode of the terminal when it is in the second idle state is 2RX mode; wherein the signal quality represented by the first preset result is lower than the signal quality represented by the second preset result.
2. The method according to claim 1, characterized in that, The first detection result is determined by the following steps: for each antenna of the terminal, calculate the first signal-to-noise ratio of the first reference signal received by the terminal through the antenna when the terminal is in the first Idle state; calculate the first statistical value of each first signal-to-noise ratio; When the first statistical value is less than the first threshold, the first number of times the terminal failed to parse the paging signal within a preset time period when it is in the first Idle state is obtained; when the first number of times meets the preset condition, the first detection result when the terminal is in the first Idle state is determined as the first preset result.
3. The method according to claim 2, characterized in that, The preset conditions are: the first number of times is greater than the second threshold, and / or the ratio of the first number of times to the second number of times is greater than the third threshold; wherein, the second number of times is the total number of times the terminal parses the paging signal within a preset time period when it is in the first Idle state.
4. The method according to claim 2, characterized in that, After calculating the first statistical values of each first signal-to-noise ratio, the method further includes: when the first statistical value is not less than the first threshold, determining the first detection result of the terminal being in a first idle state as a second preset result.
5. The method according to any one of claims 2 to 4, characterized in that, The first reference signal is the synchronization signal block SSB signal.
6. The method according to claim 1, characterized in that, The second detection result is determined by the following steps: for each antenna of the terminal, calculate the second signal-to-noise ratio of the second reference signal received by the terminal through that antenna when the terminal is in the first Connect state; calculate the second statistical value of each second signal-to-noise ratio; When the second statistical value is less than the first threshold, the antenna operating mode of the terminal when the terminal is in the first Connect state is obtained as a reference operating mode; based on the reference operating mode, the second detection result when the terminal is in the first Connect state is determined.
7. The method according to claim 6, characterized in that, After calculating the second statistical values of each second signal-to-noise ratio, the method further includes: when the second statistical value is not less than the first threshold, determining the second detection result when the terminal is in the first Connect state as the second preset result.
8. The method according to claim 6, characterized in that, The step of determining the second detection result when the terminal is in the first Connect state based on the reference working mode includes: when the reference working mode is 4RX mode, determining the second detection result when the terminal is in the first Connect state as the first preset result; and when the reference working mode is 2RX mode, determining the second detection result when the terminal is in the first Connect state as the second preset result.
9. The method according to any one of claims 6 to 8, characterized in that, The second reference signal is the tracking reference signal TRS.
10. The method according to claim 1, characterized in that, The step of determining the target detection result when the terminal is in the second Idle state based on the first detection result and the second detection result includes: when both the first detection result and the second detection result are the first preset result, determining the target detection result when the terminal is in the second Idle state as the first preset result.
11. The method according to claim 1, characterized in that, The step of determining the target detection result when the terminal is in the second Idle state based on the first detection result and the second detection result includes: when at least one of the first detection result and the second detection result is the second preset result, determining the target detection result when the terminal is in the second Idle state as the second preset result.
12. The method according to claim 1, characterized in that, Before determining that the antenna operating mode of the terminal in the second Idle state is 4RX mode when the target detection result is a first preset result, the method further includes: obtaining the registered frequency band of the terminal when the target detection result is the first preset result; determining the antenna operating mode supported by the terminal based on the registered frequency band of the terminal; the step of determining that the antenna operating mode of the terminal in the second Idle state is 4RX mode when the target detection result is the first preset result includes: if the antenna operating mode supported by the terminal includes 4RX mode when the target detection result is the first preset result, determining that the antenna operating mode of the terminal in the second Idle state is 4RX mode.
13. The method according to claim 12, characterized in that, The step of determining that the antenna operating mode of the terminal is 4RX mode when the terminal is in the second Idle state if the antenna operating mode supported by the terminal includes 4RX mode includes: if the antenna operating mode supported by the terminal includes 4RX mode and the terminal is currently in the second Idle state, switching the antenna operating mode of the terminal from 2RX mode to 4RX mode.
14. The method according to claim 12, characterized in that, After determining the antenna operating modes supported by the terminal based on the registered frequency band of the terminal, the method further includes: if the antenna operating modes supported by the terminal do not include the 4RX mode, determining that the antenna operating mode of the terminal is the 2RX mode when the terminal is in the second Idle state.
15. The method according to claim 1, characterized in that, The first Idle state is the preceding Idle state adjacent to the second Idle state; the first Connect state is the preceding Connect state adjacent to the second Idle state.
16. A terminal, characterized in that, include: One or more processors and a memory; the memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the terminal to perform the method as described in any one of claims 1 to 15.
17. A computer-readable storage medium, characterized in that, Includes a computer program that, when run on a terminal, causes the terminal to perform the method as described in any one of claims 1 to 15.
18. A computer program product, characterized in that, The computer program product includes executable instructions that, when executed on a terminal, cause the terminal to perform the method of any one of claims 1 to 15.
19. A chip system, characterized in that, The chip system is applied to a terminal, and the chip system includes one or more processors. The processors are used to invoke computer instructions to cause the terminal to input data into the chip system and to execute the method of any one of claims 1 to 15 to determine the antenna operating mode of the terminal when the terminal is in an Idle state.
Citation Information
Patent Citations
Antenna mode rollback method, base station and terminal
CN110138420A
Antenna switching method and device and storage medium
CN117254825A