CN110611677A - Block chain-based driving license tracing method and device - Google Patents
Block chain-based driving license tracing method and device Download PDFInfo
- Publication number
- CN110611677A CN110611677A CN201910901231.2A CN201910901231A CN110611677A CN 110611677 A CN110611677 A CN 110611677A CN 201910901231 A CN201910901231 A CN 201910901231A CN 110611677 A CN110611677 A CN 110611677A
- Authority
- CN
- China
- Prior art keywords
- user
- node
- signature
- block chain
- license
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
- H04L63/126—Applying verification of the received information the source of the received data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3263—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
- H04L9/3268—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a driving license tracing method and a device based on a block chain, which are applied to block chain nodes, wherein the method comprises the following steps: receiving a user driver license uplink request of a service node, wherein the user driver license uplink request is a request signed by the service node, the user driver license uplink request comprises a user address and a signature certificate of a traffic management department node, and the service node is a node for assisting the user driver license uplink; verifying the signature of the service node and the signature certificate of the traffic management department node; and after the verification is passed, packaging the user driving license and the user address into a block, so that the block chain system stores the block into a block chain after performing consensus verification on the block. The method can store the driving license information on the block chain, thereby facilitating the inquiry of the driving license information and solving the problem of the counterfeit driving license.
Description
Technical Field
The invention relates to the technical field of internet big data, in particular to a driving license tracing method and device based on a block chain.
Background
Currently, the blockchain technology is a distributed stored ledger that uses technologies such as encryption algorithm and consensus mechanism. With the use of blockchain technology, more and more internet data is stored on the blockchain.
In addition, the blockchain technology has the characteristics of being not falsifiable and traceable. At present, the problem of counterfeit of the driving license can be solved by adopting a block chain technology.
The foregoing description is merely for convenience in understanding and is not to be construed as limiting the prior art to the present application.
Disclosure of Invention
Based on the problems, the application discloses a block chain-based driving license tracing method and a block chain-based driving license tracing device.
The application discloses a driving license tracing method based on a block chain, which is applied to a block chain node, and the method comprises the following steps:
receiving a user driver license uplink request of a service node, wherein the user driver license uplink request is a request signed by the service node, the user driver license uplink request comprises a user address and a signature certificate of a traffic management department node, and the service node is a node for assisting the user driver license uplink;
verifying the signature of the service node and the signature certificate of the traffic management department node;
and after the verification is passed, packaging the user driving license and the user address into a block, so that the block chain system stores the block into a block chain after performing consensus verification on the block.
In one possible embodiment, the method further comprises: receiving a query request of user equipment, wherein the query request comprises a private key signature of the user equipment and a user address, and the user equipment is authenticated by a real name;
verifying the private key signature of the user equipment by using the public key of the user equipment;
and after the verification is passed, the driver license information corresponding to the user address is sent to the user equipment.
In a possible embodiment, the block link node verifies the signature of the service node and the signature certificate of the traffic control department node; the method specifically comprises the following steps:
verifying the private key signature of the service node by using the public key of the service node;
and verifying the signature certificate of the traffic management department node by using the public key of the traffic management department node.
In one possible embodiment, the user driver license includes one or more of a user name, an identification number, a date of issuance, a date of validity, a user photograph, and a driver license rating.
In one possible embodiment, the driver license of the user further includes bibliographic change information of the driver license.
The second aspect of the application discloses a driving license tracing device based on a block chain, which is applied to a block chain node, wherein the block chain node comprises a receiving unit and a processing unit.
The receiving unit is used for receiving a user driving license uplink request of a service node, wherein the user driving license uplink request is a request signed by the service node, the user driving license uplink request comprises a user address and a signature certificate of a traffic management department node, and the service node is a node for assisting the user driving license uplink;
the processing unit is used for verifying the signature of the service node and the signature certificate of the traffic management department node;
and the processing unit packages the user driving license and the user address into a block after the verification is passed, so that the block chain system stores the block into a block chain after the block chain system performs consensus verification on the block.
In a possible embodiment, the blockchain node further comprises a sending unit; the receiving unit receives an inquiry request of user equipment, wherein the inquiry request comprises a private key signature of the user equipment and a user address, and the user equipment is authenticated by a real name;
the processing unit is used for verifying the private key signature of the user equipment by using the public key of the user equipment;
and the sending unit sends the driver license information corresponding to the user address to the user equipment after the verification is passed.
In a possible embodiment, the processing unit verifies the signature of the service node and the signature certificate of the traffic control department node; the method specifically comprises the following steps:
the processing unit verifies the private key signature of the service node by using the public key of the service node;
and the processing unit verifies the signature certificate of the traffic management department node by using the public key of the traffic management department node.
In one possible embodiment, the user driver license includes one or more of a user name, an identification number, a date of issuance, a date of validity, a user photograph, and a driver license rating.
In one possible embodiment, the driver license of the user further includes bibliographic change information of the driver license.
This application can let driver's license information storage on the block chain to conveniently inquire driver's license information, solved driver's license and made the fake problem.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a driving license tracing method based on a blockchain disclosed in the present application;
fig. 2 is a schematic structural diagram of a block chain-based driving license tracing apparatus disclosed in the present application;
fig. 3 is a schematic structural diagram of a block chain-based driving license tracing device disclosed in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second" in this application are used for convenience of understanding only, and are not to be construed as sequential or limiting in any way.
For the purpose of facilitating understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
As shown in FIG. 1, the driving license tracing method based on the blockchain is applied to the blockchain node, and the method comprises steps S101-S103.
S101, receiving a user driving license uplink request of a service node, wherein the user driving license uplink request is a request signed by the service node, the user driving license uplink request comprises a user address and a signature certificate of a traffic management department node, and the service node is a node for assisting the user driving license uplink.
S102, the signature of the service node and the signature certificate of the traffic management department node are verified.
And S103, after the verification is passed, packaging the user driving license and the user address into a block, so that the block chain system stores the block into a block chain after performing consensus verification on the block.
In one example, the method further comprises: receiving a query request of user equipment, wherein the query request comprises a private key signature of the user equipment and a user address, and the user equipment is authenticated by a real name;
verifying the private key signature of the user equipment by using the public key of the user equipment;
and after the verification is passed, the driver license information corresponding to the user address is sent to the user equipment.
In one example, the block link node verifies the signature of the service node and the signature certificate of the traffic management department node; the method specifically comprises the following steps:
verifying the private key signature of the service node by using the public key of the service node;
and verifying the signature certificate of the traffic management department node by using the public key of the traffic management department node.
In one example, the user driver license includes one or more of a user name, an identification number, a certification date, an expiration date, a user photo, and a driver license level.
In one example, the user driving license further includes bibliographic change information of the driving license.
This application can let driver's license information storage on the block chain to conveniently inquire driver's license information, solved driver's license and made the fake problem.
As shown in fig. 2, the device for tracing a driver's license based on a blockchain is applied to a blockchain node, and the blockchain node includes a receiving unit and a processing unit.
The receiving unit is used for receiving a user driving license uplink request of a service node, wherein the user driving license uplink request is a request signed by the service node, the user driving license uplink request comprises a user address and a signature certificate of a traffic management department node, and the service node is a node for assisting the user driving license uplink;
the processing unit is used for verifying the signature of the service node and the signature certificate of the traffic management department node;
and the processing unit packages the user driving license and the user address into a block after the verification is passed, so that the block chain system stores the block into a block chain after the block chain system performs consensus verification on the block.
In one example, the blockchain node further comprises a transmitting unit; the receiving unit receives an inquiry request of user equipment, wherein the inquiry request comprises a private key signature of the user equipment and a user address, and the user equipment is authenticated by a real name;
the processing unit is used for verifying the private key signature of the user equipment by using the public key of the user equipment;
and the sending unit sends the driver license information corresponding to the user address to the user equipment after the verification is passed.
In one example, the processing unit verifies a signature of the service node and a signature certificate of the traffic management department node; the method specifically comprises the following steps:
the processing unit verifies the private key signature of the service node by using the public key of the service node;
and the processing unit verifies the signature certificate of the traffic management department node by using the public key of the traffic management department node.
In one example, the user driver license includes one or more of a user name, an identification number, a certification date, an expiration date, a user photo, and a driver license level.
In one example, the user driving license further includes bibliographic change information of the driving license.
This application can let driver's license information storage on the block chain to conveniently inquire driver's license information, solved driver's license and made the fake problem.
The application further discloses a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of the above embodiments when executing the program.
The present application also discloses a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of the above embodiments.
Fig. 3 shows a schematic diagram of a computer device, which may include: a processor 310, a memory 320, an input/output interface 330, a communication interface 340, and a bus 350. Wherein the processor 340, the memory 320, the input/output interface 330, and the communication interface 340 are communicatively coupled to each other within the device via a bus 350.
The processor 310 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 320 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 320 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 320 and called to be executed by the processor 310.
The input/output interface 330 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 340 is used for connecting a communication module (not shown in the figure) to implement communication interaction between the present device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 350 includes a path that transfers information between the various components of the device, such as processor 310, memory 320, input/output interface 330, and communication interface 340.
It should be noted that although the above-mentioned device only shows the processor 310, the memory 320, the input/output interface 330, the communication interface 340 and the bus 350, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only illustrative of the present invention and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the scope of the present invention should be included in the scope of the present invention.
Claims (10)
1. The driving license tracing method based on the block chain is characterized by being applied to a block chain node, and the method comprises the following steps:
receiving a user driver license uplink request of a service node, wherein the user driver license uplink request is a request signed by the service node, the user driver license uplink request comprises a user address and a signature certificate of a traffic management department node, and the service node is a node for assisting the user driver license uplink;
verifying the signature of the service node and the signature certificate of the traffic management department node;
and after the verification is passed, packaging the user driving license and the user address into a block, so that the block chain system stores the block into a block chain after performing consensus verification on the block.
2. The method of claim 1, further comprising:
receiving a query request of user equipment, wherein the query request comprises a private key signature of the user equipment and a user address, and the user equipment is authenticated by a real name;
verifying the private key signature of the user equipment by using the public key of the user equipment;
and after the verification is passed, the driver license information corresponding to the user address is sent to the user equipment.
3. The method of claim 1, wherein the block link node verifies the signature of the service node and the signature certificate of the traffic management node; the method specifically comprises the following steps:
verifying the private key signature of the service node by using the public key of the service node;
and verifying the signature certificate of the traffic management department node by using the public key of the traffic management department node.
4. The method of claim 1, wherein the user driver license includes one or more of a user name, an identification number, a date of issuance, a date of validity, a user photograph, and a driver license rating.
5. The method of claim 1, wherein the user's driving license further includes bibliographic change information for the driving license.
6. The driving license tracing device based on the block chain is characterized by being applied to a block chain node, wherein the block chain node comprises a receiving unit and a processing unit; wherein the content of the first and second substances,
the receiving unit is used for receiving a user driving license uplink request of a service node, wherein the user driving license uplink request is a request signed by the service node, the user driving license uplink request comprises a user address and a signature certificate of a traffic management department node, and the service node is a node for assisting the user driving license uplink;
the processing unit is used for verifying the signature of the service node and the signature certificate of the traffic management department node;
and the processing unit packages the user driving license and the user address into a block after the verification is passed, so that the block chain system stores the block into a block chain after the block chain system performs consensus verification on the block.
7. The apparatus of claim 6, wherein the blockchain node further comprises a transmitting unit; wherein the content of the first and second substances,
the receiving unit receives an inquiry request of user equipment, wherein the inquiry request comprises a private key signature of the user equipment and a user address, and the user equipment is authenticated by a real name;
the processing unit is used for verifying the private key signature of the user equipment by using the public key of the user equipment;
and the sending unit sends the driver license information corresponding to the user address to the user equipment after the verification is passed.
8. The apparatus of claim 6, wherein the processing unit verifies a signature of the service node and a signature certificate of the traffic management node; the method specifically comprises the following steps:
the processing unit verifies the private key signature of the service node by using the public key of the service node;
and the processing unit verifies the signature certificate of the traffic management department node by using the public key of the traffic management department node.
9. The apparatus of claim 6, wherein the user driver license includes one or more of a user name, an identification number, a date of issuance, a date of validity, a user photograph, and a driver license rating.
10. The apparatus of claim 6, wherein the user's driving license further includes bibliographic change information for the driving license.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910901231.2A CN110611677A (en) | 2019-09-23 | 2019-09-23 | Block chain-based driving license tracing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910901231.2A CN110611677A (en) | 2019-09-23 | 2019-09-23 | Block chain-based driving license tracing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110611677A true CN110611677A (en) | 2019-12-24 |
Family
ID=68892067
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910901231.2A Pending CN110611677A (en) | 2019-09-23 | 2019-09-23 | Block chain-based driving license tracing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110611677A (en) |
-
2019
- 2019-09-23 CN CN201910901231.2A patent/CN110611677A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110674218A (en) | Company business license tracing method and device related to block chain | |
CN110380870B (en) | Block chain private key signing method and device for e-commerce platform user | |
CN110634001A (en) | Food circulation information tracing method and device based on block chain | |
CN109818965B (en) | Personal identity verification device and method | |
CN110599209A (en) | Wine circulation information tracing method and device based on block chain | |
CN110647768A (en) | Passport deposit method and device based on block chain | |
CN110598389A (en) | Method and device for storing account book certificate based on block chain | |
CN110689358A (en) | Furniture circulation information tracing method and device based on block chain | |
CN110599208A (en) | Block chain-based academic certificate tracing method and device | |
CN111078715A (en) | Synchronous storage method and device for internet advertisement data on block chain | |
CN110634003A (en) | Medicine circulation information tracing method and device based on block chain | |
CN110545189A (en) | Block chain private key signing method and device for community platform users | |
CN110659518A (en) | House property certificate storing method and device relating to block chain | |
CN110611677A (en) | Block chain-based driving license tracing method and device | |
CN110602128A (en) | Block chain-based driving license tracing method and device | |
CN110602127A (en) | Identity card storage method and device relating to block chain | |
CN110619021A (en) | Block chain-based social security card storage method and device | |
CN110634000A (en) | Tea flow information tracing method and device based on block chain | |
CN111831725A (en) | Synchronous storage method and device for internet tourism data on block chain | |
CN110688630A (en) | Book circulation information tracing method and device based on block chain | |
CN110647586A (en) | Artwork transfer information tracing method and device based on block chain | |
CN110545177A (en) | Block chain private key signing method and device for life service platform user | |
CN110543786A (en) | method and device for signing block chain private key of shared economic platform user | |
CN110545188A (en) | User block chain private key signing method and device related to self-media platform | |
CN111835815A (en) | Synchronous storage method and device for internet self-media data on block chain |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication |