CN106211132B - Virtual SIM card identification method and terminal - Google Patents

Virtual SIM card identification method and terminal Download PDF

Info

Publication number
CN106211132B
CN106211132B CN201610525716.2A CN201610525716A CN106211132B CN 106211132 B CN106211132 B CN 106211132B CN 201610525716 A CN201610525716 A CN 201610525716A CN 106211132 B CN106211132 B CN 106211132B
Authority
CN
China
Prior art keywords
sim card
virtual sim
file
virtual
terminal
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
CN201610525716.2A
Other languages
Chinese (zh)
Other versions
CN106211132A (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 CN201610525716.2A priority Critical patent/CN106211132B/en
Publication of CN106211132A publication Critical patent/CN106211132A/en
Application granted granted Critical
Publication of CN106211132B publication Critical patent/CN106211132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

The invention discloses a virtual SIM card identification method and a terminal, wherein the method comprises the following steps: establishing a feature file in a file area of a virtual SIM card to identify the virtual SIM card; and when the preset conditions are met, determining whether a virtual SIM card exists or not according to the feature file and carrying out corresponding operation. The method has the advantages that the virtual SIM card can be identified by adding the feature file in the file area of the virtual SIM card, and the modem processor can determine whether the virtual SIM card is the virtual SIM card according to the feature file, so that a corresponding channel is selected to interact with the virtual SIM card; the application processor can confirm whether the SIM card is the virtual SIM card according to the feature file so as to select whether to update; and the channel selection is not required to be performed in advance by the application processor, so that the processing flow is simplified.

Description

Virtual SIM card identification method and terminal
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a virtual SIM card identification 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. When the terminal supports the physical SIM card and the virtual SIM card at the same time and the terminal interacts with the card, the AP side, i.e. the application processor, needs to determine a corresponding channel according to the type of the card (the physical SIM card or the virtual SIM card), and thus the modem side, i.e. the modem processor, can read the virtual SIM card.
When the terminal is restarted, the Modem Modem cannot read the virtual SIM card by default; but instead wait for the application processor to make a channel selection.
Therefore, in the prior art, the application processor is required to select the channel, and then normal interaction with the virtual SIM card can be realized, thereby increasing the processing flow.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a virtual SIM card identification 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 identification method is provided, including:
establishing a feature file in a file area of a virtual SIM card to identify the virtual SIM card;
and when the preset conditions are met, determining whether a virtual SIM card exists or not according to the feature file and carrying out corresponding operation.
In one embodiment, the step of establishing a feature file in a file area of the virtual SIM card to identify the virtual SIM card includes:
when the virtual SIM card is activated, the feature file is written into a file area of the virtual SIM card.
In one embodiment, the step of determining whether a virtual SIM card exists and performing corresponding operations according to the feature file when a preset condition is satisfied includes:
and when the entity SIM card is powered on, detecting whether the feature file exists, if so, enabling the virtual SIM card, and carrying out data interaction with a file area of the virtual SIM card.
In one embodiment, the profile includes one or more of the following parameters: the protocol type supported by the virtual SIM card, the authentication mode of the virtual SIM card and the applicable area of the virtual SIM card;
the step of performing data interaction with the file area of the virtual SIM card comprises the following steps:
acquiring parameters contained in the feature file from a file area of the virtual SIM card;
and executing corresponding operation according to the acquired parameters.
In one embodiment, the method further comprises:
and if the characteristic file does not exist, performing data interaction with the entity SIM card through a serial port.
In one embodiment, the profile is an empty file.
In one embodiment, the method further comprises:
when the file updating needs to be carried out on the virtual SIM card, detecting whether the feature file exists in a file area of the virtual SIM card or not;
and if the feature file exists, updating the file of the virtual SIM card.
In a second aspect, a terminal is provided, including:
the establishing module is used for establishing a feature file in a file area of the virtual SIM card so as to identify the SIM searching card;
and the identification module is used for determining whether the virtual SIM card exists and carrying out corresponding operation according to the characteristic file when a preset condition is met.
In one embodiment, the establishing module is configured to write the feature file into a file area of the virtual SIM card when the virtual SIM card is activated.
In an embodiment, the identification module is further configured to detect whether the feature file exists when the physical SIM card is powered on, and if the feature file exists, enable the virtual SIM card and perform data interaction with a file area of the virtual SIM card.
The virtual SIM card identification method and the terminal have the following beneficial effects: the virtual SIM card can be identified by adding a feature file in a file area of the virtual SIM card, and the modem processor can determine whether the virtual SIM card is the virtual SIM card according to the feature file, so that a corresponding channel is selected to interact with the virtual SIM card; the application processor can confirm whether the SIM card is the virtual SIM card according to the feature file so as to select whether to update; and the channel selection is not required to be performed in advance by the application processor, so that the processing flow is simplified.
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 network access diagram of the terminal 100 according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a virtual card system in accordance with one embodiment of the present invention;
fig. 4 is a flowchart illustrating a virtual SIM card identification method according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a virtual SIM card identification method according to another embodiment of the invention;
fig. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to still another 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.
Fig. 2 is a schematic diagram of network access of the terminal 100 according to an embodiment of the present invention. The terminal 100 communicates with the router 20 through its wireless internet interface 14 to communicate with a server 22 and/or other networked devices via a network 21. The terminal 100 accesses a cell (base station) 23 through its mobile communication interface 13, communicates with a modem 24 to communicate with a server 22 and/or other networked devices via a network 21.
Modem 24 may be configured to provide cell 23 with wired and/or wireless network connections to network 21 via a bandwidth.
Router 20 may be configured to operate as a wireless access point that may provide wireless network connectivity to terminal 100 and/or other devices using one or more WIFI communication protocols.
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.
In an embodiment of the present invention, the terminal 100 stores one or more network parameter files. The network parameter file is used for storing a configuration file of network parameters, and when network searching registration of cards (entity SIM cards and virtual SIM cards) is carried out, the network searching registration can be correctly carried out only by strictly adopting the network parameter file matched with the cards. The network parameter file comprises frequency band, channel number and other parameters required by network searching and network registration.
Referring to fig. 3, a virtual 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.
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.
In order to solve the access problem of the virtual SIM card, the embodiment of the invention adds the feature file for identifying the virtual SIM card, so that the access to the virtual SIM card can be realized according to the feature file, an application processor is not required to select a channel, and the processing flow can be simplified.
In an embodiment of the present invention, all data on the virtual SIM card is stored in a predetermined file area in a file format. The predetermined file area is a storage area. There is a data exchange channel between the predetermined file area and the modem processor of the terminal (for example, the data exchange channel is a specific data interface).
In the embodiment of the invention, a feature file is established in a preset file area for storing the parameters of the virtual SIM card and is used for identifying the virtual SIM card. Therefore, the modem processor can confirm whether the SIM card is the virtual SIM card or not according to the feature file, and accordingly selects a corresponding channel to interact with the virtual SIM card.
Referring to fig. 4, in an embodiment of the present invention, a virtual SIM card identification method includes:
s1, in the file area of the virtual SIM card, establishing a feature file to identify the virtual SIM card.
Specifically, in one embodiment, an identification number (ID) is assigned to the established profile. In order to save storage space, the created feature file may be an empty file, and only needs to play a role of identification.
In other embodiments, the profile may be extended to include some configuration information for the virtual SIM card. For example, one or more of the following parameters may be included in the profile: the types of protocols supported by the virtual SIM card, the authentication mode of the virtual SIM card, the region where the virtual SIM card is applicable, and so on.
Therefore, the modem processor can acquire the configuration information contained in the feature file by interacting with the virtual SIM card, and accordingly, corresponding operation processing is carried out.
In one embodiment, the modem processor may obtain the configuration information by:
the modem processor sends a "command APDU" to the virtual SIM card, which may contain read information of "configuration information". Each APDU may be 255 bytes in length at maximum.
The virtual SIM card obtains corresponding information from the feature file according to the command APDU, and then returns the obtained information to the modem processor in a mode of responding to the APDU. After receiving the returned information, the modem processor can perform corresponding operation processing. For example, if the returned information is the protocol type supported by the virtual SIM card, the modem processor may accordingly adopt the corresponding protocol type so that the virtual SIM card may normally register and communicate with the carrier network.
In an embodiment of the present invention, when the activation of the virtual SIM card is performed, the feature file may be written into a file area of the virtual SIM card. The activation here refers to the terminal turning on the virtual SIM card (e.g., turning on a switch of the virtual SIM card). In one embodiment of the invention, the virtual SIM card does not occupy a physical card slot, but when the virtual SIM card is activated, the modem processor's interaction with the virtual SIM card will occupy a channel of the physical card slot. I.e. the virtual SIM card is bound to the card slot, e.g. to the first card slot. After activating the virtual SIM card, the feature file may be written by the modem processor into the file area of the virtual SIM card through the channel.
In one embodiment, the feature file may be preset, and when the feature file needs to be written into the file area of the virtual SIM card, the preset feature file is directly written into the file area.
And S2, when the preset conditions are met, determining whether a virtual SIM card exists and carrying out corresponding operation according to the feature file.
Specifically, when the upper layer activates the virtual SIM card, a feature file is established in the file area of the virtual SIM card, and when it is necessary to determine whether the current SIM card is the virtual SIM card, and to select a corresponding channel, the determination can be performed directly according to the feature file. If the presence of the feature file is detected, the feature file indicates that the virtual SIM card is activated by the upper layer, namely the virtual SIM card needs to be started, so that the modem processor can directly interact data with the virtual SIM card through the channel. If the feature file is not detected, it indicates that the virtual SIM card is not activated by the upper layer, and at this time, the modem processor may perform data interaction with the physical SIM card through a channel (e.g., a serial port), and perform operations such as file reading on the physical SIM card.
In one embodiment, when the physical SIM card is powered on, whether the feature file exists is detected, and if the feature file exists, the virtual SIM card is enabled, and data interaction is performed with a file area of the virtual SIM card. Specifically, since the physical SIM card is a physical card, which can be normally enabled only by powering on, in this embodiment of the present invention, when the physical SIM card is powered on, if the feature file is detected, it indicates that the virtual SIM card activated first by the upper layer, and the virtual SIM card will be preferentially used. Thus, when a signature file is detected, the virtual SIM card is enabled (virtual SIM card is enabled) without reading the files of the physical SIM card. In one embodiment, the step of data interaction with the file area of the virtual SIM card comprises: acquiring parameters contained in the feature file from a file area of the virtual SIM card; and executing corresponding operation according to the acquired parameters. For example, if the obtained parameter is a protocol type supported by the virtual SIM card, the corresponding protocol type may be adopted accordingly, so that the virtual SIM card may normally register and communicate with the operator network.
In other embodiments, when operations such as plugging and unplugging of the physical SIM card occur, it may also be determined whether a virtual SIM card exists and corresponding operations are performed according to the feature file.
In the virtual SIM card identification method according to this embodiment of the present invention, the virtual SIM card can be identified by adding a feature file in the file area of the virtual SIM card, and the modem processor can determine whether the virtual SIM card is a virtual SIM card according to the feature file, thereby selecting a corresponding channel to interact with the virtual SIM card. When the terminal is restarted, the Modem Modem processor can be allowed to read the virtual SIM card by default without waiting for the application processor to perform channel selection. Therefore, the channel selection is not required to be performed in advance by the application processor, and the processing flow is simplified.
Referring to fig. 5, in another embodiment of the present invention, when performing a file update operation of a virtual SIM card, a detection of a feature file is performed, specifically:
in step S51, when a file update needs to be performed on the virtual SIM card, it is detected whether a feature file exists.
Because the virtual SIM card is a software, the virtual SIM card can update files at proper time, and when the application processor needs to update the virtual SIM card, whether the activated virtual SIM card exists can be determined according to the feature file.
In step S52, if a feature file exists, the file is updated. Specifically, when updating, the modem processor performs transparent transmission processing on the update data so as to write the update data from the application processor into the file area of the virtual SIM card.
According to the virtual SIM card identification method, the characteristic file is added in the file area of the virtual SIM card, the virtual SIM card can be identified, the application processor can determine whether the virtual SIM card is the virtual SIM card according to the characteristic file, so that whether the virtual SIM card is updated or not is selected, the application processor does not need to select a channel in advance, and the processing flow is simplified.
Correspondingly, referring to fig. 6, an embodiment of the present invention further provides a terminal, including:
the establishing module 601 is configured to establish a feature file in a file area of the virtual SIM card to identify the SIM card.
In one embodiment, the creating module 601 is configured to write the feature file into a file area of the virtual SIM card when the virtual SIM card is activated.
The identifying module 602 is configured to determine whether a virtual SIM card exists and perform corresponding operations according to the feature file when a preset condition is met.
In an embodiment, the identifying module 602 is further configured to detect whether the feature file exists when the physical SIM card is powered on, and if the feature file exists, enable the virtual SIM card and perform data interaction with a file area of the virtual SIM card.
In one embodiment, the profile may be an empty file, or the profile may include one or more of the following parameters: the protocol type supported by the virtual SIM card, the authentication mode of the virtual SIM card and the applicable area of the virtual SIM card.
In one embodiment, when a modem processor of the terminal interacts with a file area of the virtual SIM card, the virtual SIM card returns relevant parameters in the feature file to the modem processor, so that the modem processor performs corresponding operations according to the returned parameters. In an embodiment, the terminal of the embodiment of the present invention further includes an updating module 603, configured to detect whether a feature file exists when a file update needs to be performed on the virtual SIM card; and if the feature file exists, updating.
It should be understood that the implementation details and principles of the identification method of the virtual SIM card in the above embodiment are the same, and the terminal in the embodiment of the present invention is also applicable, and are not described herein again.
It should be understood that the setup module 601 may be provided in the modem processor 11 and the update module 603 may be provided in the application processor 10. Identification module 602 may be located in modem processor 11 and/or application processor 10.
According to the terminal provided by the embodiment of the invention, the virtual SIM card can be identified by adding the feature file in the file area of the virtual SIM card, and the modem processor can determine whether the virtual SIM card is the virtual SIM card according to the feature file, so that a corresponding channel is selected to interact with the virtual SIM card; the application processor can confirm whether the SIM card is the virtual SIM card according to the feature file so as to select whether to update; and the channel selection is not required to be performed in advance by the application processor, so that the processing flow is simplified.
Fig. 7 is a schematic structural diagram of a terminal according to another embodiment of the present invention. Wherein, the terminal 100 includes: modem processor 11, application processing server 10, virtual SIM card 102, physical SIM card 1, physical SIM card 2, radio frequency 104, and so on. It should be understood that the virtual SIM card 102 is software, which can be a default memory area.
In fig. 7, the terminal 100 may enable the virtual SIM card. In conjunction with fig. 3, the virtual card server 200 is configured to implement management of virtual card resources and send virtual card parameters of the virtual SIM card to the terminal 100 through the 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.
In the file area of the virtual SIM card, a profile is created by the modem processor 11 to identify the virtual SIM card. In an embodiment of the present invention, when the activation of the virtual SIM card is performed, the feature file may be written into a file area of the virtual SIM card. In order to save storage space, the created feature file may be an empty file, and only needs to play a role of identification. Furthermore, the profile may be extended to include some configuration information for the virtual SIM card. For example, one or more of the following parameters may be included in the profile: the types of protocols supported by the virtual SIM card, the authentication mode of the virtual SIM card, the region where the virtual SIM card is applicable, and so on.
Therefore, the modem processor can acquire the configuration information contained in the feature file by interacting with the virtual SIM card, and accordingly, corresponding operation processing is carried out.
When the preset condition is met, the modem processor or the application processor can determine whether the virtual SIM card exists and carry out corresponding operation according to the feature file. For example, when the physical SIM card is powered on, the modem processor detects whether the feature file exists, and if so, enables the virtual SIM card and performs data interaction with the file area of the virtual SIM card. Specifically, since the physical SIM card is a physical card, which can be normally enabled only by powering on, in this embodiment of the present invention, when the physical SIM card is powered on, if the feature file is detected, it indicates that the virtual SIM card activated first by the upper layer, and the virtual SIM card will be preferentially used. Thus, when a signature file is detected, the virtual SIM card is enabled (virtual SIM card is enabled) without reading the files of the physical SIM card.
In other embodiments, when operations such as plugging and unplugging of the physical SIM card occur, it may also be determined whether a virtual SIM card exists and corresponding operations are performed according to the feature file.
In another embodiment, when the application processor 10 needs to perform a file update operation on the virtual SIM card, the detection of the feature file is performed, specifically: when a file update to the virtual SIM card is required, the application processor 10 detects the presence of a signature file. And if the feature file exists, updating. Specifically, when updating, the modem processor performs transparent transmission processing on the update data so as to write the update data from the application processor into the file area of the virtual SIM card.
By the virtual SIM card identification method and the terminal, the virtual SIM card can be identified by adding a feature file in a file area of the virtual SIM card, and a modem processor can determine whether the virtual SIM card is the virtual SIM card according to the feature file, so that a corresponding channel is selected to interact with the virtual SIM card; the application processor can confirm whether the SIM card is the virtual SIM card according to the feature file so as to select whether to update; and the channel selection is not required to be performed in advance by the application processor, so that the processing flow is simplified.
A terminal 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 may be a smartphone, tablet, laptop, 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 identification method is characterized by comprising the following steps:
establishing a feature file in a file area of a virtual SIM card to identify the virtual SIM card;
and when the preset condition is met, the modem processor determines whether the virtual SIM card exists or not according to the existence of the characteristic file and performs corresponding operation.
2. The virtual SIM card identification method according to claim 1, wherein the step of establishing a feature file in a file area of the virtual SIM card to identify the virtual SIM card comprises:
when the virtual SIM card is activated, the feature file is written into a file area of the virtual SIM card.
3. The virtual SIM card recognition method according to claim 1, wherein the step of determining whether the virtual SIM card exists and performing corresponding operations according to whether the profile exists by the modem processor when the preset condition is satisfied comprises:
when the entity SIM card is powered on, the modem processor detects whether the feature file exists, if so, the virtual SIM card is enabled, and data interaction is carried out with a file area of the virtual SIM card.
4. The virtual SIM card identification method of claim 3, wherein the profile comprises one or more of the following parameters: the protocol type supported by the virtual SIM card, the authentication mode of the virtual SIM card and the applicable area of the virtual SIM card.
5. The virtual SIM card identification method of claim 4, wherein the step of interacting data with the file area of the virtual SIM card comprises:
acquiring parameters contained in the feature file from a file area of the virtual SIM card;
and executing corresponding operation according to the acquired parameters.
6. The virtual SIM card identification method of claim 3, further comprising:
and if the characteristic file does not exist, performing data interaction with the entity SIM card through a serial port.
7. The virtual SIM card identification method of claim 1, further comprising:
when the file updating needs to be carried out on the virtual SIM card, detecting whether the feature file exists in a file area of the virtual SIM card or not;
and if the feature file exists, updating the file of the virtual SIM card.
8. A terminal, comprising:
the establishing module is used for establishing a feature file in a file area of a virtual SIM card so as to identify the virtual SIM card;
and the identification module is arranged on the modem processor and used for determining whether the virtual SIM card exists or not and carrying out corresponding operation according to whether the characteristic file exists or not when the preset condition is met.
9. The terminal of claim 8, wherein the establishing module is configured to write the feature file into a file area of the virtual SIM card when the virtual SIM card is activated.
10. The terminal of claim 8, wherein the identification module is further configured to detect whether the feature file exists when the physical SIM card is powered on, and if the feature file exists, enable the virtual SIM card and perform data interaction with a file area of the virtual SIM card.
CN201610525716.2A 2016-07-05 2016-07-05 Virtual SIM card identification method and terminal Active CN106211132B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610525716.2A CN106211132B (en) 2016-07-05 2016-07-05 Virtual SIM card identification method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610525716.2A CN106211132B (en) 2016-07-05 2016-07-05 Virtual SIM card identification method and terminal

Publications (2)

Publication Number Publication Date
CN106211132A CN106211132A (en) 2016-12-07
CN106211132B true CN106211132B (en) 2021-04-09

Family

ID=57465256

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610525716.2A Active CN106211132B (en) 2016-07-05 2016-07-05 Virtual SIM card identification method and terminal

Country Status (1)

Country Link
CN (1) CN106211132B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107623612B (en) * 2017-09-30 2020-01-10 Oppo广东移动通信有限公司 Flow display method and device, computer equipment and computer readable storage medium
CN108616965B (en) 2018-03-23 2020-12-22 深圳市优克联新技术有限公司 Card calling method and device, information pushing method and device and card distribution system
CN109525698B (en) * 2018-11-19 2021-04-20 惠州Tcl移动通信有限公司 SIM card identification configuration method, storage medium and mobile phone
CN109788470B (en) * 2019-01-17 2022-03-11 维沃移动通信有限公司 Method, device and terminal for identifying eSIM card
CN113922989A (en) * 2021-09-16 2022-01-11 深圳市领科物联网科技有限公司 SOC (System on chip), network communication module and identity authentication method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102917339A (en) * 2012-10-11 2013-02-06 华为技术有限公司 Methods, device and system for realization and communication of virtual subscriber identity module
EP2627109A1 (en) * 2012-02-13 2013-08-14 Capernow Telemanagement Systems A/S Roaming technologies for mobile internet communication
CN104796957A (en) * 2015-05-13 2015-07-22 展讯通信(上海)有限公司 Multi-card multi-standby mobile terminal as well as user identification card switching method and user identification card switching device thereof
CN105578452A (en) * 2015-12-31 2016-05-11 集怡嘉数码科技(深圳)有限公司 Implementation method and device for virtual card, and mobile terminal
CN105578447A (en) * 2015-12-10 2016-05-11 成都工百利自动化设备有限公司 Virtual SIM/USIM card management terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2627109A1 (en) * 2012-02-13 2013-08-14 Capernow Telemanagement Systems A/S Roaming technologies for mobile internet communication
CN102917339A (en) * 2012-10-11 2013-02-06 华为技术有限公司 Methods, device and system for realization and communication of virtual subscriber identity module
CN104796957A (en) * 2015-05-13 2015-07-22 展讯通信(上海)有限公司 Multi-card multi-standby mobile terminal as well as user identification card switching method and user identification card switching device thereof
CN105578447A (en) * 2015-12-10 2016-05-11 成都工百利自动化设备有限公司 Virtual SIM/USIM card management terminal
CN105578452A (en) * 2015-12-31 2016-05-11 集怡嘉数码科技(深圳)有限公司 Implementation method and device for virtual card, and mobile terminal

Also Published As

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

Similar Documents

Publication Publication Date Title
US9699642B2 (en) Electronic subscriber identity module selection
US9439062B2 (en) Electronic subscriber identity module application identifier handling
CN111480350B (en) Method and equipment for data access of embedded SIM card
JP6622394B2 (en) Managing multiple active subscriber identity module profiles
CN106131816B (en) Virtual SIM card management method and terminal
CN106211132B (en) Virtual SIM card identification method and terminal
US20220326959A1 (en) Method and device for efficiently providing profile for communication service
JP6231044B2 (en) Handling of application identification information of electronic subscriber identification module (eSIM)
US9603189B2 (en) Method and apparatus for multisim devices with embedded SIM functionality
CN106210023B (en) Virtual SIM card synchronous management method and terminal
US8903370B2 (en) Network access credential migration
US20160285493A1 (en) Methods for performing a remote management of a multi-subscription sim module, and corresponding sim module and computer program product
JP6680548B2 (en) Technology for dynamically supporting distinct authentication algorithms
US20190007082A1 (en) Embedded subscriber identity module including communication profiles
WO2019184658A1 (en) Profile switching method and apparatus, and mobile terminal
US11805397B2 (en) IMEI binding and dynamic IMEI provisioning for wireless devices
EP3023904A1 (en) Implicit File creation in APDU scripts
US20230076852A1 (en) Electronic device supporting plurality of sims and operating method therefor
WO2019161939A1 (en) Methods, devices, and computer programs for provisioning or controlling operator profiles in terminals
JP2021002793A (en) Communication system and communication method
US9883051B2 (en) Method and system for usage of manual PLMN selection mode
CN105577905A (en) Data service card switching method and terminal
US20220022028A1 (en) Profile and subscription management for wireless devices
US11039296B2 (en) Method and apparatus for disabling a carrier eSIM profile
CN116368825A (en) Method and apparatus for managing communication bundle packages for intelligent security platform

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