CN114697071A - Block chain-based distributed naming service system and using method thereof - Google Patents

Block chain-based distributed naming service system and using method thereof Download PDF

Info

Publication number
CN114697071A
CN114697071A CN202210100382.XA CN202210100382A CN114697071A CN 114697071 A CN114697071 A CN 114697071A CN 202210100382 A CN202210100382 A CN 202210100382A CN 114697071 A CN114697071 A CN 114697071A
Authority
CN
China
Prior art keywords
node
block chain
registrar
blockchain
registrant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210100382.XA
Other languages
Chinese (zh)
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.)
Nanjing Third Pole Blockchain Technology Co ltd
Original Assignee
Nanjing Third Pole Blockchain Technology 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 Nanjing Third Pole Blockchain Technology Co ltd filed Critical Nanjing Third Pole Blockchain Technology Co ltd
Priority to CN202210100382.XA priority Critical patent/CN114697071A/en
Publication of CN114697071A publication Critical patent/CN114697071A/en
Pending legal-status Critical Current

Links

Images

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
    • H04L63/0869Network architectures or network communication protocols for network security for authentication of entities for achieving mutual authentication
    • 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/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a distributed naming service system based on a block chain and a using method thereof, wherein the system comprises a block chain network, a registrant and a using party, wherein the block chain network comprises a first verification node, a second verification node, a third verification node, a fourth verification node and a fifth verification node; the registrar includes a first local blockchain node and a registrar system; the user side comprises a second local blockchain node and a user side system; the use method of the distributed naming service system is as follows: step 1, registering a block chain account; step 2, registering and binding; step 3, query and analysis; step 4, unbinding; according to the invention, by constructing the naming service on the blockchain, the computing equipment in the network submits operations such as naming, registering, binding and the like through the local blockchain node, man-in-the-middle attack is avoided, and the credibility of communication data and the availability of the service are ensured.

Description

Block chain-based distributed naming service system and using method thereof
Technical Field
The invention relates to the technical field of distributed naming service systems, in particular to a block chain-based distributed naming service system and a using method thereof.
Background
Naming services are a very important technology for any computing network. The naming service system may enable computing devices in a network to be identified by a generic name, rather than a numeric address, inside the network. This simplifies communication and avoids changing the numerical address, which would render the service unusable. The traditional naming service needs to build a centralized naming service system in the network. During the interaction of the network device with the naming service system, the communication data may be tampered, resulting in the unavailability of the service. Meanwhile, the centralized naming service system can become a single-point failure risk of the network, and once the naming service system fails, the communication of the whole network is abnormal.
Therefore, a distributed naming service system based on a block chain and a using method thereof become a problem to be solved urgently.
Disclosure of Invention
The technical problem to be solved by the invention is that the traditional naming service needs to construct a centralized naming service system in the network. During the interaction process of the network device and the naming service system, communication data can be tampered, and the service is not available. Meanwhile, the centralized naming service system can become a single-point failure risk of the network, and once the naming service system fails, the communication of the whole network is abnormal.
In order to solve the technical problems, the technical scheme provided by the invention is as follows: a distributed naming service system based on a block chain comprises a block chain network, a registrant and a user, wherein the block chain network comprises a first verification node, a second verification node, a third verification node, a fourth verification node and a fifth verification node; the first authentication node is in bidirectional communication with a registrar; the second authentication node is in bidirectional communication with a user;
the registrar includes a first local blockchain node and a registrar system; the first local block link point is in bidirectional communication with a registrar system; the first authentication node is in bidirectional communication with a first local blockchain node;
the user side comprises a second local blockchain node and a user side system; the second local block link point is in bidirectional communication with a user system; the second authentication node is in bidirectional communication with a second local blockchain node; the consumer system accesses a registrar based on the query resolution results.
Further, the registrant is a host in the naming service system and performs operations of registering, binding and unbinding.
Further, the user is a host in the naming service system, and performs query analysis.
Further, the registrant and the user can share one host.
A method for using a distributed naming service system based on a blockchain comprises the following steps:
step 1, registering a block chain account: the registrant registers the block chain account;
step 2, registration and binding: the registrant submits a digital address and a name of the registrant to the intelligent contract through the first local block chain node for registration and binding;
the intelligent contracts on the block chain check the uniqueness and the legality of the names, and after checking that the names are correct, the binding relation between the digital addresses and the names is stored;
synchronizing the registration binding relationship result to other nodes of the blockchain network;
step 3, query and analysis: the user submits the name of the registration party to the intelligent contract through the second local blockchain node to inquire the numerical address of the registration party;
the user accesses the registrant by using the digital address of the registrant;
step 4, unbinding: the registrant submits a digital address and a name of the registrant to the intelligent contract through the first local block chain node to unbind the intelligent contract;
the intelligent contract on the block chain judges the name ownership, and after the ownership is confirmed to be correct, the binding relationship between the digital address and the name is released;
the unbinding result is synchronized to other nodes of the blockchain network.
Compared with the prior art, the invention has the advantages that: according to the invention, by constructing the naming service on the blockchain, the computing equipment in the network submits operations such as naming, registering, binding and the like through the local blockchain node, man-in-the-middle attack is avoided, and credibility of communication data and service availability are ensured; the normal operation of other block chain nodes cannot be influenced by the fault of any block chain node, so that the risk of single-point fault is avoided; the invention has reasonable design and is worth popularizing.
Drawings
FIG. 1 is a diagram of a block chain-based distributed naming service system according to the present invention.
Fig. 2 is a timing diagram of a method for using a block chain-based distributed naming service system according to the present invention.
As shown in the figure:
1. the system comprises a block chain network, 2, a registrant, 3, a user, 4, a first verification node, 5, a second verification node, 6, a third verification node, 7, a fourth verification node, 8, a fifth verification node, 9, a first local block chain node, 10, a registrant system, 11, a second local block chain node, 12 and a user system.
Detailed Description
The following describes the block chain-based distributed naming service system and the method for using the same in detail with reference to the accompanying drawings.
The present invention will be described in detail with reference to the accompanying fig. 1-2.
A distributed naming service system based on a blockchain comprises a blockchain network 1, a registrant 2 and a user 3, wherein the blockchain network 1 comprises a first verification node 4, a second verification node 5, a third verification node 6, a fourth verification node 7 and a fifth verification node 8; the first authentication node 4 is in bidirectional communication with the registrar 2; the second authentication node 5 is in bidirectional communication with the user 3;
the registrar 2 comprises a first local blockchain node 9 and a registrar system 10; the first local blockchain node 9 is in bidirectional communication with a registrar system 10; the first verification node 4 is in bidirectional communication with a first local blockchain node 9;
the user 3 comprises a second local blockchain node 11 and a user system 12; the second local blockchain node 11 is in bidirectional communication with a user system 12; the second authentication node 5 is in bidirectional communication with a second local blockchain node 11; the consumer system 12 accesses the registrar 2 based on the query resolution results.
The registrant 2 is a host in the naming service system and performs operations of registering, binding and unbinding.
The user 3 is a host in the naming service system and performs query analysis.
The registrar 2 and the consumer 3 may share a host.
A method for using a distributed naming service system based on a blockchain comprises the following steps:
step 1, registering a block chain account: the registrant 2 registers the block chain account;
step 2, registering and binding: the registrant 2 submits a digital address and a name of the registrant to the intelligent contract through the first local block chain node 9 for registration and binding;
the intelligent contracts on the block chain check the uniqueness and the legality of the names, and after checking that the names are correct, the binding relation between the digital addresses and the names is stored;
synchronizing the registration binding relationship result to other nodes of the blockchain network 1;
step 3, query and analysis: the user 3 submits the name of the registrant to the intelligent contract through the second local blockchain node 11 to inquire the digital address of the registrant;
the user 3 accesses the registrar 2 using the registrar's 2 numerical address;
step 4, unbinding: the registrant 2 submits a digital address and a name of the registrant to the intelligent contract through the first local block chain node 9 for unbinding;
the intelligent contract on the block chain judges the name ownership, and after the ownership is confirmed to be correct, the binding relationship between the digital address and the name is released;
the unbinding result is synchronized to the other nodes of the blockchain network 1.
The invention relates to a distributed naming service system based on a block chain and a using method thereof, which comprises the following specific implementation processes:
step 1, registering a block chain account: the registrant 2 registers the block chain account;
step 2, registering and binding: the registrant 2 submits a digital address and a name of the registrant to the intelligent contract through the first local block chain node 9 for registration and binding;
the intelligent contracts on the block chain check the uniqueness and the legality of the names, and after checking that the names are correct, the binding relation between the digital addresses and the names is stored;
synchronizing the registration binding relationship result to other nodes of the blockchain network 1;
step 3, query and analysis: the user 3 submits the name of the registrant to the intelligent contract through the second local blockchain node 11 to inquire the digital address of the registrant;
the user 3 accesses the registrar 2 using the registrar 2's numerical address;
step 4, unbinding: the registrant 2 submits a digital address and a name of the registrant to the intelligent contract through the first local block chain node 9 for unbinding;
the intelligent contract on the block chain judges the name ownership, and after the ownership is confirmed to be correct, the binding relationship between the digital address and the name is released;
the unbinding result is synchronized to the other nodes of the blockchain network 1.
According to the invention, by constructing the naming service on the blockchain, the computing equipment in the network submits operations such as naming, registering, binding and the like through the local blockchain node, thereby avoiding man-in-the-middle attack and ensuring credibility of communication data and service availability; the normal operation of other block chain nodes cannot be influenced by the fault of any block chain node, so that the risk of single-point fault is avoided; the invention has reasonable design and is worth popularizing.
The present invention and its embodiments have been described above, and the description is not intended to be limiting, and the drawings are only one embodiment of the present invention, and the actual structure is not limited thereto. In summary, those skilled in the art should appreciate that they can readily use the disclosed conception and specific embodiments as a basis for designing or modifying other structures for carrying out the same purposes of the present invention without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (5)

1. A blockchain-based distributed naming service system comprising a blockchain network (1), a registrar (2) and a consumer (3), characterized in that: the blockchain network (1) comprises a first verification node (4), a second verification node (5), a third verification node (6), a fourth verification node (7) and a fifth verification node (8); the first authentication node (4) is in bidirectional communication with a registrar (2); the second authentication node (5) is in bidirectional communication with a user (3);
the registrar (2) comprises a first local blockchain node (9) and a registrar system (10); the first local blockchain node (9) is in bidirectional communication with a registrar system (10); the first authentication node (4) is in bidirectional communication with a first local blockchain node (9);
the user (3) comprises a second local blockchain node (11) and a user system (12); the second local blockchain node (11) is in bidirectional communication with a user system (12); the second authentication node (5) is in bidirectional communication with a second local blockchain node (11); the consumer system (12) accesses a registrar (2) based on the query resolution results.
2. The system according to claim 1, wherein the system comprises: and the registrant (2) is a host in the naming service system and performs operations of registering, binding and unbinding.
3. The system according to claim 2, wherein the system comprises: and the user (3) is a host in the naming service system and performs query analysis operation.
4. The blockchain-based distributed naming service system as claimed in claim 3, wherein: the registrant (2) and the user (3) can share one host.
5. A method for using a blockchain-based distributed naming service system, comprising the blockchain-based distributed naming service system of claims 1 to 4, wherein: the use method of the distributed naming service system is as follows:
step 1, registering a block chain account: the registrant (2) registers the block chain account;
step 2, registering and binding: the registrant (2) submits a digital address and a name of the registrant to the intelligent contract through the first local block chain node (9) for registration and binding;
the intelligent contracts on the block chain check the uniqueness and the legality of the names, and after checking that the names are correct, the binding relation between the digital addresses and the names is stored;
synchronizing the registration binding relationship result to other nodes of the blockchain network (1);
step 3, query and analysis: the user (3) submits the name of the registrar to the intelligent contract via the second local blockchain node (11) to query the registrar's numerical address;
the user (3) accesses the registrar (2) using the digital address of the registrar (2);
step 4, unbinding: the registrant (2) submits a digital address and a name of the registrant to the intelligent contract through the first local block chain node (9) for unbinding;
the intelligent contract on the block chain judges the name ownership, and after the ownership is confirmed to be correct, the binding relation between the digital address and the name is released;
the unbinding result is synchronized to other nodes of the blockchain network (1).
CN202210100382.XA 2022-01-27 2022-01-27 Block chain-based distributed naming service system and using method thereof Pending CN114697071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210100382.XA CN114697071A (en) 2022-01-27 2022-01-27 Block chain-based distributed naming service system and using method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210100382.XA CN114697071A (en) 2022-01-27 2022-01-27 Block chain-based distributed naming service system and using method thereof

Publications (1)

Publication Number Publication Date
CN114697071A true CN114697071A (en) 2022-07-01

Family

ID=82137814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210100382.XA Pending CN114697071A (en) 2022-01-27 2022-01-27 Block chain-based distributed naming service system and using method thereof

Country Status (1)

Country Link
CN (1) CN114697071A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468309A (en) * 2019-09-06 2021-03-09 傲为信息技术(江苏)有限公司 Domain name management system based on intelligent contract
CN112671950A (en) * 2020-12-30 2021-04-16 北京百度网讯科技有限公司 Domain name processing method and device based on block chain, electronic equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468309A (en) * 2019-09-06 2021-03-09 傲为信息技术(江苏)有限公司 Domain name management system based on intelligent contract
CN112671950A (en) * 2020-12-30 2021-04-16 北京百度网讯科技有限公司 Domain name processing method and device based on block chain, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108234670B (en) Zookeeper and netty-based distributed remote calling method
CN108717861B (en) Medical data sharing method based on block chain
CN111917737B (en) Cross-network RPC calling system and method
CN109040337A (en) A kind of information query method, Edge Server and information query system
CN107635221A (en) A kind of car-mounted terminal identifying processing method and device
CN109947844B (en) Medical data management system based on medical block chain
JP2002368781A (en) User location management domain name conversion system
CN112527901A (en) Data storage system, method, computing device and computer storage medium
CN114697071A (en) Block chain-based distributed naming service system and using method thereof
CN100484001C (en) Device and method for realizing distributed communication in computer network
WO2015131606A1 (en) Object information processing method, device and ors application gateway
CN114125812B (en) Data synchronization method, device, server and storage medium
CN115866061A (en) Service processing method, device, equipment and medium based on service cluster system
US20020194268A1 (en) Distribute object mechanism
US7177302B2 (en) System and method for transferring connecting configurations from a telephone network to a data network
CN114553495A (en) Service registration and discovery system based on block chain and use method thereof
CN107145606A (en) A kind of data managing method and device
JP2002366381A (en) Dynamic exchange processing method for object
US8046419B2 (en) Method of processing open asynchronous application service event and open web service gateway implementing the same
JPH08255133A (en) Device and method for user id management in decentralized server system
JP5595333B2 (en) User identifier conversion system and conversion method
CN113067712B (en) Network element information processing method, device, equipment and storage medium
CN116388921B (en) Link point time synchronization method, device and storage medium based on precompiled contracts
CN113067848B (en) Call record synchronization method and system and electronic equipment
JPS59161952A (en) Establishment of communication path

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