CN112738294B - Domain name resolution method and device based on block chain, electronic equipment and storage medium - Google Patents

Domain name resolution method and device based on block chain, electronic equipment and storage medium Download PDF

Info

Publication number
CN112738294B
CN112738294B CN202011642996.8A CN202011642996A CN112738294B CN 112738294 B CN112738294 B CN 112738294B CN 202011642996 A CN202011642996 A CN 202011642996A CN 112738294 B CN112738294 B CN 112738294B
Authority
CN
China
Prior art keywords
domain name
block chain
resolution
target
transaction request
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.)
Active
Application number
CN202011642996.8A
Other languages
Chinese (zh)
Other versions
CN112738294A (en
Inventor
刘晓赫
荆博
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202011642996.8A priority Critical patent/CN112738294B/en
Publication of CN112738294A publication Critical patent/CN112738294A/en
Application granted granted Critical
Publication of CN112738294B publication Critical patent/CN112738294B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a domain name resolution method and device based on a block chain, electronic equipment and a storage medium, relates to the technical field of the block chain, and can be used for cloud computing and cloud service. The specific implementation scheme is as follows: acquiring a domain name resolution transaction request comprising a target domain name, and resolving the target domain name according to first domain name registration information in a first domain name block chain; determining a second domain name block chain network associated with the target domain name under the condition of failure of resolution according to the first domain name registration information; and forwarding the domain name resolution transaction request to the second domain name block chain network, wherein the domain name resolution transaction request is used for indicating a second resolution result obtained by resolving the target domain name according to second domain name registration information in the second domain name block chain. The domain name resolution efficiency can be improved.

Description

Domain name resolution method and device based on block chain, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for domain name resolution based on a blockchain, an electronic device, and a storage medium.
Background
An IP Address (Internet Protocol Address) is a uniform Address format provided by an IP Protocol, and allocates a logical Address to a certain computer or a group of computers on the Internet, so as to locate and identify the computer during data transmission.
Because the IP address has the disadvantages of inconvenient memory and inability to display the Name and property of the address organization, a Domain Name is designed, and the Domain Name and the IP address are mapped with each other through a Domain Name System (DNS), which can improve the convenience of internet access.
How to process the domain name is very important.
Disclosure of Invention
The disclosure provides a domain name resolution method, a domain name resolution device, electronic equipment and a storage medium based on a block chain.
According to an aspect of the present disclosure, a domain name resolution method based on a block chain is provided, including:
acquiring a domain name resolution transaction request comprising a target domain name, and resolving the target domain name according to first domain name registration information in a first domain name block chain;
determining a second domain name block chain network associated with the target domain name under the condition that the resolution is failed according to the first domain name registration information;
and forwarding the domain name resolution transaction request to the second domain name block chain network, wherein the domain name resolution transaction request is used for indicating a second resolution result obtained by resolving the target domain name according to second domain name registration information in a second domain name block chain.
According to another aspect of the present disclosure, there is provided a domain name resolution method based on a block chain, including:
determining a target domain name to be resolved;
sending a domain name resolution transaction request including the target domain name to a first domain name blockchain network;
wherein the domain name resolution transaction request is used to instruct the first domain name blockchain network to perform the following: determining a second domain name block chain network associated with the target domain name under the condition that the target domain name is failed to be analyzed according to first domain name registration information in a first domain name block chain; and forwarding the domain name resolution transaction request to the second domain name block chain network, wherein the domain name resolution transaction request is used for indicating a second resolution result obtained by resolving the target domain name according to second domain name registration information in the second domain name block chain.
According to another aspect of the present disclosure, there is provided a domain name resolution apparatus based on a block chain, including:
the first resolution module is used for acquiring a domain name resolution transaction request comprising a target domain name and resolving the target domain name according to first domain name registration information in a first domain name block chain;
the second domain name network module is used for determining a second domain name block chain network associated with the target domain name under the condition of failure of resolution according to the first domain name registration information;
and the transaction request forwarding module is used for forwarding the domain name resolution transaction request to the second domain name block chain network and indicating a second resolution result obtained by resolving the target domain name according to second domain name registration information in the second domain name block chain.
According to another aspect of the present disclosure, there is provided a domain name resolution apparatus based on a block chain, including:
the domain name determining module is used for determining a target domain name to be analyzed;
a transaction request sending module, configured to send a domain name resolution transaction request including the target domain name to a first domain name blockchain network;
wherein the domain name resolution transaction request is used to instruct the first domain name blockchain network to perform the following: determining a second domain name block chain network associated with the target domain name under the condition that the target domain name is failed to be analyzed according to first domain name registration information in a first domain name block chain; and forwarding the domain name resolution transaction request to the second domain name block chain network, wherein the domain name resolution transaction request is used for indicating a second resolution result obtained by resolving the target domain name according to second domain name registration information in a second domain name block chain.
According to a fifth aspect, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a blockchain based domain name resolution method as in any one of the embodiments of the present application.
According to a sixth aspect, there is provided a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform a blockchain based domain name resolution method according to any one of the embodiments of the present application.
According to a seventh aspect, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the blockchain-based domain name resolution method of any one of the embodiments of the present application.
According to the technology of the application, the domain name resolution efficiency can be improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
fig. 1 is a schematic flowchart of a domain name resolution method based on a block chain according to an embodiment of the present application;
fig. 2a is a schematic flowchart of another domain name resolution method based on a blockchain according to an embodiment of the present application;
FIG. 2b is a block diagram of an architecture between regional block chains at different levels according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of another domain name resolution method based on a block chain according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another domain name resolution method based on a block chain according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another domain name resolution method based on a block chain according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another domain name resolution method based on a blockchain according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a domain name resolution device based on a block chain according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a domain name resolution device based on a block chain according to an embodiment of the present application;
fig. 9 is a block diagram of an electronic device for implementing a domain name resolution method based on a block chain according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic flowchart of a domain name resolution method based on a block chain according to an embodiment of the present disclosure. The method and the device for analyzing the domain name are applicable to the condition of analyzing the domain name. The domain name resolution method based on a block chain disclosed in this embodiment may be executed by an electronic device, and specifically may be executed by a domain name resolution apparatus based on a block chain, which is configured in a block chain node, and the apparatus may be implemented by software and/or hardware and is configured in an electronic device. Referring to fig. 1, the domain name resolution method based on the block chain provided in this embodiment includes:
s110, a domain name resolution transaction request including a target domain name is obtained, and the target domain name is resolved according to first domain name registration information in a first domain name block chain.
And S120, determining a second domain name block chain network associated with the target domain name under the condition that the resolution is failed according to the first domain name registration information.
S130, forwarding the domain name resolution transaction request to the second domain name block chain network, where the domain name resolution transaction request is used to indicate a second resolution result obtained by resolving the target domain name according to second domain name registration information in the second domain name block chain.
In this embodiment of the present application, different areas may be respectively deployed with respective domain name blockchain networks. For each region, an organization participating in DNS service in the region may jointly construct a domain name block chain network, where a domain name block chain in the domain name block chain network is used to record domain name registration information of the region, that is, is used to record an association relationship between a domain name and an IP address in the region; further, owner account information of the domain name in the area may be recorded. If any domain name exists in the domain name block chain of any region, the computer corresponding to the domain name is located in the region. The embodiment of the present application does not specifically limit the type, the consensus mechanism, and the like of the block chain network, and for example, the block chain network may be a coalition chain network adopting a byzantine consensus mechanism.
The target domain name may refer to a domain name to be analyzed by a user node (i.e., a client), the first domain name blockchain network may refer to a domain name blockchain network associated with the same area as the user node, and the first domain name blockchain networks of different user nodes may be different. That is, for each region, the domain name blockchain network of the region may be used as the first domain name blockchain network of the user node in the region. The first domain name blockchain node may further be deployed with a certificate (CA certificate) that the organization node may have a Certificate Authority (CA), and the first domain name blockchain node may endorse its own node data using the CA certificate.
The second domain name blockchain network may refer to a domain name blockchain network associated with the same region as the target domain name. The user node may create a blockchain account, resulting in a blockchain address, a blockchain public key, and a blockchain private key. It should be noted that, in the embodiment of the present application, a user node may belong to a first domain name block chain network, for example, the user node may be a lightweight node or a full-scale node, the full-scale node may record full block chain data, and the lightweight node may record only a block header but not a block. In addition, the user node may not belong to each domain name blockchain network, e.g., the user node may create blockchain accounts by running a blockchain wallet.
Under the condition that the user node does not belong to each domain name block chain network, the user node may be configured in advance with an IP address of a first domain name block chain node and a CA root certificate of an organization to which the first domain name block chain node belongs. The user node may connect to the first domain name blockchain network according to the IP address of the first domain name blockchain node, send a transaction request to the first domain name blockchain network, and may also check the validity of the CA certificate of the organization node according to the CA root certificate.
Specifically, when the user node needs to access a domain name, the domain name may be used as a target domain name, a domain name resolution transaction request including the target domain name is generated, and the domain name resolution transaction request is sent to the first domain name block chain node (i.e., to the first domain name block chain network). Responding to the domain name resolution transaction request by the first domain name block chain link point, and calling a domain name processing contract (namely a domain name processing intelligent contract) to resolve the target domain name; obtaining a first analysis result under the condition of successful analysis; in case of a failure in the resolution, the first domain name block link point may further determine a second domain name block chain network associated with the target domain name, and the first domain name block chain node may forward a domain name resolution transaction request to the second domain name block chain network (i.e., a second domain name block chain node) to instruct the second domain name block chain node to perform resolution on the target domain name according to second domain name registration information in the second domain name block chain to obtain a second resolution result. The domain name resolution service is provided through the domain name block chain network, so that the problems of centralized downtime, cheating or unreasonable cost and the like can be avoided; in addition, by respectively deploying the respective domain name block chain networks for different regions, compared with the situation that the same domain name block chain network is reused in different regions, the method can play a role in data fragmentation, and reduce the storage and calculation resource consumption of a single domain name block chain, so that the transaction request processing efficiency in the domain name block chain network is improved, namely the domain name resolution efficiency can be improved.
According to the technical scheme provided by the embodiment of the application, decentralized domain name resolution service is provided through different block chain networks, so that the problems of centralized downtime, praise or unreasonable cost and the like can be avoided; in addition, the storage and calculation resource consumption of a single domain name block chain is reduced, so that the transaction request processing efficiency in the domain name block chain network is improved, namely the domain name resolution efficiency can be improved.
Fig. 2a is a schematic flowchart of another domain name resolution method based on a block chain according to an embodiment of the present application. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 2, the domain name resolution method based on the block chain provided in this embodiment includes:
s210, a domain name resolution transaction request including a target domain name is obtained, and the target domain name is resolved according to first domain name registration information in a first domain name block chain.
And S220, under the condition that the resolution is failed according to the first domain name registration information, aiming at each other hierarchical regional block chain except the basic hierarchical regional block chain, determining a next-layer regional block chain related to the target domain name according to the incidence relation between the domain name and the next-layer regional block chain stored in the other hierarchical regional block chain.
And S230, determining a second domain name block chain network associated with the target domain name according to the association relationship between the domain name and the domain name block chain stored in the base hierarchy zone block chain.
S240, forwarding the domain name resolution transaction request to the second domain name block chain network, where the domain name resolution transaction request is used to indicate a second resolution result obtained by resolving the target domain name according to second domain name registration information in the second domain name block chain.
In this embodiment of the present application, different areas may be respectively deployed with respective domain name blockchain networks. The domain name block chain network can also be deployed with a basic level and at least one other level, wherein the domain name block chain of the basic level stores the association relationship between the domain name and the domain name block chain, and the domain block chain of the other level stores the association relationship between the domain name and the next level of the domain block chain.
Fig. 2b is a schematic diagram of an architecture between regional block chains at different levels according to an embodiment of the present disclosure. Referring to fig. 2b, taking as an example that other hierarchies may include a root hierarchy and a parent hierarchy, a next level of the root hierarchy may be a parent hierarchy and a next level of the parent hierarchy may be a base hierarchy. Specifically, the root level block chain stores an association relationship between the domain name and the parent level block chain, and the parent level block chain stores an association relationship between the domain name and the base level block chain. It should be noted that, in the embodiment of the present application, the number of the regional block chains in each level except for the root-level regional block chain is not specifically limited, for example, a country may have one parent-level regional block chain, and N parent-level regional block chains may be used in total; a city may have a base level regional blockchain, and a country may have M base level regional blockchains.
Referring to fig. 2b, taking as an example that other hierarchies may include a root hierarchy and a parent hierarchy, when a first domain name block chain node (i.e., a first domain name block chain network) fails to resolve a target domain name according to first domain name registration information, the first domain name block chain node may send the target domain name to a root level regional block chain node through a cross-chain technique, determine, by the root level regional block chain node (i.e., a root level regional block chain network), parent level regional block chain network information associated with the target domain name, and acquire parent level regional block chain network information fed back by the root level regional block chain node; the first domain name block chain link point can also send a target domain name to the parent-level region block chain link point according to the network information of the parent-level region block chain through a chain crossing technology, the parent-level region block chain link point determines the basic-level region block chain information associated with the target domain name, and the basic-level region block chain network information fed back by the parent-level region block chain link point is acquired; the first domain name block chain node also can send a target domain name to the base level region block chain node according to the base level region block chain network information through a chain crossing technology, and the base level region block chain node determines second domain name block chain network information associated with the target domain name. And the first domain name block chain node can also acquire a second resolution result from the second domain name block chain network according to the second domain name block chain network information, and return the second domain name resolution result to the user, so that the user accesses the computer associated with the target domain name. The incidence relation between the domain name and the regional block chain is stored level by level through other hierarchical regional block chains, the incidence relation between the domain name and the regional block chain is stored through a common hierarchical regional block chain, the data fragmentation effect can be achieved, the storage and calculation resource consumption of each regional block chain is further reduced, and therefore the domain name resolution efficiency is further improved.
According to the technical scheme provided by the embodiment of the application, the domain name resolution efficiency can be further improved by providing the domain block chains comprising the common hierarchy and at least one other hierarchy and the multi-level domain name resolution architecture of each domain name block chain.
Fig. 3 is a schematic flowchart of another domain name resolution method based on a block chain according to an embodiment of the present application. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 3, the domain name resolution method based on the block chain provided in this embodiment includes:
s310, a domain name resolution transaction request including a target domain name is obtained, and the target domain name is resolved according to first domain name registration information in a first domain name block chain.
S320, under the condition that the resolution is failed according to the first domain name registration information, determining a second domain name block chain network associated with the target domain name.
S330, forward the domain name resolution transaction request to the second domain name block chain network, where the request is used to indicate a second resolution result obtained by resolving the target domain name according to second domain name registration information in the second domain name block chain.
S340, obtaining a second resolution result and cross-link check auxiliary information fed back by the second domain name block link network.
And S350, verifying the cross-chain verification auxiliary information, and feeding back the second analysis result to the initiator of the domain name analysis transaction request under the condition that the verification is passed.
The cross-chain checking auxiliary information can be determined according to the type of the second domain name block chain network. Specifically, under the condition that the second domain name block chain network adopts a BFT common identification mechanism, the cross-chain check auxiliary information can be used for verifying whether a second analysis result fed back by more than 2/3 of total identification nodes is the same; under the condition that the second domain name block chain network adopts a CFT consensus mechanism, the cross-chain checking auxiliary information can be used for verifying whether at least one consensus node feeds back a second resolution result or not; in a case that the second domain name block chain network is a federation chain based on an MSP (member Service Provider) system, the cross-chain verification auxiliary information may be used to verify whether a node certificate of the second domain name block chain node is valid and whether signature data of the second resolution result by the second domain name block chain node is valid.
Specifically, in the process of cross-chain processing, the second domain name block chain node in the second domain name block chain network further determines cross-chain checking auxiliary information, and may send the second resolution result and the cross-chain checking auxiliary information to the first domain name block chain node, so that the first domain name block chain node checks the cross-chain checking auxiliary information. It should be noted that, in the embodiment of the present application, a check method of a cross-chain query result (e.g., a second parsing result) is not specifically limited. The first domain name block chain node can perform verification by itself, and the relay node independent of the first domain name block chain network and the second domain name block chain network can perform verification. The reliability of domain name resolution can be further improved by introducing check on the cross-chain query result.
In an optional implementation manner, feeding back the second resolution result to the initiator of the domain name resolution transaction request includes: signing the second analysis result to obtain signature data; and returning the second analysis result, the signature data and the block chain link point certificate to an initiator of the domain name analysis transaction request, and verifying the second analysis result by the initiator according to the signature data and the block chain link point certificate and using the second analysis result according to a verification result.
Specifically, the first domain name block link point may further sign the second analysis result by using a private key of a block chain account of the first domain name block link point, so as to obtain signature data of the second analysis result, and the first domain name block link node may return the second analysis result, the signature data of the second analysis result, and a CA certificate preset in the first domain name block link point to the initiator of the domain name analysis transaction request. The initiator can adopt the account public key of the first domain name block chain node to verify the signature data, and can also adopt a CA root certificate preset by the initiator to verify the validity of the CA certificate of the first domain name block chain node, and under the condition that both the signature verification result of the signature data and the validity of the CA certificate pass, the initiator can trust and use the second analysis result; and under the condition that the signature verification result of the signature data and/or the validity check of the CA certificate do not pass, the initiator can reinitiate the resolution transaction request for the target domain name to other first domain name block chain nodes. The accuracy of the second analysis result can be further improved through the verification of the validity of the signature and the CA certificate.
According to the technical scheme provided by the embodiment of the application, the cross-link check is introduced in the cross-link interaction process of the first domain name block chain link and the second domain name block chain link, and the check of the user node on the data sent by the first domain name block chain link can be introduced, so that the reliability of the second resolution result can be further improved.
Fig. 4 is a schematic flowchart of another domain name resolution method based on a block chain according to an embodiment of the present application. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 4, the domain name resolution method based on the block chain provided in this embodiment includes:
s410, acquiring a domain name resolution transaction request including a target domain name, and resolving the target domain name according to first domain name registration information in a first domain name block chain.
S420, determining whether the first domain name registration information stores a target IP address associated with the target domain name.
Determining that the resolution is successful under the condition that the first domain name registration information has the target IP address, and continuing to execute S430; in the case where there is no target IP address in the first domain name registration information, it is determined that the resolution fails, and the jump is performed S450.
S430, taking the target IP address as a first analysis result.
It should be noted that, when the target IP address associated with the target domain name is not stored in the first domain name registration information, it is determined that the resolution fails, and S440 is skipped to.
S440, feeding back the first resolution result to the initiator of the domain name resolution transaction request.
S450, determining a second domain name block chain network associated with the target domain name.
S460, forward the domain name resolution transaction request to the second domain name block chain network, and is configured to indicate a second resolution result obtained by resolving the target domain name according to second domain name registration information in the second domain name block chain.
Determining that the resolution is successful under the condition that the second domain name registration information has a target IP address associated with the target domain name, and taking the target IP address as a second resolution result; otherwise, determining that the analysis is failed, and feeding back analysis failure prompt to the user node. The first domain name block chain network and the second domain name block chain network are matched with each other, so that the domain name resolution efficiency can be improved.
In an optional implementation manner, feeding back the first resolution result to the initiator of the domain name resolution transaction request includes: signing the first analysis result to obtain signature data; and returning the first analysis result, the signature data and the block chain link point certificate to an initiator of the domain name analysis transaction request, verifying the first analysis result by the initiator according to the signature data and the block chain link point certificate, and using the first analysis result according to the verification result. By introducing validity check on the first analysis result, the accuracy of the second analysis result can be further improved.
In an optional embodiment, the first domain name block chain further comprises first domain name assignment information; the first domain name transfer information comprises a first domain name to be transferred and a first transfer fee; the second domain name block chain also comprises second domain name transfer information; the second domain name transfer information comprises a second domain name to be transferred and a second transfer fee. The first domain name block chain and the second domain name block chain are adopted to store the first domain name transfer information and the second domain name transfer information respectively, so that the first domain name block chain and the second domain name block chain not only can improve domain name resolution service based on the block chains, but also can improve domain name transfer service and domain name receiving service, namely, the domain name resolution service, the domain name transfer service and the domain name receiving service can be integrated, and the application range of domain name processing is further improved.
According to the technical scheme provided by the embodiment of the application, the first domain name block chain network and the second domain name block chain network are matched with each other, so that the domain name resolution efficiency can be improved; in addition, domain name resolution, domain name transfer and domain name collection can be integrated, and the application range of domain name processing is further improved.
Fig. 5 is a flowchart illustrating a domain name resolution method based on a block chain according to an embodiment of the present application. The method and the device for analyzing the domain name are applicable to the condition of analyzing the domain name. The domain name resolution method based on the block chain disclosed in this embodiment may be executed by an electronic device, and specifically may be executed by a domain name resolution device based on the block chain, which is configured in a user node, and the domain name resolution device may be implemented by software and/or hardware and configured in the electronic device. Referring to fig. 5, the domain name resolution method based on the block chain provided in this embodiment includes:
s510, determining a target domain name to be analyzed.
S520, sending a domain name resolution transaction request comprising the target domain name to the first domain name block chain network.
Wherein the domain name resolution transaction request is used to instruct the first domain name blockchain network to perform the following: determining a second domain name block chain network associated with the target domain name under the condition that the target domain name is failed to be analyzed according to first domain name registration information in a first domain name block chain; and forwarding the domain name resolution transaction request to the second domain name block chain network, wherein the domain name resolution transaction request is used for indicating a second resolution result obtained by resolving the target domain name according to second domain name registration information in a second domain name block chain.
In the embodiment of the present application, different areas may be respectively deployed with respective domain name block chain networks. For each region, an organization participating in DNS service in the region may jointly construct a domain name block chain network, where a domain name block chain in the domain name block chain network is used to record domain name registration information of the region, that is, is used to record an association relationship between a domain name and an IP address in the region; also, the owner account information of the domain name in the area may be recorded. If any domain name exists in the domain name block chain of any region, the computer corresponding to the domain name is positioned in the region. The target domain name may refer to a domain name to be resolved by a user node (i.e., a client), the first domain name blockchain network may refer to a domain name blockchain network associated with the same domain as the user node, and the first domain name blockchain networks of different user nodes may be different.
The second domain name blockchain network may refer to a domain name blockchain network associated with the same region as the target domain name. The user node may create a blockchain account, resulting in a blockchain address, a blockchain public key, and a blockchain private key.
Specifically, when the user node needs to access a certain domain name, the domain name may be used as a target domain name, a domain name resolution transaction request including the target domain name is generated, and the domain name resolution transaction request is sent to the first domain name block link point. The first domain name block chain link point responds to the domain name resolution transaction request and calls a domain name processing contract (namely a domain name processing intelligent contract) to resolve the target domain name; obtaining a first analysis result under the condition of successful analysis; under the condition that the resolution fails, the first domain name block chain link point can also determine a second domain name block chain network associated with the target domain name, and forward a domain name resolution transaction request to the second domain name block chain network (i.e., a second domain name block chain node), so as to instruct the second domain name block chain node to perform resolution on the target domain name according to second domain name registration information in the second domain name block chain to obtain a second resolution result. The domain name resolution service is provided through the domain name block chain network, so that the problems of centralized downtime, cheating or unreasonable cost and the like can be avoided; in addition, by respectively deploying respective domain name block chain networks for different areas, compared with the situation that the same domain name block chain network is reused in different areas, the domain name block chain network system can play a role in data fragmentation, and reduces the storage and calculation resource consumption of a single domain name block chain, so that the transaction request processing efficiency in the domain name block chain network is improved, namely the domain name resolution efficiency is improved.
According to the technical scheme provided by the embodiment of the application, decentralized domain name resolution service can be provided, and storage and calculation resource consumption of a single domain name block chain can be reduced by respectively deploying respective domain name block chain networks for different areas, so that domain name resolution efficiency is improved.
Fig. 6 is a schematic flowchart of another domain name resolution method based on a blockchain according to an embodiment of the present disclosure. The present embodiment is an alternative proposed on the basis of the above-described embodiments. Referring to fig. 6, the domain name resolution method based on the block chain provided in this embodiment includes:
s610, determining a target domain name to be analyzed.
S620, sending a domain name resolution transaction request including the target domain name to the first domain name blockchain network.
Wherein the domain name resolution transaction request is used to instruct the first domain name blockchain network to perform the following: determining a second domain name block chain network associated with the target domain name under the condition that the target domain name is failed to be analyzed according to first domain name registration information in a first domain name block chain; and forwarding the domain name resolution transaction request to the second domain name block chain network, wherein the domain name resolution transaction request is used for indicating that a target domain name to be resolved is determined according to a second resolution result obtained by resolving the target domain name according to second domain name registration information in the second domain name block chain.
S630, obtaining signature data, a block chain link point certificate and a second analysis result from the first domain name block chain network.
And S640, verifying the second analysis result according to the signature data and the block chain link point certificate, and using the second analysis result according to the verification result.
The first domain name block chain node can sign the second analysis result to obtain signature data; and returning the second analysis result, the signature data and the CA certificate of the first domain name block chain node to the user node. Correspondingly, the user node can adopt the account public key of the first domain name block chain node to check the signature data, can also adopt a preset CA root certificate to check the validity of the CA certificate of the first domain name block chain node, and can trust and use the second analysis result under the condition that both the signature check result of the signature data and the validity check of the CA certificate pass. In addition, after the user node trusts the second resolution result, if the second resolution result is the target ID address associated with the target domain name, the user node may also write the mapping relationship between the target domain name and the target IP address into the cache of the initiator. It should be noted that, in the process of sending other data to the user node by the first domain name block node, the signature data and the CA certificate of the first domain name block chain node may also be sent for the user node to check, so as to improve the reliability of the sent data. For example, when the target domain name is successfully resolved according to the first domain name registration information, the first domain name blockchain node sends the first resolution result to the user node, and may also send signature data and a blockchain node certificate together.
In an optional implementation manner, before sending the domain name resolution transaction request including the target domain name to the first domain name blockchain network, the method further includes: determining whether a target IP address associated with the target domain name exists in a cache of a local node; and generating the domain name resolution transaction request under the condition that the target IP address does not exist in the cache.
Specifically, when the user node needs to access the target domain name, whether a mapping relationship between the target domain name and the target ID address exists in a cache of the user node may be determined; under some conditions, the target IP address can be directly accessed without domain name resolution through a domain name block chain network, so that the access efficiency can be improved, and system resources can be saved.
According to the technical scheme provided by the embodiment of the application, the user node verifies the data received from the first domain name block link node, so that the reliability of the received data can be further improved; and moreover, the incidence relation between the target domain name and the target IP address is recorded through the local cache, so that the subsequent access efficiency of the target domain name can be improved, and resources are saved.
Fig. 7 is a schematic structural diagram of a domain name resolution device based on a block chain according to an embodiment of the present application. Referring to fig. 7, a domain name resolution apparatus 700 based on a block chain according to an embodiment of the present application may include:
a first resolution module 701, configured to obtain a domain name resolution transaction request including a target domain name, and resolve the target domain name according to first domain name registration information in a first domain name block chain;
a second domain name network module 702, configured to determine, in a case that resolution fails according to the first domain name registration information, a second domain name block chain network associated with the target domain name;
a transaction request forwarding module 703 is configured to forward the domain name resolution transaction request to the second domain name block chain network, and is configured to indicate a second resolution result obtained by resolving the target domain name according to second domain name registration information in the second domain name block chain.
In an alternative embodiment, the second domain name network module 702 includes:
the regional block chain unit is used for determining a next layer regional block chain related to the target domain name according to the association relation between the domain name stored in the other hierarchical regional block chain and the next layer regional block chain aiming at each other hierarchical regional block chain except the basic hierarchical regional block chain;
and the second domain name network unit is used for determining a second domain name block chain network associated with the target domain name according to the association relation between the domain name and the domain name block chain stored in the basic level regional block chain.
In an optional implementation manner, the domain name resolution device 700 based on the block chain further includes a first resolution result module, where the first resolution result module includes:
a first result determining unit, configured to determine that resolution is successful when a target IP address associated with the target domain name is stored in the first domain name registration information, and use the target IP address as a first resolution result;
a first result sending unit, configured to feed back the first resolution result to the initiator of the domain name resolution transaction request.
In an optional implementation manner, the domain name resolution apparatus 700 further includes a cross-chain checking module, where the cross-chain checking module includes:
the verification information acquisition unit is used for acquiring a second analysis result and cross-chain verification auxiliary information fed back by the second domain name block chain network;
and a second result sending unit, configured to check the cross-link check auxiliary information, and feed back the second resolution result to the initiator of the domain name resolution transaction request when the check is passed.
In an optional implementation manner, the first result sending unit or the second result sending unit is specifically configured to:
signing the first analysis result or the second analysis result to obtain signature data;
and returning the first analysis result or the second analysis result, the signature data and the block chain link point certificate to an initiator of the domain name analysis transaction request, and verifying the first analysis result or the second analysis result by the initiator according to the signature data and the block chain link point certificate, and using the first analysis result or the second analysis result according to a verification result.
In an optional embodiment, the first domain name block chain further comprises first domain name assignment information; the first domain name transfer information comprises a first domain name to be transferred and a first transfer fee; the second domain name block chain also comprises second domain name transfer information; the second domain name transfer information comprises a second domain name to be transferred and a second transfer fee.
According to the technical scheme of the embodiment of the application, decentralized domain name resolution service is provided through different block chain networks, so that the problems of centralized downtime, badness or unreasonable cost and the like can be avoided; in addition, the storage and calculation resource consumption of a single domain name block chain is reduced, so that the transaction request processing efficiency in the domain name block chain network is improved, namely the domain name resolution efficiency can be improved.
Fig. 8 is a schematic structural diagram of a domain name resolution device based on a block chain according to an embodiment of the present application. Referring to fig. 8, a domain name resolution device 800 based on a block chain according to an embodiment of the present application may include:
a domain name determining module 801, configured to determine a target domain name to be resolved;
a transaction request sending module 802, configured to send a domain name resolution transaction request including the target domain name to a first domain name blockchain network;
wherein the domain name resolution transaction request is used to instruct the first domain name blockchain network to perform the following: determining a second domain name block chain network associated with the target domain name under the condition that the target domain name is failed to be analyzed according to first domain name registration information in a first domain name block chain; and forwarding the domain name resolution transaction request to the second domain name block chain network, wherein the domain name resolution transaction request is used for indicating a second resolution result obtained by resolving the target domain name according to second domain name registration information in the second domain name block chain.
In an optional implementation manner, the domain name resolution apparatus 800 based on the block chain further includes a resolution request generation module, where the resolution request generation module includes:
a local cache processing unit, configured to determine whether a cache of a local node has a target IP address associated with the target domain name;
and the resolution request generating unit is used for generating the domain name resolution transaction request under the condition that the target IP address does not exist in the cache.
In an optional implementation manner, the domain name resolution apparatus 800 based on the blockchain further includes a second result checking module, where the second result checking module includes:
a result obtaining unit, configured to obtain signature data, a block chain link point certificate, and a second resolution result from the first domain name block chain network;
and the second result checking unit is used for checking the second analysis result according to the signature data and the block chain link point certificate and using the second analysis result according to the checking result.
According to the technical scheme of the embodiment of the application, decentralized domain name resolution service is provided through different block chain networks, so that the problems of centralized downtime, praise or unreasonable cost and the like can be avoided; in addition, the storage and calculation resource consumption of a single domain name block chain is reduced, so that the transaction request processing efficiency in the domain name block chain network is improved, namely the domain name resolution efficiency can be improved.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
FIG. 9 illustrates a schematic block diagram of an example electronic device 900 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processors, cellular telephones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 9, the apparatus 900 includes a computing unit 901, which can perform various appropriate actions and processes in accordance with a computer program stored in a Read Only Memory (ROM) 902 or a computer program loaded from a storage unit 908 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the device 900 can also be stored. The calculation unit 901, ROM 902, and RAM 903 are connected to each other via a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
A number of components in the device 900 are connected to the I/O interface 905, including: an input unit 906 such as a keyboard, a mouse, and the like; an output unit 907 such as various types of displays, speakers, and the like; a storage unit 908 such as a magnetic disk, optical disk, or the like; and a communication unit 909 such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 909 allows the device 900 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 901 may be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 901 performs the respective methods and processes described above, such as a domain name resolution method based on a block chain. For example, in some embodiments, the blockchain-based domain name resolution method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 908. In some embodiments, part or all of a computer program may be loaded onto and/or installed onto device 900 via ROM 902 and/or communications unit 909. When the computer program is loaded into RAM 903 and executed by computing unit 901, one or more steps of the above-described blockchain-based domain name resolution method may be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to perform the domain name resolution method based on the blockchain by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (18)

1. The domain name resolution method based on the block chain comprises the following steps:
acquiring a domain name resolution transaction request comprising a target domain name, and resolving the target domain name according to first domain name registration information in a first domain name block chain;
determining a second domain name block chain network associated with the target domain name under the condition of failure of resolution according to the first domain name registration information;
forwarding the domain name resolution transaction request to the second domain name block chain network, wherein the domain name resolution transaction request is used for indicating a second resolution result obtained by resolving the target domain name according to second domain name registration information in a second domain name block chain;
wherein the determining a second domain name blockchain network associated with the target domain name comprises:
for each other hierarchical regional block chain except the basic hierarchical regional block chain, determining a next-layer regional block chain associated with the target domain name according to the association relationship between the domain name stored in the other hierarchical regional block chain and the next-layer regional block chain;
and determining a second domain name block chain network associated with the target domain name according to the association relation between the domain name and the domain name block chain stored in the basic level regional block chain.
2. The method of claim 1, further comprising, after the resolving the target domain name according to the first domain name registration information in the first domain name block chain:
determining that the resolution is successful under the condition that a target IP address associated with the target domain name is stored in the first domain name registration information, and taking the target IP address as a first resolution result;
and feeding back the first resolution result to an initiator of the domain name resolution transaction request.
3. The method of claim 2, further comprising, after forwarding the domain name resolution transaction request to the second domain name block chain network:
acquiring a second analysis result and cross-chain verification auxiliary information fed back by a second domain name block chain network;
and checking the cross-chain checking auxiliary information, and feeding back the second resolving result to the initiator of the domain name resolving transaction request under the condition that the checking is passed.
4. The method according to claim 2 or 3, feeding back the first resolution result or the second resolution result to an initiator of the domain name resolution transaction request, comprising:
signing the first analysis result or the second analysis result to obtain signature data;
and returning the first analysis result or the second analysis result, the signature data and the block chain link point certificate to an initiator of the domain name analysis transaction request, verifying the first analysis result or the second analysis result by the initiator according to the signature data and the block chain link point certificate, and using the first analysis result or the second analysis result according to a verification result.
5. The method of claim 1, wherein,
the first domain name block chain also comprises first domain name transfer information; the first domain name transfer information comprises a first domain name to be transferred and a first transfer fee;
the second domain name block chain also comprises second domain name transfer information; the second domain name transfer information comprises a second domain name to be transferred and a second transfer fee.
6. The domain name resolution method based on the block chain comprises the following steps:
determining a target domain name to be resolved;
sending a domain name resolution transaction request including the target domain name to a first domain name blockchain network;
wherein the domain name resolution transaction request is used to instruct the first domain name blockchain network to perform the following: under the condition that the target domain name is failed to be analyzed according to first domain name registration information in a first domain name block chain, aiming at each other hierarchy level region block chain except the basic hierarchy level region block chain, and determining a next layer region block chain related to the target domain name according to the incidence relation between the domain name stored in the other hierarchy level region block chain and the next layer region block chain;
determining a second domain name block chain network associated with the target domain name according to the association relation between the domain name and the domain name block chain stored in the basic level regional block chain; and forwarding the domain name resolution transaction request to the second domain name block chain network, wherein the domain name resolution transaction request is used for indicating a second resolution result obtained by resolving the target domain name according to second domain name registration information in the second domain name block chain.
7. The method of claim 6, prior to sending a domain name resolution transaction request including the target domain name to the first domain name blockchain network, further comprising:
determining whether a target IP address associated with the target domain name exists in a cache of a local node;
and generating the domain name resolution transaction request under the condition that the target IP address does not exist in the cache.
8. The method of claim 6, after sending a domain name resolution transaction request including the target domain name to the first domain name blockchain network, further comprising:
acquiring signature data, a block chain link point certificate and a second analysis result from the first domain name block chain network;
and verifying the second analysis result according to the signature data and the block chain link point certificate, and using the second analysis result according to the verification result.
9. The domain name resolution device based on the block chain comprises:
the first resolution module is used for acquiring a domain name resolution transaction request comprising a target domain name and resolving the target domain name according to first domain name registration information in a first domain name block chain;
the second domain name network module is used for determining a second domain name block chain network associated with the target domain name under the condition of failure of resolution according to the first domain name registration information;
a transaction request forwarding module, configured to forward the domain name resolution transaction request to the second domain name block chain network, and indicate a second resolution result obtained by resolving the target domain name according to second domain name registration information in the second domain name block chain; wherein the second domain name network module comprises:
the regional block chain unit is used for determining a next layer regional block chain related to the target domain name according to the association relation between the domain name stored in the other hierarchical regional block chain and the next layer regional block chain aiming at each other hierarchical regional block chain except the basic hierarchical regional block chain;
and the second domain name network unit is used for determining a second domain name block chain network associated with the target domain name according to the association relationship between the domain name and the domain name block chain stored in the base level region block chain.
10. The apparatus of claim 9, further comprising a first parsing result module comprising:
a first result determining unit, configured to determine that resolution is successful when a target IP address associated with the target domain name is stored in the first domain name registration information, and use the target IP address as a first resolution result;
a first result sending unit, configured to feed back the first resolution result to the initiator of the domain name resolution transaction request.
11. The apparatus of claim 10, the apparatus further comprising a cross-chain check module comprising:
the verification information acquisition unit is used for acquiring a second analysis result and cross-chain verification auxiliary information fed back by the second domain name block chain network;
and a second result sending unit, configured to check the cross-link check auxiliary information, and feed back the second resolution result to the initiator of the domain name resolution transaction request when the check is passed.
12. The apparatus of claim 11, wherein the first result sending unit or the second result sending unit is specifically configured to:
signing the first analysis result or the second analysis result to obtain signature data;
and returning the first analysis result or the second analysis result, the signature data and the block chain link point certificate to an initiator of the domain name analysis transaction request, verifying the first analysis result or the second analysis result by the initiator according to the signature data and the block chain link point certificate, and using the first analysis result or the second analysis result according to a verification result.
13. The apparatus of claim 9, wherein,
the first domain name block chain also comprises first domain name transfer information; the first domain name transfer information comprises a first domain name to be transferred and first transfer cost;
the second domain name block chain also comprises second domain name transfer information; the second domain name transfer information comprises a second domain name to be transferred and a second transfer fee.
14. The domain name resolution device based on the block chain comprises:
the domain name determining module is used for determining a target domain name to be analyzed;
a transaction request sending module, configured to send a domain name resolution transaction request including the target domain name to a first domain name blockchain network;
wherein the domain name resolution transaction request is used to instruct the first domain name blockchain network to perform the following: under the condition that the target domain name is failed to be analyzed according to first domain name registration information in a first domain name block chain, aiming at each other hierarchy level region block chain except the basic hierarchy level region block chain, and determining a next layer region block chain related to the target domain name according to the incidence relation between the domain name stored in the other hierarchy level region block chain and the next layer region block chain; determining a second domain name block chain network associated with the target domain name according to the association relation between the domain name and the domain name block chain stored in the basic level regional block chain; and forwarding the domain name resolution transaction request to the second domain name block chain network, wherein the domain name resolution transaction request is used for indicating a second resolution result obtained by resolving the target domain name according to second domain name registration information in the second domain name block chain.
15. The apparatus of claim 14, the apparatus further comprising a parsing request generation module comprising:
a local cache processing unit, configured to determine whether a cache of a local node has a target IP address associated with the target domain name;
and the resolution request generating unit is used for generating the domain name resolution transaction request under the condition that the target IP address does not exist in the cache.
16. The apparatus of claim 14, further comprising a second result verification module, the second result verification module comprising:
a result obtaining unit, configured to obtain signature data, a block chain link point certificate, and a second resolution result from the first domain name block chain network;
and the second result checking unit is used for checking the second analysis result according to the signature data and the block chain link point certificate and using the second analysis result according to the checking result.
17. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
18. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-8.
CN202011642996.8A 2020-12-30 2020-12-30 Domain name resolution method and device based on block chain, electronic equipment and storage medium Active CN112738294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011642996.8A CN112738294B (en) 2020-12-30 2020-12-30 Domain name resolution method and device based on block chain, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011642996.8A CN112738294B (en) 2020-12-30 2020-12-30 Domain name resolution method and device based on block chain, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112738294A CN112738294A (en) 2021-04-30
CN112738294B true CN112738294B (en) 2023-01-20

Family

ID=75609192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011642996.8A Active CN112738294B (en) 2020-12-30 2020-12-30 Domain name resolution method and device based on block chain, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112738294B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873052B (en) * 2021-09-02 2024-01-30 杭州萤石软件有限公司 Domain name resolution method, device and equipment of Kubernetes cluster
CN115378907B (en) * 2022-08-18 2024-03-15 北京视界云天科技有限公司 MSP domain name resolution configuration management method, system, equipment and medium
CN115622817B (en) * 2022-12-20 2023-03-14 北京泰尔英福科技有限公司 Processing system and method of network identification

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105978697A (en) * 2016-07-25 2016-09-28 宁圣金融信息服务(上海)有限公司 Block chain domain name resolution method
CN108064444B (en) * 2017-04-19 2020-05-19 北京大学深圳研究生院 Domain name resolution system based on block chain
US10721060B1 (en) * 2018-06-29 2020-07-21 Verisign, Inc. Domain name blockchain user addresses
CA3041203C (en) * 2018-11-16 2021-01-19 Alibaba Group Holding Limited A domain name management scheme for cross-chain interactions in blockchain systems
CN109327562B (en) * 2018-12-10 2022-05-13 中共中央办公厅电子科技学院 Domain name storage system and method based on block chain
CN110166249B (en) * 2019-05-14 2022-03-04 数字钱包(北京)科技有限公司 Information transmission method, device, verification end and computer readable storage medium
CN112134967B (en) * 2020-09-30 2022-06-28 中国互联网络信息中心 Domain name resolution method and device based on common treatment chain

Also Published As

Publication number Publication date
CN112738294A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN112738294B (en) Domain name resolution method and device based on block chain, electronic equipment and storage medium
CN111769957B (en) Block chain cross-chain query method, device, equipment and storage medium
CN112671950B (en) Domain name processing method and device based on block chain, electronic equipment and storage medium
US9483386B2 (en) Information interaction test device and method based on automatic generation of associated test cases
CN109922158A (en) Data processing method, device, medium and electronic equipment based on micro services
CN112101942B (en) Transaction request processing method, system, device and equipment based on block chain
WO2020000720A1 (en) Server, packet processing method, program, and computer-readable storage medium
CN109062613B (en) Multi-core interconnection secondary cache access verification method
CN107633016A (en) Data processing method and device and electronic equipment
CN109002349B (en) Application program interaction method, implementation method, device, equipment and medium
US20210272108A1 (en) Method and apparatus of processing deposit, and storage medium
CN109101664B (en) Data transmission method, device, equipment and medium for lightweight node
JP2012533824A (en) Systems and methods for real-time batch account processing
CN110569036A (en) data verification system and method under front-end and back-end separation architecture
WO2023040453A1 (en) Transaction information processing method and apparatus
CN114328132A (en) Method, device, equipment and medium for monitoring state of external data source
CN111125168B (en) Data processing method and device, electronic equipment and storage medium
CN111800511A (en) Processing method, system, equipment and readable storage medium for synchronous login state
CN114793244B (en) Resource processing method, device, equipment and medium for block chain
CN115098528B (en) Service processing method, device, electronic equipment and computer readable storage medium
CN111401889B (en) Credit data processing method, device, equipment and medium based on block chain
CN114338051A (en) Method, device, equipment and medium for acquiring random number by block chain
CN116107801A (en) Transaction processing method and related product
CN112596867A (en) Suspension transaction processing method and distributed database system
CN111866171A (en) Message processing method and device, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant