CN112800086A - Electronic certificate verification method, system, device and computer readable storage medium - Google Patents
Electronic certificate verification method, system, device and computer readable storage medium Download PDFInfo
- Publication number
- CN112800086A CN112800086A CN202011599109.3A CN202011599109A CN112800086A CN 112800086 A CN112800086 A CN 112800086A CN 202011599109 A CN202011599109 A CN 202011599109A CN 112800086 A CN112800086 A CN 112800086A
- Authority
- CN
- China
- Prior art keywords
- electronic license
- electronic
- license
- verification
- digital
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000012795 verification Methods 0.000 title claims abstract description 125
- 238000000034 method Methods 0.000 title claims abstract description 42
- 238000004590 computer program Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 description 8
- 230000006855 networking Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
- G06Q50/10—Services
- G06Q50/26—Government or public services
- G06Q50/265—Personal security, identity or safety
Abstract
The application relates to an electronic license verification method, a system, a device and a computer readable storage medium. The electronic license verification method comprises the following steps: extracting the digital fingerprint of the electronic certificate from a terminal storing the electronic certificate; generating a digital verification fingerprint for the electronic license information by adopting an encryption algorithm of an electronic license system; and performing off-line verification on the electronic license according to the digital verification fingerprint and the extracted digital fingerprint of the electronic license. The problem that the electronic license cannot be verified under the offline condition is solved, the electronic license can be verified under the offline condition, and the application range of the electronic license is widened.
Description
Technical Field
The present application relates to the field of block chains, and in particular, to a method, a system, an apparatus, and a computer-readable storage medium for verifying an electronic certificate.
Background
With the development of science and technology, electronic certificates are more and more popular. The electronic certificate system comprises the processes of electronic certificate generation, electronic certificate issuance, electronic certificate verification and the like. Due to the credible technology of the block chain, more and more electronic license systems are built based on the block chain. However, no matter whether the electronic license system is built based on the block chain, the electronic license is required to be supported by a network in the verification process, and the electronic license system cannot be accessed under the condition of no network, so that the authenticity of the electronic license cannot be verified, and the application range of the electronic license is limited.
Based on this, need the problem that the electronic license system can only verify to the electronic license of networking, prior art does not give effective solution.
Disclosure of Invention
To solve the above technical problem or at least partially solve the above technical problem, the present application provides an electronic certificate verification method, system, apparatus, and computer-readable storage medium.
In a first aspect, the present application provides an electronic license verification method, including:
extracting the digital fingerprint of the electronic certificate from a terminal storing the electronic certificate;
generating a digital verification fingerprint for the electronic license information by adopting an encryption algorithm of an electronic license system;
and performing offline verification on the electronic license according to the digital verification fingerprint and the electronic license digital fingerprint extracted from the terminal for storing the electronic license.
Optionally, the extracting the digital fingerprint of the electronic license from the terminal storing the electronic license includes:
extracting a digital signature from the terminal for storing the electronic certificate, wherein the digital signature is obtained by encrypting the digital fingerprint of the electronic certificate generated by the electronic certificate system according to a private key;
and decrypting the digital fingerprint of the electronic certificate from the digital signature according to the public key of the electronic certificate system.
Optionally, before extracting the digital signature from the terminal storing the electronic license, the method includes:
acquiring and storing an encryption algorithm and a public key of the electronic license system from the electronic license system in a networked state with the electronic license system;
and under the offline state of the electronic certificate system, extracting the digital signature from the terminal for storing the electronic certificate.
Optionally, before generating the digital verification fingerprint by using the encryption algorithm of the electronic license system for the electronic license information, the method includes:
scanning the electronic license two-dimensional code displayed in the terminal for storing the electronic license;
identifying the electronic license information and the digital signature from the electronic license two-dimensional code; the electronic license information comprises a license identifier, a holder name, a holder photo, a license type, license generation time and license invalidation time.
Optionally, the offline verification of the electronic license according to the digital verification fingerprint and the digital fingerprint of the electronic license extracted from the terminal storing the electronic license includes:
comparing the digital verification fingerprint with the electronic license digital fingerprint extracted from the terminal for storing the electronic license;
when the comparison is consistent, the electronic certificate is verified;
and if the comparison is inconsistent, the verification of the electronic certificate is not passed.
In a second aspect, the application provides an electronic license verification system, which comprises a verification terminal, a terminal for storing an electronic license and an electronic license system;
the electronic license system is used for generating an electronic license;
the terminal for storing the electronic license is used for acquiring the electronic license information and the electronic license digital fingerprint of the electronic license from the electronic license system; the authentication terminal includes:
the acquisition module is used for extracting electronic license information and electronic license digital fingerprints from a terminal for storing the electronic licenses;
the encryption module is used for generating a digital verification fingerprint for the electronic license information by adopting an encryption algorithm of an electronic license system;
and the verification module is used for performing off-line verification on the electronic license according to the digital verification fingerprint and the electronic license digital fingerprint extracted from the terminal for storing the electronic license.
Optionally, the verification terminal further includes a decryption module;
the electronic license system is specifically used for generating an electronic license with electronic license information according to the information of an electronic license holder, generating an electronic license digital fingerprint by adopting a preset encryption algorithm on the electronic license information, and generating a digital signature by adopting private key encryption on the generated electronic license digital fingerprint;
the terminal for storing the electronic license is specifically used for acquiring the electronic license information and the digital signature from the electronic license system;
the acquisition module is used for acquiring the electronic license information and the digital signature from the terminal for storing the electronic license;
and the decryption module is used for decrypting the digital fingerprint of the electronic license from the digital signature according to the public key of the electronic license system.
Optionally, the obtaining module is further configured to obtain and store the encryption algorithm and the public key from the electronic license system when the verification terminal and the electronic license system are in a networked state; under the state that the verification terminal and the electronic license system are in an off-line state, extracting the digital signature from the terminal storing the electronic license;
the electronic license system is also used for storing the electronic license digital fingerprint into a block chain of the electronic license system;
the acquisition module is further used for acquiring the digital fingerprint of the electronic license from the block chain when the verification terminal and the electronic license system are in a networking state;
the verification module is specifically used for performing offline verification on the electronic license according to the digital verification fingerprint and the electronic license digital fingerprint extracted from the terminal for storing the electronic license when the verification terminal and the electronic license system are in an offline state; and under the condition that the verification terminal and the electronic license system are in a networking state, verifying the electronic license according to the electronic license digital fingerprint acquired from the block chain and the electronic license digital fingerprint of the terminal for storing the electronic license.
In a third aspect, the present application provides a verification terminal for an electronic license, where the verification terminal for an electronic license includes:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program is used for realizing the steps of the electronic certificate verification method as any one of the above items when being executed by the processor
In a fourth aspect, the present application provides a computer readable storage medium having an electronic license verification program stored thereon, where the electronic license verification program, when executed by a processor, implements the steps of the electronic license verification method as described in any one of the above.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
this application embodiment is through drawing electron license digital fingerprint in the terminal from storage electron license, and the encryption algorithm who adopts electron license system to electron license information generates the digital verification fingerprint, thereby can be based on the digital verification fingerprint and the electron license digital fingerprint who draws carry out the off-line verification to the electron license, solved the problem that the electron license can't carry out the verification under the off-line condition, realized under the off-line condition, still can verify the electron license, promoted the application range of electron license.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a flowchart of an electronic license verification method according to various embodiments of the present application;
FIG. 2 is a schematic diagram of an electronic license verification system according to various embodiments of the present application;
fig. 3 is a schematic diagram of an authentication terminal according to various embodiments of the present application.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
Example one
An embodiment of the present invention provides an electronic license verification method, as shown in fig. 1, where the electronic license verification method is used in a verification terminal, and includes:
s101, extracting the digital fingerprint of the electronic license from a terminal for storing the electronic license;
s102, generating a digital verification fingerprint for the electronic license information by adopting an encryption algorithm of an electronic license system;
and S103, performing off-line verification on the electronic license according to the digital verification fingerprint and the electronic license digital fingerprint extracted from the terminal for storing the electronic license.
Wherein, the off-line verification of the electronic license according to the digital verification fingerprint and the digital fingerprint of the electronic license extracted from the terminal storing the electronic license may include:
comparing the digital verification fingerprint with the electronic license digital fingerprint extracted from the terminal for storing the electronic license;
when the comparison is consistent, the electronic certificate is verified;
and if the comparison is inconsistent, the verification of the electronic certificate is not passed.
The authentication terminal is a terminal used as authentication, and the terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The electronic license system can be built based on the block chain, and the electronic license information comprises a license ID, a holder name, a holder photo, a license type, license generation time and a license expiration date.
The electronic certificate generation and issuance principle is as follows:
electronic license generation: the management personnel inputs the information of the holder in the electronic license system, the electronic license system generates a unique identifier, namely a license ID, and the information of the name, the photo, the type and the like of the holder for the license, and the license ID and the information of the license form the electronic license information. After the electronic license is generated, the electronic license system forms an electronic license digital fingerprint by the license ID and the information of the face through a preset encryption algorithm (Hash algorithm), and performs chain storage on the electronic license digital fingerprint, and simultaneously encrypts the electronic license digital fingerprint through a private key to generate a digital signature.
Electronic certificate issuance: an electronic license holder downloads a relevant App through a terminal for storing the electronic license, after real-name authentication is carried out, the electronic license system matches the corresponding electronic license according to the name and the identity number, the holder can call out an electronic license display page through the App at the terminal for storing the electronic license, and the page comprises a license ID, the information of the face of the license and the two-dimensional code of the electronic license. The terminal can download and store the electronic license two-dimensional code. The information in the electronic license two-dimensional code is the license ID, the face information and the digital signature of the electronic license.
Before the verification terminal is offline, namely before the verification terminal and the electronic license system are in an offline state, the encryption algorithm and the subsequently used public key can be obtained from the electronic license system.
According to the embodiment of the invention, the electronic license digital fingerprint is extracted from the terminal for storing the electronic license, and the digital verification fingerprint is generated by adopting the encryption algorithm of the electronic license system for the electronic license information, so that the electronic license can be verified offline according to the digital verification fingerprint and the extracted electronic license digital fingerprint, the problem that the electronic license cannot be verified offline is solved, the electronic license can be verified still under the offline condition, and the application range of the electronic license is expanded.
In some embodiments, the extracting the electronic license digital fingerprint from the terminal storing the electronic license may include:
extracting a digital signature from the terminal for storing the electronic certificate, wherein the digital signature is obtained by encrypting the digital fingerprint of the electronic certificate generated by the electronic certificate system according to a private key;
and decrypting the digital fingerprint of the electronic certificate from the digital signature according to the public key of the electronic certificate system.
In the off-line verification process, the authenticity and the reliability of the electronic certificate information are further enhanced through the private key and the public key.
Before the digital signature is extracted from the terminal for storing the electronic certificate, the method comprises the following steps:
acquiring and storing an encryption algorithm and a public key of the electronic license system from the electronic license system in a networked state with the electronic license system;
and under the offline state of the electronic certificate system, extracting the digital signature from the terminal for storing the electronic certificate.
Optionally, the offline verification of the electronic license according to the digital verification fingerprint and the extracted digital fingerprint of the electronic license includes:
under the off-line state with the electronic license system, carrying out off-line verification on the electronic license according to the digital verification fingerprint and the electronic license digital fingerprint extracted from the terminal for storing the electronic license; and under the condition of being networked with the electronic license system, acquiring the electronic license digital fingerprint from the block chain, and verifying the electronic license according to the electronic license digital fingerprint acquired from the block chain and the electronic license digital fingerprint extracted from the terminal for storing the electronic license.
This embodiment is through drawing electron license digital fingerprint from the terminal of storage electron license, and the encryption algorithm who adopts electron license system to electron license information generates the digital verification fingerprint, thereby can be based on the digital verification fingerprint and the electron license digital fingerprint who draws, carry out the off-line verification to the electron license, solved the electron license and can't carry out the problem of verifying under the off-line condition, realized under the off-line condition, still can verify the electron license, under the networking state, can be according to follow the electron license digital fingerprint that the district's chain acquireed with from the electron license digital fingerprint that the terminal of storage electron license drawed, right the electron license is verified, and then has promoted the application range of electron license more.
Optionally, before generating the digital verification fingerprint by using the encryption algorithm of the electronic license system for the electronic license information, the method includes:
scanning the electronic license two-dimensional code displayed in the terminal for storing the electronic license;
identifying the electronic license information and the digital signature from the electronic license two-dimensional code; the electronic license information comprises a license identifier, a holder name, a holder photo, a license type, license generation time and license invalidation time.
The electronic certificate verification method in the embodiment of the invention is described in detail through the interaction process among the electronic certificate system, the terminal for storing the electronic certificate and the verification terminal.
As shown in fig. 2, the electronic license system generates an electronic license, the electronic license information includes a license ID, a holder name, a holder photo, a license type, a license generation time, and a license expiration date, generates an electronic license digital fingerprint (referred to as digital fingerprint for short) by using an encryption algorithm, and encrypts the digital fingerprint by using a private key to generate a digital signature.
Step 1, a terminal storing the electronic license acquires license data (namely electronic license information) in advance in a network environment.
And 2, storing the digital signature and the electronic license information by the terminal for storing the electronic license.
And 3, synchronizing the public key in advance under the network environment by the verification terminal.
And 4, synchronously storing the public key by the verification terminal.
And 5, scanning the electronic license two-dimensional code (two-dimensional code for short) in the off-line environment of the verification terminal, and extracting the license ID, the name of the holder, the photo of the holder, the license type, the license generation time and the license expiration date.
And 6, the verification terminal uses the verification terminal App to perform electronic certificate verification. The authentication terminal App is internally provided with an authentication system, and a system public key can be acquired in advance through the electronic authentication system in a network environment and is synchronously stored in the App. And under the offline environment without a network, the verifier scans the two-dimensional code to obtain the certificate ID, the face information and the digital signature stored in the two-dimensional code, and the built-in verification system of the App verifies the identity according to the data. Firstly, the verification terminal decrypts the digital signature by using a public key synchronized from the electronic license system in advance, and a digital fingerprint B (electronic license digital fingerprint) generated by the electronic license system can be obtained after decryption is successful; secondly, generating a digital fingerprint A (digital verification fingerprint) according to the license ID and the face information provided by the terminal for storing the electronic license by using the same encryption algorithm as the electronic license system; and finally, comparing the data fingerprints of the electronic certificate and the fingerprint data, and if the comparison is consistent, determining that the electronic certificate information stored by the terminal for storing the electronic certificate is real and reliable.
Example two
The embodiment of the invention provides an electronic license verification system, which comprises a verification terminal, a terminal for storing an electronic license and an electronic license system, as shown in FIG. 2;
the electronic license system is used for generating an electronic license;
the terminal for storing the electronic license is used for acquiring the electronic license information and the electronic license digital fingerprint of the electronic license from the electronic license system; as shown in fig. 3, the authentication terminal includes:
the acquisition module 10 is used for extracting electronic license information and electronic license digital fingerprints from a terminal for storing the electronic licenses;
the encryption module 12 is used for generating a digital verification fingerprint for the electronic license information by adopting an encryption algorithm of an electronic license system;
and the verification module 14 is used for performing offline verification on the electronic license according to the digital verification fingerprint and the electronic license digital fingerprint extracted from the terminal for storing the electronic license.
Wherein, according to the digital verification fingerprint and the extracted digital fingerprint of the electronic license, the off-line verification of the electronic license can include:
comparing the digital verification fingerprint with the extracted electronic license digital fingerprint;
when the comparison is consistent, the electronic certificate is verified;
and if the comparison is inconsistent, the verification of the electronic certificate is not passed.
According to the embodiment of the invention, the electronic license digital fingerprint is extracted from the terminal for storing the electronic license, and the digital verification fingerprint is generated by adopting the encryption algorithm of the electronic license system for the electronic license information, so that the electronic license can be verified offline according to the digital verification fingerprint and the extracted electronic license digital fingerprint, the problem that the electronic license cannot be verified offline is solved, the electronic license can be verified still under the offline condition, and the application range of the electronic license is expanded.
In some embodiments, the verification terminal further comprises a decryption module;
the electronic license system is specifically used for generating an electronic license with electronic license information according to the information of an electronic license holder, generating an electronic license digital fingerprint by adopting a preset encryption algorithm on the electronic license information, and generating a digital signature by adopting private key encryption on the generated electronic license digital fingerprint;
the terminal for storing the electronic license is specifically used for acquiring the electronic license information and the digital signature from the electronic license system;
the acquisition module is used for acquiring the electronic license information and the digital signature from the terminal for storing the electronic license;
and the decryption module is used for decrypting the digital fingerprint of the electronic license from the digital signature according to the public key of the electronic license system.
In the off-line verification process, the authenticity and the reliability of the electronic certificate information are further enhanced through the private key and the public key.
Optionally, the obtaining module is further configured to obtain and store the encryption algorithm and the public key from the electronic license system when the verification terminal and the electronic license system are in a networked state; under the state that the verification terminal and the electronic license system are in an off-line state, extracting the digital signature from the terminal storing the electronic license;
the electronic license system is also used for storing the electronic license digital fingerprint into a block chain of the electronic license system;
the acquisition module is further used for acquiring the digital fingerprint of the electronic license from the block chain when the verification terminal and the electronic license system are in a networking state;
the verification module is specifically used for performing offline verification on the electronic license according to the digital verification fingerprint and the electronic license digital fingerprint extracted from the terminal for storing the electronic license when the verification terminal and the electronic license system are in an offline state; and under the condition that the verification terminal and the electronic license system are in a networking state, verifying the electronic license according to the electronic license digital fingerprint acquired from the block chain and the electronic license digital fingerprint of the terminal for storing the electronic license.
This embodiment is through drawing electron license digital fingerprint from the terminal of storage electron license, and the encryption algorithm who adopts electron license system to electron license information generates the digital verification fingerprint, thereby can be based on the digital verification fingerprint and the electron license digital fingerprint who draws, carry out the off-line verification to the electron license, solved the electron license and can't carry out the problem of verifying under the off-line condition, realized under the off-line condition, still can verify the electron license, under the networking state, can be according to follow the electron license digital fingerprint that the district's chain acquireed with from the electron license digital fingerprint that the terminal of storage electron license drawed, right the electron license is verified, and then has promoted the application range of electron license more.
EXAMPLE III
The embodiment of the invention provides a verification terminal of an electronic certificate, which is characterized by comprising the following components:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program is used for realizing the steps of the electronic certificate verification method according to any embodiment of the embodiment when being executed by the processor
Example four
The embodiment of the invention provides a computer-readable storage medium, wherein an electronic license verification program is stored on the computer-readable storage medium, and when being executed by a processor, the electronic license verification program realizes the steps of the electronic license verification method according to any one of the embodiments.
When the second embodiment to the fourth embodiment are specifically implemented, reference may be made to the first embodiment, and corresponding technical effects are achieved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (10)
1. An electronic license verification method is characterized by comprising the following steps:
extracting the digital fingerprint of the electronic certificate from a terminal storing the electronic certificate;
generating a digital verification fingerprint for the electronic license information by adopting an encryption algorithm of an electronic license system;
and performing offline verification on the electronic license according to the digital verification fingerprint and the electronic license digital fingerprint extracted from the terminal for storing the electronic license.
2. The electronic license authentication method as claimed in claim 1, wherein the extracting of the electronic license digital fingerprint from the terminal storing the electronic license comprises:
extracting a digital signature from the terminal for storing the electronic certificate, wherein the digital signature is obtained by encrypting the digital fingerprint of the electronic certificate generated by the electronic certificate system according to a private key;
and decrypting the digital fingerprint of the electronic certificate from the digital signature according to the public key of the electronic certificate system.
3. The electronic certificate verification method according to claim 2, wherein before extracting the digital signature from the terminal storing the electronic certificate, the method comprises:
acquiring and storing an encryption algorithm and a public key of the electronic license system from the electronic license system in a networked state with the electronic license system;
and under the offline state of the electronic certificate system, extracting the digital signature from the terminal for storing the electronic certificate.
4. The electronic license authentication method as claimed in claim 1, wherein before generating the digital authentication fingerprint by using the encryption algorithm of the electronic license system for the electronic license information, the method comprises:
scanning the electronic license two-dimensional code displayed in the terminal for storing the electronic license;
and identifying the electronic license information and the digital signature from the electronic license two-dimensional code.
5. The electronic license authentication method as claimed in claim 1, wherein the electronic license information includes a license identification, a holder name, a holder photo, a license type, a license generation time, and a license expiration time.
6. The electronic license authentication method according to any one of claims 1 to 5, wherein the offline authentication of the electronic license based on the digital authentication fingerprint and the electronic license digital fingerprint extracted from the terminal storing the electronic license comprises:
comparing the digital verification fingerprint with the electronic license digital fingerprint extracted from the terminal for storing the electronic license;
when the comparison is consistent, the electronic certificate is verified;
and if the comparison is inconsistent, the verification of the electronic certificate is not passed.
7. An electronic license verification system is characterized by comprising a verification terminal, a terminal for storing an electronic license and an electronic license system;
the electronic license system is used for generating an electronic license;
the terminal for storing the electronic license is used for acquiring the electronic license information and the electronic license digital fingerprint of the electronic license from the electronic license system; the authentication terminal includes:
the acquisition module is used for extracting electronic license information and electronic license digital fingerprints from a terminal for storing the electronic licenses;
the encryption module is used for generating a digital verification fingerprint for the electronic license information by adopting an encryption algorithm of an electronic license system;
and the verification module is used for performing off-line verification on the electronic license according to the digital verification fingerprint and the electronic license digital fingerprint extracted from the terminal for storing the electronic license.
8. The electronic certificate verification system according to claim 7, wherein the verification terminal further comprises a decryption module;
the electronic license system is specifically used for generating an electronic license with electronic license information according to the information of an electronic license holder, generating an electronic license digital fingerprint by adopting a preset encryption algorithm on the electronic license information, and generating a digital signature by adopting private key encryption on the generated electronic license digital fingerprint;
the terminal for storing the electronic license is specifically used for acquiring the electronic license information and the digital signature from the electronic license system;
the acquisition module is used for acquiring the electronic license information and the digital signature from the terminal for storing the electronic license;
and the decryption module is used for decrypting the digital fingerprint of the electronic license from the digital signature according to the public key of the electronic license system.
9. The utility model provides a verification terminal of electron license which characterized in that, the verification terminal of electron license includes:
a memory, a processor, and a computer program stored on the memory and executable on the processor;
the computer program, when executed by the processor, implementing the steps of the electronic license verification method according to any of claims 1-6.
10. A computer-readable storage medium, wherein an electronic license verification program is stored thereon, and when executed by a processor, implements the steps of the electronic license verification method according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011599109.3A CN112800086A (en) | 2020-12-29 | 2020-12-29 | Electronic certificate verification method, system, device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011599109.3A CN112800086A (en) | 2020-12-29 | 2020-12-29 | Electronic certificate verification method, system, device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112800086A true CN112800086A (en) | 2021-05-14 |
Family
ID=75804165
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011599109.3A Pending CN112800086A (en) | 2020-12-29 | 2020-12-29 | Electronic certificate verification method, system, device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112800086A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080148046A1 (en) * | 2006-12-07 | 2008-06-19 | Bryan Glancey | Real-Time Checking of Online Digital Certificates |
CN109754356A (en) * | 2018-12-26 | 2019-05-14 | 广州市中智软件开发有限公司 | Checking method, system and the storage medium of electronics license based on layout files |
CN110798319A (en) * | 2019-10-25 | 2020-02-14 | 北京国信京宁信息安全科技有限公司 | Electronic certificate offline verification system and method |
-
2020
- 2020-12-29 CN CN202011599109.3A patent/CN112800086A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080148046A1 (en) * | 2006-12-07 | 2008-06-19 | Bryan Glancey | Real-Time Checking of Online Digital Certificates |
CN109754356A (en) * | 2018-12-26 | 2019-05-14 | 广州市中智软件开发有限公司 | Checking method, system and the storage medium of electronics license based on layout files |
CN110798319A (en) * | 2019-10-25 | 2020-02-14 | 北京国信京宁信息安全科技有限公司 | Electronic certificate offline verification system and method |
Non-Patent Citations (1)
Title |
---|
陈晓华: "《揭秘区块链》", 30 December 2019, 《北京邮电大学出版社》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11323272B2 (en) | Electronic identification verification methods and systems with storage of certification records to a side chain | |
US20210051023A1 (en) | Cross-chain authentication method, system, server, and computer-readable storage medium | |
CN109359691B (en) | Identity verification method and system based on block chain | |
CN110519260B (en) | Information processing method and information processing device | |
CN106487743B (en) | Method and apparatus for supporting multi-user cluster identity verification | |
US20210037270A1 (en) | System and techniques for digital data lineage verification | |
KR100736091B1 (en) | Apparatus and method for managing a plurality of certificates | |
CN100472550C (en) | Method for generating licence and method and apparatus for providing contents using the same | |
CN110598433B (en) | Block chain-based anti-fake information processing method and device | |
US9230135B2 (en) | Secure access for sensitive digital information | |
CN108038388B (en) | Method for realizing Web page seal, client and server | |
CN110209691B (en) | Data processing method and device | |
CN111242611B (en) | Method and system for recovering digital wallet key | |
EP2547135A2 (en) | Apparatus and method for preventing copying of terminal unique information in portable terminal | |
CN109214146A (en) | The endorsement method of application software, sign test method and apparatus | |
JP2007028015A (en) | Program, system and method for time stamp verification, and time stamp generation request method | |
CN112800392A (en) | Authorization method and device based on soft certificate and storage medium | |
CN111859431A (en) | Electronic file signature method and device, electronic equipment and storage medium | |
CN111371555A (en) | Signature authentication method and system | |
CN112800086A (en) | Electronic certificate verification method, system, device and computer readable storage medium | |
CN111311172A (en) | Electronic signing method, system and storage medium | |
CN110399706A (en) | Authorization and authentication method, device and computer system | |
CN115859319A (en) | Signing and sealing method and device for electronic document and storage medium | |
CN110070365A (en) | Commodity based on block chain deposit card method and apparatus, electronic equipment | |
CN115526637A (en) | Mobile payment method and device in meta-universe environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210514 |