WO2021042784A1 - Domain name management system employing blockchain - Google Patents

Domain name management system employing blockchain Download PDF

Info

Publication number
WO2021042784A1
WO2021042784A1 PCT/CN2020/094208 CN2020094208W WO2021042784A1 WO 2021042784 A1 WO2021042784 A1 WO 2021042784A1 CN 2020094208 W CN2020094208 W CN 2020094208W WO 2021042784 A1 WO2021042784 A1 WO 2021042784A1
Authority
WO
WIPO (PCT)
Prior art keywords
domain name
smart contract
nodes
chain
sub
Prior art date
Application number
PCT/CN2020/094208
Other languages
French (fr)
Chinese (zh)
Inventor
白杰
Original Assignee
南京瑞祥信息技术有限公司
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 南京瑞祥信息技术有限公司 filed Critical 南京瑞祥信息技术有限公司
Priority to JP2021513269A priority Critical patent/JP6954709B1/en
Publication of WO2021042784A1 publication Critical patent/WO2021042784A1/en

Links

Images

Classifications

    • 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
    • H04L9/3239Cryptographic 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 involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • 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/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1036Load balancing of requests to servers for services different from user content provisioning, e.g. load balancing across domain name servers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • 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]
    • 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/0891Revocation or update of secret information, e.g. encryption key update or rekeying
    • 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/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Abstract

The present application provides a domain name management system employing a blockchain. The system comprises a public chain consisting of a plurality of nodes and a CNS sub-chain consisting of a portion of the nodes of the public chain. All of the nodes of the public chain are configured with a root domain name smart contract, and the nodes constituting the CNS sub-chain have the same smart contract and functions as the nodes of the public chain. The nodes constituting the CNS sub-chain are configured to: generate a sub-domain name smart contract by means of executing the root domain name smart contract; and perform domain name registration, query, and update services by means of the root domain name smart contract and the sub-domain name smart contract. In the present application, a DNS system is deployed in a blockchain network in the form of a sub-chain so as to achieve a complete decentralized deployment. Moreover, the nodes in the sub-chain are used to execute the root domain name smart contract and the sub-domain name smart contract, so as to quickly perform domain name registration, query, and update services, thus improving response speed.

Description

一种基于区块链的域名管理系统A domain name management system based on blockchain
本申请要求在2019年9月6日提交中国专利局、申请号为201910842324.2、发明名称为“一种基于区块链的域名管理系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201910842324.2, and the invention title is "a blockchain-based domain name management system" on September 6, 2019. The entire content is incorporated by reference. In this application.
技术领域Technical field
本申请涉及区块链网络技术领域,尤其涉及一种基于区块链的域名管理系统。This application relates to the field of blockchain network technology, and in particular to a domain name management system based on blockchain.
背景技术Background technique
域名管理系统,也称为域名系统(DNS,Domain Name System)互联网的基础服务,其提供将域名解析为真实IP地址的功能,使得网络互联互通成为可能。作为互联网基础性的支持架构,DNS的根域名服务器是由ICANN控制,即DNS是一个中心化多层级系统,违背网络的中立性原则。区块链技术的主要任务,是按照去中心化的系统要求,基于公众共识的方式,创建一个相对客观的抗抵赖数字环境。基于区块链技术,可以保证网络信息的真实性。The domain name management system, also known as the basic service of the Domain Name System (DNS, Domain Name System) Internet, provides the function of resolving domain names into real IP addresses, making network interconnection possible. As the basic support structure of the Internet, the root domain name server of DNS is controlled by ICANN, that is, DNS is a centralized multi-level system that violates the neutrality principle of the network. The main task of blockchain technology is to create a relatively objective non-repudiation digital environment in accordance with the requirements of the decentralized system and based on public consensus. Based on blockchain technology, the authenticity of network information can be guaranteed.
因此,可以基于区块链技术构建去中心化的域名系统,基于区块链的域名系统(Blockchain Name System)是采用智能合约机制或域名协议机制,实现去中心化,开放和可扩展的域名系统,例如基于以太坊的ENS和基于UTXO模型的Handshake。Therefore, a decentralized domain name system can be built based on blockchain technology. The blockchain-based domain name system (Blockchain Name System) adopts smart contract mechanisms or domain name protocol mechanisms to achieve a decentralized, open and scalable domain name system , Such as ENS based on Ethereum and Handshake based on UTXO model.
其中,ENS的工作是将可读的域名(如“alice.eth”)映射到地址标识,例如以太坊账号地址,合约地址,文件地址元数据等。ENS通过在域的点分隔层名称系统上运行,减少基础架构的复杂性。而Handshake通过定义一种无权限的域名协议,使每个参与节点都在验证并负责管理根区域,使得域名解析服务器会指向一个权威服务器,从而将需求提交给区块链网络,以代替证书授权机构。Among them, the job of ENS is to map readable domain names (such as "alice.eth") to address identifiers, such as Ethereum account addresses, contract addresses, file address metadata, etc. ENS reduces the complexity of the infrastructure by running on the dotted layer name system of the domain. By defining an unauthorized domain name protocol, Handshake enables each participating node to verify and manage the root zone, so that the domain name resolution server will point to an authoritative server, thereby submitting the requirements to the blockchain network instead of certificate authorization mechanism.
可见,无论是ENS还是Handshake的运行要受限于区块链网络的性能,对于每天访问次数超过数十亿的DNS服务,无法满足需求。同时由于,区块链网络的共识和验证机制,使得DNS请求的响应速度比较慢,节点在发出DNS请求后的等待时间较长,影响BNS服务的推广及应用。It can be seen that the operation of both ENS and Handshake is limited by the performance of the blockchain network, and cannot meet the demand for DNS services with more than billions of visits per day. At the same time, due to the consensus and verification mechanism of the blockchain network, the response speed of DNS requests is relatively slow, and nodes have a long waiting time after sending DNS requests, which affects the promotion and application of BNS services.
发明内容Summary of the invention
本申请提供了一种基于区块链的域名管理系统,以解决区块链域名系统响应速度慢的问题。This application provides a blockchain-based domain name management system to solve the problem of slow response speed of the blockchain domain name system.
一方面,本申请提供一种基于区块链的域名管理系统,包括:由多个节点组成的公链,以及由所述公链中部分节点组成的CNS子链;所述公链的所有节点中均配置有根域名智能合约;On the one hand, this application provides a blockchain-based domain name management system, including: a public chain composed of multiple nodes, and a CNS sub-chain composed of some nodes in the public chain; all nodes of the public chain The root domain name smart contract is configured in both;
组成所述CNS子链的节点具有与所述公链的节点相同的智能合约和功能;The nodes constituting the CNS sub-chain have the same smart contracts and functions as the nodes of the public chain;
组成所述CNS子链的节点被配置为:通过执行所述根域名智能合约,生成子域名智能合约;以及通过所述根域名智能合约和所述子域名智能合约,完成域名注册登记、查询以及更新服务。The nodes that make up the CNS sub-chain are configured to: execute the root domain name smart contract to generate a subdomain name smart contract; and through the root domain name smart contract and the subdomain name smart contract, complete domain name registration, query, and Update service.
可选的,所述子域名智能合约包括顶级域名智能合约和应用域名智能合约;Optionally, the subdomain name smart contract includes a top-level domain name smart contract and an application domain name smart contract;
部分组成所述CNS子链的节点被配置为:通过执行所述顶级域名智能合约,完成顶级域名服务,包括管理和维护二级域名信息;Some of the nodes that make up the CNS sub-chain are configured to complete top-level domain services by executing the top-level domain smart contract, including management and maintenance of second-level domain information;
部分组成所述CNS子链的节点被配置为:通过执行所述应用域名智能合约,完成应用域名服务,包括管理和维护二级以上的域名信息。Part of the nodes constituting the CNS sub-chain are configured to complete application domain name services by executing the application domain name smart contract, including management and maintenance of domain name information above the second level.
可选的,组成所述CNS子链的节点根据所执行的智能合约,分布式存储有所执行的智能合约对应的域名信息。Optionally, the nodes that make up the CNS sub-chain may distribute and store domain name information corresponding to the executed smart contract according to the executed smart contract.
可选的,对于域名注册登记服务,组成所述CNS子链的节点被进一步配置为:Optionally, for the domain name registration service, the nodes constituting the CNS sub-chain are further configured as:
向根域名智能合约发起注册交易,触发根域名智能合约执行;Initiate a registration transaction to the root domain name smart contract to trigger the execution of the root domain name smart contract;
根据所述注册交易,通过执行所述根域名智能合约反馈注册投票结果,所述注册投票结果包括接受或拒绝新增所述注册交易中的域名;According to the registration transaction, the registration voting result is fed back by executing the root domain name smart contract, and the registration voting result includes accepting or rejecting the addition of the domain name in the registration transaction;
如果反馈的所述注册投票结果满足预设注册要求,通过所述根域名智能合约生成顶级域名智能合约;If the feedback of the registration voting result meets the preset registration requirements, generate a top-level domain name smart contract through the root domain name smart contract;
在所述根域名智能合约中添加指向新生成顶级域名智能合约的记录。A record pointing to the newly generated top-level domain name smart contract is added to the root domain name smart contract.
可选的,所述预设注册要求包括反馈的注册投票结果为接受的数量大于或等于第一投票数量值;或者,在预设投票周期内,反馈的注册投票结果为接受的数量大于或等于第二投票数量值。Optionally, the preset registration requirements include that the feedback of registration voting results is that the number of accepted votes is greater than or equal to the value of the first vote; or, within the preset voting period, the feedback of registration voting results is that the number of accepted votes is greater than or equal to The value of the second number of votes.
可选的,对于域名查询服务,组成所述CNS子链的节点被进一步配置为:Optionally, for the domain name query service, the nodes constituting the CNS sub-chain are further configured as:
接收域名查询节点发送的查询交易;Receive the query transaction sent by the domain name query node;
在所述查询交易中,提取域名信息;In the query transaction, extract domain name information;
根据所执行的智能合约,提取与所述域名信息对应的DNS信息;According to the executed smart contract, extract the DNS information corresponding to the domain name information;
将提取的所述DNS信息发送给域名查询节点。Send the extracted DNS information to the domain name query node.
可选的,部分组成所述CNS子链的节点根据所执行的智能合约划分为合约所有者节点;对于域名更新服务,所述合约所有者节点被进一步配置为:Optionally, some of the nodes that make up the CNS sub-chain are divided into contract owner nodes according to the executed smart contract; for the domain name update service, the contract owner node is further configured as:
向更新节点所的执行智能合约的上级域名智能合约发起更新交易,触发执行上级域名智能合约进行更新服务;Initiate an update transaction to the upper-level domain name smart contract that executes the smart contract at the update node, and trigger the execution of the upper-level domain name smart contract to perform the update service;
通过上级域名智能合约校验所述更新交易中的更新数据;以及,在校验通过后,调用所执行的智能合约;Verify the update data in the update transaction through the upper-level domain name smart contract; and, after the verification is passed, call the executed smart contract;
根据所述更新数据,更新所执行的智能合约。According to the update data, the executed smart contract is updated.
可选的,所述合约所有者节点包括:执行根域名智能合约的跟所有者节点、执行顶级域名智能合约的顶级所有者节点以及执行应用域名智能合约的应用所有者节点;Optionally, the contract owner node includes: a follow-up owner node that executes a root domain name smart contract, a top-level owner node that executes a top-level domain smart contract, and an application owner node that executes an application domain name smart contract;
所述应用所有者节点对应的上级域名智能合约为根域名智能合约;所述顶级所有者节点对应的上级域名智能合约为根域名智能合约;所述应用所有者节点对应的上级域名智能合约为顶级域名智能合约和/或根域名智能合约。The upper-level domain name smart contract corresponding to the application owner node is the root domain name smart contract; the upper-level domain name smart contract corresponding to the top-level owner node is the root domain name smart contract; the upper-level domain name smart contract corresponding to the application owner node is the top-level domain name smart contract Domain name smart contract and/or root domain name smart contract.
另一方面,本申请还提供一种基于区块链的域名管理系统,包括:由多个节点组成的公链,以及由所述公链中部分节点和至少一个DNS节点组成的CNS子链;所述公链的所有节点和所述DNS节点中均配置有根域名智能合约;On the other hand, this application also provides a blockchain-based domain name management system, including: a public chain composed of multiple nodes, and a CNS sub-chain composed of some nodes in the public chain and at least one DNS node; All nodes of the public chain and the DNS node are configured with a root domain name smart contract;
组成所述CNS子链的节点具有与所述公链的节点相同的智能合约和功能;The nodes constituting the CNS sub-chain have the same smart contracts and functions as the nodes of the public chain;
组成所述CNS子链的节点被配置为:通过执行所述根域名智能合约,生成子域名智能合约;以及通过所述根域名智能合约和所述子域名智能合约,完成域名注册登记、查询以及更新服务;The nodes that make up the CNS sub-chain are configured to: execute the root domain name smart contract to generate a subdomain name smart contract; and through the root domain name smart contract and the subdomain name smart contract, complete domain name registration, query, and Update service;
所述DNS节点被配置为对接DNS系统,使DNS系统中的节点通过所述DNS节点查询所述CNS子链中的域名信息;以及,使所述公链中的节点通过所述DNS节点查询所述DNS系统中的域名信息。The DNS node is configured to interface with the DNS system, so that the nodes in the DNS system can query the domain name information in the CNS sub-chain through the DNS node; and, the nodes in the public chain query the domain name information through the DNS node. Describe the domain name information in the DNS system.
可选的,所述子域名智能合约包括顶级域名智能合约和应用域名智能合约;Optionally, the subdomain name smart contract includes a top-level domain name smart contract and an application domain name smart contract;
部分组成所述CNS子链的节点和所述DNS节点被配置为:通过执行所述顶级域名智能合约,完成顶级域名服务,包括管理和维护二级域名信息;Part of the nodes that make up the CNS sub-chain and the DNS node are configured to complete top-level domain name services by executing the top-level domain name smart contract, including management and maintenance of second-level domain name information;
部分组成所述CNS子链的节点和所述DNS节点被配置为:通过执行所述应用域名智能合约,完成应用域名服务,包括管理和维护二级以上的域名信息。Part of the nodes constituting the CNS sub-chain and the DNS node are configured to complete application domain name services by executing the application domain name smart contract, including management and maintenance of domain name information above the second level.
由于以上技术方案可知,本申请提供一种基于区块链的域名管理系统,包括:由多个节点组成的公链,以及由公链中部分节点组成的CNS子链。其中,公链的所有节点中均配置有根域名智能合约;组成CNS子链的节点具有与公链的节点相同的智能合约和功能;组成CNS子链的节点被配置为:通过执行根域名智能合约,生成子域名智能合约;以及通过根域名智能合约和子域名智能合约,完成域名注册登记、查询以及更新服务。本申请通过子链的形式,将DNS系统部署在区块链网络中,可以实现完整 的去中心化部署。并且通过子链节点执行根域名智能合约和子域名智能合约快速完成域名注册登记、查询以及更新服务,提高响应速度。As can be seen from the above technical solutions, this application provides a blockchain-based domain name management system, including: a public chain composed of multiple nodes, and a CNS sub-chain composed of some nodes in the public chain. Among them, all nodes of the public chain are equipped with root domain name smart contracts; the nodes that make up the CNS sub-chain have the same smart contracts and functions as the nodes of the public chain; the nodes that make up the CNS sub-chain are configured as follows: by executing the root domain name intelligence Contract to generate sub-domain name smart contracts; and complete domain name registration, query and update services through root domain smart contracts and sub-domain smart contracts. This application deploys the DNS system in the blockchain network in the form of a sub-chain, which can realize a complete decentralized deployment. And through the sub-chain node to execute the root domain name smart contract and the sub-domain name smart contract to quickly complete the domain name registration, query and update services, and improve the response speed.
附图说明Description of the drawings
图1为本申请一种基于区块链的域名管理系统的结构示意图;Figure 1 is a schematic diagram of the application for a domain name management system based on blockchain;
图2为本申请一种基于区块链的域名管理系统的智能合约配置示意图;Figure 2 is a schematic diagram of the smart contract configuration of a domain name management system based on blockchain in this application;
图3为本申请域名注册登记服务流程示意图;Figure 3 is a schematic diagram of the service process of applying for domain name registration;
图4为本申请域名查询服务流程示意图;Figure 4 is a schematic diagram of the process of applying for a domain name query service;
图5为本申请域名更新服务流程示意图;Figure 5 is a schematic diagram of the process of applying for a domain name update service;
图6为本申请另一种基于区块链的域名管理系统的结构示意图;Figure 6 is a schematic structural diagram of another domain name management system based on blockchain in this application;
图7为本申请另一种基于区块链的域名管理系统的智能合约配置示意图。Figure 7 is a schematic diagram of the smart contract configuration of another blockchain-based domain name management system of this application.
具体实施方式detailed description
在本申请提供的技术方案中,区块链网络是指具有去中心化应用架构的点对点网络,所述区块链网络能够在网络内部进行分布式存储、公共共识、数字加密、交易记账以及验证。即区块链网络是涵盖了分布式技术、密码学、P2P网络架构以及各种可能被应用的共识算法的交易平台。In the technical solution provided by this application, the blockchain network refers to a point-to-point network with a decentralized application architecture, and the blockchain network can perform distributed storage, public consensus, digital encryption, transaction accounting, and verification. That is, the blockchain network is a trading platform that covers distributed technology, cryptography, P2P network architecture, and various consensus algorithms that may be applied.
本申请中,区块链或区块链数据是指在区块链网络中发生交易时,根据交易信息生成的记账信息,即多笔交易组成一个区块数据,多个区块数据形成一条带有时间戳的区块链。区块链网络中,包括相互建立点对点网络连接的节点,每一个节点都配置有相应的共识机制,如智能合约,并且具有足够的运算能力,以进行交易验证和记账程序。节点上还具有符合某种统一标准的接口规范,以实现通过接口规范接入更多的节点或者其他类型的区块链网络。所述公链为区块链网络中多个节点组成的点对点网络结构,每个节点具有分布式存储功能和交易、记账功能;公链上的节点对外提供统一的接口规范。In this application, blockchain or blockchain data refers to the accounting information generated according to the transaction information when a transaction occurs in the blockchain network, that is, multiple transactions form one block of data, and multiple block data form one Blockchain with timestamp. The blockchain network includes nodes that establish a peer-to-peer network connection with each other. Each node is equipped with a corresponding consensus mechanism, such as a smart contract, and has sufficient computing power to perform transaction verification and accounting procedures. The node also has an interface specification that conforms to a certain unified standard to realize access to more nodes or other types of blockchain networks through the interface specification. The public chain is a point-to-point network structure composed of multiple nodes in the blockchain network, and each node has a distributed storage function and transaction and accounting functions; the nodes on the public chain provide a unified interface specification to the outside.
参见图1,为本申请一种基于区块链的域名管理系统的结构示意图。由图1可知,本申请提供的基于区块链的域名管理系统,包括:由多个节点组成的公链,以及由所述公链中部分节点组成的CNS子链。实际应用中,为了便于描述,组成公链的节点可以称为公链节点,组成CNS子链的节点可以称为CNS子链节点。显然,本实施例中,公链中的节点可以是公链节点,也可以同时作为CNS子链节点。而CNS子链节点由于是由公链中的部分节点所组成,因此,其既是CNS子链节点又是公链节点。即,组成所述CNS子链的节点具有与所述公链的节点相同的智能合约和功能。Refer to Figure 1, which is a schematic diagram of the structure of a domain name management system based on blockchain in this application. It can be seen from Fig. 1 that the blockchain-based domain name management system provided by this application includes: a public chain composed of multiple nodes, and a CNS sub-chain composed of some nodes in the public chain. In practical applications, for ease of description, the nodes that make up the public chain can be called public chain nodes, and the nodes that make up the CNS sub-chain can be called CNS sub-chain nodes. Obviously, in this embodiment, the nodes in the public chain can be public chain nodes, and can also serve as CNS sub-chain nodes at the same time. Since the CNS sub-chain node is composed of some nodes in the public chain, it is both a CNS sub-chain node and a public chain node. That is, the nodes constituting the CNS sub-chain have the same smart contracts and functions as the nodes of the public chain.
实际应用中,公链可以提供网络中的基础区块链服务,例如交易、验证、存储等。公链本身可以不具有任何领域对应的特定功能,而是作为一种桥梁,将接入公链的所 有子链(或第三方区块链网络)汇集到同一个区块链网络中,以使不同的接入链可以相互发生交易或传递信息。In practical applications, public chains can provide basic blockchain services in the network, such as transactions, verification, and storage. The public chain itself may not have specific functions corresponding to any field, but as a bridge, bringing all the sub-chains (or third-party blockchain networks) connected to the public chain into the same blockchain network, so that Different access chains can exchange transactions or transfer information with each other.
在本申请提供的技术方案中,所有公链的节点中均配置有智能合约。智能合约是基于区块链交易而约定的共识机制程序,通过智能合约可以实现各种功能的交易运算,例如通过根域名智能合约,节点可以通过执行根域名智能合约完成域名注册登记、查询及更新服务。In the technical solution provided by this application, all nodes of the public chain are equipped with smart contracts. Smart contract is a consensus mechanism program based on blockchain transactions. Through smart contracts, various functional transaction operations can be realized. For example, through the root domain name smart contract, nodes can complete domain name registration, query and update by executing the root domain name smart contract. service.
为了实现域名服务,在本申请中,组成所述CNS子链的节点被配置为:通过执行所述根域名智能合约,生成子域名智能合约;以及通过所述根域名智能合约和所述子域名智能合约,完成域名注册登记、查询以及更新服务。In order to realize the domain name service, in this application, the nodes that make up the CNS sub-chain are configured to: generate a sub-domain smart contract by executing the root domain smart contract; and through the root domain smart contract and the sub-domain smart contract Smart contract, complete domain name registration, query and update services.
实际应用中,以通过域名访问服务器为例,当网络中的用户在终端(节点)的浏览器等应用中输入域名信息后,节点可以先在本地缓存中查询是否有该域名对应的IP地址,如果存在,直接提取对应的IP地址以与所述IP地址服务器建立通信连接。如果不存在,浏览器等应用可以将输入的域名信息发送到DNS服务器,进行域名查询。In practical applications, taking access to a server through a domain name as an example, when a user in the network enters domain name information in applications such as a terminal (node) browser, the node can first query the local cache for the IP address corresponding to the domain name. If it exists, directly extract the corresponding IP address to establish a communication connection with the IP address server. If it does not exist, applications such as browsers can send the entered domain name information to the DNS server for domain name query.
因此,在本申请提供的技术方案中,节点可以将域名信息发送到域名管理系统中,即发送到CNS子链中。CNS子链节点在接收到域名信息后,可以根据自身所执行的智能合约的不同查询与域名信息对应的IP地址。Therefore, in the technical solution provided by this application, the node can send the domain name information to the domain name management system, that is, to the CNS sub-chain. After the CNS sub-chain node receives the domain name information, it can query the IP address corresponding to the domain name information according to different smart contracts executed by itself.
由于在实际应用中,互联网中的域名数量较多,根据域名查询IP地址的数据处理量较大,因此还可以根据DNS域名查询的服务器层级关系,进一步将CNS子链中的节点划分为多个层级关系,以将DNS查询服务分级部署,不同的层级对应提供不同的查询范围。例如,还可以根据根域名智能合约进一步创建和部署子域名智能合约。其中,所述子域名智能合约包括顶级域名智能合约和应用域名智能合约。In practical applications, there are a large number of domain names in the Internet, and the amount of data processing for querying IP addresses based on domain names is relatively large. Therefore, according to the server hierarchy of DNS domain name query, the nodes in the CNS sub-chain can be further divided into multiple Hierarchical relationship to deploy DNS query services hierarchically, and different levels provide different query ranges. For example, it is also possible to further create and deploy sub-domain smart contracts based on the root domain smart contract. Wherein, the subdomain name smart contract includes a top-level domain name smart contract and an application domain name smart contract.
为了实现对域名的查询,如图2所示,部分组成所述CNS子链的节点被配置为:通过执行所述顶级域名智能合约,完成顶级域名服务,即部分CNS子链的节点可以作为顶级域名服务器的功能,其中,顶级域名服务器的功能包括管理和维护二级域名信息。同理,部分组成所述CNS子链的节点被配置为:通过执行所述应用域名智能合约,完成应用域名服务,包括管理和维护二级以上的域名信息。In order to realize the query of the domain name, as shown in Figure 2, some of the nodes that make up the CNS sub-chain are configured to complete the top-level domain name service by executing the top-level domain smart contract, that is, some of the nodes of the CNS sub-chain can be used as the top-level domain. The function of the domain name server. Among them, the function of the top-level domain name server includes the management and maintenance of the second-level domain name information. In the same way, some of the nodes that make up the CNS sub-chain are configured to complete application domain name services by executing the application domain name smart contract, including management and maintenance of domain name information above the second level.
因此,CNS子链的节点在接收到域名信息后,首先,要判断当前CNS子链的节点能够提供该域名的查询,如果能,直接返回IP地址数据,如果不能,则需要按照应用域名、顶级域名、根域名的顺序依次进行查询。为了获得IP地址数据组成所述CNS子链的节点根据所执行的智能合约,分布式存储有所执行的智能合约对应的域名信息。Therefore, after the node of the CNS sub-chain receives the domain name information, it must first determine that the node of the current CNS sub-chain can provide the query of the domain name. If it can, it directly returns the IP address data. If not, it needs to follow the application domain name and top-level The order of domain name and root domain name will be queried in turn. In order to obtain IP address data, the nodes constituting the CNS sub-chain according to the executed smart contract, distributed storage of domain name information corresponding to the executed smart contract.
可见,在本申请提供的技术方案中,在CNS子链体系中的节点可以相互配合,完成如下工作:初始化并部署根域名智能合约;部署相关注册登记、查询、更新等智能合约;执行相关注册登记,查询,更新等智能合约;以及,存储并路由相关域名记录。It can be seen that in the technical solution provided by this application, the nodes in the CNS sub-chain system can cooperate with each other to complete the following tasks: initialize and deploy the root domain name smart contract; deploy related registration, query, update and other smart contracts; perform related registration Register, query, update and other smart contracts; and store and route related domain name records.
具体地,如图3所示,对于域名注册登记服务,组成所述CNS子链的节点被进一步配置为:Specifically, as shown in FIG. 3, for the domain name registration service, the nodes constituting the CNS sub-chain are further configured as:
S101:向根域名智能合约发起注册交易,触发根域名智能合约执行;S101: Initiate a registration transaction to the root domain name smart contract to trigger the execution of the root domain name smart contract;
S102:根据所述注册交易,通过执行所述根域名智能合约反馈注册投票结果,所述注册投票结果包括接受或拒绝新增所述注册交易中的域名;S102: According to the registration transaction, feedback a registration voting result by executing the root domain name smart contract, and the registration voting result includes accepting or rejecting the addition of the domain name in the registration transaction;
S103:如果反馈的所述注册投票结果满足预设注册要求,通过所述根域名智能合约生成顶级域名智能合约;S103: If the feedback of the registration voting result meets the preset registration requirements, generate a top-level domain name smart contract through the root domain name smart contract;
S104:在所述根域名智能合约中添加指向新生成顶级域名智能合约的记录。S104: Add a record pointing to the newly generated top-level domain name smart contract in the root domain name smart contract.
本实施例中,要注册到域名管理系统中的服务器节点可以先向根域名智能合约发起注册交易,以触发根域名智能合约被对应的节点执行。节点在执行根域名智能合约后,可以根据针对注册交易进行投票,反馈投票结果。当反馈的投票结果满足预设的注册要求时,表明当前服务器域名可以注册到系统中,因此,可以通过所述根域名智能合约生成顶级域名智能合约,并且在所述根域名智能合约中添加指向新生成顶级域名智能合约的记录。In this embodiment, the server node to be registered in the domain name management system may first initiate a registration transaction to the root domain name smart contract to trigger the root domain name smart contract to be executed by the corresponding node. After the node executes the root domain name smart contract, it can vote based on the registration transaction and feedback the voting result. When the feedback voting result meets the preset registration requirements, it indicates that the current server domain name can be registered in the system. Therefore, the top-level domain name smart contract can be generated through the root domain name smart contract, and a pointer is added to the root domain name smart contract. The record of the newly generated top-level domain smart contract.
其中,所述预设注册要求包括反馈的注册投票结果为接受的数量大于或等于第一投票数量值;或者,在预设投票周期内,反馈的注册投票结果为接受的数量大于或等于第二投票数量值。Wherein, the preset registration requirements include that the feedback of registration voting results is that the number of accepted votes is greater than or equal to the value of the first vote; or, within the preset voting period, the feedback of registration voting results is that the number of accepted votes is greater than or equal to the second value. The value of the number of votes.
以顶级域名服务(TLD)为例,在实际注册过程中,可以先通过向根域名智能合约发起交易的方式,触发根域名智能合约的执行;根域名智能合约的所有者,再通过投票或者其他方式,决定是否接受新增该TLD域名;根域名智能合约所有者,通过向根域名智能合约发起交易的方式,选择接受或者拒绝新增该TLD域名;如果接受注册,则新增交易成功,根域名智能合约生成并部署一个新的TLD智能合约,同时在根域名智能合约中新增对应的记录,指向新的TLD智能合约,从而完成新增工作。Taking the top-level domain name service (TLD) as an example, in the actual registration process, the execution of the root domain name smart contract can be triggered by initiating a transaction to the root domain name smart contract; the owner of the root domain name smart contract can then vote or other Method, decide whether to accept the addition of the TLD domain name; the owner of the root domain name smart contract can choose to accept or reject the addition of the TLD domain name by initiating a transaction with the root domain name smart contract; if the registration is accepted, the new transaction is successful and the root domain name The domain name smart contract generates and deploys a new TLD smart contract. At the same time, a corresponding record is added to the root domain name smart contract to point to the new TLD smart contract to complete the new work.
在本申请的部分实施例中,如图4所示,对于域名查询服务,组成所述CNS子链的节点被进一步配置为:In some embodiments of the present application, as shown in FIG. 4, for the domain name query service, the nodes constituting the CNS sub-chain are further configured as:
S201:接收域名查询节点发送的查询交易;S201: Receive a query transaction sent by a domain name query node;
S202:在所述查询交易中,提取域名信息;S202: Extract domain name information in the query transaction;
S203:根据所执行的智能合约,提取与所述域名信息对应的DNS信息;S203: Extract DNS information corresponding to the domain name information according to the executed smart contract;
S204:将提取的所述DNS信息发送给域名查询节点。S204: Send the extracted DNS information to the domain name query node.
实际应用中,域名查询节点可以当前区块链网络中的任一节点,其在访问网络的过程中,可在触发域名查询服务后,向执行的智能合约发起查询交易,查询交易中包 含要进行查询的域名信息。再根据所执行的智能合约,提取相应的DNS信息,再将提取的DNS信息发送给域名查询节点,完成域名查询服务。其中,对于不同的节点,其所执行的智能合约不同,因此在提取与所述域名信息对应的DNS信息时,其对应的域名查询方式也不同。例如,节点执行的是应用智能合约,则其查询范围为二级以上的域名;节点执行的是顶级域名合约,则其查询范围为顶级域名或二级域名;节点执行的是根域名智能合约,则其查询范围为根域名或一级域名。In practical applications, the domain name query node can be any node in the current blockchain network. In the process of accessing the network, it can initiate a query transaction to the executed smart contract after triggering the domain name query service. The query transaction includes The domain name information to be queried. Then according to the executed smart contract, the corresponding DNS information is extracted, and then the extracted DNS information is sent to the domain name query node to complete the domain name query service. Among them, for different nodes, the smart contracts executed are different, so when the DNS information corresponding to the domain name information is extracted, the corresponding domain name query methods are also different. For example, if a node executes an application smart contract, its query scope is a domain name above the second level; if a node executes a top-level domain name contract, its query scope is a top-level domain name or a second-level domain name; the node executes a root domain name smart contract. The query scope is the root domain name or the first-level domain name.
在本申请的部分实施例中,如图5所示,对于域名更新服务,部分组成所述CNS子链的节点根据所执行的智能合约划分为合约所有者节点;所述合约所有者节点被进一步配置为:In some embodiments of this application, as shown in FIG. 5, for the domain name update service, some of the nodes that make up the CNS sub-chain are divided into contract owner nodes according to the executed smart contract; the contract owner nodes are further Configured as:
S301:向更新节点所的执行智能合约的上级域名智能合约发起更新交易,触发执行上级域名智能合约进行更新服务;S301: Initiate an update transaction to the upper-level domain name smart contract that executes the smart contract of the update node, and trigger the execution of the upper-level domain name smart contract to perform the update service;
S302:通过上级域名智能合约校验所述更新交易中的更新数据;以及,在校验通过后,调用所执行的智能合约;S302: Verify the update data in the update transaction through the upper-level domain name smart contract; and, after the verification is passed, call the executed smart contract;
S303:根据所述更新数据,更新所执行的智能合约。S303: Update the executed smart contract according to the update data.
本实施例中,所述合约所有者节点包括:执行根域名智能合约的跟所有者节点、执行顶级域名智能合约的顶级所有者节点以及执行应用域名智能合约的应用所有者节点。所述应用所有者节点对应的上级域名智能合约为根域名智能合约;所述顶级所有者节点对应的上级域名智能合约为根域名智能合约;所述应用所有者节点对应的上级域名智能合约为顶级域名智能合约和/或根域名智能合约。In this embodiment, the contract owner node includes: a follower node that executes a root domain name smart contract, a top-level owner node that executes a top-level domain name smart contract, and an application owner node that executes an application domain name smart contract. The upper-level domain name smart contract corresponding to the application owner node is the root domain name smart contract; the upper-level domain name smart contract corresponding to the top-level owner node is the root domain name smart contract; the upper-level domain name smart contract corresponding to the application owner node is the top-level domain name smart contract Domain name smart contract and/or root domain name smart contract.
以更新某个TLD域名为例,实际应用中,需要更新的TLD域名的所有者先通过交易的方式调用根域名智能合约进行更新;再通过根域名智能合约校验并通过更新,调用现有的TLD智能合约,进行相应的信息更新,以使TLD智能合约完成相应更新,并返回相应的结果;最后,根域名智能合约记录相应更新结果,完成更新操作。Take the update of a TLD domain name as an example. In practical applications, the owner of the TLD domain name that needs to be updated first calls the root domain name smart contract to update it through a transaction; then verifies and updates the existing root domain name through the root domain name smart contract. The TLD smart contract updates the corresponding information so that the TLD smart contract completes the corresponding update and returns the corresponding result; finally, the root domain name smart contract records the corresponding update result to complete the update operation.
由于以上技术方案可知,本申请提供一种基于区块链的域名管理系统,包括:由多个节点组成的公链,以及由公链中部分节点组成的CNS子链。其中,公链的所有节点中均配置有根域名智能合约;组成CNS子链的节点具有与公链的节点相同的智能合约和功能;组成CNS子链的节点被配置为:通过执行根域名智能合约,生成子域名智能合约;以及通过根域名智能合约和子域名智能合约,完成域名注册登记、查询以及更新服务。本申请通过子链的形式,将DNS系统部署在区块链网络中,可以实现完整的去中心化部署。并且通过子链节点执行根域名智能合约和子域名智能合约快速完成域名注册登记、查询以及更新服务,提高响应速度。As can be seen from the above technical solutions, this application provides a blockchain-based domain name management system, including: a public chain composed of multiple nodes, and a CNS sub-chain composed of some nodes in the public chain. Among them, all nodes of the public chain are equipped with root domain name smart contracts; the nodes that make up the CNS sub-chain have the same smart contracts and functions as the nodes of the public chain; the nodes that make up the CNS sub-chain are configured as follows: by executing the root domain name intelligence Contract to generate sub-domain name smart contracts; and complete domain name registration, query and update services through root domain smart contracts and sub-domain smart contracts. This application deploys the DNS system in the blockchain network in the form of a sub-chain, which can realize a complete decentralized deployment. And through the sub-chain node to execute the root domain name smart contract and the sub-domain name smart contract to quickly complete the domain name registration, query and update services, and improve the response speed.
进一步地,为了提高区块链网络的验证和处理高并发交易的能力,本申请还可以进一步对公链架构进行优化调整,例如:节点角色划分、节点分组、分区验证等。由于CNS子链是通过公链中的部分节点组成的,因此,其可以完整继承公链的能力,也 就继承了公链快速验证和处理高并发交易的能力。Further, in order to improve the verification of the blockchain network and the ability to process high concurrent transactions, this application can further optimize and adjust the public chain architecture, such as: node role division, node grouping, partition verification, etc. Since the CNS sub-chain is composed of some nodes in the public chain, it can completely inherit the ability of the public chain, and also inherit the ability of the public chain to quickly verify and process high concurrent transactions.
另外,在CNS子链网络中,相关的智能合约均通过交易及其交易验证的方式完成域名的注册登记,查询,更新等操作,通过标准的区块链网络共识算法,保障全网数据的一致性。因此,公链网络的高并发快速交易及其交易验证能力,可以保证CNS子链网络也具备相应的能力,从而有效改善现有网络性能不足的情况。In addition, in the CNS sub-chain network, the related smart contracts complete the registration, query, update and other operations of the domain name through transactions and transaction verification, and use the standard blockchain network consensus algorithm to ensure the consistency of the entire network data Sex. Therefore, the high-concurrency and fast transactions of the public chain network and its transaction verification capabilities can ensure that the CNS sub-chain network also has the corresponding capabilities, thereby effectively improving the lack of performance of the existing network.
本申请还提供一种基于区块链的域名管理系统,如图6所示,包括:由多个节点组成的公链,以及由所述公链中部分节点和至少一个DNS节点组成的CNS子链;所述公链的所有节点和所述DNS节点中均配置有根域名智能合约;This application also provides a blockchain-based domain name management system, as shown in Figure 6, including: a public chain composed of multiple nodes, and a CNS sub-chain composed of some nodes in the public chain and at least one DNS node Chain; all nodes of the public chain and the DNS node are configured with a root domain name smart contract;
组成所述CNS子链的节点具有与所述公链的节点相同的智能合约和功能;The nodes constituting the CNS sub-chain have the same smart contracts and functions as the nodes of the public chain;
组成所述CNS子链的节点被配置为:通过执行所述根域名智能合约,生成子域名智能合约;以及通过所述根域名智能合约和所述子域名智能合约,完成域名注册登记、查询以及更新服务;The nodes that make up the CNS sub-chain are configured to: execute the root domain name smart contract to generate a subdomain name smart contract; and through the root domain name smart contract and the subdomain name smart contract, complete domain name registration, query, and Update service;
所述DNS节点被配置为对接DNS系统,使DNS系统中的节点通过所述DNS节点查询所述CNS子链中的域名信息;以及,使所述公链中的节点通过所述DNS节点查询所述DNS系统中的域名信息。The DNS node is configured to interface with the DNS system, so that the nodes in the DNS system can query the domain name information in the CNS sub-chain through the DNS node; and, the nodes in the public chain query the domain name information through the DNS node. Describe the domain name information in the DNS system.
本实施例提供的域名管理系统中,可以通过将DNS系统以一个CNS子链节点的方式添加到CNS子链中,这个节点即DNS节点。DNS节点可以是整个DNS系统,也可以是DNS系统中的一个节点,而DNS系统可以通过这个节点与外界进行数据交互。可见,在本申请中,所述DNS节点,具有DNS权威域名服务器功能,域名解析服务器功能,同时也具有CNS子链功能的节点,以完成和传统DNS系统的双向兼容。In the domain name management system provided in this embodiment, the DNS system can be added to the CNS sub-chain in the form of a CNS sub-chain node, and this node is the DNS node. The DNS node can be the entire DNS system or a node in the DNS system, and the DNS system can interact with the outside world through this node. It can be seen that in this application, the DNS node has a DNS authoritative domain name server function, a domain name resolution server function, and a node with a CNS sub-chain function to complete the two-way compatibility with the traditional DNS system.
同理,在本申请提供的技术方案中,如图7所示,所述子域名智能合约包括顶级域名智能合约和应用域名智能合约;部分组成所述CNS子链的节点和所述DNS节点被配置为:通过执行所述顶级域名智能合约,完成顶级域名服务,包括管理和维护二级域名信息;部分组成所述CNS子链的节点和所述DNS节点被配置为:通过执行所述应用域名智能合约,完成应用域名服务,包括管理和维护二级以上的域名信息。Similarly, in the technical solution provided by this application, as shown in Figure 7, the subdomain name smart contract includes a top-level domain name smart contract and an application domain name smart contract; some of the nodes that make up the CNS subchain and the DNS node are It is configured to complete top-level domain name services by executing the top-level domain name smart contract, including management and maintenance of second-level domain name information; part of the nodes that make up the CNS sub-chain and the DNS node are configured to: execute the application domain name Smart contract, complete application domain name service, including management and maintenance of domain name information above the second level.
可见,在CNS子链中,可以通过交易触发智能合约的执行,完成去中心化的域名注册登记,查询,更新等服务。实际应用中,对于传统的DNS系统,可通过设置DNS节点,便捷的完成对于CNS域名的查询操作;同时,在区块链网络中的应用,如果需要访问DNS体系中的网络,也可以便捷地通过CNS子链中的DNS节点完成传统的DNS解析工作。It can be seen that in the CNS sub-chain, the execution of smart contracts can be triggered through transactions to complete decentralized domain name registration, query, update and other services. In practical applications, for the traditional DNS system, you can easily complete the query operation for the CNS domain name by setting the DNS node; at the same time, in the application of the blockchain network, if you need to access the network in the DNS system, you can also easily The traditional DNS resolution work is completed through the DNS nodes in the CNS sub-chain.
需要说明的是,本实施例从阶段性而言,在CNS子链中,并不会开放当前ICANN中已有的TLD顶级域名注册登记,但是通过DNS节点,以及区块链公链的IPFS网络,在CNS子链中可以进行DNS系统的分布式镜像服务,将相关DNS数据进行备份和存储, 从而避免因DNS网络的故障导致无法访问的问题。而在长远的未来,CNS子链可以作为现有DNS网络的一个升级替换网络,无论是传统的DNS系统,还是基于区块链的域名管理系统,均可以统一由CNS子链网络提供相应的服务。It should be noted that in this embodiment, in terms of phases, in the CNS sub-chain, the current TLD top-level domain registration in ICANN will not be opened, but through the DNS node and the IPFS network of the blockchain public chain , The distributed mirroring service of the DNS system can be performed in the CNS sub-chain, and the relevant DNS data can be backed up and stored, thereby avoiding the problem of inaccessibility due to the failure of the DNS network. In the long-term future, the CNS sub-chain can be used as an upgrade and replacement network of the existing DNS network. Whether it is a traditional DNS system or a blockchain-based domain name management system, the CNS sub-chain network can provide corresponding services in a unified manner. .
由以上技术方案可知,本申请还提供的基于区块链的域名管理系统,包括:由多个节点组成的公链,以及由所述公链中部分节点和至少一个DNS节点组成的CNS子链。其中,组成所述CNS子链的节点被配置为:通过执行所述根域名智能合约,生成子域名智能合约;以及通过所述根域名智能合约和所述子域名智能合约,完成域名注册登记、查询以及更新服务;并且,所述DNS节点被配置为对接DNS系统,使DNS系统中的节点通过所述DNS节点查询所述CNS子链中的域名信息;以及,使所述公链中的节点通过所述DNS节点查询所述DNS系统中的域名信息。通过在CNS子链中内置至少一个DNS节点,可以使基于区块链网络的域名管理系统能够与传统DNS系统进行对接,由于其作为CNS子链的节点,因此本质上所述CNS子链仍旧满足完整的去中心化需求。另外,可以通过对DNS系统中少量节点的改造,即可将DNS系统部署到区块链网络,可以减少部署工作量,提高域名管理系统的应用范围。It can be seen from the above technical solutions that the blockchain-based domain name management system provided by this application also includes: a public chain composed of multiple nodes, and a CNS sub-chain composed of some nodes in the public chain and at least one DNS node . Wherein, the nodes constituting the CNS sub-chain are configured to: execute the root domain name smart contract to generate a subdomain name smart contract; and through the root domain name smart contract and the subdomain name smart contract to complete domain name registration, Query and update services; and, the DNS node is configured to interface with the DNS system, so that the nodes in the DNS system query the domain name information in the CNS sub-chain through the DNS node; and, the nodes in the public chain Query the domain name information in the DNS system through the DNS node. By embedding at least one DNS node in the CNS sub-chain, the domain name management system based on the blockchain network can be docked with the traditional DNS system. Since it is a node of the CNS sub-chain, the CNS sub-chain is essentially still satisfactory Complete decentralization requirements. In addition, the DNS system can be deployed to the blockchain network by modifying a small number of nodes in the DNS system, which can reduce the deployment workload and increase the application scope of the domain name management system.
本申请提供的实施例之间的相似部分相互参见即可,以上提供的具体实施方式只是本申请总的构思下的几个示例,并不构成本申请保护范围的限定。对于本领域的技术人员而言,在不付出创造性劳动的前提下依据本申请方案所扩展出的任何其他实施方式都属于本申请的保护范围。The similar parts between the embodiments provided in this application can be referred to each other. The specific implementations provided above are only a few examples under the general concept of this application, and do not constitute a limitation of the protection scope of this application. For those skilled in the art, any other implementation manners expanded according to the scheme of this application without creative work shall fall within the protection scope of this application.

Claims (10)

  1. 一种基于区块链的域名管理系统,其特征在于,包括:由多个节点组成的公链,以及由所述公链中部分节点组成的CNS子链;所述公链的所有节点中均配置有根域名智能合约;A domain name management system based on blockchain, which is characterized by comprising: a public chain composed of multiple nodes, and a CNS sub-chain composed of some nodes in the public chain; all nodes in the public chain are Configured with root domain name smart contract;
    组成所述CNS子链的节点具有与所述公链的节点相同的智能合约和功能;The nodes constituting the CNS sub-chain have the same smart contracts and functions as the nodes of the public chain;
    组成所述CNS子链的节点被配置为:通过执行所述根域名智能合约,生成子域名智能合约;以及通过所述根域名智能合约和所述子域名智能合约,完成域名注册登记、查询以及更新服务。The nodes that make up the CNS sub-chain are configured to: execute the root domain name smart contract to generate a subdomain name smart contract; and through the root domain name smart contract and the subdomain name smart contract, complete domain name registration, query, and Update service.
  2. 根据权利要求1所述的域名管理系统,其特征在于,所述子域名智能合约包括顶级域名智能合约和应用域名智能合约;The domain name management system according to claim 1, wherein the sub-domain name smart contract includes a top-level domain name smart contract and an application domain name smart contract;
    部分组成所述CNS子链的节点被配置为:通过执行所述顶级域名智能合约,完成顶级域名服务,包括管理和维护二级域名信息;Some of the nodes that make up the CNS sub-chain are configured to complete top-level domain services by executing the top-level domain smart contract, including management and maintenance of second-level domain information;
    部分组成所述CNS子链的节点被配置为:通过执行所述应用域名智能合约,完成应用域名服务,包括管理和维护二级以上的域名信息。Part of the nodes constituting the CNS sub-chain are configured to complete application domain name services by executing the application domain name smart contract, including management and maintenance of domain name information above the second level.
  3. 根据权利要求2所述的域名管理系统,其特征在于,组成所述CNS子链的节点根据所执行的智能合约,分布式存储有所执行的智能合约对应的域名信息。The domain name management system according to claim 2, wherein the nodes constituting the CNS sub-chains distribute and store domain name information corresponding to the executed smart contract according to the executed smart contract.
  4. 根据权利要求2所述的域名管理系统,其特征在于,对于域名注册登记服务,组成所述CNS子链的节点被进一步配置为:The domain name management system according to claim 2, wherein for the domain name registration service, the nodes constituting the CNS sub-chain are further configured as:
    向根域名智能合约发起注册交易,触发根域名智能合约执行;Initiate a registration transaction to the root domain name smart contract to trigger the execution of the root domain name smart contract;
    根据所述注册交易,通过执行所述根域名智能合约反馈注册投票结果,所述注册投票结果包括接受或拒绝新增所述注册交易中的域名;According to the registration transaction, the registration voting result is fed back by executing the root domain name smart contract, and the registration voting result includes accepting or rejecting the addition of the domain name in the registration transaction;
    如果反馈的所述注册投票结果满足预设注册要求,通过所述根域名智能合约生成顶级域名智能合约;If the feedback of the registration voting result meets the preset registration requirements, generate a top-level domain name smart contract through the root domain name smart contract;
    在所述根域名智能合约中添加指向新生成顶级域名智能合约的记录。A record pointing to the newly generated top-level domain name smart contract is added to the root domain name smart contract.
  5. 根据权利要求4所述的域名管理系统,其特征在于,所述预设注册要求包括反馈的注册投票结果为接受的数量大于或等于第一投票数量值;或者,在预设投票周期内,反馈的注册投票结果为接受的数量大于或等于第二投票数量值。The domain name management system according to claim 4, wherein the preset registration requirements include that the feedback of the registration voting result is that the number of accepted votes is greater than or equal to the value of the first voting number; or, within the preset voting period, the feedback The result of registration voting is that the accepted quantity is greater than or equal to the second voting quantity value.
  6. 根据权利要求2所述的域名管理系统,其特征在于,对于域名查询服务,组成所述CNS子链的节点被进一步配置为:The domain name management system according to claim 2, wherein for the domain name query service, the nodes constituting the CNS sub-chain are further configured as:
    接收域名查询节点发送的查询交易;Receive the query transaction sent by the domain name query node;
    在所述查询交易中,提取域名信息;In the query transaction, extract domain name information;
    根据所执行的智能合约,提取与所述域名信息对应的DNS信息;According to the executed smart contract, extract the DNS information corresponding to the domain name information;
    将提取的所述DNS信息发送给域名查询节点。Send the extracted DNS information to the domain name query node.
  7. 根据权利要求2所述的域名管理系统,其特征在于,部分组成所述CNS子链的节点根据所执行的智能合约划分为合约所有者节点;对于域名更新服务,所述合约所 有者节点被进一步配置为:The domain name management system according to claim 2, wherein a part of the nodes that make up the CNS sub-chain are divided into contract owner nodes according to the executed smart contract; for domain name update services, the contract owner nodes are further Configured as:
    向更新节点所的执行智能合约的上级域名智能合约发起更新交易,触发执行上级域名智能合约进行更新服务;Initiate an update transaction to the upper-level domain name smart contract that executes the smart contract at the update node, and trigger the execution of the upper-level domain name smart contract to perform the update service;
    通过上级域名智能合约校验所述更新交易中的更新数据;以及,在校验通过后,调用所执行的智能合约;Verify the update data in the update transaction through the upper-level domain name smart contract; and, after the verification is passed, call the executed smart contract;
    根据所述更新数据,更新所执行的智能合约。According to the update data, the executed smart contract is updated.
  8. 根据权利要求7所述的域名管理系统,其特征在于,所述合约所有者节点包括:执行根域名智能合约的跟所有者节点、执行顶级域名智能合约的顶级所有者节点以及执行应用域名智能合约的应用所有者节点;The domain name management system according to claim 7, wherein the contract owner node includes: a follower node that executes a root domain name smart contract, a top-level owner node that executes a top-level domain name smart contract, and an application domain name smart contract that executes The application owner node;
    所述应用所有者节点对应的上级域名智能合约为根域名智能合约;所述顶级所有者节点对应的上级域名智能合约为根域名智能合约;所述应用所有者节点对应的上级域名智能合约为顶级域名智能合约和/或根域名智能合约。The upper-level domain name smart contract corresponding to the application owner node is the root domain name smart contract; the upper-level domain name smart contract corresponding to the top-level owner node is the root domain name smart contract; the upper-level domain name smart contract corresponding to the application owner node is the top-level domain name smart contract Domain name smart contract and/or root domain name smart contract.
  9. 一种基于区块链的域名管理系统,其特征在于,包括:由多个节点组成的公链,以及由所述公链中部分节点和至少一个DNS节点组成的CNS子链;所述公链的所有节点和所述DNS节点中均配置有根域名智能合约;A domain name management system based on blockchain, which is characterized by comprising: a public chain composed of multiple nodes, and a CNS sub-chain composed of some nodes in the public chain and at least one DNS node; the public chain All nodes in and the DNS nodes are configured with root domain name smart contracts;
    组成所述CNS子链的节点具有与所述公链的节点相同的智能合约和功能;The nodes constituting the CNS sub-chain have the same smart contracts and functions as the nodes of the public chain;
    组成所述CNS子链的节点被配置为:通过执行所述根域名智能合约,生成子域名智能合约;以及通过所述根域名智能合约和所述子域名智能合约,完成域名注册登记、查询以及更新服务;The nodes that make up the CNS sub-chain are configured to: execute the root domain name smart contract to generate a subdomain name smart contract; and through the root domain name smart contract and the subdomain name smart contract, complete domain name registration, query, and Update service;
    所述DNS节点被配置为对接DNS系统,使DNS系统中的节点通过所述DNS节点查询所述CNS子链中的域名信息;以及,使所述公链中的节点通过所述DNS节点查询所述DNS系统中的域名信息。The DNS node is configured to interface with the DNS system, so that the nodes in the DNS system can query the domain name information in the CNS sub-chain through the DNS node; and, the nodes in the public chain query the domain name information through the DNS node. Describe the domain name information in the DNS system.
  10. 根据权利要求9所述域名管理系统,其特征在于,所述子域名智能合约包括顶级域名智能合约和应用域名智能合约;The domain name management system according to claim 9, wherein the subdomain name smart contract includes a top-level domain name smart contract and an application domain name smart contract;
    部分组成所述CNS子链的节点和所述DNS节点被配置为:通过执行所述顶级域名智能合约,完成顶级域名服务,包括管理和维护二级域名信息;Part of the nodes that make up the CNS sub-chain and the DNS node are configured to complete top-level domain name services by executing the top-level domain name smart contract, including management and maintenance of second-level domain name information;
    部分组成所述CNS子链的节点和所述DNS节点被配置为:通过执行所述应用域名智能合约,完成应用域名服务,包括管理和维护二级以上的域名信息。Part of the nodes constituting the CNS sub-chain and the DNS node are configured to complete application domain name services by executing the application domain name smart contract, including management and maintenance of domain name information above the second level.
PCT/CN2020/094208 2019-09-06 2020-06-03 Domain name management system employing blockchain WO2021042784A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021513269A JP6954709B1 (en) 2019-09-06 2020-06-03 Domain name management system based on blockchain

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910842324.2 2019-09-06
CN201910842324.2A CN112468525B (en) 2019-09-06 2019-09-06 Domain name management system based on block chain

Publications (1)

Publication Number Publication Date
WO2021042784A1 true WO2021042784A1 (en) 2021-03-11

Family

ID=74807128

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/094208 WO2021042784A1 (en) 2019-09-06 2020-06-03 Domain name management system employing blockchain

Country Status (4)

Country Link
JP (1) JP6954709B1 (en)
CN (1) CN112468525B (en)
FR (1) FR3100677A1 (en)
WO (1) WO2021042784A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113112140B (en) * 2021-04-07 2022-04-19 中国电子科技网络信息安全有限公司 Chain code application intelligent contract ID management method suitable for block chain infrastructure service
CN113067836B (en) * 2021-04-20 2022-04-19 哈尔滨工业大学 Intelligent contract system based on decentralized DNS root zone management
CN113132384B (en) * 2021-04-20 2022-04-19 哈尔滨工业大学 Decentralized DNS root zone management system
CN115334088B (en) * 2022-08-15 2024-02-27 中国联合网络通信集团有限公司 Domain name system data synchronization method, device and system based on blockchain
US20240095733A1 (en) * 2022-09-21 2024-03-21 3Dns, Inc. Blockchain-based domain name registrar and management system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017162931A1 (en) * 2016-03-21 2017-09-28 Sébastien Dupont Method for managing the validation of messages relating to a message chain individually via a decentralised validation network
CN109711986A (en) * 2018-11-12 2019-05-03 深圳市步云科技有限公司 A kind of token application and award method based on cloud storage plateform system
CN109784761A (en) * 2019-01-31 2019-05-21 中国互联网络信息中心 Domain name ranking method, device, electronic equipment and storage medium based on block chain
CN110008665A (en) * 2019-03-05 2019-07-12 深圳前海微众银行股份有限公司 A kind of authority control method and device of block chain
CN110061838A (en) * 2019-04-28 2019-07-26 广州大学 A kind of the decentralization storage system and its realization, information retrieval method of DNS resource record

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110537346B (en) * 2017-03-06 2023-03-24 诺基亚技术有限公司 Safe decentralized domain name system
WO2018191882A1 (en) * 2017-04-19 2018-10-25 北京大学深圳研究生院 Domain name resolution system based on block chain
CN107613041B (en) * 2017-09-22 2020-06-05 中国互联网络信息中心 Domain name management system, domain name management method and domain name resolution method based on block chain
CN108389047B (en) * 2018-02-12 2021-07-09 南京思利华信息科技有限公司 Method for trading between parent chain and child chain in block chain and block chain network
PL3549324T3 (en) * 2018-11-16 2021-07-19 Advanced New Technologies Co., Ltd. A domain name management scheme for cross-chain interactions in blockchain systems
CN110012126B (en) * 2019-04-02 2022-01-21 哈尔滨工业大学(深圳) DNS system based on block chain technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017162931A1 (en) * 2016-03-21 2017-09-28 Sébastien Dupont Method for managing the validation of messages relating to a message chain individually via a decentralised validation network
CN109711986A (en) * 2018-11-12 2019-05-03 深圳市步云科技有限公司 A kind of token application and award method based on cloud storage plateform system
CN109784761A (en) * 2019-01-31 2019-05-21 中国互联网络信息中心 Domain name ranking method, device, electronic equipment and storage medium based on block chain
CN110008665A (en) * 2019-03-05 2019-07-12 深圳前海微众银行股份有限公司 A kind of authority control method and device of block chain
CN110061838A (en) * 2019-04-28 2019-07-26 广州大学 A kind of the decentralization storage system and its realization, information retrieval method of DNS resource record

Also Published As

Publication number Publication date
CN112468525A (en) 2021-03-09
CN112468525B (en) 2022-06-28
JP6954709B1 (en) 2021-10-27
FR3100677A1 (en) 2021-03-12
JP2021531707A (en) 2021-11-18

Similar Documents

Publication Publication Date Title
WO2021042784A1 (en) Domain name management system employing blockchain
US11657436B2 (en) Managing storage volume in a virtual computing infrastructure
WO2021042785A1 (en) Smart contract-based domain name management system
US10706025B2 (en) Database system providing single-tenant and multi-tenant environments
CN108234307A (en) Network method, network equipment and non-transitory computer-readable storage media
US8694653B2 (en) Targeted data transfer between operational domains
CN108234302A (en) Keep the consistency in the distributed operating system of network equipment
WO2022121538A1 (en) Data synchronization method and system based on blockchain, and related device
CN111131345B (en) Distributed node finder in multi-cloud computing environment
US11068461B1 (en) Monitoring key access patterns for nonrelational databases
CN111200642A (en) Authoritative DNS server information distribution method and system
US9760370B2 (en) Load balancing using predictable state partitioning
US11108703B1 (en) Consistent resource visibility during inter-cellular migrations using targeted pairwise scatter-gather techniques
US11778025B1 (en) Cross-region directory service

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2021513269

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20860720

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20860720

Country of ref document: EP

Kind code of ref document: A1