Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an eSIM switching and network registration method, apparatus, and baseband device.
According to a first aspect of the embodiments of the present disclosure, there is provided an eSIM switching and network registration method, including:
receiving an eSIM switching instruction, wherein the eSIM switching instruction is used for the baseband equipment to initiate eSIM switching and network switching;
performing deactivation of a first eSIM currently used by the baseband equipment and logout of a first network accessed by the baseband equipment based on the first eSIM in parallel;
executing a second eSIM activating the baseband equipment in parallel, and searching a second network corresponding to the second eSIM;
upon successful activation of the second eSIM and search for the second network, accessing the second network based on the second eSIM.
Optionally, the method further comprises:
in the process of concurrently deactivating a first eSIM and deregistering the first network, determining whether the first eSIM and the second eSIM belong to the same network operator, or determining whether the first eSIM and the second eSIM use the same frequency band information;
if the first eSIM and the second eSIM belong to the same network operator, or the first eSIM and the second eSIM use the same frequency band information, saving network parameters of the first network;
the parallel execution activates a second eSIM of the baseband device and searches for a second network corresponding to the second eSIM, including:
and if the first eSIM and the second eSIM do not belong to the same network operator and the first eSIM and the second eSIM use different frequency band information, activating the second eSIM of the baseband equipment in parallel and searching for a second network corresponding to the second eSIM.
Optionally, the method further comprises:
and if the first eSIM and the second eSIM belong to the same network operator or the first eSIM and the second eSIM use the same frequency band information, executing activation of the second eSIM of the baseband equipment in parallel, and accessing the second network by using the network parameters of the first network.
Optionally, the method further comprises:
and if the baseband equipment fails to access the second network by using the network parameters of the first network, searching the second network corresponding to the second eSIM again.
Optionally, the accessing the second network based on the second eSIM after the second eSIM is successfully activated and the second network is searched for, comprises:
when the second network is searched, judging whether the second eSIM is activated or not;
waiting for a notification that activation of the second eSIM is complete if the activation of the second eSIM is not complete;
accessing the second network based on the second eSIM if the second eSIM completes activation.
According to a second aspect of the embodiments of the present disclosure, there is provided an eSIM switching and network registering apparatus, including:
the device comprises a receiving module and a switching module, wherein the receiving module is configured to receive an eSIM switching instruction, and the eSIM switching instruction is used for the baseband equipment to initiate eSIM switching and belonging network switching;
a first parallel execution module configured to execute in parallel deactivating a first eSIM currently used by the baseband device and deregistering a first network to which the baseband device accesses based on the first eSIM;
a second parallel execution module configured to execute a second eSIM that activates the baseband device in parallel and search for a second network corresponding to the second eSIM;
a network access module configured to access the second network based on the second eSIM after the second eSIM is successfully activated and the second network is searched.
Optionally, the apparatus further comprises:
a determining module configured to determine whether the first eSIM and the second eSIM belong to the same network operator or not, or determine whether the first eSIM and the second eSIM use the same frequency band information, in a process in which the first parallel executing module performs deactivation of the first eSIM and deregistration of the first network in parallel;
a saving module configured to save network parameters of the first network when the first eSIM and the second eSIM belong to the same network operator or the first eSIM and the second eSIM use the same frequency band information;
the second parallel execution module is configured to: and if the first eSIM and the second eSIM do not belong to the same network operator and the first eSIM and the second eSIM use different frequency band information, activating the second eSIM of the baseband equipment in parallel and searching for a second network corresponding to the second eSIM.
Optionally, the apparatus further includes a third parallel execution module configured to execute parallel execution of activating the second eSIM of the baseband device and accessing the second network using the network parameters of the first network when the first eSIM and the second eSIM belong to the same network operator or use the same frequency band information.
According to a third aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions, which, when executed by a processor, implement the steps of the eSIM switching and network registration method provided by the first aspect.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a baseband device, including:
a memory having a computer program stored thereon; and
one or more processors configured to execute the programs in the memory to implement the method provided by the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the network switching comprises an eSIM card processing process and a network processing process, the two processes are separately and concurrently carried out, unnecessary processes are reduced, and therefore the effect of shortening the switching of an eSIM registration network is achieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a block diagram of a baseband device provided in an embodiment of the present disclosure, as shown in fig. 1, the baseband device includes a MODEM and an eUICC, where the MODEM is a relevant part of a core chip of the baseband device and is used to provide a cellular mobile communication function; the eUICC hardware forms can be various, and can be integrated on a MODEM chip or externally arranged on the MODEM, but are always carriers of eSIM; an interface is arranged between the eUICC and the MODEM for interoperation. In the frame diagram, the AP/USER may be a USER operation interface or application software, and the baseband device serves as a module for providing mobile communication function for the USER device, which may set up a bridge with the USER through the AP/USER, and finally provide mobile internet communication service for the USER.
Fig. 2 is a flowchart illustrating an eSIM switching and network registration method according to an exemplary embodiment, which may be applied to the baseband device shown in fig. 1, and includes the following steps, as shown in fig. 2.
In step S11, an eSIM switching instruction is received.
The eSIM switching instruction is used for the baseband equipment to initiate eSIM switching and network switching.
Specifically, when a user or an upper application requires the baseband device to perform eSIM switching, an operation instruction may be issued to trigger the baseband device to automatically initiate the processes of eSIM switching and network registration. For example, when the upper layer application of the mobile phone detects that the quality of the currently connected mobile communication network is poor and does not meet the use requirement, the eSIM switching instruction may be issued to the baseband device of the mobile phone, and the baseband device is triggered to initiate network switching.
In step S12, deactivating the first eSIM currently used by the baseband device, and deregistering the first network to which the baseband device accesses based on the first eSIM are performed in parallel.
That is, the first eSIM currently used by the baseband device (i.e., the first eSIM is in an active state) and is based on the first network to which the first eSIM accesses. When network switching is initiated, the first eSIM needs to be deactivated and the registration of the baseband device in the first network needs to be cancelled in parallel.
Specifically, upon deactivation of the eSIM and its first network, because the first network is about to be disconnected, some card files of the currently registered network may first be saved to the first eSIM as required by the specification, such as epsiloci, FPLMN, EPSNSC, KEYS, and so on. And then the first eSIM is deactivated, because the first eSIM and the second eSIM to be switched and used by the baseband equipment are on the same eUICC hardware, no cold restart is needed in the process, namely the eUICC is not powered down. But rather terminates all applications and logical channels and proceeds to deactivate the flow of applications according to the specification.
In addition, for various network systems, the process of logging off the first network specifically means that the baseband device initiates a detach request to the network, and the process may be ended regardless of whether the network replies to accept the logging off.
In step S13, activating a second eSIM of the baseband device and searching for a second network corresponding to the second eSIM are performed in parallel.
It is worth noting that, in the prior art, the baseband device must activate the SIM card first to ensure that the network search and registration can be performed only when the card application is available, and the network search and registration process can be separated according to the present disclosure, and the network search and the activation of the second eSIM can be performed in parallel to improve the network switching efficiency.
Specifically, when the operator package subscription is transacted, the terminal (e.g., a mobile phone) may download the profile of the eSIM and send the profile to the baseband device. The baseband device manages important information of all the eSIMs in the nonvolatile memory, so that the baseband device can store PLMNID and ACC mapping of each eSIM in the nonvolatile memory, and a network can be searched in advance when the network is switched. That is to say, in step S13, the baseband device may directly acquire the pre-stored network parameters corresponding to the second eSIM from the memory, and search the second network according to the pre-stored network parameters, without downloading from the network side, thereby further improving the network switching efficiency. And the network parameter data volume of the eSIM is not large, and no additional pressure is brought to the load of a memory space.
In step S14, upon successful activation of the second eSIM and search for the second network, the second network is accessed based on the second eSIM.
By adopting the method, the two processes of the processing process of the eSIM card and the processing process of the network are separately and concurrently carried out, unnecessary processes are reduced, and the effect of shortening the switching of the eSIM registration network is achieved, specifically, the deactivation of the first eSIM currently used by the baseband equipment and the logout process of the first network can be concurrently executed, and compared with the prior art that the baseband equipment needs to activate the SIM card first, the network and the registration can be searched under the condition that the card application is available, the network searching process and the registration process are separated, the network searching process and the second eSIM activating process are executed concurrently, and the network switching efficiency is further improved.
Further, in a possible implementation manner of the embodiment of the present disclosure, the eSIM switching and network registration method provided by the embodiment of the present disclosure further includes: in the process of concurrently deactivating a first eSIM and deregistering the first network, determining whether the first eSIM and the second eSIM belong to the same network operator, or determining whether the first eSIM and the second eSIM use the same frequency band information; if the first eSIM and the second eSIM belong to the same network operator, or the first eSIM and the second eSIM use the same frequency band information, saving network parameters of the first network. For example, the network parameters of the first network are saved to a temporary storage area.
In this case, the step S13 is performed when the first eSIM and the second eSIM do not belong to the same network operator, and the first eSIM and the second eSIM use different frequency band information. If the first eSIM and the second eSIM belong to the same network operator, or the first eSIM and the second eSIM use the same frequency band information, activating the second eSIM of the baseband device and accessing the second network using the network parameters of the first network may be performed in parallel.
That is, if the second eSIM and the first eSIM belong to the same operator, or if they belong to different operators but use the same frequency band information, the baseband device may directly multiplex the network information of the first network and camp on its cell without network search. Therefore, a large amount of network switching time is saved, and the network switching efficiency is improved.
In addition, for the case of multiplexing the network information of the first network, there is a possibility that the final network registration fails due to cell congestion and the like, and to solve this problem, in the embodiment of the present disclosure, when the baseband device fails to access the second network using the network parameters of the first network, the second network corresponding to the second eSIM may be searched again using the pre-stored network parameters of the second eSIM. On the premise of improving the network switching efficiency, the normal operation of the network switching function of the baseband equipment is ensured.
In order to make those skilled in the art understand the technical solution provided by the embodiment of the present disclosure, details of the eSIM switching and network registration method provided by the embodiment of the present disclosure are described below with reference to fig. 3 and 4.
Fig. 3 is a schematic diagram illustrating parallel execution of processing procedures of an eSIM card and network processing procedures in network switching, including:
in step S21, the baseband device receives an instruction to switch esims issued by the user.
In step S22, network information for the currently registered first network is saved to the currently used first eSIM.
Wherein, the network information comprises files such as EPSLOCI, FPLMN, EPSNSC, KEYS and the like.
Further, step S23 and step S24 are executed in parallel.
In step S23, the first eSIM is deactivated.
I.e. all applications and logical channels are terminated and the flow of deactivating applications is performed according to the specification.
In step S24, the first network corresponding to the first eSIM is logged out.
It is worth noting that deactivating the first eSIM and deregistering the first network process occur concurrently, the module for deactivating the first eSIM should notify the result to the module deregistering the first network, which synchronizes the state that the real first eSIM is available.
Further, step S25 and step S26 are executed in parallel.
In step S25, the second eSIM is activated.
In step S26, the network parameters of the second eSIM that are pre-stored are read, and the second network corresponding to the second eSIM is searched for according to the network parameters.
The network parameter may be downloaded to the baseband device and stored in advance when the package is signed on.
It is worth noting that, when the second eSIM is activated, an enable instruction may be sent by the baseband device to the eUICC to request activation of the second eSIM, or the second eSIM may be activated by means of warm reboot, depending on the eUICC implementation. The application for the second eSIM is then reactivated and other card files, such as epsiloci, FPLMN, EPSNSC, KEYS, etc., are read. Upon successful activation of the second eSIM, a module searching for a second network can be notified that the second eSIM has been successfully activated. When searching for the second network, if the second eSIM activation is not completed, a notification of completion of the second eSIM activation may be waited for.
Further, after the second network is searched and the second eSIM is activated and the network parameters of the second eSIM are successfully read, step S27 is performed.
In step S27, the second network is registered.
Specifically, the baseband device initiates a network attach and registration process, and the network may initiate signaling processes such as authentication, security, bearer establishment, and the like according to the specification, and different network formats may be different, which is not described herein again. After the process is successfully completed, the successful result of switching the eSIM can be reported to the user.
Fig. 4 shows a flow of search and registration of a second network, including:
in step S31, it is determined whether the first eSIM and the second eSIM belong to the same operator or use the same frequency band information.
If the first and second esims belong to the same operator or use the same frequency band information, performing steps S32 and S33; if the first and second esims do not belong to the same operator and use different frequency band information, steps S34 and S35 are performed.
In step S32, the network parameters of the first network are saved in the temporary area.
In step S33, the second network is accessed using the network parameters of the first network.
Further, step S36 is executed.
In step S34, the network parameters of the second eSIM that are pre-stored are read, and the second network corresponding to the second eSIM is searched for according to the network parameters.
In step S35, the second network is registered.
Further, step S36 is executed.
In step S36, it is determined whether the registration to the second network is successful.
Further, if yes, the network switching flow is ended, and if no, the flow returns to step S34.
The processing procedure of the eSIM card and the network processing procedure in the network switching are executed in parallel, so that the network switching efficiency is improved, unnecessary procedures are reduced in the parallel procedure, and the effect of shortening the switching of the eSIM registration network is further achieved.
Fig. 5 is a block diagram illustrating an eSIM switching and network registration apparatus according to an example embodiment. Referring to fig. 5, the apparatus includes:
a receiving module 501, configured to receive an eSIM switching instruction, where the eSIM switching instruction is used for a baseband device to initiate eSIM switching and network switching;
a first parallel execution module 502 configured to execute, in parallel, deactivating a first eSIM currently used by the baseband device and deregistering a first network to which the baseband device accesses based on the first eSIM;
a second parallel execution module 503 configured to execute a second eSIM that activates the baseband device in parallel, and search for a second network corresponding to the second eSIM;
a network access module 504 configured to access the second network based on the second eSIM upon successful activation of the second eSIM and search for the second network.
Optionally, as shown in fig. 6, the apparatus further includes:
a determining module 505, configured to determine whether the first eSIM and the second eSIM belong to a same network operator or not, or determine whether the first eSIM and the second eSIM use the same frequency band information, in a process that the first parallel executing module performs deactivation and deregistration of the first network in parallel;
a saving module 506 configured to save network parameters of the first network when the first eSIM and the second eSIM belong to the same network operator or the first eSIM and the second eSIM use the same frequency band information;
the second parallel execution module 503 is configured to: and if the first eSIM and the second eSIM do not belong to the same network operator and the first eSIM and the second eSIM use different frequency band information, activating the second eSIM of the baseband equipment in parallel and searching for a second network corresponding to the second eSIM.
Optionally, as shown in fig. 6, the apparatus further includes a third parallel execution module 507 configured to execute parallel activation of the second eSIM of the baseband device and access to the second network by using the network parameters of the first network when the first eSIM and the second eSIM belong to the same network operator or use the same frequency band information.
By adopting the device, the device executes the processing process of the eSIM card and the network processing process in the network switching in parallel, thus improving the network switching efficiency, reducing unnecessary processes in the parallel process and further achieving the effect of shortening the switching of the eSIM registration network.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 7 is a block diagram illustrating a baseband device 700 according to an example embodiment. Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 can include one or more processors 720 to execute instructions to perform all or a portion of the steps of the eSIM handoff and network registration methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the baseband device 700. Examples of such data include instructions for any application or method operating on baseband device 700. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 706 provides power to the various components of the baseband device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the baseband device 700.
The multimedia component 708 includes a screen that provides an output interface between the baseband device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. When the baseband device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the baseband device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 714 includes one or more sensors for providing various aspects of state estimation for the baseband device 700. For example, the sensor component 714 may detect an open/closed state of the baseband device 700, the relative positioning of components, such as a display and keypad of the baseband device 700, the sensor component 714 may also detect a change in position of the baseband device 700 or a component of the baseband device 700, the presence or absence of user contact with the baseband device 700, orientation or acceleration/deceleration of the baseband device 700, and a change in temperature of the baseband device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the baseband device 700 and other devices. The baseband device 700 may access a wireless network based on a communication standard, such as WiFi, 2G, 3G, or 4G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the baseband device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the eSIM switching and network registration methods described above.
In an exemplary embodiment, a computer-readable storage medium is also provided, and the instructions are executable by a processor of a baseband device to perform the eSIM switching and network registration method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.