CN109104285B - Block chain real-name authentication method, device, equipment and storage medium - Google Patents
Block chain real-name authentication method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109104285B CN109104285B CN201810821378.6A CN201810821378A CN109104285B CN 109104285 B CN109104285 B CN 109104285B CN 201810821378 A CN201810821378 A CN 201810821378A CN 109104285 B CN109104285 B CN 109104285B
- Authority
- CN
- China
- Prior art keywords
- registration message
- timestamp
- time difference
- block chain
- user
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000005065 mining Methods 0.000 claims abstract description 72
- 238000004590 computer program Methods 0.000 claims description 11
- 238000004891 communication Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 5
- 230000000977 initiatory effect Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 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
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- 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/3297—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 time stamps, e.g. generation of time stamps
-
- 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- 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/08—Network architectures or network communication protocols for network security for authentication of entities
-
- 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/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0861—Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2463/00—Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
- H04L2463/121—Timestamp
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Marketing (AREA)
- General Physics & Mathematics (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Economics (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Information Transfer Between Computers (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The embodiment of the invention provides a block chain real-name authentication method, a block chain real-name authentication device, block chain real-name authentication equipment and a storage medium. The method comprises the following steps: a mining node in a block chain network receives a first registration message broadcast by a block chain participation node in the block chain network, wherein the first registration message comprises a first time stamp local to the block chain participation node; the mining node compares the first timestamp with a second timestamp local to the mining node when the mining node receives the first registration message; if the time difference between the first time stamp and the second time stamp is smaller than or equal to a first preset time difference threshold value, the mining node receives a second registration message broadcast by the block chain participation node in the block chain network; and the mining node performs real-name authentication on the block chain participation node according to the first registration message and the second registration message. The embodiment of the invention realizes the real-name authentication of the block chain participating node and improves the safety of the block chain network.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a block chain real-name authentication method, a block chain real-name authentication device, block chain real-name authentication equipment and a storage medium.
Background
In a blockchain network, data is permanently recorded in blocks in the form of files. A block is a record set of some or all of the latest bitcoin transactions and is not recorded by other previous blocks. Each tile records all events that occurred before it was created. Each tile includes some or all recent transactions, a reference to a previous tile, and other data.
When the current blockchain participating nodes participate in the blockchain network in an anonymous mode, the security of the blockchain network is low.
Disclosure of Invention
The embodiment of the invention provides a block chain real-name authentication method, a block chain real-name authentication device, block chain real-name authentication equipment and a block chain real-name authentication storage medium, which are used for improving the safety of a block chain network.
In a first aspect, an embodiment of the present invention provides a block chain real-name authentication method, including:
a mining node in a block chain network receives a first registration message broadcast by a block chain participation node in the block chain network, wherein the first registration message comprises a first timestamp local to the block chain participation node;
the mining node comparing the first timestamp with a second timestamp local to the mining node when the mining node receives the first registration message;
if the time difference between the first time stamp and the second time stamp is smaller than or equal to a first preset time difference threshold value, the mining node receives a second registration message broadcasted by the block chain participation node in the block chain network, wherein the second registration message comprises a third time stamp of the local block chain participation node, video information, name and identification number of a user, and the video information comprises first image information of an identification document of the user and time information when the video information is recorded;
and the mining node performs real-name authentication on the block chain participation node according to the first registration message and the second registration message.
In a second aspect, an embodiment of the present invention provides a block chain real-name authentication apparatus, including:
a receiving module, configured to receive a first registration message broadcast by a blockchain participant node in the blockchain network, where the first registration message includes a first timestamp local to the blockchain participant node;
a comparison module for comparing the first timestamp with a second timestamp local to the mining node when the mining node receives the first registration message;
the receiving module is further configured to: when the time difference between the first time stamp and the second time stamp is smaller than or equal to a first preset time difference threshold value, receiving a second registration message broadcasted by the blockchain participant node in the blockchain network, wherein the second registration message comprises a third time stamp local to the blockchain participant node, video information, a name and an identification number of a user, and the video information comprises first image information of an identity certificate of the user and time information when the video information is recorded;
and the authentication module is used for performing real-name authentication on the block chain participation node according to the first registration message and the second registration message.
In a third aspect, an embodiment of the present invention provides a block link point, including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the method of the first aspect.
The block chain real-name authentication method, device, equipment and storage medium provided by the embodiment of the invention receive a first registration message broadcasted by a block chain participating node in a block chain network through a mining node, compare a first time stamp of the local block chain participating node included in the first registration message with a second time stamp of the local mining node when the mining node receives the first registration message, and when the time difference between the first time stamp and the second time stamp is less than or equal to a first preset time difference threshold value, the mining node receives a second registration message broadcasted by the block chain participating node in the block chain network, wherein the second registration message includes video information, and the video information includes user identification card picture information, user face information and the like, so that the mining node can uniformly verify the user and the user identification cards, thereby realizing the real-name authentication of the block chain participating node, the safety of the block chain network is improved.
Drawings
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present invention;
fig. 2 is a flowchart of a block chain real-name authentication method according to an embodiment of the present invention;
fig. 3 is a flowchart of a block chain real-name authentication method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a blockchain real-name authentication apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a blockchain node according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The block chain real name authentication method provided by the invention can be applied to the communication system shown in fig. 1. As shown in fig. 1, the communication system includes: access network device 11, terminal device 12, and server 13. It should be noted that the communication System shown in fig. 1 may be applicable to different network formats, for example, may be applicable to Global System for Mobile communication (GSM), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (Long Term Evolution, LTE), and future 5G network formats. Optionally, the communication system may be a system in a scenario of high-reliability and Low-Latency Communications (URLLC) transmission in a 5G communication system.
Therefore, optionally, the access Network device 11 may be a Base Station (BTS) and/or a Base Station Controller in GSM or CDMA, a Base Station (NodeB, NB) and/or a Radio Network Controller (RNC) in WCDMA, an evolved Node B (eNB or eNodeB) in LTE, or a relay Station or an access point, or a Base Station (gbb) in a future 5G Network, and the present invention is not limited thereto.
The terminal device 12 may be a wireless terminal or a wired terminal. A wireless terminal may refer to a device that provides voice and/or other traffic data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem. A wireless terminal, which may be a mobile terminal such as a mobile telephone (or "cellular" telephone) and a computer having a mobile terminal, for example, a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile device, may communicate with one or more core Network devices via a Radio Access Network (RAN), and may exchange language and/or data with the RAN. For another example, the Wireless terminal may also be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), and other devices. A wireless Terminal may also be referred to as a system, a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a Mobile Station (Mobile), a Remote Station (Remote Station), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), a User Agent (User Agent), and a User Device or User Equipment (User Equipment), which are not limited herein. Optionally, the terminal device 12 may also be a smart watch, a tablet computer, or the like. In this embodiment, the terminal device 12 and the server 13 may specifically be nodes in a blockchain network.
The invention provides a block chain real-name authentication method, which aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a block chain real-name authentication method according to an embodiment of the present invention. The embodiment of the invention provides a block chain real-name authentication method aiming at the technical problems in the prior art, and the method comprises the following specific steps:
In this embodiment, the blockchain network includes a blockchain participating node and a mining node, where the blockchain participating node may be specifically the terminal device 12 shown in fig. 1, and the mining node may be specifically the server 13 shown in fig. 1. In addition, the blockchain network may further include a blockchain initiating node, where the blockchain initiating node issues a problem a in the blockchain network in a broadcast manner, and for blockchain participating nodes applying for real-name system verification, such as the terminal device 12, and mining nodes that want to obtain the accounting right, such as the server 13, the problem a broadcast by the blockchain initiating node in the blockchain network at the current time needs to be recorded in real time.
In this embodiment, when the terminal device 12 first accesses the blockchain network, the terminal device 12 needs to perform real-name authentication, specifically, the terminal device 12 broadcasts a first registration message in the blockchain network, where the first registration message includes a first timestamp local to the terminal device 12, and the first timestamp is denoted as T1, and in addition, the first registration message may further include: identification information, name, identification number, public key of the user of the terminal device 12. Specifically, the terminal device 12 may employ its own private key to sign the identification information, name, identification number, public key, and the first timestamp of the user, and then broadcast the signature to the blockchain network.
When the server 13 receives the first registration message, a second timestamp local to the server 13 when the server 13 receives the first registration message is recorded, and the second timestamp is denoted as T2, and further, the server 13 compares the first timestamp T1 with the second timestamp T2 in the first registration message.
When the time difference between the first time stamp T1 and the second time stamp T2 is less than or equal to the first preset time difference threshold, the server 13 may further receive a second registration message broadcast by the terminal device 12 in the blockchain network, where the second registration message includes a third time stamp T3 local to the terminal device 12, video information of the user, a name and an identification number, and the second registration message may further include: user identification information, ID card head portrait information and public key. Specifically, the terminal device 12 may use its own private key to sign the identification information, name, identification number, identification card icon information, public key, and the third timestamp T3 local to the terminal device 12 of the user, and then broadcast the signed information and video information of the user to the blockchain network.
Specifically, the terminal device 12 is provided with a shooting device, and a user can record video information through the terminal device 12, where the video information is specifically video information of the user, and specifically, the user can shoot a face of the user and an identity document of the user through the terminal device 12, where the identity document may be specifically a document such as an identity card and a passport of the user, so that the video information includes image information of the identity card or the passport of the user, and the image information of the identity card or the passport of the user included in the video information is recorded as first image information. Taking the id card of the user as an example, the first image information may include a name, an id number, and head portrait information of the user on the id card of the user. In addition, the video information may also include time information when the video information was recorded. The time information during the recording of the video information comprises the following possible implementation modes:
one possible implementation is: the video information comprises audio information of the user, and the audio information comprises time information when the video information is recorded. For example, when the user records the video information through the terminal device 12, the user may dictate the current recording time, for example, the video information recorded in minutes and seconds on the day of the month, that is, the video information further includes the audio information of the user, which is specifically the voice information that the user dictates the recording time, and here, the current recording time dictated by the user is taken as the time information when the video information is recorded.
Another possible implementation is: the video information comprises second image information of the timer, and the second image information comprises time information when the video information is recorded. For example, when the user records the video information through the terminal device 12, the terminal device 12 may be aligned with and photograph a timer, which may be specifically a clock, which may be specifically a time electronic clock that displays the time of the month and the day. Here, the image information of the timer captured by the terminal device 12 is referred to as second image information, that is, the video information recorded by the terminal device 12 includes the second image information, and the second image information includes time information of the video information recorded displayed by the timer.
In addition, the terminal device 12 may also locally record a problem a broadcast by the blockchain initiating node in the blockchain network, and the video information may further include: the user's explanation and answer to the question a.
In addition, if the time difference between the first time stamp and the second time stamp is greater than a first preset time difference threshold, the mining node determines to abandon writing the first registration message into a blockchain ledger.
For example, when the time difference between the first time stamp T1 and the second time stamp T2 is greater than a first preset time difference threshold, the server 13 determines to abandon writing the first registration message into the blockchain ledger, and broadcasts the abandoned first registration message into the blockchain network by broadcasting, and if a percentage of mining nodes in the blockchain network that exceeds a certain threshold, for example, 50%, broadcast the abandonment message for the first registration message, the first registration message will be regarded as invalid information in the blockchain, and the subsequent steps are not performed.
And 204, the mining node performs real-name authentication on the block chain participating node according to the first registration message and the second registration message.
Optionally, the mining node performs real-name authentication on the blockchain participating node according to the first registration message and the second registration message, including the following steps as shown in fig. 3:
When the server 13 receives the second registration message broadcasted by the terminal device 12, a fourth timestamp local to the server 13 when the server 13 receives the second registration message is recorded, and the fourth timestamp is denoted as T4, and further, the server 13 compares the third timestamp T3 with the fourth timestamp T4 in the second registration message.
When the time difference between the third time stamp T3 and the fourth time stamp T4 is less than or equal to a second preset time difference threshold, the server 13 queries, according to the identification information of the user in the second registration message, a first registration message corresponding to the identification information previously received by the server 13, obtains a first time stamp T1 from the first registration message, and compares the first time stamp T1 with the third time stamp T3.
In addition, if the time difference between the third timestamp and the fourth timestamp is greater than a second preset time difference threshold, the mining node determines to abandon writing the second registration message into the block chain ledger. For example, when the time difference between the third time stamp T3 and the fourth time stamp T4 is greater than a second preset time difference threshold, the server 13 determines to abandon writing the second registration message into the blockchain ledger, and broadcasts the abandoned second registration message into the blockchain network by broadcasting, and if a percentage of mining nodes in the blockchain network that exceeds a certain threshold, for example, 50%, broadcast the abandonment message for the second registration message, the second registration message is regarded as invalid information in the blockchain, and the subsequent steps are not performed.
When the time difference between the first time stamp T1 and the third time stamp T3 is less than or equal to a third preset time difference threshold, the server 13 performs image recognition on the video information in the second registration message to obtain the face information of the user in the video information and the head portrait information of the user in the identity card, compares the face information of the user in the video information with the head portrait information of the user in the identity card, and determines that the face information of the user in the video information is consistent with the head portrait information of the user in the identity card if the similarity between the face information of the user in the video information and the head portrait information of the user in the identity card is greater than the threshold.
And if the time difference between the first timestamp and the third timestamp is greater than a third preset time difference threshold value, the mining node determines to abandon the writing of the first registration message and the second registration message into a block chain ledger.
For example, when the time difference between the first time stamp T1 and the third time stamp T3 is greater than a third preset time difference threshold, the server 13 determines to abandon writing the first registration message and the second registration message into the blockchain ledger, and broadcasts the abandoned first registration message and abandoned second registration message into the blockchain network by broadcasting, and if a percentage of mining nodes exceeding a certain threshold in the blockchain network, for example 50%, broadcast abandonment messages for the first registration message and the second registration message, the first registration message and the second registration message will be invalid information in the blockchain, and no further steps are performed.
When the server 13 determines that the face information of the user in the video information is consistent with the head portrait information of the user in the identification card, the server 13 further compares whether the name of the user in the second registration message is consistent with the name in the first image information corresponding to the identification card in the video information, and compares whether the identification number of the user in the second registration message is consistent with the identification number in the first image information corresponding to the identification card in the video information.
And 305, if the name of the user in the second registration message is consistent with the name in the first image information and the identity card number of the user in the second registration message is consistent with the identity card number in the first image information, comparing the time information when the video information is recorded with the third time stamp by the mining node.
When the name of the user in the second registration message is consistent with the name in the first image information corresponding to the identity card in the video information, and the identity card number of the user in the second registration message is consistent with the identity card number in the first image information corresponding to the identity card in the video information, the server 13 further compares the time information when the video information is recorded with the third timestamp T3, that is, compares the time information dictated by the user in the video information with the third timestamp T3, or compares the time information displayed by the timer in the video information with the third timestamp T3.
When the time difference between the user-dictated time information in the video information and the third time stamp T3 is less than or equal to a fourth preset time difference threshold, the server 13 determines that the real-name authentication for the terminal device 12 is passed. After the server 13 determines that the real-name authentication of the terminal device 12 passes, the server 13 may further write the first registration message and the second registration message into the blockchain ledger, so that the real-name registration of the terminal device 12 is successful.
If the time difference between the user-dictated time information in the video information and the third time stamp T3 is greater than a fourth preset time difference threshold, the server 13 determines that the real-name authentication for the terminal device 12 has failed.
According to the embodiment of the invention, the mining node receives the first registration message broadcasted by the block chain participating node in the block chain network, the first timestamp of the local part of the block chain participating node included in the first registration message is compared with the second timestamp of the local part of the mining node when the mining node receives the first registration message, when the time difference between the first timestamp and the second timestamp is less than or equal to the first preset time difference threshold value, the mining node receives the second registration message broadcasted by the block chain participating node in the block chain network, the second registration message includes video information, and the video information includes user identity card picture information, user face information and the like, so that the mining node can uniformly verify the user and the user identity card, real-name authentication of the block chain participating node is realized, and the safety of the block chain network is improved.
Fig. 4 is a schematic structural diagram of a blockchain real-name authentication device according to an embodiment of the present invention. The block chain real name authentication device is embodied as the mining node in the above embodiment. As shown in fig. 4, the blockchain real-name authentication apparatus 40 according to an embodiment of the present invention may execute a processing procedure provided in the blockchain real-name authentication method embodiment, and includes: a receiving module 41, a comparing module 42 and an authentication module 43; wherein the receiving module 41 is configured to receive a first registration message broadcast by a blockchain participating node in the blockchain network, where the first registration message includes a first timestamp local to the blockchain participating node; the comparison module 42 is configured to compare the first timestamp with a second timestamp local to the mining node when the mining node receives the first registration message; the receiving module 41 is further configured to: when the time difference between the first time stamp and the second time stamp is smaller than or equal to a first preset time difference threshold value, receiving a second registration message broadcasted by the blockchain participant node in the blockchain network, wherein the second registration message comprises a third time stamp local to the blockchain participant node, video information, a name and an identification number of a user, and the video information comprises first image information of an identity certificate of the user and time information when the video information is recorded; the authentication module 43 is configured to perform real-name authentication on the blockchain participating node according to the first registration message and the second registration message.
Optionally, the authentication module 43 includes: a comparison unit 431 and a determination unit 432; the comparing unit 431 is configured to compare the third timestamp with a fourth timestamp of the mining node that is local to the mining node when the mining node receives the second registration message; the comparison unit 431 is further configured to: comparing the first timestamp with the third timestamp when a time difference between the third timestamp and the fourth timestamp is less than or equal to a second preset time difference threshold; the comparison unit 431 is further configured to: when the time difference between the first time stamp and the third time stamp is smaller than or equal to a third preset time difference threshold value, comparing whether the face information of the user in the video information is consistent with the head portrait information of the user in the first image information; the comparison unit 431 is further configured to: when the face information of the user in the video information is consistent with the head portrait information of the user in the first image information, comparing the name of the user in the second registration message with the name in the first image information, and comparing whether the identity card number of the user in the second registration message is consistent with the identity card number in the first image information; the comparison unit 431 is further configured to: when the name of the user in the second registration message is consistent with the name in the first image information and the identity card number of the user in the second registration message is consistent with the identity card number in the first image information, comparing the time information when the video information is recorded with the third timestamp; the determining unit 432 is configured to: and when the time difference between the time information when the video information is recorded and the third time stamp is less than or equal to a fourth preset time difference threshold value, determining that the real name authentication of the block chain participating node is passed.
Optionally, the determining unit 432 is further configured to: and when the time difference between the first time stamp and the second time stamp is greater than a first preset time difference threshold value, determining to abandon the writing of the first registration message into a block chain account book.
Optionally, the determining unit 432 is further configured to: and when the time difference between the third timestamp and the fourth timestamp is greater than a second preset time difference threshold value, determining to abandon the writing of the second registration message into a block chain ledger.
Optionally, the determining unit 432 is further configured to: when the time difference between the first timestamp and the third timestamp is greater than a third preset time difference threshold value, determining to abandon writing the first registration message and the second registration message into a block chain ledger.
The block chain real-name authentication apparatus in the embodiment shown in fig. 4 can be used to implement the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, and are not described herein again.
Fig. 5 is a schematic structural diagram of a blockchain node according to an embodiment of the present invention. The block link point provided by the embodiment of the present invention may execute the processing procedure provided by the block link real-name authentication method embodiment, as shown in fig. 5, the block link point 50 includes a memory 51, a processor 52, a computer program, and a communication interface 53; wherein a computer program is stored in the memory 51 and configured to execute the blockchain real name authentication method described in the above embodiments by the processor 52.
The block link points of the embodiment shown in fig. 5 can be used to implement the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, and are not described herein again.
In addition, the present embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the blockchain real-name authentication method described in the above embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A blockchain real name authentication method is characterized by comprising the following steps:
a mining node in a block chain network receives a first registration message broadcast by a block chain participation node in the block chain network, wherein the first registration message comprises a first timestamp local to the block chain participation node;
the mining node comparing the first timestamp with a second timestamp local to the mining node when the mining node receives the first registration message;
if the time difference between the first time stamp and the second time stamp is smaller than or equal to a first preset time difference threshold value, the mining node receives a second registration message broadcasted by the block chain participation node in the block chain network, wherein the second registration message comprises a third time stamp of the local block chain participation node, video information, name and identification number of a user, and the video information comprises first image information of an identification document of the user and time information when the video information is recorded;
the mining node performs real-name authentication on the block chain participating node according to the first registration message and the second registration message;
and if the time difference between the first timestamp and the second timestamp is greater than a first preset time difference threshold value, the mining node determines to abandon the writing of the first registration message into a block chain ledger.
2. The method of claim 1, wherein the mining node performs real-name authentication on the blockchain participating node according to the first registration message and the second registration message, and wherein the method comprises:
the mining node compares the third timestamp with a fourth timestamp local to the mining node when the mining node receives the second registration message;
if the time difference between the third time stamp and the fourth time stamp is less than or equal to a second preset time difference threshold value, the mining node compares the first time stamp with the third time stamp;
if the time difference between the first time stamp and the third time stamp is smaller than or equal to a third preset time difference threshold value, the mining node compares whether the face information of the user in the video information is consistent with the head portrait information of the user in the first image information;
if the face information of the user in the video information is consistent with the head portrait information of the user in the first image information, the mining node compares the name of the user in the second registration message with the name in the first image information, and compares whether the identity card number of the user in the second registration message is consistent with the identity card number in the first image information;
if the name of the user in the second registration message is consistent with the name in the first image information, and the identity card number of the user in the second registration message is consistent with the identity card number in the first image information, the mining node compares the time information when the video information is recorded with the third timestamp;
and if the time difference between the time information when the video information is recorded and the third time stamp is less than or equal to a fourth preset time difference threshold value, the mining node determines that the real name authentication of the block chain participating node is passed.
3. The method of claim 2, wherein the mining node determines to abandon writing the second registration message into a blockchain ledger if a time difference between the third timestamp and the fourth timestamp is greater than a second preset time difference threshold.
4. The method of claim 2, wherein the mining node determines to abandon writing the first registration message and the second registration message into a blockchain ledger if a time difference between the first timestamp and the third timestamp is greater than a third preset time difference threshold.
5. A blockchain real name authentication apparatus, comprising:
a receiving module, configured to receive a first registration message broadcast by a blockchain participant node in the blockchain network, where the first registration message includes a first timestamp local to the blockchain participant node;
a comparison module for comparing the first timestamp with a second timestamp local to the blockchain real-name authentication device when the receiving module receives the first registration message;
the receiving module is further configured to: when the time difference between the first time stamp and the second time stamp is smaller than or equal to a first preset time difference threshold value, receiving a second registration message broadcasted by the blockchain participant node in the blockchain network, wherein the second registration message comprises a third time stamp local to the blockchain participant node, video information, a name and an identification number of a user, and the video information comprises first image information of an identity certificate of the user and time information when the video information is recorded;
the authentication module is used for carrying out real-name authentication on the block chain participation node according to the first registration message and the second registration message;
the authentication module includes: a determining unit, configured to determine to abandon writing the first registration message into a blockchain ledger when a time difference between the first time stamp and the second time stamp is greater than a first preset time difference threshold.
6. The blockchain real name authentication device according to claim 5, wherein the authentication module includes: a comparison unit;
the comparing unit is configured to compare the third timestamp with a fourth timestamp local to the blockchain real-name authentication apparatus when the receiving module receives the second registration message;
the comparison unit is further configured to: comparing the first timestamp with the third timestamp when a time difference between the third timestamp and the fourth timestamp is less than or equal to a second preset time difference threshold;
the comparison unit is further configured to: when the time difference between the first time stamp and the third time stamp is smaller than or equal to a third preset time difference threshold value, comparing whether the face information of the user in the video information is consistent with the head portrait information of the user in the first image information;
the comparison unit is further configured to: when the face information of the user in the video information is consistent with the head portrait information of the user in the first image information, comparing the name of the user in the second registration message with the name in the first image information, and comparing whether the identity card number of the user in the second registration message is consistent with the identity card number in the first image information;
the comparison unit is further configured to: when the name of the user in the second registration message is consistent with the name in the first image information and the identity card number of the user in the second registration message is consistent with the identity card number in the first image information, comparing the time information when the video information is recorded with the third timestamp;
the determination unit is configured to: and when the time difference between the time information when the video information is recorded and the third time stamp is less than or equal to a fourth preset time difference threshold value, determining that the real name authentication of the block chain participating node is passed.
7. The blockchain real name authentication device according to claim 6, wherein the determining unit is further configured to: and when the time difference between the third timestamp and the fourth timestamp is greater than a second preset time difference threshold value, determining to abandon the writing of the second registration message into a block chain ledger.
8. The blockchain real name authentication device according to claim 6, wherein the determining unit is further configured to: when the time difference between the first timestamp and the third timestamp is greater than a third preset time difference threshold value, determining to abandon writing the first registration message and the second registration message into a block chain ledger.
9. A block link point, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-4.
10. A computer-readable storage medium, having stored thereon a computer program for execution by a processor to perform the method of any one of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810821378.6A CN109104285B (en) | 2018-07-24 | 2018-07-24 | Block chain real-name authentication method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810821378.6A CN109104285B (en) | 2018-07-24 | 2018-07-24 | Block chain real-name authentication method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109104285A CN109104285A (en) | 2018-12-28 |
CN109104285B true CN109104285B (en) | 2021-01-26 |
Family
ID=64847224
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810821378.6A Active CN109104285B (en) | 2018-07-24 | 2018-07-24 | Block chain real-name authentication method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109104285B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109492380B (en) * | 2019-01-11 | 2021-04-02 | 四川虹微技术有限公司 | Equipment authentication method and device and block link point |
CN110334681B (en) * | 2019-07-12 | 2020-12-01 | 蚌埠科睿达机械设计有限公司 | Finger vein identification method and system based on blockchain |
CN113472521B (en) * | 2020-03-30 | 2024-11-26 | 浪潮云洲工业互联网有限公司 | Real-name digital identity management method, signature device and verification device based on blockchain |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106504097A (en) * | 2016-11-09 | 2017-03-15 | 北京金股链科技有限公司 | A kind for the treatment of method and apparatus of assets information |
CN106789911A (en) * | 2016-11-15 | 2017-05-31 | 深圳银链科技有限公司 | A kind of network identity validation method and system based on block chain |
CN107181765A (en) * | 2017-07-25 | 2017-09-19 | 光载无限(北京)科技有限公司 | Network digital identity identifying method based on block chain technology |
CN107423333A (en) * | 2017-04-21 | 2017-12-01 | 博大莱哲科技(北京)有限公司 | A kind of real name identification method and device |
CN107786547A (en) * | 2017-09-30 | 2018-03-09 | 厦门快商通信息技术有限公司 | A kind of auth method based on block chain, device and computer-readable recording medium |
CN108880832A (en) * | 2018-06-29 | 2018-11-23 | 全链通有限公司 | Block chain real name identification method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10469492B2 (en) * | 2015-10-15 | 2019-11-05 | Id.Me, Inc. | Systems and methods for secure online credential authentication |
-
2018
- 2018-07-24 CN CN201810821378.6A patent/CN109104285B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106504097A (en) * | 2016-11-09 | 2017-03-15 | 北京金股链科技有限公司 | A kind for the treatment of method and apparatus of assets information |
CN106789911A (en) * | 2016-11-15 | 2017-05-31 | 深圳银链科技有限公司 | A kind of network identity validation method and system based on block chain |
CN107423333A (en) * | 2017-04-21 | 2017-12-01 | 博大莱哲科技(北京)有限公司 | A kind of real name identification method and device |
CN107181765A (en) * | 2017-07-25 | 2017-09-19 | 光载无限(北京)科技有限公司 | Network digital identity identifying method based on block chain technology |
CN107786547A (en) * | 2017-09-30 | 2018-03-09 | 厦门快商通信息技术有限公司 | A kind of auth method based on block chain, device and computer-readable recording medium |
CN108880832A (en) * | 2018-06-29 | 2018-11-23 | 全链通有限公司 | Block chain real name identification method and system |
Also Published As
Publication number | Publication date |
---|---|
CN109104285A (en) | 2018-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108881296B (en) | Block chain real-name authentication method, device, equipment and storage medium | |
CN108900528B (en) | Block chain real-name authentication method, device, equipment and storage medium | |
CN109194481B (en) | Block chain real-name authentication method, device, equipment and storage medium | |
CN109067724B (en) | Block chain data transaction method, device, equipment and storage medium | |
CN109067721B (en) | Block chain real-name authentication method, device, equipment and storage medium | |
CN109104285B (en) | Block chain real-name authentication method, device, equipment and storage medium | |
CN109087100B (en) | Key distribution method, device, equipment and storage medium | |
CN108989043B (en) | Block processing method and device and block link points | |
CN109379199B (en) | User credit processing method, device, equipment and storage medium | |
CN108712506B (en) | Block chain node communication method and device and block chain node | |
CN108769142B (en) | Transaction information processing method and block generation node | |
CN109118360B (en) | Block chain account checking method, device, equipment and storage medium | |
CN109640274B (en) | Short message sending method and device based on block chain and computer readable storage medium | |
CN108877290B (en) | Parking space scheduling method, device, equipment and storage medium | |
CN108683727B (en) | Block processing method and main node | |
CN108768961B (en) | Storage processing method and home gateway | |
CN108566275A (en) | Identity identifying method, device and block chain node | |
CN108596636B (en) | Anti-counterfeiting method and device and terminal equipment | |
CN108876611B (en) | Transaction information processing method and device and block link points | |
CN108810120B (en) | Block chain node communication method and device and block chain node | |
CN111132155B (en) | 5G secure communication method, device and storage medium | |
CN108777710B (en) | Inter-node communication method and device of block chain and block chain node | |
CN109639715B (en) | Method, device and equipment for avoiding double-flower attack and computer readable storage medium | |
CN102149079B (en) | A method, device and system for obtaining user identity | |
CN109167760B (en) | User information processing method, device and readable storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |