CN113950044B - User identification card identification method, device, terminal equipment and storage medium - Google Patents

User identification card identification method, device, terminal equipment and storage medium Download PDF

Info

Publication number
CN113950044B
CN113950044B CN202111087774.9A CN202111087774A CN113950044B CN 113950044 B CN113950044 B CN 113950044B CN 202111087774 A CN202111087774 A CN 202111087774A CN 113950044 B CN113950044 B CN 113950044B
Authority
CN
China
Prior art keywords
card
physical
card slot
user identification
identification
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
CN202111087774.9A
Other languages
Chinese (zh)
Other versions
CN113950044A (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.)
Shenzhen Ucloudlink New Technology Co Ltd
Original Assignee
Shenzhen Ucloudlink New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ucloudlink New Technology Co Ltd filed Critical Shenzhen Ucloudlink New Technology Co Ltd
Priority to CN202111087774.9A priority Critical patent/CN113950044B/en
Publication of CN113950044A publication Critical patent/CN113950044A/en
Application granted granted Critical
Publication of CN113950044B publication Critical patent/CN113950044B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Abstract

The application provides a method, a device, terminal equipment and a storage medium for identifying a user identification card, and relates to the technical field of communication. The identification method comprises the following steps: when the physical user identification card is detected to be inserted into the card slot of the first device, detecting whether the card slot is occupied by the virtual user identification card or not; and if the card slot is occupied by the virtual user identification card, switching the mode of the card slot to a physical card mode, and executing the identification operation of the physical user identification card. According to the scheme provided by the application, when the card slot of the terminal equipment is occupied by the virtual user identification card, the physical user identification card inserted into the card slot subsequently can be identified normally.

Description

User identification card identification method, device, terminal equipment and storage medium
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a method and apparatus for identifying a subscriber identity module card, a terminal device, and a storage medium.
Background
Currently, in order to realize communication interaction based on terminal equipment, a card slot is generally arranged in the terminal equipment so as to construct a data channel based on a virtual user identification card or a physical user identification card corresponding to the card slot, and then the communication interaction is performed based on the data channel.
According to the implementation mode of the Modem on the current terminal device, the card slot can only support one mode of the virtual subscriber identity card or the physical subscriber identity card at the same time, that is, because the virtual subscriber identity card is a software module existing in the device and is not actually inserted in the card slot "occupied" in the device in a physical expression form, a user can easily insert or extract the physical subscriber identity card in the corresponding card slot. In this case, the physical user identification card inserted into the card slot cannot be identified, and the operation of identifying the physical user identification card must be performed until the virtual user identification card is withdrawn.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal device and a storage medium for identifying a user identification card, so as to solve the problem that a physical card inserted into the device cannot be identified when a card slot of the terminal device is occupied by a virtual user identification card at present.
In a first aspect, an embodiment of the present application provides a method for identifying a subscriber identity module card, which is applied to a first device, where the method includes:
when the physical user identification card is detected to be inserted into the card slot of the first device, detecting whether the card slot is occupied by the virtual user identification card or not;
And if the card slot is occupied by the virtual user identification card, switching the mode of the card slot to a physical card mode, and executing the identification operation of the physical user identification card.
In the method for identifying the user identification card provided by the embodiment of the application, when the fact that the physical user identification card is inserted into the card slot of the first device is detected, whether the card slot is occupied by the virtual user identification card is detected, if the card slot is occupied by the virtual user identification card, the mode of the card slot is switched to be a physical card mode, and the identification operation of the physical user identification card is executed, so that the physical user identification card inserted into the card slot is identified when the card slot of the terminal device is occupied by the virtual user identification card.
In a second aspect, an embodiment of the present application provides an identification device for a subscriber identity module card, where the identification device includes:
the detection module is used for detecting whether the card slot is occupied by the virtual user identification card or not when the physical user identification card is detected to be inserted into the card slot of the first device;
and the identification module is used for switching the mode of the card slot to a physical card mode if the card slot is occupied by the virtual user identification card, and executing the identification operation of the physical user identification card.
In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the identification method when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing a computer program that when executed by a processor implements the identification method.
In a fifth aspect, embodiments of the present application provide a computer program product, which, when run on a terminal device, causes the terminal device to perform the identification method according to any one of the first aspects above.
It will be appreciated that the advantages of the second to fifth aspects may be found in the relevant description of the first aspect, and are not described here again.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only one embodiment of the present application, and other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a flow chart of a method for identifying a subscriber identity module card according to an embodiment of the present application.
Fig. 2 is a schematic diagram of a method for detecting insertion of a physical subscriber identity card into a card slot according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a method for filtering interrupt information corresponding to a physical subscriber identity module card inserted into a card slot according to an embodiment of the present application.
Fig. 4 is a flowchart illustrating an identification operation performed by a physical subscriber identity card according to an embodiment of the present application.
Fig. 5 is a flowchart of a process for determining whether to perform an identification operation of a physical subscriber identity card according to an embodiment of the present application.
FIG. 6 is a flow chart of a process for recognizing the result of an operation according to an embodiment of the present application.
Fig. 7 is a flowchart illustrating a determination of whether to perform an identification operation of a physical subscriber identity card according to another embodiment of the present application.
Fig. 8 is a flow chart illustrating a process for identifying a result of an operation according to another embodiment of the present application.
Fig. 9 is a schematic structural diagram of an identification device of a subscriber identity module card according to an embodiment of the present application.
Fig. 10 is a schematic structural diagram of a terminal device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details.
As used in this specification and the appended claims, the term "if" may be construed as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
In addition, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
Reference in the specification to "one embodiment" or "an embodiment" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in an embodiment," "in another embodiment," and the like in various places throughout this specification are not necessarily all referring to the same embodiment, but mean "one or more, but not all, embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
In order to illustrate the technical solutions described in the present application, the following description is made by specific examples.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation method of a subscriber identity module card according to an embodiment of the present application. In this embodiment, the method for identifying a subscriber identity module card is used to identify a physical subscriber identity module card when the physical subscriber identity module card is inserted into a card slot of a terminal device during use of the terminal device.
The physical user identification card refers to an entity card for providing telephone and network access services for terminal equipment. For example a smart card with a real physical carrier, such as a SIM (Subscriber Identity Module) card.
It will be appreciated that based on the physical subscriber identity card, a data channel may be constructed for the terminal device to perform telephony and network access services.
The method for identifying the user identification card provided by the embodiment of the application can be applied to terminal equipment such as Mobile phones, tablet computers, wearable equipment, vehicle-mounted equipment, notebook computers, ultra-Mobile personal computer (UMPC), netbooks, personal digital assistants (personal digital assistant, PDA), mobile wireless routers (Mobile WiFi, MIFI) and the like, and the embodiment of the application does not limit the specific types of the terminal equipment.
In the current application, according to the implementation mode of a Modem (Modem) on the current terminal device, one card slot of the terminal device can only support one mode of the virtual card or the physical card at the same time. Therefore, in the using process of the terminal equipment, when the card slot of the terminal equipment is occupied by the virtual user identification card, in order to enable the virtual user identification card to be in a state of providing service for the terminal equipment, the electrified voltage of the card slot is adjusted, so that the voltage cannot reach the working voltage of a common physical user identification card, and information indicating that the card slot does not have the physical user identification card is fed back, and further a driver of the physical user identification card cannot know that the physical user identification card is inserted into the card slot according to the feedback information, and the identification of the physical user identification card cannot be completed. Therefore, in one scenario, if a physical subscriber identity card is inserted into a card slot by a method such as hot plug while the virtual subscriber identity card occupies the card slot, the physical subscriber identity card inserted into the card slot cannot be identified. Currently, in order to identify a physical user identification card inserted into a card slot during the period in which the virtual user identification card occupies the card slot, for a device having a screen, an active operation of a user is generally required so that the virtual user identification card exits from occupying the card slot to identify the physical user identification card. Or, for the non-screen device, the device needs to be restarted to enable the virtual user identification card to withdraw from the occupation of the card slot, so that the physical user identification card inserted into the card slot can be identified.
The Hot-plug card refers to a physical subscriber identity card inserted into a card slot of a terminal device without shutting down an operating system of the terminal device and without cutting off a power supply.
The virtual subscriber identity card refers to a data file capable of providing telephony and network access services to the terminal device. E.g. an e-SIM card that performs the same function as a physical subscriber identity card and has no actual physical carrier.
The terminal device is exemplified as MIFI device, and the MIFI device exposes only the card slot to the user in terms of hardware setting, so that when the physical user identification card is inserted into the card slot, the switching between the data traffic of the physical user identification card and the data traffic of the virtual user identification card in terms of service flow is realized, and therefore, when the user wants to use the data traffic of the physical user identification card, the physical user identification card can be inserted into the card slot exposed to the user. However, since the access procedure of the virtual subscriber identity module card is executed after the MIFI device is powered on, the card slot is occupied by the virtual subscriber identity module card after the MIFI device is powered on, so that the physical subscriber identity module card inserted into the card slot by the user cannot be actually identified by the system of the MIFI device, and the identification can be performed only by restarting the MIFI device, so that the purpose of switching between the data flow of the physical subscriber identity module card and the data flow of the virtual subscriber identity module card is achieved.
As another example, the terminal device is a mobile phone provided with two card slots. Because of the double slots, the mobile phone can support the scene of one physical user identification card and one virtual user identification card. However, in order to complete the authentication operation using the virtual subscriber identity card during the access process of the virtual subscriber identity card, the mobile phone can communicate based on the virtual subscriber identity card, and the authentication service of the virtual subscriber identity card is indirectly performed by using a data channel of an ignition card (usually referred to as a soft SIM card for providing a specific service or a physical SIM card of a specific type) in the terminal device, but when the authentication service of the virtual subscriber identity card is performed based on the ignition card, and when the ignition card (when the ignition card is a soft SIM card, the Modem adopts a virtual card mode) is in a use state, both card slots of the mobile phone are occupied by the virtual subscriber identity card, so that the mobile phone cannot identify the physical subscriber identity card inserted into the card slot. At this time, in order to identify the physical user identification card, only the virtual user identification card can be operated to be withdrawn or the mobile phone can be restarted, so that the process is complex and the use of the mobile phone is facilitated.
Therefore, in order to identify the physical subscriber identity card inserted into the card slot during the period that the virtual subscriber identity card occupies the card slot, the process is complicated, the efficiency of identifying the physical subscriber identity card is affected, the use of unfavorable equipment is not realized, and the physical subscriber identity card cannot be automatically identified during the period that the virtual subscriber identity card occupies the card slot.
Therefore, the identification method of the user identification card provided by the application can identify the physical user identification card inserted into the card slot during the period that the virtual user identification card occupies the card slot.
An exemplary method for identifying a subscriber identity module card provided in the present application is described below by means of a specific embodiment.
As shown in fig. 1, the method for identifying a subscriber identity module card according to the embodiment of the present application includes the following steps S11 to S12:
s11: when it is detected that the physical subscriber identity card is inserted into the card slot of the first device, it is detected whether the card slot is occupied by the virtual subscriber identity card.
As an example of the application, the first device is a certain terminal device with a card slot, and when detecting that the physical subscriber identity card is inserted into the card slot of the first device, it is detected whether the card slot is occupied by the virtual subscriber identity card.
In one embodiment, by detecting whether there is interrupt information generated when the physical subscriber identity card is inserted into the card slot, if the interrupt information is detected, it indicates that the physical subscriber identity card is inserted into the card slot.
In an embodiment, in a specific application scenario, the terminal device is MIFI equipment, and a Modem (Modem), a processor and a memory are built in the MIFI equipment, where the memory stores an operating system of the MIFI equipment, and the operating system at least includes an application layer, and the application layer includes an application program set according to requirements.
Referring to fig. 2, when the physical subscriber identity card is inserted into the card slot, the driver of the MIFI device acquires interrupt information when the physical subscriber identity card is inserted into the card slot, and reports the interrupt information to the modem, so that the modem reports the interrupt information to the processor through the APDU channel after the interrupt information is reported to the processor, so that the processor processes the received interrupt information based on an application program in an application layer of an operating system in the memory, that is, triggers to execute a judging operation or a detecting operation, and further determines whether the card slot is occupied by the virtual subscriber identity card.
Wherein the APDU (Application Protocol data unit) channel is an information unit transferred between the subscriber identity card and the subscriber identity card reader. For a specific reference, reference may be made to the definition of APDU channels in the prior art, for example to the description of APDU channels in the standard specification ISO 7816-4.
In an embodiment, in connection with fig. 3, in order to avoid waste of resources of the terminal device, after receiving the interrupt information, an application program of the application layer obtains access state information of the virtual subscriber identity card, so as to determine whether the virtual subscriber identity card is accessed to the terminal device based on the access state information of the virtual subscriber identity card. When the virtual user identification card is determined to be accessed to the terminal equipment, the virtual user identification card is indicated to occupy the card slot. Otherwise, when the virtual user identification card is determined not to be connected to the terminal equipment, the virtual user identification card is determined to be unoccupied in the card slot.
In an embodiment of the present application, in order to avoid resource waste of the terminal device, when it is detected that the physical subscriber identity card is inserted into the card slot of the first device, current usage information of the card slot is obtained, and whether the card slot is occupied by the virtual subscriber identity card is determined according to the current usage information.
As an example of the present application, the current usage information is used to describe the current usage status of the card slot. For example, the current usage information may include, but is not limited to, a current card slot mode, a card type of the occupied card slot, an occupied time period corresponding to the user identification card of the occupied card slot, and the like.
The card slot mode may be one or more of a virtual card mode or a physical card mode.
The card type occupying the card slot may be one of a virtual subscriber identity card or a physical subscriber identity card.
In this embodiment, in order to determine how to identify the physical subscriber identity card in the card slot, when it is detected that the physical subscriber identity card is inserted into the card slot of the first device, current usage information of the card slot is obtained, and whether the card slot is occupied by the virtual subscriber identity card is determined according to the current usage information.
In one embodiment, mode information of a current card slot and access state information of a virtual user identification card are obtained, and current use information of the card slot is determined.
In an embodiment, after the first device is started, it is detected whether the card slot of the first device is occupied by the virtual subscriber identity card according to a preset period.
The preset period can be set according to actual requirements.
In one embodiment, detection information is obtained, and whether a physical subscriber identity card is inserted into a card slot of the first device is determined according to the detection information.
In this embodiment, the detection information is used to describe the operation on the card slot. For example, when the user inserts the physical user identification card into the card slot, the user obtains the detection information based on the squeeze signal obtained by the squeeze sensor.
S12: if the card slot is occupied by the virtual user identification card, the mode of the card slot is switched to be a physical card mode, and the identification operation of the physical user identification card is executed.
As an example of the present application, the physical card mode refers to a mode of providing services to a terminal device using a physical subscriber identification card in a card slot. For example, after the SIM card is inserted into the card slot of the mobile phone, data support is provided for the mobile phone through the SIM card.
In this embodiment, when it is detected that the card slot is occupied by the virtual subscriber identity card, the mode of the card slot is a virtual card mode, that is, in this virtual card mode, in order to ensure that the terminal device can perform communication interaction based on the virtual subscriber identity card, the voltage corresponding to the card slot will be lower than the operating voltage of the physical subscriber identity card, so that even if the physical subscriber identity card is inserted into the card slot, the physical subscriber identity card inserted into the card slot will not be identified, so that, in order to ensure that the physical subscriber identity card inserted into the card slot during the period that the virtual subscriber identity card occupies the card slot can be identified and used, the mode of the card slot is switched to the physical card mode first, so as to perform the identification operation of the physical subscriber identity card in the physical card mode.
For example, in connection with fig. 4, when the card slot is detected to be occupied by the virtual subscriber identity card, in order to identify the physical subscriber identity card inserted into the card slot by the hot plug method, it is necessary to perform an identification operation of the physical subscriber identity card according to the hot plug detection flow. Specifically, in order to recover the state that the virtual user identification card occupies the card slot when the physical user identification card fails to be identified or the physical user identification card is identified beyond a time-out time, the terminal device further performs communication interaction based on the virtual user identification card, and firstly records attribute information of the virtual user identification card currently occupying the card slot. And then closing the virtual user identification card, switching the card slot mode into the physical card mode, and executing the identification operation of the physical user identification card through the card slot in the physical card mode. In the physical card mode, an application layer of an operating system of the terminal equipment monitors the card state change condition of the card slot so as to determine the identification condition of the physical user identification card according to the monitored card state change condition.
Wherein the attribute information of the virtual subscriber identity card may include, but is not limited to, one or more of identity information of the virtual subscriber identity card and access status information of the virtual subscriber identity card.
It is understood that, when the identification operation of the physical user identification card is performed, the result of the identification may include any one of the success of the identification, the failure of the identification, or the identification timeout.
In an embodiment, in connection with fig. 4, in order to facilitate the user terminal device to execute the identification of the physical user identification card, when the identification operation of the physical user identification card is executed and the identification of the physical user identification card is successful, first notification information prompting that the identification is successful is generated and fed back. Otherwise, when the identification of the physical user identification card fails or the identification is overtime, second notification information for prompting the identification failure is generated and fed back.
In an embodiment, when the identification operation of the physical subscriber identity card is performed, specifically, the physical subscriber identity card inserted into the card slot is subjected to step-by-step voltage identification, so that the applied voltage reaches the working voltage of the physical subscriber identity card, if the driver of the physical subscriber identity card obtains the information indicating that the physical subscriber identity card is in a normal running state, the state of the card slot indicates that the physical subscriber identity card is in the card slot at the moment.
For example, when the physical subscriber identity card inserted into the card slot is identified by applying a voltage step by step, the state information of the card slot acquired by the driver of the physical subscriber identity card may be one of absent, unknown, non-ready, pin, puk or ready. Wherein, the absent indicates that no physical subscriber identity card exists in the card slot, the unown indicates that no physical subscriber identity card exists in the uncertain card slot, whether the physical subscriber identity card exists in the non-ready, pin, puk or ready indicates that the physical subscriber identity card exists in the card slot according to the state of the subsequent card slot.
In one embodiment, if the card slot is not occupied by the virtual subscriber identity card, the identification operation of the physical subscriber identity card is directly performed.
By way of example, in connection with fig. 3 and 5, when it is determined that the virtual subscriber identity card is not connected to the terminal device, that is, it indicates that the virtual subscriber identity card does not occupy the card slot, at this time, the identification operation of the physical subscriber identity card may be performed through the card slot.
In an embodiment, if the card slot is not occupied by the virtual subscriber identity card, the identification operation of the physical subscriber identity card is directly executed within the timeout period according to the preset timeout period. If the physical user identification card is identified within the preset timeout period, ending the operation.
In an embodiment, the number of card slots included in the first device is at least one. For example, when the first device is a mobile phone, the number of corresponding slots in the mobile phone may be one, two, or three. And the like, a plurality of clamping grooves corresponding to the mobile phone can be formed.
In one embodiment of the present application, the card slot includes a first card slot and/or a second card slot.
Performing an identification operation of the physical subscriber identification card, comprising:
and executing the identification operation of the physical user identification card through the first card slot.
If the identification operation of the physical user identification card is failed through the first card slot, the identification operation of the physical user identification card is executed through the second card slot after the input card slot switching instruction is acquired.
As one example of the present application, a card slot switch instruction is used to indicate that a user needs to continue to perform the operational requirements of a physical subscriber identification card on a card slot.
In this embodiment, in order to identify the physical subscriber identity card inserted into the card slot, the identification operation of the physical subscriber identity card is performed through the first card slot, and then, when it is determined that the identification operation of the physical subscriber identity card performed through the first card slot fails, the identification operation of the physical subscriber identity card is performed through the second card slot after the input card slot switching instruction is acquired.
It can be appreciated that performing the identification operation of the physical subscriber identity card may include the following two scenarios:
scene 1: and if the first card slot and the second card slot are detected to be occupied by the virtual user identification card, executing the identification operation of the physical user identification card.
Specifically, the identification operation of the physical user identification card is executed through the first card slot, and if the identification operation of the physical user identification card is failed through the first card slot, the identification operation of the physical user identification card is executed through the second card slot after the input card slot switching instruction is acquired.
For example, for a terminal device provided with a double-card slot, since a core network communicatively connected to the terminal device may issue an authentication request to the virtual subscriber identity card from time to time during the process of using the virtual subscriber identity card by the terminal device, the terminal device needs to reply to a corresponding authentication result within a response time. Therefore, if the terminal device reserves one card slot for inserting the physical subscriber identity card, after the user inserts the physical subscriber identity card into the card slot, the subsequent authentication process can be rapidly performed based on the physical subscriber identity card, thereby ensuring that the virtual subscriber identity card slot occupying the other card slot can be used continuously. However, if the user does not insert the physical subscriber identity card into the card slot, the software program is required to start the ignition card initially used for completing the authentication process of the virtual subscriber identity card, and then the ignition card is used as a data channel for the virtual subscriber identity card, thereby completing the authentication. However, when authentication is required each time, an ignition card is started to complete one authentication, the subsequent authentication efficiency is low in this way, and the authentication result may not be recovered in the authentication time, so, in order to ensure the authentication efficiency of the virtual user identification card, when the ignition card is set to be in a resident state, all card slots of the terminal device are occupied by the virtual user identification card, so that the physical user identification card inserted into the card slot subsequently cannot be identified and used. Therefore, in order to identify the physical subscriber identity card and ensure authentication efficiency when the virtual subscriber identity card may need to be used continuously, the identification operation of the physical subscriber identity card is performed through the first card slot first, and if the identification operation of the physical subscriber identity card performed through the first card slot fails, the identification operation of the physical subscriber identity card is performed through the second card slot after the input card slot switching instruction is acquired.
Scene 2: and if the first card slot is detected to be occupied by the virtual user identification card, executing the identification operation of the physical user identification card.
Specifically, the mode of switching the first card slot is a physical card mode, the identification operation of the physical user identification card is executed through the first card slot, and if the identification operation of the physical user identification card is failed through the first card slot, the identification operation of the physical user identification card is executed through the second card slot after the input card slot switching instruction is acquired.
For example, referring to fig. 5, the terminal device is a mobile phone provided with a double card slot, and the user inserts the physical subscriber identity card into the second card slot of the mobile phone. When the identification operation of the physical user identification card is executed through the first card slot, monitoring a message notification of the identification operation, and if the message notification indicates that the physical user identification card does not exist in the first card slot, namely that the user possibly does not insert the physical user identification card into the first card slot, acquiring a card slot switching instruction input by the user for identifying the physical user identification card inserted by the user, and continuously executing the identification operation of the physical user identification card through the second card slot.
In one embodiment, when the card slot includes a plurality of card slots, the identifying operation of the physical subscriber identity card is performed, including: executing the identification operation of the physical user identification card through a preset clamping groove; if the identification operation of the physical user identification card is failed to be executed through the preset card slot, after the input card slot switching instruction is acquired, the identification operation of the physical user identification card is executed by determining one card slot from card slots which are not executed with the identification operation of the physical user identification card. And similarly, if one of the card slots except the preset card slot still fails to execute the identification operation of the physical user identification card, determining the card slot from the card slots which do not execute the identification operation of the physical user identification card, and continuing to execute the identification operation of the physical user identification card.
It is understood that if the instruction of stopping the identification inputted by the user is obtained during the identification operation of the physical user identification card by the card slot, the instruction of stopping the identification operation of the physical user identification card by the card slot is instructed.
In an embodiment, referring to fig. 6, if the identification operation of the physical subscriber identity card is performed through the first card slot, an identification failure prompt message is generated, and the user is prompted to select whether to insert the physical subscriber identity card through the identification failure prompt message.
If the user selects to insert the physical user identification card, a card slot switching instruction is generated according to the selection operation of the user.
If the user chooses not to insert the physical user identification card, the identification operation is ended.
In an embodiment, in conjunction with fig. 5, in order to facilitate the user to understand the identification situation of the physical subscriber identity card, if the physical subscriber identity card exists in the first card slot, third notification information is generated, and the virtual subscriber identity card is described to be closed by the third notification information, and the physical subscriber identity card is enabled.
In an embodiment, referring to fig. 5, if the physical subscriber identity card exists in the first card slot, after the input card slot switching instruction is acquired, the identification operation of the physical subscriber identity card is performed through the second card slot.
The terminal device is provided with two card slots, and if the user inserts two physical user identification cards into the first card slot and the second card slot respectively, the user can identify that the physical user identification card exists in the first card slot, and after the input card slot switching instruction is acquired, the identification operation of the physical user identification card is executed through the second card slot, so that the physical user identification card inserted into the second card slot can be identified.
In one embodiment, the card slot switch instruction may be a see existing card slot switch instruction. For example, a high-pass, a communication, an MTK, and other platforms provide a switching instruction between the virtual subscriber identity card and the physical subscriber identity card.
In one embodiment of the present application, if the card slot is already occupied by the virtual subscriber identity card, the mode of switching the card slot to the physical card mode and executing the identification operation of the physical subscriber identity card may include:
if the card slot is occupied by the virtual user identification card and the communication connection between the first device and the second device is detected, the mode of switching the card slot is a physical card mode, and the identification operation of the physical user identification card is executed.
In this embodiment, since the second device may perform communication based on the first device when the card slot is occupied by the virtual subscriber identity card and the first device is in communication connection with the second device, when the card slot of the first device is occupied by the virtual subscriber identity card, in order to avoid affecting the device usage experience of the user of the second device, the communication connection situation between the first device and the second device is considered, so that the mode of switching the card slot on the basis of the communication connection is the physical card mode, and the identification operation of the physical subscriber identity card is performed.
For example, in one specific application scenario, the first device is a MIFI device, and the second device is a mobile phone. In order to perform data communication interaction, the mobile phone is in communication connection with the MIFI device, so that when the fact that the physical user identification card is inserted into the clamping groove of the first device and the clamping groove is occupied by the virtual user identification is detected, whether other devices are in communication connection with the MIFI device or not is detected in order to avoid affecting the use of the mobile phone, the mode of switching the clamping groove is determined to be a physical card mode according to the communication connection condition of the MIFI device and the other devices, and the identification operation of the physical user identification card is executed.
In an application, the type of communication connection between the first device and the second device may include a wireless connection or a wired connection. The wireless connection may include a wireless hot spot or bluetooth, and the wired connection may include a data line, such as a universal serial bus (Universal Serial Bus, USB).
In an embodiment, when the card slot is occupied by the virtual subscriber identity card and no communication connection between the second device and the first device is detected, the mode of the card slot is switched to the physical card mode when the identification operation of the physical subscriber identity card is performed, and the data channel constructed by the virtual subscriber identity card is disconnected for a period of time, but when no communication connection between the second device and the first device is performed, the mode of the card slot can be switched to the physical card mode directly, and the identification operation of the physical subscriber identity card is performed.
As a possible implementation manner of this embodiment, if the card slot is already occupied by the virtual subscriber identity card and it is detected that the first device is communicatively connected to the second device, the mode of switching the card slot is a physical card mode, and the specific implementation manner of executing the identification operation of the physical subscriber identity card may include:
if the card slot is occupied by the virtual user identification card and the first device and the second device are detected to be in communication connection, whether data interaction exists between the first device and the second device within a specified duration is detected.
If the first equipment and the second equipment have data interaction in the appointed duration, after the identification instruction input by the user is acquired, the mode of the card slot is switched to be a physical card mode, and the identification operation of the physical user identification card is executed.
If the first equipment and the second equipment have no data interaction in the appointed duration, the mode of the switching card slot is a physical card mode, and the identification operation of the physical user identification card is executed.
As an example of the present application, the specified duration may be set as actually required. For example, the specified duration is set to 10s.
The identification instructions are used to describe whether the user needs to identify the physical user identification card inserted into the card slot.
In this embodiment, when the card slot is occupied by the virtual subscriber identity card, a data channel is constructed based on the virtual subscriber identity card when the first device communicates, and the mode corresponding to the card slot is the virtual card mode, so if the mode of randomly switching the card slot is the physical card mode, the data communication service corresponding to the virtual subscriber identity card may be disconnected, so that the first device is disconnected from the network, and cannot continue to provide the data communication service, and further, the second device in communication connection with the first device cannot continue to achieve the purpose of the data communication service through the first device. Therefore, the card slot is occupied by the virtual subscriber identity card, and the first device and the second device are detected to be in communication connection, so that in order to determine the time for executing the identification operation of the physical subscriber identity card, whether the first device and the second device have data interaction within a specified duration is detected, and the time for executing the identification operation of the physical subscriber identity card is determined according to the detected condition.
When the first device and the second device have data interaction in a specified duration, the second device is indicated to be in data communication based on the virtual user identification card occupying the card slot of the first device. Therefore, it is also necessary to determine whether an identification instruction input by the user is acquired, so as to know whether the user needs the physical user identification card based on the identification instruction, and further determine the timing of performing the identification operation of the physical user identification card.
For example, in connection with fig. 7, the first device is an MIFI device, the second device is a mobile phone, when there is data interaction between the mobile phone and the MIFI device within a specified duration, it indicates that the mobile phone is performing data communication at this time, and sends data to the MIFI device, so that the received data is sent to a device corresponding to a receiving address of the data based on the MIFI device, or the MIFI device forwards the received data to the mobile phone. Therefore, in order to avoid bringing bad network service experience to the user using the mobile phone, before executing the identification operation of the physical user identification card, it is further determined whether the identification instruction input by the user of the mobile phone is acquired, so that the timing of executing the identification operation of the physical user identification card is determined according to the time when the identification instruction is acquired.
If the first device and the second device have no data interaction within the specified duration, the second device does not perform data communication based on the virtual user identification card occupying the card slot of the first device, so that the use of the second device is not affected when the identification operation of the physical user identification card is performed at this time, for example, the second device is disconnected, and the data communication information cannot be uploaded.
In an embodiment, if the first device and the second device have data interaction within a specified duration, fourth notification information is generated, so as to prompt a user whether to detect the physical subscriber identity card inserted into the card slot and possibly disconnect the network when performing the identification operation of the physical subscriber identity card through the fourth notification information.
And generating an identification instruction according to the operation of executing the identification operation of the physical user identification card selected by the user.
It can be understood that if the user chooses not to perform the identification operation of the physical user identification card or the user does not perform the selection operation within a certain period of time, it means that the identification operation of the physical user identification card is not required to be performed, and the flow of the identification operation is ended.
Referring to fig. 5, in an embodiment of the present application, if the card slot is already occupied by the virtual subscriber identity card, the mode of switching the card slot to the physical card mode and executing the identification operation of the physical subscriber identity card may include:
if the card slot is occupied by the virtual user identification card, acquiring the use state information of the virtual user identification card, and determining whether the virtual user identification card is in an idle state according to the use state information.
If the virtual user identification card is in an idle state, the mode of the switching card slot is a physical card mode, and the identification operation of the physical user identification card is executed.
As an example of the present application, since the first device may perform data communication based on the virtual user identification card when the card slot has been occupied by the virtual user identification card at this time, in order to avoid affecting the use of the first device or the use of other devices communicatively connected to the first device, use state information of the virtual user identification card is acquired so as to know whether the virtual user identification card is in an idle state according to the use state information, and when it is determined that the virtual user identification card is in the idle state, the mode of the card slot is switched to a physical card mode, and a physical user identification card operation is performed.
It can be understood that when the virtual subscriber identity card is determined not to be in the idle state according to the usage state information, the usage state information of the virtual subscriber identity card is monitored continuously, and whether the virtual subscriber identity card is in the idle state or not is determined according to the obtained usage state information, so that the mode of switching the card slot is determined to be the physical card mode in time, and the time for the identification operation of the physical subscriber identity card is executed.
In an embodiment, if the virtual subscriber identity card is in an idle state, the card changing mode is a physical card mode, and the identifying operation of the physical subscriber identity card is performed.
In an embodiment, if the virtual subscriber identity card is in an idle state and the physical subscriber identity card is present in the identity card slot, the data channel of the first device is constructed based on the physical subscriber identity card.
It can be understood that when the data channel of the first device is constructed based on the physical user identification card, the virtual user identification card is deactivated, that is, the virtual card driver corresponding to the virtual user identification card stops running, and the physical user identification card is driven by the physical card driver to construct the data channel of the first device.
In this embodiment, in order to avoid affecting the use of the first device or the use of other devices communicatively connected to the first device, the use state information of the virtual subscriber identity card is acquired, so as to know whether the virtual subscriber identity card is in an idle state according to the use state information, and when it is determined that the virtual subscriber identity card is in the idle state, the mode of the card slot is switched to a physical card mode, and the physical subscriber identity card operation is performed.
In one embodiment of the present application, after the mode of switching the card slot is the physical card mode and the identification operation of the physical subscriber identity card is performed, the method further includes:
if the identification operation of the physical user identification card is failed, the identification operation of the physical user identification card is continuously executed within the preset timeout period.
As an example of the present application, the timeout time may be preset as required.
When the identification operation of the physical user identification card is executed, the identification operation of the physical user identification card may be executed due to the first device, so that in order to avoid missing the identification of the physical user identification card, after the identification operation of the physical user identification card is failed, the identification operation of the physical user identification card is continuously executed within a preset timeout period, so that whether the physical user identification card exists in the card slot or not is determined according to the identification condition within the preset timeout period.
It can be understood that if the identification is successful within the preset timeout period, it means that the physical subscriber identity card exists in the card slot, otherwise, the physical subscriber identity card does not exist in the card slot.
In an embodiment, if the identification operation of the physical subscriber identity card fails, starting a timeout timer, starting to count a preset timeout period, and continuing to perform the identification operation of the physical subscriber identity card, so as to determine whether the physical subscriber identity card exists in the card slot according to the identification condition within the preset timeout period.
In an embodiment, if the identification operation of the physical subscriber identity card performed by the first card slot fails, the identification operation of the physical subscriber identity card is performed by the first card slot continuously within a preset timeout period.
If the identification operation of the physical user identification card is failed to be executed through the first card slot within the preset timeout period, the identification operation of the physical user identification card is executed through the second card slot after the input card slot switching instruction is acquired.
If the identification operation of the physical user identification card is failed to be executed through the second card slot, the identification operation of the physical user identification card is continuously executed through the second card slot within the preset timeout period.
In an embodiment, referring to fig. 8, after the mode of switching the card slot is the physical card mode and performing the identification operation of the physical user identification card, mode selection information is generated, where the mode selection information is used to instruct the user to select the mode of the card slot.
In this embodiment, the mode selection prompt information is generated, so that a user can decide whether to use the physical user identification card just inserted by the user to construct the data channel of the first device or use the virtual user identification card to construct the data channel of the first device according to the mode selection information, and then perform communication interaction based on the constructed data channel.
It will be appreciated that after the identification operation of the physical subscriber identity card is performed, the mode selection information is generated, whether the identification operation is performed or the identification is successful. If the user selects the virtual card mode, the user is indicated to wish to continue the virtual user identification card to construct a data channel of the first device, and communication interaction is performed based on the data channel. If the user selects the physical card mode, the user is indicated to wish to construct a data channel of the first device based on the physical user identification card, and communication interaction is performed based on the data channel.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic of each process, and should not limit the implementation process of the embodiment of the present application in any way.
Fig. 9 shows a block diagram of a user identification card identifying apparatus according to an embodiment of the present application, and for convenience of explanation, only a portion related to an embodiment of the present application is shown.
Referring to fig. 9, the apparatus 100 includes:
and the detection module 101 is used for detecting whether the card slot is occupied by the virtual user identification card when the physical user identification card is detected to be inserted into the card slot of the first device.
And the identification module 102 is configured to switch the card slot mode to a physical card mode if the card slot is occupied by the virtual subscriber identity card, and perform an identification operation of the physical subscriber identity card.
In an embodiment, the card slot comprises a first card slot and/or a second card slot.
The identification module 102 is further configured to perform an identification operation of the physical subscriber identity card through the first card slot; if the identification operation of the physical user identification card is failed through the first card slot, the identification operation of the physical user identification card is executed through the second card slot after the input card slot switching instruction is acquired.
In an embodiment, the identification module 102 is further configured to switch the card slot mode to a physical card mode and perform an identification operation of the physical subscriber identity card if the card slot is occupied by the virtual subscriber identity card and the communication connection between the first device and the second device is detected.
In an embodiment, the identification module 102 is further configured to detect whether there is data interaction between the first device and the second device within a specified duration if the card slot is occupied by the virtual user identification card and the first device is detected to be communicatively connected to the second device;
the identification module 102 is further configured to switch a card slot mode to a physical card mode after acquiring an identification instruction input by a user if the first device and the second device have data interaction within a specified duration, and execute an identification operation of a physical user identification card;
The identification module 102 is further configured to switch the card slot mode to a physical card mode if the first device and the second device have no data interaction within a specified duration, and execute an identification operation of the physical user identification card.
In an embodiment, the identification module 102 is further configured to obtain usage status information of the virtual subscriber identity card if the card slot is occupied by the virtual subscriber identity card, and determine whether the virtual subscriber identity card is in an idle state according to the usage status information;
the identification module 102 is further configured to switch the card slot mode to a physical card mode if the virtual subscriber identity card is in an idle state, and execute an identification operation of the physical subscriber identity card.
In an embodiment, the identification module 102 is further configured to, if the identification operation performed on the physical subscriber identity card fails, continue to perform the identification operation on the physical subscriber identity card within a preset timeout period.
In an embodiment, the detection module 101 is further configured to obtain current usage information of the card slot;
and determining whether the card slot is occupied by the virtual user identification card according to the current use information.
The identification device for a subscriber identity module provided in this embodiment is configured to implement any one of the identification methods for the subscriber identity module in the method embodiment, where the functions of each module may refer to corresponding descriptions in the method embodiment, and the implementation principle and technical effects are similar, and are not repeated herein.
Fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 10, the terminal device 6 of this embodiment includes: at least one processor 60 (only one processor is shown in fig. 10), a memory 61 and a computer program 62 stored in the memory 61 and executable on the at least one processor 60, the processor 60 implementing the steps in any of the various user identification card identification method embodiments described above when executing the computer program 62.
The terminal device 6 may be a router, a mobile phone, a desktop computer, a notebook, a palm computer, a cloud server, etc. The terminal device may include, but is not limited to, a processor 60, a memory 61. It will be appreciated by those skilled in the art that fig. 10 is merely an example of the terminal device 6 and is not meant to be limiting as to the terminal device 6, and may include more or fewer components than shown, or may combine certain components, or different components, such as may also include input-output devices, network access devices, etc. In an embodiment, the terminal device may also include a modem.
The processor 60 may be a central processing unit (Central Processing Unit, CPU), the processor 60 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may in an embodiment be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 61 may also be an external storage device of the terminal device 6 in another embodiment, such as a plug-in hard disk provided on the terminal device 6, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like. Further, the memory 61 may also include both an internal storage unit and an external storage device of the terminal device 6. The memory 61 is used to store an operating system, application programs, boot loader (BootLoader), data, and other programs and the like, such as program codes of computer programs and the like. The memory 61 may also be used to temporarily store data that has been output or is to be output.
In some embodiments, the terminal device further comprises a Modem (Modem)
It should be noted that, because the content of information interaction and execution process between the above devices/units is based on the same concept as the method embodiment of the present application, specific functions and technical effects thereof may be referred to in the method embodiment section, and will not be described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
The embodiment of the application also provides a terminal device, which comprises: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps in any of the various method embodiments described above when the computer program is executed.
The embodiments of the present application also provide a computer readable storage medium storing a computer program, where the computer program can implement the steps in the above-mentioned method embodiments when executed by a processor.
The embodiments of the present application provide a computer program product which, when run on a terminal device, causes the terminal device to perform the steps of the method embodiments described above.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to an apparatus/terminal device, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (RAM, random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (8)

1. A method for identifying a subscriber identity module card, applied to a first device, the method comprising:
when the physical user identification card is detected to be inserted into the card slot of the first device, detecting whether the card slot is occupied by the virtual user identification card or not; the clamping grooves comprise a first clamping groove and/or a second clamping groove;
If the card slot is occupied by the virtual user identification card, switching the mode of the card slot to a physical card mode, and executing the identification operation of the physical user identification card;
and if the card slot is occupied by the virtual user identification card, switching the mode of the card slot to a physical card mode, and executing the identification operation of the physical user identification card, wherein the method comprises the following steps:
if the card slot is occupied by the virtual user identification card, acquiring the use state information of the virtual user identification card, and determining whether the virtual user identification card is in an idle state according to the use state information;
if the virtual user identification card is in an idle state, switching the mode of the card slot to a physical card mode, and executing the identification operation of the physical user identification card; the executing the identification operation of the physical user identification card comprises the following steps:
executing the identification operation of the physical user identification card through the first card slot;
if the identification operation of the physical subscriber identity card is failed to be executed through the first card slot, the identification operation of the physical subscriber identity card is executed through the second card slot after the input card slot switching instruction is acquired.
2. The method of claim 1, wherein switching the card slot mode to a physical card mode if the card slot is already occupied by the virtual subscriber identity card, and performing the identification operation of the physical subscriber identity card, comprises:
if the card slot is occupied by the virtual user identification card and the communication connection between the first device and the second device is detected, the mode of the card slot is switched to be a physical card mode, and the identification operation of the physical user identification card is executed.
3. The method of claim 2, wherein if the card slot is occupied by the virtual subscriber identity card and the first device is detected to be communicatively connected to the second device, switching the card slot mode to a physical card mode and performing the identification operation of the physical subscriber identity card comprises:
if the card slot is occupied by the virtual user identification card and the first equipment is detected to be in communication connection with the second equipment, detecting whether data interaction exists between the first equipment and the second equipment within a specified duration;
if the first equipment and the second equipment have data interaction in the appointed duration, after an identification instruction input by a user is acquired, switching the mode of the card slot to a physical card mode, and executing the identification operation of the physical user identification card;
If the first equipment and the second equipment have no data interaction in the appointed duration, the mode of the card slot is switched to be a physical card mode, and the identification operation of the physical user identification card is executed.
4. The identification method of claim 1, further comprising, after switching the card slot mode to a physical card mode and performing the identification operation of the physical subscriber identification card:
if the identification operation of the physical user identification card is failed, continuing to execute the identification operation of the physical user identification card within the preset timeout time.
5. The identification method of any of claims 1-4, wherein the detecting whether the card slot has been occupied by a virtual subscriber identification card comprises:
acquiring current use information of the clamping groove;
and determining whether the card slot is occupied by the virtual user identification card according to the current use information.
6. An identification device for a subscriber identification card, the identification device comprising:
the detection module is used for detecting whether the card slot is occupied by the virtual user identification card or not when the physical user identification card is detected to be inserted into the card slot of the first device; the clamping grooves comprise a first clamping groove and/or a second clamping groove;
The identification module is used for switching the mode of the card slot to a physical card mode if the card slot is occupied by the virtual user identification card, and executing the identification operation of the physical user identification card; and if the card slot is occupied by the virtual user identification card, switching the mode of the card slot to a physical card mode, and executing the identification operation of the physical user identification card, wherein the method comprises the following steps:
if the card slot is occupied by the virtual user identification card, acquiring the use state information of the virtual user identification card, and determining whether the virtual user identification card is in an idle state according to the use state information;
if the virtual user identification card is in an idle state, switching the mode of the card slot to a physical card mode, and executing the identification operation of the physical user identification card; the executing the identification operation of the physical user identification card comprises the following steps:
executing the identification operation of the physical user identification card through the first card slot;
if the identification operation of the physical subscriber identity card is failed to be executed through the first card slot, the identification operation of the physical subscriber identity card is executed through the second card slot after the input card slot switching instruction is acquired.
7. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the identification method according to any one of claims 1 to 5 when the computer program is executed.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements the identification method according to any one of claims 1 to 5.
CN202111087774.9A 2021-09-16 2021-09-16 User identification card identification method, device, terminal equipment and storage medium Active CN113950044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111087774.9A CN113950044B (en) 2021-09-16 2021-09-16 User identification card identification method, device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111087774.9A CN113950044B (en) 2021-09-16 2021-09-16 User identification card identification method, device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113950044A CN113950044A (en) 2022-01-18
CN113950044B true CN113950044B (en) 2024-03-29

Family

ID=79328712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111087774.9A Active CN113950044B (en) 2021-09-16 2021-09-16 User identification card identification method, device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113950044B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117528478A (en) * 2022-07-29 2024-02-06 华为技术有限公司 Access method and device of virtual user identification card

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635973A (en) * 2016-03-14 2016-06-01 福州瑞芯微电子股份有限公司 Network access system and method based on virtual subscriber identity module (SIM)
CN105872948A (en) * 2016-03-25 2016-08-17 努比亚技术有限公司 Virtual SIM (Subscriber Identity Module) card realization device and method
CN107743303A (en) * 2017-09-30 2018-02-27 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer-readable recording medium
CN107770766A (en) * 2017-09-30 2018-03-06 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer-readable recording medium
CN108668333A (en) * 2018-07-09 2018-10-16 深圳市优克联新技术有限公司 A kind of switching method and system of mobile network
CN109151803A (en) * 2018-08-31 2019-01-04 星汉智能科技股份有限公司 Information interacting method and device, intelligent card chip and terminal
CN109195189A (en) * 2018-10-08 2019-01-11 深圳市广和通无线股份有限公司 Double card switching method and apparatus
CN110086491A (en) * 2019-04-30 2019-08-02 北京智芯微电子科技有限公司 SIM and eSIM hardware device for intelligently switching in telecommunication unit
CN110621013A (en) * 2019-08-30 2019-12-27 华为技术有限公司 SIM module management method and electronic equipment
CN110798836A (en) * 2019-10-30 2020-02-14 中国移动通信集团江苏有限公司 Switching method and device for eSIM (embedded subscriber identity Module) card terminal equipment
CN211063613U (en) * 2019-12-25 2020-07-21 深圳市新国都通信技术有限公司 eSIM device with switching circuit
CN112055424A (en) * 2019-06-07 2020-12-08 三星电子株式会社 Electronic device and method for switching electronic device
CN113055857A (en) * 2019-12-28 2021-06-29 华为技术有限公司 Communication connection method and electronic equipment
CN113498124A (en) * 2020-03-20 2021-10-12 华为技术有限公司 SIM card and eSIM card switching method and electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106664547B (en) * 2015-04-09 2019-12-24 华为技术有限公司 Mobile terminal, maintenance server, and maintenance method and device of virtual SIM card
WO2021109117A1 (en) * 2019-12-06 2021-06-10 深圳市优克联新技术有限公司 Virtual card obtaining method and device, and user terminal

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105635973A (en) * 2016-03-14 2016-06-01 福州瑞芯微电子股份有限公司 Network access system and method based on virtual subscriber identity module (SIM)
CN105872948A (en) * 2016-03-25 2016-08-17 努比亚技术有限公司 Virtual SIM (Subscriber Identity Module) card realization device and method
CN107743303A (en) * 2017-09-30 2018-02-27 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer-readable recording medium
CN107770766A (en) * 2017-09-30 2018-03-06 广东欧珀移动通信有限公司 Information processing method, device, mobile terminal and computer-readable recording medium
CN108668333A (en) * 2018-07-09 2018-10-16 深圳市优克联新技术有限公司 A kind of switching method and system of mobile network
CN109151803A (en) * 2018-08-31 2019-01-04 星汉智能科技股份有限公司 Information interacting method and device, intelligent card chip and terminal
CN109195189A (en) * 2018-10-08 2019-01-11 深圳市广和通无线股份有限公司 Double card switching method and apparatus
CN110086491A (en) * 2019-04-30 2019-08-02 北京智芯微电子科技有限公司 SIM and eSIM hardware device for intelligently switching in telecommunication unit
CN112055424A (en) * 2019-06-07 2020-12-08 三星电子株式会社 Electronic device and method for switching electronic device
CN110621013A (en) * 2019-08-30 2019-12-27 华为技术有限公司 SIM module management method and electronic equipment
CN110798836A (en) * 2019-10-30 2020-02-14 中国移动通信集团江苏有限公司 Switching method and device for eSIM (embedded subscriber identity Module) card terminal equipment
CN211063613U (en) * 2019-12-25 2020-07-21 深圳市新国都通信技术有限公司 eSIM device with switching circuit
CN113055857A (en) * 2019-12-28 2021-06-29 华为技术有限公司 Communication connection method and electronic equipment
CN113498124A (en) * 2020-03-20 2021-10-12 华为技术有限公司 SIM card and eSIM card switching method and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Satya Ganesh Nutan Dev C ; et al.A method to boost throughput in 5G and 4G mobiles using MultiSIM subscription on the same network.《2021 IEEE International Conference on Electronics, Computing and Communication Technologies (CONECCT)》.2021,全文. *
张刚 ; 徐鑫.基于Android平台虚拟SIM卡的设计与实现.《电子技术应用》.2018,全文. *

Also Published As

Publication number Publication date
CN113950044A (en) 2022-01-18

Similar Documents

Publication Publication Date Title
CN110267314B (en) Method and device for switching network slices
CN111506283B (en) Image display method, device and system
EP2608595A1 (en) Mobile terminal and failure recovery method thereof
CN112566156B (en) Method for automatically testing WiFi module compatibility and electronic equipment
CN112738046B (en) One-key login method, terminal and system server
CN113490192B (en) Bluetooth connection method, device, terminal equipment and readable storage medium
CN113950044B (en) User identification card identification method, device, terminal equipment and storage medium
WO2023143275A1 (en) Data processing method and system
CN112351471A (en) Method for accessing device to gateway, gateway device and computer readable storage medium
CN112579356A (en) Fault processing method and server
CN106557404B (en) Application control method and mobile terminal
WO2022089313A1 (en) Communication processing method and apparatus, storage medium, chip and related device
CN107508784B (en) Application login method and terminal equipment
CN115407116A (en) Method and device for determining charging current
WO2014153912A1 (en) Method and device for displaying and processing application name of multimode card of mobile terminal
CN106686627B (en) WiFi/hotspot starting method and device
US20150134944A1 (en) Data terminal running mode switching method, device, and data terminal
CN111372224A (en) Method, device and equipment for sharing seed code number by eSIM (embedded subscriber identity Module)
WO2015021827A1 (en) Method,device and system for offline reconnection of a web application
CN115469964A (en) Method and device for determining mapping relation between block device and virtual machine disk character
CN111176693B (en) Upgrading method of digital television system
WO2011160478A1 (en) Mobile terminal and method for multiplexing packet switching service
WO2008104601A2 (en) Method of managing command execution in an electronic token
CN111753309A (en) Display card switching method, server and storage medium
CN113596841B (en) Authentication control method and system for user identity identification card

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