Domain name management method and system based on block chain and oracle machine

By introducing oracles and knowledge graphs into the blockchain domain name system, combining the prefix tree structure and cross-verification mechanism, the shortcomings in the blockchain domain name system in terms of security and compatibility are solved, and higher security and query efficiency are achieved, effectively preventing the abuse and registration of domain names.

CN119814724AActive Publication Date: 2025-04-11UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411947908.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-04-11
Estimated Expiration
2044-12-27

Smart Images

  • Figure CN119814724A_ABST
    Figure CN119814724A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of Internet, in particular to a domain name management method and system based on a block chain and an oracle machine. Comprising a domain name registration initiation step, a domain name distribution step, a duplication name detection step, a domain name query step, a domain name updating step and a domain name renewal step, and a registration request analyzes text semantics through an oracle machine and a knowledge graph to generate high-correlation candidate domain names; according to duplicate name detection, the state of the domain names outside the chain is inquired through the oracle machine, conflicts are avoided, a prefix tree structure and a cross validation mechanism are adopted for inquiry, the inquiry efficiency and safety are improved, the knowledge graph, the oracle machine and the block chain are combined, the safety of the domain name system is remarkably improved, and the user experience is improved. And while the single-point fault risk of the domain name system is reduced, domain name abuse and domain name rush injection behaviors can be resisted through a domain name distribution mechanism.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet technology, and in particular to a domain name management method and system based on blockchain and oracle. Background Art

[0002] Blockchain has the characteristics of high degree of decentralization, openness, transparency, traceability and tamper-proof, and has become one of the innovative technologies that has attracted much attention worldwide. In the early days of blockchain technology development, smart contracts mainly relied on on-chain data, which made its application scenarios relatively narrow. Many real-world applications, such as financial transactions, insurance claims and supply chain management, often rely on external information, such as market prices and weather data. However, the closed nature of blockchain makes it extremely difficult to obtain this off-chain data, resulting in smart contracts unable to fully realize their potential. In response to this demand, blockchain oracles came into being. Oracles promote the development of blockchain applications by introducing off-chain data into blockchain smart contracts, and play a vital role as a bridge between blockchain and the real world. The blockchain-based domain name system is one of its key applications.

[0003] NameCoin is the first blockchain-based domain name system solution. Users can communicate with its network through remote calls. Users can directly register domain names in the Namecoin blockchain by initiating transactions. The behavior of users applying for domain names has not been effectively managed, and the problem of domain name squatting cannot be effectively prevented. Blockstack then transferred the blockchain domain name system to Bitcoin to increase the difficulty of attacks, but its performance is limited by the Bitcoin system and the transaction processing speed is low. In order to solve the problem of domain name squatting, HandShake uses the Vickrey auction mechanism to limit attackers from registering a large number of domain names in a short period of time. Initiating a domain name registration under the Vickrey auction mechanism will first enter the auction stage, during which all users can send their bids to the HandShake network. In the end, the user with the highest bid will obtain the domain name and only have to pay the second highest bid.

[0004] The application of blockchain technology in the DNS field has brought more transparency and security to the domain name system. But at the same time, malware is also using technologies such as the Domain Name Generation Algorithm (DGA) to challenge the security of the domain name system. It is difficult to determine domain name abuse in a distributed domain name system. Attackers can use the domain name generation algorithm to generate and register a series of random malicious domain names to facilitate malware communication. Therefore, how to improve the security and compatibility of the blockchain domain name system and effectively prevent domain name abuse has become a problem that needs to be solved urgently in the current blockchain domain name system. Summary of the invention

[0005] The purpose of the present invention is to provide a domain name management method and system based on blockchain and oracle, to solve the problem of how to improve the security and compatibility of the blockchain domain name system, and to effectively prevent the abuse of domain names, which has become a difficult problem to be solved urgently in the current blockchain domain name system.

[0006] To achieve the above object, the present invention provides a domain name management method based on blockchain and oracle, comprising the following steps:

[0007] Domain name registration initiation: User submits domain name registration request R init <A,C,L,PK> , generate a registration transaction and broadcast it on the chain, record the request and hand it over to the subsequent knowledge graph to generate the domain name and duplicate name check update process;

[0008] Domain name allocation: After receiving the domain name registration request submitted by the user, the blockchain submits the request to the oracle node. The oracle performs semantic segmentation on the text content C submitted by the user through natural language processing, extracts the key concepts, and then selects the top n concept sets H with the highest semantic similarity to generate the candidate domain name set D;

[0009] Domain name detection: Call the external API through the oracle in the blockchain to query the off-chain domain name system data, and initiate a DNS query for each domain name di in D in order of similarity from high to low;

[0010] Domain name query: For non-full nodes, a cross-validation query mechanism will be used. When a user initiates a query, the user randomly selects m nodes from the network to send a query request;

[0011] Domain name update: The user submits an update request, and the verification node in the blockchain network checks whether the Sign submitted by the user matches the public key PK in the existing record. If the signature verification passes, the resolution address is updated;

[0012] Domain name renewal: In order to ensure that the domain name registrant can continue to use the existing domain name resources, the user initiates a domain name lease renewal request before or after the domain name expires within a certain grace period. The user submits a renewal request <Sign,d s ,Renew>,To ensure the legitimacy of the identity of the renewer, the signature of the renewer is verified. If the signature verification passes, the domain name is renewed.

[0013] Among them, in the step "Domain Name Registration Initiation", A is the resource address associated with the domain name, C is the text description of the application associated with the address, L is the level of the domain name, and PK represents the user's public key.

[0014] Among them, in the step "Domain Name Allocation", the oracle first performs semantic segmentation on the text content C submitted by the user through natural language processing and extracts the key concept K therein. The calculation process is as follows:

[0015] K=Seg(C)={c1,c2,...,c n},n≥L

[0016] Among them, c i Represents the key information extracted from the text content C. For each L different concepts in each set K, the concept set K i <c1,c2,...,c L >, use the knowledge graph to calculate the semantic similarity Sim(K i ), after calculating the similarity of all concept sets, select the top n concept sets H with the highest semantic similarity as the basis for domain name generation, and obtain the candidate domain name set D = {d1, d2, ..., d n}, which improves the semantic relevance and recognition of domain names in the system.

[0017] Among them, in the step "domain name allocation", the semantic similarity Sim(K i ), the calculation process is as follows:

[0018]

[0019] path_length(K i )=∑length(C i ,C j ),(C i ,C j )∈K i ×K i ,C i ≠C j

[0020] in, Used to represent the concept set K i The sum of the weight coefficients of the concepts in the domain name knowledge graph is used to quantify the frequency of the concept set appearing in the domain name knowledge graph, path_length (K i ) represents K i The sum of the shortest path lengths of the concepts in the knowledge graph is squared to enhance the effect of path length on similarity.

[0021] Among them, in step "domain name query", for full-node query, in order to perform efficient DNS domain name query locally, each full-node maintains a prefix compression tree, in which each node represents the prefix of the domain name. This structure can control the complexity of domain name search within O(n) on the basis of ensuring data consistency, where n is the length of the domain name. At the same time, this structure can reduce the number of redundant nodes. Suppose a domain name is d={d1,d2,…,d n}, where d i represents the domain name prefix of the i-th layer. For each domain name d, the query process can be expressed as a recursive function Query(T,d), which is defined as follows:

[0022]

[0023] For non-full-node queries, some nodes return incorrect DNS data. A cross-validation mechanism is used to ensure that the domain name information received by the user is credible. When the user initiates a query, the user randomly selects m nodes from the network to send a query request. Let S represent the query result set, r i represents the return result of the i-th node, then:

[0024] S={r1,r2,...,r m}.

[0025] The calculation process of the cross-validation method used to query DNS data in step "Domain Name Query" is as follows:

[0026]

[0027] Where m is the total number of nodes participating in the query. To determine the final domain name resolution result, the user performs a multi-node consistency check on the results in set S. If the proportion of the majority result exceeds the threshold θ, the result is considered to be the correct DNS resolution, and, represents the indicator function, r mode is the result that appears most frequently in S. If this condition is not met, the user considers that there is an abnormality in this query and re-initiates the DNS query request until a result that meets the condition is obtained.

[0028] In step "Domain Name Update", the user submits an update request <Sign,d s ,A',Update>, where the Sign user's signature is used to verify the registrant's identity, ds is the domain name for requesting to change the resource address, and A' represents the updated resource address. Assume that the existing domain name record D is <d s,A,C,L,PK,T>,where A represents the unupdated resource address, C represents the resource content submitted by the user when registering the domain name, L represents the domain name level, PK represents the user's public key, and T represents the domain name lease. The verification node in the blockchain network first checks whether the Sign submitted by the user matches the public key PK in the existing record. If the signature verification passes, the resolution address is updated.

[0029] The present invention also provides a domain name management system based on blockchain and oracle, which is applied to the domain name management method based on blockchain and oracle as described above.

[0030] The present invention discloses a domain name management method and system based on blockchain and oracle, including a domain name registration initiation step, a domain name allocation step, a duplicate name detection step, a domain name query step, a domain name update step and a domain name renewal step. The registration request parses text semantics through an oracle and a knowledge graph to generate a highly relevant candidate domain name; the duplicate name detection queries the status of off-chain domain names through an oracle to avoid conflicts, and the query adopts a prefix tree structure and a cross-validation mechanism to improve query efficiency and security. The technical solution utilizes a combination of knowledge graphs, oracles and blockchains to significantly improve the security of the domain name system, reduce the risk of single-point failures in the domain name system, and can also resist domain name abuse and domain name preemptive registration through a domain name allocation mechanism. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0032] Figure 1 It is an operation diagram of the domain name management method based on blockchain and oracle provided by the present invention. DETAILED DESCRIPTION

[0033] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0034] See also Figure 1 The present invention provides a domain name management method based on blockchain and oracle, comprising the following steps:

[0035] Domain name registration initiation: User submits domain name registration request R init<A,C,L,PK>, generate a registration transaction and broadcast it on the chain, record the request and hand it over to the subsequent knowledge graph to generate the domain name and duplicate name check update process;

[0036] Domain name allocation: After receiving the domain name registration request submitted by the user, the blockchain submits the request to the oracle node. The oracle performs semantic segmentation on the text content C submitted by the user through natural language processing, extracts the key concepts, and then selects the top n concept sets H with the highest semantic similarity to generate the candidate domain name set D;

[0037] Domain name detection: Call the external API through the oracle in the blockchain to query the off-chain domain name system data, and initiate a DNS query for each domain name di in D in order of similarity from high to low;

[0038] Domain name query: For non-full nodes, a cross-validation query mechanism will be used. When a user initiates a query, the user randomly selects m nodes from the network to send a query request;

[0039] Domain name update: The user submits an update request, and the verification node in the blockchain network checks whether the Sign submitted by the user matches the public key PK in the existing record. If the signature verification passes, the resolution address is updated;

[0040] Domain name renewal: In order to ensure that the domain name registrant can continue to use the existing domain name resources, the user initiates a domain name lease renewal request before or after the domain name expires within a certain grace period. The user submits a renewal request <Sign,d s ,Renew>,To ensure the legitimacy of the identity of the renewer, the signature of the renewer is verified. If the signature verification passes, the domain name is renewed.

[0041] In this embodiment, the technical solution includes a domain name registration initiation step, a domain name allocation step, a duplicate name detection step, a domain name query step, a domain name update step and a domain name renewal step. The registration request parses the text semantics through an oracle and a knowledge graph to generate a highly relevant candidate domain name; the duplicate name detection queries the off-chain domain name status through an oracle to avoid conflicts, and the query adopts a prefix tree structure and a cross-validation mechanism to improve query efficiency and security. The technical solution utilizes a combination of knowledge graphs, oracles and blockchains to significantly improve the security of the domain name system, reduce the risk of single point failures in the domain name system, and can also resist domain name abuse and domain name squatting through a domain name allocation mechanism.

[0042] Furthermore, in the step "Domain Name Registration Initiation", A is the resource address associated with the domain name, C is the text description of the application associated with the address, L is the level of the domain name, and PK represents the user's public key.

[0043] Furthermore, in the step “Domain Name Allocation”, the oracle first performs semantic segmentation on the text content C submitted by the user through natural language processing and extracts the key concept K therein. The calculation process is as follows:

[0044] K=Seg(C)={c1,c2,...,c n},n≥L

[0045] Among them, c i Represents the key information extracted from the text content C. For each L different concepts in each set K, the concept set K i <c1,c2,...,c L >, use the knowledge graph to calculate the semantic similarity Sim(K i ), after calculating the similarity of all concept sets, select the top n concept sets H with the highest semantic similarity as the basis for domain name generation, and obtain the candidate domain name set D = {d1, d2, ..., d n}, which improves the semantic relevance and recognition of domain names in the system.

[0046] Furthermore, in the step “Domain Name Allocation”, the semantic similarity Sim(K i ), the calculation process is as follows:

[0047]

[0048] path_length(K i )=∑length(C i ,C j ),(C i ,C j )∈K i ×K i ,C i ≠C j

[0049] in, Used to represent the concept set K i The sum of the weight coefficients of the concepts in the domain name knowledge graph is used to quantify the frequency of the concept set appearing in the domain name knowledge graph, path_length (K i ) represents K i The sum of the shortest path lengths of the concepts in the knowledge graph is squared to enhance the effect of path length on similarity.

[0050] Furthermore, in step “domain name query”, for full-node query, in order to perform efficient DNS domain name query locally, each full-node maintains a prefix compression tree, where each node represents the prefix of the domain name. This structure can control the complexity of domain name search within O(n) on the basis of ensuring data consistency, where n is the length of the domain name. At the same time, this structure can reduce the number of redundant nodes. Suppose a domain name is d={d1,d2,…,d n}, where d i represents the domain name prefix of the i-th layer. For each domain name d, the query process can be expressed as a recursive function Query(T,d), which is defined as follows:

[0051]

[0052] For non-full-node queries, some nodes return incorrect DNS data. A cross-validation mechanism is used to ensure that the domain name information received by the user is credible. When the user initiates a query, the user randomly selects m nodes from the network to send a query request. Let S represent the query result set, r i represents the return result of the i-th node, then:

[0053] S={r1,r2,...,r m}.

[0054] Furthermore, the calculation process of the cross-validation method used to query the DNS data query in step "domain name query" is as follows:

[0055]

[0056] Where m is the total number of nodes participating in the query. To determine the final domain name resolution result, the user performs a multi-node consistency check on the results in set S. If the proportion of the majority result exceeds the threshold θ, the result is considered to be the correct DNS resolution, and, represents the indicator function, r mode is the result that appears most frequently in S. If this condition is not met, the user considers that there is an abnormality in this query and re-initiates the DNS query request until a result that meets the condition is obtained.

[0057] Further, in step "Domain Name Update", the user submits an update request <Sign,d s ,A',Update>, where the Sign user's signature is used to verify the registrant's identity, ds is the domain name for requesting to change the resource address, and A' represents the updated resource address. Assume that the existing domain name record D is <d s,A,C,L,PK,T>,where A represents the unupdated resource address, C represents the resource content submitted by the user when registering the domain name, L represents the domain name level, PK represents the user's public key, and T represents the domain name lease. The verification node in the blockchain network first checks whether the Sign submitted by the user matches the public key PK in the existing record. If the signature verification passes, the resolution address is updated. Specific embodiment:

[0059] The present invention provides a domain name management method based on blockchain and oracle, comprising the following steps:

[0060] 1. Domain name registration initiated

[0061] User submits domain name registration request R init <A,C,L,PK> , generate a registration transaction and broadcast it on the chain. A is the resource address associated with the domain name, such as a traditional IP address, Web3 contract address, decentralized storage address, or smart contract address, C is the text description of the application associated with the address, L is the level of the domain name, and PK represents the user's public key. The system records the request and passes it to the subsequent knowledge graph to generate the domain name and duplicate name check update process.

[0062] 2. Domain name allocation

[0063] Oracle O KG First, the text content C submitted by the user is semantically segmented through natural language processing to extract the key concept K. The calculation process is as follows:

[0064] K=Seg(C)={c1,c2,...,c n},n≥L

[0065] Among them, c i Represents the key information extracted from the text content C.

[0066] For each concept set K composed of L different concepts in each set K i <c1,c2,...,c L >, use the knowledge graph to calculate the semantic similarity Sim(K i ), the calculation process is shown as follows:

[0067]

[0068] path_length(K i )=∑length(C i ,C j ),(C i ,C j )∈K i ×Ki ,C i ≠C j

[0069] in, Used to represent the concept set K i The sum of the weight coefficients of the concepts in the domain name knowledge graph is used to quantify the frequency of the concept set appearing in the domain name knowledge graph, path_length (K i ) represents K i The sum of the shortest path lengths of the concepts in the knowledge graph is squared to enhance the effect of path length on similarity.

[0070] After calculating the similarity of all concept sets, the top n concept sets H with the highest semantic similarity are selected as the basis for domain name generation. The candidate domain name set D = {d1, d2, ..., d n}, which improves the semantic relevance and recognition of domain names in the system.

[0071] 3. Duplicate name detection

[0072] The system uses the oracle in the blockchain to call the external API to query the data of the off-chain domain name system. According to the order of similarity from high to low, the oracle initiates a DNS query for each domain name di in the candidate domain name set D.

[0073] If the query result shows domain name d s If not registered, the system will initiate a successful registration transaction R Success <d s ,T>. Where T represents the domain name lease period. When all the domain names in the candidate domain name set D conflict, it is necessary to query the sequence number Num of the second-level domain name in d1 in the knowledge graph. By adding Num after the second-level domain name in d1, a new domain name d that does not conflict can be obtained. s ', initiate transaction R Success <d s ',T>.

[0074] 4. Domain name query

[0075] In order to improve the query efficiency and security of the distributed domain name system based on blockchain, the present invention proposes a domain name query scheme based on a prefix tree structure and a cross-validation mechanism for user queries. The method includes two modules: full-node query and non-full-node query, to improve the time efficiency of domain name query and the ability to resist data tampering.

[0076] For full node queries, the blockchain full node has complete DNS data. In order to perform efficient DNS domain name queries locally, each full node maintains a compressed prefix tree, in which each node represents the prefix of the domain name. This structure can control the complexity of domain name search within O(n) while ensuring data consistency, where n is the length of the domain name.

[0077] At the same time, the compressed prefix tree can reduce the number of redundant nodes. Suppose a domain name is d = {d1, d2, ..., d n}, where d i represents the domain name prefix of the i-th layer. For each domain name d, the query process can be expressed as a recursive function Query(T,d), which is defined as follows:

[0078]

[0079] For non-full node queries, due to the large number of nodes in the blockchain network, some nodes may return incorrect DNS data, which may lead to potential data tampering attacks. In order to ensure the accuracy of user and light node queries, the present invention uses a cross-validation mechanism to ensure that the domain name information received by the user is credible. When a user initiates a query, the user randomly selects m nodes from the network and sends query requests to them. Let S represent the query result set, r i represents the return result of the i-th node, then:

[0080] S={r1,r2,...,r m}

[0081] Among them, m is the total number of nodes participating in the query. To determine the final domain name resolution result, the user performs a consistency check on the results in the set S. If the proportion of the majority result exceeds the threshold θ, the result is regarded as the correct DNS resolution. The calculation process is as follows:

[0082]

[0083] in, represents the indicator function, r mode is the result that appears most frequently in S. If this condition is not met, the user considers that there is an abnormality in this query and re-initiates the DNS query request until a result that meets the condition is obtained.

[0084] 5. Domain name update

[0085] User submits update request <Sign,d s ,A',Update>, where Sign represents the user's signature, which is used to verify the identity of the registrant, d sis the domain name for requesting to change the resource address, A' represents the updated resource address, assuming that the existing domain name record D is <d s ,A,C,L,PK,T>,where A represents the unupdated resource address, C represents the resource content submitted by the user when registering the domain name, L represents the domain name level, PK represents the user's public key, and T represents the domain name lease. The verification node in the blockchain network first checks whether the Sign submitted by the user matches the public key PK in the existing record. If the signature verification passes, the resolution address is updated.

[0086] 6. Domain name renewal

[0087] In order to ensure that the domain name registrant can continue to use the existing domain name resources, the user initiates a domain name lease renewal request before or after the domain name expires within a certain grace period. The user submits a renewal request <Sign,d s ,Renew>, to ensure the legitimacy of the renewal party’s identity, the renewal party’s signature is verified. Sign is the registrant’s signature, which is used to verify the renewal party’s identity. s The domain name for which renewal is requested. If the signature verification is successful, the domain name is renewed.

[0088] The present invention also provides a domain name management system based on blockchain and oracle, which is applied to the domain name management method based on blockchain and oracle as described above.

[0089] What is disclosed above is only a preferred embodiment of the present invention, and it certainly cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.

Claims

1. A domain name management method based on blockchain and oracle, characterized in that: The steps include: Domain name registration initiation: User submits domain name registration request R init <A,C,L,PK> , generate a registration transaction and broadcast it on the chain, record the request and hand it over to the subsequent knowledge graph to generate the domain name and duplicate name check update process; Domain name allocation: After receiving the domain name registration request submitted by the user, the blockchain submits the request to the oracle node. The oracle performs semantic segmentation on the text content C submitted by the user through natural language processing, extracts the key concepts, and then selects the top n concept sets H with the highest semantic similarity to generate the candidate domain name set D; Domain name detection: Call the external API through the oracle in the blockchain to query the off-chain domain name system data, and initiate a DNS query for each domain name di in D in order of similarity from high to low; Domain name query: For non-full nodes, a cross-validation query mechanism will be used. When a user initiates a query, the user randomly selects m nodes from the network to send a query request; Domain name update: The user submits an update request, and the verification node in the blockchain network checks whether the Sign submitted by the user matches the public key PK in the existing record. If the signature verification passes, the resolution address is updated; Domain name renewal: In order to ensure that the domain name registrant can continue to use the existing domain name resources, the user initiates a domain name lease renewal request before or after the domain name expires within a certain grace period. The user submits a renewal request <Sign,d s ,Renew>,To ensure the legitimacy of the identity of the renewer, the signature of the renewer is verified. If the signature verification passes, the domain name is renewed.

2. The domain name management method based on blockchain and oracle according to claim 1, characterized in that: In step "Domain Name Registration Initiation", A is the resource address associated with the domain name, C is the text description of the application associated with the address, L is the level of the domain name, and PK represents the user's public key.

3. The domain name management method based on blockchain and oracle according to claim 2 is characterized in that: In the step "Domain Allocation", the oracle first performs semantic segmentation on the text content C submitted by the user through natural language processing and extracts the key concept K. The calculation process is as follows: K=Seg(C)={c1,c2,...,c n },n≥L Among them, c i Represents the key information extracted from the text content C. For each L different concepts in each set K, the concept set K i <c1,c2,...,c L >, use the knowledge graph to calculate the semantic similarity Sim(K i ), after calculating the similarity of all concept sets, select the top n concept sets H with the highest semantic similarity as the basis for domain name generation, and obtain the candidate domain name set D = {d1, d2, ..., d n }, which improves the semantic relevance and recognition of domain names in the system.

4. The domain name management method based on blockchain and oracle according to claim 3 is characterized in that: In step "Domain name allocation", the semantic similarity Sim(K i ), the calculation process is as follows: path_length(K i )=∑length(C i ,C j ),(C i ,C j )∈K i ×K i ,C i ≠C j in, Used to represent the concept set K i The sum of the weight coefficients of the concepts in the domain name knowledge graph is used to quantify the frequency of the concept set appearing in the domain name knowledge graph, path_length (K i ) represents K i The sum of the shortest path lengths of the concepts in the knowledge graph is squared to enhance the effect of path length on similarity.

5. The domain name management method based on blockchain and oracle according to claim 4 is characterized in that: In step "Domain Name Query", for full-node query, in order to perform efficient DNS domain name query locally, each full-node maintains a prefix compression tree, in which each node represents the prefix of the domain name. This structure can control the complexity of domain name search within O(n) on the basis of ensuring data consistency, where n is the length of the domain name. At the same time, this structure can reduce the number of redundant nodes. Suppose a domain name is d={d1,d2,…,d n }, where d i represents the domain name prefix of the i-th layer. For each domain name d, the query process can be expressed as a recursive function Query(T,d), which is defined as follows: For non-full-node queries, some nodes return incorrect DNS data. A cross-validation mechanism is used to ensure that the domain name information received by the user is credible. When the user initiates a query, the user randomly selects m nodes from the network to send a query request. Let S represent the query result set, r i represents the return result of the i-th node, then: S={r1,r2,...,r m}。 6. The domain name management method based on blockchain and oracle according to claim 5 is characterized in that: The calculation process of the cross-validation method used to query DNS data in step "Domain Name Query" is as follows: Where m is the total number of nodes participating in the query. To determine the final domain name resolution result, the user performs a multi-node consistency check on the results in set S. If the proportion of the majority result exceeds the threshold θ, the result is considered to be the correct DNS resolution, and, represents the indicator function, r mode is the result that appears most frequently in S. If this condition is not met, the user considers that there is an abnormality in this query and re-initiates the DNS query request until a result that meets the condition is obtained.

7. The domain name management method based on blockchain and oracle according to claim 6 is characterized in that: In step "Domain Update", the user submits an update request <Sign,d s ,A',Update>, where the Sign user's signature is used to verify the registrant's identity, ds is the domain name for requesting to change the resource address, and A' represents the updated resource address. Assume that the existing domain name record D is <d s ,A,C,L,PK,T>,where A represents the unupdated resource address, C represents the resource content submitted by the user when registering the domain name, L represents the domain name level, PK represents the user's public key, and T represents the domain name lease. The verification node in the blockchain network first checks whether the Sign submitted by the user matches the public key PK in the existing record. If the signature verification passes, the resolution address is updated.

8. A domain name management system based on blockchain and oracle, characterized in that: Applied to the domain name management method based on blockchain and oracle as described in claim 7.

Citation Information

Patent Citations

  • Domain name registration management method and system based on blockchain

    CN113422767A

  • Data interaction method, block chain oracle machine, equipment and medium

    CN116032494A

  • Block chain information verification method and device and storage medium

    CN116415304A