CN118041550A - Domain name resource data issuing method, domain name system, device and storage medium - Google Patents
Domain name resource data issuing method, domain name system, device and storage medium Download PDFInfo
- Publication number
- CN118041550A CN118041550A CN202410116359.9A CN202410116359A CN118041550A CN 118041550 A CN118041550 A CN 118041550A CN 202410116359 A CN202410116359 A CN 202410116359A CN 118041550 A CN118041550 A CN 118041550A
- Authority
- CN
- China
- Prior art keywords
- domain name
- node
- receiving
- publishing
- data
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 98
- 238000012795 verification Methods 0.000 claims abstract description 74
- 238000012790 confirmation Methods 0.000 claims abstract description 54
- 230000015654 memory Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 13
- 230000008569 process Effects 0.000 abstract description 32
- 238000004891 communication Methods 0.000 abstract description 12
- 230000007246 mechanism Effects 0.000 abstract description 12
- 230000003993 interaction Effects 0.000 abstract description 6
- 238000012546 transfer Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 20
- 238000005516 engineering process Methods 0.000 description 12
- 230000005540 biological transmission Effects 0.000 description 7
- 238000007726 management method Methods 0.000 description 6
- 230000001052 transient effect Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013523 data management Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012384 transportation and delivery Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Storage Device Security (AREA)
Abstract
Description
技术领域Technical Field
本申请涉及通信技术领域,尤其涉及域名资源数据发布方法、域名系统、设备和存储介质。The present application relates to the field of communication technology, and in particular to a domain name resource data publishing method, a domain name system, a device and a storage medium.
背景技术Background technique
域名系统(Domain Name System,DNS)是互联网中重要的基础服务设施,域名解析过程依赖于包含全球根服务器与通用顶级域服务器所构成的“外循环”,其中域名资源所有权存在被单边撤销的风险,即可能导致顶级域名数据或重要域名数据被删除/篡改,威胁互联网安全稳定,这需要域名系统相关方之间广泛参与,发布共享域名资源数据。The Domain Name System (DNS) is an important basic service facility in the Internet. The domain name resolution process relies on an "external loop" consisting of global root servers and generic top-level domain servers, in which the ownership of domain name resources is at risk of being unilaterally revoked, which may lead to the deletion/tampering of top-level domain name data or important domain name data, threatening the security and stability of the Internet. This requires extensive participation among parties related to the domain name system and the release of shared domain name resource data.
相关技术中对于域名资源大多是跨地域合作,域名资源所有权保障中涉及域名资源数据发布,此时资源发布方期待发布的数据足够公开,资源接收方期待获取的数据与其他接收方一致,因此需要资源发布方和资源接收方之间建立互信关系。但是相关技术中域名资源的发布过程并不能适应资源发布方和资源接收方处于弱信任环境的情况。In the related technologies, domain name resources are mostly cross-regional cooperation. The protection of domain name resource ownership involves the release of domain name resource data. At this time, the resource publisher expects the data to be sufficiently public, and the resource receiver expects the data to be consistent with other receivers. Therefore, it is necessary to establish a mutual trust relationship between the resource publisher and the resource receiver. However, the domain name resource release process in the related technologies cannot adapt to the situation where the resource publisher and the resource receiver are in a weak trust environment.
发明内容Summary of the invention
本申请实施例的主要目的在于提出域名资源数据发布方法、域名系统、设备和存储介质,能够在弱信任环境下实现域名资源数据的发布。The main purpose of the embodiments of the present application is to propose a domain name resource data publishing method, a domain name system, a device and a storage medium, which can realize the publishing of domain name resource data in a weak trust environment.
为实现上述目的,本申请实施例的第一方面提出了一种域名资源数据发布方法,应用于分布式域名系统的域名发布节点;所述分布式域名系统包括所述域名发布节点、域名记录节点和密钥中心节点;所述方法包括:To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application proposes a domain name resource data publishing method, which is applied to a domain name publishing node of a distributed domain name system; the distributed domain name system includes the domain name publishing node, a domain name record node and a key center node; the method includes:
利用第一节点密钥对域名资源数据进行签名得到域名签名数据;所述第一节点密钥为所述密钥中心节点根据所述域名发布节点的第一节点标识生成的;The domain name resource data is signed using the first node key to obtain domain name signature data; the first node key is generated by the key center node according to the first node identifier of the domain name issuing node;
将所述域名签名数据进行发布,并确定用于拉取所述域名签名数据的所述域名记录节点为权限节点;The domain name signature data is published, and the domain name record node used to pull the domain name signature data is determined as an authority node;
获取所述权限节点对所述域名签名数据的验证结果,将所述权限节点作为接收节点存入接收列表中,并基于所述接收节点的数量将所述接收列表推送至所述接收节点;Obtaining a verification result of the domain name signature data by the authority node, storing the authority node as a receiving node in a receiving list, and pushing the receiving list to the receiving node based on the number of the receiving nodes;
获取所述接收节点的记录列表,基于所述记录列表确定所述域名资源数据的发布结果;所述记录列表中包括根据所述验证结果生成的一致性标识。A record list of the receiving node is obtained, and a publishing result of the domain name resource data is determined based on the record list; the record list includes a consistency identifier generated according to the verification result.
在一些实施例,所述利用第一节点密钥对域名资源数据进行签名得到域名签名数据,包括:In some embodiments, the step of signing the domain name resource data using the first node key to obtain the domain name signature data includes:
将所述第一节点标识发送至向所述密钥中心节点;Sending the first node identifier to the key center node;
接收所述密钥中心节点利用主密钥对所述第一节点标识进行加密得到的所述第一节点密钥和系统加密参数;Receiving the first node key and system encryption parameters obtained by the key center node encrypting the first node identifier using the master key;
在所述域名资源数据中添加地址标识信息得到域名标识数据;Adding address identification information to the domain name resource data to obtain domain name identification data;
利用所述系统加密参数和所述第一节点密钥对所述域名标识数据进行签名,得到所述域名签名数据。The domain name identification data is signed using the system encryption parameter and the first node key to obtain the domain name signature data.
在一些实施例,所述将所述域名签名数据进行发布,并确定用于拉取所述域名签名数据的所述域名记录节点为权限节点,包括:In some embodiments, publishing the domain name signature data and determining the domain name record node used to pull the domain name signature data as an authority node includes:
将所述域名签名数据发布至目标服务器;Publishing the domain name signature data to a target server;
根据与所述域名记录节点的信任信息从所述域名记录节点中选取所述权限节点;所述权限节点用于从所述目标服务器获取所述域名签名数据。The authority node is selected from the domain name record node according to the trust information with the domain name record node; the authority node is used to obtain the domain name signature data from the target server.
在一些实施例,所述权限节点中存储所述第一节点标识;所述获取所述权限节点对所述域名签名数据的验证结果,将所述权限节点作为接收节点存入接收列表中,包括:In some embodiments, the authority node stores the first node identifier; and obtaining the verification result of the domain name signature data by the authority node and storing the authority node as a receiving node in a receiving list includes:
当所述权限节点利用所述第一节点标识对所述域名签名数据验证通过后,利用所述权限节点的第二节点标识对所述域名签名数据进行签名后得到权限签名,并将所述域名签名数据和所述权限签名作为记录公告进行公开,则根据所述验证结果获取所述记录公告;When the authority node verifies the domain name signature data by using the first node identifier, the domain name signature data is signed by using the second node identifier of the authority node to obtain an authority signature, and the domain name signature data and the authority signature are made public as a record announcement, and the record announcement is obtained according to the verification result;
将所述记录公告对应的所述权限节点作为所述接收节点,将所述接收节点的第二节点标识和所述权限签名存入所述接收列表。The authority node corresponding to the record announcement is used as the receiving node, and the second node identifier of the receiving node and the authority signature are stored in the receiving list.
在一些实施例,所述基于所述接收节点的数量将所述接收列表推送至所述接收节点,包括:In some embodiments, the pushing the receiving list to the receiving node based on the number of the receiving nodes includes:
若所述接收节点的数量大于或等于预设数量,将所述接收列表推送至所述接收节点;If the number of the receiving nodes is greater than or equal to a preset number, pushing the receiving list to the receiving nodes;
否则,确定所述接收列表的创建时间超过预设时间,则取消发布所述接收列表,并通知所述接收节点清除所述记录公告。Otherwise, if it is determined that the creation time of the receiving list exceeds the preset time, the publishing of the receiving list is cancelled, and the receiving node is notified to clear the record announcement.
在一些实施例,所述获取所述接收节点的记录列表,包括:In some embodiments, obtaining the record list of the receiving node includes:
当所述接收节点基于所述接收列表中其他所述接收节点的所述权限签名,确定对应的所述记录公告与自身的所述记录公告一致,将公告一致的所述一致性标识写入所述记录列表,则获取所述记录列表。When the receiving node determines, based on the authority signatures of other receiving nodes in the receiving list, that the corresponding record announcement is consistent with its own record announcement, and writes the consistency identifier of the consistent announcement into the record list, the record list is obtained.
在一些实施例,所述基于所述记录列表确定所述域名资源数据的发布结果,包括:In some embodiments, determining the publishing result of the domain name resource data based on the record list includes:
获取所述接收节点的确认记录消息;所述确认记录消息包括布尔值和确认签名,所述布尔值用于指示所述接收节点对所述域名资源数据接收成功,所述确认签名是所述接收节点对所述布尔值的签名;Acquire a confirmation record message of the receiving node; the confirmation record message includes a Boolean value and a confirmation signature, the Boolean value is used to indicate that the receiving node has successfully received the domain name resource data, and the confirmation signature is the signature of the receiving node on the Boolean value;
对所述确认签名和所述布尔值进行验证,将验证通过的所述接收节点写入公开列表;所述域名资源数据在所述公开列表中所述接收节点发布成功。The confirmation signature and the Boolean value are verified, and the receiving node that passes the verification is written into a public list; the domain name resource data is successfully published by the receiving node in the public list.
为实现上述目的,本申请实施例的第二方面提出了一种域名资源数据发布方法,应用于分布式域名系统的域名记录节点;所述方法包括:To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application proposes a domain name resource data publishing method, which is applied to a domain name record node of a distributed domain name system; the method comprises:
基于域名发布节点的权限列表,从所述域名发布节点中拉取域名签名数据,所述域名签名数据是所述域名发布节点利用第一节点密钥对域名资源数据进行签名得到;Based on the authority list of the domain name publishing node, domain name signature data is pulled from the domain name publishing node, where the domain name signature data is obtained by the domain name publishing node signing the domain name resource data using the first node key;
获取对所述域名签名数据的验证结果;Obtaining a verification result of the domain name signature data;
接收所述域名发布节点基于所述验证结果推送的接收列表,基于所述接收列表生成所述验证结果的一致性标识,并基于所述一致性标识确定所述域名资源数据发布成功。Receive a receiving list pushed by the domain name publishing node based on the verification result, generate a consistency identifier of the verification result based on the receiving list, and determine that the domain name resource data is successfully published based on the consistency identifier.
在一些实施例,所述获取对所述域名签名数据的验证结果,包括:In some embodiments, obtaining the verification result of the domain name signature data includes:
利用所述域名发布节点的第一节点标识对所述域名签名数据进行验证;Verifying the domain name signature data using the first node identifier of the domain name publishing node;
当验证通过后,利用第二节点标识对所述域名签名数据进行签名,得到权限签名;When the verification is passed, the domain name signature data is signed using the second node identifier to obtain an authority signature;
将所述域名签名数据和所述权限签名作为公开公告进行公开,所述验证结果为验证通过。The domain name signature data and the authority signature are made public as a public announcement, and the verification result is verification passed.
在一些实施例,所述接收所述域名发布节点基于所述验证结果推送的接收列表,基于所述接收列表生成所述验证结果的一致性标识,包括:In some embodiments, the receiving a reception list pushed by the domain name publishing node based on the verification result, and generating a consistency identifier of the verification result based on the reception list includes:
获取所述接收列表中其他所述接收节点的所述权限签名;Obtain the authority signatures of other receiving nodes in the receiving list;
确定所述权限签名对应的所述公开公告与自身的所述公开公告一致,则生成的所述一致性标识为公告一致。If it is determined that the public announcement corresponding to the authority signature is consistent with the public announcement itself, the generated consistency identifier is announcement consistency.
在一些实施例,所述基于所述一致性标识确定所述域名资源数据发布成功,包括:In some embodiments, determining that the domain name resource data is successfully published based on the consistency identifier includes:
当所述一致性标识为公告一致时,确定对所述域名资源数据接收成功,并生成指示接收成功的布尔值;When the consistency identifier is consistent with the announcement, it is determined that the domain name resource data is received successfully, and a Boolean value indicating successful reception is generated;
利用第二节点标识对所述布尔值进行签名,得到确认签名;Signing the Boolean value using the second node identifier to obtain a confirmation signature;
将所述布尔值和所述确认签名作为确认记录消息发送至所述域名发布节点,当所述域名发布节点对所述确认签名验证通过后,则所述域名资源数据发布成功。The Boolean value and the confirmation signature are sent to the domain name publishing node as a confirmation record message. When the domain name publishing node verifies the confirmation signature, the domain name resource data is successfully published.
为实现上述目的,本申请实施例的第三方面提出了一种分布式域名系统,包括:域名发布节点、域名记录节点和密钥中心节点;To achieve the above-mentioned purpose, a third aspect of the embodiment of the present application proposes a distributed domain name system, including: a domain name publishing node, a domain name recording node and a key center node;
所述域名发布节点用于利用第一节点密钥对域名资源数据进行签名得到域名签名数据;所述第一节点密钥为所述密钥中心节点根据所述域名发布节点的第一节点标识生成的;The domain name issuing node is used to sign the domain name resource data using the first node key to obtain the domain name signature data; the first node key is generated by the key center node according to the first node identifier of the domain name issuing node;
所述域名发布节点还用于将所述域名签名数据进行发布,并确定用于拉取所述域名签名数据的所述域名记录节点为权限节点;The domain name publishing node is also used to publish the domain name signature data, and determine the domain name record node used to pull the domain name signature data as the authority node;
所述权限节点用于拉取所述域名签名数据,并对所述域名签名数据进行验证,得到验证结果;The authority node is used to pull the domain name signature data and verify the domain name signature data to obtain a verification result;
所述域名发布节点还用于获取所述验证结果,将所述权限节点作为接收节点存入接收列表中,并基于所述接收节点的数量将所述接收列表推送至所述接收节点;The domain name publishing node is further used to obtain the verification result, store the authority node as a receiving node in a receiving list, and push the receiving list to the receiving node based on the number of the receiving nodes;
所述接收节点用于基于所述接收列表生成所述验证结果的一致性标识;The receiving node is used to generate a consistency identifier of the verification result based on the receiving list;
所述域名发布节点还用于获取所述一致性标识,生成记录列表,基于所述记录列表,确定所述域名资源数据的发布结果。The domain name publishing node is further used to obtain the consistency identifier, generate a record list, and determine the publishing result of the domain name resource data based on the record list.
为实现上述目的,本申请实施例的第四方面提出了一种电子设备,所述电子设备包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述第一方面或第二方面所述的方法。To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes an electronic device, which includes a memory and a processor, the memory stores a computer program, and the processor implements the method described in the first aspect or the second aspect when executing the computer program.
为实现上述目的,本申请实施例的第五方面提出了一种存储介质,所述存储介质为存储介质,所述存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述第一方面或第二方面所述的方法。To achieve the above-mentioned purpose, the fifth aspect of an embodiment of the present application proposes a storage medium, which is a storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect or the second aspect is implemented.
本申请实施例提出的域名资源数据发布方法、域名系统、设备和存储介质,通过利用第一节点密钥对域名资源数据进行签名得到域名签名数据;将域名签名数据进行发布,并确定用于拉取域名签名数据的域名记录节点为权限节点;获取权限节点对域名签名数据的验证结果,将权限节点作为接收节点存入接收列表中,并基于接收节点的数量将接收列表推送至接收节点;获取接收节点根据验证结果生成的一致性标识,生成记录列表,基于记录列表,确定域名资源数据的发布结果。本申请实施例构建了灵活的分布式信任管理机制,域名发布节点可以选取权限节点,自主维护信任成员列表,并利用密钥中心节点管理密钥,通过域名发布节点和域名记录节点之间多次数据交互以及数字签名确认校验过程,简化相关技术中的共识机制,无需每个节点之间均互信,每个节点仅需选择自身的信任节点即可,能够适应弱信任环境,并且在信任传递过程,通过数字签名保证域名资源数据发布过程中的数据一致性和数据可信性。The domain name resource data publishing method, domain name system, device and storage medium proposed in the embodiment of the present application obtain domain name signature data by signing the domain name resource data with the first node key; publish the domain name signature data, and determine the domain name record node used to pull the domain name signature data as the authority node; obtain the verification result of the domain name signature data by the authority node, store the authority node as a receiving node in the receiving list, and push the receiving list to the receiving node based on the number of receiving nodes; obtain the consistency identifier generated by the receiving node according to the verification result, generate a record list, and determine the publishing result of the domain name resource data based on the record list. The embodiment of the present application constructs a flexible distributed trust management mechanism, the domain name publishing node can select the authority node, autonomously maintain the trust member list, and use the key center node to manage the key, through multiple data interactions between the domain name publishing node and the domain name record node and the digital signature confirmation verification process, simplify the consensus mechanism in the related technology, without the need for mutual trust between each node, each node only needs to select its own trust node, can adapt to weak trust environment, and in the trust transmission process, through digital signature to ensure data consistency and data credibility in the process of domain name resource data publishing.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例提供的分布式域名系统的示意图。FIG1 is a schematic diagram of a distributed domain name system provided in an embodiment of the present application.
图2是本申请实施例提供的域名资源数据发布方法的一个可选的流程图。FIG. 2 is an optional flowchart of a method for publishing domain name resource data provided in an embodiment of the present application.
图3为本申请实施例提供的利用第一节点密钥对域名资源数据进行签名得到域名签名数据的过程示意图。FIG3 is a schematic diagram of a process for signing domain name resource data using a first node key to obtain domain name signature data, as provided in an embodiment of the present application.
图4是本申请实施例提供的密钥中心节点的密钥生成过程示意图。FIG4 is a schematic diagram of the key generation process of the key center node provided in an embodiment of the present application.
图5是本申请实施例提供的域名签名数据的生成示意图。FIG5 is a schematic diagram of generating domain name signature data provided in an embodiment of the present application.
图6是本申请实施例提供的将域名签名数据进行发布,并确定用于拉取域名签名数据的域名记录节点为权限节点的流程图。FIG6 is a flowchart of an embodiment of the present application for publishing domain name signature data and determining a domain name record node for pulling domain name signature data as an authority node.
图7是本申请实施例提供的权限节点拉取数据示意图。FIG. 7 is a schematic diagram of an authority node pulling data provided in an embodiment of the present application.
图8是本申请实施例提供的接收列表的示意图。FIG8 is a schematic diagram of a receiving list provided in an embodiment of the present application.
图9是本申请实施例提供的记录列表的示意图。FIG. 9 is a schematic diagram of a record list provided in an embodiment of the present application.
图10是本申请实施例提供的公开列表示意图。FIG. 10 is a schematic diagram of a public list provided in an embodiment of the present application.
图11是本申请实施例提供的域名资源数据发布方法的整体流程示意图。FIG. 11 is a schematic diagram of the overall process of the domain name resource data publishing method provided in an embodiment of the present application.
图12是本申请实施例提供的域名资源数据发布方法的又一整体流程示意图。FIG. 12 is another overall flow chart of the domain name resource data publishing method provided in an embodiment of the present application.
图13是本申请实施例提供的域名资源数据发布方法的又一整体流程示意图。FIG. 13 is another overall flow chart of the domain name resource data publishing method provided in an embodiment of the present application.
图14是本申请实施例提供的域名资源数据发布方法的一个可选的流程图。FIG. 14 is an optional flowchart of a method for publishing domain name resource data provided in an embodiment of the present application.
图15是本申请实施例提供的域名资源数据发布方法的又一整体流程示意图。FIG. 15 is another overall flow chart of the domain name resource data publishing method provided in an embodiment of the present application.
图16是本申请实施例提供的电子设备的硬件结构示意图。FIG. 16 is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
需要说明的是,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。It should be noted that although the functional modules are divided in the device schematic and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
首先,对本申请中涉及的若干名词进行解析:First, some nouns involved in this application are analyzed:
域名系统(DomainNameSystem,DNS):是互联网中用于将域名解析为IP地址的分布式数据库系统。它充当了互联网上的电话簿,将易于记忆的域名转换为计算机可理解的IP地址。DNS的运作方式是通过将域名分层次地组织成域名空间。顶级域(Top-LevelDomains,TLD)如.com、.org、.net等由特定机构管理,而二级域名和子域名则由域名所有者自行管理。当用户在浏览器中输入一个域名时,操作系统或浏览器会向DNS服务器发送查询请求,以获取与该域名对应的IP地址。如果DNS服务器有该域名的记录,它将返回相应的IP地址,从而使浏览器能够建立连接并访问网站。DNS不仅仅提供域名到IP地址的映射,还承担了其他功能。例如,它可以管理电子邮件服务器的MX记录,将电子邮件传递到正确的目标服务器;它还可以实现负载均衡和故障转移,将流量分发到不同的服务器上。Domain Name System (DNS): It is a distributed database system used to resolve domain names into IP addresses on the Internet. It acts as a phone book on the Internet, converting easy-to-remember domain names into IP addresses that computers can understand. The way DNS works is by organizing domain names into domain name spaces in a hierarchical manner. Top-Level Domains (TLDs) such as .com, .org, .net, etc. are managed by specific organizations, while second-level domain names and subdomains are managed by domain name owners themselves. When a user enters a domain name in a browser, the operating system or browser sends a query request to the DNS server to obtain the IP address corresponding to the domain name. If the DNS server has a record for the domain name, it will return the corresponding IP address, allowing the browser to establish a connection and access the website. DNS not only provides mapping from domain names to IP addresses, but also undertakes other functions. For example, it can manage the MX records of email servers to deliver emails to the correct destination server; it can also implement load balancing and failover to distribute traffic to different servers.
数字签名:是一种用于验证和保证数据完整性、身份认证以及防止数据篡改的技术手段。数字签名基于公钥密码学的原理,通过使用私钥对数据进行加密,生成唯一的数字签名。验证者可以使用相应的公钥对数字签名进行解密和验证,从而确保数据的来源和完整性。数字签名的过程通常包括以下步骤:创建消息摘要,将待签名的数据通过哈希算法生成一个唯一的消息摘要。使用私钥加密摘要,使用发送方的私钥对消息摘要进行加密,生成数字签名。发送数据和数字签名,将原始数据和数字签名一起发送给接收方。验证数字签名,接收方使用发送方的公钥对数字签名进行解密,并使用相同的哈希算法生成接收到的数据的消息摘要。比对摘要,将接收到的消息摘要与解密后的数字签名进行比对。如果两者一致,则说明数据未被篡改,且发送方的身份得到了认证。Digital signature: It is a technical means for verifying and ensuring data integrity, identity authentication, and preventing data tampering. Digital signature is based on the principle of public key cryptography. It generates a unique digital signature by encrypting data with a private key. The verifier can use the corresponding public key to decrypt and verify the digital signature, thereby ensuring the source and integrity of the data. The digital signature process usually includes the following steps: Create a message digest, generate a unique message digest by using a hash algorithm to generate a unique message digest for the data to be signed. Encrypt the digest with a private key, encrypt the message digest with the sender's private key, and generate a digital signature. Send data and digital signature, send the original data and digital signature together to the receiver. Verify the digital signature, the receiver decrypts the digital signature with the sender's public key, and uses the same hash algorithm to generate a message digest of the received data. Compare the digest, compare the received message digest with the decrypted digital signature. If the two are consistent, it means that the data has not been tampered with and the sender's identity has been authenticated.
私钥和公钥:是在公钥密码学中使用的密钥对,它们共同构成了一种加密和解密、身份认证等操作的机制。其中,私钥是由用户生成并保密的秘密密钥,私钥用于对数据进行加密和数字签名,只有拥有私钥的人,才能解密被私钥加密的数据或验证私钥生成的数字签名。公钥是与私钥对应的公开密钥,可以被任何人获取和使用。公钥用于加密数据和验证数字签名。通过公钥加密的数据只能使用对应的私钥进行解密,而对于使用私钥生成的数字签名,可以使用公钥来验证其真实性和完整性。私钥可以根据特定算法生成公钥,但无法通过公钥反推出私钥,通过使用公钥加密数据,发送方可以确保只有拥有对应私钥的接收方才能解密和读取数据。通过使用私钥生成数字签名,发送方可以确保接收方能够验证数据的来源和完整性。Private key and public key: are key pairs used in public key cryptography, which together constitute a mechanism for operations such as encryption and decryption, and identity authentication. Among them, the private key is a secret key generated and kept secret by the user. The private key is used to encrypt data and digitally sign. Only those who have the private key can decrypt the data encrypted by the private key or verify the digital signature generated by the private key. The public key is the public key corresponding to the private key and can be obtained and used by anyone. The public key is used to encrypt data and verify digital signatures. Data encrypted by the public key can only be decrypted using the corresponding private key, and for digital signatures generated using the private key, the public key can be used to verify its authenticity and integrity. The private key can generate the public key according to a specific algorithm, but the private key cannot be deduced from the public key. By using the public key to encrypt data, the sender can ensure that only the receiver with the corresponding private key can decrypt and read the data. By using the private key to generate a digital signature, the sender can ensure that the receiver can verify the source and integrity of the data.
域名系统(Domain Name System,DNS)是互联网中重要的基础服务设施,域名解析过程依赖于包含全球根服务器与通用顶级域服务器所构成的“外循环”,其中域名资源所有权存在被单边撤销的风险,即可能导致顶级域名数据或重要域名数据被删除/篡改,威胁互联网安全稳定,这需要域名系统相关方之间广泛参与,发布共享域名资源数据。The Domain Name System (DNS) is an important basic service facility in the Internet. The domain name resolution process relies on an "external loop" consisting of global root servers and generic top-level domain servers, in which the ownership of domain name resources is at risk of being unilaterally revoked, which may lead to the deletion/tampering of top-level domain name data or important domain name data, threatening the security and stability of the Internet. This requires extensive participation among parties related to the domain name system and the release of shared domain name resource data.
相关技术中对于域名资源大多是跨地域合作,域名资源所有权保障中涉及域名资源数据发布,此时资源发布方期待发布的数据足够公开,资源接收方期待获取的数据与其他接收方一致,因此需要资源发布方和资源接收方之间建立互信关系。相关技术中存在去中心化的基于区块链的域名资源数据管理方法,这种方法通过联盟式区块链,以区块链提案和智能合约的方式相互之间交换彼此的域名资源数据,从而实现域名资源数据的发布。然而,该方法存在如下不足:首先联盟链本质上要求所有成员必须两两互信,因此新成员加入时会存有顾虑。其次所有成员共用一套区块链账簿,这就要求数据的强一致性,导致自主性不足。另外区块链架构所涉及组件众多,导致部署运维过程复杂。最后就是跨国家跨地域合作时,解释成本高,大范围推广时易受阻。因此相关技术中域名资源的发布过程并不能适应资源发布方和资源接收方处于弱信任环境的情况。In the related technologies, domain name resources are mostly cross-regional cooperation. The protection of domain name resource ownership involves the release of domain name resource data. At this time, the resource publisher expects the data to be sufficiently public, and the resource receiver expects the data to be consistent with other receivers. Therefore, it is necessary to establish a mutual trust relationship between the resource publisher and the resource receiver. In the related technologies, there is a decentralized blockchain-based domain name resource data management method. This method uses a consortium blockchain to exchange each other's domain name resource data in the form of blockchain proposals and smart contracts, thereby realizing the release of domain name resource data. However, this method has the following shortcomings: First, the consortium chain essentially requires all members to trust each other, so there will be concerns when new members join. Secondly, all members share a set of blockchain ledgers, which requires strong consistency of data, resulting in insufficient autonomy. In addition, the blockchain architecture involves many components, resulting in a complex deployment and operation process. Finally, when cooperating across countries and regions, the cost of explanation is high, and it is easy to be blocked when it is widely promoted. Therefore, the release process of domain name resources in the related technologies cannot adapt to the situation where the resource publisher and the resource receiver are in a weak trust environment.
基于此,本申请实施例提供一种域名资源数据发布方法、域名系统、设备和存储介质,构建了灵活的分布式信任管理机制,域名发布节点可以选取权限节点,自主维护信任成员列表,并利用密钥中心节点管理密钥,通过域名发布节点和域名记录节点之间多次数据交互以及数字签名确认校验过程,简化相关技术中的共识机制,无需每个节点之间均互信,每个节点仅需选择自身的信任节点即可,能够适应弱信任环境,并且在信任传递过程,通过数字签名保证域名资源数据发布过程中的数据一致性和数据可信性。Based on this, the embodiments of the present application provide a domain name resource data publishing method, a domain name system, a device and a storage medium, and construct a flexible distributed trust management mechanism. The domain name publishing node can select an authority node, independently maintain a list of trusted members, and use a key center node to manage the key. Through multiple data interactions between the domain name publishing node and the domain name record node and the digital signature confirmation and verification process, the consensus mechanism in the related technology is simplified. There is no need for each node to trust each other. Each node only needs to select its own trusted node. It can adapt to a weak trust environment, and in the trust transmission process, the data consistency and data credibility in the domain name resource data publishing process are guaranteed through digital signatures.
本申请实施例提供域名资源数据发布方法、域名系统、设备和存储介质,具体通过如下实施例进行说明,首先描述本申请实施例中的域名资源数据发布方法。The embodiments of the present application provide a domain name resource data publishing method, a domain name system, a device and a storage medium, which are specifically explained through the following embodiments. First, the domain name resource data publishing method in the embodiments of the present application is described.
本申请实施例提供的域名资源数据发布方法,涉及通信技术领域。本申请实施例提供的域名资源数据发布方法可应用于终端中,也可应用于服务器端中,还可以是运行于终端或服务器端中的计算机程序。举例来说,计算机程序可以是操作系统中的原生程序或软件模块;可以是本地(Native)应用程序(APP,Application),即需要在操作系统中安装才能运行的程序,如支持域名资源数据发布的客户端,也可以是小程序,即只需要下载到浏览器环境中就可以运行的程序。总而言之,上述计算机程序可以是任意形式的应用程序、模块或插件。其中,终端通过网络与服务器进行通信。该域名资源数据发布方法可以由终端或服务器执行,或由终端和服务器协同执行。The domain name resource data publishing method provided in the embodiment of the present application relates to the field of communication technology. The domain name resource data publishing method provided in the embodiment of the present application can be applied to a terminal, can also be applied to a server side, and can also be a computer program running in a terminal or a server side. For example, the computer program can be a native program or software module in an operating system; it can be a local (Native) application (APP, Application), that is, a program that needs to be installed in the operating system to run, such as a client that supports the release of domain name resource data, or it can be a small program, that is, a program that only needs to be downloaded to a browser environment to run. In short, the above-mentioned computer program can be any form of application, module or plug-in. Among them, the terminal communicates with the server through a network. The domain name resource data publishing method can be executed by a terminal or a server, or by a terminal and a server in collaboration.
在一些实施例中,终端可以是智能手机、平板电脑、笔记本电脑、台式计算机或者智能手表等。服务器可以是独立的服务器,也可以是提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中间件服务、域名服务、安全服务、内容分发网络(ContentDelivery Network,CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器;也可以是区块链系统中的服务节点,该区块链系统中的各服务节点之间组成点对点(P2P,PeerTo Peer,P2P)网络,P2P协议是一个运行在传输控制协议(Transmission ControlProtocol,TCP)协议之上的应用层协议。终端与服务器之间可以通过蓝牙、通用串行总线(Universal Serial Bus,USB)或者网络等通讯连接方式进行连接,本实施例在此不做限制。In some embodiments, the terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer or a smart watch, etc. The server may be an independent server, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms; or a service node in a blockchain system, wherein each service node in the blockchain system forms a peer-to-peer (P2P, PeerTo Peer, P2P) network, and the P2P protocol is an application layer protocol running on the Transmission Control Protocol (TCP) protocol. The terminal and the server may be connected via Bluetooth, Universal Serial Bus (USB) or a network, etc., which is not limited in this embodiment.
本申请可用于众多通用或专用的计算机系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
下面描述本申请实施例中分布式域名系统。The following describes the distributed domain name system in an embodiment of the present application.
参照图1,图1是本申请实施例提供的分布式域名系统的示意图。Refer to Figure 1, which is a schematic diagram of a distributed domain name system provided in an embodiment of the present application.
图1中分布式域名系统包括:域名发布节点、域名记录节点和密钥中心节点。其中,域名发布节点为参与域名资源所有权保障的节点,域名发布节点在资源发布过程中负责以公告的形式发布一个可唯一标识的域名资源数据,并期待其他的节点作为域名记录节点收到该公告。域名记录节点负责接收域名发布节点关于域名资源数据的公告,并期待其他的域名记录节点也记录同一公告,以此来验证公告一致性。可以理解的是,分布式域名系统的节点既可以是域名发布节点,同时也可以是域名记录节点。The distributed domain name system in Figure 1 includes: domain name publishing nodes, domain name record nodes and key center nodes. Among them, the domain name publishing node is a node that participates in the protection of domain name resource ownership. The domain name publishing node is responsible for publishing a uniquely identifiable domain name resource data in the form of an announcement during the resource publishing process, and expects other nodes to receive the announcement as domain name record nodes. The domain name record node is responsible for receiving the announcement of the domain name resource data from the domain name publishing node, and expects other domain name record nodes to also record the same announcement to verify the consistency of the announcement. It can be understood that the nodes of the distributed domain name system can be both domain name publishing nodes and domain name record nodes.
另外,每个节点,无论是域名发布节点还是域名记录节点都和密钥中心节点连接,能够从密钥中心节点获取本节点的密钥。并且每个节点都能够管理自身的公告相关数据、信任成员列表以及密钥。进一步地,每个节点都有对应的节点管理员,用于进行相应的管理操作。In addition, each node, whether it is a domain name publishing node or a domain name record node, is connected to the key center node and can obtain the key of the node from the key center node. And each node can manage its own announcement-related data, trusted member list and key. Furthermore, each node has a corresponding node administrator to perform corresponding management operations.
下面基于分布式域名系统描述本申请实施例中的域名资源数据发布方法,以域名发布节点的角度描述。The following describes the domain name resource data publishing method in the embodiment of the present application based on a distributed domain name system, and describes it from the perspective of a domain name publishing node.
图2是本申请实施例提供的域名资源数据发布方法的一个可选的流程图,图2中的方法可以包括但不限于包括步骤S110至步骤S140。同时可以理解的是,本实施例对图2中步骤S110至步骤S140的顺序不做具体限定,可以根据实际需求调整步骤顺序或者减少、增加某些步骤。FIG2 is an optional flow chart of a domain name resource data publishing method provided in an embodiment of the present application, and the method in FIG2 may include but is not limited to steps S110 to S140. It is also understood that the present embodiment does not specifically limit the order of steps S110 to S140 in FIG2, and the order of steps may be adjusted or some steps may be reduced or added according to actual needs.
步骤S110:利用第一节点密钥对域名资源数据进行签名得到域名签名数据。Step S110: Use the first node key to sign the domain name resource data to obtain domain name signature data.
其中,域名资源数据即域名发布节点需要进行发布的域名信息,第一节点密钥为域名发布节点的私钥,具体是密钥中心节点根据域名发布节点的第一节点标识生成的,这里的第一节点标识可以是节点名称、节点的IP地址、节点的电子邮箱地址等,用于在分布式域名系统中对不同的节点进行区分。Among them, the domain name resource data refers to the domain name information that the domain name publishing node needs to publish. The first node key is the private key of the domain name publishing node, which is specifically generated by the key center node based on the first node identifier of the domain name publishing node. The first node identifier here can be the node name, the node IP address, the node email address, etc., which is used to distinguish different nodes in the distributed domain name system.
域名发布节点在进行域名资源数据发布时,会将域名资源数据作为“公告”数据进行编辑,域名资源数据通常是根区数据或重要域名数据,其中包含权威服务器名字资源记录(NS类型)和IP地址资源记录(A/AAAA类型)。同时域名发布节点可以对“公告”数据进行查询和修改操作。When a domain name publishing node publishes domain name resource data, it will edit the domain name resource data as "announcement" data. Domain name resource data is usually root zone data or important domain name data, which includes authoritative server name resource records (NS type) and IP address resource records (A/AAAA type). At the same time, the domain name publishing node can query and modify the "announcement" data.
在一实施例中,参照图3,图3为本申请实施例提供的利用第一节点密钥对域名资源数据进行签名得到域名签名数据的过程示意图,具体包括步骤S310至步骤S340:In one embodiment, referring to FIG. 3 , FIG. 3 is a schematic diagram of a process of using a first node key to sign domain name resource data to obtain domain name signature data provided by an embodiment of the present application, specifically including steps S310 to S340:
步骤S310:将第一节点标识发送至向密钥中心节点。Step S310: Send the first node identifier to the key center node.
在一实施例中,参照图4,图4是本申请实施例提供的密钥中心节点的密钥生成过程示意图。图4中,域名发布节点(例如节点A)向密钥中心节点申请对应的私钥,此时将第一节点标识发送至向密钥中心节点,同时密钥中心节点基于一个安全参数生成系统加密参数和主密钥,并基于主密钥生成第一节点密钥,作为节点A的私钥,这里的主密钥是密钥中心节点的加密私钥,只有密钥中心节点才能获知。安全参数可以是一个随机数,系统加密参数是根据随即参数生成的一组公共参数,包括加密算法、哈希函数、素数、多项式和扰动等,系统加密参数由密钥中心节点生成,并在分布式域名系统的所有节点上公开发布,供分布式域名系统中的其他节点使用。可以理解的是,系统加密参数是密钥中心节点向分布式域名系统的所有节点都发送的。In one embodiment, refer to FIG. 4, which is a schematic diagram of the key generation process of the key center node provided in the embodiment of the present application. In FIG. 4, the domain name publishing node (for example, node A) applies for the corresponding private key from the key center node, and at this time, the first node identifier is sent to the key center node. At the same time, the key center node generates a system encryption parameter and a master key based on a security parameter, and generates a first node key based on the master key as the private key of node A. The master key here is the encrypted private key of the key center node, which can only be known by the key center node. The security parameter can be a random number, and the system encryption parameter is a set of public parameters generated according to the random parameter, including encryption algorithm, hash function, prime number, polynomial and perturbation, etc. The system encryption parameter is generated by the key center node and publicly released on all nodes of the distributed domain name system for use by other nodes in the distributed domain name system. It can be understood that the system encryption parameter is sent by the key center node to all nodes of the distributed domain name system.
步骤S320:接收密钥中心节点利用主密钥对第一节点标识进行加密得到的第一节点密钥和系统加密参数。Step S320: Receive the first node key and system encryption parameters obtained by encrypting the first node identifier by the key center node using the master key.
其中,参照图4,密钥中心节点基于系统加密参数和主密钥,对第一节点标识进行加密得到的第一节点密钥,将其作为域名发布节点的私钥,并将第一节点密钥发送至域名发布节点。另外,域名发布节点还将第一节点标识作为其公钥,与私钥构成密钥对。4, the key center node encrypts the first node identifier based on the system encryption parameter and the master key to obtain the first node key, uses it as the private key of the domain name publishing node, and sends the first node key to the domain name publishing node. In addition, the domain name publishing node also uses the first node identifier as its public key to form a key pair with the private key.
步骤S330:在域名资源数据中添加地址标识信息得到域名标识数据。Step S330: Adding address identification information to the domain name resource data to obtain domain name identification data.
在一实施例中,域名发布系统将域名资源数据作为“公告”文件,在其中添加唯一的url地址标识信息,此时域名资源数据变为域名标识数据,其他可能的节点可以根据url地址标识信息获取域名标识数据,从而得到对应的公告文件,得到域名资源数据。In one embodiment, the domain name publishing system uses the domain name resource data as an "announcement" file and adds unique URL address identification information therein. At this time, the domain name resource data becomes domain name identification data. Other possible nodes can obtain the domain name identification data based on the URL address identification information, thereby obtaining the corresponding announcement file and the domain name resource data.
步骤S340:利用系统加密参数和第一节点密钥对域名标识数据进行签名,得到域名签名数据。Step S340: Use the system encryption parameter and the first node key to sign the domain name identification data to obtain domain name signature data.
在一实施例中,得到域名标识数据后,参照图4,利用系统加密参数和第一节点密钥对明文的域名标识数据进行签名,得到标识签名,将标识签名和明文的域名标识数据作为域名签名数据。In one embodiment, after obtaining the domain name identification data, referring to FIG. 4 , the plaintext domain name identification data is signed using the system encryption parameter and the first node key to obtain an identification signature, and the identification signature and the plaintext domain name identification data are used as the domain name signature data.
参照图5,图5是本申请实施例中域名签名数据的生成示意图。首先A节点作为域名发布节点,其在域名发布过程中,对应节点的节点管理员进行公告数据管理、信任成员列表和节点密钥管理。其中,公告数据管理主要是管理域名资源数据。域名发布节点可以根据实际需求维护一个信任成员列表,其中,信任成员列表中可以包括约定好的域名发布记录节点,此时该域名记录节点作为域名发布节点的权限节点,有权限从目标服务器获取域名签名数据。可以理解的是,由于域名记录节点也可以作为域名发布节点,因此域名记录节点也包括对应的信任成员列表,并且互相信任的两个节点互相存在于对方的信任成员列表中。信任成员列表中可以包括信任的节点的IP地址以及开放的端口号等,节点可以查询本节点的信任成员列表或者对其进行更新修改。Referring to Figure 5, Figure 5 is a schematic diagram of the generation of domain name signature data in an embodiment of the present application. First, node A acts as a domain name publishing node. During the domain name publishing process, the node administrator of the corresponding node performs announcement data management, trust member list and node key management. Among them, announcement data management mainly manages domain name resource data. The domain name publishing node can maintain a trust member list according to actual needs, wherein the trust member list can include an agreed domain name publishing record node. At this time, the domain name record node, as the authority node of the domain name publishing node, has the authority to obtain domain name signature data from the target server. It can be understood that since the domain name record node can also serve as a domain name publishing node, the domain name record node also includes a corresponding trust member list, and the two nodes that trust each other exist in each other's trust member list. The trust member list can include the IP address of the trusted node and the open port number, etc. The node can query the trust member list of this node or update and modify it.
图5中,节点A在域名资源数据中添加地址标识信息得到域名标识数据,并对域名标识数据进行签名,将标识签名和域名标识数据作为域名签名数据进行公告,此时得到的新公告A包括对应的版本号。In Figure 5, node A adds address identification information to the domain name resource data to obtain domain name identification data, and signs the domain name identification data, and announces the identification signature and domain name identification data as domain name signature data. At this time, the new announcement A obtained includes the corresponding version number.
步骤S120:将域名签名数据进行发布,并确定用于拉取域名签名数据的域名记录节点为权限节点。Step S120: Publish the domain name signature data, and determine the domain name record node used to pull the domain name signature data as the authority node.
其中,将域名签名数据以公告的形式发布在目标服务器上,这里的目标服务器可以是域名发布节点的本地服务器。参照图6,图6是本申请实施例中将域名签名数据进行发布,并确定用于拉取域名签名数据的域名记录节点为权限节点的流程图,具体包括步骤S610至步骤S620:The domain name signature data is published on the target server in the form of an announcement, and the target server here can be a local server of the domain name publishing node. Referring to Figure 6, Figure 6 is a flowchart of publishing the domain name signature data in an embodiment of the present application, and determining the domain name record node used to pull the domain name signature data as the authority node, specifically including steps S610 to S620:
步骤S610:将域名签名数据发布至目标服务器。Step S610: Publish the domain name signature data to the target server.
其中,在发布时,需要将域名签名数据的版本号同时发布至目标服务器。版本号由日期和数字组成,例如20xx0829T01,该版本号代表此公告为域名发布节点在20xx年8月29日发布的第一个“公告”,若在同一日发布新的“公告”则在字母T后面的数字增加1。可以理解的是,版本号可以根据实际需求进行设定。Among them, when publishing, the version number of the domain name signature data needs to be published to the target server at the same time. The version number consists of a date and a number, for example, 20xx0829T01, which means that this announcement is the first "announcement" published by the domain name publishing node on August 29, 20xx. If a new "announcement" is published on the same day, the number after the letter T will increase by 1. It can be understood that the version number can be set according to actual needs.
步骤S620:根据与域名记录节点的信任信息从域名记录节点中选取权限节点。Step S620: selecting an authority node from the domain name record node according to the trust information with the domain name record node.
在一实施例中,权限节点构成信任成员列表,信任成员列表是根据与域名记录节点的信任信息构建的,将域名发布节点的信任成员列表中的节点称为权限节点。In one embodiment, the authority nodes constitute a trust member list, which is constructed based on trust information with the domain name recording node. The nodes in the trust member list of the domain name publishing node are called authority nodes.
步骤S130:获取权限节点对域名签名数据的验证结果,将权限节点作为接收节点存入接收列表中,并基于接收节点的数量将接收列表推送至接收节点。Step S130: Obtain the verification result of the authority node on the domain name signature data, store the authority node as a receiving node in the receiving list, and push the receiving list to the receiving node based on the number of receiving nodes.
在一实施例中,域名记录节点在域名发布节点发布公告后,会主动探测域名发布节点,然后基于信任成员列表,只有对应的权限节点能够拉取到域名签名数据以及对应的版本号。In one embodiment, after the domain name publishing node publishes an announcement, the domain name recording node will actively detect the domain name publishing node, and then based on the trusted member list, only the corresponding authority node can pull the domain name signature data and the corresponding version number.
当权限节点确定要进行数据拉取时,利用第一节点标识对域名签名数据进行验证通过后。例如图4中,权限节点为节点B,此时节点B利用节点A的第一节点标识,即节点A的公钥对域名签名数据进行验证,在验证通过后,利用权限节点的第二节点标识对域名签名数据进行签名后,得到权限签名,并将域名签名数据和权限签名作为记录公告进行公开,则根据验证结果获取记录公告。将记录公告对应的权限节点作为接收节点,将接收节点的第二节点标识、节点地址和权限签名存入接收列表。When the authority node determines to pull data, the domain name signature data is verified using the first node identifier. For example, in Figure 4, the authority node is node B. At this time, node B uses the first node identifier of node A, that is, the public key of node A to verify the domain name signature data. After the verification is passed, the domain name signature data is signed using the second node identifier of the authority node to obtain the authority signature, and the domain name signature data and the authority signature are made public as a record announcement. The record announcement is obtained according to the verification result. The authority node corresponding to the record announcement is used as the receiving node, and the second node identifier, node address and authority signature of the receiving node are stored in the receiving list.
其中权限节点会将域名签名数据的最新版本号与本节点保存的当前版本号进行比较,如果最新版本号高于当前版本号,则确定要进行数据拉取。The authority node will compare the latest version number of the domain name signature data with the current version number saved by this node. If the latest version number is higher than the current version number, it will determine whether to pull the data.
参照图7,图7是本申请实施例提供的权限节点拉取数据示意图。Refer to Figure 7, which is a schematic diagram of an authority node pulling data provided by an embodiment of the present application.
首先定义A节点为域名发布节点,B节点、C节点和D节点作为A节点的权限节点,可见B节点、C节点和D节点对应的信任成员列表中均包含A节点,此时A节点发布新公告A作为域名签名数据,域名签名数据中包括节点A的标识签名、域名标识数据和版本号,此时B节点、C节点和D节点拉取新公告A,从中得到节点A的标识签名、域名标识数据和版本号。First, define node A as the domain name publishing node, and nodes B, C, and D as the authority nodes of node A. It can be seen that the trust member lists corresponding to nodes B, C, and D all include node A. At this time, node A publishes a new announcement A as the domain name signature data. The domain name signature data includes the identification signature of node A, domain name identification data, and version number. At this time, nodes B, C, and D pull the new announcement A and obtain the identification signature, domain name identification data, and version number of node A from it.
在进行签名时,分布式域名系统中每个节点都需要在密钥管理中心申请自身的私钥,对应地,域名发布系统利用自身的第一节点密钥进行签名得到标识签名。在权限节点进行验证时,由于分布式域名系统中每个节点都互相知道各自的节点标识,例如节点名称、节点的IP地址、节点的电子邮箱地址等,而本申请实施例中公钥就是节点标识,相当于每个节点都知晓并交换了彼此之间的公钥,在进行验签时,可以直接根据对方的节点标识验证对方的签名。其中签名可以保证域名签名数据是由预期的域名发布节点创建的,并且在传输过程中没有被修改过。When signing, each node in the distributed domain name system needs to apply for its own private key in the key management center. Correspondingly, the domain name publishing system uses its own first node key to sign and obtain an identification signature. When the authority node verifies, since each node in the distributed domain name system knows each other's node identification, such as the node name, the node's IP address, the node's email address, etc., and the public key in the embodiment of the present application is the node identification, it is equivalent to each node knowing and exchanging the public key between each other. When verifying the signature, the other party's signature can be directly verified according to the other party's node identification. The signature can ensure that the domain name signature data is created by the expected domain name publishing node and has not been modified during the transmission process.
图7中B节点、C节点和D节点都需要利用本节点存储的节点A的公钥对接收到的域名签名数据中的标识签名进行签名校验,如果签名校验通过,则对应的域名记录节点利用自身的第二节点密钥在域名签名数据上加签自己的签名,并将签名结果作为验证结果进行记录,并将域名签名数据和权限签名作为记录公告进行公开,如图中的记录公告A,这里的A表示与新公告A是关联的。如果验证失败,则将该过程写入异常日志,并不对该记录公告进行公开。In Figure 7, nodes B, C, and D all need to use the public key of node A stored in this node to perform signature verification on the identification signature in the received domain name signature data. If the signature verification passes, the corresponding domain name record node uses its own second node key to add its own signature to the domain name signature data, and records the signature result as the verification result, and publishes the domain name signature data and the authority signature as a record announcement, such as the record announcement A in the figure, where A indicates that it is associated with the new announcement A. If the verification fails, the process is written into the exception log, and the record announcement is not made public.
此时,域名发布节点,即节点A会获取每个对标识权限验证通过的域名记录节点发布的记录公告,将发布记录公告的权限节点作为接收节点,接收节点说明该权限节点对标识权限验证通过,并公开了接收到的域名签名数据。此时将所有的接收节点的第二节点标识和权限签名存入接收列表中。At this time, the domain name publishing node, that is, node A, will obtain the record announcement published by each domain name record node that has passed the identification authority verification, and use the authority node that published the record announcement as the receiving node. The receiving node indicates that the authority node has passed the identification authority verification and has disclosed the received domain name signature data. At this time, the second node identification and authority signature of all receiving nodes are stored in the receiving list.
域名发布节点持续统计接收情况,更新接收列表,并对接收列表进行核查,基于接收节点的数量将接收列表推送至接收节点,具体包括:若接收节点的数量大于或等于预设数量,将接收列表推送至接收节点,例如接收节点的数量占信任节点列表中权限节点的1/2,说明至少有一半的权限节点接收到对应的域名签名数据。否则,当确定接收列表的创建时间超过预设时间,则说明响应出现异常,取消发布接收列表,并通知接收节点清除记录公告,本次域名数据发布过程结束。The domain name publishing node continuously counts the reception situation, updates the receiving list, and verifies the receiving list. Based on the number of receiving nodes, the receiving list is pushed to the receiving node, specifically including: if the number of receiving nodes is greater than or equal to the preset number, the receiving list is pushed to the receiving node. For example, the number of receiving nodes accounts for 1/2 of the authority nodes in the trusted node list, indicating that at least half of the authority nodes have received the corresponding domain name signature data. Otherwise, when it is determined that the creation time of the receiving list exceeds the preset time, it means that the response is abnormal, the receiving list is canceled, and the receiving node is notified to clear the record announcement, and the domain name data publishing process ends.
参照图8,图8是本申请实施例提供的接收列表的示意图。图8中,节点A作为域名发布节点维护一个接收列表,如果权限节点B节点、C节点和D节点均发布记录公告A,则对不同的记录公告A进行检查,根据检查结果在接收列表中实时更新B节点、C节点和D节点作为接收节点,此时接收列表中记录:Refer to Figure 8, which is a schematic diagram of a receiving list provided by an embodiment of the present application. In Figure 8, node A maintains a receiving list as a domain name publishing node. If the authority nodes B, C, and D all publish record announcements A, different record announcements A are checked, and B, C, and D are updated in real time in the receiving list as receiving nodes according to the check results. At this time, the receiving list records:
B节点的:节点标识、IP地址、权限签名;B node: node identification, IP address, authority signature;
C节点的:节点标识、IP地址、权限签名;C node: node identification, IP address, and permission signature;
D节点的:节点标识、IP地址、权限签名。D node: node identification, IP address, and permission signature.
步骤S140:获取接收节点的记录列表,基于记录列表确定域名资源数据的发布结果。Step S140: Obtain a record list of the receiving node, and determine the publishing result of the domain name resource data based on the record list.
在一实施例中,当接收节点基于接收列表中其他接收节点的权限签名,确定对应的记录公告与自身的记录公告一致,则一致性标识为公告一致,将公告一致的一致性标识写入记录列表,则获取记录列表。In one embodiment, when a receiving node determines that a corresponding record announcement is consistent with its own record announcement based on the authority signatures of other receiving nodes in the receiving list, the consistency identifier is consistent with the announcement, and the consistency identifier consistent with the announcement is written into the record list, and the record list is obtained.
参照图9,图9是本申请实施例提供的记录列表的示意图。Refer to Figure 9, which is a schematic diagram of a record list provided in an embodiment of the present application.
图9中域名发布节点为节点A,接收节点为B节点、C节点和D节点,图9中以节点C的一致性判断过程为例。首先节点A将接收列表推送给接收列表中对应的每个接收节点,此时B节点、C节点和D节点都会收到接收列表,得到域名签名数据和接收列表中其他的接收节点的权限签名,此时各个接收节点会根据对权限签名进行验证。以节点C为例,节点C利用节点B和节点D的公钥分别验证节点B的权限签名和节点D的权限签名,待两个权限签名均验证通过后,则判断节点B接收到的域名签名数据以及节点D接收到的域名签名数据与自身接收到的域名签名数据是一致的,一致性标识为公告一致,因此在C节点的记录列表中写入:B节点与本节点公告一致、D节点与本节点公告一致。同时还在记录列表中记录B节点和D节点的节点标识以及对应的IP地址。可以理解的是,节点B和节点D的记录列表中同样在记录列表中记录一致性标识。In Figure 9, the domain name publishing node is node A, and the receiving nodes are node B, node C, and node D. In Figure 9, the consistency judgment process of node C is taken as an example. First, node A pushes the receiving list to each corresponding receiving node in the receiving list. At this time, node B, node C, and node D will receive the receiving list, obtain the domain name signature data and the authority signatures of other receiving nodes in the receiving list, and each receiving node will verify the authority signature. Taking node C as an example, node C uses the public keys of node B and node D to verify the authority signature of node B and the authority signature of node D respectively. After both authority signatures are verified, it is judged that the domain name signature data received by node B and the domain name signature data received by node D are consistent with the domain name signature data received by itself, and the consistency mark is consistent with the announcement. Therefore, it is written in the record list of node C: node B is consistent with the announcement of this node, and node D is consistent with the announcement of this node. At the same time, the node identifiers of node B and node D and the corresponding IP addresses are also recorded in the record list. It can be understood that the record lists of node B and node D also record the consistency mark in the record list.
其中,接收节点在判断记录列表中的节点数量是否符合要求时,会生成一个确认记录消息,确认记录消息用于表征该接收节点已确认公开的公告是否满足要求。其中,确认记录消息包括一个布尔值和确认签名,根据布尔值的取值能够确定公告是否满足要求。确认签名是接收节点利用该节点的密钥对布尔值进行签名得到的。When the receiving node determines whether the number of nodes in the record list meets the requirements, it will generate a confirmation record message, which is used to indicate whether the announcement that the receiving node has confirmed meets the requirements. The confirmation record message includes a Boolean value and a confirmation signature, and the value of the Boolean value can be used to determine whether the announcement meets the requirements. The confirmation signature is obtained by the receiving node signing the Boolean value using the node's key.
对于每个接收节点来说,记录列表中包括公告一致的所有接收节点,如果某个接收节点的公告与本节点公告不一致,则不会将其记录在记录列表中。此时,假设接收列表中的接收节点数量为M,某个接收节点的记录列表中的接收节点数量为F,此时有f=M-F个接收节点的公告不一致,假设满足条件:F大于等于3f+1,则说明记录列表中公告一致的节点数量较多,可以认为域名资源数据在传输过程中基本一致,此时确定对域名资源数据接收成功,可以生成确认记录消息,布尔值可以是1,否则是0。可以理解的是,这种判断条件可以根据不同的接收节点实际设定。For each receiving node, the record list includes all receiving nodes with consistent announcements. If the announcement of a certain receiving node is inconsistent with the announcement of this node, it will not be recorded in the record list. At this time, assuming that the number of receiving nodes in the receiving list is M, and the number of receiving nodes in the record list of a certain receiving node is F, there are f = M-F receiving nodes with inconsistent announcements. Assuming that the condition is met: F is greater than or equal to 3f+1, it means that the number of nodes in the record list with consistent announcements is large, and it can be considered that the domain name resource data is basically consistent during the transmission process. At this time, it is determined that the domain name resource data is successfully received, and a confirmation record message can be generated. The Boolean value can be 1, otherwise it is 0. It can be understood that this judgment condition can be actually set according to different receiving nodes.
在一实施例中,域名发布节点在得到接收节点的确认记录消息后,首先对确认签名进行验证,再根据验证通过的接收节点的布尔值,选取满足要求的接收节点,将其写入公开列表,其中,确定域名资源数据在公开列表中接收节点发布成功。In one embodiment, after receiving the confirmation record message from the receiving node, the domain name publishing node first verifies the confirmation signature, and then selects the receiving node that meets the requirements based on the Boolean value of the receiving node that has passed the verification, and writes it into the public list, wherein it is determined that the domain name resource data is successfully published by the receiving node in the public list.
参照图10,图10是本申请实施例提供的公开列表示意图。Refer to Figure 10, which is a schematic diagram of a public list provided in an embodiment of the present application.
图10中A节点作为域名发布节点,每个接收节点根据其记录列表生成确认记录消息,然后将其发送至域名发布节点,节点A获取每个接收节点的确认记录消息,即获取了B节点、C节点和D节点的确认记录消息。此时对确认记录消息中的确认签名进行验证,验证通过后,再根据确认记录消息中的布尔值,将满足要求的接收节点写入公开列表中。如果验证不通过,则对相应的节点进行告警,并将告警写入异常日志中。此时公开列表中包括:In Figure 10, node A serves as the domain name publishing node. Each receiving node generates a confirmation record message based on its record list and then sends it to the domain name publishing node. Node A obtains the confirmation record message of each receiving node, that is, the confirmation record messages of nodes B, C, and D. At this time, the confirmation signature in the confirmation record message is verified. After the verification is passed, the receiving nodes that meet the requirements are written into the public list based on the Boolean value in the confirmation record message. If the verification fails, the corresponding node is alarmed and the alarm is written into the exception log. At this time, the public list includes:
B节点的:节点标识、IP地址、B节点已确认公开;B-node: Node ID, IP address, B-node has been confirmed public;
C节点的:节点标识、IP地址、C节点已确认公开;C-node: Node ID, IP address, C-node has been confirmed public;
D节点的:节点标识、IP地址、D节点已确认公开。D node: node identification, IP address, D node has been confirmed public.
此时说明域名资源数据已经成功发布给公开列表上的节点,并且各个节点之间接收到的域名资源数据都是一致的。This indicates that the domain name resource data has been successfully published to the nodes on the public list, and the domain name resource data received by each node is consistent.
下面描述本申请实施例的域名资源数据发布方法的整体流程。参照图11,图11是本申请实施例提供的域名资源数据发布方法的整体流程示意图。The following describes the overall process of the domain name resource data publishing method according to the embodiment of the present application. Referring to Figure 11, Figure 11 is a schematic diagram of the overall process of the domain name resource data publishing method according to the embodiment of the present application.
图11中,A节点为域名发布节点,B节点、C节点和D节点为域名记录节点,其中,B节点、C节点和D节点均为权限节点。In FIG. 11 , node A is a domain name publishing node, and nodes B, C, and D are domain name recording nodes, among which nodes B, C, and D are all authority nodes.
步骤1:A节点发布关于域名资源数据的公告,A节点将公告放在本地服务器上并公开,允许权限节点通过拉取的方式主动获取公告数据。Step 1: Node A publishes an announcement about domain name resource data. Node A places the announcement on the local server and makes it public, allowing authority nodes to actively obtain the announcement data by pulling.
步骤2:域名记录节点,即B节点、C节点和D节点获取公告后,将其和本节点对该公告的权限签名公开。Step 2: After the domain name record nodes, namely Node B, Node C and Node D, obtain the announcement, they will make their and their own node's authority signatures on the announcement public.
步骤3:A节点检查B节点、C节点和D节点是否公开了记录公告,并将记录公告对应的节点存储在接收列表中。若接收节点的数量大于或等于预设数量,将接收列表推送至B节点、C节点和D节点。Step 3: Node A checks whether Node B, Node C, and Node D have published the record announcement, and stores the nodes corresponding to the record announcement in the receiving list. If the number of receiving nodes is greater than or equal to the preset number, the receiving list is pushed to Node B, Node C, and Node D.
步骤4:B节点、C节点和D节点分别检查该接收列表中其他节点的服务器上公告是否与自身一致,将公告一致的一致性标识写入各自的记录列表,并生成确认记录消息。Step 4: Node B, Node C, and Node D respectively check whether the announcements on the servers of other nodes in the receiving list are consistent with their own, write the consistency identifiers of the consistent announcements into their respective record lists, and generate confirmation record messages.
步骤5:A节点检查各个域名记录节点的确认记录消息,验证无误后,生成公开列表,确认域名资源数据已再公开列表中成功发布。Step 5: Node A checks the confirmation record messages of each domain name record node. After verification, it generates a public list to confirm that the domain name resource data has been successfully published in the public list.
参照图12,图12是本申请实施例提供的域名资源数据发布方法的又一整体流程示意图。图12的分布式域名系统中包括A节点、B节点、C节点、D节点和E节点,其中,每个节点均可自主维护信任成员列表,自主定义其信任的成员名单,每个节点的信任成员列表的内容均可以不同。这里的A节点、B节点、C节点、D节点之间互相信任,而E节点不信任A节点。Referring to Figure 12, Figure 12 is another overall flow chart of the domain name resource data publishing method provided by an embodiment of the present application. The distributed domain name system of Figure 12 includes A node, B node, C node, D node and E node, wherein each node can independently maintain a list of trusted members and independently define its trusted member list, and the content of the trusted member list of each node can be different. Here, A node, B node, C node and D node trust each other, while E node does not trust A node.
首先是发布公告阶段:A节点发布利用第一节点密钥对域名资源数据进行签名得到域名签名数据,将其作为新公告A进行发布。The first is the announcement stage: Node A publishes the domain name resource data using the first node key to sign the domain name signature data, and publishes it as the new announcement A.
接着是记录公告阶段:B节点、C节点、D节点能够拉取新公告A,并对其进行验证,验证通过后,利用对应的第二节点标识对新公告A中的域名签名数据进行签名后得到权限签名,并将域名签名数据和权限签名作为记录公告进行公开,此时B节点、C节点、D节点分别发布记录公告A。Next is the record announcement stage: Node B, Node C, and Node D can pull the new announcement A and verify it. After the verification is passed, the domain name signature data in the new announcement A is signed with the corresponding second node identifier to obtain the authority signature, and the domain name signature data and the authority signature are made public as a record announcement. At this time, Node B, Node C, and Node D publish the record announcement A respectively.
进入发布者确认接收阶段:A节点根据记录公告A,将记录公告A对应的权限节点作为接收节点,存入接收列表。Entering the publisher confirmation reception stage: Node A takes the authority node corresponding to record announcement A as the receiving node and stores it in the receiving list based on record announcement A.
接着是记录者确认阶段:B节点、C节点、D节点检查该接收列表中其他节点的服务器上是否有该公告,并验证接收列表中其他节点的权限签名,将验证结果中记录公告与自身的记录公告一致的节点写入记录列表。Next comes the recorder confirmation phase: Node B, Node C, and Node D check whether the announcement is available on the servers of other nodes in the receiving list, and verify the authority signatures of other nodes in the receiving list, and write the nodes whose record announcements in the verification results are consistent with their own record announcements into the record list.
最后是发布者确认公开阶段:A节点根据记录列表得到每个接收节点的确认记录消息,根据确认记录消息生成一个公开列表,确定域名资源数据在公开列表中接收节点发布成功。The last is the publisher confirmation and disclosure stage: Node A obtains the confirmation record message of each receiving node according to the record list, generates a public list according to the confirmation record message, and confirms that the domain name resource data is successfully published by the receiving node in the public list.
参照图13,图13是本申请实施例提供的域名资源数据发布方法的又一整体流程示意图。首先域名发布节点发布域名资源数据时,需要向节点管理员发送待确认通知,等待节点管理员的动作。接着节点管理员完成域名资源数据确认,且同意公开后,域名发布节点将域名资源数据进行签名得到域名签名数据,写入公告,并加入公开标识。接着域名发布节点进入等待模式,等待权限节点返回公开情况及权限签名,计时器确认是否达到第一最长等待时间。在设定的第一最长等待时间后,域名发布节点查看域名记录节点的接收情况,验证签名信息后,将该公开情况写入接收列表。同时判定目前的接收情况是否符合公开条件,若符合则将接收列表公开,若不符合,停止协议并通知各域名记录节点清除公告。域名发布节点公开接收列表的同时,将该接收列表推送给接收列表中的域名记录节点。域名发布节点重新进入等待模式,等待接收节点返回确认记录信息及确认签名,计时器确认是否达到第二最长等待时间。在设定的第二最长等待时间后,查看并统计域名记录节点返回的确认记录消息,并验证对应的确认签名。最后根据本次域名资源数据的发布的情况,生成本次域名资源数据发布的公开列表,并对其进行公开。Referring to FIG. 13, FIG. 13 is another overall flow chart of the domain name resource data publishing method provided by an embodiment of the present application. First, when the domain name publishing node publishes the domain name resource data, it is necessary to send a confirmation notification to the node administrator and wait for the node administrator's action. Then, after the node administrator completes the confirmation of the domain name resource data and agrees to disclose it, the domain name publishing node signs the domain name resource data to obtain the domain name signature data, writes it into the announcement, and adds a public mark. Then the domain name publishing node enters the waiting mode, waits for the authority node to return the disclosure status and the authority signature, and the timer confirms whether the first maximum waiting time has been reached. After the set first maximum waiting time, the domain name publishing node checks the reception status of the domain name record node, verifies the signature information, and writes the disclosure status into the receiving list. At the same time, it determines whether the current reception status meets the disclosure conditions. If it meets the conditions, the receiving list will be disclosed. If it does not meet the conditions, the protocol will be stopped and each domain name record node will be notified to clear the announcement. While the domain name publishing node discloses the receiving list, it pushes the receiving list to the domain name record node in the receiving list. The domain name publishing node re-enters the waiting mode, waits for the receiving node to return the confirmation record information and the confirmation signature, and the timer confirms whether the second maximum waiting time has been reached. After the second longest waiting time is set, check and count the confirmation record messages returned by the domain name record node, and verify the corresponding confirmation signature. Finally, based on the release of the domain name resource data this time, generate a public list of the domain name resource data release this time, and make it public.
下面基于分布式域名系统描述本申请实施例中的域名资源数据发布方法,以域名记录节点的角度描述。The following describes the domain name resource data publishing method in the embodiment of the present application based on the distributed domain name system, and describes it from the perspective of the domain name record node.
图14是本申请实施例提供的域名资源数据发布方法的一个可选的流程图,图14中的方法可以包括但不限于包括步骤S1410至步骤S1430。同时可以理解的是,本实施例对图14中步骤S1410至步骤S1430的顺序不做具体限定,可以根据实际需求调整步骤顺序或者减少、增加某些步骤。FIG14 is an optional flow chart of a domain name resource data publishing method provided in an embodiment of the present application, and the method in FIG14 may include but is not limited to steps S1410 to S1430. It is also understood that the present embodiment does not specifically limit the order of steps S1410 to S1430 in FIG14, and the order of steps may be adjusted or some steps may be reduced or added according to actual needs.
步骤S1410:基于域名发布节点的权限列表,从域名发布节点中拉取域名签名数据。Step S1410: Based on the authority list of the domain name publishing node, domain name signature data is pulled from the domain name publishing node.
其中,域名签名数据是域名发布节点利用第一节点密钥对域名资源数据进行签名得到。The domain name signature data is obtained by the domain name publishing node signing the domain name resource data using the first node key.
步骤S1420:获取对域名签名数据的验证结果。Step S1420: Obtain the verification result of the domain name signature data.
在一实施例中,利用域名发布节点的第一节点标识对域名签名数据进行验证,当验证通过后,利用第二节点标识对域名签名数据进行签名,得到权限签名,最后将域名签名数据和权限签名作为公开公告进行公开,验证结果为验证通过。In one embodiment, the domain name signature data is verified using the first node identifier of the domain name publishing node. When the verification is successful, the domain name signature data is signed using the second node identifier to obtain the authority signature. Finally, the domain name signature data and the authority signature are published as a public announcement, and the verification result is verification passed.
步骤S1430:接收域名发布节点基于验证结果推送的接收列表,基于接收列表生成验证结果的一致性标识,并基于一致性标识确定域名资源数据发布成功。Step S1430: receiving a receiving list pushed by the domain name publishing node based on the verification result, generating a consistency identifier of the verification result based on the receiving list, and determining that the domain name resource data is successfully published based on the consistency identifier.
在一实施例中,获取接收列表中其他接收节点的权限签名,确定权限签名对应的公开公告与自身的公开公告一致,则生成的一致性标识为公告一致。当一致性标识为公告一致时,确定对域名资源数据接收成功,并生成指示接收成功的布尔值;利用第二节点标识对布尔值进行签名,得到确认签名;将布尔值和确认签名作为确认记录消息发送至所述域名发布节点,当域名发布节点对确认签名验证通过后,则域名资源数据发布成功。In one embodiment, the authority signatures of other receiving nodes in the receiving list are obtained, and it is determined that the public announcement corresponding to the authority signature is consistent with the public announcement of the node itself, and the generated consistency mark is consistent with the announcement. When the consistency mark is consistent with the announcement, it is determined that the domain name resource data is received successfully, and a Boolean value indicating successful reception is generated; the Boolean value is signed using the second node identifier to obtain a confirmation signature; the Boolean value and the confirmation signature are sent as a confirmation record message to the domain name publishing node, and when the domain name publishing node verifies the confirmation signature, the domain name resource data is successfully published.
参照图15,图15是本申请实施例提供的域名资源数据发布方法的又一整体流程示意图,以域名记录节点的角度描述。域名记录节点检查本节点的信任成员列表,周期性的向信任节点发送“公告”探测请求。如果域名发布节点有新公告后,探测该公告的版本号,并与自身保存的的版本号比较,若一致,则忽略并继续探测,若不一致,则进行更新操作。域名记录节点向域名发布节点发送针对公告的拉取请求,获得该公告并验证签名。如果验证失败中止该流程,验证成功,则公开该公告并加签。同时,域名记录节点通知域名发布节点自身已公开,将关于公告的权限签名传回域名发布节点。此时域名记录节点进入等待模式,等待域名发布节点返回接收列表,计时器确认是否达到第三最长等待时间。接着域名记录节点接收域名发布节点的接收列表,并验证接收列表中其他域名记录节点的权限签名。当最多f个域名记录节点故障,且域名记录节点的总数至少为3f+1时,验证通过,写入记录列表,并公开。同时域名记录节点生成确认记录消息,并通知域名发布节点。Referring to FIG. 15 , FIG. 15 is another overall flow diagram of the domain name resource data publishing method provided by an embodiment of the present application, described from the perspective of a domain name record node. The domain name record node checks the list of trusted members of this node and periodically sends an "announcement" detection request to the trusted node. If the domain name publishing node has a new announcement, it detects the version number of the announcement and compares it with the version number saved by itself. If they are consistent, it ignores and continues to detect. If they are inconsistent, it performs an update operation. The domain name record node sends a pull request for the announcement to the domain name publishing node, obtains the announcement and verifies the signature. If the verification fails, the process is terminated. If the verification succeeds, the announcement is made public and signed. At the same time, the domain name record node notifies the domain name publishing node that it has been made public, and transmits the authority signature of the announcement back to the domain name publishing node. At this time, the domain name record node enters the waiting mode, waiting for the domain name publishing node to return the receiving list, and the timer confirms whether the third longest waiting time has been reached. Then the domain name record node receives the receiving list of the domain name publishing node and verifies the authority signatures of other domain name record nodes in the receiving list. When at most f domain name record nodes fail and the total number of domain name record nodes is at least 3f+1, the verification passes, the record list is written, and it is made public. At the same time, the domain name record node generates a confirmation record message and notifies the domain name publishing node.
本实施例的域名资源数据发布方法在域名记录节点角度的具体实施方式与上述域名资源数据发布方法在域名发布节点角度的具体实施方式基本一致,在此不再赘述。The specific implementation of the domain name resource data publishing method of this embodiment from the perspective of the domain name record node is basically the same as the specific implementation of the domain name resource data publishing method described above from the perspective of the domain name publishing node, and will not be repeated here.
在一实施例中,分布式域名系统中域名发布节点用于利用第一节点密钥对域名资源数据进行签名得到域名签名数据;第一节点密钥为密钥中心节点根据域名发布节点的第一节点标识生成的;域名发布节点还用于将域名签名数据进行发布,并确定用于拉取域名签名数据的域名记录节点为权限节点;权限节点用于拉取域名签名数据,并对域名签名数据进行验证,得到验证结果;域名发布节点还用于获取验证结果,将权限节点作为接收节点存入接收列表中,并基于接收节点的数量将接收列表推送至接收节点;接收节点用于基于接收列表生成验证结果的一致性标识;域名发布节点还用于获取一致性标识,生成记录列表,基于记录列表,确定域名资源数据的发布结果。其中权限节点和接收节点都是域名记录节点。In one embodiment, a domain name publishing node in a distributed domain name system is used to sign domain name resource data using a first node key to obtain domain name signature data; the first node key is generated by a key center node according to a first node identifier of the domain name publishing node; the domain name publishing node is also used to publish the domain name signature data, and determine that the domain name record node used to pull the domain name signature data is an authority node; the authority node is used to pull the domain name signature data, and verify the domain name signature data to obtain a verification result; the domain name publishing node is also used to obtain the verification result, store the authority node as a receiving node in a receiving list, and push the receiving list to the receiving node based on the number of receiving nodes; the receiving node is used to generate a consistency identifier of the verification result based on the receiving list; the domain name publishing node is also used to obtain a consistency identifier, generate a record list, and determine the publishing result of the domain name resource data based on the record list. Wherein the authority node and the receiving node are both domain name record nodes.
本申请实施例提供的技术方案,通过利用第一节点密钥对域名资源数据进行签名得到域名签名数据;将域名签名数据进行发布,并确定用于拉取域名签名数据的域名记录节点为权限节点;获取权限节点对域名签名数据的验证结果,将权限节点作为接收节点存入接收列表中,并基于接收节点的数量将接收列表推送至接收节点;获取接收节点根据验证结果生成的一致性标识,生成记录列表,基于记录列表,确定域名资源数据的发布结果。The technical solution provided by the embodiment of the present application is to obtain domain name signature data by signing the domain name resource data with the first node key; publish the domain name signature data, and determine the domain name record node used to pull the domain name signature data as the authority node; obtain the verification result of the domain name signature data by the authority node, store the authority node as a receiving node in a receiving list, and push the receiving list to the receiving node based on the number of receiving nodes; obtain the consistency identifier generated by the receiving node according to the verification result, generate a record list, and determine the publishing result of the domain name resource data based on the record list.
本申请实施例的是域名系统相关方在参与域名资源所有权保障时,所需要的自主、灵活、可信的资源发布需求,该场景下,各参与方之间本身只具有一定的弱信任基础,需要保证域名资源发布数据的一致性和可信性。本申请实施例通过构建灵活的分布式信任管理机制,使分布式域名系统中相关节点具备灵活的加入与退出机制。域名发布节点可以选取权限节点,自主维护信任成员列表,并利用密钥中心节点管理密钥,通过域名发布节点和域名记录节点之间多次数据交互以及数字签名确认校验过程,简化相关技术中的共识机制,无需每个节点之间均互信,每个节点仅需选择自身的信任节点即可,能够适应弱信任环境,并且在信任传递过程,实现可理解、易推广、便于运维的效果,通过数字签名保证域名资源数据发布过程中的数据一致性和数据可信性。The embodiment of the present application is to meet the autonomous, flexible and reliable resource publishing requirements required by the parties involved in the domain name system when participating in the protection of domain name resource ownership. In this scenario, the parties involved only have a certain weak trust basis, and need to ensure the consistency and credibility of the domain name resource publishing data. The embodiment of the present application builds a flexible distributed trust management mechanism to enable the relevant nodes in the distributed domain name system to have a flexible joining and exit mechanism. The domain name publishing node can select the authority node, autonomously maintain the list of trusted members, and use the key center node to manage the key. Through multiple data interactions between the domain name publishing node and the domain name record node and the digital signature confirmation verification process, the consensus mechanism in the relevant technology is simplified. There is no need for mutual trust between each node. Each node only needs to select its own trusted node. It can adapt to the weak trust environment, and in the trust transmission process, it can achieve the effect of being understandable, easy to promote, and easy to operate and maintain. The data consistency and data credibility in the process of domain name resource data release are guaranteed by digital signatures.
本申请实施例还提供了一种电子设备,包括:The present application also provides an electronic device, including:
至少一个存储器;at least one memory;
至少一个处理器;at least one processor;
至少一个程序;at least one program;
所述程序被存储在存储器中,处理器执行所述至少一个程序以实现本申请实施上述的域名资源数据发布方法。该电子设备可以为包括手机、平板电脑、个人数字助理(Personal Digital Assistant,简称PDA)、车载电脑等任意智能终端。The program is stored in the memory, and the processor executes the at least one program to implement the domain name resource data publishing method implemented in the present application. The electronic device can be any intelligent terminal including a mobile phone, a tablet computer, a personal digital assistant (PDA), a car computer, etc.
请参阅图16,图16示意了另一实施例的电子设备的硬件结构,电子设备包括:Please refer to FIG. 16 , which schematically shows the hardware structure of an electronic device according to another embodiment. The electronic device includes:
处理器1601,可以采用通用的CPU(CentralProcessingUnit,中央处理器)、微处理器、应用专用集成电路(ApplicationSpecificIntegratedCircuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本申请实施例所提供的技术方案;The processor 1601 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;
存储器1602,可以采用ROM(ReadOnlyMemory,只读存储器)、静态存储设备、动态存储设备或者RAM(RandomAccessMemory,随机存取存储器)等形式实现。存储器1602可以存储操作系统和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器1602中,并由处理器1601来调用执行本申请实施例的域名资源数据发布方法;The memory 1602 can be implemented in the form of ROM (Read Only Memory), static storage device, dynamic storage device or RAM (Random Access Memory). The memory 1602 can store operating systems and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1602, and the processor 1601 calls and executes the domain name resource data publishing method of the embodiment of this application;
输入/输出接口1603,用于实现信息输入及输出;Input/output interface 1603, used to implement information input and output;
通信接口1604,用于实现本设备与其他设备的通信交互,可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信;和Communication interface 1604, used to realize communication interaction between the device and other devices, which can be realized by wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.); and
总线1605,在设备的各个组件(例如处理器1601、存储器1602、输入/输出接口1603和通信接口1604)之间传输信息;A bus 1605 that transmits information between the various components of the device (e.g., the processor 1601, the memory 1602, the input/output interface 1603, and the communication interface 1604);
其中处理器1601、存储器1602、输入/输出接口1603和通信接口1604通过总线1605实现彼此之间在设备内部的通信连接。The processor 1601 , the memory 1602 , the input/output interface 1603 and the communication interface 1604 are connected to each other in communication within the device via the bus 1605 .
本申请实施例还提供了一种存储介质,存储介质为存储介质,该存储介质存储有计算机程序,该计算机程序被处理器执行时实现上述域名资源数据发布方法。An embodiment of the present application also provides a storage medium, which is a storage medium that stores a computer program. When the computer program is executed by a processor, the above-mentioned domain name resource data publishing method is implemented.
存储器作为一种非暂态存储介质,可用于存储非暂态软件程序以及非暂态性计算机可执行程序。此外,存储器可以包括高速随机存取存储器,还可以包括非暂态存储器,例如至少一个磁盘存储器件、闪存器件、或其他非暂态固态存储器件。在一些实施方式中,存储器可选包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至该处理器。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。As a non-transient storage medium, the memory can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
本申请实施例提出的域名资源数据发布方法、域名系统、设备和存储介质,通过利用第一节点密钥对域名资源数据进行签名得到域名签名数据;将域名签名数据进行发布,并确定用于拉取域名签名数据的域名记录节点为权限节点;获取权限节点对域名签名数据的验证结果,将权限节点作为接收节点存入接收列表中,并基于接收节点的数量将接收列表推送至接收节点;获取接收节点根据验证结果生成的一致性标识,生成记录列表,基于记录列表,确定域名资源数据的发布结果。本申请实施例构建了灵活的分布式信任管理机制,域名发布节点可以选取权限节点,自主维护信任成员列表,并利用密钥中心节点管理密钥,通过域名发布节点和域名记录节点之间多次数据交互以及数字签名确认校验过程,简化相关技术中的共识机制,无需每个节点之间均互信,每个节点仅需选择自身的信任节点即可,能够适应弱信任环境,并且在信任传递过程,通过数字签名保证域名资源数据发布过程中的数据一致性和数据可信性。The domain name resource data publishing method, domain name system, device and storage medium proposed in the embodiment of the present application obtain domain name signature data by signing the domain name resource data with the first node key; publish the domain name signature data, and determine the domain name record node used to pull the domain name signature data as the authority node; obtain the verification result of the domain name signature data by the authority node, store the authority node as a receiving node in the receiving list, and push the receiving list to the receiving node based on the number of receiving nodes; obtain the consistency identifier generated by the receiving node according to the verification result, generate a record list, and determine the publishing result of the domain name resource data based on the record list. The embodiment of the present application constructs a flexible distributed trust management mechanism, the domain name publishing node can select the authority node, autonomously maintain the trust member list, and use the key center node to manage the key, through multiple data interactions between the domain name publishing node and the domain name record node and the digital signature confirmation verification process, simplify the consensus mechanism in the related technology, without the need for mutual trust between each node, each node only needs to select its own trust node, can adapt to weak trust environment, and in the trust transmission process, through digital signature to ensure data consistency and data credibility in the process of domain name resource data publishing.
本申请实施例描述的实施例是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域技术人员可知,随着技术的演变和新应用场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.
本领域技术人员可以理解的是,图中示出的技术方案并不构成对本申请实施例的限定,可以包括比图示更多或更少的步骤,或者组合某些步骤,或者不同的步骤。Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统、设备中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules/units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
本申请的说明书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And/or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and/or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character "/" generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括多指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例的方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等各种可以存储程序的介质。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.
以上参照附图说明了本申请实施例的优选实施例,并非因此局限本申请实施例的权利范围。本领域技术人员不脱离本申请实施例的范围和实质内所作的任何修改、等同替换和改进,均应在本申请实施例的权利范围之内。The preferred embodiments of the present application are described above with reference to the accompanying drawings, but the scope of the rights of the present application is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present application should be within the scope of the rights of the present application.
Claims (14)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410116359.9A CN118041550A (en) | 2024-01-26 | 2024-01-26 | Domain name resource data issuing method, domain name system, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410116359.9A CN118041550A (en) | 2024-01-26 | 2024-01-26 | Domain name resource data issuing method, domain name system, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118041550A true CN118041550A (en) | 2024-05-14 |
Family
ID=90999620
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410116359.9A Pending CN118041550A (en) | 2024-01-26 | 2024-01-26 | Domain name resource data issuing method, domain name system, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118041550A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119402301A (en) * | 2025-01-03 | 2025-02-07 | 鹏城实验室 | Domain name resource transmission method, device, computer equipment and readable storage medium |
-
2024
- 2024-01-26 CN CN202410116359.9A patent/CN118041550A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN119402301A (en) * | 2025-01-03 | 2025-02-07 | 鹏城实验室 | Domain name resource transmission method, device, computer equipment and readable storage medium |
CN119402301B (en) * | 2025-01-03 | 2025-05-06 | 鹏城实验室 | Domain name resource transmission method, device, computer equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111213128B (en) | Implementing blockchain-based web services | |
JP7679377B2 (en) | Identity (ID)-based public key generation protocol | |
US8681995B2 (en) | Supporting DNS security in a multi-master environment | |
JP6526244B2 (en) | Secure Delegated Delivery of Private Keys via Domain Name Service | |
JP2020522034A (en) | Program execution and data certification scheme with multiple key pair signatures | |
CN109327481B (en) | A blockchain-based unified online authentication method and system for the entire network | |
JP2020522036A (en) | Data isolation in blockchain networks | |
CN111786812B (en) | Node management method, device, computer equipment and storage medium | |
US10715502B2 (en) | Systems and methods for automating client-side synchronization of public keys of external contacts | |
US20160044000A1 (en) | System and method to communicate sensitive information via one or more untrusted intermediate nodes with resilience to disconnected network topology | |
US20150312331A1 (en) | System and Method for Group Collaboration Using a Distributed Network File Repository | |
JP2022519681A (en) | Security system and related methods | |
JP6326173B1 (en) | Data transmission / reception system and data transmission / reception method | |
CN111064569B (en) | Cluster key obtaining method and device of trusted computing cluster | |
JP6951649B2 (en) | Block verification device, block verification method, and program | |
EP3644549A1 (en) | Issuing device and method for issuing and requesting device and method for requesting a digital certificate | |
JP2023500258A (en) | Request and response protocol using blockchain transactions | |
EP1694027A1 (en) | Peer-to-peer network information | |
CN114205093B (en) | Block chain message transmission method, device, client and storage medium | |
EP4560974A1 (en) | Data processing method and related devices | |
CN118041550A (en) | Domain name resource data issuing method, domain name system, device and storage medium | |
CN114499836A (en) | Key management method, key management device, computer equipment and readable storage medium | |
CN116561820B (en) | Trusted data processing method and related device | |
US20140019754A1 (en) | Anonymous and unlinkable distributed communication and data sharing system | |
US9154548B2 (en) | Auditable distribution of a data file |
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 |