Disclosure of Invention
The application provides a block chain-based decentralization domain name registration system and a block chain-based decentralization domain name registration method, which can be used for solving the technical problem that in the prior art, domain name registration in a DNS system is possibly limited and shielded by ICANN, so that network security of all parties participating in and providing network services is affected.
In a first aspect, an embodiment of the present application provides a blockchain-based decentralised domain name registration system, the system including a public chain composed of a plurality of nodes, and a sub-chain composed of some nodes in the public chain; wherein, the nodes in the public chain are configured with root domain name intelligent contracts; the nodes in the sub-chain are configured to: generating a subdomain name intelligent contract by executing the root domain name intelligent contract, and acquiring ownership of the subdomain name intelligent contract in a competitive manner;
the nodes in the sub-chain are further configured to: acquiring a domain name to be registered, determining a target domain name intelligent contract for managing the domain name to be registered, and determining a target node with ownership of the target domain name intelligent contract in a sub-chain; sending a domain name registration request to the target node, wherein the domain name registration request comprises the domain name to be registered;
the target node is configured to: and determining whether to accept the domain name registration request, and if so, generating an intelligent contract corresponding to the domain name to be registered.
Optionally, the subdomain name intelligent contracts include a top-level domain name intelligent contract and an application domain name intelligent contract.
Optionally, the nodes in the sub-chain are further configured to: generating a top-level domain name intelligent contract by executing the root domain name intelligent contract, and/or generating an application domain name intelligent contract by executing the top-level domain name intelligent contract.
Optionally, the root domain name intelligent contract is used for managing a top-level domain name, and the top-level domain name intelligent contract is used for managing an application domain name.
Optionally, the nodes in the sub-chain are further configured to: acquiring a domain name to be registered, and if the domain name to be registered is a top-level domain name to be registered, determining that a target domain name intelligent contract for managing the top-level domain name to be registered is a root domain name intelligent contract; determining whether to accept the registration request of the top-level domain name to be registered, and if so, generating a top-level domain name intelligent contract corresponding to the top-level domain name to be registered according to the root domain name intelligent contract.
Optionally, the nodes in the sub-chain are further configured to: acquiring a domain name to be registered, if the domain name to be registered is a secondary domain name to be registered, determining that a target domain name intelligent contract for managing the secondary domain name to be registered is a top-level domain name intelligent contract, and determining a target node with ownership of the top-level domain name intelligent contract in a sub-chain; sending a domain name registration request to the target node, wherein the domain name registration request comprises the secondary domain name to be registered;
the target node is further configured to: and if the domain name registration request is accepted, generating an application domain name intelligent contract corresponding to the to-be-registered second-level domain name according to the top-level domain name intelligent contract.
Optionally, the nodes in the sub-chain are further configured to: acquiring a domain name to be registered, if the domain name to be registered is a tertiary domain name to be registered, determining that a target domain name intelligent contract for managing the tertiary domain name to be registered is an application domain name intelligent contract, and determining a target node with ownership of the application domain name intelligent contract in a sub-chain; sending a domain name registration request to the target node, wherein the domain name registration request comprises the tertiary domain name to be registered;
the target node is further configured to: and if the domain name registration request is accepted, generating domain name system BNS data corresponding to the domain name to be registered according to the application domain name intelligent contract.
Optionally, the target node is further configured to: and if the domain name registration request is refused, the domain name registration to be registered fails.
Optionally, the nodes in the sub-chain are further configured to: and acquiring the domain name to be registered, which is sent by the initiating node or the adjacent node corresponding to the node in the sub-chain.
In a second aspect, an embodiment of the present application provides a method for decentralizing domain name registration based on a blockchain, where the method is applied to the system described above, and the system includes a public chain composed of a plurality of nodes, and a sub-chain composed of some nodes in the public chain; wherein, the nodes in the public chain are configured with root domain name intelligent contracts; the nodes in the sub-chain are configured to: generating a subdomain name intelligent contract by executing the root domain name intelligent contract, and acquiring ownership of the subdomain name intelligent contract in a competitive manner; the method comprises the following steps:
the nodes in the sub-chain acquire domain names to be registered;
the nodes in the sub-chain determine a target domain name intelligent contract for managing the domain name to be registered, and determine target nodes in the sub-chain, which have ownership of the target domain name intelligent contract;
the node in the sub-chain sends a domain name registration request to the target node, wherein the domain name registration request comprises the domain name to be registered;
and the target node decides whether to accept the domain name registration request, and if so, generates an intelligent contract corresponding to the domain name to be registered.
Optionally, the subdomain name intelligent contracts include a top-level domain name intelligent contract and an application domain name intelligent contract.
Optionally, the root domain name intelligent contract is used for managing a top-level domain name, and the top-level domain name intelligent contract is used for managing an application domain name.
Optionally, the determining, by the node in the sub-chain, a target domain name intelligent contract for managing the domain name to be registered, and determining, by the node in the sub-chain, a target node having ownership of the target domain name intelligent contract, includes:
if the domain name to be registered is a top-level domain name to be registered, determining that a target domain name intelligent contract for managing the top-level domain name to be registered is a root domain name intelligent contract by the nodes in the sub-chains;
the method further comprises the steps of:
and the nodes in the sub-chain determine whether to accept the registration request of the top-level domain name to be registered, and if the registration request of the top-level domain name to be registered is accepted, the top-level domain name intelligent contract corresponding to the top-level domain name to be registered is generated according to the root domain name intelligent contract.
Optionally, the determining, by the node in the sub-chain, a target domain name intelligent contract for managing the domain name to be registered, and determining, by the node in the sub-chain, a target node having ownership of the target domain name intelligent contract, includes:
if the domain name to be registered is a secondary domain name to be registered, the node in the sub-chain determines that a target domain name intelligent contract for managing the secondary domain name to be registered is a top-level domain name intelligent contract, and determines a target node in the sub-chain, which has ownership of the top-level domain name intelligent contract;
the target node decides whether to accept the domain name registration request, and if so, generates an intelligent contract corresponding to the domain name to be registered, including:
and if the domain name registration request is accepted, the target node generates an application domain name intelligent contract corresponding to the to-be-registered secondary domain name according to the top-level domain name intelligent contract.
Optionally, the determining, by the node in the sub-chain, a target domain name intelligent contract for managing the domain name to be registered, and determining, by the node in the sub-chain, a target node having ownership of the target domain name intelligent contract, includes:
if the domain name to be registered is a tertiary domain name to be registered, determining that a target domain name intelligent contract for managing the tertiary domain name to be registered is an application domain name intelligent contract by a node in the sub-chain, and determining that the target node in the sub-chain has ownership of the application domain name intelligent contract;
the target node decides whether to accept the domain name registration request, if so, generates an intelligent contract corresponding to the domain name to be registered, including
And if the domain name registration request is accepted, the target node generates BNS data corresponding to the domain name to be registered according to the application domain name intelligent contract.
Optionally, the method further comprises:
and if the domain name registration request is refused, the domain name registration to be registered fails.
Optionally, the obtaining, by the node in the sub-chain, the domain name to be registered includes:
and the node in the sub-chain acquires the domain name to be registered, which is sent by the initiating node or the adjacent node corresponding to the node in the sub-chain.
The embodiment of the application also provides a device with the function of realizing the block chain-based decentralization domain name registration method. The functions may be implemented by hardware executing corresponding software, and in one possible design, the apparatus comprises: a processor, transceiver, memory; the memory is used for storing computer-executable instructions, the transceiver is used for enabling the device to communicate with other communication entities, the processor is connected with the memory through the bus, and when the device runs, the processor executes the computer-executable instructions stored in the memory so that the device executes the block chain-based decentralization domain name registration method.
Embodiments of the present application also provide a computer storage medium having stored therein a software program that, when read and executed by one or more processors, implements the blockchain-based decentralised domain name registration method described in the various possible implementations described above.
Embodiments of the present application also provide a computer program product containing instructions that, when run on a computer, cause the computer to perform the blockchain-based decentralised domain name registration method described in the various possible implementations described above.
As can be seen from the above technical scheme, the present application provides a block chain-based decentralised domain name registration system, comprising: a common chain composed of a plurality of nodes, and a sub-chain composed of partial nodes in the common chain. Wherein, all nodes in the public chain are configured with root domain name intelligent contracts; the nodes in the sub-chain are configured to: generating a subdomain name intelligent contract by executing the root domain name intelligent contract, and acquiring ownership of the subdomain name intelligent contract in a competitive manner; the method comprises the steps of obtaining a domain name to be registered, determining a target domain name intelligent contract for managing the domain name to be registered, and determining a target node with ownership of the target domain name intelligent contract in a sub-chain; after the domain name registration request is sent to the target node, the target node decides whether to accept the domain name registration request, and if so, an intelligent contract corresponding to the domain name to be registered is generated. According to the application, the DNS system is deployed in the blockchain network in a form of the sub-chain, so that complete decentralization deployment can be realized. Compared with the prior DNS system, the domain name registration system provided by the application is not controlled by the ICANN any more, and the risk that domain name registration is limited and shielded by the ICANN in the DNS system is avoided, so that the network security of each party participating in and providing network services can be improved.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
In the technical scheme provided by the application, the blockchain network refers to a point-to-point network with a decentralised application architecture, and the blockchain network can perform distributed storage, public consensus, digital encryption, transaction accounting and verification inside the network. I.e., blockchain networks, are transaction platforms that cover distributed technology, cryptography, P2P network architecture, and various consensus algorithms that may be applied.
In the application, the blockchain or blockchain data refers to billing information generated according to transaction information when transactions occur in a blockchain network, namely, a plurality of transactions form one blockdata, and the blockdata form one blockchain with a time stamp. The blockchain network includes nodes that establish point-to-point network connections with each other, each configured with a corresponding consensus mechanism, such as a smart contract, and with sufficient computing power to perform transaction verification and accounting procedures. The nodes also have interface specifications thereon that conform to a unified standard to enable access to more nodes or other types of blockchain networks via the interface specifications. The public chain is a point-to-point network structure formed by a plurality of nodes in the blockchain network, and each node has a distributed storage function and a transaction and accounting function; the nodes on the public chain provide unified interface specifications to the outside.
A possible system architecture to which the embodiment of the present application is applicable will be described first with reference to fig. 1.
Referring to fig. 1, a schematic diagram of a block chain-based decentralised domain name registration system is shown for use in an embodiment of the present application. The system may include: a common chain composed of a plurality of nodes, and a sub-chain composed of a part of the nodes in the common chain. Obviously, in this embodiment, the nodes in the common chain may also be used as child link points at the same time. And the nodes in the sub-chain are composed of partial nodes in the common chain, so that the nodes are both the nodes in the sub-chain and the nodes in the common chain. That is, the nodes that make up the child chain have the same intelligent contracts and functions as the nodes of the public chain.
In practice, the public chain may provide basic blockchain services in the network, such as transaction, authentication, storage, etc. The public chain itself may not have any specific function corresponding to the field, but rather serves as a bridge to aggregate all sub-chains (or third party blockchain networks) accessing the public chain into the same blockchain network, so that different access chains may trade or transfer information with each other.
In the technical scheme provided by the application, the nodes in the public chain are all configured with root domain name intelligent contracts. The intelligent contract is a consensus mechanism program agreed based on blockchain transaction, and transaction operation of various functions can be realized through the intelligent contract. In the embodiment of the application, through the root domain name intelligent contract, the node can complete domain name registration service by executing the root domain name intelligent contract.
The nodes in the sub-chain may be configured to: generating a subdomain name intelligent contract by executing the root domain name intelligent contract, and acquiring ownership of the subdomain name intelligent contract in a competitive manner. After a certain sub-link node obtains ownership of the sub-domain name intelligent contract, the sub-link node can serve as an owner of the sub-domain name intelligent contract, that is, the sub-link node is configured with the sub-domain name intelligent contract.
Since the nodes constituting the sub-chain have the same intelligent contracts as the nodes of the public chain, the nodes in the sub-chain can directly execute the root domain name intelligent contracts, thereby generating sub-domain name intelligent contracts. Wherein the subdomain name intelligence contracts include a top-level domain name intelligence contract, an application domain name intelligence contract, and domain name system (Blockchain Name System, BNS) data.
In the domain name system, domain names can be divided into root domain names, top-level domain names, and application domain names. Further, the application domain name can be further divided into a secondary domain name, a tertiary domain name, a quaternary domain name and the like. A complete domain name consists of two or more parts, each part is separated by English periods "," at the end of which is called root domain name; the right part of the penultimate "," is called the Top Level Domain (TLD), also called the primary Domain, containing a legal string, and a Domain suffix; the left part string of the top-level domain name is called the second-level domain name (Second Level Domain, SLD) until the next "; the left portion of the secondary domain name is referred to as the tertiary domain name, and so on, the domain name of each stage controls the assignment of its next-stage domain name.
In the embodiment of the application, different intelligent contracts are provided for domain names of different levels. The root domain name may correspond to a root domain name intelligence contract, which may be used to manage and maintain a top-level domain name, and to generate a top-level domain name intelligence contract; the top-level domain name may correspond to a top-level domain name intelligence contract that may be used to manage and maintain the application domain name (e.g., manage the second-level domain name), and to generate the application domain name intelligence contract; the application domain name may correspond to an application domain name intelligent contract, which may be used to manage and maintain BNS data; the BNS data can include information related to a tertiary domain name, information related to a quaternary domain name, and the like.
Further, the nodes in the sub-chain may be specifically configured to: a top-level domain name intelligent contract is generated by executing the root domain name intelligent contract.
Alternatively, the nodes in the sub-chain may in particular be further configured to: an application domain name intelligence contract is generated by executing a top-level domain name intelligence contract.
Based on the system architecture shown in fig. 1 and described above, the case of domain name registration is described in detail below.
Fig. 2 is a schematic flow chart of domain name registration by a domain name registration system according to an embodiment of the present application.
As shown in fig. 2, the nodes in the sub-chain (e.g., node 1 shown in fig. 2) may be further configured to: acquiring a domain name to be registered, determining a target domain name intelligent contract for managing the domain name to be registered, and determining a target node (such as node 2 shown in fig. 2) with ownership of the target domain name intelligent contract in a sub-chain; and sending a domain name registration request to the target node. Wherein the domain name registration request may include a domain name to be registered.
Accordingly, the target node may be configured to: determining whether to accept the domain name registration request, and if so, generating an intelligent contract corresponding to the domain name to be registered; if the domain name registration request is rejected, the domain name to be registered fails to register.
Further, after the target node generates the intelligent contract corresponding to the domain name to be registered, the node in the sub-chain can still acquire the ownership of the intelligent contract corresponding to the domain name to be registered in a competitive manner; meanwhile, the target node can also newly add a record of the domain name to be registered in the target domain name intelligent contract, and point to the intelligent contract corresponding to the domain name to be registered, thereby completing domain name registration.
As can be seen from the above technical scheme, the present application provides a block chain-based decentralised domain name registration system, comprising: a common chain composed of a plurality of nodes, and a sub-chain composed of partial nodes in the common chain. Wherein, all nodes in the public chain are configured with root domain name intelligent contracts; the nodes in the sub-chain are configured to: generating a subdomain name intelligent contract by executing the root domain name intelligent contract, and acquiring ownership of the subdomain name intelligent contract in a competitive manner; the method comprises the steps of obtaining a domain name to be registered, determining a target domain name intelligent contract for managing the domain name to be registered, and determining a target node with ownership of the target domain name intelligent contract in a sub-chain; after the domain name registration request is sent to the target node, the target node decides whether to accept the domain name registration request, and if so, an intelligent contract corresponding to the domain name to be registered is generated. According to the application, the DNS system is deployed in the blockchain network in a form of the sub-chain, so that complete decentralization deployment can be realized. Compared with the prior DNS system, the domain name registration system provided by the application is not controlled by the ICANN any more, and the risk that domain name registration is limited and shielded by the ICANN in the DNS system is avoided, so that the network security of each party participating in and providing network services can be improved.
From what is shown in fig. 2, it can be seen that the transaction request received by the node in the sub-chain (i.e., node 1) originates from node 0. Node 0 may be the initiating node of the domain name registration transaction or a neighboring node of the node in the sub-chain (i.e., node 1). That is, the nodes in the sub-chain (e.g., node 1 shown in fig. 2) may be further configured to: and acquiring the domain name to be registered, which is sent by the initiating node or the adjacent node corresponding to the node in the sub-chain.
The transaction form between the initiating node and the nodes in the sub-chain is different according to the actual application environment. The nodes in the sub-chain may acquire the domain name to be registered sent by the initiating node in the following two cases.
One situation is that if the initiating node can directly transact or interact with a node in the sub-chain, the domain name to be registered can be sent to the node in the sub-chain directly through the initiating node. This approach is best suited for transactions where the initiating node is in the same blockchain network as the nodes in the sub-chain, i.e., the initiating node is also a node in the domain name registration system.
Alternatively, if the initiating node cannot directly transact or interact with a node in the sub-chain, the domain name to be registered may be broadcast by the initiating node. Specifically, the domain name to be registered may be broadcast to the neighboring node, and then the neighboring node determines whether to receive the domain name to be registered or continue broadcasting until the node in the sub-chain receives the domain name to be registered in combination with its role.
The situation that the node in the sub-chain receives the domain name to be registered sent by the adjacent node of the node in the sub-chain corresponds to the situation that the transaction initiating node is not aware of the position information of the core node, the domain name to be registered is sent in the blockchain in a broadcast mode, and thus, along with information diffusion, the core node can receive the domain name to be registered through the adjacent node.
It should be noted that the above two cases are only illustrative, and in other possible examples, if the originating node is a node adjacent to a node in the sub-chain, the node in the sub-chain may also be regarded as directly receiving the domain name to be registered sent by the originating node.
In consideration of the fact that the domain name to be registered can be different levels of domain names in the method, the intelligent contracts of the target domain names capable of managing the domain name to be registered are correspondingly different. The domain name registration flow of the domain name to be registered at different levels is described in detail below by way of example.
Example one:
fig. 3 is a schematic diagram of a domain name registration process of a top-level domain name according to an embodiment of the present application. The nodes in the sub-chain (e.g., node 1 shown in fig. 3) may be further configured to: acquiring a domain name to be registered, and if the domain name to be registered is a top-level domain name to be registered, determining that a target domain name intelligent contract for managing the top-level domain name to be registered is a root domain name intelligent contract; determining whether to accept the registration request of the top-level domain name to be registered, and if so, generating a top-level domain name intelligent contract corresponding to the top-level domain name to be registered according to the root domain name intelligent contract.
According to the management and managed relation between the domain name intelligent contract and the domain name, if the domain name to be registered is the top-level domain name to be registered, it is obvious that the target domain name intelligent contract for managing the top-level domain name to be registered is the root domain name intelligent contract; in the domain name registration system provided by the embodiment of the application, the nodes in the public chain are all configured with root domain name intelligent contracts, and the nodes in the sub-chain are composed of partial nodes in the public chain, that is, the nodes in the sub-chain are also configured with root domain name intelligent contracts; therefore, the target node to be determined by the node in the sub-chain is itself, and further, the node in the sub-chain may decide whether to accept the registration request of the top-level domain name to be registered.
Example two:
fig. 4 is a schematic diagram of a domain name registration process of a secondary domain name according to an embodiment of the present application. The nodes in the sub-chain (e.g., node 1 shown in fig. 4) may be further configured to: acquiring a domain name to be registered, if the domain name to be registered is a secondary domain name to be registered, determining that a target domain name intelligent contract for managing the secondary domain name to be registered is a top-level domain name intelligent contract, and determining a target node (such as node 2 shown in fig. 4) having ownership of the top-level domain name intelligent contract in a sub-chain; and sending a domain name registration request to the target node. Wherein the domain name registration request may include the secondary domain name to be registered.
Accordingly, the target node may be further configured to: and if the domain name registration request is accepted, generating an application domain name intelligent contract corresponding to the to-be-registered second-level domain name according to the top-level domain name intelligent contract.
Example three:
fig. 5 is a schematic diagram of a domain name registration process of a three-level domain name according to an embodiment of the present application. The nodes in the sub-chain (e.g., node 1 shown in fig. 5) may be further configured to: acquiring a domain name to be registered, if the domain name to be registered is a tertiary domain name to be registered, determining that a target domain name intelligent contract for managing the tertiary domain name to be registered is an application domain name intelligent contract, and determining a target node (such as node 2 shown in fig. 5) having ownership of the application domain name intelligent contract in a sub-chain; and sending a domain name registration request to the target node. Wherein the domain name registration request may include the tertiary domain name to be registered.
Accordingly, the target node may be further configured to: and if the domain name registration request is accepted, generating BNS data corresponding to the three-level domain name to be registered according to the intelligent contract of the application domain name.
It should be noted that, if the domain name to be registered is a domain name of four or more levels, the domain name registration may be implemented by the method shown in fig. 5, and will not be described in detail herein.
Based on the same inventive concept, the embodiment of the application also provides a block chain-based decentralization domain name registration method. Fig. 6 is a schematic flow diagram corresponding to a method for decentralizing domain name registration based on blockchain according to an embodiment of the present application. The method may be applied to the decentralized domain name registration system described above, which may include a common chain consisting of a plurality of nodes, and a sub-chain consisting of some of the nodes in the common chain; wherein, the nodes in the public chain are configured with root domain name intelligent contracts; the nodes in the sub-chain are configured to: generating a subdomain name intelligent contract by executing the root domain name intelligent contract, and acquiring ownership of the subdomain name intelligent contract in a competitive manner; the method specifically comprises the following steps:
step 101, the node in the sub-chain acquires the domain name to be registered.
Step 102, determining a target domain name intelligent contract for managing the domain name to be registered by the nodes in the sub-chain, and determining a target node having ownership of the target domain name intelligent contract in the sub-chain.
And step 103, the nodes in the sub-chain send domain name registration requests to the target node.
Wherein the domain name registration request includes the domain name to be registered.
Step 104, the target node decides whether to accept the domain name registration request, if so, the intelligent contract corresponding to the domain name to be registered is generated.
By adopting the method, the DNS system is deployed in the blockchain network in the form of the sub-chain, so that complete decentralization deployment can be realized. Compared with the prior DNS system, the domain name registration method provided by the application is not controlled by the ICANN any more, and avoids the risk that domain name registration in the DNS system is possibly limited and shielded by the ICANN, thereby improving the network security of all parties participating in and providing network services.
Optionally, the subdomain name intelligent contracts include a top-level domain name intelligent contract and an application domain name intelligent contract.
Optionally, the root domain name intelligent contract is used for managing a top-level domain name, and the top-level domain name intelligent contract is used for managing an application domain name.
Optionally, the determining, by the node in the sub-chain, a target domain name intelligent contract for managing the domain name to be registered, and determining, by the node in the sub-chain, a target node having ownership of the target domain name intelligent contract, includes:
if the domain name to be registered is a top-level domain name to be registered, determining that a target domain name intelligent contract for managing the top-level domain name to be registered is a root domain name intelligent contract by the nodes in the sub-chains;
the method further comprises the steps of:
and the nodes in the sub-chain determine whether to accept the registration request of the top-level domain name to be registered, and if the registration request of the top-level domain name to be registered is accepted, the top-level domain name intelligent contract corresponding to the top-level domain name to be registered is generated according to the root domain name intelligent contract.
Optionally, the determining, by the node in the sub-chain, a target domain name intelligent contract for managing the domain name to be registered, and determining, by the node in the sub-chain, a target node having ownership of the target domain name intelligent contract, includes:
if the domain name to be registered is a secondary domain name to be registered, the node in the sub-chain determines that a target domain name intelligent contract for managing the secondary domain name to be registered is a top-level domain name intelligent contract, and determines a target node in the sub-chain, which has ownership of the top-level domain name intelligent contract;
the target node decides whether to accept the domain name registration request, and if so, generates an intelligent contract corresponding to the domain name to be registered, including:
and if the domain name registration request is accepted, the target node generates an application domain name intelligent contract corresponding to the to-be-registered secondary domain name according to the top-level domain name intelligent contract.
Optionally, the determining, by the node in the sub-chain, a target domain name intelligent contract for managing the domain name to be registered, and determining, by the node in the sub-chain, a target node having ownership of the target domain name intelligent contract, includes:
if the domain name to be registered is a tertiary domain name to be registered, determining that a target domain name intelligent contract for managing the tertiary domain name to be registered is an application domain name intelligent contract by a node in the sub-chain, and determining that the target node in the sub-chain has ownership of the application domain name intelligent contract;
the target node decides whether to accept the domain name registration request, if so, generates an intelligent contract corresponding to the domain name to be registered, including
And if the domain name registration request is accepted, the target node generates BNS data corresponding to the domain name to be registered according to the application domain name intelligent contract.
Optionally, the method further comprises:
and if the domain name registration request is refused, the domain name registration to be registered fails.
Optionally, the obtaining, by the node in the sub-chain, the domain name to be registered includes:
and the node in the sub-chain acquires the domain name to be registered, which is sent by the initiating node or the adjacent node corresponding to the node in the sub-chain.
In an exemplary embodiment, there is also provided a computer-readable storage medium having stored therein a computer program or a smart contract that is loaded and executed by a node to implement the transaction method provided by the above embodiment. Alternatively, the above-mentioned computer readable storage medium may be a Read-Only Memory (ROM), a random-access Memory (Random Access Memory, RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, or the like.
It will be apparent to those skilled in the art that the techniques of embodiments of the present application may be implemented in software plus a necessary general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present application may be embodied in essence or what contributes to the prior art in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present application.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.