Network handover method and electronic device

The proactive network handover method in mobile devices predicts network abnormalities using dual SIM cards or Wi-Fi modules, addressing frame freezes and disconnections by switching to a secondary network before coverage is lost, enhancing user experience.

JP7568236B2Active Publication Date: 2024-10-16HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2022535482
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-12-11
Filing Date
2020-11-11
Publication Date
2024-10-16
Estimated Expiration
2040-11-11

AI Technical Summary

Technical Problem

Mobile phones experience frame freezes and network disconnections when switching between mobile networks due to reactive network handover methods, particularly in areas with no or weak coverage, degrading user experience.

Method used

A proactive network handover method that predicts network abnormalities by analyzing historical network information and signal strength to switch to a secondary network before coverage is lost, using dual SIM cards or Wi-Fi modules.

Benefits of technology

Reduces the likelihood of frame freezes and network disconnections by anticipating coverage issues, improving user experience and reducing unnecessary handovers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007568236000013
    Figure 0007568236000013
  • Figure 0007568236000014
    Figure 0007568236000014
  • Figure 0007568236000015
    Figure 0007568236000015
Patent Text Reader

Abstract

A network handover method and an electronic device relating to the field of terminal technology are useful for reducing the likelihood of frame freeze or network disconnection when a user accesses a network using the electronic device. Specifically, when the electronic device camps on a first network accessed by using a first communication module, the electronic device sequentially acquires network information of a first sampling point and a second sampling point for the first network during the process of the electronic device moving n times along a first route, and predicts whether the first network will become abnormal after a first period of time has elapsed. If the electronic device predicts that the first network will become abnormal, it camps on a second network before the first network becomes abnormal. In this technical solution, if the first network is predicted to become abnormal, the electronic device can be handed over to the second network in advance. This improves the user experience by reducing the likelihood of frame freeze or network disconnection when the user accesses a network using the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to Chinese Patent Application No. 201911269176.6, entitled “Network Handover Method and Electronic Apparatus,” filed with the State Intellectual Property Office of the People's Republic of China on December 11, 2019, the entire contents of which are incorporated herein by reference.

[0002] The present application relates to the field of terminal technology, and in particular to a network handover method and electronic device. [Background technology]

[0003] After the mobile phone accesses the mobile network, the mobile phone can provide network access services for the user. Specifically, the mobile phone accesses the mobile network by using a subscriber identity module (SIM) card. However, in areas with no coverage or weak coverage, the mobile phone is easily dropped off the network or dropped to a lower standard. As a result, the user cannot use the network access service, and the user experience is affected. Especially, in the early stage of network construction, the phenomenon of no coverage or weak coverage is more obvious.

[0004] At present, mobile phones usually support dual SIM cards. Therefore, the mobile phone can access the mobile network separately based on two SIM cards (e.g., SIM card 1 and SIM card 2) and provide the network access service for the user by using SIM card 1. That is, the mobile network currently used by the mobile phone is accessed based on SIM card 1. In the prior art, after the mobile phone is removed from the currently used mobile network or dropped to a lower standard, in order to avoid the user being unable to use the network access service and the user experience being affected, the mobile phone is handed over to the mobile network accessed based on SIM card 2. However, the existing network handover method is a post-mortem rescue, and when the user accesses the network by using the mobile phone, frame freeze or temporary network disconnection easily occurs, degrading the user experience. Summary of the Invention [Means for solving the problem]

[0005] The embodiments of the present application provide a network handover method to improve user experience by reducing the possibility of frame freezing or network disconnection of an electronic device when a user accesses a network by using an electronic device.

[0006] According to a first aspect, an embodiment of the present application provides a network handover method. Specifically, the method includes the following steps:

[0007] When an electronic device camps on a first network accessed by using a first communication module, in a process of the electronic device moving along a first route for an n-th time, the electronic device sequentially acquires network information of a first sampling point and network information of a second sampling point for the first network, the first route being a route between a first location and a second location; After obtaining the network information of the second sampling point, the electronic device predicts whether the first network will become abnormal after a first period of time when the electronic device moves along the first route for an nth time based on the network information of the first sampling point, the network information of the second sampling point, and a first historical sampling record, where the first historical sampling record includes network information of sampling points, which is obtained for the first network by the electronic device in the process of the electronic device moving along the first route for each time before the nth time, and n is a positive integer greater than 1; When the electronic device predicts that the first network will become abnormal, in the process of the electronic device moving along the first route for the nth time, the electronic device camps on a second network that is accessed by using a second communication module before the first network becomes abnormal; Includes.

[0008] In this embodiment of the present application, after collecting the network information of the second sampling point, the electronic device can predict whether the first network will be abnormal after the first period has passed. Thus, if it predicts that the first network will be abnormal after the first period has passed, the electronic device will handover to the second network in advance. Compared with the prior art, this helps to reduce the possibility of frame freezing or network disconnection when a user accesses a network by using the electronic device, and improves the user experience.

[0009] In a possible design, the first historical sampling record includes network information of a first matching point, network information of a second matching point, and network information of a first abnormal point, each of the network information of the first matching point and the network information of the second matching point being network information of a sampling point where a probability of the first network becoming abnormal is equal to or less than a first threshold, the network information being sequentially and separately acquired for the first network by the electronic device in the process of the electronic device moving along the first route for the (ni)th time, where i is a positive integer smaller than n; the network information of the first abnormal point being network information of a sampling point where a probability of the first network becoming abnormal is equal to or greater than a second threshold, the network information being last acquired for the first network by the electronic device after the electronic device acquires the network information of the second matching point in the process of the electronic device moving along the first route for the (ni)th time; The network information of the first sampling point and the network information of the first matching point satisfy a first condition, and the network information of the second sampling point and the network information of the second matching point satisfy the first condition, which is used to indicate that the distance between the first physical sampling position and the second physical sampling position is within an error range, where the first physical sampling position is a physical position corresponding to a sampling point in the process of the electronic device moving along the first route for the nth time, and the second physical sampling position is a physical position corresponding to a matching point in the process of the electronic device moving along the first route for the previous nth time.

[0010] The aforementioned technical solution is used to help improve the reliability of predicting whether a first network will become abnormal after a first period of time has passed.

[0011] In a possible design, the network information of the first sampling point and the network information of the first matching point are: The first condition is satisfied when two or more of the following are satisfied in the network information of the first sampling point and the network information of the first matching point: the same serving cell identifier, the difference between the network signal strengths of the serving cells is within a first range, the same neighboring cell identifier, and the difference between the network signal strengths of the same neighboring cells is within a second range; The network information of the second sampling point and the network information of the second matching point are: The first condition is met when two or more of the following are satisfied in the network information of the second sampling point and the network information of the second matching point: the same serving cell identifier, the difference between the network signal strengths of the serving cells is within the first range, the same neighboring cell identifier, and the difference between the network signal strengths of the same neighboring cells is within the second range.

[0012] According to the above technical solution, the electronic device does not need to obtain the physical location corresponding to the sampling point, which helps to reduce the power consumption of the electronic device to some extent.

[0013] In a possible design, the network information for any sampling point includes the system time of the electronic device at the corresponding sampling point.

[0014] The electronic device may predict whether the first network will become abnormal after a first period of time when the electronic device moves along the first route for the nth time based on network information of the first sampling point, network information of the second sampling point, and a first historical sampling record as follows:

[0015] The electronic device predicts, based on the system times separately included in the network information of the first sampling point, the network information of the second sampling point, the network information of the first matching point, the network information of the second matching point, and the network information of the first abnormal point, that the first network becomes abnormal after a second period of time when the electronic device moves along the first route for the nth time, and then determines whether the second period of time is longer than the first period of time, and if the second period of time is less than or equal to the first period of time, predicts that the first network becomes abnormal after the first period of time when the electronic device moves along the first route for the nth time, and if the second period of time is longer than the first period of time, the electronic device predicts that the first network does not become abnormal after the first period of time when the electronic device moves along the first route for the nth time.

[0016] The above technical solution helps to simplify the implementation of predicting whether a first network will become abnormal after a first period of time has passed.

[0017] In a possible design, the second period satisfies the following equation:

[0018]

number

[0019] where τ is the second period, T1 is the system time of the electronic device at the first matching point, T2 is the system time of the electronic device at the second matching point, T3 is the system time of the electronic device at the first abnormality point, T1' is the system time of the electronic device at the first sampling point, and T2' is the system time of the electronic device at the second sampling point.

[0020] In a possible design, the first historical sampling record further includes network information of a third matching point, the network information of the third matching point being network information of a sampling point where the probability that the first network is abnormal is equal to or less than the first threshold, the network information being acquired by the electronic device in the process of the electronic device moving along the first route for the (nj)th time, where j is an integer not equal to i and less than n; When the network information of the first sampling point and the network information of the third matching point satisfy the first condition, the signal strength error between the first sampling point and the first matching point is less than or equal to the signal strength error between the first sampling point and the third matching point.

[0021] In this embodiment of the present application, when the network information of the first sampling point of the electronic device, the network information of the first matching point, and the network information of the third matching point all satisfy a first condition, the electronic device determines a matching point used to predict whether the first network will become abnormal after a first period of time has passed based on the principle that the signal strength error is minimal, thereby helping to further improve the reliability of the prediction.

[0022] In a possible design, the signal strength error between the first sampling point and the first matching point satisfies the following equation:

[0023]

number

[0024]

number

[0025] where Var is the signal strength error between the first sampling point and the first matching point, and C S is the error impact factor of the serving cell, C N is the error impact factor of the adjacent cell, C S +C N = 1, and V S =P S1 -P S0 And P S1 is the network signal strength of the serving cell in the network information of the first sampling point, and P S0 is the network signal strength of the serving cell in the network information of the first matching point, r is the number of the same neighboring cell identifiers in the network information of the first sampling point and the network information of the first matching point, and V Nt =P Nt =P N0t And PNt is the network signal strength of the neighboring cell t in the network information of the first sampling point, and P Ni is the network signal strength of neighboring cell t in the network information of the first matching point, where neighboring cell t is a cell identified by the same t neighboring cell identifiers in the network information of the first sampling point and the network information of the first matching point.

[0026] The above technical solution helps to simplify the implementation of the signal strength error calculation.

[0027] In a possible design, the first historical sampling record further includes network information of a third matching point, network information of a fourth matching point, and network information of a second abnormal point, each of the network information of the third matching point and the network information of the fourth matching point being network information of a sampling point where the probability of the first network becoming abnormal is less than the first threshold, and being network information sequentially acquired by the electronic device in the process of the electronic device moving along the first route the (nj)th time, the network information of the second abnormal point being network information of a sampling point where the probability of the first network becoming abnormal is greater than or equal to the second threshold, and being network information lastly acquired by the electronic device after the electronic device acquires the network information of the fourth matching point in the process of the electronic device moving along the first route the (nj)th time, j is equal to i and is a positive integer less than n; If the network information of the first sampling point and the network information of the third matching point further satisfy the first condition, and the network information of the second sampling point and the network information of the fourth matching point further satisfy the first condition, the time error between the period predicted based on the network information of the first matching point and the period predicted based on the network information of the second matching point is less than or equal to the time error between the period predicted based on the network information of the third matching point and the period predicted based on the network information of the fourth matching point.

[0028] In this embodiment of the present application, when the network information of the first sampling point, the network information of the first matching point and the network information of the third matching point of the electronic device all satisfy the first condition, and the network information of the second sampling matching, the network information of the second matching matching and the network information of the fourth matching matching all satisfy the first condition, the electronic device determines a matching point used to predict whether the first network will become abnormal after the first period has passed based on the principle that the signal strength error is minimal, thereby helping to further improve the reliability of the prediction.

[0029] In a possible design, a time error T between a time period predicted based on the network information of the first matching point and a time period predicted based on the network information of the second matching point is var satisfies the equation Tvar=t0+V1+V2.

[0030]

number

[0031]

number

[0032]

number

[0033] T1' is the system time of the electronic device at the first sampling point, T2' is the system time of the electronic device at the second sampling point, T1 is the system time of the electronic device at the first matching point, T2 is the system time of the electronic device at the second matching point, Var1 is the signal strength error between the first sampling point and the first matching point, Var2 is the signal strength error between the second sampling point and the second matching point, L1 is the number of the same neighboring cell identifiers in the network information of the first sampling point and the network information of the first matching point, L2 is the number of the same neighboring cell identifiers in the network information of the second sampling point and the network information of the second matching point, M is the maximum number of neighboring cell identifiers in the network information of one sampling point, P max is the maximum deviation between network signal strengths of the same cell collected in the process of a user moving at different times along said first route.

[0034] The above technical solution helps to simplify the implementation of the calculation of the time error.

[0035] In a possible design, when the electronic device predicts that the first network will become abnormal, before the first network becomes abnormal, the electronic device determines that the second network will not become abnormal and camps on the second network, which helps reduce the number of times the electronic device performs an invalid network handover.

[0036] In a possible design, the electronic device determines whether the second network is anomalous as follows: determining, by the electronic device, that the second network does not become abnormal based on a second historical sampling record, the second historical sampling record being a historical sampling record for the second network; and / or Sending data packets via the first network and the second network separately by the electronic device, performing quality evaluations on the first network and the second network separately, and determining that the second network is not abnormal based on the quality evaluation results of the first network and the second network, which helps to simplify the implementation of determining whether the second network is abnormal and helps to somewhat improve the reliability of determining whether the second network is abnormal.

[0037] In a possible design, when the electronic device camps on a first network accessed by using a first communication module, after the electronic device detects that the electronic device leaves the first location, the electronic device obtains network information of a first sampling point and network information of a second sampling point for the first network, which helps to reduce power consumption of the electronic device.

[0038] In a possible design, the electronic device stops collecting network information after the electronic device detects that the electronic device has arrived at the second location, which helps to further reduce the power consumption of the electronic device.

[0039] In a possible design, after the electronic device camps on a second network accessed by using a second communication module, when the first network recovers to normal, the electronic device camps on the first network again, which helps to reduce user overhead to some extent.

[0040] In a possible design, when the electronic device detects that the network signal strength of the first network is greater than a third threshold and / or the network standard of the first network is a first network standard, the electronic device determines that the first network has recovered normally. This helps to simplify the method of determining whether the first network has recovered normally. For example, the first network standard may be the highest network standard set by a user or supported by the electronic device. This is not limited.

[0041] In a possible design, when the electronic device camps on a first network accessed by using a first communication module, after the electronic device detects that an intelligent network handover function is enabled, the electronic device obtains network information of a first sampling point and a network information of a second sampling point for the first network. For example, when the electronic device camps on a first network accessed by using a first communication module, after the electronic device detects that an intelligent network handover function is enabled, when the electronic device detects that the electronic device has moved away from the first location, the electronic device obtains network information of a first sampling point and a network information of a second sampling point for the first network. This helps a user control the electronic device.

[0042] In a possible design, the first communication module includes a first SIM card or a first Wi-Fi module, and the second communication module includes a second SIM card module or a second Wi-Fi module.

[0043] According to a second aspect, the present application further provides an electronic device including a processor and a memory, the memory storing program instructions, the electronic device being operable, when executed by the processor, to perform a method according to the first aspect of the present application and any one of the possible designs of the first aspect.

[0044] According to a third aspect, an embodiment of the present application further provides an electronic device including a module configured to perform a method according to any one of the first aspect and possible designs of the first aspect in the embodiments of the present application.

[0045] According to a fourth aspect, the present embodiment provides a chip, the chip being coupled to a memory in an electronic device such that when the chip is operated, a computer program stored in the memory is activated to perform the method according to the first aspect of the present embodiment and any one of the possible designs of the first aspect.

[0046] According to a fifth aspect, an embodiment of the present application provides a computer readable storage medium, the computer readable storage medium storing program instructions, which when executed on an electronic device, cause the electronic device to perform a method according to the first aspect and any one of the possible designs of the first aspect.

[0047] According to a sixth aspect, an embodiment of the present application provides a computer program product, which, when executed on an electronic device, causes the electronic device to perform a method according to the first aspect and any one of the possible designs of the first aspect.

[0048] In addition, for the technical effects of any possible designs in the second to sixth aspects, please refer to the technical effects of different designs in the first aspect, and the details will not be described again here. [Brief description of the drawings]

[0049] [Figure 1] FIG. 1 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. [Diagram 2] FIG. 2 is a schematic diagram of the software structure of an electronic device according to an embodiment of the present application. [Diagram 3] FIG. 3 is a schematic flowchart of a network handover method according to an embodiment of the present application. [Figure 4] FIG. 4 is a schematic diagram of a SIM card management interface according to an embodiment of the present application. [Diagram 5] FIG. 5 is a schematic diagram of a matching point according to an embodiment of the present application. [Figure 6] FIG. 6 is a schematic diagram of another matching point according to an embodiment of the present application. [Figure 7] FIG. 7 is a schematic flow chart of a sample acquisition method according to an embodiment of the present application. [Figure 8] FIG. 8 is a schematic diagram of a system setting interface according to an embodiment of the present application. [Figure 9] FIG. 9 is a schematic diagram of another SIM card management interface according to an embodiment of the present application. [Figure 10] FIG. 10 is a schematic flowchart of another network handover method according to an embodiment of the present application. [Figure 11] FIG. 11 is a schematic diagram of another electronic device structure according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0050] Unless otherwise stated in this application, " / " means or. For example, A / B may represent A or B. "And / or" is merely an association relationship to describe related objects, and represents that there are three possible relationships. For example, A and / or B represents the cases where only A exists, where both A and B exist, and where only B exists. In addition, in this application, "multiple" means two or more. For example, at least one of a, b, or c may represent the seven cases of a, b, c, a and b, a and c, b and c, or a, b, and c.

[0051] In this application, terms such as "in one example," "in some embodiments," "in some other embodiments," and the like are used to provide an example, illustration, or explanation. Any embodiment or design solution described in this application as "an example" should not be described as preferred or more advantageous over other embodiments or design solutions. Rather, the term "example" is used to present concepts in a particular way.

[0052] In the embodiments of the present application, the terms "first", "second", etc. are used only for distinction and explanation, and should not be understood as an indication or implication of relative importance or order.

[0053] An electronic device may support access to a network by using different communication modules. For example, an electronic device may support access to a network by using a first communication module and a second communication module. An electronic device may access a first network by using a first communication module and access a second network by using a second communication module. However, an electronic device typically camps on one of the first network or the second network to provide network access services for a user. For example, an electronic device camps on the first network to provide network access services for a user. When a user wants to watch online videos, browse web pages, or play online games, the electronic device may camp on the first network. When the electronic device accesses the first network by using the first communication module, data transmission is performed by using the first network. However, when the electronic device accesses the first network by using the first communication module, in an area where there is no coverage or the coverage is weak, the electronic device easily drops off the network or drops to a lower standard. In order to avoid the case where the user cannot access the network by using the electronic device, the electronic device can be handed over to the second network after the first network becomes abnormal. That is, the electronic device can camp on the second network and continue to provide network access services for the user. However, since the electronic device performs network handover only when the network on which the electronic device is currently camped becomes abnormal (e.g., the electronic device drops off the network or drops to a lower standard), this is a post-facto solution, which easily causes frame freeze or temporary network disconnection when the user accesses the network by using the electronic device, resulting in a poor user experience.

[0054] It should be noted that in the embodiment of the present application, the first communication module and the second communication module may be communication modules included in the electronic device. For example, the first communication module is a first Wi-Fi module, and the second communication module is a second Wi-Fi module. Alternatively, the first communication module and the second communication module may be connected to the electronic device through a specific interface. For example, the first communication module is a first SIM card module, and the second communication module is a second SIM card module. Alternatively, the first communication module and the second communication module are connected to the electronic device in different ways. For example, the first communication module is a SIM card, and the second communication module is a Wi-Fi module.

[0055] In view of this, one embodiment of the present application provides a network handover method, so that when an electronic device camps on a first network to provide network access services for a user, the electronic device can predict whether the first network will become abnormal after a first period of time has elapsed; if the electronic device predicts that the first network will become abnormal, the electronic device will pre-camp on a second network to provide network access services for the user, which helps reduce the possibility of frame freezing or falling off the network when the user accesses the network by using the electronic device, and helps improve user experience to a certain extent.

[0056] For example, the electronic device in the embodiments of the present application may be a mobile phone, a tablet computer, a wearable device, an in-vehicle device, an augmented reality (AR) device / virtual reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. The specific type of electronic device is not limited to the embodiments of the present application.

[0057] For example, Figure 1 is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. Specifically, as shown in the figure, the electronic device includes a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) port 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset jack 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, a subscriber identity module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, an optical proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.

[0058] It will be understood that the structure shown in this embodiment of the present application does not constitute a specific limitation for the electronic device. In some other embodiments of the present application, the electronic device may include more or fewer components than those shown, or some components may be combined, or some components may be divided, or different component configurations may be used. The components shown may be implemented using hardware, software, or a combination of software and hardware.

[0059] The processor 110 may include one or more processing units. For example, the processor 110 may be an application processor (AP), a modem, a graphics processing unit (GPU), an image signal processor (IMP), or a combination of the above. signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, neural-network processing unit The different processing units may be separate components or two or more different processing units may be integrated into one component.

[0060] The controller can be the central and command center of the electronic device, and can generate operation control signals according to the instruction operation code and the time sequence signal to complete the control of instruction reading and instruction execution.

[0061] A memory may also be located within the processor 110 and configured to store instructions and data. In some embodiments, the memory within the processor 110 is a cache. The memory may store instructions or data that have just been used or are used periodically by the processor 110. When the processor 110 needs to use the instructions or data again, the processor 110 may retrieve the instructions or data directly from the memory. This avoids repeated accesses, reduces the latency of the processor 110, and improves system efficiency.

[0062] In some embodiments, processor 110 may include one or more interfaces, which may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0063] The I2C interface is a bidirectional synchronous serial bus, with a serial data line (SDA) and a serial clock line (SCLK). In some embodiments, the processor 110 may include a group of multiple I2C buses. The processor 110 may be separately coupled to the touch sensor 180K, the charger, the flashlight, the camera 193, etc., through different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 may communicate with the touch sensor 180K through the I2C bus interface to implement the touch function of the electronic device.

[0064] The I2S interface may be configured to perform audio communication. In some embodiments, the processor 110 may include a group of multiple I2S buses. The processor 110 may be coupled to the audio module 170 via the I2S bus to perform communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may send an audio signal to the wireless communication module 160 via the I2S interface to perform a function for answering a phone call via a Bluetooth headset.

[0065] The PCM interface may also be configured to perform audio communications and to sample, quantize, and code analog signals. In some embodiments, audio module 170 may be coupled to wireless communications module 160 via a PCM bus interface. In some embodiments, audio module 170 may alternatively send audio signals to wireless communications module 160 via the PCM interface to perform functions for answering a phone call via a Bluetooth headset. Both the I2S interface and the PCM interface may be configured to perform audio communications.

[0066] The UART interface is a universal serial data bus and is used to perform asynchronous communication. The bus may be a bidirectional communication bus. The bus converts data to be transmitted between serial and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 to the wireless communication module 160. For example, the processor 110 communicates with a Bluetooth module in the wireless communication module 160 through the UART interface to perform a Bluetooth function. In some embodiments, the audio module 170 may send an audio signal to the wireless communication module 160 through the UART interface to perform a function of playing music through a Bluetooth headset.

[0067] The MIPI interface may be configured to connect the processor 110 to peripheral components such as a display 194 or a camera 193. MIPI interfaces include a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 communicates with the camera 193 via the CSI interface to implement a picture taking function of the electronic device. The processor 110 communicates with the display 194 via the DSI interface to implement a display function of the electronic device 100.

[0068] The GPIO interface may be configured using software. The GPIO interface may be configured as a control signal or a data signal. In some embodiments, the GPIO interface may be configured to connect the processor 110 to the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface may be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0069] The USB interface 130 is an interface that complies with the specifications of the USB standard, and may specifically be a mini USB interface, a micro USB interface, a USB Type-C interface, etc. The USB interface 130 may be configured to be connected to a charger to charge the electronic device, may be configured to transmit data between the electronic device and a peripheral device, or may be configured to be connected to a headset to play audio through the headset. The interface may further be configured to be connected to other electronic devices, such as an AR device.

[0070] It will be understood that the interface connection relationships between modules shown in this embodiment of the present invention are merely an example for illustrative purposes and are not intended to be limitations on the structure of the electronic device. In some other embodiments of the present application, the electronic device may alternatively use a different interface connection method or combination of interface connection methods than those in the above embodiment.

[0071] The charging management module 140 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the charging input from the wired charger via the USB port 130. In some wireless charging embodiments, the charging management module 140 may receive the wireless charging input by using a wireless charging coil of the electronic device 100. The charging management module 140 provides power to the electronic device via the power management module 141 while charging the battery 142.

[0072] The power management module 141 is configured to be connected to the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives inputs of the battery 142 and / or the charging management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, etc. The power management module 141 may be further configured to monitor parameters such as battery capacity, battery cycle count, and battery health (leakage or impedance). In some other embodiments, the power management module 141 may alternatively be located within the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 may alternatively be located within the same device.

[0073] The wireless communication function of the electronic device may be implemented via antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, a modem, a baseband processor, and the like.

[0074] Antenna 1 and Antenna 2 are configured to transmit and receive electromagnetic signals. Each antenna of the electronic device may be configured to cover one or more communication frequency bands. Different antennas may be further multiplexed to improve antenna utilization. For example, Antenna 1 may be multiplexed as a diversity antenna in a wireless local area network. In some other embodiments, the antennas may be used in combination with a tuning switch.

[0075] The mobile communication module 150 may be applied to electronic devices and provide a solution for wireless communication including formats such as 2G / 3G / 4G / 5G. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves via the antenna 1, process the received electromagnetic waves such as filtering and amplifying, and transfer the electromagnetic waves to the modem for demodulation. The mobile communication module 150 may further amplify the signal modulated by the modem and convert the amplified signal to electromagnetic waves for emission via the antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be disposed within the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be disposed within the same device.

[0076] The modem may include a modulator and a demodulator. The modulator is configured to modulate a low-frequency baseband signal to be transmitted into an intermediate-frequency or high-frequency signal. The demodulator is configured to demodulate a received electromagnetic signal into a low-frequency baseband signal. The demodulator then transfers the low-frequency baseband signal obtained through demodulation to a baseband processor for processing. The baseband processor processes the low-frequency baseband signal and then transfers the resulting signal to an application processor. The application processor outputs an audio signal via an audio device (such as, but not limited to, speaker 170A, receiver 170B, etc.) or displays an image or video via display 194. In some embodiments, the modem may be an independent component. In some other embodiments, the modem may be separate from the processor 110 and be located in the same device as the mobile communication module 150 or another functional module.

[0077] The wireless communication module 160 may include a Wi-Fi module and provide a wireless communication solution including a wireless local area network (WLAN) (e.g., a Wi-Fi network) and applied to an electronic device. For example, the Wi-Fi module includes a first Wi-Fi module and a second Wi-Fi module. For example, the first Wi-Fi module is configured to access a 2.4 GHz Wi-Fi network, and the second Wi-Fi module is configured to access a 5 GHz Wi-Fi network. In some other embodiments, the wireless communication module 160 may include a wireless communication module including Bluetooth (BT), global navigation satellite (GNSS), and the like. The wireless communication module 160 may further provide wireless communication applied to electronic devices, including GPS (Global Navigation System), frequency modulation (FM), near field communication (NFC) or infrared (IR) technology. The wireless communication module 160 may be one or more components integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signal, and transmits the processed signal to the processor 110. The wireless communication module 160 may receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into an electromagnetic wave for emission via the antenna 2.

[0078] In some embodiments, in the electronic device, Antenna 1 is coupled to the mobile communication module 150, and Antenna 2 is coupled to the wireless communication module 160, so that the electronic device can communicate with the network and other devices by using wireless communication technologies such as global system for mobile communication (GSM), general packet radio service (GPRS), code division multiple access (CDMA), and the like. wideband code division multiple access (CDMA) code division multiple access (WCDMA), time-division code division multiple access (WCDMA) code division multiple access, TD-SCDMA, long term evolution The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite based augmentation system (SBAS).

[0079] The electronic device performs display functions via a GPU, a display 194, an application processor, etc. The GPU is a microprocessor for image processing and is connected to the display 194 and the application processor. The GPU is configured to perform mathematical and geometric calculations to render images. The processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0080] The display 194 is configured to display images, videos, and the like. The display 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light emitting diode (OLED), or a combination of these. Examples of such displays include organic light-emitting diodes (OLEDs), active-matrix organic light-emitting diodes (AMOLEDs), flexible light-emitting diodes (FLEDs), mini-LEDs, micro-LEDs, micro-OLEDs, quantum light emitting diodes (QLEDs), etc. In some embodiments, the electronic device may include one or N displays 194, where N is a positive integer greater than 1.

[0081] The electronic device performs the photographing function via an ISP, a camera 193, a video codec, a GPU, a display 194, an application processor, and the like.

[0082] The ISP is configured to process data fed back by the camera 193. For example, when the shutter is pressed during a picture, light is sent through a lens to the camera's photoreceptor, which converts the light signal into an electrical signal. The camera's photoreceptor sends the electrical signal to the ISP for processing, which converts the electrical signal into a visible image. The ISP may further perform algorithmic optimization for noise, brightness, and appearance of the image. The ISP may further optimize parameters such as exposure and color temperature for the picture-taking scenario. In some embodiments, the ISP may be located within the camera 193.

[0083] The camera 193 is configured to capture still or video images. An optical image of the object is generated through a lens and projected onto a photoreceptor. The photoreceptor may be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS). The photoreceptor may be a CMOS (complementary metal-oxide-semiconductor, complementary metal-oxide-semiconductor, or ...

[0084] The digital signal processor is configured to process the digital signal. In addition to the digital image signal, the digital signal processor may further process other digital signals. For example, if the electronic device selects a frequency, the digital signal processor is configured to perform a Fourier transform or the like on the frequency energy.

[0085] A video codec is configured to compress or decompress digital video. An electronic device may support one or more video codecs. Thus, an electronic device can play or record video in multiple encoding formats, such as Moving Picture Expert Group (MPEG)-1, MPEG-2, MPEG-3, and MPEG-4.

[0086] The NPU is a neural network (NN) calculation processor, which can refer to the structure of biological neural networks, such as the transmission mode between human brain neurons, to quickly process input information and continue self-learning. Applications such as intelligent perception of electronic devices, such as image recognition, face recognition, voice recognition and text understanding, can be implemented using the NPU.

[0087] The external memory interface 120 may be configured to connect to an external memory card, such as a micro SD card, to expand the storage capabilities of the electronic device. The external memory card communicates with the processor 110 via the external memory interface 120 to perform data storage functions. For example, music, video, and other files are stored on the external memory card.

[0088] The internal memory 121 may be configured to store computer executable program code. The executable program code includes instructions. The processor 110 executes the instructions stored in the internal memory 121 to perform various functional applications and data processing of the electronic device. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system, applications required by at least one function (e.g., a sound playback function or an image playback function), and the like. The data storage area may store data generated when the electronic device is used (e.g., voice data and a phone book), and the like. In addition, the internal memory 121 may include a high-speed random access memory or may include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory, or a universal flash storage (UFS).

[0089] The electronic device may implement audio functions, such as music playback and recording functions, by using an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset jack 170D, an application processor, and the like.

[0090] Audio module 170 is configured to convert digital audio information to an analog audio signal output, and is further configured to convert an analog audio input to a digital audio signal. Audio module 170 may be further configured to code and decode audio signals. In some embodiments, audio module 170 may be located within processor 110, or some functional modules of audio module 170 may be located within processor 110.

[0091] The speaker 170A, also called a "loudspeaker," is configured to convert audio electrical signals into voice signals. The electronic device can be used to listen to music or answer calls in hands-free mode by using the speaker 170A.

[0092] Receiver 170B, also called the "earpiece," is configured to convert an audio electrical signal into a voice signal. When a call is answered or audio information is received by using an electronic device, receiver 170B can be brought close to a human ear to listen to the sound.

[0093] The microphone 170C, also referred to as a "microphone" or "microphone", is configured to convert audio signals into electrical signals. When making a call or sending a voice message, a user may speak near the microphone 170C through the user's mouth to input an audio signal to the My Microphone 170C. At least one microphone 170C may be disposed in the electronic device. In some other embodiments, in addition to collecting audio signals, two microphones 170C may be disposed in the electronic device to perform a noise reduction function. In some other embodiments, three, four or more microphones 170C may alternatively be disposed in the electronic device to collect audio signals and perform a noise reduction function. The microphone may further identify the sound source to perform a directional recording function, etc.

[0094] Headset jack 170D is configured to connect to a wired headset. Headset jack 170D may be a USB interface 130 or may be a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0095] The pressure sensor 180A is configured to sense a pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display 194. There are many types of pressure sensor 180A, such as resistive pressure sensor, inductive pressure sensor, and capacitive pressure sensor. The capacitive pressure sensor can include at least two parallel plates made of a conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device determines the pressure intensity based on the change in capacitance. When a touch operation is performed on the display 194, the electronic device detects the intensity of the touch operation by using the pressure sensor 180A. The electronic device can also calculate the touch position based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations performed at the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with a touch operation intensity less than a first pressure threshold is performed on the "Messages" icon, an instruction to view SMS messages is executed. When a touch is performed on the "Messages" application icon with a touch strength equal to or greater than a first pressure threshold, instructions are executed to compose an SMS message.

[0096] The gyro sensor 180B may be configured to determine the movement attitude of the electronic device. In some embodiments, the gyro sensor 180B may be used to determine the angular velocity of the electronic device around three axes (i.e., x, y, and z axes). The gyro sensor 180B may be configured to correct camera shake during shooting. For example, when the shutter is pressed, the gyro sensor 180B may detect the angle at which the electronic device is shaken, and calculate the distance that the lens module needs to compensate based on the angle, so that the lens can offset the shake of the electronic device 100 through an inversion motion to perform camera shake correction. The gyro sensor 180B may further be used in navigation scenarios and motion-sensing game scenarios.

[0097] The air pressure sensor 180C is configured to measure air pressure, and in some embodiments, the electronic device calculates height above sea level based on the air pressure measured by the air pressure sensor 180C to aid in positioning and navigation.

[0098] The magnetic sensor 180D includes a Hall sensor. The electronic device can detect the opening and closing of the flip cover by using the magnetic sensor 180D. In some embodiments, if the electronic device is a clamshell phone, the electronic device can detect the opening and closing of the flip cover by using the magnetic sensor 180D. Also, functions such as auto-unlock when flip cover is opened are set based on the detected opening and closing state of the leather case or the detected opening and closing state of the flip cover.

[0099] The acceleration sensor 180E detects the acceleration of the electronic device in various directions (usually on three axes) and may detect the magnitude and direction of gravity when the electronic device is stationary. The acceleration sensor may be further configured to determine the orientation of the electronic device, for use in switching between landscape and portrait modes or as a pedometer or other applications.

[0100] The distance sensor 180F is configured to measure distance. The electronic device may measure distance with infrared or laser. In some embodiments, in a photography scenario, the electronic device may measure distance by using the distance sensor 180F to perform fast focusing.

[0101] The optical proximity sensor 180G may include, for example, a light emitting diode (LED) and an optical detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device uses the light emitting diode to emit infrared light. The electronic device uses the photodiode to detect infrared light reflected from a nearby object. If sufficient reflected light is detected, it may be determined that an object is present near the electronic device. If insufficient reflected light is detected, it may be determined that no object is present near the electronic device. The electronic device may use the optical proximity sensor 180G to detect that a user is holding the electronic device close to the ear to make a phone call and automatically turn off the screen to save power. The optical proximity sensor 180G may also be used in leather case mode or pocket mode to automatically unlock or lock the screen.

[0102] The ambient light sensor 180L is configured to sense the brightness of the ambient light. The electronic device may adaptively adjust the brightness of the display 194 based on the sensed brightness of the ambient light. The ambient light sensor 180L may also be configured to automatically adjust the white balance during capture. The ambient light sensor 180L may further cooperate with the optical proximity sensor 180G to detect whether the electronic device is in a pocket to avoid accidental contact.

[0103] The fingerprint sensor 180H is configured to collect a fingerprint, and the electronic device may implement fingerprint-based unlocking, application access locking, fingerprint-based photography, fingerprint-based phone answering, etc., by using the collected fingerprint characteristics.

[0104] The temperature sensor 180J is configured to detect temperature. In some embodiments, the electronic device executes a temperature handling policy based on the temperature detected by the temperature sensor 180J. For example, if the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device reduces the performance of the processor near the temperature sensor 180J to reduce power consumption and implement thermal protection. In some other embodiments, if the temperature is lower than another threshold, the electronic device heats the battery 142 to avoid abnormal shutdown of the electronic device due to low temperature. In some other embodiments, if the temperature is lower than yet another threshold, the electronic device increases the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.

[0105] The touch sensor 180K is also referred to as a "touch control device." The touch sensor 180K may be disposed within the display 194, with the touch sensor 180K and the display 194 constituting a touch screen, also referred to as a "touch control screen." The touch sensor 180K is configured to detect touches occurring on or near the touch sensor 180K. The touch sensor may forward the detected touches to an application processor to identify a type of touch event. A visual output associated with the touches may be provided on the display 194. In some other embodiments, the touch sensor 180K is alternatively disposed on a surface of the electronic device and is located at a different location than the display 194.

[0106] The bone conduction sensor 180M may obtain a vibration signal. In some embodiments, the bone conduction sensor 180M may obtain a vibration signal of the vibrating bone of the human vocal cord. The bone conduction sensor 180M may contact the human heartbeat and receive a blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may alternatively be disposed in a headset to form a bone conduction headset. The audio module 170 may obtain an audio signal through analysis based on the vibration signal obtained by the bone conduction sensor 180M of the vibrating bone of the vocal cord to realize a voice function. The application processor may analyze heart rate information based on the blood pressure pulsation signal obtained by the bone conduction sensor 180M to implement a heart rate detection function.

[0107] The buttons 190 include a power button, a volume button, etc. The buttons 190 may be mechanical buttons or touch buttons. The electronic device may receive the button input and generate button signal inputs related to user settings and function control of the electronic device.

[0108] The motor 191 may generate a vibration prompt. The motor 191 may be configured to provide an incoming vibration prompt or touch vibration feedback. For example, touch operations performed for different applications (e.g., taking a photo and playing audio) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects for touch operations performed in different areas of the display 194. Different application scenarios (e.g., time reminder, information reception, alarm clock, and games) may also correspond to different vibration feedback effects. The touch vibration feedback effects may be further customized.

[0109] Indicator 192 may be an indicator light and may be configured to indicate charging status and power changes or may be configured to indicate messages, missed calls, notifications, and the like.

[0110] The SIM card interface 195 is configured to be connected to a SIM card. The SIM card can be inserted into or removed from the SIM card interface 195 to perform contact with or removal from the electronic device. The electronic device supports one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support a nano SIM card, a micro SIM card, a SIM card, etc. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The multiple cards can be of the same type or different types. The SIM card interface 195 is applicable to different types of SIM cards. The SIM card interface 195 is also applicable to an external storage card. The electronic device communicates with the network through the SIM card to perform functions such as calling and data communication. In some embodiments, the electronic device uses an eSIM, i.e. an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.

[0111] A layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture or a cloud architecture may be used for the software system of the electronic device in this embodiment of the present application. The layered architecture is used as an example. The software architecture of the electronic device includes several layers, each layer has a clear role and task. These layers communicate with each other through software interfaces. For example, FIG. 2 shows the software architecture of the electronic device according to an embodiment of the present application. As shown in FIG. 2, the software architecture of the electronic device is divided into four layers, which are, from top to bottom, an application layer, a framework layer, a daemon and a kernel layer, respectively.

[0112] The application layer provides an application programming interface (API) and a programming framework for applications in the application layer. There may be a set of applications such as camera, gallery, calendar, phone, WLAN (e.g., Wi-Fi), AI chip, Bluetooth, music, video, and message.

[0113] The framework layer is configured to support the execution of applications in the application layer and provide a number of services for the applications in the application layer. For example, the frame layer may include a window manager, a content provider, a view system, a telephone manager, a resource manager, a notification manager, a network manager 301, etc.

[0114] For example, a window manager is configured to manage window programs. A window manager may obtain the size of a display, determine if a status bar is present, lock the screen, take screenshots, etc. A content provider is configured to store and retrieve data and make the data accessible by applications. The data may include video, images, audio, calls made and received, browsing history, bookmarks, phone books, etc. A view system includes visual controls, such as a control for displaying text and a control for displaying images. A view system may be configured to build applications. A display interface may include one or more views. For example, a display interface that includes a message notification icon may include a text display view and an image display view. A resource manager provides various resources for an application, such as localized strings, icons, images, layout files, and video files. A notification manager may be configured to allow an application to display notification information in a status bar and to communicate notification messages. A notification manager may automatically disappear after a short period of time without requiring user interaction. For example, a notification manager may be configured to notify of download completion, message notifications, etc. The notification manager may be notifications that appear in the top status bar of the system in the form of graphs or scrollbar text, notifications of applications running in the background, or notifications that appear on the screen in the form of dialog windows, for example, text information is displayed in the status bar, a prompt tone is played, the electronic device vibrates, an indicator light flashes, etc.

[0115] The network manager 301 is configured to, when the electronic device camps on the first network, predict whether the first network will become abnormal after a first period of time based on the network information of the first sampling point, the network information of the second sampling point, and the first historical sampling record after the network information of the second sampling point is obtained.

[0116] The first network is accessed by using the first communication module. The network information of the first sampling point and the network information of the second sampling point are sequentially acquired by the electronic device in the process of the electronic device moving along the first route for the nth time. The first historical sampling record is the network information of the sampling point acquired by the electronic device for the first network in the process of the electronic device moving along the first route one or more times prior to the nth time, where n is a positive integer greater than 1. The first route is a route between the first location and the second location.

[0117] When predicting that the first network will be abnormal after the first period of time has elapsed, the network manager 301 is further configured to send a first information to the kernel layer. For example, the first information can be a first handover command or the first information includes relevant network information (e.g., a probability that the first network will be abnormal after the first period of time has elapsed, a probability that the second network will be abnormal after the first period of time has elapsed, or a dual-card proportional packet transmission indication that the second network can be accessed by using the second communication module), so that the kernel layer further determines whether to perform a network handover. The first handover command is used to indicate the electronic device to camp on the second network.

[0118] Also, when the electronic device camps on the second network, the network manager 301 is further configured to detect whether the first network has returned normally (for example, the network manager 301 detects whether the network signal strength of the first network is above a certain threshold and / or whether the network standard of the first network is a certain network standard, and determines whether the first network has returned normally). In addition, after the electronic device camps on the second network in the process of the electronic device moving along the first route for the nth time, the network manager 301 detects that the first network has returned normally and sends second information to the kernel layer. The second information may be a second handover command or the second information may include related information of the first network (for example, the probability that the first network becomes abnormal), so that the kernel layer further determines whether the first network has returned normally. The second handover command is used to indicate the electronic device to camp on the first network.

[0119] Additionally, in some other embodiments, the network manager 301 is further configured to collect statistics regarding the probability of the first network being abnormal and / or the second network at different sampling points along the first route based on network information of the first network and / or the second network collected and reported in the process of the electronic device moving along the first route.

[0120] The network information of the sampling point for the first network is used as an example. If the first communication module is a first SIM card, the network information may include a serving cell identifier, a network signal strength of the serving cell, a network standard, a neighboring cell identifier, a network signal strength of the neighboring cell, a system time, etc. If the first communication module is a first Wi-Fi module, the network information may include a first Wi-Fi identifier, a network signal strength of the first network, a second Wi-Fi identifier, a network signal strength of the network identified by the second Wi-Fi identifier, a system time, etc. The first Wi-Fi identifier is used to identify the first network. The second Wi-Fi identifier is used to identify a Wi-Fi network existing around the first network. For example, the Wi-Fi identifier may be a Wi-Fi network name and / or a media control access (MAC) address.

[0121] It should be noted that the first period may be 10s, 15s, 5s, etc., and may be preset before delivery of the electronic device or may be determined by the electronic device based on an algorithm or policy. This is not limited.

[0122] In addition, it should be noted that the electronic device moving along a first route in this embodiment of the present application may be understood to mean that the electronic device is movable or that the electronic device is carried by a transport (e.g., a vehicle) or a user and moves along the first route.

[0123] The daemon is responsible for collecting network information. For example, the process includes an information collecting unit 302. The information collecting unit 302 may be configured to obtain network information of different sampling points for the first network and / or the second network from the modem and / or Wi-Fi module every second period or every specific distance or in real time in the process that the electronic device moves along the first route, and report the network information to the network manager 301, etc.

[0124] In some other embodiments, the process further includes a network quality evaluation unit 303. The network quality evaluation unit 303 is configured to perform quality evaluation on the first network and the second network to obtain a quality evaluation result, and send the quality evaluation result to the kernel layer. For example, the network quality evaluation unit 303 may perform quality evaluation on the first network and the second network through packet feature extraction, flow feature identification, etc. (e.g., whether a page load is slowed down or a game freezes when the first network or the second network is used).

[0125] It should be noted that the network quality assessment unit 303 in this embodiment of the present application may alternatively be located in the framework layer. In addition, if the software architecture of the electronic device is the android system architecture, the process may be executed in the android runtime. The processes may be located between the framework layer and one of the Android runtime and system libraries, or between the framework layer and one of the Android runtime and system libraries. Alternatively, some processes are located between the framework layer and one of the Android runtime and system libraries, and some processes are located between the framework layer and one of the Android runtime and system libraries. This is not limited.

[0126] The kernel layer is a layer between hardware and software. The kernel layer includes at least a display driver, a camera driver, an audio driver and a sensor driver. In addition, in this embodiment of the present application, the kernel layer further includes a network handover center 304. For example, the network handover center 304 is configured to perform a network handover. For example, the network handover center 304 is configured to perform a handover to a second network after receiving first information from the network manager 301 or to perform a handover to a first network after receiving second information from the network manager 301. For example, the network handover center 304 is configured to, after receiving first information from the network manager 301, determine whether to perform a network handover based on the first information or based on the first information and the quality evaluation result from the network quality evaluation unit 303, and then perform a handover to a second network, or to, after receiving second information from the network manager 301, determine whether to perform a network handover based on the second information, and then perform a handover to the first network.

[0127] In the following embodiments, a mobile phone having the structure shown in FIG. 1 and FIG. 2 is used as an example to describe in detail the network handover method in the embodiments of the present application.

[0128] For example, Figure 3 is a schematic flow chart of a network handover method according to an embodiment of the present application. The method specifically includes the following steps:

[0129] Step 301: When the mobile phone camps on a first network, the mobile phone acquires network information of a sampling point every second period in the process of the mobile phone moving along a first route for an n-th time, where the first network is accessed by using a first communication module, where n is a positive integer greater than 1.

[0130] For example, the value of n can be equal to or greater than M. That is, the mobile phone performs the network handover method in this embodiment of the present application only in the process of the mobile phone moving along the first route for the Mth time or after the Mth time. Note that the value of M can be predefined or can be set by a user based on a user's request, or can be determined by the mobile phone based on an algorithm or policy. The method of determining M is not limited in this embodiment of the present application. For example, the minimum value of M can be 2, or 5, 6, 7, 8, 9, etc. Not limited thereto.

[0131] The first route is a route between the first location and the second location. The physical location corresponding to the sampling point is a location between the first location and the second location on the first route. For example, the first communication module is a first SIM card, and there is network information of sampling point 0. The network information of sampling point 0 includes a serving cell identifier, a network signal strength of the serving cell, N neighboring cell identifiers, network signal strengths of the N neighboring cells, and a system time. Specifically, the serving cell identifier is used to indicate a cell serving for the mobile phone at sampling point 0, and the N neighboring cell identifiers are used to respectively indicate cells adjacent to the cell serving for the mobile phone at sampling point 0. The network signal strength of the serving cell is used to indicate the signal strength of the serving cell, which is measured by the mobile phone at sampling point 0. The network signal strength of the neighboring cell is used to indicate the signal strength of the neighboring cell, which is measured by the mobile phone at sampling point 0. The system time is the system time of the mobile phone at sampling point 0. For example, if the system time of the mobile phone is Beijing time and sampling point 0 is also Beijing time, then the system time of the mobile phone at sampling point 0 is sampling point 0.

[0132] For example, the second period is 1s, 2s, 5s, etc., and may be predefined or determined by the mobile phone based on an algorithm or policy. This is not limited. For example, the mobile phone may determine the second period based on the user's actual moving speed. For example, a faster actual moving speed of the user indicates a shorter second period, which helps improve the accuracy of the mobile phone in predicting that the user will arrive in an area where a network anomaly occurs.

[0133] It should be noted that in the process of the mobile phone moving along the first route, the time interval for acquiring the network information of the sampling points may be fixed, unchanged or changed. That is, in the process of moving along the first route, the second period may remain unchanged or may be changed. This is not limited. For example, the second period may be a predefined fixed period, or may be a period during which the modem collects network information, etc. The period during which the modem collects network information may change.

[0134] In some embodiments, the mobile phone may trigger the acquisition of network information of the sampling point every second period by using the event. For example, when the mobile phone detects that the user leaves the first location, the mobile phone triggers the acquisition of network information of the sampling point every second period in the process of the mobile phone moving n times along the first route. For example, the first location may be a place where the user usually stays, such as a home, a company, a dormitory, a coffee shop, a restaurant or a vegetable market. The first location may be pre-stored in the mobile phone by the user or may be determined by the mobile phone based on the user's behavioral habits (e.g., information on the Wi-Fi network frequently accessed by the user, location information, applications used or cellular networks accessed). The method of determining the first location is not limited in this embodiment of the present application. For example, the first location is a home. When the Wi-Fi function is enabled, if the mobile phone detects that the mobile phone is disconnected from the Wi-Fi network in the home during the first time period, the mobile phone may determine that the user has left the home. For example, the first time period may be the time period of the office or school (e.g., from 7:00 to 10:00). As another example, the mobile phone may alternatively detect whether the mobile phone leaves the first location based on global positioning system (GPS) information. It should be understood that in this embodiment of the present application, whether the user leaves the first location may alternatively be detected in other ways. This is not limited.

[0135] Also, for example, if it is detected that the user arrives at the second location, the mobile phone may stop acquiring network information of the sampling point. The second location may be another location where the user usually stays. For example, the first location may be a home and the second location may be a company. In another example, the first location may be a company and the second location may be a home. In yet another example, the first location may be a home and the second location may be a coffee shop. In yet another example, the first location may be a dormitory and the second location may be a cafeteria. For example, the second location may be a company. When the Wi-Fi function is enabled, if the mobile phone detects that the mobile phone has accessed the company's Wi-Fi network during the second time period, the mobile phone determines that the user has arrived at the company. For example, the second time period may be the office time period. As another example, the mobile phone may detect whether the user has arrived at the company based on GPS information.

[0136] Specifically, in some embodiments, the mobile phone detects whether the user leaves the first location by using AI Tips in the application layer, and when AI Tips detects that the user leaves the first location, AI Tips sends a network information collection command to the information collection unit 302. After receiving the network information collection command, the information collection unit 302 obtains network information of the sampling point every second period. In addition, the mobile phone detects whether the user arrives at the second location by using AI Tips, and when AI Tips detects that the user arrives at the second location, AI Tips sends a network information collection end (or stop) command to the information collection unit 302. After receiving the network information collection end (or stop) command, the information collection unit 302 stops collecting network information.

[0137] Note that the above are merely examples of events that trigger a mobile phone to acquire or stop acquiring network information for a sampling point every second period, and do not constitute a limitation on the events that trigger a mobile phone to acquire or stop acquiring network information for a sampling point every second period in this embodiment of the present application.

[0138] In this embodiment of the present application, N is a positive integer equal to or greater than 0. Also, the maximum value of N does not exceed F, and the value of F may be 7, 9, 5, etc., and may be predefined or determined by the mobile phone based on an algorithm or policy. For example, the mobile phone may determine the value of F based on the actual use of storage space. For example, when the available storage space is large, the value of F may be larger, and when the available storage space is small, the value of F is small. For example, when the mobile phone actually collects more than F neighboring cell identifiers, the value of N may be F, and the N neighboring cell identifiers included in the network information may be any F neighboring cell identifiers among the multiple actually collected neighboring cell identifiers, or the cells identified by the N neighboring cell identifiers included in the network information are cells with high network signal strength among the multiple cells, and the multiple cells are cells identified by the multiple neighboring cell identifiers actually collected by the mobile phone.

[0139] For example, assume that the value of F is 7. When the neighboring cell identifiers actually collected by the mobile phone are cell identifier 1, cell identifier 2, cell identifier 3, cell identifier 4, cell identifier 5, cell identifier 6, cell identifier 7, and cell identifier 8, and the network signal strengths identified by cell identifier 1 to cell identifier 8 are in descending order, the network signal strengths of the cells identified by cell identifier 1 to cell identifier 7 and cell identifier 1 to cell identifier 7, respectively, can be used as the network signal strengths of the N neighboring cells and the cells identified by the N neighboring cells, respectively, included in the network information.

[0140] For example, the first communication module is SIM card 1. For example, SIM card 1 may be a SIM card used for default mobile data selected by a user. For example, a user may set a SIM card used for default mobile data on a SIM card management interface. For example, a SIM card management interface is shown in FIG. 4. If a user selects card 1, the SIM card used for default mobile data is card 1. As another example, SIM card 1 may alternatively be a SIM card selected by a user for default speech operation. For example, a user may set a SIM card used for default speech operation by using the SIM card management interface shown in FIG. 4.

[0141] In particular, step 301 may be replaced by step 301'. In step 301', when the mobile phone camps on the first network, the mobile phone acquires network information of the sampling points in real time in the process of the mobile phone moving along the first route. Alternatively, when the mobile phone camps on the first network, the mobile phone acquires network information of the sampling points at certain intervals in the process of the mobile phone moving along the first route. Note that the distance between two adjacent sampling points may be fixed and unchanging, or may change. This is not limited. For example, the mobile phone may determine the distance between two adjacent sampling points based on the moving speed.

[0142] Step 302: The mobile phone determines whether there is network information of a matching point in the first historical sampling record, the network information of which is a sampling point and whose relationship with the network information obtained in the process of the mobile phone moving n-th along the first route satisfies a first condition.

[0143] The first historical sampling record includes one or more samples of the first route, where one sample is network information obtained for the first network in the process of the mobile phone moving n times previously along the first route, and the first historical sampling record includes (n-1) samples, where the first historical sampling record is network information of one or more sampling points obtained for the first network in the process of the mobile phone moving n times previously along the first route.

[0144] A sample i obtained by the mobile phone for a first network in the process of the mobile phone moving along the first route for the (ni)th time is taken as an example. The sample i includes at least one matching point network information and at least one abnormal point network information. The abnormal point network information is the network information of the sampling point where the probability of the first network being abnormal is equal to or greater than a first threshold, obtained by the mobile phone for the first network in the process of the mobile phone moving along the first route for the (ni)th time. The matching point network information is the network information of the sampling point where the probability of the first network being abnormal is equal to or less than a second threshold, obtained by the mobile phone for the first network in the process of the mobile phone moving along the first route for the (ni)th time. For example, the first threshold and the second threshold may be predefined or may be determined by the mobile phone based on an algorithm or rule. This is not limited. For example, the first threshold may be between 0.65 and 0.95, including 0.65 and 0.95. For example, the first threshold may be 0.65, 0.95, 0.9, 0.8, etc. For example, the second threshold may be located between 0.1 and 0.4. For example, the second threshold may be 0.2, 0.1, 0.4, etc.

[0145] Note that, for one sample, the network information of one anomaly point may correspond to the network information of Q matching points, where Q is a positive integer equal to or greater than 2. For example, Q may be 2, 3, 4, 5, 6, etc., and may be predefined or determined by the mobile phone based on an algorithm or policy. This is not limited. In a sample, the network information of different numbers of anomaly points may correspond to the network information of the same or different numbers of matching points.

[0146] It should be noted that the network information of different matching points corresponding to the network information of the same abnormal point has different serving cell identifiers and / or different network signal strengths of serving cells. For example, the difference of the network signal strengths of the serving cells in the network information of different matching points is not below a certain threshold or is within a threshold range. The threshold or threshold range can be predefined or can be determined by the mobile phone based on an algorithm or rule. This is not limited.

[0147] For example, sample i includes network information of matching point 1, network information of matching point 2, network information of abnormal point 1, network information of matching point 3, network information of matching point 4, network information of matching point 5 and network information of abnormal point 2. For example, in the process of a mobile phone moving (ni) times along a first route, the relationship between physical locations corresponding to matching point 1, matching point 2, matching point 3, matching point 4, matching point 5, abnormal point 1 and abnormal point 2 is shown in FIG. 5. In the process of a mobile phone moving (ni) times along a first route, the mobile phone sequentially passes through physical locations corresponding to matching point 1, matching point 2, abnormal point 1, matching point 3, matching point 4, abnormal point 5 and abnormal point 2. The network information of the matching points, which corresponds to the network information of the abnormal point 1, is the network information of the matching point 1 and the network information of the matching point 2, and the network information of the matching points, which corresponds to the network information of the abnormal point 2, is the network information of the matching point 3, the network information of the matching point 4 and the network information of the matching point 5. For example, the network information of matching point 1 and the network information of matching point 2 have different serving cell identifiers and / or different network signal strengths of the serving cells.

[0148] The first condition is used to indicate that the distance between the physical location corresponding to the sampling point in the process of the mobile phone moving n times along the first route and the physical location corresponding to the matching point in the process of the mobile phone moving n times previously along the first route is within the error range. For example, if the matching point 1 in sample i and the network information of the sampling point 1 obtained in the process of moving n times along the first route satisfy the first condition, the physical location corresponding to the sampling point 1 and the physical location corresponding to the matching point 1 are within the error range.

[0149] For example, the first communication module is a first SIM card. The network information of the sampling point 1 and the network information of the matching point 1 satisfy a first condition. For example, the network information of the sampling point 1 and the network information of the matching point 1 have the same serving cell identifier, the difference between the network signal strengths of the serving cells is within a first range, the same neighboring cell identifier, and the difference between the network signal strengths of the same neighboring cells is within a second range. It should be noted that the first range and the second range may be the same or different. For example, the first range may be predefined or may be determined by the mobile phone based on an algorithm or rule. For example, the first range may be [-5dB, 5dB] or [-6dB, 6dB], [-6dB, 5dB], etc. For the second range, please refer to the related description of the first range. Details will not be described again here.

[0150] In some other embodiments, when the first historical sampling record includes multiple route samples, the mobile phone may traverse the multiple route samples and determine whether there is network information of a matching point in the first historical sampling record, whose network information of the sampling point satisfies a first condition with the network information obtained in the process of moving n times along the first path. Alternatively, after the mobile phone obtains network information of Y sampling points in the process of moving n times along the first route, the mobile phone determines that the mobile phone moves along the first route based on the network information of the Y sampling points, and then determines whether there is network information of a matching point in the first historical sampling record, whose network information of the Y+i sampling points satisfies a first condition, where i is an integer equal to or greater than 1. That is, starting from the network information of the (Y+i)th sampling point, the mobile phone determines whether there is network information of a matching point in the first route sample of the first historical sampling record, whose network information of the matching point satisfies a first condition with the network information of the corresponding sampling point. Alternatively, the mobile phone may refer to time information to determine whether the mobile phone travels along a first route, and then perform step 302. For example, during office hours, after detecting that the user has left home, the mobile phone determines whether the network information of the matching point, whose relationship with the network information of the corresponding sampling point satisfies a first condition, exists in the sample of the user's route to work in the first historical sampling record. For example, during non-working hours, after detecting that the user has left work, the mobile phone determines whether the network information of the matching point, whose relationship with the network information of the corresponding sampling point satisfies a first condition, exists in the sample of the user's non-working hours route in the first historical sampling record.

[0151] For example, the mobile phone determines that in the first history sampling record, the network information of the matching point whose relationship with the network information of the sampling point 0 satisfies a first condition is the network information of the matching point 1, and the first communication module is the first SIM card. The signal strength error between the matching point 1 and the sampling point 0 satisfies Equation 1 or Equation 2.

[0152]

number

[0153]

number

[0154] Here, C S is the error impact factor of the serving cell, and C N is the error impact factor of the adjacent cell, and V S =P S1 -P S0 And P S1 is the network signal strength of the serving cell in the network information of sampling point 0, and P S0 is the network signal strength of the serving cell in the network information of matching point 1, j is the number of the same neighbor cell identifiers in the network information of sampling point 0 and the network information of matching point 1, and V Ni =P Ni -P N0i And P Ni is the network signal strength of neighbor cell i at sampling point 0, and P Ni is the network signal strength of neighboring cell i in the network information of matching point 1. Neighboring cell i is the cell identified by the same i-th neighboring cell identifier in the network information of sampling point 0 and the network information of matching point 1.

[0155] For example, CS +C N If =1, C S and C N may be predefined or may be determined by the mobile phone based on an algorithm or policy. This is not limited. For example, C S and C N The value ranges from 0 to 1. For example, C S = 0.3, and C N =0.7.

[0156] Step 303: In the process of the mobile phone moving along the first route for the nth time, after the mobile phone sequentially obtains the network information of the first sampling point and the network information of the second sampling point, the mobile phone predicts whether a network abnormality occurs in the first network after a first period has elapsed based on the network information of the first sampling point, the network information of the second sampling point, the network information of the first matching point, and the network information of the second matching point; if a network abnormality does not occur in the first network after the first period has elapsed, the mobile phone continues to camp on the first network, or if a network abnormality occurs in the first network after the first period has elapsed, the mobile phone performs step 304. Note that, the mobile phone continuing to camp on the first network can be understood as the mobile phone continuing to use the first network to provide a network access service to a user.

[0157] For example, the first period may be located in the range of 5s to 15s. For example, the first period may be 10s, or 15s, 5s, etc., but is not limited thereto. The first period may be predefined or may be determined with reference to the device processing speed of the mobile phone, or may be determined in another manner. This is not limited thereto.

[0158] For example, when the network information of a plurality of matching points whose relationship with the network information of the first sampling point satisfies a first condition exists in the first historical sampling record, the network information of the matching point corresponding to a smaller signal strength error between the matching point in the network information of the plurality of matching points and the first sampling point may be used as the network information of the first matching point. Similarly, when the network information of a plurality of matching points whose relationship with the network information of the second sampling point satisfies a first condition exists in the first historical sampling record, the network information of the matching point corresponding to a smaller signal strength error between the matching point in the network information of the plurality of matching points and the second sampling point may be used as the network information of the second matching point. Also, the network information of the first matching point and the network information of the second matching point are network information within the same sample. That is, the network information of the first matching point and the network information of the second matching point are sequentially obtained in the process of moving once (for example, the (ni)th) time before the nth time along the first route. This helps to improve the reliability of predicting whether the first network will become abnormal after the first period has passed.

[0159] In some embodiments, the mobile phone may determine whether the first network becomes abnormal after a third period based on the system time of the network information of the first sampling point, the network information of the second sampling point, the network information of the first matching point, the network information of the second matching point, and the network information of the first abnormal point. Then, the mobile phone determines whether the third period is longer than the first period. If the third period is less than or equal to the first period, the mobile phone predicts that the first network will become abnormal after the first period, and if the third period is longer than the first period, the mobile phone predicts that the first network will not become abnormal after the first period. The network information of the first abnormal point is the network information of the abnormal point corresponding to the network information of the first matching point and the network information of the second matching point.

[0160] For example, the system times in the network information of the first sampling point, the network information of the second sampling point, the network information of the first matching point, the network information of the second matching point and the network information of the first abnormal point are time Ti, time Tj, time T1, time T2 and time T3 respectively. Time Tj is after time Ti, time T3 is after time T2, time T2 is after time T1, and the third period is t1=(Tj-Ti)(T3-T2) / (T2-T1).

[0161] Also, if the third period is longer than the first period, the mobile phone starts the timer to start timing, and performs step 304 after the timer ends. The timer's timing period is a fourth period, and the fourth period is the difference between the third period and the first period. That is, in the case of the mobile phone, the fourth period is from the time Tj to the time when the timer ends. Therefore, in the case of the mobile phone, the first network becomes abnormal after the third period has passed. It will be understood that the timer's timing period is the period from the start of timing to the end of timing.

[0162] Alternatively, if the third period is longer than the first period, the mobile phone starts the timer to start timing, and continues to obtain the network information of the sampling point every second period in the process of the mobile phone moving n times along the first route, and then performs step 302 to continue predicting how long the first network will become abnormal for the mobile phone. Also, whether to update the timer's timing period can be determined based on the principle that there is a minimum time error. For example, the mobile phone predicts that the first network will become abnormal after the third period has passed based on the network information of the first matching point and the network information of the second matching point, and if the third period is longer than the first period, the mobile phone sets the timer's timing period to a fourth period. The fourth period is the difference between the third period and the first period. Before the timer ends, the mobile phone further sequentially obtains the network information of the third sampling point and the network information of the fourth sampling point in the process of the mobile phone moving n times along the first route. The network information of the third sampling point and the network information of the third matching point in the first historical sampling record meets a first condition, the network information of the fourth sampling point and the network information of the fourth matching point in the first historical sampling record meets a first condition, and the network information of the third matching point and the network information of the fourth matching point are network information of sampling points whose probability of network anomaly occurring in the first network is equal to or less than a second threshold, and are network information obtained for the first network in the process of the mobile phone moving forward n times along the first route. Note that the network information of the third matching point, the network information of the fourth matching point, the network information of the first matching point and the network information of the second matching point may belong to one sample or belong to different samples.When the mobile phone predicts based on the network information of the third matching point and the network information of the fourth matching point that the first network will become abnormal after the fifth period has elapsed, if the time error between the period predicted based on the network information of the third matching point and the period predicted based on the network information of the fourth matching point is greater than the time error between the period predicted based on the network information of the first matching point and the period predicted based on the network information of the second matching point, the timer counting period is not updated, or if the time error between the period predicted based on the network information of the third matching point and the period predicted based on the network information of the fourth matching point is equal to or less than the time error between the period predicted based on the network information of the first matching point and the period predicted based on the network information of the second matching point, the timer counting period is not ended, and if the fifth period is longer than the first period, the timer counting period is updated to a sixth period. The sixth period is the difference between the fifth period and the first period. Similarly, the timer period is not updated and step 304 is performed until the timer expires.

[0163] The time error between the third period predicted according to the network information of the first matching point and the third period predicted according to the network information of the second matching point is used as an example. For example, the time error between the third period predicted according to the network information of the first matching point and the third period predicted according to the network information of the second matching point satisfies Equation 3. T var =t0+V1+V23 Where:

[0164]

number

[0165]

number

[0166]

number

[0167] Here, T var is the time error between the third period predicted based on the network information of the first matching point and the third period predicted based on the network information of the second matching point; Ti is the system time of the mobile phone at the first sampling point; Tj is the system time of the mobile phone at the first matching point; T2 is the system time of the mobile phone at the second matching point; Var1 is the signal strength error between the first sampling point and the first matching point; Var2 is the signal strength error between the second sampling point and the second matching point; L1 is the number of the same neighboring cell identifiers in the network information of the first sampling point and the network information of the first matching point, L2 is the number of the same neighboring cell identifiers in the network information of the second sampling point and the network information of the second matching point, M is the maximum number of neighboring cell identifiers in the network information of one sampling point, P max is the maximum deviation between the network signal strengths of the same cell collected in the process of the user moving at different times along the first route. For example, P max may be 5 dB, 6 dB, etc., and may be predefined or determined by the mobile phone based on an algorithm or policy. This is not limited.

[0168] In addition, when the network information of a plurality of matching points, whose relationship with the network information of the first sampling point satisfies a first condition, exists in the first historical sampling record, and the network information of a plurality of matching points, whose relationship with the network information of the second sampling point satisfies a first condition, exists in the first historical sampling record, for example, the mobile phone determines the network information of the matching points used to predict whether the first network will become abnormal after the first period has passed based on the principle that there is a minimum time error. For example, when the time error between the period predicted based on the network information of the first matching point and the period predicted based on the network information of the second matching point is small, the mobile phone predicts whether the first network will become abnormal after the first period has passed based on the network information of the first matching point and the network information of the second matching point. Alternatively, the mobile phone determines the network information of the matching points used to predict whether the first network will become abnormal after the first period has passed based on the principle that there is a minimum signal strength error and the principle that there is a minimum time error. For example, if the network information of matching point 1 and the network information of matching point 3 in the first historical sampling record and the network information of the first sampling point satisfy a first condition, and the network information of matching point 2 and the network information of matching point 4 in the first historical sampling record and the network information of the second sampling point satisfy a first condition, the signal strength error between matching point 1 and the first sampling point is smaller than the signal strength error between matching point 3 and the first sampling point.When the signal strength error between the matching point 2 and the second sampling point is the same as the signal strength error between the matching point 4 and the second sampling point, if the network information of the matching point 1, the network information of the matching point 2 and the network information of the matching point 4 are the network information of the same sample in the first historical sampling record, the mobile phone may determine the network information of the matching point used to predict whether the first network will be abnormal after the first period has passed based on the principle that there is a minimum time error. For example, if the time error between the period predicted based on the network information of the matching point 1 and the period predicted based on the network information of the matching point 2 is smaller than the time error between the period predicted based on the network information of the matching point 1 and the period predicted based on the network information of the matching point 4, the network information of the matching point 1 is used as the network information of the first matching point, and the matching point 2 is taken as the second matching point, the network information of the matching point 2 is used to predict whether the first network will be abnormal after the first period has passed.

[0169] For example, in the process of the mobile phone moving along the first route for the (ni)th time, the mobile phone acquires the network information of matching point 1, the network information of matching point 2, and the network information of matching point 4. In the process of the mobile phone moving along the first route for the (nj)th time, the mobile phone acquires the network information of matching point 3. The system times corresponding to the first sampling point, the second sampling point, matching point 1, matching point 2, matching point 3, and matching point 4 respectively are shown in FIG.

[0170] Step 304: If the mobile phone predicts that the first network will become abnormal after the first period has elapsed, before the first network becomes abnormal, the mobile phone camps on a second network accessed by using a second communication module to provide network access services for the user. The second communication module can be a second SIM card, can be a second Wi-Fi module, etc.

[0171] Also, if the mobile phone predicts that the first network will become abnormal after the first period of time has elapsed, the mobile phone determines whether the second network is abnormal, and camps on the second network if the second network does not become abnormal. If a network abnormality occurs in the second network, the mobile phone does not perform a network handover and continues to camp on the first network. This helps reduce the number of invalid network handovers.

[0172] For example, the mobile phone may determine whether the second network is abnormal based on the second history sampling record. The second history sampling record is a history sampling record for the second network, i.e., a history sampling record for the second communication module. For example, the second history sampling record includes one or more samples of the first route. For the sample acquisition method in this embodiment of the present application, please refer to FIG. 7. Details will not be described again here.

[0173] For example, when the mobile phone predicts that the first network will be abnormal after the first period has elapsed, the mobile phone determines whether the probability that the second network corresponding to the network information of the first abnormal point in the second history sampling record will be abnormal is less than a second threshold, and if the probability that the second network will be abnormal is less than the second threshold, the mobile phone determines that the second network will not be abnormal. For the second threshold, please refer to the above related description. Details will not be described again here.

[0174] As another example, when the mobile phone predicts that the first network will become abnormal after a first period of time has elapsed, the mobile phone simultaneously transmits data packets by using the first network and the second network, performs quality evaluation on the first network and the second network, and determines whether the second network is abnormal based on the quality evaluation result.

[0175] For example, the ratio of the number of data packets transmitted by using the first network to the number of data packets transmitted by using the second network may be P1:P2. For example, P1:P2=(1-Y1):(1-Y2), where Y1 is a first threshold and Y2 is a second threshold. Specifically, the mobile phone performs a quality assessment on the first network by using data packets transmitted through the first network, and performs a quality assessment on the second network by using data packets transmitted through the second network. If the quality assessment result indicates that the quality of the second network is better than that of the first network, the mobile phone determines that the second network will not become abnormal. For example, in this embodiment of the present application, the network quality may be measured based on the network bandwidth, transmission delay, packet loss rate, transmission rate, etc. A smaller transmission delay, a smaller packet loss rate, a larger network bandwidth, and a faster transmission rate indicate better network quality. For example, the quality assessment is performed on the first network by using data packets transmitted through the first network. A flow type may be identified by performing packet characteristic analysis on the data packets transmitted over the first network. The flow type may be understood as the type of service (e.g., video or game) currently being executed on the mobile phone. In addition, a transmission delay, a network bandwidth, a transmission speed, a packet loss rate, etc. may be identified by collecting flow characteristic statistics (e.g., statistics on the number of transmitted packets or hybrid automatic repeat request (HARQ) information returned for transmitted packets) on the data packets transmitted over the first network, and it may be determined whether frame freezing (e.g., whether page loading is slow or whether a game freezes) occurs when the first network is used for the mobile phone.

[0176] In some embodiments, after the mobile phone camps on the second network, the mobile phone may further acquire network information of sampling points in the process of the mobile phone moving along the first route, and based on the obtained network information of the sampling points, if it detects that the first network has returned to normal, it may camp on the first network again to provide network access services for the user.

[0177] For example, the first communication module is a first SIM card. The network information of the sampling point includes a network signal strength of a serving cell. If the network signal strength of the serving cell is greater than a third threshold, the mobile phone may determine that the first network has returned normally. In another example, the network information of the sampling point includes a network signal strength and a network standard of the serving cell. If the network signal strength of the serving cell is greater than a fourth threshold and the network standard is a first network standard, the mobile phone may determine that the first network has returned normally. The third threshold and the fourth threshold may be the same or different. This is not limited. The first network standard may be a network standard set by a user based on a user's requirements, or may be a highest network standard supported by the mobile phone, etc. This is not limited.

[0178] For example, sample 0 is obtained in the process of the mobile phone moving along the first route (ni) times, and the first communication module is the first SIM card. For example, Figure 7 is a schematic flow chart for obtaining sample 0 of the first SIM card according to an embodiment of the present application. The following steps are specifically included:

[0179] Step 701: When the first SIM card is enabled, the mobile phone detects that the mobile phone leaves the first location for the (ni)th time, and obtains network information of the sampling points every specific period.

[0180] In addition, when the mobile phone acquires the network information of the sampling point, the interval for acquiring the network information of the sampling point may be the same as or different from the interval for acquiring the network information of the sampling point when predicting whether the first network will become abnormal after the first period has passed, but this is not limited.

[0181] Specifically, for detecting that the mobile phone leaves the first location, the network information of the sampling point, etc., please refer to the related description of FIG. 3. The details will not be described again here.

[0182] Step 702: After detecting that the mobile phone has arrived at the second location, the mobile phone stops acquiring network information of the sampling points. The route between the first location and the second location is the first route.

[0183] Specifically, for the second position, detection of the second position, etc., please refer to the corresponding description in Fig. 3. The details will not be described again here.

[0184] Step 703: The mobile phone determines sample 0 based on network information of the sampling points, which is obtained in the process of the mobile phone moving (ni)th along the first route, and determines the probability of a network anomaly occurring in the first network at each sampling point in sample 0 based on the probability of a network anomaly occurring in the first network corresponding to a sample obtained in the process of the mobile phone moving (ni)th before along the first route. In addition, the mobile phone further updates the probability of a network anomaly occurring in the first network at each sampling point in the sample obtained in the process of the mobile phone moving (ni)th before along the first route based on the network information of the sampling points, which is obtained in the process of the mobile phone moving (ni)th along the first route.

[0185] For example, in the process of a mobile phone moving (ni) times along a first route, the probability that the first network becomes abnormal at a sampling point can be obtained based on the Markov algorithm. Sampling point 1 is taken as an example. For example, the serving cell identifier included in the network information of sampling point 1 is identifier 1. In the process of a mobile phone moving (ni) times along a first route, the probability that the first network becomes abnormal at sampling point 1 can be understood as follows: In the process of a mobile phone moving (ni) times along a first route, if the first network is accessed by using a cell identified by identifier 1, the probability that a network abnormality occurs in the first network can satisfy Equation 4.

[0186]

number

[0187] Here, E n-i is the total number of times that the first network becomes abnormal in the cell identified by identifier 1 in the process of the mobile phone moving (ni) times along the first route, and A n-i is the total number of times that the mobile phone acquires identifier 1 in the process of moving the mobile phone for the (ni)th time along the first route.

[0188] For example, ni is 2. In the process of the mobile phone first moving along the first route, the mobile phone obtains network information of X sampling points, and the network information of the X sampling points is respectively the network information of sampling point 11, the network information of sampling point 12, the network information of sampling point 13, ··· the network information of sampling point 1x. If the first network becomes abnormal at sampling point 16 and sampling point 19, both sampling point 16 and sampling point 19 will become abnormal points.

[0189] If it is specified that the mobile phone reserves network information of up to four matching points for each abnormal point, the mobile phone reserves the network information of sampling point 12 to sampling point 15 as the network information of the matching point corresponding to the network information of sampling point 16, and reserves the network information of sampling point 17 and sampling point 18 as the network information of the matching point corresponding to the network information of sampling point 19. In order to avoid occupying a large memory area, other network information may not be reserved. If the storage capacity of the mobile phone is large, network information other than the network information of the abnormal point and the matching point may also be reserved. For example, sample 1 obtained in the process in which the mobile phone first moves along the first route includes the network information of sampling point 12 to sampling point 19. The serving cell identifiers in the network information of sampling point 12 to sampling point 19 are identifier 2, identifier 3, identifier 4, identifier 5, identifier 6, identifier 7, identifier 8 and identifier 9, respectively. The probability that a network abnormality occurs in the first network is 100% in cells identified by identifiers 5 and 9, and the probability that a network abnormality occurs in the first network is 0 in cells identified by identifiers 2 to 4, identifier 7, and identifier 8.

[0190] In the process of the mobile phone moving along the first route for the second time, the mobile phone also obtains network information of X sampling points, and the network information of the X sampling points is respectively the network information of sampling point 21, the network information of sampling point 22, the network information of sampling point 23, ... and the network information of sampling point 2x.

[0191] If the first network becomes abnormal at sampling point 24 and sampling point 29, both sampling point 24 and sampling point 29 become abnormal points. The mobile phone reserves the network information of sampling point 21 to sampling point 24 as the network information of the matching point corresponding to the network information of sampling point 24, and reserves the network information of sampling point 25 to sampling point 28 as the network information of the matching point corresponding to the network information of sampling point 29 to obtain sample 0. That is, the sample 0 obtained in the process in which the mobile phone moves along the first route for the second time includes the network information of sampling point 21 to sampling point 24 and sampling point 25 to sampling point 29. For example, the serving cell identifiers in the network information of sampling point 21 to sampling point 29 are identifier 1, identifier 2, identifier 3, identifier 4, identifier 5, identifier 6, identifier 7, identifier 8, and identifier 9, respectively, and the first network becomes abnormal in the cells identified by identifier 4 and identifier 9. In the process of moving along the first route for the second time, a network abnormality occurs for the first time in the cell identified by identifier 4, so the probability that the first network becomes abnormal in the cell identified by identifier 4 is 100%, in the process of moving along the first route for the first time, the first network becomes abnormal in the cell identified by identifier 5, and in the process of moving along the first route for the second time, no abnormality occurs in the cell identified by identifier 5. Therefore, the probability that the first network becomes abnormal in the cell identified by identifier 5 can be updated to 50%. In addition, in the process of moving along the first route for the first time, the first network becomes abnormal in the cell identified by identifier 9, and in the process of moving along the first route for the second time, the first network still becomes abnormal in the cell identified by identifier 9.Therefore, the probability that a network anomaly occurs in the cell identified by identifier 9 is still 100%.

[0192] In addition, the mobile phone may further update the probability that the first network becomes abnormal in the cells identified by identifier 4, identifier 5 and identifier 9 based on whether the first network becomes abnormal in the cells identified by identifier 4, identifier 5 and identifier 9 in a subsequent process of moving along the first route.

[0193] In addition, when the network information of the first matching point and the network information of the second matching point are used to predict whether the first network will become abnormal after the first period has elapsed, the probability of the first network becoming abnormal is equal to or greater than a first threshold in a cell identified by a serving cell identifier in the network information corresponding to the network information of the first matching point and the network information of the second matching point, and the mobile phone determines that the first network will become abnormal at the first abnormal point. That is, the first network will become abnormal in a cell identified by a serving cell identifier in the network information of the first abnormal point. If the probability of the first network becoming abnormal is less than a first threshold in a cell identified by a serving cell identifier in the network information of the abnormal point, which is the network information of the abnormal point, and corresponds to the network information of the first matching point and the network information of the second matching point, the mobile phone determines that the first network will not become abnormal at the first abnormal point. That is, the first network will not become abnormal in a cell identified by a serving cell identifier in the network information of the first abnormal point.

[0194] In some embodiments, when the storage period of the sample reaches the validity period, the mobile phone may further automatically delete the sample. This helps to clear invalid data. The validity period may be one month, half a year, half a month, etc., and may be predefined, set by the user based on requirements, or determined by the mobile phone based on an algorithm or policy. This is not limited.

[0195] Alternatively, in some other embodiments, the mobile phone may update the probability that the first network becomes abnormal in the cell identified by the first serving cell identifier in the first historical sampling record based on the network information of the sampling point collected in the process of moving along the first route last time. The cell identified by the first serving cell identifier is a cell where the probability that the first network becomes abnormal is equal to or greater than a certain threshold (e.g., 90%, 80% or 70%, which may be predefined or determined based on an algorithm, etc.) in the first historical sampling record. This helps to improve data processing efficiency. Alternatively, the cell identified by the first serving cell identifier is a cell where the cell identified by the serving cell identifier is sorted in descending order and corresponds to a first W probability that the first network becomes abnormal in the first historical sampling record. For example, the value of W may be 1, 2, 3, etc. This is not limited.

[0196] It should be noted that in this embodiment of the present application, if the mobile phone has sufficient storage space, the mobile phone may alternatively not delete the collected historical network information each time, and then refer to the historical network information to determine the probability that a network anomaly will occur in a cell identified by the collected cell identifier.

[0197] It is further noted that in this embodiment of the present application, the mobile phone may further update the probability that the first network becomes abnormal in the process of the mobile phone moving along the first route the (ni)th time by referring to the network information of the matching point in the sample obtained in the process of the mobile phone moving along the first route before the (ni)th time. For example, sample 1 includes the network information of sampling point 1, and the serving cell identifier included in the network information of matching point 1 is identifier 1, sample 1 is obtained by the mobile phone in the process of the mobile phone moving along the first route for the first time, and in the process of moving along the first route for the second time, the first network becomes abnormal in the cell identified by identifier 1 for the mobile phone. Since the first network does not become abnormal in the cell identified by identifier 1 in the process of the mobile phone moving along the first route for the first time, the mobile phone determines that the probability that the first network becomes abnormal in the cell identified by identifier 1 is 50% based on whether the first network becomes abnormal in the cell identified by identifier 1 in the process of the mobile phone moving along the first route for the first time and the second time.

[0198] It should be noted that network anomalies in this embodiment of the present application may include dropping out of the network and / or dropping to a lower standard. It should be noted that network anomalies may include a mobile phone being in no service or having limited service. The change of the mobile phone from the network service may be understood as the mobile phone being out of the network. However, the higher network standard of the mobile phone changes to a lower network standard. For example, the network standard of the mobile phone changes from 4G to 3G, from 3G to 2G, from 5G to 4G or 3G, and the mobile phone may be understood as dropping to a lower standard. However, in this embodiment of the present application, the drop to a lower standard does not involve a voice call scenario. For example, when a user makes a call by using the mobile phone, even if the mobile phone changes from 5G to 2G, it is not considered that the mobile phone has dropped to a lower standard.

[0199] In addition, in some embodiments, if the intelligent network handover function is enabled, the mobile phone may further perform the network handover method in this embodiment of the present application. This is helpful for the interaction between the mobile phone and the user. For example, the user may perform an operation to enable or disable the intelligent network handover function by using a control in a system setting interface and configured to control the enabling or disabling of the intelligent network handover function. For example, as shown in FIG. 8, the system setting interface may include a control 801 configured to control the enabling or disabling of the intelligent network handover function. Alternatively, the user may set a control configured to control the enabling or disabling of the intelligent network handover function in another interface (e.g., a SIM card management interface). For example, as shown in FIG. 9, the SIM card management interface may include a control configured to control the enabling or disabling of the intelligent network handover function.

[0200] The foregoing embodiments may be used alone or in combination with each other to achieve different technical effects.

[0201] With reference to the above embodiments and the accompanying drawings, an embodiment of the present application provides a network handover method, which can be implemented in an electronic device having a hardware structure as shown in FIG.

[0202] 10 is a schematic flowchart of a network handover method according to an embodiment of the present application, which includes the following steps:

[0203] Step 1001: When an electronic device camps on a first network accessed by using a first communication module, in the process of the electronic device moving along a first route for the nth time, the electronic device sequentially acquires network information of a first sampling point and network information of a second sampling point for the first network, and the first route is a route between a first location and a second location.

[0204] Step 1002: After the electronic device obtains the network information of the second sampling point, if the electronic device predicts based on the network information of the first sampling point, the network information of the second sampling point, and the first historical sampling record that when the electronic device moves along the first route for the nth time, whether the first network will become abnormal after a first period of time has passed, in the process of the electronic device moving along the first route for the nth time, before the first network becomes abnormal, the electronic device camps on the second network accessed by using the second communication module.

[0205] The first historical sampling record is network information of a sampling point, which includes network information obtained by the electronic device for a first network in the process of the electronic device moving along the first route each time before n times, where n is a positive integer greater than 1.

[0206] For a specific implementation of the network handover method shown in FIG. 10, please refer to the relevant descriptions in the above embodiments.

[0207] In the embodiments provided herein, the methods provided in the embodiments of the present application are described in terms of an electronic device as an execution entity. To implement the functions in the methods provided in the embodiments of the present application, the electronic device may include a hardware structure and / or a software module, and may implement the functions in the form of a hardware structure, a software module, or a combination of a hardware structure and a software module. Whether the specific functions in the above functions are implemented by using a hardware structure, a software module, or a combination of a hardware structure and a software module depends on the specific application and design constraints of the technical solution.

[0208] As shown in Fig. 11, an embodiment of the present application discloses an electronic device 1100. The electronic device 1100 may include one or more processors 1101 and a memory 1102. The memory 1102 stores program instructions. The program instructions are executed by the electronic device to implement the network handover method shown in Fig. 3 or Fig. 10 in the embodiment of the present application.

[0209] In some embodiments, the electronic device 1100 further includes a first communication module 1103 and a second communication module 1104. The first communication module 1103 is used to access a first network and the second communication module 1104 is used to access a second network. Additionally, the first communication module 1103 and the second communication module 1104 may alternatively be communication modules that are not components of the electronic device but are connected to the electronic device via an interface or otherwise.

[0210] The processor in the above-described embodiments may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), or a combination of both. ASIC, Field Programmable Gate Array (FGA) The decoding processor may be a programmable gate array (FPGA) or another programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The processor may implement or perform the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor, and the processor may be any conventional processor, etc. The steps of the methods disclosed with reference to the embodiments of the present application may be performed and completed directly by the hardware decoding processor, or may be performed and completed using a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium mature in the art, such as a random access memory (RAM), a flash memory, a read-only memory (ROM), a programmable read-only memory, an electrically erasable programmable memory, or a register. The storage medium is located in the memory, and the processor reads the instructions in the memory and completes the steps of the aforementioned method in combination with the hardware of the processor.

[0211] Those skilled in the art will recognize that in combination with the examples described in the embodiments disclosed herein, the units and algorithm steps can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether a function is implemented by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application.

[0212] Those skilled in the art can clearly understand that for the sake of convenience and simplicity, the detailed work processes of the above-mentioned systems, devices and units may be referred to the corresponding processes in the above-mentioned method embodiments, and the details will not be described again here.

[0213] In some embodiments provided in the present application, it should be understood that the disclosed system, device, and method may be implemented in other ways. For example, the above-mentioned device embodiment is merely an example. For example, the division of units is a logical and functional division, and may be other divisions during actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the shown or described interconnections, direct connections, or communication connections may be implemented through some interfaces. Indirect connections or communication connections between devices or units may be implemented in electronic, mechanical, or other forms.

[0214] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, and may be located in one location or distributed over multiple network units. Some or all of the units may be selected according to actual requirements to achieve the objectives of the solutions in the embodiments.

[0215] In addition, the functional units in the embodiments of the present application may be integrated into one processing unit, and each of the units may exist physically alone or two or more units may be integrated into one unit.

[0216] When the functions are implemented in the form of a software functional unit and sold or used as an independent product, the functions may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be implemented in the form of a software product, essentially or in part of the part that contributes to the prior art or the whole or part of the technical solution. The computer software product is stored in a storage medium and includes some instructions for instructing a computer device (which may be a personal computer, a server, a network device, etc.) or a processor to perform all or part of the steps of the method described in the embodiments of the present application. The aforementioned storage medium includes any medium capable of storing program code, such as a USB flash drive, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

[0217] The above description is merely a specific implementation of the present application, and is not intended to limit the scope of protection of the present application. Any modifications or replacements that can be easily understood by those skilled in the art within the technical scope disclosed in the present application are included in the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the scope of protection of the claims.

Claims

1. 1. A network handover method, the method being applied to an electronic device, the electronic device including a first Subscriber Identity Module (SIM) card and a second SIM card, the method comprising: When accessing a first mobile network by using a first SIM card, acquiring network information of the first mobile network by the electronic device in a process of the electronic device moving along a first route, the first route being a route between a first location and a second location; When the electronic device predicts, according to the acquired network information of the first mobile network, that a first exception will occur while the electronic device is moving along the first route and that the first mobile network will become abnormal, the electronic device accesses a second mobile network at a third location on the first route by using the second SIM card, the third location being located between the first location and the second location; Including, predicting, by the electronic device, according to acquired network information of the first mobile network, that the first exception will occur when the electronic device travels through the first mobile network along the first route; acquiring, by the electronic device, network information of the first mobile network in the process of moving along the first route and historical network information of the first mobile network in the process of moving along the first route, and predicting that the first exception will occur when the electronic device moves through the first mobile network within the first route; A method comprising:

2. After accessing, by the electronic device, a second mobile network at a third location on the first route by using the second SIM card, the method further comprises: if it is determined that the first mobile network has been restored successfully, camping again, by the electronic device, on the first mobile network using the first SIM card at a location on the first route after the third location; The method of claim 1 further comprising:

3. accessing, by the electronic device, a second mobile network at a third location on the first route by using the second SIM card; switching, by the electronic device, from accessing the first mobile network by using the first SIM card to accessing the second mobile network by using the second SIM card at the third location on the first route; or simultaneously accessing, by the electronic device, the first mobile network by using the first SIM card and the second mobile network by using the second SIM card at the third location on the first route; The method of claim 1 or 2, comprising:

4. accessing, by the electronic device, a second mobile network at a third location on the first route by using the second SIM card when the electronic device predicts that the first exception will occur in the first mobile network when the electronic device travels along the first route; determining, by the electronic device, if the electronic device predicts that the first exception will occur, whether a second exception will occur, the second mobile network becoming abnormal; accessing, by the electronic device, the second mobile network at the third location on the first route by using the second SIM card if it is determined that the second exception does not occur; The method of any one of claims 1 to 3, comprising:

5. Determining whether the second exception occurs by the electronic device includes: determining, by the electronic device, whether the second exception occurs based on historical network information of the second mobile network; and / or transmitting, by the electronic device, a data packet by using the second mobile network to determine a network quality of the second mobile network; and determining whether the second exception occurs according to the network quality of the second mobile network; The method of claim 4 , comprising:

6. The electronic device includes a detection module, and when the electronic device accesses a first mobile network by using a first SIM card, in a process in which the electronic device moves along a first route, obtaining network information of the first mobile network includes: the electronic device accesses the first mobile network by using the first SIM card, and after the electronic device leaves the first location, the detection module starts acquiring network information of the first mobile network in the process of the electronic device moving along the first route; The method of any one of claims 1 to 5, comprising:

7. The electronic device includes a detection module, and the method further comprises: stopping, by the detection module, acquiring network information of the first mobile network after the electronic device reaches the second location; The method of claim 1 , further comprising:

8. Determining, by the electronic device, that the first mobile network has recovered normally includes: determining, by the electronic device, that the first mobile network satisfies at least one of: recovering from a network disconnection state to a network connection, upgrading to a higher standard, not freezing on the network, and increasing network signal strength; The method of claim 2 , comprising:

9. The electronic device includes an interface configured to configure an intelligent network handover function, and the method further comprises: The method according to any one of claims 1 to 8, further comprising performing, by the electronic device, the method according to any one of claims 1 to 4 after detecting that the intelligent network handover function is enabled.

10. 10. The method of claim 1, wherein the first exception comprises at least one of: dropping off the network, dropping to a lower standard, network freezing, and network signal strength decreasing.

11. 1. An electronic device including a processor and a memory, the memory stores program instructions; 11. An electronic device, wherein when the program instructions are executed by the processor, the electronic device is capable of performing the method according to any one of claims 1 to 10.

12. A chip coupled to a memory in an electronic device such that, when the chip is operated, a computer program stored in the memory is activated to perform the method according to any one of claims 1 to 10.

13. A computer readable storage medium storing program instructions which, when executed on an electronic device, enable the electronic device to perform the method according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Channel selection system, channel selection method, and control program for service control point

    JP2007274315A

  • Communication device, communication system, communication method, and program

    JP2016158118A

  • Method and Apparatus for Avoiding Call Failures for Dual Sim Devices

    JP2016511622A

  • Coated articles that demonstrate push-through electrical connectivity

    WO2018013889A1