CN111556482A - Virtual SIM card switching method and device, storage medium and terminal - Google Patents

Virtual SIM card switching method and device, storage medium and terminal Download PDF

Info

Publication number
CN111556482A
CN111556482A CN202010234676.2A CN202010234676A CN111556482A CN 111556482 A CN111556482 A CN 111556482A CN 202010234676 A CN202010234676 A CN 202010234676A CN 111556482 A CN111556482 A CN 111556482A
Authority
CN
China
Prior art keywords
sim card
virtual sim
mobile phone
phone number
pin
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.)
Granted
Application number
CN202010234676.2A
Other languages
Chinese (zh)
Other versions
CN111556482B (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN202010234676.2A priority Critical patent/CN111556482B/en
Publication of CN111556482A publication Critical patent/CN111556482A/en
Application granted granted Critical
Publication of CN111556482B publication Critical patent/CN111556482B/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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the application discloses a virtual SIM card switching method, a virtual SIM card switching device, a virtual SIM card storage medium and a virtual SIM card terminal, and belongs to the technical field of computers. The method is applied to a terminal with an internal SIM card chip, the terminal displays a virtual SIM card switching interface, mobile phone number information and PIN code information are obtained through the virtual SIM card switching interface, a new virtual SIM card is generated based on the mobile phone number information and the PIN code information, the current virtual SIM card is switched to the new virtual SIM card, the terminal can conveniently switch the virtual SIM card through the method, and the hardware loss of an entity SIM card and the terminal is effectively reduced.

Description

Virtual SIM card switching method and device, storage medium and terminal
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for switching a virtual SIM card, a storage medium, and a terminal.
Background
At present, with the rapid development of mobile communication and the continuous popularization of mobile terminals, a user can perform remote communication through a mobile terminal inserted with a physical SIM (Subscriber Identity Module) card, one SIM card corresponds to one communication number, and an operator can authenticate the user Identity, register and encrypt the communication record of the user and the like through the SIM card. In the related art, a user may have a plurality of physical SIM cards of different operators at the same time, and most mobile terminals can insert two different physical SIM cards at most, and if the user needs to replace the currently inserted physical SIM card with another physical SIM card, the user must manually replace the physical SIM card in the mobile terminal, for the user who has a plurality of physical SIM card usage demands, checking and pulling the physical SIM card frequently causes a certain loss to the physical SIM card and the terminal hardware, and also causes inconvenience for the user to replace the physical SIM card.
Disclosure of Invention
The embodiment of the application provides a virtual SIM card switching method, a virtual SIM card switching device, a virtual SIM card storage medium and a virtual SIM card terminal, and can solve the problems of hardware loss of the virtual SIM card storage medium and inconvenience in replacement of the virtual SIM card storage medium. The technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a method for switching a virtual SIM card, where the method is applied to a terminal with a built-in SIM card chip, and the method includes:
displaying a virtual SIM card switching interface;
acquiring mobile phone number information and PIN information through the virtual SIM card switching interface, and generating a new virtual SIM card based on the mobile phone number information and the PIN information;
and switching the current virtual SIM card to the new virtual SIM card.
In a second aspect, an embodiment of the present application provides a virtual SIM card switching apparatus, where the apparatus is applied to a terminal with a SIM card chip built in, the apparatus includes:
the display module is used for displaying a virtual SIM card switching interface;
the processing module is used for acquiring mobile phone number information and PIN (personal identification number) information through the virtual SIM card switching interface and generating a new virtual SIM card based on the mobile phone number information and the PIN information;
and the switching module is used for switching the current virtual SIM card to the new virtual SIM card.
In a third aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a fourth aspect, an embodiment of the present application provides a terminal, including: the system comprises a processor, a memory and a display screen; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
when the scheme of the embodiment of the application is executed, the terminal displays the virtual SIM card switching interface, mobile phone number information and PIN code information are obtained through the virtual SIM card switching interface, a new virtual SIM card is generated based on the mobile phone number information and the PIN code information, the current virtual SIM card is switched to the new virtual SIM card, the terminal can conveniently switch the virtual SIM card through the mode, and hardware loss of an entity SIM card and the terminal is effectively reduced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a terminal provided in an embodiment of the present application;
FIG. 2 is a schematic structural diagram of an operating system and a user space provided in an embodiment of the present application;
FIG. 3 is an architectural diagram of the android operating system of FIG. 1;
FIG. 4 is an architecture diagram of the IOS operating system of FIG. 1;
fig. 5 is a schematic flowchart of a method for switching a virtual SIM card according to an embodiment of the present application;
6-9 are schematic diagrams of terminal display interfaces provided by embodiments of the present application;
fig. 10 is another schematic flowchart of a method for switching a virtual SIM card according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a display interface of a terminal provided in an embodiment of the present application;
fig. 12 is another schematic flowchart of a method for switching a virtual SIM card according to an embodiment of the present application;
FIG. 13 is a schematic diagram of a display interface of a terminal provided in an embodiment of the present application;
fig. 14 is a schematic diagram of a switching apparatus of a virtual SIM card according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Referring to fig. 1, a block diagram of a terminal according to an exemplary embodiment of the present application is shown. A terminal in the present application may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be connected by a bus 150.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall terminal using various interfaces and lines, performs various functions of the terminal and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120, and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-programmable gate array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a read-only Memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable medium. The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like, and the operating system may be an Android (Android) system (including a system based on Android system depth development), an IOS system developed by apple inc (including a system based on IOS system depth development), or other systems. The storage data area may also store data created by the terminal in use, such as a phonebook, audio-video data, chat log data, and the like.
Referring to fig. 2, the memory 120 may be divided into an operating system space, in which an operating system runs, and a user space, in which native and third-party applications run. In order to ensure that different third-party application programs can achieve a better operation effect, the operating system allocates corresponding system resources for the different third-party application programs. However, the requirements of different application scenarios in the same third-party application program on system resources are different, for example, in a local resource loading scenario, the third-party application program has a higher requirement on the disk reading speed; in the animation rendering scene, the third-party application program has a high requirement on the performance of the GPU. The operating system and the third-party application program are independent from each other, and the operating system cannot sense the current application scene of the third-party application program in time, so that the operating system cannot perform targeted system resource adaptation according to the specific application scene of the third-party application program.
In order to enable the operating system to distinguish a specific application scenario of the third-party application program, data communication between the third-party application program and the operating system needs to be opened, so that the operating system can acquire current scenario information of the third-party application program at any time, and further perform targeted system resource adaptation based on the current scenario.
Taking an operating system as an Android system as an example, programs and data stored in the memory 120 are as shown in fig. 3, and a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360, and an application layer 380 may be stored in the memory 120, where the Linux kernel layer 320, the system runtime library layer 340, and the application framework layer 360 belong to an operating system space, and the application layer 380 belongs to a user space. The Linux kernel layer 320 provides underlying drivers for various hardware of the terminal, such as a display driver, an audio driver, a camera driver, a bluetooth driver, a Wi-Fi driver, a power management, and the like. The system runtime library layer 340 provides a main feature support for the Android system through some C/C + + libraries. For example, the SQLite library provides support for a database, the OpenGL/ES library provides support for 3D drawing, the Webkit library provides support for a browser kernel, and the like. Also provided in the system runtime library layer 340 is an Android runtime library (Android runtime), which mainly provides some core libraries that can allow developers to write Android applications using the Java language. The application framework layer 360 provides various APIs that may be used in building an application, and developers may build their own applications by using these APIs, such as activity management, window management, view management, notification management, content provider, package management, session management, resource management, and location management. At least one application program runs in the application layer 380, and the application programs may be native application programs carried by the operating system, such as a contact program, a short message program, a clock program, a camera application, and the like; or a third-party application developed by a third-party developer, such as a game-like application, an instant messaging program, a photo beautification program, a shopping program, and the like.
Taking an operating system as an IOS system as an example, programs and data stored in the memory 120 are shown in fig. 4, and the IOS system includes: a Core operating system Layer 420(Core OS Layer), a Core Services Layer 440(Core Services Layer), a media Layer 460(Medialayer), and a touchable Layer 480(CocoaTouch Layer). The kernel operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks that provide functionality closer to hardware for use by program frameworks located in the core services layer 440. The core services layer 440 provides system services and/or program frameworks, such as a Foundation framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and so forth, as required by the application. The media layer 460 provides audiovisual related interfaces for applications, such as graphics image related interfaces, audio technology related interfaces, video technology related interfaces, audio video transmission technology wireless playback (AirPlay) interfaces, and the like. Touchable layer 480 provides various common interface-related frameworks for application development, and touchable layer 480 is responsible for user touch interaction operations on the terminal. Such as a local notification service, a remote push service, an advertising framework, a game tool framework, a messaging User Interface (UI) framework, a user interface UIKit framework, a map framework, and so forth.
In the framework shown in FIG. 4, the framework associated with most applications includes, but is not limited to: a base framework in the core services layer 440 and a UIKit framework in the touchable layer 480. The base framework provides many basic object classes and data types, provides the most basic system services for all applications, and is UI independent. While the class provided by the UIKit framework is a basic library of UI classes for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides an infrastructure for applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, and the like.
The Android system can be referred to as a mode and a principle for realizing data communication between the third-party application program and the operating system in the IOS system, and details are not repeated herein.
The input device 130 is used for receiving input instructions or data, and the input device 130 includes, but is not limited to, a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used for outputting instructions or data, and the output device 140 includes, but is not limited to, a display device, a speaker, and the like. In one example, the input device 130 and the output device 140 may be combined, and the input device 130 and the output device 140 are touch display screens for receiving touch operations of a user on or near the touch display screens by using any suitable object such as a finger, a touch pen, and the like, and displaying user interfaces of various applications. The touch display screen is generally provided at a front panel of the terminal. The touch display screen may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen can also be designed to be a combination of a full-face screen and a curved-face screen, and a combination of a special-shaped screen and a curved-face screen, which is not limited in the embodiment of the present application.
In addition, those skilled in the art will appreciate that the configurations of the terminals illustrated in the above-described figures do not constitute limitations on the terminals, as the terminals may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components may be used. For example, the terminal further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
In the embodiment of the present application, the main body of execution of each step may be the terminal described above. Optionally, the execution subject of each step is an operating system of the terminal. The operating system may be an android system, an IOS system, or another operating system, which is not limited in this embodiment of the present application.
In the terminal shown in fig. 1, the processor 110 may be configured to call an application program stored in the memory 120, and specifically execute the method for switching the virtual SIM card according to the embodiment of the present application.
In the following method embodiments, for convenience of description, only the main execution body of each step is described as a terminal.
The method for switching the virtual SIM card according to the embodiment of the present application will be described in detail below with reference to fig. 5 to 13.
Please refer to fig. 5, which is a flowchart illustrating a method for switching a virtual SIM card according to an embodiment of the present application. In this embodiment, for example, the method for switching the virtual SIM card is applied to a terminal with a built-in SIM card chip, and the method for switching the virtual SIM card may include the following steps:
s501, displaying a virtual SIM card switching interface.
The virtual SIM card switching interface comprises a current virtual SIM card display area, a virtual SIM card information input area and a virtual SIM card use recording area, a user can check the current virtual SIM card information and the historical used virtual SIM card information of the terminal on the virtual SIM card switching interface of the terminal, and meanwhile, the user can also input a mobile phone number and a Personal Identification Number (PIN) of the SIM card in the virtual SIM card information input area on the virtual SIM card switching interface or scan the SIM card information through a scanning area to acquire the mobile phone number and the PIN of the SIM card.
Generally, a SIM card chip is built in a terminal, information such as a media access control address (MAC address) and an access control identifier (ICCID) of a virtual SIM card can be obtained through the SIM card chip, an application program for switching the virtual SIM card is correspondingly installed on the terminal, and the terminal can obtain mobile phone number information and PIN number information of the SIM card through the application program and generate the virtual SIM card based on the mobile phone number information and the PIN number information, thereby implementing the switching of the SIM card. The MAC address is an address for identifying the location of the network device, and is used to uniquely identify a network card in the network, and if one or more network cards are provided for a device, each network card needs to have a unique MAC address. An ICCID code (integrated circuit card identification code), namely a SIM card number, is a unique identification number of an IC card, and is composed of 20 digits in total, and the coding format is: XXXXXXX 0MFSS YYGXXXXXX. The PIN code is a personal identification password of the SIM card, consists of 4-8 digits, is a safety measure for protecting the SIM card, and can start card locking protection when the number of errors of inputting the PIN code exceeds the number limit, so that the SIM card can be prevented from being stolen by other people.
S502, mobile phone number information and PIN information are obtained through the virtual SIM card switching interface, and a new virtual SIM card is generated based on the mobile phone number information and the PIN information.
The mobile phone number information is a number corresponding to the SIM card and usable for the User to call, and is composed of 11 digits, and the User of the mobile terminal will transact a SIM card or UIM card (User identity module) when accessing the network no matter in the GSM system or the CDMA system. The PIN code is a personal identification password of the SIM card, consists of 4-8 digits, is a safety measure for protecting the SIM card, and can start card locking protection when the number of errors of inputting the PIN code exceeds the number limit, so that the SIM card can be prevented from being stolen by other people.
Generally, a virtual SIM card can be generated based on the mobile phone number information and the PIN number information of the SIM card, and SIM card switching can be realized through a virtual SIM card switching application program. There are generally various ways of acquiring the mobile phone number information and the PIN number information.
In one possible embodiment, the manner of acquiring the mobile phone number information and the PIN number information may include:
after a user opens a virtual SIM card switching application program, a terminal displays a virtual SIM card switching interface, receives a scanning instruction aiming at the virtual SIM card switching interface after the user clicks a virtual key used for scanning SIM card information on the virtual SIM card switching interface, starts a camera of the terminal according to the scanning instruction, and scans an entity SIM card or an SIM card picture prepared by the user by using the camera to acquire corresponding mobile phone number information and PIN code information.
In another possible implementation manner, the manner of acquiring the mobile phone number information and the PIN number information may include:
after a user opens a virtual SIM card switching application program, a terminal displays a virtual SIM card switching interface, a historical used virtual SIM card information recording area is displayed on the virtual SIM card switching interface, the user can directly select a virtual SIM card meeting requirements in the virtual SIM card use recording area, and when the terminal receives a selection instruction aiming at a virtual SIM card use recording frame on the virtual SIM card switching interface, the mobile phone number information and PIN number information of the virtual SIM card selected by the user can be acquired.
In another possible implementation manner, the manner of acquiring the mobile phone number information and the PIN number information may include:
after a user opens a virtual SIM card switching application program, a terminal displays a virtual SIM card switching interface, a mobile phone number input frame and a PIN number input frame are displayed on the virtual SIM card switching interface, the user can directly input a mobile phone number and a PIN number respectively through the mobile phone number input frame and the PIN number input frame, and when the mobile phone number and the PIN number are matched with each other, the terminal acquires mobile phone number information and PIN number information.
And S503, switching the current virtual SIM card to a new virtual SIM card.
Generally, after acquiring mobile phone number information and PIN code information of a SIM card, a terminal may generate a corresponding virtual SIM card, and at the same time, the terminal displays a prompting area for asking a user whether to switch a current SIM card opinion, and after the user clicks a virtual key agreeing to switch, the terminal will complete switching of the virtual SIM card, and the user may also perform a communication service through the switched virtual SIM card.
According to the method, the terminal displays the virtual SIM card switching interface, acquires the mobile phone number information and the PIN information through the virtual SIM card switching interface, generates a new virtual SIM card based on the mobile phone number information and the PIN information, and switches the current virtual SIM card to the new virtual SIM card.
Please refer to fig. 6, which is another flow chart illustrating a method for switching a virtual SIM card according to an embodiment of the present application. The embodiment is exemplified by applying a virtual SIM card switching method to a terminal with a built-in SIM card chip. The virtual SIM card switching method can comprise the following steps:
s601, displaying a virtual SIM card switching interface.
The virtual SIM card switching interface comprises a current virtual SIM card display area, a virtual SIM card information input area and a virtual SIM card use recording area, a user can check the current virtual SIM card information and the historical used virtual SIM card information of the terminal on the virtual SIM card switching interface of the terminal, and meanwhile, the user can also input a mobile phone number and a Personal Identification Number (PIN) of the SIM card in the virtual SIM card information input area on the virtual SIM card switching interface or scan the SIM card information through a scanning area to acquire the mobile phone number and the PIN of the SIM card.
Generally, a SIM card chip is built in a terminal, information such as a media access control address (MAC address) and an access control identifier (ICCID) of a virtual SIM card can be obtained through the SIM card chip, an application program for switching the virtual SIM card is correspondingly installed on the terminal, and the terminal can obtain mobile phone number information and PIN number information of the SIM card through the application program and generate the virtual SIM card based on the mobile phone number information and the PIN number information, thereby implementing the switching of the SIM card. The MAC address is an address for identifying the location of the network device, and is used to uniquely identify a network card in the network, and if one or more network cards are provided for a device, each network card needs to have a unique MAC address. An ICCID code (integrated circuit card identification code), namely a SIM card number, is a unique identification number of an IC card, and is composed of 20 digits in total, and the coding format is: XXXXXXX 0MFSS YYGXXXXXX. The PIN code is a personal identification password of the SIM card, consists of 4-8 digits, is a safety measure for protecting the SIM card, and can start card locking protection when the number of errors of inputting the PIN code exceeds the number limit, so that the SIM card can be prevented from being stolen by other people.
For example, the following steps are carried out: referring to the terminal display interface of fig. 7, after the user opens the virtual SIM card switching application, the terminal displays a virtual SIM card switching interface 701 through the display unit, where the virtual SIM card switching interface 701 includes: a current virtual SIM card display area 702, a virtual SIM card input area 704, and a virtual SIM card usage recording area 708. After the user clicks the current virtual SIM card display area 702, the display unit will display the virtual SIM card information 703 currently used by the terminal; after the user clicks the virtual SIM card input area 704, the display unit displays a mobile phone number input box 705 and a PIN number input box 706; after the user clicks the virtual SIM card use recording area 708, the display unit displays virtual SIM card information 709 that the terminal has historically used.
And S602, receiving an editing instruction aiming at the virtual SIM card switching interface, and displaying a mobile phone number input box and a PIN (personal identification number) input box.
The mobile phone number information is a number corresponding to the SIM card and usable for the User to call, and is composed of 11 digits, and the User of the mobile terminal will transact a SIM card or UIM card (User identity module) when accessing the network no matter in the GSM system or the CDMA system. The PIN code is a personal identification password of the SIM card, consists of 4-8 digits, is a safety measure for protecting the SIM card, and can start card locking protection when the number of errors of inputting the PIN code exceeds the number limit, so that the SIM card can be prevented from being stolen by other people.
Generally, after a user opens a virtual SIM card switching application program, a terminal displays a virtual SIM card switching interface, an area for inputting virtual SIM card information is displayed on the virtual SIM card switching interface, after the user clicks the area, the virtual SIM card switching interface displays a mobile phone number input frame and a PIN code input frame, the user can directly edit through the mobile phone number input frame and the PIN code input frame and respectively input a mobile phone number and a PIN code, and when the mobile phone number and the PIN code are matched with each other, the terminal acquires the mobile phone number information and the PIN code information.
For example, the following steps are carried out: referring to the terminal display interface of fig. 7, when the user clicks the virtual SIM card input area 704 on the virtual SIM card switching interface 701, the terminal receives an edit instruction for the virtual SIM card switching interface, and displays a mobile phone number input box 705 and a PIN number input box 706 through the display unit based on the edit instruction.
S603, a first editing instruction for the mobile phone number input box is received.
The first editing instruction is an editing instruction generated by the terminal after detecting the input operation executed by the user on the mobile phone number input box, and is used for prompting the terminal user to edit information in the mobile phone number input box.
S604, identifying the first editing digit in the mobile phone number input box.
The first editing digit refers to the digit of the mobile phone number input by the user, and the terminal can recognize the total digit of the numbers and/or characters input by the user in the mobile phone number input box, namely the first editing digit.
And S605, when the first editing digit is determined to be the first preset digit, jumping from the editing interface of the mobile phone number input box to the editing interface of the PIN number input box.
The first preset digit is the digit of the preset mobile phone number, and usually the digit of the mobile phone number is 11 digits.
Generally, after a user inputs a complete mobile phone number in a mobile phone number input box, a terminal identifies the number of digits of the number in the mobile phone number input box, so that the terminal is prevented from being incapable of successfully generating a virtual SIM card due to misoperation or wrong input of the mobile phone number. When the digit of the mobile phone number input by the user is recognized to be the preset digit, the input format of the mobile phone number can be preliminarily judged to be correct, and the terminal can control the editing position to jump to the PIN input box, so that the user can directly edit in an editing interface of the PIN input box.
And S606, identifying a second editing digit in the PIN code input box.
The second editing digit is the digit of the PIN code input by the user, and the terminal can recognize the total digits of the numbers, letters and/or characters input in the PIN code input box by the user, namely the first editing digit.
And S607, analyzing the PIN code in the PIN code input box when the second editing digit is a second preset digit.
The second preset digit refers to the digit of a preset PIN code, and the digit of the PIN code is usually 4 to 8 digits.
Generally, after a user inputs a complete PIN code in a PIN code input box, the terminal identifies the digits of the PIN code in the PIN code input box, and the situation that the terminal cannot successfully generate a virtual SIM card due to misoperation or wrong PIN code input of the user is prevented. When the number of digits of the PIN code input by the user is recognized to be a preset number of digits, the input format of the PIN code can be preliminarily judged to be correct, the PIN code is further analyzed and processed by the terminal, whether the PIN code is matched with a mobile phone number input in a mobile phone number input box or not is judged, and if the PIN code is matched with the mobile phone number input in the mobile phone number input box, the terminal can successfully generate a virtual SIM card; and if the PIN code is not matched with the mobile phone number in the mobile phone number input box, the terminal displays a reminding message through the display unit.
And S608, generating a new virtual SIM card when the PIN code is determined to be matched with the mobile phone number in the mobile phone number input box.
Generally, after a user inputs a mobile phone number and a PIN code which are consistent with a preset mobile phone number and a preset PIN number respectively in a mobile phone number input box and a PIN code input box, the terminal acquires mobile phone number information and PIN code information and generates a new virtual SIM card with a virtual MAC address and an ICCID code based on the mobile phone number information and the PIN code information, so that the terminal can perform communication services based on the new virtual SIM card.
And S609, displaying the reminding information through the display unit when the mobile phone number information and the PIN information are determined to be wrong.
For example, the following steps are carried out: referring to the terminal display interface of fig. 8, when a user inputs a mobile phone number that does not meet the requirement of the number of the preset mobile phone number in the mobile phone number input box, and/or inputs a PIN number that does not meet the requirement of the preset PIN number in the PIN number input box, and/or the mobile phone number is not matched with the PIN number, the terminal displays a reminding message 801 of an input error of the mobile phone number information and/or a reminding message 802 of an input error of the PIN number through the display unit.
S610, switching the current virtual SIM card to a new virtual SIM card.
Generally, after acquiring mobile phone number information and PIN code information of a SIM card, a terminal may generate a corresponding virtual SIM card, and at the same time, the terminal displays a prompting area for asking a user whether to switch a current SIM card opinion, and after the user clicks a virtual key agreeing to switch, the terminal will complete switching of the virtual SIM card, and the user may also perform a communication service through the switched virtual SIM card.
For example, the following steps are carried out: referring to the terminal display interface of fig. 7, after the user inputs the mobile phone number and the PIN code which are matched with each other in the mobile phone number input box 705 and the PIN code input box 706, respectively, and the user clicks the "ok" virtual key 707 on the virtual SIM card input area 704, the terminal generates a new virtual SIM card with a virtual MAC address and an ICCID code, and at the same time, the terminal displays a reminding box 901 which reminds the user of switching the virtual SIM card on the terminal display interface of fig. 9 through the display unit, and if the user agrees to switch the virtual SIM card, the user can complete the switching of the virtual SIM card by clicking the "ok" virtual key 903 on the reminding box 901; if the user does not agree to switch the virtual SIM card, the switching of the virtual SIM card can be rejected by clicking the "cancel" virtual key 902 or the "exit" virtual key 904 on the reminder box 901.
As can be seen from the above, the method for switching virtual SIM cards provided in this embodiment includes displaying a virtual SIM card switching interface on a terminal, receiving an edit instruction for the virtual SIM card switching interface, displaying a mobile phone number input box and a PIN number input box, receiving a first edit instruction for the mobile phone number input box, identifying a first edit digit in the mobile phone number input box, jumping from the edit interface of the mobile phone number input box to the edit interface of the PIN number input box when it is determined that the first edit digit is a first preset digit, identifying a second edit digit in the PIN number input box, analyzing the PIN number in the PIN number input box when it is determined that the second edit digit is a second preset digit, generating a new virtual SIM card when it is determined that the PIN number matches the mobile phone number in the mobile phone number input box, switching the current virtual SIM card to the new virtual SIM card, and when the mobile phone number information and the PIN information are determined to be wrong, displaying reminding information through a display unit. By the method, the user can quickly and conveniently complete the switching of the virtual SIM card through the application program for switching the virtual SIM card on the terminal, and the hardware loss of the SIM card and the terminal caused by the replacement of the entity SIM card is avoided.
Referring to fig. 10, another flow chart of a method for switching a virtual SIM card is provided in the embodiment of the present application. The embodiment is exemplified by applying a virtual SIM card switching method to a terminal with a built-in SIM card chip. The virtual SIM card switching method can comprise the following steps:
and S1001, displaying a virtual SIM card switching interface.
The virtual SIM card switching interface comprises a current virtual SIM card display area, a virtual SIM card information input area and a virtual SIM card use recording area, a user can check the current virtual SIM card information and the historical used virtual SIM card information of the terminal on the virtual SIM card switching interface of the terminal, and meanwhile, the user can also input a mobile phone number and a Personal Identification Number (PIN) of the SIM card in the virtual SIM card information input area on the virtual SIM card switching interface or scan the SIM card information through a scanning area to acquire the mobile phone number and the PIN of the SIM card.
Generally, a SIM card chip is built in a terminal, information such as a media access control address (MAC address) and an access control identifier (ICCID) of a virtual SIM card can be obtained through the SIM card chip, an application program for switching the virtual SIM card is correspondingly installed on the terminal, and the terminal can obtain mobile phone number information and PIN number information of the SIM card through the application program and generate the virtual SIM card based on the mobile phone number information and the PIN number information, thereby implementing the switching of the SIM card. The MAC address is an address for identifying the location of the network device, and is used to uniquely identify a network card in the network, and if one or more network cards are provided for a device, each network card needs to have a unique MAC address. An ICCID code (integrated circuit card identification code), namely a SIM card number, is a unique identification number of an IC card, and is composed of 20 digits in total, and the coding format is: XXXXXXX 0MFSS YYGXXXXXX. The PIN code is a personal identification password of the SIM card, consists of 4-8 digits, is a safety measure for protecting the SIM card, and can start card locking protection when the number of errors of inputting the PIN code exceeds the number limit, so that the SIM card can be prevented from being stolen by other people.
For example, the following steps are carried out: referring to the terminal display interface of fig. 7, after the user opens the virtual SIM card switching application, the terminal displays a virtual SIM card switching interface 701 through the display unit, where the virtual SIM card switching interface 701 includes: a current virtual SIM card display area 702, a virtual SIM card input area 704, and a virtual SIM card usage recording area 708. After the user clicks the current virtual SIM card display area 702, the display unit will display the virtual SIM card information 703 currently used by the terminal; after the user clicks the virtual SIM card input area 704, the display unit displays a mobile phone number input box 705 and a PIN number input box 706; after the user clicks the virtual SIM card use recording area 708, the display unit displays virtual SIM card information 709 that the terminal has historically used.
S1002, receiving a scanning instruction aiming at the virtual SIM card switching interface.
Generally, after a user opens a virtual SIM card switching application, a terminal displays a virtual SIM card switching interface, a virtual SIM card input area is displayed on the virtual SIM card switching interface, and after the user clicks a virtual key for starting scanning operation on the area, the terminal receives a scanning instruction for the virtual SIM card switching interface, and then starts a camera of the terminal to enter a scanning state.
For example, the following steps are carried out: referring to the terminal display interface of fig. 8, a user may enter a scanning state by clicking a virtual key 804 for starting a scanning operation on a virtual SIM card input area 803, and at this time, a camera may scan an entity SIM card or a picture containing SIM card information to obtain mobile phone number information and PIN code information of the SIM card.
And S1003, starting the camera according to the scanning instruction, and acquiring mobile phone number information and PIN code information by using the camera.
The mobile phone number is a number corresponding to the SIM card and usable for the user to call, and is composed of 11 digits, and the user of the mobile terminal will transact a SIM card or UIM card (user identity module) when accessing the network no matter in the GSM system or the CDMA system. The PIN code is a personal identification password of the SIM card, consists of 4-8 digits, is a safety measure for protecting the SIM card, and can start card locking protection when the number of errors of inputting the PIN code exceeds the number limit, so that the SIM card can be prevented from being stolen by other people.
And S1004, generating a new virtual SIM card based on the mobile phone number information and the PIN information.
Generally, relevant information of the SIM card is scanned by a camera, a terminal processes the scanned SIM card information and then obtains mobile phone number information and PIN code information, and the terminal can generate a new virtual SIM card with a virtual MAC address and an ICCID code based on the mobile phone number information and the PIN code information, so that the terminal can perform communication services based on the new virtual SIM card.
And S1005, displaying reminding information through the display unit when the mobile phone number information and the PIN information are determined to be wrong.
For example, the following steps are carried out: referring to the terminal display interface of fig. 11, when the mobile phone number information and the PIN number information that the terminal fails to scan through the camera or when the mobile phone number information and the PIN number information that the terminal scans through the camera are error or failure information, a scan failure interface 1101 is displayed on the terminal display interface to remind the user that the mobile phone number information and the PIN number information of the SIM card cannot be successfully scanned.
And S1006, switching the current virtual SIM card to a new virtual SIM card.
Generally, after acquiring mobile phone number information and PIN code information of a SIM card, a terminal may generate a corresponding virtual SIM card, and at the same time, the terminal displays a prompting area for asking a user whether to switch a current SIM card opinion, and after the user clicks a virtual key agreeing to switch, the terminal will complete switching of the virtual SIM card, and the user may also perform a communication service through the switched virtual SIM card.
For example, the following steps are carried out: referring to the terminal display interface of fig. 9, after the terminal successfully scans and obtains the mobile phone number information and the PIN code information through the camera, the terminal will generate a new virtual SIM card with a virtual MAC address and an ICCID code, and at the same time, the terminal will display a reminding frame 901 on the terminal display interface of fig. 9 through a display unit to remind the user to switch the virtual SIM card, and if the user agrees to switch the virtual SIM card, the user can complete the switching of the virtual SIM card by clicking a "confirm" virtual key 903 on the reminding frame 901; if the user does not agree to switch the virtual SIM card, the switching of the virtual SIM card can be rejected by clicking the "cancel" virtual key 902 or the "exit" virtual key 904 on the reminder box 901.
According to the method for switching the virtual SIM cards, the terminal displays the virtual SIM card switching interface, receives a scanning instruction aiming at the virtual SIM card switching interface, starts the camera according to the scanning instruction, acquires the mobile phone number information and the PIN number information by using the camera, generates a new virtual SIM card based on the mobile phone number information and the PIN number information, and displays the reminding information through the display unit when the mobile phone number information and the PIN number information are determined to be wrong so as to switch the current virtual SIM card to the new virtual SIM card. By the method, the user can acquire the information of the SIM card to be replaced by using the camera on the terminal through the application program for switching the virtual SIM card on the terminal, so that the switching of the virtual SIM card is conveniently completed, and the hardware loss of the SIM card and the terminal caused by the replacement of the entity SIM card is avoided.
Please refer to fig. 12, which is another flowchart illustrating a method for switching a virtual SIM card according to an embodiment of the present application. The embodiment is exemplified by applying a virtual SIM card switching method to a terminal with a built-in SIM card chip. The virtual SIM card switching method can comprise the following steps:
and S1201, displaying a virtual SIM card switching interface.
The virtual SIM card switching interface comprises a current virtual SIM card display area, a virtual SIM card information input area and a virtual SIM card use recording area, a user can see the current virtual SIM card information and the historically used virtual SIM card information of the terminal on the virtual SIM card switching interface of the terminal, and meanwhile, the user can also input a mobile phone Number and a Personal Identification Number (PIN) of the SIM card in the virtual SIM card information input area on the virtual SIM card switching interface or scan the SIM card information through a scanning area to acquire the mobile phone Number and the PIN of the SIM card.
Generally, a SIM card chip is built in a terminal, information such as a media access control address (MAC address) and an access control identifier (ICCID) of a virtual SIM card can be obtained through the SIM card chip, an application program for switching the virtual SIM card is correspondingly installed on the terminal, and the terminal can obtain mobile phone number information and PIN number information of the SIM card through the application program and generate the virtual SIM card based on the mobile phone number information and the PIN number information, thereby implementing the switching of the SIM card. The MAC address is an address for identifying the location of the network device, and is used to uniquely identify a network card in the network, and if one or more network cards are provided for a device, each network card needs to have a unique MAC address. An ICCID code (integrated circuit card identification code), namely a SIM card number, is a unique identification number of an IC card, and is composed of 20 digits in total, and the coding format is: XXXXXXX 0MFSS YYGXXXXXX. The PIN code is a personal identification password of the SIM card, consists of 4-8 digits, is a safety measure for protecting the SIM card, and can start card locking protection when the number of errors of inputting the PIN code exceeds the number limit, so that the SIM card can be prevented from being stolen by other people.
For example, the following steps are carried out: referring to the terminal display interface of fig. 7, after the user opens the virtual SIM card switching application, the terminal displays a virtual SIM card switching interface 701 through the display unit, where the virtual SIM card switching interface 701 includes: a current virtual SIM card display area 702, a virtual SIM card input area 704, and a virtual SIM card usage recording area 708. After the user clicks the current virtual SIM card display area 702, the display unit will display the virtual SIM card information 703 currently used by the terminal; after the user clicks the virtual SIM card input area 704, the display unit displays a mobile phone number input box 705 and a PIN number input box 706; after the user clicks the virtual SIM card use recording area 708, the display unit displays virtual SIM card information 709 that the terminal has historically used.
And S1202, when a selection instruction for a virtual SIM card switching recording frame on a virtual SIM card switching interface is received, mobile phone number information and PIN code information corresponding to the selection instruction are obtained.
The mobile phone number is a number corresponding to the SIM card and usable for the user to call, and is composed of 11 digits, and the user of the mobile terminal will transact a SIM card or UIM card (user identity module) when accessing the network no matter in the GSM system or the CDMA system. The PIN code is a personal identification password of the SIM card, consists of 4-8 digits, is a safety measure for protecting the SIM card, and can start card locking protection when the number of errors of inputting the PIN code exceeds the number limit, so that the SIM card can be prevented from being stolen by other people.
For example, the following steps are carried out: referring to the terminal display interface of fig. 7, after the user clicks the virtual SIM card usage recording area 708 on the virtual SIM card switching interface, the terminal will receive a selection instruction for the virtual SIM card switching recording frame 708, and display the historical used virtual SIM card information 709 of the terminal through the display unit, and the user can select the virtual SIM card in the historical used virtual SIM card information 709 of the terminal to obtain the corresponding mobile phone number information and PIN number information.
And S1203, generating the new virtual SIM card based on the mobile phone number information and the PIN information.
Generally, after SIM card information meeting requirements is selected on a virtual SIM card use recording area, a terminal acquires corresponding mobile phone number information and PIN code information, and the terminal can generate a new virtual SIM card with a virtual MAC address and an ICCID code based on the mobile phone number information and the PIN code information, so that the terminal can perform communication services based on the new virtual SIM card.
And S1204, displaying reminding information through a display unit when the mobile phone number information and the PIN information are determined to be wrong.
For example, the following steps are carried out: referring to the terminal display interface of fig. 13, after the user selects the virtual SIM card information that the terminal has historically used on the SIM card usage recording area, if the virtual SIM card information is cleared or disabled, the terminal display interface displays a reminding message box 1301 to remind the user that the virtual SIM card is unavailable, and the user needs to input the SIM card information again through a camera or manually.
And S1205, switching the current virtual SIM card to a new virtual SIM card.
Generally, after acquiring mobile phone number information and PIN code information of a SIM card, a terminal may generate a corresponding virtual SIM card, and at the same time, the terminal displays a prompting area for asking a user whether to switch a current SIM card opinion, and after the user clicks a virtual key agreeing to switch, the terminal will complete switching of the virtual SIM card, and the user may also perform a communication service through the switched virtual SIM card.
For example, the following steps are carried out: referring to the terminal display interface of fig. 9, after the terminal selects the information of the virtual SIM card that the terminal has historically used on the SIM card usage recording area, the terminal will generate a new virtual SIM card with a virtual MAC address and an ICCID code, and at the same time, the terminal will display a reminding frame 901 on the terminal display interface of fig. 9 through a display unit to remind the user to switch the virtual SIM card, and if the user agrees to switch the virtual SIM card, the user can complete the switching of the virtual SIM card by clicking the "ok" virtual key 903 on the reminding frame 901; if the user does not agree to switch the virtual SIM card, the switching of the virtual SIM card can be rejected by clicking the "cancel" virtual key 902 or the "exit" virtual key 904 on the reminder box 901.
According to the virtual SIM card switching method, the terminal displays the virtual SIM card switching interface, when a selection instruction for a virtual SIM card switching recording frame on the virtual SIM card switching interface is received, mobile phone number information and PIN code information corresponding to the selection instruction are obtained, the new virtual SIM card is generated based on the mobile phone number information and the PIN code information, and when the mobile phone number information and the PIN code information are determined to be wrong, the reminding information is displayed through the display unit, and the current virtual SIM card is switched to the new virtual SIM card. In this way, the user can select a proper virtual SIM card from the historical virtual SIM card switching records through the application program for switching the virtual SIM card on the terminal so as to conveniently complete the switching of the virtual SIM card, and avoid the hardware loss of the SIM card and the terminal caused by the replacement of the entity SIM card.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 14, a schematic structural diagram of a switching apparatus of a virtual SIM card according to an exemplary embodiment of the present application is shown, which is hereinafter referred to as an apparatus 14. The apparatus 14 may be implemented as all or part of a terminal, in software, hardware, or a combination of both. The device 14 is applied to a terminal with a built-in SIM card chip, and the device 14 includes:
a display module 1401, configured to display a virtual SIM card switching interface;
the processing module 1402 is configured to obtain mobile phone number information and PIN code information through the virtual SIM card switching interface, and generate a new virtual SIM card based on the mobile phone number information and the PIN code information;
a switching module 1403, configured to switch the current virtual SIM card to the new virtual SIM card.
Optionally, the processing module 1402 includes:
a first receiving unit, configured to receive a scan instruction of the user based on the virtual SIM card switching interface;
the first acquisition unit is used for starting a camera according to the scanning instruction and acquiring the mobile phone number information and the PIN code information by using the camera;
and the first generating unit is used for generating the new virtual SIM card based on the mobile phone number information and the PIN code information.
Optionally, the processing module 1402 includes:
the second obtaining unit is used for obtaining the mobile phone number information and the PIN number information corresponding to the selection instruction when the selection instruction aiming at the virtual SIM card switching recording frame on the virtual SIM card switching interface is received;
a second generating unit configured to generate the new virtual SIM card based on the mobile phone number information and the PIN code information.
Optionally, the processing module 1402 includes:
the first display unit is used for receiving an editing instruction of a user aiming at the virtual SIM card switching interface and displaying a mobile phone number input box and a PIN (personal identification number) input box;
a third generating unit configured to generate the new virtual SIM card when an edit completion instruction performed for the mobile phone number input box and the PIN number input box is detected.
Optionally, the processing module 1402 includes:
a second receiving unit for receiving a first editing instruction for the mobile phone number input box;
a first identification unit for identifying a first edit digit in the mobile phone number input box;
the processing unit is used for jumping from the editing interface of the mobile phone number input box to the editing interface of the PIN code input box when the first editing digit is determined to be a first preset digit;
a fourth generating unit configured to generate the new virtual SIM card based on the mobile phone number information and the PIN number information when an edit completion instruction for the PIN number input box is detected.
Optionally, the processing module 1402 includes:
the second identification unit is used for identifying a second editing digit in the PIN code input box;
the analysis unit is used for analyzing the PIN code in the PIN code input box when the second editing digit is a second preset digit;
and the fifth generation unit is used for generating the new virtual SIM card when the PIN code is determined to be matched with the mobile phone number in the mobile phone number input box.
Optionally, the processing module 1402 further includes:
and the second display unit is used for displaying reminding information through the display unit when the mobile phone number information and the PIN information are determined to be wrong.
It should be noted that, when the switching apparatus for a virtual SIM card provided in the foregoing embodiment executes the method for switching a virtual SIM card, the above-mentioned division of each functional module is merely used as an example, and in practical applications, the above-mentioned function allocation may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the above-mentioned functions. In addition, the switching apparatus for a virtual SIM card and the switching method embodiment for a virtual SIM card provided in the above embodiments belong to the same concept, and details of implementation processes are found in the method embodiments, and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the above method steps, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 5 to 13, which are not described herein again.
The application also provides a terminal, which comprises a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the above-mentioned method steps.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
All functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A virtual SIM card switching method is applied to a terminal with a built-in SIM card chip, and comprises the following steps:
displaying a virtual SIM card switching interface;
acquiring mobile phone number information and PIN information through the virtual SIM card switching interface, and generating a new virtual SIM card based on the mobile phone number information and the PIN information;
and switching the current virtual SIM card to the new virtual SIM card.
2. The method according to claim 1, wherein the obtaining mobile phone number information and PIN number information through the virtual SIM card switching interface and generating a new virtual SIM card based on the mobile phone number information and the PIN number information comprises:
receiving a scanning instruction aiming at the virtual SIM card switching interface;
starting a camera according to the scanning instruction, and acquiring the mobile phone number information and the PIN code information by using the camera;
and generating the new virtual SIM card based on the mobile phone number information and the PIN information.
3. The method according to claim 1, wherein the obtaining mobile phone number information and PIN number information through the virtual SIM card switching interface and generating a new virtual SIM card based on the mobile phone number information and the PIN number information comprises:
when a selection instruction for the virtual SIM card switching recording frame on the virtual SIM card switching interface is received, acquiring the mobile phone number information and the PIN number information corresponding to the selection instruction;
and generating the new virtual SIM card based on the mobile phone number information and the PIN information.
4. The method according to claim 1, wherein the obtaining mobile phone number information and PIN number information through the virtual SIM card switching interface and generating a new virtual SIM card based on the mobile phone number information and the PIN number information comprises:
receiving an editing instruction aiming at the virtual SIM card switching interface, and displaying a mobile phone number input box and a PIN (personal identification number) input box;
and generating the new virtual SIM card when an editing completion instruction executed for the mobile phone number input box and the PIN number input box is detected.
5. The method according to claim 4, wherein the generating the new virtual SIM card upon detecting an edit completion instruction performed for the mobile phone number input box and the PIN number input box comprises:
receiving a first editing instruction aiming at the mobile phone number input box;
identifying a first editing digit in the mobile phone number input box;
when the first editing digit is determined to be a first preset digit, jumping from an editing interface of the mobile phone number input box to an editing interface of the PIN code input box;
and when an editing completion instruction for the PIN code input box is detected, generating the new virtual SIM card based on the mobile phone number information and the PIN code information.
6. The method according to claim 5, wherein the generating the new virtual SIM card based on the mobile phone number information and the PIN information upon detecting an edit completion instruction for the PIN input box comprises:
identifying a second edit digit in the PIN code input box;
when the second edit digit is a second preset digit, analyzing the PIN in the PIN input box;
and when the PIN code is determined to be matched with the mobile phone number in the mobile phone number input box, generating the new virtual SIM card.
7. The method according to claim 1, wherein the obtaining mobile phone number information and PIN number information through the virtual SIM card switching interface and generating a new virtual SIM card based on the mobile phone number information and the PIN number information further comprises:
and displaying reminding information through a display unit when the mobile phone number information and the PIN information are determined to be wrong.
8. An apparatus for switching a virtual SIM card, the apparatus comprising:
the display module is used for displaying a virtual SIM card switching interface;
the processing module is used for acquiring mobile phone number information and PIN (personal identification number) information through the virtual SIM card switching interface and generating a new virtual SIM card based on the mobile phone number information and the PIN information;
and the switching module is used for switching the current virtual SIM card to the new virtual SIM card.
9. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to carry out the method steps according to any one of claims 1 to 7.
10. A terminal, comprising: the system comprises a processor, a memory and a display screen; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 7.
CN202010234676.2A 2020-03-30 2020-03-30 Virtual SIM card switching method and device, storage medium and terminal Active CN111556482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010234676.2A CN111556482B (en) 2020-03-30 2020-03-30 Virtual SIM card switching method and device, storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010234676.2A CN111556482B (en) 2020-03-30 2020-03-30 Virtual SIM card switching method and device, storage medium and terminal

Publications (2)

Publication Number Publication Date
CN111556482A true CN111556482A (en) 2020-08-18
CN111556482B CN111556482B (en) 2023-08-15

Family

ID=72002413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010234676.2A Active CN111556482B (en) 2020-03-30 2020-03-30 Virtual SIM card switching method and device, storage medium and terminal

Country Status (1)

Country Link
CN (1) CN111556482B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114867002A (en) * 2022-07-07 2022-08-05 上海途鸽数据科技有限公司 Method for selecting global roaming virtual card in terminal and terminal

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009154317A1 (en) * 2008-06-20 2009-12-23 Gavaplus.Co., Ltd Multi-user interface support method of multi-number mobile phone
CN103533139A (en) * 2013-09-29 2014-01-22 小米科技有限责任公司 Data management method and device of multi-card user and mobile terminal
CN105050076A (en) * 2015-05-06 2015-11-11 努比亚技术有限公司 Virtual card user interface management method and system
CN105872948A (en) * 2016-03-25 2016-08-17 努比亚技术有限公司 Virtual SIM (Subscriber Identity Module) card realization device and method
WO2016145742A1 (en) * 2015-03-19 2016-09-22 中兴通讯股份有限公司 Virtual sim card switching method and apparatus
CN106102040A (en) * 2016-08-08 2016-11-09 东信和平科技股份有限公司 The changing method of a kind of virtual client identification module SIM and device
CN106162517A (en) * 2015-04-23 2016-11-23 中兴通讯股份有限公司 The management method of a kind of virtual SIM card and system
CN106454802A (en) * 2016-10-14 2017-02-22 珠海格力电器股份有限公司 Virtual SIM card implementation method and system
US20170094500A1 (en) * 2015-09-30 2017-03-30 Mediatek Singapore Pte. Ltd. Subscriber identity module card managing method and electronic device
CN106993285A (en) * 2017-05-12 2017-07-28 东信和平科技股份有限公司 The method that multiple SIM virtual card switches in a kind of SIM card and SIM card
US20180020076A1 (en) * 2016-04-25 2018-01-18 Abhinav Porwal Electronic and mobile platform to create, store and exchange business cards

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009154317A1 (en) * 2008-06-20 2009-12-23 Gavaplus.Co., Ltd Multi-user interface support method of multi-number mobile phone
CN103533139A (en) * 2013-09-29 2014-01-22 小米科技有限责任公司 Data management method and device of multi-card user and mobile terminal
WO2016145742A1 (en) * 2015-03-19 2016-09-22 中兴通讯股份有限公司 Virtual sim card switching method and apparatus
CN106162517A (en) * 2015-04-23 2016-11-23 中兴通讯股份有限公司 The management method of a kind of virtual SIM card and system
CN105050076A (en) * 2015-05-06 2015-11-11 努比亚技术有限公司 Virtual card user interface management method and system
US20170094500A1 (en) * 2015-09-30 2017-03-30 Mediatek Singapore Pte. Ltd. Subscriber identity module card managing method and electronic device
CN105872948A (en) * 2016-03-25 2016-08-17 努比亚技术有限公司 Virtual SIM (Subscriber Identity Module) card realization device and method
US20180020076A1 (en) * 2016-04-25 2018-01-18 Abhinav Porwal Electronic and mobile platform to create, store and exchange business cards
CN106102040A (en) * 2016-08-08 2016-11-09 东信和平科技股份有限公司 The changing method of a kind of virtual client identification module SIM and device
CN106454802A (en) * 2016-10-14 2017-02-22 珠海格力电器股份有限公司 Virtual SIM card implementation method and system
CN106993285A (en) * 2017-05-12 2017-07-28 东信和平科技股份有限公司 The method that multiple SIM virtual card switches in a kind of SIM card and SIM card

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114867002A (en) * 2022-07-07 2022-08-05 上海途鸽数据科技有限公司 Method for selecting global roaming virtual card in terminal and terminal
CN114867002B (en) * 2022-07-07 2022-09-09 上海途鸽数据科技有限公司 Method for selecting global roaming virtual card in terminal and terminal

Also Published As

Publication number Publication date
CN111556482B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN109766053B (en) User interface display method, device, terminal and storage medium
CN107807773B (en) Application body distinguishing method, device, terminal and storage medium
CN107728885B (en) Multitask control method and device, mobile terminal and storage medium
CN107765959B (en) Background application program display method and terminal
CN107889070B (en) Picture processing method, device, terminal and computer readable storage medium
CN107491683B (en) Application decryption method and device, terminal and computer readable storage medium
US11449591B2 (en) Method and device for triggering function of function widget based on fingerprint recognition, terminal, and storage medium
WO2020156199A1 (en) Application login method and device, terminal and storage medium
WO2020156308A1 (en) Message processing method, device, terminal, and storage medium
CN109754515B (en) Queuing system and queuing data processing method
CN109726539B (en) Application starting method, device, terminal and storage medium
CN111198724A (en) Application program starting method and device, storage medium and terminal
CN113268212A (en) Screen projection method and device, storage medium and electronic equipment
CN111767554A (en) Screen sharing method and device, storage medium and electronic equipment
CN111556482B (en) Virtual SIM card switching method and device, storage medium and terminal
CN110572815A (en) Network access method, device, storage medium and terminal
CN108845733B (en) Screen capture method, device, terminal and storage medium
CN113438614A (en) Flow package obtaining method and device, terminal and storage medium
CN112738774A (en) Application sharing method and device, terminal and computer readable storage medium
CN111723353A (en) Identity authentication method, device, terminal and storage medium based on face recognition
CN113286349B (en) Personal hot spot connection method, device, terminal and storage medium
CN113950043B (en) Communication method, device, storage medium and terminal
CN111857480B (en) Icon alignment method and device, storage medium and electronic equipment
CN113419650A (en) Data moving method and device, storage medium and electronic equipment
CN110913384A (en) Dial card switching method and device, storage medium and terminal

Legal Events

Date Code Title Description
PB01 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