CN106210023B - Virtual SIM card synchronous management method and terminal - Google Patents

Virtual SIM card synchronous management method and terminal Download PDF

Info

Publication number
CN106210023B
CN106210023B CN201610522810.2A CN201610522810A CN106210023B CN 106210023 B CN106210023 B CN 106210023B CN 201610522810 A CN201610522810 A CN 201610522810A CN 106210023 B CN106210023 B CN 106210023B
Authority
CN
China
Prior art keywords
virtual
sim card
card
virtual sim
processing module
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201610522810.2A
Other languages
Chinese (zh)
Other versions
CN106210023A (en
Inventor
何坚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610522810.2A priority Critical patent/CN106210023B/en
Publication of CN106210023A publication Critical patent/CN106210023A/en
Application granted granted Critical
Publication of CN106210023B publication Critical patent/CN106210023B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a virtual SIM card synchronous management method and a terminal, wherein the method comprises the following steps: when the first preset condition is met, the modem processor disables the virtual SIM card and sends a message to the virtual card processing module; the virtual card processing module initiates a virtual SIM card activation request; the application processor compares the ICCID of the current card with the ICCID in the preset storage area, and activates the enabling of the virtual SIM card when the two are the same. The implementation of the invention has the advantages that the virtual SIM card is forbidden by the modem processor, and the virtual SIM card is reactivated, so that the modem processor and the application processor realize synchronous management on the virtual SIM card; on the other hand, when the application processor is restarted, the virtual SIM card can be reinserted, thereby solving the problem of synchronization between the modem processing and the application processor.

Description

Virtual SIM card synchronous management method and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a virtual SIM card synchronization management method and a terminal.
Background
Virtual SIM (vsim) card, refers to a technology that emulates a physical card, without the need to embed a physical SIM card. The terminal can download the card data from the related server in a downloading mode, and convenience is provided for the user.
In order to better process signals, the conventional terminal generally includes a modem processor and an application processor, wherein the modem processor is used for performing protocol processing and for performing modulation and demodulation on communication data to be transmitted and received so as to implement functions such as communication with an external communication device. The application processor is used for processing complex logic operation and performing task allocation, providing an interactive interface for a user, operating an operating system and the like.
When the terminal supports the virtual SIM card, in some cases, the problem of asynchronous management of the virtual SIM card by the modem processor and the application processor may be caused. For example, when abnormal conditions such as communication abnormality and system instability occur in the terminal, which causes the conditions of reconnection of the RIL/QMI/AT or restart of the application processor, the problem that the virtual SIM card is not managed synchronously by the application processor and the modem processor occurs.
And there is no good solution in the prior art.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a virtual SIM card synchronization management method and a terminal, aiming at the above-mentioned defects in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows:
in a first aspect, a virtual SIM card synchronization management method is provided, including:
when the first preset condition is met, the modem processor disables the virtual SIM card and sends a message to the virtual card processing module;
the virtual card processing module re-initiates a virtual SIM card activation request;
the application processor compares the integrated circuit identification code of the current card with the integrated circuit identification code in the preset storage area, and activates to enable the virtual SIM card when the two are the same.
In one embodiment, when a modem detects communication abnormality with an application processor, the modem processor reports a state change event to a wireless interface layer after disabling a virtual SIM card;
the wireless interface layer receives the state change event, and then sends the event broadcast to the virtual card processing module;
and after receiving the event broadcast, the virtual card processing module initiates a virtual SIM card activation request.
In one embodiment, the method further comprises:
when the virtual SIM card is activated and the virtual service logic is completed, the virtual card processing module writes the integrated circuit identification code of the virtual SIM card into a preset storage area.
In one embodiment, the method further comprises:
and if the integrated circuit identification code of the current card is different from the integrated circuit identification code in the preset storage area, waiting for the report of the virtual SIM card within the preset time.
In one embodiment, the method further comprises:
when a second preset condition is met, the virtual card processing module establishes socket communication with the wireless interface layer;
the application processor removes (Remove) the virtual SIM card and reinserts (Insert) the virtual SIM card.
In a second aspect, a terminal is provided, including:
a modem processor and a virtual card processing module;
when a first preset condition is met, the modem processor is used for forbidding the virtual SIM card and sending a message to the virtual card processing module;
the virtual card processing module is used for initiating a virtual SIM card activation request;
the application processor is further used for comparing the integrated circuit identification code of the current card with the integrated circuit identification code in the preset storage area, and activating and enabling the virtual SIM card when the integrated circuit identification code of the current card is the same as the integrated circuit identification code in the preset storage area.
In one embodiment, the modem processor is further configured to report a state change event to the radio interface layer after disabling the virtual SIM card;
the wireless interface layer receives the state change event, and then sends the event broadcast to the virtual card processing module;
and the virtual card processing module initiates a virtual SIM card activation request after receiving the broadcast sent by the wireless interface layer according to the state change event.
In one embodiment, the virtual card processing module is further configured to, when the virtual SIM card is activated and the virtual service logic is completed, write the integrated circuit identification code of the virtual SIM card into the preset storage area.
In one embodiment, if it is detected that the second preset condition is met, the virtual card processing module is further configured to establish socket communication with the wireless interface layer;
the application processor is further configured to remove the virtual SIM card and reinsert the virtual SIM card.
The virtual SIM card synchronous management method and the terminal have the following beneficial effects that: disabling the virtual SIM card through the modem processor, and reactivating the virtual SIM card so that the modem processor and the application processor realize synchronous management on the virtual SIM card; on the other hand, when the application processor is restarted, the virtual SIM card can be reinserted, thereby solving the problem of synchronization between the modem processing and the application processor.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a virtual SIM card system according to an embodiment of the invention;
FIG. 3 is a diagram illustrating a software architecture of a terminal according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a virtual SIM card synchronization management method according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a virtual SIM card synchronization management method according to another embodiment of the present invention;
fig. 6 is a flowchart illustrating a virtual SIM card synchronization management method according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
Fig. 1 is a schematic structural diagram of a terminal according to an embodiment of the present invention. The terminal 100 includes: an application processor 10, a modem processor 11, a memory 12, a mobile communication interface 13 and a wireless internet interface 14.
The application processor 10 is used for processing complex logic operations and performing task allocation, and provides an interactive interface for a user. The application processor 10 is also used to execute an operating system of the terminal 100.
The modem processor 11 is used to perform protocol processing, perform modulation and demodulation on the transmitted and received communication data, and the like.
The memory 12 stores software code readable, executable by the application processor 10, including instructions for controlling the application processor 10 to perform functions, and the like. The operating system of the terminal 100 is stored in the memory 12.
The input and output device 15 of the terminal 100 includes an input unit (e.g., a touch screen, a non-contact input apparatus, etc.) and a display unit (e.g., a display screen). The input unit may generate key input data to control various operations of the terminal 100 according to a command input by a user. The input unit allows a user to input various types of information, and may include a keyboard, a touch panel (e.g., a touch-sensitive member that detects a change in resistance, pressure, capacitance, and the like due to being contacted), keys, and the like. The display unit may display information processed in the terminal 100. For example, a User Interface (UI) or Graphical User Interface (GUI) associated with text messaging, multimedia file downloading, and the like may be displayed.
The mobile communication interface 13 may include a wireless receiver, transmitter, transceiver, and/or other elements that enable the terminal 100 to send and/or receive data using a wireless communication protocol (e.g., LTE, GSM, CDMA, TDSCDMA, etc.). Such data may include voice call signals, video call signals, or various types of data transmitted and/or received in accordance with text and/or multimedia messages.
The mobile communications interface 13 is connected to an antenna for transmitting signals to and receiving signals from cells or other wireless devices configured to use a wireless communications protocol.
The wireless internet interface 14 supports wireless internet access for the terminal 100, which may be internally or externally coupled to the terminal. The wireless internet interface 14 includes a wireless receiver, transmitter, transceiver, and/or other elements capable of transmitting and/or receiving data using a wireless internet communication protocol. The wireless internet access technology to which it relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The wireless internet interface 14 is connected to an antenna for sending signals to and receiving communications from modems/routers and/or other wireless devices configured to communicate using a wireless internet communication protocol.
In an embodiment of the present invention, the terminal 100 may communicate through a physical SIM card and/or a virtual SIM card. Specifically, the physical SIM card is placed in a card slot of the terminal 100 for storing network-specific information for authenticating and identifying a subscriber on a network, including: integrated Circuit Card Identity (ICCID), International Mobile Subscriber Identity (IMSI), authentication key (Ki), and Local Area Identity (LAI), as well as other operator-specific data, such as SMSC (short message service center) Number, Service Provider Name (SPN), Service Dialing Number (SDN), and Value Added Service (VAS) applications.
To accommodate a physical SIM card, terminal 100 is provided with a corresponding card slot. The clamping groove can be in the form of an independent clamping groove, a one-support-two type clamping groove and the like.
The virtual sim (vsim) card does not occupy the card slot of the terminal 100, and exists in the form of software, and the parameters of the virtual card involved can be obtained in various ways. For example, a user may purchase a VSIM service contract (e.g., a package) from any service provider (e.g., an operator) and download corresponding provisioning data for that service provider. Provisioning information may be loaded into the VSIM. Additionally, a user may store provisioning information for multiple service contracts on a VSIM. The user may switch service providers simply by accessing and enforcing the stored provisioning information for the selected service contract.
In one embodiment, the virtual card parameters of the virtual SIM card may be provided by a virtual card server, which may be a physically existing server or a virtual server implemented based on existing cloud computing technology. The virtual card server can maintain and manage a virtual card list, performs network communication with each terminal, and is used for issuing virtual card parameters of the virtual SIM card to each terminal; and the system can also carry out network communication with each operator for authenticating the virtual SIM cards served by each operator.
The terminal 100 may communicate with the virtual card server through the mobile communication interface 13 and/or the wireless internet interface 14 to obtain the virtual card parameters.
In other embodiments, the virtual SIM card may be preset in the terminal 100 when the terminal 100 is shipped from the factory, or may be installed in the terminal 100 in other manners. The virtual card parameters of the virtual SIM card may be written in a data format into a parameter file and stored in a non-volatile storage area of the terminal 100, which may be designated or default.
In an embodiment of the present invention, the virtual card parameters obtained from the virtual card server, or the virtual card parameters directly preset in the terminal, are associated with and provided by the operator or the virtual operator. The virtual card parameters may include: an Integrated Circuit Card Identification (ICCID), an International Mobile Subscriber Identity (IMSI), an authentication key (Ki), and a Local Area Identity (LAI), among others. Wherein the ICCID is a unique identification number of the card.
Referring to fig. 2, the virtual SIM card system according to an embodiment of the present invention includes: a virtual card server 200, a terminal 100 and an operator 300.
The virtual card server 200 is configured to implement management of virtual card resources, and send virtual card parameters of a virtual SIM card to the terminal 100 through a communication network. The virtual card server 200 is connected with the server of the operator 300, and completes the functions of interactive management of virtual SIM card resources, dynamic update of state, flow statistics and speed limitation. On the other hand, the virtual card server 200 provides the terminal 100 with interfaces including user and device management, package and order management, encryption transmission of card resources, and the like. A user may purchase and obtain a package by connecting to virtual card server 200 via a communication network to download appropriate provisioning data to support the desired package. The communication network may be a cellular telephone network or a data network.
Fig. 1 shows a structure of a terminal according to an embodiment of the present invention. The application processor 10 includes a virtual card processing module (not shown).
A virtual card processing module for performing card resource interaction with the virtual card server 200, requesting virtual card parameters from the virtual card server 200 through a communication interface (a mobile communication interface 13 or a wireless internet interface 14) of the terminal 100, and for data/instruction interaction with the modem processor 11; and system logic for emulating a physical SIM card (protocols and file systems implementing the ISO7816 standard and 3GPP specifications for UICC and USIM, etc.). And is also used for executing operations such as storage deletion of virtual SIM card resources, startup and shutdown of the virtual SIM card, and the like, and completing configuration of APN and necessary cellular data setting, such as data switch, roaming switch, switching default data card, and the like, in the activation process of the virtual SIM card. In one embodiment, the activation refers to registering the ic card id of the virtual SIM card in the core network of the operator and letting the virtual SIM card obtain normal service.
And a modem processor 11 for implementing access to the virtual SIM card, implementing a virtual SIM card protocol, and the like.
Referring to fig. 3, the software architecture of the terminal 100 of the embodiment of the present invention includes, from top to bottom: an application Layer, a service Layer, a framework Layer, a Radio Interface Layer (RIL), and a protocol Layer. Wherein, the application layer is used for displaying card interfaces and the like. And the service layer is used for providing a series of key services such as a roaming switch, an internet access switch, a default data card switching and a network mode setting for the application layer. The framework layer is positioned between the APP and the RIL layer and provides basic service and information transmission for the APP; and communicating with the RIL to keep the normal use of terminal communication. The RIL layer is used to handle communication between the framework layer and the protocol layer. The protocol layer is used for realizing a virtual card protocol.
Referring to fig. 4, based on the above hardware, network and system, a virtual SIM card synchronization management method according to an embodiment of the present invention is provided to solve the problem of synchronization management of an application processor and a modem processor on a virtual SIM card, and includes the following steps:
s1, when the first preset condition is satisfied, the modem processor disables the virtual SIM card and sends a message to the virtual card processing module.
Specifically, the first preset condition may include: RIL reconnection, QMI reconnection and the like caused by system abnormality. And disabling the virtual SIM card, namely disconnecting the virtual SIM card, and enabling the entity SIM card if the entity SIM card reports at the moment.
S2, the virtual card processing module initiates a virtual SIM card activation request.
Specifically, in step S1, after the modem processor disables the virtual SIM card, it reports a "state change" event to the RIL layer. And the RIL layer receives the state change event, sends an event broadcast message to the virtual card processing module, and the virtual card processing module initiates a virtual SIM card activation request after receiving the event broadcast.
S3, the application processor compares the ICCID of the current card with the ICCID in the preset storage area, and activates the enabled virtual SIM card when the two are the same.
Specifically, the modem processor detects the card with the present card status, and inquires its ICCID. When the card reports the ICCID to the modem processor, its status is present.
In one embodiment, the ICCID of the virtual SIM card is written (stored) into the preset storage area by:
and when the virtual SIM card is activated and the virtual service logic is finished, the virtual card processing module writes the ICCID of the virtual SIM card into a preset storage area. The format of the write may be: ICCID + card slot of the virtual SIM card. For example, if the virtual SIM card is bound to card slot 1, the card slot is 1, the ICCID of the virtual SIM card is 898600 MFSS YYGXX xxxxxxxp, 898600 MFSS YYGXX xxxxxxxp and a value of 1 are written to the preset storage area (i.e., 898600 MFSS YYGXX xxxxxxxp 1 is written to the preset storage area). It should be understood that in other embodiments, only the ICCID may be written.
In an embodiment of the present invention, the ICCID of the virtual SIM card is not always stored in the preset storage area, and is deleted when a certain condition is satisfied. For example, when the virtual SIM card functionality is turned off.
In one embodiment, in step S3, if the ICCID of the current card is not the same as the ICCID in the preset storage area, the reporting of the virtual SIM card is waited for a preset time. Specifically, in order to avoid that reporting of the entity SIM card affects reporting of the virtual SIM card, if the entity SIM card reports during waiting for the virtual SIM card to report, the ICCID of the entity SIM card reported by the entity SIM card is set to null, and the entity SIM card is subjected to power down processing. Specifically, the preset time may be 10 seconds.
According to the virtual SIM card synchronous management method provided by the embodiment of the invention, the modem processor disables the virtual SIM card and reactivates the virtual SIM card, so that the modem processor and the application processor realize synchronous management on the virtual SIM card.
Referring to fig. 5, in another embodiment of the present invention, when the application processor is restarted, resulting in asynchronous management of the virtual SIM card by the application processor and the modem processor, the virtual card processing module establishes socket communication with the RIL layer when the second preset condition is satisfied at step S51.
Specifically, after the socket is established, the interactive instruction of the virtual SIM card may be transmitted to the RIL layer through the socket. The second preset condition may include an application processor restart.
At step S52, the modem processor removes the virtual SIM card and reinserts the virtual SIM card.
Specifically, the difference between the removal of the virtual SIM card and the disabling of the virtual SIM card is that: when the virtual SIM card is removed, the virtual SIM card is only pulled out, and other reported cards cannot be processed. In one embodiment, "remove" and "insert" are both implemented by software flow, rather than physical actions.
By the flow shown in fig. 5, re-insertion of the virtual SIM card can be achieved, thereby solving the synchronization problem between the modem process and the application processor.
Referring to fig. 6, in an embodiment of the present invention, the virtual card processing module is configured to provide a user interface, and a user can turn on/off the virtual SIM card function and select a corresponding roaming service by operating the user interface. It should be understood that in the embodiment of the present invention, the roaming service can be provided through the virtual SIM card, so as to realize access to the operator network of the roaming place, and realize "card-free" communication.
Specifically, when the user needs to start the roaming function, the corresponding roaming package is selected through the user interface. The roaming package is related to the operator of the roaming place, and when the roaming package is selected, the network of the operator to be selected is determined. The virtual card processing module obtains the parameter information of the virtual SIM card corresponding to the operator network from the virtual card server. In some embodiments, the parameter information may also be directly stored in the terminal and selected by the terminal. And after the virtual service logic of the virtual SIM card is finished, the virtual card processing module writes the ICCID of the virtual SIM card into a preset storage area. And when the user closes the roaming function through the user interface, deleting the ICCID of the preset storage area.
In an embodiment of the present invention, before the terminal activates the virtual SIM card, the virtual card processing module first records the cellular data status (including data switch, data roaming and network type) corresponding to the physical SIM card. When the virtual SIM card is turned off, the previously saved cellular data state of the physical card is restored.
In this embodiment, when the modem processor and the application processor are out of synchronization with respect to the management of the virtual SIM card due to an abnormal condition, the following two cases are classified according to the reason for the out of synchronization:
determining a reason for causing the modem processor and the application processor to be out of synchronization at step S61, and if a first preset condition is satisfied, performing step S62; if the second preset condition is satisfied, step S65 is executed. As described above, the first preset condition may include: RIL reconnection, QMI reconnection and the like caused by system abnormality. The second preset condition may include an application processor restart.
S62, the modem processor disables the virtual SIM card and sends a message to the virtual card processing module, and performs step S63.
S63, the virtual card processing module initiates the virtual SIM card activation request and executes the step S64.
Specifically, in step S62, after the modem processor disables the virtual SIM card, it reports a "state change" event to the RIL layer. And the RIL layer receives the state change event, sends an event broadcast message to the virtual card processing module, and the virtual card processing module receives the event broadcast message and then initiates a virtual SIM card activation request.
S64, the application processor compares the ICCID of the current card with the ICCID in the preset storage area, and activates the enabled virtual SIM card when the two are the same. In the step, if the ICCID of the current card is different from the ICCID in the preset storage area, the reporting of the virtual SIM card is waited within the preset time so as to avoid the reporting of the entity SIM card from influencing the reporting of the virtual SIM card. Specifically, the preset time may be 10 seconds.
S65, the virtual card processing module establishes socket communication with the RIL layer and executes the step S66.
Specifically, after the socket is established, the interactive instruction of the virtual SIM card may be transmitted to the RIL layer through the socket.
S66, the application processor removes (remove) the virtual SIM card and reinserts (insert) the virtual SIM card.
In the embodiment of the invention, the virtual SIM card is forbidden by the modem processor, and the virtual SIM card is reactivated, so that the modem processor and the application processor realize synchronous management on the virtual SIM card; on the other hand, when the application processor is restarted, the virtual SIM card can be reinserted, thereby solving the problem of synchronization between the modem processing and the application processor.
Correspondingly, referring to fig. 7, an embodiment of the present invention further provides a terminal, including: a modem processor and a virtual card processing module; when a first preset condition is met, the modem processor is used for forbidding the virtual SIM card and sending a message to the virtual card processing module;
the virtual card processing module is used for initiating a virtual SIM card activation request. In one embodiment, the virtual card processing module may be a separate module to perform the corresponding functions. In addition, the virtual card processing module may also be a module in the application processor to perform corresponding functions.
The application processor is also used for comparing the ICCID of the current card with the ICCID in the preset storage area and activating and enabling the virtual SIM card when the ICCID of the current card is the same as the ICCID of the preset storage area. In one embodiment, if the ICCID of the current card is different from the ICCID in the preset storage area, the reporting of the virtual SIM card is waited for within a preset time. Specifically, in order to avoid that reporting of the entity SIM card affects reporting of the virtual SIM card, if the entity SIM card reports during waiting for the virtual SIM card to report, the ICCID of the entity SIM card reported by the entity SIM card is set to null, and the entity SIM card is subjected to power down processing. Specifically, the preset time may be 10 seconds.
The modem processor is also used for reporting a state change event to the RIL layer after the virtual SIM card is forbidden;
the RIL layer receives the state change event, and then sends an event broadcast message to the virtual card processing module;
and after receiving the broadcast sent by the RIL layer according to the state change event, the virtual card processing module initiates a virtual SIM card activation request.
The virtual card processing module is further configured to, when the virtual SIM card is activated and the virtual service logic is completed, write the ICCID of the virtual SIM card into the preset storage area.
If the second preset condition is met, the virtual card processing module is further used for establishing socket communication with the RIL layer;
the application processor is also configured to remove the virtual SIM card and reinsert the virtual SIM card.
It should be understood that the specific implementation details and principles of the virtual SIM card synchronization management method according to the above embodiment of the present invention are also applicable to the terminal, and are not described herein again.
According to the terminal provided by the embodiment of the invention, the virtual SIM card is forbidden through the modem processor, and the virtual SIM card is reactivated, so that the modem processor and the application processor realize synchronous management on the virtual SIM card; on the other hand, when the application processor is restarted, the virtual SIM card can be reinserted, thereby solving the problem of synchronization between the modem processing and the application processor.
The terminal 100 in embodiments of the present invention may also be referred to as a mobile device, a mobile terminal, an access terminal, a subscriber unit, etc. The terminal 100 may be a smart phone, tablet computer, laptop computer, or other device configured to communicate using a wireless communication protocol such as 2G/3G/4G.
Any process or method descriptions in flow charts or otherwise described in embodiments of the present invention may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps in the process, and alternate implementations are included within the scope of the embodiments of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description, for purposes of explanation, used specific nomenclature to provide a thorough understanding of the invention. However, it will be apparent to one skilled in the art that the specific details are not required in order to practice the invention. The foregoing descriptions of specific embodiments of the present invention have been presented for purposes of illustration and description. They are not intended to be exhaustive or to limit the invention to the precise forms disclosed. Many modifications and variations are possible in light of the above teaching. The embodiments are shown and described in order to best explain the principles of the invention and its practical applications, to thereby enable others skilled in the art to best utilize the invention and various embodiments with various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.

Claims (10)

1. A virtual SIM card synchronous management method is characterized by comprising the following steps:
when a first preset condition is met, the modem processor disables the virtual SIM card and sends a message to the virtual card processing module, wherein the first preset condition comprises RIL reconnection and QMI reconnection caused by system abnormity;
the virtual card processing module initiates a virtual SIM card activation request;
the application processor compares the integrated circuit card identification code of the current card with the integrated circuit card identification code in the preset storage area, and activates and enables the virtual SIM card when the two are the same.
2. The method of claim 1, wherein the modem processor disables the virtual SIM card and sends a message to the virtual card processing module when the first predetermined condition is satisfied, comprising:
when the first preset condition is met, the modem processor forbids the virtual SIM card and reports a state change event to a wireless interface layer;
and the wireless interface layer receives the state change event and sends an event broadcast message to the virtual card processing module.
3. The method of claim 2, wherein the step of the virtual card processing module initiating a virtual SIM card activation request comprises:
and after receiving the event broadcast message, the virtual card processing module initiates a virtual SIM card activation request.
4. The method of claim 1, further comprising:
when the virtual SIM card is activated and the virtual service logic is completed, the virtual card processing module writes the integrated circuit card identification code of the virtual SIM card into a preset storage area.
5. The method of claim 1, further comprising:
and if the integrated circuit card identification code of the current card is different from the integrated circuit card identification code in the preset storage area, waiting for the report of the virtual SIM card within the preset time.
6. The method of claim 1, further comprising:
when a second preset condition is met, the virtual card processing module establishes socket communication with a wireless interface layer, wherein the second preset condition comprises that the application processor is restarted;
the application processor removes the virtual SIM card and reinserts the virtual SIM card.
7. A terminal, comprising:
a modem processor and a virtual card processing module;
when a first preset condition is met, the modem processor is used for forbidding the virtual SIM card and sending a message to the virtual card processing module, wherein the first preset condition comprises RIL reconnection and QMI reconnection caused by system abnormity;
the virtual card processing module is used for initiating a virtual SIM card activation request;
the application processor is further configured to compare the integrated circuit card identification code of the current card with the integrated circuit card identification code in the preset storage area, and activate and enable the virtual SIM card when the two are the same.
8. The terminal of claim 7, wherein the modem processor is further configured to report a state change event to the radio interface layer after disabling the virtual SIM card;
the wireless interface layer receives the state change event, and then sends the event broadcast to the virtual card processing module;
the virtual card processing module is further configured to initiate a virtual SIM card activation request after receiving a broadcast sent by the wireless interface layer according to a state change event.
9. The terminal of claim 7, wherein the virtual card processing module is further configured to write an ic card identifier of the virtual SIM card into a preset storage area when the virtual SIM card is activated and the virtual service logic is completed.
10. The terminal according to claim 7, wherein the virtual card processing module is further configured to establish socket communication with the wireless interface layer if it is detected that a second predetermined condition is met, where the second predetermined condition includes an application processor restart;
the application processor is further configured to remove the virtual SIM card and reinsert the virtual SIM card.
CN201610522810.2A 2016-07-05 2016-07-05 Virtual SIM card synchronous management method and terminal Active CN106210023B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610522810.2A CN106210023B (en) 2016-07-05 2016-07-05 Virtual SIM card synchronous management method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610522810.2A CN106210023B (en) 2016-07-05 2016-07-05 Virtual SIM card synchronous management method and terminal

Publications (2)

Publication Number Publication Date
CN106210023A CN106210023A (en) 2016-12-07
CN106210023B true CN106210023B (en) 2020-03-31

Family

ID=57466125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610522810.2A Active CN106210023B (en) 2016-07-05 2016-07-05 Virtual SIM card synchronous management method and terminal

Country Status (1)

Country Link
CN (1) CN106210023B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107371222B (en) * 2017-06-05 2021-01-05 北京小米移动软件有限公司 Virtual card disabling method and device
CN107678798A (en) * 2017-09-30 2018-02-09 努比亚技术有限公司 A kind of SIM card fast initializing method, device and computer-readable recording medium
CN107734495B (en) * 2017-09-30 2021-05-11 Oppo广东移动通信有限公司 Information processing method, device, storage medium and terminal
CN107708107A (en) * 2017-09-30 2018-02-16 广东欧珀移动通信有限公司 Network service processing method, device, storage medium and terminal
CN113316134B (en) * 2021-05-08 2022-06-10 Tcl通讯(宁波)有限公司 Mobile terminal multi-SIM card processing method and device, mobile terminal and medium
CN113922989A (en) * 2021-09-16 2022-01-11 深圳市领科物联网科技有限公司 SOC (System on chip), network communication module and identity authentication method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916844A (en) * 2012-12-31 2014-07-09 华为技术有限公司 Subscriber identity module card opening method and virtual subscriber identity module card server
CN105050075A (en) * 2015-08-31 2015-11-11 宇龙计算机通信科技(深圳)有限公司 Virtual subscriber identity module (SIM) card based call processing method and device, and wearable device
CN105050076A (en) * 2015-05-06 2015-11-11 努比亚技术有限公司 Virtual card user interface management method and system
CN105101167A (en) * 2015-08-31 2015-11-25 联想(北京)有限公司 Data service transmission method and user terminal

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008025792A1 (en) * 2008-05-29 2009-12-17 T-Mobile International Ag Personalization of a SIM using a unique, personalized MasterSIM
CN101977409A (en) * 2010-10-20 2011-02-16 中兴通讯股份有限公司 Communication method and device for double-network double-standby terminal
CN102917339B (en) * 2012-10-11 2014-06-11 华为技术有限公司 Methods, device and system for realization and communication of virtual subscriber identity module
CN103094793B (en) * 2013-01-07 2015-11-25 华为终端有限公司 The smart card connecting circuit of electronic equipment and electronic equipment
CN104185171B (en) * 2014-08-29 2017-09-29 广东欧珀移动通信有限公司 The method and apparatus that a kind of virtual SIM card is realized
CN104469737B (en) * 2014-11-17 2018-09-11 中国联合网络通信集团有限公司 A kind of universal embedded integrated circuit card and its user signing contract information Activiation method
CN104507070B (en) * 2014-12-31 2019-01-25 宇龙计算机通信科技(深圳)有限公司 The method, apparatus and terminal of information load
CN104955022A (en) * 2015-06-30 2015-09-30 宇龙计算机通信科技(深圳)有限公司 Method and system for sharing virtual SIM (subscriber identity module)
CN105451213A (en) * 2015-11-02 2016-03-30 联想(北京)有限公司 Information processing method, electron equipment, and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916844A (en) * 2012-12-31 2014-07-09 华为技术有限公司 Subscriber identity module card opening method and virtual subscriber identity module card server
CN105050076A (en) * 2015-05-06 2015-11-11 努比亚技术有限公司 Virtual card user interface management method and system
CN105050075A (en) * 2015-08-31 2015-11-11 宇龙计算机通信科技(深圳)有限公司 Virtual subscriber identity module (SIM) card based call processing method and device, and wearable device
CN105101167A (en) * 2015-08-31 2015-11-25 联想(北京)有限公司 Data service transmission method and user terminal

Also Published As

Publication number Publication date
CN106210023A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
US10674352B2 (en) Embedded universal integrated circuit card (eUICC) file system management with profile switching
CN106210023B (en) Virtual SIM card synchronous management method and terminal
US9699642B2 (en) Electronic subscriber identity module selection
US9439062B2 (en) Electronic subscriber identity module application identifier handling
CN106131816B (en) Virtual SIM card management method and terminal
US10015165B2 (en) Methods and apparatus to support GlobalPlatform™ usage on an embedded UICC (eUICC)
JP6622394B2 (en) Managing multiple active subscriber identity module profiles
JP6231044B2 (en) Handling of application identification information of electronic subscriber identification module (eSIM)
CN106211132B (en) Virtual SIM card identification method and terminal
WO2019184658A1 (en) Profile switching method and apparatus, and mobile terminal
JP6680548B2 (en) Technology for dynamically supporting distinct authentication algorithms
US12003969B2 (en) Postponed eSIM delivery to secondary mobile wireless device for cellular wireless service subscription
JP6751088B2 (en) Implicit file generation in APDU scripts
US11805397B2 (en) IMEI binding and dynamic IMEI provisioning for wireless devices
WO2016119218A1 (en) Call supplementary service configuration synchronization method, apparatus and system
US20230217363A1 (en) Method for switching a Network slice, terminal, storage medium and electronic device
US10433131B2 (en) Embedded universal integrated circuit card (eUICC) command processing
JP2021002793A (en) Communication system and communication method
CN115442794A (en) SIM toolkit scheduling for multiple enabled ESIM profiles
US20220022028A1 (en) Profile and subscription management for wireless devices
US20240007847A1 (en) eSIM PROFILE MANAGEMENT FOR WIRELESS DEVICES
US20240007848A1 (en) eSIM PROFILE MANAGEMENT FOR WIRELESS DEVICES
CN115209382A (en) Logical channel management for multiple eSIM profiles
KR20240068539A (en) Method and apparatus of euicc key generation for provisioning profile in a wireless communication system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant