Network switching method and related apparatus
By storing and switching operator profiles through the eSIM module, the high cost caused by multiple SIM card interfaces and cards in existing technologies is solved, enabling fast and seamless network switching and improving the user experience.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2026-01-14
- Publication Date
- 2026-07-23
AI Technical Summary
In existing technologies, the coverage of a single operator's network has blind spots, requiring the configuration of multiple SIM card interfaces and cards to achieve dynamic switching of operator networks, resulting in high costs.
The embedded eSIM module stores multiple operator profiles and dynamically switches between them to achieve network switching. It supports multiple activation configuration settings for the MEP function, activating and deactivating profiles to optimize the network switching process.
It reduces the cost of network switching, improves user experience, speeds up network switching, and makes the switching process imperceptible to the user.
Smart Images

Figure CN2026072440_23072026_PF_FP_ABST
Abstract
Description
Network switching methods and related devices
[0001] This application claims priority to Chinese Patent Application No. 202510075762.6, filed on January 16, 2025, entitled “Network Switching Method and Related Apparatus”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of communication technology, and in particular to a network switching method and related apparatus. Background Technology
[0003] Currently, there are blind spots in the coverage of a single operator's network. In order to ensure the user's service experience, mobile phones and other electronic devices can be configured with multiple subscriber identity module (SIM) cards from different operators and dynamically switch the SIM cards used to achieve the service. However, this requires the electronic device to be configured with multiple SIM card interfaces and multiple SIM cards, which is costly. Summary of the Invention
[0004] This application discloses a network switching method and related apparatus, which can store multiple profiles of different operators through an embedded user identification eSIM module and dynamically switch between using different profiles, thereby dynamically switching the operator network used to implement Internet access services. This can reduce costs while ensuring the user's Internet access experience.
[0005] In a first aspect, this application provides a network switching method applied to an electronic device. The method includes: activating a first profile of a first operator and accessing the first operator's network based on the first profile; activating a second profile of a second operator while the first profile is active, the second profile being used to access the second operator's network; using the activated second profile to perform services (e.g., one or more of data communication services, voice services, and SMS services) with the second operator's network, and deactivating the first profile.
[0006] In some examples, after accessing the first operator's network based on the first profile, the electronic device uses the first profile and the first operator's network to implement the electronic device's services.
[0007] In some examples, when an electronic device determines that the conditions for switching carrier networks are met, it activates a second profile to enable switching from the first carrier network to the second carrier network.
[0008] In some examples, the electronic device supports the ability to activate multiple profiles simultaneously, such as the Multi-Activity Configuration (MEP) feature, so the electronic device can activate a second profile while the first profile is active.
[0009] In some examples, after an electronic device activates a second profile, it accesses a second operator's network based on that second profile.
[0010] In some examples, after the first profile is deactivated, the electronic device disconnects from the first carrier's network.
[0011] In some examples, the electronic device activates the first profile after activating the second profile. This deactivation can occur before, after, or simultaneously with the electronic device accessing the second operator's network using the second profile. Alternatively, the deactivation can occur before, after, or simultaneously with the electronic device using the activated second profile and the second operator's network for its services. This means that if the electronic device needs to perform any services before switching to the second profile, it can use the activated first profile and the first operator's network to minimize the impact on its services during network switching and further improve the user experience.
[0012] In the above method, when an electronic device switches between operator networks, the second profile can be activated while the first profile is active. Subsequently, the active second profile can be used directly to provide services to the electronic device. The electronic device activates the first profile only after activating the second profile, instead of activating the first profile first and then the second profile (which takes at least 5 seconds). Therefore, the network switching process saves the time of activating the old profile first and then the new profile, greatly improving the switching speed of operator networks used to provide Internet access services. This makes the network switching process more seamless for users and improves their Internet experience.
[0013] In one possible implementation, the electronic device includes an eSIM module, a first communication module, and a second communication module. The eSIM module stores a first profile and a second profile. When the electronic device activates the first profile of a first operator and accesses the first operator's network based on the first profile, it can activate the first profile in the eSIM module through the first communication module and access the first operator's network based on the first profile through the first communication module. When the electronic device activates the second profile of a second operator, it can activate the second profile in the eSIM module through either the first or the second communication module. When the electronic device uses the activated second profile to perform services with the second operator's network, it can switch to using the second profile to perform services with the second operator's network through the first communication module.
[0014] In some examples, the first communication module is the main communication module of the electronic device. The first communication module is used to implement the main services of the electronic device, such as data communication services, voice services and SMS services.
[0015] In the above method, when an electronic device switches the operator network connected to the first communication module, it can activate the second profile while the first profile used by the first communication module is active. Subsequently, the first communication module can directly switch to use the active second profile to provide services to the electronic device. Instead of the first communication module activating the first profile first and then the second profile (which would take at least 5 seconds), the first communication module uses the active second profile to provide services. Therefore, the network switching process eliminates the time spent activating the old profile first and then the new profile, greatly improving the switching speed of the operator network used for internet access services. This makes the network switching process more seamless for users, improving their internet experience. Furthermore, since electronic devices generally include at least two communication modules, they can achieve a fast network switching process using the existing first or second communication module without adding any new modules, resulting in lower costs.
[0016] In one possible implementation, when an electronic device activates a first profile in an eSIM module through a first communication module and accesses a first operator's network based on the first profile through the first communication module, it can activate the first profile through the first communication module and map the first communication module to the first profile. Then, it accesses the first operator's network based on the mapped first profile through the first communication module. Subsequently, when the electronic device switches to using a second profile to perform services with the second operator's network through the first communication module, it can switch the mapping of the first communication module from the first profile to the second profile and access the second operator's network based on the mapped second profile through the first communication module. Then, it uses the second profile to perform services with the second operator's network through the first communication module.
[0017] In the above method, when the first communication module is mapped to the first profile in the active state, the electronic device can activate the second profile. Then the first communication module can directly switch to the second profile in the active state to achieve network registration and conduct services, instead of the first communication module first unmapping to the first profile and deactivating the first profile, and then mapping to the second profile and activating the second profile, which effectively improves the network switching speed.
[0018] In one possible implementation, when an electronic device activates a first profile in an eSIM module via a first communication module and accesses a first operator's network based on that first profile, it can activate the first profile through the first communication module, map the first communication module to the first profile, and then access the first operator's network based on the mapped first profile. Subsequently, the electronic device can activate a second profile through a second communication module, map the second communication module to the second profile, and then access the second operator's network based on the second profile. Later, when the electronic device switches to use the second profile and the second operator's network for its services via the first communication module, it switches the mapping of the first communication module from the first profile to the second profile, and then directly uses the mapped second profile and the already accessed second operator's network to perform its services.
[0019] In some examples, after an electronic device switches its mapping from the first communication module to the second profile, it can directly use the mapped second profile to access the second operator's network via the first communication module for its services. Specifically, the first communication module directly connects to the second operator's network when it switches to the second profile. This eliminates the need for the electronic device to access the second operator's network through the second profile via the first communication module, saving time spent accessing the second operator's network during the network switching process. This makes the network switching process more seamless for the user and improves the user experience. Optionally, the electronic device can switch its mapping from the first communication module to the second profile and then reactivate the first profile. That is, it switches to connect to the second operator's network while maintaining access to the first operator's network (disconnecting from the first operator's network at this time), rather than disconnecting from the first operator's network first and then connecting to the second operator's network. This avoids network interruptions during the network switching process, making the network switching process even more seamless for the user and improving the user experience.
[0020] In other examples, after the electronic device switches the mapping of the first communication module from the first profile to the second profile, it can first reconnect to the second operator network through the first communication module based on the mapped second profile, and then use the second profile through the first communication module to conduct services with the second operator network.
[0021] In one possible implementation, before mapping the second communication module to the second profile, the electronic device can first determine whether the second communication module is in an idle state; if the second communication module is in an idle state, it can be directly mapped to the second profile. This can effectively utilize the idle second communication module to achieve a fast network switching process.
[0022] In one possible implementation, before mapping the second communication module to the second profile, the electronic device can first determine whether the second communication module is in an idle state. If the second communication module is not idle but is already mapped to the first Subscriber Identity Module (SIM) (the first SIM is a physical SIM or a profile), then the mapping of the second communication module to the second profile is switched. In this case, after the electronic device subsequently switches the mapping of the first communication module to the second profile, the second communication module can be restored to the first SIM. Therefore, when the electronic device uses the non-idle second communication module to perform network switching, the original mapping relationship can be canceled and mapped to the second profile. After the first communication module is subsequently switched to the second profile, the original mapping relationship of the second communication module can be restored. This achieves a fast network switching process by temporarily sacrificing the services of the first SIM mapped to the second communication module, without the need for adding a new communication module, greatly reducing equipment costs and increasing feasibility.
[0023] In one possible implementation, when the second communication module is already mapped to the first SIM, and the electronic device switches the mapping of the second communication module from the first SIM to the second profile, it can determine whether the first SIM is currently engaged in a service (e.g., a call). If the first SIM is not engaged in a service, the electronic device switches the mapping of the second communication module from the first SIM to the second profile. If the first SIM is engaged in a service, the electronic device does not use the second communication module to perform the network switching process. This avoids affecting the user's experience of making a call using the first SIM, thus ensuring a smooth user experience.
[0024] In one possible implementation, the method further includes: receiving a first input from a user to enable the Smart Internet access function before the electronic device switches the mapping of the second communication module from the first SIM to the second profile; and enabling the Smart Internet access function in response to the first input. The Smart Internet access function may include, for example, intelligent switching of operator networks, improved eSIM service experience, and potential temporary impact on SIM card services. If the Smart Internet access function is enabled when the electronic device switches the mapping of the second communication module from the first SIM to the second profile while the second communication module is already mapped to the first SIM, the electronic device can switch the mapping of the second communication module from the first SIM to the second profile regardless of whether the first SIM is currently performing a service (e.g., a call). After the electronic device subsequently switches the mapping of the first communication module from the first profile to the second profile, the second communication module can be remapped to the first SIM, and the services performed by the first SIM can return to normal.
[0025] In the above method, when the user has enabled the Smart Internet access function, even if the first SIM mapped by the second communication module is currently on a call, the electronic device can briefly use the second communication module to switch networks. Once the network switch is complete, the original mapping relationship of the second communication module is restored, thereby resuming the call service on the first SIM. In other words, with the user's permission, the service experience of the call service on the first SIM can be temporarily affected to complete a rapid network switch. Different users, or the same user in different scenarios, can choose to prioritize the network switch experience or the service experience of the first SIM mapped by the second communication module by enabling or disabling the Smart Internet access function, thus meeting the user's personalized needs.
[0026] In one possible implementation, when the electronic device receives a first notification message from a communication map server, it determines that the conditions for switching operator networks are met, and therefore activates the second profile. The communication map server maintains a first communication map, which includes information about a first operator network and information about a second operator network (e.g., coverage and signal quality). The first notification message is determined based on the first communication map and instructs the electronic device to access the second operator network. Alternatively, when the electronic device detects that the signal quality parameter of the first operator network is less than a preset threshold, it determines that the conditions for switching operator networks are met, and therefore activates the second profile.
[0027] In some examples, when the electronic device and the communication map server can communicate, the device receives a first notification message sent by the communication map server. When the electronic device cannot communicate with the communication map server, it automatically checks whether the signal quality parameter of the first operator's network is less than the quality threshold.
[0028] In the above methods, there are multiple ways to determine whether the conditions for switching operator networks are met. For example, it can be determined by a notification message sent by the communication map server, which is based on the first communication map and is more reliable. Another example is self-detection, which can be performed even if communication with the communication map server is not possible, and has a wide range of applications.
[0029] In one possible implementation, the electronic device further includes a third communication module. The method further includes: when the second communication module is idle and the third communication module is not idle, the electronic device determines the second communication module from the second and third communication modules to activate and map the second profile. This allows for the priority selection of the idle communication module to facilitate a rapid network switching process, avoiding impact on the service experience of the non-idle communication module and further improving the user experience.
[0030] In one possible implementation, the electronic device further includes a third communication module. The method further includes: when the first SIM mapped by the second communication module is not in a state of active service (e.g., a call), and the second SIM mapped by the third communication module is in a state of active service (e.g., a call), the electronic device determines from the second and third communication modules the second communication module used to activate and map the second profile. This allows for the priority selection of communication modules that are not currently engaged in active service to facilitate a rapid network switching process, avoiding disruption to the service experience of ongoing services and further improving the user experience.
[0031] In one possible implementation, the electronic device further includes a third communication module. The method further includes: when the first SIM mapped by the second communication module is in the state of performing a first service, and the second SIM mapped by the third communication module is in the state of performing a second service, the electronic device determines from the second and third communication modules a second communication module for activating and mapping the second profile, wherein the priority of the first service is lower than the priority of the second service. This allows for the priority selection of the communication module performing a lower-priority service to facilitate a rapid network switching process, avoiding impact on the service experience of the higher-priority service and further improving the user experience.
[0032] In one possible implementation, the above method further includes: before activating the first profile and accessing the first operator's network based on the first profile, the electronic device downloads the first profile and the second profile from the cloud server, and then stores the first profile and the second profile.
[0033] In some examples, before activating the first profile and accessing the first operator's network based on the first profile, the electronic device receives a second input from the user to purchase a first service card package; in response to the second input, it downloads multiple profiles corresponding to the first service card package from the cloud server, these multiple profiles including the first profile and the second profile; and then stores these multiple profiles in the eSIM module.
[0034] In the above method, electronic devices can download and store multiple profiles from different operators in advance. This way, when switching networks, the electronic devices do not need to download the target profile (such as the second profile) in real time, saving the time of downloading the target profile during the network switching process, further improving the speed of network switching, making the network switching process more seamless for users, and improving the user's Internet experience.
[0035] Secondly, 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 enable the electronic device to execute the network switching method provided in the first aspect and any implementation thereof.
[0036] Thirdly, this application provides an electronic device including a first communication module, a second communication module, and an eSIM module. The first communication module is used to perform the steps executed by the first communication module in the network handover method provided in the first aspect and any implementation of the first aspect. The second communication module is used to perform the steps executed by the second communication module in the network handover method provided in the first aspect and any implementation of the first aspect. The eSIM module is used to perform the steps executed by the eSIM module in the network handover method provided in the first aspect and any implementation of the first aspect.
[0037] Fourthly, 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.
[0038] Fifthly, 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.
[0039] In a sixth aspect, 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.
[0040] In a seventh aspect, this application provides an electronic device that includes the methods or apparatus described in any aspect or embodiment of this application. The electronic device is, for example, a chip.
[0041] 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
[0042] The following describes the accompanying drawings used in this application.
[0043] Figure 1 is a schematic diagram of the hardware structure of an electronic device provided in this application;
[0044] Figure 2 is a schematic diagram of the architecture of a communication system provided in this application;
[0045] Figure 3 is a schematic diagram of the architecture of another communication system provided in this application;
[0046] Figure 4 is a schematic diagram of the architecture of another communication system provided in this application;
[0047] Figure 5 is a schematic diagram of the architecture of another communication system provided in this application;
[0048] Figures 6A-6D illustrate a network handover process in one application scenario provided by this application.
[0049] Figures 7A-7D illustrate a network handover process in yet another application scenario provided in this application.
[0050] Figures 8A-8D illustrate a network handover process in yet another application scenario provided in this application.
[0051] Figures 9A-9D illustrate a network handover process in yet another application scenario provided in this application.
[0052] Figures 10A-10D illustrate a network handover process in yet another application scenario provided in this application.
[0053] Figures 11A-11D are schematic diagrams of a user interface for a user to purchase and activate a first service card package according to this application;
[0054] Figure 12 is a schematic diagram of a settings interface provided in this application;
[0055] Figure 13 is a flowchart illustrating the profile download process provided in this application;
[0056] Figure 14 is a flowchart illustrating a network switching method provided in this application;
[0057] Figure 15 is a flowchart illustrating another network switching method provided in this application;
[0058] Figure 16 is a schematic diagram of the structure of a device provided in this application. Detailed Implementation
[0059] 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.
[0060] 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.
[0061] 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.
[0062] The hardware structure of the electronic device provided in the embodiments of this application is described below by way of example.
[0063] Figure 1 is a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of this application.
[0064] As shown in Figure 1, 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.
[0065] 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. The 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.
[0066] 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.
[0067] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0068] 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.
[0069] 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.
[0070] 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.
[0071] 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.
[0072] 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.
[0073] 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.
[0074] 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.
[0075] 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.
[0076] 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.
[0077] 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.
[0078] 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.
[0079] 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).
[0080] 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.
[0081] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0082] 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.
[0083] 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.
[0084] A digital signal processor is used to process digital signals.
[0085] Video codecs are used to compress or decompress digital video.
[0086] NPU stands for Neural Network (NN) Computation Processor.
[0087] Electronic device 100 can implement audio functions such as music playback and recording through audio module 170, speaker 170A, microphone 170B, and processor 110.
[0088] 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.
[0089] 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.
[0090] 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.
[0091] Buttons 190 include a power button, volume buttons, etc. Motor 191 can generate vibration feedback.
[0092] Indicator 192 can be an indicator light, used to indicate charging status, power changes, or to indicate messages, missed calls, notifications, etc.
[0093] 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 make contact with and detach from 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 (2FF SIMs), third form factor SIMs (3FF SIMs), and fourth form factor SIMs (4FF SIMs). 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.
[0094] 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.
[0095] 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.
[0096] The eSIM module 195B can store one or more profiles. A profile can include card information for one or more non-physical SIM cards (referred to as eSIMs). For ease of explanation, this embodiment uses the example of a profile including the card information of one eSIM. A profile can include the card information of an eSIM from one operator. Any two profiles in the eSIM module 195B can correspond to the same operator or different operators; this is not a limitation. In other examples, a profile can also include the card information of eSIMs from multiple operators. The profile can be used by the electronic device 100 to access the mobile communication network, thereby enabling functions such as voice calls and data communication.
[0097] For example, electronic device 100 can activate at least one profile in eSIM module 195B. 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 the profile (i.e., completes network registration). Therefore, electronic device 100 can interact with the accessed operator network through the profile to realize one or more of the following services: voice call service, SMS service, and data communication service.
[0098] 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).
[0099] The card information may include, but is not limited to, at least one of the following types: International Mobile Subscriber Identity (IMSI) (e.g., for authentication), Key Identifier (Ki) (e.g., for authentication), Authentication Key OPC (OPC is a key calculated based on Ki and the operator variant algorithm configuration field (OP)) (e.g., for authentication), 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), GPRS Location Information (LOCIGPRS), User Controlled PLMN Selector with Access Technology (PLMNWACT), Access Control Level (LCL). The table lists the following PLMN parameters: 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), and initialization values for hyperframe number.STARTHFN), maximum value of start (THRESHOLD), short message service parameters (SMSP), and short message status (SMSS).
[0100] 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, the electronic device 100 shown in FIG1 may not include the SIM card interface 195A, may combine two or more components, or may have different component configurations. The various components shown in the figures 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.
[0101] 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. For example, electronic device 100 connects to a pSIM from operator A via a SIM card interface. Electronic device 100 can access operator A's network through this pSIM and use it to perform one or more services (such as voice calls, SMS, and data communication). When the user is in an area with good coverage from operator A, the user's service experience is good. However, if the user moves to an area with poor coverage from operator A (e.g., a coverage edge area), the user's service experience is poor. If the user is in an area not covered by operator A, the user cannot use the services provided by electronic device 100. As another example, before traveling, a user can purchase services for their destination. Electronic device 100 can obtain a virtual SIM (vSIM) from operator B for that destination. After arriving at the destination, electronic device 100 can use this vSIM to access operator B's network and perform its services. However, when the user is located in an area with poor or no coverage from operator B, the user's experience with electronic device 100 is poor or the user is unable to use electronic device 100's services.
[0102] To ensure a good user experience, electronic device 100 can support multiple SIM cards and multiple standby modes. This means electronic device 100 can be configured with multiple SIM card interfaces and connect to multiple pSIMs from different operators through these interfaces. Electronic device 100 can dynamically switch between the SIM cards used, thereby dynamically switching the operator network used to implement services. For example, electronic device 100 can connect to a pSIM from operator A and a pSIM from operator B through two SIM card interfaces respectively. Electronic device 100 can first use operator A's pSIM to access operator A's network and use that pSIM to implement services. If electronic device 100 detects a deterioration in the network signal quality, it can then use operator B's pSIM to access operator B's network and use that pSIM to implement services. In this way, the operator network used for data communication services switches from operator A's network to operator B's network. However, this requires electronic device 100 to configure and use multiple SIM card interfaces and multiple pSIMs, resulting in higher costs.
[0103] This application provides a network switching method applicable to an electronic device 100 including an eSIM module. In different scenarios, the electronic device 100 can use different operator profiles in the eSIM module and corresponding operator networks to implement its services, thereby dynamically switching the operator network used to implement the services of the electronic device 100. This can be understood as implementing the network switching process through a profile switching process. The services of the electronic device 100 include, but are not limited to, one or more of the following: voice calls, SMS messages, and data communication services. For example, the electronic device 100 activates a first profile of a first operator, accesses the network of the first operator (also referred to as the first operator network) based on the first profile, and uses the first profile and the first operator network to implement its services. If the conditions for switching operator networks are met, the electronic device 100 activates a second profile of a second operator, accesses the network of the second operator (also referred to as the second operator network) based on the second profile, and switches to using the second profile and the second operator network to implement its services. In this way, the profile used to implement the services of the electronic device 100 is switched from the first profile to the second profile, thereby switching the operator network used to implement the services of the electronic device 100 from the first operator network to the second operator network. This effectively improves the user's business experience, and also greatly reduces costs by eliminating the need to configure and use multiple SIM card interfaces and multiple pSIMs.
[0104] In some embodiments of this application, the electronic device 100 may include a first communication module and a second communication module. The electronic device can activate a first profile through the first communication module and use the first profile to implement its services. If the conditions for switching operator networks are met, the electronic device 100 can activate a second profile through the second communication module while keeping the first profile active. At this time, both the first and second profiles can be active simultaneously. Then, the electronic device 100 can switch to using the active second profile through the first communication module to implement its services and deactivate the first profile. The electronic device 100 (e.g., the communication module and eSIM module) can support multiple enabled profiles (MEP) functionality, which allows simultaneous activation of multiple profiles. This allows the electronic device 100 to activate the second profile in advance while keeping the first profile active, and then switch to using the second profile to implement its services and deactivate the first profile, instead of deactivating the first profile first and then activating the second profile (which takes at least 5 seconds). This effectively improves the speed of the network switching process, making the network switching process more seamless for the user and enhancing the user's service experience. Furthermore, the network switching process can be achieved using the existing communication module in the electronic device 100 without the need for additional modules, thus avoiding additional costs and increasing feasibility.
[0105] In some embodiments of this application, the electronic device 100 may include a first communication module and a second communication module. The electronic device 100 can access the network of a first operator through the first communication module based on a first profile, optionally using the first profile and the first operator's network to perform its services. If the conditions for switching operator networks are met, the electronic device 100 can access the network of a second operator through the second communication module based on a second profile. Then, the electronic device 100 can switch between using the second profile and the second operator's network through the first communication module to perform its services. In this way, the electronic device 100 can access the network of a second operator while still connected to the first operator's network, and then use the second communication module to access the second operator's network based on a second profile. Subsequently, the electronic device 100 can directly switch to using the second profile through the first communication module to perform internet access services, instead of first disconnecting from the first operator's network and then accessing the second operator's network based on the second profile before switching to the second profile to perform internet access services. Therefore, network outages during network switching can be avoided, preventing situations where services cannot be performed normally or services are interrupted during network switching, making the network switching process more seamless for users and improving the user's service experience.
[0106] The following describes, by way of example, the communication system provided in the embodiments of this application.
[0107] Figure 2 is a schematic diagram of the architecture of a communication system 10 provided in an embodiment of this application.
[0108] As shown in Figure 2, 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 corresponds to the first operator, and network device 400 corresponds to the second operator.
[0109] As shown in Figure 2, the electronic device 100 can be a device with wireless communication capabilities. For example, the 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.
[0110] As shown in Figure 2, the cloud server 200 can be used to provide profile download services for the electronic device 100.
[0111] 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+).
[0112] 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.
[0113] As shown in Figure 2, 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 the network of a first operator. 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 (g node 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.
[0114] As shown in Figure 2, 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 the network of a second operator. The description of network device 400 is similar to that of network device 300, and will not be repeated here.
[0115] In some embodiments of this application, the electronic device 100 can download multiple profiles from different operators from the cloud server 200 and store these multiple profiles in the eSIM module of the electronic device 100, wherein the multiple profiles include a first profile of a first operator and a second profile of a second operator.
[0116] In some embodiments of this application, when electronic device 100 is located in the area where network device 300 is located (within the coverage area of the first operator), electronic device 100 can activate the first operator's first profile and access the first operator's network through network device 300 based on the first profile. Electronic device 100 can use the first profile and the first operator's network to implement its services. If the conditions for switching operator networks are met, for example, if electronic device 100 is about to move from the area where network device 300 is located to the area where network device 400 is located (within the coverage area of the second operator), then electronic device 100 can activate the second operator's second profile while keeping the first profile active. At this time, the first profile and the second profile can be active simultaneously. Then, electronic device 100 can access the second operator's network through network device 400 based on the second profile and switch to using the second profile and the second operator's network to implement its services. Furthermore, electronic device 100 can also deactivate the first profile and disconnect from the first operator's network.
[0117] Figures 3-5 are schematic diagrams of the architecture of another communication system 10 provided in the embodiments of this application.
[0118] As shown in Figures 3-5, the communication system 10 may include an electronic device 100, a device cloud server 210, and an operator server 220. The cloud server 200 shown in Figure 2 may include the device cloud server 210 and the operator server 220 shown in Figures 3-5. The operator server 220 may include servers from multiple operators. The electronic device 100 may include a processor 101, a mobile communication module 102, an eSIM module 103, and a plug-in SIM module 104.
[0119] As shown in Figures 3-5, the architecture of the processor 101 of the electronic device 100 may include an application layer and a framework layer. The application layer of the processor 101 may include one or more applications, such as the first network application shown in Figures 3-5. In some embodiments, the first network application in the application layer can be used to provide services such as purchasing, activating, deactivating, and deleting service card packages. Specifically, after a user purchases a service card package, the electronic device 100 can download and store the profile corresponding to that service card package; after a user activates a service card package, the electronic device 100 can activate the profile corresponding to that service card package and use that profile for network registration; after a user deactivates a service card package, the electronic device 100 can deactivate the profile corresponding to that service card package; and after a user deletes a service card package, the electronic device 100 can delete the profile corresponding to that service card package. The applications in this embodiment can also be replaced with other forms of software such as mini-programs or atomic services.
[0120] The framework layer of processor 101 can be used to provide application programming interfaces (APIs) and programming frameworks for applications in the application layer. The framework layer may include predefined functions, such as the local profile assistant (LPA) service shown in Figures 3-5. In some embodiments, the LPA service in the framework layer 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 user operation events related to profiles from the application layer and send profile control commands to the eSIM module 103 based on the obtained operation events.
[0121] As shown in Figures 3-5, the mobile communication module 102 can be used to implement the mobile communication function of the electronic device 100. For example, the mobile communication module 102 includes a modem. The mobile communication module 102 may include a first communication module and a second communication module. In some embodiments, the mobile communication module 102 can be a hardware module, and the first communication module and the second communication module can be software modules in the mobile communication module 102.
[0122] As shown in Figures 3-5, the eSIM module 103 may include multiple profiles from different operators, such as a first profile from a first operator and a second profile from a second operator. The description of the eSIM module 103 is similar to that of the eSIM module 195B in Figure 1. In some embodiments, the mobile communication module 102 and the eSIM module 103 can communicate via standard protocols (e.g., International Organization for Standardization (ISO) standards) or other protocols. In some embodiments, upper-layer services such as the application layer and framework layer in the processor 101 can communicate with the eSIM module 103 through the mobile communication module 102. For example, the LPA service communicates with the eSIM module 103 through the mobile communication module 102, thereby enabling the management of profiles in the eSIM module 103.
[0123] As shown in Figures 3-5, the plug-in SIM module 104 may include one or more pSIMs connected to the electronic device 100 via a SIM card interface, such as a first pSIM from a third operator. The description of the SIM card interface is similar to that of the SIM card interface 195A in Figure 1.
[0124] In some embodiments, the communication module in the mobile communication module 102 can be mapped to any profile in the eSIM module 103, or to any pSIM in the plug-in SIM module 104. The mapping relationship can also be referred to as a correspondence relationship or a connection relationship; the specific names are not limited in this application embodiment.
[0125] In some embodiments, the communication module in the mobile communication module 102 can use the mapped pSIM / profile to access the corresponding operator network and implement the services of the electronic device 100 (such as one or more of the services such as voice service, SMS service and data communication service) with the corresponding operator network.
[0126] 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.
[0127] The following steps, 1-3, shown in Figure 3, illustrate the process by which electronic device 100 downloads profiles from multiple operators, and steps, 4-6, shown in Figure 3, illustrate the process by which electronic device 100 uses profiles to implement its services.
[0128] As shown in step 1 of Figure 3, when a user purchases a first service card package through the first network application of the electronic device 100, the first network application can activate the first service card package to the device cloud server 210.
[0129] As shown in step 2 of Figure 3, after the first network application of electronic device 100 activates the first service card package with the device cloud server 210, the first network application of electronic device 100 can download multiple operator profiles from the operator server 220 through the LPA service. These multiple operator profiles correspond to the first service card package; for example, the first service card package includes network services from these multiple operators. In some examples, the manufacturer of device cloud server 210 can negotiate in advance with the manufacturer of operator server 220: devices activating the first service card package can download the multiple operator profiles corresponding to the first service card package.
[0130] As shown in step 3 of Figure 3, the first network application of the electronic device 100 can send multiple operator profiles (i.e., the multiple operator profiles downloaded in step 2) to the eSIM module 103 through the LPA service. The LPA service can send these multiple operator profiles to the eSIM module 103 through the mobile communication module 102, and the eSIM module 103 can store the received multiple operator profiles.
[0131] As shown in step 4 of Figure 3, when the user activates the first service card package through the first network application of the electronic device 100, the first network application can activate the first profile in the eSIM module 103 through the LPA service. Specifically, the LPA service can instruct the eSIM module 103 to activate the first profile through the mobile communication module 102, and the eSIM module 103 can activate the first profile under this instruction.
[0132] As shown in step 5 of Figure 3, the first network application of the electronic device 100 can instruct the first communication module in the mobile communication module 102 to be mapped to the first profile in the eSIM module 103. It is assumed that the first communication module is mapped to the first pSIM in the plug-in SIM module 104 by default. Therefore, the first communication module can access the network of a third operator based on the first pSIM and use the first pSIM and the third operator's network to implement the services of the electronic device 100. After receiving the instruction from the first network application, the first communication module can cancel the mapping to the first pSIM and map to the first profile, i.e., switch the mapping to the first profile. Optionally, after receiving the instruction from the first network application, the mobile communication module 102 can map other communication modules (e.g., the second communication module) to the first pSIM. For example, the mobile communication module 102 can select an idle communication module (i.e., a communication module not mapped to any profile or pSIM) to map to the first pSIM.
[0133] As shown in step 6 of Figure 3, after the first communication module in the mobile communication module 102 is mapped to the first profile in the eSIM module 103, the first communication module can access the network of the first operator based on the first profile and use the first profile to implement the services of the electronic device 100 with the network of the first operator.
[0134] In some embodiments, after step 6 shown in FIG3, if the conditions for switching operator networks are met, the electronic device 100 can access the network of the second operator based on the second profile and switch to using the second profile and the network of the second operator for the services of the electronic device 100. The second profile can be any profile other than the first profile stored in the eSIM module 103. For example, the second profile can be any profile other than the first profile among the multiple operator profiles corresponding to the first service card package.
[0135] The following describes, by way of example, a method for an electronic device 100 to switch to using a second profile, using steps 1-3 as shown in Figure 4.
[0136] As shown in step 1 of Figure 4, if the conditions for switching operator networks are met, the first network application of electronic device 100 can activate the first profile in eSIM module 103 and the second profile in eSIM module 103 through LPA service. When the first profile mapped by the first communication module is deactivated, the first communication module will disconnect from the first operator's network; therefore, the first communication module cannot use the first profile to implement the services of electronic device 100.
[0137] As shown in step 2 of Figure 4, the first network application of the electronic device 100 can instruct the first communication module in the mobile communication module 102 to be mapped to the second profile in the eSIM module 103. Upon receiving the instruction from the first network application, the first communication module can cancel its mapping to the first profile and map to the second profile, i.e., switch its mapping to the second profile.
[0138] As shown in step 3 of Figure 4, after the first communication module in the mobile communication module 102 is mapped to the second profile in the eSIM module 103, the first communication module can access the network of the second operator based on the second profile and use the second profile to implement the services of the electronic device 100 with the network of the second operator. At this time, the services of the electronic device 100 can be restored to normal.
[0139] As can be seen from the process shown in Figure 4, when electronic device 100 switches to use the second profile, it will first activate the first profile and then activate the second profile (for example, it takes at least 5 seconds). The network switching speed is slow, and the main communication module (first communication module) may experience network outages. Users may perceive this network outage through the display interface. During the network switching process, there may be situations where business cannot be carried out normally or business is stuck, resulting in a poor user experience.
[0140] The following steps 1-6, as shown in Figure 5, illustrate another way in which electronic device 100 switches to use a second profile to implement the services of electronic device 100.
[0141] As shown in step 1 of Figure 5, if the conditions for switching operator networks are met, the first network application of electronic device 100 can activate the second profile in eSIM module 103 through LPA service. The first profile in eSIM module 103 remains active. LPA service can instruct eSIM module 103 to activate the second profile through mobile communication module 102, and eSIM module 103 can activate the second profile upon this instruction.
[0142] As shown in step 2 of Figure 5, the first network application of the electronic device 100 can instruct the second communication module in the mobile communication module 102 to map to the second profile in the eSIM module 103 via the LPA service. In some examples, the second communication module can be in an idle state (i.e., not mapped to any profile or pSIM) before receiving the instruction from the first network application, and can directly map to the second profile after receiving the instruction. In other examples, the second communication module can be in a non-idle state (i.e., a mapped profile / pSIM exists) before receiving the instruction from the first network application, and can unmap the original profile / pSIM and map to the second profile after receiving the instruction, i.e., switch to mapping to the second profile.
[0143] Not limited to the above examples, in other examples, steps 1 and 2 shown in Figure 5 can also be combined into one step: if the conditions for switching operator networks are met, the first network application of electronic device 100 can instruct the second communication module in mobile communication module 102 to activate the second profile in eSIM module 103 and map to the second profile through LPA service.
[0144] As shown in step 3 of Figure 5, after the second communication module in the mobile communication module 102 is mapped to the second profile in the eSIM module 103, the second communication module can access the network of the second operator based on the second profile. Meanwhile, the first communication module can maintain access to the network of the first operator and use the first profile to implement the services of the electronic device 100 with the first operator's network. Since the second communication module is not the main communication module, it does not use the second profile to implement data communication services with the first operator's network for the electronic device 100, but it can implement other services such as voice calls and SMS.
[0145] As shown in step 4 of Figure 5, the first network application of the electronic device 100 can instruct the first communication module in the mobile communication module 102 to be mapped to the second profile in the eSIM module 103. Upon receiving the instruction from the first network application, the first communication module can unmap itself to the first profile and map to the second profile, i.e., switch to the second profile. Similarly, upon receiving the instruction from the first network application, the mobile communication module 102 can unmap the second communication module to the second profile. Optionally, if the second communication module has a previously mapped profile / pSIM, it can be mapped to that previously mapped profile / pSIM.
[0146] As shown in step 5 of Figure 5, after the first communication module in the mobile communication module 102 is mapped to the second profile in the eSIM module 103, the first communication module can use the second profile to access the network of the second operator to provide services for the electronic device 100. Since the second communication module has already accessed the network of the second operator based on the second profile, the first communication module can directly use the second profile to provide services for the electronic device 100 without needing to access the network again. For example, the time required for the first communication module to switch mapping to the second profile is much shorter than the time interval for the second operator's network to detect whether the electronic device 100 is online. Therefore, there is no need to re-register on the network, and network interruptions will not occur during network switching, thus avoiding situations where services cannot be performed normally or services are stuck during network switching, improving the user's service experience.
[0147] Not limited to the above examples, in other examples, after the first communication module is mapped to the second profile, it can first use the second profile to access the network of the second operator, and then use the second profile and the network of the second operator to implement the services of the electronic device 100. In other examples, after the second communication module is mapped to the second profile, it may not need to access the network of the second operator based on the second profile, that is, step 3 shown in Figure 5 is an optional step.
[0148] As shown in step 6 of Figure 5, the first network application of the electronic device 100 can activate the first profile in the eSIM module 103 through the LPA service. Specifically, the LPA service can instruct the eSIM module 103 to activate the first profile through the mobile communication module 102, and the eSIM module 103 can activate the first profile according to the instruction.
[0149] The implementation order of steps 2-4 and step 6 shown in Figure 5 is not limited.
[0150] In some embodiments, the mobile communication module 102 and the eSIM module 103 in the electronic device 100 may support the MEP function. Therefore, the profile mapped by the first communication module and the profile mapped by the second communication module in the mobile communication module 102 may remain active at the same time.
[0151] As shown in Figure 5, the electronic device 100 can activate the second profile using the second communication module while keeping the first profile active, and then switch the main communication module (i.e., the first communication module) to the second profile, so that the first communication module can switch to using the second profile to implement the services of the electronic device 100. The electronic device 100 can activate the first profile after activating the second profile, or even after using the second profile to implement the services of the electronic device 100. This avoids the slow network switching speed caused by activating the first profile first and then the second profile, as shown in Figure 4, effectively improving the network switching speed. Furthermore, the second communication module can return to its original state after the network switching process, reducing the impact on the services involved in the second communication module, and eliminating the need to add other communication modules to the mobile communication module to implement the network switching process, thus balancing user experience and device cost.
[0152] Furthermore, the electronic device 100 can use the second communication module to access the network of the second operator in advance based on the second profile. Subsequently, the first communication module does not need to access the network of the second operator based on the second profile, but can directly use the second profile to realize the services of the electronic device 100. This can avoid the network outage situation shown in Figure 4, thereby avoiding the inability to perform data communication services or the lag of data communication services, and improving the user's service experience.
[0153] Not limited to the architecture shown in Figures 3-5, the devices in communication system 10 can have other forms and types, and the number of devices can be more or less. In other examples, electronic device 100 may not include the plug-in SIM module 104; for example, the SIM card interface of electronic device 100 may not be connected to a pSIM, or electronic device 100 may not include a SIM card interface. In other examples, the mobile communication module 102 of electronic device 100 may also include more or fewer communication modules, such as including a third communication module.
[0154] The following describes, by way of example, the application scenarios involved in the embodiments of this application and the network switching process in those scenarios.
[0155] Figures 6A-6D exemplify a network handover process under application scenario 1. In application scenario 1, the mobile communication module 102, eSIM module 103, and plug-in SIM module 104 in electronic device 100 are shown in Figures 3-5. The mobile communication module 102 includes two communication modules (a first communication module and a second communication module), where the first communication module is the main communication module, for example, modem0, and the second communication module is modem1. Furthermore, before the profile handover process, the second communication module in mobile communication module 102 is in an idle state (i.e., not mapped to any profile or pSIM).
[0156] As shown in Figure 6A, in the electronic device 100, the first communication module (main communication module) in the mobile communication module 102 can be mapped to the first pSIM of the C operator (i.e., the third operator) in the plug-in SIM module 104. The second communication module in the mobile communication module 102 can be in an idle state (e.g., in a power-off state). Under the above mapping, the first communication module can access the C operator's network based on the first pSIM and use the first pSIM to implement the services (including data communication services) of the electronic device 100 with the C operator's network. Therefore, the status bar of the electronic device 100 can display the mobile communication identifier 610 corresponding to the first communication module. The mobile communication identifier 610 can include the characters "C operator," indicating that it has accessed the C operator's network. The mobile communication identifier 610 can also include a mobile data identifier 611, which indicates that data communication services are being conducted through the accessed C operator's network.
[0157] In some embodiments, after FIG6A, electronic device 100 can determine that the first service card package is enabled, and therefore the service of electronic device 100 can be implemented using the profile corresponding to the first service card package (taking the first profile as an example). For details, please refer to FIG6B.
[0158] As shown in Figure 6B, the first communication module (main communication module) in the mobile communication module 102 can be demapped from the first pSIM of operator C in the plug-in SIM module 104 and mapped to the first profile of operator A (i.e., the first operator) in the eSIM module 103. That is, the first communication module switches from mapping to the first pSIM to mapping to the first profile. Under this mapping, the first communication module can access operator A's network based on the first profile and use the first profile and operator A's network to implement the services (including data communication services) of electronic device 100. Therefore, the mobile communication identifier 610 displayed in the status bar of electronic device 100 can be changed to include the characters "operator A", indicating that it has accessed operator A's network. The mobile data identifier 611 in the mobile communication identifier 610 indicates that data communication services are being conducted through the accessed operator A's network.
[0159] In some embodiments, after FIG6B, the electronic device 100 can determine that the conditions for switching operator networks are met, and therefore can switch to using the second profile corresponding to the first service card package to implement the services of the electronic device 100, that is, to perform a profile switching process, as shown in FIG6C and FIG6D.
[0160] As shown in Figure 6C, when the first communication module (main communication module) in the mobile communication module 102 is mapped to the first profile (active state) in the eSIM module 103, the second profile of operator B (i.e., the second operator) in the eSIM module 103 can be activated, and the second communication module (idle state) in the mobile communication module 102 can be mapped to the second profile in the eSIM module 103, for example, the second communication module is powered on first and then mapped to the second profile. Under the above mapping, the first communication module, as the main communication module, can maintain access to operator A's network and use the first profile to implement the services of electronic device 100. The second communication module can access operator B's network based on the second profile. Since the second communication module is not the main communication module, it does not use the second profile to implement data communication services of electronic device 100, but it can implement other services such as voice calls and SMS. Therefore, the mobile communication identifier 610 displayed in the status bar of electronic device 100 is consistent with the mobile communication identifier 610 shown in Figure 6B.
[0161] Figure 6C illustrates an example where the mobile communication identifier corresponding to the second communication module is not displayed. In other examples, after the second communication module accesses the network of operator B based on the second profile, the status bar of the electronic device 100 can also display the mobile communication identifier corresponding to the second communication module. This mobile communication identifier may include the characters "Operator B," indicating that it has accessed the network of operator B. Furthermore, this mobile communication identifier does not include a mobile data identifier, indicating that data communication services are not conducted through the accessed network of operator B.
[0162] Following Figure 6C, as shown in Figure 6D, the first communication module (main communication module) in mobile communication module 102 can be demapped to the first profile in eSIM module 103 and mapped to the second profile in eSIM module 103. That is, the first communication module switches from mapping to the first profile to mapping to the second profile. The second communication module in mobile communication module 102 can be restored to its idle state before the profile switching process (i.e., the idle state before Figure 6C), for example, from a power-on state to a power-off state. Under the above mapping, since the second communication module had previously accessed operator B's network based on the second profile, the first communication module switched to the second profile can directly use the second profile to implement the services (including data communication services) of electronic device 100 without accessing operator B's network based on the second profile. Furthermore, the first profile in eSIM module 103 can be deactivated, and electronic device 100 disconnects from operator A's network. Therefore, the mobile communication identifier 610 displayed in the status bar of electronic device 100 can change to include the characters "operator B," indicating that it has accessed operator B's network. The mobile data identifier 611 in the mobile communication identifier 610 indicates that a data communication service is being conducted through the network of the accessing B operator.
[0163] Figures 7A-7D exemplify a network handover process under application scenario 2. In application scenario 2, the mobile communication module 102, eSIM module 103, and plug-in SIM module 104 in electronic device 100 are similar to those in Figures 3-5, but the mobile communication module 102 includes three communication modules (a first communication module, a second communication module, and a third communication module). The first communication module is the primary communication module. Optionally, the third communication module has a higher priority than the second communication module; for example, the first communication module is modem0, the third communication module is modem1, and the second communication module is modem2. Furthermore, before the profile handover process, the second communication module in mobile communication module 102 is in an idle state (i.e., not mapped to any profile or pSIM).
[0164] As shown in Figure 7A, in the electronic device 100, the first communication module (main communication module) in the mobile communication module 102 can be mapped to the first pSIM of the C operator (i.e., the third operator) in the plug-in SIM module 104. The second and third communication modules in the mobile communication module 102 can be in an idle state (e.g., in a power-off state). Under the above mapping, the first communication module can access the C operator's network based on the first pSIM and use the first pSIM to implement the services (including data communication services) of the electronic device 100 with the C operator's network. Therefore, the status bar of the electronic device 100 can display the mobile communication identifier 710 corresponding to the first communication module. The mobile communication identifier 710 can include the characters "C operator", indicating that it has accessed the C operator's network. The mobile communication identifier 710 can also include a mobile data identifier 711, which indicates that data communication services are being conducted through the accessed C operator's network.
[0165] In some embodiments, after FIG7A, electronic device 100 can determine that the first service card package is enabled, and therefore the service of electronic device 100 can be implemented using the profile corresponding to the first service card package (taking the first profile as an example). For details, please refer to FIG7B.
[0166] As shown in Figure 7B, the first communication module (main communication module) in mobile communication module 102 can be demapped to the first pSIM of operator C in plug-in SIM module 104 and mapped to the first profile of operator A (i.e., the first operator) in eSIM module 103. That is, the first communication module switches from mapping to the first pSIM to mapping to the first profile. The third communication module in mobile communication module 102 can be mapped to the first pSIM of operator C in plug-in SIM module 104. Under this mapping, the first communication module can access operator A's network based on the first profile and use the first profile and operator A's network to implement the services (including data communication services) of electronic device 100. Since the first communication module has already accessed operator C's network based on the first pSIM, the third communication module mapped to the first pSIM can maintain access to operator C's network. However, since the third communication module is not the main communication module, it does not use the first pSIM to implement data communication services of electronic device 100, but it can implement other services such as voice calls and SMS. Therefore, the mobile communication identifier 710 corresponding to the first communication module displayed in the status bar of the electronic device 100 can be changed to include the characters "A operator", indicating that it has been connected to the A operator network. The mobile data identifier 711 in the mobile communication identifier 710 indicates that data communication services are being conducted through the connected A operator network. Furthermore, the status bar of the electronic device 100 can also display the mobile communication identifier 720 corresponding to the third communication module. The mobile communication identifier 720 can include the characters "C operator", indicating that it has been connected to the C operator network. The mobile communication identifier 720 does not include the mobile data identifier, indicating that data communication services are not being conducted through the connected C operator network.
[0167] In some embodiments, after FIG7B, the electronic device 100 can determine that the conditions for switching operator networks are met, and therefore can switch to using the second profile corresponding to the first service card package to implement the services of the electronic device 100, that is, to perform a profile switching process, as shown in FIG7C and FIG7D.
[0168] As shown in Figure 7C, when the first communication module (main communication module) in mobile communication module 102 is mapped to the first profile (active state) in eSIM module 103, the second profile of operator B (i.e., the second operator) in eSIM module 103 can be activated, and the second communication module (idle state) in mobile communication module 102 can be mapped to the second profile in eSIM module 103, for example, the second communication module is powered on first and then mapped to the second profile. The third communication module in mobile communication module 102 can remain mapped to the first pSIM in plug-in SIM module 104. Under the above mapping, the first communication module, as the main communication module, can maintain access to operator A's network and use the first profile to implement the services of electronic device 100. The second communication module can access operator B's network based on the second profile. Since the second communication module is not the main communication module, it does not use the second profile to implement data communication services of electronic device 100, but it can implement other services such as voice calls and SMS. The third communication module can maintain access to operator C's network. Therefore, the mobile communication identifier 710 corresponding to the first communication module displayed in the status bar of the electronic device 100 is the same as the mobile communication identifier 710 shown in Figure 7B, and the mobile communication identifier 720 corresponding to the third communication module displayed in the status bar of the electronic device 100 is the same as the mobile communication identifier 720 shown in Figure 7B.
[0169] Figure 7C illustrates an example where the mobile communication identifier corresponding to the second communication module is not displayed. In other examples, after the second communication module accesses the network of operator B based on the second profile, the status bar of the electronic device 100 can also display the mobile communication identifier corresponding to the second communication module. This mobile communication identifier may include the characters "Operator B," indicating that it has accessed the network of operator B. Furthermore, this mobile communication identifier does not include a mobile data identifier, indicating that data communication services are not conducted through the accessed network of operator B.
[0170] Following Figure 7C, as shown in Figure 7D, the first communication module (main communication module) in mobile communication module 102 can be demapped to the first profile in eSIM module 103 and mapped to the second profile in eSIM module 103; that is, the first communication module switches from mapping to the first profile to mapping to the second profile. The second communication module in mobile communication module 102 can be restored to its idle state before the profile switching process (i.e., the idle state before Figure 7C), for example, from the power-on state to the power-off state. The third communication module in mobile communication module 102 can remain mapped to the first pSIM in plug-in SIM module 104. Under the above mapping, since the second communication module has previously accessed operator B's network based on the second profile, the first communication module mapped to the second profile can directly use the second profile to implement the services (including data communication services) of electronic device 100 without accessing operator B's network based on the second profile. The third communication module can remain connected to operator C's network. Furthermore, the first profile in eSIM module 103 can be deactivated, and electronic device 100 disconnects from operator A's network. Therefore, the mobile communication identifier 710 corresponding to the first communication module displayed in the status bar of the electronic device 100 can be changed to include the characters "B operator", indicating that it has been connected to the B operator network. The mobile data identifier 711 in the mobile communication identifier 710 indicates that data communication services are being conducted through the connected B operator network. The mobile communication identifier 720 corresponding to the third communication module displayed in the status bar of the electronic device 100 is consistent with the mobile communication identifier 720 shown in Figure 7B.
[0171] In application scenarios 1 (Figures 6A-6D) and 2 (Figures 7A-7D), if the conditions for switching operator networks are met, a profile switching process can be performed. This involves activating the second profile to be switched to using the idle second communication module and connecting it to the corresponding operator B's network. The mobile communication module 102, which supports MEP functionality, can simultaneously activate both the first and second profiles. Subsequently, the mapping of the first communication module from the first profile to the second profile is switched, and the second communication module is restored to an idle state. This allows for a seamless network switching process without affecting any pSIM / profile services, avoiding situations where data communication services are unavailable or experience lag. Furthermore, it eliminates the need for additional communication modules, balancing user experience and equipment cost.
[0172] Figures 8A-8D exemplify a network handover process under application scenario 3. In application scenario 3, the mobile communication module 102, eSIM module 103, and plug-in SIM module 104 in electronic device 100 are shown in Figures 3-5. The mobile communication module 102 includes two communication modules (a first communication module and a second communication module), where the first communication module is the main communication module, for example, modem0, and the second communication module is modem1. Furthermore, before the profile handover process, the second communication module in mobile communication module 102 is not in an idle state (i.e., a mapped profile / pSIM exists).
[0173] The mapping relationship and network status shown in Figure 8A are consistent with those shown in Figure 6A. Therefore, the status bar of the electronic device 100 can display the mobile communication identifier 810 corresponding to the first communication module. The mobile communication identifier 810 may include the characters "C operator", indicating that it has been connected to the C operator network. The mobile data identifier 811 in the mobile communication identifier 810 indicates that data communication services are being conducted through the connected C operator network.
[0174] In some embodiments, after FIG8A, electronic device 100 can determine that the first service card package is enabled, and therefore the service of electronic device 100 can be implemented using the profile corresponding to the first service card package (taking the first profile as an example). For details, please refer to FIG8B.
[0175] As shown in Figure 8B, the first communication module (main communication module) in the mobile communication module 102 can switch from mapping to the first pSIM of operator C in the plug-in SIM module 104 to mapping to the first profile of operator A (i.e., the first operator) in the eSIM module 103. The second communication module in the mobile communication module 102 can be mapped to the first pSIM of operator C in the plug-in SIM module 104. Under the above mapping, the first communication module can access the network of operator A based on the first profile and use the first profile and operator A's network to implement the services (including data communication services) of electronic device 100. Since the first communication module has previously accessed operator C's network based on the first pSIM, the second communication module mapped to the first pSIM can maintain access to operator C's network. However, since the second communication module is not the main communication module, it does not use the first pSIM to implement data communication services of electronic device 100, but it can implement other services such as voice calls and SMS. Therefore, the mobile communication identifier 810 corresponding to the first communication module displayed in the status bar of the electronic device 100 can be changed to include the characters "A operator", indicating that it has been connected to the A operator network. The mobile data identifier 811 in the mobile communication identifier 810 indicates that data communication services are being conducted through the connected A operator network. Furthermore, the status bar of the electronic device 100 can also display the mobile communication identifier 820 corresponding to the second communication module. The mobile communication identifier 820 can include the characters "C operator", indicating that it has been connected to the C operator network. The mobile communication identifier 820 does not include the mobile data identifier, indicating that data communication services are not being conducted through the connected C operator network.
[0176] In some embodiments, after FIG8B, electronic device 100 can determine that the conditions for switching operator networks are met, and therefore can switch to using the second profile corresponding to the first service card package to implement the services of electronic device 100, that is, to perform a profile switching process, as shown in FIG8C and FIG8D.
[0177] As shown in Figure 8C, when the first communication module (main communication module) in mobile communication module 102 is mapped to the first profile (active state) in eSIM module 103, the second profile of operator B (i.e., the second operator) in eSIM module 103 can be activated, and the second communication module in mobile communication module 102 (non-idle state) can be demapped to the first pSIM of operator C in plug-in SIM module 104 and mapped to the second profile in eSIM module 103. That is, the second communication module switches from being mapped to the first pSIM to being mapped to the second profile. Under the above mapping, the first communication module, as the main communication module, can maintain access to operator A's network and use the first profile to implement the services of electronic device 100. The second communication module can access operator B's network based on the second profile. Since the second communication module is not the main communication module, it does not use the second profile to implement data communication services of electronic device 100, but it can implement other services such as voice calls and SMS. Because the second communication module is demapped to the first pSIM, electronic device 100 disconnects from operator C's network. Therefore, the mobile communication identifier 810 corresponding to the first communication module displayed in the status bar of the electronic device 100 is consistent with the mobile communication identifier 810 shown in Figure 8B. The mobile communication identifier 820 corresponding to the second communication module displayed in the status bar of the electronic device 100 can be changed to include the characters "B operator", indicating that it has been connected to the B operator network. The mobile communication identifier 820 does not include the mobile data identifier, indicating that data communication services are not being conducted through the B operator network.
[0178] Following Figure 8C, as shown in Figure 8D, the first communication module (main communication module) in mobile communication module 102 can switch from mapping to the first profile in eSIM module 103 to mapping to the second profile in eSIM module 103. The second communication module in mobile communication module 102 can switch from mapping to the second profile in eSIM module 103 to mapping to the first pSIM in plug-in SIM module 104, i.e., reverting to the state before the profile switching process (i.e., the state before Figure 8C where it was mapped to the first pSIM). Under this mapping, since the second communication module had previously accessed operator B's network based on the second profile, the first communication module, after switching to the second profile, can directly use the second profile to implement the services (including data communication services) of electronic device 100 without accessing operator B's network based on the second profile. The second communication module can re-access operator C's network based on the first pSIM, but without using the first pSIM to implement data communication services of electronic device 100; it can implement other services such as voice calls and SMS. Furthermore, the first profile in eSIM module 103 can be deactivated, and electronic device 100 disconnects from operator A's network. Therefore, the mobile communication identifier 810 corresponding to the first communication module displayed in the status bar of the electronic device 100 can be changed to include the characters "B operator", indicating that it has been connected to the B operator network. The mobile data identifier 811 in the mobile communication identifier 810 indicates that data communication services are being conducted through the accessed B operator network. The mobile communication identifier 820 corresponding to the second communication module displayed in the status bar of the electronic device 100 is consistent with the mobile communication identifier 820 shown in Figure 8B.
[0179] Figures 9A-9D exemplify a network handover process under application scenario 4. In application scenario 4, the mobile communication module 102, eSIM module 103, and plug-in SIM module 104 in electronic device 100 are similar to those in Figures 3-5, but the mobile communication module 102 includes three communication modules (a first communication module, a second communication module, and a third communication module). The first communication module is the primary communication module. Optionally, the third communication module has a higher priority than the second communication module; for example, the first communication module is modem0, the third communication module is modem1, and the second communication module is modem2. Furthermore, the plug-in SIM module 104 includes a first pSIM from operator C (i.e., the third operator) and a second pSIM from operator D (also known as the fourth operator). Before the profile handover process, the second communication module in mobile communication module 102 is not idle (i.e., a mapped profile / pSIM exists).
[0180] As shown in Figure 9A, in the electronic device 100, the first communication module (main communication module) in the mobile communication module 102 can be mapped to the first pSIM of operator C in the plug-in SIM module 104. The second communication module in the mobile communication module 102 can be in an idle state (e.g., in a power-off state), and the third communication module in the mobile communication module 102 can be mapped to the second pSIM of operator D in the plug-in SIM module 104. Under the above mapping, the first communication module can access operator C's network based on the first pSIM and use the first pSIM and operator C's network to implement the services of electronic device 100 (including data communication services). The third communication module can access operator D's network based on the second pSIM. Since the third communication module is not the main communication module, it does not use the second pSIM to implement data communication services of electronic device 100, but it can implement other services such as voice calls and SMS. Therefore, the status bar of electronic device 100 can display the mobile communication identifier 910 corresponding to the first communication module, where the mobile communication identifier 910 can include the characters "operator C", indicating that it has accessed operator C's network. The mobile communication identifier 910 may also include a mobile data identifier 911, which indicates that data communication services are being conducted through the accessed C operator network. The status bar of the electronic device 100 may also display a mobile communication identifier 920 corresponding to the third communication module. This mobile communication identifier 920 may include the characters "D operator," indicating that it has been accessed through the D operator network. The mobile communication identifier 920 may not include the mobile data identifier, indicating that data communication services are not being conducted through the accessed D operator network.
[0181] In some embodiments, after FIG9A, electronic device 100 can determine that the first service card package is enabled, and therefore the service of electronic device 100 can be implemented using the profile corresponding to the first service card package (taking the first profile as an example). For details, please refer to FIG9B.
[0182] As shown in Figure 9B, the first communication module (main communication module) in the mobile communication module 102 can switch from mapping to the first pSIM of operator C in the plug-in SIM module 104 to mapping to the first profile of operator A (i.e., the first operator) in the eSIM module 103. The second communication module in the mobile communication module 102 can be mapped to the first pSIM of operator C in the plug-in SIM module 104. The third communication module in the mobile communication module 102 can remain mapped to the second pSIM of operator D in the plug-in SIM module 104. Under the above mapping, the first communication module can access the network of operator A based on the first profile and use the first profile and operator A's network to implement the services (including data communication services) of electronic device 100. Since the first communication module has previously accessed operator C's network based on the first pSIM, the second communication module mapped to the first pSIM can remain connected to operator C's network, but will not use the first pSIM to implement data communication services of electronic device 100; it can implement other services such as voice calls and SMS. The third communication module can remain connected to operator D's network. Therefore, the mobile communication identifier 910 corresponding to the first communication module displayed in the status bar of the electronic device 100 can be changed to include the characters "A operator", indicating that it has been connected to the A operator network. The mobile data identifier 911 in the mobile communication identifier 910 indicates that data communication services are being conducted through the connected A operator network. The mobile communication identifier 920 corresponding to the third communication module displayed in the status bar of the electronic device 100 is consistent with the mobile communication identifier 920 shown in Figure 9A. Furthermore, the status bar of the electronic device 100 can also display the mobile communication identifier 930 corresponding to the second communication module. The mobile communication identifier 930 can include the characters "C operator", indicating that it has been connected to the C operator network. The mobile communication identifier 930 does not include the mobile data identifier, indicating that data communication services are not being conducted through the connected C operator network.
[0183] In some embodiments, after FIG9B, electronic device 100 can determine that the conditions for switching operator networks are met, and therefore can switch to using the second profile corresponding to the first service card package to implement the services of electronic device 100, that is, to perform a profile switching process, as shown in FIG9C and FIG9D.
[0184] As shown in Figure 9C, when the first communication module (main communication module) in mobile communication module 102 is mapped to the first profile (active state) in eSIM module 103, the second profile of operator B (i.e., the second operator) in eSIM module 103 can be activated, and the second communication module in mobile communication module 102 (non-idle state) can switch its mapping from the first pSIM of operator C in plug-in SIM module 104 to the second profile in eSIM module 103. The third communication module in mobile communication module 102 can remain mapped to the second pSIM in plug-in SIM module 104. Under the above mapping, the first communication module, as the main communication module, can maintain access to operator A's network and use the first profile to implement the services of electronic device 100. The second communication module can access operator B's network based on the second profile. Since the second communication module is not the main communication module, it does not use the second profile to implement data communication services of electronic device 100, but it can implement other services such as voice calls and SMS. Since the second communication module is demapped to the first pSIM, electronic device 100 disconnects from operator C's network. The third communication module can maintain access to operator D's network. Therefore, the mobile communication identifier 910 corresponding to the first communication module displayed in the status bar of electronic device 100 is consistent with the mobile communication identifier 910 shown in Figure 9B. The mobile communication identifier 920 corresponding to the third communication module displayed in the status bar of electronic device 100 is consistent with the mobile communication identifier 920 shown in Figure 9A. The mobile communication identifier 930 corresponding to the second communication module displayed in the status bar of electronic device 100 can be changed to include the characters "Operator B", indicating that it has been connected to Operator B's network. The mobile communication identifier 930 does not include the mobile data identifier, indicating that data communication services are not being conducted through the connected Operator B's network.
[0185] Following Figure 9C, as shown in Figure 9D, the first communication module (main communication module) in mobile communication module 102 can switch from mapping to the first profile in eSIM module 103 to mapping to the second profile in eSIM module 103. The second communication module in mobile communication module 102 can switch from mapping to the second profile in eSIM module 103 to mapping to the first pSIM in plug-in SIM module 104, i.e., reverting to the state before the profile switching process (i.e., the state before Figure 9C where it was mapped to the first pSIM). The third communication module in mobile communication module 102 can remain mapped to the second pSIM in plug-in SIM module 104. Under the above mapping, since the second communication module had previously accessed operator B's network based on the second profile, the first communication module, when switching to the second profile, can directly use the second profile to implement the services (including data communication services) of electronic device 100 without accessing operator B's network based on the second profile. The second communication module can re-access operator C's network based on the first pSIM, but without using the first pSIM to implement data communication services of electronic device 100; it can implement other services such as voice calls and SMS. The third communication module can remain connected to operator D's network. Furthermore, the first profile in eSIM module 103 can be deactivated, and electronic device 100 disconnects from operator A's network. Therefore, the mobile communication identifier 910 corresponding to the first communication module displayed in the status bar of electronic device 100 can change to include the characters "operator B," indicating that it has accessed operator B's network. The mobile data identifier 911 in the mobile communication identifier 910 indicates that data communication services are being conducted through the accessed operator B's network. The mobile communication identifier 920 corresponding to the third communication module displayed in the status bar of electronic device 100 is consistent with the mobile communication identifier 920 shown in Figure 9A. The mobile communication identifier 930 corresponding to the second communication module displayed in the status bar of electronic device 100 is consistent with the mobile communication identifier 930 shown in Figure 9B.
[0186] In application scenarios 3 (Figures 8A-8D) and 4 (Figures 9A-9D), if the conditions for switching operator networks are met, a profile switching process can be performed. In the absence of an idle communication module, the original mapping relationship of the non-idle second communication module can be cancelled. Then, the second communication module is used to activate the second profile to be switched to and access the corresponding B operator's network. The mobile communication module 102 supporting MEP function can simultaneously activate the first and second profiles. Subsequently, the mapping of the first communication module is switched from the first profile to the second profile, and the original mapping relationship of the second communication module is restored. This achieves a seamless network switching process, avoiding situations where data communication services cannot be performed or are interrupted, and without the need for additional communication modules. Although the network of the C operator corresponding to the first pSIM originally mapped to the second communication module will be briefly disconnected during the profile switching process, the time is short and the impact on user services is minimal. Therefore, user experience and low equipment cost can still be balanced.
[0187] Not limited to the above examples, in other examples, after the first communication module switches from mapping to the first profile to mapping to the second profile, it can also access the network of operator B based on the second profile and then use the second profile to implement the services of electronic device 100.
[0188] Not limited to the above examples, in other examples, after the second communication module is mapped to the second profile, it may not be able to access the network of operator B based on the second profile. It can be understood that the second communication module is used to activate the second profile.
[0189] Not limited to the above examples, in some other examples, in Figures 9A-9D, a third communication module can also be used to implement the profile switching process. In other examples, in Figures 9A-9D, a second communication module can still be used to implement the profile switching process, but the mapping of the third communication module from the second pSIM to the first pSIM can be switched. The embodiments of this application do not limit this.
[0190] Not limited to the above embodiments, in other embodiments, when the electronic device 100 determines that the conditions for switching operator networks are met and determines to perform a profile switching process, if other communication modules besides the first communication module cannot be used to implement the profile switching process, for example, if other communication modules are not idle and the mapped pSIM / profile is being used, the first communication module can be used directly to implement the profile switching process. For specific examples, see Figures 10A-10D.
[0191] Figures 10A-10D exemplify a network handover process under application scenario 5. In application scenario 5, the mobile communication module 102, eSIM module 103, and plug-in SIM module 104 in the electronic device 100 are shown in Figures 3-5. The mobile communication module 102 includes two communication modules (a first communication module and a second communication module), where the first communication module is the main communication module, for example, modem0, and the second communication module is modem1. Furthermore, the second communication module in the mobile communication module 102 cannot be borrowed to implement the profile handover process.
[0192] The mapping relationship and network status shown in Figure 10A are consistent with those shown in Figure 6A. Therefore, the status bar of the electronic device 100 can display the mobile communication identifier 1010 corresponding to the first communication module. The mobile communication identifier 1010 may include the characters "C operator", indicating that it has been connected to the C operator network. The mobile data identifier 1011 in the mobile communication identifier 1010 indicates that data communication services are being conducted through the connected C operator network.
[0193] In some embodiments, after FIG10A, electronic device 100 can determine that the first service card package is enabled, and therefore the service of electronic device 100 can be implemented using the profile corresponding to the first service card package (the first profile is used as an example for explanation), as shown in FIG10B.
[0194] The mapping relationship and network status shown in Figure 10B are consistent with those shown in Figure 8B. Therefore, the mobile communication identifier 1010 corresponding to the first communication module displayed in the status bar of the electronic device 100 can be changed to include the characters "Operator A", indicating that it has been connected to the network of Operator A. The mobile data identifier 1011 in the mobile communication identifier 1010 indicates that data communication services are being conducted through the connected network of Operator A. Furthermore, the status bar of the electronic device 100 can also display the mobile communication identifier 1020 corresponding to the second communication module. The mobile communication identifier 1020 can include the characters "Operator C", indicating that it has been connected to the network of Operator C. The mobile communication identifier 1020 does not include the mobile data identifier, indicating that data communication services are not being conducted through the connected network of Operator C.
[0195] In some embodiments, after FIG10B, the electronic device 100 can determine that the conditions for switching operator networks are met, and therefore can switch to using the second profile corresponding to the first service card package to implement the services of the electronic device 100, that is, to perform a profile switching process, as shown in FIG10C and FIG10D.
[0196] As shown in Figure 10C, the first profile of operator A in eSIM module 103 can be deactivated, and the first communication module (main communication module) in mobile communication module 102 can be unmapped to the first profile in eSIM module 103. Therefore, electronic device 100 disconnects from operator A's network. The second communication module in mobile communication module 102 can maintain its mapping to operator C's first pSIM in plug-in SIM module 104, thus maintaining access to operator C's network. Therefore, the mobile communication identifier 1010 corresponding to the first communication module displayed in the status bar of electronic device 100 can indicate network disconnection / no network connection. The mobile communication identifier 1020 corresponding to the second communication module displayed in the status bar of electronic device 100 is consistent with the mobile communication identifier 1020 shown in Figure 10B.
[0197] Following Figure 10C, as shown in Figure 10D, the second profile of operator B in eSIM module 103 can be activated, and the first communication module (main communication module) in mobile communication module 102 can be mapped to the second profile. The second communication module in mobile communication module 102 can remain mapped to the first pSIM of operator C in plug-in SIM module 104. Under the above mapping, the first communication module can access operator B's network based on the second profile and use the second profile to implement the services (including data communication services) of electronic device 100. The second communication module can remain connected to operator C's network. Therefore, the mobile communication identifier 1010 corresponding to the first communication module displayed in the status bar of electronic device 100 can be changed to include the characters "operator B", indicating that it has been connected to operator B's network. The mobile data identifier 1011 in mobile communication identifier 1010 indicates that data communication services are being conducted through the accessed operator B's network. The mobile communication identifier 1020 corresponding to the second communication module displayed in the status bar of electronic device 100 is consistent with the mobile communication identifier 1020 shown in Figure 10B.
[0198] The mobile communication identifier displayed in the status bar of the electronic device 100 shown above is for illustrative purposes only. In other examples, when the electronic device 100 uses the second communication module in a non-idle state to perform a profile switching process, the display method of the mobile communication identifier corresponding to the second communication module may not be changed. For example, the mobile communication identifier 820 corresponding to the second communication module shown in Figure 8C may be consistent with the mobile communication identifier 820 shown in Figure 8B, thereby reducing the user's perception of the network switching process. In other examples, the mobile communication identifier 1010 corresponding to the first communication module shown in Figure 10C may be consistent with the mobile communication identifier 1010 shown in Figure 10B, or consistent with the mobile communication identifier 1010 shown in Figure 10D, thereby reducing the user's perception of the network switching process. This application does not limit the display method of the mobile communication identifier.
[0199] Figures 11A-11D exemplarily illustrate a user interface diagram of a user purchasing and activating a first service card package. Figures 11A-11D are illustrated using application scenario 1 shown in Figures 6A-6D as an example.
[0200] As shown in Figure 11A, the electronic device 100 can display a user interface 110 of a first network application. The user interface 110 may include a status bar 111 at the top, a search bar (for searching for data plans to a desired destination), a recommendation list 112, a display bar (e.g., for displaying advertising content), a trip bar (for viewing user trip information), and a menu bar 113 at the bottom. The status bar 111 at the top may include the mobile communication identifier 111A of the first communication module (main communication module) of the electronic device 100, battery level, and time information. The electronic device 100 shown in Figure 11A is identical to the electronic device 100 shown in Figure 6A. The first communication module is mapped to the first pSIM of operator C. Therefore, the mobile communication identifier 111A may include the characters "operator C," indicating that it has accessed the operator C network. The mobile communication identifier 111A may also include a mobile data identifier, which indicates that data communication services are being conducted through the accessed operator C network. The recommendation list 112 is used to recommend different service card plans, such as a recommendation control 112A including a "country A" data plan. The menu bar 113 may include a "Recommended" control 113A and a "My" control 113B. The "Recommended" control 113A is selected, indicating that the user interface 110 is currently displaying the page corresponding to the "Recommended" control 113A. The "My" control 113B can be used to trigger the display of user information, such as purchased data plans, order details, favorites, settings, etc. Users can purchase the required data plans (i.e., the aforementioned service card plans) through the first network application, and users can activate the purchased data plans to access the internet.
[0201] As shown in Figure 11B, the electronic device 100 can display a user interface 120 of a first network application. In some examples, the user interface 120 may be displayed by the electronic device 100 in response to a user action (e.g., a touch click) acting on a recommended control 112A in the user interface 110 shown in Figure 11A. The electronic device 100 shown in Figure 11B is identical to the electronic device 100 shown in Figure 6A; therefore, the status bar 111 in the user interface 120 is identical to the status bar 111 shown in Figure 11A. The user interface 120 may include information about "Country A" data plans, such as a display bar for a "1-day" "Country A" data plan, a display bar 121 for a "7-day" "Country A" data plan, a display bar for a "10GB" "Country A" data plan, and so on.
[0202] In some embodiments, a user can purchase a first service card package through a first network application. Taking the "7-day" data package for "Country A" shown in Figure 11B as an example, the electronic device 100 can receive user operations (e.g., touch clicks) applied to the display bar 121 in the user interface 120 shown in Figure 11B. In response to the user operation, the electronic device 100 can display a payment interface. When the user successfully pays based on the payment interface, the data package corresponding to the display bar 121 (i.e., the "7-day" data package for "Country A") is successfully purchased. At this time, the electronic device 100 can download multiple operator profiles corresponding to the data package, such as a first profile for operator A and a second profile for operator B. The first profile is used to access operator A's network, and the second profile is used to access operator B's network.
[0203] In some embodiments, electronic device 100 can activate the first service card package purchased above in response to user operation. After activating the first service card package, electronic device 100 can activate the profile corresponding to the first service card package, access the corresponding operator network based on the profile, and use the profile to implement the services of electronic device 100. For specific examples, please refer to Figures 11C-11D.
[0204] As shown in Figure 11C, the electronic device 100 can display a user interface 130 of a first network application. In some examples, the user interface 130 may be displayed after the electronic device 100 receives a user operation (e.g., a touch click) applied to the "My" control 113B in the user interface 110 shown in Figure 11A. The user interface 130 can be used to display the data plan order purchased by the current account, which may include a display bar 131 for the purchased first service card plan. The display bar 131 may include the name of the first service card plan, "7-day data plan for Country A", the validity period, and a switch control 131A. The switch control 131A can be used to enable or disable the first service card plan corresponding to the display bar 131. The switch control 131A shown in Figure 11C is in an enabled state, indicating that the first service card plan has been enabled. In some examples, when the switch control 131A shown in Figure 11C is in an disabled state, the electronic device 100 can respond to a user operation (e.g., a touch click) applied to the switch control 131A, enable the first service card plan, and switch the switch control 131A from an disabled state to an enabled state.
[0205] As shown in Figure 11C, the switch control 131A in the display bar 131 is in the enabled state, indicating that the first service card package has been activated. The electronic device 100 shown in Figure 11C is the same as the electronic device 100 shown in Figure 6B. The first communication module (main communication module) in the electronic device 100 can be mapped to the first profile of operator A. Therefore, the mobile communication identifier 111A included in the status bar 111 in the user interface 130 can be changed to include the characters "operator A", indicating that it has been connected to operator A's network. The mobile data identifier in the mobile communication identifier 111A indicates that data communication services are being conducted through the connected operator A's network.
[0206] In some embodiments, when electronic device 100 determines that the conditions for switching operator networks are met, it can activate the second profile of operator B, access operator B's network based on the second profile, and use the second profile to implement the services (including data communication services) of electronic device 100. For specific examples, see Figures 6C-6D. At this time, electronic device 100 can display the user interface 140 of the first network application shown in Figure 11D.
[0207] As shown in Figure 11D, the user interface 140 is similar to the user interface 130 shown in Figure 11C. In user interface 140, the switch control 131A in the display bar 131 is enabled, indicating that the first service card package has been activated. The electronic device 100 shown in Figure 11D is identical to the electronic device 100 shown in Figure 6D. The first communication module (main communication module) in electronic device 100 has been switched and mapped to the second profile of operator B. Therefore, the mobile communication identifier 111A included in the status bar 111 in user interface 140 can be changed to include the characters "operator B", indicating that it has been connected to operator B's network. The mobile data identifier in the mobile communication identifier 111A indicates that data communication services are being conducted through the accessed operator B's network.
[0208] In some embodiments, when the first communication module in the electronic device 100 is mapped to the second profile of operator B and performs services of the electronic device 100 with the network of operator B through the second profile, if the signal quality of operator B's network is poor, it can switch back to operator A's network. That is, the first communication module can switch to the first profile of operator A and perform services of the electronic device 100 with operator A's network through the first profile. The specific implementation process is similar to the process of switching from operator A's network to operator B's network in the above example.
[0209] In some embodiments, the user interface 130 shown in FIG11C and the user interface 140 shown in FIG11D may include a prompt message 132, which may include the characters "Allow intelligent switching of operator networks to improve service experience". The electronic device 100 may display a corresponding settings interface in response to a user operation (e.g., a touch click operation) applied to the prompt message 132, as shown in FIG12 for a specific example.
[0210] Figure 12 illustrates a schematic diagram of a settings interface.
[0211] As shown in Figure 12, the electronic device 100 can display a user interface 150. In some examples, the user interface 150 can be a settings interface in a first network application. The user interface 150 may include a status bar 111 at the top, a title for "Smart Internet Access," and a display bar 151 for the Smart Internet Access function. The status bar 111 in the user interface 150 is similar to the status bar 111 in the user interface 130 shown in Figure 11C, and will not be described again. The display bar 151 may include a description of the Smart Internet Access function, such as "Smart switching of operator networks" or "Improving the Skyroam service experience may have a temporary impact on SIM card services." The display bar 151 may also include a switch control 151A for the Smart Internet Access function, which can be used to turn the Smart Internet Access function on or off. In some examples, the switch control 151A is off by default, and the electronic device 100 can turn on the Smart Internet Access function in response to user operations (such as touch clicks) applied to the switch control 151A. However, this is not limited to this; in other examples, the switch control 151A may also be on by default.
[0212] In some embodiments, when the smart internet access function is not enabled on the electronic device 100, the electronic device 100 can perform the profile switching process using a communication module in an idle state, or using a communication module in a non-idle state where the mapped pSIM / profile is not currently in use. However, it cannot perform the profile switching process using a communication module in a non-idle state where the mapped pSIM / profile is currently in use. When the smart internet access function is enabled on the electronic device 100, the electronic device 100 can perform the profile switching process using a communication module in any state. Therefore, with the user's permission, even if all communication modules other than the first communication module are in a non-idle state and the mapped pSIM / profile are all in use, the electronic device 100 can still perform the profile switching process shown in Figures 8A-8D and 9A-9D using communication modules other than the first communication module.
[0213] For example, when the smart internet access function of the electronic device 100 is not enabled, if there is an idle communication module, the electronic device 100 can use the communication module to implement the profile switching process shown in Figures 6A-6D and 7A-7D. If there is a non-idle communication module but the mapped pSIM / profile is not in use, the electronic device 100 can use the communication module to implement the profile switching process shown in Figures 8A-8D and 9A-9D. When all other communication modules besides the first communication module are in a non-idle state and the mapped pSIM / profile are in use, the electronic device 100 can implement the profile switching process shown in Figures 10A-10D. When the electronic device 100 has enabled the smart internet access function, if there is an idle communication module, the electronic device 100 can use the communication module to perform the profile switching process shown in Figures 6A-6D and 7A-7D. If there is a non-idle communication module but the mapped pSIM / profile is not a communication module that is being used, the electronic device 100 can use the communication module to perform the profile switching process shown in Figures 8A-8D and 9A-9D.
[0214] Not limited to this, in other embodiments, when the electronic device 100 does not have the smart internet access function enabled, the electronic device 100 can only use an idle communication module to perform the profile switching process (see Figures 6A-6D and 7A-7D for specific examples), but cannot use a non-idle communication module to perform the profile switching process. When the electronic device 100 has the smart internet access function enabled, the electronic device 100 can use an idle communication module to perform the profile switching process, or it can use a non-idle communication module whose mapped pSIM / profile is not currently in use to perform the profile switching process, but it cannot use a non-idle communication module whose mapped pSIM / profile is currently in use to perform the profile switching process, so as to ensure the experience of the service being used. The embodiments of this application do not limit the implementation method of the profile switching process before and after enabling the smart internet access function.
[0215] Not limited to the above embodiments, in other embodiments, the electronic device 100 may not provide a smart Internet access function settings interface. In some examples, the electronic device 100 may be set by default to be able to use a communication module in any state to realize the profile switching process. In other examples, the electronic device 100 may be set by default not to be able to use a communication module in a non-idle state and whose mapped pSIM / profile is being used to realize the profile switching process. The embodiments of this application do not limit the implementation method of the profile switching process of the electronic device 100 by default.
[0216] The following example illustrates the process of an electronic device 100 downloading multiple profiles from different carriers.
[0217] Figure 13 is a schematic flowchart of a profile download process provided in an embodiment of this application. This process can be applied to the communication system 10 shown in Figure 2. The communication system 10 may include an electronic device 100 and a cloud server 200. The cloud server 200 may include a device cloud server 210, a first operator's operator server 221, and a second operator's operator server 222. The electronic device 100 may be the electronic device 100 shown in Figure 1, or the electronic device 100 shown in Figures 3-5.
[0218] The process shown in Figure 13 may include, but is not limited to, the following steps:
[0219] S101: The first network application of electronic device 100 activates the first service card package to device cloud server 210.
[0220] In some embodiments, the electronic device 100 can receive input from a user to purchase a first service card package in a first network application. In response to this input, the first network application can activate the first service card package with the device cloud server 210. Examples of a user purchasing a first service card package can be found in Figures 11A-11B.
[0221] In some embodiments, when the first network application of the electronic device 100 activates a first service card package with the device cloud server 210, the electronic device 100 can send a request message to the device cloud server 210 to activate the first service card package, so that the device cloud server 210 executes the following S102 according to the request message. For example, the request message may include the identification information of the first service card package, the information of the user account logged in in the first network application, the user's proof of purchasing the first service card package, etc. The content of the request message is not limited in this embodiment.
[0222] S102: The device cloud server 210 sends the download information corresponding to the first service card package to the first network application in the electronic device 100, and the first network application in the electronic device 100 sends the download information corresponding to the first service card package to the LPA service in the electronic device 100.
[0223] In some embodiments, the first service card plan may correspond to multiple profiles of different operators. Optionally, the first service card plan may be a service card plan for a first destination, and may correspond to multiple profiles of different operators contracted in the first destination. For example, the first service card plan may be the "Country A" data plan shown in Figures 11A-11B, and the first service card plan may correspond to multiple profiles of different operators contracted in "Country A". The download information corresponding to the first service card plan may be the download information of multiple profiles corresponding to the first service card plan.
[0224] The following explanation uses the first profile of the first operator and the second profile of the second operator corresponding to the first service card package as an example. Therefore, the download information corresponding to the first service card package can include download information 1 of the first profile and download information 2 of the second profile.
[0225] In some embodiments, the download information for a profile may include the download address of the profile, such as the address information of an SM-DP / SM-DP+ used to provide the download service for the profile, and optionally may also include relevant information such as keys and certificate indexes. In some examples, the download information for the profile may be in the format of an activation code (e.g., a QR code).
[0226] Understandably, after receiving the download information corresponding to the first service card package, the electronic device 100 can download multiple profiles corresponding to the first service card package based on the download information. S103-S108 below exemplarily illustrate the process of downloading the first profile of the first operator, and S109-S114 below exemplarily illustrate the process of downloading the second profile of the second operator. The implementation order of downloading the first profile and downloading the second profile in this application embodiment is not limited.
[0227] Figure 13 illustrates this by taking the example of the first operator's operator server 221 providing the download service for the first profile and the second operator's operator server 222 providing the download service for the second profile.
[0228] S103: The LPA service in electronic device 100 performs first profile download authentication with the operator server 221 of the first operator based on the download information 1 corresponding to the first service card package.
[0229] In some embodiments, the electronic device 100 can obtain the download address of the first profile according to the download information 1, and perform download authentication with the operator server 221 (e.g., SM-DP or SM-DP+) of the first operator corresponding to the download address 1. After the download authentication is successful, the electronic device 100 is allowed to download the first profile.
[0230] S104: The LPA service in electronic device 100 obtains information from the eSIM module 103 in electronic device 100.
[0231] In some embodiments, the information of the eSIM module 103 may include the identifier of the eSIM module 103, such as the embedded UICC identifier (EID).
[0232] S105: The LPA service in electronic device 100 downloads the first profile of the first operator from the operator server 221 of the first operator based on the information of eSIM module 103.
[0233] In some embodiments, the electronic device 100 may send a download request for a first profile to the operator server 221 of the first operator. This download request may carry information about the eSIM module 103. After receiving the download request for the first profile, the operator server 221 of the first operator may send the first profile to the electronic device 100 since the electronic device 100 has passed the download authentication for the first profile.
[0234] S106: The LPA service in electronic device 100 sends the first profile to the eSIM module 103 in electronic device 100.
[0235] S107: The eSIM module 103 in the electronic device 100 stores the first profile.
[0236] S108: The eSIM module 103 in the electronic device 100 sends a success notification message to the LPA service in the electronic device 100, and the LPA service in the electronic device 100 sends a success notification message to the operator server 221 of the first operator.
[0237] In some embodiments, after the eSIM module 103 in the electronic device 100 successfully stores / installs the first profile, it can send a success notification message to the LPA service indicating successful installation / storage of the first profile. Then, the LPA service in the electronic device 100 can send a success notification message to the operator server 221 of the first operator indicating successful download of the first profile.
[0238] S109: The LPA service in electronic device 100 performs second profile download authentication with the operator server 222 of the second operator based on the download information 2 corresponding to the first service card package.
[0239] S110: The LPA service in electronic device 100 obtains information from the eSIM module 103 in electronic device 100.
[0240] S111: The LPA service in electronic device 100 downloads the second profile of the second operator from the operator server 222 of the second operator based on the information of eSIM module 103.
[0241] S112: The LPA service in electronic device 100 sends a second profile to the eSIM module 103 in electronic device 100.
[0242] S113: The eSIM module 103 in the electronic device 100 stores the second profile.
[0243] S114: The eSIM module 103 in the electronic device 100 sends a success notification message to the LPA service in the electronic device 100, and the LPA service in the electronic device 100 sends a success notification message to the operator server 222 of the second operator.
[0244] The explanations for S109-S114 are similar to those for S103-S108, and will not be repeated here.
[0245] Not limited to the above embodiments, in other embodiments, the information of the eSIM module 103 may not be used when downloading the profile. For example, the International Mobile Equipment Identity (IMEI) or other identification information of the electronic device 100 may be used. Therefore, S104 and S110 are optional steps, and the information of the eSIM module 103 is not used in S105 and S111.
[0246] Not limited to the above embodiments, in some other embodiments, success notification messages may not be sent. Therefore, S108 and S114 are optional steps.
[0247] Not limited to the profile download process shown in Figure 13, in some other embodiments, the electronic device 100 may also download the first profile and the second profile from the device cloud server 210. The embodiments of this application do not limit the devices and specific implementation methods involved in the profile download process.
[0248] The network switching method provided in the embodiments of this application will be introduced next.
[0249] Figure 14 is a flowchart illustrating a network switching method provided in an embodiment of this application. This method can be applied to the electronic device 100 shown in Figure 1. This method can also be applied to the electronic device 100 shown in Figures 3-5.
[0250] The method shown in Figure 14 may include, but is not limited to, the following steps:
[0251] S201: When the first communication module in the mobile communication module 102 of the electronic device 100 is mapped to the first pSIM in the plug-in SIM module 104 of the electronic device 100, the first communication module accesses the network of the third operator based on the first pSIM.
[0252] In some embodiments, when the first communication module is mapped to a first pSIM of a third operator, for example, if the electronic device 100 is configured by default to map the first communication module to the first pSIM, the first communication module can access the network of the third operator based on the first pSIM. Optionally, the first pSIM and the network of the third operator can be used to implement the services of the electronic device 100. The services of the electronic device 100 include, but are not limited to, one or more of the following: voice call services, SMS services, and data communication services.
[0253] In some embodiments, in S201, the electronic device 100 may display a mobile communication identifier corresponding to the first communication module in the status bar. This mobile communication identifier may indicate that it has accessed the network of a third operator. Optionally, the first communication module may use a first pSIM to perform data communication services and other services with the network of a third operator. Therefore, the mobile communication identifier corresponding to the first communication module may include a mobile data identifier to indicate that data communication services are being performed through the accessed third operator's network. Examples of the electronic device 100 shown in S201, and examples of the mobile communication identifier corresponding to the first communication module, can be found in Figures 6A, 7A, 8A, 9A, or 10A.
[0254] S202: The processor 101 of the electronic device 100 determines that the first service card package is enabled.
[0255] In some embodiments, prior to S202, the electronic device 100 can download multiple profiles of different operators corresponding to the first service card package and store these multiple profiles in the eSIM module 103. An example of the profile download process can be found in Figure 13.
[0256] In some embodiments, the electronic device 100 may receive input from a user indicating that the first service card plan is enabled, and in response to the input, determine that the first service card plan is enabled. However, this is not a limitation; in other embodiments, the electronic device 100 may also determine to enable the first service card plan when it detects that the conditions for enabling the first service card plan are met. For example, the condition for enabling the first service card plan may be that the electronic device 100 reaches the first destination corresponding to the first service card plan.
[0257] S203: The processor 101 of the electronic device 100 sends first instruction information to the first communication module in the mobile communication module 102 of the electronic device 100.
[0258] S204: The first communication module in the mobile communication module 102 of the electronic device 100 instructs the eSIM module 103 of the electronic device 100 to activate the first profile.
[0259] S205: The eSIM module 103 of the electronic device 100 activates the first profile.
[0260] S206: The first communication module in the mobile communication module 102 of the electronic device 100 is switched to the first profile in the eSIM module 103 of the electronic device 100.
[0261] S207: The first communication module in the mobile communication module 102 of the electronic device 100 accesses the network of the first operator based on the first profile.
[0262] In some embodiments, when the electronic device 100 determines that a first service card package is enabled, it can activate a first profile through a first communication module and switch the mapping of the first communication module from the first pSIM to the first profile. The electronic device 100 can then access the network of the first operator through the first communication module based on the first profile. Optionally, the electronic device 100 can use the first profile and the network of the first operator through the first communication module to implement services (such as data communication services, voice services, SMS services, etc.) of the electronic device 100. When implementing the above process, the electronic device 100 can execute S203-S207.
[0263] In some embodiments, the first communication module may execute S204-S207 according to the first indication information. In some examples, the first indication information may carry the identifier of the first profile (e.g., ISD P-AID). The first indication information may be used to instruct the first communication module to register on the network through the first profile. The embodiments of this application do not limit the specific indication content and information carried by the first indication information.
[0264] In some embodiments, the first profile can be any one of multiple profiles from different operators corresponding to the first service card package.
[0265] In some embodiments, the processor 101 of the electronic device 100 can determine the first profile from multiple profiles corresponding to the first service card package according to a preset rule 1. In some examples, the preset rule 1 may include one or more of the following: other devices (such as a communication map server or a device cloud server, etc.) instruct the electronic device 100 to access the network of the first operator corresponding to the first profile; the electronic device 100 is located within the coverage area of the first operator corresponding to the first profile; the signal quality of the first profile is good (e.g., greater than a quality threshold, or better than the signal quality of other profiles, etc.); the tariff of the first profile is low (e.g., less than a tariff threshold, or lower than the tariff of other profiles, etc.). The preset rule 1 used to determine the first profile is not limited in this application embodiment.
[0266] The communication map server can maintain a first communication map, which may include information about multiple operator networks, such as information about multiple operator networks corresponding to a first service card package. In some examples, the information of any operator network in the first communication map may include the coverage area of that operator network, optional information such as signal quality, etc. In some embodiments, the communication map server can determine the operator network that the electronic device 100 needs to access based on the first communication map and indicate this to the electronic device 100. In some embodiments, the communication map server can receive one or more of the following from the electronic device 100: real-time location, accessed operator network, and signal quality. The communication map server can determine the operator network that the electronic device 100 needs to access based on the information reported by the electronic device 100 and the first communication map.
[0267] S208: The processor 101 of the electronic device 100 determines that the conditions for switching operator networks are met.
[0268] In some embodiments, upon receiving a first notification message from a communication map server, the electronic device 100 can determine that the conditions for switching operator networks are met. The first notification message can instruct the electronic device 100 to switch operator networks, and optionally, it can instruct the electronic device 100 to switch to a target operator network, such as instructing the electronic device 100 to switch to the network of a second operator. The communication map server can determine whether the electronic device 100 needs to switch operator networks, optionally and the target operator network, based on a first communication map, and then send the first notification message to the electronic device 100. In some examples, the communication map server can receive the real-time location and accessed operator network reported by the electronic device 100, optionally along with signal quality. The communication map server can determine whether the electronic device 100 needs to switch operator networks, optionally and the target operator network, based on the information reported by the electronic device 100 and the first communication map. Not limited thereto, in other examples, the first notification message can also instruct the electronic device 100 to access the network of a second operator. This application embodiment does not limit the specific instructions and information carried by the first notification message.
[0269] In other embodiments, the electronic device 100 may also detect the signal quality parameters of the currently accessed first operator's network. If the signal quality parameters are less than a preset threshold, it is determined that the conditions for switching operator networks are met. The signal quality parameters are, for example, but not limited to, quality of service (QoS).
[0270] Not limited to this, in other embodiments, the electronic device 100 can search and detect one or more public land mobile networks (PLMNs) in the current area in real time. If the one or more PLMNs are different from the previously detected PLMNs, it is determined that the conditions for switching operator networks are met. The embodiments of this application do not limit the method used to determine the conditions for switching operator networks.
[0271] S209: The processor 101 of the electronic device 100 determines the second profile and the second communication module.
[0272] In some embodiments, if the electronic device 100 determines that the conditions for switching carrier networks are met, it can determine a second profile from multiple profiles corresponding to the first service card package according to preset rule 2. The second profile is different from the first profile. The second profile is the profile that the electronic device 100 determines needs to switch to.
[0273] The example of preset rule 2 is similar to the example of preset rule 1 shown in S207. In some examples, it is assumed that the multiple profiles corresponding to the first service card package include the first profile of the first operator, the second profile of the second operator, and the third profile of the fifth operator. The electronic device 100 can receive a first notification message sent by the communication map server. The first notification message indicates that the target operator network that the electronic device 100 needs to switch to includes the network of the second operator corresponding to the second profile and the network of the fifth operator corresponding to the third profile. The electronic device 100 can obtain the tariff corresponding to the second profile and the tariff corresponding to the third profile. When the tariff corresponding to the second profile is lower than the tariff corresponding to the third profile, the electronic device 100 can determine to use the second profile. The embodiments of this application do not limit the preset rule 2 used to determine the second profile.
[0274] In some embodiments, when the electronic device 100 determines that the conditions for switching operator networks are met, it can determine a second communication module from among the multiple communication modules included in the mobile communication module 102 according to preset rule 3. The second communication module is different from the first communication module. The second communication module is the communication module determined by the electronic device 100 for implementing the network switching process, and the second communication module is also the communication module determined by the electronic device 100 for activating the second profile.
[0275] In some examples, preset rule 3 may include: preferentially selecting the second communication module in an idle state. For example, mobile communication module 102 includes a first communication module, a second communication module, and a third communication module. When the second communication module is in an idle state (i.e., not mapped to any profile and any pSIM) and the third communication module is not in an idle state (i.e., a mapped profile / pSIM exists), electronic device 100 may determine to use the second communication module to activate the second profile.
[0276] In some examples, the preset rule 3 may include one or more of the following: when multiple communication modules are not idle, the communication module that is not currently performing a service is preferentially selected; when multiple communication modules are not idle, the communication module with the lower priority of the mapped pSIM / profile is preferentially selected; when multiple communication modules are not idle, the communication module with the lower priority is preferentially selected. For example, mobile communication module 102 includes a first communication module, a second communication module, and a third communication module. Assuming that the second and third communication modules are not idle, when the second communication module is using the mapped pSIM / profile to perform a service (such as a call or SMS service), and the third communication module is not performing a service, the electronic device 100 can determine to use the second communication module to activate the second profile.
[0277] In some examples, default rule 3 may include: when multiple communication modules are in an idle state, the communication module with lower priority is selected first.
[0278] Not limited to the preset rule 3 in the above example, in other examples, preset rule 3 may also include randomly selecting a communication module when multiple communication modules are in an idle state. In other examples, preset rule 3 may also include: when multiple communication modules are not in an idle state and are all performing services, the communication module with the lower priority of the performing service is selected first. The preset rule 3 used to determine the second communication module is not limited in the embodiments of this application.
[0279] In some embodiments, if the electronic device 100 does not have the smart internet access function enabled, and the second communication module is not idle but not currently performing a service, the subsequent steps in Figure 14 can continue to be executed. If the second communication module is not idle and is currently performing a service, the network switching process is not performed, i.e., the subsequent steps in Figure 14 are not executed. If the electronic device 100 has the smart internet access function enabled, even if the second communication module is not idle and is currently performing a service, the subsequent steps in Figure 14 can continue to be executed. In some examples, the electronic device 100 can enable the smart internet access function in response to a user operation; see Figure 12 for specific examples. However, it is not limited to this. In other examples, the electronic device 100 can also automatically enable the smart internet access function when it detects that the conditions for enabling the smart internet access function are met.
[0280] S210: The processor 101 of the electronic device 100 sends second instruction information to the second communication module in the mobile communication module 102 of the electronic device 100.
[0281] S211: The second communication module in the mobile communication module 102 of the electronic device 100 instructs the eSIM module 103 of the electronic device 100 to activate the second profile.
[0282] S212: The eSIM module 103 of the electronic device 100 activates the second profile.
[0283] S213: The second communication module in the mobile communication module 102 of the electronic device 100 is mapped to the second profile in the eSIM module 103 of the electronic device 100.
[0284] S214: The second communication module in the mobile communication module 102 of the electronic device 100 accesses the network of the second operator based on the second profile.
[0285] In some embodiments, if the electronic device 100 determines that the conditions for switching operator networks are met, it can activate the second profile through the second communication module and map the second communication module to the second profile, i.e., the electronic device 100 can execute S210-S213. Optionally, the electronic device 100 can access the network of the second operator based on the second profile through the second communication module, i.e., S214 is an optional step. Optionally, after the electronic device 100 accesses the network of the second operator based on the second profile through the second communication module, i.e., after S214, the electronic device 100 can use the second profile and the network of the second operator through the second communication module to implement the services of the electronic device 100 (e.g., voice service, SMS service, etc.).
[0286] In some embodiments, the second communication module may execute S211-S214 according to the second indication information. In some examples, the second indication information may carry the identifier of the second profile (e.g., ISD P-AID). For example, the second indication information may be used to instruct the second communication module to activate the second profile, optionally and to instruct the second communication module to map to the second profile. For another example, the second indication information may be used to instruct the second communication module to register on the network through the second profile. The embodiments of this application do not limit the specific indication content and carried information of the second indication information.
[0287] S215: The processor 101 of the electronic device 100 sends third instruction information to the first communication module in the mobile communication module 102 of the electronic device 100.
[0288] S216: The first communication module in the mobile communication module 102 of the electronic device 100 is switched to the second profile in the eSIM module 103 of the electronic device 100.
[0289] S217: The first communication module in the mobile communication module 102 of the electronic device 100 uses the second profile to implement the services of the electronic device 100 with the network of the second operator.
[0290] In some embodiments, after the electronic device 100 activates the second profile through the second communication module and maps the second communication module to the second profile (i.e., after S210-S214), the electronic device 100 can switch the mapping of the first communication module from the first profile to the second profile, i.e., execute S215-S216. Then, the electronic device 100 can use the second profile through the first communication module to implement the services of the electronic device 100 (e.g., data communication services, voice services, SMS services, etc.) with the network of the second operator, i.e., execute S217.
[0291] In some embodiments, after the electronic device 100 switches and maps the first communication module to the second profile, it can access the network of the second operator through the first communication module based on the second profile. Then, the electronic device 100 can use the second profile and the network of the second operator to perform its services. In this case, step S214 may or may not be executed. In other embodiments, if the second communication module has already accessed the network of the second operator based on the second profile (i.e., step S214 has been executed), after the electronic device 100 switches and maps the first communication module to the second profile, it can also bypass accessing the network of the second operator through the first communication module. Instead, the first communication module directly uses the second profile and the network of the second operator accessed through the second communication module to perform its services. This allows the second communication module to access the network of the second operator in advance based on the second profile. After the first communication module switches and maps to the second profile, it does not need to re-register on the network; instead, it directly performs its services, avoiding network outages during network switching that could prevent normal service delivery or service lag. This makes the network switching process more seamless for the user.
[0292] In some embodiments, the first communication module may execute S216-S217 according to the third indication information. In some examples, the third indication information may carry the identifier of the second profile (e.g., ISD P-AID). For example, the third indication information may be used to indicate that the first communication module is mapped to the second profile. Or, for example, the third indication information may be used to indicate that the first communication module implements the services of the electronic device 100 through the second profile. The embodiments of this application do not limit the specific indication content and carried information of the third indication information.
[0293] S218: The processor 101 of the electronic device 100 sends a fourth instruction message to the first communication module in the mobile communication module 102 of the electronic device 100.
[0294] S219: The first communication module in the mobile communication module 102 of the electronic device 100 instructs the eSIM module 103 of the electronic device 100 to activate the first profile.
[0295] S220: The eSIM module 103 of the electronic device 100 is deactivated in the first profile.
[0296] In some embodiments, after the electronic device 100 switches the mapping of the first communication module to the second profile, i.e., after S216, the electronic device 100 can activate the first profile through the first communication module, i.e., execute S218-S220. After the first profile is deactivated, the electronic device 100 can disconnect from the network of the first operator corresponding to the first profile.
[0297] In some embodiments, the first communication module may execute S219 according to the fourth instruction information. In some examples, the fourth instruction information may carry the identifier of the first profile (e.g., ISD P-AID). For example, the fourth instruction information may be used to instruct the first communication module to activate the first profile. The embodiments of this application do not limit the specific instruction content and information carried by the fourth instruction information.
[0298] In some embodiments, after the processor 101 sends the second indication information to the second communication module in the mobile communication module 102 (i.e., after S210), if the second communication module is in an idle state, the electronic device 100 can directly execute S211-S214. In other embodiments, if the second communication module is not in an idle state (assuming it is mapped to the first SIM, which is a profile or pSIM), in S213, the electronic device 100 can switch the mapping of the second communication module from the third pSIM to the second profile, and the original mapping relationship of the second communication module is canceled. Furthermore, after the electronic device 100 switches the mapping of the first communication module to the second profile (i.e., after S216), the electronic device 100 can remap the second communication module to the third pSIM, and the original mapping relationship of the second communication module is restored. This can reduce the impact on services related to the second communication module. For an implementation example of the second communication module being in an idle state, see Figures 6A-6D and 7A-7D. For an implementation example of Figure 14 when the second communication module is not in an idle state, please refer to Figures 8A-8D and 9A-9D.
[0299] Not limited to the sequence of steps shown in Figure 14, in some embodiments, S219-S220 may be executed before or simultaneously with S216-S217. In other embodiments, S219-S220 may also be executed before or simultaneously with S211-S214.
[0300] Not limited to the process shown in Figure 14, in some embodiments, the second instruction information in S210 and the third instruction information in S215 can be combined into a single instruction information and sent together in S210. After receiving the instruction information sent by the processor 101, the mobile communication module 102 of the electronic device 100 can first execute S211-S214, and then execute S216-S217. In some embodiments, the third instruction information in S215 and the fourth instruction information in S218 can be combined into a single instruction information and sent together in S215. After receiving the instruction information sent by the processor 101, the mobile communication module 102 of the electronic device 100 can execute S216-S217, and then execute S219-S220. In some other embodiments, the second indication information in S210, the third indication information in S215, and the fourth indication information in S218 can be combined into a single indication information and sent together in S210. After receiving the indication information sent by the processor 101, the mobile communication module 102 of the electronic device 100 can first execute S211-S214, and then execute S216-S217 and S219-S220.
[0301] Not limited to the embodiment shown in FIG14, in other embodiments, the processor 101 may send first indication information / second indication information / third indication information / fourth indication information to the mobile communication module 102. For example, these indication information are used to instruct the mobile communication module 102 to perform corresponding operations, rather than instructing the first communication module / second communication module to perform corresponding operations. The mobile communication module 102 can independently control the communication modules in the mobile communication module 102 to perform corresponding operations.
[0302] Not limited to the embodiment shown in FIG14, in some other embodiments, S208 may not be executed, or S208 may be replaced by other judgment processes. The embodiments of this application do not limit the conditions for triggering the execution of at least one of S209-S220 in FIG14.
[0303] Not limited to the above embodiments, in some other embodiments, the second profile may be activated directly through the first communication module instead of through the second communication module. For example, S209-S214 in FIG14 can be replaced by: the processor 101 sending an instruction message to the first communication module in the mobile communication module 102, and the first communication module instructing the eSIM module 103 to activate the second profile according to the instruction message.
[0304] Not limited to the above embodiments, in other embodiments, the first profile may not be activated, for example, S218-S220 shown in FIG14 may not be executed.
[0305] Not limited to the above embodiments, in other embodiments, before the electronic device 100 determines to activate the first service card package, the first communication module may not be mapped to the first pSIM, for example, it may be mapped to another pSIM or profile, or the first communication module may be in an idle state.
[0306] Not limited to the above embodiments, in other embodiments, the electronic device 100 may not download multiple profiles corresponding to the first service card package in advance. For example, the profile may be downloaded only when it is to be activated and used. The embodiments of this application do not limit the timing of profile download.
[0307] Not limited to the above embodiments, in other embodiments, the first profile and the second profile may not be the profile corresponding to the first service card plan. The user does not need to purchase the first service card plan in advance, and the electronic device 100 does not activate and use the first profile when activating the first service card plan. The first profile and the second profile may be downloaded in other scenarios. The electronic device 100 can determine whether the conditions for using the first profile / second profile to realize the service are met (such as whether it is within the coverage area of the corresponding operator). When the conditions are met, the first profile / second profile is activated and used.
[0308] Figure 15 is a flowchart illustrating a network handover method according to an embodiment of this application. The method shown in Figure 15 can be applied to the electronic device 100 shown in Figure 1. The method shown in Figure 15 can also be applied to the electronic devices 100 shown in Figures 3-5. In some embodiments, the electronic device 100 may include a first communication module, a second communication module, and an eSIM module.
[0309] The method shown in Figure 15 may include, but is not limited to, the following steps:
[0310] S301: Electronic device 100 activates the first profile and accesses the first operator's network based on the first profile.
[0311] In some embodiments, the electronic device 100 can activate the first profile of the first operator in the eSIM module through the first communication module, and access the network of the first operator (hereinafter referred to as the first operator network) based on the first profile through the first communication module.
[0312] In some embodiments, after the electronic device 100 accesses the network of the first operator through the first communication module based on the first profile, it can use the first communication module to use the first profile to conduct services of the electronic device 100 with the network of the first operator, such as data communication services, voice services and SMS services.
[0313] In some embodiments, the electronic device 100 can activate the first profile through the first communication module and map the first communication module to the first profile. Then, the electronic device 100 can access the network of the first operator through the first communication module based on the first profile. For specific implementation examples, see S202-S207 of FIG14.
[0314] S302: Electronic device 100 activates the second profile, which is used to access the second operator's network.
[0315] In some embodiments, when the first profile is active, the electronic device 100 activates the second profile of the second operator, wherein the second profile is used to access the network of the second operator (which may be simply referred to as the second operator network).
[0316] In some embodiments, when the electronic device 100 determines that the conditions for switching operator networks are met, it can activate a second profile to switch from a first operator network to a second operator network. An example of the electronic device 100 determining whether the conditions for switching operator networks are met can be found in S208 of FIG14.
[0317] In some embodiments, the electronic device 100 may determine the second profile to be activated according to a preset rule, and a specific example can be found in S209 of FIG14.
[0318] In some embodiments, the electronic device 100 can activate the second profile through the first communication module or the second communication module. For specific implementation examples, see S210-S212 of FIG14.
[0319] S303: Electronic device 100 uses the second profile in an active state to conduct services with the second operator network and deactivates the first profile.
[0320] In some embodiments, after activating the second profile, the electronic device 100 can access the second operator network based on the activated second profile. Then, it can use the activated second profile and the second operator network to implement services for the electronic device 100, such as one or more of data communication services, voice calls, and SMS services. Furthermore, after activating the second profile, the electronic device 100 can deactivate the first profile. Specific implementation examples can be found in S215-S220 of Figure 14. The execution order of accessing the second operator network based on the activated second profile and deactivating the first profile is not limited. The execution order of using the activated second profile and the second operator network to implement services for the electronic device 100 and deactivating the first profile is not limited. After the first profile is deactivated, the electronic device 100 disconnects from the first operator network.
[0321] In some embodiments, after the electronic device 100 accesses the network of the first operator based on the first profile through the first communication module (i.e., after S301), the electronic device 100 can activate the second profile and access the network of the second operator based on the activated second profile (i.e., execute S302). Then, the electronic device 100 can switch between using the second profile and the second operator network for electronic device services through the first communication module (i.e., execute S303).
[0322] In some embodiments, after the electronic device 100 maps the first communication module to the first profile and accesses the network of the first operator through the first communication module based on the first profile (i.e., after S301), the electronic device 100 can activate the second profile and access the network of the second operator based on the activated second profile (i.e., execute S302). Then, the electronic device 100 can switch the mapping of the first communication module from the first profile to the second profile, and use the second profile through the first communication module to conduct electronic device services with the second operator network (i.e., execute S303). For specific implementation examples, please refer to S215-S217 of FIG14.
[0323] In some embodiments, the electronic device 100 can implement the network switching process through the first communication module. Therefore, the electronic device 100 can switch the mapping of the first communication module from a first profile to a second profile, access the second operator's network through the first communication module based on the mapped second profile, and then use the second profile to conduct services with the second operator's network through the first communication module. Specific implementation examples can be found in Figures 10A-10D.
[0324] In some embodiments, the electronic device 100 can implement the network switching process using the second communication module. Therefore, the electronic device 100 can activate the second profile (i.e., execute S302) through the second communication module and map the second communication module to the second profile. Then, the electronic device 100 can access the second operator's network based on the second profile through the second communication module. Specific implementation examples can be found in S210-S214 of Figure 14. Subsequently, when S303 is executed, the electronic device 100 switches the mapping of the first communication module from the first profile to the second profile. When the first communication module switches to the second profile, it directly connects to the second operator's network. Therefore, the electronic device 100 can directly use the mapped second profile and the second operator's network accessed through the second communication module to perform electronic device services. Specific implementation examples can be found in S215-S217 of Figure 14. In some examples, the execution order of electronic device 100 switching the mapping of the first communication module from the first profile to the second profile and deactivating the first profile is not limited. For example, in Figure 14, electronic device 100 switches the mapping of the first communication module from the first profile to the second profile and then deactivates the first profile. Examples of the above network switching process can be found in Figures 6A-6D, 7A-7D, 8A-8D, and 9A-9D.
[0325] Not limited to the above embodiments, in other embodiments, when the electronic device 100 accesses the second operator network through the second communication module based on the second profile, after the electronic device 100 switches the mapping of the first communication module from the first profile to the second profile, it can also re-access the second operator network through the first communication module based on the mapped second profile, and then use the second profile through the first communication module to conduct electronic device services with the second operator network.
[0326] In some embodiments, the electronic device 100 may determine a second communication module for activating and mapping a second profile (i.e., by means of a second communication module for implementing the network switching process) according to a preset rule, and a specific example can be found in S209 of FIG14.
[0327] In some embodiments, before mapping the second communication module to the second profile, the electronic device 100 can first determine whether the second communication module is in an idle state. If the second communication module is in an idle state, it is directly mapped to the second profile. Examples of this implementation can be found in Figures 6A-6D and 7A-7D. If the second communication module is not in an idle state but is already mapped to the first SIM, it is switched from being mapped to the first SIM to being mapped to the second profile. In this case, after the electronic device subsequently switches the first communication module from being mapped to the first profile to being mapped to the second profile, the second communication module can be restored to being mapped to the first SIM. Examples of this implementation can be found in Figures 8A-8D and 9A-9D.
[0328] In some embodiments, when the second communication module is mapped to the first SIM, and the electronic device switches the mapping of the second communication module from the first SIM to the second profile, it can determine whether the first SIM is currently performing a service (e.g., a call). If the first SIM is not currently performing a service, the electronic device switches the mapping of the second communication module from the first SIM to the second profile. If the first SIM is currently performing a service, the electronic device does not use the second communication module to perform the network switching process. For example, this logic is implemented when the smart internet access function of the electronic device 100 is not enabled. In other embodiments, if the smart internet access function is enabled, the electronic device can switch the mapping of the second communication module from the first SIM to the second profile regardless of whether the first SIM is currently performing a service (e.g., a call). After the electronic device switches the mapping of the first communication module from the first profile to the second profile, it can restore the mapping of the second communication module to the first SIM, and the service performed by the first SIM can return to normal. Specific implementation examples can be found in Figure 12 and its related description.
[0329] In some embodiments, prior to S301, the electronic device 100 can download the first profile and the second profile from the cloud server, and then store the first profile and the second profile. A specific implementation example can be found in Figure 13.
[0330] The above embodiments illustrate the use of the first communication module switching to use the second profile and the network of the second operator to implement the services of electronic device 100. In other embodiments, when electronic device 100 accesses the network of the first operator through the first communication module based on the first profile (optionally using the first profile and the network of the first operator to implement the services of electronic device 100), if the conditions for switching operator networks are met, electronic device 100 can access the network of the second operator through the second communication module based on the second profile, and directly implement the services of electronic device 100 using the second profile and the network of the second operator through the second communication module. Furthermore, electronic device 100 can activate the first profile through the first communication module (for example, after the second communication module accesses the network of the second operator based on the second profile), at which point the connection to the network of the first operator can be disconnected, thereby achieving a switch from the network of the first operator to the network of the second operator. Optionally, before the conditions for switching operator networks are met, if the second communication module has a mapped pSIM / profile, then under the conditions for switching operator networks, the first communication module can switch from mapping to the first profile to mapping to the pSIM / profile mapped by the second communication module. In this way, electronic device 100 can access the network of a second operator while connected to the first operator's network, and then use the second communication module to access the network of a second operator based on the second profile. Subsequently, electronic device 100 can directly access the internet through the second communication module and the second operator's network, instead of first disconnecting from the first operator's network, then accessing the second operator's network based on the second profile, and then switching to the second profile for internet access. Therefore, network outages during network switching are avoided. Furthermore, the first communication module can switch its mapping to the pSIM / profile previously mapped to the second communication module, avoiding any impact on the related services of the pSIM / profile previously mapped to the second communication module, further improving the user experience.
[0331] As one possible product form, the electronic device 100 described in this application embodiment can be implemented using a general bus architecture.
[0332] Figure 16 is a schematic diagram of the structure of the device 1600 provided in an embodiment of this application. The device 1600 may be an electronic device 100, or a device therein.
[0333] As shown in Figure 16, the device 1600 includes a processor 1601, and optionally a transceiver 1602 internally connected and communicating with the processor 1601. The processor 1601 can be a general-purpose processor or a dedicated processor, such as a central processing unit (CPU). The transceiver 1602, also known as a transceiver unit, transceiver, or transceiver circuit, is used to implement transceiver functions. The transceiver 1602 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.
[0334] In some embodiments, the device 1600 may further include an antenna 1603 and / or a radio frequency unit (not shown in FIG16). The antenna 1603 and / or the radio frequency unit may be located inside the device 1600 or may be separate from the device 1600, i.e., the antenna 1603 and / or the radio frequency unit may be deployed remotely or in a distributed manner.
[0335] In some embodiments, the device 1600 may include one or more memories 1604, which may store instructions, which may be computer programs, that can be executed on the device 1600 to cause the device 1600 to perform the method steps described in the foregoing embodiments of this application. Optionally, the memory 1604 may also store data. The device 1600 and the memory 1604 may be provided separately or integrated together.
[0336] The processor 1601, transceiver 1602, and memory 1604 shown in Figure 16 can be connected via a communication bus.
[0337] In any of the above designs, the processor 1601 may include a transceiver for implementing receive and transmit 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 receive and transmit 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.
[0338] In any of the above designs, the processor 1601 may store instructions, which may be computer programs. These computer programs, running on the processor 1601, cause the device 1600 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 1601; in this case, the processor 1601 may be implemented in hardware.
[0339] In one implementation, device 1600 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.
[0340] The scope of the device 1600 described in this application embodiment is not limited thereto, and the structure of the device is not limited to FIG. 16. Device 1600 may be a standalone device or part of a larger device. For example, the above-described device 1600 may be:
[0341] (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.
[0342] 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.
[0343] 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.
[0344] 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.
[0345] 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 method includes: Activate the first profile and access the first operator's network based on the first profile; Activate the second profile, which is used to access the second operator's network; The second profile, which is in an active state, is used to conduct services with the second operator network for the electronic device, and the first profile is deactivated.
2. The method as described in claim 1, characterized in that, The electronic device includes an embedded user identification eSIM module, a first communication module, and a second communication module. The eSIM module is used to store the first profile and the second profile. Activating the first profile and accessing the first operator's network based on the first profile includes: The first profile in the eSIM module is activated through the first communication module, and the first operator's network is accessed through the first communication module based on the first profile. Activating the second profile includes: The second profile in the eSIM module is activated via the first communication module or the second communication module. The use of the second profile in an active state to conduct services with the second operator network for the electronic device includes: The electronic device switches to use the second profile and the second operator's network for services via the first communication module.
3. The method as described in claim 2, characterized in that, The step of activating the first profile in the eSIM module through the first communication module and accessing the first operator's network based on the first profile through the first communication module includes: The first profile is activated through the first communication module, and the first communication module is mapped to the first profile. The first communication module accesses the first operator's network based on the mapped first profile; The step of switching the electronic device to use the second profile and the second operator network via the first communication module includes: Switch the mapping of the first communication module from the first profile to the second profile; The first communication module accesses the second operator's network based on the mapped second profile; The electronic device uses the second profile to conduct services with the second operator network through the first communication module.
4. The method as described in claim 2, characterized in that, The step of activating the first profile in the eSIM module through the first communication module and accessing the first operator's network based on the first profile through the first communication module includes: The first profile is activated through the first communication module, and the first communication module is mapped to the first profile. The first communication module accesses the first operator's network based on the mapped first profile; Activating the second profile in the eSIM module via the first communication module or the second communication module includes: The second profile is activated through the second communication module, and the second communication module is mapped to the second profile. The method further includes: After activating the second profile through the second communication module and mapping the second communication module to the second profile, the second operator's network is accessed through the second communication module based on the mapped second profile; The step of switching the electronic device to use the second profile and the second operator network via the first communication module includes: After the second communication module accesses the second operator's network based on the mapped second profile, the first communication module is switched from being mapped to the first profile to being mapped to the second profile; The electronic device uses the mapped second profile through the first communication module to conduct services with the second operator network that it has already connected to.
5. The method as described in claim 4, characterized in that, Mapping the second communication module to the second profile includes: if the second communication module is in an idle state, then mapping the second communication module to the second profile; or, The step of mapping the second communication module to the second profile includes: if the second communication module is already mapped to the first user identification module (SIM), then switching the mapping of the second communication module from the first SIM to the second profile; the method further includes: after switching the mapping of the first communication module from the first profile to the second profile, mapping the second communication module to the first SIM.
6. The method as described in claim 5, characterized in that, The step of switching the mapping of the second communication module from the first SIM to the second profile includes: If the second communication module has been mapped to the first SIM, determine whether the first SIM is currently performing a service of the electronic device; If the first SIM is not currently performing a service on the electronic device, the second communication module will be switched from being mapped to the first SIM to being mapped to the second profile.
7. The method as described in claim 5, characterized in that, The method further includes: Before switching the mapping of the second communication module from the first SIM to the second profile, a first input from the user to enable the smart internet access function is received, and in response to the first input, the smart internet access function is enabled; The step of switching the mapping of the second communication module from the first SIM to the second profile includes: If the second communication module is mapped to the first SIM and the first SIM is in the state of performing the electronic device's service, and if the smart internet access function of the electronic device is enabled, then the second communication module will be switched from being mapped to the first SIM to being mapped to the second profile.
8. The method according to any one of claims 4-7, characterized in that, The electronic device further includes a third communication module, and the method further includes: When the second communication module is idle and the third communication module is not idle, the second communication module used to activate and map the second profile is determined from the second communication module and the third communication module; or... When the first SIM mapped by the second communication module is not in a state of active service, and the second SIM mapped by the third communication module is in a state of active service, the second communication module used to activate and map the second profile is determined from the second communication module and the third communication module; or... When the first SIM mapped by the second communication module is in the state of performing a first service, and the second SIM mapped by the third communication module is in the state of performing a second service, the second communication module for activating and mapping the second profile is determined from the second communication module and the third communication module, wherein the priority of the first service is lower than the priority of the second service.
9. The method according to any one of claims 1-8, characterized in that, Activating the second profile includes: If it is determined that the conditions for switching carrier networks are met, activate the second profile; The method further includes: Upon receiving a first notification message from a communication map server, it is determined that the conditions for switching operator networks are met. The communication map server maintains a first communication map, which includes information about the first operator network and information about the second operator network. The first notification message is determined based on the first communication map and instructs the electronic device to access the second operator network; or... When the signal quality parameter of the first operator's network is detected to be less than a preset threshold, it is determined that the conditions for switching operator networks are met.
10. The method according to any one of claims 1-9, characterized in that, The method further includes: Before activating the first profile and accessing the first operator's network based on the first profile, the first profile and the second profile are downloaded from the cloud server; Store the first profile and the second profile.
11. 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 in the method as described in any one of claims 1-10.
12. An electronic device, characterized in that, The method includes a first communication module, a second communication module, and an eSIM module. The first communication module is used to perform the steps performed by the first communication module in the method as described in any one of claims 1-10. The second communication module is used to perform the steps performed by the second communication module in the method as described in any one of claims 1-10. The eSIM module is used to perform the steps performed by the eSIM module in the method as described in any one of claims 1-10.
13. 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-10.
14. 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-10.
15. 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-10.