Operation execution method, terminal and readable storage medium

By monitoring cell ping-pong anomalies during idle periods and locking high-quality cells while blocking low-quality cells, the signaling storm and power consumption issues caused by ping-pong handover in LTE or 5G networks are resolved, thus improving communication quality.

CN121568178APending Publication Date: 2026-02-24VIVO MOBILE COMM CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202511800834.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-02
Publication Date
2026-02-24

AI Technical Summary

Technical Problem

In LTE or 5G networks, ping-pong handover occurs frequently when a terminal is in an area with overlapping coverage of multiple cells due to signal strength fluctuations or unreasonable handover parameters, leading to signaling storms and increased power consumption.

Method used

In idle state, the terminal performs cell ping-pong monitoring through the modem processor. After detecting N ping-pong anomalies, the modem processor reports the event to the application processor. The application processor performs operations to lock high-quality cells and block low-quality cells based on the cell signal quality.

Benefits of technology

It effectively avoids frequent ping-pong switching of terminals, reduces signaling storms, lowers power consumption, and ensures communication quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121568178A_ABST
    Figure CN121568178A_ABST
Patent Text Reader

Abstract

The invention discloses an operation execution method, a terminal and a readable storage medium, and belongs to the technical field of communication. The method comprises the following steps: when the terminal is in an idle state, performing cell ping-pong monitoring through a modulation-demodulation processor of the terminal; under the condition that N times of ping-pong anomalies of the terminal are monitored, the modulation-demodulation processor reports a ping-pong event to an application processor of the terminal, and N is a positive integer; the application processor executes a target operation based on the signal quality of each resident cell when the ping-pong exception occurs in the terminal; wherein the target operation comprises at least one of the following items: locking the first cell and forbidding the second cell; the first cell is a cell of which the signal quality is greater than or equal to a first threshold value in all cells resided by the terminal when the ping-pong abnormity occurs; the second cell is a cell of which the signal quality is less than or equal to a second threshold value in the cells resided by the terminal when the ping-pong abnormity occurs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communication technology, specifically relating to an operation execution method, a terminal, and a readable storage medium. Background Technology

[0002] In LTE or 5G networks, when a terminal is in an area with overlapping coverage of multiple cells, rapid fluctuations in cell signal strength or unreasonable handover parameter settings can cause the terminal to switch back to the original cell multiple times in a short period of time, forming a "ping-pong" phenomenon. This can easily lead to signaling storms and affect the terminal's power consumption. Summary of the Invention

[0003] The purpose of this application is to provide an operation execution method, a terminal, and a readable storage medium that can avoid frequent ping-pong switching of the terminal.

[0004] In a first aspect, embodiments of this application provide an operation execution method, which includes: when a terminal is in an idle state, performing cell ping-pong monitoring through the terminal's modem processor; when N ping-pong anomalies are detected, reporting ping-pong events to the terminal's application processor through the modem processor, where N is a positive integer; the application processor performing a target operation based on the signal quality of each cell where the terminal is camped when the ping-pong anomaly occurs; wherein the target operation includes at least one of the following: locking a first cell and blocking a second cell; the first cell is a cell among the cells where the terminal is camped when the ping-pong anomaly occurs that has a signal quality greater than or equal to a first threshold; the second cell is a cell among the cells where the terminal is camped when the ping-pong anomaly occurs that has a signal quality less than or equal to a second threshold.

[0005] Secondly, embodiments of this application provide an operation execution device applied to a terminal. The operation execution device includes a processing module and a reporting module. The processing module is used to perform cell ping-pong monitoring when the terminal is in an idle state. The reporting module is used to report ping-pong events to the processing module when the terminal detects N ping-pong anomalies, where N is a positive integer. The processing module is also used to perform a target operation based on the signal quality of each cell where the terminal is camped when the ping-pong anomaly occurs. The target operation includes at least one of the following: locking a first cell and blocking a second cell. The first cell is a cell among the cells where the terminal is camped when the ping-pong anomaly occurs that has a signal quality greater than or equal to a first threshold. The second cell is a cell among the cells where the terminal is camped when the ping-pong anomaly occurs that has a signal quality less than or equal to a second threshold.

[0006] Thirdly, embodiments of this application provide a terminal, which includes a modem processor and an application processor; the modem processor is used to perform cell ping-pong monitoring when the terminal is in an idle state; the modem processor is also used to report ping-pong events to the application processor when the terminal detects N ping-pong anomalies, where N is a positive integer; the application processor is used to perform a target operation based on the signal quality of each cell where the terminal is camped when the ping-pong anomaly occurs; wherein the target operation includes at least one of the following: locking a first cell and blocking a second cell; the first cell is a cell among the cells where the terminal is camped when the ping-pong anomaly occurs that has a signal quality greater than or equal to a first threshold; the second cell is a cell among the cells where the terminal is camped when the ping-pong anomaly occurs that has a signal quality less than or equal to a second threshold.

[0007] Fourthly, embodiments of this application provide an electronic device, such as a terminal, which includes a processor and a memory. The memory stores programs or instructions that can run on the processor, and when the programs or instructions are executed by the processor, they implement the steps of the method described in the first aspect.

[0008] Fifthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0009] In a sixth aspect, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0010] In a seventh aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0011] In this embodiment, when the terminal is in an idle state, the terminal's modem processor performs cell ping-pong monitoring. If the terminal detects N ping-pong anomalies, the modem processor reports the ping-pong event to the terminal's application processor, where N is a positive integer. The application processor performs a target operation based on the signal quality of each cell where the terminal is camped when the ping-pong anomaly occurs. The target operation includes at least one of the following: locking a first cell and blocking a second cell. The first cell is the cell with a signal quality greater than or equal to a first threshold among the cells where the terminal is camped when the ping-pong anomaly occurs. The second cell is the cell with a signal quality less than or equal to a second threshold among the cells where the terminal is camped when the ping-pong anomaly occurs. In this solution, the terminal performs cell ping-pong monitoring independently through its modem processor. This allows the terminal to promptly determine if ping-pong anomalies have occurred without affecting its services, and proactively reports ping-pong events to its application processor. The application processor then determines the appropriate target operation, ensuring timely execution of ping-pong optimization (the aforementioned target operation). This avoids frequent ping-pong handovers, prevents signaling storms, reduces power consumption, and ultimately ensures the terminal can perform communication services normally, thus improving communication quality. Attached Figure Description

[0012] Figure 1 This is a schematic diagram of an operation execution method provided in an embodiment of this application;

[0013] Figure 2 This is a schematic diagram of a process for determining ping-pong abnormalities provided in an embodiment of this application;

[0014] Figure 3 This is a schematic diagram of a process for determining signal fluctuations in neighboring cells provided in an embodiment of this application;

[0015] Figure 4 This is a schematic diagram of a process for performing ping-pong monitoring and ping-pong optimization provided in an embodiment of this application;

[0016] Figure 5 This is a schematic diagram of another process for performing ping-pong monitoring and ping-pong optimization provided in an embodiment of this application;

[0017] Figure 6 This is a schematic diagram of the structure of an operation execution device provided in an embodiment of this application;

[0018] Figure 7 This is a schematic diagram of the structure of an operation execution device provided in an embodiment of this application;

[0019] Figure 8 This is a schematic diagram of the structure of a terminal provided in an embodiment of this application;

[0020] Figure 9This is one of the hardware structure diagrams of an electronic device provided in the embodiments of this application;

[0021] Figure 10 This is a second schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0022] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0023] The terms "first," "second," etc., used in this application's specification are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class, without limiting the number of objects; for example, a first object can be one or more. Furthermore, in the specification, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects have an "or" relationship.

[0024] The terms "at least one," "at least one," etc., used in this application's specification refer to any one, any two, or a combination of two or more of the included objects. For example, "at least one of a, b, and c" can mean "a," "b," "c," "a and b," "a and c," "b and c," and "a, b, and c," where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more, and its meaning is similar to that of "at least one."

[0025] The identifiers in this application are text, symbols, images, etc. used to indicate information, and may be used as carriers for displaying information in the form of identifiers or other containers, including but not limited to text identifiers, image identifiers, symbol identifiers, etc.

[0026] It is worth noting that the technologies described in this application are not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA), or other systems. The terms "system" and "network" in this application are often used interchangeably, and the described technologies can be used in the systems and radio technologies mentioned above, as well as in other systems and radio technologies. The following description describes New Radio (NR) systems for illustrative purposes, and the term NR is used in most of the following description; however, these technologies can also be applied to systems other than NR systems, such as 6th Generation (6G) communication systems.

[0027] In the embodiments of this application, the aforementioned terminal may also be referred to as user equipment (UE) or electronic device. The terminal may be a mobile phone, tablet personal computer, laptop computer, notebook computer, personal digital assistant (PDA), handheld computer, netbook, ultra-mobile personal computer (UMPC), mobile internet device (MID), augmented reality (AR), virtual reality (VR) device, robot, wearable device, flight vehicle, vehicle user equipment (VUE), shipborne equipment, pedestrian user equipment (PUE), smart home (home devices with wireless communication functions, such as refrigerators, televisions, washing machines, or furniture), game console, personal computer (PC), ATM, or self-service machine, etc. Wearable devices include: smartwatches, smart bracelets, smart earphones, smart glasses, smart jewelry (smart bracelets, smart necklaces, smart anklets, smart ankle chains, etc.), smart wristbands, smart clothing, etc. Among these, in-vehicle devices can also be referred to as in-vehicle terminals, in-vehicle controllers, in-vehicle modules, in-vehicle components, in-vehicle chips, or in-vehicle units, etc. It should be noted that the embodiments in this application do not limit the specific type of terminal.

[0028] It should be noted that the execution subject of the operation execution method provided in this application embodiment can be an electronic device such as a mobile phone, tablet computer, laptop computer, PDA, or in-vehicle electronic device. Some embodiments of this application use an electronic device as the execution subject to illustrate the operation execution method provided in this application embodiment.

[0029] The operation execution method, terminal, and readable storage medium provided in this application embodiment will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0030] In mobile communication systems, the ping-pong effect refers to the phenomenon of terminal devices frequently switching between multiple cells or base stations. This is mainly due to fluctuations in wireless signals or unreasonable switching parameter settings, which may cause the terminal to switch repeatedly in a short period of time, forming a "ping-pong" phenomenon by continuously switching between adjacent cells. This can easily lead to signaling storms and affect the terminal's power consumption.

[0031] For mobile communication terminals, there are generally two main approaches to optimizing the ping-pong effect in related technologies: one is to optimize the network-side equipment's decision-making mechanism for ping-pong handover; the other is to optimize the accuracy of the terminal's measurement event reporting, thereby avoiding repeated handovers between adjacent cells of the same network standard (such as 5G networks) when the terminal is stationary. However, both of these approaches suffer from the drawback of being unable to accurately identify and determine whether the ping-pong effect has occurred from the terminal's perspective, thus failing to completely eliminate the ping-pong effect. Therefore, accurately identifying and optimizing the terminal's ping-pong effect based on the terminal's own state and phenomena is a capability that needs to be improved.

[0032] In response, this application provides an operation execution method, namely, a ping-pong anomaly judgment and optimization method. The purpose of this embodiment is to determine whether the terminal has experienced a ping-pong phenomenon with the same network standard in the communication network based on the detection of the terminal's own state, and to perform corresponding optimizations. This avoids the ping-pong effect of the terminal in the communication network without affecting the terminal's services. At the same time, the cell list obtained by ping-pong optimization in the idle state can help optimize communication service anomalies when the terminal is in a non-idle state.

[0033] The execution subject of the operation execution method provided in this application embodiment can be an operation execution device. Exemplarily, the operation execution device can be an electronic device, or a functional component or functional entity within the electronic device. In this application embodiment, the electronic device can be a terminal; the following will use a terminal as the execution subject as an example to executor the operation execution method provided in this application embodiment.

[0034] The terminal in this embodiment may include a modem and an application processor (AP). The modem is used to process wireless communication signals, and the application processor is used to manage the operating system, all applications, graphics display, and touchscreen interaction.

[0035] Figure 1 This is a flowchart illustrating the operation execution method provided in some embodiments of this application, such as... Figure 1 As shown, some embodiments of this application provide an operation execution method that may include the following steps 201 to 203.

[0036] Step 201: When the terminal is in an idle state, it performs cell ping-pong monitoring through the terminal's modem processor.

[0037] In some embodiments of this application, the aforementioned idle state refers to the state when the terminal is idle, has no task processing, or has no operation.

[0038] In some embodiments of this application, the terminal can determine whether it is in an idle state based on its status information.

[0039] For example, the status information of the terminal may include, but is not limited to: the terminal's screen status information, the status information of the terminal performing tasks, and the operation status of the terminal receiving user input.

[0040] It should be noted that the determination of whether the terminal is in an idle state can be referred to the description of steps 301 and 302 below, which will not be described here.

[0041] In some embodiments of this application, the above-described modem processor is used to process wireless communication signals.

[0042] For example, the above-mentioned modem processor can be a baseband processor, a communication processor, or a cellular communication module, etc., which are processors or modules with the function of processing wireless communication signals, and this application does not impose any restrictions.

[0043] In some embodiments of this application, the modem processor, due to the communication protocol requirements, will continuously detect network signals and report measurement reports to the network-side equipment in order to keep the terminal normally camped in the network. Therefore, the terminal can obtain measurement information through the modem processor to perform cell ping-pong monitoring without causing additional power consumption to the terminal.

[0044] In some embodiments of this application, the terminal obtains signal measurement information of the serving cell where the terminal is camped and / or the neighboring cells of the serving cell where the terminal is camped through a modem processor, and monitors whether the terminal has a ping-pong anomaly based on this signal measurement information.

[0045] For example, the above signal measurement information can also be referred to as network signal measurement information, which may include, but is not limited to, at least one of the following: the cell identifier (ID), reference signal received power (RSRP), and reference signal received quality (RSRQ) of the terminal during each camp during the monitoring period.

[0046] In some embodiments of this application, the terminal periodically performs cell ping-pong monitoring when it is in an idle state.

[0047] For example, when the terminal is in an idle state, it periodically measures and records the signal measurement information of the serving cell and / or neighboring cells where the terminal is camped, in order to perform cell ping-pong monitoring.

[0048] For example, the aforementioned periodicity means that the terminal performs a ping-pong monitoring once every preset or custom measurement interval, such as 20ms.

[0049] It is understood that when the terminal is in a non-idle state, such as an operating state, the terminal can also periodically perform cell ping-pong monitoring, and the monitoring process is consistent with the monitoring process when the terminal is in an idle state in this embodiment. Alternatively, the terminal can also continuously perform cell ping-pong monitoring, which is not limited in this application.

[0050] Step 202: When N ping-pong anomalies are detected in the terminal, the terminal's modem processor reports the ping-pong event to the terminal's application processor; where N is a positive integer.

[0051] In some embodiments of this application, the aforementioned ping-pong anomaly is used to characterize events such as cell handover occurring in a scenario where the terminal should not be switching cells at high frequency, or poor signal quality, or unstable signal.

[0052] In some embodiments of this application, during the process of performing cell ping-pong monitoring, the terminal records a total of N ping-pong anomalies. At this time, the terminal's modem processor reports the ping-pong event to the terminal's application processor.

[0053] In some embodiments of this application, the terminal determines whether there is a ping-pong anomaly by judging one or more abnormal conditions.

[0054] For example, the terminal determines whether there is a ping-pong anomaly by judging whether the serving cell on which the terminal is camped has changed, whether the serving cell on which the terminal is camped is in a weak signal state, and whether the neighboring cell signals of the serving cell on which the terminal is camped fluctuate.

[0055] In some embodiments of this application, the above-mentioned reporting of ping-pong events includes reporting information to the application processor to indicate ping-pong events, as well as signal measurement information such as cell ID, RSRP, and / or RSRQ that the terminal has camped on each time during the monitoring period, so that the application processor can perform corresponding ping-pong optimization operations based on these signal measurement information, i.e., the target operations described below.

[0056] Step 203: The terminal's application processor executes the target operation based on the signal quality of each cell where the terminal is camped when the ping-pong anomaly occurs.

[0057] In some embodiments of this application, the target operation described above includes at least one of the following: locking the first cell and blocking the second cell.

[0058] In some embodiments of this application, the first cell mentioned above is the cell whose signal quality is greater than or equal to a first threshold among the cells where the terminal camps when a ping-pong anomaly occurs.

[0059] For example, the first threshold mentioned above may be preset or custom-set, and this application does not impose any restrictions.

[0060] For example, the first cell mentioned above is the cell with a better and more stable signal among all the cells where the terminal camps when the terminal experiences N ping-pong anomalies.

[0061] In some embodiments of this application, locking the first cell means locking the terminal in the first cell, that is, prohibiting the terminal from switching cells.

[0062] In some embodiments of this application, when the target operation is to lock the first cell, the terminal will lock the cell it is camped on to the first cell, that is, it will not switch cells.

[0063] For example, if the RSRP of a 5G NR cell is greater than -105 dBm, and the 5G NR cell has met this condition in previous terminal camping sessions, then the terminal will use the 5G NR cell as the first cell and lock the 5G NR cell as the serving cell for the terminal camping.

[0064] In one example, if the terminal is currently camped on a cell that is not the first cell, the terminal will first switch to the first cell and then perform the target operation, that is, lock the first cell.

[0065] In some embodiments of this application, the second cell is the cell whose signal quality is less than or equal to the second threshold among the cells where the terminal camps when a ping-pong anomaly occurs.

[0066] For example, the second threshold mentioned above may be preset or custom-set, and this application does not impose any restrictions.

[0067] For example, the second cell mentioned above is the cell with the worst and most unstable signal among all the cells where the terminal camps when the terminal experiences N ping-pong anomalies.

[0068] In some embodiments of this application, the above-mentioned prohibition of the second cell means prohibiting the terminal from camping on the second cell.

[0069] In one example, prohibiting the second cell can be done by adding the second cell to a blacklist, where all cells on the blacklist are cells where the terminal is prohibited from residing.

[0070] In one example, if the terminal is currently camped on a cell that is the second cell, the terminal will first switch to another cell before performing the target operation, which is to disable the second cell.

[0071] In some embodiments of this application, when the target operation is to prohibit the second cell, the terminal is prohibited from camping on the second cell.

[0072] For example, if the RSRP of a 5G NR cell is ≤-105 dBm, and the difference in RSRP between two adjacent measurement periods of the 5G NR cell is greater than 5 dBm when the terminal has camped there multiple times before, then the terminal will use the 5G NR cell as the second cell and prohibit the 5G NR cell from being used as the serving cell for the terminal to camp on.

[0073] It should be noted that the measurement period involved in this embodiment is the period during which the terminal measures the signal quality of the cell once.

[0074] In some embodiments of this application, the terminal can generate a cell list based on all monitored cells during cell ping-pong monitoring. This cell list includes, but is not limited to, the cell identifier, RSRP, RSRQ, and other measurement information for each cell. The terminal can then perform a target operation based on the information contained in the cell list, such as selecting a first cell to lock and / or a second cell to disable.

[0075] For example, based on the cell list obtained through ping-pong optimization during idle periods, the terminal knows which cells are prone to ping-pong anomalies and which cells can be stably camped on after optimization. Therefore, when the terminal is camped on these cells during non-idle periods, if communication service anomalies occur, such as network drops, slow internet speeds, or call problems, the terminal can quickly decide to preferentially camp on other nearby cells. That is, it prioritizes cells that can be stably camped on after optimization during idle periods. This reduces the high probability of communication service anomalies caused by cell handover, resulting in a better communication experience.

[0076] In some embodiments of this application, the terminal's application processor decides whether to execute a ping-pong optimization action. Specifically, if the terminal is currently in an idle state and has not previously executed a cell-blocking ping-pong optimization strategy, the application processor decides to execute the ping-pong optimization action, choosing to execute either cell blocking or cell locking. Otherwise, the terminal's application processor decides not to execute the ping-pong optimization action. If the terminal is not in an idle state, the application processor decides not to execute the ping-pong optimization action; or, if the application processor has previously executed a ping-pong optimization strategy, it determines whether to execute the ping-pong optimization action based on the number of times the action has been executed. If it has been executed Y times or more, the application processor decides not to execute the ping-pong optimization action, where Y is a positive integer. Here, both the ping-pong optimization action and the ping-pong optimization strategy can be understood as the aforementioned target operation.

[0077] It should be noted that there are generally no more than 5 cells with ping-pong anomalies. Therefore, at most, the 3 cells with the weakest signal and the fewest visits during ping-pong anomalies are blocked. In addition, if the terminal is still judged to have a ping-pong anomaly after the cell blocking action is performed, and a total of 3 optimization actions are performed during idle time, the optimization strategy mode is exited, and the previously blocked cells and other previously performed actions are lifted.

[0078] It is understandable that the terminal, through the application processor, prioritizes the cell locking operation. If the ping-pong error still occurs after optimization, then the cell blocking operation is executed. In addition, if the cell blocking operation was effective in the same place in the past, then the cell blocking operation will be executed first in the next time.

[0079] In the operation execution method provided in this application embodiment, when the terminal is in an idle state, the terminal's modem processor performs cell ping-pong monitoring; when the terminal detects N ping-pong anomalies, the modem processor reports the ping-pong event to the terminal's application processor, where N is a positive integer; the application processor performs a target operation based on the signal quality of each cell where the terminal is camped when the ping-pong anomaly occurs; wherein, the target operation includes at least one of the following: locking a first cell and blocking a second cell; the first cell is a cell among the cells where the terminal is camped when the ping-pong anomaly occurs that has a signal quality greater than or equal to a first threshold; the second cell is a cell among the cells where the terminal is camped when the ping-pong anomaly occurs that has a signal quality less than or equal to a second threshold. In this solution, the terminal performs cell ping-pong monitoring independently through its modem processor. This allows the terminal to promptly determine if ping-pong anomalies have occurred without affecting its services, and proactively report ping-pong events to its application processor. The application processor then determines the appropriate target operation, ensuring timely execution of ping-pong optimization (the aforementioned target operation). This avoids frequent ping-pong handovers, prevents signaling storms, reduces power consumption, and ultimately ensures the terminal can perform communication services normally, thus improving communication quality.

[0080] Optionally, in some embodiments of this application, before step 201 "perform cell ping-pong monitoring through the modem processor of the terminal" as described above, the operation execution method provided in the embodiments of this application further includes steps 301 and 302.

[0081] Step 301: The terminal obtains the current status information of the terminal through the terminal's application processor.

[0082] In some embodiments of this application, the aforementioned status information includes at least one of the following: the current screen status of the terminal, the background task execution status of the terminal, and whether the terminal has received a user operation within a preset time period.

[0083] For example, the current time mentioned above is the time when the acquisition of the terminal's current status information begins. For example, if the acquisition of the terminal's current status information begins at 23:00, then the current time is 23:00.

[0084] For example, the screen states of the aforementioned terminal include a screen-off state and a screen-on state.

[0085] For example, the above-mentioned terminal background task execution status refers to whether the terminal's background task is in a running state.

[0086] Step 302: If the status information meets the predetermined conditions, the terminal's application processor determines that the terminal is in an idle state.

[0087] In some embodiments of this application, the aforementioned status information satisfies at least one of the following predetermined conditions:

[0088] The current time is within the preset time period;

[0089] The device is currently in a screen-off state;

[0090] The terminal is currently in a state where no background tasks are being executed.

[0091] The terminal did not receive any user operation within the preset time period.

[0092] For example, the aforementioned preset time period is either user-defined or terminal default, such as 22:00 to 5:00, i.e., nighttime.

[0093] For example, if the current time is 23:00, then the current time is between 22:00 and 5:00, and the terminal is determined to be in an idle state.

[0094] For example, the terminal obtains the current status information of the terminal through the application processor, and determines whether the terminal is in an idle state such as night, screen off, no background tasks running, long-term inactivity and no human operation. If it is determined that the terminal is in an idle state, the terminal's modem processor starts cell ping-pong monitoring.

[0095] In this way, the terminal can detect whether it is in an idle state such as night, screen off, no background tasks running, long-term inactivity and no human operation, and start idle ping-pong monitoring and take optimization actions in the same network standard. On the one hand, the terminal status can be detected to determine that it is in an idle state. At this time, the ping-pong optimization action will not affect the terminal's business and will reduce the consumption of network resources.

[0096] Optionally, in some embodiments of this application, the operation execution method provided in the embodiments of this application further includes step 401.

[0097] Step 401: If the terminal detects a cumulative number of changes in the serving cell where the terminal is camped, which is M, and X suspected ping-pong anomalies occur, then the terminal determines that a ping-pong anomaly has occurred; M and X are positive integers.

[0098] In some embodiments of this application, if the terminal detects M changes in the serving cell on which the terminal is camped, and the terminal determines through its modem processor that a suspected ping-pong anomaly has occurred nearly X times, the terminal determines that a ping-pong anomaly has occurred and records it. After the terminal has accumulated N records of ping-pong anomalies, the terminal's modem processor reports the ping-pong event to the terminal's application processor.

[0099] In some embodiments of this application, a suspected ping-pong anomaly is determined to have occurred if any of the following conditions are met:

[0100] The service cell where the terminal is located has changed;

[0101] The serving cell where the terminal is camped has not changed, the first signal difference corresponding to the serving cell where the terminal is camped is less than or equal to the third threshold, and the terminal detects fluctuations in the signal strength of neighboring cells during the period when it camps in the serving cell.

[0102] For example, the aforementioned third threshold may be preset or custom-set, and this application does not impose any restrictions.

[0103] In some embodiments of this application, the above-mentioned "change in the serving cell where the terminal is camped" refers to the monitoring cycle of the cell ping-pong monitoring performed by the terminal this time. The serving cell where the terminal is camped is different from the serving cell where the terminal was camped in the previous monitoring cycle. Therefore, it is considered that the terminal is suspected of ping-pong handover at this time, that is, suspected ping-pong anomaly.

[0104] In some embodiments of this application, the first signal difference is the difference between the current signal quality of the serving cell where the terminal is camped and the historical signal quality of the serving cell where the terminal is camped.

[0105] For example, the aforementioned historical signal quality can be the signal quality measured in the first few measurement cycles of the serving cell where the terminal is camped.

[0106] For example, the first signal difference can be a single difference or a set of differences. When the first signal difference is a set of differences, each difference in the set of differences needs to be less than or equal to the third threshold.

[0107] For example, the first signal difference is the difference between the current signal quality of the serving cell where the terminal is camped and the signal quality measured in the previous measurement cycle, or the first signal difference is a set of differences between the current signal quality of the serving cell where the terminal is camped and the signal quality measured in the previous few measurement cycles.

[0108] For example, if the current measurement cycle is the sixth, then the first signal difference can be the difference between the signal quality measured in the sixth measurement cycle and the signal quality measured in the fifth measurement cycle. Alternatively, if the current measurement cycle is the sixth, then the first signal difference can be the set of the differences between the signal quality measured in the sixth and fifth measurement cycles, the differences between the signal quality measured in the sixth and fourth measurement cycles, and the differences between the signal quality measured in the sixth and third measurement cycles.

[0109] In some embodiments of this application, if the first signal difference of the serving cell where the terminal is camped is less than or equal to the third threshold, it can be considered that the serving cell where the terminal is camped is not in a weak signal state.

[0110] In some embodiments of this application, the aforementioned weak signal state essentially refers to a situation where the quality or strength of the wireless signal received by the terminal from the serving cell is poor. In other words, when the serving cell where the terminal is camped is in a weak signal state, it means that the current signal quality is below the minimum threshold required to maintain stable and efficient communication.

[0111] In one example, the terminal determines that the serving cell it is camped on has not been switched, but the signal is not stable. At this time, the terminal believes that the serving cell of the current terminal is in a weak signal state and no ping-pong anomaly has occurred.

[0112] In another example, the terminal determines that the serving cell it is camped on has not been switched and the signal is stable. In this case, the terminal believes that the serving cell of the current terminal is not in a weak signal state. Therefore, the terminal needs to further determine whether a suspected ping-pong anomaly has occurred through other conditions.

[0113] For example, the above statement "the terminal detects signal strength fluctuations in neighboring cells during its stay in the serving cell" indicates that the signal fluctuations in neighboring cells are too large, making the terminal prone to ping-pong anomalies. Therefore, it is considered that the terminal is experiencing a suspected ping-pong anomaly at this time.

[0114] Optionally, steps 201 to 203 and step 401 described above can be implemented through steps A1 to A9 as described below.

[0115] like Figure 2 As shown below, the process of determining the cell ping-pong detection by the terminal modem processor when the terminal is in an idle state is described exemplarily.

[0116] Step A1: The terminal is normally registered on the network in a certain cell.

[0117] Step A2: In the "idle time ping-pong monitoring mode", the terminal performs cell ping-pong monitoring through the modem processor.

[0118] For example, when the terminal obtains the current status information and determines that the terminal is in an idle state based on the current status information, the terminal activates the "idle ping-pong monitoring mode".

[0119] Step A3: The terminal uses the modem processor to determine whether the serving cell for which the terminal is registered has changed. If the serving cell for which the terminal is registered has changed, proceed to step A4; otherwise, proceed to step A6.

[0120] It should be noted that steps A3 to A8 constitute a judgment cycle or monitoring cycle, during which the terminal will continuously make judgments and record data.

[0121] Step A4: The terminal determines whether the serving cell on which the terminal is registered is in a weak signal state through the modem processor. If the determination is false, i.e., it is not in a weak signal state, then proceed to step A5; otherwise, proceed to step A7.

[0122] It is understandable that if step A7 is reached, it means that the terminal has not experienced a ping-pong anomaly.

[0123] For example, the method by which a terminal determines whether the serving cell for which it is registered is in a weak signal state through its modem processor is as follows:

[0124] 1) If the signal quality of the serving cell where the terminal is camped is greater than the first preset threshold, then it is determined that the difference between the current signal quality and the signal quality of at least one measurement period measured previously is greater than the third threshold, and the serving cell where the terminal is camped is in a weak signal state.

[0125] For example, if the RSRP of the current serving cell of the terminal is greater than -105 dBm, that is, 105 dBm is the first preset threshold, then it is determined whether the difference between the current network signal quality and the previous one is greater than 7 dBm, that is, the third threshold mentioned above. If it is greater than, then it is true, that is, the current serving cell of the terminal is in a weak signal state.

[0126] 2) If the signal quality of the serving cell where the terminal is camped is less than or equal to the first preset threshold, then it is determined that the difference between the current signal quality and the signal quality of at least one measurement period measured previously is greater than the third threshold, and the serving cell where the terminal is camped is in a weak signal state.

[0127] For example, if the RSRP of the current serving cell of the terminal is ≤ -105 dBm, then it is determined whether the difference between the current network signal quality and the previous one is greater than 11 dBm. If it is greater, then it is true, that is, the current serving cell of the terminal is in a weak signal state.

[0128] It should be noted that the third threshold in 1) and 2) above can be the same or different.

[0129] For example, when the terminal makes a determination, if the terminal is in a connected state, it compares the currently measured signal quality with the signal quality of the previous five measurements. Only if the difference between the previous five measurements is greater than 7 dBm is the serving cell the terminal is camped on considered a weak signal cell, meaning the serving cell the terminal is camped on is in a weak signal state. If the terminal is in an idle state, it compares the currently measured signal quality with the previous measurement. Only if the difference between the previous measurement and the previous measurement is greater than 11 dBm is the serving cell the terminal is camped on considered a weak signal cell, meaning the serving cell the terminal is camped on is in a weak signal state.

[0130] Step A5: The terminal uses its modem processor to determine the signal fluctuation of the neighboring cell where the terminal is registered. If it is determined that there is an abnormal fluctuation of the neighboring cell signal, proceed to step A6; otherwise, proceed to step A7.

[0131] It should be noted that the specific judgment process can be referred to steps B1 to B5 below. To avoid repetition, it will not be described here.

[0132] Step A6: The terminal determines a suspected ping-pong anomaly through the modem processor and accumulates the results.

[0133] For example, the terminal continuously performs ping-pong detection and recording in the community based on the cumulative number of suspected ping-pong anomalies judged historically by the modem processor.

[0134] Step A7: The terminal determines whether an "abnormal ping-pong" has occurred, i.e., the aforementioned ping-pong anomaly, through the modem processor.

[0135] For example, the terminal determines, based on current and historical information, whether the cumulative number of suspected ping-pong anomalies and changes in the serving cell within at least one cell ping-pong monitoring cycle has reached a predetermined number. If it has, the terminal determines that a ping-pong anomaly has occurred and proceeds to step A8; otherwise, it continues to cycle through steps A3 to A8.

[0136] For example, each time the terminal determines whether an "abnormal ping-pong" has occurred, it uses information from the previous 7 network measurements. If there have been 3 recent changes in the serving cell and the last 7 were all judged as "suspected ping-pong anomalies", then it is judged as 1 "ping-pong anomaly".

[0137] Step A8: The terminal uses the modem processor to determine whether N "ping-pong anomalies" have occurred in the idle state. If so, proceed to step A9.

[0138] Step A9: The terminal's modem processor reports the ping-pong event to the application processor.

[0139] For example, reporting ping-pong events includes, but is not limited to, network information such as the cell ID, wireless signal RSRP, and RSRQ that the terminal camped on each time during the reporting period.

[0140] In this way, by combining information from both the terminal's application processor and modem processor, and comprehensively judging from the terminal's usage status and the results of frequent cell handovers, the terminal can better suppress such communication network anomalies from the perspective of the observed phenomena. The judgment of whether the terminal is experiencing ping-pong is simpler and more direct, and the optimization scheme is more reliable.

[0141] Optionally, in some embodiments of this application, the operation execution method provided in the embodiments of this application further includes steps 501 and 502.

[0142] Step 501: When it is detected that the neighboring cell with the best signal quality corresponding to the serving cell where the terminal is camped has changed, monitor the signal quality of the first neighboring cell of the serving cell where the terminal is camped for K consecutive measurement periods, where K is a positive integer greater than 1.

[0143] Step 502: If the difference between the signal quality of the first neighboring cell in the reference measurement period of K measurement periods and the signal quality of the first neighboring cell in other measurement periods is greater than the fourth threshold, the terminal determines that the terminal detected a fluctuation in the signal strength of the neighboring cell during the service cell stay.

[0144] In some embodiments of this application, the first neighboring cell is the neighboring cell with the best signal quality among the cells adjacent to the serving cell where the terminal is camped.

[0145] In some embodiments of this application, the cells adjacent to the serving cell where the terminal is camped include co-frequency neighboring cells, inter-frequency neighboring cells, 2nd generation (2G) communication system neighboring cells, and 3rd generation (3G) communication system neighboring cells.

[0146] In some embodiments of this application, the first neighboring cell is the neighboring cell with the best signal among the neighboring cells of any of the above-mentioned standards.

[0147] In some embodiments of this application, a measurement cycle is the cycle in which the terminal performs a signal measurement of a neighboring cell once.

[0148] In some embodiments of this application, the aforementioned reference measurement period is a comparison between the aforementioned measurement period and other measurement periods in a continuous K measurement period.

[0149] In some embodiments of this application, the terminal monitors one by one whether the neighboring cell with the best signal quality among the co-frequency neighboring cells, inter-frequency neighboring cells, 2G neighboring cells, and 3G neighboring cells has changed.

[0150] For example, each type of network may have many neighboring cells. For instance, there might be 4 co-frequency neighboring cells, 3 inter-frequency neighboring cells, 2 2G neighboring cells, and 4 3G neighboring cells. The terminal needs to determine whether the neighboring cell with the best signal quality for each type of network has changed.

[0151] For example, to determine if the best signal from a neighboring cell on the same frequency has changed: if previously neighboring cell A had the best signal, and now neighboring cell B has the best signal, then the terminal considers the best signal neighboring cell to have changed. The method for determining neighboring cells for other standards is the same.

[0152] In some embodiments of this application, if the neighboring cell with the best signal quality corresponding to the above-mentioned serving cell changes, the terminal monitors the difference in signal quality between the first neighboring cell, i.e. the neighboring cell with the best signal quality at present, for K consecutive measurement cycles through the modem processor.

[0153] For example, K can be 2.

[0154] For example, an adjacent measurement period is the nth measurement and the (n+1)th measurement, and / or the nth measurement and the (n-1)th measurement. The aforementioned two consecutive adjacent measurement periods can be compared with the (n-1)th measurement and the (n+1)th measurement and the (n+2)th measurement, and / or with the (n+2)th measurement and the (n+3)th measurement and the (n+4)th measurement, and / or with the (n+3)th measurement and the (n+4)th measurement and the (n+5)th measurement, to obtain the difference in signal quality between the two consecutive adjacent measurement periods of the aforementioned first neighboring cell.

[0155] For example, the aforementioned fourth threshold may be preset or custom-set, and this application does not impose any restrictions.

[0156] For example, if the terminal detects that the difference in signal quality between the first neighboring cell for K consecutive measurement cycles is greater than the fourth threshold, it indicates that the neighboring cell signal is not stable at this time, and therefore there is a fluctuation in the neighboring cell signal.

[0157] It should be noted that the terminal needs to determine the presence of neighboring signal fluctuations for each of the four types of neighboring cells: co-frequency neighboring cells, inter-frequency neighboring cells, 2G neighboring cells, and 3G neighboring cells. That is, it checks for co-frequency neighboring cells once, inter-frequency neighboring cells once, 2G neighboring cells once, and 3G neighboring cells once.

[0158] It should be noted that in this embodiment, the terms "neighboring cell" and "neighboring cell" have the same meaning, referring to the adjacent cells of the serving cell where the terminal is located.

[0159] Optionally, in some embodiments of this application, the operation execution method provided in the embodiments of this application further includes steps 601 and 602.

[0160] Step 601: If the neighboring cell with the best signal quality corresponding to the serving cell where the terminal is camped has not changed, monitor the signal quality of the second neighboring cell of the serving cell where the terminal is camped for L consecutive measurement periods, where L is a positive integer greater than 1.

[0161] Step 602: If the difference between the signal quality of the second neighboring cell in the reference measurement period within L measurement periods and the signal quality of the second neighboring cell in other measurement periods is greater than the fifth threshold, the terminal determines that it has detected a fluctuation in the signal strength of the neighboring cell during its stay in the serving cell.

[0162] In some embodiments of this application, the aforementioned second neighboring cell is the neighboring cell with the best signal among the cells adjacent to the serving cell where the terminal is camped.

[0163] In some embodiments of this application, the cells adjacent to the serving cell where the terminal is camped include co-frequency neighboring cells, inter-frequency neighboring cells, 2nd generation (2G) communication system neighboring cells, and 3rd generation (3G) communication system neighboring cells.

[0164] In some embodiments of this application, the second neighboring cell is the neighboring cell with the best signal among the neighboring cells of any of the above-mentioned standards.

[0165] In some embodiments of this application, a measurement cycle is the cycle in which the terminal performs a signal measurement of a neighboring cell once.

[0166] In some embodiments of this application, the aforementioned reference measurement period is a comparison between the aforementioned measurement period and other measurement periods in a continuous K measurement period.

[0167] In some embodiments of this application, the terminal monitors one by one whether the neighboring cell with the best signal quality among the co-frequency neighboring cells, inter-frequency neighboring cells, 2G neighboring cells, and 3G neighboring cells has changed.

[0168] For example, each type of neighboring cell may have a large number of neighboring cells. For instance, there might be 4 co-frequency neighboring cells, 3 inter-frequency neighboring cells, 2 2G neighboring cells, and 4 3G neighboring cells. The terminal needs to determine whether the neighboring cell with the best signal quality for each type of neighboring cell has changed.

[0169] For example, to determine if the best signal from a neighboring cell on the same frequency has changed: if previously neighboring cell A had the best signal, and now neighboring cell B has the best signal, then the terminal considers the best signal neighboring cell to have changed. The method for determining neighboring cells for other standards is the same.

[0170] In some embodiments of this application, if the neighboring cell with the best signal quality corresponding to the serving cell has not changed, the terminal monitors the difference in signal quality between the second neighboring cell, i.e. the neighboring cell with the best signal quality at present, for L consecutive measurement cycles through the modem processor.

[0171] For example, L can be 5.

[0172] For example, an adjacent measurement period is the nth measurement with the (n+1)th measurement, and / or the nth measurement with the (n-1)th measurement. The above five consecutive adjacent measurement periods can be compared with the (n-1)th measurement and the (n+1), (n+2), (n+3), (n+4), and (n+5)th measurements respectively, to obtain the difference in signal quality between the five consecutive adjacent measurement periods of the first neighboring cell.

[0173] For example, the aforementioned fifth threshold may be preset or custom-set, and this application does not impose any restrictions.

[0174] For example, if the terminal detects that the difference in signal quality between the above-mentioned second neighboring cell for K consecutive measurement cycles is greater than the fifth threshold, it indicates that the neighboring cell signal is not stable at this time, and therefore there is a fluctuation in the neighboring cell signal.

[0175] It should be noted that the terminal needs to determine the presence of neighboring signal fluctuations for each of the four types of neighboring cells: co-frequency neighboring cells, inter-frequency neighboring cells, 2G neighboring cells, and 3G neighboring cells. That is, it checks for co-frequency neighboring cells once, inter-frequency neighboring cells once, 2G neighboring cells once, and 3G neighboring cells once.

[0176] Optionally, steps 501 and 502, or steps 601 and 602, can be implemented through steps B1 to B5 as described below.

[0177] like Figure 3 As shown below, the process for judging signal fluctuations in neighboring cells of a terminal is described exemplarily.

[0178] Step B1: The terminal begins to judge the signal fluctuations in neighboring cells through the modem processor.

[0179] Step B2: The terminal uses the modem processor to determine whether the best neighboring cell of the terminal's wireless signal, i.e., the first neighboring cell mentioned above, has changed. If not, proceed to step B3; otherwise, proceed to step B4.

[0180] For example, the terminal uses a modem processor to determine whether the best neighboring cell among the four types of neighboring cells (same frequency, different frequency, 3G, 2G) has changed (the best neighboring cell is determined for each of the four types of neighboring cells). For example, the best neighboring cell among the same frequency neighboring cells is the one with the best RSRP obtained by comparing multiple neighboring cells, and that neighboring cell is designated as the best neighboring cell, i.e., the first neighboring cell mentioned above.

[0181] Understandably, if RSRP is the same, then RSRQ and SINR are compared in sequence.

[0182] For example, among the above four types of neighboring cells, if the neighboring cell with the best signal has not changed, then proceed to step B3 for judgment; otherwise, proceed to step B4 for judgment.

[0183] Step B3: The terminal uses the modem processor to determine whether the RSRP difference is ≥5dBm for two consecutive cycles.

[0184] The method of judgment is:

[0185] 1) To determine whether the RSRP difference is ≥5dBm for two consecutive measurement cycles, compare three types of data:

[0186] 1.1) Compare the (n-1)th iteration with n+1 and n+2 respectively;

[0187] 1.2) Compare the (n+2)th iteration with (n+3) and (n+4) respectively;

[0188] 1.3) Compare the (n+3)th time with the (n+4)th and (n+5)th times respectively.

[0189] 2) For each of the three types of data comparison mentioned above (1.1), 1.2) and 1.3), it means that the data is considered true only if the difference between the two compared data is greater than or equal to 5 dBm. That is, if the difference between the (n+2)th and (n+3)th comparisons is greater than 5 dBm and the difference between the (n+2)th and (n+4)th comparisons is greater than 5 dBm, the terminal considers the data output to be true.

[0190] 3) If any of the comparison results of the three types of data mentioned above (1.1), 1.2) and 1.3) is true, then the modem processor will determine that the signal of the best neighboring cell has signal fluctuations.

[0191] Step B4: The terminal uses the modem processor to determine whether the RSRP difference is ≥5dBm for 5 consecutive cycles.

[0192] The method of judgment is:

[0193] 1) Whether the RSRP difference is ≥5 dBm for 5 consecutive periods. The comparison data is: the (n-1)th period is compared with n+1, n+2, n+3, n+4, n+5.

[0194] 2) In the above comparison results of the (n-1)th comparison with n+1, n+2, n+3, n+4, and n+5 respectively, it means that the output is true only if the difference of the five comparisons is greater than or equal to 5dBm.

[0195] At this point, the terminal uses the modem processor to determine that the signal in the neighboring cell with the best signal is fluctuating.

[0196] Step B5: The terminal judges the ping-pong monitoring result as a suspected ping-pong anomaly and continues to monitor and record ping-pong.

[0197] It should be noted that as long as any one of the four types of neighbor cell calculation outputs (same frequency, different frequency, 3G, 2G) in step B3 or step B4 is true, the overall output is true. That is, as long as there is a neighbor cell signal fluctuation, the current situation is judged to be a suspected ping-pong anomaly.

[0198] In this way, the terminal can further improve the detection accuracy of suspected ping-pong anomalies by adding the criteria for judging signal fluctuations in neighboring cells, thereby avoiding false detection of suspected ping-pong anomalies.

[0199] The following specific examples illustrate the operation execution method provided in the embodiments of this application.

[0200] Example 1: As Figure 4 As shown, the operation execution method may include the following steps C1 to C5.

[0201] In this embodiment, the terminal detects its own state to determine whether an abnormal ping-pong phenomenon has occurred, and performs corresponding optimization processing based on the determination result, i.e., the aforementioned target operation. The optimization strategy involves selecting a cell with a better and more stable signal from among the cells where the terminal camped when the abnormal ping-pong phenomenon occurred, and not camping on other cells for a certain period. Simultaneously, the executed optimization action, the list of ping-pong cells, and the cell selected to camp on after optimization are recorded. This facilitates decision-making regarding whether to execute and which optimization action to execute when the terminal experiences abnormal ping-pong again, as well as abnormal communication service optimization when the terminal is in a non-idle state.

[0202] Step C1: The terminal is normally registered on the network in a certain cell.

[0203] Step C2: The terminal determines whether to start idle ping-pong monitoring of the same network type through the application processor.

[0204] For example, the terminal obtains the current status information of the terminal through the application processor, determines whether the terminal is in an idle state, and if the terminal is in an idle state, notifies the modem processor to start idle ping-pong monitoring of the same network standard.

[0205] For example, if the terminal determines that it is in an idle state such as nighttime, screen off, no background tasks running, or long-term inactivity without human intervention based on the current status information it obtains, it will notify the modem processor to start idle ping-pong monitoring of the same network standard.

[0206] Step C3: The terminal executes the idle ping-pong monitoring logic of the modem processor. When it determines that an abnormal ping-pong phenomenon has occurred, i.e. the above-mentioned ping-pong abnormality, it reports it to the application processor.

[0207] Step C4: The terminal uses the application processor to determine its current state again and decides whether to execute the ping-pong optimization action, i.e., the target operation mentioned above.

[0208] For example, if the terminal is currently in an idle state and has not previously executed a ping-pong optimization strategy at this point, the decision can be to execute a ping-pong optimization action.

[0209] Step C5: The terminal executes a ping-pong optimization action, which is to lock the cell.

[0210] For example, the terminal selects a cell with a better and more stable signal to camp on based on the cells where it camped during the ping-pong anomaly reported by the modem processor (e.g., a 5G NR cell with RSRP > -105 dBm, and which has met this condition in previous camping attempts); and records the results after performing the optimization action, such as recording the executed action and the cell list, which helps in deciding whether to execute and which optimization action to execute when the terminal experiences the ping-pong anomaly again, while continuing to monitor the ping-pong phenomenon during idle periods.

[0211] Thus, this embodiment provides the terminal with a method to obtain the terminal's current state information through the terminal application processor. If it is determined that the terminal is in an idle state, the terminal modem processor is notified to start idle ping-pong monitoring of the same network standard. After determining that an abnormal ping-pong phenomenon has occurred, i.e., the aforementioned ping-pong event, it reports to the application processor. The application processor decides whether to execute ping-pong optimization actions and which optimization actions to execute based on the terminal state information and the abnormal ping-pong information. By determining the terminal's idle state, it can be determined that the terminal is currently in a state where its service needs are unlikely to be affected by abnormal ping-pong optimization. By executing the ping-pong optimization strategy, the recurrence of abnormal ping-pong phenomena can be suppressed, avoiding the ping-pong effect of the terminal in the communication network without affecting the terminal's services, and reducing the terminal's power consumption.

[0212] The following specific examples illustrate the operation execution method provided in the embodiments of this application.

[0213] Example 2: As Figure 5 As shown, the operation execution method may include the following steps D1 to D5.

[0214] In this embodiment, the terminal detects its own state to determine whether an abnormal ping-pong phenomenon has occurred, and performs corresponding optimization processing based on the determination result, i.e., the aforementioned target operation. The optimization strategy is to prohibit the terminal from camping in a cell with poor and unstable signal among the cells where it camped when the abnormal ping-pong phenomenon occurs. At the same time, the executed optimization action, the list of ping-pong cells, and the cell selected to camp in after optimization are recorded, which is helpful for deciding whether to execute and which optimization action to execute when the terminal experiences abnormal ping-pong phenomenon again, as well as for optimizing communication services when the terminal is in a non-idle state.

[0215] It should be noted that, unlike Example 1, the application processor performs the ping-pong optimization action based on the information reported by the modem and historical information, i.e., the above-mentioned target operation, by using cell blocking to prevent the terminal from experiencing abnormal ping-pong again. That is, the overall solution is to prioritize cell locking, and if ping-pong still occurs after optimization, cell blocking is performed. In addition, if cell blocking is effective in the same place in the historical target operation, then cell blocking will be prioritized in the next time at this place.

[0216] Step D1: The terminal is normally registered on the network in a certain cell.

[0217] Step D2: The terminal obtains the current status information of the terminal through the application processor, determines whether the terminal is in an idle state, and if the terminal is in an idle state, notifies the modem processor to start the idle ping-pong monitoring of the same network standard.

[0218] For example, if the terminal determines that it is in an idle state such as nighttime, screen off, no background tasks running, or long-term inactivity without human intervention based on the current status information it obtains, it will notify the modem processor to start idle ping-pong monitoring of the same network standard.

[0219] Step D3: The idle ping-pong optimization monitoring logic of the terminal modem processor is executed. When it determines that an abnormal ping-pong phenomenon has occurred, it reports it to the application processor.

[0220] Step D4: The terminal uses the application processor to determine its current state again and decides whether to execute the ping-pong optimization action, i.e., the target operation mentioned above.

[0221] For example, if the terminal is currently in an idle state and has not previously executed a ping-pong optimization strategy at this point, the decision can be to execute a ping-pong optimization action.

[0222] Step D5: The terminal executes the ping-pong optimization action, which is to disable the cell.

[0223] For example, based on the cells where the terminal camped during the ping-pong anomaly reported by the modem processor, the terminal prohibits cells with poor and unstable signals (e.g., 5G NR cells with RSRP ≤ -105 dBm and RSRP differences greater than 5 dBm during previous camping), and selects the cell with the most occurrences of the ping-pong anomaly and the best signal as the final camping cell; and records the executed actions and cell list after the terminal completes the optimization action, which is helpful for deciding which optimization action to execute when the terminal experiences an abnormal ping-pong anomaly again.

[0224] Thus, this embodiment provides a method for the terminal to obtain its current state information through the terminal application processor. If it is determined that the terminal is in an idle state, the terminal modem processor is notified to initiate idle ping-pong monitoring of the same network standard. After determining that an abnormal ping-pong phenomenon has occurred, it reports to the application processor. The application processor decides whether to execute ping-pong optimization actions and which optimization actions to execute based on the terminal state information and the abnormal ping-pong phenomenon information. By determining the terminal's idle state, it can be determined that the terminal is currently in a state where its service requirements are unlikely to be affected by abnormal ping-pong optimization. By executing the ping-pong optimization strategy, the recurrence of abnormal ping-pong phenomena can be suppressed, avoiding the ping-pong effect in the communication network without affecting the terminal's services, and reducing the terminal's power consumption.

[0225] It should be noted that the ping-pong optimization action, i.e., the aforementioned target operation, can be achieved by having the terminal register from a high network standard (such as 5G) and then re-register to a low network standard cell (such as 4G). While in the low network standard cell, the system continues to monitor for ping-pong issues. If abnormal ping-pong still occurs, the terminal is then switched to an even lower network standard cell (such as 3G). This leverages the specific coverage differences between existing mobile network standards; low-standard networks generally have wider coverage. The edge of network coverage where the ping-pong effect is likely to occur in high-standard networks may not be a point where ping-pong is likely to occur in low-standard networks, thus achieving the goal of avoiding abnormal ping-pong by the terminal.

[0226] Each of the above-described method embodiments, or various possible implementations of each method embodiment, can be executed individually or in combination of any two or more. The specific implementation can be determined according to actual usage requirements, and this application does not impose any restrictions on this.

[0227] The operation execution method provided in this application can be executed by an electronic device or an operation execution device. This application uses an operation execution device to execute the operation execution method as an example to illustrate the operation execution device provided in this application.

[0228] Figure 6 A schematic diagram of a possible structure of the operation execution device involved in an embodiment of this application is shown. For example... Figure 6As shown, the operation execution device 700 may include a processing module 701 and a reporting module 702.

[0229] The processing module 701 is used to perform cell ping-pong monitoring when the terminal is in an idle state; the reporting module 702 is used to report the ping-pong event to the terminal's processing module 701 when the terminal detects N ping-pong anomalies; the processing module 701 is also used to perform a target operation based on the signal quality of each cell where the terminal is camped when the ping-pong anomaly occurs; where N is a positive integer; the target operation includes at least one of the following: locking a first cell and blocking a second cell; where the first cell is a cell with a signal quality greater than or equal to a first threshold among the cells where the terminal is camped when the ping-pong anomaly occurs; and the second cell is a cell with a signal quality less than or equal to a second threshold among the cells where the terminal is camped when the ping-pong anomaly occurs.

[0230] Optionally, in some embodiments of this application, combined with Figure 6 ,like Figure 7 As shown, the above-mentioned device 700 further includes: an acquisition module 703; the acquisition module 703 is used to acquire the current status information of the terminal before the execution module performs the cell ping-pong monitoring; the processing module 701 is also used to determine that the terminal is in an idle state when the status information meets predetermined conditions; wherein the status information includes at least one of the following: the screen status of the terminal at the current moment, the background task execution status of the terminal, and whether the terminal has received user operation within a preset time period;

[0231] The above status information meets at least one of the following predetermined conditions:

[0232] The current time is within the preset time period;

[0233] The aforementioned terminal is currently in a screen-off state;

[0234] The aforementioned terminal is currently in a state where no background tasks are being executed;

[0235] The aforementioned terminal did not receive any user operation within the preset time period.

[0236] Optionally, in some embodiments of this application, the processing module 701 is further configured to determine that the terminal has a ping-pong anomaly when the cumulative number of times the serving cell where the terminal is stationed changes is M and X suspected ping-pong anomalies occur; M and X are positive integers.

[0237] A suspected ping-pong anomaly is identified if any of the following conditions are met:

[0238] The service cell where the terminal is located has changed;

[0239] The serving cell where the terminal is camped has not changed, the first signal difference corresponding to the serving cell where the terminal is camped is less than or equal to the third threshold, and the terminal detects fluctuations in the signal strength of neighboring cells during the period when it camps in the serving cell.

[0240] Optionally, in some embodiments of this application, the processing module 701 is further configured to monitor the signal quality of the first neighboring cell within K consecutive measurement periods when a change is detected in the neighboring cell with the best signal quality corresponding to the serving cell where the terminal is camped, where K is a positive integer greater than 1; the processing module 701 is further configured to determine that the terminal detected a fluctuation in the signal strength of a neighboring cell during the service cell camping period when the difference between the signal quality of the first neighboring cell in the reference measurement period within the K measurement periods and the signal quality of the first neighboring cell in other measurement periods is greater than a fourth threshold; wherein, the first neighboring cell is the neighboring cell with the best signal quality among all the neighboring cells of the serving cell where the terminal is camped.

[0241] Optionally, in some embodiments of this application, the processing module 701 is further configured to monitor the signal quality of the second neighboring cell within L consecutive measurement periods, where L is a positive integer greater than 1, when the neighboring cell with the best signal quality corresponding to the service where the terminal is camped has not changed; the processing module 701 is further configured to determine that the terminal detected a neighboring cell signal strength fluctuation during the service cell camping period when the difference between the signal quality of the second neighboring cell in the reference measurement period of the L measurement periods and the signal quality of the second neighboring cell in other measurement periods is greater than a fifth threshold; wherein, the second neighboring cell is the neighboring cell with the best signal quality among all the neighboring cells of the service cell where the terminal is camped.

[0242] In the operation execution device provided in this application embodiment, when the operation execution device is in an idle state, it performs cell ping-pong monitoring; when the operation execution device detects N ping-pong anomalies, it reports ping-pong events to the operation execution device, where N is a positive integer; based on the signal quality of each cell where the operation execution device is camped when the ping-pong anomaly occurs, it performs a target operation; wherein, the target operation includes at least one of the following: locking a first cell and blocking a second cell; the first cell is a cell among the cells where the operation execution device is camped when the ping-pong anomaly occurs that has a signal quality greater than or equal to a first threshold; the second cell is a cell among the cells where the operation execution device is camped when the ping-pong anomaly occurs that has a signal quality less than or equal to a second threshold. In this solution, the operation execution device performs cell ping-pong monitoring independently. This allows the operation execution device to promptly determine if ping-pong anomalies have occurred without affecting its services, and to proactively report ping-pong events. This enables the operation execution device to promptly identify and execute the corresponding target operations, ensuring that the operation execution device performs ping-pong optimization in a timely manner, i.e., the aforementioned target operations. This avoids frequent ping-pong handovers by the operation execution device, thereby ensuring that the operation execution device can perform communication services normally and improving the communication quality of the operation execution device.

[0243] The operation execution method provided in this application can be executed by a terminal. This application uses a terminal executing the operation execution method as an example to illustrate the terminal provided in this application embodiment.

[0244] Figure 8 A schematic diagram of a possible structure of the terminal involved in an embodiment of this application is shown. For example... Figure 8 As shown, the terminal 800 may include a modem processor 801 and an application processor 802.

[0245] The modem processor 801 is configured to perform cell ping-pong monitoring when the terminal is in an idle state. The modem processor 801 is also configured to report a ping-pong event to the application processor 802 when the terminal detects N instances of ping-pong anomalies, where N is a positive integer. The application processor 802 is configured to perform a target operation based on the signal quality of each cell where the terminal is camped when the ping-pong anomaly occurs. The target operation includes at least one of the following: locking a first cell and disabling a second cell. The first cell is a cell among the cells where the terminal is camped when the ping-pong anomaly occurs that has a signal quality greater than or equal to a first threshold. The second cell is a cell among the cells where the terminal is camped when the ping-pong anomaly occurs that has a signal quality less than or equal to a second threshold.

[0246] Optionally, in some embodiments of this application, the application processor 802 is further configured to obtain the current status information of the terminal before the modem processor 801 performs cell ping-pong monitoring; the application processor 802 is further configured to determine that the terminal is in an idle state when the status information meets predetermined conditions; wherein the status information includes at least one of the following: the screen status of the terminal at the current moment, the background task execution status of the terminal, and whether the terminal has received user operation within a preset time period; the predetermined conditions for the status information to meet include at least one of the following:

[0247] The current time is within the preset time period;

[0248] The aforementioned terminal is currently in a screen-off state;

[0249] The aforementioned terminal is currently in a state where no background tasks are being executed;

[0250] The aforementioned terminal did not receive any user operation within the preset time period.

[0251] Optionally, in some embodiments of this application, the modem processor 801 is further configured to determine that the terminal has experienced a ping-pong anomaly when the cumulative number of times the serving cell where the terminal is camped is changed is M and X suspected ping-pong anomalies occur; M and X are positive integers.

[0252] A suspected ping-pong anomaly is identified if any of the following conditions are met:

[0253] The service cell where the aforementioned terminals reside has changed;

[0254] The serving cell where the terminal is stationed has not changed, the first signal difference corresponding to the serving cell where the terminal is stationed is less than or equal to the third threshold, and the terminal detects fluctuations in the signal strength of neighboring cells during the period of stationing in the serving cell.

[0255] Optionally, in some embodiments of this application, the modem processor 801 is further configured to monitor the signal quality of the first neighboring cell within K consecutive measurement periods when a change is detected in the neighboring cell with the best signal quality corresponding to the serving cell where the terminal is camped, where K is a positive integer greater than 1; the modem processor 801 is further configured to determine that the terminal detected a neighboring cell signal strength fluctuation during the service cell camping period when the difference between the signal quality of the first neighboring cell in the reference measurement period of the K measurement periods and the signal quality of the first neighboring cell in other measurement periods is greater than a fourth threshold; wherein, the first neighboring cell is the neighboring cell with the best signal quality among all the neighboring cells of the serving cell where the terminal is camped.

[0256] Optionally, in some embodiments of this application, the modem processor 801 is further configured to monitor the signal quality of the second neighboring cell within L consecutive measurement periods, where L is a positive integer greater than 1, when the signal quality of the neighboring cell with the best signal quality corresponding to the serving cell where the terminal is camped has not changed; the modem processor 801 is further configured to determine that the terminal detected a neighboring cell signal strength fluctuation during the service cell camping period when the difference between the signal quality of the second neighboring cell in the reference measurement period of the L measurement periods and the signal quality of the second neighboring cell in other measurement periods is greater than a fifth threshold; wherein, the second neighboring cell is the neighboring cell with the best signal quality among all the neighboring cells of the serving cell where the terminal is camped.

[0257] In the terminal provided in this application embodiment, when the terminal is in an idle state, the terminal's modem processor performs cell ping-pong monitoring; when the terminal detects N ping-pong anomalies, the modem processor reports the ping-pong event to the terminal's application processor, where N is a positive integer; the application processor performs a target operation based on the signal quality of each cell where the terminal is camped when the ping-pong anomaly occurs; wherein, the target operation includes at least one of the following: locking a first cell and blocking a second cell; the first cell is a cell among the cells where the terminal is camped when the ping-pong anomaly occurs that has a signal quality greater than or equal to a first threshold; the second cell is a cell among the cells where the terminal is camped when the ping-pong anomaly occurs that has a signal quality less than or equal to a second threshold. In this solution, the terminal performs cell ping-pong monitoring independently through its modem processor. This allows the terminal to promptly determine if ping-pong anomalies have occurred without affecting its services, and proactively report ping-pong events to its application processor. The application processor then determines the appropriate target operation, ensuring timely execution of ping-pong optimization (the aforementioned target operation). This avoids frequent ping-pong handovers, prevents signaling storms, reduces power consumption, and ultimately ensures the terminal can perform communication services normally, thus improving communication quality.

[0258] The operation execution device in the embodiments of this application can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, handheld computer, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. The embodiments of this application do not specifically limit the scope.

[0259] The operation execution device in this application embodiment can be a device with an operating system. The operating system can be Android, iOS, or other possible operating systems, and this application embodiment does not specifically limit it.

[0260] The operation execution device provided in this application embodiment can realize the various processes implemented in the operation execution method embodiment and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0261] Optionally, such as Figure 9 As shown, this application embodiment also provides an electronic device 900, including a processor 901 and a memory 902. The memory 902 stores a program or instructions that can run on the processor 901. When the program or instructions are executed by the processor 901, they implement the various steps of the above-described operation execution method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0262] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0263] Figure 10 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of this application, wherein the electronic device can be a terminal in this embodiment.

[0264] The electronic device 100 includes, but is not limited to, components such as: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110. The processor 110 includes a modem processor 1101 and an application processor 1102.

[0265] Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 10 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0266] The modem processor 1101 is configured to perform cell ping-pong monitoring when the terminal is in an idle state. The modem processor 1101 is also configured to report a ping-pong event to the application processor 1102 when the terminal detects N ping-pong anomalies, where N is a positive integer. The application processor 1102 is configured to perform a target operation based on the signal quality of each cell where the terminal is camped when the ping-pong anomaly occurs. The target operation includes at least one of the following: locking a first cell and disabling a second cell. The first cell is the cell where the terminal is camped when the ping-pong anomaly occurs, and the second cell is the cell where the terminal is camped when the ping-pong anomaly occurs, and the signal quality is less than or equal to a second threshold.

[0267] Optionally, in some embodiments of this application, the application processor 1102 is further configured to obtain the current status information of the terminal before the modem processor 1101 performs cell ping-pong monitoring; the application processor 1102 is further configured to determine that the terminal is in an idle state when the status information meets predetermined conditions; wherein the status information includes at least one of the following: the screen status of the terminal at the current moment, the background task execution status of the terminal, and whether the terminal has received user operation within a preset time period; the predetermined conditions for the status information to meet include at least one of the following:

[0268] The current time is within the preset time period;

[0269] The aforementioned terminal is currently in a screen-off state;

[0270] The aforementioned terminal is currently in a state where no background tasks are being executed;

[0271] The aforementioned terminal did not receive any user operation within the preset time period.

[0272] Optionally, in some embodiments of this application, the modem processor 1101 is further configured to determine that the terminal has experienced a ping-pong anomaly when the cumulative number of times the serving cell where the terminal is camped is changed is M and X suspected ping-pong anomalies occur; M and X are positive integers.

[0273] A suspected ping-pong anomaly is identified if any of the following conditions are met:

[0274] The service cell where the aforementioned terminals reside has changed;

[0275] The serving cell where the terminal is stationed has not changed, the first signal difference corresponding to the serving cell where the terminal is stationed is less than or equal to the third threshold, and the terminal detects fluctuations in the signal strength of neighboring cells during the period of stationing in the serving cell.

[0276] Optionally, in some embodiments of this application, the modem processor 1101 is further configured to monitor the signal quality of the first neighboring cell within K consecutive measurement periods when a change is detected in the neighboring cell with the best signal quality corresponding to the serving cell where the terminal is camped, where K is a positive integer greater than 1; the modem processor 1101 is further configured to determine that the terminal detected a neighboring cell signal strength fluctuation during the service cell camping period when the difference between the signal quality of the first neighboring cell in the reference measurement period of the K measurement periods and the signal quality of the first neighboring cell in other measurement periods is greater than a fourth threshold; wherein, the first neighboring cell is the neighboring cell with the best signal quality among all the neighboring cells of the serving cell where the terminal is camped.

[0277] Optionally, in some embodiments of this application, the modem processor 1101 is further configured to monitor the signal quality of the second neighboring cell within L consecutive measurement periods, where L is a positive integer greater than 1, when the signal quality of the neighboring cell with the best signal quality corresponding to the serving cell where the terminal is camped has not changed; the modem processor 1101 is further configured to determine that the terminal detected a neighboring cell signal strength fluctuation during the service cell camping period when the difference between the signal quality of the second neighboring cell in the reference measurement period of the L measurement periods and the signal quality of the second neighboring cell in other measurement periods is greater than a fifth threshold; wherein, the second neighboring cell is the neighboring cell with the best signal quality among all the neighboring cells of the serving cell where the terminal is camped.

[0278] In the terminal provided in this application embodiment, when the terminal is in an idle state, the terminal's modem processor performs cell ping-pong monitoring; when the terminal detects N ping-pong anomalies, the modem processor reports the ping-pong event to the terminal's application processor, where N is a positive integer; the application processor performs a target operation based on the signal quality of each cell where the terminal is camped when the ping-pong anomaly occurs; wherein, the target operation includes at least one of the following: locking a first cell and blocking a second cell; the first cell is a cell among the cells where the terminal is camped when the ping-pong anomaly occurs that has a signal quality greater than or equal to a first threshold; the second cell is a cell among the cells where the terminal is camped when the ping-pong anomaly occurs that has a signal quality less than or equal to a second threshold. In this solution, the terminal performs cell ping-pong monitoring independently through its modem processor. This allows the terminal to promptly determine if ping-pong anomalies have occurred without affecting its services, and proactively report ping-pong events to its application processor. The application processor then determines the appropriate target operation, ensuring timely execution of ping-pong optimization (the aforementioned target operation). This avoids frequent ping-pong handovers, prevents signaling storms, reduces power consumption, and ultimately ensures the terminal can perform communication services normally, thus improving communication quality.

[0279] It should be understood that, in this embodiment, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0280] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 109 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0281] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.

[0282] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described operation execution method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0283] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0284] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described operation execution method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0285] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0286] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the above-described operation execution method embodiments, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0287] It should be noted that, in this document, 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 that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0288] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0289] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. An operation execution method, characterized in that, The method includes: When the terminal is in an idle state, it performs cell ping-pong monitoring through the terminal's modem processor; If the terminal detects N ping-pong anomalies, the modem processor reports the ping-pong event to the application processor of the terminal, where N is a positive integer. The application processor performs the target operation based on the signal quality of each cell in which the terminal is camped when the ping-pong anomaly occurs; The target operation includes at least one of the following: locking the first cell and blocking the second cell; The first cell is the cell in which the terminal camps when it experiences a ping-pong anomaly, and ...

2. The method according to claim 1, characterized in that, Before the cell ping-pong monitoring is performed by the modem processor of the terminal, the method further includes: The terminal obtains its current status information through the application processor; If the status information meets predetermined conditions, it is determined that the terminal is in an idle state; The status information includes at least one of the following: the screen status of the terminal at the current moment, the background task execution status of the terminal, and whether the terminal has received user operation within a preset time period. The status information satisfies at least one of the following predetermined conditions: The current time is within the preset time period; The terminal is currently in a screen-off state; The terminal is currently in a state where no background tasks are being executed. The terminal did not receive any user operation within a preset time period.

3. The method according to claim 1, characterized in that, The method further includes: If the cumulative number of times the serving cell where the terminal is camped changes is M, and X suspected ping-pong anomalies occur, it is determined that the terminal has experienced one ping-pong anomaly; M and X are positive integers. A suspected ping-pong anomaly is identified if any of the following conditions are met: The serving cell where the terminal is hosted has changed; The serving cell where the terminal is stationed has not changed, the first signal difference corresponding to the serving cell where the terminal is stationed is less than or equal to the third threshold, and the terminal detects fluctuations in the signal strength of neighboring cells during the period of stationing in the serving cell.

4. The method according to claim 3, characterized in that, The method further includes: If the neighboring cell with the best signal quality corresponding to the serving cell where the terminal is camped changes, the signal quality of the first neighboring cell is monitored for K consecutive measurement periods, where K is a positive integer greater than 1. If the difference between the signal quality of the first neighboring cell in the reference measurement period of the K measurement periods and the signal quality of the first neighboring cell in other measurement periods is greater than the fourth threshold, it is determined that the terminal detected a fluctuation in the signal strength of the neighboring cell during the serving cell stay. The first neighboring cell is the neighboring cell with the best signal quality among all the neighboring cells of the serving cell.

5. The method according to claim 3, characterized in that, The method further includes: If the neighboring cell with the best signal quality corresponding to the serving cell where the terminal is camped remains unchanged, monitor the signal quality of the second neighboring cell for L consecutive measurement periods, where L is a positive integer greater than 1. If the difference between the signal quality of the second neighboring cell in the reference measurement period of the L measurement periods and the signal quality of the second neighboring cell in other measurement periods is greater than the fifth threshold, it is determined that the terminal detected a fluctuation in the signal strength of the neighboring cell during the serving cell stay. The second neighboring cell is the neighboring cell with the best signal quality among all the neighboring cells of the serving cell.

6. A terminal, characterized in that, The terminal includes a modem processor and an application processor; The modem processor is used to perform cell ping-pong monitoring when the terminal is in an idle state; The modem processor is also configured to report a ping-pong event to the application processor when the terminal detects N ping-pong anomalies, where N is a positive integer; The application processor is used to perform target operations based on the signal quality of each cell in which the terminal is camped when the ping-pong anomaly occurs. The target operation includes at least one of the following: locking the first cell and blocking the second cell; The first cell is the cell in which the terminal camps when it experiences a ping-pong anomaly, and ...

7. The terminal according to claim 6, characterized in that, The application processor is also used to obtain the current status information of the terminal before the modem processor performs cell ping-pong monitoring; The application processor is further configured to determine that the terminal is in an idle state when the state information meets predetermined conditions; The status information includes at least one of the following: the screen status of the terminal at the current moment, the background task execution status of the terminal, and whether the terminal has received user operation within a preset time period. The status information satisfies at least one of the following predetermined conditions: The current time is within the preset time period; The terminal is currently in a screen-off state; The terminal is currently in a state where no background tasks are being executed. The terminal did not receive any user operation within a preset time period.

8. The terminal according to claim 6, characterized in that, The modem processor is further configured to determine that the terminal has experienced a ping-pong anomaly when the cumulative number of times the serving cell where the terminal is camped is M and X suspected ping-pong anomalies occur. M and X are positive integers; A suspected ping-pong anomaly is identified if any of the following conditions are met: The serving cell where the terminal is hosted has changed; The serving cell where the terminal is stationed has not changed, the first difference corresponding to the serving cell where the terminal is stationed is less than or equal to the third threshold, and the terminal detects fluctuations in the signal strength of neighboring cells during the period of stationing in the serving cell.

9. The terminal according to claim 8, characterized in that, The modem processor is also used to monitor the signal quality of the first neighboring cell within K consecutive measurement periods when it detects a change in the neighboring cell with the best signal quality corresponding to the serving cell where the terminal is camped, where K is a positive integer greater than 1. The modem processor is further configured to determine that the terminal detected a neighboring cell signal strength fluctuation during the serving cell stay if the difference between the signal quality of the first neighboring cell in the reference measurement period of the K measurement periods and the signal quality of the first neighboring cell in other measurement periods is greater than a fourth threshold. The first neighboring cell is the neighboring cell with the best signal quality among all the neighboring cells of the serving cell.

10. The terminal according to claim 8, characterized in that, The modem processor is also used to monitor the signal quality of the second neighboring cell for L consecutive measurement periods, where L is a positive integer greater than 1, when it is detected that the neighboring cell with the best signal quality corresponding to the serving cell where the terminal is camped has not changed. The modem processor is further configured to determine that the terminal detected a neighboring cell signal strength fluctuation during the serving cell stay if the difference between the signal quality of the first neighboring cell in the reference measurement period in the L measurement periods and the signal quality of the second neighboring cell in other measurement periods is greater than a fifth threshold. The second neighboring cell is the neighboring cell with the best signal quality among all the neighboring cells of the serving cell.

11. A terminal, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the operation execution method as described in any one of claims 1 to 5.

12. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the operation execution method as described in any one of claims 1 to 5.

Citation Information

Cited By

  • Abnormal neighbor cell identification method, neighbor cell measurement optimization method and mobile terminal

    CN121865308A

  • Abnormal neighbor cell identification method, neighbor cell measurement optimization method, and mobile terminal

    CN121865308B