CN111372235B - Identification card configuration information determination method and device, computer equipment and storage medium - Google Patents

Identification card configuration information determination method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111372235B
CN111372235B CN202010107363.0A CN202010107363A CN111372235B CN 111372235 B CN111372235 B CN 111372235B CN 202010107363 A CN202010107363 A CN 202010107363A CN 111372235 B CN111372235 B CN 111372235B
Authority
CN
China
Prior art keywords
current
card
subscriber identity
identification card
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
CN202010107363.0A
Other languages
Chinese (zh)
Other versions
CN111372235A (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.)
Fibocom Wireless Inc
Original Assignee
Fibocom Wireless Inc
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 Fibocom Wireless Inc filed Critical Fibocom Wireless Inc
Priority to CN202010107363.0A priority Critical patent/CN111372235B/en
Publication of CN111372235A publication Critical patent/CN111372235A/en
Application granted granted Critical
Publication of CN111372235B publication Critical patent/CN111372235B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier

Landscapes

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

Abstract

The application relates to a method and a device for determining configuration information of an identification card, computer equipment and a storage medium. The method comprises the following steps: sending a subscriber identity module switching instruction for switching the subscriber identity module to a target communication module so that the target communication module switches the subscriber identity module according to the subscriber identity module switching instruction and generates current subscriber identity module information corresponding to the current subscriber identity module; after the user identification card switching instruction is sent, sending a current information obtaining instruction for obtaining the current user identification card information to the target communication module; receiving the current user identification card information returned by the target communication module; confirming the current state corresponding to the current user identification card according to the current user identification card information; and determining the configuration information of the identification card corresponding to the target communication module according to the current state. By adopting the method, the management efficiency of the configuration information of the subscriber identity module card can be improved.

Description

Identification card configuration information determination method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for determining identification card configuration information, a computer device, and a storage medium.
Background
With the development of communication technology, products based on a communication Module are more and more, and with the development of a Subscriber Identity Module (SIM), the application of the SIM is more and more widespread in the communication Module.
At present, in order to enable a user to know configuration information of a user identification card in a communication module used, a corresponding driver needs to be configured for the communication module, and the configuration information of the user identification card in the communication module is provided through the driver.
However, when the user demands different communication modules or the product demands different communication modules, the configuration of the subscriber identity cards in the communication modules may be different, and in order to enable the user to know the configuration information of the subscriber identity cards in the communication modules, different drivers need to be provided for different communication modules, which results in low management efficiency of the configuration information of the subscriber identity cards.
Disclosure of Invention
In view of the above, it is necessary to provide an identification card configuration information determination method, an identification card configuration information determination apparatus, a computer device, and a storage medium, which can improve the management efficiency of the user identification card configuration information, in order to solve the technical problem of low management efficiency of the user identification card configuration information.
A method of identifying card configuration information determination, the method comprising: sending a subscriber identity module switching instruction for switching the subscriber identity module to a target communication module so that the target communication module switches the subscriber identity module according to the subscriber identity module switching instruction and generates current subscriber identity module information corresponding to the current subscriber identity module; after the user identification card switching instruction is sent, sending a current information obtaining instruction for obtaining the current user identification card information to the target communication module; receiving the current user identification card information returned by the target communication module; confirming the current state corresponding to the current user identification card according to the current user identification card information; and determining the configuration information of the identification card corresponding to the target communication module according to the current state.
In some embodiments, the determining, according to the current subscriber identity module information, a current state corresponding to the current subscriber identity module includes: comparing the current functional state identification in the current user identification card information with a preset functional state identification to obtain a first comparison result; and confirming the current state corresponding to the current user identification card according to the first comparison result.
In some embodiments, the information of the current subscriber identity module further carries a current identity module type identifier, and the determining the current state corresponding to the current subscriber identity module according to the first comparison result includes: comparing the current identification card type identification with the virtual identification card type identification to obtain a second comparison result; and confirming the current state corresponding to the current user identification card according to the first comparison result and the second comparison result.
In some embodiments, the current state includes a presence state and a missing state, and the confirming the current state corresponding to the current subscriber identity card according to the first comparison result and the second comparison result includes: when the first comparison result and the second comparison result are consistent, sending an identification card identification acquisition request for acquiring the identification card identification of the current user to the target communication module; receiving the current user identification card identifier returned by the target communication module; and when the characteristics corresponding to the current user identification card identification meet the preset identification card identification characteristics, confirming that the current state is the existing state.
In some embodiments, the identification card configuration information includes an identification card number identifier, where the identification card number identifier is one of a single-card identifier and a double-card identifier, and the determining, according to the current state, the identification card configuration information corresponding to the target communication module includes: when the current state is the existing state, determining that the identification card number identification corresponding to the target communication module is a double-card identification; and when the current state is the missing state, determining that the identification card number identification corresponding to the target communication module is a single card identification.
In some embodiments, the sending the subscriber identity card switching instruction for switching the subscriber identity card to the target communication module includes: acquiring a target registry for recording configuration information of the identification card; inquiring the target registry to obtain an inquiry result; and when the inquiry result is that the identification card configuration information is missing, sending a user identification card switching instruction for switching the user identification card to the target communication module.
An identification card configuration information determination apparatus, the apparatus comprising: the subscriber identity module switching instruction sending module is used for sending a subscriber identity module switching instruction for switching the subscriber identity module to a target communication module so that the target communication module switches the subscriber identity module according to the subscriber identity module switching instruction and generates current subscriber identity module information corresponding to the current subscriber identity module; a current information obtaining instruction sending module, configured to send a current information obtaining instruction for obtaining information of the current subscriber identity module to the target communication module after the subscriber identity module switching instruction is sent; a current subscriber identity module information receiving module for receiving the current subscriber identity module information returned by the target communication module; the current state confirmation module is used for confirming the current state corresponding to the current user identification card according to the current user identification card information; and the identification card configuration information determining module is used for determining the identification card configuration information corresponding to the target communication module according to the current state.
In some embodiments, the current subscriber identity module carries a current functional status identifier, and the current status confirmation module includes: a first comparison result obtaining unit, configured to compare a current function state identifier in the current subscriber identity module card information with a preset function state identifier, to obtain a first comparison result; and the current state confirmation unit is used for confirming the current state corresponding to the current user identification card according to the first comparison result.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above identification card configuration information determination method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the above-mentioned identification card configuration information determination method.
The identification card configuration information determining method, the identification card configuration information determining device, the computer equipment and the storage medium send a subscriber identification card switching instruction for switching the subscriber identification card to the target communication module, so that the target communication module switches the subscriber identification card according to the subscriber identification card switching instruction, generates current subscriber identification card information corresponding to the current subscriber identification card, sends a current information obtaining instruction for obtaining the current subscriber identification card information to the target communication module, receives the current subscriber identification card information returned by the target communication module, confirms the current state corresponding to the current subscriber identification card according to the current subscriber identification card information, and determines the identification card configuration information corresponding to the target communication module according to the current state. Therefore, the identification card configuration information corresponding to the target communication module can be rapidly determined through the current user identification card information, and the management efficiency of the user identification card configuration information is improved.
Drawings
FIG. 1 is a diagram of an application scenario of a method for identifying card configuration information determination in some embodiments;
FIG. 2 is a schematic flow chart diagram of a method for identifying card configuration information determination in some embodiments;
FIG. 3 is a flow diagram illustrating a method for identifying card configuration information in some embodiments;
FIG. 4 is a schematic flow chart diagram illustrating a method for identifying card configuration information in some embodiments;
FIG. 5 is a flow diagram illustrating a method for identifying card configuration information in some embodiments;
FIG. 6 is a flow diagram illustrating a method for identifying card configuration information in some embodiments;
FIG. 7 is a flow diagram illustrating a method for identifying card configuration information in some embodiments;
FIG. 8 is a schematic flow chart diagram illustrating a method for identifying card configuration information determination in some embodiments;
FIG. 9 is a block diagram of an identification card configuration information determination device in some embodiments;
FIG. 10 is a diagram of the internal structure of a computer device in some embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The identification card configuration information determining method provided by the application can be applied to the application environment shown in fig. 1. The terminal 102 has a communication module 104 and a driver 106 corresponding to the target communication module 104. The target communication module 104 and the driver 106 may communicate via PCIe (peripheral component interconnect express) or USB (Universal Serial Bus). The USB is, for example, USB 3.0. Of course, the target communication module 104 and the driver 106 may communicate in other ways, which is not limited herein. The driver 106 may facilitate an operating system (e.g., a Windows system) on the terminal 102 to communicate with the target communication module 104.
Specifically, the driver may send a subscriber identity module card switching instruction for switching the subscriber identity module card to the target communication module, the target communication module may switch the subscriber identity module card according to the subscriber identity module card switching instruction, generate current subscriber identity module card information corresponding to the current subscriber identity module card, then send a current information obtaining instruction for obtaining the current subscriber identity module card information to the target communication module, the target communication module may obtain the current subscriber identity module card information according to the received current information obtaining instruction, and send the current subscriber identity module card information to the driver, the driver may confirm a current state corresponding to the current subscriber identity module card according to the received current subscriber identity module card information, and determine identity module configuration information corresponding to the target communication module according to the current state. The terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, and tablet computers with Windows systems. Wherein the target communication module 104 supports dual-card single standby. Where dual card single standby means that two cards can be installed but only one card can be used at the same time, i.e. only one card is active (i.e. active) at the same time. The target communication Module 104 includes at least one conventional physical Subscriber Identity Module (SIM), and may also, but need not, include an eSIM (Embedded-SIM) card. When both a conventional physical SIM and an eSIM are included in the target communication module 104, the conventional physical SIM is active (activated) by default. The concept of eSIM cards refers to embedding a conventional SIM card onto a mobile communication module rather than being added to the device as a separate removable component, without the user having to insert a physical SIM card. The eSIM card allows a user to more flexibly select an operator package or change an operator at any time without unlocking the device or purchasing a new device. With the increasing popularization of mobile communication technology, products based on mobile communication modules are more and more, products with built-in esims in the mobile communication modules are more and more, the use cost of mobile equipment is saved for common consumers and enterprise users, and convenience and safety are improved.
In some embodiments, as shown in fig. 2, an identification card configuration information determining method is provided, which is described by taking the application of the method to the driver 106 in fig. 1 as an example, and includes the following steps:
s202, sending a subscriber identity module switching instruction for switching the subscriber identity module to the target communication module, so that the target communication module switches the subscriber identity module according to the subscriber identity module switching instruction and generates current subscriber identity module information corresponding to the current subscriber identity module.
Specifically, the target communication module refers to a module having a communication function, and may be, for example, a module having a mobile communication function, which is simply referred to as a mobile communication module, for example, a 4G module, or the like. The subscriber Identity card refers to various types of SIM (subscriber Identity module) cards, such as a conventional SIM card or an eSIM card.
At least one subscriber identity card is present in the target communication module. The subscriber identity card switching instruction is used for instructing the target communication module to switch the subscriber identity card, and may be an at (authorization) instruction. When a plurality of subscriber identity cards exist in the target communication module, only one subscriber identity card is valid, and other subscriber identity cards are invalid. Switching subscriber identification cards refers to changing a valid subscriber identification card to invalid and changing a designated invalid subscriber identification card to valid. And the current subscriber identity module card is the corresponding subscriber identity module card when the switching operation is completed. For example, suppose that 2 subscriber identity cards, namely the subscriber identity card 1 and the subscriber identity card 2, exist in the target communication module, the subscriber identity card 1 is valid and the subscriber identity card 2 is invalid, when the target communication module receives a subscriber identity card switching instruction, the target communication module sets the subscriber identity card 1 to be invalid and sets the subscriber identity card 2 to be valid, that is, the subscriber identity card 1 is switched to the subscriber identity card 2, and the subscriber identity card 2 is the current subscriber identity card.
The current subscriber Identity card information may include one or more of a subscriber Identity card identifier, a manufacturer serial number, a product serial number, and function status information corresponding to the current subscriber Identity card, where the subscriber Identity card identifier is used to uniquely identify one subscriber Identity card, and may be an Electronic Identity Device (EID) or an integrated circuit card identifier (ic id) corresponding to the subscriber Identity card.
In some embodiments, the subscriber identity card in the target communication module has a number, which may be expressed in an arabic number. The subscriber identity module card switching instruction may carry a target number, where the target number refers to a number corresponding to the subscriber identity module card to be switched. The target communication module can set the user identification card corresponding to the target number as valid according to the target number in the user identification card switching instruction. It should be noted that there may be no subscriber identity card corresponding to the target number in the target communication module, for example, the target number is "2", and only the subscriber identity card with the number "1" is in the target communication module. That is, the current subscriber identity card may not be present.
And S204, after the user identification card switching instruction is sent, sending a current information acquisition instruction for acquiring the current user identification card information to the target communication module.
Specifically, the current information acquisition instruction is used to instruct the target communication module to send the current subscriber identity module information to the driver. Because the target communication module can switch the subscriber identity module card according to the subscriber identity module card switching instruction and generate the current subscriber identity module card information corresponding to the current subscriber identity module card, after the subscriber identity module card switching instruction is sent, the driving program can send a current information obtaining instruction for obtaining the current subscriber identity module card information to the target communication module.
And S206, receiving the current user identification card information returned by the target communication module.
Specifically, after receiving the current information acquisition instruction, the target communication module acquires the stored current subscriber identity module information according to the current information acquisition instruction, and sends the current subscriber identity module information to the target communication module. The driver may receive the current subscriber identity card information returned by the target communication module.
And S208, confirming the current state corresponding to the current user identification card according to the information of the current user identification card.
Specifically, the current state corresponding to the current subscriber identity module card is used to indicate whether the current subscriber identity module card exists, when the current subscriber identity module card information indicates that the current subscriber identity module card is normal, it may be determined that the current subscriber identity module card exists, and when the current subscriber identity module card information indicates that the current subscriber identity module card is abnormal, it may be determined that the current subscriber identity module card is absent. The normal status of the current subscriber identity module card may indicate that the related information of the current subscriber identity module card is correct and functions normally, and the abnormal status of the current subscriber identity module card may indicate that the related information of the current subscriber identity module card has one of an error or a function abnormality. The related information is, for example, the identification of the current subscriber identity card. The functional abnormality may be, for example, a voltage abnormality or the like.
And S210, determining the identification card configuration information corresponding to the target communication module according to the current state.
Specifically, the identification card configuration information refers to information related to the subscriber identification card in the target communication module, and may include the type and number of subscriber identification cards. The subscriber identity card may include a general SIM card as well as an eSIM card. The number of subscriber identity cards may be 1 or 2, for example. The identification card configuration information may include an identifier of the type of the subscriber identification card and an identifier of the number of the subscriber identification cards, and may include, for example, an identifier corresponding to the type of the general SIM card. For example, the identifier corresponding to the type of the general SIM card may be represented by "00". If the current status indicates that the current subscriber identity card is present, it may be determined that the number of subscriber identity cards in the identity card configuration information is 2. If the current status indicates that the current subscriber identity card does not exist, it may be determined that the number of subscriber identity cards in the identity card configuration information is 1.
In some embodiments, the driver stores the determined identification card configuration information in a registry of the terminal where the terminal is located, and the terminal where the terminal is located may read the storage information identification card configuration information in the registry after restarting and perform interface display according to the read identification card configuration information, for example, when the identification card configuration information indicates that 2 cards exist, a traditional physical SIM card option and an eSIM card option may be displayed. A user of the terminal may select one of a conventional physical SIM card option or an eSIM card option, so that the selected card is in an active state. Therefore, the unified driving program can be used, different user interfaces are provided for users according to different mobile communication modules, the management cost of the driving program is reduced, the upgrading is easier, the user intervention is reduced, and the use by the users is facilitated.
In some embodiments, the driver may store the identification card configuration information in the registry in a key-value pair manner, e.g., when storing the number of SIM cards into the registry, the identification card configuration information may be stored in a key-value pair { key: value, where key represents a key and value represents a value.
In the identification card configuration information determining method, a user identification card switching instruction for switching the user identification card is sent to a target communication module, so that the target communication module switches the user identification card according to the user identification card switching instruction, current user identification card information corresponding to the current user identification card is generated, then a current information obtaining instruction for obtaining the current user identification card information is sent to the target communication module, the current user identification card information returned by the target communication module is received, the current state corresponding to the current user identification card is determined according to the current user identification card information, and the identification card configuration information corresponding to the target communication module is determined according to the current state. Therefore, the identification card configuration information corresponding to the target communication module can be rapidly determined according to the current user identification card information by using the uniform driving software, different driving software is not required to be set for each communication module to manage the user identification card configuration information, and the user identification card configuration information management efficiency is improved.
In some embodiments, the current subscriber identity module information carries the current functional state identifier, as shown in fig. 3, the step S208 of determining the current state corresponding to the current subscriber identity module according to the current subscriber identity module information includes:
s302, comparing the current function state identification in the current user identification card information with a preset function state identification to obtain a first comparison result.
Specifically, the current functional state identifier is used to identify a current functional state corresponding to the current subscriber identity module, where the current functional state includes a functional normal state and a functional abnormal state. The normal function state indicates that the function of the current subscriber identity module card is normal, and the abnormal state indicates that the current subscriber identity module card does not exist or the function of the current subscriber identity module card is abnormal. The preset function state identification is a preset function state identification, and the preset function state identification is an identification for identifying a normal function state. The first comparison result may be one of that the current function status flag is the same as the preset function status flag (i.e. the first comparison result is consistent in comparison), or that the current function status flag is different from the preset function status flag (i.e. the first comparison result is inconsistent in comparison).
S304, confirming the current state corresponding to the current user identification card according to the first comparison result.
Specifically, the current state corresponding to the current subscriber identity module card may be directly determined through the first comparison result, for example, when the first comparison result indicates that the current functional state identifier is the same as the preset functional state identifier, that is, the current functional state is a functional normal state, the current state corresponding to the current subscriber identity module card may be determined as a normal state, and if the first comparison result indicates that the current functional state identifier is different from the preset functional state identifier, that is, the current functional state is a functional abnormal state, the current state corresponding to the current subscriber identity module card may be determined as an abnormal state. Of course, the current status corresponding to the current subscriber identity module card can also be confirmed by combining the first comparison result and other results.
In the embodiment of the application, the current function state of the current subscriber identity module card is obtained, and the current state corresponding to the current subscriber identity module card is confirmed according to the current function state.
In some embodiments, the current subscriber identity card information further carries a current identity card type identifier, as shown in fig. 4, the step S304 of determining the current state corresponding to the current subscriber identity card according to the first comparison result includes:
s402, comparing the current identification card type identification with the virtual identification card type identification to obtain a second comparison result.
Specifically, the virtual identification card refers to an eSIM card. The virtual identification card type identifier is used to identify an eSIM card type. The virtual identification card type identifier may be represented in binary. For example, a non-virtual identification card type may be identified by "0" and a virtual identification card type may be identified by "1". The current identification card type identifier is used for identifying a current identification card type, the current identification card type refers to a card type corresponding to a current subscriber identification card, and the current identification card type may include an eSIM card type and a non-eSIM card type. The second comparison result may be one of the current identification card type identifier being the same as the virtual identification card type identifier (i.e., the second comparison result is consistent) or the current identification card type identifier being different from the virtual identification card type identifier (i.e., the second comparison result is inconsistent).
S404, confirming the current state corresponding to the current user identification card according to the first comparison result and the second comparison result.
Specifically, the current state corresponding to the current subscriber identity module card may be directly confirmed according to the first comparison result and the second comparison result, or the current state may be confirmed according to the first comparison result and the second comparison result in combination with other comparison results.
In some embodiments, the current subscriber identification card information may carry an ATR (answer to reset), which may include an identification of the current functional state and an identification of the current identification card type. And when the characteristic of the ATR meets the preset ATR characteristic, judging the current function state identification and the current identification card type identification. The preset ATR characteristic may be, for example, that the length of the ATR is greater than a preset length threshold, which may be a self-defined value, for example 15.
In the embodiment of the present application, since the default common physical SIM card in the target communication module is activated, and it is unknown whether an eSIM card exists in the communication module, whether the eSIM card exists may be determined by comparing the current identification card type identifier with the virtual identification card type identifier.
In some embodiments, the current status includes a presence status and a missing status, and as shown in fig. 5, the step S404 of confirming the current status corresponding to the current subscriber identity card according to the first comparison result and the second comparison result includes:
and S502, when the first comparison result and the second comparison result are consistent, sending an identification card identification acquisition request for acquiring the identification card of the current user to the target communication module.
Specifically, the existing state is a corresponding state when the current subscriber identity module card is normal, and the missing state is a corresponding state when the current subscriber identity module card is abnormal or does not exist. The current user identification card mark is used for acquiring and sending the driving program for the target communication module, when the first comparison result and the second comparison result are consistent in comparison, the function of the current user identification card is normal and the card type is correct, and the current state corresponding to the current user identification card can be further confirmed through the current user identification card mark.
S504, receiving the current user identification card identification returned by the target communication module.
S506, when the characteristics corresponding to the current user identification card identification meet the preset identification card identification characteristics, the current state is determined to be the existing state.
Specifically, the preset identification card identifier feature is a feature corresponding to a preset user identification card identifier, and the feature corresponding to the user identification card identifier may be, for example, that the length of the user identification card identifier is greater than a preset length, and the preset length is, for example, 15. And when the length corresponding to the current user identification card identifier is greater than the preset length, determining that the current state is the existing state, otherwise, determining that the current state is the missing state.
In some embodiments, the current subscriber identity card information may carry a current subscriber identity card identifier, and the driver may extract the current subscriber identity card identifier from the current subscriber identity card information, compare a feature corresponding to the current subscriber identity card identifier with a preset identity card identifier feature, and determine a current state corresponding to the previous subscriber identity card.
In the embodiment of the present application, when the first comparison result and the second comparison result are consistent in comparison, the correctness of the current subscriber identity module is further determined, and the correctness of the first comparison result, the second comparison result and the correctness of the current subscriber identity module are combined to confirm the current state, so that the accuracy of confirming the current state is improved.
In some embodiments, the identification card configuration information includes an identification card number identifier, and the identification card number identifier is one of a single card identifier and a double card identifier, as shown in fig. 6, the step S210 of determining the identification card configuration information corresponding to the target communication module according to the current state includes:
s602, when the current state is the existing state, determining that the identification card number corresponding to the target communication module is a double-card identification.
And S604, when the current state is the missing state, determining that the identification card number corresponding to the target communication module is a single-card identification.
Specifically, the identification card number identifier is used to identify the number of the subscriber identification cards. The number of the single-card identification representing identification cards is 1, and the number of the double-card identification representing identification cards is 2.
In the embodiment of the application, the identification card number identifier in the identification card configuration information can be rapidly determined according to the current state corresponding to the current user identification card, so that the configuration information is obtained efficiently.
In some embodiments, as shown in fig. 7, the step S202 of sending the subscriber identity card switching instruction for switching the subscriber identity card to the target communication module includes:
s702, acquiring a target registry for recording the configuration information of the identification card.
Specifically, the Registry (Windows Operating System Registry) is a database in Microsoft Windows for storing setting information of the System and the application program, and the target Registry refers to a Registry on the terminal where the target communication module is located.
S704, inquiring the target registry to obtain an inquiry result.
And S706, when the inquiry result is that the identification card configuration information is missing, sending a user identification card switching instruction for switching the user identification card to the target communication module.
Specifically, the driver may query the target registry in the terminal before sending the subscriber identity card switching instruction to the target communication module, and may not perform the step of sending the subscriber identity card switching instruction for switching the subscriber identity card to the target communication module when the query result indicates that the identity card configuration information exists in the target registry. And when the inquiry result is that the identification card configuration information is missing, executing a step of sending a user identification card switching instruction for switching the user identification card to the target communication module.
In the embodiment of the application, by querying the target registry and sending the subscriber identity module switching instruction to the target communication module only when the query result is that the identity module configuration information is missing, it can be avoided that the identity module configuration information is obtained under the condition that the identity module configuration information already exists, time is saved, and the efficiency of determining the identity module configuration information is improved.
In some embodiments, as shown in fig. 8, an identification card configuration information determining method is provided, in which a SIM1 refers to a conventional physical SIM card, a SIM2 refers to an eSIM card, and a SIM1 is valid in an initial state of a target communication module, and mainly includes the following steps:
step 1: the driver reads the key value corresponding to the user identification card from the registry in the terminal;
step 2: if the key value corresponding to the user identification card is read, it indicates that the terminal where the target communication module is located has already obtained the identification card configuration information corresponding to the target communication module, and the following steps may not be executed;
and step 3: if the key value corresponding to the subscriber identity module card is not obtained, the driver sends a switching instruction to the target communication module, so that the target communication module is switched to the eSIM and initialization information corresponding to the eSIM is generated, wherein the initialization information can comprise an ATR (auto transfer request) and an eSIM (electronic equipment identity) identifier, and the initialization information can be used as the information of the current subscriber identity module card;
and 4, step 4: the driver sends a current information acquisition instruction to the target communication module to acquire initialization information of the eSIM;
and 5: judging whether the initialization information of the eSIM is correct or not;
specifically, whether the ATR is correct or not is judged, when the ATR is correct, a key value is created in a registry, and information of the double SIM cards is stored through the key value; when the ATR is incorrect, a key value is created in the registry, and the single SIM card information is saved through the key value.
It should be understood that, although the steps in the flowcharts of the above embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not limited to being performed in the exact order illustrated and, unless explicitly stated herein, may be performed in other orders. Moreover, at least a part of the steps in the flowcharts of the above embodiments may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a part of the sub-steps or the stages of other steps.
In some embodiments, as shown in fig. 9, there is provided an identification card configuration information determining apparatus including: a subscriber identity card switching instruction sending module 902, a current information obtaining instruction sending module 904, a current subscriber identity card information receiving module 906, a current state confirmation module 908, and an identity card configuration information determining module 910, wherein:
the subscriber identity module switching instruction sending module 902 is configured to send a subscriber identity module switching instruction for switching the subscriber identity module to the target communication module, so that the target communication module switches the subscriber identity module according to the subscriber identity module switching instruction, and generates current subscriber identity module information corresponding to the current subscriber identity module.
A current information obtaining instruction sending module 904, configured to send a current information obtaining instruction for obtaining information of the current subscriber identity module to the target communication module after the subscriber identity module switching instruction is sent.
A current subscriber identity module information receiving module 906, configured to receive current subscriber identity module information returned by the target communication module.
The current status determining module 908 is configured to determine a current status corresponding to the current subscriber identity module according to the current subscriber identity module information.
An identification card configuration information determining module 910, configured to determine, according to the current state, identification card configuration information corresponding to the target communication module.
In some embodiments, the current subscriber identity card information carries a current functional status identifier, and the current status confirmation module 908 includes:
and the first comparison result obtaining unit is used for comparing the current function state identification in the current user identification card information with the preset function state identification to obtain a first comparison result.
And the current state confirmation unit is used for confirming the current state corresponding to the current user identification card according to the first comparison result.
In some embodiments, the current subscriber identity module further carries a current identity module type identifier, and the current status confirmation unit is further configured to compare the current identity module type identifier with the virtual identity module type identifier to obtain a second comparison result; and confirming the current state corresponding to the current user identification card according to the first comparison result and the second comparison result.
In some embodiments, the current state includes an existing state and a missing state, and the current state confirmation unit is further configured to send an identification card identifier obtaining request for obtaining the identification of the current user identification card to the target communication module when the first comparison result and the second comparison result are consistent in comparison; receiving the current user identification card identification returned by the target communication module; and when the characteristics corresponding to the current user identification card identification meet the preset identification card identification characteristics, determining that the current state is the existing state.
In some embodiments, the identification card configuration information includes an identification card number identifier, the identification card number identifier is one of a single card identifier or a dual card identifier, and the identification card configuration information determining module 910 includes:
and the double-card identification determining unit is used for determining that the identification card number identification corresponding to the target communication module is a double-card identification when the current state is the existing state.
And the single-card identification determining unit is used for determining that the identification card number identification corresponding to the target communication module is a single-card identification when the current state is the missing state.
In some embodiments, the sim card switching instruction sending module 902 includes:
and the target registry acquiring unit is used for acquiring a target registry for recording the configuration information of the identification card.
And the query result obtaining unit is used for querying the target registry to obtain a query result.
And the subscriber identity module switching instruction sending unit is used for sending a subscriber identity module switching instruction for switching the subscriber identity module to the target communication module when the query result is that the identity module configuration information is missing.
For specific limitations of the identification card configuration information determination device, reference may be made to the above limitations of the identification card configuration information determination method, which will not be described herein again. The respective modules in the above identification card configuration information determination apparatus may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In some embodiments, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 10. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an identification card configuration information determination method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 10 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In some embodiments, a computer device is provided, which includes a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the identification card configuration information determination method when executing the computer program.
In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the above-mentioned identification card configuration information determination method.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and bused dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of identifying card configuration information determination, the method comprising:
sending a subscriber identity module switching instruction for switching the subscriber identity module to a target communication module, so that the target communication module switches the subscriber identity module according to the subscriber identity module switching instruction and generates current subscriber identity module information corresponding to the current subscriber identity module; the target communication module supports double cards and single standby, and at least one user identification card exists in the target communication module;
the sending of the subscriber identity module switching instruction for switching the subscriber identity module to the target communication module includes:
acquiring a target registry for recording configuration information of the identification card;
inquiring the target registry to obtain an inquiry result;
when the inquiry result is that the identification card configuration information is missing, sending a user identification card switching instruction for switching the user identification card to a target communication module;
after the user identification card switching instruction is sent, sending a current information obtaining instruction for obtaining the current user identification card information to the target communication module;
receiving the current user identification card information returned by the target communication module;
confirming the current state corresponding to the current user identification card according to the current user identification card information; wherein the current state is used for indicating whether the current subscriber identity card exists or not;
determining identification card configuration information corresponding to the target communication module according to the current state; wherein the identification card configuration information comprises identification card number identification.
2. The method of claim 1, wherein the current subscriber identity card information carries a current functional status identifier, and the determining a current status corresponding to the current subscriber identity card according to the current subscriber identity card information comprises:
comparing the current functional state identification in the current user identification card information with a preset functional state identification to obtain a first comparison result;
and confirming the current state corresponding to the current user identification card according to the first comparison result.
3. The method according to claim 2, wherein the current subscriber identity card information further carries a current identity card type identifier, and the determining a current state corresponding to the current subscriber identity card according to the first comparison result comprises:
comparing the current identification card type identification with the virtual identification card type identification to obtain a second comparison result;
and confirming the current state corresponding to the current user identification card according to the first comparison result and the second comparison result.
4. The method according to claim 3, wherein the current status includes a presence status and a missing status, and the confirming the current status corresponding to the current subscriber identity card according to the first comparison result and the second comparison result comprises:
when the first comparison result and the second comparison result are consistent, sending an identification card identification acquisition request for acquiring the identification card identification of the current user to the target communication module;
receiving the current user identification card identifier returned by the target communication module;
and when the characteristics corresponding to the current user identification card identification meet the preset identification card identification characteristics, confirming that the current state is the existing state.
5. The method according to claim 1, wherein the identification card number identifier is one of a single-card identifier or a dual-card identifier, and the determining the identification card configuration information corresponding to the target communication module according to the current status comprises:
when the current state is the existing state, determining that the identification card number identification corresponding to the target communication module is a double-card identification;
and when the current state is the missing state, determining that the identification card number identification corresponding to the target communication module is a single card identification.
6. An identification card configuration information determination apparatus, characterized in that the apparatus comprises:
the subscriber identity module switching instruction sending module is used for sending a subscriber identity module switching instruction for switching the subscriber identity module to a target communication module so that the target communication module switches the subscriber identity module according to the subscriber identity module switching instruction and generates current subscriber identity module information corresponding to the current subscriber identity module; the target communication module supports double cards and single standby, and at least one user identification card exists in the target communication module;
wherein, the subscriber identity module switches the order sending module and includes:
a target registry acquisition unit for acquiring a target registry for recording the configuration information of the identification card;
the query result obtaining unit is used for querying the target registry to obtain a query result;
the subscriber identity module card switching instruction sending unit is used for sending a subscriber identity module card switching instruction for switching the subscriber identity module card to the target communication module when the inquiry result is that the identity module card configuration information is missing;
a current information obtaining instruction sending module, configured to send a current information obtaining instruction for obtaining information of the current subscriber identity module to the target communication module after the subscriber identity module switching instruction is sent;
a current subscriber identity module information receiving module for receiving the current subscriber identity module information returned by the target communication module;
the current state confirmation module is used for confirming the current state corresponding to the current user identification card according to the current user identification card information; wherein the current state is used for indicating whether the current subscriber identity card exists or not;
the identification card configuration information determining module is used for determining identification card configuration information corresponding to the target communication module according to the current state; wherein the identification card configuration information comprises identification card number identification.
7. The apparatus of claim 6, wherein the current subscriber identity card information carries a current functional status identifier, and the current status confirmation module comprises:
a first comparison result obtaining unit, configured to compare a current function state identifier in the current subscriber identity card information with a preset function state identifier to obtain a first comparison result;
and the current state confirmation unit is used for confirming the current state corresponding to the current user identification card according to the first comparison result.
8. The apparatus of claim 6, wherein the identification card configuration information comprises an identification card number identifier, the identification card number identifier being one of a single card identifier or a dual card identifier, and wherein the identification card configuration information determination module comprises:
the double-card identification determining unit is used for determining that the identification card number identification corresponding to the target communication module is a double-card identification when the current state is the existing state;
and the single-card identification determining unit is used for determining that the identification card number identification corresponding to the target communication module is the single-card identification when the current state is the missing state.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the identification card configuration information determination method according to any one of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the identification card configuration information determination method according to any one of claims 1 to 5.
CN202010107363.0A 2020-02-21 2020-02-21 Identification card configuration information determination method and device, computer equipment and storage medium Active CN111372235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010107363.0A CN111372235B (en) 2020-02-21 2020-02-21 Identification card configuration information determination method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010107363.0A CN111372235B (en) 2020-02-21 2020-02-21 Identification card configuration information determination method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111372235A CN111372235A (en) 2020-07-03
CN111372235B true CN111372235B (en) 2022-09-06

Family

ID=71210087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010107363.0A Active CN111372235B (en) 2020-02-21 2020-02-21 Identification card configuration information determination method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111372235B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113965972B (en) * 2021-09-08 2022-11-11 广东联想懂的通信有限公司 Method, device, equipment and storage medium for supporting multi-network switching by single communication card
CN114218968A (en) * 2021-11-23 2022-03-22 深圳市科脉技术股份有限公司 Non-contact IC card data processing method, non-contact IC card data processing device, computer equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107484154A (en) * 2017-09-30 2017-12-15 广东欧珀移动通信有限公司 Data switching method and apparatus, terminal, computer-readable recording medium
CN107770800A (en) * 2017-09-29 2018-03-06 宇龙计算机通信科技(深圳)有限公司 ESIM card informations management method, equipment and server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103188830A (en) * 2013-03-29 2013-07-03 中兴通讯股份有限公司 Multimode card application name displaying and processing method and multimode card application name displaying and processing device of mobile terminal
US9648491B2 (en) * 2014-02-19 2017-05-09 Mediatek Inc. Method of selecting an active SIM from multiple SIMs and a wireless device utilizing the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107770800A (en) * 2017-09-29 2018-03-06 宇龙计算机通信科技(深圳)有限公司 ESIM card informations management method, equipment and server
CN107484154A (en) * 2017-09-30 2017-12-15 广东欧珀移动通信有限公司 Data switching method and apparatus, terminal, computer-readable recording medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SIM卡的应用及其读卡器设计;郑可鑫;《今日科苑》;20070423(第08期);全文 *

Also Published As

Publication number Publication date
CN111372235A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
CN111372235B (en) Identification card configuration information determination method and device, computer equipment and storage medium
CN108780482B (en) Method and device for managing applications in a secure device
US9390259B2 (en) Method for activating an operating system in a security module
CN111125795B (en) Tamper resistant device for integrated circuit card
US11895611B2 (en) Sim card registration method and apparatus, computer device, and storage medium
US20090020602A1 (en) Method for establishing a secure logical connection between an integrated circuit card and a memory card through a terminal equipment
KR102045662B1 (en) System and method for managing logical channels for accessing several virtual profiles within a secure element
CN109379779B (en) Dialing networking method and device, computer equipment and storage medium
CN109257426B (en) Service line resource loading method and device, computer equipment and storage medium
CN111586671A (en) Embedded user identification card configuration method and device, communication equipment and storage medium
CN105120451A (en) Method for realizing card-less operation of mobile terminal, operator business platform and mobile terminal
CN110691352B (en) SIM card access control method, device, medium and equipment
CN111328068A (en) Card writing method and device, computer equipment and storage medium
US11698994B2 (en) Method for a first start-up operation of a secure element which is not fully customized
CN108875396B (en) File operation method, USIM card, terminal and readable storage medium
CN106851616B (en) Network service state updating method and device
US11068880B2 (en) Control of applications in a mobile terminal
US10117091B2 (en) Method for administering life cycles of communication profiles
US10715527B2 (en) Method of managing profiles in a secure element
US10289948B2 (en) Maintenance system, and computer readable recording medium storing a maintenance program
CN113779542B (en) One-key login processing method and device, computer equipment and storage medium
WO2008104601A2 (en) Method of managing command execution in an electronic token
CN112512034A (en) Method and device for quickly loading user identification card file by terminal and computer equipment
CN108990058B (en) Soft SIM and embedded security unit
CN114528147B (en) Fingerprint deleting method and device in dual operating system

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