Handover restriction method, apparatus and electronic device for voice service
By identifying ping-pong events and updating the ping-pong count, the access suppression duration is dynamically adjusted, resolving the ping-pong handover issue between cellular networks and wireless LANs, and improving the stability of voice services and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN YI ZHAO TECHNOLOGY CO LTD
- Filing Date
- 2026-04-16
- Publication Date
- 2026-07-10
AI Technical Summary
Existing technologies cannot effectively suppress ping-pong handover in voice service handover strategies between cellular networks and wireless LANs, resulting in frequent ping-pong handovers in complex network environments and affecting user experience.
By identifying the most recently accessed wireless access point in a ping-pong event, updating the ping-pong count, and dynamically adjusting the access suppression duration based on the ping-pong count, handover operations are selectively restricted, thus achieving adaptive handover control.
Precisely suppress ping-pong switching to prevent frequent back-and-forth switching, while allowing users to actively switch according to their needs, thereby improving the stability of voice services and user experience.
Smart Images

Figure CN122373084A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of mobile communication technology, and in particular to a method, apparatus, and electronic device for restricting the switching of voice services. Background Technology
[0002] With the development of mobile communication technology, User Equipment (UE) typically supports multiple wireless access technologies, such as cellular networks (LTE / NR) and wireless local area networks (WLAN / WiFi). When conducting voice communication, UE can switch between different bearer methods depending on the network environment. For example, in IMS voice services, UE can switch between VoLTE / VoNR (cellular voice) and VoWiFi (WiFi voice) to optimize the voice experience.
[0003] Existing handover strategies primarily rely on simple threshold comparisons of signal strength (such as RSRP and RSSI) and introduce fixed hysteresis and trigger-hold time (TTT / Timer) to suppress frequent round-trip (also known as ping-pong) handovers at the edge of coverage. However, traditional signal strength metrics are no longer sufficient to fully characterize the voice service experience of VoWiFi; and fixed trigger-hold times are difficult to adapt to complex and ever-changing network environments.
[0004] Furthermore, existing solutions lack the ability to remember and adaptively adjust to historical switching behaviors, and cannot dynamically adjust the suppression strategy according to the actual frequency of ping-pong occurrences, resulting in insufficient suppression when it is truly needed, or excessive restriction when it is not needed.
[0005] Therefore, there is an urgent need for an adaptive voice service switching technology that can balance the ping-pong suppression effect with the user's active switching needs. Summary of the Invention
[0006] In view of this, this disclosure provides a voice service handover restriction scheme, which adaptively and dynamically adjusts the access suppression duration and implements a real-time differentiated handover control strategy during the effective suppression period. This aims to accurately suppress the ping-pong handover effect in complex network environments, and can significantly improve the user's voice service experience while ensuring network stability.
[0007] According to a first aspect of this disclosure, a method for restricting handover of voice services is provided, applied to a user equipment supporting voice services carried by a cellular network and a wireless local area network (WLAN), wherein the user equipment is connected to the WLAN through any one of a plurality of wireless access points, wherein the method includes: in response to detecting a ping-pong event in which the voice service performs a round-trip handover between the cellular network and the WLAN, identifying a first wireless access point among the plurality of wireless access points where the voice service most recently accessed, and updating a ping-pong count value of the first wireless access point; calculating an access suppression duration for the voice service based on the ping-pong count value of the first wireless access point; and selectively restricting the operation of handing over the voice service from the cellular network to the WLAN according to the access suppression duration of the voice service.
[0008] According to a second aspect of this disclosure, a voice service handover restriction device is provided, applied to a user equipment supporting voice services carried by a cellular network and a wireless local area network, the user equipment being connected to the wireless local area network through multiple wireless access points, wherein the device comprises: a detection module configured to, in response to detecting a ping-pong event of a round-trip handover of the voice service between the cellular network and the wireless local area network, identify a first wireless access point among the multiple wireless access points where the voice service most recently accessed, and update the ping-pong count value of the first wireless access point; a calculation module configured to, based on the ping-pong count value of the first wireless access point, calculate an access suppression duration of the voice service corresponding to the first wireless access point; and a control module configured to, based on the access suppression duration of the voice service corresponding to the first wireless access point, selectively restrict the operation of the voice service handing over from the cellular network to the wireless local area network through the first wireless access point.
[0009] According to a third aspect of this disclosure, an electronic device is provided, comprising: a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus; the memory is configured to store at least one executable instruction, and the processor is configured to perform the following operations by executing the executable instruction: in response to detecting a ping-pong event in which the voice service performs a round-trip handover between the cellular network and the wireless local area network, identifying a first wireless access point among a plurality of wireless access points where the voice service most recently accessed, and updating the ping-pong count value of the first wireless access point; calculating an access suppression duration for the voice service based on the ping-pong count value of the first wireless access point; and selectively restricting the operation of switching the voice service from the cellular network to the wireless local area network according to the access suppression duration of the voice service.
[0010] According to a fourth aspect of this disclosure, a computer-readable storage medium is provided, wherein computer instructions are stored thereon, which, when executed by a processor, cause the processor to perform the voice service switching restriction method as described in the first aspect.
[0011] According to the voice service handover restriction scheme provided in this disclosure, by identifying the most recently accessed wireless access point in a ping-pong event and updating its corresponding ping-pong count value, the access suppression duration of the voice service is dynamically adjusted to accurately suppress the ping-pong handover effect in complex network environments. Through selective handover restriction operations, frequent round trips under automatic mechanisms are prevented, while also providing room for manual user intervention or operation in specific scenarios, thus improving the user experience of voice services. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings.
[0013] Figure 1 This is a flowchart illustrating a voice service handover restriction method as an exemplary embodiment of this disclosure.
[0014] Figure 2 This is a flowchart illustrating a method for restricting the handover of voice services, which is another exemplary embodiment of this disclosure.
[0015] Figure 3 This is a flowchart illustrating a method for restricting the handover of voice services, which is another exemplary embodiment of this disclosure.
[0016] Figure 4 This is a structural block diagram of a voice service switching restriction device, which is an exemplary embodiment of this disclosure.
[0017] Figure 5 This is a structural block diagram of an electronic device that is an exemplary embodiment of the present disclosure. Detailed Implementation
[0018] To enable those skilled in the art to better understand the technical solutions in the embodiments of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and thoroughly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art should fall within the protection scope of this disclosure.
[0019] Reference is made to the accompanying drawings, which form part of the detailed description and illustrate exemplary embodiments. Furthermore, it should be understood that other embodiments may be utilized, and structural and / or logical changes may be made without departing from the scope of the claimed subject matter. It should also be noted that orientations and references (e.g., up, down, top, bottom, etc.) may be used merely to facilitate the description of features in the drawings. Therefore, the following detailed description is not to be construed in a limiting sense, and the scope of the claimed subject matter is defined only by the appended claims and their equivalents.
[0020] Numerous details are set forth in the following description. However, it will be apparent to those skilled in the art that the embodiments described herein can be practiced without these specific details. In some instances, well-known methods and apparatus are shown in block diagram form rather than in detail to avoid obscuring the embodiments described herein. Throughout this specification, references to “embodiment,” “one embodiment,” or “some embodiments” mean that a particular feature, structure, function, or characteristic described in connection with that embodiment is included in at least one embodiment herein. Therefore, the phrases “in an embodiment,” “in one embodiment,” or “some embodiments” appearing throughout this specification do not necessarily refer to the same embodiment. Furthermore, in one or more embodiments, particular features, structures, functions, or characteristics can be combined in any suitable manner. For example, a first embodiment can be combined with a second embodiment in any way that does not mutually exclude particular features, structures, functions, or characteristics associated with two embodiments.
[0021] As used in the description and appended claims, the singular forms “a” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
[0022] As described throughout this document and in the claims, a list of items connected by the terms “at least one of” or “one or more of” may mean any combination of the listed items. For example, the phrase “at least one of A, B, or C” may mean A; B; C; A and B; A and C; B and C; or A, B, and C.
[0023] With the development of mobile communication technology, user equipment (UE) typically supports both cellular network voice services and wireless LAN voice services, such as Voice over LTE (VoLTE), Voice over New Radio (VoNR), and Voice over WiFi (VoWiFi). UE can switch between different bearer methods based on the network environment during voice communication.
[0024] In existing technologies, network switching is typically controlled through threshold judgment or timer mechanisms. For example, when the cellular signal strength is below a certain threshold, the user equipment switches to wireless LAN voice service; when the wireless LAN signal is weak, it falls back to cellular network voice service.
[0025] To avoid frequent handovers between different networks for voice services, a fixed-duration suppression timer is typically set. Once a user equipment completes a network handover, a reverse handover is prohibited for the timer's validity period to reduce ping-pong handovers. However, this fixed-duration timer mechanism has significant drawbacks: if the suppression timer is set for a short period, it cannot effectively suppress frequent handovers; if the suppression timer is set for a long period, it will restrict normal network handover operations.
[0026] For example, in a multi-access point (AP) coverage environment where seamless roaming is not supported between APs, when a user device actively switches from one AP (e.g., AP1) to another (e.g., AP2), the disconnection of the original AP (AP1) may cause voice services to fall back to the cellular network. When the user device attempts to connect to the new AP (AP2), the switching operation is unreasonably blocked because it is still within the validity period of the timer. This prevents the user device from resuming the wireless LAN voice service in a timely manner, resulting in a degraded user experience such as call delays, silence, or user waiting.
[0027] Based on the various problems existing in the prior art, the embodiments of this disclosure provide a voice service handover suppression method based on adaptive duration, which can intelligently sense the network status: when a ping-pong handover event is detected, the suppression duration is dynamically increased to effectively curb frequent unnecessary handovers; while in non-ping-pong scenarios (especially in response to user-initiated AP handover requests), the re-association of wireless access points and long-term blocking of handover operations can be effectively avoided, thereby ensuring the stability of voice services while ensuring the immediate response to user intentions and service continuity.
[0028] The specific implementations of the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings: Methods for restricting voice service switching Figure 1 This is a flowchart illustrating a voice service handover restriction method as an exemplary embodiment of this disclosure.
[0029] The voice service handover restriction method provided in this embodiment is widely applicable to various user equipment (UEs) that support dual-mode voice services carried by cellular mobile communication networks (such as 4G LTE, 5G NR) and wireless local area networks (WLAN / Wi-Fi). User equipment can include not only mobile terminals such as smartphones, tablets, and wearable devices, but also Internet of Things (IoT) terminals and vehicle communication units that support VoWiFi functionality. In this embodiment, the user equipment can access the wireless local area network through any one of multiple wireless access points (APs). For example, within the coverage area of the wireless local area network, multiple wireless access points (APs) are deployed, and the user equipment (such as a mobile phone) can dynamically select the most suitable AP to connect to based on factors such as signal quality and load conditions.
[0030] like Figure 1 As shown, the voice service switching restriction method in this embodiment mainly includes the following: Step 102: In response to the detection of a ping-pong event in which voice service makes a round-trip handover between the cellular network and the wireless LAN, identify the first wireless access point among multiple wireless access points where the voice service last accessed, and update the ping-pong count value of the first wireless access point.
[0031] In some embodiments, ping-pong events in voice services can be detected in the following ways: The system records all handover events for voice services between cellular networks and wireless LANs, and arranges these handover events in order of their recorded timestamps to generate a handover event sequence. In response to detecting a handover of voice services from cellular network to wireless LAN or vice versa, based on the handover events recorded in the handover event sequence, the system detects the actual number of round-trip handovers between cellular and wireless networks within a preset detection time window. In response to detecting that the actual number of round-trip handovers for voice services is greater than or equal to a preset round-trip threshold, a ping-pong event is determined to have occurred, and the event timestamp of the ping-pong event is recorded.
[0032] For example, the user equipment can continuously collect and record various handover events related to voice service bearers, and sort the handover events according to their recording timestamps to construct a voice handover event sequence (VoiceSwitchLog). Each handover event record includes at least: the handover time and the voice bearer standard (e.g., VoLTE, VoNR, or VoWiFi). Further, when the voice bearer standard is identified as VoWiFi, the record will also include the currently connected radio access point (AP) information; preferably, the AP information specifically includes the basic service set identifier (BSSID) of the radio access point to achieve more refined trajectory tracking.
[0033] For example, the system can trigger a ping-pong event detection process in response to a user equipment detecting a cross-standard handover of the voice service bearer plane. Specific scenarios include: (1) the voice service falls back from the cellular network (VoLTE / VoNR) to the wireless local area network (VoWiFi); (2) the voice service switches from the wireless local area network (VoWiFi) to the cellular network (VoLTE / VoNR). Once the ping-pong event detection process is triggered, the system immediately calls the handover event sequence (VoiceSwitchLog) and can use a sliding time window for backtracking analysis to determine whether the voice service is switching back and forth between the cellular network and the wireless local area network (i.e., VoWiFi→VoLTE / VoNR→VoWiFi or VoLTE / VoNR→VoWiFi→VoLTE / VoNR). If the determination result is yes, the system counts the actual number of round-trip handovers (Npp_act) of the voice service between the cellular network and the wireless local area network within the preset detection time window (TppWin). The actual number of round-trip handovers (Npp_act) is compared with the preset round-trip threshold (Npp_th). If the actual number of round-trip handovers for the voice service is greater than or equal to the preset round-trip threshold (i.e., Npp_act ≥ Npp_th), it can be determined that a ping-pong event has occurred in the voice service, and an event timestamp of the ping-pong event (i.e., last_pp = now) is generated based on the current time.
[0034] In some embodiments, the system abandons the crude statistical method of counting each handover and instead adopts a more refined ping-pong count update strategy. For the first wireless access point, one or a combination of the following two update methods can be flexibly selected based on the complexity of the network environment and service requirements: Method 1: Determine the ping-pong count value of the first wireless access point based on the actual number of accesses during the ping-pong event. In this mode, the ping-pong count value... The ping-pong count is directly mapped to the actual number of valid accesses to the first wireless access point. It is calculated each time a voice service successfully completes a handover from the cellular network to the first wireless access point, or when a complete handover-in / handover round trip occurs on the first wireless access point. This method is suitable for scenarios with relatively simple network environments and relatively regular signal fluctuations.
[0035] Method 2: Based on the number of accesses and accumulated weight of the first wireless access point The ping-pong count value of the first wireless access point is determined. In some embodiments, the weights are accumulated. The values can be preset fixed values or dynamically calculated based on one or more feature dimensions of the ping-pong event. For example, the accumulated weights can be dynamically calculated based on feature dimensions such as switching time, switching frequency, and switching reason of the ping-pong event. .
[0036] Step 104: Based on the ping-pong count value of the first wireless access point, calculate the access suppression duration of the voice service corresponding to the first wireless access point.
[0037] In some embodiments, a reference suppression duration for voice services can be calculated based on the ping-pong count value of the first wireless access point and a preset initial suppression duration, and the smaller of the reference suppression duration and the preset maximum suppression duration can be determined as the access suppression duration for voice services.
[0038] The calculation of the reference suppression duration for voice services satisfies the following formula 1: (Formula 1) In Formula 1, Indicates the reference inhibition duration. This indicates the preset initial suppression duration (e.g., 10 seconds). This represents the ping-pong count value of the first wireless access point.
[0039] Specifically, this scheme abandons the traditional fixed suppression duration strategy and instead constructs a ping-pong count value. Compared with reference inhibition duration The nonlinear exponential mapping relationship between the two enables adaptive dynamic adjustment of the access suppression duration. Specifically, this mapping relationship follows an exponential doubling law: the reference suppression duration doubles with each increment of the ping-pong count. This step-by-step penalty mechanism can exert a more severe suppression force on persistent ping-pong oscillations, thereby forcing the handover behavior to converge quickly to a stable state. In addition, this scheme introduces a dynamic refresh mechanism during the suppression period. If, within the current suppression validity period, an update is detected in the ping-pong count value of the first wireless access point (e.g., an oscillation is triggered again before the timer resets to zero), the ping-pong count value of the first wireless access point will be updated. (If the value is accumulated), the system will immediately trigger a recalculation process based on the updated ping-pong count value. Re-deriving the reference suppression duration The suppression period is then extended or reset accordingly. This dynamic adjustment process ensures that the suppression strategy always matches the current network jitter intensity, avoiding repeated oscillations caused by insufficient suppression duration.
[0040] Furthermore, to prevent the ping-pong count from being affected by extreme network failures... An abnormal surge in activity could lead to an excessively long reference suppression duration (e.g., several hours), causing users to be unable to access the Wi-Fi network for extended periods. This solution further introduces a hard upper limit protection mechanism by setting a preset maximum suppression duration. (For example, 600 seconds), if the calculated reference inhibition duration is less than the preset maximum inhibition duration (i.e., If the calculated reference suppression duration is greater than the preset maximum suppression duration, then the preset maximum suppression duration is determined as the access suppression duration for the voice service, referring to the following formula 2: (Formula 2) In Formula 2, Indicates the duration of access suppression. Indicates the reference inhibition duration. This indicates the preset maximum suppression duration.
[0041] In some embodiments, a stable time window can be determined based on the event timestamp of the most recent ping-pong event, and in response to a ping-pong event (associated with the ping-pong event in step 102) in which no voice service is detected within the stable time window, the ping-pong count value of the first wireless access point is restored to zero, and the access suppression duration for the voice service is restored to a preset initial suppression duration. .
[0042] Specifically, this embodiment no longer uses a fixed observation period, but instead uses the event timestamp of the most recently detected ping-pong event as the baseline anchor point to derive and construct a dynamic stable time window. During the stable time window, the system initiates a silent monitoring mode to perform correlation detection on ping-pong events related to voice services. If no ping-pong events are captured within the entire stable time window, it can be determined that the network environment has entered a steady-state operation period. A reset operation is then immediately triggered, clearing the ping-pong count value of the first wireless access point (i.e., the current serving AP or the source AP that triggered the suppression) to eliminate the impact of historical oscillation records on subsequent decisions. Based on the cleared ping-pong count value (i.e., ... Update the access suppression duration for voice services. In this embodiment, according to Formula 1 and Formula 2 above, we can obtain the value when the ping-pong count is zero (i.e., ...). When the access suppression duration for voice services is equal to the preset initial suppression duration (i.e., ...), the access suppression duration for voice services is equal to the preset initial suppression duration. ).
[0043] Step 106: Based on the access suppression duration of the voice service, selectively restrict the operation of switching the voice service from the cellular network to the wireless LAN.
[0044] In some embodiments, the timing duration of a timer can be set according to the access suppression duration of a voice service, and during the timer's timing operation based on the timing duration, the operation of switching the voice service from a cellular network to a wireless local area network can be selectively restricted, thereby achieving dynamic ping-pong oscillation suppression.
[0045] For example, after calculating the access suppression duration for voice services, the access suppression duration can be written into a timer to set the timer's duration (SuppressTimer), and then the timer can be started to perform the timed operation. The timer's duration is the effective suppression period for the voice service.
[0046] In some embodiments, in response to detecting that a voice service has successfully accessed a cellular network or a wireless local area network, or detecting that a voice service has successfully switched between a cellular network and a wireless local area network, the access suppression duration of the voice service is re-queried, and the timer duration is refreshed based on the re-queried access suppression duration of the voice service.
[0047] For example, when a user equipment (UE) detects a critical change in the voice service status, such as when the UE successfully accesses a cellular network (VoLTE / VoNR), successfully accesses a wireless local area network (VoWiFi), or completes a handover between a cellular network and a wireless local area network, the system will immediately trigger a timed update process.
[0048] The system can re-query the most recently calculated access suppression duration of the first wireless access point based on the user equipment's current or most recent access point (e.g., the first wireless access point). Based on the newly retrieved access suppression duration, the timer's duration (SuppressTimer) is refreshed, resetting its remaining duration to the latest access suppression duration. By using this automatic refresh mechanism of the timer duration, the timer duration can be automatically extended when user devices frequently switch between networks, thereby preventing reverse switching (i.e., switching from cellular network to wireless LAN) of user devices for a period of time after the user device has just connected to the network or successfully switched networks, thus improving the ping-pong suppression effect.
[0049] In some embodiments, in response to detecting an automatic handover event where voice service switches from a cellular network to a wireless LAN, the operation of switching voice service from a cellular network to a wireless LAN can be restricted; or in response to detecting a manual handover event where voice service switches from a cellular network to a wireless LAN, and the manual handover event meets preset manual handover conditions, the operation of switching voice service from a cellular network to a wireless LAN can be allowed. By distinguishing between "automatic handover events" and "manual handover times," only automatic handover events can be restricted during the effective suppression period, effectively suppressing ping-pong events caused by non-user intent, such as signal fluctuations; by conditionally allowing the execution of manual handover events, network handover response capabilities based on user intent can be guaranteed, improving the user experience.
[0050] To ensure users' proactive network quality optimization needs while strictly suppressing reverse handover (i.e., fallback from cellular network to Wi-Fi), this embodiment sets up a manual handover exception judgment logic. This logic only allows voice services to bypass the current access suppression period if at least one of the following deep constraints is met. (Restriction, force switch)
[0051] In some embodiments, the preset manual switching conditions may include at least: Condition 1: The target access point (Target AP) requested for a manual handover event is a different access point from the current access point (Current AP) where the voice service most recently accessed. Specifically, the system compares the Basic Service Set Identifiers (BSSIDs) of the target AP and the current AP; a handover request is considered valid only if they are different. This prevents false handover commands caused by rebroadcasting from the same AP or signal fluctuations.
[0052] Condition 2: The user equipment has successfully connected to the target wireless access point (AP) and meets the preset wireless LAN registration admission conditions. For example, when it is detected that the user equipment has successfully connected to the wireless LAN and the ePDG / IMS registration process is allowed to start, a determination result showing that the user equipment has successfully connected to the target wireless access point and meets the preset wireless LAN registration admission conditions can be obtained.
[0053] It should be noted that both the target wireless access point and the current wireless access point are selected from any node in the set of wireless access points. The target wireless access point or the current wireless access point can be the same physical entity as the first wireless access point, or they can be different physical entities.
[0054] This embodiment prevents false or invalid manual handover requests by limiting the conditions for manual handover. Specifically, by limiting the requirement that "the target AP is different from the current AP," the suppression mechanism can be bypassed due to signal fluctuations from the same AP or misjudging the request as a "manual handover," thereby enhancing the robustness of the handover decision. By limiting the requirement that "handover is only allowed when the user equipment has successfully connected to the target AP and meets the wireless LAN registration admission conditions," it can be ensured that voice services can truly be established on available VoWiFi bearers after handover, ensuring service continuity after handover.
[0055] In some embodiments, manual switching events based on user intent can be detected in the following ways: Acquire the network switching trigger signal, analyze the network switching trigger signal, and determine the network switching trigger signal as a manual switching event based on user intent if the network switching trigger signal meets the preset manual trigger conditions.
[0056] In some embodiments, the preset manual triggering conditions may include at least one of the following: (1) A connection request for the user equipment to connect to the wireless local area network is detected, wherein the connection request corresponds to a connection operation of any wireless access point. For example, when the user equipment receives a Wi-Fi connection request event in the system settings / framework layer (which can be triggered by the user clicking to connect to a wireless access point in the user interface).
[0057] (2) The wireless LAN disconnection indication information indicates that the wireless LAN disconnection is due to the user actively disconnecting the network or the user actively switching networks.
[0058] (3) Within a preset time period, a voice service is detected to switch between two wireless access points, wherein the two wireless access points may belong to the same roaming domain or different roaming domains. For example, when a voice service switches from the first wireless access point to the second wireless access point within a short period of time, and the first wireless access point and the second wireless access point belong to different roaming domains.
[0059] (4) No ping-pong event for voice service was detected during the handover process between two wireless access points by the user equipment. For example, during the handover process between the first wireless access point and the second wireless access point, no typical ping-pong alternating handover sequence was detected (i.e., linked to the ping-pong event detection in step 102).
[0060] This embodiment improves the accuracy of user intent recognition by defining a method for detecting manual switching events, thereby supporting reasonable switching events in complex network scenarios and enhancing the overall stability and user experience of voice services.
[0061] Figure 2A flowchart illustrating a voice service handover restriction method according to another exemplary embodiment of this application is shown. As shown in the figure, this embodiment mainly includes: Step 202: Record each handover event of voice service between cellular network and wireless LAN, generate a handover event sequence, and detect ping-pong events of voice service based on the voice handover event sequence.
[0062] In some embodiments, the user equipment can collect and record various handover events related to voice service bearers, sort the handover events according to their recording timestamps, and generate a voice handover event sequence (VoiceSwitchLog). Each handover event record includes at least: the handover time and the voice bearer standard (such as VoLTE, VoNR, or VoWiFi). When the voice bearer standard is identified as VoWiFi, the identification information (BSSID) of the currently connected radio access point is also recorded.
[0063] In some embodiments, in response to detecting that a voice service is switched from a cellular network to a wireless local area network or from a wireless local area network to a cellular network, the actual number of round-trip handovers of the voice service between the cellular network and the wireless local area network within a preset detection time window can be detected based on each handover event recorded in the handover event sequence.
[0064] For example, when a voice service is detected to fall back from a cellular network (VoLTE / VoNR) to a wireless local area network (VoWiFi), or to switch from a wireless local area network (VoWiFi) to a cellular network (VoLTE / VoNR), a ping-pong event detection process can be triggered to determine whether the voice service is switching back and forth between the cellular network and the wireless local area network based on each handover event recorded in the handover event sequence.
[0065] It should be noted that in the flowchart of this embodiment, step 202 is configured to be executed continuously in a loop. The operation of this step is independent, and its execution logic does not depend on the processing results of other steps in the process, nor is it interrupted or terminated due to the execution status of other steps.
[0066] Step 204: Determine whether a ping-pong event for voice services has been detected. If yes, proceed to step 206; otherwise, proceed to step 208.
[0067] In some embodiments, within a preset detection time window (TppWin), the actual number of round-trip handovers (Npp_act) of the voice service between the cellular network and the wireless local area network can be detected. If the actual number of round-trip handovers is greater than or equal to a preset round-trip threshold (i.e., Npp_act ≥ Npp_th), a determination result of detecting a ping-pong event is obtained; if the actual number of round-trip handovers is less than the preset round-trip threshold (i.e., Npp_act < Npp_th), a determination result of not detecting a ping-pong event is obtained.
[0068] Step 206: Identify the first wireless access point among multiple wireless access points where the voice service last accessed, update the ping-pong count value of the first wireless access point, and continue to execute step 210.
[0069] In some embodiments, the ping-pong count of the first wireless access point can be determined based on the actual number of accesses by the first wireless access point in the ping-pong event, or based on the number of accesses by the first wireless access point and the accumulated weight. Determine the ping-pong count value of the first wireless access point.
[0070] In some embodiments, the cumulative weight can be dynamically calculated based on features such as the switching time, switching frequency, and switching reason of the ping-pong event. .
[0071] Step 208: Determine whether no ping-pong event of voice service was detected within the stable time window. If yes, proceed to step 210; otherwise, return to step 202.
[0072] In this embodiment, a stable time window can be determined based on the event timestamp of the most recent ping-pong event. If no ping-pong event is captured within the entire stable time window, proceed to step 210.
[0073] Step 210: Restore the ping-pong count value of the first wireless access point to zero, and then proceed to step 212.
[0074] Specifically, once it is confirmed that there are no ping-pong events within the stable time window, the system immediately triggers a reset operation, resetting the ping-pong count value of the first wireless access point. Forced reset to zero.
[0075] Step 212: Calculate the access suppression duration of the voice service based on the ping-pong count value of the first wireless access point.
[0076] In some embodiments, a reference suppression duration for the voice service can be calculated based on the ping-pong count value of the first wireless access point and a preset initial suppression duration, and the smaller of the reference suppression duration and the preset maximum suppression duration can be determined as the access suppression duration for the voice service.
[0077] For the specific calculation of the access suppression duration, please refer to the relevant descriptions in Formulas 1 and 2 above, which will not be elaborated here.
[0078] Step 214: Set the timer duration based on the access suppression duration of voice services, and start the timer.
[0079] After calculating the access suppression duration for the voice service, the access suppression duration can be written into a timer to set or reset (refresh) the timer's timing duration (SuppressTimer), and the timer can be started to perform the timing operation. The timer's timing duration is the effective suppression period for the voice service against the first wireless access point.
[0080] Step 216: During the timer's timing operation, selectively restrict the operation of switching voice services from the cellular network to the wireless LAN.
[0081] In some embodiments, in response to detecting an automatic handover event where voice service is switched from a cellular network to a wireless local area network, the operation of switching voice service from a cellular network to a wireless local area network may be restricted; or in response to detecting a manual handover event where voice service is switched from a cellular network to a wireless local area network, and the manual handover event meets preset manual handover conditions, the operation of switching voice service from a cellular network to a wireless local area network may be allowed.
[0082] In some embodiments, the preset manual switching conditions may include at least: Condition 1: The target wireless access point (Target AP) requested by the manual switching event is a different wireless access point from the current wireless access point (Current AP) that the voice service last accessed.
[0083] Condition 2: The user equipment has successfully connected to the target wireless access point and meets the preset wireless LAN registration and access conditions.
[0084] In some embodiments, a network switching trigger signal can be acquired, analyzed, and, if it is determined that the network switching trigger signal meets a preset manual trigger condition, the network switching trigger signal can be identified as a manual switching event based on user intent.
[0085] In some embodiments, the preset manual triggering conditions may include at least one of the following: (1) A connection request for a wireless local area network is detected, wherein the connection request corresponds to a connection operation of any wireless access point.
[0086] (2) The wireless LAN disconnection indication information indicates that the wireless LAN disconnection is due to the user actively disconnecting the network or the user actively switching networks.
[0087] (3) Within a preset time, it is detected that the voice service is switched between two wireless access points, wherein the two wireless access points may belong to the same roaming domain or different roaming domains.
[0088] (4) No ping-pong event for voice service was detected during the user equipment’s switching between two wireless access points.
[0089] In some embodiments, if the system determines that the operation of switching voice services from a cellular network to a wireless local area network is permitted, the user equipment triggers the execution of a standardized IMS migration procedure, which integrates VoWiFi authentication, IMS session registration, and dedicated voice bearer construction.
[0090] refer to Figure 3 The following will use a typical scenario of a user device switching from the first access point (AP1) to the second access point (AP2) as an example to explain in detail the execution sequence and logical flow of this method: Step 302: The user equipment completes VoWiFi registration and makes a call on the first wireless access point.
[0091] The user equipment can connect to the first wireless access point (AP1) and successfully complete IMS registration on the wireless LAN, establishing a VoWiFi voice bearer. The user equipment is conducting a normal voice call through the first wireless access point.
[0092] Step 304: The user equipment triggers a manual handover operation of the wireless access point, and the user equipment disconnects from the first wireless access point.
[0093] During a call, in response to the detection of a manual handover event of a wireless access point, the user equipment performs a disconnect operation, terminating the wireless link connection with the first wireless access point (AP1).
[0094] Step 306: The user equipment falls back to the cellular network.
[0095] After disconnecting from the first wireless access point (AP1), to prevent voice call interruption, the user equipment immediately triggers a system handover procedure, falling back the voice service to the cellular network (VoLTE or VoNR). At this time, the voice media stream path seamlessly switches from the Wi-Fi network to the cellular network, ensuring uninterrupted voice communication for the user while on the move.
[0096] Step 308: The user equipment connects to the second wireless access point.
[0097] After discovering the second wireless access point (AP2), the user equipment initiates an association request and completes the link layer connection with the second wireless access point (AP2).
[0098] Step 310: The user equipment checks whether it is within the validity period of the access suppression duration. If it is within the validity period, the user intent bypass logic is triggered to allow switching from the cellular network to the wireless LAN.
[0099] In this embodiment, the user equipment introduces an intelligent determination mechanism based on user behavior. When it is detected that the current Wi-Fi handover is triggered by a "manual handover operation", it is determined that this network environment change is a user's active intention or a strongly anticipated behavior. Then, the user intention bypass policy is executed, allowing the initiation of a VoWiFi handover process from the cellular network (VoLTE / VoNR) to the second wireless access point (AP2) without waiting for the timer to naturally return to zero (that is, the validity period of the access suppression duration ends).
[0100] Step 312: The user equipment completes VoWiFi registration on the second wireless access point and continues voice service.
[0101] Based on the aforementioned bypass strategy, the user equipment performs a voice handover operation from VoLTE / VoNR to VoWiFi to migrate the voice media stream from the cellular network to the second radio access point (AP2). Thus, the user equipment successfully resumes VoWiFi voice service on the second radio access point (AP2), achieving high-quality voice continuity during cross-AP movement.
[0102] In summary, compared with the rigid strategy of using a fixed suppression duration in existing technologies, this technical solution, by introducing an adaptive dynamic adjustment mechanism and user intent recognition logic, has at least the following significant advantages: This scheme employs an exponential dynamic adjustment strategy based on the number of ping-pong occurrences. When a slight oscillation is detected, the system only applies short-term suppression; as the ping-pong count value ( As the number of ping-pong handovers increases, the access suppression duration automatically expands exponentially. This tiered response mechanism can accurately match the degree of network instability, effectively blocking frequent link switching in scenarios of severe turbulence. In addition, by reducing the number of ping-pong handovers, it can also effectively reduce the processing of IMS registration / deregistration and bearer reconstruction in voice services, which can significantly reduce terminal power consumption and network load.
[0103] This scheme uses a shorter baseline suppression time by default. The delay is dynamically extended only when an anomaly is confirmed, resolving the inherent contradiction between "suppression effect" and "switching sensitivity." In most stable mobile scenarios, user devices can still maintain rapid response capabilities, ensuring that users can enjoy high-quality Wi-Fi voice services instantly and avoiding user experience degradation caused by excessive defense.
[0104] This solution, by introducing stabilization period monitoring and state reset logic, can intelligently sense improvements in the network environment, overcoming the shortcomings of traditional solutions that become rigid for a long time once suppression is triggered. It ensures that the terminal strategy always maintains the best match with the current network quality, thus improving the robustness of the system.
[0105] This solution introduces a "user intent bypass" mechanism (i.e., manual handover event). When a user device is detected actively switching wireless access points, it allows bypassing the current suppression timer limitation and immediately initiating a VoWiFi registration attempt. This completely solves the pain point of users being forced to remain on the cellular network (VoLTE / VoNR) after manually switching networks, significantly shortens the waiting time for voice services to switch back to Wi-Fi, and greatly improves call continuity and user satisfaction during cross-AP mobility.
[0106] Voice service switching restriction device Figure 4 This is a structural block diagram of a voice service switching restriction device, which is an exemplary embodiment of this disclosure.
[0107] like Figure 4 As shown, the switching restriction device 400 in this embodiment mainly includes: a detection module 402, a calculation module 404, and a control module 406.
[0108] The detection module 402 is configured to, in response to detecting a ping-pong event in which the voice service makes a round-trip handover between the cellular network and the wireless local area network, identify the first wireless access point among the plurality of wireless access points where the voice service last accessed, and update the ping-pong count value of the first wireless access point. The calculation module 404 is configured to calculate the access suppression duration of the voice service corresponding to the first wireless access point based on the ping-pong count value of the first wireless access point. The control module 406 is configured to selectively restrict the operation of switching the voice service from the cellular network to the wireless local area network through the first wireless access point based on the access suppression duration corresponding to the voice service at the first wireless access point.
[0109] In some embodiments, the detection module 402 detects ping-pong events of the voice service in the following manner: recording each handover event of the voice service between the cellular network and the wireless local area network, arranging each handover event in the order of its recorded timestamp, and generating a handover event sequence; in response to detecting that the voice service is switched from the cellular network to the wireless local area network or from the wireless local area network to the cellular network, based on each handover event recorded in the handover event sequence, counting the actual round-trip handover times of the voice service between the cellular network and the wireless local area network within a preset detection time window; in response to detecting that the actual round-trip handover times of the voice service are greater than or equal to a preset round-trip threshold, determining that a ping-pong event has occurred in the voice service, and recording the event timestamp of the ping-pong event.
[0110] In some embodiments, the detection module 402 is further configured to: determine the ping-pong count value of the first wireless access point based on the actual number of accesses of the first wireless access point in the ping-pong event; or determine the ping-pong count value of the first wireless access point based on the actual number of accesses of the first wireless access point and the accumulated weight in the ping-pong event.
[0111] In some embodiments, the calculation module 404 is configured to: calculate a reference suppression duration for the voice service based on the ping-pong count value of the first wireless access point and a preset initial suppression duration; and determine the smaller of the reference suppression duration and the preset maximum suppression duration as the access suppression duration for the voice service.
[0112] In some embodiments, the calculation of the reference suppression duration of the voice service satisfies the following formula:
[0113] in, This indicates the reference suppression duration. This indicates the preset initial suppression duration. This represents the ping-pong count value of the first wireless access point.
[0114] In some embodiments, the calculation module 404 is further configured to: determine a stable time window based on the event timestamp of the most recent ping-pong event; and, in response to the absence of a ping-pong event for the voice service within the stable time window, restore the ping-pong count value of the first wireless access point to zero and restore the access suppression duration of the voice service to the preset initial suppression duration.
[0115] In some embodiments, the control module 406 is configured to: set the timing duration of a timer according to the access suppression duration of the voice service; and selectively restrict the operation of switching the voice service from the cellular network to the wireless local area network during the timer's timing operation based on the timing duration.
[0116] In some embodiments, the control module 406 is configured to: in response to detecting that the voice service has successfully accessed the cellular network or the wireless local area network, or detecting that the voice service has successfully switched between the cellular network and the wireless local area network, re-query the access suppression duration of the voice service; and refresh the timing duration of the timer based on the re-queried access suppression duration of the voice service.
[0117] In some embodiments, the control module 406 is configured to: restrict the execution of the operation of switching the voice service from the cellular network to the wireless local area network in response to detecting an automatic handover event in which the voice service is switched from the cellular network to the wireless local area network; or allow the execution of the operation of switching the voice service from the cellular network to the wireless local area network in response to detecting a manual handover event in which the voice service is switched from the cellular network to the wireless local area network and the manual handover event meets preset manual handover conditions.
[0118] In some embodiments, the preset manual switching conditions include at least one of the following: the target wireless access point requested by the manual switching event is a different wireless access point from the current wireless access point most recently accessed by the voice service; the user equipment has successfully accessed the target wireless access point and meets the preset wireless LAN registration admission conditions; wherein the target wireless access point or the current wireless access point is any one of the wireless access points.
[0119] In some embodiments, the control module 406 is configured to: acquire a network switching trigger signal; analyze the network switching trigger signal; and, if it is determined that the network switching trigger signal meets a preset manual trigger condition, identify the network switching trigger signal as a manual switching event based on user intent.
[0120] In some embodiments, the preset manual triggering condition includes at least one of the following: A connection request for the wireless local area network (WLAN) is detected, corresponding to a connection operation at any wireless access point; the WLAN disconnection indication information indicates that the WLAN disconnection is due to the user actively disconnecting the network or actively switching networks; within a preset time, a handover of the voice service between two wireless access points is detected, wherein the two wireless access points belong to the same roaming domain or different roaming domains; during the handover process between the two wireless access points, no ping-pong event of the voice service is detected by the user equipment.
[0121] In summary, this embodiment Through the coordinated operation of the detection module, calculation module, and control module, different suppression strategies can be applied to the historical oscillation behavior of different APs. This can effectively block frequent switching during severe oscillations and respond promptly when users actively switch networks, significantly improving the stability of voice services and user satisfaction.
[0122] electronic devices Reference Figure 5 This document illustrates a structural block diagram of an electronic device according to an embodiment of the present disclosure. Specific embodiments of the present disclosure do not limit the specific implementation of the electronic device.
[0123] For example, electronic device 500 is a communication device with cellular communication capabilities (such as 4G LTE, 5G NR) and wireless local area network communication capabilities (such as Wi-Fi), and capable of carrying voice services (such as VoLTE, VoNR, VoWiFi) on both networks. Typical electronic device 500 may include, but is not limited to: smartphones, tablets, laptops, wearable devices supporting VoWiFi (such as smartwatches), in-vehicle communication units, and IoT terminals supporting voice communication (such as smart speakers, smart doorbells), etc.
[0124] like Figure 5 As shown, the electronic device in this embodiment may include: a processor 502, a communications interface 504, a memory 506, and a communications bus 508.
[0125] The processor 502, communication interface 504, and memory 506 communicate with each other via communication bus 508.
[0126] Communication interface 504 is used to communicate with other electronic devices or servers.
[0127] The memory 506 is configured to store at least one executable instruction 510.
[0128] Processor 502 is configured to perform the following operations by executing executable instructions 510: In response to detecting a ping-pong event indicating a round-trip handover of the voice service between the cellular network and the wireless local area network, the system identifies the first wireless access point among the plurality of wireless access points where the voice service most recently accessed, and updates the ping-pong count value of the first wireless access point; based on the ping-pong count value of the first wireless access point, it calculates the access suppression duration of the voice service; and selectively restricts the operation of switching the voice service from the cellular network to the wireless local area network according to the access suppression duration of the voice service.
[0129] In addition, the processor 502 is also configured to implement other related steps in the above-described voice service switching restriction method embodiment by executing executable instructions 510, which will not be elaborated here.
[0130] Specifically, the executable instructions 510 may include program code that includes computer operation instructions.
[0131] Processor 502 may be a CPU, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of this disclosure. The smart device may include one or more processors of the same type, such as one or more CPUs; or it may include processors of different types, such as one or more CPUs and one or more ASICs.
[0132] Memory 506 is used to store executable instructions 510. Memory 506 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0133] The executable instructions 510 may include multiple computer instructions. Specifically, the executable instructions 510 may cause the processor 502 to perform the operation corresponding to the voice service switching restriction method described in any of the foregoing multiple method embodiments through the multiple computer instructions.
[0134] The specific implementation of each step in executable instruction 510 can be found in the corresponding descriptions of the steps and units in the above method embodiments, and has corresponding beneficial effects, which will not be repeated here. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the device and module described above can be referred to the corresponding process descriptions in the foregoing method embodiments, and will not be repeated here.
[0135] This disclosure also provides a computer storage medium storing a computer program thereon, which, when executed by a processor, implements the method described in any of the foregoing method embodiments. The computer storage medium includes, but is not limited to, compact disc read-only memory (CD-ROM), random access memory (RAM), floppy disk, hard disk, or magneto-optical disk.
[0136] This disclosure also provides a computer program product, including computer instructions that instruct a computing device to perform operations corresponding to the voice service switching restriction method described in any of the above embodiments.
[0137] It should be noted that, depending on the implementation needs, the various components / steps described in the embodiments of this disclosure can be broken down into more components / steps, or two or more components / steps or parts of the operation of components / steps can be combined into new components / steps to achieve the purpose of the embodiments of this disclosure.
[0138] The methods described above according to embodiments of this disclosure can be implemented in hardware, firmware, or as software or computer code that can be stored in a recording medium (such as a CD-ROM, RAM, floppy disk, hard disk, or magneto-optical disk), or as computer code originally stored on a remote recording medium or a non-transitory machine-readable medium and subsequently stored on a local recording medium, downloaded over a network. Thus, the methods described herein can be stored on a recording medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware (such as an Application Specific Integrated Circuit (ASIC) or a Field Programmable Gate Array (FPGA)). It is understood that the computer, processor, microprocessor controller, or programmable hardware includes storage components (e.g., Random Access Memory (RAM), Read-Only Memory (ROM), Flash Memory, etc.) capable of storing or receiving software or computer code, implementing the methods described herein when the software or computer code is accessed and executed by the computer, processor, or hardware. Furthermore, when a general-purpose computer accesses code used to implement the methods shown herein, the execution of the code transforms the general-purpose computer into a dedicated computer for performing the methods shown herein.
[0139] Those skilled in the art will recognize that the units and method steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments disclosed herein.
[0140] The above embodiments are only used to illustrate the embodiments of this disclosure, and are not intended to limit the embodiments of this disclosure. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of this disclosure. Therefore, all equivalent technical solutions also fall within the scope of the embodiments of this disclosure, and the patent protection scope of the embodiments of this disclosure should be defined by the claims.
Claims
1. A method for restricting handover of voice services, applied to user equipment supporting voice services carried by cellular networks and wireless local area networks, wherein the user equipment is connected to the wireless local area network through any one of multiple wireless access points, wherein... The method includes: In response to detecting a ping-pong event in which the voice service makes a round trip between the cellular network and the wireless local area network, the first wireless access point most recently accessed by the voice service among the plurality of wireless access points is identified, and the ping-pong count value of the first wireless access point is updated. Based on the ping-pong count value of the first wireless access point, calculate the access suppression duration of the voice service; Based on the access suppression duration of the voice service, the operation of switching the voice service from the cellular network to the wireless local area network is selectively restricted.
2. The method according to claim 1, wherein, Updating the ping-pong counter value of the first wireless access point includes: Based on the actual number of accesses by the first wireless access point in the ping-pong event, determine the ping-pong count value of the first wireless access point; or Based on the actual number of accesses and the accumulated weight of the first wireless access point in the ping-pong event, the ping-pong count value of the first wireless access point is determined.
3. The method according to claim 1, wherein, The calculation of the access suppression duration for the voice service based on the ping-pong count value of the first wireless access point includes: Based on the ping-pong count value of the first wireless access point and the preset initial suppression duration, the reference suppression duration of the voice service is calculated. The smaller of the reference suppression duration and the preset maximum suppression duration is determined as the access suppression duration for the voice service.
4. The method according to claim 3, wherein, The calculation of the reference suppression duration for the voice service satisfies the following formula: in, This indicates the reference suppression duration. This indicates the preset initial suppression duration. This represents the ping-pong count value of the first wireless access point.
5. The method according to claim 1, wherein, The step of selectively restricting the operation of switching the voice service from the cellular network to the wireless local area network based on the access suppression duration of the voice service includes: Set the timer duration based on the access suppression duration of the voice service; During the timed operation performed by the timer based on the timed duration, the operation of switching the voice service from the cellular network to the wireless local area network is selectively restricted.
6. The method according to claim 1, wherein, The selective restriction on switching the voice service from the cellular network to the wireless local area network includes: In response to detecting an automatic handover event that the voice service is switched from the cellular network to the wireless local area network, restrict the execution of the operation of switching the voice service from the cellular network to the wireless local area network; or In response to the detection of a manual handover event in which the voice service is switched from the cellular network to the wireless local area network, and the manual handover event meets preset manual handover conditions, the operation of switching the voice service from the cellular network to the wireless local area network is allowed.
7. The method according to claim 6, wherein, The preset manual switching conditions include at least one of the following: The target wireless access point requested by the manual handover event is a different wireless access point from the current wireless access point where the voice service last accessed. The user equipment has successfully connected to the target wireless access point and meets the preset wireless LAN registration and access conditions. Wherein, the target wireless access point or the current wireless access point is any one of the wireless access points.
8. The method according to claim 6, wherein, The detection of the manual switching event includes: Obtain the network switching trigger signal; The network switching trigger signal is analyzed, and if the network switching trigger signal meets the preset manual triggering conditions, the network switching trigger signal is determined as the manual switching event.
9. A voice service handover restriction device, applied to a user equipment supporting voice services carried by a cellular network and a wireless local area network, wherein the user equipment is connected to the wireless local area network through multiple wireless access points, wherein... The device includes: The detection module is configured to, in response to detecting a ping-pong event in which the voice service makes a round-trip handover between the cellular network and the wireless local area network, identify the first wireless access point among the plurality of wireless access points where the voice service last accessed, and update the ping-pong count value of the first wireless access point. The calculation module is configured to calculate the access suppression duration of the voice service corresponding to the first wireless access point based on the ping-pong count value of the first wireless access point. The control module is configured to selectively restrict the operation of switching the voice service from the cellular network to the wireless local area network through the first wireless access point based on the access suppression duration corresponding to the voice service at the first wireless access point.
10. An electronic device, comprising: The processor, the communication interface, the memory, and the communication bus are provided, and the processor, the communication interface, and the memory communicate with each other through the communication bus. The memory is configured to store at least one executable instruction; The processor is configured to perform the following operations by executing the executable instructions: In response to detecting a ping-pong event in which the voice service makes a round trip between the cellular network and the wireless local area network, the first wireless access point most recently accessed by the voice service among the plurality of wireless access points is identified, and the ping-pong count value of the first wireless access point is updated. Based on the ping-pong count value of the first wireless access point, calculate the access suppression duration of the voice service; Based on the access suppression duration of the voice service, the operation of switching the voice service from the cellular network to the wireless local area network is selectively restricted.