CN111556482B - 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
CN111556482B
CN111556482B CN202010234676.2A CN202010234676A CN111556482B CN 111556482 B CN111556482 B CN 111556482B CN 202010234676 A CN202010234676 A CN 202010234676A CN 111556482 B CN111556482 B CN 111556482B
Authority
CN
China
Prior art keywords
sim card
virtual sim
mobile phone
pin code
phone number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010234676.2A
Other languages
Chinese (zh)
Other versions
CN111556482A (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

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

Landscapes

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

Abstract

The embodiment of the application discloses a virtual SIM card switching method, a virtual SIM card switching device, a storage medium and a terminal, and belongs to the technical field of computers. The method is applied to the terminal with the built-in 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, and in this way, the terminal can conveniently switch the virtual SIM card, and the hardware loss of the 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 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, users can perform remote communication through the mobile terminals with a physical SIM (Subscriber Identity Module ) card inserted therein, one SIM card corresponds to one communication number, and operators can identify the user identity, register and encrypt the user's communication records and other operations through the SIM card. In the related art, a user may have multiple physical SIM cards of different operators at the same time, and most mobile terminals can be plugged into two different physical SIM cards at most, if the user needs to replace the currently plugged physical SIM card with another physical SIM card, the physical SIM card in the mobile terminal must be manually replaced, and for the user with multiple physical SIM card usage requirements, the regular searching and pulling of the physical SIM card has a certain loss to both the physical SIM card and the terminal hardware, which also makes it inconvenient 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 storage medium and a terminal, which can solve the problems of hardware loss of the terminal and an entity SIM card and inconvenience in replacing the entity SIM card when the entity SIM card is replaced. 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 SIM card chip built therein, and the method includes:
displaying a virtual SIM card switching interface;
acquiring mobile phone number information and PIN code 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 code 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 switching device for a virtual SIM card, where the device is applied to a terminal with a SIM card chip built therein, and the device includes:
the display module is used for displaying the virtual SIM card switching interface;
the processing module is used for acquiring mobile phone number information and PIN code 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 code 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-described method steps.
In a fourth aspect, an embodiment of the present application provides a terminal, including: the device 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 technical scheme provided by the embodiments of the application has the beneficial effects that at least:
when the scheme of the embodiment of the application is executed, the terminal displays the virtual SIM card switching interface, acquires the mobile phone number information and the PIN code information through the virtual SIM card switching interface, generates a new virtual SIM card based on the mobile phone number information and the PIN code information, and switches the current virtual SIM card to the new virtual SIM card.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a terminal according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an operating system and user space provided by an embodiment of the present application;
FIG. 3 is an architecture 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 flow chart of a method for switching a virtual SIM card according to an embodiment of the present application;
fig. 6 to 9 are schematic diagrams of a terminal display interface according to an embodiment of the present application;
fig. 10 is another flow chart 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 terminal display interface according to an embodiment of the present application;
fig. 12 is another flow chart 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 terminal display interface according to an embodiment of the present application;
fig. 14 is a schematic diagram of a switching device for 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 apparent, the following detailed description of the embodiments of the present application will be given with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application as detailed in the accompanying claims.
In the description of the present application, it should 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 will be understood in specific cases by those of ordinary skill in the art. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship.
Referring to fig. 1, a block diagram illustrating a structure of a terminal according to an exemplary embodiment of the present application is shown. The terminal of the present application may include one or more of the following components: processor 110, memory 120, input device 130, output device 140, and bus 150. The processor 110, the memory 120, the input device 130, and the 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 invoking data stored in the memory 120. Alternatively, the processor 110 may be implemented in at least one hardware form of digital signal processing (digital signal processing, DSP), field-programmable gate array (field-programmable gate array, FPGA), programmable logic array (programmable logicArray, PLA). The processor 110 may integrate one or a combination of several of a central processing unit (central processing unit, CPU), an image processor (graphics processing unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 110 and may be implemented solely by a single communication chip.
The memory 120 may include a random access memory (randomAccess Memory, RAM) or a read-only memory (ROM). Optionally, the memory 120 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 120 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, which may be an Android (Android) system (including a system developed based on the Android system), an IOS system developed by apple corporation (including a system developed based on the IOS system), or other systems, 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. The storage data area may also store data created by the terminal in use (such as phonebook, audio-video data, chat-record data), etc.
Referring to FIG. 2, the memory 120 may be divided into an operating system space in which the 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 better operation effects, 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, under the local resource loading scenario, the third party application program has higher requirement on the disk reading speed; in the animation rendering scene, the third party application program has higher requirements on the GPU performance. The operating system and the third party application program are mutually independent, and the operating system often cannot timely sense the current application scene of the third party application program, 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 specific application scenes of the third-party application program, data communication between the third-party application program and the operating system needs to be communicated, so that the operating system can acquire current scene information of the third-party application program at any time, and targeted system resource adaptation is performed based on the current scene.
Taking an operating system as an Android system as an example, as shown in fig. 3, a program and data stored in the memory 120 may be stored in the memory 120 with a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360 and an application layer 380, 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 the various hardware of the terminal with the underlying drivers such as display drivers, audio drivers, camera drivers, bluetooth drivers, wi-Fi drivers, power management, etc. The system runtime layer 340 provides the main feature support for the Android system through some C/c++ libraries. For example, the SQLite library provides support for databases, the OpenGL/ES library provides support for 3D graphics, the Webkit library provides support for browser kernels, and the like. Also provided in the system runtime library layer 340 is a An Zhuoyun runtime library (Android running time), which primarily 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 applications, which developers can also build their own applications by using, for example, campaign management, window management, view management, notification management, content provider, package management, call management, resource management, location management. At least one application program is running in the application layer 380, and these application programs may be native application programs of the operating system, such as a contact program, a short message program, a clock program, a camera application, etc.; and may also be a third party application developed by a third party developer, such as a game-like application, instant messaging program, photo beautification program, shopping program, etc.
Taking an operating system as an IOS system as an example, the programs and data stored in the memory 120 are shown in fig. 4, the IOS system includes: core operating system Layer 420 (Core OS Layer), core service Layer 440 (Core Services Layer), media Layer 460 (Medialayer), and touchable Layer 480 (cocoafouch Layer). The core operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks that provide more hardware-like functionality for use by the program frameworks at the core services layer 440. The core services layer 440 provides system services and/or program frameworks required by the application, such as a Foundation (Foundation) framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a sports framework, and the like. The media layer 460 provides an interface for applications related to audiovisual aspects, such as a graphics-image related interface, an audio technology related interface, a video technology related interface, an audio video transmission technology wireless play (AirPlay) interface, and so forth. The touchable layer 480 provides various commonly used interface-related frameworks for application development, with the touchable layer 480 being responsible for user touch interactions on the terminal. Such as a local notification service, a remote push service, an advertising framework, a game tool framework, a message user interface (UserInterface, UI) framework, a user interface UIKit framework, a map framework, and the like.
Among the frameworks illustrated in fig. 4, frameworks related to most applications include, but are not limited to: the infrastructure in core services layer 440 and the UIKit framework in touchable layer 480. The infrastructure provides many basic object classes and data types, providing the most basic system services for all applications, independent of the UI. While the class provided by the UIKit framework is a basic UI class library for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides the infrastructure for applications to build user interfaces, draw, process and user interaction events, respond to gestures, and so on.
The manner and principle of implementing data communication between the third party application program and the operating system in the IOS system can refer to the Android system, and the application is not described herein.
The input device 130 is configured to receive 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 to output 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 a touch display screen for receiving a touch operation thereon or thereabout by a user using a finger, a touch pen, or any other suitable object, and displaying a user interface of each application program. The touch display screen is typically provided at the front panel of the terminal. The touch display screen may be designed as a full screen, a curved screen, or a contoured screen. The touch display screen may also be designed as a combination of a full screen and a curved screen, and the combination of a special-shaped screen and a curved screen, which is not limited in the embodiment of the present application.
In addition, those skilled in the art will appreciate that the configuration of the terminal illustrated in the above-described figures does not constitute a limitation of the terminal, and the terminal may include more or less components than illustrated, or may combine certain components, or may have a different arrangement of components. For example, the terminal further includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (wireless fidelity, wiFi) module, a power supply, and a bluetooth module, which are not described herein.
In the embodiment of the present application, the execution subject 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 other operating systems, which is not limited by the embodiments 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 a method for switching a virtual SIM card according to an embodiment of the present application.
In the following method embodiments, for convenience of explanation, only the execution subject of each step is described as a terminal.
The following describes in detail a method for switching a virtual SIM card according to an embodiment of the present application with reference to fig. 5 to 13.
Fig. 5 is a schematic flow chart of a method for switching a virtual SIM card according to an embodiment of the present application. The embodiment is exemplified by a virtual SIM card switching method applied to a terminal with a SIM card chip, where the virtual SIM card switching method 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 virtual SIM card information currently used by the terminal and the virtual SIM card information used in history on the virtual SIM card switching interface of the terminal, and meanwhile, the user can also input a mobile phone number and a PIN code (Personal IdentificationNumber, personal identification code) 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 obtain the mobile phone number and the PIN code of the SIM card.
In general, a terminal is provided with a SIM card chip, through which information such as a MAC address (MediaAccess ControlAddress ) and ICCID of a virtual SIM card can be obtained, an application for switching the virtual SIM card is correspondingly installed on the terminal, and the terminal can obtain mobile phone number information and PIN code information of the SIM card through the application, and generate the virtual SIM card based on the mobile phone number information and PIN code information, thereby implementing 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 and has a unique MAC address. ICCID (Integrate circuit card identity, integrated circuit card identification code) is SIM card number, ICCID is unique identification number of IC card, and is composed of 20 digits, and its coding format is: XXXX 0MFSS YYGXX XXXXXX. The PIN code is a personal identification code of the SIM card and 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 other people can be prevented from stealing the SIM card.
S502, mobile phone number information and PIN code 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 code information.
The mobile phone number information refers to a number which corresponds to the SIM card and can be used for calling by the user, and is composed of 11 digits, and no matter the mobile phone is a GSM system or a CDMA system, the user of the mobile terminal can transact a SIM card or a UIM card (User IdentityModule, user identification module) when accessing to the internet. The PIN code is a personal identification code of the SIM card and 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 other people can be prevented from stealing the SIM card.
In general, mobile phone number information and PIN code information based on a SIM card may correspond to generate a virtual SIM card, and SIM card switching may be implemented through a virtual SIM card switching application. There are generally various ways of acquiring mobile phone number information and PIN code information.
In one embodiment, the manner of acquiring the mobile phone number information and the PIN code information may include:
after a user opens a virtual SIM card switching application program, the terminal displays a virtual SIM card switching interface, after the user clicks a virtual key for scanning SIM card information on the virtual SIM card switching interface, the terminal receives a scanning instruction aiming at 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 embodiment, the manner of acquiring the mobile phone number information and the PIN code information may include:
after a user opens a virtual SIM card switching application program, the terminal displays a virtual SIM card switching interface, a virtual SIM card information recording area used in history is displayed on the virtual SIM card switching interface, the user can directly select a virtual SIM card meeting the requirement in the virtual SIM card use recording area, and when receiving a selection instruction aiming at a virtual SIM card use recording frame on the virtual SIM card switching interface, the terminal can acquire mobile phone number information and PIN code information of the virtual SIM card selected by the user.
In another embodiment, the manner of acquiring the mobile phone number information and the PIN code information may include:
after a user opens a virtual SIM card switching application program, the terminal displays a virtual SIM card switching interface, a mobile phone number input box and a PIN code input box are displayed on the virtual SIM card switching interface, the user can directly input a mobile phone number and a PIN code through the mobile phone number input box and the PIN code input box respectively, and when the mobile phone number and the PIN code are matched with each other, the terminal acquires mobile phone number information and PIN code information.
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 an SIM card, a terminal may generate a corresponding virtual SIM card, and at the same time, the terminal will display a prompt area for asking the user whether to switch the opinion of the current SIM card, and after the user clicks a virtual key for agreeing to switch, the terminal will complete the switching of the virtual SIM card, and the user may also perform a communication service through the virtual SIM card after switching.
As can be seen from the foregoing, the present solution provides a virtual SIM card switching method, in which a terminal displays a virtual SIM card switching interface, obtains mobile phone number information and PIN code information through the virtual SIM card switching interface, generates a new virtual SIM card based on the mobile phone number information and PIN code information, and switches a current virtual SIM card to the new virtual SIM card.
Fig. 6 is a schematic flow chart of a method for switching a virtual SIM card according to an embodiment of the present application. The present embodiment is exemplified by a virtual SIM card switching method applied to a terminal with a SIM card chip built therein. The method for switching the virtual SIM card 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 virtual SIM card information currently used by the terminal and the virtual SIM card information used in history on the virtual SIM card switching interface of the terminal, and meanwhile, the user can also input a mobile phone number and a PIN code (Personal IdentificationNumber, personal identification code) 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 obtain the mobile phone number and the PIN code of the SIM card.
In general, a terminal is provided with a SIM card chip, through which information such as a MAC address (MediaAccess ControlAddress ) and ICCID of a virtual SIM card can be obtained, an application for switching the virtual SIM card is correspondingly installed on the terminal, and the terminal can obtain mobile phone number information and PIN code information of the SIM card through the application, and generate the virtual SIM card based on the mobile phone number information and PIN code information, thereby implementing 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 and has a unique MAC address. ICCID (Integrate circuit card identity, integrated circuit card identification code) is SIM card number, ICCID is unique identification number of IC card, and is composed of 20 digits, and its coding format is: XXXX 0MFSS YYGXX XXXXXX. The PIN code is a personal identification code of the SIM card and 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 other people can be prevented from stealing the SIM card.
Illustrating: referring to the terminal display interface of fig. 7, after the user opens the virtual SIM card switching application, the terminal displays the virtual SIM card switching interface 701 through the display unit, where the virtual SIM card switching interface 701 includes: the current virtual SIM card display area 702, the virtual SIM card input area 704, and the virtual SIM card usage record 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 will display a mobile phone number input box 705 and a PIN code input box 706; after the user clicks the virtual SIM card usage recording area 708, the display unit will display the virtual SIM card information 709 that the terminal has historically used.
S602, receiving an editing instruction aiming at the virtual SIM card switching interface, and displaying a mobile phone number input box and a PIN code input box.
The mobile phone number information refers to a number which corresponds to the SIM card and can be used for calling by the user, and is composed of 11 digits, and no matter the mobile phone is a GSM system or a CDMA system, the user of the mobile terminal can transact a SIM card or a UIM card (User IdentityModule, user identification module) when accessing to the internet. The PIN code is a personal identification code of the SIM card and 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 other people can be prevented from stealing the SIM card.
Generally, after a user opens a virtual SIM card switching application, the 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 box and a PIN code input box, the user can edit directly through the mobile phone number input box and the PIN code input box, and input a mobile phone number and a PIN code respectively, and when the mobile phone number and the PIN code are matched with each other, the terminal obtains mobile phone number information and PIN code information.
Illustrating: 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 the mobile phone number input box 705 and the PIN code input box 706 through the display unit based on the edit instruction.
S603, receiving a first editing instruction aiming at a mobile phone number input box.
The first editing instruction is an editing instruction generated by the terminal after detecting the input operation of 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, the first editing bit number in the mobile phone number input box is identified.
The first editing bit number refers to the bit number of the mobile phone number input by the user, and the terminal can identify the total bit number of the digits and/or characters input by the user in the mobile phone number input box, namely the first editing bit number.
S605, when the first editing bit number is determined to be the first preset bit number, the editing interface of the mobile phone number input box jumps to the editing interface of the PIN code input box.
The first preset number of digits refers to a preset number of digits of the mobile phone number, and the number of digits of the mobile phone number is generally 11 digits.
Generally, after the user inputs the complete mobile phone number in the mobile phone number input box, the terminal identifies the number of digits of the number in the mobile phone number input box, so as to prevent the user from failing to generate the virtual SIM card due to misoperation or incorrect input of the mobile phone number. When the digits of the mobile phone number input by the user are identified as the preset digits, the mobile phone number input format can be initially judged to be correct, and the terminal can control the editing position to jump to the PIN code input box, so that the user can edit the PIN code input box directly on an editing interface of the PIN code input box.
S606, identifying a second editing bit number in the PIN code input box.
The second editing digits refer to digits of the PIN code input by the user, and the terminal can identify the total digits of numbers, letters and/or characters input by the user in the PIN code input box, namely the first editing digits.
S607, when the second editing bit number is the second preset bit number, analyzing the PIN code in the PIN code input box.
The second preset bit number refers to the bit number of the preset PIN code, and the bit number of the PIN code is usually 4 to 8.
Generally, after the user inputs the complete PIN code in the PIN code input box, the terminal identifies the digits of the PIN code in the PIN code input box, so that the situation that the terminal cannot successfully generate the virtual SIM card due to misoperation or incorrect PIN code input by the user is prevented. When the digits of the PIN code input by the user are the preset digits, the PIN code input format can be primarily judged to be correct, the terminal further analyzes and processes the PIN code, whether the PIN code is matched with the mobile phone number input in the mobile phone number input box is judged, and if the PIN code is matched with the mobile phone number in the mobile phone number input box, the terminal can successfully generate a virtual SIM card; 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.
S608, when it is determined that the PIN code matches the mobile phone number in the mobile phone number input box, a new virtual SIM card is generated.
Generally, after a user inputs a mobile phone number and a PIN code corresponding to a preset mobile phone number digit and a preset PIN code digit in a mobile phone number input box and a PIN code input box, respectively, a terminal obtains 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 PIN code information, so that the terminal can perform communication services based on the new virtual SIM card.
S609, when it is determined that the mobile phone number information and the PIN code information are wrong, the reminder information is displayed by the display unit.
Illustrating: referring to the terminal display interface of fig. 8, when the user inputs a mobile phone number that does not meet the requirement of the number of digits of the preset mobile phone number in the mobile phone number input box, and/or when the PIN code input box inputs a PIN code that does not meet the requirement of the preset PIN code, and/or the mobile phone number is not matched with the PIN code, the terminal will display a warning message 801 of the input error of the mobile phone number information and/or a warning message 802 of the input error of the PIN code through the display unit.
And 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 an SIM card, a terminal may generate a corresponding virtual SIM card, and at the same time, the terminal will display a prompt area for asking the user whether to switch the opinion of the current SIM card, and after the user clicks a virtual key for agreeing to switch, the terminal will complete the switching of the virtual SIM card, and the user may also perform a communication service through the virtual SIM card after switching.
Illustrating: referring to the terminal display interface of fig. 7, after the user inputs the matched mobile phone number and PIN code in the mobile phone number input box 705 and the PIN code input box 706, respectively, the user clicks the "confirm" virtual key 707 on the virtual SIM card input area 704, and then the terminal will generate a new virtual SIM card with a virtual MAC address and an ICCID code, and simultaneously the terminal will display a reminder box 901 for reminding the user to switch 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 "confirm" virtual key 903 on the reminder box 901; if the user does not agree to switch the virtual SIM card, the user may reject the virtual SIM card switch by clicking the cancel virtual button 902 or the exit virtual button 904 on the reminder box 901.
As can be seen from the foregoing, the method for switching a virtual SIM card provided in the present embodiment includes displaying a virtual SIM card switching interface by a terminal, receiving an edit instruction for the virtual SIM card switching interface, displaying a mobile phone number input box and a PIN code 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 code input box when the first edit digit is determined to be a first preset digit, identifying a second edit digit in the PIN code input box, analyzing the PIN code in the PIN code input box when the second edit digit is a second preset digit, generating a new virtual SIM card when the PIN code is determined to match with the mobile phone number in the mobile phone number input box, switching the current virtual SIM card to the new virtual SIM card, and displaying alert information by a display unit when the mobile phone number information and PIN code information are determined. By the mode, the user can rapidly and conveniently complete the switching of the virtual SIM card through the application program of 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 physical SIM card is avoided.
Fig. 10 is a schematic flow chart of a method for switching a virtual SIM card according to an embodiment of the present application. The present embodiment is exemplified by a virtual SIM card switching method applied to a terminal with a SIM card chip built therein. The method for switching the virtual SIM card can comprise the following steps:
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 virtual SIM card information currently used by the terminal and the virtual SIM card information used in history on the virtual SIM card switching interface of the terminal, and meanwhile, the user can also input a mobile phone number and a PIN code (Personal IdentificationNumber, personal identification code) 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 obtain the mobile phone number and the PIN code of the SIM card.
In general, a terminal is provided with a SIM card chip, through which information such as a MAC address (MediaAccess ControlAddress ) and ICCID of a virtual SIM card can be obtained, an application for switching the virtual SIM card is correspondingly installed on the terminal, and the terminal can obtain mobile phone number information and PIN code information of the SIM card through the application, and generate the virtual SIM card based on the mobile phone number information and PIN code information, thereby implementing 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 and has a unique MAC address. ICCID (Integrate circuit card identity, integrated circuit card identification code) is SIM card number, ICCID is unique identification number of IC card, and is composed of 20 digits, and its coding format is: XXXX 0MFSS YYGXX XXXXXX. The PIN code is a personal identification code of the SIM card and 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 other people can be prevented from stealing the SIM card.
Illustrating: referring to the terminal display interface of fig. 7, after the user opens the virtual SIM card switching application, the terminal displays the virtual SIM card switching interface 701 through the display unit, where the virtual SIM card switching interface 701 includes: the current virtual SIM card display area 702, the virtual SIM card input area 704, and the virtual SIM card usage record 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 will display a mobile phone number input box 705 and a PIN code input box 706; after the user clicks the virtual SIM card usage recording area 708, the display unit will display the virtual SIM card information 709 that the terminal has historically used.
S1002, receiving a scanning instruction for a virtual SIM card switching interface.
Generally, after a user opens a virtual SIM card switching application, the 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 a scanning operation on the area, the terminal receives a scanning instruction for the virtual SIM card switching interface, so that a camera of the terminal is started to enter a scanning state.
Illustrating: referring to the terminal display interface of fig. 8, the user may click a virtual key 804 for starting a scanning operation on a virtual SIM card input area 803 to enable the terminal to enter a scanning state, and at this time, a camera may scan a physical SIM card or a picture containing SIM card information to obtain mobile phone number information and PIN code information of the SIM card.
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 calling out by the user, and is composed of 11 digits, and no matter the mobile phone is a GSM system or a CDMA system, the user of the mobile terminal shall transact a SIM card or UIM card (User IdentityModule, user identification module) when accessing to the internet. The PIN code is a personal identification code of the SIM card and 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 other people can be prevented from stealing the SIM card.
S1004, generating a new virtual SIM card based on the mobile phone number information and the PIN code information.
Generally, the terminal processes the scanned SIM card information by scanning the relevant information of the SIM card with the camera, and then obtains mobile phone number information and PIN code information, and based on the mobile phone number information and PIN code information, the terminal can generate a new virtual SIM card with a virtual MAC address and an ICCID code, so that the terminal can perform communication service based on the new virtual SIM card.
S1005, when determining that the mobile phone number information and the PIN code information are wrong, displaying the reminder information through the display unit.
Illustrating: referring to the terminal display interface of fig. 11, when the mobile phone number information and PIN code information that the terminal fails to scan through the camera, or when the mobile phone number information and PIN code information that the terminal scans through the camera are error or failure information, the scanning failure interface 1101 will be displayed on the display interface of the terminal, so as to remind the user that the mobile phone number information and PIN code information of the SIM card fails to be scanned successfully.
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 an SIM card, a terminal may generate a corresponding virtual SIM card, and at the same time, the terminal will display a prompt area for asking the user whether to switch the opinion of the current SIM card, and after the user clicks a virtual key for agreeing to switch, the terminal will complete the switching of the virtual SIM card, and the user may also perform a communication service through the virtual SIM card after switching.
Illustrating: referring to the terminal display interface of fig. 9, after the terminal successfully scans to obtain mobile phone number information and 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 simultaneously the terminal will display a reminder frame 901 on the terminal display interface of fig. 9 for reminding the user to switch the virtual SIM card 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 a "confirm" virtual key 903 on the reminder frame 901; if the user does not agree to switch the virtual SIM card, the user may reject the virtual SIM card switch by clicking the cancel virtual button 902 or the exit virtual button 904 on the reminder box 901.
As can be seen from the foregoing, in the virtual SIM card switching method provided by the present application, the terminal displays a virtual SIM card switching interface, receives a scan instruction for the virtual SIM card switching interface, starts the camera according to the scan instruction, obtains mobile phone number information and PIN code information by using the camera, generates a new virtual SIM card based on the mobile phone number information and PIN code information, and displays reminder information through the display unit when determining that the mobile phone number information and PIN code information are wrong, so as to switch the current virtual SIM card to the new virtual SIM card. Through the mode, a user can acquire the information of the SIM card to be replaced by using the camera on the terminal through the application program of the virtual SIM card on the terminal, so that the virtual SIM card can be conveniently switched, and the hardware loss of the SIM card and the terminal caused by replacing the physical SIM card is avoided.
Fig. 12 is a schematic flow chart of a method for switching a virtual SIM card according to an embodiment of the present application. The present embodiment is exemplified by a virtual SIM card switching method applied to a terminal with a SIM card chip built therein. The method for switching the virtual SIM card can comprise the following steps:
s1201, a virtual SIM card switching interface is displayed.
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 virtual SIM card information currently used by the terminal and the virtual SIM card information used in history on the virtual SIM card switching interface of the terminal, and meanwhile, the user can also input a mobile phone number and a PIN code (Personal Identification Number, personal identification code) 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 obtain the mobile phone number and the PIN code of the SIM card.
In general, a terminal is provided with a SIM card chip, through which information such as a MAC address (MediaAccess ControlAddress ) and ICCID of a virtual SIM card can be obtained, an application for switching the virtual SIM card is correspondingly installed on the terminal, and the terminal can obtain mobile phone number information and PIN code information of the SIM card through the application, and generate the virtual SIM card based on the mobile phone number information and PIN code information, thereby implementing 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 and has a unique MAC address. ICCID (Integrate circuit card identity, integrated circuit card identification code) is SIM card number, ICCID is unique identification number of IC card, and is composed of 20 digits, and its coding format is: XXXX 0MFSS YYGXX XXXXXX. The PIN code is a personal identification code of the SIM card and 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 other people can be prevented from stealing the SIM card.
Illustrating: referring to the terminal display interface of fig. 7, after the user opens the virtual SIM card switching application, the terminal displays the virtual SIM card switching interface 701 through the display unit, where the virtual SIM card switching interface 701 includes: the current virtual SIM card display area 702, the virtual SIM card input area 704, and the virtual SIM card usage record 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 will display a mobile phone number input box 705 and a PIN code input box 706; after the user clicks the virtual SIM card usage recording area 708, the display unit will display the virtual SIM card information 709 that the terminal has historically used.
S1202, when a selection instruction for a virtual SIM card switching record 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 calling out by the user, and is composed of 11 digits, and no matter the mobile phone is a GSM system or a CDMA system, the user of the mobile terminal shall transact a SIM card or UIM card (User IdentityModule, user identification module) when accessing to the internet. The PIN code is a personal identification code of the SIM card and 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 other people can be prevented from stealing the SIM card.
Illustrating: 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 receives a selection instruction for the virtual SIM card switching recording box 708, and displays the virtual SIM card information 709 used by the terminal history through the display unit, so that the user can obtain corresponding mobile phone number information and PIN code information by selecting the virtual SIM card in the virtual SIM card information 709 used by the terminal history.
S1203, generating the new virtual SIM card based on the mobile phone number information and the PIN code information.
Generally, after selecting SIM card information meeting the requirements on the virtual SIM card usage recording area, the terminal will acquire corresponding mobile phone number information and PIN code information, and based on the mobile phone number information and PIN code information, the terminal may generate a new virtual SIM card having a virtual MAC address and ICCID code, so that the terminal can perform a communication service based on the new virtual SIM card.
S1204, when it is determined that the mobile phone number information and the PIN code information are wrong, displaying the reminder information through the display unit.
Illustrating: referring to the terminal display interface of fig. 13, after the user selects the virtual SIM card information that has been used by the terminal in the SIM card usage recording area, if the virtual SIM card information is cleared or disabled, the display interface of the terminal will display a reminder message box 1301 to remind the user that the virtual SIM card is unavailable, and the SIM card information needs to be input again through the camera or manually.
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 an SIM card, a terminal may generate a corresponding virtual SIM card, and at the same time, the terminal will display a prompt area for asking the user whether to switch the opinion of the current SIM card, and after the user clicks a virtual key for agreeing to switch, the terminal will complete the switching of the virtual SIM card, and the user may also perform a communication service through the virtual SIM card after switching.
Illustrating: referring to the terminal display interface of fig. 9, after the terminal selects the virtual SIM card information that has been used by the terminal in the history of the use of the SIM card in the usage record 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 reminder frame 901 on the terminal display interface of fig. 9 for reminding the user to switch the virtual SIM card 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 a "ok" virtual key 903 on the reminder frame 901; if the user does not agree to switch the virtual SIM card, the user may reject the virtual SIM card switch by clicking the cancel virtual button 902 or the exit virtual button 904 on the reminder box 901.
As can be seen from the foregoing, in the virtual SIM card switching method provided by the present application, the terminal displays the virtual SIM card switching interface, when receiving a selection instruction for a virtual SIM card switching record frame on the virtual SIM card switching interface, obtains mobile phone number information and PIN code information corresponding to the selection instruction, generates the new virtual SIM card based on the mobile phone number information and PIN code information, and when determining that the mobile phone number information and PIN code information are wrong, displays reminder information through the display unit, and switches the current virtual SIM card to the new virtual SIM card. Through the mode, a user can select a proper virtual SIM card from the historical virtual SIM card switching records through an application program of switching the virtual SIM card on the terminal so as to conveniently complete the switching of the virtual SIM card, and the hardware loss of the SIM card and the terminal caused by the replacement of the physical SIM card is avoided.
The following are examples of the apparatus of the present application that may be used to perform the method embodiments of the present application. For details not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method of the present application.
Fig. 14 is a schematic structural diagram of a switching device for a virtual SIM card according to an exemplary embodiment of the present application, hereinafter referred to as device 14. The apparatus 14 may be implemented as all or part of a terminal by 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 comprises:
A display module 1401, configured to display a virtual SIM card switching interface;
a processing module 1402, 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:
the first receiving unit is used for receiving a scanning 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;
a first 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 second acquisition unit is used for acquiring the mobile phone number information and the PIN code information corresponding to the selection instruction when receiving the selection instruction for the virtual SIM card switching record frame on the virtual SIM card switching interface;
And 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 frame and a PIN code input frame;
and a third generation unit configured to generate the new virtual SIM card when an edit completion instruction executed for the mobile phone number input box and the PIN code input box is detected.
Optionally, the processing module 1402 includes:
a second receiving unit configured to receive a first editing instruction for the mobile phone number input box;
a first identifying unit for identifying a first editing bit number 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 bit number is determined to be a first preset bit number;
and a fourth generation unit configured to generate the new virtual SIM card based on the mobile phone number information and the PIN code information when an edit completion instruction for the PIN code input box is detected.
Optionally, the processing module 1402 includes:
a second identifying unit for identifying a second editing bit number in the PIN code input box;
the analysis unit is used for analyzing the PIN code in the PIN code input frame when the second editing bit number is a second preset bit number;
and a fifth generating unit, configured to generate the new virtual SIM card when it is determined that the PIN code matches 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 code information are determined to be wrong.
It should be noted that, when the switching device for a virtual SIM card provided in the foregoing embodiment performs the switching method for a virtual SIM card, only the division of the foregoing functional modules is used as an example, in practical application, the foregoing functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the switching device of the virtual SIM card provided in the foregoing embodiment and the switching method embodiment of the virtual SIM card belong to the same concept, which embody detailed implementation procedures in the method embodiment, and are not described herein again.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The 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 executed as described above, and the specific execution process may refer to the specific description of the embodiment shown in fig. 5 to 13, which is not repeated herein.
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 by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described embodiment of the apparatus is merely illustrative, and for example, the division of the units is merely a logic function division, and there may be other division manners 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 performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The functional units in the embodiments of the present application may be all integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (9)

1. The method for switching the virtual SIM card is characterized by being applied to a terminal with an SIM card chip arranged therein, and comprises the following steps:
displaying a virtual SIM card switching interface;
acquiring mobile phone number information and PIN code 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 code information;
switching the current virtual SIM card to the new virtual SIM card;
The method for obtaining mobile phone number information and PIN code 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 code information comprises the following steps:
displaying virtual SIM card information used by the terminal history when receiving a selection instruction aiming at the virtual SIM card switching record frame on the virtual SIM card switching interface, determining the new virtual SIM card in the virtual SIM card information used by the terminal history, and acquiring the mobile phone number information and the PIN code information corresponding to the new virtual SIM card;
and generating the new virtual SIM card based on the mobile phone number information and the PIN code information.
2. The method of claim 1, wherein the obtaining mobile phone number information and PIN code information through the virtual SIM card switching interface and generating a new virtual SIM card based on the mobile phone number information and PIN code 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 code information.
3. The method of claim 1, wherein the obtaining mobile phone number information and PIN code information through the virtual SIM card switching interface and generating a new virtual SIM card based on the mobile phone number information and PIN code 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 code input box;
and generating the new virtual SIM card when the editing completion instruction executed for the mobile phone number input box and the PIN code input box is detected.
4. A method according to claim 3, wherein said generating the new virtual SIM card upon detecting an edit completion instruction performed for the mobile phone number entry box and the PIN code entry box comprises:
receiving a first editing instruction aiming at the mobile phone number input box;
identifying a first edit digit in the mobile phone number entry box;
when the first editing bit number is determined to be a first preset bit number, 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.
5. The method according to claim 4, wherein the generating the new virtual SIM card based on the mobile phone number information and the PIN code information upon detecting an edit completion instruction for the PIN code input box, comprises:
identifying a second edit digit in the PIN code input box;
when the second editing bit number is a second preset bit number, analyzing a PIN code in the PIN code input frame;
and 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.
6. The method of claim 1, wherein the obtaining mobile phone number information and PIN code information through the virtual SIM card switching interface, and generating a new virtual SIM card based on the mobile phone number information and PIN code information, further comprises:
and when the mobile phone number information and the PIN code information are determined to be wrong, displaying reminding information through a display unit.
7. A switching device for a virtual SIM card, the device comprising:
The display module is used for displaying the virtual SIM card switching interface;
the processing module is used for acquiring mobile phone number information and PIN code 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 code information;
the switching module is used for switching the current virtual SIM card to the new virtual SIM card;
the processing module comprises:
the second obtaining unit is used for displaying virtual SIM card information used by the terminal history when receiving a selection instruction for the virtual SIM card switching record frame on the virtual SIM card switching interface, determining the new virtual SIM card in the virtual SIM card information used by the terminal history, and obtaining the mobile phone number information and the PIN code information corresponding to the new virtual SIM card;
and a second generating unit, configured to generate the new virtual SIM card based on the mobile phone number information and the PIN code information.
8. A computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the method steps of any one of claims 1 to 6.
9. A terminal, comprising: the device 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-6.
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 CN111556482A (en) 2020-08-18
CN111556482B true 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)

Families Citing this family (1)

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

Citations (9)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106559550A (en) * 2015-09-30 2017-04-05 联发科技(新加坡)私人有限公司 SIM management method and electronic installation
US20180020076A1 (en) * 2016-04-25 2018-01-18 Abhinav Porwal Electronic and mobile platform to create, store and exchange business cards

Patent Citations (9)

* 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
CN105872948A (en) * 2016-03-25 2016-08-17 努比亚技术有限公司 Virtual SIM (Subscriber Identity Module) card realization device and method
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

Also Published As

Publication number Publication date
CN111556482A (en) 2020-08-18

Similar Documents

Publication Publication Date Title
CN110035180B (en) Card display method, device, terminal and storage medium
CN107889070B (en) Picture processing method, device, terminal and computer readable storage medium
CN107765959B (en) Background application program display method and terminal
CN107728885B (en) Multitask control method and device, mobile terminal and storage medium
WO2020156199A1 (en) Application login method and device, terminal and storage medium
CN107635078B (en) Game control method and device
WO2019233307A1 (en) User interface display method and apparatus, and terminal and storage medium
US20230035047A1 (en) Remote assistance method, device, storage medium, and terminal
CN109271208A (en) Parameter setting method, device, terminal and storage medium
CN109542878B (en) List creation method and device
US20120231775A1 (en) Mobile terminal and method for updating information of contacts
CN111556482B (en) Virtual SIM card switching method and device, storage medium and terminal
CN113438614B (en) Flow package obtaining method and device, terminal and storage medium
CN110572815A (en) Network access method, device, storage medium and terminal
CN110554885A (en) Sub-application generation method and device, electronic equipment and storage medium
CN108241515B (en) Application shortcut establishing method and terminal
CN111857480B (en) Icon alignment method and device, storage medium and electronic equipment
CN117555459A (en) Application group processing method and device, storage medium and electronic equipment
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
CN110913384A (en) Dial card switching method and device, storage medium and terminal
CN114189581A (en) Card locking method and device of embedded card, storage medium and terminal
CN114035870A (en) Terminal device, application resource control method and storage medium

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