Network switching method and related device
By storing multiple network profiles in electronic devices and dynamically selecting the network with the best signal quality for switching, the problem of blind spots in single operator network coverage and multiple SIM card configurations is solved, resulting in better network switching performance and a better internet experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-03
- Publication Date
- 2026-05-12
AI Technical Summary
In existing technologies, the coverage of a single operator's network has blind spots, and users need to configure multiple SIM card interfaces and cards to switch networks, resulting in high costs and poor internet experience. Furthermore, service may still be limited after switching.
Electronic devices store multiple network profiles and dynamically select the network with the best signal quality for switching, avoiding manual switching, reducing device configuration and the use of multiple SIM card interfaces. By obtaining the signal quality parameters of multiple networks, the most suitable target profile is dynamically selected for network switching.
It improves signal quality after network switching, reduces costs, enhances the user's internet experience, avoids situations where signal quality is not improved due to blind switching, and simplifies the network switching process.
Smart Images

Figure CN122028121A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a network switching method and related apparatus. Background Technology
[0002] Currently, coverage areas of a single operator's network have blind spots. To ensure a good user experience, mobile phones and other electronic devices can be configured with multiple subscriber identity module (SIM) cards from different operators. When using an electronic device, if the currently used SIM card experiences service limitations such as no signal or poor signal quality, the user can manually switch the SIM card to switch the operator's network used for their service. However, this requires the electronic device to have multiple SIM card interfaces and multiple SIM cards, which is costly. Furthermore, service limitations may still exist after switching, resulting in a poor internet experience for the user. Summary of the Invention
[0003] This application discloses a network switching method and related apparatus, which can store multiple configuration profiles of different networks and dynamically select a suitable profile (such as a profile with good network signal quality) to implement network registration and internet access services, avoiding service limitations after switching networks. This can greatly improve the user's internet experience while reducing costs.
[0004] Firstly, this application provides a network switching method applied to an electronic device. The electronic device stores multiple profiles, including a first profile and a second profile. Each profile corresponds to a network (e.g., one profile is used to camp on a corresponding network, and the profile can store network parameters for that network, including network parameters for network camping). The method includes: using the first profile to camp on a first network; obtaining signal quality parameters of multiple networks based on the multiple profiles; determining a second network from the multiple networks based on the signal quality parameters, and determining a second profile corresponding to the second network; de-camping on the first network, and using the second profile to camp on the second network. In this way, the electronic device completes the network switching from the first network to the second network.
[0005] In some examples, where the electronic device resides on a second network, the electronic device can perform its services through the second network. These services may include one or more of the following: voice call services, SMS services, or data communication services.
[0006] In some examples, the second network is the network with the best signal quality among the multiple networks determined based on the signal quality parameters of multiple networks. N is a positive integer, and N is less than the number of multiple networks. For example, N is 1, that is, the second network is the network with the best signal quality among the multiple networks determined based on the signal quality parameters of multiple networks.
[0007] In the above method, when an electronic device uses the first profile among multiple profiles to camp on a first network, it can obtain the signal quality parameters of multiple networks corresponding to multiple profiles. Based on the obtained signal quality parameters, it can select a second network and its corresponding second profile that are "more suitable for current camping" among the multiple networks. Then, it uses the second profile to switch the camped network from the first network to the second network. In other words, for multiple profiles stored in the electronic device, the electronic device can dynamically select the target profile "most suitable for current camping" among multiple profiles based on the signal quality parameters of multiple networks. This achieves a better network switching effect, rather than blind switching by the electronic device or manual switching by the user. It reduces the possibility of no signal quality improvement after the electronic device completes the network switch (e.g., still no signal or limited signal service), improves the signal quality of the network where the electronic device camps, and thus improves the user's Internet experience. Furthermore, it eliminates the need for the electronic device to configure and use multiple Subscriber Identity Module (SIM) card interfaces and multiple Physical Subscriber Identity Modules (pSIMs), greatly reducing costs and making it more convenient for users.
[0008] In one possible implementation, the above-mentioned acquisition of signal quality parameters of multiple networks based on multiple profiles includes: acquiring the signal quality parameters of the first network where the first profile resides; performing a network search based on the network parameters in the third profile and obtaining the signal quality parameters of the third network, wherein the third profile is any one of the multiple profiles other than the first profile.
[0009] In some examples, the network parameters within the third profile include network search parameters, which include one or more of the following: Public Land Mobile Network (PLMN), Radio Access Technology (RAT), band, or frequency. These network search parameters can be used by electronic devices to search for the third network to obtain its signal quality parameters.
[0010] In some examples, the signal quality parameters of one of the multiple networks include one or more of the following: Received Signal Strength Indication (RSSI), Reference Received Power (RSRP), Reference Received Quality (RSRQ), or Signal-to-Noise Ratio (SNR).
[0011] In the above method, the electronic device can directly obtain the signal quality parameters of the first network (corresponding to the first profile) currently in use, and obtain the signal quality parameters of the networks corresponding to other profiles other than the first profile through a network search method. This ensures that the obtained signal quality parameters are true and reliable. The second network determined based on such signal quality parameters is more suitable for the current scenario when the electronic device performs network switching, further improving the effect of network switching and thus enhancing the user's Internet experience.
[0012] In one possible implementation, the electronic device includes a first communication module and a second communication module; the above-mentioned use of the first profile to reside in the first network includes: using the first profile to reside in the first network through the first communication module; the above-mentioned search for a network based on network parameters in the third profile and obtaining signal quality parameters of the third network includes: using the second communication module to search for a network based on network parameters in the third profile and obtaining signal quality parameters of the third network; the above-mentioned de-residence in the first network and use the second profile to reside in the second network includes: de-residence in the first network through the first communication module and using the second profile to reside in the second network through the first communication module or the second communication module.
[0013] In some examples, the electronic device has already camped on the network via the second communication module before searching for the network based on the network parameters in the third profile and obtaining the signal quality parameters of the third network. For example, the second communication module is mapped to a pSIM and camps on the network through that pSIM. In other examples, the electronic device has not camped on the network via the second communication module before searching for the network based on the network parameters in the third profile and obtaining the signal quality parameters of the third network.
[0014] In some examples, the above-mentioned use of the second profile to reside on the second network via the first communication module or the second communication module includes: if the second communication module is already residing on the network, then the second profile is used via the first communication module to reside on the second network, which can avoid affecting the network where the second communication module was originally residing, thereby reducing the impact on the user experience; if the second communication module is not residing on the network, then the second profile is used via the second communication module to reside on the second network, which can further speed up the speed at which the electronic device resides on the second network and improve the user's service experience.
[0015] In the above method, when the electronic device uses the first communication module to reside on the first network, it can use the second communication module other than the first communication module to search for the network and obtain the signal quality parameters of the third network, thereby reducing the impact on the first network where the electronic device is currently residing and making the network switching process more imperceptible to the user.
[0016] In one possible implementation, the above-mentioned search for the network based on the network parameters in the third profile and obtaining the signal quality parameters of the third network includes: if the signal quality of the first network is lower than a first quality threshold, then the search for the network based on the network parameters in the third profile and obtaining the signal quality parameters of the third network is performed, wherein the signal quality of the first network is determined according to the signal quality parameters of the first network.
[0017] In the above method, when the signal quality of the first network currently hosted by the electronic device is poor, the electronic device then searches for the signal quality parameters of the networks corresponding to other profiles (excluding the first profile) to determine whether to perform a network switch. This avoids unnecessary power consumption and processing resources caused by searching for networks when the signal quality of the first network is good and there is no need for a network switch, thus improving the availability of the network switching function and better meeting user needs.
[0018] In one possible implementation, the signal quality of the first network is lower than a first quality threshold, including: the signal quality level of the first network is lower than or equal to the first quality level, and / or, the quality of experience (QoE) of the first network is stuttering; wherein, the signal quality level of the first network is determined according to the signal quality parameters of the first network, and the signal quality parameters of the first network include one or more of the following: Received Signal Strength Indication (RSSI), Reference Received Power (RSRP), Reference Received Quality (RSRQ), or Signal-to-Noise Ratio (SNR).
[0019] In some examples, when the signal quality level of the first network is higher than a first quality level and the QoE of the first network is stuttering, the signal quality of the first network is lower than a first quality threshold. In other examples, when the signal quality level of the first network is lower than or equal to the first quality level, the signal quality of the first network is lower than the first quality threshold.
[0020] In the above method, the signal quality level and QoE of the first network can be combined to determine whether the signal quality of the first network is poor. For example, when the signal quality level of the first network is high, we can check if the QoE is laggy. If the QoE is laggy, the signal quality of the first network is determined to be poor; if the QoE is normal, the signal quality of the first network is determined to be good. Conversely, when the signal quality level of the first network is low, the signal quality of the first network is determined to be good. This method can more accurately determine whether the signal quality of the first network is poor, thereby determining whether to perform network switching. It further avoids unnecessary power consumption and processing resources caused by searching for a network when the signal quality of the first network is good and network switching is not required, thus improving the availability of the network switching function.
[0021] In one possible implementation, the above-mentioned network search based on the network parameters in the third profile to obtain the signal quality parameters of the third network includes: when the electronic device uses the first physical subscriber identity module (pSIM) to camp on the fourth network, determining whether the network parameters in the third profile are the same as the network parameters of the first pSIM; if the network parameters in the third profile are different from the network parameters of the first pSIM, then performing a network search based on the network parameters in the third profile to obtain the signal quality parameters of the third network; the above method further includes: if the network parameters in the first profile are the same as the network parameters of the first pSIM, then obtaining the signal quality parameters of the fourth network, and determining the signal quality parameters of the fourth network as the signal quality parameters of the third network.
[0022] In the above method, before the electronic device searches for a network based on the network parameters in the third profile, it can determine whether the network parameters in the third profile are the same as the network parameters of the first pSIM that the electronic device is already registered with. If they are different, a network search can be performed. If they are the same, the signal quality parameters of the fourth network where the first pSIM is registered can be obtained directly without performing a network search. This not only allows for the acquisition of accurate and reliable signal quality parameters, but also effectively reduces device power consumption and processing resources, and improves the availability of the network switching function.
[0023] In one possible implementation, the electronic device includes a processor and a mobile communication module. The acquisition of signal quality parameters of multiple networks based on multiple profiles includes: the processor acquiring signal quality parameters of a first network where a first profile resides; the processor sending a first instruction to the mobile communication module, the first instruction instructing a network search, the first instruction carrying network parameters from one or more profiles other than the first profile among the multiple profiles; when the mobile communication module obtains the signal quality parameters of a third network based on the network parameters in the third profile, the mobile communication module sending the signal quality parameters of the third network to the processor, the third profile being any profile other than the first profile among the multiple profiles. For example, the aforementioned one or more profiles could be all profiles other than the first profile among the multiple profiles.
[0024] In the above method, the processor can instruct the mobile communication module to search for one or more corresponding networks based on network parameters within one or more profiles through a first instruction. After the mobile communication module searches for the signal quality parameters of each network, it can report to the processor. Instead of the processor having to send an instruction and wait for the mobile communication module to return the search results for each frequency point corresponding to each network standard in each profile, the processor can passively receive the search results sent by the mobile communication module. Therefore, after sending the first instruction, the processor can perform other operations without having to wait for the mobile communication module to return the search results. This not only simplifies the interaction but also greatly improves the efficiency and performance of the device.
[0025] In one possible implementation, the electronic device includes a processor and a mobile communication module. The acquisition of signal quality parameters of multiple networks based on multiple profiles includes: the processor acquiring the signal quality parameters of a first network where a first profile resides; the processor sending a second instruction to the mobile communication module, the second instruction instructing a network search, the second instruction carrying a PLMN from one or more profiles other than the first profile among the multiple profiles; the mobile communication module sending a third instruction to the processor, the third instruction requesting the acquisition of the frequency point corresponding to the PLMN in one or more profiles; the processor sending the frequency point code stream corresponding to the PLMN in one or more profiles to the mobile communication module; when the mobile communication module obtains the signal quality parameters of a third network based on the PLMN and the corresponding frequency point code stream in the third profile, the mobile communication module sends the signal quality parameters of the third network to the processor, where the third profile is any profile other than the first profile among the multiple profiles. For example, the aforementioned one or more profiles could be all profiles other than the first profile among the multiple profiles.
[0026] In the above method, the processor and the mobile communication module can be implemented through the second and third instructions: the processor instructs the mobile communication module to search for one or more corresponding networks based on the network parameters in one or more profiles. After the mobile communication module searches for the signal quality parameters of each network, it can report to the processor. Instead of the processor having to send an instruction and wait for the mobile communication module to return the search results for each frequency point corresponding to each network standard in each profile, the processor can passively receive the search results sent by the mobile communication module. Therefore, after the processor sends the first instruction, it can perform other operations without having to wait for the mobile communication module to return the search results. This not only simplifies the interaction, but also greatly improves the efficiency and performance of the device.
[0027] In one possible implementation, determining the second network from the signal quality parameters of the plurality of networks includes: if the signal quality of the second network is determined to be better than the signal quality of other networks among the plurality of networks based on the signal quality parameters of the plurality of networks, then the second network is determined from the plurality of networks.
[0028] In the above method, when an electronic device uses the first profile among multiple profiles to camp on the first network, it can obtain the signal quality parameters of multiple networks corresponding to the multiple profiles. Based on the obtained signal quality parameters, it can select the second network with the best signal quality and its corresponding second profile among the multiple networks. Then, it uses the second profile to switch the camped network from the first network to the second network. In other words, for multiple profiles stored in the electronic device, the electronic device can dynamically select the target profile with the best network signal quality among the multiple profiles to camp on, based on the signal quality parameters of multiple networks. This ensures that after the electronic device completes the network switch, there will be no service limitations such as no signal or poor signal quality, thus improving the user's internet experience.
[0029] In one possible implementation, any one of the plurality of networks other than the first and second networks is designated as the fifth network. The signal quality parameters of one of the plurality of networks are used to determine the signal quality level. These signal quality parameters include one or more of the following: Received Signal Strength Indication (RSSI), Reference Received Power (RSRP), Reference Received Quality (RSRQ), or Signal-to-Noise Ratio (SNR). The signal quality of the second network is superior to that of the other networks, including: the signal quality of the second network is superior to that of the first network, and the signal quality of the second network is superior to that of the fifth network. Specifically, the signal quality of the second network being superior to that of the first network includes: the signal quality level of the second network being superior to that of the first network; or, the signal quality level of the second network being equal to that of the first network, and the signal quality parameters of the second network being superior to those of the first network. The signal quality of the second network being superior to that of the fifth network includes: the signal quality level of the second network being superior to that of the fifth network; or, the signal quality level of the second network being equal to that of the fifth network, and the signal quality parameters of the second network being superior to those of the fifth network.
[0030] In the above method, electronic devices can combine the signal quality levels and signal quality parameters of multiple networks to determine the second network with the best signal quality. For example, when the signal quality levels are different, the network with the better signal quality level is selected; when the signal quality levels are the same, the network with the better signal quality parameters is selected. This implementation method does not require comparing the signal quality parameters of each network one by one, especially when there are many types of signal quality parameters. It reduces the power consumption and processing resources of the device and improves the availability of network switching function.
[0031] In one possible implementation, determining the second network from the multiple networks if the signal quality of the second network is determined to be better than the signal quality of other networks among the multiple networks based on the signal quality parameters of the multiple networks includes: if the signal quality of the second network is determined to be better than the signal quality of other networks among the multiple networks based on the signal quality parameters of the multiple networks, and a first condition is met, then the second network is determined from the multiple networks; wherein the first condition includes: the signal quality of the first network is lower than a second quality threshold, and / or, the signal quality of the second network is better than a third quality threshold.
[0032] In the above method, the electronic device can determine whether to perform network switching by combining the signal quality of the first network currently in use and / or the signal quality of the second network with the best current signal quality. When the signal quality of the first network is low and / or the signal quality of the second network is good, network switching is performed. This can avoid the negative impact on the user experience caused by performing network switching when the signal quality of the first network is good and / or the signal quality of the second network is poor, thereby improving the effectiveness of network switching and thus enhancing the user experience.
[0033] In one possible implementation, the method further includes: receiving a first input from a user to purchase a service package; and in response to the first input, downloading multiple profiles from a cloud server.
[0034] In the above method, users can download multiple profiles by purchasing a service package. Electronic devices can dynamically select the target profile that is "most suitable for the current network" from multiple profiles based on the signal quality parameters of multiple networks. In this way, "one card for multiple networks" can be used through the service package, eliminating the need for users to purchase the corresponding service package for each area they need to travel to, making it more convenient for users.
[0035] In one possible implementation, the method of obtaining signal quality parameters of multiple networks based on multiple profiles includes: performing a network search based on network parameters within a second profile to obtain a first signal quality parameter of the second network; the method further includes: after determining a second network from multiple networks based on the signal quality parameters of multiple networks and determining the second profile corresponding to the second network, performing a network search based on network parameters within the second profile to obtain a second signal quality parameter of the second network; the method of de-hosting the first network and using the second profile to host the second network includes: if the difference between the first signal quality parameter and the second signal quality parameter is less than or equal to a first difference threshold, then de-hosting the first network and using the second profile to host the second network.
[0036] In the above method, after the electronic device identifies the second network, before switching to the second network, it can search for the second network again and obtain its signal quality parameters. The electronic device can compare the signal quality parameters of the second network obtained from the two searches. If the difference between the two parameters is small, it switches to the second network; if the difference is large, it does not switch. This avoids the situation where the second network identified is not the optimal network in the real-time scenario if the position of the electronic device 1 changes significantly during the network switching process, leading to a poor service experience after switching directly to the second network. This ensures that the network switching result improves the user's service experience rather than degrades it.
[0037] In one possible implementation, the electronic device is in a first position when acquiring signal quality parameters of multiple networks based on multiple profiles. The method further includes: after acquiring the signal quality parameters of multiple networks based on multiple profiles, acquiring a second position of the electronic device; if the difference between the first position and the second position is greater than or equal to a second difference threshold, then acquiring the signal quality parameters of multiple networks again based on multiple profiles. This avoids the situation where the electronic device performs network search and other signal quality parameter acquisition operations again when the movement range is small, resulting in high power consumption and low benefit, thus reducing unnecessary power consumption of the device.
[0038] In one possible implementation, the time when the electronic device acquires signal quality parameters of multiple networks based on multiple profiles is designated as a first time. The method further includes: after acquiring the signal quality parameters of multiple networks based on multiple profiles, acquiring the current second time of the electronic device; if the difference between the first time and the second time is greater than or equal to a third difference threshold, then the signal quality parameters of multiple networks are reacquired based on multiple profiles. This avoids the situation where re-performing network search and other signal quality parameter acquisition operations when the time difference is short, which would result in high power consumption and low benefit, thus reducing unnecessary power consumption of the device.
[0039] In one possible implementation, the method further includes: after using the first profile to camp on the first network, displaying a first identifier of the mobile communication network, the first identifier indicating the operator of the first network, for example, the first identifier being used to indicate that the user's electronic device has been connected to the first network; after de-camping on the first network and using the second profile to camp on the second network, displaying a second identifier of the mobile communication network, the second identifier indicating the operator of the second network, for example, the second identifier being used to indicate that the user's electronic device has been connected to the second network.
[0040] In the above method, when accessing different operators' networks based on different profiles, the identifier of the operator corresponding to the currently accessed network can be displayed, allowing users to intuitively feel the switching of operator networks, which greatly improves the experience for users who want to perceive network switching.
[0041] In one possible implementation, the method further includes: after using the first profile to reside on the first network, displaying a third identifier of the mobile communication network, the third identifier indicating the first virtual operator, for example, the third identifier being used to indicate that the user's electronic device has been connected to the network of the first virtual operator; and after de-resides on the first network and using the second profile to reside on the second network, displaying the third identifier of the mobile communication network.
[0042] In the above method, when accessing different operators' networks based on different profiles, the same virtual operator's identifier can be displayed, and the process of switching operator networks can be made invisible. The network perceived by the user remains stable, which greatly improves the experience for users who are prone to anxiety about network switching.
[0043] In a second aspect, this application provides an electronic device, including a transceiver, a processor, and a memory; the memory is used to store a computer program, and the processor calls the computer program to execute the network switching method provided in the first aspect and any implementation thereof.
[0044] Thirdly, this application provides a computer storage medium including a computer program, which, when executed by a processor, is used to implement the network switching method provided by the first aspect and any implementation thereof.
[0045] Fourthly, this application provides a computer program product, including a computer program that, when run on a processor, implements the network switching method provided by the first aspect and any implementation thereof.
[0046] Fifthly, this application provides a chip system including a processing circuit and an interface circuit. The interface circuit is used to receive code instructions and transmit them to the processing circuit. The processing circuit is used to execute the code instructions to perform the network switching method provided in the first aspect and any implementation thereof.
[0047] Sixthly, this application provides an electronic device that includes the methods or apparatus described in any aspect or embodiment of this application. The aforementioned electronic device is, for example, a chip.
[0048] It should be understood that the descriptions of technical features, technical solutions, beneficial effects, or similar language in this application do not imply that all features and advantages can be achieved in any single implementation. Rather, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution, or beneficial effect is included in at least one implementation. Therefore, the descriptions of technical features, technical solutions, or beneficial effects in this application do not necessarily refer to the same implementation. Furthermore, the technical features, technical solutions, and beneficial effects described in this application can be combined in any suitable manner. Those skilled in the art will understand that this application can be implemented without one or more specific technical features, technical solutions, or beneficial effects of a particular implementation. In other implementations, additional technical features and beneficial effects may be identified in specific implementations that do not embody all implementations. Attached Figure Description
[0049] The following describes the accompanying drawings used in this application.
[0050] Figure 1 This is a schematic diagram of the hardware structure of an electronic device provided in this application;
[0051] Figure 2 This is a schematic diagram of the architecture of a communication system provided in this application;
[0052] Figure 3 This is a schematic diagram of the architecture of another communication system provided in this application;
[0053] Figure 4 This is a schematic diagram of the architecture of an electronic device provided in this application;
[0054] Figure 5 This is a schematic diagram of the architecture of yet another electronic device provided in this application;
[0055] Figures 6A-6D These are schematic diagrams of the user interfaces of some of the first network applications provided in this application;
[0056] Figures 7A-7B This is a schematic diagram of the user interface after a data plan is activated, as provided in this application;
[0057] Figure 7C This is a schematic diagram of the user interface after another data plan provided in this application is activated;
[0058] Figure 8 This is a flowchart illustrating a network switching method provided in this application;
[0059] Figure 9A This is a flowchart illustrating a web search process provided in this application;
[0060] Figure 9BThis is a flowchart illustrating yet another web-searching process provided in this application;
[0061] Figure 9C This is a flowchart illustrating yet another web search process provided in this application;
[0062] Figure 10 This is a flowchart illustrating yet another network switching method provided in this application;
[0063] Figure 11 This is a schematic diagram of the structure of a device provided in this application. Detailed Implementation
[0064] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings. The terminology used in the implementation section of this application is only for explaining specific embodiments of this application and is not intended to limit this application.
[0065] In the description of the embodiments of this application, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. The "and / or" in the text is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more.
[0066] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more.
[0067] The hardware structure of the electronic device provided in the embodiments of this application is described below by way of example.
[0068] Figure 1 This is a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of this application.
[0069] like Figure 1As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a microphone 170B, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a subscriber identification module (SIM) card interface 195A, and an embedded subscriber identity module (eSIM) module 195B, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a humidity sensor 180I, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, etc.
[0070] Processor 110 may include one or more processing units, such as: application processor (AP), microcontroller unit (MCU), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors. For example, the application processor may include a graphics processor and a digital signal processor, and the microcontroller unit may include a graphics processor.
[0071] In some embodiments, the electronic device 100 (e.g., a wearable device) implements display functions via a GPU, a display screen 194, an application processor, a microcontroller unit, etc. The GPU is a microprocessor for image processing, connected to the display screen 194, the application processor, and the microcontroller unit. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0072] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0073] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0074] In some embodiments, the processor 110 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0075] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to perform data storage functions.
[0076] Internal memory 121 may include one or more random access memory (RAM) and one or more non-volatile memory (NVM). The RAM can be directly read and written by the processor 110 and can be used to store executable programs (e.g., machine instructions) of the operating system or other running programs, as well as user and application data. The NVM can also store executable programs and user and application data, and can be pre-loaded into the RAM for direct read and write operations by the processor 110.
[0077] The charging management module 140 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 receives charging input from the wired charger via a USB interface 130. In some wireless charging embodiments, the charging management module 140 receives wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also supply power to the electronic device 100 via the power management module 141.
[0078] The power management module 141 connects the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, internal memory 121, display screen 194, wireless communication module 160, and sensor module 180, etc. The power management module 141 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 141 may also be located within the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be located in the same device.
[0079] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0080] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0081] The mobile communication module 150 can provide wireless communication solutions for applications on the electronic device 100, including second-generation (2G), third-generation (3G), fourth-generation (4G), fifth-generation (5G), and sixth-generation (6G) mobile communication technologies. The mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in 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 housed in the same device.
[0082] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to an application processor or microcontroller unit. The application processor or microcontroller unit outputs sound signals through an audio device (not limited to speaker 170A, microphone 170B, etc.) or displays images or videos through a display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and housed within the same device as the mobile communication module 150 or other functional modules.
[0083] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), Sparklink Alliance-specific wireless communication technologies (such as Sparklink Low Energy (SLE) and Sparklink Basic (SLB)), and intrabody communication (IBC). The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0084] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), New Radio (NR), BT, GNSS, WLAN, NFC, FM, IR, Starflash, and / or IBC technology, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0085] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0086] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0087] The ISP (Image Signal Processor) is used to process data fed back from the camera 193. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization of image noise, brightness, and color. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0088] Camera 193 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0089] A digital signal processor is used to process digital signals.
[0090] Video codecs are used to compress or decompress digital video.
[0091] NPU stands for Neural Network (NN) Computation Processor.
[0092] Electronic device 100 can implement audio functions such as music playback and recording through audio module 170, speaker 170A, microphone 170B, and processor 110.
[0093] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.
[0094] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or make hands-free calls through the speaker 170A.
[0095] Microphone 170B, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170B, inputting the sound signal into microphone 170B. Electronic device 100 may have at least one microphone 170B. In some embodiments, electronic device 100 may have two microphones 170B, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, electronic device 100 may also have three, four, or more microphones 170B, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.
[0096] Buttons 190 include a power button, volume buttons, etc. Motor 191 can generate vibration feedback.
[0097] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0098] The SIM card interface 195A can be used to connect a physical SIM card (i.e., a physical SIM, pSIM). The pSIM can be inserted into or removed from the SIM card interface 195A to achieve contact and separation with the electronic device 100. The electronic device 100 can support one or N SIM card interfaces 195A, where N is a positive integer greater than 1. The pSIM can include, but is not limited to, second form factor SIMs (2FFSIM), third form factor SIMs (3FFSIM), and fourth form factor SIMs (4FFSIM). In some embodiments, multiple pSIMs can be inserted into the same SIM card interface 195A simultaneously; these multiple pSIMs can be of the same or different types. In some embodiments, the SIM card interface 195A can also be compatible with multiple pSIMs of different types.
[0099] For example, electronic device 100 can perform legitimacy authentication (also known as authorization) at a communication service provider through a pSIM connected via SIM card interface 195A. After successful authentication, electronic device 100 is allowed to access the operator network corresponding to the pSIM (i.e., completes network registration). Then, electronic device 100 can interact with the accessed operator network through the pSIM to realize one or more of the following services: voice call service, SMS service, and data communication service. Among them, data communication service can also be called mobile data service, such as including but not limited to instant messaging, audio and video chat, watching audio and video, watching news, etc.
[0100] The eSIM module 195B can be embedded in the electronic device 100, for example, in a non-removable form, such as by embedding it inside the motherboard of the electronic device 100. It can replace the pSIM for network interaction between the electronic device 100 and the network, enabling functions such as calls and data communication, but the eSIM module 195B is generally much smaller. Unlike a pSIM, the eSIM module 195B allows for easy switching of phone numbers or changing of operators because the information on the eSIM module 195B is rewritable. The eSIM module 195B can be remotely configured via over-the-air (OTA) technology, enabling the downloading, activation, deactivation, and deletion of profiles.
[0101] In some embodiments, the eSIM module 195B can store one or more profiles. In some embodiments, the processor 110 can store one or more profiles. A profile may include card information for one or more non-physical SIM cards. For ease of explanation, this embodiment uses the example of a profile including the card information of a non-physical SIM card. A profile stored by the eSIM module 195B can be referred to as an eSIM profile (including eSIM card information), and a profile stored by the processor 110 can be referred to as a virtual SIM (vSIM) profile (including vSIM card information).
[0102] In some examples, a profile may include card information from one operator's eSIM / vSIM. Any two profiles in the eSIM module 195B / processor 110 may correspond to the same operator or different operators, and are not limited thereto. In other examples, a profile may also include eSIM / vSIM card information from multiple operators. For ease of explanation, this application embodiment uses the example of a profile including eSIM / vSIM card information from one operator for illustration.
[0103] In some examples, a profile can correspond to a network. This profile can be used by electronic device 100 to camp on the corresponding network, thereby enabling one or more services such as voice calls, SMS, and data communication. Optionally, when the profile includes eSIM / vSIM card information from a single operator, the network corresponding to the profile can be that operator's network. The profile can include network parameters for the corresponding network. For example, the network parameters can include network search parameters for searching the corresponding network and / or network camping parameters for camping on the corresponding network. Not limited to this, in other examples, a profile can also correspond to multiple networks, and the profile can be used by electronic device 100 to camp on at least one of these multiple networks. For ease of explanation, this application embodiment uses the example of one profile corresponding to one network (one profile including network parameters for the corresponding network) for illustration.
[0104] For example, electronic device 100 can activate at least one profile in eSIM module 195B / processor 110. Electronic device 100 can authenticate with the communication service provider through the activated profile. After successful authentication, electronic device 100 is allowed to access the operator network corresponding to that profile (i.e., completes network registration). Therefore, electronic device 100 can interact with the accessed operator network through that profile to implement one or more of the following services: voice call service, SMS service, and data communication service. Activating a profile can also be referred to as setting the profile to a valid / activated state. A profile in an activated state can also be referred to as being in a valid state, and a profile in an inactive state can also be referred to as being in an invalid state.
[0105] In this embodiment, the profile identifier can be an issuer security domain profile-application identification (ISD P-AID), and different profiles have different ISD P-AIDs. However, this is not a limitation; the profile identifier can also be an application identifier (AID).
[0106] In this application embodiment, a profile may include, but is not limited to, one or more of the following network parameters: public land mobile network (PLMN), radio access technology (RAT), band, frequency, international mobile subscriber identity (IMSI), key identifier (Ki), authentication key OPC (OPC is a key calculated based on Ki and the operator variant algorithm configuration field (OP)), hash value, integrated circuit card identity (ICCID), administrative data (AD), broadcast control channel (BCCH), forbidden PLMN (FPLMN), location information (LOCI), packet switched location information (PSLOCI), general packet radio service (GPRS) location information (LOCIGPRS), and user-controlled PLMN selector. With access technology, PLMNWACT), access control class (ACC), enabled services table (EST), higher priority PLMN search period (HPPLMN), equivalent home PLMN (EHPLMN), universal subscriber identity module (USIM) service table (UST), network parameters,NETPAR), initialization values for hyperframe number (STARTHFN), maximum value of start (THRESHOLD), short message service parameters (SMSP), and short message status (SMSS). For example, PLMN, RAT, band, and freq can be network search parameters, while other parameters can be network registration parameters. Optionally, IMSI, Ki, and OPC can be used for authentication.
[0107] The PLMN can consist of a mobile network code (MNC) and a mobile country code (MCC), and can be used to identify and select operator networks. The PLMN within a profile can be understood as the identifier of the network corresponding to that profile. The RAT can be used to determine the type of communication technology (also known as network standard) used by the electronic device 100, such as NR, LTE, WCDMA, or GSM. The RAT within a profile can be understood as the network standard of the network corresponding to that profile. A band refers to a specific frequency range; different frequency bands can be used to select different communication technologies and regions. The band within a profile can be understood as the frequency band of the network corresponding to that profile. A freq refers to a specific frequency value, which can be used to determine the specific frequency at which the electronic device 100 communicates with network equipment such as base stations. The freq within a profile can be understood as the frequency value of the network corresponding to that profile. Optionally, a profile can include one or more RATs, and include the band and / or freq under each RAT.
[0108] It should be understood that the electronic device 100 illustrated in the embodiments of this application is merely an example, and the electronic device 100 may have more or fewer components than those illustrated in the embodiments of this application, for example... Figure 1 The illustrated electronic device 100 may not include a SIM card interface 195A and / or an eSIM module 195B, or it may combine two or more components, or it may have different component configurations. The various components shown in the figure can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.
[0109] Currently, coverage blind spots exist in the networks of individual operators, resulting in poor service experience for users in areas with poor or no coverage. To ensure a good user experience, electronic device 100 can support multiple SIM cards and multiple standby modes, meaning it can be configured with multiple SIM card interfaces and connect to multiple pSIM cards from different operators. When using the electronic device, if the currently used SIM card experiences service limitations such as no signal or poor signal quality, the user can manually switch SIM cards to switch the operator network used for service.
[0110] For example, electronic device 100 can connect to pSIM1 of operator 1 and pSIM2 of operator 2 through two SIM card interfaces respectively. Electronic device 100 can use pSIM1 of operator 1 to reside on operator 1's network, and optionally use pSIM2 of operator 2 to reside on operator 2's network. Electronic device 100 can use pSIM1 of operator 1 to perform services (such as one or more of the following services: voice call service, SMS service, and data communication service) according to user settings. If the user perceives that the currently used operator 1 network has limited service, such as no signal or poor signal quality (e.g., seeing the mobile communication network indicator in the status bar as no signal or poor signal), or experiencing service lag, and the user determines that the pSIM2 tariff can be used to perform the current service, the user can manually switch to use pSIM2 of operator 2 to perform the services of electronic device 100. For some more intelligent electronic devices 100, when the user turns on the smart switching network card switch, the electronic device 100 can automatically switch to use operator 2's pSIM2 to provide services. However, users often set data limits and speed limits to avoid high pSIM2 tariffs, resulting in limited service. In real-world scenarios, the user's location may not only be an area with poor or no coverage from operator 1, but also an area with poor or no coverage from operator 2, such as an area covered by operator 3. This means that the network switched by the electronic device 100 may still not be the target network for the area, resulting in limited service such as no signal or poor signal quality, leading to a poor internet experience for the user. Alternatively, configuring and using a large number of SIM card interfaces and a large number of pSIMs on the electronic device 100 to cover all / most of the areas where the user may be located is very costly. Moreover, users need to purchase the corresponding pSIMs for the area in advance and install them on the electronic device 100 before setting off, which is cumbersome and impractical.
[0111] This application provides a network switching method applicable to an electronic device 100. The electronic device 100 can store multiple profiles (e.g., the number of profiles is greater than or equal to 3), each profile corresponding to a different network. A profile can be used to camp on a specific network, and each profile can store network parameters (e.g., network search parameters and camping parameters) for that network. When the electronic device 100 uses the first profile among the multiple profiles to camp on the first network, it can obtain signal quality parameters for multiple networks based on these profiles. For example, it can perform a network search based on m candidate profiles (excluding the first profile) and obtain the signal quality parameters for m networks, where m is a positive integer. The electronic device 100 can determine a second network with better / optimal signal quality from among the multiple networks based on the signal quality parameters, and determine the second profile corresponding to the second network. Then, the electronic device 100 can camp on the first network and use the second profile to camp on the second network, effectively switching its camped network from the first to the second network. This allows the electronic device 100 to perform its services (e.g., one or more of the following services: voice call, SMS, and data communication) through the second network. In other words, electronic device 100 can dynamically select the profile with the best / optimal network signal quality from multiple profiles to establish network access and perform device services. This ensures that electronic device 100 will not experience service limitations such as no signal or poor signal quality after network switching, thus improving the user's internet experience. Furthermore, it eliminates the need for electronic device 100 to configure and use multiple SIM card interfaces and multiple SIM cards, significantly reducing costs and making it more convenient for users.
[0112] The multiple profiles stored in the electronic device 100 can be downloaded from a cloud server or pre-stored by the electronic device 100.
[0113] The following describes, by way of example, the communication system provided in the embodiments of this application.
[0114] Figure 2 This is a schematic diagram of the architecture of a communication system 10 provided in an embodiment of this application.
[0115] like Figure 2 As shown, the communication system 10 may include an electronic device 100, a cloud server 200, a network device 300, and a network device 400. Among them, network device 300 is a network device for a first network, and network device 400 is a network device for a second network. For example, the first network and the second network are two networks from different operators.
[0116] like Figure 2 As shown, electronic device 100 can be a device with wireless communication capabilities. For example, electronic device 100 can be any of the following: mobile phone, tablet computer, handheld computer, desktop computer, laptop computer, ultra-mobile personal computer (UMPC), netbook, cellular phone, personal digital assistant (PDA), smart home devices such as smart screens and smart speakers, wearable devices such as smart bracelets, smartwatches, and smart glasses, extended reality (XR) devices such as augmented reality (AR), virtual reality (VR), and mixed reality (MR), in-vehicle devices, or smart city devices, etc.
[0117] like Figure 2 As shown, cloud server 200 can be used to provide profile download service for electronic device 100.
[0118] In some embodiments, the cloud server 200 may include one or more carrier servers, wherein any one of the carrier servers may be used to provide the electronic device 100 with a download service for the corresponding carrier profile. The carrier server may be a subscription manager-data preparation server (SM-DP) or a subscription manager-data preparation plus server (SM-DP+).
[0119] In some embodiments, the cloud server 200 may include a device cloud server, which can maintain profiles of one or more operators. For example, it can purchase card information from one or more operators and pre-install it in the device cloud server. The device cloud server can be used to provide the electronic device 100 with a download service for the maintained operator profiles. Optionally, the device cloud server may include SM-DP and / or SM-DP+, which are used to provide the profile download service. Exemplarily, the device cloud server can be used to provide application services for a first network application, and the application service may include a profile download service. The electronic device 100 with the first network application installed can access the device cloud server and interact with it to obtain the application services of the first network application.
[0120] like Figure 2 As shown, network device 300 can be a device capable of communicating with electronic device 100, and network device 300 can be used for electronic device 100 to access a first network. In some embodiments, network device 300 can be a base station, which is a device deployed in a radio access network (RAN) to provide wireless communication functions. The name of the base station may differ in different radio access systems, for example, but not limited to, base transceiver station (BTS) in GSM or CDMA, node B (NB) in WCDMA, evolved node B (eNodeB) in LTE, next-generation base station (gnode B (gNB)) in NR, or base stations in other future network systems. Not limited thereto, in other embodiments, network device 300 can also be an access point (AP), transmission and receiver point (TRP), relay device, or wireless controller. This application does not limit the specific type of network device 300.
[0121] like Figure 2 As shown, network device 400 can be a device capable of communicating with electronic device 100, and network device 400 can be used for electronic device 100 to access a second network. The description of network device 400 is similar to that of network device 300, and will not be repeated here.
[0122] In some embodiments of this application, the electronic device 100 can download multiple eSIM profiles from the cloud server 200 and store these multiple eSIM profiles in the eSIM module of the electronic device 100. In other embodiments of this application, the electronic device 100 can download multiple vSIM profiles from the cloud server 200 and store these multiple vSIM profiles in the processor of the electronic device 100.
[0123] In some embodiments of this application, the electronic device 100 can store multiple profiles, including a first profile corresponding to a first network and a second profile corresponding to a second network. These multiple profiles can be downloaded by the electronic device 100 from the cloud server 200 or pre-stored by the electronic device 100. When the electronic device 100 is located in the area where the network device 300 is located (within the coverage area of the first network), the electronic device 100 can use the first profile to reside on the first network through the network device 300. Therefore, the electronic device 100 can perform its services through the first network. During the process of the electronic device 100 moving from the area where the network device 300 is located to the area where the network device 400 is located (within the coverage area of the second network), the electronic device 100 can obtain signal quality parameters of multiple networks based on the multiple profiles. For example, it can directly obtain the signal quality parameters of the currently residing first network, or search for networks based on profiles other than the first profile to obtain the corresponding network's signal quality parameters. Electronic device 100 can determine a second network with better / optimal signal quality from multiple networks based on signal quality parameters of multiple networks, and determine a second profile corresponding to the second network. For example, if electronic device 100 is located at the edge of the coverage area of the first network but at the center of the coverage area of the second network, the second network has the best signal quality among multiple networks. Then, electronic device 100 can switch from camping on the first network to camping on the second network using network device 400 with the second profile. That is, the camped network is switched from the first network to the second network, so that electronic device 100 can carry out its services through the second network.
[0124] Figure 3 This is a schematic diagram of the architecture of another communication system 10 provided in the embodiments of this application.
[0125] like Figure 3 As shown, the communication system 10 may include an electronic device 100 and a cloud server 200. In some embodiments, the cloud server 200 may include a service platform server 201 and a card resource pool server 202. The card resource pool server 202 can be used to provide profile download services. The service platform server 201 can configure the card resource pool server 202, for example, by configuring the address information of the card resource pool server 202. Electronic devices / applications that have signed an agreement with the service platform server 201 can access the card resource pool server 202 (e.g., access the card resource pool server 202 through the address information of the card resource pool server 202 provided by the service platform server 201) and download profiles from the card resource pool server 202.
[0126] Not limited to the above embodiments, in other embodiments, the business platform server 201 and the card resource pool server 202 can also be integrated into a single server. The embodiments of this application do not limit the architecture of the cloud server 200.
[0127] Not limited to the above embodiments, in other embodiments, electronic devices / applications may not sign an agreement with the business platform server 201, but can still access the card resource pool server 202. The embodiments of this application do not limit the way of accessing the card resource pool server 202.
[0128] like Figure 3 As shown, the electronic device 100 may include a processor 101 and a mobile communication module 102. The processor 101 may include one or more application programs, such as a first network application. The processor 101 can run two application environments: a rich execution environment (REE) and a trusted execution environment (TEE). The processor 101 may also include a radio interface layer (RIL), which can be used to implement communication between the processor 101 and the mobile communication module 102. The mobile communication module 102 can be used to implement the mobile communication function of the electronic device 100. For example, the processor 101 may be an application processor (AP), and the mobile communication module 102 may be a modem.
[0129] Applications / services running in an REE can be referred to as client applications / client services. Applications / services running in a TEE can be referred to as trusted applications (TAs) / trusted services. Figure 3 As shown, a first network service and a telephone service can run in the REE. A first TA can run in the TEE. The first network service in the REE can be used to enable communication between the first network application and the trusted application / trusted service in the TEE. The first network service in the REE can also be used to enable communication between the first network application and other modules in the electronic device 100 other than the processor 101 (e.g., the mobile communication module 102).
[0130] In some embodiments, the TEE may store (e.g., encrypted storage) multiple vSIM profiles, such as a first profile and a second profile, etc. Each of the multiple vSIM profiles may correspond to a network, and each profile may be used by the electronic device 100 to camp on the network corresponding to that profile. Each profile may store network parameters for the corresponding network. For example, the network parameters may include network search parameters for searching for networks and network camping parameters for camping.
[0131] It's understandable that an operating system running in a REE (Reliable Execution Environment) can be called a Rich Execution Environment (REEOS), while an operating system running in a TEE (Trusted Execution Environment) can be called a Trusted Execution Environment (TEEOS). The TEE is a secure runtime environment running on the processor. Its secure boot process requires verification and is separate from the REE. Applications / services running within the TEE are independent of each other and cannot access each other without authorization, ensuring that the processing of resources and data for applications / services within the TEE is executed in a trusted environment, thus providing security services for the REE operating system. The TEE has its own execution space, offering a higher level of security than the REE operating system, and is a security architecture overlapping with the hardware architecture of the currently used processor. The hardware and software resources accessible by the TEE are separate from the REE operating system, providing hardware-supported isolation.
[0132] In some embodiments, the first network application in processor 101 can be used to provide services such as purchasing, activating, deactivating, and deleting service packages. Specifically, after a user purchases a service package, electronic device 100 can download and store one or more profiles corresponding to that service package, for example, storing the downloaded profiles in a TEE. After a user activates a service package, electronic device 100 can activate the profile corresponding to that service package and use that profile for network registration. After a user deactivates a service package, electronic device 100 can deactivate the profile corresponding to that service package. After a user deletes a service package, electronic device 100 can delete the profile corresponding to that service package. The application in this embodiment can also be replaced with other forms of software such as mini-programs or atomic services.
[0133] In some embodiments, the mobile communication module 102 may include a first communication module and a second communication module. For example, the mobile communication module 102 may be a hardware module, and the first and second communication modules may be software modules within the mobile communication module 102. However, this is not a limitation; in other embodiments, the mobile communication module 102 may also include three or more communication modules, and this application does not impose such limitations.
[0134] In some embodiments, one or more communication modules in the mobile communication module 102 can be the main communication module, and the electronic device 100 can implement its services through the main communication module. In some examples, the main communication module can be used to implement the data communication service and other services of the electronic device 100, while communication modules that are not main communication modules may not be used to implement the data communication service of the electronic device 100, but may be used to implement other services of the electronic device 100. For ease of explanation, this application embodiment uses the first communication module in the mobile communication module 102 as the main communication module, and other communication modules as non-main communication modules for illustration. For example, the first communication module in the mobile communication module 102 is called modem0, and the second communication module is called modem1.
[0135] Next, through Figure 3 Steps 1-2 shown exemplify the process by which electronic device 100 downloads multiple profiles, and through... Figure 3 Steps 4-6 shown exemplify the process by which electronic device 100 uses a profile to register on the network.
[0136] like Figure 3 In step 1 shown, after the first network application in electronic device 100 and the service platform server 201 sign an agreement, the first network application in electronic device 100 can download multiple profiles from the card resource pool server 202, wherein these multiple profiles can be multiple vSIM profiles.
[0137] In some examples, electronic device 100 may sign an agreement through the first network application and business platform server 201 in response to input from a user agreeing to the user agreement of the first network application received in the first network application.
[0138] In some examples, after the first network application in electronic device 100 and the service platform server 201 sign an agreement, electronic device 100 can receive input from a user to purchase a first service package in the first network application. In response to this input, the first network application in electronic device 100 can download multiple profiles from the card resource pool server 202. The first service package corresponds to multiple profiles.
[0139] In some examples, a first network application in electronic device 100 can communicate with mobile communication module 102 via a first network service in the REE to download multiple profiles from card resource pool server 202 via mobile communication module 102. Not limited thereto, in other examples, the first network application can also download multiple profiles from card resource pool server 202 via a WLAN communication module (not shown) for implementing WLAN communication. This application embodiment does not limit the specific method by which the first network application downloads profiles from card resource pool server 202.
[0140] like Figure 3 In step 2 shown, the first network application in the electronic device 100 can communicate with the first TA in the TEE through the first network service in the REE (whereby the first network service sends multiple downloaded vSIM profiles to the first TA) so that the first TA stores the multiple downloaded profiles in the TEE.
[0141] like Figure 3 In step 3 shown, when the TEE in the electronic device 100 stores multiple vSIM profiles, the first network application in the electronic device 100 can communicate with the first TA in the TEE through the first network service in the REE (whereby the first network service instructs the first TA to activate the first profile among the multiple profiles), so that the first TA activates the first profile among the multiple profiles in the TEE.
[0142] In some examples, when a user enables a first service package through the first network application of electronic device 100, or when the first network application automatically enables the first service package, the first network application can instruct the first TA to activate the first profile among multiple profiles through the first network service.
[0143] like Figure 3 In step 4 shown, the first network application of electronic device 100 can instruct the first communication module in mobile communication module 102 to register on the network through the first network service in REE. Optionally, the first network application can instruct the first communication module to register on the network through the first profile (in an active state) in TEE.
[0144] like Figure 3 In step 5 shown, the first communication module in the mobile communication module 102 can communicate with the first TA in the TEE to read the first profile that is in an active state from the TEE. In some examples, the mobile communication module 102 and the TEE can communicate via a non-standard protocol.
[0145] like Figure 3 As shown in step 6, after the first communication module in the mobile communication module 102 reads the first profile, it can reside in the first network based on the first profile. In this way, the first communication module can realize the services of the electronic device 100 through the first network.
[0146] Figure 4 This is a schematic diagram of the architecture of an electronic device 100 provided in an embodiment of this application.
[0147] Figure 4 The electronic device 100 shown and Figure 3 The electronic device 100 shown is similar. For example... Figure 4 As shown, the first network application in the processor 101 of the electronic device 100 may include a signal quality decision module. This module can be used to trigger a network search or to determine the target profile for network registration from multiple profiles stored in the TEE. The network search can be performed in the background after registering a network using one of the multiple profiles, for example... Figure 3 After step 6 shown, while the electronic device 100 remains on the first network (at which time the electronic device 100 can perform its services through the first network), it performs a network search in the background. Therefore, this network search will not affect the current network residency status and service implementation. This network search can be called a background search.
[0148] like Figure 4As shown, in the REE of the processor 101 of the electronic device 100, the first network service may include a first state tracking module, a control module, and a first entry module, and the telephony service may include a second state tracking module, a RIL extension module, and a second entry module. The first network service can be understood as a vSIM telephony service. The first state tracking module in the first network service can be used to detect the signal quality when using a vSIM profile in the TEE for network access. For example, the first state tracking module is a vSIM service state tracker. The control module in the first network service can be used to manage vSIM services (i.e., the vSIM services corresponding to the profile in the TEE). Optionally, the control module in the first network service can interact with a first network application to manage vSIM services under the instructions of the first network application. For example, the control module is a vSIM controller. The first entry module in the first network service can be the management entry point for the first network service and can serve as the entry point for interaction between the first network service and other services in the REE. For example, the first entry module is a vSIM inner module. The second entry module in the telephone service can serve as the management entry point for the telephone service and as the entry point for interaction between the telephone service and other services in the REE. An example of a second entry module is the Networksearch module. The RIL extension module in the telephone service can be used to send commands from the telephone service to the RIL layer. The second state tracking module in the telephone service can be used to receive network information such as network signal quality parameters reported by the RIL layer. An example of a second state tracking module is the State Tracker.
[0149] Next, through Figure 4 Steps 7-12 illustrate, exemplarily, the process by which electronic device 100 switches the network it resides in by switching profiles. This process can be performed in... Figure 3 This is performed after step 6 shown (i.e., the first communication module in the mobile communication module 102 resides in the first network based on the first profile).
[0150] like Figure 4In step 7 shown, when the first communication module in the mobile communication module 102 remains camped on the first network based on the first profile, the first state tracking module in the first network service can detect the signal quality parameters of the currently camped first network and report these parameters to the signal quality decision module in the first network application through the control module in the first network service. The signal quality parameters of the first network can be used by the signal quality decision module to determine whether to perform a background search.
[0151] like Figure 4 In step 8, the signal quality decision module in the first network application can determine whether to perform a background search based on the signal quality parameters of the first network. Therefore, it can send instruction 1 to the control module in the first network service. Instruction 1 can instruct the second communication module in the mobile communication module 102 to perform a background search. The control module in the first network service can send instruction 1 to the second entry module in the telephone service through the first entry module. Then, the second entry module in the telephone service can pass instruction 1 to the RIL extension module. The RIL extension module in the telephone service can send instruction 1 to the mobile communication module 102 through the RIL layer to instruct the second communication module in the mobile communication module 102 to perform a background search.
[0152] In some embodiments, the signal quality decision module in the first network application can obtain network parameters (e.g., network search parameters) from multiple profiles stored in the TEE. Instruction 1 can carry network parameters from m candidate profiles (excluding the first profile), where m is greater than or equal to 1. Therefore, after receiving instruction 1, the second communication module in the mobile communication module 102 can search for corresponding m candidate networks based on the network parameters in these m candidate profiles and obtain the signal quality parameters of these m candidate networks. Therefore, the background search response information obtained by the second communication module can include the signal quality parameters of these m candidate networks.
[0153] like Figure 4In step 9, as shown, the second communication module in the mobile communication module 102 can report the background search response information to the second state tracking module in the telephone service through the RIL layer. The second state tracking module in the telephone service can send the background search response information to the first entry module in the first network service through the second entry module. Then, the first entry module in the first network service can pass the background search response information to the control module. The control module in the first network service can report the background search response information to the signal quality decision module in the first network application. The background search response information may include the signal quality parameters of m candidate networks obtained from the search. The m candidate networks are the networks corresponding to the m candidate profiles (excluding the first profile) stored in the TEE. The m candidate networks are not the first network, and m is greater than or equal to 1, for example, m is 1 less than the number of profiles.
[0154] like Figure 4 In step 10, as shown, after the signal quality decision module in the first network application obtains the signal quality parameters of the first network and the response information of the background search (including the signal quality parameters of m candidate networks), it can determine the target network to be switched (assumed to be the second network) from the multiple networks corresponding to multiple profiles, and determine the second profile corresponding to the second network from the multiple profiles. Then, the signal quality decision module in the first network application can communicate with the first TA in the TEE through the control module in the first network service (whereby the control module in the first network service instructs the first TA to activate the second profile among the multiple profiles), so that the first TA in the TEE deactivates the first profile among the multiple profiles and activates the second profile among the multiple profiles.
[0155] like Figure 4 In step 11 shown, the signal quality decision module in the first network application can instruct the first communication module in the mobile communication module 102 to register on the network through the second profile.
[0156] like Figure 4 In step 12 shown, the first communication module in the mobile communication module 102 can camp on the first network and camp on the second network based on the second profile. In this way, the first communication module can implement the services of the electronic device 100 through the second network. Before camping on the second network based on the second profile, the first communication module can communicate with the first TA in the TEE to read the second profile that is in an active state from the TEE.
[0157] like Figure 3 and Figure 4As shown, electronic device 100 can dynamically acquire signal quality parameters of networks corresponding to multiple profiles, and determine the target network with the best / good signal quality and the corresponding target profile based on the acquired signal quality parameters. Then, it switches to use the target profile to reside on the target network, ensuring the signal quality of the network where electronic device 100 resides. This addresses a long-standing user pain point, yields higher benefits, and reduces user complaints. The multiple profiles can correspond to multiple profiles within a single primary service package, thus providing "one SIM card, multiple network access capability" through the primary service package. This eliminates the need for users to purchase a service package for a specific area in advance each time they travel to that area, making it more convenient for users.
[0158] Not limited to Figure 3 and Figure 4 In the embodiments shown, and in other embodiments, the electronic device 100 may also download multiple eSIM profiles and store these multiple eSIM profiles in the eSIM module. The electronic device 100 can dynamically determine the target profile from these multiple eSIM profiles for network registration. Specific examples can be found in [link to relevant documentation]. Figure 5 .
[0159] Figure 5 This is a schematic diagram of the architecture of another electronic device 100 provided in the embodiments of this application.
[0160] like Figure 5 As shown, the electronic device 100 may include a processor 101, a mobile communication module 102, and an eSIM module 103. The processor 101 may include one or more applications, such as a first network application. A Free Execution Environment (REE) may run in the processor 101, and the REE may run a Local Profile Assistant (LPA) service and a telephony service. The processor 101 may also include a Remote Access Module (RIL). The description of the first network application, REE, telephony service, and RIL in the processor 101, as well as the description of the mobile communication module 102, are provided below. Figure 3 The explanation is similar and will not be repeated here.
[0161] In some embodiments, the LPA service can be used to manage profiles in the eSIM module 103, such as downloading, activating, deactivating, and deleting them. Optionally, the LPA service can obtain operation events related to a profile from the application and send profile control commands to the eSIM module 103 based on the obtained operation events.
[0162] In some embodiments, upper-layer services such as applications in processor 101 can communicate with eSIM module 103 through mobile communication module 102. For example, LPA service communicates with eSIM module 103 through mobile communication module 102 to realize profile management in eSIM module 103.
[0163] like Figure 5 As shown, the description of eSIM module 103 and Figure 1 Similar to the description of eSIM module 195B, eSIM module 103 can store multiple eSIM profiles, such as profile1 and profile2, etc. Each of the multiple eSIM profiles can correspond to a network, and each profile can be used by electronic device 100 to camp on the network corresponding to that profile. Each profile can store network parameters for a corresponding network, such as network search parameters for searching for networks and network camping parameters for camping.
[0164] In some embodiments, a first network application in electronic device 100 may download multiple eSIM profiles from cloud server 200 and send these multiple eSIM profiles to eSIM module 103 for storage via mobile communication module 102.
[0165] Next, through Figure 5 Step 1 shown exemplifies the process by which electronic device 100 registers with the network using an eSIM profile, and through... Figure 5 Steps 2-7 illustrate the process by which electronic device 100 switches the network it resides in by switching profiles.
[0166] like Figure 5 In step 1, as shown, the first network application in electronic device 100 can activate any one of the multiple profiles stored in eSIM module 103 (let's say profile1) through the LPA service, and instruct the first communication module in mobile communication module 102 to register on the network. The LPA service can activate profile1 in eSIM module 103 through mobile communication module 102. The first communication module in mobile communication module 102 can communicate with eSIM module 103 (e.g., via a standard protocol) to read the activated profile1 from eSIM module 103. After reading profile1, the first communication module in mobile communication module 102 can register on the corresponding network 1 based on profile1. Thus, the first communication module can access the services of electronic device 100 through the registered network 1.
[0167] like Figure 5 In step 2 shown, when the first communication module in the mobile communication module 102 remains camped on network 1 based on profile1, the first state tracking module in the first network service can detect the signal quality parameters of the currently camped network 1, and can report the signal quality parameters of network 1 to the signal quality decision module in the first network application through the control module in the first network service.
[0168] like Figure 5 In step 2 shown, the signal quality decision module in the first network application can instruct the second communication module in the mobile communication module 102 to perform a background search via the telephone service in the REE. Specifically, the telephone service in the REE can instruct the second communication module in the mobile communication module 102 to perform a background search via the RIL layer. In some embodiments, the signal quality decision module in the first network application can first obtain the signal quality parameters of the currently residing network 1, and then determine whether to perform a background search based on the signal quality parameters of network 1.
[0169] In some embodiments, the signal quality decision module in the first network application can obtain network parameters (e.g., network search parameters) from multiple profiles stored in the eSIM module 103, and carry the network parameters from n candidate profiles (excluding profile 1) when instructing the second communication module to perform a background search, where n is greater than or equal to 1. Therefore, after receiving the instruction, the second communication module in the mobile communication module 102 can search for corresponding n candidate networks based on the network parameters in these n candidate profiles and obtain the signal quality parameters of these n candidate networks. Therefore, the background search response information obtained by the second communication module during the background search can include the signal quality parameters of these n candidate networks.
[0170] like Figure 5 In step 3 shown, the second communication module in the mobile communication module 102 can report the background search response information to the telephone service in the REE through the RIL layer. The telephone service can report the background search response information to the signal quality decision module in the first network application. The background search response information may include the signal quality parameters of n candidate networks obtained from the search. The n candidate networks are the networks corresponding to the n candidate profiles (excluding profile 1) stored in the multiple profiles of the eSIM module 103. The n candidate networks are not network 1, and n is greater than or equal to 1, for example, n is 1 less than the number of multiple profiles.
[0171] like Figure 5In step 4, as shown, after the signal quality decision module in the first network application obtains the signal quality parameters of network 1 and the response information of the background search (including the signal quality parameters of n candidate networks), it can determine the target network to be switched (assuming it is network 2) from the multiple networks corresponding to multiple profiles, and determine the profile2 corresponding to network 2 from the multiple profiles. Then, the signal quality decision module in the first network application can instruct the eSIM module 103 to activate profile2 through the LPA service. Therefore, the eSIM module 103 can deactivate profile1 and activate profile2. The LPA service can instruct the eSIM module 103 to activate profile2 through the mobile communication module 102.
[0172] like Figure 5 In step 5 shown, the signal quality decision module in the first network application can instruct the first communication module in the mobile communication module 102 to register on the network through profile2.
[0173] like Figure 5 In step 6 shown, the first communication module in the mobile communication module 102 can camp on network 1 and camp on network 2 based on profile 2. In this way, the first communication module can realize the services of electronic device 100 through network 2. Before the first communication module camps on network 2 based on profile 2, it can communicate with eSIM module 103 to read the active profile 2 from eSIM module 103.
[0174] Not limited to the above embodiments, in other embodiments, the signal quality decision module in the first network application may also determine to perform background search in other ways, such as performing background search periodically. The embodiments of this application do not limit the triggering conditions for background search.
[0175] For ease of explanation, we will use the vSIM profile as an example in the following explanations. The eSIM profile is similar and will not be described in detail here.
[0176] The user interface involved in the embodiments of this application will be described below by way of example.
[0177] Figures 6A-6D Examples of user interface diagrams for some first-hand web applications are shown.
[0178] like Figure 6A As shown, the electronic device 100 can display a user interface 610 of a first web application. In some examples, the user interface 610 may be displayed by the electronic device 100 in response to user input, such as a touch click, acting on an application icon of the first web application on the desktop of the electronic device 100.
[0179] like Figure 6A As shown, the user interface 610 may include a status bar 611 at the top, a prompt message 612, and a menu bar 613 at the bottom. The status bar 611 at the top may include a mobile communication network signal indicator 611A, time, and battery level. The signal indicator 611 indicates that the electronic device 100 is not currently connected to a mobile communication network. Furthermore, the status bar 611 does not include signal indicators for other networks such as WLAN, thus indicating that the electronic device 100 is not currently connected to WLAN or other networks. The prompt message 612 may indicate that the device is currently in a no-network state, for example, including the text "No network, how can I surf the internet?". Therefore, the electronic device 100 is in a no-network state when displaying the user interface 610. The menu bar 613 at the bottom may include a "Recommended" control 613A and a "My" control 613B. The "Recommended" control 613A is selected, indicating that the user interface 610 is currently displaying the page corresponding to the "Recommended" control 613A. The "My" control 613B can be used to trigger the display of user information, such as purchased data plans, favorites, settings, etc. Users can purchase data packages for their desired destination through the First Network Application. Furthermore, users can activate the purchased data packages to enable one or more of the following services: voice calls, SMS, and data communication. Data packages can also be referred to as service packages.
[0180] like Figure 6A As shown, when the electronic device 100 is in a network-free state, a prompt message 614 and a display bar 615 for the free dedicated network benefits of the first network application can be displayed in the user interface 610. The prompt message 614 may include the text "Click [Enable and Purchase], and you will have 30 minutes of free dedicated network to purchase a data plan." The display bar 615 may include a prompt message and an enable control 615A. The prompt message may include, for example, the text "Enable the free dedicated channel to purchase a data plan; only viewing and purchasing data plans is supported." The enable control 615A may include, for example, the text "Enable and Purchase." The enable control 615A can be used to trigger the activation of the dedicated network corresponding to the first network application. After the dedicated network is activated, the first network application can normally display information such as data plans and support users in purchasing data plans for a certain period of time (e.g., within 30 minutes). For example, the interface display content of the first network application after the dedicated network is activated can be found in [reference needed]. Figure 6C and Figure 6D .
[0181] like Figure 6AAs shown, the user interface 610 may also include a prompt bar 616 for the first network application to request location permissions from the user. The prompt bar 616 may include, for example, the text "Enable location services, obtain intelligent switching of communication networks," to prompt the user to enable location permissions and to indicate that location permissions can be used to achieve intelligent switching of communication networks. In some embodiments, the electronic device 100 may receive user input (e.g., a touch click operation) applied to the prompt bar 616. In response to the user input, the electronic device 100 may display detailed information about the first network application requesting location permissions from the user. See specific examples for further details. Figure 6B The display bar 621 in the user interface 620 shown.
[0182] like Figure 6B As shown, user interface 620 is similar to user interface 610. The display bar 621 in user interface 620 may include an icon and version for the title "Location Permissions" and "First Network Application," indicating that display bar 621 is used to set location permissions for the first network application. Display bar 621 may include a description 622 of the intent / purpose of the first network application obtaining location permissions. For example, description 622 may include the text "Obtaining location permissions is used to enable the data plan and provide you with nearby travel services such as guides, hotels, and tickets. It also supports intelligent switching of communication networks to provide you with the best cellular network access." Display bar 621 may include a settings bar 623 for the location access permissions of the first network application. Settings bar 623 may include multiple settings options, such as "Allow only during use," "Allow for this use," and "Disallow." The user can select any setting option in settings bar 623. Figure 6B The following explanation uses the "Allow only during use" setting option as an example. Display panel 621 may also include a settings panel 624 for precise location access permissions of the first network application. Settings panel 624 may include access instructions for "precise location" and a switch control 624A. The access instructions may include, for example, the text "Allow this application to obtain your precise location; enabling this will provide you with optimal cellular network access." Switch control 624A is used to enable or disable the first network application's permission to access the precise location of electronic device 100. Display panel 621 may also include a confirmation control 625.
[0183] In some embodiments, the electronic device 100 can receive user input (e.g., a touch click) applied to the determining control 625. In response to this user input, the electronic device 100 can set the location permissions of the first network application according to the display panel 621, that is, set the location access permission of the first network application to "allowed only during use" and enable the permission of the first network application to access a precise location. The first network application with location access permissions can realize intelligent switching of communication networks and select the best cellular network to access based on the data plan purchased by the user.
[0184] Next, through Figure 6C and Figure 6D This example illustrates the process by which a user purchases a data plan through a first network application.
[0185] like Figure 6C As shown, the electronic device 100 can display a user interface 630 of a first network application. The user interface 630 may include a status bar 611 at the top, a search bar (for searching for data plans to a desired destination), a recommendation list 631, a display bar (for displaying advertising content), a trip bar (for viewing user trip information), and a menu bar 613 at the bottom. Figure 6C The status bar shown is 611 and Figure 6A The status bar shown is similar to 611, but... Figure 6C The mobile communication network signal identifier 611A in the status bar 611 does not indicate that the electronic device 100 is not currently connected to a mobile communication network, but rather indicates that the electronic device 100 is currently connected to a mobile communication network with 4 signal bars (i.e., full bars). This mobile communication network is, for example, a mobile communication network with 4 signal bars (i.e., full bars). Figure 6A The first network application that is enabled corresponds to a private network or other network. This is not the only example; in other examples, Figure 6C The status bar 611 shown can also display the Wi-Fi network signal indicator to indicate that the electronic device 100 is currently connected to the Wi-Fi network. In this embodiment of the application, the network used by the first network application when the user purchases a data plan is not limited. Figure 6C The menu bar shown is 613 and Figure 6A The menu bar 613 shown is similar. The recommendation list 631 can be used to recommend different data packages, such as a recommendation bar 632 that includes "5 days of data for Country A". The recommendation bar can include a description of "5 days of data for Country A" and purchase controls 632A.
[0186] In some embodiments, the electronic device 100 may receive user input (e.g., a touch click) applied to the purchase control 632A. In response to the user input, the electronic device 100 may display information about data plans shown in the recommendation bar 632. See specific examples for details. Figure 6D The user interface shown is 640.
[0187] like Figure 6D As shown, the user interface 640 may include a status bar 611 located at the top. Figure 6D The status bar shown is 611 and Figure 6CThe status bar 611 shown is similar. The user interface 640 can display detailed information about the "5-day data plan for Country A" through display bars 641 and 642. Display bar 641 can include the data plan price, validity period, and data allowance. Display bar 642 can include the data plan's features, such as great value (high-speed and stable, low price), ease of use (no need to change SIM card, buy and use immediately), app access (access to domestic and international apps), hotspot sharing (share data when you turn on your hotspot), and intelligent switching (smart network switching for the best experience). The user interface 640 may also include payment amount 643 and payment controls 644.
[0188] In some embodiments, a user can purchase the aforementioned "5-day data plan for Country A". The electronic device 100 can receive user input (e.g., touch click) applied to the payment control 644 in the user interface 640. In response to this user input, the electronic device 100 can authenticate the user's payment. Upon successful payment authentication, the data plan purchase is successful. At this point, the electronic device 100 can download multiple profiles corresponding to the data plan. These multiple profiles can each correspond to multiple networks, and one profile can be used to reside on a specific network. It is understood that the first network application can provide the "smart switching" function shown in the display bar 642 of the user interface 640 for the aforementioned data plan, i.e., supporting intelligent switching of communication networks and providing optimal cellular network access. Therefore, after the data plan is activated, the electronic device 100 can dynamically select the target profile with the best / optimal signal quality from among these multiple profiles for network residency and implement device services through the resided network. An interface example can be found here. Figures 7A-7C .
[0189] Not limited to Figures 6A-6B The example shown illustrates a first network application obtaining location permission. In other examples, the first network application may also request location permission from the user after the user has purchased and activated a data plan with the first network application. This could be achieved, for example, by displaying a notification bar at the top of the user interface to request location permission. This notification bar, for example, is similar to... Figure 6A The prompt bar 616 shown is similar. This application embodiment does not limit the method of obtaining location permissions.
[0190] Figures 7A-7B An example diagram of the user interface after a data plan is enabled is shown.
[0191] like Figure 7AAs shown, the electronic device 100 can display the user interface 710 of a first network application. In some examples, the user interface 710 may be displayed after the electronic device 100 receives user input (e.g., a touch click operation) from the "My" control 613B within the menu bar 613 of the user interface of the first network application. The user interface 710 may include a status bar 711 at the top, which may include the signal indicator 711A of the mobile communication network, time, battery level, etc. The user interface 710 may be used to display the data plan order purchased by the current account, such as a display bar 712 for a data plan including "5 days of data in Country A". The display bar 712 may include a switch control 712A and validity information. The switch control 712A can be used to turn the "5 days of data in Country A" data plan displayed in the display bar 712 on or off. Figure 7A The "5-day data plan for Country A" shown is enabled.
[0192] like Figure 7A As shown, when the "5-day data plan for Country A" displayed in the display bar 712 is enabled, the electronic device 100 can activate any one of the multiple profiles corresponding to this data plan (let's assume it's the first profile) and use the first profile to reside on the corresponding first network. Assume the first network is the network of operator A. At this time, the signal indicator 711A in the status bar 711 shown in the user interface 710 of the electronic device 100 includes the characters "Operator A," indicating that the electronic device 100 is currently connected to the network of operator A with 4 signal bars (i.e., full bars).
[0193] In some embodiments, when the electronic device 100 remains camped on the first network using a first profile, the electronic device 100 can obtain signal quality parameters of multiple networks based on multiple profiles corresponding to the "5-day data plan for country A" data package. Based on these signal quality parameters, it can determine a second network with better / optimal signal quality from among these networks, and identify a second profile corresponding to the second network. Then, the electronic device 100 can switch from camping on the first network to camping on the second network using the second profile; that is, the camped network changes from the first network to the second network. Assume the second network is the network of operator B. At this time, the electronic device 100 can display... Figure 7B The user interface 720 is shown. (As shown in the image) Figure 7B As shown, the user interface 720 and Figure 7A The user interface 710 shown is similar, but the signal identifier 711A in the status bar 711 shown in the user interface 720 includes the characters "B operator", indicating that the electronic device 100 is currently connected to the B operator network with 4 signal bars (i.e., full bars).
[0194] Figure 7C An example diagram of the user interface after another data plan is enabled is shown.
[0195] like Figure 7C As shown, the electronic device 100 can display a user interface 730 of a first network application, and the user interface 730 and Figure 7A The user interface 710 shown is similar. In the user interface 730, the data package "5-day data for Country A" displayed in the display bar 712 is enabled, and the signal identifier 711A in the status bar 711 includes the characters "Skyroam", indicating that the electronic device 100 is currently connected to the "Skyroam" virtual operator with 4 signal bars (i.e., full bars).
[0196] The aforementioned "5-day data plan for Country A" corresponds to multiple profiles, each corresponding to a different network. When the data plan is enabled, the electronic device 100 can dynamically determine the target network with the best signal quality among these networks, and identify the target profile corresponding to that target network. It can then use the target profile to stay on the target network, which can be understood as dynamically switching between the profile being used and the network being stayed on. In some embodiments, different profiles among these multiple profiles can correspond to different operators or the same operator. Regardless of which profile among these multiple profiles is used to stay on the corresponding network, the electronic device 100 can display the indication information of the first virtual operator on the signal identifier of the mobile communication network. For example, when the electronic device 100 uses the first profile among the multiple profiles to stay on operator A's network, the electronic device 100 displays the signal identifier 711A in the status bar 711 shown in the user interface 730. When the electronic device 100 uses the second profile among the multiple profiles to stay on operator B's network, the electronic device 100 also displays the signal identifier 711A in the status bar 711 shown in the user interface 730.
[0197] Figure 7C The characters included in the signal identifier 711A of the mobile communication network shown are for illustrative purposes only. It is understood that the characters included in the signal identifier of the mobile communication network can indicate the first virtual operator corresponding to the currently enabled data plan. This data plan can correspond to multiple profiles, and therefore the characters included in the signal identifier of the mobile communication network can also indicate the first virtual operator corresponding to these multiple profiles, for example, the first virtual operator is the virtual operator to which the cloud server 200 belongs. This application embodiment does not limit the characters in the signal identifier of the mobile communication network that indicate the first virtual operator.
[0198] The network switching method provided in the embodiments of this application will be described below. This method can be applied to... Figure 1 The electronic device 100 shown. This method can also be applied to... Figure 2 The electronic device 100 in the communication system 10 shown. This method can also be applied to... Figure 3 The electronic device 100 in the communication system 10 shown. This method can also be applied to... Figure 4 or Figure 5 The electronic device 100 shown.
[0199] Figure 8 This is a flowchart illustrating a network switching method provided in an embodiment of this application. Figure 8 The method shown may include, but is not limited to, the following steps:
[0200] S101. The TEE in the processor 101 of the electronic device 100 stores multiple profiles, and each profile corresponds to a multiple network.
[0201] In some embodiments, the number of profiles is N, meaning the TEE in the processor 101 of the electronic device 100 can store N profiles, where N is greater than or equal to 2, and optionally, N is greater than or equal to 3. Optionally, these N profiles are vSIM profiles. Each of the N profiles can correspond to one network; one profile can correspond to one network; one profile can be used to camp on a corresponding network; and one profile can store network parameters for a corresponding network. Optionally, the network parameters stored in a profile can include camping parameters for camping on the corresponding network and / or search parameters for searching for the corresponding network. Optionally, any two of the N networks can be networks of the same operator or networks of different operators; for example, the N networks can be networks of N different operators.
[0202] In some embodiments, the electronic device 100 may download multiple profiles from the cloud server 200 and store these multiple profiles. Optionally, the multiple profiles are multiple profiles corresponding to a first service package. Optionally, the electronic device 100 may receive input from a user indicating that they have purchased the first service package, and in response to this input, download multiple profiles from the cloud server 200. See specific examples for details. Figure 3 Step 1 shown, Figure 6C and Figure 6D Optionally, the first service package can be charged based on usage time; an example of a first service package can be found here. Figures 6C-6DThe data plan shown is not limited to this. In other embodiments, multiple profiles may be pre-stored in the electronic device 100.
[0203] S102. The first communication module in the mobile communication module 102 of the electronic device 100 reads the first profile of the activation state from the TEE in the processor 101.
[0204] S103. The first communication module in the mobile communication module 102 of the electronic device 100 uses a first profile to reside on the first network.
[0205] In some embodiments, the electronic device 100 can use any one of the stored multiple profiles to register on a network. S102 and S103 are described using the first profile among the multiple profiles as an example. Here, the first network is the network corresponding to the first profile.
[0206] In some embodiments, when the electronic device 100 activates the first service package, it can use the first profile among multiple profiles corresponding to the first service package to reside on the first network. In some examples, the electronic device 100 can receive input from a user to activate the first service package and determine to activate the first service package in response to the input. It is not limited to this. In other examples, the electronic device 100 may also determine to activate the first service package when it detects that the conditions for activating the first service package are met. For example, the condition for activating the first service package may be that the electronic device 100 reaches the first destination corresponding to the first service package.
[0207] In some embodiments, a first network application in the processor 101 of the electronic device 100 may first instruct the TEE to activate a first profile, and then the electronic device 100 executes S102-S103.
[0208] Implementation examples for S102 and S103 can be found in [link to documentation]. Figure 3 Steps 3-6 are shown.
[0209] S104. The first network application in the processor 101 of the electronic device 100 obtains the signal quality parameters of the first network.
[0210] In some embodiments, the first network application may obtain signal quality parameters of the first network currently used by the electronic device 100 with its first profile, and optionally, the quality of experience (QoE) of the first network. The signal quality parameters of the first network (optionally, the QoE of the first network) can be used by the electronic device 100 to determine whether to switch networks. Obtaining the signal quality parameters of the first network may be, for example, but not limited to, periodic acquisition, continuous acquisition, or acquisition upon meeting specific conditions.
[0211] A network's signal quality parameters may include, but are not limited to, one or more of the following: Reference Signal Received Power (RSRP), Received Signal Strength Indicator (RSSI), Reference Signal Received Quality (RSRQ), and Signal-to-Noise Ratio (SNR). It is understood that the name of SNR may differ in different radio access systems. For example, but not limited to, the SNR in LTE may be called Signal-to-Interference-plus-Noise Ratio (SINR), while the SNR in CDMA may be the ratio of signal energy to interference plus noise density (EC / IO). The units for RSRP and RSSI are generally decibels per milliwatt (dBm), while the units for RSRQ and SNR (such as SINR or EC / IO) are generally decibels (dB).
[0212] S105. The first network application in the processor 101 of the electronic device 100 obtains network parameters from the TEE from m candidate profiles other than the first profile among multiple profiles.
[0213] S106. A first network application in the processor 101 of the electronic device 100 sends a first instruction message to a second communication module in the mobile communication module 102, wherein the first instruction message indicates network search and carries network parameters in m candidate profiles.
[0214] S107. The second communication module in the mobile communication module 102 of the electronic device 100 searches for m networks corresponding to m candidate profiles based on the network parameters in the m candidate profiles.
[0215] S108. The second communication module in the mobile communication module 102 of the electronic device 100 reports the signal quality parameters of m networks obtained from the network search to the first network application in the processor 101.
[0216] In some embodiments, the first network application can obtain the signal quality parameters of the networks corresponding to the other profiles besides the first profile among multiple profiles. Examples of signal quality parameters can be found in S104. Optionally, the signal quality parameters of the networks can be obtained through network search. The first network application can search for the corresponding m networks based on the network parameters (e.g., network search parameters) within the other m candidate profiles, and obtain the signal quality parameters of these m networks. The implementation process can be found in S105-S108. Here, the number of multiple profiles is N, and m is a positive integer less than N, for example, m = N-1.
[0217] In some embodiments, after acquiring the signal quality parameters of the first network, optionally the QoE of the first network, the electronic device 100 determines whether the signal quality of the first network is lower than a first quality threshold based on the signal quality parameters (optionally and the QoE) of the first network. If the determination result is yes, the signal quality parameters of the networks corresponding to other profiles among multiple profiles besides the first profile are acquired. For example, if the determination result is yes, steps S106-S108 are executed. If the determination result is no, the signal parameters of the networks corresponding to other profiles may not be acquired, that is, the device may remain in the first network and wait for the next acquisition of the signal quality parameters of the first network. In the above case, step S104 is executed before steps S106-S108. Not limited to this, in other embodiments, the electronic device 100 may also periodically acquire the signal quality parameters of the networks corresponding to other profiles among multiple profiles besides the first profile. In this case, the implementation order of steps S104 and S106-S108 is not limited, and the acquisition conditions are not limited in this application embodiment.
[0218] In some embodiments, after acquiring the signal quality parameters of the first network, the electronic device 100 can determine the signal quality level of the first network based on the signal quality parameters. Then, the electronic device 100 can determine whether the signal quality of the first network is lower than a first quality threshold based on the signal quality level of the first network and optionally the QoE of the first network, thereby determining whether to acquire the signal quality parameters of the networks corresponding to other profiles among multiple profiles besides the first profile. Table 1 below exemplifies one method of determining the signal quality level based on signal quality parameters. Table 2 below exemplifies one method of determining whether to trigger the acquisition of signal quality parameters of networks corresponding to other profiles based on the signal quality level and QoE of the first network.
[0219] Table 1
[0220]
[0221] As shown in Table 1, the signal quality parameters of a network can include, but are not limited to, one or more of the following: RSSI, RSRP, RSRQ, and signal-to-noise ratio (such as SINR or EC / IO). The signal quality level of a network can be divided into five levels, ranked from best to worst: Excellent, Good, Fair, Poor, and Deadzone. Deadzone refers to a situation where the signal is very weak or completely unreceiveable in a certain area. For example, the signal strength is very low, or there is no connection at all, making it impossible to obtain signal quality parameters. Table 1 uses the example of Deadzone as the signal quality level when signal quality parameters cannot be obtained.
[0222] In some embodiments, the network signal quality level can be determined based on a signal quality parameter. For example, as shown in Table 1, the signal quality level is determined to be Excellent when any of the following conditions are met: RSSI is in the range (-65, +∞), RSRP is in the range (-84, +∞), RSRQ is in the range (-5, +∞), SINR is in the range (12.5, +∞), or EC / IO is in the range (-2, +∞). The signal quality level is determined to be Good when any of the following conditions are met: RSSI is in the range (-75, -65), RSRP is in the range (-102, -84), RSRQ is in the range (-9, -5), SINR is in the range (10, 12.5), or EC / IO is in the range (-5, -2). The signal quality level is determined to be Fair when any of the following conditions are met: RSSI is in the range (-85, -75), RSRP is in the range (-111, -65), RSRP is in the range (-84, -84), RSRP is in the range (-111, -65), RSRP is in the range (-84 ... The signal quality level is determined to be Poor when any of the following conditions are met: RSSI is in the range of (-∞, -85], RSRP is in the range of (-∞, -111], RSRQ is in the range of (-∞, -12], SINR is in the range of (-∞, 7], or EC / IO is in the range of (-∞, -10].
[0223] Not limited to this, in other embodiments, the network signal quality level can also be determined based on multiple signal quality parameters. For example, multiple signal quality parameters can be assigned corresponding weights, and a network signal quality score can be calculated based on these signal quality parameters and their corresponding weights. Then, the signal quality level is classified according to the signal quality score. This application does not limit the method of determining the signal quality level based on one or more signal quality parameters.
[0224] Table 2
[0225]
[0226] As shown in Table 2, if the signal quality level of the first network is relatively good (taking "Excellent" or "Good" as examples), it can be determined whether the QoE of the first network is normal or laggy. If the QoE is normal, the signal parameters of other profiles do not need to be obtained; that is, the network can remain on the first network and wait for the next acquisition of its signal quality parameters. If the QoE is laggy, the signal quality parameters of other profiles (excluding the first profile) can be obtained to determine whether to switch networks. If the signal quality level of the first network is relatively poor (taking "Fair," "Poor," or "Deadzone" as examples), the signal quality parameters of other profiles (excluding the first profile) can be obtained to determine whether to switch networks.
[0227] Table 1 illustrates the signal quality level divided into 5 levels, and Table 2 illustrates the QoE divided into normal and stuttering levels. In specific implementations, the signal quality level and / or QoE can be divided into more or fewer levels. This application embodiment does not limit the division method. It is understood that after the division method changes, the method for determining whether to trigger the acquisition of signal quality parameters of networks corresponding to other profiles can also change adaptively. This application embodiment does not limit the method for determining whether to trigger the acquisition of signal quality parameters of networks corresponding to other profiles.
[0228] In some embodiments, the first network application may first obtain network parameters from m candidate profiles (excluding the first profile) among multiple profiles (i.e., execute S105). These m candidate profiles may correspond to m networks, and the network parameters in each candidate profile may include search parameters for searching the corresponding network. For example, search parameters may include one or more of PLMN, RAT, band, and freq, and the PLMN in the search parameters may be used to identify the network corresponding to the profile. Then, the first network application may execute S106 based on the network parameters in the m candidate profiles, so that the second communication module in the mobile communication module 102 executes S107-S108. Optionally, the second communication module may carry the identifiers of the m networks (e.g., PLMN) when executing S108, so that the first network application can distinguish the signal quality parameters of the m networks. S105 may be executed at any time before S106, for example, after S103 and before S104, or before S102; this embodiment does not limit this.
[0229] In some embodiments, when executing S107, the second communication module can simultaneously search for m networks corresponding to m candidate profiles, or it can search for m networks in a time-sharing manner. In some embodiments, when executing S108, the second communication module can simultaneously report the signal quality parameters of m networks, or it can report the signal quality parameters of m networks in a time-sharing manner. During S107-S108, the time taken for the second communication module to complete the search for different networks can be different or the same. The second communication module can report the signal quality parameters of a network to the first network application after each search yields the desired signal quality parameters. Therefore, S108 can include m sub-steps, each sub-step involving the second communication module reporting the signal quality parameters of one of the m networks to the first network application. Any two of these m sub-steps can be executed simultaneously or not simultaneously.
[0230] Not limited to the above embodiments, in other embodiments, signal quality parameters of the network corresponding to at least one profile other than the first profile among multiple profiles can also be obtained through methods other than network searching. For example, assuming the electronic device 100 has connected to pSIM1, after the first network application of the electronic device 100 obtains the network parameters in the other profiles besides the first profile among multiple profiles, it can determine whether the network parameters (e.g., network search parameters) in each of the other profiles are the same as the network parameters (e.g., network search parameters) in pSIM1. If they are different, it can search the network corresponding to the currently determined profile to obtain the signal quality parameters of that network. If they are the same, it can send an indication message to the mobile communication module 102, which instructs the mobile communication module 102 to report the signal quality parameters of the network corresponding to pSIM1 to the first network application. The first network application can then determine the signal quality parameters of the network corresponding to pSIM1 as the signal quality parameters of the network corresponding to the currently determined profile, without needing to search the network corresponding to the currently determined profile, thus reducing power consumption. The above example illustrates the situation using an electronic device 100 connected to pSIM1. In other examples, the electronic device 100 may also be connected to other types of profiles, and these other types of profiles, along with the aforementioned multiple profiles, may be stored in different modules of the electronic device 100. Assuming the first network application of the electronic device 100 obtains multiple profiles that are vSIM profiles, and the electronic device 100 is connected to an eSIM profile, the electronic device 100 can determine whether the network parameters (e.g., network search parameters) in each of the multiple profiles except the first profile are the same as the network parameters (e.g., network search parameters) in the aforementioned eSIM profile. If they are different, the electronic device 100 can search for the network corresponding to the currently determined profile to obtain the signal quality parameters of that network. If they are the same, the electronic device 100 can send an indication message to the mobile communication module 102, which instructs the mobile communication module 102 to report the signal quality parameters of the network corresponding to the aforementioned eSIM profile to the first network application. The first network application can then determine the signal quality parameters of the network corresponding to the aforementioned eSIM profile as the signal quality parameters of the network corresponding to the currently determined profile, without needing to search for the network corresponding to the currently determined profile. This application does not limit the manner in which the electronic device 100 is connected to / registered with a network. This application does not limit the specific method for obtaining the signal quality parameters of the network corresponding to other profiles in the embodiments.
[0231] In some embodiments, the second communication module may be network-connected via the pSIM of the electronic device 100 or other profiles other than the aforementioned multiple profiles. In other embodiments, the second communication module may also be unconnected.
[0232] S109. The first network application in the processor 101 of the electronic device 100 determines a second network from the multiple networks based on the acquired signal quality parameters of multiple networks, and determines the second profile corresponding to the second network among the multiple profiles.
[0233] In some embodiments, before S109, the first network application can obtain signal quality parameters of multiple networks corresponding to multiple profiles stored in the TEE. Specifically, the first network application can obtain the signal quality parameters of the first network where the electronic device 100 is currently using the first profile (i.e., execute S104), and it can also obtain the signal quality parameters of networks corresponding to other profiles besides the first profile (see S106-S108 for an example of network search). In S109, the first network application can determine whether to perform a network switch based on the obtained signal quality parameters of the multiple networks. Specifically, the first network application can determine a second network from the multiple networks based on the obtained signal quality parameters, and determine the second profile corresponding to the second network. Furthermore, the first network application can determine to switch from the first network to the second network, and therefore can subsequently use the second profile to reside on the second network. See S110-S114 for a specific implementation example. Therefore, the second network is the target network that the electronic device 100 determines needs to switch to, and the second profile corresponding to the second network is the target profile that the electronic device 100 determines needs to use for switching.
[0234] In some embodiments, the second network is the network with the best signal quality among multiple networks. The second network may satisfy the following conditions: the signal quality of the second network is better than the signal quality of the first network, and the signal quality of the second network is better than the signal quality of any other network among the multiple networks besides the first network. For example, the signal quality of the second network being better than the signal quality of the first network includes: the signal quality level of the second network being better than the signal quality level of the first network; or, the signal quality level of the second network being equal to the signal quality level of the first network, but the signal quality parameter of the second network being better than the signal quality parameter of the first network. The signal quality of the second network being better than the signal quality of any other network includes: the signal quality level of the second network being better than the signal quality level of that other network; or, the signal quality level of the second network being equal to the signal quality level of that other network, but the signal quality parameter of the second network being better than the signal quality parameter of that other network. Not limited thereto, in other embodiments, the second network may also be the network with relatively good signal quality among multiple networks (e.g., the network whose signal quality ranks in the top x positions, where x is a positive integer less than N), and this application embodiment does not limit this.
[0235] In some embodiments, when a first network application determines whether to switch networks based on the acquired signal quality parameters of multiple networks, it can identify a second network with the best / better signal quality from among the networks other than the first network, and determine whether a first condition is met. The first condition includes: the signal quality of the first network is lower than a second quality threshold, and the signal quality of the second network is better than a third quality threshold. If the first condition is met, the second network with the best / better signal quality can be identified from among the multiple networks, and a switch from the first network to the second network can be initiated. If the first condition is not met, the application can remain on the first network and not switch to the second network. Not limited to this, in other embodiments, the first condition may also include either the signal quality of the first network being lower than the second quality threshold or the signal quality of the second network being better than the third quality threshold. This avoids situations where switching networks when the first network has good signal quality or the target second network has poor signal quality leads to a poor service experience.
[0236] In some embodiments, after obtaining the signal quality parameters of multiple networks, the first network application can determine the signal quality level of each network based on its signal quality parameters. Specific examples can be found in Table 1. Then, the first network application can determine the second network with the best signal quality from among the networks other than the first network. The second network can be the network with the best signal quality level and the best signal quality parameters among the other networks. The first network application can determine whether to switch to the second network based on the signal quality level of the first network (optionally, and the QoE of the first network) and the signal quality level of the second network. Table 3 below illustrates one method for determining whether to switch networks.
[0237] Table 3
[0238]
[0239] As shown in Table 3, if the signal quality level of the first network is Excellent, and the signal quality level of the second network is also Excellent, then the QoE of the first network can be determined. If the QoE of the first network is normal, the user does not switch to the second network; if the QoE of the first network is sluggish, the user can switch to the second network. If the signal quality level of the first network is Excellent, and the signal quality level of the second network is lower than Excellent (Good, Fair, Poor, or Deadzone), then the user does not switch to the second network. This is not limited to this. In other examples, if the signal quality levels of both the first and second networks are Excellent, and the QoE of the first network is sluggish, the user can determine if the signal quality parameters of the second network are better than those of the first network. If the result is yes, the user can switch to the second network; otherwise, the user does not switch to the second network.
[0240] As shown in Table 3, when the signal quality level of the first network is Good, if the signal quality of the second network is Excellent (or also Good), the QoE of the first network can be assessed. If the QoE of the first network is normal, the user does not switch to the second network; if the QoE of the first network is sluggish, the user can switch to the second network. If the signal quality level of the first network is Good, and the signal quality level of the second network is Fair, Poor, or Deadzone (lower than Good), the user does not switch to the second network. However, this is not limited to this. In other examples, when the signal quality level of the first network is Good and the signal quality level of the second network is Excellent or Good, if the QoE of the first network is sluggish, the user can assess whether the signal quality parameters of the second network are better than those of the first network. If the assessment result is yes, the user can switch to the second network; otherwise, the user does not switch to the second network.
[0241] As shown in Table 3, if the signal quality level of the first network is Fair, and the signal quality of the second network is Excellent or Good, then the user can switch to the second network. If the signal quality level of the second network is also Fair, or Poor / Deadzone, which is lower than Fair, then the user will not switch to the second network.
[0242] As shown in Table 3, if the signal quality level of the first network is Poor, and the signal quality of the second network is better (Excellent, Good, or Fair), then the user can switch to the second network. If the second network is also Poor, or is a Deadzone lower than Poor, then the user should not switch to the second network.
[0243] As shown in Table 3, if the signal quality level of the first network is Deadzone, and the signal quality of the second network is better (Excellent, Good, Fair, or Poor), then the user can switch to the second network. If the second network is also Deadzone, then the user should not switch to the second network.
[0244] Table 3 illustrates the classification of signal quality levels into 5 levels and QoE into normal and stuttering levels. In specific implementations, signal quality levels and / or QoE can be classified into more or fewer levels. This application does not limit the classification method.
[0245] The methods for determining whether to switch networks shown in Table 3 are for illustrative purposes only and should not be construed as limiting factors.
[0246] In some embodiments, after the electronic device 100 determines the second network to be switched to and the corresponding second profile, the first network application in the processor 101 can send an instruction to the second communication module in the mobile communication module 102 to search for the second network. Optionally, the instruction may carry network parameters (e.g., network search parameters) within the second profile. After receiving the instruction, the second communication module can search for the second network again based on the network parameters within the second profile, obtain the signal quality parameters of the second network, and then report them to the first network application. The first network application can compare the signal quality parameters of the second network obtained the first time (obtained in S106-S108) with the signal quality parameters of the second network obtained the second time (obtained after searching for the second network again). If the difference between the two is less than a first difference threshold, then switching to the second network is performed. For a specific implementation example, see S110-S114 below. Optionally, if the difference between the two is greater than or equal to the first difference threshold, then switching to the second network is not performed at present. The signal quality parameters of multiple networks can be obtained again later to determine whether to perform network switching. This avoids the situation where the location of electronic device 100 changes significantly during the network switching process, and the determined second network is not the optimal network in the real-time scenario, leading to a poor service experience after switching directly to the second network. This ensures that the network switching result can improve the user's service experience rather than reduce it.
[0247] S110. The first network application in the processor 101 of the electronic device 100 sends a second instruction message to the TEE, instructing the activation of the second profile.
[0248] S111. The TEE in the processor 101 of the electronic device 100 activates the second profile.
[0249] In some embodiments, after receiving the second instruction information, the TEE can deactivate the first profile and activate the second profile.
[0250] S112. The first network application in the processor 101 of the electronic device 100 sends a third instruction message to the first communication module in the mobile communication module 102, instructing to use the second profile for network registration.
[0251] S113. The first communication module in the mobile communication module 102 of the electronic device 100 reads the second profile of the activation state from the TEE in the processor 101.
[0252] S114. The first communication module in the mobile communication module 102 of the electronic device 100 is de-camped on the first network and uses the second profile to camp on the second network.
[0253] The execution order of S110 and S112 is not limited.
[0254] S115. The first communication module in the mobile communication module 102 of the electronic device 100 implements the services of the electronic device 100 through the second network.
[0255] In some embodiments, after the network where the first communication module resides is switched from the first network to the second network, the electronic device 100 can perform one or more services, such as data communication services, voice services, and SMS services, through the second network.
[0256] In some embodiments, the second indication information and / or the third indication information may carry the identifier of the second profile (e.g., ISD P-AID).
[0257] In some embodiments, after the electronic device 100 acquires the signal quality parameters of multiple networks corresponding to multiple profiles, for example, after the network where the first communication module of the electronic device 100 is hosted switches from the first network to the second network, the electronic device 100 can acquire the signal quality parameters of multiple networks corresponding to multiple profiles again (e.g., the acquisition method includes network search). However, before acquiring the parameters, the electronic device 100 can first determine whether the change in the location of the electronic device 100 is greater than or equal to a first change threshold. For example, it can determine whether the difference between the location 1 after the electronic device 100 switches to the second network and the current location 2 is greater than or equal to the first change threshold. If the determination result is yes, the signal quality parameters of multiple networks corresponding to multiple profiles can be acquired again; if the determination result is no, the parameters can be omitted. The location of the electronic device 100 can be obtained by the first network application after obtaining location permissions. An example of the first network application obtaining location permissions can be found in [link to relevant documentation]. Figures 6A-6B This avoids situations where the electronic device performs network search and signal quality parameter acquisition operations again when the movement range is small, resulting in high power consumption and low benefit, thus reducing unnecessary power consumption of the device.
[0258] Not limited to this, in other embodiments, the electronic device 100 may also determine whether the time change amplitude is greater than or equal to a second change threshold before acquiring the data. For example, it may determine whether the difference between the time 1 when the electronic device 100 switches to the second network and the current time 2 is greater than or equal to the second change threshold. If the determination result is yes, the signal quality parameters of the multiple networks corresponding to the multiple profiles can be acquired again. If the determination result is no, the data can be acquired without acquisition. The embodiments of this application do not limit the specific determination parameters and determination methods.
[0259] Not limited to Figure 8In some embodiments, as illustrated, the processor 101 may send instruction information to the mobile communication module 102. For example, this instruction information may instruct the mobile communication module 102 to perform a corresponding operation, rather than instructing the first communication module / second communication module to perform the corresponding operation. The mobile communication module 102 can then select which communication module within the mobile communication module 102 should perform the corresponding operation based on the instruction information.
[0260] Not limited to Figure 8 In the embodiments shown, in other embodiments, the electronic device 100 may also perform network searching through other communication modules besides the second communication module, and this application does not limit this.
[0261] Not limited to Figure 8 In some embodiments, before performing a network switch, the electronic device 100 may determine whether the service currently being served through the first network meets preset conditions. For example, this determination may be performed before acquiring signal quality parameters from multiple networks, or between steps S109 and S110. If the conditions are met, a network switch can be performed; otherwise, no network switch is performed. For example, services that meet the preset conditions include services with low latency sensitivity (e.g., instant messaging, email), while services that do not meet the preset conditions include services with high latency sensitivity (e.g., online games, video services). However, this is not a limitation; services that meet the preset conditions may also include services of lower importance, and services that do not meet the preset conditions may include services of higher importance. This application embodiment does not limit the preset conditions.
[0262] Figure 8 The following is an example of an electronic device 100 determining the target network for switching based on the signal quality parameters of multiple networks. In a specific implementation, the electronic device 100 can also determine the target network for switching based on more inputs, such as inputs preset in the cloud, inputs monitored in the cloud, etc. The specific method for determining the target network for switching is not limited in the embodiments of this application.
[0263] The following is an example of how electronic device 100 obtains signal quality parameters of m networks (excluding the first network) from multiple networks by searching the network. Figure 8 The following is a specific implementation example of S106-S108. This process can be applied to... Figure 1 The electronic device 100 shown. This process can also be applied to... Figure 2 The electronic device 100 in the communication system 10 shown. This process can also be applied to... Figure 3 The electronic device 100 in the communication system 10 shown. This process can also be applied to... Figure 4 or Figure 5The electronic device 100 shown.
[0264] The following explanation uses m = 2 as an example. The m candidate profiles corresponding to the m networks are the second profile and the third profile. The second profile corresponds to the second network, and the third profile corresponds to the third network. The explanation below uses the network parameters within the second profile, including: Plmn2, RAT1, freq21 and freq22 corresponding to RAT1, RAT2, and freq23 and freq24 corresponding to RAT2. The explanation below uses the network parameters within the third profile, including: Plmn3, RAT1, freq31 and freq32 corresponding to RAT1, RAT2, and freq33 and freq34 corresponding to RAT2.
[0265] Figure 9A An exemplary flowchart of a web search process is shown.
[0266] exist Figure 9A In the network search process shown, the second profile and the third profile can include frequency bands / frequency under multiple network standards (RATs). Therefore, when the electronic device 100 searches for networks based on the second profile, it can search for second networks of different RATs respectively. When the electronic device 100 searches for networks based on the third profile, it can search for third networks of different RATs respectively. The method of searching for networks of each RAT is similar. Figure 9A Let's take searching the RAT1 network as an example. Figure 9A The steps S201-S206 shown can be described as the process of searching for the second network of RAT1 based on the second profile. Figure 9A The steps S207-S212 shown can be the process of searching for the third network of RAT1 based on the third profile.
[0267] Figure 9A The web search process shown may include, but is not limited to, the following steps:
[0268] S201. The processor 101 of the electronic device 100 sends a first network search command 1 to the mobile communication module 102, carrying Plmn2 and freq21 in the second profile.
[0269] S202. The mobile communication module 102 of the electronic device 100 is based on Plmn2 and freq21 for network search.
[0270] S203. When the mobile communication module 102 of the electronic device 100 obtains the first quality parameter 1 based on Plmn2 and freq21, the mobile communication module 102 sends a first search response 1 to the processor 101, carrying the first quality parameter 1.
[0271] In some embodiments, the first quality parameter 1 may be the signal quality parameter of the second network of RAT1 obtained by the electronic device 100 at frequency freq21.
[0272] In some embodiments, the first network search command 1 and the first network search response 1 are AT commands used for interaction between the processor 101 and the mobile communication module 102. For example, the first network search command 1 is a cell search (CellScan) command, which can be characterized as AT-CellScan(Plmn2,freq21).
[0273] S204. The processor 101 of the electronic device 100 sends a first network search command 2 to the mobile communication module 102, carrying Plmn2 and freq22 in the second profile.
[0274] S205. The mobile communication module 102 of the electronic device 100 is based on Plmn2 and freq22 for network search.
[0275] S206. When the mobile communication module 102 of the electronic device 100 obtains the first quality parameter 2 based on Plmn2 and freq22, the mobile communication module 102 sends a first search response 2 to the processor 101, carrying the first quality parameter 2.
[0276] S204-S206 are similar to S201-S203, so they will not be described in detail again.
[0277] Among them, the electronic device 100 can obtain the signal quality parameters of the second network of RAT1 through S201-S206: first quality parameter 1 and first quality parameter 2.
[0278] S207. The processor 101 of the electronic device 100 sends a second network search command 1 to the mobile communication module 102, carrying Plmn3 and freq31 in the third profile.
[0279] S208. The mobile communication module 102 of the electronic device 100 is based on Plmn3 and Freq31 for network search.
[0280] S209. When the mobile communication module 102 of the electronic device 100 obtains the second quality parameter 1 based on Plmn3 and freq31, the mobile communication module 102 sends a second search response 1 to the processor 101, carrying the second quality parameter 1.
[0281] S207-S209 are similar to S201-S203, so they will not be described in detail again.
[0282] S210. The processor 101 of the electronic device 100 sends a second network search command 2 to the mobile communication module 102, carrying Plmn3 and freq32 in the third profile.
[0283] S211. The mobile communication module 102 of the electronic device 100 is based on Plmn3 and Freq32 for network searching.
[0284] S212. When the mobile communication module 102 of the electronic device 100 obtains the second quality parameter 2 based on Plmn3 and freq32, the mobile communication module 102 sends a second search response 2 to the processor 101, carrying the second quality parameter 2.
[0285] S210-S212 and S201-S203 are similar and will not be described in detail.
[0286] Among them, the electronic device 100 can obtain the signal quality parameters of the third network of RAT1 through S207-S212: the second quality parameter 1 and the second quality parameter 2.
[0287] Not limited to the examples above, in specific implementations, the frequency points corresponding to a network type (RAT) within the second and third profiles can be more, the RATs within the second and third profiles can also be more, and the number of profiles (i.e., m) for network searching can also be more. And... Figure 9A As shown in the network search process, each frequency point frequency freq corresponding to each RAT within each profile requires at least two command interactions. This results in frequent interactions of numerous commands, leading to very low performance. Furthermore, after sending a network search command, the processor 101 must actively wait for a network search response from the mobile communication module 102 before executing other operations. This can be understood as the network search command sent by the processor 101 and the network search response returned by the mobile communication module 102 needing to be synchronized. If the processor 101 determines that a higher-priority service has been triggered, it may interrupt the network search process to execute the higher-priority service, resulting in a very long network search time and low efficiency.
[0288] Figure 9B This example illustrates a flowchart of yet another web search process. Figure 9B The web search process shown may include, but is not limited to, the following steps:
[0289] S301. The processor 101 of the electronic device 100 sends a third network search command to the mobile communication module 102, carrying freq21 and freq22 corresponding to Plmn2 and RAT1, freq23 and freq24 corresponding to RAT2 in the second profile, and freq31 and freq32 corresponding to Plmn3 and RAT1, freq33 and freq34 corresponding to RAT2 in the third profile.
[0290] In some embodiments, the third network search command is an AT command used for interaction between the processor 101 and the mobile communication module 102. For example, the third network search command is a cell search (CellScan) command, which can be characterized as AT-CellScan(Plmn2, [RAT1]freq21, [RAT1]freq22, [RAT2]freq23, [RAT2]freq24; Plmn3, [RAT1]freq31, [RAT1]freq32, [RAT2]freq33, [RAT2]freq34).
[0291] S302. The mobile communication module 102 of the electronic device 100 searches the network based on freq21 and freq22 corresponding to Plmn2 and RAT1, and freq23 and freq24 corresponding to RAT2.
[0292] S303. When the mobile communication module 102 of the electronic device 100 obtains the third quality parameter 1 by searching the network based on freq21 and freq22 corresponding to Plmn2 and RAT1, and freq23 and freq24 corresponding to RAT2, the mobile communication module 102 sends a third network search response 1 to the processor 101, carrying the third quality parameter 1 corresponding to Plmn2.
[0293] S304. The mobile communication module 102 of the electronic device 100 searches the network based on freq31 and freq32 corresponding to Plmn3 and RAT1, and freq33 and freq34 corresponding to RAT2.
[0294] S305. When the mobile communication module 102 of the electronic device 100 obtains the third quality parameter 2 based on the freq31 and freq32 corresponding to Plmn3 and RAT1, and the freq33 and freq34 corresponding to RAT2, the mobile communication module 102 sends a third search response 2 to the processor 101, carrying the third quality parameter 2 corresponding to Plmn3.
[0295] In some embodiments, in S302, the mobile communication module 102 can search for a second network (Plmn2) based on the network search parameters in the second profile. If a third quality parameter 1 of the second network is found, the third quality parameter 1 can be reported to the processor 101 in S303. Optionally, the third network search response 1 in S303 can carry Plmn2 and the third quality parameter 1. The third quality parameter 1 can include one or more of the following: the signal quality parameters of the second network of RAT1 obtained from the network search at frequency freq21, the signal quality parameters of the second network of RAT1 obtained from the network search at frequency freq22, the signal quality parameters of the second network of RAT2 obtained from the network search at frequency freq23, and the signal quality parameters of the second network of RAT2 obtained from the network search at frequency freq24.
[0296] In some embodiments, in S304, the mobile communication module 102 can search for a third network (Plmn3) based on the network search parameters in the third profile. If the third quality parameter 2 of the third network is found, the third quality parameter 2 can be reported to the processor 101 in S305. Optionally, the third network search response 2 in S305 can carry Plmn3 and the third quality parameter 2. The third quality parameter 2 can include one or more of the following: the signal quality parameter of the third network of RAT1 obtained from the network search at frequency freq31, the signal quality parameter of the third network of RAT1 obtained from the network search at frequency freq32, the signal quality parameter of the third network of RAT2 obtained from the network search at frequency freq33, and the signal quality parameter of the third network of RAT2 obtained from the network search at frequency freq34.
[0297] The implementation order of S302 and S304 is not specified. S303 is executed after S302, and S305 is executed after S304. The implementation order of S303 and S305 is not specified.
[0298] Not limited to the examples above, in specific implementations, the frequency points corresponding to a network type (RAT) within the second and third profiles can be more, the RATs within the second and third profiles can also be more, and the number of profiles (i.e., m) for network searching can also be more. However, compared to... Figure 9A The web search process shown is in Figure 9BIn the network search process shown, processor 101 can instruct mobile communication module 102 to search for m networks based on network parameters within m profiles via a third network search command. After obtaining the signal quality parameters of each network, mobile communication module 102 can report them to processor 101. This means that signal quality parameters from different networks can be reported to processor 101 asynchronously / time-divisionally, allowing processor 101 to passively receive signal quality parameters from different networks. Therefore, after sending the third network search command, processor 101 can perform other operations without waiting for mobile communication module 102 to return the signal quality parameters of the m networks. This not only simplifies the interaction but also significantly improves device efficiency and performance.
[0299] Figure 9C This example illustrates a flowchart of yet another web search process. Figure 9C The web search process shown may include, but is not limited to, the following steps:
[0300] S401. The processor 101 of the electronic device 100 sends a fourth network search command to the mobile communication module 102, carrying Plmn2 in the second profile and Plmn3 in the third profile.
[0301] In some embodiments, the processor 101 may send a list of Plmn to be searched to the mobile communication module 102 via a fourth search command. The list of Plmn includes Plmn in m profiles. Taking m as an example, the list of Plmn includes Plmn2 in the second profile and Plmn3 in the third profile.
[0302] S402. The mobile communication module 102 of the electronic device 100 sends a frequency point request command to the processor 101 to request the frequency points corresponding to Plmn2 and Plmn3.
[0303] In some embodiments, after receiving the fourth network search command, the mobile communication module 102 can request the frequency points corresponding to the PLMN list to be searched from the processor 101 for subsequent network searches. Optionally, the mobile communication module 102 can request the frequency points corresponding to the PLMN list to be searched from the processor 101 according to the MCC at the country level. The frequency point request command can carry one or more MCCs.
[0304] S403. The processor 101 of the electronic device 100 sends the frequency point code streams corresponding to Plmn2 and Plmn3 to the mobile communication module 102.
[0305] In some embodiments, after receiving a frequency point request command, the processor 101 may send at least one frequency point (i.e., the frequency point code streams corresponding to Plmn2 and Plmn3) to the mobile communication module 102. Optionally, the frequency point request command may carry one or more MCCs, and the frequency point code stream sent by the processor 101 to the mobile communication module 102 in S403 may include at least one frequency point of Plmn2 and Plmn3 in these one or more MCCs.
[0306] S404. The mobile communication module 102 of the electronic device 100 searches the network based on the frequency points corresponding to Plmn2 and Plmn2.
[0307] S405. When the mobile communication module 102 of the electronic device 100 obtains the fourth quality parameter 1 based on the frequency point corresponding to Plmn2 and Plmn2, the mobile communication module 102 sends the fourth network search response 1 to the processor 101, carrying the fourth quality parameter 1 corresponding to Plmn2.
[0308] S406. The mobile communication module 102 of the electronic device 100 searches the network based on Plmn3 and the frequency points corresponding to Plmn3.
[0309] S407. When the mobile communication module 102 of the electronic device 100 obtains the fourth quality parameter 2 based on the frequency point corresponding to Plmn3 and Plmn3, the mobile communication module 102 sends the fourth network search response 2 to the processor 101, carrying the fourth quality parameter 2 corresponding to Plmn3.
[0310] In some embodiments, in S404, the mobile communication module 102 can search for a second network based on Plmn2 and the frequency point corresponding to Plmn2 (obtained in S403). If the fourth quality parameter 1 of the second network is found, the fourth quality parameter 1 can be reported to the processor 101 in S405. Optionally, the fourth network search response 1 in S405 can carry Plmn2 and the fourth quality parameter 1. The fourth quality parameter 1 may include: the signal quality parameter of the second network (Plmn2) obtained in S403 at the frequency point corresponding to Plmn2.
[0311] In some embodiments, in S406, the mobile communication module 102 can search for a third network based on Plmn3 and the frequency point corresponding to Plmn3 (obtained in S403). If the fourth quality parameter 2 of the third network is found, it can be reported to the processor 101 in S407. Optionally, the fourth network search response 2 in S407 can carry Plmn3 and the fourth quality parameter 2. The fourth quality parameter 2 can include: the signal quality parameter of the third network (Plmn3) obtained in S403 at the frequency point corresponding to Plmn3.
[0312] The implementation order of S404 and S406 is not specified. S405 is executed after S404, and S407 is executed after S406. The implementation order of S405 and S407 is not specified.
[0313] Not limited to the examples above, in specific implementations, the frequency points corresponding to a network type (RAT) within the second and third profiles can be more, the RATs within the second and third profiles can also be more, and the number of profiles (i.e., m) for network searching can also be more. However, compared to... Figure 9A The web search process shown is in Figure 9C In the network search process shown, the processor 101 and the mobile communication module 102 can achieve this through three transmissions as shown in S401-S403: the processor 101 instructs the mobile communication module 102 to search for m networks based on network parameters within m profiles. After the mobile communication module 102 obtains the signal quality parameters of each network, it can report them to the processor 101. That is, the signal quality parameters of different networks can be reported to the processor 101 asynchronously / time-divisionally. In other words, the processor 101 can passively receive the signal quality parameters of different networks. Therefore, after executing S403, the processor 101 can perform other operations without waiting for the mobile communication module 102 to return the signal quality parameters of the m networks. This not only simplifies the interaction but also improves device efficiency and performance.
[0314] Figures 9A-9C Taking the network parameters in the profile, including Plmn, RAT, and freq, as an example, the specific implementation may include more or fewer parameters. For example, it may include band but not freq, or it may include both freq and band. This application embodiment does not limit this.
[0315] Figure 10 This is a flowchart illustrating another network switching method provided in the embodiments of this application.
[0316] exist Figure 10 In the method shown, electronic device 100 can store multiple profiles, for example in Figure 3 and Figure 4 The electronic device 100 shown stores multiple vSIM profiles in its TEE, or in Figure 5The eSIM module 103 of the illustrated electronic device 100 stores multiple eSIM profiles. Each profile can correspond to a different network, with one profile corresponding to one network. Each profile can be used to reside on its corresponding network. Optionally, one profile can store network parameters for that network, which may include, but are not limited to, one or more of the following: PLMN, RAT, band, or freq. The multiple profiles may include a first profile and a second profile. For an example of multiple profiles representing multiple vSIM profiles, please refer to [link to example description]. Figure 8 S101.
[0317] Figure 10 The method shown may include, but is not limited to, the following steps:
[0318] S501. Electronic device 100 uses the first profile to reside on the first network.
[0319] For an implementation example of S501, please refer to [link / reference]. Figure 8 S102-S103.
[0320] S502. Electronic device 100 acquires signal quality parameters of multiple networks based on multiple profiles.
[0321] In some embodiments, the electronic device 100 can obtain the signal quality parameters of the first network where the first profile resides; for specific implementation examples, please refer to [link to relevant documentation]. Figure 8 S104. The electronic device 100 can also acquire the signal quality parameters of the networks corresponding to other profiles besides the first profile among multiple profiles. Optionally, any profile other than the first profile among the multiple profiles is called the third profile, and the third profile corresponds to the third network. The electronic device 100 can perform network search based on the network parameters within the third profile and obtain the signal quality parameters of the third network. For a specific implementation example, see [link to implementation details]. Figure 8 S105-S108.
[0322] In some embodiments, the signal quality level of one of the multiple networks can be determined based on the signal quality parameters of that network. For example, the signal quality level of the first network can be determined based on the signal quality parameters of the first network. The signal quality level of the first network can be used to determine the signal quality of the first network. Examples of ways to determine the signal quality level based on the signal quality parameters can be found in Table 1 above.
[0323] In some embodiments, the electronic device 100 may first obtain the signal quality parameters (optionally and the QoE of the first network) of the first network where the first profile resides, and then determine whether the signal quality of the first network is lower than a first quality threshold based on the signal quality parameters (optionally and the QoE of the first network). Optionally, when the signal quality level of the first network is lower than or equal to the first quality level, and / or the QoE of the first network is stuttering, the signal quality of the first network is lower than the first quality threshold. For example, when the signal quality level of the first network is higher than the first quality level and the QoE of the first network is stuttering, the signal quality of the first network is lower than the first quality threshold; or, when the signal quality level of the first network is lower than or equal to the first quality level, the signal quality of the first network is lower than the first quality threshold. If the signal quality of the first network is lower than the first quality threshold, the electronic device 100 searches for a network based on the network parameters in the third profile and obtains the signal quality parameters of the third network. For specific implementation examples, please refer to Table 2 above.
[0324] In some embodiments, assuming the electronic device 100 uses a first pSIM to reside on a fourth network, the first pSIM can be any pSIM that the electronic device 100 connects to and resides on. When the electronic device 100 obtains the signal quality parameters of the third network corresponding to a third profile other than the first profile among multiple profiles, it can first determine whether the network parameters in the third profile are the same as the network parameters of the first pSIM. If the network parameters in the third profile are different from the network parameters of the first pSIM, the electronic device 100 can perform a network search based on the network parameters in the third profile and obtain the signal quality parameters of the third network. If the network parameters in the third profile are the same as the network parameters of the first pSIM, the electronic device 100 can directly obtain the signal quality parameters of the fourth network currently residing in the first pSIM and determine the signal quality parameters of the fourth network as the signal quality parameters of the third network, without needing to perform a network search based on the network parameters in the third profile. This can reduce unnecessary processing resources and power consumption.
[0325] In some embodiments, the electronic device 100 includes a processor and a communication module. When the electronic device 100 obtains the signal quality parameters of the network corresponding to other profiles besides the first profile among multiple profiles based on a network search method, it can be implemented according to method 1 or method 2 below.
[0326] Method 1: The processor sends a first instruction to the mobile communication module, instructing it to perform a network search. This instruction carries network parameters from one or more profiles (excluding the first profile). When the mobile communication module obtains the signal quality parameters of a third network based on the network parameters in the third profile, the mobile communication module sends these parameters to the processor. The third profile can be any one of the multiple profiles except the first profile. An example of the implementation process can be found in [link to example]. Figure 9B .
[0327] Method 2: The processor sends a second instruction to the mobile communication module, instructing it to perform a network search. This second instruction carries the PLMN (Plus Point Name) from one or more profiles other than the first profile. The mobile communication module sends a third instruction to the processor, requesting the acquisition of the frequency point corresponding to the PLMN in one or more profiles. The processor sends the frequency point code stream corresponding to the PLMN in one or more profiles to the mobile communication module. When the mobile communication module obtains the signal quality parameters of the third network based on the PLMN and corresponding frequency point code stream in the third profile, the mobile communication module sends the signal quality parameters of the third network to the processor. The third profile can be any profile other than the first profile among the multiple profiles. An example of the implementation process can be found in [link to example]. Figure 9C .
[0328] Not limited to methods 1 and 2 above, in other examples, for each of multiple profiles other than the first profile, the processor can send a network search command to the mobile communication module, carrying the network parameters of that profile in the search command. When the mobile communication module obtains the signal quality parameters of the corresponding network based on the network parameters in that profile, the mobile communication module sends the signal quality parameters of that network to the processor. An example of the implementation process can be found in [link to example]. Figure 9A The specific implementation of the network search in this application embodiment is not limited.
[0329] S503. Electronic device 100 determines a second network from multiple networks based on signal quality parameters of multiple networks, and determines a second profile corresponding to the second network.
[0330] The second network is the target network that the electronic device 100 determines needs to switch to, and the second profile corresponding to the second network is the target profile that the electronic device 100 determines needs to switch to.
[0331] In some embodiments, if the signal quality of a second network is determined to be better than the signal quality of other networks among the multiple networks based on the signal quality parameters of multiple networks, then the electronic device 100 determines the second network to be switched from the multiple networks, that is, the electronic device 100 can determine the second network with the best signal quality as the target network to be switched.
[0332] In some embodiments, if it is determined based on signal quality parameters of multiple networks that the signal quality of a second network is better than the signal quality of other networks among the multiple networks besides the second network, and a first condition is met, then the electronic device 100 determines the second network to be switched from the multiple networks. The first condition includes: the signal quality of the first network is lower than a second quality threshold, and / or, the signal quality of the second network is better than a third quality threshold.
[0333] In some embodiments, any network other than the first and second networks among the multiple networks corresponding to multiple profiles can be referred to as the fifth network. The signal quality level of one of the multiple networks can be determined based on the signal quality parameters of that network. Examples of methods for determining the signal quality level based on signal quality parameters can be found in Table 1 above. When the signal quality of the second network is better than the signal quality of the first network, and when the signal quality of the second network is better than the signal quality of the fifth network, the signal quality of the second network is better than the signal quality of the other networks among the multiple networks except the second network. Wherein, the signal quality of the second network being better than the signal quality of the first network includes: the signal quality level of the second network being better than the signal quality level of the first network; or, the signal quality level of the second network being equal to the signal quality level of the first network, but the signal quality parameters of the second network being better than the signal quality parameters of the first network. The signal quality of the second network being better than the signal quality of the fifth network includes: the signal quality level of the second network being better than the signal quality level of the fifth network; or, the signal quality level of the second network being equal to the signal quality level of the fifth network, but the signal quality parameters of the second network being better than the signal quality parameters of the fifth network.
[0334] An implementation example of how electronic device 100 in S503 determines the second network from multiple networks and decides to switch to the second network can be found in [link to implementation example]. Figure 8 S109, and Table 3 above.
[0335] S504. Electronic device 100 resides on the first network and uses the second profile to reside on the second network.
[0336] In some embodiments, the electronic device 100 may include a first communication module and a second communication module; specific structural examples can be found in [reference needed]. Figures 3-5 The mobile communication module 102 in the middle. Figure 10S501 can be an electronic device 100 residing on a first network using a first profile via a first communication module. Figure 10 S502 may include: electronic device 100 performing network search based on network parameters in a third profile and obtaining signal quality parameters of the third network through a second communication module. Figure 10 S504 can be an electronic device 100 residing on a first network via a first communication module, and residing on a second network using a second profile via the first communication module. An example of this process can be found in [link to relevant documentation]. Figure 8 ,in, Figure 10 S501 corresponding Figure 8 S102-S103, Figure 10 S502 corresponding Figure 8 S104-S108, Figure 10 S503 corresponding Figure 8 S109, Figure 10 S504 corresponding Figure 8 S110-S114. Not limited to this, in some other embodiments, Figure 10 S504 can also be that electronic device 100 camps on the first network through the first communication module, and camps on the second network using the second profile through other communication modules (such as the second communication module). Optionally, the other communication modules can be not camped on the network, and can be not mapped to pSIM or profile. This can further speed up the camping speed of electronic device 100 on the second network and improve the service experience.
[0337] In some embodiments, in S502, the electronic device 100 can search for the network based on the network parameters in the second profile to obtain the first signal quality parameter of the second network. After the electronic device 100 determines the second network in S503, and before switching from the first network to the second network in S504, the electronic device 100 can search for the network again based on the network parameters in the second profile to obtain the signal quality parameter of the second network. The electronic device 100 can determine whether the difference between the first signal quality parameter and the second signal quality parameter is less than or equal to a first difference threshold. If the determination result is yes, then S504 is executed. Optionally, if the determination result is no, S504 may not be executed. See the specific implementation example below. Figure 8 After the electronic device 100 shown in S109 determines the second network to be switched and the corresponding second profile, the first network application in the processor 101 can send an instruction message indicating the search for the second network to the second communication module in the mobile communication module 102.
[0338] In some embodiments, the electronic device 100 may be in a first position when executing S502. After S502, for example after S504, the electronic device 100 may obtain a second position. If the difference between the first position and the second position is greater than or equal to a second difference threshold, the electronic device 100 may re-obtain the signal quality parameters of multiple networks based on multiple profiles; otherwise, it may not re-obtain them. That is, the electronic device 100 may choose whether to trigger a new round of obtaining the signal quality parameters of multiple networks based on the position change. Not limited to this, in other examples, the electronic device 100 may also choose whether to trigger a new round of obtaining the signal quality parameters of multiple networks based on the time change; for example, if the time difference is greater than or equal to a third difference threshold, it may re-trigger. This embodiment of the application does not limit this.
[0339] In some embodiments, after the electronic device 100 in S501 camps on the first network using the first profile, it can display a first identifier of the mobile communication network. The first identifier indicates the operator of the first network, for example, the first identifier is... Figure 7A As shown in signal identifier 711A, after electronic device 100 in S504 deregisters with the first network and registers with the second network using the second profile, it can display the second identifier of the mobile communication network. The second identifier indicates the operator of the second network, for example, the second identifier is... Figure 7B The signal identifier shown is 711A.
[0340] In other embodiments, after electronic device 100 uses the first profile to camp on the first network in S501, it can display the third identifier of the mobile communication network. In S504, after electronic device 100 leaves the first network and uses the second profile to camp on the second network, it can also display the third identifier of the mobile communication network. The third identifier indicates the first virtual operator; for example, the third identifier is... Figure 7C The signal identifier shown is 711A.
[0341] As one possible product form, the electronic device 100 described in this application embodiment can be implemented using a general bus architecture.
[0342] Figure 11 This is a schematic diagram of the structure of the device 1100 provided in the embodiments of this application. The device 1100 may be an electronic device 100, or a device therein.
[0343] like Figure 11As shown, the device 1100 includes a processor 1101, and optionally a transceiver 1102 internally connected and communicating with the processor 1101. The processor 1101 can be a general-purpose processor or a dedicated processor, such as a central processing unit (CPU). The transceiver 1102, also known as a transceiver unit, transceiver, or transceiver circuit, is used to implement transceiver functions. The transceiver 1102 may include a receiver and a transmitter. The receiver, also known as a receiver circuit, is used to implement a receiving function; the transmitter, also known as a transmitter or transmitting circuit, is used to implement a transmitting function.
[0344] In some embodiments, the device 1100 may further include an antenna 1103 and / or a radio frequency unit (RF unit). Figure 11 (Not shown in the image). The antenna 1103 and / or the radio frequency unit may be located inside the device 1100 or separate from the device 1100, that is, the antenna 1103 and / or the radio frequency unit may be deployed remotely or in a distributed manner.
[0345] In some embodiments, the device 1100 may include one or more memories 1104, which may store instructions, which may be computer programs, that can be executed on the device 1100 to cause the device 1100 to perform the method steps described in the foregoing embodiments of this application. Optionally, the memory 1104 may also store data. The device 1100 and the memory 1104 may be provided separately or integrated together.
[0346] Figure 11 The processor 1101, transceiver 1102, and memory 1104 shown can be connected via a communication bus.
[0347] In any of the above designs, the processor 1101 may include a transceiver for implementing receiving and transmitting functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing receiving and transmitting functions may be separate or integrated. The aforementioned transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or it may be used for transmitting or relaying signals.
[0348] In any of the above designs, the processor 1101 may store instructions, which may be computer programs. These computer programs, running on the processor 1101, cause the device 1100 to execute the method steps performed by the electronic device 100 in the above embodiments of this application. The computer program may be embedded in the processor 1101; in this case, the processor 1101 may be implemented in hardware.
[0349] In one implementation, device 1100 may include circuitry that performs the functions of transmitting, receiving, or communicating as described in the foregoing method embodiments. The processor and transceiver described in this application can be implemented on integrated circuits (ICs), analog ICs, radio frequency integrated circuits (RFICs), mixed-signal ICs, application-specific integrated circuits (ASICs), printed circuit boards (PCBs), electronic devices, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductors (CMOS), n-metal-oxide-semiconductor (NMOS), positive-channel metal oxide semiconductors (PMOS), bipolar junction transistors (BJTs), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
[0350] The scope of the device 1100 described in the embodiments of this application is not limited thereto, and the structure of the device may vary. Figure 11 The limitations. Device 1100 can be a standalone device or part of a larger device. For example, the aforementioned device 1100 can be:
[0351] (1) A standalone integrated circuit IC, or chip, or chip system or subsystem; (2) A collection of one or more ICs, optionally including storage components for storing data or computer programs; (3) An ASIC, such as an NFC chip; (4) A module that can be embedded in other devices; (5) A receiver, terminal, smart terminal, cellular phone, wireless device, handheld device, mobile unit, vehicle device, network device, cloud device, artificial intelligence device, etc.; (6) Others, etc.
[0352] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can implement the steps performed by the electronic device 100 in the above-described method embodiments.
[0353] This application also provides a computer program product, including a computing program, which, when run on a computer, enables the computer to perform the steps executed by the electronic device 100 in the above-described method embodiments.
[0354] This application also provides a chip system, which includes a processing circuit interface circuit. The interface circuit receives code instructions and transmits them to the processing circuit. The processing circuit executes the code instructions to enable the chip system to perform the steps executed by the electronic device 100 in any method embodiment of this application. The chip system can be a single chip or a chip module composed of multiple chips.
[0355] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A network switching method, applied to electronic devices, characterized in that, The electronic device stores multiple configuration profiles, including a first profile and a second profile, wherein one of the multiple profiles corresponds to a network, and the method includes: Use the first profile to reside in the first network; Based on the multiple profiles, obtain the signal quality parameters of multiple networks; Based on the signal quality parameters of the multiple networks, a second network is determined from the multiple networks, and a second profile corresponding to the second network is determined; Go to reside on the first network, and use the second profile to reside on the second network.
2. The method as described in claim 1, characterized in that, The process of obtaining signal quality parameters for multiple networks based on the multiple profiles includes: Obtain the signal quality parameters of the first network where the first profile resides; The network is searched based on the network parameters in the third profile to obtain the signal quality parameters of the third network. The third profile is any one of the multiple profiles other than the first profile.
3. The method as described in claim 2, characterized in that, The electronic device includes a first communication module and a second communication module; The step of using the first profile to reside in the first network includes: The first profile is used to reside on the first network via the first communication module; The process of searching the network based on the network parameters within the third profile and obtaining the signal quality parameters of the third network includes: The second communication module performs a network search based on the network parameters in the third profile and obtains the signal quality parameters of the third network. The step of de-hosting the first network and using the second profile to host the second network includes: The first communication module is used to reside on the first network, and the second profile is used to reside on the second network through the first communication module or the second communication module.
4. The method as described in claim 2 or 3, characterized in that, The network parameters in the third profile include one or more of the following: Public Land Mobile Network (PLMN), Radio Access Technology (RAT), band, or frequency.
5. The method according to any one of claims 2-4, characterized in that, The process of searching the network based on the network parameters within the third profile and obtaining the signal quality parameters of the third network includes: If the signal quality of the first network is lower than the first quality threshold, then a network search is performed based on the network parameters in the third profile to obtain the signal quality parameters of the third network, wherein the signal quality of the first network is determined based on the signal quality parameters of the first network.
6. The method as described in claim 5, characterized in that, The signal quality of the first network is lower than a first quality threshold, including: The signal quality level of the first network is lower than or equal to the first quality level, and / or the quality of experience (QoE) of the first network is stuttering; wherein, the signal quality level of the first network is determined based on the signal quality parameters of the first network, which include one or more of the following: Received Signal Strength Indication (RSSI), Reference Received Power (RSRP), Reference Received Quality (RSRQ), or Signal-to-Noise Ratio (SNR).
7. The method according to any one of claims 2-6, characterized in that, The process of searching the network based on the network parameters within the third profile and obtaining the signal quality parameters of the third network includes: When the electronic device uses the first physical user identity module (pSIM) to reside in the fourth network, it determines whether the network parameters in the third profile are the same as the network parameters of the first pSIM. If the network parameters in the third profile are different from the network parameters of the first pSIM, then network search is performed based on the network parameters in the third profile to obtain the signal quality parameters of the third network; The method further includes: If the network parameters in the first profile are the same as the network parameters of the first pSIM, then the signal quality parameters of the fourth network are obtained, and the signal quality parameters of the fourth network are determined as the signal quality parameters of the third network.
8. The method according to any one of claims 1-7, characterized in that, The electronic device includes a processor and a mobile communication module. The step of acquiring signal quality parameters of multiple networks based on the multiple profiles includes: The processor acquires the signal quality parameters of the first network where the first profile resides; The processor sends a first instruction to the mobile communication module, the first instruction instructing to perform a network search, the first instruction carrying network parameters from one or more profiles other than the first profile among the plurality of profiles; When the mobile communication module obtains the signal quality parameters of the third network based on the network parameters in the third profile, the mobile communication module sends the signal quality parameters of the third network to the processor. The third profile is any one of the multiple profiles other than the first profile.
9. The method according to any one of claims 1-7, characterized in that, The electronic device includes a processor and a mobile communication module. The step of acquiring signal quality parameters of multiple networks based on the multiple profiles includes: The processor acquires the signal quality parameters of the first network where the first profile resides; The processor sends a second instruction to the mobile communication module, the second instruction instructing to perform a network search, the second instruction carrying the PLMN in one or more profiles other than the first profile among the plurality of profiles; The mobile communication module sends a third instruction to the processor, the third instruction being used to request the frequency point corresponding to the PLMN in one or more profiles; The processor sends the frequency point code stream corresponding to the PLMN in one or more profiles to the mobile communication module; When the mobile communication module obtains the signal quality parameters of the third network based on the PLMN and the corresponding frequency point code stream in the third profile, the mobile communication module sends the signal quality parameters of the third network to the processor. The third profile is any one of the multiple profiles other than the first profile.
10. The method according to any one of claims 1-9, characterized in that, The determination of the second network from the multiple networks based on the signal quality parameters of the multiple networks includes: If, based on the signal quality parameters of the plurality of networks, it is determined that the signal quality of the second network is superior to that of the other networks among the plurality of networks, then the second network is determined from the plurality of networks.
11. The method as described in claim 10, characterized in that, Any one of the multiple networks other than the first network and the second network is the fifth network. The signal quality parameters of one of the multiple networks are used to determine the signal quality level. The signal quality parameters include one or more of the following: Received Signal Strength Indication (RSSI), Reference Received Power (RSRP), Reference Received Quality (RSRQ), or Signal-to-Noise Ratio (SNR). The signal quality of the second network is superior to that of the other networks among the plurality of networks, excluding the second network, including: The signal quality of the second network is better than that of the first network, and the signal quality of the second network is better than that of the fifth network; wherein, The signal quality of the second network is better than that of the first network, including: the signal quality level of the second network is better than that of the first network; or, the signal quality level of the second network is equal to that of the first network, and the signal quality parameters of the second network are better than those of the first network. The signal quality of the second network is better than that of the fifth network, including: the signal quality level of the second network is better than that of the fifth network; or, the signal quality level of the second network is equal to that of the fifth network, and the signal quality parameters of the second network are better than those of the fifth network.
12. The method as described in claim 10 or 11, characterized in that, If, based on the signal quality parameters of the plurality of networks, it is determined that the signal quality of the second network is superior to the signal quality of the other networks among the plurality of networks, then determining the second network from the plurality of networks includes: If, based on the signal quality parameters of the plurality of networks, it is determined that the signal quality of the second network is better than that of the other networks among the plurality of networks besides the second network, and a first condition is met, then the second network is determined from the plurality of networks; wherein, the first condition includes: the signal quality of the first network is lower than a second quality threshold, and / or, the signal quality of the second network is better than a third quality threshold.
13. The method according to any one of claims 1-12, characterized in that, The method further includes: Receive the user's first input when purchasing a service package; In response to the first input, the multiple profiles are downloaded to the cloud server.
14. The method according to any one of claims 1-13, characterized in that, The process of obtaining signal quality parameters for multiple networks based on the multiple profiles includes: Based on the network parameters in the second profile, a network search is performed to obtain the first signal quality parameters of the second network; The method further includes: After determining the second network from the multiple networks based on the signal quality parameters of the multiple networks, and determining the second profile corresponding to the second network, a network search is performed based on the network parameters in the second profile to obtain the second signal quality parameters of the second network; The step of de-hosting the first network and using the second profile to host the second network includes: If the difference between the first signal quality parameter and the second signal quality parameter is less than or equal to the first difference threshold, then the system will reside in the first network and use the second profile to reside in the second network.
15. The method according to any one of claims 1-14, characterized in that, When acquiring signal quality parameters of multiple networks based on the multiple profiles, the electronic device is in a first position; the method further includes: After obtaining the signal quality parameters of multiple networks based on the multiple profiles, the second location of the electronic device is obtained; If the difference between the first position and the second position is greater than or equal to the second difference threshold, then the signal quality parameters of the multiple networks are re-obtained based on the multiple profiles.
16. The method according to any one of claims 1-15, characterized in that, The method further includes: After using the first profile to camp on the first network, a first identifier of the mobile communication network is displayed, indicating the operator of the first network; after de-camping on the first network and using the second profile to camp on the second network, a second identifier of the mobile communication network is displayed, indicating the operator of the second network; or, After using the first profile to camp on the first network, a third identifier of the mobile communication network is displayed, the third identifier indicating the first virtual operator; after de-camping on the first network and using the second profile to camp on the second network, the third identifier of the mobile communication network is displayed.
17. An electronic device, characterized in that, It includes a transceiver, a processor, and a memory, the memory being used to store a computer program, and the processor calling the computer program to perform the steps of the method as described in any one of claims 1-16.
18. A computer storage medium, characterized in that, The computer storage medium stores a computer program, which, when executed by a processor, implements the method as described in claims 1-16.
19. A computer program product, characterized in that, When the computer program product is run on a processor, it is used to implement the method as described in claims 1-16.
20. A chip system, characterized in that, It includes a processing circuit and an interface circuit, wherein the interface circuit is used to receive code instructions and transmit them to the processing circuit, and the processing circuit is used to execute the code instructions to perform the method as described in claims 1-16.