State switching method, SIM card, terminal device, medium and product

By switching between digital identity application status and business status on SIM cards and terminal devices, the problem of digital identity application status management of SIM cards is solved, the security and business management efficiency during the data life cycle is improved, and privacy leakage is prevented.

CN118890611APending Publication Date: 2024-11-01CHINA MOBILE FINANCIAL TECHNOLOGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410896730.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

The existing technology cannot effectively realize the status management of SIM card digital identity applications during the data life cycle, resulting in security issues such as business management and privacy leakage.

Method used

By defining the application status and business status of the digital identity application, and realizing the interaction between the digital identity APP installed on the terminal device and the digital identity application installed on the SIM card, state switching is carried out, including initialization, personalization, locking, etc. Management of application status and business status such as business application completion, business activation completion, business suspension completion, etc.

Benefits of technology

It realizes the status management of SIM card digital identity applications during the data life cycle, improves the flexibility and security of business status, and prevents privacy leakage and business management problems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118890611A_ABST
    Figure CN118890611A_ABST
Patent Text Reader

Abstract

The invention discloses a state switching method, an SIM card, terminal equipment, a storage medium and a computer program product, and relates to the technical field of digital identities. In the application, the application state of the digital identity application and the service state of the digital identity are defined, and interaction between the digital identity APP installed on the terminal equipment and the digital identity application installed on the SIM card is realized, so that the application state of the digital identity application and the service state of the digital identity are switched; therefore, the state management of the SIM card digital identity application in the data life cycle is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of digital identity, and in particular to a state switching method, a SIM card, a terminal device, a storage medium and a computer program product. Background Art

[0002] Currently, among the digital identity related solutions, there are solutions such as SIM digital identity business implementation and data security, but these related solutions cannot achieve the status management of SIM card digital identity applications during the data life cycle, resulting in problems in business management and privacy leakage.

[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of this application is to provide a state switching method, a SIM card, a terminal device, a storage medium and a computer program product, aiming to solve the technical problem that it is difficult to implement the state management of SIM card digital identity applications.

[0005] To achieve the above object, the present application proposes a state switching method, wherein the method is applied to a digital identity application installed on a SIM card, comprising:

[0006] Switching the application state of the digital identity application, wherein the application state includes initial, personalized and locked;

[0007] Alternatively, in response to an application initiated by a digital identity APP installed on a terminal device, the service status of the digital identity is switched, wherein the service status of the digital identity includes service application completion, service activation completion, and service suspension completion.

[0008] In one embodiment, the step of switching the application state of the digital identity application includes:

[0009] By writing the general data of the digital identity application, the application state of the digital identity application is switched from initial to personalized, wherein when the digital identity application is installed on the SIM card, the application state of the digital identity application is initial;

[0010] Alternatively, by locking the digital identity application, the application state is converted from personalized to locked;

[0011] Alternatively, by unlocking the digital identity application, the application state is converted from locked to personalized.

[0012] In one embodiment, the channel responding to the application initiated by the digital identity APP includes at least a BIP channel and a machine-card channel.

[0013] In one embodiment, the step of switching the service status of the digital identity includes:

[0014] By writing the business data, the business status of the digital identity is switched from business application completed to business activation completed. When writing the general data of the digital identity application, the business status of the digital identity is business application completed.

[0015] Alternatively, by deleting the business data, the business status of the digital identity is switched from business activation completed to business application completed;

[0016] Alternatively, by pausing, the service status of the digital identity is switched from service activation completed to service suspension completed;

[0017] Alternatively, the service status of the digital identity is switched from service suspension completion to service activation completion by restoring and / or updating service data;

[0018] Alternatively, by deleting the business data, the business status of the digital identity is switched from business suspension completion to business claim completion.

[0019] In one embodiment, the general data written into the digital identity application includes the digital identity application serial number and the initial public key, and the initial private key and user personal information are stored on the digital identity service management platform; the step of switching the service status of the digital identity from service application completion to service activation completion by writing the service data includes:

[0020] Generate a new key pair, wherein the new key pair includes a first public key and a first private key;

[0021] Encrypting the first public key and the digital identity application serial number using the initial public key, and sending the encrypted ciphertext to the digital identity service management platform;

[0022] Receiving the ciphertext returned by the digital identity service management platform, wherein the digital identity service management platform uses the initial private key to decrypt the received ciphertext, and after confirming that the digital identity application serial number is legitimate, obtains a service key based on the digital identity application serial number, and uses the first public key to encrypt the service key and the user personal information to obtain the ciphertext returned to the digital identity application;

[0023] The received ciphertext is decrypted using the first private key, and the business key and the user personal information obtained by decryption are used as the business data to be written.

[0024] In one embodiment, the step of switching the service status of the digital identity from service activation completed to service suspension completed by pausing includes:

[0025] Receiving a service suspension message, wherein the service suspension message is encrypted by the digital identity service management platform using a service key;

[0026] The service suspension message is decrypted using the service key, and after confirming that the service suspension message is legitimate, the service key is deleted, and the service status of the digital identity is switched from service activation completion to service suspension.

[0027] In addition, to achieve the above purpose, the present application also proposes a state switching method, wherein the method is applied to a digital identity APP installed on a terminal device, comprising:

[0028] By initiating an application to the digital identity application installed on the SIM card, the service status of the digital identity is switched, wherein the service status of the digital identity includes service application completion, service activation completion and service suspension completion.

[0029] In addition, to achieve the above objectives, the present application also proposes a SIM card, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the state switching method described above.

[0030] In addition, to achieve the above-mentioned purpose, the present application also proposes a terminal device, which includes: the SIM card as described above and a digital identity APP running on the terminal device, and the digital identity APP is configured to implement the steps of the state switching method as described above.

[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which includes a first storage medium and / or a second storage medium;

[0032] The first storage medium stores a first computer program, which implements the steps of the state switching method described above when executed;

[0033] The second storage medium stores a second computer program, and when the second computer program is executed, the steps of the state switching method described above are implemented.

[0034] In addition, to achieve the above-mentioned object, the present application also provides a computer program product, wherein the computer program product includes a first computer program and / or a second computer program;

[0035] When the first computer program is executed, the steps of the state switching method described above are implemented;

[0036] When the second computer program is executed, the steps of the state switching method described above are implemented.

[0037] One or more technical solutions proposed in this application have at least the following technical effects:

[0038] In this application, by defining the application status of the digital identity application and the business status of the digital identity, and realizing the interaction between the digital identity APP installed on the terminal device and the digital identity application installed on the SIM card, the application status of the digital identity application and the business status of the digital identity are switched, thereby realizing the status management of the SIM card digital identity application during the data life cycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0040] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0041] Figure 1 A schematic diagram of a SIM card-based digital identity authentication technology architecture provided in Embodiment 1 of the state switching method of this application;

[0042] Figure 2 A schematic diagram of a digital identity application architecture installed on a SIM card provided in Embodiment 1 of the state switching method of the present application;

[0043] Figure 3 A schematic diagram of switching the state of a digital identity application installed on a SIM card provided in Embodiment 1 of the state switching method of the present application;

[0044] Figure 4 A schematic diagram of digital identity service state switching provided in Embodiment 1 of the state switching method of this application;

[0045] Figure 5 A schematic diagram of applying for a digital identity through a BIP channel provided in Embodiment 2 of the method for switching the status of this application;

[0046] Figure 6 A schematic diagram of applying for a digital identity through a machine-card channel provided in Embodiment 2 of the present application state switching method;

[0047] Figure 7 A schematic diagram of completing the activation of a digital identity through a BIP channel provided in Embodiment 2 of the state switching method of this application;

[0048] Figure 8A schematic diagram of completing digital identity activation through a machine-card channel provided in Embodiment 2 of the state switching method of this application;

[0049] Fig. 9 A schematic diagram of suspending a service through a BIP channel provided in Embodiment 2 of the state switching method of this application;

[0050] Fig.10 A schematic diagram of suspending a service through a machine-card channel provided in Embodiment 2 of the state switching method of this application;

[0051] Fig.11 A schematic diagram of completing business data deletion through a BIP channel provided in Embodiment 2 of the state switching method of this application;

[0052] Fig.12 A schematic diagram of writing business data provided in Embodiment 3 of the state switching method of this application;

[0053] Fig.13 A schematic diagram of reading user digital identity data provided in Embodiment 3 of the state switching method of this application;

[0054] Fig.14 A schematic diagram of suspending a user digital identity service provided in Embodiment 3 of the state switching method of this application;

[0055] Fig.15 A schematic diagram of online authentication through the machine-card channel provided by the mobile terminal APP for the application scenario of the first application status switching method;

[0056] Fig.16 A schematic diagram of online authentication through the BIP channel on a mobile terminal APP provided for the first application scenario of the application status switching method;

[0057] Fig.17 Schematic diagram of online identity authentication using a digital identity recognition device provided for the first application scenario of the application state switching method;

[0058] Fig.18 Schematic diagram of local identity authentication of a digital identity recognition device provided for the first application scenario of the state switching method of this application;

[0059] Fig.19 Schematic diagram of the device structure of the hardware operating environment involved in the state switching method in the embodiment of the present application.

[0060] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0061] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0062] The first embodiment of the present application provides a state switching method. In this embodiment, the method is applied to a digital identity application installed on a SIM card, including:

[0063] Switching the application state of the digital identity application, wherein the application state includes initial, personalized and locked;

[0064] Alternatively, in response to an application initiated by a digital identity APP installed on a terminal device, the service status of the digital identity is switched, wherein the service status of the digital identity includes service application completion, service activation completion, and service suspension completion.

[0065] In one embodiment, the SIM card should support online and offline downloading, installation, and deletion functions of digital identity applications; the SIM card should support an exception handling mechanism for the downloading, installation, and deletion processes of digital identity applications; the SIM card should support functions such as authorized reading, writing, space allocation, and space release of the secure storage area; the SIM card should support user authentication functions, which can adopt methods such as PIN (Personal Identification Number) and biometric recognition; if an abnormal power failure event occurs, the SIM card should ensure that the data in the non-volatile storage area will not be lost.

[0066] In another embodiment, referring to Figure 1 Taking the mobile phone terminal as an example, the digital identity authentication technology architecture based on the SIM card is explained. The functions of the various parts of the digital identity authentication technology architecture based on the SIM card are as follows:

[0067] The digital identity business management platform is a system platform for digital identity authentication business, which completes user identity data management, identity authentication business instruction processing and connects to the digital identity authentication service platform to complete digital identity authentication;

[0068] The digital identity application management platform is an application management and capability exposure system platform for SIM cards. It is responsible for managing the storage space on SIM cards and providing services such as publishing, updating and downloading digital identity applications.

[0069] The digital identity authentication service platform is responsible for processing the authentication request sent by the digital identity business management platform and returning the authentication result or related information;

[0070] Mobile phone terminals equipped with digital identity APP (application): The mobile phone terminals have basic capabilities such as BIP (Bearer Independent Protocol) and machine-card communication, and are installed with digital identity APP. The APP integrates the SDK (Software Development Kit) of the SIM card machine-card channel, completes digital identity authentication operations and service life cycle management, personal digital identity information reading and other operations through the machine-card channel or BIP channel, and connects to the digital identity service management platform through the mobile network or WLAN (Wireless Local Area Networks) network to complete digital identity authentication;

[0071] SIM card with digital identity application: It is equipped with digital identity application, stores the user's personal digital identity information and sensitive data, and has the capabilities of secure storage, secure computing, secure communication, and secure management;

[0072] Digital identity device: integrated with digital identity SDK, with the ability to authenticate locally or connect to the digital identity service management platform online for authentication, and with NFC (Near Field Communication) communication capability. For digital identity devices that do not have a dedicated security module, use the NFC channel to read the digital identity information on the SIM card, use the mobile network or WLAN network to connect to the digital identity authentication service platform to complete the digital identity authentication, and return the authentication result and digital identity information to the digital identity device; for digital identity devices that have a dedicated security module, use the NFC channel to read the digital identity information on the SIM card and complete the digital identity authentication directly locally.

[0073] In one application scenario, based on the digital identity authentication technology architecture of the SIM card, the user uses the mobile terminal APP to establish a connection with the digital identity service management platform through an online connection to complete the digital identity application. After the application is successful, the personal digital identity is written into the SIM card and the digital identity service is activated. After the digital identity service is activated, the user can use the digital identity on the SIM card to complete the identity authentication service. Digital identity authentication includes two methods: mobile terminal APP authentication and digital identity device authentication. Depending on the security level and requirements of the authentication, user real-person authentication and real-name authentication can be performed.

[0074] In another embodiment, the mobile phone terminal should support the BIP communication protocol, and the SIM card can establish a BIP channel with the digital identity application management platform through the mobile phone terminal; the mobile phone terminal should support the NFC function to realize data interaction between the digital identity recognition device and the SIM card; the mobile phone terminal digital identity APP should integrate the SDK of the SIM card machine channel, and can complete digital identity authentication, business life cycle management and personal digital identity information reading operations locally or online.

[0075] In another embodiment, the digital identity identification device should have NFC communication capability to interact with the SIM card through NFC; the digital identity identification device should have networking capability to support the transmission of data to the digital identity service management platform for verification; the digital identity identification device can be integrated with a security module to decrypt the identity information on the SIM card for local verification.

[0076] In another embodiment, the digital identity business management platform should have the ability to establish a secure connection with the digital identity application management platform and the digital identity authentication service platform; the digital identity business management platform should have the ability to generate business data and manage the business data; the digital identity business management platform should have the ability to parse business data and handle exceptions; the digital identity business management platform should support security algorithms such as SM2, SM3, SM4, and have the ability to encrypt and decrypt business data and verify integrity.

[0077] In another embodiment, the digital identity application management platform should have the ability to establish a BIP link with the SIM card; the digital identity application management platform should have the ability to send and receive BIP channel data and parse business data; the digital identity application management platform should support SIM card application download, installation, deletion, key management and other SIM card content management functions; the digital identity application management platform should have the ability to establish a secure connection with the digital identity business management platform and the digital identity authentication service platform; e) the digital identity application management platform should support security algorithms such as SM2, SM3, SM4, and have the ability to encrypt and decrypt business data and verify integrity.

[0078] In another embodiment, the digital identity authentication service platform should have the ability to establish a secure connection with the digital identity application management platform and the digital identity business management platform; the digital identity authentication service platform should support security algorithms such as SM2, SM3, SM4, and have business data encryption and decryption and integrity verification.

[0079] In another embodiment, the digital identity application installed on the SIM card can be the digital identity card application in the above-mentioned SIM card-based digital identity authentication technology architecture. Among them, the SIM card, as a high-security hardware security module, is an ideal carrier of digital identity. The digital identity integrated in the SIM card can realize the unification of "person, number, card and certificate" such as natural person, mobile phone number, SIM card, and network identity certificate. In addition to reading the identity information in the SIM card for authentication through the mobile terminal APP, its application method can also effectively support offline and fast-pass applications through NFC, which can provide users with safe and convenient digital identity storage, encryption and interconnection services.

[0080] In another embodiment, the digital identity application installed on the SIM card includes functional modules such as general data management, personal identity information management, status management and version management. Its architecture is as follows: Figure 2 As shown:

[0081] The general data management module is mainly used for the management of keys and certificates, including application serial numbers, management keys, business keys, business management certificates and SIM card certificates;

[0082] The personal identity information management module is used to manage identity information and electronic certificate business-related data and business instruction processing, including identity information writing, identity information reading, identity information updating, and identity information deletion;

[0083] The state management module mainly includes application state machine management, business state management and business instruction control;

[0084] The version management module is used for application management, including application version and application status management.

[0085] In another feasible implementation, the step of switching the application state of the digital identity application includes:

[0086] By writing the general data of the digital identity application, the application state of the digital identity application is switched from initial to personalized, wherein when the digital identity application is installed on the SIM card, the application state of the digital identity application is initial;

[0087] Alternatively, by locking the digital identity application, the application state is converted from personalized to locked;

[0088] Alternatively, by unlocking the digital identity application, the application state is converted from locked to personalized.

[0089] In one embodiment, the switching of the digital identity application state installed on the SIM card is as follows: Figure 3 As shown, the details are as follows:

[0090] When the user writes the application serial number and management key, the application service status is set to "Personalized";

[0091] In the "Personalized" state, you can read and update various business data, and lock the application when the card security is threatened;

[0092] Once the app is unlocked, the app status will switch from Locked to Personalized.

[0093] The operations that can be performed by the digital identity application installed on the SIM card in different states are as follows in Table 1:

[0094] Table 1 Digital identity application status table

[0095] state describe Subsequent status initial The digital identity application is installed and the application serial number and management key can be written. Personalization Personalization Can read and update business data locking locking No business data operations can be performed Personalization

[0096] In another feasible implementation, the step of switching the service status of the digital identity includes:

[0097] By writing the business data, the business status of the digital identity is switched from business application completed to business activation completed. When writing the general data of the digital identity application, the business status of the digital identity is business application completed.

[0098] Alternatively, by deleting the business data, the business status of the digital identity is switched from business activation completed to business application completed;

[0099] Alternatively, by pausing, the service status of the digital identity is switched from service activation completed to service suspension completed;

[0100] Alternatively, the service status of the digital identity is switched from service suspension completion to service activation completion by restoring and / or updating service data;

[0101] Alternatively, by deleting the business data, the business status of the digital identity is switched from business suspension completion to business claim completion.

[0102] Among them, Digital Identity is the identity representation of a subject on the Internet, which is associated with attribute information related to the subject and is usually uniquely identified by an account.

[0103] In one embodiment, the digital identity service status used by the user includes three states: service application completed, service activation completed, and service suspension completed. After the digital identity application is downloaded and personalized, the service status is the application completed status. The management process is as follows: Figure 4 The status of the digital identity service used by the user is described in Table 2 below:

[0104] Table 2 Business status table

[0105]

[0106] It should be noted that the three business states of business application completion, business activation completion, and business suspension completion are business states when the card application state is in the personalized state.

[0107] In the above, by defining the application status of the digital identity application and the business status of the digital identity, and realizing the interaction between the digital identity APP installed on the terminal device and the digital identity application installed on the SIM card, the application status of the digital identity application and the business status of the digital identity are switched, thereby realizing the status management of the SIM card digital identity application during the data life cycle.

[0108] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated later. On this basis, in the second embodiment of the present application, the channel responding to the application initiated by the digital identity APP includes at least a BIP channel and a machine card channel.

[0109] The BIP protocol is a bearer-independent protocol and a connection-oriented transmission protocol. The protocol supports mobile networks such as GSM (Global System for Mobile communications), CDMA (Code Division Multiple Access), UMTS (Universal Mobile Telecommunication System), and NG-RAN (Next Generation Radio Access Network). It allows SIM cards to establish IP-based data connections with servers through terminals. When the channel is established, the SIM card notifies the terminal of the optional information bearer method. The SIM card usually supports the HTTPS protocol based on BIP. The terminal allows the SIM card and the server to transparently exchange data on the channel. The specific data transmission protocol carried in the application has nothing to do with the BIP channel.

[0110] In one embodiment, the user applies for a digital identity through the BIP channel. This process will simultaneously complete the download, installation and initial information writing of the digital identity application on the SIM card. The process is as follows: Figure 5 As shown, the specific steps are as follows:

[0111] Users initiate registration and application for digital identity authentication services through the digital identity APP on their mobile terminals;

[0112] After receiving the user's application, the digital identity business management platform sends an application download request to the digital identity application management platform;

[0113] The digital identity application management platform establishes a BIP channel with the SIM card and sends digital identity application data through the BIP channel. After the SIM card completes the download and installation of the digital identity application, the status of the digital identity application installed on the SIM card is set to the initial state. After the digital identity service management platform writes the application serial number, initial management key, service key and related certificates to the SIM card through the digital identity application management platform, the digital identity application installed on the SIM card enters the personalized state, and the digital identity service status used by the user is synchronously switched to the service application completion state.

[0114] In another embodiment, the user applies for a digital identity through the machine-card channel. This process will simultaneously complete the download, installation and initial information writing process of the digital identity application on the SIM card. Figure 6 As shown, the specific steps are as follows:

[0115] Users initiate registration and application for digital identity authentication services through the digital identity APP on their mobile terminals;

[0116] After receiving the user's application, the digital identity business management platform sends a digital identity application download request to the digital identity application management platform, and the digital identity application management platform returns the digital identity application and data to the digital identity business management platform;

[0117] The digital identity service management platform uses the digital identity APP to send digital identity application data through the machine-card channel. After the SIM card completes the download and installation of the digital identity application, the status of the digital identity application installed on the SIM card is set to the initial state. After the digital identity service management platform writes the application serial number, initial management key, service key and related certificates to the SIM card, the digital identity application installed on the SIM card enters the personalized state, and the digital identity service status used by the user is synchronously switched to the application completion state.

[0118] In another embodiment, after the user applies for a digital identity, he can initiate the service activation process through the mobile terminal digital identity APP to complete the service activation. Figure 7 As shown, the specific steps are as follows:

[0119] The user initiates an application for the activation of the digital identity authentication service through the digital identity APP on the mobile terminal;

[0120] After receiving the user's activation application, the digital identity service management platform organizes the service activation data instructions and sends them to the digital identity application management platform;

[0121] The digital identity application management platform establishes a BIP channel with the SIM card and issues service activation data instructions. After receiving the instructions, the digital identity application installed on the SIM card completes the data update operation and updates the digital identity service status used by the current user to the activation completion status.

[0122] In another embodiment, when completing the activation of the digital identity through the machine-card channel, it is only necessary to access the digital identity service management platform. The process is as follows: Figure 8 As shown, the specific steps are as follows:

[0123] The user initiates an application for the activation of the digital identity authentication service through the digital identity APP on the digital identity authentication mobile terminal;

[0124] After receiving the user's activation application, the digital identity service management platform organizes the service activation data instructions and sends them to the mobile terminal digital identity APP;

[0125] The digital identity APP of the mobile terminal sends an activation data instruction to the SIM card through the machine-card channel. After receiving the instruction, the digital identity application installed on the SIM card completes the data update operation and updates the digital identity service status used by the current user to the activation completion status.

[0126] In another embodiment, after the user opens a digital identity, he can actively apply for suspension of the digital identity service through the digital identity APP on the mobile terminal. When the digital identity service management platform determines that the user's digital identity is in an unsafe state such as being attacked or stolen, the digital identity service management platform can also actively initiate the service suspension process and complete the suspension service process through the BIP channel. Fig. 9 As shown, the specific steps are as follows:

[0127] The user initiates an application for suspension of digital identity authentication service through the digital identity APP on the mobile terminal;

[0128] The digital identity business management platform organizes the business suspension data instruction and sends it to the digital identity application management platform (the process starts from this step when the digital identity business management platform actively initiates the business suspension);

[0129] The application platform establishes a BIP channel with the SIM card and issues relevant business instructions. After receiving the instructions, the digital identity application installed on the SIM card completes the data update operation and updates the current business status to a suspended completion status. After the service is suspended, all digital identity-related functions on the SIM card cannot be used.

[0130] In another embodiment, when completing the suspension of the digital identity through the machine-card channel, it is only necessary to interact with the digital identity service management platform. The suspension service process is completed through the machine-card channel. Fig.10 As shown, the specific steps are as follows:

[0131] The user initiates an application for suspension of digital identity authentication service through the digital identity APP on the mobile terminal;

[0132] The digital identity business management platform organizes the business suspension data instruction and sends it to the digital identity APP on the mobile terminal; (the process starts from this step when the digital identity business management platform actively initiates the business suspension);

[0133] The digital identity APP of the mobile terminal sends a data suspension instruction to the SIM card through the machine-card channel. After receiving the instruction, the digital identity application installed on the SIM card completes the data update operation and updates the current service status to the suspension completion status. After the service is suspended, all digital identity-related functions on the SIM card cannot be used.

[0134] In another embodiment, the user deletes the digital identity application installed on the SIM card through the mobile phone APP. The process is as follows: Fig.11 As shown, the specific steps are as follows:

[0135] The user initiates a digital identity application deletion request through the digital identity authentication mobile app;

[0136] After receiving the user's application, the digital identity business management platform sends an application deletion request to the digital identity application management platform;

[0137] The digital identity application management platform establishes a connection with the SIM card and issues an application deletion instruction. After the SIM card completes the application deletion, all business keys and business data associated with the digital identity application installed on the SIM card are deleted. The digital identity service status used by the user is switched to an unclaimed state. When the digital identity application is used again, all keys and user information must be rewritten.

[0138] It should be noted that deleting business data can also be achieved through BIP and machine card methods.

[0139] As mentioned above, the channels responding to the application initiated by the digital identity APP include at least the BIP channel and the machine-card channel. In this way, on the basis of realizing the SIM card digital identity application status management, the flexibility of the SIM card digital identity application status management is improved.

[0140] Based on the first embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be described in detail later. On this basis, in the third embodiment of the present application, the general data written into the digital identity application includes the digital identity application serial number and the initial public key, and the initial private key and user personal information are stored on the digital identity service management platform; the step of switching the service status of the digital identity from service application completion to service activation completion by writing service data includes:

[0141] Generate a new key pair, wherein the new key pair includes a first public key and a first private key;

[0142] Encrypting the first public key and the digital identity application serial number using the initial public key, and sending the encrypted ciphertext to the digital identity service management platform;

[0143] Receiving the ciphertext returned by the digital identity service management platform, wherein the digital identity service management platform uses the initial private key to decrypt the received ciphertext, and after confirming that the digital identity application serial number is legitimate, obtains a service key based on the digital identity application serial number, and uses the first public key to encrypt the service key and the user personal information to obtain the ciphertext returned to the digital identity application;

[0144] The received ciphertext is decrypted using the first private key, and the business key and the user personal information obtained by decryption are used as the business data to be written.

[0145] In one embodiment, for key management and cryptographic algorithms,

[0146] a) Key Type

[0147] 1) The SIM card should have at least one set of management keys for obtaining access rights and establishing secure channels. The key can be updated;

[0148] 2) The SIM card should contain at least one set of service keys to ensure the security and effectiveness of service data interaction. The key can be updated.

[0149] b) Key Generation

[0150] 1) The SIM card should support the key generation function.

[0151] 2) The symmetric key used in the SIM card should be unique. Different SIM cards are configured with different keys, and the keys are stored in the SIM card;

[0152] 3) The asymmetric key used in the SIM card is generated by the SIM card, and the private key cannot be exported from the SIM card.

[0153] c) Key writing

[0154] 1) The key in the SIM card can be written through the machine-card channel or the BIP channel;

[0155] 2) When writing the key in the SIM card, the key data to be written should be encrypted.

[0156] d) Key usage

[0157] 1) The SIM card should support random dispersion. The random number generated by the SIM card is used as the dispersion factor, and the master key is dispersed using the dispersion factor using a symmetric algorithm to obtain the process key;

[0158] 2) SIM cards should support dynamic exchange. The digital identity authentication service platform or digital identity identification device and the SIM card first exchange their respective public key certificates, then each party generates a business key, and then uses the other party's public key to encrypt the business key. Finally, the two parties complete the key exchange, and after decryption, the business keys of both parties are synthesized into a unified process key.

[0159] e) Key destruction

[0160] 1) When the digital identity application is suspended, the SIM card deletes the currently used service key and cannot read the digital identity information. When it is restored to the activated state, it is necessary to re-apply for the service key;

[0161] 2) When the digital identity application is deleted, all service keys associated with the digital identity application installed on the SIM card must be deleted.

[0162] f) Cryptographic Algorithm

[0163] 1) The SIM card should support data encryption / decryption functions of symmetric algorithms, including AES and SM4;

[0164] 2) The SIM card should support data encryption / decryption functions of asymmetric algorithms, including RSA2048, SM2, etc.;

[0165] 3) SIM cards should support digital signature and verification functions, including SHA-256, SM3, etc.;

[0166] In another embodiment, when applying for a digital identity, the digital identity service management platform writes the digital identity application serial number and the initial management key into the SIM card through the digital identity application management platform, and the digital identity application installed on the SIM card enters the personalized state, and the digital identity service state used by the user is synchronously switched to the application state. Among them, the digital identity application serial number PID and the initial management key PubKey1 are written under the protection of the SIM card operating system layer security mechanism (such as the external authentication of the security domain SCP02 to which it belongs). After two-way authentication and establishment of a secure channel, the secure channel session key is used to encrypt and transmit the PID and the initial management key PubKey1. Among them, the initial management key PubKey1 is the initial public key.

[0167] In another embodiment, when activating a digital identity, the mobile terminal APP sends an activation data instruction to the SIM card through the machine-card channel. After receiving the instruction, the digital identity application installed on the SIM card completes the data update operation, writes the service key and user personal information, and updates the digital identity service status used by the current user to the activation status, where the service key and user personal information are the service data. When the service key and user personal information are written, the initial management key PubKey1 is used to link protect them through an asymmetric algorithm. The writing process and its security mechanism are as follows: Fig.12 As shown, the detailed process of writing business keys and user personal information is as follows:

[0168] After receiving the user's personal information and service activation application, the digital identity service management platform establishes a connection with the SIM card and initiates the service data writing process;

[0169] It should be noted that the digital identity application management platform does not encrypt the interaction Fig.12 As shown in the figure, the channel required for encrypted interaction needs to use this platform, but Fig.12 It is only necessary to indicate the two interacting parties, and omit the digital identity application management platform that only forwards data in the channel.

[0170] The SIM card generates a public key cryptographic algorithm key pair PubKey2 and PriKey2, i.e., a new key pair (the first public key is PubKey2, and the first private key is PriKey2). The SIM card security mechanism will ensure that the private key PriKey2 cannot be exported from the SIM card in any way;

[0171] The SIM card uses the initial management key PubKey1 to encrypt the first public key PubKey2 generated by the security chip and the digital identity application serial number PID, and sends the ciphertext to the digital identity service management platform;

[0172] After receiving the ciphertext, the digital identity service management platform uses the initial management private key PriKey1 (i.e., the initial private key) of the digital identity service management platform to decrypt the message;

[0173] After the digital identity service management platform confirms that the digital identity application serial number PID is legal, it uses the digital identity application serial number PID to disperse the service key root key to obtain the SIM card service key K1 (symmetric key, used for data encryption);

[0174] It should be noted that there is a root key, that is, the master key, on the server side. In order to ensure one card and one key and prevent the root key from being leaked, the key written into the SIM card is a secondary key dispersed from the root key on the server side.

[0175] The digital identity service management platform uses the first public key PubKey2 reported by the SIM card to encrypt the decentralized SIM card service key K1, the newly generated management key PubKey3 (asymmetric key) and the user's personal information, and then sends them to the SIM card;

[0176] The SIM card uses its own first private key PriKey2 to decrypt the data, store the business key K1 and user personal information, and replaces the initial management key PubKey1 stored in the SIM card with PubKey3. Subsequent business interactions will use the new management key PubKey3. At the same time, the SIM card switches its application status to the activated status and can respond to business data reading instructions. After the digital identity business management platform completes writing business data, it marks the SIM card corresponding to the digital identity application serial number PID as a business activation status. If the digital identity business management platform receives a business activation application for this digital identity application serial number PID again in the business activation status, the digital identity business management platform will refuse to respond.

[0177] In another embodiment, after the service is activated, the mobile phone APP can read the user's personal information ciphertext on the SIM card and hand it over to the digital identity service management platform for decryption. Or the user's personal information ciphertext can be read out by a dedicated reading device through NFC and decrypted by a dedicated PSAM module (terminal security control module). The reading process is as follows Fig.13 As shown, the detailed process of reading user digital identity data is as follows:

[0178] The mobile phone APP sends a digital identity data reading instruction to the SIM card through the machine-card channel or a dedicated reader through the NFC interface;

[0179] After receiving the instruction, the SIM card uses the service key K1 to encrypt the user's digital identity data and calculate the MAC;

[0180] The mobile phone APP or dedicated reading device transmits the read digital identity data ciphertext to the digital identity business management platform or PSAM module for data decryption;

[0181] After receiving the data, the digital identity service management platform or PSAM module calculates the SIM card service key K1 based on the SIM card digital identity application serial number PID (PID transmitted in plain text), and first verifies the MAC. After the MAC verification is passed, the data is decrypted to obtain the user's personal information.

[0182] In another feasible implementation manner, the step of switching the service status of the digital identity from service activation completed to service suspension completed by pausing includes:

[0183] Receiving a service suspension message, wherein the service suspension message is encrypted by the digital identity service management platform using a service key;

[0184] The service suspension message is decrypted using the service key, and after confirming that the service suspension message is legitimate, the service key is deleted, and the service status of the digital identity is switched from service activation completion to service suspension.

[0185] In one embodiment, the mobile phone APP sends a data suspension instruction to the SIM card through the machine-card channel. After receiving the instruction, the digital identity application installed on the SIM card completes the data update operation and updates the current service status to the suspended status. After the service is suspended, all digital identity-related functions on the SIM card cannot be used.

[0186] In another embodiment, when the application is suspended, the currently used service key will be deleted from the SIM card, and the digital identity data cannot be read. The digital identity service management platform will simultaneously set the SIM card status corresponding to this PID to service suspension. In this state, the digital identity service management platform can respond to the key download application of this PID again. When the service status is restored to the activated state, it is necessary to re-execute the following steps: Fig.12 The business key and user personal information writing process shown writes the business key K1 and updates the management key PubKey3.

[0187] In another embodiment, after receiving the service suspension application, the digital identity service management platform sends a service suspension instruction to the SIM card. The process is as follows: Fig.14 As shown, the detailed process of digital identity service suspension instruction interaction is as follows:

[0188] The digital identity service management platform calculates the service key K1 according to the SIM card PID, encrypts the downlink service suspension message, and signs the ciphertext data using the management private key PriKey3;

[0189] The digital identity service management platform sends a service suspension instruction to the SIM card;

[0190] After receiving the service suspension command, the SIM card first uses the management key PubKey3 to verify the command data. After the signature verification is passed, the service suspension message is decrypted using the service key K1;

[0191] The SIM card deletes the service key K1 according to the service suspension instruction, and sets the service state to the suspension state. After entering the suspension state, the SIM card will no longer respond to the user personal information reading instruction.

[0192] The above proposes a data encryption and link protection scheme during the conversion of digital identity application status and service status and the process of reading user information, that is, a security scheme for writing and updating digital identity management keys and service keys in SIM cards, using management keys to perform link protection through an asymmetric algorithm, thereby protecting user privacy data and key security.

[0193] A fourth embodiment of the present application provides a state switching method. In this embodiment, the method is applied to a digital identity APP installed on a terminal device, including:

[0194] By initiating an application to the digital identity application installed on the SIM card, the service status of the digital identity is switched, wherein the service status of the digital identity includes service application completion, service activation completion and service suspension completion.

[0195] In this embodiment, the state switching method applied to the digital identity APP installed on the terminal device can refer to the introduction of the first to third embodiments above, and the specific implementation details are not repeated here.

[0196] At present, solutions involving application status management only mark the digital identity application status on the business management platform side, but do not use the SIM card's own data security mechanism to manage business permissions and the life cycle of sensitive information. As a result, even if the business backend has disabled the user's business, the data on the SIM card can still be read, and some offline authentication scenarios can still complete authentication, which may bring security issues such as business management and privacy leakage.

[0197] The above provides a complete solution for the operations that can be performed by the digital identity application installed on the SIM card in different states, and realizes the management of the business state and data life cycle of the digital identity SIM card application. In addition, through the business state conversion mechanism of the SIM card itself, the life cycle management of the user data and key data on the card is realized, the key usage authority and the reading and updating authority of the business data are controlled, and the application on the SIM card can be restricted in the state of cancellation, suspension, deletion, etc. At the same time, it ensures that the data cannot be illegally read, and protects the user's privacy data and key security.

[0198] Based on the first to fourth embodiments of the present application, in an application scenario of the present application, after the digital identity service is activated, the user can use the digital identity application on the SIM card to complete the identity authentication service. Digital identity authentication includes two methods: mobile terminal digital identity APP authentication and digital identity recognition device authentication. Depending on the security level and requirements of the authentication, user real-person authentication and real-name authentication can be performed. The following describes in detail the two authentication methods of mobile terminal digital identity APP authentication and digital identity recognition device authentication.

[0199] Method 1: Complete digital identity authentication through a mobile terminal APP.

[0200] 1.1 Mobile terminal APP performs online authentication through the machine card channel

[0201] The mobile terminal digital identity APP machine card channel performs online authentication, reads the digital identity information on the SIM card through the mobile terminal digital identity APP, and connects to the digital identity service management platform to complete the digital identity authentication, such as Fig.15 As shown, the specific steps are as follows:

[0202] a) The mobile terminal digital identity APP calls the machine-card channel through the SIM machine-card channel SDK and reads the digital identity information in the SIM card through the machine-card channel;

[0203] b) Use the mobile phone camera to collect the user's portrait for real-person authentication (skip steps b) and c) for non-real-person authentication);

[0204] c) The mobile phone camera transmits the collected portrait data to the mobile terminal digital identity APP;

[0205] d) The mobile terminal digital identity APP uploads the user authentication data to the digital identity business management platform;

[0206] e) The digital identity business management platform requests authentication from the digital identity authentication service platform and obtains the authentication result;

[0207] The digital identity business management platform returns the authentication results and real person information to the mobile terminal digital identity APP.

[0208] 1.2 Mobile terminal APP performs online authentication through the BIP channel

[0209] The mobile terminal digital identity APP performs online authentication through the BIP channel. The digital identity application management platform reads the digital identity information on the SIM card through the BIP channel and connects to the digital identity business management platform to complete the digital identity authentication. Fig.16 As shown, the specific steps are as follows:

[0210] a) The mobile terminal digital identity APP connects to the digital identity service management platform and applies to obtain the user's digital identity information;

[0211] b) The digital identity service management platform connects to the digital identity application management platform and applies to read the digital identity information on the SIM card;

[0212] c) The digital identity application management platform establishes a BIP link with the SIM card and reads the digital identity information in the SIM card;

[0213] d) The digital identity application management platform returns the digital identity information in the SIM card to the digital identity service management platform;

[0214] e) Use the mobile phone camera to collect the user's portrait for real-person authentication (skip steps e), f), and g) for non-real-person authentication);

[0215] f) The mobile phone camera transmits the collected portrait data to the mobile terminal digital identity APP;

[0216] g) The mobile terminal digital identity APP uploads the user's portrait data to the digital identity business management platform for real-person verification;

[0217] h) The digital identity business management platform requests authentication from the digital identity authentication service platform and obtains the authentication result;

[0218] i) The digital identity business management platform returns the authentication results and identity information to the mobile terminal digital identity APP.

[0219] Method 2: Complete digital identity authentication through a digital identity recognition device

[0220] 2.1 Online identity authentication using digital identity recognition devices

[0221] The digital identity recognition device performs online identity authentication. The digital identity recognition device reads the digital identity information on the SIM card through NFC and connects to the digital identity authentication service platform to complete the digital identity authentication. Fig.17 As shown, the specific steps are as follows:

[0222] a) The digital identity recognition device calls the NFC module to read the digital identity information on the SIM card;

[0223] b) The digital identity information read by the NFC module is transmitted to the digital identity recognition device;

[0224] c) Use the digital identity recognition device’s own camera to collect the user’s portrait for real-person authentication (skip steps c) and d) for non-real-person authentication);

[0225] d) The digital identity recognition device camera transmits the collected portrait data to the digital identity recognition device;

[0226] e) The digital identity recognition device uploads the user authentication data to the digital identity authentication service platform for authentication;

[0227] The digital identity authentication service platform returns the authentication result and user identity information to the digital identity recognition device.

[0228] 2.2 Local identity authentication using digital identity recognition devices

[0229] The digital identity recognition device performs local identity authentication. The digital identity recognition device reads the digital identity information on the SIM card through NFC. The digital identity recognition device's own security module decrypts the read digital identity information and verifies it locally. Fig.18 As shown, the specific steps are as follows:

[0230] a) The digital identity recognition device calls the NFC module to read the digital identity information and portrait information on the SIM card;

[0231] b) The NFC module transmits the read digital identity information and portrait information to the digital identity recognition device;

[0232] c) Use the digital identity recognition device’s own camera to collect the user’s portrait for real-person authentication (skip steps c) and d) for non-real-person authentication);

[0233] d) The digital identity recognition device camera transmits the collected portrait data to the terminal application;

[0234] e) The digital identity recognition device calls the security module to decrypt the read digital identity information;

[0235] f) Digital identity recognition equipment completes digital identity information verification and authentication.

[0236] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the state switching method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0237] The present application provides a SIM card, the SIM card comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the state switching method described above.

[0238] The present application provides a terminal device, the terminal device comprising: a SIM card as described above and a digital identity APP running on the terminal device, the digital identity APP being configured to implement the steps of the state switching method as described above. In one embodiment, the terminal device further comprises: at least one processor; and a memory in communication connection with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the state switching method in the above-mentioned embodiment 1.

[0239] Reference below Fig.19, which shows a schematic diagram of the structure of a terminal device suitable for implementing the embodiment of the present application. The terminal device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.19 The terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0240] like Fig.19 As shown, the terminal device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the terminal device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the terminal device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a terminal device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.

[0241] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0242] The terminal device provided by the present application adopts the state switching method in the above embodiment, which can solve the technical problem that it is difficult to implement the state management of the SIM card digital identity application. Compared with the prior art, the beneficial effects of the terminal device provided by the present application are the same as the beneficial effects of the state switching method provided by the above embodiment, and the other technical features in the terminal device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0243] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0244] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0245] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the state switching method in the above-mentioned embodiment.

[0246] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0247] The computer-readable storage medium may be included in the terminal device; or may exist independently without being installed in the terminal device.

[0248] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0249] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0250] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0251] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned state switching method, and can solve the technical problem of difficulty in implementing the state management of SIM card digital identity application. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the state switching method provided in the above-mentioned embodiment, and will not be repeated here.

[0252] The present application also provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, the steps of the state switching method as described above are implemented.

[0253] The computer program product provided by the present application can solve the technical problem of difficulty in implementing SIM card digital identity application state management. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the state switching method provided by the above embodiment, which will not be repeated here.

[0254] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A state switching method, characterized in that: The method is applied to a digital identity application installed on a SIM card, comprising: Switching the application state of the digital identity application, wherein the application state includes initial, personalized and locked; Alternatively, in response to an application initiated by a digital identity APP installed on a terminal device, the service status of the digital identity is switched, wherein the service status of the digital identity includes service application completion, service activation completion, and service suspension completion.

2. The method according to claim 1, characterized in that The step of switching the application state of the digital identity application includes: By writing the general data of the digital identity application, the application state of the digital identity application is switched from initial to personalized, wherein when the digital identity application is installed on the SIM card, the application state of the digital identity application is initial; Alternatively, by locking the digital identity application, the application state is converted from personalized to locked; Alternatively, by unlocking the digital identity application, the application state is converted from locked to personalized.

3. The method according to claim 1, characterized in that The channels that respond to the application initiated by the digital identity APP include at least the BIP channel and the machine-card channel.

4. The method according to claim 1, characterized in that The step of switching the service status of the digital identity comprises: By writing the business data, the business status of the digital identity is switched from business application completed to business activation completed. When writing the general data of the digital identity application, the business status of the digital identity is business application completed. Alternatively, by deleting the business data, the business status of the digital identity is switched from business activation completed to business application completed; Alternatively, by pausing, the service status of the digital identity is switched from service activation completed to service suspension completed; Alternatively, the service status of the digital identity is switched from service suspension completion to service activation completion by restoring and / or updating service data; Alternatively, by deleting the business data, the business status of the digital identity is switched from business suspension completion to business claim completion.

5. The method according to claim 4, characterized in that The general data written into the digital identity application includes the digital identity application serial number and the initial public key, and the initial private key and user personal information are stored on the digital identity service management platform; the step of switching the service status of the digital identity from service application completion to service activation completion by writing the service data includes: Generate a new key pair, wherein the new key pair includes a first public key and a first private key; Encrypting the first public key and the digital identity application serial number using the initial public key, and sending the encrypted ciphertext to the digital identity service management platform; Receiving the ciphertext returned by the digital identity service management platform, wherein the digital identity service management platform uses the initial private key to decrypt the received ciphertext, and after confirming that the digital identity application serial number is legitimate, obtains a service key based on the digital identity application serial number, and uses the first public key to encrypt the service key and the user personal information to obtain the ciphertext returned to the digital identity application; The received ciphertext is decrypted using the first private key, and the business key and the user personal information obtained by decryption are used as the business data to be written.

6. The method according to claim 4, characterized in that The step of switching the service status of the digital identity from service activation completed to service suspension completed by pausing includes: Receiving a service suspension message, wherein the service suspension message is encrypted by the digital identity service management platform using a service key; The service suspension message is decrypted using the service key, and after confirming that the service suspension message is legitimate, the service key is deleted, and the service status of the digital identity is switched from service activation completion to service suspension.

7. A state switching method, characterized in that: The method is applied to a digital identity APP installed on a terminal device, including: By initiating an application to the digital identity application installed on the SIM card, the service status of the digital identity is switched, wherein the service status of the digital identity includes service application completion, service activation completion and service suspension completion.

8. A SIM card, characterized in that: The SIM card comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the state switching method according to any one of claims 1 to 6.

9. A terminal device, characterized in that: The terminal device comprises: the SIM card as claimed in claim 8 and a digital identity APP running on the terminal device, and the digital identity APP is configured to implement the steps of the state switching method as claimed in claim 7.

10. A storage medium, characterized in that: The storage medium is a readable storage medium, and the storage medium includes a first storage medium and / or a second storage medium; The first storage medium stores a first computer program, which, when executed, implements the steps of the state switching method according to any one of claims 1 to 6; The second storage medium stores a second computer program, and when the second computer program is executed, the steps of the state switching method according to claim 7 are implemented.

11. A computer program product, characterized in that The computer program product comprises a first computer program and / or a second computer program; When the first computer program is executed, the steps of the state switching method according to any one of claims 1 to 6 are implemented; When the second computer program is executed, the steps of the state switching method according to claim 7 are implemented.