Nothing Special   »   [go: up one dir, main page]

CN104185171B - The method and apparatus that a kind of virtual SIM card is realized - Google Patents

The method and apparatus that a kind of virtual SIM card is realized Download PDF

Info

Publication number
CN104185171B
CN104185171B CN201410437238.0A CN201410437238A CN104185171B CN 104185171 B CN104185171 B CN 104185171B CN 201410437238 A CN201410437238 A CN 201410437238A CN 104185171 B CN104185171 B CN 104185171B
Authority
CN
China
Prior art keywords
sim card
card
entity
number information
virtual
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.)
Expired - Fee Related
Application number
CN201410437238.0A
Other languages
Chinese (zh)
Other versions
CN104185171A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410437238.0A priority Critical patent/CN104185171B/en
Publication of CN104185171A publication Critical patent/CN104185171A/en
Application granted granted Critical
Publication of CN104185171B publication Critical patent/CN104185171B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of method that virtual SIM card is realized, comprise the following steps:The insertion detection of S1 entities SIM card;S2 does not detect entity SIM card or detects SIM card and there is problem and can not normally use, while user attempts to connect to mobile network, virtual SIM card function is opened;S3 detects entity SIM card insertion sim card slot, and intelligent mobile terminal is detected simultaneously by only with single sim card slot or identical with the virtual SIM card card number information enabled with entity SIM card card number information in double SIM card groove but neck, close the virtual SIM card function of enabling;S4 detects entity SIM card insertion sim card slot, and being detected simultaneously by intelligent mobile terminal, there is virtual SIM card card number information of the entity SIM card card number information with enabling in double SIM card groove but neck to differ, intelligent mobile terminal enables entity SIM card and the double-card dual-standby function of virtual SIM card.

Description

Method and device for realizing virtual SIM card
Technical Field
The present invention relates to the field of mobile communication application technologies, and in particular, to a method and an apparatus for implementing a virtual SIM card.
Background
The development of mobile phones is changed from an integrated mobile phone terminal to a phone-card separated mobile phone terminal, wherein the integrated mobile phone terminal refers to that the internet access authentication account information of the mobile phone terminal and a functional module corresponding to an authentication algorithm are integrated with the mobile phone terminal and cannot be separated. The internet authentication account information and the corresponding function Module of the authentication algorithm of the mobile phone terminal with the separated phone and card are realized by using a special card, the card is called a Subscriber identity Module card (Subscriber identity Module), namely an SIM card, and the SIM card is connected with the mobile terminal through an electric contact connector conforming to the ISO7816 standard. Because the machine-card separated mobile phone terminal realizes the separation of the internet access authentication account information and the mobile terminal, people can conveniently use the same SIM card for mobile terminals with different models, and simultaneously, after the mobile phone terminal is replaced and moved, the SIM card information can be directly used for new mobile terminals.
However, due to the characteristic that the mobile phone terminal with the separated phone and card can be normally connected to the mobile network after the SIM card is inserted, when the SIM card is burnt out or physically damaged by improper operation of a user, the user needs to go to an operator business hall to handle a card-repairing procedure, and can be normally connected to the mobile network after replacing the card. Since the SIM card information is written into the mobile phone before the mobile phone leaves the factory, the user can not change the SIM card information, and needs to go to the business hall of the corresponding mobile operator to process the burning of the SIM card information if the user wants to change the service provided by other mobile operators. Therefore, it is urgently needed to provide a method for implementing a virtual SIM card, which not only adapts to the current situation that a user can replace a mobile service provider by only replacing the SIM card, but also solves the problem that the user cannot connect to a mobile network due to the damage of the SIM card.
Disclosure of Invention
A first object of the present invention is to overcome the disadvantages and drawbacks of the prior art, and to provide a method for implementing a virtual SIM card, which automatically prompts a user to store information related to the SIM card, such as IMSI, ICCID, PLMN, KI, etc., when the user changes the SIM card or the smart mobile terminal, and stores the information in a non-volatile memory of the smart mobile terminal. When the SIM card of the user is damaged and cannot be used, the user only needs to start the SIM card information recovery setting of the intelligent mobile terminal, the system starts a virtual SIM card task, is connected to a mobile network for authentication and access, and is normally connected with the mobile network to realize the function of the virtual SIM card.
Another object of the present invention is to provide an apparatus for implementing a virtual SIM card.
The first purpose of the invention is realized by the following technical scheme:
a method for realizing virtual SIM card is applied to an intelligent mobile terminal with a single SIM card slot or double SIM card slots, and comprises the following steps:
s1, the system detects whether the smart mobile terminal card slot has an entity SIM card inserted;
s2, if the system does not detect the solid SIM card or detects that the SIM card has problems and can not be used normally, and the user tries to connect to the mobile network, the system reminds the user whether to start the virtual SIM card function, if the user chooses to start, the system starts the virtual SIM card task to realize normal connection to the mobile network, and if the user chooses not to start, the system reminds the user whether to start the virtual SIM card function again when trying to connect to the mobile network next time;
s3, if the system detects that the entity SIM card is inserted into the SIM card slot, starting the operation flow of the detection and authentication of the entity SIM card, and simultaneously detecting that the intelligent mobile terminal only has a single SIM card slot or has double SIM card slots but the number information of the entity SIM card in the card slot is the same as the number information of the virtual SIM card being started, and closing the function of the virtual SIM card being started;
s4, if the system detects that the solid SIM card is inserted into the SIM card slot, the system starts the operation flow of the detection and authentication of the solid SIM card, and simultaneously detects that the intelligent mobile terminal has double SIM card slots but the card number information of the solid SIM card in the card slot is different from the card number information of the virtual SIM card being started, and the intelligent mobile terminal starts the double standby functions of the solid SIM card and the virtual SIM card.
Further, after the system starts the operation flow of detecting and authenticating the entity SIM card in step S3 or step S4, the system also detects whether the smart mobile terminal stores the card number information of the entity SIM card, and if the system does not detect the card number information of the entity SIM card, the system prompts the user system to automatically store the card number information of the entity SIM card.
Further, the method also comprises the following steps:
when the intelligent mobile terminal starts the dual-card dual-standby function, if the entity SIM card is inserted into the first card slot, the entity SIM card is set as the card 1, and the virtual SIM card being started is set as the card 2, otherwise, if the entity SIM card is inserted into the second card slot, the entity SIM card is set as the card 2, and the virtual SIM card being started is set as the card 1.
Further, the SIM card number information includes an ICCID integrated circuit number, an MSISDN mobile station ISDN number, an IMSI international mobile subscriber identity, a TMSI temporary mobile subscriber identity, a PIN code, a PIN2 code, a PUK2 code, an MSRN mobile subscriber roaming number, an LAI location area identity, a CGI global cell identity, keys Ki and Kc, and an international IMEI mobile station equipment identity.
The other purpose of the invention is realized by the following technical scheme:
an apparatus for virtual SIM card implementation, applied to a smart mobile terminal having a single SIM card slot or a dual SIM card slot, the apparatus comprising:
the device is used for systematically detecting whether the solid SIM card is inserted into the smart mobile terminal card slot;
the virtual SIM card function starting device detects no entity SIM card or detects that the SIM card has problems and can not be normally used, simultaneously, a user tries to connect to a mobile network, the system reminds the user whether to start the virtual SIM card function, if the user selects to start, the system starts a virtual SIM card task to realize normal connection to the mobile network; if the user selects not to start, reminding again whether to start the virtual SIM card function when the user tries to connect to the mobile network next time;
the device comprises a virtual SIM card function closing device, a virtual SIM card function closing device and a control device, wherein the device starts a detection authentication operation process of a solid SIM card when a system detects that the solid SIM card is inserted into an SIM card slot, and closes the virtual SIM card function which is being started when detecting that an intelligent mobile terminal only has a single SIM card slot or has double SIM card slots but the card number information of the solid SIM card in the card slot is the same as the card number information of the virtual SIM card which is being started;
the device detects that the entity SIM card is inserted into an SIM card slot in a system, starts a detection authentication operation process of the entity SIM card, and simultaneously detects that the intelligent mobile terminal has double SIM card slots but the card number information of the entity SIM card in the card slot is different from the card number information of the virtual SIM card which is being started, and the intelligent mobile terminal starts the double-card double-standby function of the entity SIM card and the virtual SIM card.
Further, after the system starts the operation flow of detection and authentication of the entity SIM card in the virtual SIM card function closing device or the dual-card dual-standby function opening device of the entity SIM card and the virtual SIM card, the system also detects whether the smart mobile terminal stores the card number information of the entity SIM card, and if the system does not detect the card number information of the entity SIM card, the system prompts the user system to automatically store the card number information of the SIM card.
Further, the apparatus further comprises:
the device sets the entity SIM card as card 1 and the virtual SIM card being started as card 2 when the entity SIM card is inserted into the first card slot while the intelligent mobile terminal starts the dual-card dual-standby function, otherwise sets the entity SIM card as card 2 and the virtual SIM card being started as card 1 when the entity SIM card is inserted into the second card slot.
Further, the SIM card number information includes an ICCID integrated circuit number, an MSISDN mobile station ISDN number, an IMSI international mobile subscriber identity, a TMSI temporary mobile subscriber identity, a PIN code, a PIN2 code, a PUK2 code, an MSRN mobile subscriber roaming number, an LAI location area identity, a CGI global cell identity, keys Ki and Kc, and an international IMEI mobile station equipment identity.
Compared with the prior art, the invention has the following advantages and effects:
1. the invention overcomes the problem that the user of the intelligent mobile terminal can not be connected to the mobile network because the SIM card is damaged or lost, extracts and stores the information such as authentication and the like in the SIM card into the intelligent mobile terminal in advance, and transfers the burning operation of the SIM card in the business hall of the network operator to the intelligent mobile terminal, thereby improving the convenience of the user.
2. The invention provides a set of technical schemes for automatic identification, switching and setting of the physical SIM card and the virtual SIM card, and improves the intelligence of the intelligent mobile terminal.
Drawings
Fig. 1 is a flowchart of a method for implementing a virtual SIM card according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to examples and drawings, but the present invention is not limited thereto.
Example one
The embodiment discloses a method for realizing a virtual SIM card, which is applied to an intelligent mobile terminal with a single SIM card slot or double SIM card slots.
The embodiment specifically comprises the following steps:
and step S1, the system detects whether the smart mobile terminal card slot has an entity SIM card inserted.
Step S2, if the system does not detect the entity SIM card or detects that the SIM card has problems and can not be used normally, and the user tries to connect to the mobile network, the system reminds the user whether to start the virtual SIM card function, if the user chooses to start, the system starts the virtual SIM card task to realize normal connection to the mobile network, and if the user chooses not to start, the system reminds the user whether to start the virtual SIM card function again when trying to connect to the mobile network next time.
Step S3, if the system detects that the entity SIM card is inserted into the SIM card slot, the system starts the operation flow of the detection and authentication of the entity SIM card, and simultaneously detects that the intelligent mobile terminal only has a single SIM card slot or has double SIM card slots but the number information of the entity SIM card in the card slot is the same as the number information of the virtual SIM card being started, and the function of the virtual SIM card being started is closed;
the system also detects whether the intelligent mobile terminal stores the card number information of the entity SIM card after starting the detection authentication operation flow of the entity SIM card, and if the system does not detect the card number information of the SIM card, the system reminds a user that the system automatically stores the card number information of the SIM card.
Step S4, if the system detects that the solid SIM card is inserted into the SIM card slot, the system starts the operation flow of the detection and authentication of the solid SIM card, and simultaneously detects that the intelligent mobile terminal has double SIM card slots but the card number information of the solid SIM card in the card slot is different from the card number information of the virtual SIM card being started, and the intelligent mobile terminal starts the double standby function of the solid SIM card and the virtual SIM card.
The system also detects whether the intelligent mobile terminal stores the card number information of the entity SIM card after starting the detection authentication operation flow of the entity SIM card, and if the system does not detect the card number information of the SIM card, the system reminds a user that the system automatically stores the card number information of the SIM card.
Step S5, while the smart mobile terminal starts the dual-card dual-standby function, if the physical SIM card is inserted into the first card slot, the physical SIM card is set as card 1, and the virtual SIM card being activated is set as card 2, otherwise, if the physical SIM card is inserted into the second card slot, the physical SIM card is set as card 2, and the virtual SIM card being activated is set as card 1.
The SIM card number information in the previous steps includes an ICCID integrated circuit number, an MSISDN mobile station ISDN number, an IMSI international mobile subscriber identity, a TMSI temporary mobile subscriber identity, a PIN code, a PIN2 code, a PUK2 code, an MSRN mobile subscriber roaming number, a LAI location area identity, a CGI global cell identity, keys Ki and Kc, and an international IMEI mobile station equipment identity. Wherein,
1. integrated circuit number (ICCID)
The ICCID number is a SIM card number (i.e. a card number identifying an integrated circuit card) and is different from the MSISDN (i.e. the so-called mobile phone number, such as 13910020840).
The ICCID number is 20 digits in total, is printed by adopting a bar code and a number, is black in color, and is printed on the reverse side of the SIM card, namely the side without the chip. The big card and the small card are printed with 20 digits, the big card prints a bar code and a number on the upper left, the bar code is on the upper part, and the number is on the lower part. The small card only prints the number on the reverse side of the chip, and the number is divided into four rows, and each row has five digits.
2. Mobile station ISDN number (MSISDN)
The MSISDN number is the number that the calling subscriber must dial to call a subscriber in a digital public land cellular mobile telecommunications network, i.e. the "SIM number" or "mobile phone number" we speak most often. The structure of the number is:
CC NDC SN
CC is country code. China is 86.
NDC is the home destination code, i.e. the network access number, the china mobile GSM network is 135, 136, 137, 138, 139, and the china unicom GSM network is 130, 131, 132.
And SN is the customer number and adopts an equal-length 8-bit numbering plan.
The china mobile SN number structure is H1H2H3H4ABCD, where HlH2H3H4 is the HLR number of each mobile services home network and ABCD is the mobile customer number. The structure of China Unicom SN number is H1H2H3ABCDE, HlH2H3 is HLR number of mobile service local network, ABCDE is mobile customer code.
3. International Mobile Subscriber Identity (IMSI)
In order to correctly identify a mobile subscriber on the radio path and the entire GSM mobile communication network, the mobile subscriber must be assigned a specific identification code. This identity, called the International Mobile Subscriber Identity (IMSI), is used in all signaling of the GSM mobile communication network and is stored in the Subscriber Identity Module (SIM), HLR, VLR.
The IMSI number structure is:
MCC MNC MSIN
MCC is a mobile country number, consisting of 3 digits that uniquely identifies the country to which the mobile client belongs. The number of the Chinese is 460.
The MNC is a mobile network number, which is composed of 2 digits and is used to identify the mobile network to which the mobile client belongs. The China Mobile GSM PLMN network is 00, and the China Unicom GSMPLMN network is 0 l.
The MSIN is a mobile subscriber identity and is formed by equal-length 11-bit numbers. Uniquely identifies a mobile client in a domestic GSM mobile communications network.
4. Temporary Mobile Subscriber Identity (TMSI)
In order to keep the IMSI secret, the MSC/VLR can allocate a unique TMSI number to the visiting mobile client, namely a 4-byte BCD code which is allocated by the MSC, and the code is only used in the service area of the MSC.
PIN code
PIN code (Personal Identity Number): the personal identification number, also called the PIN1 code, is 4 bits long, and is set by the user himself (with an initial value of 1234 or 0000), and belongs to the password of the SIM card, which is used to protect the security of the SIM card and prevent the SIM card from being used without authorization. The initial state is inactive. After the function is started, every time the user is restarted, the GSM system needs to automatically authenticate with the mobile phone, judge the legality of the SIM card and provide service for the user only after the system approves.
The user forgets the PIN code carelessly after starting the PIN code protection function, the SIM is automatically locked after the PIN code is input three times in error, the mobile phone cannot access the network, and the input of the PUK code is prompted. At this time, the relevant voucher and the mobile phone are required to be carried to a business hall of a local operator for unlocking, and a service call can be dialed for obtaining.
PIN2 code
PIN2 code: the PIN2 code is also the password of the SIM card, and it is related to network charging and modification of the internal data of the SIM card. The "billing" function on the handset requires PIN2 code support. The GSM protocol supports the mobile phone to inquire the expenses of the call at any time, at present, the domestic operator opens the service in partial areas, and the user can obtain the PIN2 code of the user.
PUK code
PUK code (PIN UnblockingKey): the PUK code is a universal lock for decoding the PIN code, each SIM card has a corresponding PUK code with the length of 8 bits, and the PUK code can be managed by a user and can also be controlled by a network operator. At present, operators in China basically open services for inquiring the PUK codes, and users can manage the PUK codes by themselves.
PUK2 code
PUK2 code (PIN2 Unblocking key): the PUK code is a universal lock for decoding PIN2 codes, each SIM card has a corresponding PUK2 code with a length of 8 bits, and the PUK code can be managed by a user or controlled by a network operator. At present, operators in partial domestic areas open services of PUK2 codes, and users can manage PUK2 codes by themselves.
9. Mobile client roaming number (MSRN)
The HLR, to which the called subscriber belongs, knows which MSC/VLR service area the subscriber is currently located in, in order to provide a temporary number for routing to the ingress MSC/VLR (GMSC), the HLR requests the MSC/VLR in the service area where the subscriber is located to assign a Mobile Subscriber Roaming Number (MSRN) to the called subscriber, and sends the number to the HLR, the HLR receives the number and then sends the number to the GMSC, and the GMSC routes the call to the MSC/VLR switching office where the called subscriber is currently visiting according to the number. Once the route is established, the number can be released immediately. This query, call routing function (i.e. requesting an MSRN function) is a procedure for the Mobile Application Part (MAP) in No.7 signalling, which is communicated in the No.7 signalling network between GMSC-HLR-MSC/VLR.
The Mobile Subscriber Roaming Number (MSRN) structure is: CC NDC SN
The chinese mobile GSM mobile communication network technical system stipulates that the MSISDN number with zero bit after 139 is the Mobile Subscriber Roaming Number (MSRN), i.e. 1390MlM2M3 ABCD. MlM2M3 is the MSC number. MlM2 are identical to HlH2 in the MSISDN number.
10. Location area identification code (LAI)
The location area identity is used for location updating of the mobile client,
the number structure is as follows: 3-bit digital 2-bit digital maximum 16bit
MCC MNC LAC
MCC is the mobile client country code, as well as the first three digits in the IMSI. The MNC is the mobile network number, and is the same as the MNC in the IMSI.
LAC is a location area number, encoded in a 2-byte BCD, denoted X1X2X3X 4. 65536 different location areas may be defined in a GSM PLMN network.
11. Global cell identity (CGI)
The CGI is used to identify a cell in a location area by adding a Cell Identity (CI) to the Location Area Identity (LAI).
12. Secret keys Ki, Kc
The most sensitive data in the SIM card are the secret algorithms A3, A8 and the keys Ki, Kc. The algorithms A3 and A8 are written while producing the SIM card, and ordinary people cannot read the algorithms A3 and A8; kc is derived from Ki during encryption; ki is an advanced algorithm DES (Ki ═ DES (IMSI, Kki) provided by an operation department according to the IMSI of a customer and a mother key (Kki) used during card writing, is generated by a card writing machine and written into a SIM card, and simultaneously, a pair of data of the IMSI and the Ki is sent to an AUC authentication center of a GSM network unit.
It is very important to ensure that Ki is kept secret during transmission. Ki is generated during card writing, encrypted during transmission and decrypted after entering HLR/AUC, so that operators who write the card and the HLR/AUC cannot know the real data of Ki.
It is generally popular to encrypt Ki using a high-level equation DES, which requires a key Kdes, which is used for both encryption and decryption. The DES equation is provided for HLR/AUC equipment suppliers by the operation department, the operation department establishes a strict confidentiality system, and the Ki transmission safety can be ensured by managing the key Kdes.
13. International Mobile station equipment identity (IMEI)
Besides the above several numbers stored in the SIM card, there is also a more important number in the handset. It is stored in the handset module. Which is called the IMEI number, a code for uniquely identifying a mobile station device, is a 15 digit decimal number,
the code is calculated by a chip manufacturer, such as TI, Qualcomm and the like, and is a cell phone serial number which is commonly called. The structure is as follows:
6-digit number 2-digit number 6-digit number l-digit number TAC FAC SNR SP
TAC is a model approval code, and is distributed by the european model authentication center. It represents the model of the handset. The TAC codes of the mobile phones of the same model are always the same no matter what brand.
FAC is a factory assembly code, coded by the manufacturer, which means the factory in which the handset is finally assembled. You can preliminarily judge the final assembly place of the mobile phone by comparing FAC numbers of the mobile phones of the same brand, and if FAC codes of the mobile phones of the same brand are inconsistent, the vigilance is improved at this time.
SNR is an ordinal number and is assigned by the manufacturer. Identifying a device in each TAC and FAC. The SNR of the same brand and the same model cannot be the same, and if the serial numbers of two machines are found to be the same, one of them is definitely a fake.
SP is a check bit calculated from the previous 14 bits by some algorithm.
The method for obtaining the IMEI number from the mobile phone is to dial "# 06 #", the IMEI number of the mobile phone is displayed to be 17 bits, except the 15 digits, the last two digits are svn (software Version number), namely the software Version number.
Example two
An apparatus for virtual SIM card implementation, applied to a smart mobile terminal having a single SIM card slot or a dual SIM card slot, the apparatus comprising:
1. and the device is used for systematically detecting whether the solid SIM card is inserted into the smart mobile terminal card slot.
2. The virtual SIM card function starting device detects no entity SIM card or detects that the SIM card has problems and can not be normally used, simultaneously, a user tries to connect to a mobile network, the system reminds the user whether to start the virtual SIM card function, if the user selects to start, the system starts a virtual SIM card task to realize normal connection to the mobile network; if the user chooses not to start, the next time the user attempts to connect to the mobile network, the user is reminded again whether to start the virtual SIM card function.
3. The device starts the operation flow of the detection and authentication of the entity SIM card when the system detects that the entity SIM card is inserted into the SIM card slot, and simultaneously closes the function of the virtual SIM card which is being started when detecting that the intelligent mobile terminal only has a single SIM card slot or has double SIM card slots but the card number information of the entity SIM card in the card slot is the same as the card number information of the virtual SIM card which is being started.
The system also detects whether the intelligent mobile terminal stores the card number information of the entity SIM card after starting the detection authentication operation flow of the entity SIM card, and if the system does not detect the card number information of the SIM card, the system reminds a user that the system automatically stores the card number information of the SIM card.
4. The device detects that the entity SIM card is inserted into an SIM card slot in a system, starts a detection authentication operation process of the entity SIM card, and simultaneously detects that the intelligent mobile terminal has double SIM card slots but the card number information of the entity SIM card in the card slot is different from the card number information of the virtual SIM card which is being started, and the intelligent mobile terminal starts the double-card double-standby function of the entity SIM card and the virtual SIM card.
The system also detects whether the intelligent mobile terminal stores the card number information of the entity SIM card after starting the detection authentication operation flow of the entity SIM card, and if the system does not detect the card number information of the SIM card, the system reminds a user that the system automatically stores the card number information of the SIM card.
5. The device sets the entity SIM card as card 1 and the virtual SIM card being started as card 2 when the entity SIM card is inserted into the first card slot while the intelligent mobile terminal starts the dual-card dual-standby function, otherwise sets the entity SIM card as card 2 and the virtual SIM card being started as card 1 when the entity SIM card is inserted into the second card slot.
The SIM card number information in the previous devices includes an ICCID integrated circuit number, an MSISDN mobile station ISDN number, an IMSI international mobile subscriber identity, a TMSI temporary mobile subscriber identity, a PIN code, a PIN2 code, a PUK2 code, an MSRN mobile subscriber roaming number, a LAI location area identity, a CGI global cell identity, keys Ki and Kc, and an international IMEI mobile station equipment identity.
It should be noted that, in the above device embodiment, each included module and unit are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional modules and units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
The above embodiments are preferred embodiments of the present invention, but the present invention is not limited to the above embodiments, and any other changes, modifications, substitutions, combinations, and simplifications which do not depart from the spirit and principle of the present invention should be construed as equivalents thereof, and all such changes, modifications, substitutions, combinations, and simplifications are intended to be included in the scope of the present invention.

Claims (6)

1. A method for realizing virtual SIM card is applied to an intelligent mobile terminal with a single SIM card slot or double SIM card slots, and is characterized by comprising the following steps:
when a user changes a new SIM card or the intelligent mobile terminal, the system automatically prompts the user to store the card number information of the SIM card and stores the card number information into a nonvolatile memory of the intelligent mobile terminal;
s1, the system detects whether the smart mobile terminal card slot has an entity SIM card inserted;
s2, if the system does not detect the solid SIM card or detects that the SIM card has problems and can not be used normally, and the user tries to connect to the mobile network, the system reminds the user whether to start the virtual SIM card function, if the user chooses to start, the system starts the virtual SIM card task to realize normal connection to the mobile network, and if the user chooses not to start, the system reminds the user whether to start the virtual SIM card function again when trying to connect to the mobile network next time;
s3, if the system detects that the entity SIM card is inserted into the SIM card slot, starting the operation flow of the detection and authentication of the entity SIM card, and simultaneously detecting that the intelligent mobile terminal only has a single SIM card slot or has double SIM card slots but the number information of the entity SIM card in the card slot is the same as the number information of the virtual SIM card being started, and closing the function of the virtual SIM card being started;
s4, if the system detects that the entity SIM card is inserted into the SIM card slot, starting the operation flow of the detection and authentication of the entity SIM card, and simultaneously detecting that the intelligent mobile terminal has double SIM card slots but the card number information of the entity SIM card in the card slot is different from the card number information of the virtual SIM card being started, and starting the double standby functions of the entity SIM card and the virtual SIM card by the intelligent mobile terminal;
after the system starts the operation flow of detecting and authenticating the entity SIM card in step S3 or step S4, the system further detects whether the smart mobile terminal stores the card number information of the entity SIM card, and if the system does not detect the card number information of the entity SIM card, the system prompts the user system to automatically store the card number information of the SIM card.
2. The method of claim 1, further comprising the steps of:
when the intelligent mobile terminal starts the dual-card dual-standby function, if the entity SIM card is inserted into the first card slot, the entity SIM card is set as the card 1, and the virtual SIM card being started is set as the card 2, otherwise, if the entity SIM card is inserted into the second card slot, the entity SIM card is set as the card 2, and the virtual SIM card being started is set as the card 1.
3. The method of any of claims 1 to 2, wherein the method comprises: the SIM card number information comprises an ICCID integrated circuit number, an MSISDN mobile station ISDN number, an IMSI international mobile subscriber identity, a TMSI temporary mobile subscriber identity, a PIN code, a PIN2 code, a PUK2 code, an MSRN mobile subscriber roaming number, an LAI location area identity, a CGI global cell identity, secret keys Ki and Kc and an IMEI international mobile station equipment identity.
4. A virtual SIM card realizing device is applied to an intelligent mobile terminal with a single SIM card slot or double SIM card slots, and is characterized by comprising:
when the user changes the new SIM card or the intelligent mobile terminal, the system automatically prompts the user to store the card number information of the SIM card and stores the card number information into a nonvolatile memory of the intelligent mobile terminal;
the device is used for systematically detecting whether the solid SIM card is inserted into the smart mobile terminal card slot;
the virtual SIM card function starting device detects no entity SIM card or detects that the SIM card has problems and can not be normally used, simultaneously, a user tries to connect to a mobile network, the system reminds the user whether to start the virtual SIM card function, if the user selects to start, the system starts a virtual SIM card task to realize normal connection to the mobile network; if the user selects not to start, reminding again whether to start the virtual SIM card function when the user tries to connect to the mobile network next time;
the device comprises a virtual SIM card function closing device, a virtual SIM card function closing device and a control device, wherein the device starts a detection authentication operation process of a solid SIM card when a system detects that the solid SIM card is inserted into an SIM card slot, and closes the virtual SIM card function which is being started when detecting that an intelligent mobile terminal only has a single SIM card slot or has double SIM card slots but the card number information of the solid SIM card in the card slot is the same as the card number information of the virtual SIM card which is being started;
the device detects that the entity SIM card is inserted into an SIM card slot in a system, starts a detection authentication operation process of the entity SIM card, and simultaneously detects that the intelligent mobile terminal has double SIM card slots but the number information of the entity SIM card in the card slot is different from the number information of the virtual SIM card being started, and the intelligent mobile terminal starts the double-card double-standby function of the entity SIM card and the virtual SIM card;
after the system starts the detection and authentication operation flow of the entity SIM card in the virtual SIM card function closing device or the entity SIM card and virtual SIM card dual-standby function opening device, the system also detects whether the intelligent mobile terminal stores the card number information of the entity SIM card, and if the system does not detect the card number information of the SIM card, the system reminds the user system to automatically store the card number information of the SIM card.
5. The apparatus of claim 4, further comprising:
the device sets the entity SIM card as card 1 and the virtual SIM card being started as card 2 when the entity SIM card is inserted into the first card slot while the intelligent mobile terminal starts the dual-card dual-standby function, otherwise sets the entity SIM card as card 2 and the virtual SIM card being started as card 1 when the entity SIM card is inserted into the second card slot.
6. The apparatus implemented by the virtual SIM card according to any one of claims 4 to 5, wherein:
the SIM card number information comprises an ICCID integrated circuit number, an MSISDN mobile station ISDN number, an IMSI international mobile subscriber identity, a TMSI temporary mobile subscriber identity, a PIN code, a PIN2 code, a PUK2 code, an MSRN mobile subscriber roaming number, an LAI location area identity, a CGI global cell identity, secret keys Ki and Kc and an IMEI international mobile station equipment identity.
CN201410437238.0A 2014-08-29 2014-08-29 The method and apparatus that a kind of virtual SIM card is realized Expired - Fee Related CN104185171B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410437238.0A CN104185171B (en) 2014-08-29 2014-08-29 The method and apparatus that a kind of virtual SIM card is realized

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410437238.0A CN104185171B (en) 2014-08-29 2014-08-29 The method and apparatus that a kind of virtual SIM card is realized

Publications (2)

Publication Number Publication Date
CN104185171A CN104185171A (en) 2014-12-03
CN104185171B true CN104185171B (en) 2017-09-29

Family

ID=51965843

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410437238.0A Expired - Fee Related CN104185171B (en) 2014-08-29 2014-08-29 The method and apparatus that a kind of virtual SIM card is realized

Country Status (1)

Country Link
CN (1) CN104185171B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104636671B (en) * 2015-02-15 2018-08-07 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104618890B (en) * 2015-02-15 2018-03-27 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN106162600A (en) * 2015-04-01 2016-11-23 酷派软件技术(深圳)有限公司 The using method of smart card and intelligent terminal
US9781094B2 (en) 2015-04-28 2017-10-03 Qualcomm Incorporated Systems and methods for performing remote authentication of a virtual subscriber identity module (SIM)
CN104883415A (en) * 2015-05-12 2015-09-02 努比亚技术有限公司 Communication method and device
CN104796957B (en) * 2015-05-13 2018-08-21 展讯通信(上海)有限公司 Multi-card multi-standby mobile terminal and its Subscriber Identity Module switching method and apparatus
CN106255226B (en) 2015-06-10 2021-07-30 中兴通讯股份有限公司 Network connection processing method and device
CN105263140A (en) * 2015-07-10 2016-01-20 苏州蜗牛数字科技股份有限公司 System and method for realizing remote authentication of subscriber identity module (SIM) card
CN105163405A (en) * 2015-07-31 2015-12-16 努比亚技术有限公司 Communication device and communication method
CN105554728A (en) * 2015-12-10 2016-05-04 深圳市迪讯飞科技有限公司 Cloud SIM card pool system
CN105357660A (en) * 2015-12-10 2016-02-24 成都工百利自动化设备有限公司 Implementation method for virtual SIM/USIM card
CN105516508A (en) * 2015-12-30 2016-04-20 小米科技有限责任公司 Method and device for activating virtual SIM card
CN111431847A (en) * 2016-02-01 2020-07-17 上海途鸽数据科技有限公司 Authentication method and device for virtual subscriber identity module
CN106210023B (en) * 2016-07-05 2020-03-31 努比亚技术有限公司 Virtual SIM card synchronous management method and terminal
CN106162606A (en) * 2016-07-26 2016-11-23 努比亚技术有限公司 A kind of method for switching network and mobile terminal
CN106131948A (en) * 2016-07-27 2016-11-16 宇龙计算机通信科技(深圳)有限公司 The method of access network, device, equipment of the core network and equipment identity register
CN106792640A (en) * 2016-12-20 2017-05-31 北京小米移动软件有限公司 The communication means of virtual SIM card, mobile terminal and server
CN108513279A (en) * 2017-06-23 2018-09-07 深圳市联智能物联网有限公司 The implementation method of virtual SIM card
CN109195189B (en) * 2018-10-08 2021-07-06 深圳市广和通无线股份有限公司 Dual-card switching method and device
CN110475237A (en) * 2019-07-19 2019-11-19 澳克多普有限公司 A kind of SIM card dynamic selection method and system
CN114915311B (en) * 2021-02-09 2023-05-12 Oppo广东移动通信有限公司 Electronic device and customer premises equipment
CN114915313B (en) * 2021-02-09 2023-07-14 Oppo广东移动通信有限公司 Electronic device and customer premises equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1901450A (en) * 2006-07-13 2007-01-24 陈义 Mobile communication device with virtual user identifying card and its realizing method
CN101790149A (en) * 2010-02-05 2010-07-28 华为终端有限公司 Registration method of mobile terminal equipment, calibration item verifying method, system and device
CN102932531A (en) * 2012-09-27 2013-02-13 华为技术有限公司 Method for keeping subscriber identity module cards on standby and terminal equipment
CN103428696A (en) * 2012-05-22 2013-12-04 中兴通讯股份有限公司 Virtual SIM card achieving method and system and relevant device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1901450A (en) * 2006-07-13 2007-01-24 陈义 Mobile communication device with virtual user identifying card and its realizing method
CN101790149A (en) * 2010-02-05 2010-07-28 华为终端有限公司 Registration method of mobile terminal equipment, calibration item verifying method, system and device
CN103428696A (en) * 2012-05-22 2013-12-04 中兴通讯股份有限公司 Virtual SIM card achieving method and system and relevant device
CN102932531A (en) * 2012-09-27 2013-02-13 华为技术有限公司 Method for keeping subscriber identity module cards on standby and terminal equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"一卡双号,向市场饱和说不";姚春鸽;《人民邮电》;20120309;全文 *

Also Published As

Publication number Publication date
CN104185171A (en) 2014-12-03

Similar Documents

Publication Publication Date Title
CN104185171B (en) The method and apparatus that a kind of virtual SIM card is realized
CA2725215C (en) Personalizing a sim by means of a unique personalized master sim
US6427073B1 (en) Preventing misuse of a copied subscriber identity in a mobile communication system
US9788189B2 (en) Method and device for authenticating a mobile station on an alternative communications network
US10242210B2 (en) Method for managing content on a secure element connected to an equipment
AU2002230306B2 (en) Method for enabling PKI functions in a smart card
EP2533485B1 (en) Methods and devices for OTA management of subscriber identify modules
EP1562394B1 (en) Apparatus and method for setting use restriction of mobile communication terminal
CA2239550C (en) Methods and apparatus for locking communications devices
US9026082B2 (en) Terminal identifiers in a communications network
US8407769B2 (en) Methods and apparatus for wireless device registration
EP2817987B1 (en) Mobile communication using reconfigurable user identification module
KR101059794B1 (en) Method for restricting illegal use of terminal and system for same
KR19990077193A (en) Authentication Key Management in Mobile Communication Systems
KR100969594B1 (en) Doorlock control system and method thereof
WO2011032605A1 (en) Method and device for processing data in a wireless network
EP1867188B1 (en) Subscriber identity module and mobile communications device using such module
US8583081B2 (en) Method for calculating a first identifier of a secure element of a mobile terminal according to a second identifier of said secure element
EP3592013A1 (en) Physical address-based communication method, mobile terminal and communication database
KR100770313B1 (en) A method of processing authentication for GSM station
KR100469894B1 (en) Method for Furnishing User Information of Illegal Mobile Equipment
Faraz Analysis of international numbers of a cell phone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP01 Change in the name or title of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170929

CF01 Termination of patent right due to non-payment of annual fee