A digital management method, system, device and storage medium for certificates

Through blockchain and distributed storage technology, the security and privacy issues in the storage and verification of electronic certificates are solved, the safe storage and cross-regional sharing of certificate data are realized, and the third-party verification process is standardized to prevent information leakage and Unlawful use.

CN118690419BActive Publication Date: 2024-10-29GUIZHOU UNIVERSITY OF FINANCE AND ECONOMICS +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411163615.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-23
Publication Date
2024-10-29
Estimated Expiration
2044-08-23

AI Technical Summary

Technical Problem

Existing technologies have security and privacy issues in the storage and management of electronic certificates. Especially in the process of cross-regional data sharing and third-party verification, there is a lack of effective rule constraints, leading to risks of data leakage and illegal abuse.

Method used

Through the combination of blockchain and distributed storage, sliced ​​storage and secondary verification of licenses are realized, key pairs are generated for encrypted transmission, and rule constraints are imposed on third-party verification to ensure the security and traceability of data storage and verification. .

Benefits of technology

It improves the security of certificate storage and the standardization of third-party verification, prevents the leakage and illegal abuse of certificate information, realizes the safe storage and information sharing of cross-regional data, and ensures the security and traceability of the verification process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690419B_ABST
    Figure CN118690419B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of certificate management, and discloses a digital management method, system, device and storage medium for certificates, including converting the original certificate sent by the user into an electronic certificate according to the user's storage request, slicing and distributing the original certificate, and storing the storage information and the electronic certificate in a blockchain; receiving a first verification request from the user, and sending the first request information to the blockchain for storage and verification; in response to the first verification of the blockchain passing, generating confirmation information and sending it to the user; receiving a second verification request from a third party, sending the second request information to the blockchain; in response to the second verification of the blockchain passing, generating verification information according to the verification type and the electronic certificate from the blockchain, and sending it to the third party. The present invention can not only realize the secure storage and information sharing of cross-regional data, but also ensure the security and traceability of the third party's verification process of user certificates.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of certificate management, and in particular to a digital management method, system, device and storage medium for certificates. Background Art

[0002] In daily social life and business processes, a large number of certificates issued by government departments or other institutions are needed to prove that individuals or enterprises have legal qualifications or rights in certain aspects. Certificates must be presented and verified when operating or engaging in certain specific activities in related industries or fields to regulate and safeguard market order, protect consumer rights, and promote economic development.

[0003] With the development of social digitalization, the application of electronic certificates is becoming more and more widespread. Although the application of electronic certificates can effectively simplify business processes, it also brings about some problems in the storage and management of certificates, such as the security of electronic certificate storage, the safe sharing of electronic certificate information across regions, and the leakage of certificate information and illegal abuse of certificates due to third-party verification of certificates. These are all problems that urgently need to be solved.

[0004] At present, in order to solve the sharing and trust issues of electronic certificates between different regions, the existing technology usually builds a centralized data resource center to collect and manage electronic certificate data with a centralized database to achieve cross-regional data collection and sharing. The problem with this method is that once the data is centrally aggregated, the central database and the data provider will inevitably have unclear responsibilities for data trust. At the same time, data centralization also affects the security of data storage. In addition, there is currently a lack of corresponding rules and constraints on the verification of user certificates by third-party institutions, and the security, privacy and traceability of user certificates during the verification process cannot be guaranteed. Summary of the invention

[0005] In order to solve the above technical problems, the present invention provides a digital management method, system, device and storage medium for certificates and licenses. Different types of certificates and licenses are stored by combining blockchain with distributed storage, and rules are imposed on the certificate and license verification process of third parties to achieve the technical effect of improving the security of certificate and license storage, the standardization and traceability of third-party verification.

[0006] In a first aspect, the present invention provides a method for digital management of certificates, the method comprising:

[0007] According to the user's storage request, the original certificate sent by the user is converted into an electronic certificate, the original certificate is sliced ​​and distributedly stored, and the storage information and the electronic certificate are stored in the blockchain;

[0008] Generate a user ID based on the user information, send the signed user ID to the user as signature information, and store it in the blockchain;

[0009] Receive a first verification request from a user, and send first request information in the first verification request to the blockchain for storage and verification, wherein the first request information includes signature information, third-party information, and certificate name, and the verification is verification of the signature information;

[0010] In response to the first verification of the blockchain being passed, generating confirmation information, and sending the confirmation information to the user, so that the user sends the confirmation information to a third party;

[0011] Receive a second verification request from a third party, verify the confirmation information in the second verification request, and after the verification is passed, send the second request information in the second verification request to the blockchain, so that the blockchain uses the first request to verify the second request, the second request information including the third party identity information, the name of the certificate to be verified, and the verification type;

[0012] In response to the second verification of the blockchain being passed, verification information is generated based on the verification type and electronic certificate from the blockchain and sent to the third party.

[0013] Furthermore, before the step of slicing and distributing the original certificate sent by the user and generating the corresponding electronic certificate, it also includes:

[0014] Verify the user information, and after the verification is passed, generate a key pair based on the user information, and send the public key in the key pair to the user;

[0015] Receive the original certificate encrypted by the public key from the user, decrypt the encrypted original certificate using the private key in the key pair, and verify its authenticity.

[0016] Furthermore, the step of generating a key pair according to the user information includes:

[0017] Generate a verification timestamp based on the time when the authentication authority verifies the user's identity information, and generate a random number based on a random number generator;

[0018] Inputting the user's biological information and the user's identity information into the biological feature extraction model and the identity feature extraction model respectively to extract features, thereby obtaining biological features and identity features;

[0019] The biometric feature and the identity feature are fused through a residual network to obtain a user feature;

[0020] Performing data processing on the user characteristics, and inputting the processed user characteristics into a preset hash function to generate a characteristic hash value;

[0021] The characteristic hash value, the verification timestamp and the random number are combined into a data sequence, and the data sequence is calculated according to a preset key algorithm to generate a key pair.

[0022] Furthermore, the steps of slicing and distributing the original certificate and storing the storage information and the electronic certificate in the blockchain include:

[0023] Determine the certificate type of the original certificate. If the certificate type is unique, slice the encrypted original certificate and send it to the first blockchain node for storage, and store the slice sequence, the private key and the electronic certificate in the second blockchain node;

[0024] If the certificate type is non-unique, the encrypted original certificate will be sliced ​​and stored in the distributed network, and the storage location, the private key and the electronic certificate will be stored in the blockchain.

[0025] Furthermore, in response to the first verification of the blockchain being passed, the step of generating confirmation information and sending it to the user includes:

[0026] According to the first verification pass information from the blockchain, the user ID and the feature hash value are combined to generate confirmation information;

[0027] The confirmation information is signed using the private key and sent to the user.

[0028] Furthermore, in response to the second verification of the blockchain being passed, the step of generating verification information according to the verification type and electronic certificate from the blockchain and sending the verification information to the third party includes:

[0029] Receive a second verification pass message from the blockchain, the verification type, the electronic certificate, the third-party identity information, the application time and the verification time; wherein,

[0030] The second verification pass message is a message generated when the blockchain determines that the third-party information is consistent with the third-party identity information, the certificate name is consistent with the certificate name to be verified, and the request reception time difference between the first verification request and the second verification request is within the application duration, the application duration and the verification duration are both included in the first request information, and the verification type includes identity verification and evidence storage verification;

[0031] Obtaining a third-party organization type according to the third-party identity information, and determining whether the third-party organization type matches the verification type;

[0032] If yes, the electronic certificate is converted into a corresponding certificate format according to the verification type, and the life span of the electronic certificate is set according to the verification duration. Otherwise, an alarm is issued.

[0033] Furthermore, before the step of converting the electronic certificate into a corresponding certificate format according to the verification type, the method further includes:

[0034] Determine whether the verification type is evidence verification, which includes electronic evidence verification and original evidence verification;

[0035] In response to the verification type being original evidence verification, sending an identity verification request and a certificate verification reason request to the third party;

[0036] Receive a request reply and a third-party public key sent from a third party, and after the request reply is verified, extract the original certificate from the blockchain and / or distributed network according to the certificate type, and add a third-party use mark to the original certificate;

[0037] The original certificate is encrypted using the third-party public key and sent to the third party, and stored on the blockchain.

[0038] In a second aspect, the present invention provides a digital management system for certificates, the system comprising:

[0039] The certificate storage module is used to convert the original certificate sent by the user into an electronic certificate according to the user's storage request, slice and distribute the original certificate, and store the storage information and the electronic certificate in the blockchain;

[0040] Generate a user ID based on the user information, send the signed user ID to the user as signature information, and store it in the blockchain;

[0041] A user verification module, configured to receive a first verification request from a user, and send first request information in the first verification request to the blockchain for storage and verification, wherein the first request information includes signature information, third-party information, and a certificate name, and the verification is verification of the signature information;

[0042] In response to the first verification of the blockchain being passed, generating confirmation information, and sending the confirmation information to the user, so that the user sends the confirmation information to a third party;

[0043] A third-party verification module, configured to receive a second verification request from a third party, verify the confirmation information in the second verification request, and after the verification is passed, send the second request information in the second verification request to the blockchain, so that the blockchain uses the first request to verify the second request, wherein the second request information includes the third-party identity information, the name of the certificate to be verified, and the verification type;

[0044] In response to the second verification of the blockchain being passed, verification information is generated based on the verification type and electronic certificate from the blockchain and sent to the third party.

[0045] In a third aspect, an embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0046] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.

[0047] The present invention provides a digital management method, system, device and storage medium for certificates. The present invention can improve the security of user certificate data storage through the storage method of blockchain and distributed network. At the same time, the present invention can ensure the legitimacy of third-party verification through the method of secondary verification request. In addition, the present invention also standardizes the process of third-party verification of user certificates, avoiding the leakage and illegal abuse of user certificate information caused by non-standard third-party verification. The present invention can not only realize the secure storage and information sharing of cross-regional data, but also ensure the security and traceability of the third-party verification process of user certificates. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a flowchart of a digital management method for certificates and licenses in an embodiment of the present invention;

[0049] Figure 2 It is a structural diagram of a digital management system for certificates and licenses in an embodiment of the present invention;

[0050] Figure 3 It is a diagram of the internal structure of a computer device in an embodiment of the present invention. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] See also Figure 1 The first embodiment of the present invention provides a digital management method for certificates, which includes steps S10 to S60:

[0053] Step S10, according to the user's storage request, convert the original certificate sent by the user into an electronic certificate, slice and distribute the original certificate, and store the storage information and the electronic certificate in the blockchain;

[0054] Step S20, generating a user ID based on the user information, sending the signed user ID to the user as signature information, and storing it in the blockchain;

[0055] Step S30, receiving a first verification request from a user, and sending first request information in the first verification request to the blockchain for storage and verification, wherein the first request information includes signature information, third-party information, and certificate name, and the verification is verification of the signature information;

[0056] Step S40, in response to the first verification of the blockchain being passed, generating confirmation information, and sending the confirmation information to the user, so that the user sends the confirmation information to a third party;

[0057] Step S50, receiving a second verification request from a third party, verifying the confirmation information in the second verification request, and after the verification is passed, sending the second request information in the second verification request to the blockchain, so that the blockchain uses the first request to verify the second request, and the second request information includes the third party identity information, the name of the certificate to be verified, and the verification type.

[0058] Step S60, in response to the second verification of the blockchain being passed, verification information is generated according to the verification type and electronic certificate from the blockchain and sent to the third party.

[0059] The present invention is a digital management of user's related certificates, wherein the digital management includes storage management and third-party verification management of certificates, and certificates include certificates or bills issued by government agencies or corporate organizations to prove the identity or qualifications of users. In the present invention, according to the user's request, the user's related certificates are stored and verified, and the verification is based on the fact that the user has stored his certificates, so the storage part is first explained.

[0060] In the present invention, the user uploads a scanned copy of his / her certificate as the original certificate, which is not only converted into a corresponding electronic certificate, but also sliced ​​and distributedly stored. The electronic certificate can be obtained by converting the original certificate by image processing, or by applying to the corresponding certificate issuing department.

[0061] The first problem to be solved in the above steps is how to ensure the security of user transmitted data. To this end, the present invention provides an encrypted storage transmission method for user certificate data transmission, and the specific steps include:

[0062] Verify the user information, and after the verification is passed, generate a key pair based on the user information, and send the public key in the key pair to the user;

[0063] Receive the original certificate encrypted by the public key from the user, decrypt the encrypted original certificate using the private key in the key pair, and verify its authenticity.

[0064] In this embodiment, after receiving the user's storage request, the user's information is verified, specifically, the user's identity information is verified. The verification here is performed through the relevant interface provided by the government department to verify the identity proof information provided by the user, and after the verification is passed, a key pair is generated based on the information provided by the user, and the public key is issued to the user. In other words, this embodiment uses asymmetric encryption to implement the encryption of user data.

[0065] In order to ensure the security of transmission, this embodiment provides a method for generating a key based on user information, and the specific steps include:

[0066] Generate a verification timestamp based on the time when the authentication authority verifies the user's identity information, and generate a random number based on a random number generator;

[0067] Inputting the user's biological information and the user's identity information into the biological feature extraction model and the identity feature extraction model respectively to extract features, thereby obtaining biological features and identity features;

[0068] The biometric feature and the identity feature are fused through a residual network to obtain a user feature;

[0069] Performing data processing on the user characteristics, and inputting the processed user characteristics into a preset hash function to generate a characteristic hash value;

[0070] The characteristic hash value, the verification timestamp and the random number are combined into a data sequence, and the data sequence is calculated according to a preset key algorithm to generate a key pair.

[0071] In this embodiment, the key generation data is divided into three parts, namely time data, random data and user data, among which the time data is determined by the identity authentication pass time, specifically, it is determined by the time when the government agency and other certification agencies authenticate the user's identity information and issue the pass information, that is, the verification timestamp is generated according to the pass time. The reason for choosing this time point instead of other time points such as the user application time point is because the user's application time point is known to the user, and it cannot be guaranteed that it will not be leaked from the user side, while the government agency's authentication time point is unknown and has higher confidentiality, so this time point is selected as the time data; random data is randomly generated by a random number generator, further increasing the randomness and uncontrollability of the generated data.

[0072] User data is generated by user information, which includes user identity information and user biometric information. The identity information includes unique ID number, gender, occupation, etc., while the biometric information includes one or more unique biometric information such as fingerprint information, facial information, iris information, etc. The identity information will be input into a pre-generated identity feature extraction model to extract identity features, and the biometric information will be input into a pre-generated biometric feature extraction model to extract biometric features. The feature extraction model here can be constructed using a neural network model, and there are no excessive restrictions here.

[0073] In order to fuse the extracted identity features and biometric features, in this embodiment, a residual network is added to the output end of the two models, and the identity features and biometric features are fused through the residual network to obtain user features, and then the user features are processed to obtain data that meets the input requirements of the hash function, and input into the pre-selected hash function to generate feature hash values, wherein the data processing step is: standardizing or normalizing the user features to ensure that the features have similar scales, thereby improving the performance of the hash function. Then, according to the type of the residual network output feature, a coding method such as unique hot coding or label coding is used to convert the features into a format suitable for the hash function input.

[0074] Then the characteristic hash value, verification timestamp and random number are combined into a data sequence, and a key pair is generated by calculating based on the data sequence through a preset algorithm such as the RSA algorithm or the ECC algorithm. The specific generation steps will not be repeated here.

[0075] After the key pair is generated, the public key will be issued to the user end so that the user can use the public key to encrypt the transmitted data, and the private key will be stored for decryption. The present invention ensures the security and reliability of encrypted communication through the encryption method of public and private keys.

[0076] After receiving the original certificate encrypted and transmitted by the user, it is necessary to store the original certificate and the corresponding electronic certificate. In this embodiment, in order to ensure the security of certificate storage, the original certificate is sliced ​​and distributedly stored. At the same time, a corresponding slice index is generated according to the storage location of the distributed storage, and the slice index and the electronic certificate are stored in the blockchain.

[0077] In fact, different certificates have different characteristics. For example, certificates that can prove their identity, such as identity cards, driver's licenses, and degree certificates, are unique, while certificates that can only prove a certain user qualification, such as business licenses and professional qualification certificates, are not unique. That is, a user can have multiple certificates of this type. Therefore, based on different characteristics, the importance of different certificates is also different. The importance of unique certificates is higher than that of non-unique certificates. Therefore, in this embodiment, another preferred storage method is also provided, and the specific steps include:

[0078] Determine the certificate type of the original certificate. If the certificate type is unique, slice the encrypted original certificate and send it to the first blockchain node for storage, and store the slice sequence, the private key and the electronic certificate in the second blockchain node;

[0079] If the certificate type is non-unique, the encrypted original certificate will be sliced ​​and stored in the distributed network, and the storage location, the private key and the electronic certificate will be stored in the blockchain.

[0080] In this embodiment, certificates are divided into unique certificates and non-unique certificates according to whether they are unique. For non-unique certificates, a combination of a distributed storage network and a blockchain is used to store the original certificates, that is, the original certificates encrypted by the public key are sliced, and each slice is stored in a distributed network. A slice index is generated according to the storage location, and the slice index, private key, and electronic certificate are stored in the blockchain. That is, the security of data storage is guaranteed by a distributed network and a blockchain.

[0081] For unique certificates, due to the uniqueness of the certificates, the number of certificates will be far less than that of non-unique certificates, and their importance is also higher than that of non-unique certificates. Therefore, this embodiment stores unique certificates through blockchain, and in order to further improve the security of storage, the nodes of the blockchain are divided into two parts in this embodiment, namely the first blockchain node and the second blockchain node, wherein the first blockchain node is used to encrypt and store the slices of the encrypted original certificate, that is, to encrypt the original certificate twice; the slices are disordered in the first blockchain node, and the slice sequence of the original certificate is stored in the second blockchain node, and the slice sequence refers to the sequence required to combine the slices into the original certificate. At the same time, the electronic certificate and the private key are also stored in the second blockchain node. This embodiment partitions the blockchain and adopts the partition storage method to effectively avoid the information leakage of the certificate due to system failure or illegal intrusion, and further improves the security of certificate storage.

[0082] After the user certificate is stored, a user ID is generated based on the user information and signed with a private key. The signed user ID is issued to the user as signature information and stored in the blockchain at the same time. That is to say, the present invention uses blockchain to store key data and perform subsequent verification, which not only enables cross-regional sharing of certificate information, but also effectively reduces the risk of data leakage and improves the security of data processing.

[0083] For users with user IDs, it means that their certificates have been stored. At this time, the user can apply for verification based on the user ID. The present invention divides the verification of user certificates by a third party into two steps. First, the user is required to apply. After the confirmation information is issued according to the user's application, the third party applies based on the issued confirmation information. The security of third-party authentication is guaranteed by the information confirmation of the second application.

[0084] Specifically, for the user's verification application, the user needs to submit a verification application request. The request information contained in the request includes signature information, third-party information and certificate name. The request information will be sent to the blockchain, which will extract the signature information and compare it with the stored signature information. After the verification is passed, the pass information will be fed back.

[0085] After receiving the verification information from the blockchain, a confirmation message will be generated and sent to the user. The confirmation message is used to inform the user that the request has been approved, and the confirmation message also serves as verification information when a third party makes a second request, that is, the confirmation message will be sent by the user to the third party.

[0086] In a preferred embodiment, the confirmation information can be generated by:

[0087] According to the first verification pass information from the blockchain, the user ID and the feature hash value are combined to generate confirmation information;

[0088] The confirmation information is signed using the private key and sent to the user.

[0089] In this embodiment, the confirmation information not only includes the user ID, but also adds a characteristic hash value, which ensures that the confirmation information will not be tampered with or forged, thereby ensuring the verification security during subsequent third-party verification.

[0090] The request for third-party verification is based on the user's verification request passing. After receiving the verification request from the third party, the confirmation information sent by the third party is first obtained and the confirmation information is verified. If the verification is consistent, the request information contained in the verification request is sent to the blockchain, and the blockchain completes the verification of the request information. Specifically, the blockchain matches the stored request information from the user with the request information from the third party. If the match is successful, the verification is considered to be passed. Among them, the request information sent by the third party includes the third-party identity information, the name of the certificate to be verified, and the verification type. That is, the blockchain will determine whether the stored third-party information and the certificate name are consistent with the received third-party identity information and the name of the certificate to be verified, and feedback will be given based on the judgment result. After receiving the information that the blockchain verification has passed, the corresponding verification information will be generated according to the verification type and electronic certificate sent by the blockchain, and sent to the third party for the third party to verify the user's identity.

[0091] In order to prevent some third-party organizations from using the user's confirmation information to obtain the user's identity when the user cancels the verification, or from saving the user's identity information when the verification is completed, thereby causing data leakage, the present invention also provides a method for generating verification information, which specifically includes:

[0092] Receive a second verification pass message from the blockchain, the verification type, the electronic certificate, the third-party identity information, the application time and the verification time; wherein,

[0093] The second verification pass message is a message generated when the blockchain determines that the third-party information is consistent with the third-party identity information, the certificate name is consistent with the certificate name to be verified, and the request reception time difference between the first verification request and the second verification request is within the application duration, the application duration and the verification duration are both included in the first request information, and the verification type includes identity verification and evidence storage verification;

[0094] Obtaining a third-party organization type according to the third-party identity information, and determining whether the third-party organization type matches the verification type;

[0095] If yes, the electronic certificate is converted into a corresponding certificate format according to the verification type, and the life span of the electronic certificate is set according to the verification duration. Otherwise, an alarm is issued.

[0096] In this embodiment, the user needs to provide two parameters, verification type and request duration, in the request information sent by the user. The verification type refers to the type of verification of the user's certificate by a third party, including identity verification and evidence verification. Identity verification refers to the verification of the user's identity, and evidence verification refers to the verification and retention of the user's certificate. For example, banking institutions need to verify the user's ID card with evidence, while some institutions only need to verify the identity information when the user applies for an account. The request duration includes application duration and verification duration. The application duration refers to the time limit for the third party to submit a verification application, and the verification duration refers to the time limit for the third party to verify the verification information.

[0097] Based on the above two parameters, when verifying the request information, the blockchain not only needs to verify whether the third-party information and the license name are consistent, but also needs to verify whether the time when the third party submits the application is within the application time range. Specifically, the blockchain verification is a comparison verification of the request information submitted by the third party and the request information submitted by the user. After matching and verifying the third-party identity information and the license name to be verified in the two request information, it is also necessary to compare and determine the time when the third party submits the request with the application time used for the request, that is, determine the time limit for the third party to submit the verification application through the time difference between the two verification requests, and judge whether the time limit is within the application time range. For example, the application time is 24 hours, and the time difference between the time when the third party submits the verification request and the time when the user submits the verification request is 25 hours. At this time, it is considered that the third party's request has timed out, and the third party's verification request will not be approved.

[0098] When the time limit for the third party to submit a verification application meets the application time limit submitted by the user, that is, when the third party's request to verify the user's certificate is successful, the blockchain will issue a verification success message. After receiving the verification success message, the corresponding certificate format is generated based on the electronic certificate, verification type and verification time sent by the blockchain. The verification time here is used as a lifetime parameter for the electronic certificate. For example, when the verification type is identity authentication, the user identity information in the electronic certificate is extracted and converted into a barcode or QR code format, and the lifetime of the certificate in this format is set according to the verification time. The certificate in this format will be sent to the third party for the third party to verify the user's identity information within the lifetime of the certificate. If the third party still fails to verify the user's identity after the lifetime has expired, the certificate will become invalid. Of course, the number of verifications can be increased based on the lifetime. For example, the number of verifications can be set to once, that is, the user information can only be obtained once through this information, thereby further standardizing the verification process to avoid the illegal storage of user verification information by a third party. When the verification type is evidence verification, for example, banks and other institutions need to verify the user's electronic ID card. At this time, a lifetime limit will be added to the electronic certificate. The third party can only retain the electronic certificate within this lifetime. The electronic certificate will become invalid after this time. In a preferred embodiment, a third-party agency mark can also be added to the electronic certificate to indicate that the electronic certificate is used for related businesses of the third-party agency, thereby avoiding the leakage and illegal abuse of user certificates due to third-party information leakage. The method of matching the third-party identity with the verification type provided by this embodiment standardizes the process of third-party verification requests, effectively avoiding information leakage caused by illegal acquisition of user identity information by third-party agencies, and ensuring the security and privacy of third-party verification of user certificates.

[0099] Furthermore, in order to prevent a third-party organization from illegally obtaining user certificate information by taking advantage of the opportunity of user certificate verification and to ensure the authenticity and legitimacy of the third-party verification process, this embodiment will also match the identity information of the third-party organization with the verification type it requests. First, the organization type of the third party is determined by the identity information of the third party. In this embodiment, the organization type can be set to a general organization, a special organization, and a government agency. A general organization refers to a conventional registration organization, which is an organization that needs to verify the identity information of the user when the user applies for an account or other needs. A general organization does not have the qualifications to obtain the user's electronic certificate. Special organizations and government agencies refer to organizations that need to obtain the user's electronic certificate for business processing according to their business processes, such as banks or schools. Then, based on the organization type, it is determined whether the third party meets the verification type. For example, if the third-party organization is a general organization, but the verification type requested by the third party is evidence verification, then the third party's request will be rejected. Only when the third-party organization type matches the verification type requested by the third party, the verification request will be passed.

[0100] In fact, based on different business types, the third party's requirements for user certificate verification are different. For example, for account application or ticket purchase and other businesses, only the user's identity needs to be verified, while the processing of card certificates or qualification certificates requires the storage of other user certificates. Depending on the business level, the storage includes the storage of electronic certificates and the storage of original certificates. Therefore, it can be considered that the level of verification is different according to the verification information. The storage verification of the original certificate is considered to be the highest level of verification. This verification will enable the third-party organization to obtain and save the user's original certificate. In order to ensure the security and traceability of the user's certificate, for this type of verification request, the present invention will also perform a second confirmation on the third party. This confirmation is after the verification request to the third party is passed. The specific confirmation steps include:

[0101] Determine whether the verification type is evidence verification, which includes electronic evidence verification and original evidence verification;

[0102] In response to the verification type being original evidence verification, sending an identity verification request and a certificate verification reason request to the third party;

[0103] Receive a request reply and a third-party public key sent from a third party, and after the request reply is verified, extract the original certificate from the blockchain and / or distributed network according to the certificate type, and add a third-party use mark to the original certificate;

[0104] The original certificate is encrypted using the third-party public key and sent to the third party, and stored on the blockchain.

[0105] In this embodiment, for the evidence verification request of the original certificate issued by the third party, the identity authentication request and the certificate verification reason request will be sent to the third party again, that is, the identity of the third-party agency will be verified again through the authentication interface provided by the government department to determine whether the qualifications of the third-party agency are legal and whether it has the qualifications to preserve the user's original certificate. At the same time, the third party also needs to provide the corresponding service for obtaining the user's original certificate, as well as the third-party public key used to encrypt information.

[0106] When the reply information of the third party is verified and passed, the corresponding original certificate is extracted from the blockchain or distributed network according to the type of certificate requested by the third party for verification, such as an ID card or a business license, etc. After adding the third-party organization information and purpose information mark by means of watermarks, it is encrypted using the third-party public key and sent to the third party. At the same time, each step of the verification process will be stored on the blockchain to facilitate subsequent process tracing and division of rights and responsibilities. Through the method provided by the present invention, the illegal leakage of user certificate information is effectively avoided, and the security and traceability of user certificate data verification are ensured.

[0107] The present embodiment provides a digital management method for certificates. The present invention stores different types of user certificates through blockchain and distributed networks, thereby overcoming the security issues brought about by the existing data centralization. On the basis of ensuring storage efficiency, the security of user certificate data storage is effectively improved. At the same time, the present invention not only enables the third-party certificate verification to be based on user consent through a secondary verification request, but also verifies the identity of the third party, thereby ensuring the legitimacy of the third-party verification. In addition, the present invention also determines the match of the verification request and uses blockchain for verification and evidence storage. By standardizing the process of third-party verification of user certificates, the present invention avoids problems such as leakage and illegal abuse of user certificate information caused by non-standard third-party verification. It not only realizes cross-regional information sharing, but also ensures the security and traceability of the third-party certificate verification process.

[0108] See also Figure 2 Based on the same inventive concept, a digital management system for certificates and licenses proposed in the second embodiment of the present invention includes:

[0109] The certificate storage module 10 is used to convert the original certificate sent by the user into an electronic certificate according to the user's storage request, slice and distribute the original certificate, and store the storage information and the electronic certificate in the blockchain;

[0110] Generate a user ID based on the user information, send the signed user ID to the user as signature information, and store it in the blockchain;

[0111] The user verification module 20 is used to receive a first verification request from a user, and send first request information in the first verification request to the blockchain for storage and verification, wherein the first request information includes signature information, third-party information, and a certificate name, and the verification is verification of the signature information;

[0112] In response to the first verification of the blockchain being passed, generating confirmation information, and sending the confirmation information to the user, so that the user sends the confirmation information to a third party;

[0113] The third-party verification module 30 is used to receive a second verification request from a third party, verify the confirmation information in the second verification request, and after the verification is passed, send the second request information in the second verification request to the blockchain, so that the blockchain uses the first request to verify the second request, wherein the second request information includes the third-party identity information, the name of the certificate to be verified, and the verification type;

[0114] In response to the second verification of the blockchain being passed, verification information is generated based on the verification type and electronic certificate from the blockchain and sent to the third party.

[0115] The technical features and technical effects of the digital management system for certificates and licenses proposed in the embodiment of the present invention are the same as those of the method proposed in the embodiment of the present invention, and will not be described in detail here. Each module in the digital management system for certificates and licenses can be implemented in whole or in part by software, hardware, and a combination thereof. The above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0116] In addition, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0117] See also Figure 3 , an internal structure diagram of a computer device in an embodiment, the computer device can specifically be a terminal or a server. The computer device includes a processor, a memory, a network interface, a display and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a digital management method for certificates is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0118] It can be understood by those skilled in the art that Figure 3The structure shown in the figure is only a block diagram of a part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computing device may include more or fewer components than shown in the figure, or combine certain components, or have the same component arrangement.

[0119] In addition, an embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented.

[0120] In summary, the embodiments of the present invention propose a digital management method, system, device and storage medium for certificates. The method converts the original certificate sent by the user into an electronic certificate according to the user's storage request, slices and distributes the original certificate, and stores the storage information and the electronic certificate in the blockchain; generates a user ID according to the user information, sends the signed user ID to the user as signature information, and stores it in the blockchain; receives the user's first verification request, and sends the first request information in the first verification request to the blockchain for storage and verification, wherein the first request information includes signature information, third-party information and certificate name, and the verification is Verification of the signature information; in response to the first verification of the blockchain being passed, generating confirmation information and sending it to the user, so that the user sends the confirmation information to a third party; receiving a second verification request from the third party, verifying the confirmation information in the second verification request, and after the verification is passed, sending the second request information in the second verification request to the blockchain, so that the blockchain uses the first request to verify the second request, the second request information including the third-party identity information, the name of the certificate to be verified, and the verification type; in response to the second verification of the blockchain being passed, generating verification information based on the verification type and the electronic certificate from the blockchain, and sending it to the third party. The present invention stores different types of user certificates and licenses by means of blockchain and distributed networks, thereby overcoming the security issues brought about by the existing data centralization, and effectively improving the security of user certificate and license data storage while ensuring storage efficiency. At the same time, the present invention not only enables the third-party certificate and license verification to be carried out based on the user's consent, but also verifies the identity of the third party through a secondary verification request, thereby ensuring the legitimacy of the third-party verification. In addition, the present invention also determines the matching of the verification request and uses blockchain for verification and evidence storage. By standardizing the process of user certificate and license verification by a third party, problems such as leakage and illegal abuse of user certificate and license information caused by non-standardized third-party verification are avoided, which not only realizes cross-regional information sharing, but also ensures the security and traceability of the certificate and license verification process by a third party.

[0121] Each embodiment in this specification is described in a progressive manner, and the same or similar parts of each embodiment can be directly referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. It should be noted that the technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0122] The above-mentioned embodiments only express several preferred implementation modes of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in the technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention, and these improvements and substitutions should also be regarded as the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be based on the protection scope of the claims.

Claims

1. A digital management method for certificates, characterized in that: include: According to the user's storage request, the original certificate sent by the user is converted into an electronic certificate, the original certificate is sliced ​​and distributedly stored, and the storage information and the electronic certificate are stored in the blockchain; Generate a user ID based on the user information, send the signed user ID to the user as signature information, and store it in the blockchain; Receive a first verification request from a user, and send first request information in the first verification request to the blockchain for storage and verification, wherein the first request information includes signature information, third-party information, and certificate name, and the verification is verification of the signature information; In response to the first verification of the blockchain being passed, generating confirmation information, and sending the confirmation information to the user, so that the user sends the confirmation information to a third party; Receive a second verification request from a third party, verify the confirmation information in the second verification request, and after the verification is passed, send the second request information in the second verification request to the blockchain, so that the blockchain uses the first request to verify the second request, the second request information including the third party identity information, the name of the certificate to be verified, and the verification type; In response to the second verification of the blockchain being passed, generating verification information according to the verification type and electronic certificate from the blockchain, and sending the verification information to the third party; Before the step of slicing and distributing the original certificate sent by the user and generating the corresponding electronic certificate, the method further includes: Verify the user information, and after the verification is passed, generate a key pair based on the user information, and send the public key in the key pair to the user; Receive the original certificate encrypted by the public key from the user, decrypt the encrypted original certificate using the private key in the key pair, and verify its authenticity; The step of generating a key pair according to the user information includes: Generate a verification timestamp based on the time when the authentication authority verifies the user's identity information, and generate a random number based on a random number generator; Inputting the user's biological information and the user's identity information into the biological feature extraction model and the identity feature extraction model respectively to extract features, thereby obtaining biological features and identity features; The biometric feature and the identity feature are fused through a residual network to obtain a user feature; Performing data processing on the user characteristics, and inputting the processed user characteristics into a preset hash function to generate a characteristic hash value; The characteristic hash value, the verification timestamp and the random number are combined into a data sequence, and the data sequence is calculated according to a preset key algorithm to generate a key pair; The steps of slicing and distributing the original certificate and storing the storage information and the electronic certificate in the blockchain include: Determine the certificate type of the original certificate. If the certificate type is unique, slice the encrypted original certificate and send it to the first blockchain node for storage, and store the slice sequence, the private key and the electronic certificate in the second blockchain node; If the certificate type is non-unique, the encrypted original certificate will be sliced ​​and stored in the distributed network, and the storage location, the private key and the electronic certificate will be stored in the blockchain.

2. The digital management method of certificates according to claim 1, characterized in that: The step of generating confirmation information in response to the first verification of the blockchain being passed and sending the confirmation information to the user comprises: According to the first verification pass information from the blockchain, the user ID and the feature hash value are combined to generate confirmation information; The confirmation information is signed using the private key and sent to the user.

3. The digital management method of certificates according to claim 1, characterized in that: In response to the second verification of the blockchain being passed, the step of generating verification information according to the verification type and electronic certificate from the blockchain and sending the verification information to the third party includes: Receive a second verification pass message from the blockchain, the verification type, the electronic certificate, the third-party identity information, the application time and the verification time; wherein, The second verification pass message is a message generated when the blockchain determines that the third-party information is consistent with the third-party identity information, the certificate name is consistent with the certificate name to be verified, and the request reception time difference between the first verification request and the second verification request is within the application duration, the application duration and the verification duration are both included in the first request information, and the verification type includes identity verification and evidence storage verification; Obtaining a third-party organization type according to the third-party identity information, and determining whether the third-party organization type matches the verification type; If yes, the electronic certificate is converted into a corresponding certificate format according to the verification type, and the life span of the electronic certificate is set according to the verification duration. Otherwise, an alarm is issued.

4. The digital management method of certificates according to claim 3 is characterized in that: Before the step of converting the electronic certificate into a corresponding certificate format according to the verification type, the step further includes: Determine whether the verification type is evidence verification, which includes electronic evidence verification and original evidence verification; In response to the verification type being original evidence verification, sending an identity verification request and a certificate verification reason request to the third party; Receive a request reply and a third-party public key sent from a third party, and after the request reply is verified, extract the original certificate from the blockchain and / or distributed network according to the certificate type, and add a third-party use mark to the original certificate; The original certificate is encrypted using the third-party public key and sent to the third party, and stored on the blockchain.

5. A digital management system for certificates, characterized in that: include: The certificate storage module is used to convert the original certificate sent by the user into an electronic certificate according to the user's storage request, slice and distribute the original certificate, and store the storage information and the electronic certificate in the blockchain; Generate a user ID based on the user information, send the signed user ID to the user as signature information, and store it in the blockchain; A user verification module, configured to receive a first verification request from a user, and send first request information in the first verification request to the blockchain for storage and verification, wherein the first request information includes signature information, third-party information, and a certificate name, and the verification is verification of the signature information; In response to the first verification of the blockchain being passed, generating confirmation information, and sending the confirmation information to the user, so that the user sends the confirmation information to a third party; A third-party verification module, configured to receive a second verification request from a third party, verify the confirmation information in the second verification request, and after the verification is passed, send the second request information in the second verification request to the blockchain, so that the blockchain uses the first request to verify the second request, wherein the second request information includes the third-party identity information, the name of the certificate to be verified, and the verification type; In response to the second verification of the blockchain being passed, generating verification information according to the verification type and electronic certificate from the blockchain, and sending the verification information to the third party; Before the step of slicing and distributing the original certificate sent by the user and generating the corresponding electronic certificate, the system further includes: Verify the user information, and after the verification is passed, generate a key pair based on the user information, and send the public key in the key pair to the user; Receive the original certificate encrypted by the public key from the user, decrypt the encrypted original certificate using the private key in the key pair, and verify its authenticity; The step of generating a key pair according to the user information includes: Generate a verification timestamp based on the time when the authentication authority verifies the user's identity information, and generate a random number based on a random number generator; Inputting the user's biological information and the user's identity information into the biological feature extraction model and the identity feature extraction model respectively to extract features, thereby obtaining biological features and identity features; The biometric feature and the identity feature are fused through a residual network to obtain a user feature; Performing data processing on the user characteristics, and inputting the processed user characteristics into a preset hash function to generate a characteristic hash value; The characteristic hash value, the verification timestamp and the random number are combined into a data sequence, and the data sequence is calculated according to a preset key algorithm to generate a key pair; The steps of slicing and distributing the original certificate and storing the storage information and the electronic certificate in the blockchain include: Determine the certificate type of the original certificate. If the certificate type is unique, slice the encrypted original certificate and send it to the first blockchain node for storage, and store the slice sequence, the private key and the electronic certificate in the second blockchain node; If the certificate type is non-unique, the encrypted original certificate will be sliced ​​and stored in the distributed network, and the storage location, the private key and the electronic certificate will be stored in the blockchain.

6. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.

Citation Information

Patent Citations

  • Government integrity file certificate management method based on block chain

    CN110704864A

  • Supervisable dynamic self-sovereign identity generation method

    CN113886778A