CN108881296A - Block chain real name identification method, device, equipment and storage medium - Google Patents

Block chain real name identification method, device, equipment and storage medium Download PDF

Info

Publication number
CN108881296A
CN108881296A CN201810821389.4A CN201810821389A CN108881296A CN 108881296 A CN108881296 A CN 108881296A CN 201810821389 A CN201810821389 A CN 201810821389A CN 108881296 A CN108881296 A CN 108881296A
Authority
CN
China
Prior art keywords
block chain
node
registration message
name
real
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.)
Granted
Application number
CN201810821389.4A
Other languages
Chinese (zh)
Other versions
CN108881296B (en
Inventor
田新雪
马书惠
肖征荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810821389.4A priority Critical patent/CN108881296B/en
Publication of CN108881296A publication Critical patent/CN108881296A/en
Application granted granted Critical
Publication of CN108881296B publication Critical patent/CN108881296B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic 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/3236Cryptographic 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 using cryptographic hash functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic 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/3297Cryptographic 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

Abstract

The embodiment of the present invention provides a kind of block chain real name identification method, device, equipment and storage medium.This method includes:Block chain participates in the difficulty value for user's system of real name registration that node obtains in wound generation block;The block chain participates in node according to the difficulty value, determines random number, so as to include the cryptographic Hash of the registration message of the random number less than the difficulty value;The block chain participates in node and the cryptographic Hash that the registration message, the block chain participate in node local time stamp and the registration message is broadcast in block chain network, so that the digging mine node in the block chain network participates in node progress real-name authentication to the block chain according to the cryptographic Hash that the registration message, the block chain participate in node local time stamp and the registration message.The embodiment of the present invention avoids attack of the intermediate malicious node to block chain network, improves the safety of block chain network.

Description

Block chain real name identification method, device, equipment and storage medium
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of block chain real name identification methods, device, equipment And storage medium.
Background technique
In block chain network, data are permanently logged in block in the form of a file.One block is some or institute The record set for thering is latest bit coin to trade, and do not recorded by other previous blocks.Each block has recorded before it is created All events occurred.Each block includes the reference and other data of some or all of Recent Activities, previous block.
Current block chain, which participates in node, to be participated in the block chain network with anonymous way, and block chain network is caused Safety is lower.
Summary of the invention
The embodiment of the present invention provides a kind of block chain real name identification method, device, equipment and storage medium, to improve block The safety of chain network.
In a first aspect, the embodiment of the present invention provides a kind of block chain real name identification method, including:
Block chain participates in the difficulty value for user's system of real name registration that node obtains in wound generation block;
The block chain participates in node according to the difficulty value, determines random number, so as to include the registration of the random number The cryptographic Hash of message is less than the difficulty value;
The block chain participates in node and the registration message, the block chain is participated in node local time stamp and the note The cryptographic Hash of volume message is broadcast in block chain network, so that the digging mine node in the block chain network disappears according to the registration Breath, the block chain participate in node local time stamp and the cryptographic Hash of the registration message participates in node progress to the block chain Real-name authentication.
Second aspect, the embodiment of the present invention provide a kind of block chain real name identification method, including:
Digging mine node in block chain network receives block chain and participates in broadcast message of the node in the block chain network, The broadcast message includes the cryptographic Hash of registration message, the block chain participation node local time stamp and the registration message, The registration message includes random number, and the cryptographic Hash of the registration message is less than the difficulty of user's system of real name registration in wound generation block Angle value;
The digging mine node participates in node local time stamp according to the registration message, the block chain and the registration disappears The cryptographic Hash of breath participates in node to the block chain and carries out real-name authentication.
The third aspect, the embodiment of the present invention provide a kind of block chain real-name authentication device, including:
Module is obtained, for obtaining the difficulty value of user's system of real name registration in wound generation block;
Determining module, for determining random number according to the difficulty value, so as to include the registration message of the random number Cryptographic Hash is less than the difficulty value;
Sending module, for the registration message, block chain participation node local time stamp and the registration to disappear The cryptographic Hash of breath is broadcast in block chain network so that the digging mine node in the block chain network according to the registration message, It is real that the cryptographic Hash that the block chain participates in node local time stamp and the registration message participates in node progress to the block chain Name certification.
Fourth aspect, the embodiment of the present invention provide a kind of block chain real-name authentication device, including:
Receiving module participates in broadcast message of the node in the block chain network, the broadcast for receiving block chain Message includes the cryptographic Hash of registration message, the block chain participation node local time stamp and the registration message, the registration Message includes random number, and the cryptographic Hash of the registration message is less than the difficulty value of user's system of real name registration in wound generation block;
Authentication module, for participating in node local time stamp and the registration according to the registration message, the block chain The cryptographic Hash of message participates in node to the block chain and carries out real-name authentication.
5th aspect, the embodiment of the present invention provide a kind of block chain node, including:
Memory;
Processor;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor with reality Method described in existing first aspect.
6th aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, The computer program is executed by processor to realize method described in first aspect.
Block chain real name identification method, device, equipment and storage medium provided in an embodiment of the present invention, are joined by block chain The difficulty value that user's system of real name registration in wound generation block is obtained with node determines random number according to the difficulty value, so that packet The cryptographic Hash for including the registration message of the random number is less than the difficulty value, and the registration message, the block chain are participated in section The cryptographic Hash of point local time stamp and the registration message is broadcast in block chain network, so that the digging in the block chain network Mine node participates in the cryptographic Hash of node local time stamp and the registration message to institute according to the registration message, the block chain It states block chain and participates in node progress real-name authentication, when the attempt of intermediate malicious node assumes another's name to register, which needs The public key in the registration message is modified, otherwise the information of intercepting and capturing can not be decrypted, since intermediate malicious node needs to modify Public key in the registration message, so that the cryptographic Hash of registration message is no longer less than difficulty value, at this point, intermediate malicious node needs weight A new random number newly is calculated, so that the cryptographic Hash of the registration message again less than difficulty value, still, is saved in intermediate malice During point needs to recalculate random number, normal users may have been completed that real name is registered, and dislike so as to avoid centre Attack of the meaning node to block chain network, improves the safety of block chain network.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of application scenarios provided in an embodiment of the present invention;
Fig. 2 is block chain real name identification method flow chart provided in an embodiment of the present invention;
Fig. 3 is block chain real name identification method flow chart provided in an embodiment of the present invention;
Fig. 4 be another embodiment of the present invention provides block chain real name identification method flow chart;
Fig. 5 is the structural schematic diagram of block chain real-name authentication device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of block chain real-name authentication device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of block chain node provided in an embodiment of the present invention.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Block chain real name identification method provided by the invention, can be adapted for communication system shown in FIG. 1.As shown in Figure 1, The communication system includes:Access network equipment 11, terminal device 12 and server 13.It should be noted that communication shown in FIG. 1 System can be adapted for different network formats, for example, can be adapted for global system for mobile telecommunications (Global System of Mobile communication, abbreviation GSM), CDMA (Code Division Multiple Access, referred to as CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, abbreviation WCDMA), time division synchronous CDMA (Time Division-Synchronous Code Division Multiple Access, abbreviation TD- SCDMA), the network formats such as the 5G in long term evolution (Long Term Evolution, abbreviation LTE) system and future.Optionally, Above-mentioned communication system can communicate (Ultra-Reliable and Low Latency for low time delay highly reliable in 5G communication system Communications, abbreviation URLLC) transmission scene in system.
So optionally, above-mentioned access network equipment 11 can be base station (the Base Transceiver in GSM or CDMA Station, abbreviation BTS) and/or base station controller, it is also possible to base station (NodeB, abbreviation NB) in WCDMA and/or wireless Network controller (Radio Network Controller, abbreviation RNC), can also be the evolved base station in LTE (Evolutional Node B, abbreviation eNB or eNodeB) perhaps base in relay station or access point or future 5G network Stand (gNB) etc., and the present invention does not limit herein.
Above-mentioned terminal device 12 can be wireless terminal and be also possible to catv terminal.Wireless terminal can be directed to user and mention For voice and/or the equipment of other business datum connectivity, there is the handheld device of wireless connecting function or be connected to wireless Other processing equipments of modem.Wireless terminal can be through wireless access network (Radio Access Network, abbreviation RAN it) is communicated with one or more equipments of the core network, wireless terminal can be mobile terminal, as mobile phone (or is " honeycomb " phone) and computer with mobile terminal, for example, it may be portable, pocket, hand-held, built-in computer Or vehicle-mounted mobile device, they exchange language and/or data with wireless access network.For another example wireless terminal can be with It is personal communication service (Personal Communication Service, abbreviation PCS) phone, wireless phone, session setup Agreement (Session Initiation Protocol, abbreviation SIP) phone, wireless local loop (Wireless Local Loop, abbreviation WLL) it stands, the equipment such as personal digital assistant (Personal Digital Assistant, abbreviation PDA).It is wireless whole End is referred to as system, subscriber unit (Subscriber Unit), subscriber station (Subscriber Station), movement station (Mobile Station), mobile station (Mobile), distant station (Remote Station), remote terminal (Remote Terminal), access terminal (Access Terminal), user terminal (User Terminal), user agent (User Agent), user equipment (User Device or User Equipment), is not limited thereto.Optionally, above-mentioned terminal is set Standby 12 can also be the equipment such as smartwatch, tablet computer.Terminal device 12 and server 13 specifically can be block chain network In node.
Block chain real name identification method provided by the invention, it is intended to solve the technical problem as above of the prior art.
How to be solved with technical solution of the specifically embodiment to technical solution of the present invention and the application below above-mentioned Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 2 is block chain real name identification method flow chart provided in an embodiment of the present invention.The embodiment of the present invention is for existing The technical problem as above of technology provides block chain real name identification method, and specific step is as follows for this method:
Step 201, block chain participate in the difficulty value for user's system of real name registration that node obtains in wound generation block.
In the present embodiment, block chain initiates node and provides whole district's block chain network in the wound generation block of block chain The difficulty value of user's system of real name registration.Block chain, which participates in node, specifically can be terminal device 12 as shown in Figure 1, when terminal is set Standby 12 when being added in the block chain network, and terminal device 12 obtains the wound generation block from adjacent node, and from the wound generation block The middle difficulty value for obtaining the registration of user's system of real name.
Step 202, the block chain participate in node according to the difficulty value, determine random number, so as to include described random The cryptographic Hash of several registration messages is less than the difficulty value.
In the present embodiment, it when terminal device 12 carries out system of real name registration in the block chain network, needs in the block Broadcast registration message in chain network, optionally, the registration message of terminal device 12 includes a random number, when terminal device 12 obtains After the difficulty value for getting the registration of user's system of real name, terminal device 12 calculates the cryptographic Hash of the registration message, when the cryptographic Hash is greater than Or when being equal to the difficulty value, terminal device 12 reselects random number, and calculates the Hash of the registration message including the random number Value, so that the cryptographic Hash is less than the difficulty value.
Step 203, the block chain participate in node and the registration message, the block chain are participated in node local time stamp It is broadcast in block chain network with the cryptographic Hash of the registration message, so that the digging mine node in the block chain network is according to institute State registration message, the block chain participates in node local time stamp and the cryptographic Hash of the registration message participates in the block chain Node carries out real-name authentication.
When terminal device 12 determines random number, so that including the cryptographic Hash of the registration message of the random number less than the difficulty When value, the cryptographic Hash of the registration message, 12 local time stamp of terminal device and the registration message is broadcast to area by terminal device 12 In block chain network, the specific server 13 as shown in Figure 1 of digging mine node in the block chain network, server 13 receives terminal After the message that equipment 12 is broadcasted in block chain network, according to the registration message of the broadcast of terminal device 12,12, terminal device The cryptographic Hash of ground timestamp and the registration message carries out real-name authentication to terminal device 12.
Optionally, the registration message further includes:The video information of user, name, identification card number, identity card head portrait letter Breath, public key, user name.
For example, the terminal device 12 is provided with filming apparatus, user can pass through 12 recorded video information of terminal device, the view Frequency information is specially the video information of the user, specifically, user can shoot face, the use of the user by terminal device 12 The identity document at family, the identity document specifically can be the certificates such as the identity card of the user, passport, so that the video information includes The identity card of the user or the image information of passport, herein by the identity card or passport of the user for including in the video information Image information is denoted as the first image information.By taking the identity card of the user as an example, which may include the user identity The head image information of name, ID card No., the user on card.In addition, the video information can also include that the video information is recorded First time information when processed.First time information when the video information is recorded includes following several possible implementations:
One kind is possible to be achieved in that:The video information includes the audio-frequency information of the user, the audio-frequency information First time information when being recorded including the video information.For example, when user records video letter by the terminal device 12 When breath, which can give an oral account current recording time, for example, the video letter when which was recorded when several seconds of day Breath, that is to say, that the video information further includes the audio-frequency information of user, which is specially that user gives an oral account the recording time Voice messaging, herein, by user give an oral account current recording time be denoted as the video information record when first time information.
Alternatively possible is achieved in that:The video information includes the second image information of the timer, described Second image information includes the first time information when video information is recorded.For example, when user passes through the terminal device 12 When recording the video information, which can also be aligned to timer and the timer is shot, the timer Specifically can be clock, which specifically can be time electronic watch, the time electronic watch can show when which Day when several seconds.Herein, the image information for the timer that terminal device 12 is shot is denoted as the second image information, that is, It says, includes second image information in the video information which records, the second image information includes the timer First time information when the video information of display is recorded.
Specifically, terminal device 12 by the name of user, identification card number, identity card head image information, public key, user name, should Video information, the random number, the cryptographic Hash of 12 local time stamp of terminal device and the registration message are broadcast in block chain network.
The digging mine node participates in node local time stamp according to the registration message, the block chain and the registration disappears The cryptographic Hash of breath participates in node to the block chain and carries out real-name authentication, including following steps as shown in Figure 3:
Step 301, the digging mine node block chain participate in node local time stamp and the digging mine node connects Receive the temporal information for digging mine node local when the broadcast message.
13 comparison terminal equipment of server, 12 local time stamp and server 13 receive terminal device 12 in block link network The local temporal information of server 13 when broadcast message in network, and 12 local time stamp of computing terminal equipment and server 13 connect Time difference of the terminal device 12 in the broadcast message in block chain network between the local temporal information of server 13 is received, such as The fruit time difference is greater than preset time difference threshold value, then server 13 fails to the real-name authentication of terminal device 12.
If step 302, the block chain participate in node local time stamp and the digging mine node receives the broadcast The time difference of the temporal information for digging mine node local is less than or equal to preset time difference threshold value when message, then the digging mine section Point detect the identification card number whether in the block chain network real name registered.
If it is wide in block chain network that 12 local time stamp of terminal device and server 13 receive terminal device 12 Time difference when broadcasting message between the local temporal information of server 13 is less than or equal to preset time difference threshold value, server 13 into The identification card number broadcasted in block chain network of one step detection terminal device 12 whether in the block chain network real name is registered It crosses.If identification card number real name in the block chain network registered, server 13 recognizes the real name of terminal device 12 Card failure.
If step 303, the identification card number be not in the block chain network, real name was registered, the digging mine node It detects the random number and whether the cryptographic Hash is correct.
If the identification card number is not in the block chain network, real name was registered, and server 13 further detects above-mentioned Whether random number and cryptographic Hash in step calculate correctly, if random number and cryptographic Hash calculate mistake, 13 pairs of ends of server The real-name authentication of end equipment 12 fails.
If step 304, the random number and the cryptographic Hash are correct, the digging mine node is determined to the block chain The real-name authentication for participating in node passes through.
If random number and cryptographic Hash calculate correctly, server 13 passes through the real-name authentication of terminal device 12.
In addition, after server 13 determines that the real-name authentication for participating in node such as terminal device 12 to block chain passes through, also Can be by the successful information write-in block chain account book of 12 real-name authentication of terminal device, other, which dig mine node, can also use this reality It applies method described in example and real-name authentication is carried out to terminal device 12, to determine that server 13 is to the authentication result of terminal device 12 It is no correct.If multiple digging mine nodes approve that the real-name authentication to terminal device 12 passes through, recognize in the block chain account book The successful information of 12 real-name authentication of terminal device of write-in.
The embodiment of the present invention participates in the difficulty value for user's system of real name registration that node obtains in wound generation block by block chain, According to the difficulty value, random number is determined, so that the cryptographic Hash of the registration message including the random number is less than the difficulty value, The cryptographic Hash that the registration message, the block chain participate in node local time stamp and the registration message is broadcast to block chain In network, so that the digging mine node in the block chain network participates in node local according to the registration message, the block chain The cryptographic Hash of timestamp and the registration message participates in node to the block chain and carries out real-name authentication, when intermediate malicious node is looked forward to When figure assumes another's name to register, which needs to modify the public key in the registration message, otherwise can not to the information of intercepting and capturing into Row decryption, since intermediate malicious node needs to modify the public key in the registration message, so that the cryptographic Hash of registration message is no longer small In difficulty value, at this point, intermediate malicious node needs to recalculate a new random number, so that the cryptographic Hash of the registration message Again less than difficulty value, still, during intermediate malicious node needs to recalculate random number, normal users may be Real name registration is completed, the attack so as to avoid intermediate malicious node to block chain network improves the peace of block chain network Quan Xing.
Fig. 4 be another embodiment of the present invention provides block chain real name identification method flow chart.In the base of above-described embodiment On plinth, block chain real name identification method provided in this embodiment specifically comprises the following steps:
Digging mine node in step 401, block chain network receives block chain and participates in node in the block chain network Broadcast message, the broadcast message include registration message, block chain participation node local time stamp and the registration message Cryptographic Hash, the registration message includes random number, and the cryptographic Hash of the registration message is less than user's real name in wound generation block Make the difficulty value of registration.
Step 402, the digging mine node participate in node local time stamp and institute according to the registration message, the block chain The cryptographic Hash for stating registration message participates in node to the block chain and carries out real-name authentication.
Optionally, the registration message further includes:The video information of user, name, identification card number, identity card head portrait letter Breath, public key, user name.
Optionally, the digging mine node participates in node local time stamp and institute according to the registration message, the block chain The cryptographic Hash for stating registration message participates in node to the block chain and carries out real-name authentication, including:The digging mine node is relatively more described Block chain participates in node local time stamp and the mine node that digs receives the digging mine node local when broadcast message Temporal information;If the block chain participates in node local time stamp and the digging mine node receives broadcast message when institute The time difference for stating the temporal information for digging mine node local is less than or equal to preset time difference threshold value, then digging mine nodal test institute State identification card number whether in the block chain network real name registered;If the identification card number is not in the block chain network Middle real name registered, then whether random number and the cryptographic Hash described in the digging mine nodal test are correct;If the random number Correct with the cryptographic Hash, then the mine node that digs determines that the real-name authentication for participating in node to the block chain passes through.
Method described in the present embodiment is consistent with the principle of method described in above-described embodiment, and details are not described herein again.
The embodiment of the present invention participates in the difficulty value for user's system of real name registration that node obtains in wound generation block by block chain, According to the difficulty value, random number is determined, so that the cryptographic Hash of the registration message including the random number is less than the difficulty value, The cryptographic Hash that the registration message, the block chain participate in node local time stamp and the registration message is broadcast to block chain In network, so that the digging mine node in the block chain network participates in node local according to the registration message, the block chain The cryptographic Hash of timestamp and the registration message participates in node to the block chain and carries out real-name authentication, when intermediate malicious node is looked forward to When figure assumes another's name to register, which needs to modify the public key in the registration message, otherwise can not to the information of intercepting and capturing into Row decryption, since intermediate malicious node needs to modify the public key in the registration message, so that the cryptographic Hash of registration message is no longer small In difficulty value, at this point, intermediate malicious node needs to recalculate a new random number, so that the cryptographic Hash of the registration message Again less than difficulty value, still, during intermediate malicious node needs to recalculate random number, normal users may be Real name registration is completed, the attack so as to avoid intermediate malicious node to block chain network improves the peace of block chain network Quan Xing.
Fig. 5 is the structural schematic diagram of block chain real-name authentication device provided in an embodiment of the present invention.The block chain real name is recognized Card device specifically can be the block chain in above-described embodiment and participate in node.Block chain real-name authentication provided in an embodiment of the present invention Device can execute the process flow of block chain real name identification method embodiment offer, as shown in figure 5, block chain real-name authentication fills Setting 50 includes:Obtain module 51, determining module 52 and sending module 53;Wherein, module 51 is obtained for obtaining in wound generation block User's system of real name registration difficulty value;Determining module 52 is used to determine random number according to the difficulty value, so as to include described The cryptographic Hash of the registration message of random number is less than the difficulty value;Sending module 53 is used for the registration message, the block Chain participates in node local time stamp and the cryptographic Hash of the registration message is broadcast in block chain network, so that the block link network Digging mine node in network participates in the Kazakhstan of node local time stamp and the registration message according to the registration message, the block chain Uncommon value participates in node to the block chain and carries out real-name authentication.
Optionally, the registration message further includes:The video information of user, name, identification card number, identity card head portrait letter Breath, public key, user name.
The block chain real-name authentication device of embodiment illustrated in fig. 5 can be used for executing the technical solution of above method embodiment, That the realization principle and technical effect are similar is similar for it, and details are not described herein again.
Fig. 6 is the structural schematic diagram of block chain real-name authentication device provided in an embodiment of the present invention.The block chain real name is recognized Card device specifically can be the digging mine node in above-described embodiment.Block chain real-name authentication device provided in an embodiment of the present invention can To execute the process flow of block chain real name identification method embodiment offer, as shown in fig. 6, block chain real-name authentication device 60 wraps It includes:Receiving module 61 and authentication module 62;Wherein, receiving module 61 participates in node in the block link network for receiving block chain Broadcast message in network, the broadcast message include registration message, block chain participation node local time stamp and the note The cryptographic Hash of volume message, the registration message includes random number, and the cryptographic Hash of the registration message is less than the use in wound generation block The difficulty value of family system of real name registration;When authentication module 62 is used to participate in node local according to the registration message, the block chain Between stamp and the registration message cryptographic Hash to the block chain participate in node carry out real-name authentication.
Optionally, the registration message further includes:The video information of user, name, identification card number, identity card head portrait letter Breath, public key, user name.
Optionally, authentication module 62 includes:Comparing unit 621, detection unit 622, determination unit 623;Comparing unit 621 Digging when node local time stamp and the digging mine node receive the broadcast message is participated in for the block chain The temporal information of mine node local;Detection unit 622 is used for:When the block chain participates in node local time stamp and the digging mine The time difference that node receives the temporal information for digging mine node local when the broadcast message is less than or equal to preset time When poor threshold value, detect the identification card number whether in the block chain network real name registered;Detection unit 622 is also used to: When real name registered the identification card number not in the block chain network, whether the random number and the cryptographic Hash are detected Correctly;Determination unit 623 is used for:When the random number and the correct cryptographic Hash, determines and node is participated in the block chain Real-name authentication pass through.
The block chain real-name authentication device of embodiment illustrated in fig. 6 can be used for executing the technical solution of above method embodiment, That the realization principle and technical effect are similar is similar for it, and details are not described herein again.
Fig. 7 is the structural schematic diagram of block chain node provided in an embodiment of the present invention.Block provided in an embodiment of the present invention Chain node can execute the process flow of block chain real name identification method embodiment offer, as shown in fig. 7, block chain node 70 wraps Include memory 71, processor 72, computer program and communication interface 73;Wherein, computer program is stored in memory 71, and It is configured as executing block chain real name identification method described in above embodiments as processor 72.
The block chain node of embodiment illustrated in fig. 7 can be used for executing the technical solution of above method embodiment, realize former Reason is similar with technical effect, and details are not described herein again.
In addition, the present embodiment also provides a kind of computer readable storage medium, it is stored thereon with computer program, the meter Calculation machine program is executed by processor to realize block chain real name identification method described in above-described embodiment.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention The part steps of embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read- Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Present invention has been described in detail with reference to the aforementioned embodiments for pipe, those skilled in the art should understand that:Its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (12)

1. a kind of block chain real name identification method, which is characterized in that including:
Block chain participates in the difficulty value for user's system of real name registration that node obtains in wound generation block;
The block chain participates in node according to the difficulty value, determines random number, so as to include the registration message of the random number Cryptographic Hash be less than the difficulty value;
The block chain participates in node and the registration message, block chain participation node local time stamp and the registration disappears The cryptographic Hash of breath is broadcast in block chain network so that the digging mine node in the block chain network according to the registration message, It is real that the cryptographic Hash that the block chain participates in node local time stamp and the registration message participates in node progress to the block chain Name certification.
2. the method according to claim 1, wherein the registration message further includes:The video information of user, surname Name, identification card number, identity card head image information, public key, user name.
3. a kind of block chain real name identification method, which is characterized in that including:
Digging mine node in block chain network receives block chain and participates in broadcast message of the node in the block chain network, described Broadcast message includes the cryptographic Hash of registration message, the block chain participation node local time stamp and the registration message, described Registration message includes random number, and the cryptographic Hash of the registration message is less than the difficulty of user's system of real name registration in wound generation block Value;
The mine node that digs is according to the registration message, block chain participation node local time stamp and the registration message Cryptographic Hash participates in node to the block chain and carries out real-name authentication.
4. according to the method described in claim 3, it is characterized in that, the registration message further includes:The video information of user, surname Name, identification card number, identity card head image information, public key, user name.
5. according to the method described in claim 4, it is characterized in that, the digging mine node is according to the registration message, the area Block chain participates in node local time stamp and the cryptographic Hash of the registration message participates in node progress real-name authentication to the block chain, Including:
The digging mine node block chain participates in node local time stamp and the digging mine node receives the broadcast The temporal information for digging mine node local when message;
If the block chain participates in node local time stamp and the digging mine node receives the digging when broadcast message The time difference of the temporal information of mine node local is less than or equal to preset time difference threshold value, then body described in the digging mine nodal test Part card number whether in the block chain network real name registered;
If the identification card number is not in the block chain network, real name was registered, random described in the digging mine nodal test Whether the several and cryptographic Hash is correct;
If the random number and the cryptographic Hash are correct, the mine node that digs determines the reality that node is participated in the block chain Name certification passes through.
6. a kind of block chain real-name authentication device, which is characterized in that including:
Module is obtained, for obtaining the difficulty value of user's system of real name registration in wound generation block;
Determining module, for determining random number according to the difficulty value, so as to include the Hash of the registration message of the random number Value is less than the difficulty value;
Sending module, for the registration message, the block chain to be participated in node local time stamp and the registration message Cryptographic Hash is broadcast in block chain network, so that the digging mine node in the block chain network is according to the registration message, described Block chain participates in node local time stamp and the cryptographic Hash of the registration message recognizes block chain participation node progress real name Card.
7. block chain real-name authentication device according to claim 6, which is characterized in that the registration message further includes:With The video information at family, name, identification card number, identity card head image information, public key, user name.
8. a kind of block chain real-name authentication device, which is characterized in that including:
Receiving module participates in broadcast message of the node in the block chain network, the broadcast message for receiving block chain The cryptographic Hash of node local time stamp and the registration message, the registration message are participated in including registration message, the block chain Including random number, the cryptographic Hash of the registration message is less than the difficulty value of user's system of real name registration in wound generation block;
Authentication module, for participating in node local time stamp and the registration message according to the registration message, the block chain Cryptographic Hash to the block chain participate in node carry out real-name authentication.
9. block chain real-name authentication device according to claim 8, which is characterized in that the registration message further includes:With The video information at family, name, identification card number, identity card head image information, public key, user name.
10. block chain real-name authentication device according to claim 9, which is characterized in that the authentication module includes:Compare Unit, detection unit, determination unit;
The comparing unit receives described for block chain participation node local time stamp and the receiving module The temporal information of block chain real-name authentication device local when broadcast message;
The detection unit is used for:When the block chain participate in node local time stamp and the receiving module receive it is described wide The time difference for broadcasting the temporal information of block chain real-name authentication device local when message is less than or equal to preset time difference threshold value When, detect the identification card number whether in the block chain network real name registered;
The detection unit is also used to:When real name registered the identification card number not in the block chain network, institute is detected It states random number and whether the cryptographic Hash is correct;
The determination unit is used for:When the random number and the correct cryptographic Hash, determines and node is participated in the block chain Real-name authentication pass through.
11. a kind of block chain node, which is characterized in that including:
Memory;
Processor;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor to realize such as The described in any item methods of claim 1-5.
12. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program It is executed by processor to realize the method according to claim 1 to 5.
CN201810821389.4A 2018-07-24 2018-07-24 Block chain real-name authentication method, device, equipment and storage medium Active CN108881296B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810821389.4A CN108881296B (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
CN201810821389.4A CN108881296B (en) 2018-07-24 2018-07-24 Block chain real-name authentication method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108881296A true CN108881296A (en) 2018-11-23
CN108881296B CN108881296B (en) 2021-11-30

Family

ID=64304953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810821389.4A Active CN108881296B (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) CN108881296B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109450659A (en) * 2018-12-25 2019-03-08 杭州复杂美科技有限公司 Block delayed broadcast method, equipment and storage medium
CN109670956A (en) * 2018-12-21 2019-04-23 成都四方伟业软件股份有限公司 Block chain method of commerce and device
CN109743321A (en) * 2019-01-04 2019-05-10 中国联合网络通信集团有限公司 Block chain, application program, the user authen method of application program and system
CN111132167A (en) * 2019-12-30 2020-05-08 全链通有限公司 Method for 5G user terminal to access 5G network, user terminal equipment and medium
CN111148094A (en) * 2019-12-30 2020-05-12 全链通有限公司 Registration method of 5G user terminal, user terminal equipment and medium
CN112241514A (en) * 2019-07-19 2021-01-19 傲为信息技术(江苏)有限公司 Digital asset authentication processing platform and method
CN113822902A (en) * 2021-09-24 2021-12-21 泰州市雷信农机电制造有限公司 Block chain vehicle body state monitoring system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375317A (en) * 2016-08-31 2017-02-01 北京明朝万达科技股份有限公司 Block chain-based big data security authentication method and system
CN106529946A (en) * 2016-11-01 2017-03-22 北京金股链科技有限公司 Method for realizing user identity digitalization based on block chain
CN106789911A (en) * 2016-11-15 2017-05-31 深圳银链科技有限公司 A kind of network identity validation method and system based on block chain
CN107171794A (en) * 2017-06-27 2017-09-15 葛峰 A kind of electronic document based on block chain and intelligent contract signs method
CN107196966A (en) * 2017-07-05 2017-09-22 北京信任度科技有限公司 The identity identifying method and system of multi-party trust based on block chain
US20170346639A1 (en) * 2016-05-24 2017-11-30 Business Information Exchange System Corp. Public Key Infrastructure based on the Public Certificates Ledger
CN107423333A (en) * 2017-04-21 2017-12-01 博大莱哲科技(北京)有限公司 A kind of real name identification method and device
CN107547514A (en) * 2017-07-17 2018-01-05 招商银行股份有限公司 Identity identifying method, system and computer-readable recording medium
CN108900507A (en) * 2018-06-29 2018-11-27 全链通有限公司 Block chain real name identification method and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170346639A1 (en) * 2016-05-24 2017-11-30 Business Information Exchange System Corp. Public Key Infrastructure based on the Public Certificates Ledger
CN106375317A (en) * 2016-08-31 2017-02-01 北京明朝万达科技股份有限公司 Block chain-based big data security authentication method and system
CN106529946A (en) * 2016-11-01 2017-03-22 北京金股链科技有限公司 Method for realizing user identity digitalization based on block chain
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
CN107171794A (en) * 2017-06-27 2017-09-15 葛峰 A kind of electronic document based on block chain and intelligent contract signs method
CN107196966A (en) * 2017-07-05 2017-09-22 北京信任度科技有限公司 The identity identifying method and system of multi-party trust based on block chain
CN107547514A (en) * 2017-07-17 2018-01-05 招商银行股份有限公司 Identity identifying method, system and computer-readable recording medium
CN108900507A (en) * 2018-06-29 2018-11-27 全链通有限公司 Block chain real name identification method and system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109670956A (en) * 2018-12-21 2019-04-23 成都四方伟业软件股份有限公司 Block chain method of commerce and device
CN109450659A (en) * 2018-12-25 2019-03-08 杭州复杂美科技有限公司 Block delayed broadcast method, equipment and storage medium
WO2020135436A1 (en) * 2018-12-25 2020-07-02 杭州复杂美科技有限公司 Block delayed broadcasting method, device and storage medium
CN109743321A (en) * 2019-01-04 2019-05-10 中国联合网络通信集团有限公司 Block chain, application program, the user authen method of application program and system
CN109743321B (en) * 2019-01-04 2022-02-11 中国联合网络通信集团有限公司 Block chain, application program, and user authentication method and system of application program
CN112241514A (en) * 2019-07-19 2021-01-19 傲为信息技术(江苏)有限公司 Digital asset authentication processing platform and method
CN111132167A (en) * 2019-12-30 2020-05-08 全链通有限公司 Method for 5G user terminal to access 5G network, user terminal equipment and medium
CN111148094A (en) * 2019-12-30 2020-05-12 全链通有限公司 Registration method of 5G user terminal, user terminal equipment and medium
CN111148094B (en) * 2019-12-30 2023-11-21 全链通有限公司 Registration method of 5G user terminal, user terminal equipment and medium
CN113822902A (en) * 2021-09-24 2021-12-21 泰州市雷信农机电制造有限公司 Block chain vehicle body state monitoring system

Also Published As

Publication number Publication date
CN108881296B (en) 2021-11-30

Similar Documents

Publication Publication Date Title
CN108881296A (en) Block chain real name identification method, device, equipment and storage medium
CN108900528A (en) Block chain real name identification method, device, equipment and storage medium
CN108810119A (en) block chain processing method, device and block chain node
CN107147501B (en) Timestamp processing method and processing device
CN109067724B (en) Block chain data transaction method, device, equipment and storage medium
CN108989048A (en) Cryptographic key distribution method, device, equipment and storage medium
CN109194481A (en) Block chain real name identification method, device, equipment and storage medium
CN109087100A (en) Cryptographic key distribution method, device, equipment and storage medium
CN108989043B (en) Block processing method and device and block link points
CN108566275A (en) Identity identifying method, device and block chain node
CN109067721A (en) Block chain real name identification method, device, equipment and storage medium
CN108616532A (en) Ballot processing method, apparatus and terminal device
CN108769142A (en) Exchange information processing method and block generate node
CN109118360A (en) Block chain account checking method, device, equipment and storage medium
CN109104285A (en) Block chain real name identification method, device, equipment and storage medium
CN108683727B (en) Block processing method and main node
CN109672979A (en) Double card communication means and equipment
CN111556506B (en) Abnormal link processing method and equipment
CN108985765A (en) Enterprise user information processing method, equipment and storage medium
CN109379199A (en) User credit processing method, device, equipment and storage medium
CN109087096B (en) Block chain account checking method, device, equipment and storage medium
CN109102272A (en) Digital literary property protection method, device, equipment and storage medium
CN108876611A (en) Exchange information processing method, device and block chain node
CN108768961A (en) storage processing method and home gateway
CN108769144A (en) Storage processing method, transaction node, memory node and communication equipment

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