WO2021042784A1 - 一种基于区块链的域名管理*** - Google Patents

一种基于区块链的域名管理*** 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
English (en)
French (fr)
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/ja
Publication of WO2021042784A1 publication Critical patent/WO2021042784A1/zh

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/00Information and communication technology [ICT] specially adapted for implementation of business processes of 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

Definitions

  • 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.
  • a record pointing to the newly generated top-level domain name smart contract is added to the root domain name smart contract.
  • the contract owner node is further configured as:
  • the subdomain name smart contract includes a top-level domain name smart contract and an application domain name smart contract;
  • 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.
  • Figure 4 is a schematic diagram of the process of applying for a domain name query service
  • Figure 6 is a schematic structural diagram of another domain name management system based on blockchain in this application.
  • Figure 7 is a schematic diagram of the smart contract configuration of another blockchain-based domain name management system of 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.
  • FIG. 1 is a schematic diagram of the structure of a domain name management system based on blockchain in this application.
  • 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.
  • the nodes that make up the public chain can be called public chain nodes
  • the nodes that make up the CNS sub-chain can be called CNS sub-chain nodes.
  • the nodes in the public chain can be public chain nodes, and can also serve as CNS sub-chain nodes at the same time.
  • 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.
  • the node can send the domain name information to the domain name management system, that is, to the CNS sub-chain.
  • the CNS sub-chain node 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.
  • S101 Initiate a registration transaction to the root domain name smart contract to trigger the execution of the root domain name smart contract;
  • 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;
  • 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.
  • 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.
  • 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.
  • the nodes constituting the CNS sub-chain are further configured as:
  • 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.
  • 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.
  • 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;
  • the blockchain-based domain name management system 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 .
  • 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Health & Medical Sciences (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请提供一种基于区块链的域名管理***,包括:由多个节点组成的公链,以及由公链中部分节点组成的CNS子链。其中,公链的所有节点中均配置有根域名智能合约;组成CNS子链的节点具有与公链的节点相同的智能合约和功能;组成CNS子链的节点被配置为:通过执行根域名智能合约,生成子域名智能合约;以及通过根域名智能合约和子域名智能合约,完成域名注册登记、查询以及更新服务。本申请通过子链的形式,将DNS***部署在区块链网络中,可以实现完整的去中心化部署。并且通过子链节点执行根域名智能合约和子域名智能合约快速完成域名注册登记、查询以及更新服务,提高响应速度。

Description

一种基于区块链的域名管理***
本申请要求在2019年9月6日提交中国专利局、申请号为201910842324.2、发明名称为“一种基于区块链的域名管理***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及区块链网络技术领域,尤其涉及一种基于区块链的域名管理***。
背景技术
域名管理***,也称为域名***(DNS,Domain Name System)互联网的基础服务,其提供将域名解析为真实IP地址的功能,使得网络互联互通成为可能。作为互联网基础性的支持架构,DNS的根域名服务器是由ICANN控制,即DNS是一个中心化多层级***,违背网络的中立性原则。区块链技术的主要任务,是按照去中心化的***要求,基于公众共识的方式,创建一个相对客观的抗抵赖数字环境。基于区块链技术,可以保证网络信息的真实性。
因此,可以基于区块链技术构建去中心化的域名***,基于区块链的域名***(Blockchain Name System)是采用智能合约机制或域名协议机制,实现去中心化,开放和可扩展的域名***,例如基于以太坊的ENS和基于UTXO模型的Handshake。
其中,ENS的工作是将可读的域名(如“alice.eth”)映射到地址标识,例如以太坊账号地址,合约地址,文件地址元数据等。ENS通过在域的点分隔层名称***上运行,减少基础架构的复杂性。而Handshake通过定义一种无权限的域名协议,使每个参与节点都在验证并负责管理根区域,使得域名解析服务器会指向一个权威服务器,从而将需求提交给区块链网络,以代替证书授权机构。
可见,无论是ENS还是Handshake的运行要受限于区块链网络的性能,对于每天访问次数超过数十亿的DNS服务,无法满足需求。同时由于,区块链网络的共识和验证机制,使得DNS请求的响应速度比较慢,节点在发出DNS请求后的等待时间较长,影响BNS服务的推广及应用。
发明内容
本申请提供了一种基于区块链的域名管理***,以解决区块链域名***响应速度慢的问题。
一方面,本申请提供一种基于区块链的域名管理***,包括:由多个节点组成的公链,以及由所述公链中部分节点组成的CNS子链;所述公链的所有节点中均配置有根域名智能合约;
组成所述CNS子链的节点具有与所述公链的节点相同的智能合约和功能;
组成所述CNS子链的节点被配置为:通过执行所述根域名智能合约,生成子域名智能合约;以及通过所述根域名智能合约和所述子域名智能合约,完成域名注册登记、查询以及更新服务。
可选的,所述子域名智能合约包括顶级域名智能合约和应用域名智能合约;
部分组成所述CNS子链的节点被配置为:通过执行所述顶级域名智能合约,完成顶级域名服务,包括管理和维护二级域名信息;
部分组成所述CNS子链的节点被配置为:通过执行所述应用域名智能合约,完成应用域名服务,包括管理和维护二级以上的域名信息。
可选的,组成所述CNS子链的节点根据所执行的智能合约,分布式存储有所执行的智能合约对应的域名信息。
可选的,对于域名注册登记服务,组成所述CNS子链的节点被进一步配置为:
向根域名智能合约发起注册交易,触发根域名智能合约执行;
根据所述注册交易,通过执行所述根域名智能合约反馈注册投票结果,所述注册投票结果包括接受或拒绝新增所述注册交易中的域名;
如果反馈的所述注册投票结果满足预设注册要求,通过所述根域名智能合约生成顶级域名智能合约;
在所述根域名智能合约中添加指向新生成顶级域名智能合约的记录。
可选的,所述预设注册要求包括反馈的注册投票结果为接受的数量大于或等于第一投票数量值;或者,在预设投票周期内,反馈的注册投票结果为接受的数量大于或等于第二投票数量值。
可选的,对于域名查询服务,组成所述CNS子链的节点被进一步配置为:
接收域名查询节点发送的查询交易;
在所述查询交易中,提取域名信息;
根据所执行的智能合约,提取与所述域名信息对应的DNS信息;
将提取的所述DNS信息发送给域名查询节点。
可选的,部分组成所述CNS子链的节点根据所执行的智能合约划分为合约所有者节点;对于域名更新服务,所述合约所有者节点被进一步配置为:
向更新节点所的执行智能合约的上级域名智能合约发起更新交易,触发执行上级域名智能合约进行更新服务;
通过上级域名智能合约校验所述更新交易中的更新数据;以及,在校验通过后,调用所执行的智能合约;
根据所述更新数据,更新所执行的智能合约。
可选的,所述合约所有者节点包括:执行根域名智能合约的跟所有者节点、执行顶级域名智能合约的顶级所有者节点以及执行应用域名智能合约的应用所有者节点;
所述应用所有者节点对应的上级域名智能合约为根域名智能合约;所述顶级所有者节点对应的上级域名智能合约为根域名智能合约;所述应用所有者节点对应的上级域名智能合约为顶级域名智能合约和/或根域名智能合约。
另一方面,本申请还提供一种基于区块链的域名管理***,包括:由多个节点组成的公链,以及由所述公链中部分节点和至少一个DNS节点组成的CNS子链;所述公链的所有节点和所述DNS节点中均配置有根域名智能合约;
组成所述CNS子链的节点具有与所述公链的节点相同的智能合约和功能;
组成所述CNS子链的节点被配置为:通过执行所述根域名智能合约,生成子域名智能合约;以及通过所述根域名智能合约和所述子域名智能合约,完成域名注册登记、查询以及更新服务;
所述DNS节点被配置为对接DNS***,使DNS***中的节点通过所述DNS节点查询所述CNS子链中的域名信息;以及,使所述公链中的节点通过所述DNS节点查询所述DNS***中的域名信息。
可选的,所述子域名智能合约包括顶级域名智能合约和应用域名智能合约;
部分组成所述CNS子链的节点和所述DNS节点被配置为:通过执行所述顶级域名智能合约,完成顶级域名服务,包括管理和维护二级域名信息;
部分组成所述CNS子链的节点和所述DNS节点被配置为:通过执行所述应用域名智能合约,完成应用域名服务,包括管理和维护二级以上的域名信息。
由于以上技术方案可知,本申请提供一种基于区块链的域名管理***,包括:由多个节点组成的公链,以及由公链中部分节点组成的CNS子链。其中,公链的所有节点中均配置有根域名智能合约;组成CNS子链的节点具有与公链的节点相同的智能合约和功能;组成CNS子链的节点被配置为:通过执行根域名智能合约,生成子域名智能合约;以及通过根域名智能合约和子域名智能合约,完成域名注册登记、查询以及更新服务。本申请通过子链的形式,将DNS***部署在区块链网络中,可以实现完整 的去中心化部署。并且通过子链节点执行根域名智能合约和子域名智能合约快速完成域名注册登记、查询以及更新服务,提高响应速度。
附图说明
图1为本申请一种基于区块链的域名管理***的结构示意图;
图2为本申请一种基于区块链的域名管理***的智能合约配置示意图;
图3为本申请域名注册登记服务流程示意图;
图4为本申请域名查询服务流程示意图;
图5为本申请域名更新服务流程示意图;
图6为本申请另一种基于区块链的域名管理***的结构示意图;
图7为本申请另一种基于区块链的域名管理***的智能合约配置示意图。
具体实施方式
在本申请提供的技术方案中,区块链网络是指具有去中心化应用架构的点对点网络,所述区块链网络能够在网络内部进行分布式存储、公共共识、数字加密、交易记账以及验证。即区块链网络是涵盖了分布式技术、密码学、P2P网络架构以及各种可能被应用的共识算法的交易平台。
本申请中,区块链或区块链数据是指在区块链网络中发生交易时,根据交易信息生成的记账信息,即多笔交易组成一个区块数据,多个区块数据形成一条带有时间戳的区块链。区块链网络中,包括相互建立点对点网络连接的节点,每一个节点都配置有相应的共识机制,如智能合约,并且具有足够的运算能力,以进行交易验证和记账程序。节点上还具有符合某种统一标准的接口规范,以实现通过接口规范接入更多的节点或者其他类型的区块链网络。所述公链为区块链网络中多个节点组成的点对点网络结构,每个节点具有分布式存储功能和交易、记账功能;公链上的节点对外提供统一的接口规范。
参见图1,为本申请一种基于区块链的域名管理***的结构示意图。由图1可知,本申请提供的基于区块链的域名管理***,包括:由多个节点组成的公链,以及由所述公链中部分节点组成的CNS子链。实际应用中,为了便于描述,组成公链的节点可以称为公链节点,组成CNS子链的节点可以称为CNS子链节点。显然,本实施例中,公链中的节点可以是公链节点,也可以同时作为CNS子链节点。而CNS子链节点由于是由公链中的部分节点所组成,因此,其既是CNS子链节点又是公链节点。即,组成所述CNS子链的节点具有与所述公链的节点相同的智能合约和功能。
实际应用中,公链可以提供网络中的基础区块链服务,例如交易、验证、存储等。公链本身可以不具有任何领域对应的特定功能,而是作为一种桥梁,将接入公链的所 有子链(或第三方区块链网络)汇集到同一个区块链网络中,以使不同的接入链可以相互发生交易或传递信息。
在本申请提供的技术方案中,所有公链的节点中均配置有智能合约。智能合约是基于区块链交易而约定的共识机制程序,通过智能合约可以实现各种功能的交易运算,例如通过根域名智能合约,节点可以通过执行根域名智能合约完成域名注册登记、查询及更新服务。
为了实现域名服务,在本申请中,组成所述CNS子链的节点被配置为:通过执行所述根域名智能合约,生成子域名智能合约;以及通过所述根域名智能合约和所述子域名智能合约,完成域名注册登记、查询以及更新服务。
实际应用中,以通过域名访问服务器为例,当网络中的用户在终端(节点)的浏览器等应用中输入域名信息后,节点可以先在本地缓存中查询是否有该域名对应的IP地址,如果存在,直接提取对应的IP地址以与所述IP地址服务器建立通信连接。如果不存在,浏览器等应用可以将输入的域名信息发送到DNS服务器,进行域名查询。
因此,在本申请提供的技术方案中,节点可以将域名信息发送到域名管理***中,即发送到CNS子链中。CNS子链节点在接收到域名信息后,可以根据自身所执行的智能合约的不同查询与域名信息对应的IP地址。
由于在实际应用中,互联网中的域名数量较多,根据域名查询IP地址的数据处理量较大,因此还可以根据DNS域名查询的服务器层级关系,进一步将CNS子链中的节点划分为多个层级关系,以将DNS查询服务分级部署,不同的层级对应提供不同的查询范围。例如,还可以根据根域名智能合约进一步创建和部署子域名智能合约。其中,所述子域名智能合约包括顶级域名智能合约和应用域名智能合约。
为了实现对域名的查询,如图2所示,部分组成所述CNS子链的节点被配置为:通过执行所述顶级域名智能合约,完成顶级域名服务,即部分CNS子链的节点可以作为顶级域名服务器的功能,其中,顶级域名服务器的功能包括管理和维护二级域名信息。同理,部分组成所述CNS子链的节点被配置为:通过执行所述应用域名智能合约,完成应用域名服务,包括管理和维护二级以上的域名信息。
因此,CNS子链的节点在接收到域名信息后,首先,要判断当前CNS子链的节点能够提供该域名的查询,如果能,直接返回IP地址数据,如果不能,则需要按照应用域名、顶级域名、根域名的顺序依次进行查询。为了获得IP地址数据组成所述CNS子链的节点根据所执行的智能合约,分布式存储有所执行的智能合约对应的域名信息。
可见,在本申请提供的技术方案中,在CNS子链体系中的节点可以相互配合,完成如下工作:初始化并部署根域名智能合约;部署相关注册登记、查询、更新等智能合约;执行相关注册登记,查询,更新等智能合约;以及,存储并路由相关域名记录。
具体地,如图3所示,对于域名注册登记服务,组成所述CNS子链的节点被进一步配置为:
S101:向根域名智能合约发起注册交易,触发根域名智能合约执行;
S102:根据所述注册交易,通过执行所述根域名智能合约反馈注册投票结果,所述注册投票结果包括接受或拒绝新增所述注册交易中的域名;
S103:如果反馈的所述注册投票结果满足预设注册要求,通过所述根域名智能合约生成顶级域名智能合约;
S104:在所述根域名智能合约中添加指向新生成顶级域名智能合约的记录。
本实施例中,要注册到域名管理***中的服务器节点可以先向根域名智能合约发起注册交易,以触发根域名智能合约被对应的节点执行。节点在执行根域名智能合约后,可以根据针对注册交易进行投票,反馈投票结果。当反馈的投票结果满足预设的注册要求时,表明当前服务器域名可以注册到***中,因此,可以通过所述根域名智能合约生成顶级域名智能合约,并且在所述根域名智能合约中添加指向新生成顶级域名智能合约的记录。
其中,所述预设注册要求包括反馈的注册投票结果为接受的数量大于或等于第一投票数量值;或者,在预设投票周期内,反馈的注册投票结果为接受的数量大于或等于第二投票数量值。
以顶级域名服务(TLD)为例,在实际注册过程中,可以先通过向根域名智能合约发起交易的方式,触发根域名智能合约的执行;根域名智能合约的所有者,再通过投票或者其他方式,决定是否接受新增该TLD域名;根域名智能合约所有者,通过向根域名智能合约发起交易的方式,选择接受或者拒绝新增该TLD域名;如果接受注册,则新增交易成功,根域名智能合约生成并部署一个新的TLD智能合约,同时在根域名智能合约中新增对应的记录,指向新的TLD智能合约,从而完成新增工作。
在本申请的部分实施例中,如图4所示,对于域名查询服务,组成所述CNS子链的节点被进一步配置为:
S201:接收域名查询节点发送的查询交易;
S202:在所述查询交易中,提取域名信息;
S203:根据所执行的智能合约,提取与所述域名信息对应的DNS信息;
S204:将提取的所述DNS信息发送给域名查询节点。
实际应用中,域名查询节点可以当前区块链网络中的任一节点,其在访问网络的过程中,可在触发域名查询服务后,向执行的智能合约发起查询交易,查询交易中包 含要进行查询的域名信息。再根据所执行的智能合约,提取相应的DNS信息,再将提取的DNS信息发送给域名查询节点,完成域名查询服务。其中,对于不同的节点,其所执行的智能合约不同,因此在提取与所述域名信息对应的DNS信息时,其对应的域名查询方式也不同。例如,节点执行的是应用智能合约,则其查询范围为二级以上的域名;节点执行的是顶级域名合约,则其查询范围为顶级域名或二级域名;节点执行的是根域名智能合约,则其查询范围为根域名或一级域名。
在本申请的部分实施例中,如图5所示,对于域名更新服务,部分组成所述CNS子链的节点根据所执行的智能合约划分为合约所有者节点;所述合约所有者节点被进一步配置为:
S301:向更新节点所的执行智能合约的上级域名智能合约发起更新交易,触发执行上级域名智能合约进行更新服务;
S302:通过上级域名智能合约校验所述更新交易中的更新数据;以及,在校验通过后,调用所执行的智能合约;
S303:根据所述更新数据,更新所执行的智能合约。
本实施例中,所述合约所有者节点包括:执行根域名智能合约的跟所有者节点、执行顶级域名智能合约的顶级所有者节点以及执行应用域名智能合约的应用所有者节点。所述应用所有者节点对应的上级域名智能合约为根域名智能合约;所述顶级所有者节点对应的上级域名智能合约为根域名智能合约;所述应用所有者节点对应的上级域名智能合约为顶级域名智能合约和/或根域名智能合约。
以更新某个TLD域名为例,实际应用中,需要更新的TLD域名的所有者先通过交易的方式调用根域名智能合约进行更新;再通过根域名智能合约校验并通过更新,调用现有的TLD智能合约,进行相应的信息更新,以使TLD智能合约完成相应更新,并返回相应的结果;最后,根域名智能合约记录相应更新结果,完成更新操作。
由于以上技术方案可知,本申请提供一种基于区块链的域名管理***,包括:由多个节点组成的公链,以及由公链中部分节点组成的CNS子链。其中,公链的所有节点中均配置有根域名智能合约;组成CNS子链的节点具有与公链的节点相同的智能合约和功能;组成CNS子链的节点被配置为:通过执行根域名智能合约,生成子域名智能合约;以及通过根域名智能合约和子域名智能合约,完成域名注册登记、查询以及更新服务。本申请通过子链的形式,将DNS***部署在区块链网络中,可以实现完整的去中心化部署。并且通过子链节点执行根域名智能合约和子域名智能合约快速完成域名注册登记、查询以及更新服务,提高响应速度。
进一步地,为了提高区块链网络的验证和处理高并发交易的能力,本申请还可以进一步对公链架构进行优化调整,例如:节点角色划分、节点分组、分区验证等。由于CNS子链是通过公链中的部分节点组成的,因此,其可以完整继承公链的能力,也 就继承了公链快速验证和处理高并发交易的能力。
另外,在CNS子链网络中,相关的智能合约均通过交易及其交易验证的方式完成域名的注册登记,查询,更新等操作,通过标准的区块链网络共识算法,保障全网数据的一致性。因此,公链网络的高并发快速交易及其交易验证能力,可以保证CNS子链网络也具备相应的能力,从而有效改善现有网络性能不足的情况。
本申请还提供一种基于区块链的域名管理***,如图6所示,包括:由多个节点组成的公链,以及由所述公链中部分节点和至少一个DNS节点组成的CNS子链;所述公链的所有节点和所述DNS节点中均配置有根域名智能合约;
组成所述CNS子链的节点具有与所述公链的节点相同的智能合约和功能;
组成所述CNS子链的节点被配置为:通过执行所述根域名智能合约,生成子域名智能合约;以及通过所述根域名智能合约和所述子域名智能合约,完成域名注册登记、查询以及更新服务;
所述DNS节点被配置为对接DNS***,使DNS***中的节点通过所述DNS节点查询所述CNS子链中的域名信息;以及,使所述公链中的节点通过所述DNS节点查询所述DNS***中的域名信息。
本实施例提供的域名管理***中,可以通过将DNS***以一个CNS子链节点的方式添加到CNS子链中,这个节点即DNS节点。DNS节点可以是整个DNS***,也可以是DNS***中的一个节点,而DNS***可以通过这个节点与外界进行数据交互。可见,在本申请中,所述DNS节点,具有DNS权威域名服务器功能,域名解析服务器功能,同时也具有CNS子链功能的节点,以完成和传统DNS***的双向兼容。
同理,在本申请提供的技术方案中,如图7所示,所述子域名智能合约包括顶级域名智能合约和应用域名智能合约;部分组成所述CNS子链的节点和所述DNS节点被配置为:通过执行所述顶级域名智能合约,完成顶级域名服务,包括管理和维护二级域名信息;部分组成所述CNS子链的节点和所述DNS节点被配置为:通过执行所述应用域名智能合约,完成应用域名服务,包括管理和维护二级以上的域名信息。
可见,在CNS子链中,可以通过交易触发智能合约的执行,完成去中心化的域名注册登记,查询,更新等服务。实际应用中,对于传统的DNS***,可通过设置DNS节点,便捷的完成对于CNS域名的查询操作;同时,在区块链网络中的应用,如果需要访问DNS体系中的网络,也可以便捷地通过CNS子链中的DNS节点完成传统的DNS解析工作。
需要说明的是,本实施例从阶段性而言,在CNS子链中,并不会开放当前ICANN中已有的TLD顶级域名注册登记,但是通过DNS节点,以及区块链公链的IPFS网络,在CNS子链中可以进行DNS***的分布式镜像服务,将相关DNS数据进行备份和存储, 从而避免因DNS网络的故障导致无法访问的问题。而在长远的未来,CNS子链可以作为现有DNS网络的一个升级替换网络,无论是传统的DNS***,还是基于区块链的域名管理***,均可以统一由CNS子链网络提供相应的服务。
由以上技术方案可知,本申请还提供的基于区块链的域名管理***,包括:由多个节点组成的公链,以及由所述公链中部分节点和至少一个DNS节点组成的CNS子链。其中,组成所述CNS子链的节点被配置为:通过执行所述根域名智能合约,生成子域名智能合约;以及通过所述根域名智能合约和所述子域名智能合约,完成域名注册登记、查询以及更新服务;并且,所述DNS节点被配置为对接DNS***,使DNS***中的节点通过所述DNS节点查询所述CNS子链中的域名信息;以及,使所述公链中的节点通过所述DNS节点查询所述DNS***中的域名信息。通过在CNS子链中内置至少一个DNS节点,可以使基于区块链网络的域名管理***能够与传统DNS***进行对接,由于其作为CNS子链的节点,因此本质上所述CNS子链仍旧满足完整的去中心化需求。另外,可以通过对DNS***中少量节点的改造,即可将DNS***部署到区块链网络,可以减少部署工作量,提高域名管理***的应用范围。
本申请提供的实施例之间的相似部分相互参见即可,以上提供的具体实施方式只是本申请总的构思下的几个示例,并不构成本申请保护范围的限定。对于本领域的技术人员而言,在不付出创造性劳动的前提下依据本申请方案所扩展出的任何其他实施方式都属于本申请的保护范围。

Claims (10)

  1. 一种基于区块链的域名管理***,其特征在于,包括:由多个节点组成的公链,以及由所述公链中部分节点组成的CNS子链;所述公链的所有节点中均配置有根域名智能合约;
    组成所述CNS子链的节点具有与所述公链的节点相同的智能合约和功能;
    组成所述CNS子链的节点被配置为:通过执行所述根域名智能合约,生成子域名智能合约;以及通过所述根域名智能合约和所述子域名智能合约,完成域名注册登记、查询以及更新服务。
  2. 根据权利要求1所述的域名管理***,其特征在于,所述子域名智能合约包括顶级域名智能合约和应用域名智能合约;
    部分组成所述CNS子链的节点被配置为:通过执行所述顶级域名智能合约,完成顶级域名服务,包括管理和维护二级域名信息;
    部分组成所述CNS子链的节点被配置为:通过执行所述应用域名智能合约,完成应用域名服务,包括管理和维护二级以上的域名信息。
  3. 根据权利要求2所述的域名管理***,其特征在于,组成所述CNS子链的节点根据所执行的智能合约,分布式存储有所执行的智能合约对应的域名信息。
  4. 根据权利要求2所述的域名管理***,其特征在于,对于域名注册登记服务,组成所述CNS子链的节点被进一步配置为:
    向根域名智能合约发起注册交易,触发根域名智能合约执行;
    根据所述注册交易,通过执行所述根域名智能合约反馈注册投票结果,所述注册投票结果包括接受或拒绝新增所述注册交易中的域名;
    如果反馈的所述注册投票结果满足预设注册要求,通过所述根域名智能合约生成顶级域名智能合约;
    在所述根域名智能合约中添加指向新生成顶级域名智能合约的记录。
  5. 根据权利要求4所述的域名管理***,其特征在于,所述预设注册要求包括反馈的注册投票结果为接受的数量大于或等于第一投票数量值;或者,在预设投票周期内,反馈的注册投票结果为接受的数量大于或等于第二投票数量值。
  6. 根据权利要求2所述的域名管理***,其特征在于,对于域名查询服务,组成所述CNS子链的节点被进一步配置为:
    接收域名查询节点发送的查询交易;
    在所述查询交易中,提取域名信息;
    根据所执行的智能合约,提取与所述域名信息对应的DNS信息;
    将提取的所述DNS信息发送给域名查询节点。
  7. 根据权利要求2所述的域名管理***,其特征在于,部分组成所述CNS子链的节点根据所执行的智能合约划分为合约所有者节点;对于域名更新服务,所述合约所 有者节点被进一步配置为:
    向更新节点所的执行智能合约的上级域名智能合约发起更新交易,触发执行上级域名智能合约进行更新服务;
    通过上级域名智能合约校验所述更新交易中的更新数据;以及,在校验通过后,调用所执行的智能合约;
    根据所述更新数据,更新所执行的智能合约。
  8. 根据权利要求7所述的域名管理***,其特征在于,所述合约所有者节点包括:执行根域名智能合约的跟所有者节点、执行顶级域名智能合约的顶级所有者节点以及执行应用域名智能合约的应用所有者节点;
    所述应用所有者节点对应的上级域名智能合约为根域名智能合约;所述顶级所有者节点对应的上级域名智能合约为根域名智能合约;所述应用所有者节点对应的上级域名智能合约为顶级域名智能合约和/或根域名智能合约。
  9. 一种基于区块链的域名管理***,其特征在于,包括:由多个节点组成的公链,以及由所述公链中部分节点和至少一个DNS节点组成的CNS子链;所述公链的所有节点和所述DNS节点中均配置有根域名智能合约;
    组成所述CNS子链的节点具有与所述公链的节点相同的智能合约和功能;
    组成所述CNS子链的节点被配置为:通过执行所述根域名智能合约,生成子域名智能合约;以及通过所述根域名智能合约和所述子域名智能合约,完成域名注册登记、查询以及更新服务;
    所述DNS节点被配置为对接DNS***,使DNS***中的节点通过所述DNS节点查询所述CNS子链中的域名信息;以及,使所述公链中的节点通过所述DNS节点查询所述DNS***中的域名信息。
  10. 根据权利要求9所述域名管理***,其特征在于,所述子域名智能合约包括顶级域名智能合约和应用域名智能合约;
    部分组成所述CNS子链的节点和所述DNS节点被配置为:通过执行所述顶级域名智能合约,完成顶级域名服务,包括管理和维护二级域名信息;
    部分组成所述CNS子链的节点和所述DNS节点被配置为:通过执行所述应用域名智能合约,完成应用域名服务,包括管理和维护二级以上的域名信息。
PCT/CN2020/094208 2019-09-06 2020-06-03 一种基于区块链的域名管理*** WO2021042784A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021513269A JP6954709B1 (ja) 2019-09-06 2020-06-03 ブロックチェーンに基づくドメイン名管理システム

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910842324.2 2019-09-06
CN201910842324.2A CN112468525B (zh) 2019-09-06 2019-09-06 一种基于区块链的域名管理***

Publications (1)

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

Family

ID=74807128

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/094208 WO2021042784A1 (zh) 2019-09-06 2020-06-03 一种基于区块链的域名管理***

Country Status (4)

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

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113112140B (zh) * 2021-04-07 2022-04-19 中国电子科技网络信息安全有限公司 一种适应于区块链基础设施服务的链码应用智能合约id管理方法
CN113132384B (zh) * 2021-04-20 2022-04-19 哈尔滨工业大学 一种去中心化dns根区管理***
CN113067836B (zh) * 2021-04-20 2022-04-19 哈尔滨工业大学 一种基于去中心化dns根区管理的智能合约***
CN115334088B (zh) * 2022-08-15 2024-02-27 中国联合网络通信集团有限公司 一种基于区块链的域名***数据同步方法、装置及***
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 (fr) * 2016-03-21 2017-09-28 Sébastien Dupont Procédé permettant de gérer les validations des messages relatifs à une chaîne de messages de façon unitaire à travers un réseau de validation décentralisé
CN109711986A (zh) * 2018-11-12 2019-05-03 深圳市步云科技有限公司 一种基于云存储平台***的token应用与奖励方式
CN109784761A (zh) * 2019-01-31 2019-05-21 中国互联网络信息中心 基于区块链的域名评级方法、装置、电子设备及存储介质
CN110008665A (zh) * 2019-03-05 2019-07-12 深圳前海微众银行股份有限公司 一种区块链的权限控制方法及装置
CN110061838A (zh) * 2019-04-28 2019-07-26 广州大学 一种dns资源记录的去中心化存储***及其实现、信息检索方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110537346B (zh) * 2017-03-06 2023-03-24 诺基亚技术有限公司 安全去中心化域名***
US20190166085A1 (en) * 2017-04-19 2019-05-30 Peking University Shenzhen Graduate School Blockchain-based domain name resolution system
CN107613041B (zh) * 2017-09-22 2020-06-05 中国互联网络信息中心 基于区块链的域名管理***、域名管理方法和域名解析方法
CN108389047B (zh) * 2018-02-12 2021-07-09 南京思利华信息科技有限公司 区块链中母链与子链交易的方法及区块链网络
RU2718959C1 (ru) * 2018-11-16 2020-04-15 Алибаба Груп Холдинг Лимитед Схема управления доменными именами для кросс-цепочечных взаимодействий в блокчейн системах
CN110012126B (zh) * 2019-04-02 2022-01-21 哈尔滨工业大学(深圳) 一种基于区块链技术的dns***

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017162931A1 (fr) * 2016-03-21 2017-09-28 Sébastien Dupont Procédé permettant de gérer les validations des messages relatifs à une chaîne de messages de façon unitaire à travers un réseau de validation décentralisé
CN109711986A (zh) * 2018-11-12 2019-05-03 深圳市步云科技有限公司 一种基于云存储平台***的token应用与奖励方式
CN109784761A (zh) * 2019-01-31 2019-05-21 中国互联网络信息中心 基于区块链的域名评级方法、装置、电子设备及存储介质
CN110008665A (zh) * 2019-03-05 2019-07-12 深圳前海微众银行股份有限公司 一种区块链的权限控制方法及装置
CN110061838A (zh) * 2019-04-28 2019-07-26 广州大学 一种dns资源记录的去中心化存储***及其实现、信息检索方法

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2021042784A1 (zh) 一种基于区块链的域名管理***
US11657436B2 (en) Managing storage volume in a virtual computing infrastructure
WO2021042785A1 (zh) 基于智能合约的域名管理***
US10706025B2 (en) Database system providing single-tenant and multi-tenant environments
CN108234307A (zh) 网络方法、网络装置和非暂时性计算机可读存储介质
US8694653B2 (en) Targeted data transfer between operational domains
CN108234302A (zh) 保持网络装置用的分布式操作***中的一致性
WO2022121538A1 (zh) 基于区块链的数据同步方法、***及相关设备
US11442928B2 (en) Multi-tenant provider network database connection management and governance
US11068461B1 (en) Monitoring key access patterns for nonrelational databases
US20200137154A1 (en) Decentralized node finder in multi-cloud computing environment
US9760370B2 (en) Load balancing using predictable state partitioning
Sotiriadis et al. Advancing inter-cloud resource discovery based on past service experiences of transient resource clustering
CN111200642A (zh) 权威dns服务器信息分发方法及***
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