WO2022228210A1 - 驻网方法、电子设备及系统 - Google Patents

驻网方法、电子设备及系统 Download PDF

Info

Publication number
WO2022228210A1
WO2022228210A1 PCT/CN2022/087678 CN2022087678W WO2022228210A1 WO 2022228210 A1 WO2022228210 A1 WO 2022228210A1 CN 2022087678 W CN2022087678 W CN 2022087678W WO 2022228210 A1 WO2022228210 A1 WO 2022228210A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
plmn
region
information
area
Prior art date
Application number
PCT/CN2022/087678
Other languages
English (en)
French (fr)
Inventor
赵德祥
杨天曙
陈大伟
Original Assignee
花瓣云科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 花瓣云科技有限公司 filed Critical 花瓣云科技有限公司
Publication of WO2022228210A1 publication Critical patent/WO2022228210A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier

Definitions

  • the present application relates to the field of communications, and in particular, to a method, electronic device and system for staying on a network.
  • SIM entity subscriber identity module
  • virtual SIM cards to enable electronic devices to access the mobile communication network and perform normal operations based on the network. operations such as calls, text messages, and Internet access.
  • the electronic device carried by the user will also change its location.
  • the electronic device When moving to a new area, the electronic device will disconnect from the public land mobile network (PLMN) in the original area. .
  • PLMN public land mobile network
  • the electronic device can preferentially try to camp on the network corresponding to the PLMN identifier in the equivalent public land mobile network (equivalent home public land mobile network, EHPLMN) list based on the virtual SIM card.
  • EHPLMN equivalent home public land mobile network
  • the present application provides a network resident method, electronic device and system, which realize that when the electronic device detects that the region where the electronic device is located has changed, the cloud server does not need to issue a virtual SIM card again, saving the resources of the virtual SIM card At the same time, it can also shorten the time for the electronic device to reside on the network in the new area, and greatly improve the efficiency of the electronic device on the network.
  • the present application provides a method for staying on a network, the method comprising: an electronic device receiving parameter information of a first virtual SIM card sent by a cloud server, wherein the parameter information of the first virtual SIM card includes a first region's parameter information.
  • First supported PLMN information First supported PLMN information
  • the electronic device detects that it is in the first area, the electronic device writes the first supported PLMN information into the first EHPLMN list.
  • the electronic device camps on the network based on the first supported PLMN information in the first EHPLMN list.
  • the electronic device When the electronic device detects that the electronic device has moved to the second area and there is no information about the second supported PLMN in the first EHPLMN list, the electronic device searches for and camps on the first PLMN in the second area. If the first PLMN is not included in the second supported PLMN information, the electronic device writes the second supported PLMN information into the first EHPLMN list to obtain a second EHPLMN list. The electronic device is disconnected from the first PLMN, and is on the network based on the second supported PLMN information in the second EHPLMN list.
  • the resources of the virtual SIM card can be saved, and at the same time, the time for the electronic device to reside on the network in the new region can be shortened, and the efficiency of the electronic device to reside on the network can be greatly improved.
  • the parameter information of the first virtual SIM card further includes information about the third supported PLMN of the third region.
  • the electronic device writes the third supported PLMN information into the first EHPLMN list.
  • the electronic device detects that the electronic device moves to the third region.
  • the electronic device camps on the network based on the third supported PLMN information in the first EHPLMN list. In this way, the time for the electronic device to reside on the network in the new region can be shortened, and the efficiency of the electronic device to reside on the network can be greatly improved.
  • the method before the electronic device receives the parameter information of the first virtual SIM card sent by the cloud server, the method further includes: the electronic device displays a first interface, where the first interface includes a first virtual SIM card option .
  • the electronic device receives a first input acting on the first virtual SIM card option.
  • the electronic device sends a first data request to the cloud server.
  • the electronic device detects that it is in the first area, which specifically includes: the electronic device detects that the searched PLMN includes the MCC code corresponding to the first area.
  • the electronic device obtains the current location of the electronic device through a GNSS positioning module, and determines that the current location of the electronic device is within the geographic area of the first region according to the obtained location.
  • the electronic device detecting that the electronic device moves to the second area specifically includes: the electronic device detecting that the searched PLMN includes the MCC code corresponding to the second area.
  • the electronic device obtains the current location of the electronic device through the GNSS positioning module, and determines that the current location of the electronic device is within the geographic area of the second region according to the obtained location.
  • the parameter information of the first virtual SIM card specifically includes: first supported PLMN information of the first region, second supported PLMN information of the second region, and information of the first region and the second region associated information.
  • the association information between the first region and the second region is used to indicate that the first region is associated with the second region.
  • the method further includes: if the first PLMN is included in the second supported PLMN information, the electronic device remains camped on the first PLMN.
  • the method further includes: in the first EHPLMN list, the first supported PLMN information has the highest priority. In the second EHPLMN list, the second supported PLMN information has the highest priority.
  • the method further includes: displaying first notification information for prompting the user that The first region was successfully stationed on the network.
  • the method further includes: displaying a second notification The information is used to remind the user that the network has been successfully stationed in the second region.
  • the method further includes: displaying third notification information for prompting the user that The third region successfully stationed in the network.
  • the electronic device detecting that the electronic device has moved to the third area specifically includes: the electronic device detecting that the searched PLMN includes an MCC code corresponding to the third area.
  • the electronic device obtains the current location of the electronic device through the GNSS positioning module, and determines that the current location of the electronic device is within the geographic area of the third region according to the obtained location.
  • the geographic location of the first region and the geographic location of the third region are adjacent.
  • the geographic location of the first region is adjacent to the geographic location of the second region.
  • the present application provides a chip system, which is applied to an electronic device, and the chip system includes: an application processor and a baseband processor.
  • the application processor and the baseband processor are configured to call and execute the instructions stored in the memory from the memory, so that the electronic device installed with the chip system executes the method in any one of the possible implementations of the first aspect.
  • the present application provides an electronic device including a communication device, a memory and a processor coupled to the memory, a plurality of application programs, and one or more programs.
  • the electronic device When the processor executes the one or more programs, the electronic device causes the electronic device to execute the method in any one of the possible implementations of the first aspect.
  • the present application provides a computer storage medium, where a computer program is stored in the storage medium, and the computer program includes executable instructions, which, when executed by a processor, cause the processor to execute the above-mentioned first aspect A method in any of the possible implementations.
  • FIG. 1 is a schematic diagram of the architecture of a communication system provided by an embodiment of the present application.
  • FIG. 2A is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • 2B is a schematic diagram of a hardware structure of a cloud server provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a method for staying on a network provided by an embodiment of the present application
  • 4A-4C are schematic diagrams of a group of user interfaces provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a system architecture provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a module interaction provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a user interface provided by an embodiment of the present application.
  • first and second are only used for descriptive purposes, and should not be construed as implying or implying relative importance or implying the number of indicated technical features. Therefore, the features defined as “first” and “second” may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, the “multiple” The meaning is two or more.
  • the electronic device can reside in the network of region 1, and when the electronic device detects that the region where the electronic device is located moves from region 1 to region 2, the electronic device can obtain a virtual SIM card only applicable to region 2 from the cloud server. After receiving the virtual SIM card, the electronic device can write the identification corresponding to the supporting PLMN of region 2 in the EHPLMN list, and write the identification corresponding to the non-supporting PLMN of region 2 in the FPLMN list, and then the electronic device can reside in the On the network corresponding to the PLMN identifier in the EHPLMN list.
  • the electronic device may acquire the PLMN information corresponding to the designated area and the PLMN information corresponding to the relevant areas of the designated area (for example, adjacent areas of the designated area) from the cloud server.
  • the electronic device can use the PLMN information of the designated area to complete the network.
  • the electronic device moves from a designated area to a related area in the designated area, the electronic device can use the PLMN information of the related area to complete the network deployment.
  • the designated area and the relevant area of the designated area may be a country, or may be some areas in a country.
  • the cloud server does not need to re-issue the virtual SIM card, which saves the resources of the virtual SIM card, and can also shorten the network time required for the electronic device to reside in the new region. time, greatly improving the efficiency of electronic equipment on the network.
  • the communication system 10 may include an electronic device 100 , a cloud server 200 , a network device 300 and a network device 400 .
  • the electronic device 100 may be a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR)/virtual reality (VR) device, a notebook computer, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA) or special camera (for example, a single-lens reflex camera, a card camera), etc., the application does not make any limitation on the specific type of the electronic device 100 .
  • AR augmented reality
  • VR virtual reality
  • PDA personal digital assistant
  • special camera for example, a single-lens reflex camera, a card camera
  • the electronic device 100 can establish a communication connection with the cloud server 200 through a 2G network, a 3G network, a 4G network, a 5G network, a wireless local area network (wireless local area network, WLAN) module, and the like.
  • the WLAN module can provide wireless fidelity direct (wireless fidelity direct, Wi-Fi direct), wireless fidelity local area networks (wireless fidelity local area networks, Wi-Fi LAN) or wireless fidelity software access point (wireless fidelity software access point).
  • One or more WLAN communication solutions in software access point, Wi-Fi softAP may perform data interaction with the cloud server 200 based on the above communication connection, and send a data request to the cloud server 200 (eg, request the cloud server 200 to issue parameter information of the virtual SIM card).
  • the cloud server 200 can also receive the data request sent by the electronic device 100 based on the above communication connection, and send the parameter information of the virtual SIM card stored on the cloud server 200 to the electronic device 100 (for example, the communication data information of the virtual SIM card, which can be based on The virtual SIM card is connected to the use area of the mobile communication network, the PLMN information of each use area corresponding to the relevant area, and the PLMN information of each use area, etc.).
  • the cloud server 200 may store the parameter information of the virtual SIM card (for example, the communication data information of the virtual SIM card, the area of use that can be connected to the mobile communication network based on the virtual SIM card, the PLMN information of each area of use corresponding to the relevant area, and the area of use of each area of use) PLMN information, etc.).
  • the cloud server 200 can establish communication connections with multiple electronic devices 100, and can process tasks requested by the multiple electronic devices 100 to be processed.
  • the cloud server 200 can distinguish the electronic device 100 by using the account (for example, a Huawei account) logged in by the user on the electronic device 100, or the device identifiers such as the international mobile equipment identity (IMEI) corresponding to the electronic device 100. .
  • IMEI international mobile equipment identity
  • the network device 300 may be a device capable of communicating with the electronic device 100 .
  • the network device 300 may be a base station, a relay station or an access point.
  • the base station may be a BTS (Base Transceiver Station, a base transceiver station) in a GSM (Global System for Mobile Communication, Global System for Mobile Communications) or CDMA (Code Division Multiple Access, Code Division Multiple Access) network, or a WCDMA (WCDMA) network.
  • the NB (NodeB) in (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access) can also be the eNB or eNodeB (Evolutional NodeB) in LTE (Long Term Evolution, Long Term Evolution).
  • the network device 300 may also be a wireless controller in a CRAN (Cloud Radio Access Network, cloud radio access network) scenario.
  • the network device 300 may also be a base station device in a 5G network or a network device in a future evolved PLMN network.
  • the network device 300 may transmit a PLMN signal.
  • the transmitted PLMN signal can be received by the electronic device 100 via the wireless channel receiving antenna on the electronic device 100, so that the electronic device 100 can be placed on the network to the corresponding PLMN.
  • the network device 400 in the region can transmit a PLMN signal.
  • the transmitted PLMN signal can be received by the electronic device 100 via the wireless channel receiving antenna on the electronic device 100, so that the electronic device 100 can be placed on the network to the corresponding PLMN.
  • the network device 400 reference may be made to the description of the network device 300, and details are not repeated here.
  • FIG. 2A shows a schematic diagram of the hardware structure of the electronic device 100 .
  • 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 charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195 and so on.
  • SIM Subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the electronic device 100 .
  • the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural-network processing unit neural-network processing unit
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces.
  • the I2S interface can be used for audio communication.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 .
  • the PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication. It converts the data to be transmitted between serial communication and parallel communication.
  • the MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 .
  • MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc.
  • the GPIO interface can be configured by software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones.
  • the interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 .
  • the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
  • the power management module is used to connect the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to detect parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 .
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave and radiate it out through the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the wireless communication solution provided by the mobile communication module 150 may enable the electronic device to communicate with a device (eg, a server) in the network.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 .
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellites Wireless communication solutions such as global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared technology (IR).
  • WLAN wireless local area networks
  • BT Bluetooth
  • GNSS global navigation satellite system
  • FM frequency modulation
  • NFC near field communication
  • IR infrared technology
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
  • the electronic device 100 can detect or scan devices near the electronic device 100 by transmitting signals through the Bluetooth module and the WLAN module in the wireless communication module 160, and establish a wireless communication connection with the nearby devices and transmit data.
  • the bluetooth module can provide a solution including one or more bluetooth communications in classic bluetooth (Bluetooth 2.1 standard) or bluetooth low energy consumption.
  • the WLAN module can provide a solution including one or more WLAN communications in Wi-Fi direct, Wi-Fi LAN or Wi-Fi softAP.
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through 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), broadband 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 technology, etc.
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou navigation satellite system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quadsi -zenith satellite system, QZSS
  • SBAS satellite based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • 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 or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
  • the electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs.
  • the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • MPEG Moving Picture Experts Group
  • MPEG2 moving picture experts group
  • MPEG3 MPEG4
  • MPEG4 Moving Picture Experts Group
  • the NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
  • the internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
  • RAM random access memories
  • NVM non-volatile memories
  • Random access memory can include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronization Dynamic random access memory (double data rate synchronous dynamic random access memory, DDR SDRAM, such as fifth-generation DDR SDRAM is generally called DDR5 SDRAM), etc.;
  • SRAM static random-access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • DDR SDRAM double data rate synchronous dynamic random access memory
  • DDR SDRAM double data rate synchronous dynamic random access memory
  • DDR SDRAM double data rate synchronous dynamic random access memory
  • fifth-generation DDR SDRAM is generally called DDR5 SDRAM
  • Non-volatile memory may include magnetic disk storage devices, flash memory.
  • Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle, and can include single-level memory cell (SLC), multi-level memory cell (multi-level memory cell, SLC) according to the level of storage cell potential.
  • cell, MLC multi-level memory cell
  • TLC triple-level cell
  • QLC quad-level cell
  • UFS universal flash storage
  • eMMC embedded multimedia memory card
  • the random access memory can be directly read and written by the processor 110, and can be used to store executable programs (eg, machine instructions) of an operating system or other running programs, and can also be used to store data of users and application programs.
  • executable programs eg, machine instructions
  • the random access memory can be directly read and written by the processor 110, and can be used to store executable programs (eg, machine instructions) of an operating system or other running programs, and can also be used to store data of users and application programs.
  • the non-volatile memory can also store executable programs and store data of user and application programs, etc., and can be loaded into the random access memory in advance for the processor 110 to directly read and write.
  • the external memory interface 120 can be used to connect an external non-volatile memory, so as to expand the storage capacity of the electronic device 100 .
  • the external non-volatile memory communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video, etc. files in external non-volatile memory.
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a "speaker" is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be answered by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals.
  • the gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 .
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
  • the magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the electronic device 100 can measure the distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the light emitting diodes may be infrared light emitting diodes.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 .
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L is used to sense ambient light brightness.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
  • the temperature sensor 180J is used to detect the temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch device”.
  • the touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • Bone conduction sensor 180M may be used to acquire vibration signals.
  • the keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key.
  • the electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
  • Motor 191 can generate vibrating cues.
  • the motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback.
  • touch operations acting on different applications can correspond to different vibration feedback effects.
  • the motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, which can be used to indicate the charging state, the change of the power, and can also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 .
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 is also compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to realize functions such as call and data communication.
  • the electronic device 100 employs an eSIM, ie: an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
  • FIG. 2B shows a schematic diagram of the hardware structure of the cloud server 200 .
  • the cloud server 200 can be applied to the communication system 10 described above in FIG. 1 .
  • the cloud server 200 may include one or more processors 201A, a communication interface 202A, and a memory 203A.
  • the processor 201A, the communication interface 202A, and the memory 203A may be connected through a bus or in other ways. In this embodiment of the present application, the connection through the bus 204A is example. in:
  • the processor 201A may consist of one or more general-purpose processors, such as CPUs.
  • the processor 201A may be used to execute relevant program codes of the device control method.
  • Communication interface 202A may be a wired interface (eg, an Ethernet interface) or a wireless interface (eg, a cellular network interface) for communicating with other nodes.
  • the communication interface 202A may be specifically used to communicate with the electronic device 100, and to receive data requests (for example, a data request requesting to issue virtual SIM card parameter information), data information (for example, electronic device identification of device 100) and so on.
  • the memory 203A may include volatile memory (volatile memory), such as random access memory (random access memory, RAM); may also include non-volatile memory (non-vlatile memory), such as ROM, flash memory (flash memory) memory), a hard disk drive (Hard Disk Drive, HDD) or a solid state drive (Solid State Drives, SSD); the memory 203A may also include a combination of the above-mentioned types of memory.
  • volatile memory such as random access memory (random access memory, RAM
  • non-vlatile memory such as ROM, flash memory (flash memory) memory), a hard disk drive (Hard Disk Drive, HDD) or a solid state drive (Solid State Drives, SSD)
  • ROM read-only memory
  • flash memory flash memory
  • HDD Hard Disk Drive
  • SSD Solid State Drives
  • the memory 203A may be used for virtual SIM card parameter information (for example, communication data information of the virtual SIM card, use areas that can be connected to the mobile communication network based on the virtual SIM card, and PLMNs corresponding to relevant areas for each use area) information and the PL MN information of each area of use, etc.), the virtual SIM card parameter information can be delivered to the electronic device 100 based on the communication interface 202A.
  • the electronic device 100 can reside on the PLMN (for example, existing in the network corresponding to the PLMN identifier in the EHPLMN list) supported by the current area based on the above-mentioned parameter information, and execute this Apply for the on-line method provided.
  • the memory 203A may also store some program codes, so that the processor 201A can call the program codes stored in the memory 203A to implement the implementation method of the embodiment of the present application in the cloud server 200 .
  • the cloud server 200 shown in FIG. 2B is only an implementation manner of the embodiments of the present application. In practical applications, the cloud server 200 may further include more or less components, which is not limited here.
  • FIG. 3 shows a flowchart of a method for staying on a network provided in an embodiment of the present application.
  • the specific process of the method may include:
  • the cloud server 200 stores parameter information of multiple virtual SIM cards.
  • the plurality of virtual SIM cards may include a virtual SIM card 1 (which may also be referred to as a first virtual SIM card), and the parameter information may include communication data information of the virtual SIM card, multiple usages of the virtual SIM card PLMN information of areas (eg, use area 1, use area 2, use area 3, etc.) and PLMN information of areas related to each use area (eg, neighboring areas of each use area), and the like.
  • a virtual SIM card 1 which may also be referred to as a first virtual SIM card
  • the parameter information may include communication data information of the virtual SIM card, multiple usages of the virtual SIM card PLMN information of areas (eg, use area 1, use area 2, use area 3, etc.) and PLMN information of areas related to each use area (eg, neighboring areas of each use area), and the like.
  • the communication data information of the virtual SIM card may include a mobile subscriber identity (international mobile subscriber identity, IMSI), an integrated circuit card identity (Integrate circuit card identity, ICCID), a key identifier (key identifier, KI) and one or more of the authentication key OPC, etc.
  • IMSI code may not be repeated in all cellular networks, and is used to distinguish different user equipments in the cellular network.
  • the IMSI code can be used to query the information of the user equipment in a home location register (HLR) or a visitor location register (VLR).
  • HLR home location register
  • VLR visitor location register
  • the IMSI code is composed of decimal digits with a maximum length of 15 digits.
  • MMC mobile network code
  • MNC mobile network code
  • MSIN mobile subscriber identification number
  • the length of the MCC code is 3 digits.
  • the length of the MNC code is determined by the value of the MCC, which can be 2 bits for the European standard or 3 bits for the North American standard.
  • the value of the MSIN is allocated by the operator. For example, taking Thailand as an example of using region 1, the IMSI code structure of virtual SIM card 1 can be as shown in Table 1:
  • the value of the IMSI code of the virtual SIM card 1 is "520011357924680".
  • the value of the MCC code is "520”, the corresponding region is Thailand, the value of the MNC code is "01”, and the value of the MSIN code is 1357924680 corresponding to operator A.
  • the PLMN information may include MCC code and MNC code for identifying the PLMN provided by the mobile operator.
  • the ICCID can be used to identify the corresponding virtual SIM card.
  • the Ki can be used in conjunction with the IMSI to be used as an authentication key for authentication when the virtual SIM card logs in to the network.
  • the authentication key OPC can be used for the electronic device to check the network device when the virtual SIM card logs into the network, so as to avoid the pseudo base station.
  • OPC can be calculated from Ki and the operator variant algorithm configuration field (OP) stored in the electronic device.
  • the electronic device 100 receives a selection operation for the virtual SIM card 1 .
  • the electronic device 100 After receiving the selection operation for the virtual SIM card 1, the electronic device 100 can record the MCC code corresponding to the area of use that can be stationed on the network based on the virtual SIM card 1, and the electronic device 100 can complete the operation with the cloud server 200. Authentication.
  • the electronic device 100 can receive a user's touch operation (eg, click) on the corresponding option of the virtual SIM card 1, and in response to the touch operation, the electronic device 100 can record the information that can be logged on based on the virtual SIM card 1. Use the corresponding MCC code of the region.
  • the electronic device 100 may send selection information to the cloud server 200, where the selection information may include a device identification of the electronic device 100 (eg, account information of a specified application on the electronic device 100). After receiving the selection information, the cloud server 200 can save the device identification of the electronic device 100 into a specified white list.
  • the whitelist stores the device identification of the electronic device 100, which may indicate that the electronic device 100 has the authority to obtain the parameter information of the virtual SIM card 1.
  • the electronic device 100 may display the interface 400 of the home screen.
  • One or more application icons may be displayed in the interface 400 .
  • the one or more application icons may include weather application icons, stock application icons, calculator application icons, settings application icons, mail application icons, theme application icons, music application icons, video application icons, and Skyline application icons 401 and many more.
  • the interface 400 may also display a status bar, a page indicator and a tray icon area.
  • the status bar may include one or more signal strength indicators of mobile communication signals (also referred to as cellular signals), signal strength indicators of wireless fidelity (Wi-Fi) signals, battery status indicators, time indicator, etc.
  • Page indicators can be used to indicate the positional relationship of the currently displayed page to other pages.
  • the tray icon area includes a plurality of tray icons (for example, a dialing application icon, an information application icon, a contact application icon, and a camera application icon), and the tray icons remain displayed when switching pages.
  • the above-mentioned page may also include multiple application icons and page indicators.
  • the page indicator may not be a part of the page, but exists independently.
  • the above-mentioned picture icon is also optional, which is not limited in this embodiment of the present application.
  • the electronic device 100 may receive a user's touch operation (eg, click) on the Skylink application icon 401 , and in response to the touch operation, the electronic device 100 may display the user interface 410 shown in FIG. 4B .
  • a user's touch operation eg, click
  • the electronic device 100 may display the user interface 410 shown in FIG. 4B .
  • the user interface 410 may include one or more virtual SIM card resource interface display options.
  • the one or more virtual SIM card resource interface display options may include a "Japan” option, a "Korea” option, a “Thailand” option 411, a "Europe” option, a "United States” option, a "Canada” option, and the like.
  • Each option can correspond to text description information, for example, the "Japan” option can correspond to the text description information “7.9 yuan/day”, the “Korean” option can correspond to the text description information “7.9 yuan/day”, and the “Thailand” option 411 It can correspond to the text description information "7.6 yuan/day”, the "Europe” option can correspond to the text description information "8.3 yuan/day”, the "US” option can correspond to the text description information "7.9 yuan/day”, "Canada” The option can correspond to the text description information "7.9 yuan/day”.
  • the user interface 410 may also include a status bar, a page indicator displayed below the status bar, a search box, and one or more page display options.
  • a status bar for the description of the status bar, reference may be made to the description of the status bar in the embodiment shown in FIG. 4A , which will not be repeated here.
  • the page indicator displayed below the status bar can be used to indicate the content displayed on the current page, and the page indicator can be text information (for example, text information "recommended") or an icon, which is not limited in this application.
  • the search box may be used to listen to search for desired content through text (eg, a touch operation), and in response to the operation, the electronic device 100 may display a text input box so that the user can input desired search content in the input box.
  • One or more page display options may include the "Global Traffic” page display option, the “Beginner's Guide” page display option, the “Free Benefits” page display option, the “Audio Guide” page display option, the “Visa” page display option, “Global Hotels” page display options, “Global Air Tickets” page display options, “Global Car Rentals” page display options, and so on.
  • the electronic device 100 may receive a user's touch operation (eg, click) on the "Thailand” option 411, and in response to the touch operation, the electronic device 100 may display the user interface 420 (also referred to as the user interface 420) as shown in FIG. 4C. for the first interface).
  • a user's touch operation eg, click
  • the electronic device 100 may display the user interface 420 (also referred to as the user interface 420) as shown in FIG. 4C. for the first interface).
  • the user interface 420 may include page indicators and one or more virtual SIM card resource options.
  • the page indicator may be used to indicate the content displayed on the current page, and the page indicator may be text information (for example, text information "Thailand") or an icon, which is not limited in this application.
  • One or more virtual SIM card options may include "3GB for 4 places” option 421, "10 days for 4 places” option, “1 day for 83 places” option, "3 days for Singapore and Malaysia” option, "5-day trip to Singapore and Malaysia” option, "custom days” option and so on.
  • the virtual SIM card corresponding to the "3GB 4 ground universal" option 421 may correspond to the aforementioned virtual SIM card 1.
  • Each virtual SIM card option may correspond to price description text information.
  • the option 421 of "3GB and 4 places” may correspond to the text information " ⁇ 128”, and the "10 days to 4 places” option may correspond to the text information " ⁇ 148".
  • the option of “Common to 83 places in 1 day” can correspond to the text information “ ⁇ 20”
  • the option of “Common to Singapore and Malaysia on 3 days” can correspond to the text information “ ⁇ 48”
  • the option of “Common to Singapore and Malaysia on 5 days” can Corresponding to the text information " ⁇ 78”
  • the "Custom Days” option can correspond to the text information " ⁇ 17.8/day”.
  • the electronic device 100 may receive a touch operation (which may also be referred to as a first input, such as a click) performed by the user on the option 421 (which may also be referred to as a first virtual SIM card option), and in response to the touch operation, the electronic The device 100 may send selection information to the cloud server 200, where the selection information may include a device identification of the electronic device 100 (eg, account information of a specified application on the electronic device 100). After receiving the selection information, the cloud server 200 can save the device identification of the electronic device 100 into a specified white list.
  • the whitelist stores the device identification of the electronic device 100, which may indicate that the electronic device 100 has the authority to obtain the parameter information of the virtual SIM card 1.
  • the electronic device 100 detects that the electronic device 100 has moved to the usage area 1 (which may also be referred to as the first area), the electronic device 100 sends a data request 1 (which may also be referred to as a first data request) to the cloud server 200. .
  • the data request 1 may include the device identifier of the electronic device 100 and/or the identifier corresponding to the usage area 1 (for example, the MCC code corresponding to the usage area 1).
  • the data request 1 can be used for the electronic device 100 to obtain parameter information of the virtual SIM card 1 from the cloud server 200 .
  • the electronic device 100 may detect one or more PLMNs.
  • the electronic device 100 obtains the MCC code of the use area 1 based on the one or more PLMNs, the MCC code of the use area 1 is included in the MCC code record of the embodiment shown in the foregoing step 303, indicating that the use area 1 is included in the Based on the virtual SIM card 1, the network is used within the scope of the network.
  • the electronic device 100 may send the data request 1 to the cloud server 200 .
  • the data request 1 may include the device identification of the electronic device 100 and/or the MCC code corresponding to the usage area 1 .
  • the usage area 1 may be Thailand, and the value of the MCC code of Thailand may be "520".
  • the electronic device 100 detects one or more PLMNs, and the value of the MCC code in the one or more PLMNs is "520"
  • the electronic device 100 can determine that the value includes the MCC code of the embodiment shown in the aforementioned step 303 During the recording, the electronic device 100 can then send the data request 1 to the cloud server 200 .
  • the data request 1 may include the device identification of the electronic device 100 and/or the value "520" of the Thai MCC code.
  • the electronic device 100 may detect that the electronic device 100 has moved to the usage area 1 by other means, and the usage area 1 is included in the usage area that can be stationed on the network based on the virtual SIM card 1 .
  • the electronic device 100 can obtain the current coordinate information of the electronic device 100 through a global navigation satellite system (GNSS), and the electronic device 100 can detect the current coordinate information based on the coordinate information and the map data stored in the electronic device 100 .
  • GNSS global navigation satellite system
  • the electronic device 100 has moved to the usage area 1 , which is included in the usage area that can be stationed on the network based on the virtual SIM card 1 , and then the electronic device 100 can send the data request 1 to the cloud server 200 .
  • the data request 1 is used to obtain parameter information of the virtual SIM card 1 from the cloud server 200 . This application does not limit this.
  • the electronic device 100 may receive a user's touch operation (eg, click) on the option 421 of the user interface 420 in FIG. 4C , and in response to the touch operation, the electronic device 100 may send a request to the cloud server 200 Send data request 1. After receiving the data request 1 , the cloud server 200 can deliver the parameter information of the virtual SIM card 1 to the electronic device 100 . After receiving the parameter information, the electronic device 100 may store the parameter information in the device.
  • a user's touch operation eg, click
  • the electronic device 100 may send a request to the cloud server 200 Send data request 1.
  • the cloud server 200 can deliver the parameter information of the virtual SIM card 1 to the electronic device 100 .
  • the electronic device 100 may store the parameter information in the device.
  • the cloud server 200 sends the parameter information of the virtual SIM card 1 to the electronic device 100.
  • the cloud server 200 can query the virtual SIM card 1 corresponding to the usage region 1 based on the MCC code corresponding to the usage region 1, and can confirm that the device identifier of the electronic device 100 exists in the virtual SIM card In the whitelist corresponding to 1, that is, when the electronic device 100 has the authority to obtain the virtual SIM card 1, the cloud server 200 may send the parameter information of the virtual SIM card 1 to the electronic device 100.
  • the virtual SIM card 2 may be preset in a designated application (for example, Huawei's Tiantiantong application) on the electronic device 100 .
  • the virtual SIM card 2 can perform data communication with the cloud server 200 to obtain data information of the virtual SIM card 1 .
  • use area 1 may be Thailand
  • use area 2 may be Laos
  • use area 3 may be Cambodia
  • use area 4 may be India
  • the parameter information of the virtual SIM card 1 sent by the cloud server 200 to the electronic device 100 may include the PLMN information of Thailand, Laos, Sri, and India, as shown in Table 2:
  • the country corresponding to the value "457” of the MCC code is Laos
  • the supported PLMN identifiers in Laos may include 45701-45704 and 45711-45714
  • the non-supported PLMN identifiers in Laos may include 45705-45710 and 45715-45720.
  • the country corresponding to the value "414" of the MCC code is Srintunas.
  • the supported PLMN identifiers in Sri may include 41401 to 41404 and 41411 to 41414
  • the non-supported PLMN identifiers of Sri may include 41405 to 41410 and 41415 to 41420.
  • the country corresponding to the value "520" of the MCC code is Thailand
  • the supported PLMN identifiers in Thailand may include 52001-52004 and 52011-52014
  • the non-supported PLMN identifiers in Thailand may include 52005-52010 and 52015-52020.
  • the country corresponding to the value "405" of the MCC code is India
  • the supported PLMN identifiers in India may include 40501-40504 and 40511-40514
  • the non-supported PLMN identifiers in India may include 40505-40510 and 40515-40520.
  • Table 2 is only used to explain the present application and should not be construed as a limitation.
  • the "supports PLMN identification” number segment and the "does not support PLMN identification” number segment may be pre-set and divided according to a specified standard (for example, according to a tariff threshold standard), and stored on the cloud server 200.
  • the parameter information may include the PLMN information of each use area corresponding to the relevant area (for example, the adjacent area of each use area), as shown in Table 3:
  • the country corresponding to the value "520" of the MCC code is Thailand, and the MCC codes of its neighboring areas may be 457 (Laos) and 414 (Myanmar).
  • the supported PLMN identifiers in Laos may include 45701-45704 and 45711-45714, and the non-supported PLMN identifiers in Laos may include 45705-45710 and 45715-45720.
  • the supporting PLMN identifiers in Vietnamese may include 41401-41404 and 41411-41414, and the non-supporting PLMN identifiers in Sri may include 41405-41410 and 41415-41420.
  • the country corresponding to the value "457" of the MCC code is Laos, and the MCC codes of its neighboring areas can be 520 (Thailand) and 414 (Myanmar).
  • the supporting PLMN identifiers in Thailand may include 52001-52004 and 52011-52014, and the non-supporting PLMN identifiers in Thailand may include 52005-52010 and 52015-52020.
  • the supporting PLMN identifiers in Vietnamese may include 41401-41404 and 41411-41414, and the non-supporting PLMN identifiers in Sri may be 520 (Thailand) and 414 (Myanmar).
  • the supporting PLMN identifiers in Thailand may include 52001-52004 and 52011-52014, and the non-supporting PLMN identifiers in Thailand may include 52005-52010 and 52015-52020.
  • the supporting PLMN identifiers in Vietnamese may include 41401-41404 and 41411-41414, and the non-supporting PLMN identifiers in
  • the country corresponding to the value "414" of the MCC code is Sri, and the MCC codes of its neighboring areas can be 520 (Thailand), 457 (Laos) and 405 (India).
  • the supporting PLMN identities in Thailand may include 52001-52004 and 52011-52014, and the non-supporting PLMN identities in Thailand may include 52005-52010 and 52015-52020.
  • the supported PLMN identifiers in Laos may include 45701-45704 and 45711-45714, and the non-supported PLMN identifiers in Laos may include 45705-45710 and 45715-45720.
  • the supported PLMN identifiers in India may include 40501-40504 and 40511-40514, and the non-supported PLMN identifiers in India may include 40505-40510 and 40515-40520.
  • the country corresponding to the value "405" of the MCC code is India, and the MCC code of its neighboring area may be 414 (Myanmar).
  • the supporting PLMN identifiers in Vietnamese may include 41401-41404 and 41411-41414, and the non-supporting PLMN identifiers in Vietnamese may include 41405-41410 and 41415-41420.
  • the MCC codes of the relevant areas of each use area, as well as the supported PLMNs of the relevant areas of each use area and the non-supported PLMNs of the relevant areas of each use area may be preset and stored in the cloud server 200. Up.
  • the parameter information of the virtual SIM card 1 sent by the cloud server 200 to the electronic device 100 may also include the communication data information of the virtual SIM card 1, and the communication data information may refer to the description of the communication data information in the aforementioned step S301, It is not repeated here.
  • the electronic device 100 may establish a communication connection with the cloud server 200 based on the WLAN communication technology, and send the data request 1 to the cloud server 200 based on the communication connection.
  • the cloud server 200 may also deliver the parameter information of the virtual SIM card 1 to the electronic device 100 based on the communication connection. This application does not limit this.
  • the electronic device 100 saves the parameter information of the virtual SIM card 1 .
  • the electronic device 100 can save the parameter information of the virtual SIM card 1 in the secure execution area of the specified application (for example, Huawei's Tiantong application) in the trusted execution environment (TEE) based on the consideration of data security (trusted application, TA).
  • the TA can protect the confidentiality and integrity of the parameter information of the virtual SIM card 1 .
  • the electronic device 100 stores the supported PLMN of the usage area 1 (which may also be referred to as the first supported PLMN information) and the supported PLMN identifier of the relevant area corresponding to the usage area 1 into the EHPLMN list 1 (which may also be referred to as the first EHPLMN list) ), store the non-supported PLMN in the use area 1 and the non-supported PLMN in the relevant area corresponding to the use area 1 into the FPLMN list 1.
  • the cloud server 200 may send the corresponding relevant area of Thailand in the virtual SIM card 1 to the electronic device 100 (for example, the neighboring area of Thailand) based on the following code format.
  • PLMN information PLMN information:
  • the first "mcc” in the code indicates the MCC code of Thailand
  • "520" indicates the value of the MCC code of Thailand.
  • the "neighbourInfo” identification indicates that the code area after the identification includes the value "457” of the MCC code of Laos in the neighboring area of Thailand and the PLMN information of Laos, the value of the MCC code of the neighboring area of Vietnamese "414" and the PLMN information of Srin
  • the cloud server 200 may send the PLMN information of the neighboring regions of Vietnamese, the PLMN information of the neighboring regions of Laos, and the PLMN information of the neighboring regions of India to the electronic device 100 according to the above code format.
  • the cloud server 200 may also send the PLMN information of the neighboring areas of each usage area to the electronic device 100 based on other formats, which is not limited in this application.
  • the electronic device 100 may, based on the parameter information of the virtual SIM card 1 sent by the cloud server 200 to the electronic device 100 in the foregoing step S305 (for example, the supported PLMN and the non-supported PLMN of each use area in Table 2), preferentially use the area 1 (for example, , Thailand) are stored in EHPLMN list 1, and non-supported PLMNs using region 1 are stored in FPLMN list 1, when the capacity of EHPLMN list 1 (for example, 16) and the capacity of FPLMN list 1 (for example, 36), the electronic device 100 can write the supported PLMNs of the relevant regions (for example, Laos) corresponding to the usage region 1 into the EHPLMN list 1, and write the non-local PLMNs of the relevant regions (for example, Laos and Sri) corresponding to the usage region 1 into the EHPLMN list 1. Support PLMN to write into FPLMN list 1. Then, the electronic device 100 may store the EHPLMN list 1 and the FPLMN list 1 into
  • the EHPLMN list 1 can be shown in Table 4, and the FPLMN list 1 can be shown in Table 5:
  • the cloud server 200 may send to the electronic device 100 each use area and the MCC code of each use area corresponding to the relevant area (for example, the adjacent area of each use area), as shown in Table 6:
  • the country corresponding to the value "520" of the MCC code is Thailand, and the MCC codes of its neighboring areas may be 457 (Laos) and 414 (Myanmar).
  • the country corresponding to the value "457” of the MCC code is Laos, and the MCC codes of its neighboring areas can be 520 (Thailand) and 414 (Myanmar).
  • the country corresponding to the value "414" of the MCC code is Sri, and the MCC codes of its neighboring areas can be 520 (Thailand), 457 (Laos) and 405 (India).
  • the country corresponding to the value "405" of the MCC code is India, and the MCC code of its neighboring area may be 414 (Myanmar).
  • the electronic device 100 can query from Table 2 for each use area and the corresponding correlation between each use area based on the MCC code of each use area in Table 6 and the MCC code of each use area corresponding to the relevant area (for example, the adjacent area of each use area). Regions (eg, neighboring regions of each usage region) MCC codes correspond to supported PLMNs and non-supported PLMNs. Then, the electronic device 100 may write the supported PLMNs of each use area and each use area corresponding to the relevant area (for example, the adjacent area of each use area) into the EHPLMN list 1, and each use area and each use area correspond to the relevant area (for example, each use area). , the non-supporting PLMNs of the neighboring areas of each use area) are written into the FPLMN list 1. This application does not limit this.
  • the electronic device 100 may receive the coordinate information corresponding to the MCC code of each area of use sent by the cloud server 200 .
  • the electronic device 100 obtains the value of the MCC code of the designated area of use and arrives at the area of use, the electronic device 100 can determine the relevant information about the area of use based on preset conditions (for example, the distance from the area of use is at a specified threshold) The MCC code of the region (eg, the neighboring regions where the electronic device 100 determines the usage region). Then, the electronic device 100 can acquire the supported PLMN and the non-supported PLMN corresponding to the relevant area in the designated area based on the acquired MCC code of the designated area corresponding to the relevant area. The electronic device 100 may write the supported PLMN into the EHPLMN list 1, and write the non-supported PLMN into the FPLMN list 1.
  • the electronic device 100 is stationed on the network to the usage area 1 based on the EHPLMN list 1 .
  • the electronic device 100 can select an appropriate PLMN based on the EHPLMN list 1 according to a specified priority order (for example, according to the order in the list), and then, the electronic device 100, based on the selected PLMN, station on the network to the usage area 1 in the mobile network.
  • a specified priority order for example, according to the order in the list
  • the selected PLMN may include multiple areas, and each area may be called a cell.
  • the electronic device 100 may determine a suitable cell (eg, a cell with the strongest signal in the frequency band) based on the selected PLMN.
  • the electronic device 100 can perform data interaction with the network where the cell is located, so that the electronic device 100 can camp on the network corresponding to the cell.
  • the electronic device 100 can select the support corresponding to the PLMN identifier "52001" with the highest ranking order and the highest priority based on the EHPLMN list 1 according to the sequence in the list. PLMN. Then, the electronic device 100 may determine an appropriate cell (eg, a cell with the strongest signal in the frequency band) based on the selected supporting PLMN, so as to camp on the supporting PLMN.
  • an appropriate cell eg, a cell with the strongest signal in the frequency band
  • the electronic device 100 when the electronic device 100 detects that the electronic device 100 has moved to the usage area 2 (which may also be referred to as the third area), the electronic device 100 can log on to the usage area 2 based on the EHPLMN list 1 .
  • the use area 2 is a related area of the use area 1 (for example, the use area 2 is adjacent to the use area 1), in the aforementioned step S307, the support PLMN of the use area 2 (which may also be referred to as the third support PLMN information) ) has been stored in EHPLMN list 1, and non-supported PLMNs using region 2 have been stored in FPLMN list 1.
  • the support PLMN of the use area 2 (which may also be referred to as the third support PLMN information) ) has been stored in EHPLMN list 1, and non-supported PLMNs using region 2 have been stored in FPLMN list 1.
  • the electronic device 100 When the electronic device 100 detects that the electronic device 100 has moved to the usage area 2 (for example, the electronic device 100 can obtain the value of the MCC code from the searched PLMN, the value of the MCC code is the value of the MCC code corresponding to the usage area 2) At this time, the electronic device 100 can select a suitable PLMN from the EHPLMN list 1 according to the specified priority order (for example, according to the sequence in the EHPLMN list 1) to search, and locate the network to the usage area 2.
  • the network residency process can be parameterized in the aforementioned step S308, which will not be repeated here.
  • the usage area 2 may be Laos, and the value of the MCC code of Laos may be "457".
  • the electronic device 100 detects one or more PLMNs, the value of the MCC code of the one or more PLMNs is "457", and the value of the MCC code is different from the value "520" of the MCC code in the previously resident PLMN , the electronic device 100 can determine that the electronic device 100 has moved to a new area.
  • the electronic device 100 can select the PLMN "45701" with the value of the MCC code "457” and the most advanced PLMN in the EHPLMN list 1 in the order of arrangement based on the value "457" of the MCC code, the PLMN "45701" " can include multiple areas, and each area can be called a cell.
  • the electronic device 100 may determine a suitable cell (eg, a cell with the strongest signal in the frequency band) based on the PLMN "45701".
  • the electronic device 100 can perform data interaction with the network where the cell is located, so that the electronic device 100 can camp on the network corresponding to the cell.
  • use area 3 is a related area of use area 2 (for example, use area 3 and use area 2 are adjacent).
  • the electronic device 100 detects that the electronic device 100 has moved to the use area 3 (for example, the electronic device 100 can obtain the value of the MCC code from the searched PLMN, and the value of the MCC code uses the value of the MCC code corresponding to the area 3)
  • the support PLMN of the use area 3 is not stored in the aforementioned step S307, and there is no support PLMN of the use area 3 in the EHPLMN list 1, so the electronic device 100 cannot be based on the EHPLMN list 1.
  • the electronic device 100 can exclude the non-supporting PLMNs that have been stored in the FPLMN table using region 3 based on the searched PLMNs, and then the electronic device 100 can select a suitable PLMN from the remaining searched PLMNs (for example, , the PLMN with the strongest signal), and select a suitable cell (for example, the cell with the strongest signal in the frequency band) based on the PLMN.
  • the electronic device 100 can perform data interaction with the network where the cell is located, so as to camp on the network corresponding to the cell.
  • the usage area 3 may be Srivaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavaszavas
  • the electronic device 100 can exclude the non-supporting PLMNs "41405" to "41410” and “41415" to “41420” with the MCC code value "414" stored in the FPLMN table, and then , the electronic device 100 may select the PLMN "41421" with the strongest signal from the remaining searched PLMNs, and select the cell with the strongest signal in the frequency band based on the PLMN.
  • the electronic device 100 can perform data interaction with the network where the cell is located, so as to camp on the network corresponding to the cell.
  • the electronic device 100 Based on the parameter information of the virtual SIM card 1, when the electronic device 100 confirms that the resident PLMN in step 310 is not a supported PLMN using region 3, it updates the EHPLMN list 1 and the FPLMN list 1, and obtains the EHPLMN list 2 (also called the EHPLMN list 2). is the second EHPLMN list) and FPLMN list 2.
  • the electronic device 100 can be based on the parameter information of the virtual SIM card 1 stored in the TA (for example, the supported PLMN of each use area and the related area of each use area). support PLMN), determine whether the PLMN where the electronic device 100 resides in step 310 is the support PLMN of the usage area 3. When the electronic device 100 confirms that the PLMN is not a supported PLMN using region 3, the electronic device 100 updates the EHPLMN list 1 and the FPLMN list 1 to obtain the EHPLMN list 2 and the FPLMN list 2.
  • the electronic device 100 can preferentially store the supported PLMN (which may also be referred to as the second supported PLMN information) of the region 3 (for example, Sri) in the EHPLMN list 1, and
  • the non-supported PLMNs using the region 3 (eg, northern) are stored in the FPLMN list 1, when the capacity of the EHPLMN list 1 (eg, 16) and the capacity of the FPLMN list 1 (eg, 36) are not reached, the electronic device 100 EHPLMN list 1 can be obtained by depositing supported PLMNs using region 3 neighboring regions (eg, India) into EHPLMN list 1, and non-supporting PLMNs using region 3 neighboring regions (eg, India and Thailand) into FPLMN list 1 List 2 and FPLMN List 2. Then, the electronic device 100 may store the EHPLMN list 2 and the FPLMN list 2 into the TA. Wherein, in this process, the electronic device
  • the EHPLMN list 2 may be shown in Table 7, and the FPLMN list 2 may be shown in Table 8:
  • the electronic device 100 relocates to the usage area 3 based on the PLMN in the EHPLMN list 2 .
  • the electronic device 100 may re-register on the network based on the EHPLMN list 2 in step S311.
  • the network residency process reference may be made to the foregoing step S308, which will not be repeated here.
  • the electronic device 100 has resided in the PLMN "41421" of the example shown in the aforementioned step 311 .
  • the electronic device 100 can update the EHPLMN list 1 and the FPLMN list 1 as described in the previous step S311 , get EHPLMN list 2 and FPLMN list 2, and get off the net from PLMN "41421".
  • the electronic device 100 may re-register to Srinunaspooler (eg, Table 7). For the network residency process, reference may be made to the foregoing step S308, which will not be repeated here.
  • the electronic device 100 when the electronic device 100 re-registers on the network based on the EHPLMN list 2 in step S312, and after successfully camping on the network, the electronic device 100 may display a prompt message (which may also be referred to as a second notification) indicating that the network is successfully connected. information) to prompt the user to successfully stay on the network in area 3.
  • a prompt message (which may also be referred to as a second notification) indicating that the network is successfully connected. information) to prompt the user to successfully stay on the network in area 3.
  • the electronic device 100 when the electronic device 100 detects that the PLMN residing in step S311 is a supported PLMN of usage region 3 (eg, Sri), and the electronic device 100 can continue to reside on the PLMN, the electronic device 100 can Displays the prompt information that the network is successfully stationed, so as to remind the user that the network is successfully stationed in the use area 3.
  • a supported PLMN of usage region 3 eg, Cambodia
  • the electronic device 100 when the electronic device 100 is stationed on the network based on the EHPLMN list 1 in the usage area 1, and after successfully stationing on the network, the electronic device 100 may display a prompt message (which may also be referred to as the first notification message) indicating that the network is successfully stationed on the network. ), to prompt the user to successfully settle on the network in region 1.
  • a prompt message (which may also be referred to as the first notification message) indicating that the network is successfully stationed on the network. ), to prompt the user to successfully settle on the network in region 1.
  • the electronic device 100 when the electronic device 100 is stationed on the network based on the EHPLMN list 1 in the usage area 2, and the electronic device 100 successfully registers on the network, the electronic device 100 may display the prompt information (which may also be referred to as the third notification information) indicating that the network is successfully stationed on the network. ) to prompt the user to successfully settle on the network in region 2.
  • the prompt information which may also be referred to as the third notification information
  • the electronic device 100 when the electronic device 100 detects that the PLMN residing in step S311 is a supported PLMN of usage region 3 (eg, Sri), the electronic device 100 may continue to reside on the PLMN.
  • a supported PLMN of usage region 3 eg, Cambodia
  • usage area 3 may not be a corresponding related area of usage area 1 (eg, usage area 3 is not a neighboring area of usage area 1). Therefore, in step S307, the EHPLMN list 1 has no supported PLMN information of the usage area 3.
  • the electronic device 100 arrives at the usage area 3, the aforementioned steps S310-S311 may be performed.
  • the electronic device 100 may detect that the electronic device 100 has moved to the usage area 2 or the usage area 3 by other means.
  • the electronic device 100 can obtain the current coordinate information of the electronic device 100 through a global navigation satellite system (GNSS), and the electronic device 100 can detect the current coordinate information based on the coordinate information and the map data stored in the electronic device 100 .
  • GNSS global navigation satellite system
  • the electronic device 100 has moved to the use area 2 or the use area 3 . This application does not limit this.
  • FIG. 5 exemplarily shows a schematic diagram of a system architecture.
  • the devices included in the system architecture may include a cloud server 200 and an electronic device 100 .
  • the electronic device 100 may include a designated application located at the application layer (Application) (for example, Huawei's Skylink application), a designated application located at the application framework layer (Framework) (for example, Huawei's Skylink application) extension interface, TA
  • the module, the virtual SIM card manager (VSIM Manager) located in the modem (Modem) module, the Modem module can be included in the baseband chip.
  • the specified application can be used for data communication with the cloud server 200, for example, sending the data request 1 described in step S304 to the cloud server 200, and receiving the virtual SIM card parameter information (for example, virtual SIM card parameter information issued by the cloud server 200)
  • the TA module can acquire and store data information (eg, virtual SIM card 1 parameter information, EHPLMN list and FPLMN list acquired from the cloud server 200 ) from a specified application.
  • the TA module can receive the instruction of the specified application extension interface (for example, the Telephony interface), and write the data information (for example, the EHPLMN list, the FPLMN list and the communication data information of the virtual SIM card 1) stored in the TA by the specified application into the In the VSIM Manager of the Modem module.
  • the specified application extension interface can be used for data interaction with the specified application located at the application layer and the VSIM Manager located in the Modem module.
  • the specified application extension interface can receive the network resident command from the specified application, and can send it to the VSIM Manager.
  • the instruction is used to call the VSIM Manager, so that it can complete the network based on the EHPLMN list and the FPLMN list.
  • the Modem module may also be used to search for the PLMN in the area where the electronic device 100 is located.
  • FIG. 6 exemplarily shows a schematic diagram of module interaction.
  • the devices involved in the module interaction method may include a cloud server 200 and an electronic device 100 .
  • the electronic device 100 may include a designated application (for example, Huawei's SkyTalk application), a TA module, a Telephony interface, and a Modem module, and the specific flow of the module interaction method may include:
  • the cloud server 200 may store parameter information of the virtual SIM card.
  • the specified application may receive a selection operation for the virtual SIM card 1 .
  • the designated application after receiving the selection operation for the virtual SIM card 1, the designated application can record the MCC code corresponding to the area of use that can be stationed on the network based on the virtual SIM card 1, and send the device of the electronic device 100 to the cloud server 200
  • the identifier is used to complete the authentication with the cloud server 200 .
  • the Modem module searches for one or more PLMNs that use area 1.
  • the Modem module sends the PLMN information of the usage area 1 to the designated application.
  • the PLMN information includes the MCC code corresponding to the usage area.
  • the designated application may send the data request 1 to the cloud server 200 based on the MCC code included in the PLMN information.
  • the cloud server 200 delivers the parameter information of the virtual SIM card 1 to the designated application.
  • the designated application may save the parameter information in the TA.
  • the designated application stores the supported PLMNs in the use area 1 and the supported PLMNs in the related areas corresponding to the use area 1 into the EHPLMN list 1, and stores the non-support PLMNs in the use area 1 and the non-support PLMNs in the use area 1 corresponding to the relevant areas into the FPLMN list 1.
  • the specified application stores the EHPLMN list 1 and the FPLMN list 1 in the TA.
  • the designated application sends a network resident instruction to the Telephony interface, and calls the Telephony interface.
  • the Telephony interface can send a data command to the TA.
  • the TA After receiving the data instruction, the TA can write the data information stored in this area (for example, the communication data information of the virtual SIM card 1, the EHPLMN list 1, the FPLMN list 1, etc.) into the Modem module.
  • the data information stored in this area for example, the communication data information of the virtual SIM card 1, the EHPLMN list 1, the FPLMN list 1, etc.
  • the Telephony interface can send a network station command to the Modem module.
  • the Modem module can use the communication data information of the virtual SIM card 1 to select the PLMN identifier in the list based on the priority order specified in the EHPLMN list 1 (for example, according to the order in the list) in response to the network stay instruction
  • the corresponding network is stationed on the network.
  • step of staying on the network reference may be made to the description of the foregoing step S308, which will not be repeated here.
  • the Modem module can search for one or more PLMNs in the use area 2, and the PLMN includes the MCC code corresponding to the use area 2.
  • the Modem module can use the communication data information of the virtual SIM card 1 based on the MCC code to select the network corresponding to the PLMN identifier in the EHPLMN list 1 according to the priority order specified in the EHPLMN list 1 (for example, according to the order in the list) On the network. For the step of staying on the network, reference may be made to the description of the foregoing step S308, which will not be repeated here.
  • the Modem module can search for one or more PLMNs in the use area 3, the PLMN includes the MCC code corresponding to the use area 3, and when there is no support PLMN in the use area 3 in the EHPLMN list 1, the Modem module can reside in the On the searched PLMN.
  • the network residency process reference may be made to the description in the foregoing step S310, which will not be repeated here.
  • the Modem module sends a successful network resident instruction and the information of the resident PLMN to the designated application, and the successful network resident instruction can be used to trigger the designated application to determine whether the resident PLMN is a supported PLMN of usage area 3.
  • the specified application stores the EHPLMN list 2 and the FPLMN list 2 in the TA.
  • the designated application sends a network resident instruction to the Telephony interface, and calls the Telephony interface.
  • the Telephony interface can send a data instruction to the TA.
  • the TA can write the data information stored in this area (for example, the EHPLMN list 2, the FPLMN list 2, etc. in the foregoing step 618) into the Modem module.
  • the S624 and Telephony interfaces can send network station commands to the Modem module.
  • the Modem module can use the communication data information of the virtual SIM card 1 to select the PLMN identifier in the list based on the priority order specified in the EHPLMN list 2 (for example, according to the order in the list) in response to the on-network instruction
  • the corresponding network is stationed on the network. For the step of staying on the network, reference may be made to the description of the foregoing step S312, which will not be repeated here.
  • the Modem module after the Modem module successfully resides on the network based on the EHPLMN list 2, it can send a notification of the successful onboarding to the designated application, so that the electronic device 100 can display the prompt information of the successful onboarding.
  • the electronic device 100 may display a user interface 710 .
  • the user interface 710 may display a prompt box 711 .
  • the prompt box 711 may be used to prompt the user that the electronic device 100 has successfully logged on to the network in the aforementioned step S625.
  • the prompt information displayed in the prompt box 711 may be text information "Accessed to Vietnamese MPT", "3GB-4 general package", "2.5GB remaining", and so on.
  • the prompt information may also be voice output from the electronic device 100 or other types of prompt information, etc., which is not limited in this application.
  • the prompt box 711 may also display a close control 711A, so that the user can choose to close the display of the prompt box 711 .
  • the electronic device 100 when the electronic device 100 searches for multiple PLMNs, the electronic device 100 can log on to one of the PLMNs according to a specified standard (for example, log on to the PLMN with the strongest signal among the multiple PLMNs). Then, the electronic device 100 may determine whether the resident PLMN is a supporting PLMN based on the EHPLMN list. When the PLMN where the electronic device 100 resides is a supporting PLMN (that is, stored in the EHPLMN list), the electronic device 100 normally uses the PLMN.
  • a specified standard for example, log on to the PLMN with the strongest signal among the multiple PLMNs. Then, the electronic device 100 may determine whether the resident PLMN is a supporting PLMN based on the EHPLMN list. When the PLMN where the electronic device 100 resides is a supporting PLMN (that is, stored in the EHPLMN list), the electronic device 100 normally uses the PLMN.
  • the electronic device 100 may, based on the MCC code included in the PLMN, support the PLMN of the region corresponding to the MCC code and the region-related regions (for example, the neighboring regions of the region). ) are written into the EHPLMN list, and the unsupported PLMNs of the region and the unsupported PLMNs of the related regions of the region (eg, neighboring regions of the region) are written into the FHPLMN list.
  • the electronic device 100 can re-register on the network based on the EHPLMN list. For the process of staying on the network, reference may be made to the description in the foregoing step S308, and details are not repeated here.
  • the term “when” may be interpreted to mean “if” or “after” or “in response to determining" or “in response to detecting" depending on the context.
  • the phrases “in determining" or “if detecting (the stated condition or event)” can be interpreted to mean “if determining" or “in response to determining" or “on detecting (the stated condition or event)” or “in response to the detection of (the stated condition or event)”.
  • the above-mentioned embodiments it may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • software it can be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated.
  • the computer may be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • the computer instructions may be stored in or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server or data center Transmission to another website site, computer, server, or data center by wire (eg, coaxial cable, optical fiber, digital subscriber line) or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that includes an integration of one or more available media.
  • the usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVDs), or semiconductor media (eg, solid state drives), and the like.
  • the process can be completed by instructing the relevant hardware by a computer program, and the program can be stored in a computer-readable storage medium.
  • the program When the program is executed , which may include the processes of the foregoing method embodiments.
  • the aforementioned storage medium includes: ROM or random storage memory RAM, magnetic disk or optical disk and other mediums that can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

本申请公开了一种驻网方法、电子设备及系统,涉及通信领域,该方法包括:电子设备可以从云服务器获取指定地区对应的PLMN信息以及指定地区的相关地区(例如,指定地区的邻近地区)对应的PLMN信息。当电子设备移动至指定地区时,电子设备可以使用指定地区的PLMN信息完成驻网。当电子设备从指定地区移动至指定地区的相关地区时,电子设备可以使用该相关地区的PLMN信息完成驻网。这样,云服务器可以不必重新下发虚拟SIM卡,节省了虚拟SIM卡的资源,同时也极大地提升电子设备驻网的效率。

Description

驻网方法、电子设备及系统
本申请要求于2021年04月27日提交中国专利局、申请号为202110461238.4、申请名称为“驻网方法、电子设备及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,尤其涉及一种驻网方法、电子设备及系统。
背景技术
随着通信技术的发展,电子设备可以不再使用传统的实体用户识别卡(subscriber identity module,SIM),而是使用虚拟SIM卡使得电子设备可以接入移动通信网络中,并基于该网络进行正常的通话、短信、上网等操作。
当用户的位置发生变化时,用户所携带的电子设备也会随之改变所处地区,移动到一个新的区域,电子设备会断开原地区的公共陆地移动网(public land mobile network,PLMN)。此时,电子设备可以基于虚拟SIM卡优先尝试驻留到等价公共陆地移动网(equivalent home public land mobile network,EHPLMN)列表中PLMN标识对应的网络。然而,因为EHPLMN列表容量有限,若列表中无当前区域的PLMN时,可能导致电子设备驻网所耗费的时间过长或者驻网失败,造成驻网效率低的问题。
发明内容
本申请提供了一种驻网方法、电子设备及系统,实现了当电子设备检测到电子设备所处的地区发生改变时,云服务器可以不必重新下发虚拟SIM卡,节省了虚拟SIM卡的资源,同时也可以缩短电子设备驻留到新地区的网络的时间,极大地提升电子设备驻网的效率。
第一方面,本申请提供了一种驻网方法,该方法包括:电子设备接收云服务器发送的第一虚拟SIM卡的参数信息,其中,该第一虚拟SIM卡的参数信息包括第一地区的第一支持PLMN信息、与该第一地区关联的第二地区的第二支持PLMN信息。当该电子设备检测到已处于该第一地区时,该电子设备将该第一支持PLMN信息写入第一EHPLMN列表中。该电子设备基于该第一EHPLMN列表中的该第一支持PLMN信息进行驻网。当该电子设备检测到该电子设备移动至该第二地区,且该第一EHPLMN列表中无该第二支持PLMN信息时,该电子设备搜索并驻留至该第二地区的第一PLMN。若该第二支持PLMN信息中没有该第一PLMN,该电子设备将该第二支持PLMN信息写入该第一EHPLMN列表中,得到第二EHPLMN列表。该电子设备从该第一PLMN脱网,并基于该第二EHPLMN列表中的该第二支持PLMN信息进行驻网。
这样,可以节省了虚拟SIM卡的资源,同时也可以缩短电子设备驻留到新地区的网络的时间,极大地提升电子设备驻网的效率。
在一种可能的实现方式中,该第一虚拟SIM卡的参数信息还包括第三地区的第三支持PLMN信息。该电子设备将该第三支持PLMN信息写入到该第一EHPLMN列表中。该电子设备检测到该电子设备移动至该第三地区。该电子设备基于该第一EHPLMN列表中的该第三 支持PLMN信息进行驻网。这样,可以缩短电子设备驻留到新地区的网络的时间,极大地提升电子设备驻网的效率。
在一种可能的实现方式中,在电子设备接收云服务器发送的第一虚拟SIM卡的参数信息之前,该方法还包括:电子设备显示第一界面,该第一界面包括第一虚拟SIM卡选项。该电子设备接收作用于该第一虚拟SIM卡选项的第一输入。该电子设备发送第一数据请求至云服务器。
在一种可能的实现方式中,该电子设备检测到已处于该第一地区,具体包括:该电子设备检测到已搜索到的PLMN中包括有该第一地区对应的MCC码。或者,该电子设备通过GNSS定位模块获取该电子设备当前所处的位置,根据获取到的位置确定出该电子设备当前所处的区域在该第一地区的地理区域内。
在一种可能的实现方式中,该电子设备检测到该电子设备移动至该第二地区,具体包括:该电子设备检测到已搜索到的PLMN中包括有该第二地区对应的MCC码。或者,该电子设备通过GNSS定位模块获取该电子设备当前所处的位置,根据获取到的位置确定出该电子设备当前所处的区域在该第二地区的地理区域内。
在一种可能的实现方式中,第一虚拟SIM卡的参数信息具体包括:第一地区的第一支持PLMN信息、第二地区的第二支持PLMN信息以及该第一地区与该第二地区的关联信息。其中,该第一地区与该第二地区的关联信息用于指示该第一地区与该第二地区关联。
在一种可能的实现方式中,该方法还包括:若该第二支持PLMN信息中有该第一PLMN,该电子设备保持驻留至该第一PLMN。
在一种可能的实现方式中,该方法还包括:在该第一EHPLMN列表中,该第一支持PLMN信息的优先级最高。在该第二EHPLMN列表中,该第二支持PLMN信息的优先级最高。
在一种可能的实现方式中,该电子设备基于该第一EHPLMN列表中的该第一支持PLMN信息进行驻网之后,该方法还包括:显示出第一通知信息,用于提示用户已在该第一地区成功驻网。
在一种可能的实现方式中,该电子设备从该第一PLMN脱网,并基于该第二EHPLMN列表中的该第二支持PLMN信息进行驻网之后,该方法还包括:显示出第二通知信息,用于提示用户已在该第二地区成功驻网。
在一种可能的实现方式中,该电子设备基于该第一EHPLMN列表中的该第三支持PLMN信息进行驻网之后,该方法还包括:显示出第三通知信息,用于提示用户已在该第三地区成功驻网。
在一种可能的实现方式中,该电子设备检测到该电子设备移动至该第三地区,具体包括:该电子设备检测到已搜索到的PLMN中包括有该第三地区对应的MCC码。或者,该电子设备通过GNSS定位模块获取该电子设备当前所处的位置,根据获取到的位置确定出该电子设备当前所处的区域在该第三地区的地理区域内。
在一种可能的实现方式中,该第一地区的地理位置和该第三地区的地理位置相邻。
在一种可能的实现方式中,该第一地区的地理位置和该第二地区的地理位置相邻。
第二方面,本申请提供了一种芯片系统,应用于电子设备,该芯片系统包括:应用处理器和基带处理器。该应用处理器和该基带处理器用于从存储器中调用并运行该存储器中存储的指令,使得安装有该芯片系统的电子设备执行上述第一方面中任一项可能的实现方式中的方法。
第三方面,本申请提供了一种电子设备,包括通信装置、存储器以及耦合于该存储器的处理器,多个应用程序,以及一个或多个程序。该处理器在执行该一个或多个程序时,使得该电子设备执行上述第一方面中任一项可能的实现方式中的方法。
第四方面,本申请提供了一种计算机存储介质,该存储介质中存储有计算机程序,该计算机程序包括可执行指令,该可执行指令当被处理器执行时使该处理器执行上述第一方面中任一项可能的实现方式中的方法。
附图说明
图1是本申请实施例提供的一种通信系统的架构示意图;
图2A是本申请实施例提供的一种电子设备的硬件结构示意图;
图2B是本申请实施例提供的一种云服务器的硬件结构示意图;
图3是本申请实施例提供的一种驻网方法的流程示意图;
图4A-图4C是本申请实施例提供的一组用户界面示意图;
图5是本申请实施例提供的一种系统架构示意图;
图6是本申请实施例提供的一种模块交互的示意图;
图7是本申请实施例提供的一种用户界面示意图。
具体实施方式
下面将结合附图对本申请实施例中的技术方案进行清除、详尽地描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;文本中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,另外,在本申请实施例的描述中,“多个”是指两个或多于两个。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
首先介绍本申请提供的一种驻网流程。
电子设备可以驻留在地区1的网络中,当电子设备检测到电子设备所在的地区从地区1移动至地区2时,电子设备可以从云服务器获取到只适用于地区2的虚拟SIM卡。电子设备接收到该虚拟SIM卡后,可以向EHPLMN列表中写入地区2的支持PLMN对应的标识,向FPLMN列表中写入地区2的非支持PLMN对应的标识,然后,电子设备可以驻留到EHPLMN列表中PLMN标识对应的网络上。
从上述流程中可以看出,电子设备每一次检测到电子设备移动到新的地区时,都会重新从云服务器处获取只适用于当前地区的虚拟SIM卡,并基于该虚拟SIM卡重新进行驻网,从而导致电子设备驻留新地区的网络的时间较长,驻网效率较低的问题。
因此,本申请提供了一种驻网的方法。电子设备可以从云服务器获取指定地区对应的PLMN信息以及指定地区的相关地区(例如,指定地区的邻近地区)对应的PLMN信息。当电子设备移动至指定地区时,电子设备可以使用指定地区的PLMN信息完成驻网。当电子设备从指定地区移动至指定地区的相关地区时,电子设备可以使用该相关地区的PLMN信息完成驻网。其中,该指定地区和指定地区的相关地区可以是国家,也可以是国家中的某些地区。
这样,当电子设备检测到电子设备所处的地区发生改变时,云服务器可以不必重新下发虚拟SIM卡,节省了虚拟SIM卡的资源,同时也可以缩短电子设备驻留到新地区的网络的时间,极大地提升电子设备驻网的效率。
下面,介绍本申请提供的一种通信系统10。
如图1示例性所示,通信系统10可以包括电子设备100、云服务器200、网络设备300和网络设备400。
电子设备100可以是手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personaldigital assistant,PDA)或专门的照相机(例如单反相机、卡片式相机)等,本申请对该电子设备100的具体类型不作任何限制。
电子设备100可以通过2G网络、3G网络、4G网络、5G网络、无线局域网(wireless local area network,WLAN)模块等与云服务器200建立通信连接。其中,该WLAN模块可以提供包括无线保真直连(wireless fidelity direct,Wi-Fi direct)、无线保真局域网(wireless fidelity local area networks,Wi-Fi LAN)或无线保真软件接入点(wireless fidelity software access point,Wi-Fi softAP)中一项或多项WLAN通信的解决方案。电子设备100可以基于上述通信连接和云服务器200进行数据交互,向云服务器200发送数据请求(例如,请求云服务器200下发虚拟SIM卡的参数信息)。云服务器200也可以基于上述通信连接接收到电子设备100发送的数据请求,向电子设备100发送存储于云服务器200上的虚拟SIM卡的参数信息(例如,虚拟SIM卡的通信数据信息、可以基于该虚拟SIM卡连接移动通信网的使用地区、各使用地区对应相关地区的PLMN信息以及各使用地区的PLMN信息等等)。
云服务器200可以存储有虚拟SIM卡的参数信息(例如,虚拟SIM卡的通信数据信息、可以基于该虚拟SIM卡连接移动通信网的使用地区、各使用地区对应相关地区的PLMN信息以及各使用地区的PLMN信息等等)。云服务器200可以和多个电子设备100建立通信连接,可以处理多个电子设备100请求处理的任务。其中,云服务器200可以通过电子设备100上用户登录的账户(例如,华为账户),或电子设备100对应的国际移动设备识别码(international mobile equipment identity,IMEI)等设备标识对电子设备100进行区分。
网络设备300可以是能和电子设备100通信的设备。网络设备300可以是基站、中继站或接入点。其中,基站可以是GSM(Global System for Mobile Communication,全球移动通信系统)或CDMA(Code Division Multiple Access,码分多址)网络中的BTS(Base Transceiver Station,基站收发信台),也可以是WCDMA(Wideband Code Division Multiple Access,宽带码分多址)中的NB(NodeB),还可以是LTE(Long Term Evolution,长期演进)中的eNB或eNodeB(Evolutional NodeB)。网络设备300还可以是CRAN(Cloud Radio Access Network,云无线接入网络)场景下的无线控制器。网络设备300还可以是5G网络中的基站设备或者未来演进的PLMN网络中的网络设备。在本申请中,网络设备300可以发射出PLMN信号。该发射出的PLMN信号可以经由电子设备100上的无线信道接收天线被电子设备100接收,从 而可以使得电子设备100驻网到对应的PLMN中。
当电子设备100从网络设备300所处的地区移动至另一地区时,该地区的网络设备400可以发射出PLMN信号。该发射出的PLMN信号可以经由电子设备100上的无线信道接收天线被电子设备100接收,从而可以使得电子设备100驻网到对应的PLMN中。关于网络设备400的描述,可以参考网络设备300的说明,在此不再赘述。
接下来,介绍本申请实施例中提供的示例性电子设备100。
图2A示出了电子设备100的硬件结构示意图。
电子设备100可以包括处理器110,外部存储器接口120、内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合来实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可以从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。
I2S接口可以用于音频通信。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。它将要传输的数据在串行通信与并行通信之间转换。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于检测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可以用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另一些实施例中,天线可以和调谐开关结合使用。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制 解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。在一些实施例中,移动通信模块150提供的无线通信的解决方案可使得电子设备可以与网络中的设备(如服务器)通信。
调制解调处理器可以包括调制器和解调器。其中,其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。在一些实施例中,电子设备100可以通过无线通信模块160中的蓝牙模块、WLAN模块发射信号来探测或扫描在电子设备100附近的设备,并与附近的设备建立无线通信连接并传输数据。其中,蓝牙模块可以提供包括经典蓝牙(蓝牙2.1标准)或蓝牙低功耗中一项或多项蓝牙通信的解决方案。WLAN模块可以提供包括Wi-Fi direct、Wi-Fi LAN或Wi-Fi softAP中一项或多项WLAN通信的解决方案。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(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,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode 的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
内部存储器121可以包括一个或多个随机存取存储器(random access memory,RAM)和一个或多个非易失性存储器(non-volatile memory,NVM)。
随机存取存储器可以包括静态随机存储器(static random-access memory,SRAM)、动态随机存储器(dynamic random access memory,DRAM)、同步动态随机存储器(synchronous dynamic random access memory,SDRAM)、双倍资料率同步动态随机存取存储器(double data rate synchronous dynamic random access memory,DDR SDRAM,例如第五代DDR SDRAM一般称为DDR5SDRAM)等;
非易失性存储器可以包括磁盘存储器件、快闪存储器(flash memory)。
快闪存储器按照运作原理划分可以包括NOR FLASH、NAND FLASH、3D NAND FLASH等,按照存储单元电位阶数划分可以包括单阶存储单元(single-level cell,SLC)、多阶存储单元(multi-level cell,MLC)、三阶储存单元(triple-level cell,TLC)、四阶储存单元(quad-level cell,QLC)等,按照存储规范划分可以包括通用闪存存储(英文:universal flash storage,UFS)、嵌入式多媒体存储卡(embedded multi media Card,eMMC)等。
随机存取存储器可以由处理器110直接进行读写,可以用于存储操作系统或其他正在运行中的程序的可执行程序(例如机器指令),还可以用于存储用户及应用程序的数据等。
非易失性存储器也可以存储可执行程序和存储用户及应用程序的数据等,可以提前加载到随机存取存储器中,用于处理器110直接进行读写。
外部存储器接口120可以用于连接外部的非易失性存储器,实现扩展电子设备100的存储能力。外部的非易失性存储器通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部的非易失性存储器中。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。
骨传导传感器180M可以用于获取振动信号。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
接下来,介绍本申请实施例中提供的示例性云服务器200。
图2B示出了云服务器200的硬件结构示意图。
如图2B所示,该云服务器200可以应用于上述图1中所描述的通信系统10。该云服务器200可以包括一个或多个处理器201A、通信接口202A、存储器203A,处理器201A、通信接口202A、存储器203A可以通过总线或者其他方式进行连接,本申请实施例以通过总线204A连接为例。其中:
处理器201A可以由一个或者多个通用处理器构成,例如CPU。处理器201A可以用于运行设备控制方法的相关的程序代码。
通信接口202A可以为有线接口(例如以太网接口)或无线接口(例如蜂窝网络接口),用于与其他节点进行通信。本申请实施例中,通信接口202A具体可以用于与电子设备100进行 通信,接收电子设备100发送的数据请求(例如,请求下发虚拟SIM卡参数信息的数据请求)、数据信息(例如,电子设备100的设备标识)等等。
存储器203A可以包括易失性存储器(volatile memory),例如随机存取存储器(random ac cess memory,RAM);也可以包括非易失性存储器(non-vlatile memory),例如ROM、快闪存储器(flash memory)、硬盘驱动器(Hard Disk Drive,HDD)或固态硬盘(Solid State Drives,S SD);存储器203A还可以包括上述种类的存储器的组合。在本申请实施例中,存储器203A可以用于虚拟SIM卡参数信息(例如,虚拟SIM卡的通信数据信息、可以基于该虚拟SIM卡连接移动通信网的使用地区、各使用地区对应相关地区的PLMN信息以及各使用地区的PL MN信息等等),该虚拟SIM卡参数信息可以基于通信接口202A下发至电子设备100。电子设备100接收到该虚拟卡SIM参数信息后,可以基于上述参数信息驻留到当下所处区域所支持的PLMN(例如,存在于EHPLMN列表中PLMN标识所对应的网络)上,以及,实行本申请所提供的驻网方法。存储器203A还可以存储一些程序代码,以便于处理器201A调用存储器203A中存储的程序代码,以实现本申请实施例在云服务器200中的实现方法。
需要说明的是,图2B所示的云服务器200仅仅是本申请实施例的一种实现方式,实际应用中,云服务器200还可以包括更多或更少的部件,这里不作限制。
下面介绍本申请实施例提供的一种驻网方法。
图3示出了本申请实施例中提供的一种驻网方法的流程图,该方法具体流程可以包括:
S301、云服务器200存储有多个虚拟SIM卡的参数信息。
具体的,该多个虚拟SIM卡中可以包括有虚拟SIM卡1(也可以被称为第一虚拟SIM卡),该参数信息可以包括虚拟SIM卡的通信数据信息、虚拟SIM卡中多个使用地区(例如,使用地区1、使用地区2和使用地区3等等)的PLMN信息和各使用地区相关地区(例如,各使用地区的邻近地区)的PLMN信息等等。
其中,该虚拟SIM卡的通信数据信息可以包括有移动用户识别码(international mobile subscriber identity,IMSI)、集成电路卡识别码(Integrate circuit card identity,ICCID)、密钥标识符(key identifier,KI)和鉴权密钥OPC等等中一个或多个。其中,该IMSI码可以在所有蜂窝网络中不重复,用于区分蜂窝网络中的不同用户设备。在一些实施例中,该IMSI码可以用于在归属位置寄存器(home location register,HLR)或拜访位置寄存器(visitor location register,VLR)中查询用户设备的信息。该IMSI码由十进制数字组成,最大长度为15位,由MMC码、移动网络代码(mobile network code,MNC)和移动订户识别码(mobile subscription identification number,MSIN)组成,MCC码长度为3位,MNC码长度由MCC的值决定,可以是欧洲标准的2位,也可以是北美标准的3位,MSIN的值由运营商自行分配。例如,以使用地区1是泰国为例,虚拟SIM卡1的IMSI码结构可以如表1所示:
表1
Figure PCTCN2022087678-appb-000001
从表1中可知,该虚拟SIM卡1的IMSI码的值为“520011357924680”。其中,MCC码的值是“520”,对应的地区是泰国,MNC码的值是“01”,对应运营商A,MSIN码的 值为1357924680。
PLMN信息可以包括MCC码和MNC码,用于标识移动运营商提供的PLMN。
需要说明的是,上述表1仅仅用于解释本申请,不应构成限定。
ICCID可以用于标识对应的虚拟SIM卡。Ki可以配合IMSI用于在虚拟SIM卡登录网络时作为认证的鉴权密钥。鉴权密钥OPC可以用于虚拟SIM卡登录网络时电子设备对网络设备的核查,避免伪基站。OPC可以由Ki和存储在电子设备中的运营商根密钥(operator variant algorithm configuration field,OP)计算获得。
S302、电子设备100接收针对虚拟SIM卡1的选择操作。
S303、在接收到针对虚拟SIM卡1的选择操作后,电子设备100可以记录下能够基于该虚拟SIM卡1进行驻网的使用地区所对应的MCC码,并且电子设备100可以与云服务器200完成鉴权。
具体的,电子设备100可以接收用户作用于虚拟SIM卡1对应选项上的触摸操作(例如,点击),响应于该触摸操作,电子设备100可以记录下能够基于该虚拟SIM卡1进行驻网的使用地区的对应的MCC码。电子设备100可以向云服务器200发送选择信息,该选择信息可以包括电子设备100的设备标识(例如,电子设备100上指定应用的账号信息)。云服务器200接收到该选择信息后,可以将该电子设备100的设备标识保存到指定的白名单中。该白名单存储有电子设备100的设备标识,可以表示该电子设备100具有获取该虚拟SIM卡1的参数信息的权限。
示例性的,如图4A所示,电子设备100可以显示出主屏幕的界面400。该界面400中可以显示有一个或多个应用图标。其中,该一个或多个应用图标可以包括有天气应用图标、股票应用图标、计算器应用图标、设置应用图标、邮件应用图标、主题应用图标、音乐应用图标、视频应用图标、天际通应用图标401等等。
可选的,界面400中还可以显示有状态栏、页面指示符和托盘图标区域。其中,状态栏可以包括移动通信信号(又可以称为蜂窝信号)的一个或多个信号强度指示符、无线保真(wireless fidelity,Wi-Fi)信号的信号强度指示符、电池状态指示符、时间指示符等等。页面指示符可以用于表明当前显示的页面与其他页面的位置关系。托盘图标区域包括有多个托盘图标(例如拨号应用图标、信息应用图标、联系人应用图标、相机应用图标),托盘图标在页面切换时保持显示。上述页面也可以包括多个应用图标和页面指示符,页面指示符可以不是页面的一部分,单独存在,上述图片图标也是可选的,本申请实施例对此不作限制。
电子设备100可以接收到用户作用于天际通应用图标401上的触摸操作(例如,点击),响应于该触摸操作,电子设备100可以显示出如图4B所示的用户界面410。
如图4B所示,该用户界面410可以包括有一个或多个虚拟SIM卡资源界面展示选项。其中,一个或多个虚拟SIM卡资源界面展示选项可以包括有“日本”选项、“韩国”选项、“泰国”选项411、“欧洲”选项、“美国”选项、“加拿大”选项等等。各选项可以对应有文本描述信息,例如,“日本”选项可以对应有文本描述信息“7.9元/天”,“韩国”选项可以对应有文本描述信息“7.9元/天”,“泰国”选项411可以对应有文本描述信息“7.6元/天”,“欧洲”选项可以对应有文本描述信息“8.3元/天”,“美国”选项可以对应有文本描述信息“7.9元/天”,“加拿大”选项可以对应有文本描述信息“7.9元/天”。
可选的,用户界面410还可以包括有状态栏、显示在状态栏下方的页面指示符、搜索框、一个或多个页面展示选项。其中,有关于该状态栏的描述,可以参考图4A所示实施例中状 态栏的说明,在此不再赘述。显示在状态栏下方的页面指示符可以用于指示当前页面展示的内容,该页面指示符可以是文本信息(例如,文本信息“推荐”),也可以是图标,本申请对此不作限制。搜索框可以用于监听通过文本搜索想要搜索的内容(例如,触摸操作),响应于该操作,电子设备100可以显示文本输入框,使得用户可以在输入框中输入想要搜索的内容。一个或多个页面展示选项可以包括有“全球流量”页面展示选项、“新手指导”页面展示选项、“免费权益”页面展示选项、“语音导览”页面展示选项、“签证”页面展示选项、“全球酒店”页面展示选项、“全球机票”页面展示选项、“全球租车”页面展示选项等等。
电子设备100可以接收到用户作用于“泰国”选项411上的触摸操作(例如,点击),响应于该触摸操作,电子设备100可以显示出如图4C所示的用户界面420(也可以被称为第一界面)。
如图4C所示,该用户界面420可以包括有页面指示符和一个或多个虚拟SIM卡资源选项。其中,页面指示符可以用于指示当前页面展示的内容,该页面指示符可以是文本信息(例如,文本信息“泰国”),也可以是图标,本申请对此不作限制。一个或多个虚拟SIM卡选项可以包括有“3GB 4地通用”选项421、“10日行4地通用”选项、“1日行83地通用”选项、“3日行新马通用”选项、“5日行新马通用”选项、“自定义天数”选项等等。“3GB 4地通用”选项421所对应的虚拟SIM卡可以对应于前述虚拟SIM卡1。各虚拟SIM卡选项可以对应有价格描述文本信息,例如,“3GB 4地通用”选项421可以对应有文本信息“¥128”,“10日行4地通用”选项可以对应有文本信息“¥148”,“1日行83地通用”选项可以对应有文本信息“¥20”,“3日行新马通用”选项可以对应有文本信息“¥48”,“5日行新马通用”选项可以对应有文本信息“¥78”,“自定义天数”选项可以对应有文本信息“¥17.8元/天起”。
电子设备100可以接收到用户作用于选项421(也可以被称为第一虚拟SIM卡选项)上的触摸操作(也可以被称为第一输入,例如,点击),响应于该触摸操作,电子设备100可以向云服务器200发送选择信息,该选择信息可以包括电子设备100的设备标识(例如,电子设备100上指定应用的账号信息)。云服务器200接收到该选择信息后,可以将该电子设备100的设备标识保存到指定的白名单中。该白名单存储有电子设备100的设备标识,可以表示该电子设备100具有获取该虚拟SIM卡1的参数信息的权限。
S304、当电子设备100检测到电子设备100移动至使用地区1(也可以被称为第一地区)时,电子设备100向云服务器200发送数据请求1(也可以被称为第一数据请求)。
其中,该数据请求1可以包括电子设备100的设备标识和/或使用地区1对应的标识(例如,使用地区1对应的MCC码)。该数据请求1可以用于电子设备100从云服务器200获取虚拟SIM卡1的参数信息。
具体的,电子设备100可以检测到一个或多个PLMN。当电子设备100基于该一个或多个PLMN获取到使用地区1的MCC码,该使用地区1的MCC码包括于前述步骤303所示实施例的MCC码记录中,指示该使用地区1包括在能够基于虚拟SIM卡1进行驻网的使用地区范围内。然后,电子设备100可以向云服务器200发送数据请求1。该数据请求1可以包括电子设备100的设备标识和/或使用地区1对应的MCC码。
例如,使用地区1可以是泰国,泰国的MCC码的值可以是“520”。当电子设备100检测到一个或多个PLMN,该一个或多个PLMN中的MCC码的值为“520”时,电子设备100可以判定出该值包括在前述步骤303所示实施例的MCC码记录中,然后电子设备100可以向云服务器200发送数据请求1。该数据请求1可以包括电子设备100的设备标识和/或泰国 MCC码的值“520”。
在一种可能的实现方式中,电子设备100可以通过其他方式检测到电子设备100已移动至使用地区1,该使用地区1包括在可以基于虚拟SIM卡1进行驻网的使用地区内。例如,电子设备100可以通过全球导航卫星系统(global navigation satellite system,GNSS)获取到电子设备100当前的坐标信息,电子设备100可以基于该坐标信息和存储于电子设备100中的地图数据,检测到电子设备100已移动至使用地区1,该使用地区1包括在可以基于虚拟SIM卡1进行驻网的使用地区范围内,然后,电子设备100可以向云服务器200发送数据请求1。该数据请求1用于从云服务器200获取虚拟SIM卡1的参数信息。本申请对此不作限制。
在一种可能的实现方式中,电子设备100可以接收到用户作用于前述图4C用户界面420的选项421上的触摸操作(例如,点击),响应于该触摸操作,电子设备100可以向云服务器200发送数据请求1。云服务器200接收到该数据请求1后,可以向电子设备100下发虚拟SIM卡1的参数信息。电子设备100接收到该参数信息后,可以将该参数信息存储在本设备中。
S305、响应于数据请求1,云服务器200向电子设备100发送虚拟SIM卡1的参数信息。
具体的,当云服务器200接收到该数据请求1后,可以基于使用地区1对应的MCC码查询出使用地区1对应的虚拟SIM卡1,并且可以确认电子设备100的设备标识存在于虚拟SIM卡1对应的白名单中,也即是电子设备100具有获取虚拟SIM卡1的权限时,云服务器200可以向电子设备100发送虚拟SIM卡1的参数信息。关于该参数信息的描述,可以参考前述步骤S301中的说明,在此不再赘述。其中,电子设备100上的指定应用(例如,华为的天际通应用)可以预置有虚拟SIM卡2。该虚拟SIM卡2可以和云服务器200进行数据通信,以获取到虚拟SIM卡1的数据信息。
例如,使用地区1可以是泰国,使用地区2可以是老挝,使用地区3可以是缅甸,使用地区4可以是印度。云服务器200向电子设备100发送的虚拟SIM卡1的参数信息中,可以包括泰国、老挝、缅甸、印度的PLMN信息,如表2所示:
表2
Figure PCTCN2022087678-appb-000002
其中,MCC码的值“457”对应的国家是老挝,老挝的支持PLMN标识可以包括45701~45704和45711~45714,老挝的非支持PLMN标识可以包括45705~45710和45715~45720。MCC码的值“414”对应的国家是缅甸,缅甸的支持PLMN标识可以包括41401~41404和4 1411~41414,缅甸的非支持PLMN标识可以包括41405~41410和41415~41420。MCC码的值“520”对应的国家是泰国,泰国的支持PLMN标识可以包括52001~52004和52011~52014,泰国的非支持PLMN标识可以包括52005~52010和52015~52020。MCC码的值“405”对应的国家是印度,印度的支持PLMN标识可以包括40501~40504和40511~40514,印度的非支持PLMN标识可以包括40505~40510和40515~40520。上述表2仅仅用于解释本申请,不应构成限定。
需要说明的是,表2中“支持PLMN标识”号段和“不支持PLMN标识”号段可以是预先按照指定标准(例如,按照资费阈值标准)进行设置划分,并存储在云服务器200上。
此外,该参数信息可以包括各使用地区对应相关地区(例如,各使用地区的邻近地区)的PLMN信息,如表3所示:
表3
Figure PCTCN2022087678-appb-000003
其中,MCC码的值“520”对应的国家是泰国,其邻近地区的MCC码可以是457(老挝)和414(缅甸)。老挝的支持PLMN标识可以包括45701~45704和45711~45714,老挝的非支持PLMN标识可以包括45705~45710和45715~45720。缅甸的支持PLMN标识可以包括41401~41404和41411~41414,缅甸的非支持PLMN标识可以包括41405~41410和41415~41420。MCC码的值“457”对应的国家是老挝,其邻近地区的MCC码可以是520(泰国)和414(缅甸)。泰国的支持PLMN标识可以包括52001~52004和52011~52014,泰国的非支持PLMN标识可以包括52005~52010和52015~52020。缅甸的支持PLMN标识可以包括41401~41404和41411~41414,缅甸的非支持PLMN标识可以包括41405~41410和41415~41420。MCC码的值“414”对应的国家是缅甸,其邻近地区的MCC码可以是520(泰国)、457(老挝)和405(印度)。泰国的支持PLMN标识可以包括52001~52004和52011~52014,泰国的非支持PLMN标识可 以包括52005~52010和52015~52020。老挝的支持PLMN标识可以包括45701~45704和45711~45714,老挝的非支持PLMN标识可以包括45705~45710和45715~45720。印度的支持PLMN标识可以包括40501~40504和40511~40514,印度的非支持PLMN标识可以包括40505~40510和40515~40520。MCC码的值“405”对应的国家是印度,其邻近地区的MCC码可以是414(缅甸)。缅甸的支持PLMN标识可以包括41401~41404和41411~41414,缅甸的非支持PLMN标识可以包括41405~41410和41415~41420。
需要说明的是,表3中各使用地区的相关地区的MCC码,以及各使用地区的相关地区的支持PLMN和各使用地区的相关地区的非支持PLMN可以是预先进行设置并存储在云服务器200上的。
需要说明的是,上述表3仅仅用于解释本申请,不应构成限定。
此外,云服务器200向电子设备100发送的虚拟SIM卡1的参数信息中,还可以包括有虚拟SIM卡1的通信数据信息,该通信数据信息可以参考前述步骤S301中关于通信数据信息的描述,在此不再赘述。
在一种可能的实现方式中,电子设备100可以基于WLAN通信技术和云服务器200建立通信连接,并基于该通信连接向云服务器200发送数据请求1。云服务器200收到该数据请求1后,也可以基于该通信连接向电子设备100下发虚拟SIM卡1的参数信息。本申请对此不作限制。
S306、电子设备100保存虚拟SIM卡1的参数信息。
具体的,电子设备100可以基于数据安全性考虑,将虚拟SIM卡1的参数信息保存在可信执行环境(trusted execution environment,TEE)中指定应用(例如,华为的天际通应用)的安全执行区域(trusted application,TA)里。该TA可以保护虚拟SIM卡1参数信息的保密性和完整性。
S307、电子设备100将使用地区1的支持PLMN(也可以被称为第一支持PLMN信息)和使用地区1对应相关地区的支持PLMN标识存入EHPLMN列表1(也可以被称为第一EHPLMN列表)中,将使用地区1的非支持PLMN和使用地区1对应相关地区的非支持PLMN存入FPLMN列表1中。
具体的,以泰国(也可以被称使用地区1)为例,云服务器200可以基于如下代码的格式,向电子设备100发送虚拟SIM卡1中泰国的对应相关地区(例如,泰国的邻近地区)的PLMN信息:
Figure PCTCN2022087678-appb-000004
Figure PCTCN2022087678-appb-000005
其中,该代码中的第一个“mcc”指示的是泰国的MCC码,“520”指示的是泰国的MCC码的值。“neighbourInfo”标识指示的是该标识后的代码区域包括泰国的邻近地区老挝的MCC码的值“457”和老挝的PLMN信息、邻近地区缅甸的MCC码的值“414”和缅甸的PLMN信息。
云服务器200可以按照上述的代码格式,向电子设备100发送缅甸的邻近地区的PLMN信息、老挝的邻近地区的PLMN信息以及印度的邻近地区的PLMN信息。
在一种可能的实现方式中,云服务器200还可以基于其他格式向电子设备100发送各使用地区邻近地区的PLMN信息,本申请对此不作限制。
电子设备100可以基于前述步骤S305中云服务器200发送给电子设备100的虚拟SIM卡1的参数信息(例如,表2中各使用地区的支持PLMN和非支持PLMN),优先将使用地区1(例如,泰国)的支持PLMN存入EHPLMN列表1,将使用地区1的非支持PLMN存入FPLMN列表1中,当未达到EHPLMN列表1的容量(例如,16个)和FPLMN列表1的容量(例如,36个)时,电子设备100可以将使用地区1对应的相关地区(例如,老挝)的支持PLMN写入到EHPLMN列表1内,将使用地区1对应的相关地区(例如,老挝和缅甸)的非支持PLMN写入到FPLMN列表1中。然后,电子设备100可以将该EHPLMN列表1和该FPLMN列表1存储到TA中。
其中,以使用地区1是泰国为例,该EHPLMN列表1可以如表4所示,该FPLMN列表1可以如表5所示:
表4
52001 52002 52003 52004
52011 52012 52013 52014
45701 45702 45703 45704
45711 45712 45713 45714
其中,该表中的“52001”、“52002”、“52003”、“52004”、“52011”、“52012”、“52013”、“52014”是泰国的支持PLMN的标识。“45701”、“45702”、“45703”、“45704”、“45711”、“45712”、“45713”、“45714”是老挝的支持PLMN的标识。
表5
52005 52006 52007 52008
52009 52010 52015 52016
52017 52018 52019 52020
45705 45706 45707 45708
45709 45710 45715 45716
45717 45718 45719 45720
41405 41406 41407 41408
41409 41410 41415 41416
41417 41418 41419 41420
其中,该表中的“52005”、“52006”、“52007”、“52008”、“52009”、“52010”、“52015”、“52016”、“52017”、“52018”、“52019”、“52020”是泰国的非支持PLMN的标识。“45705”、“45706”、“45707”、“45708”、“45709”、“45710”、“45715”、“45716”、“45717”、“45718”、“45719”、“45720”是老挝的非支持PLMN的标识。“41405”、“41406”、“41407”、“41408”、“41409”、“41410”、“41415”、“41416”、“41417”、“41418”、“41419”、“41420”是缅甸的非支持PLMN的标识。
需要说明的是,上述表4和表5仅仅用于示例性说明本申请,不应对本申请构成任何限制。
在一种可能的实现方式中,云服务器200可以向电子设备100发送各使用地区和各使用地区对应相关地区(例如,各使用地区的邻近地区)的MCC码,如表6所示:
表6
Figure PCTCN2022087678-appb-000006
其中,MCC码的值“520”对应的国家是泰国,其邻近地区的MCC码可以是457(老挝)和414(缅甸)。MCC码的值“457”对应的国家是老挝,其邻近地区的MCC码可以是520(泰国)和414(缅甸)。MCC码的值“414”对应的国家是缅甸,其邻近地区的MCC码可以是520(泰国)、457(老挝)和405(印度)。MCC码的值“405”对应的国家是印度,其邻近地区的MCC码可以是414(缅甸)。
电子设备100可以基于表6中各使用地区的MCC码和各使用地区对应相关地区(例如,各使用地区的邻近地区)的MCC码,从表2中查询出各使用地区和各使用地区对应相关地区(例如,各使用地区的邻近地区)MCC码对应的支持PLMN以及非支持PLMN。然后,电子设备100可以将各使用地区和各使用地区对应相关地区(例如,各使用地区的邻近地区)的支持PLMN写入EHPLMN列表1中,将各使用地区和各使用地区对应相关地区(例如,各使用地区的邻近地区)的非支持PLMN写入FPLMN列表1中。本申请对此不作限制。
需要说明的是,上述表6仅仅用于示例性说明本申请,不应对本申请构成任何限制。
在一种可能的实现方式中,电子设备100可以接收到云服务器200发送的各个使用地区MCC码对应的坐标信息。当电子设备100获取到指定使用地区的MCC码的值,到达该使用地区时,电子设备100可以基于预设条件(例如,和该使用地区的距离处于指定阈值),确定出该使用地区的相关地区(例如,电子设备100确定出该使用地区的邻近地区)的MCC码。然 后,电子设备100可以基于该获取到的指定地区对应相关地区的MCC码,获取到指定地区对应相关地区的支持PLMN和非支持PLMN。电子设备100可以将该支持PLMN写入到EHPLMN列表1,将非支持PLMN写入到FPLMN列表1中。
S308、电子设备100基于EHPLMN列表1,驻网到使用地区1。
具体的,电子设备100可以基于EHPLMN列表1按照指定的优先级顺序(例如,按照列表中排列的先后顺序)选择出合适的PLMN,然后,电子设备100基于选择出的PLMN,驻网到使用地区1的移动网络中。
具体的,该选择出的PLMN可以包括有多个区域,每个区域可以被称为小区(cell)。电子设备100可以基于该选择出的PLMN确定出合适的小区(例如,频段中信号最强的小区)。电子设备100可以和该小区所在的网络进行数据交互,使得电子设备100可以驻留到该小区对应的网络上。
示例性的,以使用地区1是泰国为例,电子设备100可以基于EHPLMN列表1按照列表中排列的先后顺序,选择出排列顺序最靠前,优先级最高的支持PLMN标识“52001”对应的支持PLMN。然后,电子设备100可以基于该选择出的支持PLMN确定出合适的小区(例如,频段中信号最强的小区),从而驻留到该支持PLMN上。
S309、当电子设备100检测到电子设备100移动至使用地区2(也可以被称为第三地区)时,电子设备100可以基于EHPLMN列表1驻网到使用地区2。
具体的,使用地区2是使用地区1的相关地区(例如,使用地区2和使用地区1相邻),在前述步骤S307中,使用地区2的支持PLMN(也可以被称为第三支持PLMN信息)已存入到EHPLMN列表1,使用地区2的非支持PLMN已存入到FPLMN列表1中。当电子设备100检测到电子设备100移动至使用地区2(例如,电子设备100可以从搜索到的PLMN中获取到MCC码的值,该MCC码的值是使用地区2对应的MCC码的值)时,电子设备100可以从EHPLMN列表1中按照指定的优先级顺序(例如,按照EHPLMN列表1中排列的先后顺序)选择合适的PLMN进行搜索,并驻网到使用地区2。该驻网流程可以参数前述步骤S308,在此不再赘述。
例如,使用地区2可以是老挝,老挝的MCC码的值可以是“457”。当电子设备100检测到一个或多个PLMN,该一个或多个PLMN的MCC码的值为“457”,该MCC码的值与此前所驻留的PLMN中MCC码的值“520”不同时,电子设备100可以判断出电子设备100已移动到新的地区。电子设备100可以基于该MCC码的值“457”从EHPLMN列表1中按照排列的先后顺序,选择出MCC码的值为“457”且排列顺序最靠前的PLMN“45701”,该PLMN“45701”可以包括有多个区域,每个区域可以被称为小区(cell)。电子设备100可以基于该PLMN“45701”确定出合适的小区(例如,频段中信号最强的小区)。电子设备100可以和该小区所在的网络进行数据交互,使得电子设备100可以驻留到该小区对应的网络上。
S310、当电子设备100检测到电子设备100移动至使用地区3(也可以被称为第二地区),EHPLMN列表1内无使用地区3的支持PLMN时,电子设备100驻网至已搜索到的PLMN(也可以被称为第一PLMN)上。
具体的,使用地区3是使用地区2的相关地区(例如,使用地区3和使用地区2相邻)。当电子设备100检测到电子设备100移动至使用地区3(例如,电子设备100可以从搜索到的 PLMN中获取到MCC码的值,该MCC码的值使用地区3对应的MCC码的值)时,由于EHPLMN列表1容量有限,因此在前述步骤S307中没有存入使用地区3的支持PLMN,EHPLMN列表1中无使用地区3的支持PLMN,因此电子设备100无法基于EHPLMN列表1驻网。此时,电子设备100可以基于搜索到的PLMN,排除掉已存入FPLMN表中使用地区3的非支持PLMN,然后,电子设备100可以从余下的搜索到的PLMN中选择出合适的PLMN(例如,信号最强的PLMN),并基于该PLMN选择出合适的小区(例如,频段中信号最强的小区)。电子设备100可以和该小区所在的网络进行数据交互,从而驻留到该小区所对应的网络。
例如,使用地区3可以是缅甸,缅甸的MCC码的值可以是“414”。当电子设备100检测到一个或多个PLMN,该一个或多个PLMN的MCC码的值为“414”,该MCC码的值与此前所驻留的PLMN中MCC码的值“457”不同时,电子设备100可以判断出电子设备100已移动到新的地区。电子设备100无法从EHPLMN列表1中查询出MCC码的值为“414”的PLMN。因此,电子设备100可以基于已搜索到的PLMN,排除掉已存入FPLMN表中MCC码的值为“414”的非支持PLMN“41405”~“41410”和“41415”~“41420”,然后,电子设备100可以从余下的搜索到的PLMN中选择出信号最强的PLMN“41421”,并基于该PLMN选择出频段中信号最强的小区。电子设备100可以和该小区所在的网络进行数据交互,从而驻留到该小区所对应的网络。
S311、基于虚拟SIM卡1的参数信息,电子设备100确认出步骤310中驻留的PLMN不是使用地区3的支持PLMN时,更新EHPLMN列表1和FPLMN列表1,获得EHPLMN列表2(也可以被称为第二EHPLMN列表)和FPLMN列表2。
具体的,当电子设备100接收到驻网成功的指令后,电子设备100可以基于已存储在TA中的虚拟SIM卡1的参数信息(例如,各使用地区的支持PLMN和各使用地区相关地区的支持PLMN),判断电子设备100在步骤310中驻留的PLMN是否是使用地区3的支持PLMN。当电子设备100确认出该PLMN不是使用地区3的支持PLMN时,电子设备100更新EHPLMN列表1和FPLMN列表1,获得EHPLMN列表2和FPLMN列表2。
当电子设备100更新EHPLMN列表1和FPLMN列表1时,电子设备100可以优先将使用地区3(例如,缅甸)的支持PLMN(也可以被称为第二支持PLMN信息)存入EHPLMN列表1,将使用地区3(例如,缅甸)的非支持PLMN存入FPLMN列表1中,当未达到EHPLMN列表1的容量(例如,16个)和FPLMN列表1的容量(例如,36个)时,电子设备100可以将使用地区3邻近地区(例如,印度)的支持PLMN存入到EHPLMN列表1中,将使用地区3邻近地区(例如,印度和泰国)的非支持PLMN存入到FPLMN列表1中,获得EHPLMN列表2和FPLMN列表2。然后,电子设备100可以将该EHPLMN列表2和该FPLMN列表2存储到TA中。其中,在该过程中,电子设备100会从前述步骤S310所驻留的PLMN上脱网。
示例性的,以使用地区3是缅甸为例,该EHPLMN列表2可以如表7所示,该FPLMN列表2可以如表8所示:
表7
41401 41402 41403 41404
41411 41412 41413 41414
40501 40502 40503 40504
40511 40512 405013 405014
其中,该表中的“41401”、“41402”、“41403”、“41404”、“41411”、“41412”、“41413”、“41414”是缅甸的支持PLMN的标识。“40501”、“40502”、“40503”、“40504”、“40511”、“40512”、“40513”、“40514”是印度的支持PLMN的标识。
表8
41405 41406 41407 41408
41409 41410 41415 41416
41417 41418 41419 41420
40505 40506 40507 40508
40509 40510 40515 40516
40517 40518 40519 40520
52005 52006 52007 52008
52009 52010 52015 52016
52017 52018 52019 52020
其中,该表中的“41405”、“41406”、“41407”、“41408”、“41409”、“41410”、“41415”、“41416”、“41417”、“41418”、“41419”、“41420”是缅甸的非支持PLMN的标识。“40505”、“40506”、“40507”、“40508”、“40509”、“40510”、“40515”、“40516”、“40517”、“40518”、“40519”、“40520”是印度的非支持PLMN的标识。“52005”、“52006”、“52007”、“52008”、“52009”、“52010”、“52015”、“52016”、“52017”、“52018”、“52019”、“52020”是泰国的非支持PLMN的标识。
S312、电子设备100基于EHPLMN列表2中的PLMN,重新驻网到使用地区3。
具体的,电子设备100可以基于步骤S311中的EHPLMN列表2重新进行驻网。该驻网流程可以参考前述步骤S308,在此不再赘述。
例如,以使用地区3是缅甸为例。电子设备100已驻留到前述步骤311所示示例的PLMN“41421”中。当电子设备100基于已存储在TA中的虚拟SIM卡1的参数信息检测出该PLMN“41421”不是缅甸的支持PLMN时,电子设备100可以如前步骤S311所述更新EHPLMN列表1和FPLMN列表1,获得EHPLMN列表2和FPLMN列表2,并从PLMN“41421”上脱网。电子设备100可以基于该EHPLMN列表2(例如,表7)重新驻网到缅甸。该驻网流程可以参考前述步骤S308,在此不再赘述。
在一些实施例中,当电子设备100在步骤S312中基于EHPLMN列表2重新进行驻网,成功驻留网络之后,电子设备100可以显示出驻网成功的提示信息(也可以被称为第二通知信息),以用于提示用户在使用地区3驻网成功。
在一些实施例中,当电子设备100检测到在步骤S311中驻留的PLMN是使用地区3(例如,缅甸)的支持PLMN,电子设备100可以继续驻留在该PLMN上时,电子设备100可以显示出驻网成功的提示信息,以用于提示用户在使用地区3驻网成功。
在一些实施例中,当电子设备100在使用地区1基于EHPLMN列表1进行驻网,成功驻 留网络后,电子设备100可以显示出驻网成功的提示信息(也可以被称为第一通知信息),以用于提示用户在使用地区1驻网成功。
在一些实施例中,当电子设备100在使用地区2基于EHPLMN列表1进行驻网,成功驻留网络后,电子设备100可以显示出驻网成功的提示信息(也可以被称为第三通知信息),以用于提示用户在使用地区2驻网成功。
在一些实施例中,当电子设备100检测到在步骤S311中驻留的PLMN是使用地区3(例如,缅甸)的支持PLMN时,电子设备100可以继续驻留在该PLMN上。
在一些实施例中,使用地区3可以不是使用地区1的对应相关地区(例如,使用地区3不是使用地区1的邻近地区)。因此,在步骤S307中,EHPLMN列表1无使用地区3的支持PLMN信息。电子设备100到达使用地区3时,可以执行前述步骤S310-步骤S311。
在一些实施例中,电子设备100可以通过其他方式检测到电子设备100已移动至使用地区2或使用地区3。例如,电子设备100可以通过全球导航卫星系统(global navigation satellite system,GNSS)获取到电子设备100当前的坐标信息,电子设备100可以基于该坐标信息和存储于电子设备100中的地图数据,检测到电子设备100已移动至使用地区2或使用地区3。本申请对此不作限制。
需要说明的是,以上步骤的先后顺序仅仅用于示例性解释该提升驻网效率方法的具体流程,并不对本申请构成具体限制。
需要说明的是,上述用户界面示例仅仅用于解释本申请,不应对本申请构成限定。
接下来,介绍本申请提供的一种系统架构。
图5示例性示出了一种系统架构示意图。
如图5所示,该系统架构所包括的设备可以包括云服务器200、电子设备100。
关于云服务器200的说明,可以参考前述图1实施例中所示的云服务器200的描述,在此不再赘述。
电子设备100可以包括有位于应用程序层(Application)的指定应用(例如,华为的天际通应用)、位于应用程序框架层(Framework)的指定应用(例如,华为的天际通应用)扩展接口、TA模块、位于调制解调(Modem)模块的虚拟SIM卡管理器(VSIM Manager),该Modem模块可以包括在基带芯片中。
其中,该指定应用可以用于与云服务器200进行数据通信,例如,向云服务器200发送前述步骤S304中所述的数据请求1,接收云服务器200下发的虚拟SIM卡参数信息(例如,虚拟SIM卡的通信数据信息、可以基于该虚拟SIM卡连接移动通信网的使用地区、各使用地区对应相关地区的PLMN信息以及各使用地区的PLMN信息等等)等。该TA模块可以从指定应用获取到数据信息(例如,从云服务器200获取到的虚拟SIM卡1参数信息、EHPLMN列表和FPLMN列表)并存储。该TA模块可以接收到指定应用扩展接口(例如,Telephony接口)的指令,将指定应用存储在TA中的数据信息(例如,EHPLMN列表、FPLMN列表和虚拟SIM卡1的通信数据信息)写入到Modem模块的VSIM Manager内。指定应用扩展接口可 以用于和位于应用程序层的指定应用、位于Modem模块的VSIM Manager进行数据交互,例如,指定应用扩展接口可以接收到来自该指定应用的驻网指令,并可以向VSIM Manager发送指令,以用于调用VSIM Manager,使得其可以基于EHPLMN列表、FPLMN列表完成驻网。其中,Modem模块也可以用于搜索电子设备100所处地区的PLMN。
接下来,介绍本申请提供的一种模块交互的方法。
图6示例性示出了一种模块交互的示意图。
如图6所示,该模块交互方法所涉及到的设备可以包括云服务器200、电子设备100。其中电子设备100可以包括指定应用(例如,华为的天际通应用)、TA模块、Telephony接口以及Modem模块,该模块交互方法的具体流程可以包括:
S601、云服务器200可以存储虚拟SIM卡的参数信息。
具体的,该步骤可以参考前述步骤S301的描述,在此不再赘述。
S602、指定应用可以接收到针对虚拟SIM卡1的选择操作。
S603、在接收到针对虚拟SIM卡1的选择操作后,指定应用可以记录下能够基于该虚拟SIM卡1进行驻网的使用地区所对应的MCC码,并向云服务器200发送电子设备100的设备标识,以用于与云服务器200完成鉴权。
具体的,该步骤可以参考前述步骤S303中的描述,在此不再赘述。
S604、Modem模块搜索到使用地区1的一个或多个PLMN。
S605、Modem模块发送使用地区1的PLMN信息至指定应用。其中,该PLMN信息中包括有使用地区对应的MCC码。
S606、指定应用接收到使用地区1的PLMN信息后,可以基于该PLMN信息中包括的MCC码,向云服务器200发送数据请求1。
具体的,该步骤可以参考前述步骤S304中的描述,在此不再赘述。
S607、云服务器200向指定应用下发虚拟SIM卡1的参数信息。
具体的,该步骤可以参考前述步骤S305中的描述,在此不再赘述。
S608、指定应用接收到虚拟SIM卡1的参数信息后,可以将该参数信息保存到TA中。
具体的,该步骤可以参考前述步骤S306中的描述,在此不再赘述。
S609、指定应用将使用地区1的支持PLMN和使用地区1对应相关地区的支持PLMN存入EHPLMN列表1中,将使用地区1的非支持PLMN和使用地区1对应相关地区的非支持PLMN存入FPLMN列表1中。
具体的,该步骤可以参考前述步骤S307的描述,在此不再赘述。
S610、保存EHPLMN列表1、FPLMN列表1。
具体的,指定应用将EHPLMN列表1、FPLMN列表1存储在TA中。
S611、指定应用发送驻网指令给Telephony接口,对该Telephony接口进行调用。
S612、Telephony接口接收到指定应用发送的驻网指令后,可以发送数据指令给TA。
S613、TA接收到数据指令后,可以将保存在本区域中的数据信息(例如,虚拟SIM卡1的通信数据信息、EHPLMN列表1、FPLMN列表1等)写入到Modem模块内。
S614、Telephony接口可以向Modem模块发送驻网指令。
S615、Modem模块响应于该驻网指令,可以使用虚拟SIM卡1的通信数据信息,基于EHPLMN列表1中指定的优先级顺序(例如,按照列表中排列的先后顺序)选择该列表中的PLMN标识对应的网络进行驻网。该驻网步骤可以参考前述步骤S308的描述,在此不再赘述。
S616、Modem模块可以搜索到使用地区2的一个或多个PLMN,该PLMN中包括有使用区2对应的MCC码。Modem模块可以基于该MCC码,使用虚拟SIM卡1的通信数据信息,按照EHPLMN列表1中指定的优先级顺序(例如,按照列表中排列的先后顺序)选择该EHPLMN列表1中PLMN标识对应的网络进行驻网。该驻网步骤可以参考前述步骤S308的描述,在此不再赘述。
S617、Modem模块可以搜索到使用地区3的一个或多个PLMN,该PLMN中包括有使用区3对应的MCC码,且EHPLMN列表1中无使用地区3的支持PLMN时,Modem模块可以驻留到已搜索到的PLMN上。该驻网流程可以参考前述步骤S310中的描述,在此不再赘述。
S618、Modem模块发送驻网成功指令和已驻留的PLMN信息至指定应用,该驻网成功指令可以用于触发指定应用判断所驻留的PLMN是否是使用地区3的支持PLMN。
S619、指定应用接收到驻网成功指令后,基于虚拟SIM卡1的参数信息,确认出所驻留的PLMN不是使用地区3的支持PLMN时,更新EHPLMN列表1和FPLMN列表1,获得EHPLMN列表2和FPLMN列表2。
具体的,该步骤可以参考前述步骤S311的描述,在此不再赘述。
S620、保存EHPLMN列表2、FPLMN列表2。
具体的,指定应用将EHPLMN列表2、FPLMN列表2存储在TA中。
S621、指定应用发送驻网指令给Telephony接口,对该Telephony接口进行调用。
S622、Telephony接口接收到指定应用发送的驻网指令后,可以发送数据指令给TA。
S623、TA接收到数据指令后,可以将保存在本区域中的数据信息(例如,前述步骤618中的EHPLMN列表2、FPLMN列表2等)写入到Modem模块内。
S624、Telephony接口可以向Modem模块发送驻网指令。
S625、Modem模块响应于该驻网指令,可以使用虚拟SIM卡1的通信数据信息,基于EHPLMN列表2中指定的优先级顺序(例如,按照列表中排列的先后顺序)选择该列表中的PLMN标识对应的网络进行驻网。该驻网步骤可以参考前述步骤S312的描述,在此不再赘述。
可选的,S626、Modem模块基于EHPLMN列表2驻网成功后,可以向指定应用发送驻网成功的通知,以用于电子设备100显示出驻网成功的提示信息。
示例性的,以使用地区3是缅甸为例,如图7所示,电子设备100可以显示出用户界面710。该用户界面710可以显示出提示框711。该提示框711可以用于提示用户电子设备100已在前述S625步骤中成功驻网。例如,该提示框711显示的提示信息可以是文本信息“已接入缅甸MPT”、“3GB-4地通用套餐”、“剩余2.5GB”等。不限于文本信息,该提示信息还可以是电子设备100输出的语音或其他类型的提示信息等,本申请对此不作限制。该提示框711还可以显示出关闭控件711A,以便用户选择关闭该提示框711的显示。
需要说明的是,以上步骤的先后顺序仅仅用于示例性解释该模块交互方法的具体流程,并不对本申请构成具体限制。
需要说明的是,以上用户界面仅仅用于示例性解释本申请,并不对本申请构成具体限制。
在一些实施例中,当电子设备100搜索到多个PLMN时,电子设备100可以按照指定的标准驻网到其中一个PLMN上(例如,驻网到多个PLMN中信号最强的PLMN上)。然后,电子设备100可以基于EHPLMN列表判断该所驻PLMN是否为支持PLMN。当电子设备100所驻PLMN是支持PLMN(即是存储在EHPLMN列表中),电子设备100正常使用该PLMN。当电子设备100所驻PLMN不存在于EHPLMN列表中时,电子设备100可以基于PLMN所包括的MCC码,将该MCC码对应的地区的支持PLMN和该地区相关地区(例如,该地区的邻近地区)的支持PLMN写入到EHPLMN列表中,将该地区的非支持PLMN和该地区相关地区(例如,该地区的邻近地区)的非支持PLMN写入到FHPLMN列表中。电子设备100可以基于该EHPLMN列表重新进行驻网。该驻网流程可以参考前述步骤S308中的描述,在此不再赘述。
上述实施例中所用,根据上下文,术语“当…时”可以被解释为意思是“如果…”或“在…后”或“响应于确定…”或“响应于检测到…”。类似地,根据上下文,短语“在确定…时”或“如果检测到(所陈述的条件或事件)”可以被解释为意思是“如果确定…”或“响应于确定…”或“在检测到(所陈述的条件或事件)时”或“响应于检测到(所陈述的条件或事件)”。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如DVD)、或者半导体介质(例如固态硬盘)等。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。

Claims (17)

  1. 一种驻网方法,其特征在于,包括:
    电子设备接收云服务器发送的第一虚拟SIM卡的参数信息,其中,所述第一虚拟SIM卡的参数信息包括第一地区的第一支持PLMN信息、与所述第一地区关联的第二地区的第二支持PLMN信息;
    当所述电子设备检测到已处于所述第一地区时,所述电子设备将所述第一支持PLMN信息写入第一EHPLMN列表中;
    所述电子设备基于所述第一EHPLMN列表中的所述第一支持PLMN信息进行驻网;
    当所述电子设备检测到所述电子设备移动至所述第二地区,且所述第一EHPLMN列表中无所述第二支持PLMN信息时,所述电子设备搜索并驻留至所述第二地区的第一PLMN;
    若所述第二支持PLMN信息中没有所述第一PLMN,所述电子设备将所述第二支持PLMN信息写入所述第一EHPLMN列表中,得到第二EHPLMN列表;
    所述电子设备从所述第一PLMN脱网,并基于所述第二EHPLMN列表中的所述第二支持PLMN信息进行驻网。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述第一虚拟SIM卡的参数信息还包括第三地区的第三支持PLMN信息;
    所述电子设备将所述第三支持PLMN信息写入到所述第一EHPLMN列表中;
    所述电子设备检测到所述电子设备移动至所述第三地区;
    所述电子设备基于所述第一EHPLMN列表中的所述第三支持PLMN信息进行驻网。
  3. 根据权利要求1所述的方法,其特征在于,在电子设备接收云服务器发送的第一虚拟SIM卡的参数信息之前,所述方法还包括:
    电子设备显示第一界面,所述第一界面包括第一虚拟SIM卡选项;
    所述电子设备接收作用于所述第一虚拟SIM卡选项的第一输入;
    所述电子设备发送第一数据请求至云服务器。
  4. 根据权利要求1所述的方法,其特征在于,所述电子设备检测到已处于所述第一地区,具体包括:
    所述电子设备检测到已搜索到的PLMN中包括有所述第一地区对应的MCC码;
    或者,所述电子设备通过GNSS定位模块获取所述电子设备当前所处的位置,根据获取到的位置确定出所述电子设备当前所处的区域在所述第一地区的地理区域内。
  5. 根据权利要求1所述的方法,其特征在于,所述电子设备检测到所述电子设备移动至所述第二地区,具体包括:
    所述电子设备检测到已搜索到的PLMN中包括有所述第二地区对应的MCC码;
    或者,所述电子设备通过GNSS定位模块获取所述电子设备当前所处的位置,根据获取到的位置确定出所述电子设备当前所处的区域在所述第二地区的地理区域内。
  6. 根据权利要求1所述的方法,其特征在于,第一虚拟SIM卡的参数信息具体包括:第 一地区的第一支持PLMN信息、第二地区的第二支持PLMN信息以及所述第一地区与所述第二地区的关联信息;
    其中,所述第一地区与所述第二地区的关联信息用于指示所述第一地区与所述第二地区关联。
  7. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    若所述第二支持PLMN信息中有所述第一PLMN,所述电子设备保持驻留至所述第一PLMN。
  8. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    在所述第一EHPLMN列表中,所述第一支持PLMN信息的优先级最高;
    在所述第二EHPLMN列表中,所述第二支持PLMN信息的优先级最高。
  9. 根据权利要求1所述的方法,其特征在于,所述电子设备基于所述第一EHPLMN列表中的所述第一支持PLMN信息进行驻网之后,所述方法还包括:
    显示出第一通知信息,用于提示用户已在所述第一地区成功驻网。
  10. 根据权利要求1所述的方法,其特征在于,所述电子设备从所述第一PLMN脱网,并基于所述第二EHPLMN列表中的所述第二支持PLMN信息进行驻网之后,所述方法还包括:
    显示出第二通知信息,用于提示用户已在所述第二地区成功驻网。
  11. 根据权利要求2所述的方法,其特征在于,所述电子设备基于所述第一EHPLMN列表中的所述第三支持PLMN信息进行驻网之后,所述方法还包括:
    显示出第三通知信息,用于提示用户已在所述第三地区成功驻网。
  12. 根据权利要求2所述的方法,其特征在于,所述电子设备检测到所述电子设备移动至所述第三地区,具体包括:
    所述电子设备检测到已搜索到的PLMN中包括有所述第三地区对应的MCC码;
    或者,所述电子设备通过GNSS定位模块获取所述电子设备当前所处的位置,根据获取到的位置确定出所述电子设备当前所处的区域在所述第三地区的地理区域内。
  13. 根据权利要求2所述的方法,其特征在于,所述第一地区的地理位置和所述第三地区的地理位置相邻。
  14. 根据权利要求1-13中任一项所述的方法,其特征在于,所述第一地区的地理位置和所述第二地区的地理位置相邻。
  15. 一种芯片系统,应用于电子设备,其特征在于,包括:应用处理器和基带处理器;所述应用处理器和所述基带处理器用于从存储器中调用并运行所述存储器中存储的指令,使得安装有所述芯片系统的电子设备执行如权利要求1-14中任一项所述的方法。
  16. 一种电子设备,其特征在于,包括通信装置、存储器以及耦合于所述存储器的处理器,多个应用程序,以及一个或多个程序;所述处理器在执行所述一个或多个程序时,使得所述电子设备实现如权利要求1至14中任一项所述的方法。
  17. 一种计算机存储介质,其特征在于,所述存储介质中存储有计算机程序,所述计算机程序包括可执行指令,所述可执行指令当被处理器执行时使所述处理器执行如权利要求1-14中任一项所述的方法。
PCT/CN2022/087678 2021-04-27 2022-04-19 驻网方法、电子设备及系统 WO2022228210A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110461238.4 2021-04-27
CN202110461238.4A CN115250459B (zh) 2021-04-27 2021-04-27 驻网方法、电子设备及系统

Publications (1)

Publication Number Publication Date
WO2022228210A1 true WO2022228210A1 (zh) 2022-11-03

Family

ID=83697041

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/087678 WO2022228210A1 (zh) 2021-04-27 2022-04-19 驻网方法、电子设备及系统

Country Status (2)

Country Link
CN (1) CN115250459B (zh)
WO (1) WO2022228210A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1775987A2 (en) * 2005-01-14 2007-04-18 Research In Motion Limited Network selection when multiple networks are available in a coverage area
CN102238699A (zh) * 2010-04-26 2011-11-09 捷讯研究有限公司 用于在移动电信系统中搜索和报告plmn的设备和方法
CN110401943A (zh) * 2019-07-19 2019-11-01 澳克多普有限公司 一种移动终端驻网方法、装置、服务器及存储介质
CN111066348A (zh) * 2018-03-28 2020-04-24 华为技术有限公司 一种网络接入方法及终端设备
CN112367625A (zh) * 2020-11-12 2021-02-12 深圳杰睿联科技有限公司 虚拟卡驻网方法和系统、服务器、移动终端和存储介质

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105764047A (zh) * 2014-12-15 2016-07-13 中兴通讯股份有限公司 更新移动网络信息的方法和装置、实现选网的方法和装置
CN104853409B (zh) * 2015-04-30 2017-07-18 广东欧珀移动通信有限公司 一种网络接入方法和移动通信终端
CN104853413B (zh) * 2015-04-30 2016-12-07 广东欧珀移动通信有限公司 一种网络接入方法和移动通信终端
CN104980997B (zh) * 2015-06-19 2017-02-08 广东欧珀移动通信有限公司 一种网络接入方法及移动通信终端
CN104994563B (zh) * 2015-06-19 2016-12-28 广东欧珀移动通信有限公司 一种网络接入方法及移动通信终端
CN105101081A (zh) * 2015-07-07 2015-11-25 小米科技有限责任公司 公共陆地移动网络搜索方法及装置
CN105554851A (zh) * 2015-12-22 2016-05-04 努比亚技术有限公司 移动终端快速搜网方法及装置
US10374960B2 (en) * 2016-05-25 2019-08-06 Apple Inc. Apparatus, systems and methods for network selection with priority class
EP3288300A1 (en) * 2016-08-24 2018-02-28 Gemalto Sa Method for downloading files from an ota platform over-the-air to secure elements and corresponding ota platform
CN108235406A (zh) * 2016-12-14 2018-06-29 联芯科技有限公司 无线通信终端漫游地网络注册方法及系统
CN106851786A (zh) * 2017-03-17 2017-06-13 广东欧珀移动通信有限公司 一种搜网方法及装置
CN109155899A (zh) * 2018-01-23 2019-01-04 深圳前海达闼云端智能科技有限公司 无线通信网中移动终端的驻网方法和移动终端
US11089534B2 (en) * 2018-12-03 2021-08-10 At&T Intellectual Property I, L.P. Optimization of access technology search in multiple equivalent home public land mobile network (EHPLMN) deployments
CN110022553B (zh) * 2019-04-22 2022-04-26 维沃移动通信有限公司 一种用户身份识别卡管理方法及移动终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1775987A2 (en) * 2005-01-14 2007-04-18 Research In Motion Limited Network selection when multiple networks are available in a coverage area
CN102238699A (zh) * 2010-04-26 2011-11-09 捷讯研究有限公司 用于在移动电信系统中搜索和报告plmn的设备和方法
CN111066348A (zh) * 2018-03-28 2020-04-24 华为技术有限公司 一种网络接入方法及终端设备
CN110401943A (zh) * 2019-07-19 2019-11-01 澳克多普有限公司 一种移动终端驻网方法、装置、服务器及存储介质
CN112367625A (zh) * 2020-11-12 2021-02-12 深圳杰睿联科技有限公司 虚拟卡驻网方法和系统、服务器、移动终端和存储介质

Also Published As

Publication number Publication date
CN115250459B (zh) 2024-05-17
CN115250459A (zh) 2022-10-28

Similar Documents

Publication Publication Date Title
WO2020192714A1 (zh) 显示设备控制页面的方法、相关装置及系统
WO2020244623A1 (zh) 一种空鼠模式实现方法及相关设备
WO2021043045A1 (zh) 一种网络配置信息的配置方法及设备
WO2021023035A1 (zh) 一种镜头切换方法及装置
CN114189846B (zh) 避免漏接电话的方法、系统、电子设备及存储介质
WO2021197071A1 (zh) 无线通信系统及方法
WO2021169698A1 (zh) 一种连接管理方法及相关设备
WO2020168578A1 (zh) 一种搜网方法和终端设备
CN109451525B (zh) 一种拥塞判断的方法及装置
WO2023030152A1 (zh) 一种切换网络的方法及相关装置
CN113133089B (zh) 手动搜网的方法及相关装置
CN113126948A (zh) 一种音频播放方法及相关设备
CN113810532B (zh) 定位方法和相关装置
CN116056064B (zh) 一种双卡通信的方法和终端设备
CN116055988B (zh) 一种双卡通信的方法和终端设备
WO2020155013A1 (zh) 一种紧急呼叫方法及用户终端
WO2022228210A1 (zh) 驻网方法、电子设备及系统
WO2022161036A1 (zh) 天线选择方法、装置、电子设备及可读存储介质
WO2022089515A1 (zh) 双Wi-Fi连接方法及电子设备
CN113671534A (zh) 一种定位补偿方法、车载单元、介质及系统
CN115993592B (zh) 蓝牙测距方法、电子设备及存储介质
CN115550892B (zh) 同步系统信息的方法和装置
WO2024001906A1 (zh) 终端场景识别方法、装置、终端、存储介质及程序产品
WO2022179243A1 (zh) Wi-Fi接入的方法及相关设备
WO2023160524A1 (zh) 测距方法、装置、系统及可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22794681

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22794681

Country of ref document: EP

Kind code of ref document: A1