FR3100633A1 - Blockchain-based domain name query system and method - Google Patents

Blockchain-based domain name query system and method Download PDF

Info

Publication number
FR3100633A1
FR3100633A1 FR2008785A FR2008785A FR3100633A1 FR 3100633 A1 FR3100633 A1 FR 3100633A1 FR 2008785 A FR2008785 A FR 2008785A FR 2008785 A FR2008785 A FR 2008785A FR 3100633 A1 FR3100633 A1 FR 3100633A1
Authority
FR
France
Prior art keywords
domain name
smart contract
node
query
subchain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
FR2008785A
Other languages
French (fr)
Inventor
Jie Bai
Xianfeng Wu
Dongyun Li
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aowei Information Tech Jiangsu Co Ltd
Aowei Information Technology Jiangsu Co Ltd
Original Assignee
Aowei Information Tech Jiangsu Co Ltd
Aowei Information Technology Jiangsu Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aowei Information Tech Jiangsu Co Ltd, Aowei Information Technology Jiangsu Co Ltd filed Critical Aowei Information Tech Jiangsu Co Ltd
Publication of FR3100633A1 publication Critical patent/FR3100633A1/en
Withdrawn legal-status Critical Current

Links

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
    • 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]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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
    • 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
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • 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/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Computing Systems (AREA)
  • Primary Health Care (AREA)
  • Software Systems (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Bioethics (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

La présente demande fournit un système et un procédé de requête de nom de domaine basé sur chaîne de blocs. Le système comprend une chaîne publique et une sous-chaîne composée de certains nœuds de chaîne publique, dans lequel les nœuds de chaîne publique sont configurés d’un contrat intelligent de nom de domaine racine ; les nœuds de sous-chaîne sont configurés pour exécuter le contrat intelligent de nom de domaine racine pour générer un contrat intelligent de nom de sous-domaine et d’obtenir la propriété du contrat intelligent de nom de sous-domaine de manière concurrentiel ; Figure 2This application provides a blockchain-based domain name query system and method. The system includes a public chain and a subchain composed of some public chain nodes, in which the public chain nodes are configured of a root domain name smart contract; the subchain nodes are configured to execute the root domain name smart contract to generate a subdomain name smart contract and to obtain ownership of the subdomain name smart contract competitively; Figure 2

Description

Système et procédé de requête de nom de domaine basé sur chaîne de blocsBlockchain-based domain name query system and method

La présente demande concerne le domaine de technique de chaîne de blocs, en particulier un système et un procédé de requête de nom de domaine basé sur chaîne de blocs.The present application relates to the field of blockchain technology, particularly a blockchain-based domain name query system and method.

CONTEXTE TECHNIQUETECHNICAL CONTEXT

Un nom de domaine est le nom d'un ordinateur ou d'un groupe d'ordinateurs sur Internet, qui se compose d'une chaîne de noms séparés par des points et est utilisable pour identifier l'emplacement géographique de l'ordinateur lors de la transmission de données. Les noms de domaine peuvent être classés en quelques niveaux, y compris les noms de domaine racine, les noms de domaine de premier niveau et les noms de domaine d'application. Les noms de domaine racine sont les nœuds de nom de domaine de niveau le plus haut, par exemple, le nom de domaine "." est un nom de domaine racine ; les noms de domaine de premier niveau comprennent les noms de domaine de premier niveau nationaux et les noms de domaine de premier niveau internationaux, par exemple, le nom de domaine ".com." est un nom de domaine de premier niveau ; les noms de domaine d'application sont ceux inférieurs aux noms de domaine de premier niveau, par exemple, ".abc.com." ou "www.abc.com." sont noms de domaine d'application.A domain name is the name of a computer or a group of computers on the Internet, which consists of a string of names separated by dots and can be used to identify the geographical location of the computer when data transmission. Domain names can be categorized into a few levels, including root domain names, top level domain names, and application domain names. Root domain names are the top-level domain name nodes, for example, the domain name "." is a root domain name; top-level domain names include national top-level domain names and international top-level domain names, for example, the domain name ".com." is a top-level domain name; application domain names are those below top-level domain names, for example, ".abc.com." or "www.abc.com." are application domain names.

La requête de nom de domaine est une étape nécessaire dans le processus de résolution de nom de domaine, actuellement, le système DNS (Domain Name System, DNS) est utilisé souvent pour la résolution de nom de domaine. Cependant, en tant qu’un système à multi-niveaux présentant une relation de forte dépendance entre les niveaux, le tout système DNS présente un risque de tomber en défaillance lorsqu’un certain niveau est en panne ou a été attaqué.The domain name query is a necessary step in the domain name resolution process, currently the Domain Name System (DNS) is often used for domain name resolution. However, as a multi-tier system with a strong dependency relationship between tiers, any DNS system has a risk of failing when a certain tier is down or has been attacked.

Pour cela, il existe un besoin urgent d’un système de requête de nom de domaine basé sur chaîne de blocs pour résoudre le problème du risque de tomber en défaillance de tout système DNS lorsqu’un certain niveau est en panne ou a été attaqué.For this, there is an urgent need for a blockchain-based domain name query system to solve the problem of the risk of any DNS system failing when a certain level is down or has been attacked.

DESCRIPTION DE L’INVENTIONDESCRIPTION OF THE INVENTION

La présente demande fournit un système et un procédé de requête de nom de domaine basé sur chaîne de blocs pour résoudre le problème du risque de tomber en défaillance de tout système DNS lorsqu’un certain niveau est en panne ou a été attaqué.This application provides a blockchain-based domain name query system and method to solve the problem of risk of any DNS system failing when a certain level is down or has been attacked.

Selon un premier aspect de la présente demande, un système de requête de nom de domaine basé sur chaîne de blocs est fourni, qui comprend une chaîne publique composée d’une pluralité de nœuds et une sous-chaîne composée de certains nœuds de chaîne publique ; dans lequel les nœuds de chaîne publique sont configurés d’un contrat intelligent de nom de domaine racine ; les nœuds de sous-chaîne sont configurés pour exécuter le contrat intelligent de nom de domaine racine pour générer un contrat intelligent de nom de sous-domaine et d’obtenir la propriété du contrat intelligent de nom de sous-domaine de manière concurrentiel ;
les nœuds de sous-chaîne sont configurés de plus pour obtenir un nom de domaine à interroger, déterminer un premier contrat intelligent de nom de domaine correspondant au nom de domaine à interroger ; et s’ils sont configurés du premier contrat intelligent de nom de domaine, appeler le premier contrat intelligent de nom de domaine pour interroger les informations d’adresse du nom de domaine à interroger.
According to a first aspect of the present application, a blockchain-based domain name query system is provided, which includes a public chain composed of a plurality of nodes and a subchain composed of some public chain nodes; wherein the public chain nodes are configured of a root domain name smart contract; the subchain nodes are configured to execute the root domain name smart contract to generate a subdomain name smart contract and to obtain ownership of the subdomain name smart contract competitively;
the subchain nodes are further configured to obtain a domain name to query, determine a first domain name smart contract corresponding to the domain name to query; and if configured of the first domain name smart contract, calling the first domain name smart contract to query the address information of the domain name to be queried.

Éventuellement, les nœuds de sous-chaîne sont configurés de plus pour déterminer un deuxième contrat intelligent de nom de domaine s’ils ne sont pas configurés du premier contrat intelligent de nom de domaine ; et s’ils sont configurés du deuxième contrat intelligent de nom de domaine, appeler le deuxième contrat intelligent de nom de domaine pour interroger un premier nœud possédant de la propriété du premier contrat intelligent de nom de domaine ; et envoyer une demande de requête de nom de domaine vers le premier nœud, la demande de requête de nom de domaine contenant le nom de domaine à interroger ;
le premier nœud est configuré pour appeler le premier contrat intelligent de nom de domaine pour interroger les informations d'adresse du nom de domaine à interroger et renvoyer les informations d'adresse du nom de domaine à interroger vers les nœuds de sous-chaîne.
Optionally, the subchain nodes are further configured to determine a second domain name smart contract if they are not configured of the first domain name smart contract; and if configured of the second domain name smart contract, calling the second domain name smart contract to query a first node having ownership of the first domain name smart contract; and sending a domain name query request to the first node, the domain name query request containing the domain name to be queried;
the first node is configured to call the first domain name smart contract to query the address information of the domain name to be queried and return the address information of the domain name to be queried to the subchain nodes.

Éventuellement, les nœuds de sous-chaîne sont configurés de plus pour appeler le contrat intelligent de nom de domaine racine pour interroger un deuxième nœud possédant de la propriété du deuxième contrat intelligent de nom de domaine si le deuxième contrat intelligent de nom de domaine n’est pas le contrat intelligent de nom de domaine racine et ils ne sont pas configurés du deuxième contrat intelligent de nom de domaine ; et envoyer une demande d’appel de contrat vers le deuxième nœud, la demande d’appel de contrat contenant le deuxième contrat intelligent de nom de domaine ;
le deuxième nœud est configuré pour appeler le deuxième contrat intelligent de nom de domaine pour interroger le premier nœud possédant de la propriété du premier contrat intelligent de nom de domaine et renvoyer le premier nœud vers le nœud de sous-chaîne ;
les nœuds de sous-chaîne sont configurés de plus pour envoyer une demande de requête de nom de domaine vers le premier nœud, la demande de requête de nom de domaine contenant le nom de domaine à interroger ;
le premier nœud est configuré pour appeler le premier contrat intelligent de nom de domaine pour interroger les informations d'adresse du nom de domaine à interroger et renvoyer les informations d'adresse du nom de domaine à interroger vers les nœuds de sous-chaîne.
Optionally, the subchain nodes are further configured to call the root domain name smart contract to query a second node owning ownership of the second domain name smart contract if the second domain name smart contract does not is not the root domain name smart contract and they are not configured of the second domain name smart contract; and sending a contract invocation request to the second node, the contract invocation request containing the second domain name smart contract;
the second node is configured to invoke the second domain name smart contract to query the first node owning ownership of the first domain name smart contract and return the first node to the subchain node;
the subchain nodes are further configured to send a domain name query request to the first node, the domain name query request containing the domain name to be queried;
the first node is configured to call the first domain name smart contract to query the address information of the domain name to be queried and return the address information of the domain name to be queried to the subchain nodes.

Éventuellement, le contrat intelligent de nom de sous-domaine comprend un contrat intelligent de nom de domaine de premier niveau et un contrat intelligent de nom de domaine d'application.Optionally, the subdomain name smart contract includes a top-level domain name smart contract and an application domain name smart contract.

Éventuellement, le contrat intelligent de nom de domaine racine est utilisé pour gérer les noms de domaine de premier niveau, le contrat intelligent de nom de domaine de premier niveau est utilisé pour gérer les noms de domaine de deuxième niveau, et le contrat intelligent de nom de domaine d’application est utilisé pour gérer les noms de domaine de troisième niveau ou supérieur.Optionally, the root domain name smart contract is used to manage top-level domain names, the top-level domain name smart contract is used to manage second-level domain names, and the name smart contract application domain is used to manage third-level or higher domain names.

Éventuellement, les nœuds de sous-chaîne sont configurés de plus pour exécuter le contrat intelligent de nom de domaine racine pour générer un contrat intelligent de nom de domaine de premier niveau et/ou exécuter le contrat intelligent de nom de domaine de premier niveau pour générer un contrat intelligent de nom domaine d’application.Optionally, the subchain nodes are further configured to execute the root domain name smart contract to generate a top-level domain name smart contract and/or execute the top-level domain name smart contract to generate an application domain name smart contract.

Éventuellement, les nœuds de sous-chaîne sont configurés de plus pour déterminer que la requête de nom de domaine n’a pas réussie si l’appel du premier contrat intelligent de nom de domaine n'a pas interrogé les informations d'adresse du nom de domaine à interroger.Optionally, the subchain nodes are further configured to determine that the domain name query was unsuccessful if the invocation of the first domain name smart contract did not query the address information of the name domain to query.

Éventuellement, les nœuds de sous-chaîne sont configurés de plus pour obtenir un nom de domaine à interroger envoyé par le nœud initiateur ou un nœud voisin correspondant au nœud de sous-chaîne.Optionally, the subchain nodes are further configured to obtain a query domain name sent by the initiator node or a neighboring node corresponding to the subchain node.

Selon un deuxième aspect de la présente demande, un procédé de requête de nom de domaine basé sur chaîne de blocs est fourni, qui est applicable au système ci-dessus, le système comprenant une chaîne publique composée d’une pluralité de nœuds et une sous-chaîne composée de certains nœuds de chaîne publique ; dans lequel les nœuds de chaîne publique sont configurés d’un contrat intelligent de nom de domaine racine ; les nœuds de sous-chaîne sont configurés pour exécuter le contrat intelligent de nom de domaine racine pour générer un contrat intelligent de nom de sous-domaine et d’obtenir la propriété du contrat intelligent de nom de sous-domaine de manière concurrentiel ; le procédé comprend :
le nœud de sous-chaîne obtient un nom de domaine à interroger ;
le nœud de sous-chaîne détermine le premier contrat intelligent de nom de domaine correspondant au nom de domaine à interroger ;
si le nœud de sous-chaîne est configuré du premier contrat intelligent de nom de domaine, il appelle le premier contrat intelligent de nom de domaine pour interroger les informations d’adresse du nom de domaine à interroger.
According to a second aspect of the present application, a blockchain-based domain name query method is provided, which is applicable to the above system, the system comprising a public chain composed of a plurality of nodes and a sub -chain composed of some public chain nodes; wherein the public chain nodes are configured of a root domain name smart contract; the subchain nodes are configured to execute the root domain name smart contract to generate a subdomain name smart contract and to obtain ownership of the subdomain name smart contract competitively; the process includes:
the subchain node gets a domain name to query;
the subchain node determines the first domain name smart contract corresponding to the domain name to be queried;
if the subchain node is configured of the first domain name smart contract, it calls the first domain name smart contract to query the address information of the domain name to be queried.

Éventuellement, le procédé comprend en outre :
déterminer que la requête de nom de domaine n’a pas réussie si l’appel du premier contrat intelligent par le nom de sous-domaine n'a pas interrogé les informations d'adresse du nom de domaine à interroger.
Optionally, the method further comprises:
determining that the domain name query was not successful if the first smart contract call by the subdomain name did not query the address information of the domain name to be queried.

Éventuellement, le procédé comprend en outre :
si le nœud de sous-chaîne n’est pas configuré du premier contrat intelligent de nom de domaine, il détermine le deuxième contrat intelligent qui gère le nom de domaine à interroger ;
si le nœud de sous-chaîne est configuré du deuxième contrat intelligent de nom de domaine, il appelle le deuxième contrat intelligent de nom de domaine pour interroger le premier nœud possédant de la propriété du premier contrat intelligent de nom de domaine ;
le nœud de sous-chaîne envoie une demande de requête de nom de domaine vers le premier nœud, la demande de requête de nom de domaine contenant le nom de domaine à interroger ;
le premier nœud appelle le premier contrat intelligent de nom de domaine pour interroger les informations d'adresse du nom de domaine à interroger et renvoie les informations d'adresse du nom de domaine à interroger vers le nœud de sous-chaîne.
Optionally, the method further comprises:
if the subchain node is not configured of the first domain name smart contract, it determines the second smart contract which manages the domain name to be queried;
if the subchain node is configured of the second domain name smart contract, it calls the second domain name smart contract to query the first node owning ownership of the first domain name smart contract;
the subchain node sends a domain name query request to the first node, the domain name query request containing the domain name to be queried;
the first node calls the first domain name smart contract to query the address information of the domain name to be queried and returns the address information of the domain name to be queried to the subchain node.

Éventuellement, le procédé comprend en outre :
si le deuxième contrat intelligent de nom de domaine n’est pas le contrat intelligent de nom de domaine racine et il n’est pas configuré du deuxième contrat intelligent de nom de domaine, le nœud de sous-chaîne appelle le contrat intelligent de nom de domaine racine pour interroger le deuxième nœud possédant de la propriété du deuxième contrat intelligent de nom de domaine ;
le nœud de sous-chaîne envoie une demande d’appel de contrat vers le deuxième nœud, la demande d’appel de contrat contenant le deuxième contrat intelligent de nom de domaine ;
le deuxième nœud utilise le deuxième contrat intelligent de nom de domaine pour interroger le premier nœud possédant de la propriété du premier contrat intelligent de nom de domaine et renvoie le premier nœud vers le nœud de sous-chaîne ;
le nœud de sous-chaîne envoie une demande de requête de nom de domaine vers le premier nœud, la demande de requête de nom de domaine contenant le nom de domaine à interroger ;
le premier nœud appelle le premier contrat intelligent de nom de domaine pour interroger les informations d'adresse du nom de domaine à interroger et renvoie les informations d'adresse du nom de domaine à interroger vers le nœud de sous-chaîne.
Optionally, the method further comprises:
if the second domain name smart contract is not the root domain name smart contract and it is not configured of the second domain name smart contract, the subchain node calls the root domain name smart contract root domain to query the second node owning ownership of the second domain name smart contract;
the subchain node sends a contract call request to the second node, the contract call request containing the second domain name smart contract;
the second node uses the second domain name smart contract to query the first node having ownership of the first domain name smart contract and returns the first node to the subchain node;
the subchain node sends a domain name query request to the first node, the domain name query request containing the domain name to be queried;
the first node calls the first domain name smart contract to query the address information of the domain name to be queried and returns the address information of the domain name to be queried to the subchain node.

Éventuellement, le contrat intelligent de nom de sous-domaine comprend un contrat intelligent de nom de domaine de premier niveau et un contrat intelligent de nom de domaine d'application.Optionally, the subdomain name smart contract includes a top-level domain name smart contract and an application domain name smart contract.

Éventuellement, le contrat intelligent de nom de domaine racine est utilisé pour gérer les noms de domaine de premier niveau, le contrat intelligent de nom de domaine de premier niveau est utilisé pour gérer les noms de domaine de deuxième niveau, et le contrat intelligent de nom de domaine d’application est utilisé pour gérer les noms de domaine de troisième niveau ou supérieur.Optionally, the root domain name smart contract is used to manage top-level domain names, the top-level domain name smart contract is used to manage second-level domain names, and the name smart contract application domain is used to manage third-level or higher domain names.

Éventuellement, le nœud de sous-chaîne obtient un nom de domaine à interroger, ce qui comprend :
le nœud de sous-chaîne obtient un nom de domaine à interroger envoyé par le nœud initiateur ou un nœud voisin correspondant au nœud de sous-chaîne.
Eventually, the subchain node gets a domain name to query, which includes:
the subchain node obtains a query domain name sent by the initiator node or a neighboring node corresponding to the subchain node.

L’exemple de réalisation de la présente demande fournit en outre un dispositif pour mettre en œuvre la fonction du procédé de requête de nom de domaine basé sur chaîne de blocs décrit comme ci-dessus. Cette fonction peut être mise en œuvre par un matériel exécutant un logiciel correspondant. Selon une conception possible, le dispositif comprend : un processeur, un émetteur-récepteur et une mémoire ; la mémoire est utilisée pour stocker les instructions d'exécution informatiques, l'émetteur-récepteur est utilisé pour mettre en œuvre la communication entre le dispositif et d'autres dispositifs physiques de communication, le processeur est connecté à la mémoire via le bus, et lorsque le dispositif est en fonctionnement, le processeur exécute les instructions d'exécution informatiques stockées dans la mémoire, de sorte que le dispositif mette en œuvre le procédé de requête de nom de domaine basé sur chaîne de blocs décrit comme ci-dessus.The exemplary embodiment of the present application further provides a device for implementing the function of the blockchain-based domain name query method described as above. This function can be implemented by hardware running corresponding software. According to one possible design, the device comprises: a processor, a transceiver and a memory; the memory is used to store computer execution instructions, the transceiver is used to implement communication between the device and other physical communication devices, the processor is connected to the memory via the bus, and when the device is in operation, the processor executes the computer execution instructions stored in the memory, so that the device implements the blockchain-based domain name query method described as above.

L’exemple de réalisation de la présente demande fournit en outre un support de mémoire informatique dans lequel sont stockés un programme logiciel. Le programme logiciel peut être lu et exécuté par un ou plusieurs processeurs pour mettre en œuvre le procédé de requête de nom de domaine basé sur chaîne de blocs décrit comme divers modes de réalisation possibles ci-dessus.The exemplary embodiment of the present application further provides a computer memory medium in which a software program is stored. The software program may be read and executed by one or more processors to implement the blockchain-based domain name query method described as various possible embodiments above.

L’exemple de réalisation de la présente demande fournit en outre un produit de programme informatique contenant des instructions, lorsqu’il fonctionne sur un ordinateur, il permet à l’ordinateur de mettre en œuvre le procédé de requête de nom de domaine basé sur chaîne de blocs décrit comme divers modes de réalisation possibles ci-dessus.The exemplary embodiment of the present application further provides a computer program product containing instructions, when run on a computer, it enables the computer to implement the string-based domain name query method of blocks described as various possible embodiments above.

Selon la solution technique ci-dessus, la présente demande fournit un système de requête de nom de domaine basé sur chaîne de blocs, qui comprend une chaîne publique composée d’une pluralité de nœuds et une sous-chaîne composée de certains nœuds de chaîne publique, dans lequel les nœuds de chaîne publique sont configurés d’un contrat intelligent de nom de domaine racine ; les nœuds de sous-chaîne sont configurés pour exécuter le contrat intelligent de nom de domaine racine pour générer un contrat intelligent de nom de sous-domaine et d’obtenir la propriété du contrat intelligent de nom de sous-domaine de manière concurrentiel ; de plus, obtenir un nom de domaine à interroger, déterminer un premier contrat intelligent de nom de domaine correspondant au nom de domaine à interroger ; et s’ils sont configurés du premier contrat intelligent de nom de domaine, appeler le premier contrat intelligent de nom de domaine pour interroger les informations d’adresse du nom de domaine à interroger. La présente demande consiste à disposer le système DNS sous forme d'une sous-chaîne dans un réseau de chaîne de blocs, ce qui permet d’une disposition décentralisé complet. Comparé au système DNS existant, dans le système de requête de nom de domaine fourni par la présente demande, les noms de domaine de différents niveaux sont gérés par différents contrats intelligents, de plus, la propriété de contrat intelligent est obtenue de manière concurrentielle par le nœud de sous-chaîne. Par rapport à la technique existante dans laquelle un serveur défini gère les noms de domaine de différents niveaux, ce mode présente une flexibilité plus haute et un risque déduit d’être attaqué, améliore la stabilité de l'ensemble du système et améliore ainsi la sécurité Internet des parties fournissant et participant aux services Internet.According to the above technical solution, the present application provides a blockchain-based domain name query system, which includes a public chain composed of a plurality of nodes and a subchain composed of some nodes of public chain , in which the public chain nodes are configured with a root domain name smart contract; the subchain nodes are configured to execute the root domain name smart contract to generate a subdomain name smart contract and to obtain ownership of the subdomain name smart contract competitively; further, obtaining a domain name to be queried, determining a first domain name smart contract corresponding to the domain name to be queried; and if configured of the first domain name smart contract, call the first domain name smart contract to query the address information of the domain name to be queried. This application consists of arranging the DNS system as a subchain in a blockchain network, which allows for a complete decentralized arrangement. Compared with the existing DNS system, in the domain name query system provided by the present application, domain names of different levels are managed by different smart contracts, moreover, smart contract ownership is competitively obtained by the substring node. Compared with the existing technique in which a set server manages domain names of different levels, this mode has higher flexibility and inferred risk of being attacked, improves the stability of the whole system, and thus improves security. Internet of the parties providing and participating in Internet services.

DESCRIPTION DES FIGURESDESCRIPTION OF FIGURES

est un schéma structurel du système de requête de nom de domaine basé sur chaîne de blocs applicable dans l’exemple de réalisation de la présente demande ; is a structural diagram of the blockchain-based domain name query system applicable in the exemplary embodiment of the present application;

est un organigramme de requête de nom de domaine par un système de requête de nom de domaine fourni dans l’exemple de réalisation de la présente demande ; is a flowchart of domain name query by a domain name query system provided in the exemplary embodiment of the present application;

est un organigramme de requête de nom de domaine par un autre système de requête de nom de domaine fourni dans l’exemple de réalisation de la présente demande ; is a flowchart of domain name query by another domain name query system provided in the exemplary embodiment of the present application;

est un organigramme de requête de nom de domaine par un autre système de requête de nom de domaine fourni dans l’exemple de réalisation de la présente demande ; is a flowchart of domain name query by another domain name query system provided in the exemplary embodiment of the present application;

est un organigramme de requête de nom de domaine de premier niveau fourni dans l’exemple de réalisation de la présente demande ; is a top level domain name query flowchart provided in the exemplary embodiment of the present application;

est un organigramme de requête de nom de domaine de deuxième niveau fourni dans l’exemple de réalisation de la présente demande ; is a second level domain name query flowchart provided in the exemplary embodiment of the present application;

est un organigramme correspondant au procédé de requête de nom de domaine basé sur chaîne de blocs fourni dans l’exemple de réalisation de la présente demande. is a flowchart corresponding to the blockchain-based domain name query method provided in the exemplary embodiment of the present application.

MODES DE RÉALISATIONEMBODIMENTS

Le but, la solution technique et les avantages de la présente demande apparaîtront plus clairement à la lecture de la description détaillée suivante des exemples de réalisation en référant les figures.The aim, the technical solution and the advantages of the present application will appear more clearly on reading the following detailed description of the exemplary embodiments with reference to the figures.

Dans la solution technique fournie par la présente demande, par le réseau de chaîne de blocs, on entend un réseau point à point à structure d'application décentralisée, qui peut effectuer des stockages distribués, des consensus publics, des chiffrements numériques, des comptabilités des transactions et des validations dans le réseau. Autrement dit, le réseau de chaîne de blocs est une plate-forme de transaction couvrant la technologie de distribution, la cryptographie, la structuration de réseau P2P et divers algorithmes de consensus applicables.In the technical solution provided by this application, blockchain network means a point-to-point network with a decentralized application structure, which can perform distributed storage, public consensus, digital encryption, transactions and validations in the network. Simply put, the blockchain network is a transaction platform covering distribution technology, cryptography, P2P network structuring, and various applicable consensus algorithms.

Dans la présente demande, par la chaîne de blocs ou les données de chaîne de blocs, on entend les informations comptables générées en fonction des informations de transaction lorsqu'une transaction se produit dans le réseau de chaîne de blocs, c'est-à-dire que plusieurs transactions forment un bloc de données et plusieurs blocs de données forment une chaîne de blocs avec horodatage. Le réseau de chaîne de blocs comprend des nœuds qui se connectent pour former un réseau point à point, dans lequel, chaque nœud est configuré d'un mécanisme de consensus correspondant, tel qu'un contrat intelligent, et dispose d'une capacité de calcul suffisante pour exécuter les programmes de validation et de comptabilité de transaction. Les nœuds conforment aux spécifications d'interface respectant une norme uniforme, ce qui permet de connecter plus de nœuds ou réseaux de chaîne de blocs d’autres types via les spécifications d'interface. La chaîne publique est une structure de réseau point à point composée de plusieurs nœuds dans le réseau de chaîne de blocs, dans laquelle chaque nœud peut mettre en œuvre les fonctions de stockage distribué, de transaction et de comptabilité ; les nœuds de chaîne publique fournissent les spécifications d'interface uniformes à l'extérieur.In this application, by blockchain or blockchain data is meant the accounting information generated based on the transaction information when a transaction occurs in the blockchain network, i.e. say that multiple transactions form a block of data and multiple blocks of data form a chain of blocks with timestamp. The blockchain network includes nodes that connect to form a point-to-point network, in which, each node is configured with a corresponding consensus mechanism, such as a smart contract, and has computing capability enough to run validation and transaction accounting programs. Nodes conform to interface specifications adhering to a uniform standard, allowing more nodes or blockchain networks of other types to be connected through the interface specifications. The public chain is a point-to-point network structure composed of multiple nodes in the blockchain network, in which each node can implement the functions of distributed storage, transaction and accounting; public chain nodes provide the uniform interface specifications to the outside.

Les structures possibles du système dans l’exemple de réalisation de la présente demande seront décrites d’abord ci-dessous en référant la figure 1.The possible structures of the system in the exemplary embodiment of the present application will be described first below with reference to Figure 1.

Comme montré la figure 1, un schéma structurel du système de requête de nom de domaine basé sur chaîne de blocs selon l’exemple de réalisation de la présente demande est illustré. Ledit système comprend : une chaîne publique composée d’une pluralité de nœuds et une sous-chaîne composée de certains nœuds de chaîne publique. Il est évident que les nœuds de chaîne publique peuvent être également les nœuds de sous-chaîne. Étant donné que les nœuds de sous-chaîne sont constitués par certains nœuds de chaîne publique, ils sont donc à la fois nœuds de sous-chaîne et nœuds de chaîne publique. C’est-à-dire que les nœuds de sous-chaîne possèdent de même contrat intelligent et de mêmes fonctions que les nœuds de chaîne publique.As shown in Fig. 1, a structural diagram of the blockchain-based domain name query system according to the exemplary embodiment of the present application is illustrated. Said system includes: a public chain composed of a plurality of nodes and a subchain composed of some public chain nodes. It is obvious that public chain nodes can also be subchain nodes. Since subchain nodes are constituted by some public chain nodes, hence they are both subchain nodes and public chain nodes. That is, subchain nodes have the same smart contract and functions as public chain nodes.

Dans les applications réelles, la chaîne publique peut fournir des services essentiels de chaîne de blocs sur Internet, tels que des transactions, des validations, des stockages, etc. La chaîne publique elle-même peut posséder aucune fonction spécifique correspondant à un domaine, mais joue un rôle de pont pour amener toutes les sous-chaînes (ou un tiers réseau de chaîne de blocs) connectées à la chaîne publique dans un même réseau de chaîne de blocs, de sorte que différentes chaînes connectées puissent s’échanger ou se transmettre des informations.In real applications, the public chain can provide essential blockchain services on the Internet, such as transactions, validations, storages, etc. The public chain itself may not have any domain-specific functions, but acts as a bridge to bring all subchains (or a third-party blockchain network) connected to the public chain into a single chain network of blocks, so that different connected chains can exchange or transmit information to each other.

Dans la solution technique fournie par la présente demande, tous les nœuds de chaîne publique sont configurés d’un contrat intelligent de nom de domaine racine. Le contrat intelligent est un programme de mécanisme de consensus convenu basé sur transactions dans une chaîne de blocs, qui permet de diverses opérations de transaction fonctionnelles. Dans le présent exemple de réalisation, les nœuds peuvent effectuer un service de requête et d'enregistrement de nom de domaine en exécutant le contrat intelligent de nom de domaine racine selon le contrat intelligent de nom de domaine racine.In the technical solution provided by this application, all public chain nodes are configured with a root domain name smart contract. The smart contract is a transaction-based agreed consensus mechanism program in a blockchain, which enables various functional transaction operations. In the present example embodiment, the nodes can perform domain name registration and query service by executing the root domain name smart contract according to the root domain name smart contract.

Les nœuds de sous-chaîne sont configurés pour exécuter le contrat intelligent de nom de domaine racine pour générer un contrat intelligent de nom de sous-domaine et pour obtenir la propriété du contrat intelligent de nom de sous-domaine de manière concurrentiel. Une fois que l’un des nœuds de sous-chaîne a obtenu la propriété du contrat intelligent de sous-domaine, ce nœud de sous-chaîne peut devenir le propriétaire du contrat intelligent de sous-domaine, c'est-à-dire que ce nœud de sous-chaîne est configuré du contrat intelligent de sous-domaine.The subchain nodes are configured to execute the root domain name smart contract to generate a subdomain name smart contract and to obtain ownership of the subdomain name smart contract competitively. Once one of the subchain nodes has obtained ownership of the subdomain smart contract, that subchain node can become the owner of the subdomain smart contract, i.e. this subchain node is configured of the subdomain smart contract.

Étant donné que les nœuds de sous-chaîne possède de même contrat intelligent et de mêmes fonctions que les nœuds de chaîne publique, les nœuds de sous-chaîne peuvent exécuter directement le contrat intelligent de nom de domaine racine pour générer un contrat intelligent de nom de sous-domaine. Le contrat intelligent de nom de sous-domaine comprend un contrat intelligent de nom de domaine de premier niveau, un contrat intelligent de nom de domaine d'application et des données du système de noms de domaine (Blockchain Name System, BNS).Since the subchain nodes have the same smart contract and functions as the public chain nodes, the subchain nodes can directly execute the root domain name smart contract to generate a domain name smart contract. subdomain. The subdomain name smart contract includes a top-level domain name smart contract, an application domain name smart contract, and Blockchain Name System (BNS) data.

Dans le système de noms de domaine, les noms de domaine peuvent être classés en noms de domaine racine, noms de domaine de premier niveau, noms de domaine d'application. De plus, les noms de domaine d'application peuvent être divisés en noms de domaine de deuxième niveau, noms de domaine de troisième niveau, noms de domaine de quatrième niveau, etc. Un nom de domaine complet se compose de deux parties ou plus séparées par points anglais « . » , et le "." à la fin est appelé nom de domaine racine ; la partie droite du dernier « . » est appelée nom de domaine de premier niveau (Top Level Domain, TLD), également appelé nom de domaine de haute niveau, qui contient une chaîne de caractères légale et un suffixe de nom de domaine ; la partie de la chaîne de caractères de la partie gauche du nom de domaine de premier niveau jusqu’à « . » prochain est appelée nom de domaine de deuxième niveau (Second Level Domain, SLD) ; la partie gauche du nom de domaine de deuxième niveau est appelée nom de domaine de troisième niveau, et ainsi de suite, le nom de domaine de chaque niveau contrôle la distribution de nom de domaine de niveau inférieur.In the domain name system, domain names can be categorized into root domain names, top level domain names, application domain names. In addition, application domain names can be divided into second-level domain names, third-level domain names, fourth-level domain names, etc. A FQDN consists of two or more parts separated by dots. " , and the "." at the end is called root domain name; the right part of the last “. is called a Top Level Domain (TLD), also known as a high-level domain name, which contains a legal character string and a domain name suffix; the part of the string from the left side of the top-level domain name up to ". next is called a second level domain name (Second Level Domain, SLD); the left part of the second-level domain name is called the third-level domain name, and so on, the domain name of each level controls the lower-level domain name distribution.

Dans le présent exemple de réalisation, les contrats intelligents différents seront fournis en fonction des noms de domaine de niveaux différents. Les noms de domaine racine peuvent correspondre aux contrats intelligents de nom de domaine racine, et les contrats intelligents de nom de domaine racine peuvent être utilisés pour gérer et maintenir les nom de domaine de premier niveau et générer les contrats intelligents de domaine de premier niveau ; les noms de domaine de premier niveau peuvent correspondre au contrats intelligents de domaine de premier niveau et les contrats intelligents de domaine de premier niveau peuvent être utilisés pour gérer et maintenir les noms de domaine d'application (par exemple, gérer les noms de domaine de deuxième niveau) et générer les contrats intelligents de nom de domaine d'application ; les noms de domaine d'application peuvent correspondre aux contrats intelligents de nom de domaine d'application, et les contrats intelligents de nom de domaine d'application peuvent être utilisés pour gérer et maintenir les données BNS ; les données BNS peuvent contenir les informations des noms de domaine de troisième niveau et de quatrième niveau.In the present example embodiment, the different smart contracts will be provided based on the domain names of different levels. The root domain names can correspond to the root domain name smart contracts, and the root domain name smart contracts can be used to manage and maintain the top-level domain names and generate the top-level domain smart contracts; top-level domain names can correspond to top-level domain smart contracts, and top-level domain smart contracts can be used to manage and maintain application domain names (for example, manage domain names of second level) and generate the application domain name smart contracts; application domain names can correspond to application domain name smart contracts, and application domain name smart contracts can be used to manage and maintain BNS data; BNS data may contain third-level and fourth-level domain name information.

De plus, les nœuds de sous-chaîne peuvent être configurés pour exécuter le contrat intelligent de nom de domaine racine pour générer un contrat intelligent de nom de domaine de premier niveau.Additionally, subchain nodes can be configured to run the root domain name smart contract to generate a top-level domain name smart contract.

Ou, les nœuds de sous-chaîne peuvent être configurés de plus pour exécuter le contrat intelligent de nom de domaine de premier niveau pour générer un contrat intelligent de nom de domaine d’application.Or, the subchain nodes can be further configured to run the top-level domain name smart contract to generate an application domain name smart contract.

Les situations de requête de nom de domaine seront décrites en détail en fonction de la structure du système sur la figure 1 et de la description ci-dessus.The domain name query situations will be described in detail based on the system structure in Fig. 1 and the above description.

La figure 2 montre un organigramme de requête de nom de domaine dans le système de requête de nom de domaine fourni dans le présent exemple de réalisation.Fig. 2 shows a domain name query flowchart in the domain name query system provided in this example embodiment.

Comme montré la figure 2, les nœuds de sous-chaîne (le nœud 1 montré sur la figure 2) sont configurés de plus pour obtenir un nom de domaine à interroger, déterminer un premier contrat intelligent de nom de domaine correspondant au nom de domaine à interroger ; et s’ils sont configurés du premier contrat intelligent de nom de domaine, appeler le premier contrat intelligent de nom de domaine pour interroger les informations d’adresse du nom de domaine à interroger ;As shown in Figure 2, the subchain nodes (Node 1 shown in Figure 2) are further configured to obtain a domain name to query, determine a first domain name smart contract corresponding to the domain name to interrogate; and if configured of the first domain name smart contract, call the first domain name smart contract to query the address information of the domain name to be queried;

De plus, la requête de nom de domaine n’a pas réussi si l’appel du premier contrat intelligent de nom de domaine n'a pas interrogé les informations d'adresse du nom de domaine à interroger.Additionally, the domain name query failed if the first domain name smart contract call did not query the address information of the domain name to be queried.

Selon la solution technique ci-dessus, la présente demande fournit un système de requête de nom de domaine basé sur chaîne de blocs, qui comprend une chaîne publique composée d’une pluralité de nœuds et une sous-chaîne composée de certains nœuds de chaîne publique, dans lequel les nœuds de chaîne publique sont configurés d’un contrat intelligent de nom de domaine racine ; les nœuds de sous-chaîne sont configurés pour exécuter le contrat intelligent de nom de domaine racine pour générer un contrat intelligent de nom de sous-domaine et d’obtenir la propriété du contrat intelligent de nom de sous-domaine de manière concurrentiel ; de plus, obtenir un nom de domaine à interroger, déterminer un premier contrat intelligent de nom de domaine correspondant au nom de domaine à interroger ; et s’ils sont configurés du premier contrat intelligent de nom de domaine, appeler le premier contrat intelligent de nom de domaine pour interroger les informations d’adresse du nom de domaine à interroger. La présente demande consiste à disposer le système DNS sous forme d'une sous-chaîne dans un réseau de chaîne de blocs, ce qui permet d’une disposition décentralisé complet. Comparé au système DNS existant, dans le système de requête de nom de domaine fourni par la présente demande, les noms de domaine de différents niveaux sont gérés par différents contrats intelligents, de plus, la propriété de contrat intelligent est obtenue de manière concurrentielle par le nœud de sous-chaîne. Par rapport à la technique existante dans laquelle un serveur défini gère les noms de domaine de différents niveaux, ce mode présente une flexibilité plus haute et un risque déduit d’être attaqué, améliore la stabilité de l'ensemble du système et améliore ainsi la sécurité Internet des parties fournissant et participant aux services Internet.According to the above technical solution, the present application provides a blockchain-based domain name query system, which includes a public chain composed of a plurality of nodes and a subchain composed of some nodes of public chain , in which the public chain nodes are configured with a root domain name smart contract; the subchain nodes are configured to execute the root domain name smart contract to generate a subdomain name smart contract and to obtain ownership of the subdomain name smart contract competitively; further, obtaining a domain name to be queried, determining a first domain name smart contract corresponding to the domain name to be queried; and if configured of the first domain name smart contract, call the first domain name smart contract to query the address information of the domain name to be queried. This application consists of arranging the DNS system as a subchain in a blockchain network, which allows for a complete decentralized arrangement. Compared with the existing DNS system, in the domain name query system provided by the present application, domain names of different levels are managed by different smart contracts, moreover, smart contract ownership is competitively obtained by the substring node. Compared with the existing technique in which a set server manages domain names of different levels, this mode has higher flexibility and inferred risk of being attacked, improves the stability of the whole system, and thus improves security. Internet of the parties providing and participating in Internet services.

Comme montré la figure 2, on peut voir que la demande de transaction reçue par le nœud de sous-chaîne (le nœud 1) provient du nœud 0. Le nœud 0 peut être le nœud initiateur de cette transaction de requête de nom de domaine, ou un nœud voisin du nœud de sous-chaîne (le nœud 1). Autrement dit, les nœuds de sous-chaîne (le nœud 1 montré sur la figure 2) sont configurés de plus pour obtenir un nom de domaine à interroger envoyé par le nœud initiateur ou un nœud voisin correspondant au nœud de sous-chaîne.As shown in Figure 2, it can be seen that the transaction request received by the subchain node (node 1) originates from node 0. Node 0 can be the initiating node of this domain name request transaction, or a neighboring node of the subchain node (the node 1). That is, the subchain nodes (node 1 shown in Fig. 2) are further configured to obtain a query domain name sent by the initiator node or a neighboring node corresponding to the subchain node.

La forme de transaction entre le nœud initiateur et le nœud de sous-chaîne se varie en fonction de l'environnement d'application réelle. Il existe deux situations dans lesquelles le nœud sous-chaîne obtient un nom de domaine à interroger envoyé par le nœud initiateur.The transaction form between the initiator node and the subchain node varies depending on the actual application environment. There are two situations in which the subchain node obtains a query domain name sent by the initiator node.

Dans la première situation, si le nœud initiateur peut effectuer directement des transactions ou des interactions informatiques avec les nœuds de sous-chaîne, il est possible d’envoyer directement le nom de domaine à interroger depuis le nœud initiateur vers le nœud de sous-chaîne. Ce mode est applicable en particulier aux transactions dans lesquelles le nœud initiateur et les nœuds de sous-chaîne se trouvent dans un même réseau de chaîne de blocs, c'est-à-dire que le nœud initiateur est en même temps un nœud dans le système de requête de nom de domaine.In the first situation, if the initiator node can directly perform transactions or computer interactions with the subchain nodes, it is possible to directly send the domain name to be queried from the initiator node to the subchain node . This mode is applicable in particular to transactions in which the initiator node and the subchain nodes are in the same blockchain network, i.e. the initiator node is at the same time a node in the domain name query system.

Dans la deuxième situation, si le nœud initiateur ne peut pas effectuer directement des transactions ou des interactions d'informations avec les nœuds de sous-chaîne, il est possible de diffuser le nom de domaine à interroger via le nœud initiateur. En particulier, il est possible diffuser d'abord le nom de domaine à interroger vers un nœud voisin, puis le nœud voisin détermine de recevoir le nom de domaine à interroger ou de continuer à diffuser en fonction de son propre rôle jusqu'à ce que le nœud de sous-chaîne reçoive le nom de domaine à interroger.In the second situation, if the initiator node cannot directly perform transactions or information interactions with the subchain nodes, it is possible to broadcast the domain name to be queried through the initiator node. In particular, it is possible to first broadcast the domain name to be queried to a neighboring node, then the neighboring node determines to receive the domain name to be queried or to continue broadcasting according to its own role until the subchain node receives the domain name to query.

La situation dans laquelle le nœud de sous-chaîne reçoit le nom de domaine à interroger envoyé par un nœud voisin du nœud de sous-chaîne peut être ce que le nœud initiateur de transaction ne connaît pas les informations de localisation du nœud central et envoie le nom de domaine à interroger de manière de diffusion dans la chaîne de blocs, ainsi, avec la diffusion des informations, le nœud de sous-chaîne peut recevoir le nom de domaine à interroger via ses nœuds voisins.The situation in which the subchain node receives the domain name to be queried sent by a neighbor node of the subchain node may be that the transaction initiating node does not know the location information of the central node and sends the domain name to be queried in a broadcast manner in the blockchain, so with the information broadcast, the subchain node can receive the domain name to be queried through its neighboring nodes.

Il faut noter que, les deux situations ci-dessus ne sont que à titre illustratif, dans autres exemples possibles, si le nœud initiateur est un nœud voisin du nœud de sous-chaîne, on peut considérer que ce nœud de sous-chaîne peut recevoir directement le nom de domaine à interroger envoyé par le nœud initiateur.It should be noted that, the above two situations are only for illustrative purposes, in other possible examples, if the initiating node is a neighboring node of the subchain node, it can be considered that this subchain node can receive directly the domain name to query sent by the initiator node.

En tenant compte que dans le présent exemple de réalisation, le nœud de sous-chaîne obtient la propriété du contrat intelligent de nom de sous-domaine de manière concurrentiel ; c’est-à-dire que une fois que le nœud de sous-chaîne obtient le nom de domaine à interroger, il est possible d’apparaître une situation dans laquelle le nœud lui-même ne peut pas obtenir la propriété du premier contrat intelligent de nom de domaine correspondant au nom de domaine à interroger, autrement dit, il lui-même n’est pas configuré du premier contrat intelligent de nom de domaine. Basé sur la situation ci-dessus, la figure 3 est un organigramme de requête de nom de domaine par un autre système de requête de nom de domaine fourni dans l’exemple de réalisation de la présente demande.Considering that in the present exemplary embodiment, the subchain node obtains ownership of the subdomain name smart contract competitively; that is, once the subchain node obtains the domain name to be queried, a situation may arise where the node itself cannot obtain ownership of the first smart contract domain name corresponding to the domain name to be queried, that is, it itself is not configured from the first domain name smart contract. Based on the above situation, Fig. 3 is a flowchart of domain name query by another domain name query system provided in the exemplary embodiment of the present application.

Comme montré la figure 3, les nœuds de sous-chaîne (le nœud 1 montré sur la figure 3) peuvent être configurés de plus pour obtenir un nom de domaine à interroger envoyé par le nœud initiateur (le nœud 0 montré sur la figure 3) et déterminer le premier contrat intelligent de nom de domaine correspondant au nom de domaine à interroger ; s’ils ne sont pas configurés du premier contrat intelligent de nom de domaine, déterminer le deuxième contrat intelligent de nom de domaine qui gère le nom de domaine à interroger ; s’ils sont configurés du deuxième contrat intelligent de nom de domaine, appeler le deuxième contrat intelligent de nom de domaine pour interroger le premier nœud (le nœud 2 montré sur la figure 3) possédant de la propriété du premier contrat intelligent de nom de domaine, et envoyer une demande de requête de nom de domaine vers le premier nœud, dans lequel la demande de requête de nom de domaine contenant le nom de domaine à interroger.As shown in Figure 3, the subchain nodes (the node 1 shown in Figure 3) can be further configured to obtain a query domain name sent by the initiator node (the node 0 shown in Figure 3) and determining the first domain name smart contract corresponding to the domain name to be queried; if not configured from the first domain name smart contract, determine the second domain name smart contract that manages the domain name to be queried; if configured of the second domain name smart contract, call the second domain name smart contract to query the first node (the node 2 shown in Figure 3) owning ownership of the first domain name smart contract , and sending a domain name query request to the first node, wherein the domain name query request containing the domain name to be queried.

Par conséquence, le premier nœud (le nœud 2 montré sur la figure 3) est configuré pour appeler le premier contrat intelligent de nom de domaine pour interroger les informations d'adresse du nom de domaine à interroger et renvoyer les informations d'adresse du nom de domaine à interroger vers les nœuds de sous-chaîne.Accordingly, the first node (node 2 shown in Figure 3) is configured to invoke the first domain name smart contract to query the address information of the domain name to be queried and return the address information of the domain name from domain to query to subchain nodes.

Basé sur la même idée, dans le présent exemple de réalisation, il est possible d’apparaître une situation dans laquelle le nœud de sous-chaîne ne peut pas obtenir la propriété du deuxième contrat intelligent de nom de domaine, autrement dit, il lui-même n’est pas configuré du deuxième contrat intelligent de nom de domaine. Basé sur la situation ci-dessus, la figure 4 est un organigramme de requête de nom de domaine par un autre système de requête de nom de domaine fourni dans l’exemple de réalisation de la présente demande.Based on the same idea, in the present example embodiment, a situation may arise where the subchain node cannot obtain ownership of the second domain name smart contract, that is, it itself even is not configured of the second domain name smart contract. Based on the above situation, Fig. 4 is a flowchart of domain name query by another domain name query system provided in the exemplary embodiment of the present application.

Comme montré la figure 4, les nœuds de sous-chaîne (le nœud 1 montré sur la figure 4) peuvent être configurés de plus pour obtenir un nom de domaine à interroger envoyé par le nœud initiateur (le nœud 0 montré sur la figure 4) et déterminer le premier contrat intelligent de nom de domaine correspondant au nom de domaine à interroger ; s’ils ne sont pas configurés du premier contrat intelligent de nom de domaine, déterminer le deuxième contrat intelligent de nom de domaine qui gère le nom de domaine à interroger ; si le deuxième contrat intelligent de nom de domaine n’est pas le contrat intelligent de nom de domaine racine et ils ne sont pas configurés du deuxième contrat intelligent de nom de domaine, appeler le contrat intelligent de nom de domaine racine pour interroger le deuxième nœud (le nœud 3 montré sur la figure 4) possédant de la propriété du deuxième contrat intelligent de nom de domaine, et envoyer une demande d’appel de contrat vers le deuxième nœud, dans lequel la demande d’appel de contrat contenant le deuxième contrat intelligent de nom de domaine.As shown in Figure 4, the subchain nodes (the node 1 shown in Figure 4) can be further configured to obtain a query domain name sent by the initiator node (the node 0 shown in Figure 4) and determining the first domain name smart contract corresponding to the domain name to be queried; if not configured from the first domain name smart contract, determine the second domain name smart contract that manages the domain name to be queried; if the second domain name smart contract is not the root domain name smart contract and they are not configured of the second domain name smart contract, calling the root domain name smart contract to query the second node (the node 3 shown in Fig. 4) possessing ownership of the second domain name smart contract, and sending a contract invocation request to the second node, wherein the contract invocation request containing the second contract smart domain name.

Dans le système de requête de nom de domaine fourni dans le présent exemple de réalisation, tous les nœuds de chaîne publique sont configurés du contrat intelligent de nom de domaine racine, et les nœuds de la sous-chaîne sont composés de certains nœuds de la chaîne publique, c'est-à-dire que tous les nœuds de sous-chaîne sont configurés du contrat intelligent de nom de domaine racine ; par conséquent, lorsque les nœuds de sous-chaîne ne sont pas configurés du deuxième contrat intelligent de nom de domaine, ils peut appeler directement le contrat intelligent de nom de domaine racine.In the domain name query system provided in this example embodiment, all the public chain nodes are configured of the root domain name smart contract, and the subchain nodes are composed of some chain nodes public, i.e. all subchain nodes are configured from the root domain name smart contract; therefore, when the subchain nodes are not configured from the second domain name smart contract, they can call the root domain name smart contract directly.

Par conséquence, le deuxième nœud (le nœud 3 montré sur la figure 4) est configuré pour appeler le deuxième contrat intelligent de nom de domaine pour interroger le premier nœud (le nœud 2 montré sur la figure 4) possédant de la propriété du premier contrat intelligent de nom de domaine et renvoyer le premier nœud vers le nœud de sous-chaîne.Accordingly, the second node (node 3 shown in Figure 4) is configured to invoke the second domain name smart contract to query the first node (node 2 shown in Figure 4) owning ownership of the first contract. domain name smart and return the first node to the subchain node.

Les nœuds de sous-chaîne (le nœud 1 montré sur la figure 4) sont configurés de plus pour envoyer une demande de requête de nom de domaine vers le premier nœud, dans lequel la demande de requête de nom de domaine contenant le nom de domaine à interroger.The subchain nodes (the node 1 shown in Figure 4) are further configured to send a domain name query request to the first node, wherein the domain name query request containing the domain name to interrogate.

Ainsi, le premier nœud (le nœud 2 montré sur la figure 4) est configuré pour appeler le premier contrat intelligent de nom de domaine pour interroger les informations d'adresse du nom de domaine à interroger et renvoyer les informations d'adresse du nom de domaine à interroger vers les nœuds de sous-chaîne.Thus, the first node (the node 2 shown in Figure 4) is configured to call the first domain name smart contract to query the address information of the domain name to query and return the address information of the domain name. domain to query to subchain nodes.

En tenant compte que les noms de domaine à mettre à interroger dans la présente demande peuvent être de différents niveaux, les contrats intelligents de nom de domaine appelés sont différents. Le processus de requête de nom de domaine à interroger de différents niveaux sera décrit en détail dans les exemples ci-dessous.Considering that the domain names to be queried in the present application may be of different levels, the domain name smart contracts invoked are different. The domain name query process to be queried from different levels will be described in detail in the examples below.

Exemple 1 :Example 1:

Comme montré la figure 5, un organigramme de requête de nom de domaine de premier niveau est fourni dans le présent exemple de réalisation.As shown in Fig. 5, a top level domain name query flowchart is provided in this exemplary embodiment.

Les nœuds de sous-chaîne (le nœud 1 montré sur la figure 5) peuvent être configurés de plus pour obtenir un nom de domaine de premier niveau à interroger envoyé par le nœud initiateur (le nœud 0 montré sur la figure 5) et déterminer le contrat intelligent de nom de domaine de premier niveau correspondant au nom de domaine de premier niveau à interroger ; s’ils sont configurés du contrat intelligent de nom de domaine de premier niveau, appeler le contrat intelligent de nom de domaine de premier niveau pour interroger les informations d’adresse du nom de domaine de premier niveau à interroger, s’ils ne sont pas configurés du contrat intelligent de nom de domaine de premier niveau, appeler le contrat intelligent de nom de domaine racine pour interroger le nœud (le nœud 2 montré sur la figure 5) possédant de la propriété du contrat intelligent de nom de domaine de premier niveau, et envoyer une demande d’appel de contrat vers le nœud, dans lequel la demande d’appel de contrat contenant le contrat intelligent de nom de domaine de premier niveau.The subchain nodes (node 1 shown in Figure 5) can be further configured to obtain a query top-level domain name sent by the initiator node (node 0 shown in Figure 5) and determine the top-level domain name smart contract corresponding to the top-level domain name to be queried; if configured of the top-level domain name smart contract, call the top-level domain name smart contract to query the address information of the top-level domain name to be queried, if not configured of the top-level domain name smart contract, call the root domain name smart contract to query the node (the node 2 shown in Figure 5) owning ownership of the top-level domain name smart contract, and sending a contract invocation request to the node, wherein the contract invocation request contains the top level domain name smart contract.

Le nœud (le nœud 2 montré sur la figure 5) possédant de la propriété du contrat intelligent de nom de domaine de premier niveau est configuré pour appeler le premier contrat intelligent de nom de domaine de premier niveau pour interroger les informations d'adresse du nom de domaine de premier niveau à interroger et renvoyer les informations d'adresse du nom de domaine de premier niveau à interroger vers les nœuds de sous-chaîne.The node (Node 2 shown in Figure 5) owning ownership of the top-level domain name smart contract is configured to call the first top-level domain name smart contract to query the address information of the name top-level domain name to be queried and return the address information of the top-level domain name to be queried to the subchain nodes.

Exemple 2 :Example 2:

Comme montré la figure 6, un organigramme de requête de nom de domaine de deuxième niveau est fourni dans le présent exemple de réalisation.As shown in Fig. 6, a second level domain name query flowchart is provided in this exemplary embodiment.

Les nœuds de sous-chaîne (le nœud 1 montré sur la figure 6) peuvent être configurés de plus pour obtenir un nom de domaine de deuxième niveau à interroger envoyé par le nœud initiateur (le nœud 0 montré sur la figure 6) et déterminer le contrat intelligent de nom de domaine d’application correspondant au nom de domaine de deuxième niveau à interroger ; s’ils sont configurés du contrat intelligent de nom de domaine d’application, appeler le contrat intelligent de nom de domaine d’application pour interroger les informations d’adresse du nom de domaine de deuxième niveau à interroger ; s’ils ne sont pas configurés du contrat intelligent de nom de domaine d’application, déterminer le contrat intelligent de nom de domaine de premier niveau qui gère le deuxième nœud de domaine à interroger. S’ils sont configurés du contrat intelligent de nom de domaine de premier niveau, appeler le contrat intelligent de nom de domaine de premier niveau pour interroger le premier nœud (le nœud 2 montré sur la figure 6) possédant de la propriété du contrat intelligent de nom de domaine de premier niveau, et envoyer une demande de requête de nom de domaine vers le premier nœud ; s’ils ne sont pas configurés du contrat intelligent de nom de domaine de premier niveau, appeler le contrat intelligent de nom de domaine racine pour interroger le deuxième nœud (le nœud 3 montré sur la figure 6) possédant de la propriété du contrat intelligent de nom de domaine de premier niveau, et envoyer une demande d’appel de contrat vers le premier nœud.The subchain nodes (node 1 shown in Figure 6) can be further configured to obtain a query second-level domain name sent by the initiator node (node 0 shown in Figure 6) and determine the application domain name smart contract corresponding to the second level domain name to be queried; if configured of the application domain name smart contract, call the application domain name smart contract to query the address information of the second-level domain name to be queried; if not configured of the application domain name smart contract, determine the top-level domain name smart contract that manages the second domain node to query. If they are configured of the top-level domain name smart contract, call the top-level domain name smart contract to query the first node (the node 2 shown in Figure 6) owning the smart contract property of top-level domain name, and sending a domain name query request to the first node; if they are not configured of the top-level domain name smart contract, call the root domain name smart contract to query the second node (the node 3 shown in Figure 6) possessing ownership of the smart contract of top-level domain name, and send a contract call request to the first node.

Le premier nœud (le nœud 2 montré sur la figure 6) est configuré pour appeler le contrat intelligent de nom de domaine d’application pour interroger les informations d'adresse du nom de domaine de deuxième niveau à interroger et renvoyer les informations d'adresse du nom de domaine de deuxième niveau à interroger vers les nœuds de sous-chaîne.The first node (Node 2 shown in Figure 6) is configured to invoke the application domain name smart contract to query the address information of the second-level domain name to be queried and return the address information from the second level domain name to be queried to the subchain nodes.

Le deuxième nœud (le nœud 3 montré sur la figure 6) est configuré pour appeler le contrat intelligent de nom de domaine de premier niveau pour interroger le premier nœud possédant de la propriété du contrat intelligent de nom de domaine d’application et renvoyer le premier nœud vers le nœud de sous-chaîne.The second node (node 3 shown in Figure 6) is configured to call the top-level domain name smart contract to query the first node owning ownership of the application domain name smart contract and return the first node to substring node.

Il faut noter que, si le nom de domaine à interroger est un nom de domaine de troisième niveau ou supérieur, le procédé illustré sur la figure 6 peut également être utilisé pour mettre en œuvre la requête de nom de domaine, qui ne sera pas décrit en détail ici.It should be noted that, if the domain name to be queried is a third-level or higher domain name, the method illustrated in Figure 6 can also be used to implement the domain name query, which will not be described. in detail here.

Basé sur la même conception d’invention, le présent exemple de réalisation fournit en outre un procédé de requête de nom de domaine basé sur chaîne de blocs. La figure 7 est un organigramme correspondant au procédé de requête de nom de domaine basé sur chaîne de blocs fourni dans l’exemple de réalisation de la présente demande. Ledit procédé est applicable au système de requête de nom de domaine basé sur chaîne de blocs décrit ci-dessus, qui comprend une chaîne publique composée d’une pluralité de nœuds et une sous-chaîne composée de certains nœuds de chaîne publique ; dans lequel les nœuds de chaîne publique sont configurés d’un contrat intelligent de nom de domaine racine ; les nœuds de sous-chaîne sont configurés pour exécuter le contrat intelligent de nom de domaine racine pour générer un contrat intelligent de nom de sous-domaine et d’obtenir la propriété du contrat intelligent de nom de sous-domaine de manière concurrentiel ; en particulier, le procédé comprend les étapes suivantes :
Étape 101, le nœud de sous-chaîne obtient un nom de domaine à interroger ;
Étape 102, le nœud de sous-chaîne détermine le premier contrat intelligent de nom de domaine correspondant au nom de domaine à interroger ;
Étape 103, si le nœud de sous-chaîne est configuré du premier contrat intelligent de nom de domaine, il appelle le premier contrat intelligent de nom de domaine pour interroger les informations d’adresse du nom de domaine à interroger.
Based on the same inventive conception, the present example embodiment further provides a blockchain-based domain name query method. Figure 7 is a flowchart corresponding to the blockchain-based domain name query method provided in the exemplary embodiment of the present application. Said method is applicable to the blockchain-based domain name query system described above, which includes a public chain composed of a plurality of nodes and a subchain composed of some public chain nodes; wherein the public chain nodes are configured of a root domain name smart contract; the subchain nodes are configured to execute the root domain name smart contract to generate a subdomain name smart contract and to obtain ownership of the subdomain name smart contract competitively; in particular, the method comprises the following steps:
Step 101, the subchain node obtains a domain name to query;
Step 102, the subchain node determines the first domain name smart contract corresponding to the domain name to be queried;
Step 103, if the subchain node is configured of the first domain name smart contract, it calls the first domain name smart contract to query the address information of the domain name to query.

Il comprend de plus l’étape 104 suivant l’étape 103 : le nœud de sous-chaîne renvoie les informations d'adresse du nom de domaine à interroger vers le nœud initiateur.It further includes step 104 following step 103: the subchain node returns the address information of the domain name to be queried to the initiator node.

Le procédé ci-dessus permet de disposer le système DNS sous forme d'une sous-chaîne dans un réseau de chaîne de blocs et réaliser ainsi une disposition décentralisé complet. Comparé au système DNS existant, selon le procédé de requête de nom de domaine fourni par la présente demande, les noms de domaine de différents niveaux sont gérés par différents contrats intelligents, de plus, la propriété de contrat intelligent est obtenue de manière concurrentielle par le nœud de sous-chaîne. Par rapport à la technique existante dans laquelle un serveur défini gère les noms de domaine de différents niveaux, ce mode présente une flexibilité plus haute et un risque déduit d’être attaqué, améliore la stabilité de l'ensemble du système et améliore ainsi la sécurité Internet des parties fournissant et participant aux services Internet.The above method makes it possible to arrange the DNS system as a subchain in a blockchain network and thus realize a complete decentralized arrangement. Compared with the existing DNS system, according to the domain name query method provided by the present application, domain names of different levels are managed by different smart contracts, in addition, smart contract ownership is competitively obtained by the substring node. Compared with the existing technique in which a set server manages domain names of different levels, this mode has higher flexibility and inferred risk of being attacked, improves the stability of the whole system, and thus improves security. Internet of the parties providing and participating in Internet services.

Éventuellement, le procédé comprend en outre :
déterminer que la requête de nom de domaine n’a pas réussie si l’appel du premier contrat intelligent par le nom de sous-domaine n'a pas interrogé les informations d'adresse du nom de domaine à interroger.
Optionally, the method further comprises:
determining that the domain name query was not successful if the first smart contract call by the subdomain name did not query the address information of the domain name to be queried.

Éventuellement, le procédé comprend en outre :
si le nœud de sous-chaîne n’est pas configuré du premier contrat intelligent de nom de domaine, il détermine le deuxième contrat intelligent qui gère le nom de domaine à interroger ;
si le nœud de sous-chaîne est configuré du deuxième contrat intelligent de nom de domaine, il appelle le deuxième contrat intelligent de nom de domaine pour interroger le premier nœud possédant de la propriété du premier contrat intelligent de nom de domaine ;
le nœud de sous-chaîne envoie une demande de requête de nom de domaine vers le premier nœud, la demande de requête de nom de domaine contenant le nom de domaine à interroger ;
le premier nœud appelle le premier contrat intelligent de nom de domaine pour interroger les informations d'adresse du nom de domaine à interroger et renvoie les informations d'adresse du nom de domaine à interroger vers le nœud de sous-chaîne.
Optionally, the method further comprises:
if the subchain node is not configured of the first domain name smart contract, it determines the second smart contract which manages the domain name to be queried;
if the subchain node is configured of the second domain name smart contract, it calls the second domain name smart contract to query the first node owning ownership of the first domain name smart contract;
the subchain node sends a domain name query request to the first node, the domain name query request containing the domain name to be queried;
the first node calls the first domain name smart contract to query the address information of the domain name to be queried and returns the address information of the domain name to be queried to the subchain node.

Éventuellement, le procédé comprend en outre :
si le deuxième contrat intelligent de nom de domaine n’est pas le contrat intelligent de nom de domaine racine et il n’est pas configuré du deuxième contrat intelligent de nom de domaine, le nœud de sous-chaîne appelle le contrat intelligent de nom de domaine racine pour interroger le deuxième nœud possédant de la propriété du deuxième contrat intelligent de nom de domaine ;
le nœud de sous-chaîne envoie une demande d’appel de contrat vers le deuxième nœud, la demande d’appel de contrat contenant le deuxième contrat intelligent de nom de domaine ;
le deuxième nœud utilise le deuxième contrat intelligent de nom de domaine pour interroger le premier nœud possédant de la propriété du premier contrat intelligent de nom de domaine et renvoie le premier nœud vers le nœud de sous-chaîne ;
le nœud de sous-chaîne envoie une demande de requête de nom de domaine vers le premier nœud, la demande de requête de nom de domaine contenant le nom de domaine à interroger ;
le premier nœud appelle le premier contrat intelligent de nom de domaine pour interroger les informations d'adresse du nom de domaine à interroger et renvoie les informations d'adresse du nom de domaine à interroger vers le nœud de sous-chaîne.
Optionally, the method further comprises:
if the second domain name smart contract is not the root domain name smart contract and it is not configured of the second domain name smart contract, the subchain node calls the root domain name smart contract root domain to query the second node owning ownership of the second domain name smart contract;
the subchain node sends a contract call request to the second node, the contract call request containing the second domain name smart contract;
the second node uses the second domain name smart contract to query the first node having ownership of the first domain name smart contract and returns the first node to the subchain node;
the subchain node sends a domain name query request to the first node, the domain name query request containing the domain name to be queried;
the first node calls the first domain name smart contract to query the address information of the domain name to be queried and returns the address information of the domain name to be queried to the subchain node.

Éventuellement, le contrat intelligent de nom de sous-domaine comprend un contrat intelligent de nom de domaine de premier niveau et un contrat intelligent de nom de domaine d'application.Optionally, the subdomain name smart contract includes a top-level domain name smart contract and an application domain name smart contract.

Éventuellement, le contrat intelligent de nom de domaine racine est utilisé pour gérer les noms de domaine de premier niveau, le contrat intelligent de nom de domaine de premier niveau est utilisé pour gérer les noms de domaine de deuxième niveau, et le contrat intelligent de nom de domaine d’application est utilisé pour gérer les noms de domaine de troisième niveau ou supérieur.Optionally, the root domain name smart contract is used to manage top-level domain names, the top-level domain name smart contract is used to manage second-level domain names, and the name smart contract application domain is used to manage third-level or higher domain names.

Éventuellement, le nœud de sous-chaîne obtient un nom de domaine à interroger, ce qui comprend :
le nœud de sous-chaîne obtient un nom de domaine à interroger envoyé par le nœud initiateur ou un nœud voisin correspondant au nœud de sous-chaîne.
Eventually, the subchain node gets a domain name to query, which includes:
the subchain node obtains a query domain name sent by the initiator node or a neighboring node corresponding to the subchain node.

Dans un exemple de réalisation illustratif, un support de stockage lisible par ordinateur est également fourni, ledit support de stockage stocke les programmes informatiques ou les contrats intelligents, et les programmes informatiques ou les contrats intelligents sont chargés et exécutés par un nœud pour mettre en œuvre le procédé fourni dans les exemples de réalisation ci-dessus. Éventuellement, le support de stockage lisible par ordinateur mentionné ci-dessus peut être une mémoire à lecture seule (Read-Only Memor, ROM), une mémoire vive (Random Access Memory, RAM), un CD-ROM, une cassette, une disquette, un périphérique de stockage de données optique, etc.In an illustrative embodiment, a computer-readable storage medium is also provided, said storage medium stores the computer programs or smart contracts, and the computer programs or smart contracts are loaded and executed by a node to implement the method provided in the embodiments above. Optionally, the computer-readable storage medium mentioned above may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a cassette, a floppy disk , an optical data storage device, etc.

L’homme d’art peut clairement comprendre que la technologie dans les exemples de réalisation de la présente demande peut être mise en œuvre au moyen d'un logiciel et d’une plate-forme matérielle générale nécessaire. Basé sur cette compréhension, les solutions techniques dans les exemples de réalisation de la présente demande ou ses parties favorables aux techniques existantes peuvent être mises en œuvre sous la forme de produits logiciels. Les produits logiciels peuvent être stockés dans des supports de stockage, tels que la ROM / RAM, des disques magnétiques et des disques optiques, qui contiennent des instructions permettant à un dispositif informatique (tels qu’un ordinateur personnel, un serveur ou un dispositif réseau, etc.) de mettre en œuvre le procédé décrit dans les exemples de réalisation ou les parties des exemples de réalisation de la présente demande.One skilled in the art can clearly understand that the technology in the exemplary embodiments of this application can be implemented by means of software and a general hardware platform required. Based on this understanding, the technical solutions in the exemplary embodiments of this application or its portions favorable to existing techniques can be implemented as software products. Software products may be stored in storage media, such as ROM/RAM, magnetic disks, and optical disks, which contain instructions enabling a computing device (such as a personal computer, server, or network device , etc.) to implement the method described in the embodiments or parts of the embodiments of the present application.

L’homme d’art peut obtenir autres modes de réalisation basée sur la description et la réalisation divulguées ici. La présente demande est destinée à couvrir toutes variations, utilisations ou changement d’adaptation de la présente divulgation, qui doivent conformer aux principes généraux de la présente divulgation et concerner les connaissances générales ou les moyens connus dans le domaine technique conventionnelle et non mentionnée par la présente divulgation. La description et les exemples ne sont qu’à titre illustratif, et la domaine et l’esprit de la présente divulgation doivent être proposés dans les revendications.The skilled artisan may obtain other embodiments based on the description and embodiment disclosed herein. This application is intended to cover all variations, uses or changes in adaptation of this disclosure, which must comply with the general principles of this disclosure and relate to general knowledge or means known in the conventional technical field and not mentioned by the this disclosure. The description and examples are for illustrative purposes only, and the scope and spirit of this disclosure should be set forth in the claims.

Il convient de comprendre que la présente divulgation n’est pas limitée aux structures précises décrites ci-dessus et montrées dans les figures, les variantes et les modifications sont possibles en respectant le domaine de la présente divulgation. Le domaine de la présente divulgation sont limitées par les revendications.It should be understood that this disclosure is not limited to the precise structures described above and shown in the figures, variations and modifications are possible within the scope of this disclosure. The scope of this disclosure is limited by the claims.

Claims (10)

Système de requête de nom de domaine basé sur chaîne de blocs, caractérisé en ce que, ledit système comprend une chaîne publique composée d’une pluralité de nœuds, et une sous-chaîne composée de certains nœuds de chaîne publique ; dans lequel, les nœuds de chaîne publique sont configurés d’un contrat intelligent de nom de domaine racine ; les nœuds de sous-chaîne sont configurés pour exécuter le contrat intelligent de nom de domaine racine pour générer un contrat intelligent de nom de sous-domaine, et d’obtenir la propriété du contrat intelligent de nom de sous-domaine de manière concurrentiel ;
les nœuds de sous-chaîne sont configurés de plus pour obtenir un nom de domaine à interroger, déterminer un premier contrat intelligent de nom de domaine correspondant au nom de domaine à interroger ; et s’ils sont configurés du premier contrat intelligent de nom de domaine, appeler le premier contrat intelligent de nom de domaine pour interroger les informations d’adresse du nom de domaine à interroger ;
Blockchain-based domain name query system, characterized in that, said system comprises a public chain composed of a plurality of nodes, and a subchain composed of some public chain nodes; wherein, the public chain nodes are configured of a root domain name smart contract; the subchain nodes are configured to execute the root domain name smart contract to generate a subdomain name smart contract, and to obtain ownership of the subdomain name smart contract competitively;
the subchain nodes are further configured to obtain a domain name to query, determine a first domain name smart contract corresponding to the domain name to query; and if configured of the first domain name smart contract, calling the first domain name smart contract to query the address information of the domain name to be queried;
Système selon la revendication 1, caractérisé en ce que, les nœuds de sous-chaîne sont configurés de plus pour déterminer un deuxième contrat intelligent de nom de domaine s’ils ne sont pas configurés du premier contrat intelligent de nom de domaine ; et s’ils sont configurés du deuxième contrat intelligent de nom de domaine, appeler le deuxième contrat intelligent de nom de domaine pour interroger un premier nœud possédant de la propriété du premier contrat intelligent de nom de domaine ; et envoyer une demande de requête de nom de domaine vers le premier nœud, la demande de requête de nom de domaine contenant le nom de domaine à interroger ;
le premier nœud est configuré pour appeler le premier contrat intelligent de nom de domaine pour interroger les informations d'adresse du nom de domaine à interroger et renvoyer les informations d'adresse du nom de domaine à interroger vers les nœuds de sous-chaîne.
A system according to claim 1, characterized in that, the subchain nodes are further configured to determine a second domain name smart contract if they are not configured of the first domain name smart contract; and if configured of the second domain name smart contract, calling the second domain name smart contract to query a first node having ownership of the first domain name smart contract; and sending a domain name query request to the first node, the domain name query request containing the domain name to be queried;
the first node is configured to call the first domain name smart contract to query the address information of the domain name to be queried and return the address information of the domain name to be queried to the subchain nodes.
Système selon la revendication 2, caractérisé en ce que, les nœuds de sous-chaîne sont configurés de plus pour appeler le contrat intelligent de nom de domaine racine pour interroger un deuxième nœud possédant de la propriété du deuxième contrat intelligent de nom de domaine si le deuxième contrat intelligent de nom de domaine n’est pas le contrat intelligent de nom de domaine racine et ils ne sont pas configurés du deuxième contrat intelligent de nom de domaine ; et envoyer une demande d’appel de contrat vers le deuxième nœud, la demande d’appel de contrat contenant le deuxième contrat intelligent de nom de domaine ;
le deuxième nœud est configuré pour appeler le deuxième contrat intelligent de nom de domaine pour interroger le premier nœud possédant de la propriété du premier contrat intelligent de nom de domaine et renvoyer le premier nœud vers le nœud de sous-chaîne ;
les nœuds de sous-chaîne sont configurés de plus pour envoyer une demande de requête de nom de domaine vers le premier nœud, la demande de requête de nom de domaine contenant le nom de domaine à interroger ;
le premier nœud est configuré pour appeler le premier contrat intelligent de nom de domaine pour interroger les informations d'adresse du nom de domaine à interroger et renvoyer les informations d'adresse du nom de domaine à interroger vers les nœuds de sous-chaîne.
A system according to claim 2, characterized in that, the subchain nodes are further configured to invoke the root domain name smart contract to query a second node possessing ownership of the second domain name smart contract if the second domain name smart contract is not the root domain name smart contract and they are not configured of the second domain name smart contract; and sending a contract invocation request to the second node, the contract invocation request containing the second domain name smart contract;
the second node is configured to invoke the second domain name smart contract to query the first node owning ownership of the first domain name smart contract and return the first node to the subchain node;
the subchain nodes are further configured to send a domain name query request to the first node, the domain name query request containing the domain name to be queried;
the first node is configured to call the first domain name smart contract to query the address information of the domain name to be queried and return the address information of the domain name to be queried to the subchain nodes.
Système selon la revendication 1, caractérisé en ce que, le contrat intelligent de nom de sous-domaine comprend un contrat intelligent de nom de domaine de premier niveau et un contrat intelligent de nom de domaine d'application.A system according to claim 1, characterized in that, the subdomain name smart contract comprises a top level domain name smart contract and an application domain name smart contract. Système selon la revendication 4, caractérisé en ce que, le contrat intelligent de nom de domaine racine est utilisé pour gérer les noms de domaine de premier niveau, le contrat intelligent de nom de domaine de premier niveau est utilisé pour gérer les noms de domaine de deuxième niveau, et le contrat intelligent de nom de domaine d’application est utilisé pour gérer les noms de domaine de troisième niveau ou supérieur.System according to claim 4, characterized in that, the root domain name smart contract is used to manage the top level domain names, the top level domain name smart contract is used to manage the domain names of second level, and the application domain name smart contract is used to manage third level or higher domain names. Système selon la revendication 4, caractérisé en ce que, les nœuds de sous-chaîne sont configurés de plus pour exécuter le contrat intelligent de nom de domaine racine pour générer un contrat intelligent de nom de domaine de premier niveau et/ou exécuter le contrat intelligent de nom de domaine de premier niveau pour générer un contrat intelligent de nom domaine d’application.System according to claim 4, characterized in that, the subchain nodes are further configured to execute the root domain name smart contract to generate a top level domain name smart contract and/or to execute the smart contract of top-level domain name to generate an application domain name smart contract. Système selon la revendication 1, caractérisé en ce que, les nœuds de sous-chaîne sont configurés de plus pour déterminer que la requête de nom de domaine n’a pas réussie si l’appel du premier contrat intelligent de nom de domaine n'a pas interrogé les informations d'adresse du nom de domaine à interroger.A system according to claim 1, characterized in that, the subchain nodes are further configured to determine that the domain name request was unsuccessful if the invocation of the first domain name smart contract did not not queried the address information of the domain name to be queried. Système selon l’une quelconque des revendications 1 à 7, caractérisé en ce que, les nœuds de sous-chaîne sont configurés de plus pour obtenir un nom de domaine à interroger envoyé par le nœud initiateur ou un nœud voisin correspondant au nœud de sous-chaîne.System according to any one of claims 1 to 7, characterized in that, the subchain nodes are further configured to obtain a domain name to be queried sent by the initiator node or a neighboring node corresponding to the subchain node. chain. Procédé de requête de nom de domaine basé sur chaîne de blocs, caractérisé en ce que, ledit procédé est applicable au système selon l’une quelconque des revendications 1 à 8, le système comprenant une chaîne publique composée d’une pluralité de nœuds et une sous-chaîne composée de certains nœuds de chaîne publique ; dans lequel les nœuds de chaîne publique sont configurés d’un contrat intelligent de nom de domaine racine ; les nœuds de sous-chaîne sont configurés pour exécuter le contrat intelligent de nom de domaine racine pour générer un contrat intelligent de nom de sous-domaine et d’obtenir la propriété du contrat intelligent de nom de sous-domaine de manière concurrentiel ; et le procédé comprend :
le nœud de sous-chaîne obtient un nom de domaine à interroger ;
le nœud de sous-chaîne détermine le premier contrat intelligent de nom de domaine correspondant au nom de domaine à interroger ;
si le nœud de sous-chaîne est configuré du premier contrat intelligent de nom de domaine, il appelle le premier contrat intelligent de nom de domaine pour interroger les informations d’adresse du nom de domaine à interroger.
A blockchain-based domain name query method, characterized in that said method is applicable to the system according to any one of claims 1 to 8, the system comprising a public chain composed of a plurality of nodes and a substring composed of some public string nodes; wherein the public chain nodes are configured of a root domain name smart contract; the subchain nodes are configured to execute the root domain name smart contract to generate a subdomain name smart contract and to obtain ownership of the subdomain name smart contract competitively; and the method includes:
the subchain node gets a domain name to query;
the subchain node determines the first domain name smart contract corresponding to the domain name to be queried;
if the subchain node is configured of the first domain name smart contract, it calls the first domain name smart contract to query the address information of the domain name to be queried.
Procédé selon la revendication 9, caractérisée en ce que ledit procédé comprend en outre :
déterminer que la requête de nom de domaine n’a pas réussie si l’appel du premier contrat intelligent par le nom de sous-domaine n'a pas interrogé les informations d'adresse du nom de domaine à interroger.
Method according to claim 9, characterized in that said method further comprises:
determining that the domain name query was not successful if the first smart contract call by the subdomain name did not query the address information of the domain name to be queried.
FR2008785A 2019-09-06 2020-08-28 Blockchain-based domain name query system and method Withdrawn FR3100633A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910842305.XA CN112468603B (en) 2019-09-06 2019-09-06 Domain name query system and method based on block chain
CN201910842305.X 2019-09-06

Publications (1)

Publication Number Publication Date
FR3100633A1 true FR3100633A1 (en) 2021-03-12

Family

ID=74807120

Family Applications (1)

Application Number Title Priority Date Filing Date
FR2008785A Withdrawn FR3100633A1 (en) 2019-09-06 2020-08-28 Blockchain-based domain name query system and method

Country Status (3)

Country Link
CN (1) CN112468603B (en)
FR (1) FR3100633A1 (en)
WO (1) WO2021042788A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067930A (en) * 2018-06-26 2018-12-21 网宿科技股份有限公司 Domain name cut-in method, domain name analytic method, server, terminal and storage medium
US20190166085A1 (en) * 2017-04-19 2019-05-30 Peking University Shenzhen Graduate School Blockchain-based domain name resolution system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3049089B1 (en) * 2016-03-21 2018-02-16 Sebastien Jean Serge Dupont METHOD FOR MANAGING VALIDATIONS OF MESSAGE CHANNEL-RELATED MESSAGES THROUGH A DECENTRALIZED VALIDATION NETWORK
CN106210171A (en) * 2016-07-25 2016-12-07 宁圣金融信息服务(上海)有限公司 A kind of block chain domain name analysis system
CN107613041B (en) * 2017-09-22 2020-06-05 中国互联网络信息中心 Domain name management system, domain name management method and domain name resolution method based on block chain
CN108429765B (en) * 2018-05-28 2021-10-26 北京奇虎科技有限公司 Method, server and storage medium for realizing domain name resolution based on block chain
CN108833603A (en) * 2018-05-28 2018-11-16 北京奇虎科技有限公司 A kind of method, server and system for realizing domain name mapping based on block chain
CN109819443B (en) * 2018-12-29 2021-09-21 东莞见达信息技术有限公司 Registration authentication method, device and system based on block chain
CN109784761A (en) * 2019-01-31 2019-05-21 中国互联网络信息中心 Domain name ranking method, device, electronic equipment and storage medium based on block chain
CN110061838B (en) * 2019-04-28 2022-07-19 广州大学 Decentralized storage system for DNS resource records and implementation method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190166085A1 (en) * 2017-04-19 2019-05-30 Peking University Shenzhen Graduate School Blockchain-based domain name resolution system
CN109067930A (en) * 2018-06-26 2018-12-21 网宿科技股份有限公司 Domain name cut-in method, domain name analytic method, server, terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WANG WENTONG ET AL: "BlockZone: A Blockchain-Based DNS Storage and Retrieval Scheme", 11 July 2019, ADVANCES IN DATABASES AND INFORMATION SYSTEMS; [LECTURE NOTES IN COMPUTER SCIENCE; LECT.NOTES COMPUTER], SPRINGER INTERNATIONAL PUBLISHING, CHAM, PAGE(S) 155 - 166, ISBN: 978-3-319-10403-4, XP047514578 *

Also Published As

Publication number Publication date
CN112468603A (en) 2021-03-09
CN112468603B (en) 2022-01-11
WO2021042788A1 (en) 2021-03-11

Similar Documents

Publication Publication Date Title
FR3100634A1 (en) SYSTEM AND METHOD FOR REGISTRATION OF DECENTRALIZED DOMAIN NAME BASED ON BLOCK CHAIN
FR2931970A1 (en) METHOD FOR GENERATING HANDLING REQUIREMENTS OF SERVER CLUSTER INITIALIZATION AND ADMINISTRATION DATABASE, DATA CARRIER AND CLUSTER OF CORRESPONDING SERVERS
FR3069669B1 (en) A COMMUNICATION SYSTEM AND A METHOD FOR ACCESSING AND DEPLOYING EPHEMICAL MICROSERVICES ON A HETEROGENEOUS PLATFORM
FR3030168A1 (en) METHOD FOR CHOOSING AT LEAST ONE SERVICE AND ASSOCIATED DEVICE
FR3100677A1 (en) Blockchain-based domain name management system
WO2023040498A1 (en) User service utilization
CN113535335A (en) Virtual resource allocation method and device based on block chain and electronic equipment
FR3100633A1 (en) Blockchain-based domain name query system and method
EP2286571A1 (en) Method and device for storing online data
CN113469815A (en) Data management method and device
CN116361172A (en) Development joint debugging method and system
FR3096204A3 (en) Capping the pace of inbound transactions in established inbound stateful exchanges in a distributed computing environment
FR3100675A1 (en) Blockchain-based decentralized domain name updating system and method
EP2674860B1 (en) Method for data processing by a navigation module
CA2435393A1 (en) Software components as virtual processors
CN113535690A (en) Block chain service network establishing method and device
CN116562885B (en) Supply chain system management method, device, equipment and medium based on block chain
FR2816419A1 (en) Method for dividing load between servers on distributed system, comprises determination of tasks for transfer by a first server followed by negotiation with load control units on other servers
FR3128603A1 (en) A method of establishing a certification token of an instantiation of a cluster of nodes.
FR3061391A1 (en) COMPUTER NETWORK OF KNOTS COMMUNICATING BETWEEN THEM THROUGH PAIR MESSAGES AND INTERCONNECTION METHOD BETWEEN NODES ASSOCIATED THEREWITH
FR3060791A1 (en) METHOD AND DEVICE FOR UPDATING
EP2038797B1 (en) Unit and method for managing at least one channel in an access session for accessing a service in a network
CN115665228A (en) Cross-node service discovery method and device
FR3105698A1 (en) method of managing requests for the allocation of a computer resource.
FR3131487A1 (en) Method for reconfiguring a communication network

Legal Events

Date Code Title Description
PLFP Fee payment

Year of fee payment: 2

PLSC Publication of the preliminary search report

Effective date: 20211008

ST Notification of lapse

Effective date: 20230405