Esim management method and related apparatus
By determining the address and location of the profile server within the eSIM device, the download and activation of illegal profiles are prohibited, thus resolving security issues in eSIM module management and improving service security within the region.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2026-01-12
- Publication Date
- 2026-07-23
AI Technical Summary
Because eSIM modules can flexibly choose operators, operators find it difficult to effectively manage eSIM services, which affects the security of mobile communication networks.
The system obtains the address information of the configuration file server through electronic devices, determines whether it belongs to the first region's operator, and prohibits the download or activation of operator profiles in other regions if it does not belong to the first region or the device is not in the first region, and outputs a prompt to prevent illegal download and activation.
This enhances the security of using eSIM services within the first region, preventing operators from other regions from conducting business operations within the first region.
Smart Images

Figure CN2026072065_23072026_PF_FP_ABST
Abstract
Description
eSIM management methods and related devices
[0001] This application claims priority to Chinese Patent Application No. 202510061195.9, filed on January 14, 2025, entitled “eSIM Management 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 an eSIM management method and related apparatus. Background Technology
[0003] In the field of mobile communications, with the development of mobile communication technology, an increasing number of electronic devices support the use of embedded subscriber identity modules (eSIM) to communicate with operators' networks. The eSIM solution embeds the traditional SIM card directly into the electronic device's chip, rather than adding it as a separate removable component, eliminating the need for users to insert a physical SIM card. This solution allows users greater flexibility in choosing operators and rewriting new phone numbers into the eSIM module of their electronic devices. However, because the eSIM module allows for flexible operator selection, operators face difficulties in effectively managing eSIM services, potentially impacting the security of mobile communication networks. Summary of the Invention
[0004] This application provides an eSIM management method and related apparatus, which prevents electronic devices located in a first region from downloading the first profile of operators in other regions, thereby improving the security of using eSIM services in the first region.
[0005] In a first aspect, this application provides an eSIM management method, comprising: an electronic device obtaining download information of a first profile, the download information of which includes the address of a profile server; if the address of the profile server does not belong to an operator in a first region and the first location of the electronic device is within the first region, outputting a first prompt, the first prompt being used to prompt the user that the download of the first profile is not allowed.
[0006] The eSIM management method provided in this application embodiment enables an electronic device to obtain download information for a first profile after activating eSIM service. If the download information for the first profile indicates that the address of the configuration file server does not belong to an operator in a first region, and the electronic device is located in the first region, then the first profile will not be downloaded, and a first prompt will be output. The first prompt is used to inform the user that downloading the first profile of the eSIM module is not allowed. In this way, electronic devices located in the first region can be prevented from downloading the first profile of operators in other regions, thereby improving the security of using eSIM services within the first region.
[0007] In one possible implementation, if the address of the profile server belongs to an operator in the first region, or if the address of the profile server does not belong to an operator in the first region but the first location of the electronic device is not in the first region, the electronic device downloads the first profile from the profile server to the eSIM module of the electronic device.
[0008] This allows electronic devices located in the first region to download the first profile of the operator in the first region, or electronic devices located in other regions to download the first profile of the operator in other regions.
[0009] In one possible implementation, after the electronic device downloads the first profile from the profile server to the electronic device's eSIM module, the method further includes: the electronic device activating the first profile in the eSIM module.
[0010] This allows electronic devices to activate and use the first profile after it has been downloaded.
[0011] In one possible implementation, after the electronic device downloads the first profile from the profile server to the eSIM module of the electronic device, the method further includes: the electronic device detecting a first event activating the first profile; in response to the first event, if the operator of the first profile does not belong to the first region and the second location of the electronic device is within the first region, outputting a second prompt, the second prompt being used to prompt the user that the activation of the first profile is not allowed.
[0012] In this way, when an electronic device successfully subscribes to the eSIM service and downloads the first profile, but does not activate it, the device can detect the first event of activating the first profile (e.g., receiving a user's activation command). The device can then determine whether the operator of the first profile belongs to the first region and whether the electronic device is located within the first region. This allows the device to prevent the activation of a first profile downloaded from an operator in another region while it is in the first region. For example, if an electronic device downloaded a first profile from an operator in another region but did not activate it, when the user moves the electronic device to the first region, the device can prevent the activation of the first profile. This prevents operators in other regions from already activating eSIM services from operating within the first region, thereby improving the security of using eSIM services within the first region.
[0013] In one possible implementation, the method further includes: in response to the first event, if the operator of the first profile belongs to the first region, or if the operator of the first profile does not belong to the first region but the second location of the electronic device is not in the first region, the electronic device activates the first profile in the eSIM module.
[0014] This allows electronic devices located in the first region to activate the first profile of the operator in the first region, or electronic devices located in other regions to activate the first profile of the operator in other regions.
[0015] In one possible implementation, the method further includes: after the first profile in the eSIM module is activated, if the operator of the first profile does not belong to the first region and the third location of the electronic device is within the first region, the electronic device deactivates the first profile in the eSIM module.
[0016] In this way, after the electronic device downloads and activates the first profile, it can detect whether its location has changed. If the location has changed, the electronic device can determine whether the carrier of the first profile belongs to the first region and whether the electronic device is already in the first region. If the carrier of the first profile does not belong to the first region but the electronic device is already in the first region, the electronic device can deactivate the first profile, thus switching it to a deactivated state. This way, even if a first profile downloaded from a carrier in another region has already been activated, when the electronic device moves to the first region, it can deactivate the first profile, switching it to a deactivated state and disabling its use. This prevents activated eSIM services from carriers in other regions from operating within the first region, thereby improving the security of using eSIM services within the first region.
[0017] In one possible implementation, the electronic device obtains the download information of the first profile, specifically including: the electronic device receiving the download information of the first profile sent by the service server.
[0018] In this way, when the owner of an electronic device subscribes to an eSIM service offline with an operator, the operator's staff can upload the service information of the user's electronic device to the service server via other devices. Alternatively, the electronic device can receive and respond to the user's input in a network application indicating that they have purchased an eSIM service, and send the electronic device's service information to the service server. The service server can then work with a configuration file server to generate a first profile and its download information. The service server can also push the first profile download information to the electronic device via a push server. This allows users to easily download the eSIM profile onto their electronic devices.
[0019] In one possible implementation, the electronic device obtains the download information of the first profile, specifically including: the electronic device acquiring a QR code through a camera; and the electronic device identifying the download information of the first profile from the QR code.
[0020] This makes it convenient for users to download the eSIM profile on their electronic devices.
[0021] In one possible implementation, the electronic device obtains the download information of the first profile, specifically by receiving the download information of the first profile input by the user.
[0022] This allows users to download profiles to their electronic devices by entering the profile download information.
[0023] In one possible implementation, if the address of the configuration file server does not belong to the operator of the first region and the first location of the electronic device is within the first region, the first prompt is output. Specifically, this includes: if it is determined that the address of the configuration file server does not belong to the operator of the first region, obtaining the first location of the electronic device; if the first location of the electronic device is within the first region, outputting the first prompt.
[0024] In one possible implementation, in response to the first event, if the operator of the first profile does not belong to the first region and the second location of the electronic device is within the first region, a second prompt is output, specifically including: in response to the first event, obtaining the operator information of the first profile; if it is determined from the operator information of the first profile that the operator of the first profile does not belong to the first region, obtaining the second location of the electronic device; if the second location of the electronic device is within the first region, outputting the second prompt.
[0025] In one possible implementation, the operator information of the first profile is the operator code in the integrated circuit identification code (ICCID) of the first profile.
[0026] In this way, the carrier information of the first profile can be obtained through the ICCID of the first profile.
[0027] In one possible implementation, the operator information of the first profile is the Mobile Country Code (MCC) in the International Mobile Subscriber Identity (IMSI) of the first profile.
[0028] In this way, the carrier information of the first profile can be obtained through the IMSI of the first profile.
[0029] In one possible implementation, after the electronic device activates the first profile in the eSIM module, the method further includes: the electronic device sending an activation success notification to the configuration server, the activation success notification indicating that the electronic device has successfully activated the first profile.
[0030] In one possible implementation, after the electronic device deactivates the first profile in the eSIM module, the method further includes: the electronic device sending a deactivation success notification to the profile server, the deactivation success notification indicating that the electronic device has successfully deactivated the first profile.
[0031] In one possible implementation, after the electronic device downloads the first profile from the profile server to the eSIM module, the method further includes: the electronic device sending a download completion notification to the profile server, the download completion notification indicating that the electronic device has successfully downloaded the first profile.
[0032] In one possible implementation, the first region is pre-installed in the electronic device.
[0033] In one possible implementation, the first region is the place where the electronic device is sold.
[0034] This prevents electronic devices from downloading and using profiles from regions outside the country of sale, thus improving the security of using eSIM on electronic devices in the country of sale.
[0035] Secondly, this application provides an electronic device including: an eSIM module, one or more processors, and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store a computer program. When the one or more processors execute the computer program, they implement the eSIM management method in any possible implementation of any of the above aspects.
[0036] Thirdly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when run on a processor, implements the eSIM management method in any of the possible implementations of any of the above aspects.
[0037] Fourthly, embodiments of this application provide a computer program product, including a computer program that, when run on a processor, implements the eSIM management method in any of the possible implementations of any of the above aspects.
[0038] Fifthly, embodiments of this application provide a chip system, characterized in that it includes a processing circuit and an interface circuit, the interface circuit being used to receive code instructions and transmit them to the processing circuit, the processing circuit being used to execute the code instructions to implement the eSIM management method in any possible implementation of any of the above aspects. Attached Figure Description
[0039] Figure 1 is a schematic diagram of the architecture of a communication system provided in an embodiment of this application;
[0040] Figure 2 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application;
[0041] Figure 3 is a schematic diagram of the hardware structure of a cloud server provided in an embodiment of this application;
[0042] Figure 4 is a hardware and software architecture diagram of an electronic device provided in an embodiment of this application;
[0043] Figures 5A-5E are schematic diagrams of the interface for configuring eSIM when a set of electronic devices are powered on, according to embodiments of this application.
[0044] Figures 6A-6D are schematic diagrams of the interface for configuring eSIM through a network application for a group of electronic devices provided in the embodiments of this application;
[0045] Figures 7A-7I are schematic diagrams of the interface for configuring eSIM by scanning a target QR code in a set of electronic devices provided in the embodiments of this application;
[0046] Figures 8A-8C are schematic diagrams of the interface for enabling eSIM service on a set of electronic devices provided in the embodiments of this application;
[0047] Figure 9 is a flowchart illustrating an eSIM management method provided in an embodiment of this application;
[0048] Figure 10 is a flowchart illustrating an eSIM management method provided in an embodiment of this application;
[0049] Figure 11 is a flowchart illustrating an eSIM management method provided in an embodiment of this application. Detailed Implementation
[0050] The technical solutions in the embodiments of this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the word "and / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.
[0051] 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.
[0052] Figure 1 is a schematic diagram of the architecture of a communication system 10 provided in an embodiment of this application.
[0053] As shown in Figure 1, the communication system 10 may include an electronic device 100 and a cloud server 200. The cloud server 200 may include a business server 201 and a configuration file server 202.
[0054] The service server 201 can be used to manage the subscription relationship of profiles and process eSIM services. Specifically, after any electronic device downloads the operator's profile corresponding to the cloud server 200, if the service server 201 configures a subscription relationship for that profile for the electronic device, the electronic device can use that profile to register with the network. If the service server 201 does not configure a subscription relationship for that profile for the electronic device, the electronic device cannot use that profile to register with the network.
[0055] Profile server 202 can be used for profile download services. For example, profile server 202 can be a subscription manager-data preparation server (SM-DP) or a subscription manager-data preparation plus server (SM-DP+).
[0056] In one possible implementation, the service server 201 may include a mobile network operator (MNO) server. The MNO server may include a business and operation support system (BOSS) server, an entitlement server (ES), an authentication authorization accounting (AAA) server, and a home subscriber register (HSS), etc., without limitation. Optionally, the service server 201 may also include a subscription server corresponding to the network application.
[0057] In one possible implementation, the cloud server 200 may also include a discovery server. The discovery server can be used to detect whether the electronic device 100 is connected to the internet and to push information to the electronic device 100, such as eSIM profile download information.
[0058] In this application embodiment, 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), as well as 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.
[0059] Figure 2 is a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of this application.
[0060] As shown in Figure 2, 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 receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and an embedded subscriber identity module (eSIM) module 195, 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 sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0061] Processor 110 may include one or more processing units, such as application processor (AP), 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). These different processing units may be independent devices or integrated into one or more processors.
[0062] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.
[0063] The processor 110 may also include a memory for storing instructions and data. In one embodiment, 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 directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0064] In one embodiment, the processor 110 may include one or more interfaces. The 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 SIM interface, and / or a universal serial bus (USB) interface, etc.
[0065] 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 implementations, the charging management module 140 receives charging input from the wired charger via the USB interface 130. In some wireless charging implementations, 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.
[0066] 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, providing power to the processor 110, internal memory 121, display screen 194, camera 193, and wireless communication module 160, 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 another embodiment, the power management module 141 can also be located within the processor 110. In yet another embodiment, the power management module 141 and the charging management module 140 can be housed in the same device.
[0067] 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.
[0068] Antennas 1 and 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. When an antenna covers multiple communication frequency bands for different communication methods, it can be called a cooperative antenna. For an explanation of cooperative antennas, please refer to the descriptions of antenna cooperative situations one, two, and three above. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In another embodiment, the antenna can be used in conjunction with a tuning switch.
[0069] 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 one embodiment, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In another embodiment, 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.
[0070] 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 the application processor. The application processor outputs sound signals through audio devices (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In one embodiment, the modem processor may be a separate device. In another embodiment, 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.
[0071] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), and SparkLink Alliance-standard wireless communication technologies (such as SLE and SLB). 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.
[0072] In one embodiment, 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), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, 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).
[0073] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0074] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can 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 one embodiment, electronic device 100 may include N displays screens 194, where N is a positive integer greater than 1.
[0075] Electronic device 100 can perform shooting functions through ISP, camera 193, video codec, GPU, display 194 and application processor.
[0076] 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, converting it into an image visible to the naked eye. The ISP can also perform algorithmic optimization on image noise, brightness, etc. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In one embodiment, the ISP can be set in the camera 193.
[0077] 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 one embodiment, electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0078] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 100 selects a frequency, the DSP can perform Fourier transforms on the frequency energy.
[0079] Video codecs are used to compress or decompress digital video. Electronic device 100 may support one or more video codecs. Thus, electronic device 100 can play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0080] An NPU (Neural Processing Unit) is a computational processor for neural networks (NNs). By borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it can rapidly process input information and continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.
[0081] The external storage 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 storage interface 120 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0082] Internal memory 121 can be used to store computer executable program code, which includes instructions. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 110 executes various functional applications and data processing of electronic device 100 by running instructions stored in internal memory 121 and / or instructions stored in memory located in the processor.
[0083] Electronic device 100 can implement audio functions through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor. Electronic device 100 can also implement audio functions through connected Bluetooth devices, such as music playback and recording.
[0084] 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 one embodiment, the audio module 170 can be located in the processor 110, or some functional modules of the audio module 170 can be located in the processor 110.
[0085] 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.
[0086] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a telephone call or voice message, the receiver 170B can be brought close to the ear to listen to the voice.
[0087] Microphone 170C, 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 170C, inputting the sound signal into microphone 170C. Electronic device 100 can be equipped with at least one microphone 170C. In another embodiment, electronic device 100 can be equipped with two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In yet another embodiment, electronic device 100 can also be equipped with three, four, or more microphones 170C, enabling sound signal collection, noise reduction, sound source identification, and directional recording, among other functions.
[0088] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In one embodiment, pressure sensor 180A can be disposed on display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the intensity of the touch operation based on pressure sensor 180A. Electronic device 100 can also calculate the touch position based on the detection signal from pressure sensor 180A. In one embodiment, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.
[0089] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. The barometric pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a Hall effect sensor. The accelerometer sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The distance sensor 180F is used to measure distance. The proximity sensor 180G may include, for example, a light-emitting diode (LED) and a photodetector, such as a photodiode. The LED may be an infrared LED. The ambient light sensor 180L is used to sense ambient light intensity. The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can utilize the collected fingerprint characteristics to achieve fingerprint unlocking, accessing application locks, fingerprint photography, fingerprint answering of calls, etc. The temperature sensor 180J is used to detect temperature. The bone conduction sensor 180M can acquire vibration signals.
[0090] Touch sensor 180K, also known as a "touch device," can be located on display screen 194. The touch sensor 180K and display screen 194 together form a touchscreen, also known as a "touchscreen." Touch sensor 180K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 194. In another embodiment, touch sensor 180K can also be located on the surface of electronic device 100, in a different position than display screen 194.
[0091] Buttons 190 include a power button, volume buttons, etc. Buttons 190 can be mechanical buttons or touch buttons. Electronic device 100 can receive button input and generate key signal inputs related to user settings and function control of electronic device 100. Motor 191 can generate vibration prompts. Indicator 192 can be an indicator light, used to indicate charging status, battery level changes, and also to indicate messages, missed calls, notifications, etc.
[0092] The eSIM module 195 can be embedded in the electronic device 100, for example, in a non-removable form, such as within the motherboard of the electronic device 100. It can replace a physical subscriber identity module (SIM) card (i.e., a physical SIM (pSIM)) for interaction between the electronic device 100 and the network, enabling functions such as calls and data communication. However, the eSIM module 195 is generally much smaller. The eSIM can also be referred to as an embedded universal integrated circuit card (eUICC). Unlike a physical SIM card, the eSIM module 195 allows for easy switching of phone numbers or changing of operators because the information on the eSIM module 195 is rewritable. The eSIM module 195 can be remotely configured via over-the-air (OTA) technology, enabling the downloading, activation, deactivation, and deletion of profiles.
[0093] The eSIM module 195 can store one or more profiles. A profile may include card information for one or more non-physical SIM cards (referred to as eSIMs). For ease of explanation, this embodiment of the application will be described using an example where a profile includes the card information of one eSIM.
[0094] The card information may include, but is not limited to, one or more of the following: 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), and 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).
[0095] The hardware structure of the cloud server 200 provided in this application embodiment is described below.
[0096] Figure 3 shows a schematic diagram of the hardware structure of a cloud server 200 provided in an embodiment of this application.
[0097] As shown in Figure 3, the cloud server 200 includes one or more processors 211, communication interfaces 212, and memory 213. The processors 211, communication interfaces 212, and memory 213 can be connected via a bus 214 or other means. This embodiment of the application takes the connection via bus 214 as an example.
[0098] in:
[0099] The processor 211 may consist of one or more general-purpose processors, such as a CPU. The processor 211 can be used to run program code related to the device control method.
[0100] The communication interface 212 can be a wired interface (e.g., an Ethernet interface) or a wireless interface (e.g., a cellular network interface or a wireless LAN interface) for communicating with other nodes. In this embodiment, the communication interface 212 is specifically used to communicate with the electronic device 100.
[0101] Memory 213 may include volatile memory, such as RAM; memory may also include non-volatile memory, such as ROM, flash memory, HDD, or solid-state disk (SSD); memory 213 may also include combinations of the above types of memory. Memory 213 can be used to store a set of program code so that processor 211 can call the program code stored in memory 213 to implement the implementation method of the cloud server in the embodiments of this application. In the embodiments of this application, memory 213 may also be a storage array, etc.
[0102] It should be noted that the cloud server 200 shown in Figure 3 is only one implementation of the embodiment of this application. In actual applications, the cloud server 200 may include more or fewer components, which is not limited here.
[0103] Figure 4 shows a hardware and software architecture diagram of an electronic device 100 provided in an embodiment of this application.
[0104] As shown in Figure 4, the electronic device 100 may include a processor 110, a mobile communication module 150, an eSIM module 195, and a positioning module 161. The processor 110 may run network applications and a local profile assistant (LPA).
[0105] Among them, network applications can be used for functions such as eSIM service activation. Network applications can be applications developed by operators, native applications developed by manufacturers of electronic devices 100, or third-party applications; there are no restrictions here.
[0106] LPA can be used to manage profiles in the eSIM module 195, such as downloading, activating, deactivating, and deleting them. LPA can obtain user operation events related to the profile from network applications and manage the profile in the eSIM module 195 based on these events. Examples include downloading, activating, and deactivating the profile.
[0107] The mobile communication module 150 can be used to implement the mobile communication function of the electronic device 100. For example, the mobile communication module 150 may include a modem. A description of the eSIM module 195 can be found in the textual description of the eSIM module 195 in Figure 2, and will not be repeated here. In some embodiments of this application, the mobile communication module 150 and the eSIM module 195 can communicate via a standard protocol (e.g., an International Organization for Standardization (ISO) standard). Specifically, the LPA can transmit instructions to the eSIM module 195 via the mobile communication module 150 to manage the Profile in the eSIM module 195.
[0108] In some embodiments of this application, any one of the profiles in the eSIM module 195 of the electronic device 100 can be activated, and the electronic device 100 can communicate with the Internet through the activated profile to realize user services such as making calls and accessing the Internet.
[0109] The positioning module 161 can measure and acquire the location of the electronic device 100 and report the location of the electronic device 100 to the location service. After acquiring the location of the electronic device 100, the location service can provide the location of the electronic device 100 to other modules. For example, the positioning module 161 can provide the location of the electronic device 100 to the LPA.
[0110] In one possible implementation, the positioning module 161 can also directly report the location of the electronic device 100 to the LPA.
[0111] Due to insufficient data interoperability between operators in different regions, and the flexible activation methods of eSIM services, some electronic devices, when using eSIM services across regions, bypass operator oversight and engage in activities that compromise the security of communication networks in a particular region. This reduces the security of the communication network in that area.
[0112] Therefore, the eSIM management method provided in this application embodiment can enable electronic device 100 to obtain the download information of the first profile after successfully subscribing to the eSIM service. If the download information of the first profile indicates that the address of the configuration file server does not belong to the first region and the electronic device 100 is located in the first region, the first profile will not be downloaded and a first prompt will be output. The first prompt is used to inform the user that the download of the first profile of the eSIM module is not allowed. If the download information of the first profile indicates that the address of the configuration file server belongs to the operator in the first region, or the address of the configuration file server does not belong to the operator in the first region but the electronic device 100 is not located in the first region, then the first profile can be downloaded. In this way, during the eSIM service activation phase, electronic device 100 located in the first region can be prohibited from downloading the first profile of operators in other regions, thereby improving the security of using the eSIM service in the first region.
[0113] The process of the eSIM management method provided in this application embodiment is described in detail below with reference to the application scenario.
[0114] In some application scenarios, users can subscribe to eSIM services offline with an operator when purchasing electronic device 100. Operator staff can upload the service information of the purchased electronic device 100 to the service server 201 via other devices. The service server 201 can generate a first profile and download information for the first profile based on the service information of the electronic device 100 and the configuration file server 202. Specifically, the service server 201 can push the download information of the first profile to the electronic device 100 after it is powered on via a push server. Upon receiving the download information of the first profile, if the electronic device 100 detects that the address of the configuration file server does not belong to a server address in the first region and the electronic device 100 is located in the first region, it will not download the first profile and will output a first prompt, indicating that the download of the first profile of the eSIM module is not allowed. If the download information of the first profile detects that the address of the configuration file server belongs to an operator in the first region, or if the address of the configuration file server does not belong to an operator in the first region but the electronic device 100 is not located in the first region, then the first profile can be downloaded. For example, if a user purchases electronic device 100 in another region and subscribes to eSIM services with operators in other regions, and then moves electronic device 100 to the first region and turns it on again, the electronic device 100 can be prevented from downloading the eSIM's first profile. This prevents electronic device 100 in the first region from downloading the first profile of operators in other regions, thereby improving the security of using eSIM services within the first region.
[0115] Figures 5A-5E illustrate exemplary schematic diagrams of the interface for configuring eSIM on a group of electronic devices 100 when powered on, according to an embodiment of this application.
[0116] As shown in Figure 5A, after the electronic device 100 is powered on for the first time, it can enter the configuration process and display a welcome screen 510. This welcome screen 510 may include an "Instant Experience" control 511.
[0117] Electronic device 100 can receive user input (e.g., a click) to the instant experience control 511, and in response to the input, electronic device 100 can display the WLAN network settings interface 520 as shown in FIG5B.
[0118] As shown in Figure 5B, the WLAN network settings interface 520 may include settings for one or more networks. For example, the network corresponding to setting item 521 may be the "Wi-Fi001" network. The electronic device 100 can receive user input on setting item 521 (e.g., click) and connect to the network corresponding to setting item 521.
[0119] As shown in Figure 5C, after the electronic device 100 connects to the network, it can display an activation interface 530. This activation interface 530 may include an activation prompt 531. For example, the activation prompt 531 may be the text message "Activating device, please wait a few minutes." Since the user has already activated the eSIM service for the electronic device 100 offline, the service server 201 stores the download information for the first profile prepared by the electronic device 100. The service server 201 can send the download information for the first profile to the push server. The push server may store the device information of the electronic device 100. After the electronic device 100 connects to the network, the push server can detect that the electronic device 100 is connected to the network based on its device information and send the download information for the first profile to the electronic device 100.
[0120] As shown in Figure 5D, after receiving the download information for the first Profile, the electronic device 100 can display a cellular network configuration interface 540. The cellular network configuration interface 540 can include a configuration prompt 541 and a configuration stage prompt 542. The configuration prompt 541 can be used to inform the user that the cellular network is being configured. For example, the configuration prompt 541 can be the text prompt "Configuring cellular network". The configuration stage prompt 542 can be used to inform the user of the stage of cellular network configuration. For example, the configuration stage prompt 542 can be the text prompt "Attempting to download eSIM profile". After receiving the download information for the first Profile, the electronic device 100 can obtain the address of the profile server 202 based on the download information of the first Profile. If the address of the profile server 202 does not belong to an operator in the first region and the location of the electronic device 100 is within the first region, the electronic device 100 can display a configuration failure interface 550 as shown in Figure 5E.
[0121] As shown in Figure 5E, the configuration failure interface 550 may include a configuration failure message 551 and a configuration failure reason message 552. The configuration failure message 551 can be used to inform the user that eSIM configuration has failed. The configuration failure reason message 552 can be used to inform the user that the download of the eSIM's first profile is not allowed. For example, the configuration failure message 551 may be the text message "eSIM configuration file download failed." The configuration failure reason message 552 may be the text message "Unable to download eSIM configuration file because your region does not match the region where eSIM service is available."
[0122] In one possible implementation, electronic device 100 can receive download information for multiple profiles sent by service server 201 via push server, wherein the multiple profiles include a first profile. Therefore, electronic device 100 can display download options for multiple profiles. After receiving user input for the download option of the first profile, electronic device 100 can obtain the address of configuration file server 202 based on the download information of the first profile. If the address of configuration file server 202 does not belong to an operator in the first region and the location of electronic device 100 is within the first region, electronic device 100 can display a configuration failure interface 550 as shown in Figure 5E.
[0123] In one possible implementation, electronic device 100 can receive download information for multiple profiles sent by service server 201 via a push server, wherein the multiple profiles include a first profile. Electronic device 100 can obtain the address of the configuration file server for each profile based on the download information. If the address of the configuration file server for the first profile does not belong to an operator in a first region, and the location of electronic device 100 is within the first region, electronic device 100 can display a first prompt, which instructs the user that downloading the first profile is not permitted.
[0124] It should be noted that the process of activating eSIM service in the above example is only used to explain the embodiments of this application and is not intended to limit the scope of the application.
[0125] In some application scenarios, electronic device 100 can receive and respond to user input regarding purchasing eSIM services in a network application, sending service information of electronic device 100 to service server 201. Service server 201 can generate a first profile and download information for the first profile based on the service information and configuration file server 202. Specifically, service server 201 can push the download information for the first profile to electronic device 100. After receiving the download information for the first profile, if electronic device 100 detects that the address of the configuration file server does not belong to an operator in the first region and electronic device 100 is located in the first region, it will not download the first profile and will output a first prompt, which informs the user that downloading the first profile of the eSIM module is not allowed. If the download information for the first profile detects that the address of the configuration file server belongs to an operator in the first region, or if the address of the configuration file server does not belong to an operator in the first region but electronic device 100 is not located in the first region, then the first profile can be downloaded. For example, when a user uses electronic device 100 to purchase eSIM services from operators in other regions in the first region, downloading the first profile of operators in other regions can be prohibited in the first region. This prevents electronic devices 100 in the first region from downloading the first profile of operators in other regions, thereby improving the security of using eSIM services within the first region.
[0126] Figures 6A-6D illustrate exemplary schematic diagrams of the interface for configuring eSIM via a network application for a group of electronic devices 100 provided in the embodiments of this application.
[0127] As shown in Figure 6A, the electronic device 100 can display a network application interface 610. This network application interface 610 may include eSIM service package options 611. Package options 611 may include one or more of the following: the eSIM service name (e.g., "eSIM Package A"), the usage region (e.g., "Region B Only"), pricing information (e.g., 1GB data, 7-day usage period, price 20 yuan), and a purchase control 612.
[0128] After receiving input from the user into the purchase control 612 and completing the purchase of the eSIM service, the electronic device 100 can send its eSIM information to the service server 201. The service server 201 can then instruct the configuration file server 202 to generate a first profile based on the service information of the electronic device 100, and generate download information for the first profile. The service server 201 can then send the download information for the first profile to the electronic device 100. Upon receiving the download information for the first profile from the service server 201, the electronic device 100 can display a prompt window 620 as shown in Figure 6B.
[0129] As shown in Figure 6B, the prompt window 620 may include a download prompt 621, a confirmation control 622, and a cancellation control 623. The download prompt 621 can be used to prompt the user to download and activate the eSIM profile. For example, the download prompt 621 may be the text prompt "After eSIM activation, data usage in the coverage area will begin counting. It will automatically expire if not used within 7 days of activation. Confirm download and activation?". The confirmation control 622 can be used to trigger the electronic device 100 to begin the eSIM download phase. The cancellation control 623 can be used to trigger the electronic device 100 to close the prompt window 620. After the electronic device 100 closes the prompt window 620, it can receive and respond to input regarding the plan option 611, and display the prompt window 620 again.
[0130] Electronic device 100 can receive user input (e.g., click) to the confirmation control 622, and in response to the input, electronic device 100 can display eSIM configuration interface 630 as shown in FIG6C.
[0131] As shown in Figure 6C, the eSIM configuration interface 630 may include a configuration prompt 631. This configuration prompt 631 can be used to inform the user that an eSIM configuration file is being downloaded. When the eSIM configuration interface 630 is displayed, the electronic device 100 can obtain the address of the configuration file server 202 based on the download information of the first profile. If the address of the configuration file server 202 does not belong to an operator in the first region and the electronic device 100 is located within the first region, the electronic device 100 can display a download failure interface 640 as shown in Figure 6D.
[0132] As shown in Figure 6D, the download failure interface 640 may include a download failure message 641, a download failure reason message 642, and a return control 643. The download failure message 641 can be used to inform the user that downloading the eSIM profile failed. The download failure reason message 642 can be used to inform the user that downloading the first eSIM profile is not allowed. For example, the download failure message 641 may be the text message "eSIM profile download failed." The download failure reason message 642 may be the text message "The eSIM profile cannot be downloaded because your region does not match the region where eSIM service is available." The return control 643 can be used to trigger the electronic device 100 to return to the network application interface 610 shown in Figure 6B.
[0133] It should be noted that the process of activating eSIM service in the above example is only used to explain the embodiments of this application and is not intended to limit the scope of the application.
[0134] In some application scenarios, electronic device 100 can subscribe to eSIM services offline. Then, operator staff can upload the service information of the user-purchased electronic device 100 to service server 201 via other devices. Service server 201 can generate a first profile and download information for the first profile based on the service information of electronic device 100 and configuration file server 202. Service server 201 can generate a target QR code based on the download information of the first profile and send the target QR code to other devices. Electronic device 100 can obtain the download information of the first profile from the target QR code displayed on other devices. If the download information of the first profile indicates that the address of the configuration file server does not belong to an operator in the first region and electronic device 100 is located in the first region, the first profile will not be downloaded and a first prompt will be output, indicating to the user that downloading the first profile of the eSIM module is not allowed. If the download information of the first profile indicates that the address of the configuration file server belongs to an operator in the first region, or if the address of the configuration file server does not belong to an operator in the first region but electronic device 100 is not located in the first region, then the first profile can be downloaded. For example, if a user purchases electronic device 100 in another region and subscribes to eSIM services with operators in other regions, and then scans the target QR code provided by the operator in the other region only after the electronic device 100 has moved to the first region, the download of the eSIM's first profile can be prevented. This prevents the electronic device 100 in the first region from downloading the first profile of operators in other regions, thereby improving the security of using eSIM services within the first region.
[0135] Figures 7A-7I exemplarily illustrate a set of electronic devices 100 provided in an embodiment of this application configuring an eSIM by scanning a target QR code.
[0136] As shown in Figure 7A, the electronic device 100 can display a SIM card management interface 710 based on user input. This SIM card management interface 710 may include one or more SIM card options, a default mobile data setting option 713, and a default mobile data setting option 714. For example, the one or more SIM card options may include option 711 for card 1 and option 712 for card 2. The default mobile data setting option 713 can be used to set card 1 as the default for mobile data services. The default mobile data setting option 714 can be used to set card 2 as the default for mobile data services.
[0137] Electronic device 100 can receive user input of option 712 on card 2 (e.g., click), and in response to the input, electronic device 100 can display card settings interface 720 as shown in FIG7B.
[0138] As shown in Figure 7B, the card settings interface 720 may include a physical card settings option 721 and an eSIM settings option 722. When the physical card settings option 721 is selected, the electronic device 100 can display a physical card settings area 723 on the card settings interface 720. The physical card settings area 723 may include an enable switch 724, a card name 725 (e.g., operator A), and a mobile phone number 726 (e.g., "158xxxxx04").
[0139] As shown in Figure 7C, when the eSIM settings option 722 is selected, the electronic device 100 can display the eSIM settings area 727 in the card settings interface 720. This eSIM settings area 727 may include an add eSIM card control 729A and more controls 729B. The add eSIM card control 729A can be used to trigger the electronic device 100 to attempt to download a profile through some method. For example, obtaining a profile download message by scanning a QR code, or receiving user-input profile download information, etc. The more controls 729B can be used to trigger the electronic device 100 to display more eSIM-related function controls.
[0140] Electronic device 100 can receive input from the user to the add eSIM card control 729A (e.g., click), and in response to the input, electronic device 100 can turn on the camera and display the QR code scanning interface 730 as shown in Figure 7D.
[0141] As shown in Figure 7D, the QR code scanning interface 730 may include a gallery control 731, a scanning prompt 732, a scanning area 733, and a download information input area 734. The gallery control 731 can be used to trigger the electronic device 100 to select an image from its local gallery for scanning. The scanning prompt 732 can be used to prompt the user to scan the QR code to download the eSIM profile. For example, the scanning prompt 732 may be the text prompt "Scan the operator's QR code to download and activate the eSIM card." The scanning area 733 can be used to display the image captured by the camera of the electronic device 100. The download information input area 734 can be used to receive download information entered by the user (e.g., the activation code for the profile).
[0142] As shown in Figure 7E, when the electronic device 100 acquires the QR code 735 through its camera, it can display the QR code 735 in the scanning area 733. The electronic device 100 can obtain download information for the first profile from the QR code 735. If the electronic device 100 detects from the download information of the first profile that the address of the configuration file server 202 does not belong to an operator in the first region and the electronic device 100 is located in the first region, it will not download the first profile and will display a prompt window 740. This prompt window 740 may include a prompt message 741 and an "Understood" control 742. The prompt message 741 can be used to inform the user that downloading the first profile is not allowed. For example, the prompt message 741 may be the text "Your region does not match the region where eSIM service is available, therefore you cannot download the profile." The "Understood" control 742 can be used to trigger the electronic device 100 to close the prompt window 740.
[0143] As shown in Figure 7F, when the electronic device 100 acquires the QR code 736 through the camera, the electronic device 100 can display the QR code 736 in the scanning area 733. The electronic device 100 can obtain the download information of the first profile from the QR code 736. If the electronic device 100 detects from the download information of the first profile that the address of the profile server 202 belongs to an operator in the first region, or if the address of the profile server 202 does not belong to an operator in the first region but the location of the electronic device 100 does not belong to the first region, the download of the first profile is allowed and the add eSIM card interface 750 shown in Figure 7G is displayed.
[0144] As shown in Figure 7G, the eSIM card addition interface 750 may include an addition prompt 751, an activation option 752, and an addition control 753. The addition prompt 751 can be used to notify the user that a first profile can be downloaded. For example, the addition prompt 751 may be the text message "This eSIM card can now be downloaded and added to this device." The activation option 752 can be used to trigger the electronic device 100 to automatically start activating the first profile while downloading it. The addition control 753 can be used to trigger the electronic device 100 to download the first profile.
[0145] Electronic device 100 can receive user input (e.g., click) on the added control 753. In response to the input, electronic device 100 can download a first profile from profile server 202 and display download interface 760 as shown in FIG7H.
[0146] As shown in Figure 7H, the download interface 760 may include a download prompt 761. This download prompt 761 can be used to notify the user's electronic device 100 that it is downloading a first profile. For example, the download prompt 761 may be the text message "Download and install configuration file".
[0147] As shown in Figure 7I, after the electronic device 100 downloads the first profile, the electronic device 100 can return to the card settings interface 720, and display the eSIM settings option 728A in the eSIM settings area 727 of the card settings interface 720. The eSIM settings option 728A can display the operator name (e.g., "Operator C") and mobile phone number (e.g., "90xxxx52") of the downloaded eSIM's first profile.
[0148] In some application scenarios, electronic device 100 successfully subscribes to the eSIM service and downloads the first profile. However, electronic device 100 does not activate the first profile. Electronic device 100 can detect the activation event of the first profile (e.g., receiving a user's activation operation). Electronic device 100 can determine whether the operator of the first profile belongs to a first region and whether the location of electronic device 100 is within the first region. If the operator of the first profile does not belong to the first region and the location of electronic device 100 is within the first region, electronic device 100 can output a second prompt, which informs the user that activation of the first profile is not allowed. If the operator of the first profile belongs to the first region, or if the operator of the first profile does not belong to the first region but the location of electronic device 100 is not within the first region, electronic device 100 can activate the first profile. In this way, when the electronic device 100 is in the first region, the activation of the first profile downloaded by the operator in other regions can be prevented. For example, if the electronic device 100 has downloaded the first profile of the operator in another region but has not activated it, when the user moves the electronic device 100 to the first region, the electronic device 100 can prevent the activation of the first profile. This can prevent operators in other regions from having already activated eSIM services from using them in the first region, thereby improving the security of using eSIM services in the first region.
[0149] Figures 8A-8C exemplarily illustrate a set of electronic device 100 interfaces for enabling eSIM services according to embodiments of this application.
[0150] As shown in Figure 8A, after downloading the first profile, the electronic device 100 can display a card settings interface 720 based on user input. This card settings interface 720 may include physical card settings options 721 and eSIM settings options 722. When eSIM settings option 722 is selected, the electronic device 100 can display an eSIM settings area 727 in the card settings interface 720. This eSIM settings area 727 may include eSIM settings options 728A. eSIM settings option 728A may display the operator name (e.g., "Operator C") and phone number (e.g., "90xxxx52") of the downloaded eSIM's first profile.
[0151] Electronic device 100 can receive input from the user on the eSIM settings option 722 (e.g., a click), and in response to the input, electronic device 100 can display the eSIM settings interface 770 as shown in FIG8B.
[0152] As shown in Figure 8B, the eSIM settings interface 770 may include an enable switch 771, a card name 772, a phone number 773, and a carrier name 774. The enable switch 771 can be used to enable or disable the eSIM service. In Figure 8B, the enable switch 771 is in the off state. Optionally, the eSIM settings interface 770 may also include a delete control 775, which can be used to delete the first profile.
[0153] Electronic device 100 can receive input from a user to turn on the enable switch 771 (e.g., by clicking). In response to this input, if electronic device 100 can detect that the operator of the first profile does not belong to the first region and the location of electronic device 100 is within the first region, electronic device 100 can display a prompt window 780 as shown in FIG8C.
[0154] As shown in Figure 8C, the prompt window 780 may include an activation failure prompt 781, an activation failure reason prompt 782, and an acknowledgement control 783. The activation failure prompt 781 can be used to inform the user that eSIM activation failed. The activation failure reason prompt 782 can be used to inform the user that the first profile is not allowed to activate eSIM. For example, the activation failure reason prompt 782 may be the text message "Your region does not match the region where eSIM service is available, therefore eSIM cannot be activated." The acknowledgement control 783 can be used to trigger the electronic device 100 to close the prompt window 780.
[0155] It should be noted that the process of activating eSIM service in the above example is only used to explain the embodiments of this application and is not intended to limit the scope of the application.
[0156] In some application scenarios, after electronic device 100 downloads and activates the first profile, it can detect whether its location has changed. If the location has changed, it can determine whether the operator of the first profile belongs to the first region, and whether the electronic device 100 itself belongs to the first region. If the operator of the first profile does not belong to the first region, but the electronic device 100 is located within the first region, it can deactivate the first profile, thus switching it to a deactivated state. This way, even if a first profile downloaded from an operator in another region has already been activated, when the electronic device 100 moves to the first region, it can deactivate the first profile, switching it to a deactivated state and disabling its use. This prevents activated eSIM services from operators in other regions from operating within the first region, thereby improving the security of using eSIM services within the first region.
[0157] The following describes in detail an eSIM management method provided by an embodiment of this application.
[0158] Figure 9 illustrates, by way of example, a flowchart of an eSIM management method provided in an embodiment of this application.
[0159] As shown in Figure 9, this eSIM management method is applied to a communication system, which may include an electronic device 100 and a cloud server 200. The electronic device 100 may include an eSIM module 195 and an LPA. The cloud server 200 may include a service server 201 and a configuration file server 202. This eSIM management method may include an eSIM service activation phase, a profile download phase, and a profile activation phase.
[0160] The eSIM service activation stage may include steps S901 to S907. The profile download stage may include steps S908 to S916. The profile activation stage may include steps S917 to S918.
[0161] S901. Service server 201 sends a service acquisition request to LPA.
[0162] The service acquisition request is used to obtain service information from the electronic device 100. This service information may include eSIM information, which may include an embedded universal integrated circuit card identifier (EID). Optionally, the service information may also include device information of the electronic device 100, which may include an International Mobile Equipment Identity (IMEI), etc.
[0163] S902.LPA sends an eSIM information retrieval request to eSIM module 195.
[0164] Among them, the eSIM information retrieval request can be used to obtain eSIM information.
[0165] The S903 eSIM module 195 sends eSIM information to the LPA.
[0166] S904.LPA sends service information to service server 201.
[0167] The service information may include eSIM information. Optionally, the service information may also include device information of the electronic device 100.
[0168] S905. Service server 201 processes eSIM service based on service information.
[0169] In this scenario, the user of electronic device 100 can purchase eSIM services through a web application, thereby obtaining download information of the first profile sent by the service server 201. The interface diagram for purchasing eSIM services through the web application can be found in the embodiments shown in Figures 6A to 6D above, and will not be repeated here.
[0170] In one possible implementation, the electronic device 100 can also extract the download information of the first profile included in the QR code by scanning the QR code.
[0171] Steps S901 and S905 described above are optional. In one possible implementation, the user of electronic device 100 can apply for eSIM service at a physical retail store / service center. Then, the operator's staff can upload the eSIM information of the electronic device 100 purchased by the user to the service server 201 via other devices. The service server 201 can push the download information of the first profile to the electronic device 100 after it is powered on via a push server.
[0172] In one possible implementation, the user of electronic device 100 can purchase a dedicated eSIM service card for downloading profiles. The eSIM service card may contain a link or extraction code. Electronic device 100 can then receive the link or extraction code entered by the user and, using the entered link or extraction code, retrieve the download information for the first profile from service server 201.
[0173] S906. The business server 201 and the configuration file server 202 generate the first profile and the download information of the first profile.
[0174] Specifically, the business server 201 can send business information to the configuration file server 202. The configuration file server 202 can generate a first profile corresponding to the business information, as well as download information for the first profile. The configuration file server 202 can then send the download information for the first profile to the business server 201.
[0175] The first profile can be stored on the configuration file server 202, and the download information of the first profile can be stored on the business server 201.
[0176] S907. The business server 201 sends the download information of the first profile to the LPA.
[0177] The download information for the first profile includes the address of the configuration file server 202. The download information for the first profile may include an activation code (AC code).
[0178] For example, the activation code could be “1$esim.wo.cn$-5AVOJF60YABCDEF$1.3.6.1.4.1.47814.2.4$1”. Here, “esim.wo.cn” is the domain name of configuration file server 202, which is also the address of configuration file server 202.
[0179] In one possible implementation, the user of electronic device 100 can purchase eSIM services on a web application, thereby obtaining download information of the first profile sent by service server 201.
[0180] In one possible implementation, the user of electronic device 100 can apply for eSIM service at a physical retail store / service center or purchase a card specifically for downloading the eSIM profile. Then, electronic device 100 can receive a link or extraction code entered by the user and retrieve the download information for the first profile from service server 201 using the user-entered link or extraction code.
[0181] In one possible implementation, the electronic device 100 can also scan a QR code via a web application to obtain the download information of the first profile from the business server 201.
[0182] S908.LPA obtains the address of configuration file server 202 from the download information of the first profile.
[0183] S909.LPA determines whether the address of configuration file server 202 belongs to the operator in the first region.
[0184] The electronic device 100 may store a whitelist of operators in a first region. This whitelist may include the addresses of configuration file servers for all operators within the first region. The LPA can determine whether the address of configuration file server 202 is in the whitelist. If the address of configuration file server 202 is in the whitelist, the LPA can determine that the address of configuration file server 202 belongs to an operator in the first region. If the address of configuration file server 202 is not in the whitelist, the LPA can determine that the address of configuration file server 202 does not belong to an operator in the first region.
[0185] In one possible implementation, the first region can be preset and stored in the electronic device 100.
[0186] In one possible implementation, the first region can be the place of sale of electronic device 100.
[0187] S910. If the address of the configuration file server 202 does not belong to the operator of the first region, the LPA can obtain the first location of the electronic device 100.
[0188] The LPA can obtain the first location of the electronic device 100 through location services. The location services can locate the electronic device 100 using the positioning module 161 and / or the mobile communication module 150 to determine its first location. For example, the location services can obtain the first location of the electronic device 100 through satellite positioning using the positioning module 161. Alternatively, the location services can obtain the first location of the electronic device 100 through base station positioning using the mobile communication module 150. Another example is that the location services can obtain the public land mobile network (PLMN) of the searched network using the mobile communication module 150 to determine the first location of the electronic device 100. The PLMN may include a mobile country code (MCC) and a mobile network code (MNC). Therefore, the first location of the electronic device 100 can be determined based on the MCC in the PLMN.
[0189] S911.LPA can determine whether the first position of electronic device 100 is within the first region.
[0190] S912. If the address of the configuration file server 202 does not belong to the operator of the first region and the first location of the electronic device 100 is within the first region, the LPA can output a first prompt, which is used to prompt the user that the first profile of the eSIM is not allowed to be downloaded.
[0191] For example, the first prompt can refer to the configuration failure reason prompt 552 in the embodiment shown in Figure 5E, or the download failure reason prompt 642 in the embodiment shown in Figure 6D, or the prompt information 741 in the embodiment shown in Figure 7E. The specific content displayed for the first prompt can be referred to the foregoing embodiments, and will not be repeated here.
[0192] If the address of the configuration file server 202 belongs to the operator of the first region, or if the address of the configuration file server 202 does not belong to the operator of the first region but the first location of the electronic device 100 is not in the first region, then steps S913 to S919 are executed.
[0193] S913.LPA performs two-way authentication with configuration file server 202.
[0194] Specifically, the LPA can connect to the configuration file server 202 via its address and perform two-way authentication with the configuration file server 202. If the two-way authentication between the LPA and the configuration file server 202 is successful, the electronic device 100 can be allowed to download data from the configuration file server 202 through a secure transmission channel.
[0195] S914.LPA downloads the first profile from configuration file server 202 to eSIM module 195.
[0196] Specifically, the LPA can send a download request for the first profile to the configuration file server 202. This download request can carry download information for the first profile. After receiving the download request for the first profile, the configuration file server 202 can determine the first profile based on the download information and send the first profile to the LPA.
[0197] In one possible implementation, the download request for the first profile may also include eSIM information of the eSIM module 195, device identifier of the electronic device 100 (e.g., IMEI of the electronic device 100), or category identifier of the electronic device 100 (e.g., M2M device or smartphone), etc. This allows the profile server 202 to verify whether the electronic device 100 has permission to download the first profile. Once the profile server 202 verifies that the electronic device 100 has permission to download the first profile, it can send the first profile to the LPA.
[0198] After downloading the first profile, the LPA can send the first profile to the eSIM module 195.
[0199] The S915 eSIM module 195 stores the first profile, which is in a deactivated state.
[0200] The S916 eSIM module 195 sends a download completion notification to the configuration file server 202 via the LPA.
[0201] The download completion notification can be used to notify the configuration file server 202 that the first profile has been successfully downloaded.
[0202] S917.LPA sends an activation command to eSIM module 195.
[0203] The activation command can be used to instruct the eSIM module 195 to switch the first profile to the active state.
[0204] In one possible implementation, after the LPA downloads the first profile to the eSIM module 195, it can either activate the first profile directly or activate it after detecting user input to activate the first profile.
[0205] Upon receiving the activation command, the S918 eSIM module 195 switches the first profile to the activated state.
[0206] Electronic device 100 can authenticate with the operator network through the first profile that is in an active state. After successful authentication, electronic device 100 is allowed to access the operator network corresponding to that profile (i.e., completes network registration). Therefore, electronic device 100 can interact with the accessed operator network through the first profile to realize one or more of the following services: voice call service, SMS service, and data communication service.
[0207] The S919.eSIM module 195 sends an activation success notification to the configuration file server 202 via the LPA.
[0208] This activation success notification can be used to indicate that the first profile has been successfully activated.
[0209] The eSIM management method provided in this application embodiment enables an electronic device 100 to obtain download information for a first profile after activating eSIM service. If the download information for the first profile indicates that the address of the configuration file server does not belong to an operator in a first region and the electronic device 100 is located in the first region, the first profile will not be downloaded, and a first prompt will be output. The first prompt is used to inform the user that downloading the first profile of the eSIM module is not allowed. If the download information for the first profile indicates that the address of the configuration file server belongs to an operator in a first region, or if the address of the configuration file server does not belong to an operator in a first region but the electronic device 100 is not located in the first region, then the first profile can be downloaded. In this way, the electronic device 100 located in the first region can be prevented from downloading the first profile of operators in other regions, thereby improving the security of using eSIM service within the first region.
[0210] Figure 10 illustrates, by way of example, a flowchart of an eSIM management method provided in an embodiment of this application.
[0211] As shown in Figure 10, this eSIM management method is applied to electronic device 100. Electronic device 100 may include eSIM module 195 and LPA.
[0212] The eSIM management method may include steps S1001 to S1011.
[0213] The S1001.eSIM module 195 stores a first profile, and the first profile is in a deactivated state.
[0214] S1002.LPA detected the first event that activated the first profile.
[0215] The first event may be receiving input from the user to activate the first profile. For example, the input from the user to activate the first profile may be the input to enable switch 771 in the embodiment shown in Figure 8B above. For specific information about the input from the user to activate the first profile, please refer to the embodiments shown in Figures 8A-8C above, which will not be repeated here.
[0216] S1003.LPA sends a request to the eSIM module 195 to obtain operator information.
[0217] The carrier information retrieval request can be used to obtain the carrier information of the first profile.
[0218] The S1004.eSIM module 195 sends the operator information of the first profile to the LPA.
[0219] S1005.LPA determines whether the operator of the first profile belongs to the first region based on the operator information of the first profile.
[0220] In one possible implementation, the first region can be preset and stored in the electronic device 100.
[0221] In one possible implementation, the first region can be the place of sale of electronic device 100.
[0222] In one possible implementation, the operator information retrieval request can be a profile information retrieval request (GetProfileInfo). Upon receiving the profile information retrieval request, the eSIM module 195 can send metadata of the first profile to the LPA. This metadata may include the ICCID of the first profile. The ICCID may include the operator code, number range, province code, and vendor code. The ICCID can consist of 20 characters. The first 6 characters of the ICCID can represent the operator code. The first 2 characters of the operator code can represent the international code, the 3rd and 4th characters can represent the country code, and the 5th and 6th characters can represent the operator number. Therefore, the operator information of the first profile can be the operator code in the ICCID of the first profile. The LPA can determine whether the operator of the first profile belongs to the first region based on the operator code in the ICCID of the first profile. The electronic device 100 may store a set of operator codes for the first region. This set of operator codes for the first region may include all operator codes belonging to the first region. LPA can determine whether the operator code set of the first region includes the operator code from the ICCID of the first profile. If the operator code set of the first region includes the operator code from the ICCID of the first profile, then LPA can determine that the operator of the first profile belongs to the first region. If the operator code set of the first region does not include the operator code from the ICCID of the first profile, then LPA can determine that the operator of the first profile does not belong to the first region.
[0223] In one possible implementation, the operator information acquisition request can be an IMSI acquisition request. Upon receiving the IMSI acquisition request, the eSIM module 195 can send the IMSI of the first profile to the LPA. The IMSI can be in E.212 format and can consist of 16 digits. The IMSI may include a Mobile Country Code (MCC), a Mobile Network Code (MNC), and a Mobile Subscriber Identification Number (MSIN). The MCC may include 3 digits, the MNC may include 2 digits, and the MSIN may include 11 digits. Therefore, the operator information of the first profile can be the MCC in the IMSI of the first profile. The LPA can determine whether the operator of the first profile belongs to a first region based on the MCC of the first profile. The electronic device 100 can store a set of MCCs for the first region. The set of MCCs for the first region may include all MCCs belonging to the first region. LPA can determine whether the MCC set of the first region includes the MCC of the IMSI of the first profile. If the operator code set of the first region includes the MCC of the IMSI of the first profile, then LPA can determine that the operator of the first profile belongs to the first region. If the MCC set of the first region does not include the MCC of the IMSI of the first profile, then LPA can determine that the operator of the first profile does not belong to the first region.
[0224] S1006. If the operator of the first profile does not belong to the first region, the LPA obtains the second location of the electronic device 100.
[0225] The LPA can obtain the second location of electronic device 100 through location services. The location services can locate electronic device 100 using positioning module 161 and / or mobile communication module 150 to determine the second location. For example, the location services can obtain the second location of electronic device 100 through satellite positioning using positioning module 161. Alternatively, the location services can obtain the second location of electronic device 100 through base station positioning using mobile communication module 150. Another example is that the location services can obtain the public land mobile network (PLMN) of the searched network through mobile communication module 150 to determine the second location of electronic device 100. The PLMN may include MCC and MNC. Therefore, the LPA can determine the second location of electronic device 100 based on the MCC in the searched PLMN.
[0226] S1007.LPA determines whether the second location of electronic device 100 is within the first region.
[0227] S1008. If the operator of the first profile does not belong to the first region and the second location of the electronic device 100 is within the first region, the LPA outputs a second prompt, which is used to prompt the user that the first profile is not allowed to be activated.
[0228] For example, the second prompt can be the enable failure reason prompt 782 in the embodiment shown in Figure 8C above. For the specific content of the second prompt, please refer to the foregoing embodiment, which will not be repeated here.
[0229] If the operator of the first profile belongs to the first region, or if the operator of the first profile does not belong to the first region but the second location of the electronic device 100 is not in the first region, proceed with steps S1009 to S1011.
[0230] S1009.LPA sends an activation command to eSIM module 195.
[0231] The activation command can be used to instruct the eSIM module 195 to switch the first profile to the active state.
[0232] The S1010.eSIM module 195 switches the first profile to an active state.
[0233] Electronic device 100 can authenticate with the operator network through the first profile that is in an active state. After successful authentication, electronic device 100 is allowed to access the operator network corresponding to that profile (i.e., completes network registration). Therefore, electronic device 100 can interact with the accessed operator network through the first profile to realize one or more of the following services: voice call service, SMS service, and data communication service.
[0234] The S1011.eSIM module 195 sends an activation success notification to the LPA.
[0235] Among them, LPA can send the activation success notification to the configuration file server 202.
[0236] This activation success notification can be used to indicate that the first profile has been successfully activated.
[0237] According to the eSIM management method provided in this application embodiment, when an electronic device 100 successfully subscribes to an eSIM service and downloads a first profile, but does not activate the first profile, the electronic device 100 can detect a first event activating the first profile (e.g., receiving a user's operation to activate the first profile). The electronic device 100 can determine whether the operator of the first profile belongs to a first region and whether the electronic device 100 is located within the first region. If the operator of the first profile does not belong to the first region and the electronic device 100 is located within the first region, the electronic device 100 can output a second prompt, which is used to prompt the user that activation of the first profile is not allowed. If the operator of the first profile belongs to the first region, or if the operator of the first profile does not belong to the first region but the electronic device 100 is not located within the first region, the electronic device 100 can activate the first profile. In this way, when the electronic device 100 is in the first region, the activation of the first profile downloaded by the operator in other regions can be prevented. For example, if the electronic device 100 has downloaded the first profile of the operator in another region but has not activated it, when the user moves the electronic device 100 to the first region, the electronic device 100 can prevent the activation of the first profile. This can prevent operators in other regions from having already activated eSIM services from using them in the first region, thereby improving the security of using eSIM services in the first region.
[0238] Figure 11 illustrates an exemplary flowchart of an eSIM management method provided in an embodiment of this application.
[0239] As shown in Figure 11, this eSIM management method can be applied to electronic device 100. Electronic device 100 may include eSIM module 195 and LPA.
[0240] The eSIM management method may include steps S1101 to S1110.
[0241] The S1101.eSIM module 195 stores a first profile, and the first profile is active.
[0242] Electronic device 100 can authenticate with the operator network through the first profile that is in an active state. After successful authentication, electronic device 100 is allowed to access the operator network corresponding to that profile (i.e., completes network registration). Therefore, electronic device 100 can interact with the accessed operator network through the first profile to realize one or more of the following services: voice call service, SMS service, and data communication service.
[0243] S1102.LPA detected a change in the geographical location of electronic device 100.
[0244] In one example, a change in geographic location may refer to whether electronic device 100 moves from a first region to a region outside the first region, or moves from a region outside the first region to a region within the first region.
[0245] In one example, the location service can send a location change notification to the LPA after detecting a change in the geographical location of the electronic device 100. This location change notification can be used to indicate that the geographical location of the electronic device 100 has changed. The location service can periodically detect whether the geographical location of the electronic device 100 has changed.
[0246] In one example, the LPA may also periodically (e.g., every day) send a geolocation change query request to the location service, which can be used to request the location service to detect whether the geolocation of the electronic device 100 has changed within a period (e.g., every day).
[0247] In one possible implementation, the first region can be preset and stored in the electronic device 100.
[0248] In one possible implementation, the first region can be the place of sale of electronic device 100.
[0249] S1103.LPA sends a request to the eSIM module 195 to obtain operator information.
[0250] The S1104.eSIM module 195 sends the operator information of the first profile to the LPA.
[0251] S1105.LPA determines whether the operator of the first profile belongs to the first region based on the operator information of the first profile.
[0252] The process by which the LPA determines whether the operator of the first profile belongs to the first region based on the operator information of the first profile can be referred to step S1005 in the embodiment shown in Figure 10, and will not be repeated here.
[0253] S1106. If the operator of the first profile does not belong to the first region, the LPA obtains the third location of the electronic device 100.
[0254] The LPA can obtain the third location of electronic device 100 through location services. The location services can locate electronic device 100 using positioning module 161 and / or mobile communication module 150 to determine its third location. For example, the location services can obtain the third location of electronic device 100 through satellite positioning using positioning module 161. Alternatively, the location services can also obtain the third location of electronic device 100 through base station positioning using mobile communication module 150. Another example is that the location services can obtain the public land mobile network (PLMN) of the searched network through mobile communication module 150 to determine the third location of electronic device 100. The PLMN may include MCC and MNC. Therefore, the LPA can determine the third location of electronic device 100 based on the MCC in the searched PLMN.
[0255] In one possible implementation, if the LPA has already obtained the third location of the electronic device 100 from the location service in step S1002 above, and it is determined that the operator of the first profile is not in the first region, the LPA does not need to obtain the third location of the electronic device 100 again.
[0256] S1107.LPA determines whether the third position of electronic device 100 is within the first region.
[0257] If the operator of the first profile does not belong to the first region and the location of the electronic device 100 is within the first region, proceed with steps S1108 to S1110.
[0258] If the operator of the first profile belongs to the first region, or if the operator of the first profile does not belong to the first region and the third location of the electronic device 100 is not in the first region, then the LPA continues to detect whether the geographical location of the electronic device 100 has changed.
[0259] S1108.LPA sends a deactivation command to eSIM module 195 to deactivate the configuration file.
[0260] The deactivation command can be used to instruct the eSIM module 195 to switch the first profile to a deactivation state.
[0261] The S1109.eSIM module 195 switches the first profile to a deactivated state.
[0262] The S1110.eSIM module 195 sends a deactivation success notification to the LPA.
[0263] The activation success notification can be used to indicate that the first profile has been deactivated.
[0264] LPA can send a deactivation success notification to the configuration file server 202.
[0265] According to the eSIM management method provided in this application embodiment, after an electronic device 100 downloads and activates a first profile, the electronic device 100 can detect whether its location has changed. If the location of the electronic device 100 has changed, the electronic device 100 can determine whether the operator of the first profile belongs to a first region and whether the electronic device 100 is located in the first region. If the operator of the first profile does not belong to the first region and the electronic device 100 is located in the first region, the electronic device 100 can deactivate the first profile, thereby switching the first profile to a deactivated state. In this way, even if a first profile downloaded from an operator in another region has already been activated, when the electronic device 100 moves to the first region, it can deactivate the first profile, thereby switching the first profile to a deactivated state and prohibiting its use. This can prevent activated eSIM services from operators in other regions from being used in the first region, thereby improving the security of using eSIM services in the first region.
[0266] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can implement the steps in the above-described method embodiments.
[0267] 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 in the various method embodiments described above.
[0268] 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 implement the steps of any method embodiment of this application. The chip system can be a single chip or a chip module composed of multiple chips.
[0269] 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. An eSIM management method, characterized in that, include: The electronic device obtains the download information of the first profile, which includes the address of the profile server. If the address of the configuration file server does not belong to the operator of the first region and the first location of the electronic device is within the first region, a first prompt is output. The first prompt is used to inform the user that the download of the first profile is not allowed.
2. The method according to claim 1, characterized in that, The method further includes: If the address of the profile server belongs to an operator in the first region, or if the address of the profile server does not belong to an operator in the first region but the first location of the electronic device is not in the first region, the electronic device downloads the first profile from the profile server to the eSIM module of the electronic device.
3. The method according to claim 2, characterized in that, After the electronic device downloads the first Profile to the eSIM module of the electronic device from the profile server, the method further includes: The electronic device activates the first Profile in the eSIM module.
4. The method according to claim 2, characterized in that, After the electronic device downloads the first Profile to the eSIM module of the electronic device from the profile server, the method further includes: The electronic device detects a first event that activates the first Profile; In response to the first event, if the operator of the first profile does not belong to the first region and the second location of the electronic device is within the first region, a second prompt is output, which is used to prompt the user that the first profile is not allowed to be activated.
5. The method according to claim 4, characterized in that, The method further includes: In response to the first event, if the operator of the first profile belongs to the first region, or if the operator of the first profile does not belong to the first region but the second location of the electronic device is not in the first region, the electronic device activates the first profile in the eSIM module.
6. The method according to claim 3 or 5, characterized in that, The method further includes: After the first profile in the eSIM module is activated, if the operator of the first profile does not belong to the first region and the third location of the electronic device is within the first region, the electronic device deactivates the first profile in the eSIM module.
7. The method according to any one of claims 1-6, characterized in that, The electronic device obtains the download information of the first profile, specifically including: The electronic device receives the download information of the first Profile sent by the service server.
8. The method according to any one of claims 1-6, characterized in that, The electronic device obtains the download information of the first profile, specifically including: The electronic device acquires the QR code via a camera; The electronic device identifies the download information of the first Profile from the QR code.
9. The method according to any one of claims 1-6, characterized in that, The electronic device obtains the download information of the first profile, specifically including: The electronic device receives the download information of the first Profile input by the user.
10. The method according to any one of claims 1-9, characterized in that, If the address of the configuration file server does not belong to an operator in the first region and the first location of the electronic device is within the first region, a first prompt will be output, specifically including: If it is determined that the address of the configuration file server does not belong to the operator in the first region, the first location of the electronic device is obtained; If the electronic device is located in the first region, the first prompt is output.
11. The method according to claim 4, characterized in that, In response to the first event, if the operator of the first profile does not belong to the first region and the second location of the electronic device is within the first region, a second prompt is output, specifically including: In response to the first event, obtain the carrier information of the first Profile; If it is determined from the operator information of the first profile that the operator of the first profile does not belong to the first region, the second location of the electronic device is obtained; If the second location of the electronic device is within the first region, the second prompt is output.
12. The method according to claim 11, characterized in that, The carrier information of the first profile is the carrier code in the integrated circuit identification code (ICCID) of the first profile.
13. The method according to claim 11, characterized in that, The operator information of the first profile is the Mobile Country Code (MCC) in the International Mobile Subscriber Identity (IMSI) of the first profile.
14. The method according to claim 3 or 5, characterized in that, After the electronic device activates the first Profile in the eSIM module, the method further includes: The electronic device sends an activation success notification to the configuration server, the activation success notification indicating that the electronic device has successfully activated the first Profile.
15. The method according to claim 6, characterized in that, After the electronic device deactivates the first Profile in the eSIM module, the method further includes: The electronic device sends a deactivation success notification to the configuration file server, the deactivation success notification indicating that the electronic device has successfully deactivated the first Profile.
16. The method according to claim 2, characterized in that, After the electronic device downloads the first Profile from the profile server to the eSIM module, the method further includes: The electronic device sends a download completion notification to the configuration file server, the download completion notification indicating that the electronic device has successfully downloaded the first Profile.
17. The method according to any one of claims 1-16, characterized in that, The first region is preset in the electronic device.
18. The method according to any one of claims 1-17, characterized in that, The first region is the place where the electronic device is sold.
19. An electronic device, characterized in that, include: An eSIM module, one or more processors, and one or more memories, wherein the eSIM module, the one or more memories, are coupled to the one or more processors, and the one or more memories are used to store a computer program that, when executed by the one or more processors, causes the electronic device to perform the method as described in any one of claims 1-16.
20. A computer-readable storage medium, characterized in that, Includes a computer program that, when run on a processor of an electronic device, causes the electronic device to perform the method as described in any one of claims 1-16.
21. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method as described in any one of claims 1-16.
22. A chip system, characterized in that, It includes a processing circuit and an interface circuit, the interface circuit being used to receive code instructions and transmit them to the processing circuit, the processing circuit being used to execute the code instructions to perform the method as described in any one of claims 1-16.