CN108769010A - The method and apparatus that node is invited to registration - Google Patents

The method and apparatus that node is invited to registration Download PDF

Info

Publication number
CN108769010A
CN108769010A CN201810530980.4A CN201810530980A CN108769010A CN 108769010 A CN108769010 A CN 108769010A CN 201810530980 A CN201810530980 A CN 201810530980A CN 108769010 A CN108769010 A CN 108769010A
Authority
CN
China
Prior art keywords
node
registration
trusted
network address
registered
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
CN201810530980.4A
Other languages
Chinese (zh)
Other versions
CN108769010B (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 CN201810530980.4A priority Critical patent/CN108769010B/en
Publication of CN108769010A publication Critical patent/CN108769010A/en
Application granted granted Critical
Publication of CN108769010B publication Critical patent/CN108769010B/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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • 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/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • 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/0863Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords
    • 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/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses

Abstract

The present invention provides a kind of method and apparatus that node is invited to registration, and this method includes:Trusted node sends registration message request to first node, and receives the registration parameter of first node transmission;Trusted node is the registered nodes in block chain network, and first node is node to be registered;Trusted node generates the corresponding network address of first node according to registration parameter;Trusted node sends the registration request of first node to host node, and registration request is used to indicate host node and is verified to trusted node, and will be in the corresponding network address write-in block chain network of first node.The present invention treats register node by registered nodes and carries out pre-registration, assists host node to complete the registration process of node, alleviates the portfolio of host node, improve the registration speed of node.

Description

The method and apparatus that node is invited to registration
Technical field
The present invention relates to the method and apparatus that field of communication technology more particularly to a kind of node are invited to registration.
Background technology
Block chain technology is a kind of a kind of chain for being sequentially in time combined into data block in such a way that sequence is connected Formula data structure, and the distributed account book that can not be distorted He can not forge ensured in a manner of cryptography.It is every in block chain network A register node is all stored with a pair of of public key and private key, and private key is stored by node itself, and public key passes through specific Hash and coding Become address afterwards, is disclosed by the whole network.
With the development of block chain technology, when numerous Node registries is to block chain network, need to send out to block chain network Go out application, is that each first node generates a pair of of transaction secret key by block chain host node or control centre, utilizes public key generation area Block chain address, is written to block chain network, that is, represents Node registry success.And if there is many nodes are into host node or control The heart sends out registration request, and host node or control centre cannot timely respond to, Node registry it is waiting for a long time, meanwhile, largely Node registry data can also increase the traffic pressure of host node or control centre's server.
Invention content
The present invention provides a kind of method and apparatus that node is invited to registration, is carried out to first node by registered nodes pre- Registration assists host node to complete the registration request of first node, alleviates the portfolio of host node, improves the registration speed of node Degree.
The first aspect of the present invention provides a kind of method that node is invited to registration, including:
Trusted node sends registration message request to first node, and receives the registration parameter that the first node is sent; The trusted node is the registered nodes in block chain network, and the first node is node to be registered;
The trusted node generates the corresponding network address of the first node according to the registration parameter;
The trusted node sends the registration request of the first node to host node, and the registration request is used to indicate institute It states host node to verify the trusted node, and the block link network is written into the corresponding network address of the first node In network.
Optionally, the trusted node generates the corresponding network address of the first node, packet according to the registration parameter It includes:
The trusted node generates the corresponding registration secret key of the first node according to the registration parameter;
The registration secret key includes registered public keys, and the trusted node generates the first node according to registered public keys and corresponds to Network address.
Optionally, after the trusted node generates the corresponding network address of the first node according to registered public keys, also Including:
The trusted node signs to the corresponding network address of the first node by credible private key.
Optionally, the registration secret key further includes registration private key;
After the trusted node generates the corresponding network address of the first node according to registered public keys, further include:
The trusted node sends the registration private key, the network address, the common recognition mechanism of the block chain network To the first node, so that the first node stores the registration private key and the network address, and the block is synchronized The common recognition mechanism of chain network.
Optionally, before the trusted node sends out registration message request to first node, further include:
Trusted node receives the network connection information that the first node is sent, and the network connection information is used to indicate institute It is node to be registered to state first node.
Optionally, before the trusted node sends out registration message request to first node, further include:
The authorization message that the host node is sent is received, it is to meet in advance that the authorization message, which is used to indicate the trusted node, If the second node in the block chain network of condition.
Optionally, the registration request includes the proof of identification message of the trusted node, the proof of identification message For the ciphertext of password cryptographic Hash and/or the trusted public keys of the trusted node.
The second aspect of the present invention provides the device that a kind of node is invited to registration, including:
Message request sending module is registered, for sending registration message request to first node, and receives the first segment The registration parameter that point is sent, the first node are node to be registered;
Network address generation module, for generating the corresponding network address of the first node according to the registration parameter;
Registration request sending module, the registration request for sending the first node to host node, the registration request It is used to indicate the host node to verify trusted node, and block chain is written into the corresponding network address of the first node In network, the trusted node is the registered nodes in the block chain network.
The third aspect of the present invention provides the device that a kind of node is invited to registration, including:At least one processor and storage Device;
The memory stores computer executed instructions;
At least one processor executes the computer executed instructions of the memory storage so that the node is invited to The device of registration executes the method that above-mentioned node is invited to registration.
The fourth aspect of the present invention provides a kind of computer readable storage medium, is deposited on the computer readable storage medium Computer executed instructions are contained, when the computer executed instructions are executed by processor, realize that above-mentioned node is invited to registration Method.
The present invention provides a kind of method and apparatus that node is invited to registration, and this method includes:Trusted node is to first node Registration message request is sent, and receives the registration parameter of first node transmission;Trusted node is registered in block chain network Node, first node are node to be registered;Trusted node generates the corresponding network address of first node according to registration parameter;It is credible Node sends the registration request of first node to host node, and registration request is used to indicate host node and is verified to trusted node, And it will be in the corresponding network address write-in block chain network of first node.The present invention by registered nodes treat register node into Row pre-registration assists host node to complete the registration process of node, alleviates the portfolio of host node, improves the registration speed of node Degree.
Description of the drawings
Fig. 1 is the configuration diagram that node provided by the invention is invited to registration;
Fig. 2 is the signaling process schematic diagram one for the method that node provided by the invention is invited to registration;
Fig. 3 is the signaling process schematic diagram two for the method that node provided by the invention is invited to registration;
Fig. 4 is the structural schematic diagram one for the device that node provided by the invention is invited to registration;
Fig. 5 is the structural schematic diagram two for the device that node provided by the invention is invited to registration;
Fig. 6 is the structural schematic diagram three for the device that node provided by the invention is invited to registration.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with the embodiment of the present invention, to this Technical solution in inventive embodiments is clearly and completely described, it is clear that described embodiment is that a part of the invention is real Example is applied, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creation Property labour under the premise of the every other embodiment that is obtained, shall fall within the protection scope of the present invention.
Technical term paraphrase:
Network address:Each node in block chain is stored with a pair of of secret key, including public key and private key, public key are specific Become network address after Hash and coding, and can be issued to block chain network;But private key is stored by node itself without being published to Block chain network.
Network address is written in block chain:Host node is by block chain network broadcasting network address, realizing to block chain Data are written.Network address is distributed to block chain network, and by other block chain node verifications by with after receiving, network Location is written into block chain.
Block chain is the decentralization distributed data base system for being participated in safeguarding jointly by all nodes in block chain network, It is the data chunk that is generated based on cryptography method by series at each data block is a block in block chain.Root According to the sequencing of generation time, block is linked together in an orderly manner, forms a data chain, is visually known as block Chain.In broad terms, block chain technology is to verify and store data using block linked data structure, known together using distributed node Algorithm come generate and update the data, ensure data transmission and access in the way of cryptography safety, using by automation foot The intelligent contract of this code composition programs a kind of completely new distributed basis framework and calculation paradigm with operation data.User To the inquiry of block chain data, storage, acquisition and write-in, each process is a track, and can not be eliminated.Block chain It is generated by its special block and transaction, indentification protocol, having can not change, and can not forge, complete retrospective security feature.
Fig. 1 is the configuration diagram that node provided by the invention is invited to registration, and node provided by the invention is invited to registration Method is applied to node and is invited in the system of registration, as shown in Figure 1, the system that the node is invited to registration includes:It is multiple registered Node, host node and node to be registered, wherein multiple registered nodes may include trusted node and registered untrusted section Other nodes of point, trusted node can be the part of nodes in multiple registered nodes, or whole registered nodes.It is main Node is the control centre in block chain network, in the prior art, treats register node by host node and is confirmed and registered.This The method that the node that invention provides is invited to registration is assisted host node to complete the registration process of node to be registered, is subtracted by trusted node The light portfolio of host node, improves the registration speed of node.
Fig. 2 is the signaling process schematic diagram one for the method that node provided by the invention is invited to registration, as shown in Fig. 2, this reality The method that the node for applying example offer is invited to registration is related to the interaction between trusted node, node to be registered and host node, this implementation Example provide node be invited to registration method include:
S101, trusted node send registration message request to first node.
Trusted node is the registered nodes in block chain network, which can be the section registered by host node Point can also be by the node of other trusted nodes registration in block chain network, registration side of the present embodiment to trusted node Formula is not limited.
First node is node to be registered, and trusted node sends registration message request to first node, and trusted node is actively Registration message request is sent to first node, a large amount of node to be registered is avoided and sends registration request to host node, reduce The registration portfolio of host node processing.
Optionally, which is used to indicate the detailed process of first node registration, such as can be specifically to make the One node is downloaded an application APP and is registered, and the present embodiment is not particularly limited for registering the content of message request, As long as first node is enable to be smoothed out registration.
S102, first node send registration parameter to trusted node.
After receiving the registration message request of trusted node, first node sends registration parameter to trusted node, specifically , registration parameter includes:The corresponding device type of first node, device identification and configuration parameter, the configuration parameter specifically may be used To be the preparation before first node is registered, an APP is such as downloaded;The registration parameter can also include first node Registration type, registration type can be determined according to the operational capability and storage capacity of equipment of itself by first node, Registration type can packet full dose node and light weight node, specifically, when the arithmetic speed of the corresponding equipment of first node be more than it is pre- If arithmetic speed, and storage capacity be more than default storage amount when, determine first node registration type be full dose node;Work as first segment When the arithmetic speed of the corresponding equipment of point is less than default arithmetic speed and/or storage capacity less than default storage amount, first segment is determined The registration type of point is light weight node.
In addition, can not also include the registration type of first node in registration parameter, the registration type of first node can be by Trusted node is determined and is sent to host node according to the operational capability and storage capacity of the corresponding equipment of first node, or by Host node is determined according to the operational capability and storage capacity of the corresponding equipment of first node.
S103, trusted node generate the corresponding network address of first node according to registration parameter.
Specifically, trusted node can generate network according to registration parameter according to preset Hash and coding method Address, the network address can be broadcasted to all nodes in block chain network so that can be communicated between each node.
S104, trusted node send the registration request of first node to host node.
The registration request of first node is sent to host node by trusted node, specifically, may include in the registration request The device identification of trusted node and network address, device identification, network address and the public key of first node, optionally, the registration It can also include the registration type of first node in request.The registration request is used to indicate trusted node and has been completed first segment The pre-registration procedure of point.
S105, host node verify trusted node, and block link network is written in the corresponding network address of first node In network.
Wherein, device identification list and/or the network address list of trusted node, host node pair can be stored in host node The verification of trusted node can be specifically that whether there is trusted node pair in query facility identification list and/or network address list The device identification answered and/or network address.When trusted node is after being verified, host node is by the first node in registration request Device identification and network address broadcast into block chain network.
With reference to above-mentioned introduction network address being written in block chain network, host node is a section in block chain network Point, after device identification and the network address that it broadcasts first node into block chain network, by the block chain network All nodes the device identification of the first node and network address are confirmed, after the completion of confirmation, in the block chain Network is written when generating block in new block.
It is envisioned that node provided in this embodiment be invited to registration method, not with main section in the prior art Point is that the method that node to be registered is registered is disagreed, and the same of the method registered is invited to executing node provided in this embodiment When, the host node in block chain network can also complete the registration of node to be registered.
Node provided in this embodiment be invited to registration method include:Trusted node sends registration invitation letter to first node Breath, and receive the registration parameter of first node transmission;Trusted node is the registered nodes in block chain network, and first node is Node to be registered;Trusted node generates the corresponding network address of first node according to registration parameter;Trusted node is sent out to host node The registration request of first node, registration request is sent to be used to indicate host node and verified to trusted node, and by first node pair In the network address write-in block chain network answered.The present invention treats register node by registered nodes and carries out pre-registration, assists Host node completes the registration process of node, alleviates the portfolio of host node, improves the registration speed of node.
It is further elaborated with reference to Fig. 3 methods for being invited to registration to node provided by the invention, Fig. 3 is this Invention provide node be invited to registration method signaling process schematic diagram two, as shown in figure 3, node provided in this embodiment by The method for inviting registration includes:
S201, host node send authorization message to trusted node.
Host node carries out verification mandate to the registered nodes in block chain network, and to being sent out by the trusted node of verification Authorization message is sent, it is the second node met in the block chain network of preset condition which, which is used to indicate trusted node,.
Wherein, host node is specifically as follows the verification licensing process of registered nodes:Inquire the online of registered nodes The error rate of time and/or registered nodes, the comprehensive confidence level for determining registered nodes, the present embodiment is to registered nodes The determination parameter of confidence level is not limited.
Can be more than default confidence level, to meeting preset condition when the confidence level of registered nodes meets preset condition Registered nodes send authorization message, specifically, the trusted node can be registered nodes in part of nodes, can also For whole registered nodes.It is envisioned that when the quantity of the trusted node in block chain network is more, host node is registered Sharing for portfolio is also bigger, and the speed of Node registry also improves.
S202, first node send network connection information to trusted node.
In the present embodiment, first node can be used existing internetwork connection mode and be attached, specifically, network connection is believed It is node to be registered that breath, which is used to indicate first node, that is, represents first node and want to be added in the block chain network, which connects It connects information and is additionally operable to instruction trusted node to first node transmission registration message request.
S203, trusted node send registration message request to first node.
S204, first node send registration parameter to trusted node.
S205, trusted node generate the corresponding registration secret key of first node, and give birth to according to registered public keys according to registration parameter At the corresponding network address of first node.
Trusted node can be that first node generates registration secret key, specifically, the mode that trusted node generates registration secret key can It is that the node to be registered generation mode of secret key is identical with host node in the prior art, this will not be repeated here.
Trusted node generates the registration secret key of first node according to registration parameter;All nodes in block chain network are equal With the secret key of itself, including public key and private key, public key is to broadcast in block chain network, and the section is identified for other nodes The mark of point, and private key is stored in own node, the secret key not being published in block chain network.
Specifically, the registration secret key of first node also includes registered public keys and registration private key;Trusted node is public according to registration Key generates the corresponding network address of first node, specifically, trusted node after pre-set Hash and coding by becoming net Network address.
S206, trusted node sign to the corresponding network address of first node by credible private key.
In the present embodiment, due to trusted node generate the corresponding network address of first node, be finally from host node to What all nodes in block chain were broadcasted, therefore, which needs the node for generating the network address to be signed Name.
Specific trusted node signs to the corresponding network address of first node by the private key of itself, so that The network address is not tampered during transmission, ensure that the safety of network address.
Optionally, after final host node broadcasts the network address to block chain network, trusted node can be according to can with this The corresponding trusted public keys of letter private key verify the network address, confirm whether the corresponding network address of first node is being transmitted During be tampered.
S207, trusted node are sent to first node by private key, network address, the common recognition mechanism of block chain network is registered.
Network address after signature is sent to first node by trusted node, meanwhile, it also will be according to registration parameter generation The common recognition mechanism of registration private key and block chain is sent to first node.
Specifically, in the struc-ture of a centralization, the common recognition of system is determined by this center, participating parties Only need to obey command can, it is very high that common recognition, which establishes efficiency, inside the system of centralization.And in decentralization In block chain network, since the status of each node is all equality, block chain network in order to enable transaction therein or Other business can be smoothed out, and specifically formulate the common recognition mechanism of the block chain network, the present embodiment is in block chain network Used common recognition mechanism is not limited.
S208, first node storage registration private key and network address, and the common recognition mechanism of synchronous block chain network.
First node will register private key and network address stores, and after first node succeeds in registration, will be total to using this Knowledge mechanism is traded with other nodes in block chain network.
S209, trusted node send the registration request of first node to host node.
S210, host node verify trusted node, and block link network is written in the corresponding network address of first node In network.
Registration request provided in this embodiment includes the proof of identification message of trusted node, and host node is specifically to credible section Point proof of identification message verified, wherein proof of identification message be password cryptographic Hash ciphertext and/or trusted node can Believe public key.
A kind of mode that host node verifies trusted node is:Proof of identification message can be the close of password cryptographic Hash Text;In specific verification, the identity can be obtained by the plaintext of the public key encryption password cryptographic Hash of the corresponding equipment of host node It proves message, can also be obtained using the plaintext of symmetric encipherment algorithm encrypted ones cryptographic Hash by a preset-key, wherein Preset-key can be by individually storage and the use of the corresponding equipment of host node.
Specifically, user identity message may include device identification and the password cryptographic Hash of trusted node, host node is connecing After receiving user identity message, the password cryptographic Hash ciphertext being stored on block chain is found by device identification, further, is led to Private key or the preset-key for crossing itself are decrypted proof of identification message to obtain the plaintext of password cryptographic Hash, if decryption obtains Password cryptographic Hash plaintext identity message corresponding with device identification in password cryptographic Hash it is consistent, then show trusted node Authentication passes through, if inconsistent, shows that the authentication of trusted node does not pass through.
Another mode that host node verifies trusted node is:Proof of identification message can be client public key;? When specific verification, host node can record the corresponding list of public keys of trusted node, inquiry after sending authorization message to trusted node In list of public keys whether include trusted node public key, and if it exists, then show that the authentication of trusted node passes through, if not depositing Then showing that the authentication of trusted node does not pass through.
Above-mentioned verification mode is merely illustrative, and in the specific implementation, other modes can also be used to trusted node Identity is verified, and the present invention does not limit this.
Wherein, S203, S204 and S209 specifically can refer to S101, S102 and S104 in above-described embodiment, not do herein It repeats.
The method that node provided in this embodiment is invited to registration, trusted node generate first node pair according to registration parameter The registration secret key answered, the registration secret key include registered public keys and registration private key, and trusted node generates first segment according to registered public keys The corresponding network address of point, and signed to network address using the credible private key of itself, improve the network of first node The safety of address during transmission;And the common recognition mechanism of block chain network is sent to first node by trusted node, is made The common recognition mechanism that first node synchronizes block chain network is obtained, so that the various businesses in block chain are smoothed out;In addition, main section Point verifies trusted node, and after being verified, the corresponding network address of first node is written in block chain network, into One step ensure that the safety of the network address of first node.
Fig. 4 be node provided by the invention be invited to registration device structural schematic diagram one, as shown in figure 4, the node by The device 300 of registration is invited to include:Message request sending module 301, network address generation module 302, registration request is registered to send Module 303.
Message request sending module 301 is registered, for sending registration message request to first node, and receives first node The registration parameter of transmission, first node are node to be registered.
Network address generation module 302, for generating the corresponding network address of first node according to registration parameter.
Registration request sending module 303, the registration request for sending first node to host node, registration request is for referring to Show that host node verifies trusted node, and the corresponding network address of first node is written in block chain network, credible section Point is the registered nodes in block chain network.
Node provided in this embodiment be invited to the principle that the method that device and the above-mentioned node of registration are invited to registration is realized and Technique effect is similar, and therefore not to repeat here.
Optionally, Fig. 5 is the structural schematic diagram two for the device that node provided by the invention is invited to registration, as shown in figure 5, this Inventing the device 300 that the node provided is invited to register can also include:Signature blocks 304, network connection information receiving module 305, authorization message receiving module 306.
Signature blocks 304, for being signed to the corresponding network address of first node by credible private key.
Network connection information receiving module 305, the network connection information for receiving first node transmission, network connection letter It is node to be registered that breath, which is used to indicate first node,.
Authorization message receiving module 306, the authorization message for receiving host node transmission, authorization message is used to indicate credible Node is the second node met in the block chain network of preset condition.
Optionally, network address generation module 302 is specifically used for, according to registration parameter, generating the corresponding note of first node Volume secret key;
It includes registered public keys to register secret key, and the corresponding network address of first node is generated according to registered public keys.
Optionally, registration secret key further includes registration private key.
Optionally, network address generation module 302 is total to specifically for that will register private key, network address, block chain network Knowledge mechanism is sent to first node, so that first node storage registration private key and network address, and synchronize being total to for block chain network Knowledge mechanism.
Optionally, registration request includes the proof of identification message of trusted node, and proof of identification message is password cryptographic Hash Ciphertext and/or trusted node trusted public keys.
Fig. 6 be node provided by the invention be invited to registration device structural schematic diagram three, as shown in fig. 6, the node by The device 400 of registration is invited to include:Memory 401 and at least one processor 402.
Memory 401, for storing program instruction.
Processor 402, the method that the node for being performed in realizing the present embodiment in program instruction is invited to registration, tool Body realization principle can be found in above-described embodiment, and details are not described herein again for the present embodiment.
The device 400 that the node is invited to registration can also include and input/output interface 403.
Input/output interface 403 may include independent output interface and input interface, or integrated input and defeated The integrated interface gone out.Wherein, output interface is used for output data, and input interface is used to obtain the data of input, above-mentioned output Data are the general designation exported in above method embodiment, and the data of input are the general designation inputted in above method embodiment.
It the present invention also provides a kind of readable storage medium storing program for executing, is stored with and executes instruction in readable storage medium storing program for executing, when node is invited to It is real when computer executed instructions are executed by processor when at least one processor of the device of registration executes this and executes instruction The method that node in existing above-described embodiment is invited to registration.
The present invention also provides a kind of program product, the program product include execute instruction, this execute instruction be stored in it is readable In storage medium.At least one processor that node is invited to the device of registration can read the execution from readable storage medium storing program for executing and refer to It enables, at least one processor executes this and executes instruction so that the device that node is invited to register is implemented above-mentioned various embodiments and carried The method that the node of confession is invited to registration.
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 division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component 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 the INDIRECT COUPLING or logical by some interfaces, device or unit Letter connection can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized 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 be stored in one and computer-readable deposit In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) or processor (English:Processor this hair) is executed The part steps of bright each embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (English:Read-Only Memory, referred to as:ROM), random access memory (English:Random Access Memory, letter Claim:RAM), the various media that can store program code such as magnetic disc or CD.
In the embodiment of the above-mentioned network equipment or terminal device, it should be appreciated that processor can be central processing unit (English:Central Processing Unit, referred to as:CPU), it can also be other general processors, digital signal processor (English:Digital Signal Processor, referred to as:DSP), application-specific integrated circuit (English:Application Specific Integrated Circuit, referred to as:ASIC) etc..General processor can be microprocessor or the processor It can also be any conventional processor etc..Hardware handles can be embodied directly in conjunction with the step of method disclosed in the present application Device executes completion, or in processor hardware and software module combination execute completion.
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, it will be understood by those of ordinary skill in the art that:Its according to So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of method that node is invited to registration, which is characterized in that including:
Trusted node sends registration message request to first node, and receives the registration parameter that the first node is sent;It is described Trusted node is the registered nodes in block chain network, and the first node is node to be registered;
The trusted node generates the corresponding network address of the first node according to the registration parameter;
The trusted node sends the registration request of the first node to host node, and the registration request is used to indicate the master Node verifies the trusted node, and the block chain network is written in the corresponding network address of the first node In.
2. according to the method described in claim 1, it is characterized in that, the trusted node is according to described in registration parameter generation The corresponding network address of first node, including:
The trusted node generates the corresponding registration secret key of the first node according to the registration parameter;
The registration secret key includes registered public keys, and the trusted node generates the corresponding net of the first node according to registered public keys Network address.
3. according to the method described in claim 2, it is characterized in that, the trusted node generates described first according to registered public keys After the corresponding network address of node, further include:
The trusted node signs to the corresponding network address of the first node by credible private key.
4. according to the method described in claim 3, it is characterized in that, the registration secret key further includes registration private key;
After the trusted node generates the corresponding network address of the first node according to registered public keys, further include:
The registration private key, the network address, the common recognition mechanism of the block chain network are sent to institute by the trusted node First node is stated, so that the first node stores the registration private key and the network address, and synchronizes the block link network The common recognition mechanism of network.
5. according to the method described in claim 1, it is characterized in that, the trusted node sends out registration invitation letter to first node Before breath, further include:
Trusted node receives the network connection information that the first node is sent, and the network connection information is used to indicate described the One node is node to be registered.
6. according to the method described in claim 1, it is characterized in that, the trusted node sends out registration invitation letter to first node Before breath, further include:
The authorization message that the host node is sent is received, it is to meet to preset item that the authorization message, which is used to indicate the trusted node, Second node in the block chain network of part.
7. according to the method described in claim 1, it is characterized in that, the registration request includes the identity of the trusted node Prove that message, the proof of identification message are the ciphertext of password cryptographic Hash and/or the trusted public keys of the trusted node.
8. a kind of node is invited to the device of registration, which is characterized in that including:
Message request sending module is registered, for sending registration message request to first node, and receives the first node hair The registration parameter sent, the first node are node to be registered;
Network address generation module, for generating the corresponding network address of the first node according to the registration parameter;
Registration request sending module, the registration request for sending the first node to host node, the registration request are used for It indicates that the host node verifies trusted node, and block chain network is written into the corresponding network address of the first node In, the trusted node is the registered nodes in the block chain network.
9. a kind of node is invited to the device of registration, which is characterized in that including:At least one processor and memory;
The memory stores computer executed instructions;
At least one processor executes the computer executed instructions of the memory storage so that the node is invited to register Device perform claim require 1-7 any one of them methods.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium It executes instruction, when the computer executed instructions are executed by processor, realizes claim 1-7 any one of them methods.
CN201810530980.4A 2018-05-29 2018-05-29 Method and device for node invited registration Active CN108769010B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810530980.4A CN108769010B (en) 2018-05-29 2018-05-29 Method and device for node invited registration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810530980.4A CN108769010B (en) 2018-05-29 2018-05-29 Method and device for node invited registration

Publications (2)

Publication Number Publication Date
CN108769010A true CN108769010A (en) 2018-11-06
CN108769010B CN108769010B (en) 2021-08-17

Family

ID=64003414

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810530980.4A Active CN108769010B (en) 2018-05-29 2018-05-29 Method and device for node invited registration

Country Status (1)

Country Link
CN (1) CN108769010B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784324A (en) * 2019-11-08 2020-02-11 腾讯科技(深圳)有限公司 Node admission method and device
CN110891267A (en) * 2019-11-20 2020-03-17 中国联合网络通信集团有限公司 Service processing method based on block chain and operator network node
CN111163182A (en) * 2020-03-20 2020-05-15 杭州海康威视数字技术股份有限公司 Block chain-based device registration method and apparatus, electronic device, and storage medium
CN111371801A (en) * 2020-03-13 2020-07-03 杭州复杂美科技有限公司 Block chain node scanning method, equipment and storage medium
CN111383021A (en) * 2020-05-29 2020-07-07 腾讯科技(深圳)有限公司 Node management method, device, equipment and medium based on block chain network
CN111680282A (en) * 2020-06-01 2020-09-18 腾讯科技(深圳)有限公司 Node management method, device, equipment and medium based on block chain network
CN112769817A (en) * 2021-01-05 2021-05-07 北京信息科技大学 Block chain network based on trusted network, construction method and construction system
CN115102993A (en) * 2022-07-15 2022-09-23 北京智芯微电子科技有限公司 Active access method, device and equipment for plug and play of terminal and readable medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105913174A (en) * 2016-04-07 2016-08-31 彭军红 Lottery issuing method based on block chains
CN106230852A (en) * 2016-08-29 2016-12-14 中国银联股份有限公司 Financial service application system based on ether mill block chain technology
CN106327173A (en) * 2016-08-22 2017-01-11 布比(北京)网络技术有限公司 Network payment method and network payment device
CN107079036A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Registration and authorization method, apparatus and system
CN107077674A (en) * 2016-12-29 2017-08-18 深圳前海达闼云端智能科技有限公司 Transaction verification processing method and device and node equipment
CN107180350A (en) * 2017-03-31 2017-09-19 唐晓领 A kind of method of the multi-party shared transaction metadata based on block chain, apparatus and system
CN107292735A (en) * 2017-05-27 2017-10-24 唐盛(北京)物联技术有限公司 A kind of mortgage finance method and system based on block chain technology
CN107547514A (en) * 2017-07-17 2018-01-05 招商银行股份有限公司 Identity identifying method, system and computer-readable recording medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105913174A (en) * 2016-04-07 2016-08-31 彭军红 Lottery issuing method based on block chains
CN106327173A (en) * 2016-08-22 2017-01-11 布比(北京)网络技术有限公司 Network payment method and network payment device
CN106230852A (en) * 2016-08-29 2016-12-14 中国银联股份有限公司 Financial service application system based on ether mill block chain technology
CN107079036A (en) * 2016-12-23 2017-08-18 深圳前海达闼云端智能科技有限公司 Registration and authorization method, apparatus and system
CN107077674A (en) * 2016-12-29 2017-08-18 深圳前海达闼云端智能科技有限公司 Transaction verification processing method and device and node equipment
CN107180350A (en) * 2017-03-31 2017-09-19 唐晓领 A kind of method of the multi-party shared transaction metadata based on block chain, apparatus and system
CN107292735A (en) * 2017-05-27 2017-10-24 唐盛(北京)物联技术有限公司 A kind of mortgage finance method and system based on block chain technology
CN107547514A (en) * 2017-07-17 2018-01-05 招商银行股份有限公司 Identity identifying method, system and computer-readable recording medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110784324B (en) * 2019-11-08 2021-10-01 腾讯科技(深圳)有限公司 Node admission method and device
CN110784324A (en) * 2019-11-08 2020-02-11 腾讯科技(深圳)有限公司 Node admission method and device
CN110891267A (en) * 2019-11-20 2020-03-17 中国联合网络通信集团有限公司 Service processing method based on block chain and operator network node
CN111371801B (en) * 2020-03-13 2022-05-24 杭州复杂美科技有限公司 Block chain node scanning method, equipment and storage medium
CN111371801A (en) * 2020-03-13 2020-07-03 杭州复杂美科技有限公司 Block chain node scanning method, equipment and storage medium
CN111163182A (en) * 2020-03-20 2020-05-15 杭州海康威视数字技术股份有限公司 Block chain-based device registration method and apparatus, electronic device, and storage medium
CN111383021A (en) * 2020-05-29 2020-07-07 腾讯科技(深圳)有限公司 Node management method, device, equipment and medium based on block chain network
CN111680282A (en) * 2020-06-01 2020-09-18 腾讯科技(深圳)有限公司 Node management method, device, equipment and medium based on block chain network
CN111680282B (en) * 2020-06-01 2021-08-24 腾讯科技(深圳)有限公司 Node management method, device, equipment and medium based on block chain network
CN112769817A (en) * 2021-01-05 2021-05-07 北京信息科技大学 Block chain network based on trusted network, construction method and construction system
CN112769817B (en) * 2021-01-05 2023-06-02 北京信息科技大学 Block chain network based on trusted network, construction method and construction system
CN115102993A (en) * 2022-07-15 2022-09-23 北京智芯微电子科技有限公司 Active access method, device and equipment for plug and play of terminal and readable medium
CN115102993B (en) * 2022-07-15 2023-08-11 北京智芯微电子科技有限公司 Active access method, device and equipment for plug and play of terminal and readable medium

Also Published As

Publication number Publication date
CN108769010B (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN108769010A (en) The method and apparatus that node is invited to registration
CN108616539B (en) A kind of method and system of block chain transaction record access
JP7029468B2 (en) Methods and systems for secure data record distribution using blockchain
CN108833081B (en) Block chain-based equipment networking authentication method
JP2022095891A (en) Implementation of logic gate function using block chain
CN113032840B (en) Data processing method, device, equipment and computer readable storage medium
CN109617699A (en) A kind of key generation method, block chain network service platform and storage medium
CN109165957A (en) Invoice data method of charging out, system and relevant device based on block chain
CN111988147B (en) Combined signature and signature verification method, system and storage medium
CN113127916A (en) Data set processing method, data processing device and storage medium
CN107046687A (en) The secure connection of low-power equipment
CN110264200A (en) Block chain data processing method and device
CN109919611B (en) Quantum computation resistant blockchain transaction method and system based on symmetric key pool server
CN111466098B (en) System and method for block chain implementation security for blind result selection
CN109995737B (en) Decentralized digital certificate management method and device, node and system
CN111815321A (en) Transaction proposal processing method, device, system, storage medium and electronic device
CN109272316A (en) A kind of block realization method and system under the chain network based on block
CN107070896B (en) Safe and efficient block chain network customized login method and safe reinforcement system
CN113255014B (en) Data processing method based on block chain and related equipment
CN110599342A (en) Block chain-based identity information authorization method and device
CN111737715A (en) Decentralized electronic contract online signing method and system
CN109670826A (en) Anti- quantum calculation block chain method of commerce based on unsymmetrical key pond
CN110149323A (en) A kind of processing unit with millions TPS contract processing capacity
CN115765965A (en) Medical data safety sharing method based on federal learning and double union block chains
CN113409154A (en) Credible storage-based liability insurance processing method and system

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