Private certificate processing method and device, equipment, medium and program product
By receiving and processing the certificates to be downloaded on the eSIM card, splitting, reorganizing and activating the installation, the problem of users being unable to download and install private certificates of other operators is solved and the user experience is improved.
Patent Information
- Application Number
- CN202410733659.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, users cannot download and install private certificates issued by other operators, resulting in reduced user experience.
By receiving the certificate to be downloaded from the client, it is sent to the authentication server to generate a certificate writing instruction. The eSIM card splits and reorganizes the certificate according to the certificate writing instruction, and generates a description identification, stores and sends it to the authentication server. When the certificate is received When an installation request is made, the reorganized certificate in the storage partition is retrieved according to the retrieval instructions to implement certificate activation installation.
It solves the problem of users being unable to download and install private certificates issued by other operators, and improves the user experience.
Smart Images

Figure CN118540690A
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart card technology, and in particular to a method, device, equipment, medium and program product for processing a private certificate. Background Art
[0002] Embedded SIM, also known as eSIM, is a traditional physical SIM card directly embedded in the chip. Users do not need to insert a physical SIM card and can use the corresponding operator's services through eSIM. The eSIM is installed with a certificate, which is used to verify the identity of the device or user, allowing users to use the operator's personalized management services.
[0003] In the prior art, certificates are divided into general certificates and private certificates, wherein the private certificate needs to be pre-installed in the eSIM card before the eSIM card leaves the factory.
[0004] However, in the prior art, users can only download and install private certificates pre-installed in the eSIM card. When users need to use private certificates issued by other operators, they cannot download and install them, which reduces the user experience. Summary of the invention
[0005] The present application provides a private certificate processing method, apparatus, device, medium and program product to solve the problem in the prior art that users cannot download and install private certificates issued by other operators, resulting in a reduced user experience.
[0006] In a first aspect, the present application provides a method for processing a private certificate, which is applied to an eSIM card, including:
[0007] Receiving multiple certificates to be downloaded sent by the client;
[0008] Sending the multiple certificates to be downloaded to the authentication server, so that the authentication server generates a certificate writing instruction according to the multiple certificates to be downloaded;
[0009] Receiving a certificate writing instruction sent by the authentication server;
[0010] According to the certificate writing instruction, the multiple certificates to be downloaded are split and reassembled according to the certificate identification format to obtain multiple reassembled certificates;
[0011] generating description identifiers of the plurality of reorganization certificates;
[0012] Storing the plurality of reorganization certificates carrying the description identifier in a storage partition;
[0013] Sending the description identifier to the authentication server so that the authentication server stores the description identifier;
[0014] Receive a certificate installation request sent by the client;
[0015] Sending the certificate installation request to the authentication server, so that the authentication server queries the description identifier according to the certificate installation request and generates a search instruction;
[0016] Receiving a search instruction sent by the authentication server;
[0017] The multiple reorganized certificates in the storage partition are retrieved according to the retrieval instruction to implement certificate activation and installation.
[0018] In one possible design, the multiple certificates to be downloaded are split and reorganized according to the certificate identification format according to the certificate write instruction to obtain multiple reorganized certificates, including: splitting the multiple certificates to be downloaded according to the certificate identification format according to the certificate write instruction to obtain multiple certificate fields; generating corresponding certificate tags according to the multiple certificate fields; and adding the certificate tags to the multiple certificate fields to obtain multiple reorganized certificates.
[0019] In one possible design, after adding the certificate tag to the multiple certificate fields to obtain multiple reorganization certificates, it also includes: obtaining signature algorithm identifiers in the multiple reorganization certificates; traversing the algorithm database according to the signature algorithm identifier to match the customized algorithms corresponding to the multiple reorganization certificates; creating an algorithm engine according to the customized algorithm, and the algorithm engine is used to authenticate the security of the reorganization certificate by the authentication server.
[0020] In one possible design, retrieving multiple reorganization certificates in the storage partition according to the retrieval instruction to achieve certificate activation and installation includes: extracting the description identifier in the retrieval instruction; retrieving the certificate sequence in the multiple reorganization certificates in the storage partition according to the description identifier to locate the reorganization certificate corresponding to the description identifier; extracting the authentication information in the retrieval instruction, and writing the authentication information into the reorganization certificate corresponding to the description identifier to achieve certificate activation and installation.
[0021] In one possible design, the generating of the description identifiers of the multiple reorganization certificates includes: obtaining the operator key in the multiple reorganization certificates, the operator key being used to instruct the authentication server to decrypt the operator key to obtain the operator information, and generating an addition instruction based on the operator information; generating the description identifiers of the multiple reorganization certificates based on the addition instruction sent by the authentication server.
[0022] In a second aspect, the present application provides a private certificate processing device, which is applied to an eSIM card, including:
[0023] A first receiving module, used for receiving a plurality of certificates to be downloaded sent by a user terminal;
[0024] A first sending module, used for sending the multiple certificates to be downloaded to the authentication server, so that the authentication server generates a certificate writing instruction according to the multiple certificates to be downloaded;
[0025] A second receiving module, used to receive a certificate writing instruction sent by the authentication server;
[0026] A splitting module, used for splitting and reorganizing the multiple certificates to be downloaded according to the certificate writing instruction and the certificate identification format to obtain multiple reorganized certificates;
[0027] A generating module, used for generating description identifiers of the plurality of reorganization certificates;
[0028] A first storage module, used for storing a plurality of reorganization certificates carrying the description identifier into a storage partition;
[0029] A second sending module, used for sending the description identifier to the authentication server, so that the authentication server stores the description identifier;
[0030] A third receiving module is used to receive a certificate installation request sent by a user terminal;
[0031] A third sending module, used for sending the certificate installation request to the authentication server, so that the authentication server queries the description identifier according to the certificate installation request and generates a search instruction;
[0032] A fourth receiving module, used to receive a search instruction sent by the authentication server;
[0033] The second storage module is used to retrieve multiple reorganized certificates in the storage partition according to the retrieval instruction to implement certificate activation and installation.
[0034] In one possible design, the splitting module includes: a splitting unit, used to split the multiple certificates to be downloaded according to the certificate identification format according to the certificate writing instruction to obtain multiple certificate fields; a first generating unit, used to generate corresponding certificate tags according to the multiple certificate fields; an adding unit, used to add the certificate tags to the multiple certificate fields to obtain multiple reorganized certificates.
[0035] In a third aspect, the present application provides a terminal device, including:
[0036] at least one processor and memory;
[0037] The memory stores computer-executable instructions;
[0038] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the private certificate processing method described in the first aspect and various possible designs of the first aspect.
[0039] In a fourth aspect, the present application provides a computer storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the method for processing private certificates as described in the first aspect and various possible designs of the first aspect is implemented.
[0040] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method for processing private certificates as described in the first aspect and various possible designs of the first aspect.
[0041] The private certificate processing method, device, equipment, medium and program product provided in the present application, by receiving multiple certificates to be downloaded sent by the user end, sending the certificates to be downloaded to the authentication server end, the authentication server end generates a certificate write instruction, the eSIM card splits and reorganizes the multiple certificates to be downloaded according to the certificate identification format according to the certificate write instruction, obtains multiple reorganized certificates, generates description identifiers of multiple reorganized certificates, stores the reorganized certificates carrying the description identifier in a storage partition, and sends the description identifier to the authentication server end. When receiving a certificate installation request from the user end, the authentication server end queries the description identifier to generate a retrieval instruction, and the eSIM card retrieves the multiple reorganized certificates in the storage partition according to the retrieval instruction to realize certificate activation, thereby solving the problem in the prior art that users cannot download and install private certificates issued by other operators, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0043] Figure 1 It is a schematic diagram of an application scenario of a method for processing a private certificate provided in an embodiment of the present application;
[0044] Figure 2 A flowchart of a method for processing a private certificate provided in one embodiment of the present application;
[0045] Figure 3 A schematic diagram of the certificate and the corresponding algorithm engine provided in the embodiment of the present application;
[0046] Figure 4A schematic diagram of an authentication server identification certificate provided in an embodiment of the present application;
[0047] Figure 5 A schematic diagram of the structure of a private certificate processing device provided in an embodiment of the present application;
[0048] Figure 6 A schematic diagram of the hardware structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0050] Embedded SIM, also known as eSIM, is a traditional physical SIM card directly embedded and integrated inside the chip. Users do not need to insert a physical SIM card and can use the services of the corresponding operator through eSIM. Certificates are installed in eSIM, which are used to verify the identity of the device or user, thereby allowing users to use the operator's personalized management services. In the prior art, certificates are divided into general certificates and private certificates. Among them, private certificates need to be pre-installed in the eSIM card before the eSIM card leaves the factory. However, in the prior art, users can only download and install private certificates pre-installed in the eSIM card. When users need to use private certificates issued by other operators, they cannot download and install them, resulting in a reduced user experience.
[0051] In order to solve the above technical problems, the embodiments of the present application propose the following technical concepts: the inventor considers sending multiple certificates to be downloaded to the authentication server, and sending a certificate write instruction to the eSIM card through the authentication server. The eSIM card splits and reorganizes the multiple certificates to be downloaded according to the certificate identification format according to the certificate write instruction to obtain multiple reorganized certificates. Considering adding a description mark to the reorganized certificate, the reorganized certificate with the description mark added is stored in the eSIM card, and the description mark is sent and stored to the authentication server. When receiving the certificate installation request from the user, the authentication server queries the description mark to generate a retrieval instruction. The eSIM card retrieves and activates the corresponding certificate according to the retrieval instruction to realize the certificate activation and installation, which solves the problem in the prior art that users cannot download and install private certificates issued by other operators, resulting in a reduced user experience. The following is a detailed description using a detailed embodiment.
[0052] Figure 1 Schematic diagram of the application scenario of the private certificate processing method provided in the embodiment of the present application. Figure 1 As shown, the application scenario includes: a user terminal 101, an eSIM card 102 and an authentication service terminal 103.
[0053] The user terminal 101 sends multiple certificates to be downloaded to the eSIM card 102, and the eSIM card 102 sends the multiple certificates to be downloaded to the authentication server 103. The authentication server 103 generates a certificate writing instruction. The eSIM card 102 splits and reassembles the multiple certificates to be downloaded according to the certificate identification format according to the certificate writing instruction to obtain multiple reassembled certificates, and generates description identifiers of multiple reassembled certificates, and stores the multiple reassembled certificates carrying the description identifiers in the storage partition of the eSIM card 102. The authentication server 103 stores the description identifier sent by the eSIM card 102. The user terminal 101 sends a certificate installation request to the eSIM card 102, and the eSIM card 102 sends the certificate installation request to the authentication server 103. The authentication server 103 queries the description identifier and generates a search instruction. The eSIM card 102 retrieves the multiple reassembled certificates in the storage partition according to the search instruction to realize the certificate activation and installation.
[0054] Figure 2 A flowchart of a method for processing a private certificate provided in an embodiment of the present application. The execution subject of this embodiment may be Figure 1 The eSIM card in the embodiment shown is not particularly limited in this embodiment. Figure 2 As shown, the method includes:
[0055] S201: receiving multiple certificates to be downloaded sent by a user terminal.
[0056] Specifically, the eSIM card receives multiple certificates to be downloaded sent by the user terminal through wireless communication.
[0057] In this embodiment, the physical device of the user terminal includes but is not limited to a mobile phone, a tablet and a smart watch with an integrated eSIM card.
[0058] In this embodiment, the certificate to be downloaded is a certificate that is not pre-installed in the eSIM card.
[0059] In this embodiment, the certificates in the eSIM card are divided into a general certificate and a private certificate to be downloaded, wherein the general certificate complies with the GSMA specification.
[0060] S202: Sending multiple certificates to be downloaded to the authentication server, so that the authentication server generates a certificate writing instruction according to the multiple certificates to be downloaded.
[0061] Specifically, the authentication server detects the certificate content in the certificate to be downloaded. If the certificate content is detected and passes the detection, a certificate write instruction is generated; if the certificate content is detected and fails, the eSIM card is prohibited from downloading and storing the certificate to be downloaded.
[0062] In this embodiment, the authentication server is used to verify the security of the certificate to be downloaded.
[0063] In this embodiment, after the authentication server generates the certificate writing instruction, it generates multiple log files corresponding to the certificates to be downloaded.
[0064] The formats of the log files include but are not limited to txt, json and xml.
[0065] S203: Receive a certificate writing instruction sent by the authentication server.
[0066] Specifically, a certificate writing instruction sent by the authentication service end is received by way of wireless communication.
[0067] S204: splitting and reorganizing a plurality of certificates to be downloaded according to the certificate writing instruction and the certificate identification format to obtain a plurality of reorganized certificates.
[0068] Specifically, the certificate is split into multiple certificate fields, a certificate tag corresponding to each certificate field is generated, and the certificate tags are added to the multiple certificate fields to obtain multiple reorganized certificates.
[0069] S205: Generate description identifiers of multiple reorganization certificates.
[0070] Specifically, the operator keys in the multiple reorganization certificates are obtained, the authentication service end decrypts the operator keys to obtain the operator information, generates an add instruction for the reorganization certificate corresponding to the operator information, sends the add instruction to the eSIM card, and the eSIM card generates description identifiers of the multiple reorganization certificates according to the add instruction.
[0071] S206: Storing the multiple reorganization certificates carrying the description identifiers into the storage partition.
[0072] Specifically, the eSIM card divides a certificate storage partition according to the space occupied by the files of the multiple reorganized certificates.
[0073] In this embodiment, the storage format of the multiple reorganized certificates stored in the storage partition is TLV format.
[0074] S207: Send the description identifier to the authentication server, so that the authentication server stores the description identifier.
[0075] Specifically, the eSIM card sends the description identifier to the authentication service end through wireless communication.
[0076] In this embodiment, the authentication server uses the management key to encrypt and store the description identifier.
[0077] S208: Receive a certificate installation request sent by the client.
[0078] Specifically, a certificate installation request sent by a user terminal is received by wireless communication.
[0079] In this embodiment, scenarios where a certificate installation request is generated include, but are not limited to, deployment of new operator services, certificate expiration, certificate about to expire, and security policy adjustment.
[0080] S209: Sending a certificate installation request to the authentication server, so that the authentication server queries the description identifier according to the certificate installation request and generates a search instruction.
[0081] In this embodiment, the certificate to be installed is recorded in the certificate installation request.
[0082] Specifically, the authentication server queries the corresponding description identifier according to the certificate to be installed in the certificate installation request, and generates a search instruction if the corresponding description identifier is retrieved; if the description identifier is not detected, an instruction to prohibit the installation of the certificate is sent to the eSIM card.
[0083] S210: Receive a search instruction sent by the authentication server.
[0084] Specifically, the eSIM card receives the retrieval instruction sent by the authentication service end through wireless communication.
[0085] In this embodiment, the description identifier of the certificate to be installed is recorded in the retrieval instruction.
[0086] S211: Retrieve multiple reorganized certificates in the storage partition according to the retrieval instruction to implement certificate activation and installation.
[0087] Specifically, the eSIM card extracts the description identifier in the retrieval instruction, retrieves the certificate sequence in the storage partition according to the description identifier, locates the reorganization certificate corresponding to the description identifier, and writes the authentication information into the reorganization certificate to realize the certificate activation and installation.
[0088] In addition, it should be noted that private certificates are divided into pre-made certificates before the eSIM card leaves the factory and certificates downloaded by users according to user needs after the eSIM card leaves the factory. Among them, for the pre-made certificate, it is not necessary to perform S201 to S203 of this embodiment, the pre-made certificate is split and reorganized to generate a reorganized certificate, and the retrieval and verification are performed according to the method of S205 to S209, so as to realize the activation and installation of the pre-made certificate.
[0089] It can be seen from the above embodiment that by receiving multiple certificates to be downloaded sent by the user end, the certificates to be downloaded are sent to the authentication server end, the authentication server end generates a certificate write instruction, and the eSIM card splits and reorganizes the multiple certificates to be downloaded according to the certificate identification format according to the certificate write instruction to obtain multiple reorganized certificates, generates description identifiers of multiple reorganized certificates, stores the reorganized certificates carrying the description identifier in the storage partition, and sends the description identifier to the authentication server end. When receiving the certificate installation request from the user end, the authentication server end queries the description identifier to generate a retrieval instruction, and the eSIM card retrieves the multiple reorganized certificates in the storage partition according to the retrieval instruction to realize certificate activation, which solves the problem in the prior art that users cannot download and install private certificates issued by other operators, and improves the user experience.
[0090] In one embodiment of the present application, step S204 includes:
[0091] S2041: Split multiple certificates to be downloaded according to the certificate writing instruction and the certificate identification format to obtain multiple certificate fields.
[0092] Exemplarily, the certificate to be downloaded is as follows: 0231 3302 20220418 20280418 0089 01020304050607080102030405060708 0102030405060708010203040506070801020304050607080102030405060708
[0096] Specifically, the certificate to be downloaded is divided according to the following table to obtain multiple certificate fields:
[0097]
[0098] S2042: Generate a corresponding certificate tag according to multiple certificate fields.
[0099] In this embodiment, after the certificate to be downloaded is split into multiple certificate fields, the field meaning, field length and corresponding identifier are generated according to the content of each field.
[0100] In this embodiment, the certificate tag records the field content, field length, field meaning and identification.
[0101] S2043: Add the certificate tag to multiple certificate fields to obtain multiple reorganized certificates.
[0102] In this embodiment, the reorganized certificates after adding the certificate tags are classified and saved according to the operator type.
[0103] It can be seen from the above embodiment that by splitting the certificate to be downloaded into multiple certificate fields, generating a certificate tag for each certificate field, and reorganizing the certificate after adding the tag, it is convenient to find the reorganized certificate according to the certificate tag, thereby improving the efficiency of eSIM card certificate retrieval.
[0104] In one embodiment of the present application, after step S2043, the method further includes:
[0105] S2044: Obtain signature algorithm identifiers in multiple reorganized certificates.
[0106] Specifically, the content of the signature algorithm identifier is obtained according to the identifier number corresponding to the signature algorithm identifier.
[0107] S2045: Traverse the algorithm database according to the signature algorithm identifier to match the customized algorithms corresponding to the multiple reorganized certificates.
[0108] In this embodiment, the algorithms recorded in the algorithm database include but are not limited to the ECC algorithm, the RSA algorithm and the DES algorithm.
[0109] S2046: Create an algorithm engine based on the customized algorithm, and the algorithm engine is used to authenticate the security of the reorganization certificate of the authentication server.
[0110] Figure 3 A schematic diagram of the certificate and corresponding algorithm engine provided in an embodiment of the present application.
[0111] like Figure 3 As shown, the eSIM card stores a pre-installed universal certificate and a split and reorganized private certificate, wherein a universal authentication engine is created according to a standard algorithm of the universal certificate, and a customized authentication engine is created according to a customized algorithm of the private certificate.
[0112] Figure 4 A schematic diagram of an authentication server identification certificate provided in an embodiment of the present application.
[0113] like Figure 4 As shown, the certificate type of the certificate to be authenticated is obtained. If the certificate to be authenticated is a universal standard certificate, the standard SMDP+ platform is called to obtain the standard authentication engine corresponding to the standard certificate in the eSIM card; if the certificate to be authenticated is a customized private certificate, the customized SMDP+ platform is called to obtain the customized authentication engine corresponding to the customized certificate in the eSIM card.
[0114] It can be seen from the above embodiments that by obtaining the signature algorithm identifier in the certificate, traversing the algorithm database, and matching the corresponding custom algorithm according to the signature algorithm identifier, a custom algorithm engine is created to facilitate the authentication server to verify the reorganization certificate, thereby improving the security of the reorganization certificate.
[0115] In one embodiment of the present application, step S211 includes:
[0116] S2111: Extract the description identifier in the search instruction.
[0117] In this embodiment, the content recorded in the description identifier includes but is not limited to a transmission key, a management key, an operator identifier, and a certificate sequence.
[0118] The operator identifier is used to display the operator information of the certificate.
[0119] Among them, the transmission key is used to manage the data transmission security between the authentication server and the eSIM card.
[0120] The management key is used to access the stored reorganization certificate.
[0121] S2112: Retrieve the certificate sequence in the multiple reorganization certificates in the storage partition according to the description identifier to locate the reorganization certificate corresponding to the description identifier.
[0122] Specifically, the certificate sequence recorded in the description identifier is compared with the certificate sequence in the storage partition in sequence to obtain the storage path of the reorganization certificate to locate the reorganization certificate corresponding to the description identifier.
[0123] S2113: Extract the authentication information in the retrieval instruction, and write the authentication information into the reorganized certificate corresponding to the description identifier to realize the activation and installation of the certificate.
[0124] In this embodiment, the authentication information is written into the extension field in the reorganized certificate to implement certificate activation and installation.
[0125] It can be seen from the above embodiments that the certificate sequence in the storage partition is retrieved through the description identifier in the retrieval instruction, the reorganization certificate corresponding to the description identifier is located, and the authentication information is written into the reorganization certificate to realize the certificate activation installation, thereby avoiding repeated authentication when the certificate is installed again later, and improving the efficiency of certificate installation.
[0126] In one embodiment of the present application, step S205 includes:
[0127] S2051: Acquire the operator key in the multiple reorganized certificates. The operator key is used to instruct the authentication server to decrypt the operator key to obtain the operator information, and generate an add instruction according to the operator information.
[0128] Specifically, the authentication server decrypts the operator key through the operator public key to obtain the operator information. If the operator information passes the authentication of the authentication server, the authentication server creates an instruction to add a certificate corresponding to the operator according to the operator information.
[0129] In this embodiment, the encryption form of the operator information includes symmetric encryption and asymmetric encryption.
[0130] S2052: Generate description identifiers of multiple reorganized certificates according to the adding instruction sent by the authentication server.
[0131] In this embodiment, the certificate identifier of the reorganized certificate that has passed authentication is recorded in the adding instruction.
[0132] Specifically, the eSIM card obtains the reorganization certificate authenticated by the authentication service end according to the adding instruction, and generates a description mark.
[0133] In this embodiment, the sequence and index of the identification record reorganization certificate are described.
[0134] It can be seen from the above embodiment that the operator key of the reorganization certificate is decrypted by the authentication server to obtain the operator information and generate an add instruction. The eSMI card generates a description mark of the authenticated reorganization certificate according to the add instruction. The authentication server is used to authenticate the reorganization certificate, which improves the security of the reorganization certificate in the eSIM card. A description mark is added to the reorganization certificate to facilitate the retrieval of the reorganization certificate by the eSIM card.
[0135] Figure 5 A schematic diagram of the structure of a private certificate processing device provided in an embodiment of the present application. Figure 5 As shown, the private certificate processing device 50 includes: a first receiving module 501, a first sending module 502, a second receiving module 503, a splitting module 504, a generating module 505, a first storage module 506, a second sending module 507, a third receiving module 508, a third sending module 509, a fourth receiving module 510 and a second storage module 511.
[0136] The first receiving module 501 is used to receive multiple certificates to be downloaded sent by the user terminal.
[0137] The first sending module 502 is used to send multiple certificates to be downloaded to the authentication server, so that the authentication server generates a certificate writing instruction according to the multiple certificates to be downloaded.
[0138] The second receiving module 503 is used to receive a certificate writing instruction sent by the authentication server.
[0139] The splitting module 504 is used to split and reassemble multiple certificates to be downloaded according to the certificate writing instruction and the certificate identification format to obtain multiple reassembled certificates.
[0140] The generating module 505 is used to generate description identifiers of multiple reorganization certificates.
[0141] The first storage module 506 is used to store the multiple reorganization certificates carrying the description identifiers into the storage partition.
[0142] The second sending module 507 is used to send the description identifier to the authentication server, so that the authentication server stores the description identifier.
[0143] The third receiving module 508 is used to receive a certificate installation request sent by the user terminal.
[0144] The third sending module 509 is used to send the certificate installation request to the authentication server, so that the authentication server queries the description identifier according to the certificate installation request and generates a search instruction.
[0145] The fourth receiving module 510 is used to receive a search instruction sent by the authentication server.
[0146] The second storage module 511 is used to retrieve multiple reorganized certificates in the storage partition according to the retrieval instruction to implement certificate activation and installation.
[0147] In one embodiment of the present application, the splitting module 504 includes:
[0148] The splitting unit 5041 is used to split the multiple certificates to be downloaded according to the certificate writing instruction and the certificate identification format to obtain multiple certificate fields.
[0149] The first generating unit 5042 is configured to generate a corresponding certificate tag according to multiple certificate fields.
[0150] The adding unit 5043 is used to add the certificate tag to multiple certificate fields to obtain multiple reorganized certificates.
[0151] In one embodiment of the present application, the splitting module 504 further includes:
[0152] The first obtaining unit 5044 is used to obtain signature algorithm identifiers in multiple reorganized certificates.
[0153] The traversal unit 5045 is used to traverse the algorithm database according to the signature algorithm identifier to match the customized algorithms corresponding to the multiple reorganized certificates.
[0154] The creation unit 5046 is used to create an algorithm engine according to the customized algorithm, and the algorithm engine is used to authenticate the security of the reorganization certificate of the authentication server.
[0155] In one embodiment of the present application, the second storage module 511 includes:
[0156] The first extraction unit 5111 is used to extract the description identifier in the search instruction.
[0157] The retrieval unit 5112 is used to retrieve the certificate sequence in the multiple reorganization certificates in the storage partition according to the description identifier to locate the reorganization certificate corresponding to the description identifier.
[0158] The second extraction unit 5113 is used to extract the authentication information in the search instruction, and write the authentication information into the reorganized certificate corresponding to the description identifier to realize the activation and installation of the certificate.
[0159] In one embodiment of the present application, the generating module 505 includes:
[0160] The second acquisition unit 5051 is used to acquire the operator key in the multiple reorganized certificates, where the operator key is used to instruct the authentication server to decrypt the operator key to obtain the operator information, and generate an adding instruction according to the operator information.
[0161] The second generating unit 5052 is used to generate description identifiers of multiple reorganized certificates according to the adding instruction sent by the authentication server.
[0162] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.
[0163] Figure 6 This is a schematic diagram of the hardware structure of the terminal device provided in the embodiment of the present application. The terminal device may be an eSIM card, or a terminal device with an eSIM card installed. Figure 6 As shown, the terminal device includes: at least one processor 601 and a memory 602; the memory stores computer execution instructions; at least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the above private certificate processing method.
[0164] Optionally, the memory 602 may be independent or integrated with the processor 601 .
[0165] When the memory 602 is independently provided, the terminal device further includes a bus 603 for connecting the memory 602 and the processor 601 .
[0166] The embodiment of the present application further provides a computer storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the above private certificate processing method is implemented.
[0167] An embodiment of the present application also provides a computer program product, including a computer program. When the computer program is executed by a processor, the private certificate processing method as described above is implemented.
[0168] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0169] The modules described above as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.
[0170] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0171] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the above-mentioned method in each embodiment of the present application.
[0172] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
[0173] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.
[0174] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0175] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0176] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic device or a main control device.
[0177] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0178] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for processing a private certificate, characterized in that: Applicable to eSIM cards, including: Receiving multiple certificates to be downloaded sent by the client; Sending the multiple certificates to be downloaded to the authentication server, so that the authentication server generates a certificate writing instruction according to the multiple certificates to be downloaded; Receiving a certificate writing instruction sent by the authentication server; According to the certificate writing instruction, the multiple certificates to be downloaded are split and reassembled according to the certificate identification format to obtain multiple reassembled certificates; generating description identifiers of the plurality of reorganization certificates; Storing the plurality of reorganization certificates carrying the description identifier in a storage partition; Sending the description identifier to the authentication server so that the authentication server stores the description identifier; Receive a certificate installation request sent by the client; Sending the certificate installation request to the authentication server, so that the authentication server queries the description identifier according to the certificate installation request and generates a search instruction; Receiving a search instruction sent by the authentication server; The multiple reorganized certificates in the storage partition are retrieved according to the retrieval instruction to implement certificate activation and installation.
2. The method according to claim 1, characterized in that The step of splitting and reorganizing the multiple certificates to be downloaded according to the certificate writing instruction and the certificate identification format to obtain multiple reorganized certificates includes: Splitting the multiple certificates to be downloaded according to the certificate writing instruction and the certificate identification format to obtain multiple certificate fields; generating corresponding certificate tags according to the multiple certificate fields; The certificate tag is added to the plurality of certificate fields to obtain a plurality of reorganized certificates.
3. The method according to claim 2, characterized in that After adding the certificate tag to the plurality of certificate fields to obtain a plurality of reorganized certificates, the method further includes: Obtaining signature algorithm identifiers in the multiple reorganization certificates; Traversing an algorithm database according to the signature algorithm identifier to match customized algorithms corresponding to the multiple reorganization certificates; An algorithm engine is created according to the customized algorithm, and the algorithm engine is used for authenticating the security of the reorganized certificate by the authentication server.
4. The method according to claim 1, characterized in that: The retrieving the multiple reorganized certificates in the storage partition according to the retrieval instruction to implement certificate activation installation includes: Extracting the description identifier in the search instruction; Retrieving a certificate sequence in a plurality of reorganization certificates in the storage partition according to the description identifier to locate the reorganization certificate corresponding to the description identifier; The authentication information in the retrieval instruction is extracted, and the authentication information is written into the reorganization certificate corresponding to the description identifier to realize the activation and installation of the certificate.
5. The method according to any one of claims 1 to 4, characterized in that: The description identification of generating the plurality of reorganization certificates includes: Obtaining operator keys in the multiple reorganized certificates, wherein the operator keys are used to instruct the authentication server to decrypt the operator keys to obtain operator information, and to generate an adding instruction according to the operator information; Generate description identifiers of the multiple reorganization certificates according to the adding instruction sent by the authentication service end.
6. A private certificate processing device, characterized in that: Applicable to eSIM cards, including: A first receiving module, used for receiving a plurality of certificates to be downloaded sent by a user terminal; A first sending module, used for sending the multiple certificates to be downloaded to the authentication server, so that the authentication server generates a certificate writing instruction according to the multiple certificates to be downloaded; A second receiving module, used to receive a certificate writing instruction sent by the authentication server; A splitting module, used for splitting and reorganizing the multiple certificates to be downloaded according to the certificate writing instruction and the certificate identification format to obtain multiple reorganized certificates; A generating module, used for generating description identifiers of the plurality of reorganization certificates; A first storage module, used for storing a plurality of reorganization certificates carrying the description identifier into a storage partition; A second sending module, used for sending the description identifier to the authentication server, so that the authentication server stores the description identifier; A third receiving module is used to receive a certificate installation request sent by a user terminal; A third sending module, used for sending the certificate installation request to the authentication server, so that the authentication server queries the description identifier according to the certificate installation request and generates a search instruction; A fourth receiving module, used to receive a search instruction sent by the authentication server; The second storage module is used to retrieve multiple reorganized certificates in the storage partition according to the retrieval instruction to implement certificate activation and installation.
7. The device according to claim 6, characterized in that The splitting module comprises: A splitting unit, configured to split the multiple certificates to be downloaded according to the certificate writing instruction and the certificate identification format to obtain multiple certificate fields; A first generating unit, configured to generate a corresponding certificate tag according to the plurality of certificate fields; An adding unit is used to add the certificate tag to the multiple certificate fields to obtain multiple reorganized certificates.
8. A terminal device, characterized in that: include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the private certificate processing method according to any one of claims 1 to 5.
9. A computer storage medium, characterized in that The computer storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the method for processing a private certificate according to any one of claims 1 to 5 is implemented.
10. A computer program product, characterized in that The invention comprises a computer program, which, when executed by a processor, implements the private certificate processing method according to any one of claims 1 to 5.
