Block chain resource directory addressing analysis method and system based on domain name system

By introducing a hierarchical architecture based on DNS and recursive query mechanism into the blockchain system, the problems of poor interoperability and resource addressing difficulties are solved, efficient addressing and parsing across blockchain resources are achieved, and the interoperability and scalability of the system are enhanced.

CN119814726APending Publication Date: 2025-04-11CHINA INTERNET NETWORK INFORMATION CENTER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411968933.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-11

AI Technical Summary

Technical Problem

The current blockchain systems are independent of each other and lack effective interoperability, which leads to complex access and management of cross-blockchain resources and lacks a global addressing system, making it difficult for users to easily access and manage cross-chain resources.

Method used

The blockchain resource directory addressing and analysis method and system based on the domain name system are adopted to realize global addressing and analysis of blockchain resources through recursive service nodes and DNS-based hierarchical architecture. The system includes the root zone main chain, child chain and parser, and uses the recursive query mechanism for resource location and access.

Benefits of technology

It realizes efficient addressing and parsing across blockchain resources, enhances the interoperability of blockchain systems, and provides a unified and scalable resource catalog system that supports dynamic changes in different industries and regions to meet the shared utilization needs of cross-chain data resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119814726A_ABST
    Figure CN119814726A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of domain name systems and block chains, and relates to a block chain resource directory addressing analysis method and system based on a domain name system. The method comprises the following steps: establishing a recursive service node and a layered architecture based on a DNS for a block chain resource directory; and block chain resource directory addressing and analysis are carried out through a recursive query mechanism by utilizing recursive service nodes and a layered architecture based on a DNS (Domain Name Server). The layered architecture based on the DNS comprises a root zone main chain, a sub-chain and a resolver. The method is based on the domain name service infrastructure, supports the analysis and addressing of various data resources on the block chain based on the domain name system, can achieve the efficient addressing and analysis service of data resources on different block chains and alliance chains in combination with the hierarchical design of the main chain and the sub-chain of the block chain, meets the sharing and utilization demands of cross-chain data resources, and improves the efficiency of the data resources. And the method has good expandability, is beneficial to dynamic change of alliance chains of different industries and different regions under a uniform resource system architecture, and meets actual application requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of domain name system and blockchain technology, and specifically relates to a blockchain resource directory addressing and parsing method and system based on the domain name system. Background Art

[0002] The Domain Name System (DNS) is one of the basic services of the Internet. It provides people with an easy-to-understand and easy-to-remember way to access Internet resources. DNS enables users to easily access various network services by converting human-readable domain names (such as `www.example.com`) into IP addresses that computers can understand.

[0003] The working principle of DNS is based on a layered architecture, which mainly includes the following levels: 1) Root node (Root): This is the highest level of the DNS system, responsible for directing queries to top-level domain names (such as `.com`, `.org`). 2) Top-level domain name (TLD): such as `.com`, `.org` or country code top-level domain name (ccTLD, such as `.cn`). 3) Second-level domain name: subdomain under the top-level domain name, such as `example` in `example.com`. 4) Third-level domain name and others: further subdivided subdomains, such as

[0004] The success of the DNS system lies in its high scalability and recursive query mechanism, which enables users to obtain resource location information related to domain names through layers of queries.

[0005] In recent years, blockchain technology has developed rapidly and has gradually become an important infrastructure in a variety of application scenarios. Blockchain is a decentralized distributed ledger technology with the characteristics of immutability, transparency and trustlessness. The application of blockchain covers areas such as cryptocurrency, smart contracts, supply chain management, digital identity, and government approval.

[0006] However, with the widespread application of blockchain technology, the following challenges have emerged:

[0007] 1) Blockchain isolation: Currently, most blockchain systems are independent of each other and lack effective interoperability. Different blockchain networks usually have differences in technology stacks, consensus mechanisms, and data formats, making cross-blockchain resource access and management complex and inconvenient. Currently, cross-chain technology is constantly developing to solve the problem of blockchain isolation. However, existing cross-chain technologies focus more on data transmission and interoperability protocols rather than global addressing of resources. Existing cross-chain technologies include:

[0008] a) Cross-chain Bridges: These technologies allow the transfer of assets or data between different blockchains, but they usually require pre-configuration and are complex.

[0009] b) Interoperability protocols: Projects such as Polkadot and Cosmos are committed to establishing cross-chain interoperability standards, but they mainly focus on compatibility at the protocol layer rather than user-friendly resource addressing methods.

[0010] 2) Difficulty in resource addressing: On the Internet, users can easily access different network resources through DNS. However, in the blockchain field, there is no similar global addressing system, and it is difficult for users to conveniently access and manage cross-chain resources. In the blockchain field, the addressing and resolution of resources usually rely on mechanisms within a specific blockchain network, such as resource location through smart contracts, on-chain data structures, or protocols between nodes. Some existing resource addressing methods include:

[0011] a) Smart contract address: In some blockchain platforms (such as Ethereum), smart contract addresses are used to identify and access specific on-chain resources. However, this method is usually limited to a single blockchain network, and the readability of smart contract addresses is poor, which is not conducive to human users.

[0012] b) Decentralized domain name services: Projects such as ENS (Ethereum Name Service) attempt to provide DNS-like services for blockchains, allowing users to access blockchain resources through friendly domain names. However, these services are mainly focused on specific blockchain platforms and lack cross-chain operation capabilities. Summary of the invention

[0013] In view of the above problems, the present invention provides a blockchain resource directory addressing and parsing method and system based on the domain name system.

[0014] The technical solution adopted by the present invention is as follows:

[0015] In a first aspect, the present invention provides a blockchain resource directory addressing and parsing method based on a domain name system, comprising the following steps:

[0016] Establish recursive service nodes and DNS-based hierarchical architecture for blockchain resource directories;

[0017] Utilize recursive service nodes and a DNS-based hierarchical architecture to address and resolve blockchain resource directories through a recursive query mechanism.

[0018] Furthermore, the DNS-based hierarchical architecture includes a root zone main chain, a sub-chain, and a resolver; the root zone main chain manages the address resolution of the top-level blockchain through multiple root blockchain networks; the sub-chain represents a blockchain network of a specific industry, field or organization; the resolver performs local resolution file query according to the corresponding field in the blockchain data resource identifier, and feeds back the network address corresponding to the data resource to the recursive service node.

[0019] Furthermore, the recursive query mechanism includes:

[0020] The recursive service node receives the client's blockchain resource access request;

[0021] The recursive service node performs a local query. If the query is successful, the result is returned to the client. If the query is unsuccessful, the query request is sent to the root zone main chain.

[0022] The recursive service node sends a query request to the root zone main chain, and the root zone main chain returns the access information of the blockchain network corresponding to the top-level blockchain identifier;

[0023] The recursive service node sends a query request to the subchain, and the subchain returns access information for specific resources, including the resolver address;

[0024] The recursive service node sends the resolution request to the corresponding resolver according to the resolver address. The resolver performs a local resolution file query according to the corresponding field in the blockchain data resource identifier, and feeds back the network address corresponding to the data resource to the recursive service node. The recursive service node feeds back the resolution result returned by the resolver to the client.

[0025] Furthermore, the root zone main chain performs a matching query on a specific field of a blockchain data resource identifier according to its local management file, and feeds back the corresponding subchain address or resolver address to the recursive service node; the local management file is a smart contract or a zone file.

[0026] Furthermore, the recursive service node sends a resolution request to the subchain or resolver according to the feedback information of the root zone main chain; when sending a resolution request to the subchain, the subchain performs a matching query on the specific field of the blockchain data resource identifier according to the local management file, and feeds back the corresponding resolver address to the recursive service node; when sending a resolution request to the resolver, the resolver performs a matching query on the specific field of the blockchain data resource identifier according to the local management file, and feeds back the corresponding resolver address to the recursive service node, and the recursive service node feeds back the resolution information returned by the resolver to the client, and updates the local cache at the same time.

[0027] Furthermore, in the recursive query mechanism, the records returned by the blockchain include the following key fields:

[0028] Target blockchain identifier: The unique identifier of the target blockchain network, used to confirm the blockchain network currently being queried;

[0029] Target blockchain access information: including the RPC URL and smart contract address of the target blockchain node, which is used to help the client connect to the target blockchain.

[0030] Resolver contract address: indicates the resolver contract address on the target blockchain;

[0031] Other optional information: including sub-paths and additional information, wherein the additional information includes metadata of the resource and permission verification information.

[0032] Furthermore, the recursive service node is a recursive service node autonomously configured by the client in combination with the DNS service infrastructure, or a corresponding recursive service node automatically obtained through the DNS system.

[0033] In a second aspect, the present invention provides a blockchain resource directory addressing and resolution system based on a domain name system, comprising a recursive service node and a hierarchical architecture based on DNS; the hierarchical architecture based on DNS comprises a root zone main chain, a sub-chain, and a resolver; the recursive service node utilizes the hierarchical architecture based on DNS to perform blockchain resource directory addressing and resolution through a recursive query mechanism.

[0034] In a third aspect, the present invention provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, the computer program is configured to be executed by the processor, and the computer program comprises instructions for executing each step in the method of the present invention.

[0035] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a computer, the various steps of the method of the present invention are implemented.

[0036] The beneficial effects of the present invention are as follows:

[0037] The present invention is based on the domain name service infrastructure, supports parsing and addressing of various data resources on the blockchain based on the domain name system, and has higher reliability, security and stability than the newly built identification system;

[0038] The present invention is based on domain name service nodes and domain name resolution methods, combined with the hierarchical design of blockchain main chain and sub-chain, and can realize efficient addressing and resolution services for data resources on different blockchains / alliance chains, meeting the needs of cross-chain data resource sharing and utilization;

[0039] The top-down parsing method and service system architecture from the main chain, sub-chain to the parser in the present invention have good scalability, which helps to dynamically change the alliance chains in different industries and regions under a unified resource system architecture to meet actual application needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a flowchart of the steps of the blockchain resource directory addressing and parsing method based on the domain name system of the present invention.

[0041] Figure 2 It is a schematic diagram of the recursive parsing process of the present invention.

[0042] Figure 3 It is a structural diagram of a blockchain resource directory addressing and resolution system based on a domain name system of the present invention. DETAILED DESCRIPTION

[0043] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below through specific embodiments and drawings.

[0044] The present invention can solve the cross-chain addressing and parsing efficiency problems of data resources on the blockchain. Aiming at the application problems of the table-based data addressing method mainly adopted by the traditional data system set, such as the prominent addressing efficiency problems when the data is scattered, diverse, and large in scale, the present invention is based on the distributed and decentralized architecture of the blockchain, combined with DNS recursive resolution, data addressing and cache optimization methods, etc., which can effectively meet the application needs of new data resources such as distributed storage systems and cloud services. The main contents of the present invention include:

[0045] 1) Realize cross-blockchain resource addressing and resolution: This invention aims to break the isolation between different blockchain systems and realize cross-blockchain resource addressing and resolution by building a blockchain resource directory based on the hierarchical architecture of the Domain Name System (DNS). This will enable users to easily access resources distributed on different blockchains through friendly domain names or paths, just like using traditional DNS.

[0046] 2) Enhance the interoperability of blockchain systems: By learning from the recursive query mechanism of DNS, the present invention will design a recursive query blockchain resource resolution method, so that users can gradually query the resource information on the target blockchain. This mechanism can not only improve the efficiency of resource resolution, but also effectively enhance the interoperability between different blockchain systems.

[0047] 3) Provide a unified and scalable resource directory: The present invention will introduce a unified resource directory system in the blockchain environment. The system will adopt a layered architecture, where each layer corresponds to a different blockchain or resources within the blockchain. This architecture will be highly scalable and can adapt to various types of blockchain systems (such as public chains, private chains, and alliance chains), and support future expansion and evolution.

[0048] The present invention proposes a blockchain resource directory addressing and resolution method based on the domain name system (DNS) architecture, aiming to create a resource resolution system suitable for the blockchain environment by drawing on the hierarchical architecture and recursive query mechanism of DNS. The system will solve the isolation problem of the current blockchain system, focusing on the design of recursive service nodes, main chains, subchains and resolver nodes to realize the addressing, resolution and access services of data resources on the blockchain. The data resources described in the present invention include but are not limited to identity certificates, smart contracts, wallet addresses, databases / tables, interface addresses and other forms.

[0049] The present invention proposes a blockchain resource directory addressing and parsing method based on the domain name system, and its main steps are as follows: Figure 1 As shown, the following steps are included:

[0050] S101: Establish recursive service nodes and DNS-based hierarchical architecture for blockchain resource directories;

[0051] The blockchain resource directory addressing system of the present invention adopts a hierarchical architecture similar to DNS, which mainly includes the following levels:

[0052] Root zone main chain: This is the highest level of the blockchain resource directory and is responsible for managing the resolution of top-level blockchain identifiers. The root zone main chain manages the address resolution of top-level blockchains through multiple root blockchain networks, but the root zone main chain identifier is hidden in the naming to simplify the user experience.

[0053] Subchain: A subchain represents a blockchain network for a specific industry, field, or organization, such as a blockchain network for the financial industry or a blockchain for a government department.

[0054] Parser: This is the most detailed level. The parser will perform local parsing file queries based on the corresponding fields in the blockchain data resource identifier and feedback the network address corresponding to the data resource to the recursive service node.

[0055] S102: Using recursive service nodes and a DNS-based hierarchical architecture, blockchain resource directory addressing and resolution are performed through a recursive query mechanism.

[0056] The present invention draws on the recursive query mechanism of DNS and designs a resource resolution method suitable for blockchain systems. When a user needs to access a blockchain resource, the client first sends a request to the recursive service node, which is responsible for querying information from data resource management nodes at all levels (root main chain, subchain and resolver node), which is mainly divided into the following steps:

[0057] (1) Local query: Perform a local query. If the query is successful, the result will be returned. If the query is unsuccessful, the query request will be sent to the root zone main chain.

[0058] (2) Root zone main chain query: The recursive service node first sends a query request to the root zone main chain, and the root zone main chain returns the access information of the blockchain network corresponding to the top-level blockchain identifier. This information includes the subchain identifier, node information (such as RPC URL), and smart contract address.

[0059] (3) Subchain query: The recursive service node further sends a query request to the secondary blockchain, i.e., the subchain, and the subchain returns access information of specific resources, including the resolver address, etc.

[0060] (4) Resource acquisition: The recursive service node sends the resolution request to the corresponding resolver. The resolver performs a local resolution file query based on the corresponding field in the blockchain data resource identifier and feeds back the network address corresponding to the data resource to the recursive service node. The recursive service node feeds back the resolution result to the user, completing the resolution process.

[0061] During the recursive query process, the records returned by the blockchain need to contain enough information so that the client can correctly resolve the resources on the target blockchain. The structure of the records returned by the blockchain includes the following key fields:

[0062] (1) Target blockchain identifier: a unique identifier of the target blockchain network, used to confirm the blockchain network being queried.

[0063] (2) Target blockchain access information: including the RPC URL and smart contract address of the target blockchain node, which helps the client connect to the target blockchain.

[0064] (3) Resolver Contract Address: Indicates the resolver contract address on the target blockchain. The client can obtain more detailed resource information by calling this contract.

[0065] (4) Other optional information: including sub-paths, additional information (such as resource metadata, permission verification information, etc.). The sub-path refers to the path of the sub-class resources contained in the current domain name path.

[0066] In one embodiment of the present invention, a scalable blockchain data resource recursive resolution and addressing method is designed in combination with blockchain technology and DNS domain name management system application. According to the data resource identifier, combined with the data resource identifier resolution service architecture, the addressing and resolution tasks can be allocated to different blockchain levels and resolution servers step by step to provide more efficient resolution services. The specific process is as follows:

[0067] 1) The user or application software initiates a blockchain data resource identifier resolution request to the recursive service node.

[0068] 2) The recursive service node queries the local cache; if the query is successful, the parsing result is directly fed back to the user; if the query is unsuccessful, the complete recursive parsing process is started, such as Figure 2 As shown;

[0069] 3) The recursive service node sends the above parsing request to the blockchain data resource service main chain. The main chain matches and queries the specific fields of the blockchain data resource identifier based on the local management file, and feeds back the corresponding sub-chain address or parser address to the recursive service node.

[0070] 4) The recursive service node sends a resolution request to the subchain or resolver based on the feedback information. When sending a resolution request to a subchain, the subchain matches and queries the specific fields of the blockchain data resource identifier based on the local management file, and feeds back the corresponding resolver address to the recursive service node; when sending a resolution request to the resolver, the resolver matches and queries the specific fields of the blockchain data resource identifier based on the local management file, and feeds back the corresponding resolver address to the recursive service node;

[0071] 5) The recursive service node feeds back the parsing information returned by the parser to the user and updates the local cache to achieve cache optimization;

[0072] 6) The user further accesses the corresponding blockchain data resources based on the analysis results.

[0073] In summary, the corresponding blockchain data resource addressing and parsing method in the present invention includes the following key points:

[0074] Combined with the DNS service infrastructure, users (devices) can independently configure their corresponding recursive service nodes, or automatically obtain the corresponding recursive service nodes through the DNS system;

[0075] The recursive service node can trigger the addressing and parsing process starting from the main chain according to the blockchain data resource identifier, which includes:

[0076] The root zone main chain can match and query specific fields of blockchain data resource identifiers based on its local management files, and feed back the corresponding subchain address or resolver address to the recursive service node; the local management file can be in the form of smart contracts, zone files, etc.

[0077] The subchain can match and query specific fields of blockchain data resource identifiers based on its local management files, and feed back the corresponding resolver address to the recursive service node;

[0078] The parser can feed back the final parsing results of blockchain data resources to the recursive service node;

[0079] The structural design of blockchain return records, including the selection of fields and their application in recursive query and resource resolution;

[0080] Users can further access data resources on the blockchain based on the parsing results fed back by the recursive service nodes.

[0081] Another embodiment of the present invention provides a blockchain resource directory addressing and parsing system based on a domain name system, such as Figure 3 As shown, the system includes a recursive service node 201 and a DNS-based hierarchical architecture 202; the DNS-based hierarchical architecture 202 includes a root zone main chain 203, a subchain 204, and a resolver 205; the recursive service node uses the DNS-based hierarchical architecture to perform blockchain resource directory addressing and resolution through a recursive query mechanism. The root zone main chain 203 manages the address resolution of the top blockchain through multiple root blockchain networks; the subchain 204 represents a blockchain network of a specific industry, field or organization; the resolver 205 performs local resolution file query according to the corresponding field in the blockchain data resource identifier, and feeds back the network address corresponding to the data resource to the recursive service node.

[0082] The specific implementation process of the root zone main chain, sub-chain, resolver and recursive query mechanism refers to the above description of the method of the present invention.

[0083] Another embodiment of the present invention provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, the computer program is configured to be executed by the processor, and the computer program comprises instructions for executing each step in the method of the present invention.

[0084] Another embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a computer, the steps of the method of the present invention are implemented.

[0085] The specific embodiments of the present invention disclosed above are intended to help understand the content of the present invention and implement it accordingly. It can be understood by those skilled in the art that various replacements, changes and modifications are possible without departing from the spirit and scope of the present invention. The present invention should not be limited to the contents disclosed in the embodiments of this specification, and the scope of protection of the present invention shall be subject to the scope defined in the claims.

Claims

1. A blockchain resource directory addressing and parsing method based on a domain name system, characterized in that: The following steps are involved: Establish recursive service nodes and DNS-based hierarchical architecture for blockchain resource directories; Utilize recursive service nodes and a DNS-based hierarchical architecture to address and resolve blockchain resource directories through a recursive query mechanism.

2. The method according to claim 1, characterized in that The DNS-based hierarchical architecture includes a root zone main chain, a sub-chain, and a resolver; the root zone main chain manages the address resolution of the top-level blockchain through multiple root blockchain networks; the sub-chain represents a blockchain network of a specific industry, field or organization; the resolver performs a local resolution file query based on the corresponding field in the blockchain data resource identifier, and feeds back the network address corresponding to the data resource to the recursive service node.

3. The method according to claim 2, characterized in that The recursive query mechanism includes: The recursive service node receives the client's blockchain resource access request; The recursive service node performs a local query. If the query is successful, the result is returned to the client. If the query is unsuccessful, the query request is sent to the root zone main chain. The recursive service node sends a query request to the root zone main chain, and the root zone main chain returns the access information of the blockchain network corresponding to the top-level blockchain identifier; The recursive service node sends a query request to the subchain, and the subchain returns access information for specific resources, including the resolver address; The recursive service node sends the resolution request to the corresponding resolver according to the resolver address. The resolver performs a local resolution file query according to the corresponding field in the blockchain data resource identifier, and feeds back the network address corresponding to the data resource to the recursive service node. The recursive service node feeds back the resolution result returned by the resolver to the client.

4. The method according to claim 3, characterized in that The root zone main chain performs a matching query on the specific field of the blockchain data resource identifier according to its local management file, and feeds back the corresponding subchain address or resolver address to the recursive service node; The local management file is a smart contract or a zone file.

5. The method according to claim 4, characterized in that The recursive service node sends a resolution request to the subchain or resolver according to the feedback information of the root zone main chain; when sending a resolution request to the subchain, the subchain performs a matching query on the specific field of the blockchain data resource identifier according to the local management file, and feeds back the corresponding resolver address to the recursive service node; when sending a resolution request to the resolver, the resolver performs a matching query on the specific field of the blockchain data resource identifier according to the local management file, and feeds back the corresponding resolver address to the recursive service node, and the recursive service node feeds back the resolution information returned by the resolver to the client, and updates the local cache at the same time.

6. The method according to claim 3, characterized in that In the recursive query mechanism, the records returned by the blockchain include the following key fields: Target blockchain identifier: the unique identifier of the target blockchain network, used to confirm the blockchain network currently being queried; Target blockchain access information: including the RPC URL and smart contract address of the target blockchain node, which is used to help the client connect to the target blockchain. Resolver contract address: indicates the resolver contract address on the target blockchain; Other optional information: including sub-paths and additional information, wherein the additional information includes metadata of the resource and permission verification information.

7. The method according to claim 1, characterized in that The recursive service node is a recursive service node that is autonomously configured by the client in combination with the DNS service infrastructure, or a corresponding recursive service node that is automatically obtained through the DNS system.

8. A blockchain resource directory addressing and resolution system based on a domain name system, characterized in that: It includes a recursive service node and a hierarchical architecture based on DNS; the hierarchical architecture based on DNS includes a root zone main chain, a sub-chain, and a resolver; the recursive service node uses the hierarchical architecture based on DNS to perform blockchain resource directory addressing and resolution through a recursive query mechanism.

9. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, the computer program is configured to be executed by the processor, and the computer program comprises instructions for executing the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a computer, the method according to any one of claims 1 to 7 is implemented.