[go: up one dir, main page]

CN116846908B - A blockchain-based Handle identification data sharing method and platform - Google Patents

A blockchain-based Handle identification data sharing method and platform Download PDF

Info

Publication number
CN116846908B
CN116846908B CN202311111088.XA CN202311111088A CN116846908B CN 116846908 B CN116846908 B CN 116846908B CN 202311111088 A CN202311111088 A CN 202311111088A CN 116846908 B CN116846908 B CN 116846908B
Authority
CN
China
Prior art keywords
node
handle
task
blockchain network
identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311111088.XA
Other languages
Chinese (zh)
Other versions
CN116846908A (en
Inventor
杜鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University
Original Assignee
Peking University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Peking University filed Critical Peking University
Priority to CN202311111088.XA priority Critical patent/CN116846908B/en
Publication of CN116846908A publication Critical patent/CN116846908A/en
Application granted granted Critical
Publication of CN116846908B publication Critical patent/CN116846908B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The application provides a method and a platform for sharing Handle identification data based on a blockchain, wherein the method comprises the following steps: receiving an identification analysis task sent by a first Handle node, wherein the identification analysis task is sent by the first Handle node when no authorization node information capable of analyzing an identification analysis request exists in a corresponding cache server; broadcasting the identification analysis task in the blockchain network so that the second Handle node obtains and executes the identification analysis task; the method comprises the steps of obtaining an execution result obtained by executing an identification analysis task by a second Handle node from a block chain network, wherein the execution result at least comprises: node information identifying a target authorized node of the resolution request can be resolved; and returning the execution result to the client, and enabling the client to establish connection with any target authorized node so as to analyze the identification analysis request. The authorized node information can be obtained without the step-by-step recursion analysis of the identification analysis request, so that the analysis efficiency is improved and the resources are saved.

Description

一种基于区块链的Handle标识数据共享方法及平台A blockchain-based Handle identification data sharing method and platform

技术领域Technical field

本发明涉及互联网标识技术领域,具体涉及一种基于区块链的Handle标识数据共享方法及平台。The present invention relates to the field of Internet identification technology, and specifically relates to a blockchain-based Handle identification data sharing method and platform.

背景技术Background technique

Handle标识解析服务用于分配、管理和解析数字对象或其它资源的持久标识符,该Handle标识解析服务由国际并联根节点、辅根节点、行业节点、下级的各授权节点等要素组成,通过标识解析和发现服务,从而实现对网络信息资源的寻址访问。The Handle identity resolution service is used to allocate, manage and parse persistent identifiers of digital objects or other resources. The Handle identity resolution service consists of international parallel root nodes, auxiliary root nodes, industry nodes, subordinate authorized nodes and other elements. Through identification Parsing and discovery services to achieve addressable access to network information resources.

在当前Handle标识体系架构中,行业节点、授权节点只维护本级Handle的注册内容及下级Handle标识解析的地址。当客户端向缓存解析服务器发起标识解析请求时,如果该缓存服务器中存在能够提供对应解析服务的授权节点信息,则会直接返回该信息,否则需要依次向国际并联根节点、辅根节点、行业节点逐级递归解析来获取相应的授权节点信息。前述方式对于本地不能解析的Handle标识,需要多个节点提供解析服务,解析效率较低且浪费资源。In the current Handle identification system architecture, industry nodes and authorized nodes only maintain the registration content of the current level Handle and the address of the lower-level Handle identification resolution. When the client initiates an identity resolution request to the cache resolution server, if there is authorized node information that can provide the corresponding resolution service in the cache server, the information will be returned directly. Otherwise, it needs to be sent to the international parallel root node, auxiliary root node, industry, etc. The nodes are parsed recursively level by level to obtain the corresponding authorized node information. The aforementioned method requires multiple nodes to provide parsing services for Handle identifiers that cannot be parsed locally, which results in low parsing efficiency and a waste of resources.

发明内容Contents of the invention

有鉴于此,本发明实施例提供一种基于区块链的Handle标识数据共享方法及平台,以解决现有技术在解析Handle标识时所存在的,解析效率较低且浪费资源等问题。In view of this, embodiments of the present invention provide a blockchain-based Handle identifier data sharing method and platform to solve the problems of low parsing efficiency and waste of resources when parsing Handle identifiers in the existing technology.

为实现上述目的,本发明实施例提供如下技术方案:To achieve the above objectives, embodiments of the present invention provide the following technical solutions:

本发明实施例第一方面公开一种基于区块链的Handle标识数据共享方法,所述方法包括:The first aspect of the embodiment of the present invention discloses a blockchain-based Handle identification data sharing method. The method includes:

接收第一Handle节点发送的标识解析任务,所述标识解析任务至少包含客户端向所述第一Handle节点发起的标识解析请求,所述标识解析任务由所述第一Handle节点在相应的缓存服务器中不存在能够解析所述标识解析请求的授权节点信息时发送;Receive an identity parsing task sent by the first Handle node. The identity parsing task at least includes an identity parsing request initiated by the client to the first Handle node. The identity parsing task is performed by the first Handle node on the corresponding cache server. Sent when there is no authorized node information capable of parsing the identity resolution request;

将所述标识解析任务在预设的区块链网络中进行广播,以使第二Handle节点获取并执行所述标识解析任务;Broadcast the identity parsing task in the preset blockchain network so that the second Handle node obtains and executes the identity parsing task;

从所述区块链网络中获取所述第二Handle节点执行所述标识解析任务所得到的执行结果,所述执行结果至少包含:能够解析所述标识解析请求的目标授权节点的节点信息;Obtain the execution result obtained by the second Handle node from executing the identity resolution task from the blockchain network. The execution result at least includes: node information of the target authorized node that can parse the identity resolution request;

将所述执行结果返回给所述客户端,使所述客户端与任意所述目标授权节点建立连接以解析所述标识解析请求。The execution result is returned to the client, so that the client establishes a connection with any target authorization node to parse the identity resolution request.

优选的,将所述标识解析任务在预设的区块链网络中进行广播,以使第二Handle节点获取并执行所述标识解析任务,包括:Preferably, the identity parsing task is broadcast in a preset blockchain network so that the second Handle node obtains and executes the identity parsing task, including:

将所述标识解析任务封装为待处理交易,所述待处理交易的格式为预设的区块链网络所要求的交易格式;Encapsulate the identification parsing task into a transaction to be processed, and the format of the transaction to be processed is the transaction format required by the preset blockchain network;

根据所述第一Handle节点的公私钥对,对所述待处理交易进行签名;Sign the pending transaction according to the public-private key pair of the first Handle node;

将签名后的所述待处理交易发送至所述区块链网络进行广播,以使第二Handle节点根据智能合约授权范围获取并执行所述标识解析任务。The signed transaction to be processed is sent to the blockchain network for broadcast, so that the second Handle node obtains and executes the identity resolution task according to the authorization scope of the smart contract.

优选的,所述方法还包括:Preferably, the method further includes:

在接收到新节点加入所述区块链网络的请求时,利用已加入所述区块链网络的Handle节点对所述新节点进行身份验证;When receiving a request from a new node to join the blockchain network, use the Handle node that has joined the blockchain network to perform identity verification on the new node;

若所述新节点通过预设数量个已加入所述区块链网络的Handle节点的身份验证,将所述新节点加入所述区块链网络。If the new node passes the identity verification of a preset number of Handle nodes that have joined the blockchain network, the new node is added to the blockchain network.

优选的,将所述执行结果返回给所述客户端,使所述客户端与任意所述目标授权节点建立连接以解析所述标识解析请求,包括:Preferably, the execution result is returned to the client, so that the client establishes a connection with any of the target authorization nodes to parse the identity resolution request, including:

将所述执行结果进行汇总以形成任务解析结果;Summarize the execution results to form task analysis results;

通过所述第一Handle节点将所述任务解析结果返回给所述客户端,使所述客户端与任意所述目标授权节点建立连接以解析所述标识解析请求。The task parsing result is returned to the client through the first Handle node, so that the client establishes a connection with any target authorization node to parse the identity parsing request.

优选的,所述方法还包括:Preferably, the method further includes:

若所述新节点未通过所述预设数量个已加入所述区块链网络的Handle节点的身份验证,输出告警提示信息。If the new node fails to pass the identity verification of the preset number of Handle nodes that have joined the blockchain network, an alarm prompt message is output.

本发明实施例第二方面公开一种基于区块链的Handle标识数据共享平台,所述Handle标识数据共享平台包括:The second aspect of the embodiment of the present invention discloses a blockchain-based Handle identification data sharing platform. The Handle identification data sharing platform includes:

接收单元,用于接收第一Handle节点发送的标识解析任务,所述标识解析任务至少包含客户端向所述第一Handle节点发起的标识解析请求,所述标识解析任务由所述第一Handle节点在相应的缓存服务器中不存在能够解析所述标识解析请求的授权节点信息时发送;A receiving unit, configured to receive an identity parsing task sent by the first Handle node. The identity parsing task at least includes an identity parsing request initiated by the client to the first Handle node. The identity parsing task is sent by the first Handle node. Sent when there is no authorized node information capable of parsing the identity resolution request in the corresponding cache server;

广播单元,用于将所述标识解析任务在预设的区块链网络中进行广播,以使第二Handle节点获取并执行所述标识解析任务;A broadcast unit, configured to broadcast the identity parsing task in a preset blockchain network, so that the second Handle node obtains and executes the identity parsing task;

获取单元,用于从所述区块链网络中获取所述第二Handle节点执行所述标识解析任务所得到的执行结果,所述执行结果至少包含:能够解析所述标识解析请求的目标授权节点的节点信息;An acquisition unit, configured to acquire an execution result obtained by the second Handle node from executing the identity resolution task from the blockchain network. The execution result at least includes: a target authorization node capable of parsing the identity resolution request. node information;

反馈单元,用于将所述执行结果返回给所述客户端,使所述客户端与任意所述目标授权节点建立连接以解析所述标识解析请求。A feedback unit is configured to return the execution result to the client, so that the client can establish a connection with any of the target authorization nodes to parse the identity resolution request.

优选的,所述广播单元包括:Preferably, the broadcast unit includes:

封装模块,用于将所述标识解析任务封装为待处理交易,所述待处理交易的格式为预设的区块链网络所要求的交易格式;An encapsulation module, used to encapsulate the identification parsing task into a transaction to be processed, and the format of the transaction to be processed is the transaction format required by the preset blockchain network;

签名模块,用于根据所述第一Handle节点的公私钥对,对所述待处理交易进行签名;A signature module, configured to sign the transaction to be processed according to the public and private key pair of the first Handle node;

广播模块,用于将签名后的所述待处理交易发送至所述区块链网络进行广播,以使第二Handle节点根据智能合约授权范围获取并执行所述标识解析任务。A broadcast module, configured to send the signed transaction to be processed to the blockchain network for broadcast, so that the second Handle node obtains and executes the identity resolution task according to the authorization scope of the smart contract.

优选的,还包括:Preferably, it also includes:

验证单元,用于在接收到新节点加入所述区块链网络的请求时,利用已加入所述区块链网络的Handle节点对所述新节点进行身份验证;若所述新节点通过预设数量个已加入所述区块链网络的Handle节点的身份验证,将所述新节点加入所述区块链网络。A verification unit, used to perform identity verification on the new node using the Handle node that has joined the blockchain network when receiving a request from a new node to join the blockchain network; if the new node passes the preset Verify the identity of a number of Handle nodes that have joined the blockchain network, and add the new node to the blockchain network.

优选的,所述反馈单元具体用于:将所述执行结果进行汇总以形成任务解析结果;通过所述第一Handle节点将所述任务解析结果返回给所述客户端,使所述客户端与任意所述目标授权节点建立连接以解析所述标识解析请求。Preferably, the feedback unit is specifically configured to: summarize the execution results to form a task analysis result; return the task analysis result to the client through the first Handle node, so that the client communicates with Any of the target authorization nodes establishes a connection to resolve the identity resolution request.

优选的,所述验证单元还用于:若所述新节点未通过所述预设数量个已加入所述区块链网络的Handle节点的身份验证,输出告警提示信息。Preferably, the verification unit is also configured to output an alarm prompt if the new node fails to pass the identity verification of the preset number of Handle nodes that have joined the blockchain network.

基于上述本发明实施例提供的一种基于区块链的Handle标识数据共享方法及平台,该方法为:接收第一Handle节点发送的标识解析任务,标识解析任务至少包含客户端向第一Handle节点发起的标识解析请求,标识解析任务由第一Handle节点在相应的缓存服务器中不存在能够解析标识解析请求的授权节点信息时发送;将标识解析任务在预设的区块链网络中进行广播,以使第二Handle节点获取并执行标识解析任务;从区块链网络中获取第二Handle节点执行标识解析任务所得到的执行结果,执行结果至少包含:能够解析标识解析请求的目标授权节点的节点信息;将执行结果返回给客户端,使客户端与任意目标授权节点建立连接以解析标识解析请求。本方案中,当第一Handle节点的缓存服务器中不存在能够解析标识解析请求的授权节点信息时,将标识解析任务在区块链网络中进行广播以使第二Handle节点获取并执行标识解析任务。将执行标识解析任务所得到的执行结果返回给客户端,使客户端与任意目标授权节点建立连接以解析标识解析请求。不需要逐级递归解析标识解析请求就可获取得到授权节点信息,提高解析效率和节约资源。Based on the above embodiments of the present invention, a blockchain-based Handle identification data sharing method and platform are provided. The method is: receiving an identification parsing task sent by the first Handle node. The identification parsing task at least includes the client sending a request to the first Handle node. Initiated identity resolution request, the identity resolution task is sent by the first Handle node when there is no authorized node information capable of parsing the identity resolution request in the corresponding cache server; the identity resolution task is broadcast in the preset blockchain network, So that the second Handle node obtains and executes the identity resolution task; obtains the execution result obtained by the second Handle node performing the identity resolution task from the blockchain network, and the execution result at least includes: a node that can parse the target authorization node of the identity resolution request Information; returns the execution results to the client, allowing the client to establish a connection with any target authorization node to resolve the identity resolution request. In this solution, when there is no authorized node information that can parse the identity resolution request in the cache server of the first Handle node, the identity resolution task is broadcast in the blockchain network so that the second Handle node obtains and executes the identity resolution task. . Return the execution result obtained by executing the identity resolution task to the client, so that the client can establish a connection with any target authorization node to resolve the identity resolution request. The authorized node information can be obtained without recursively parsing the identity parsing request level by level, improving parsing efficiency and saving resources.

附图说明Description of the drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are only These are embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on the provided drawings without exerting creative efforts.

图1为本发明实施例提供的一种基于区块链的Handle标识数据共享方法的流程图;Figure 1 is a flow chart of a blockchain-based Handle identification data sharing method provided by an embodiment of the present invention;

图2为本发明实施例提供的Handle标识数据共享平台与Handle节点的交互示例图;Figure 2 is an example diagram of interaction between the Handle identification data sharing platform and Handle nodes provided by the embodiment of the present invention;

图3为本发明实施例提供的一种基于区块链的Handle标识数据共享方法的另一流程图;Figure 3 is another flow chart of a blockchain-based Handle identification data sharing method provided by an embodiment of the present invention;

图4为本发明实施例提供的一种基于区块链的Handle标识数据共享平台的结构框图。Figure 4 is a structural block diagram of a blockchain-based Handle identification data sharing platform provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of the present invention.

在本申请中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In this application, the terms "comprises," "comprises," or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements not only includes those elements, but also includes none. Other elements expressly listed, or elements inherent to such process, method, article or equipment. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article, or apparatus that includes the stated element.

结合背景技术可知,Handle标识解析服务用于分配、管理和解析数字对象或其它资源的持久标识符,该Handle标识解析服务由国际并联根节点、辅根节点、行业节点、下级的各授权节点、缓存/递归解析服务节点等要素组成,通过标识解析和发现服务,从而实现对网络信息资源的寻址访问。As can be seen from the background technology, the Handle identity resolution service is used to allocate, manage and parse persistent identifiers of digital objects or other resources. The Handle identity resolution service consists of international parallel root nodes, auxiliary root nodes, industry nodes, subordinate authorized nodes, It is composed of caching/recursive parsing service nodes and other elements, and realizes addressing access to network information resources through identification parsing and discovery services.

在当前Handle标识体系架构中,行业节点、授权节点只维护本级Handle的注册内容及下级Handle标识解析的地址。当客户端向缓存解析服务器发起标识解析请求时,如果该缓存服务器中存在能够提供对应解析服务的授权节点信息,则会直接返回该信息,否则需要依次向国际并联根节点、辅根节点、行业节点逐级递归解析来获取相应的授权节点信息。前述方式对于本地不能解析的Handle标识,需要多个节点提供解析服务,解析效率较低且浪费资源。此外,国际根服务被篡改可能会误导客户端请求,将其引导至错误的行业或企业节点,从而可能返回错误的标识解析结果。In the current Handle identification system architecture, industry nodes and authorized nodes only maintain the registration content of the current level Handle and the address of the lower-level Handle identification resolution. When the client initiates an identity resolution request to the cache resolution server, if there is authorized node information that can provide the corresponding resolution service in the cache server, the information will be returned directly. Otherwise, it needs to be sent to the international parallel root node, auxiliary root node, industry, etc. The nodes are parsed recursively level by level to obtain the corresponding authorized node information. The aforementioned method requires multiple nodes to provide parsing services for Handle identifiers that cannot be parsed locally, which results in low parsing efficiency and a waste of resources. In addition, tampering with the international root service may mislead client requests, directing them to the wrong industry or enterprise node, which may return incorrect identity resolution results.

为解决Handle标识体系中解析信息的多层查询、数据流通效率慢、解析结果不可信等问题,本方案提出了一种基于区块链的Handle标识数据共享方法及平台,本方案通过与区块链技术相结合,以及通过身份准入和验证的方式保证了标识数据的合规使用,采用分布式解析技术提升Handle标识解析服务性能的同时,也增强了应对大规模DDoS等拒绝服务攻击的能力。此外,本方案中的行业或企业节点作为区块链中的一个成员,保证了解析数据的正确性,通过智能合约进行数据确权和共享激励,推进了Handle标识数据的可信共享。In order to solve the problems of multi-layer query of parsed information in the Handle identification system, slow data circulation efficiency, and untrustworthy analysis results, this plan proposes a blockchain-based Handle identification data sharing method and platform. This plan uses the blockchain The combination of chain technology and identity access and verification ensures the compliant use of identification data. The use of distributed parsing technology not only improves the performance of the Handle identification parsing service, but also enhances the ability to deal with large-scale DDoS and other denial-of-service attacks. . In addition, the industry or enterprise node in this solution, as a member of the blockchain, ensures the correctness of the parsed data, conducts data confirmation and sharing incentives through smart contracts, and promotes the trusted sharing of Handle identification data.

以下通过各个实施例对本方案进行详细说明。This solution will be described in detail through various examples below.

需要说明的是,Handle标识体系由根节点、行业节点、授权节点等组成,本方案所提及的Handle节点具体是指Handle标识体系中的节点。在各个Handle节点部署区块链节点,基于互联网虚拟专用网络(Virtual Private Network,VPN)构建面向Handle标识数据共享的区块链网络。该区块链网络构建面向Handle标识数据共享的内部网络环境,用于实现数据确权、共享授权、激励机制和标识数据的节点间共享和分布式记账,从而保证数据接口的安全访问,进而防止非法与越权访问。It should be noted that the Handle identification system consists of root nodes, industry nodes, authorization nodes, etc. The Handle nodes mentioned in this plan specifically refer to the nodes in the Handle identification system. Deploy blockchain nodes on each Handle node, and build a blockchain network for Handle identification data sharing based on the Internet Virtual Private Network (VPN). This blockchain network builds an internal network environment for Handle identification data sharing, which is used to realize data confirmation, sharing authorization, incentive mechanism and identification data sharing and distributed accounting between nodes, thereby ensuring safe access to the data interface, and then Prevent illegal and unauthorized access.

利用区块链技术构建基于区块链的Handle标识数据共享平台,通过联盟链的分布式账本、共识算法和智能合约,为各Handle节点提供Handle标识数据的可信查询、节点准入机制、数据共享存证记录详情查阅等功能。Use blockchain technology to build a blockchain-based Handle identification data sharing platform. Through the distributed ledger, consensus algorithm and smart contract of the alliance chain, it provides each Handle node with trusted query, node access mechanism, and data for Handle identification data. Functions such as checking the details of shared certificate records.

在本方案中,Handle行业/区域节点、企业节点、缓存/递归节点采用点对点网络模式组建Handle标识数据共享联盟链,通过区块链节点实现标识数据的智能合约授权访问以及查询解析记录的分布式存储。对于新加入的新节点,基于标识提供身份信息进行身份验证,通过身份验证后才能加入区块链网络进行标识数据共享。In this solution, Handle industry/regional nodes, enterprise nodes, and cache/recursive nodes use point-to-point network mode to form the Handle identification data sharing alliance chain, and realize smart contract authorized access to identification data and distributed query and analysis records through blockchain nodes. storage. For newly added nodes, identity information is provided for identity verification based on the identity. Only after passing the identity verification can they join the blockchain network for identity data sharing.

参见图1,示出了本发明实施例提供的一种基于区块链的Handle标识数据共享方法的流程图,该Handle标识数据共享方法应用于基于区块链的Handle标识数据共享平台,该Handle标识数据共享方法包括:Referring to Figure 1, there is shown a flow chart of a blockchain-based Handle identification data sharing method provided by an embodiment of the present invention. The Handle identification data sharing method is applied to a blockchain-based Handle identification data sharing platform. The Handle identification data sharing method is applied to a blockchain-based Handle identification data sharing platform. Identity data sharing methods include:

步骤S101:接收第一Handle节点发送的标识解析任务。Step S101: Receive the identity parsing task sent by the first Handle node.

需要说明的是,客户端向Handle标识解析系统发起标识解析请求,此时如果该Handle标识解析系统的缓存服务器中存在能够解析标识解析请求的授权节点信息(存在可提供对应解析服务的授权节点的信息),则该Handle标识解析系统将能够解析标识解析请求的授权节点信息返回给客户端。It should be noted that the client initiates an identity resolution request to the Handle identity resolution system. At this time, if there is authorized node information that can parse the identity resolution request in the cache server of the Handle identity resolution system (there is an authorized node that can provide the corresponding resolution service). information), the Handle identity resolution system will return the authorized node information that can parse the identity resolution request to the client.

如果Handle标识解析系统的缓存服务器中不存在能够解析标识解析请求的授权节点信息,该Handle标识解析系统作为第一Handle节点向Handle标识数据共享平台发送标识解析任务。If there is no authorized node information capable of parsing the identity resolution request in the cache server of the Handle identity resolution system, the Handle identity resolution system serves as the first Handle node and sends the identity resolution task to the Handle identity data sharing platform.

该标识解析任务至少包含:客户端向第一Handle节点发起的标识解析请求(其中包含Handle标识编码)、任务类型、发送者等信息;标识解析任务由第一Handle节点在相应的缓存服务器中不存在能够解析标识解析请求的授权节点信息时发送。The identity resolution task at least includes: the identity resolution request initiated by the client to the first Handle node (which includes Handle identity encoding), task type, sender and other information; the identity resolution task is performed by the first Handle node in the corresponding cache server. Sent when there is authorized node information that can resolve the identity resolution request.

在具体实现步骤S101的过程中,Handle标识数据共享平台接收第一Handle节点发送的标识解析任务,第一Handle节点即为上述提及的接收客户端发送的标识解析请求的Handle标识解析系统(客户端发送标识解析请求后,缓存服务器中不存在可提供对应解析服务的授权节点的信息的Handle标识解析系统)。During the specific implementation of step S101, the Handle identity data sharing platform receives the identity parsing task sent by the first Handle node. The first Handle node is the above-mentioned Handle identity parsing system (client) that receives the identity parsing request sent by the client. After the client sends an identity resolution request, there is no Handle identity resolution system in the cache server that can provide information about the authorized node corresponding to the resolution service).

步骤S102:将标识解析任务在预设的区块链网络中进行广播,以使第二Handle节点获取并执行标识解析任务。Step S102: Broadcast the identity resolution task in the preset blockchain network, so that the second Handle node obtains and executes the identity resolution task.

在具体实现步骤S102的过程中,Handle标识数据共享平台在处理第一Handle节点发送的标识解析任务时,Handle标识数据共享平台将标识解析任务封装为待处理交易,该待处理交易的格式为区块链网络所要求的交易格式;具体来说,Handle标识数据共享平台将标识解析请求等信息封装为待处理交易。During the specific implementation of step S102, when the Handle identification data sharing platform processes the identification parsing task sent by the first Handle node, the Handle identification data sharing platform encapsulates the identification parsing task into a pending transaction, and the format of the pending transaction is district The transaction format required by the blockchain network; specifically, the Handle identity data sharing platform encapsulates information such as identity resolution requests into pending transactions.

Handle标识数据共享平台根据第一Handle节点(相当于请求节点)的公私钥对,对待处理交易进行签名。The Handle identification data sharing platform signs the transaction to be processed based on the public and private key pair of the first Handle node (equivalent to the requesting node).

Handle标识数据共享平台将签名后的待处理交易发送至区块链网络进行广播(Handle标识数据共享平台上链发布任务),以使第二Handle节点(一个或多个)根据智能合约授权范围获取并执行标识解析任务。The Handle Identity Data Sharing Platform sends the signed pending transaction to the blockchain network for broadcast (the Handle Identity Data Sharing Platform publishes the task on the chain), so that the second Handle node (one or more) can obtain it according to the authorization scope of the smart contract. and perform identity resolution tasks.

需要说明的是,区块链网络在收到签名后的待处理交易之后,区块链网络先对该待处理交易进行签名验证以确保该待处理交易是合法的,然后再将该待处理交易打包并广播共识。此外,标识解析任务中还包含了可以指定参与解析的节点的类别(行业或/企业类别)、标识前缀范围等参数,区块链网络在广播待处理交易时,可以根据标识解析任务的任务需求,选择参与解析的节点的类别、标识前缀范围等参数来进行广播,从而限定哪类节点可以参与解析;此时能够解析的Handle节点(也就是第二Handle节点)根据智能合约授权范围获取并执行标识解析任务,将执行结果通过本地的区块链节点上链存证。It should be noted that after the blockchain network receives a signed pending transaction, the blockchain network first performs signature verification on the pending transaction to ensure that the pending transaction is legal, and then verifies the pending transaction. Package and broadcast consensus. In addition, the identity resolution task also includes parameters such as the category (industry or/enterprise category) of nodes participating in the analysis, the identity prefix range, etc. The blockchain network can broadcast pending transactions according to the task requirements of the identity resolution task. , select parameters such as the category of nodes participating in parsing, identification prefix range, etc. to broadcast, thereby limiting which types of nodes can participate in parsing; at this time, the Handle node that can be parsed (that is, the second Handle node) is obtained and executed according to the authorization scope of the smart contract For identification parsing tasks, the execution results are uploaded to the local blockchain node and stored as evidence.

步骤S103:从区块链网络中获取第二Handle节点执行标识解析任务所得到的执行结果。Step S103: Obtain the execution result obtained by the second Handle node from executing the identity parsing task from the blockchain network.

需要说明的是,第二Handle节点根据智能合约授权范围获取并执行标识解析任务后,第二Handle节点将执行结果通过本地的区块链节点上链存证;执行结果至少包含:能够解析标识解析请求的目标授权节点的节点信息。It should be noted that after the second Handle node obtains and executes the identity parsing task according to the authorization scope of the smart contract, the second Handle node will upload the execution result to the local blockchain node and store the certificate; the execution result at least includes: able to parse the identity parsing The node information of the requested target authorization node.

在具体实现步骤S103的过程中,Handle标识数据共享平台从区块链网络中获取各个第二Handle节点执行标识解析任务所得到的执行结果,即Handle标识数据共享平台从区块链网络中获取各个参与执行标识解析任务的节点的执行结果。During the specific implementation of step S103, the Handle identification data sharing platform obtains the execution results obtained by each second Handle node performing the identification parsing task from the blockchain network, that is, the Handle identification data sharing platform obtains each execution result from the blockchain network. The execution results of the nodes participating in the identity resolution task.

步骤S104:将执行结果返回给客户端,使客户端与任意目标授权节点建立连接以解析标识解析请求。Step S104: Return the execution result to the client, allowing the client to establish a connection with any target authorization node to resolve the identity resolution request.

在具体实现步骤S104的过程中,Handle标识数据共享平台从区块链网络中获取各个参与执行标识解析任务的节点的执行结果之后,Handle标识数据共享平台将所有执行结果进行汇总以形成任务解析结果;通过第一Handle节点将该任务解析结果返回给客户端,使客户端与任意目标授权节点建立连接以解析标识解析请求。During the specific implementation of step S104, after the Handle identification data sharing platform obtains the execution results of each node participating in the identification parsing task from the blockchain network, the Handle identification data sharing platform summarizes all execution results to form the task analysis result. ;Return the task parsing result to the client through the first Handle node, allowing the client to establish a connection with any target authorization node to parse the identity parsing request.

具体来说,客户端获取得到任务解析结果后,即可获得能够解析标识解析请求的目标授权节点的节点信息;客户端根据目标授权节点的节点信息,随机选择可访问的目标授权节点来建立连接。Specifically, after the client obtains the task parsing result, it can obtain the node information of the target authorized node that can parse the identity parsing request; the client randomly selects an accessible target authorized node to establish a connection based on the node information of the target authorized node. .

客户端向建立连接的目标授权节点发送标识解析请求,该目标授权节点向客户端返回具体的标识解析结果。The client sends an identity resolution request to the target authorization node that establishes the connection, and the target authorization node returns a specific identity resolution result to the client.

需要说明的是,本方案提供Handle节点的动态加入/退出功能,Handle标识数据共享平台维护一个动态的Handle节点网络,对于每个待加入的节点,需要网络中各个Handle节点对其进行身份验证,通过大多数节点认证后才能加入区块链网络参与数据共享。It should be noted that this solution provides the dynamic join/exit function of Handle nodes. The Handle identification data sharing platform maintains a dynamic Handle node network. For each node to be joined, each Handle node in the network needs to authenticate it. Only after passing the majority of node certifications can you join the blockchain network and participate in data sharing.

一些实施例中,Handle标识数据共享平台在接收到新节点加入区块链网络的请求时,利用已加入区块链网络的Handle节点对该新节点进行身份验证。若该新节点通过预设数量个已加入区块链网络的Handle节点的身份验证(通过大多数节点的验证),将新节点加入区块链网络。若该新节点未通过预设数量个已加入区块链网络的Handle节点的身份验证,输出告警提示信息以提示该新节点身份异常。In some embodiments, when the Handle identification data sharing platform receives a request from a new node to join the blockchain network, it uses the Handle node that has joined the blockchain network to authenticate the new node. If the new node passes the identity verification of a preset number of Handle nodes that have joined the blockchain network (passes the verification of most nodes), the new node will be added to the blockchain network. If the new node fails to pass the identity verification of the preset number of Handle nodes that have joined the blockchain network, an alarm message will be output to indicate that the identity of the new node is abnormal.

在本发明实施例中,当第一Handle节点的缓存服务器中不存在能够解析标识解析请求的授权节点信息时,将标识解析任务在区块链网络中进行广播以使第二Handle节点获取并执行标识解析任务。将执行标识解析任务所得到的执行结果返回给客户端,使客户端与任意目标授权节点建立连接以解析标识解析请求。不需要逐级递归解析标识解析请求就可获取得到授权节点信息,提高解析效率和节约资源。In the embodiment of the present invention, when there is no authorized node information capable of parsing the identity resolution request in the cache server of the first Handle node, the identity resolution task is broadcast in the blockchain network so that the second Handle node can obtain and execute it. Identity parsing task. Return the execution result obtained by executing the identity resolution task to the client, so that the client can establish a connection with any target authorization node to resolve the identity resolution request. The authorized node information can be obtained without recursively parsing the identity parsing request level by level, improving parsing efficiency and saving resources.

为更好解释说明Handle标识数据共享平台与Handle节点之间的交互,通过图2示出的Handle标识数据共享平台与Handle节点的交互示例图进行举例说明。In order to better explain the interaction between the Handle identification data sharing platform and the Handle node, an example diagram of the interaction between the Handle identification data sharing platform and the Handle node shown in Figure 2 will be used to illustrate.

本方案基于Handle行业/区域节点、企业节点构建面向缓存与递归节点的Handle标识数据共享平台,Handle标识数据共享平台基于区块链网络实现Handle标识数据共享、标识解析任务发布、标识解析数据授权、Handle节点从区块链网络上获取任务、Handle节点执行任务、Handle节点将执行结果上链等应用服务。Handle标识数据共享平台采取联盟链作为底层的区块链网络(底层存储网络),每个Handle节点作为区块链网络中的成员节点参与Handle标识数据的解析共享。This solution is based on Handle industry/regional nodes and enterprise nodes to build a Handle identity data sharing platform for cache and recursive nodes. The Handle identity data sharing platform is based on the blockchain network to realize Handle identity data sharing, identity resolution task release, identity resolution data authorization, Handle nodes obtain tasks from the blockchain network, Handle nodes execute tasks, and Handle nodes upload execution results to the chain and other application services. The Handle identification data sharing platform uses the alliance chain as the underlying blockchain network (underlying storage network), and each Handle node participates in the analysis and sharing of Handle identification data as a member node in the blockchain network.

如图2所示,Handle节点对应Handle标识解析系统,该Handle标识解析系统具有标识注册、标识解析、标识查询等功能;Handle标识数据共享平台具有数据授权管理、智能合约管理、解析任务发布、数据共享记录、节点准入机制、共享激励机制等功能。As shown in Figure 2, the Handle node corresponds to the Handle identity parsing system, which has functions such as identity registration, identity parsing, and identity query; the Handle identity data sharing platform has data authorization management, smart contract management, parsing task release, and data sharing. Sharing records, node access mechanism, sharing incentive mechanism and other functions.

Handle节点可以向Handle标识数据共享平台发布任务;Handle节点也可以从Handle标识数据共享平台获取其它Handle节点发布的任务,执行该任务后将执行结果上传至Handle标识数据共享平台;发布任务的Handle节点从Handle标识数据共享平台获取执行结果。其中,Handle节点与Handle标识数据共享平台交互过程中所涉及到的相关数据均上链存证。The Handle node can publish tasks to the Handle identification data sharing platform; the Handle node can also obtain the tasks published by other Handle nodes from the Handle identification data sharing platform, and after executing the task, the execution results will be uploaded to the Handle identification data sharing platform; the Handle node that publishes the task Obtain execution results from the Handle identification data sharing platform. Among them, the relevant data involved in the interaction between the Handle node and the Handle identification data sharing platform are all uploaded to the chain and stored as evidence.

智能合约管理功能可以根据Handle标识体系制定标识共享范围、共享激励规则标准,Handle标识数据共享平台提供智能合约的上传、编译、发布、部署管理等。The smart contract management function can formulate the logo sharing scope and sharing incentive rule standards based on the Handle logo system. The Handle logo data sharing platform provides smart contract uploading, compilation, release, deployment management, etc.

解析任务发布功能可以提供标识解析任务模板制定、任务发布等,将任务通过接口上传到区块链网络进行共识上链;各个参与的Handle节点作为区块链网络的节点同步任务信息并根据智能合约执行任务,将执行结果上传到区块链网络进行存证,从而实现标识数据的共享。其中,标识解析任务可以指定参与解析的节点的类别(行业或/企业类别)、标识前缀范围等参数。The parsing task publishing function can provide identification parsing task template formulation, task publishing, etc., and upload the task to the blockchain network through the interface for consensus on the chain; each participating Handle node acts as a node of the blockchain network to synchronize task information and according to the smart contract Execute the task and upload the execution results to the blockchain network for certificate storage, thereby realizing the sharing of identification data. Among them, the identity parsing task can specify parameters such as the category of nodes participating in the parsing (industry or/enterprise category), the identity prefix range, and other parameters.

第二Handle节点对应的Handle标识解析系统在接收到Handle标识编码(标识解析任务的标识解析请求中包含的)后,查询本地数据并解析该Handle标识编码得到对应的详细信息(也就是执行结果),将执行结果上链共识反馈给任务需求方(第一Handle节点)。Handle标识解析系统主要包括企业、机构等授权节点以及行业节点,各节点在本地部署区块链节点与其它节点进行互联互通。After receiving the Handle identity code (contained in the identity resolution request of the identity resolution task), the Handle identity parsing system corresponding to the second Handle node queries the local data and parses the Handle identity code to obtain the corresponding detailed information (that is, the execution result). , the execution results will be uploaded to the chain consensus and fed back to the task requester (the first Handle node). The Handle identification resolution system mainly includes authorized nodes such as enterprises and institutions, as well as industry nodes. Each node deploys blockchain nodes locally to interconnect with other nodes.

为更好解释说明本方案,从构建区块链网络开始,通过图3示出的一种基于区块链的Handle标识数据共享方法的另一流程图进行举例说明,图3包括以下步骤:In order to better explain this solution, starting from the construction of a blockchain network, another flow chart of a blockchain-based Handle identification data sharing method shown in Figure 3 is given as an example. Figure 3 includes the following steps:

步骤S301:在各个Handle节点部署区块链节点,基于互联网VPN构建面向Handle标识数据共享的区块链网络。Step S301: Deploy blockchain nodes on each Handle node, and build a blockchain network for Handle identification data sharing based on Internet VPN.

步骤S302:利用区块链技术构建基于区块链的Handle标识数据共享平台,提供节点准入、数据共享、追溯等功能。Step S302: Use blockchain technology to build a blockchain-based Handle identification data sharing platform to provide node access, data sharing, traceability and other functions.

步骤S303:客户端向Handle标识解析系统(第一Handle节点)发起标识解析请求;不存在可提供对应解析服务的授权节点的信息时,向Handle标识数据共享平台发送标识解析任务。Step S303: The client initiates an identity resolution request to the Handle identity resolution system (first Handle node); when there is no information about an authorized node that can provide corresponding resolution services, the client sends an identity resolution task to the Handle identity data sharing platform.

步骤S304:Handle标识数据共享平台上链发布标识解析任务,第二Handle节点获取并执行标识解析任务。Step S304: The Handle identification data sharing platform publishes the identification parsing task on the chain, and the second Handle node obtains and executes the identification parsing task.

步骤S305:Handle标识数据共享平台从区块链网络中获取各个参与执行标识解析任务的节点的执行结果,并将执行结果返回给客户端。Step S305: The Handle identity data sharing platform obtains the execution results of each node participating in the identity resolution task from the blockchain network, and returns the execution results to the client.

步骤S301至步骤S305的执行原理,可参见上述本发明实施例图1中的内容,在此不再赘述。For the execution principle of step S301 to step S305, please refer to the content in FIG. 1 of the above embodiment of the present invention, and will not be described again here.

与上述本发明实施例提供的一种基于区块链的Handle标识数据共享方法相对应,参见图4,本发明实施例还提供了一种基于区块链的Handle标识数据共享平台的结构框图,该Handle标识数据共享平台包括:接收单元401、广播单元402、获取单元403、反馈单元404;Corresponding to the above-mentioned blockchain-based Handle identification data sharing method provided by the embodiment of the present invention, referring to Figure 4, the embodiment of the present invention also provides a structural block diagram of a blockchain-based Handle identification data sharing platform. The Handle identification data sharing platform includes: receiving unit 401, broadcast unit 402, obtaining unit 403, and feedback unit 404;

接收单元401,用于接收第一Handle节点发送的标识解析任务,标识解析任务至少包含客户端向第一Handle节点发起的标识解析请求,标识解析任务由第一Handle节点在相应的缓存服务器中不存在能够解析标识解析请求的授权节点信息时发送。The receiving unit 401 is configured to receive an identity parsing task sent by the first Handle node. The identity parsing task at least includes an identity parsing request initiated by the client to the first Handle node. The identity parsing task is performed by the first Handle node in the corresponding cache server. Sent when there is authorized node information that can resolve the identity resolution request.

广播单元402,用于将标识解析任务在预设的区块链网络中进行广播,以使第二Handle节点获取并执行标识解析任务。The broadcast unit 402 is used to broadcast the identity parsing task in the preset blockchain network, so that the second Handle node obtains and executes the identity parsing task.

获取单元403,用于从区块链网络中获取第二Handle节点执行标识解析任务所得到的执行结果,执行结果至少包含:能够解析标识解析请求的目标授权节点的节点信息。The acquisition unit 403 is used to obtain the execution result obtained by the second Handle node from executing the identity resolution task from the blockchain network. The execution result at least includes: node information that can parse the target authorization node of the identity resolution request.

反馈单元404,用于将执行结果返回给客户端,使客户端与任意目标授权节点建立连接以解析标识解析请求。The feedback unit 404 is used to return the execution result to the client, so that the client can establish a connection with any target authorization node to resolve the identity resolution request.

具体实现中,该反馈单元404具体用于:将执行结果进行汇总以形成任务解析结果;通过第一Handle节点将任务解析结果返回给客户端,使客户端与任意目标授权节点建立连接以解析标识解析请求。In specific implementation, the feedback unit 404 is specifically used to: summarize execution results to form task analysis results; return the task analysis results to the client through the first Handle node, so that the client can establish a connection with any target authorization node to resolve the identity. Parse the request.

在本发明实施例中,当第一Handle节点的缓存服务器中不存在能够解析标识解析请求的授权节点信息时,将标识解析任务在区块链网络中进行广播以使第二Handle节点获取并执行标识解析任务。将执行标识解析任务所得到的执行结果返回给客户端,使客户端与任意目标授权节点建立连接以解析标识解析请求。不需要逐级递归解析标识解析请求就可获取得到授权节点信息,提高解析效率和节约资源。In the embodiment of the present invention, when there is no authorized node information capable of parsing the identity resolution request in the cache server of the first Handle node, the identity resolution task is broadcast in the blockchain network so that the second Handle node can obtain and execute it. Identity parsing task. Return the execution result obtained by executing the identity resolution task to the client, so that the client can establish a connection with any target authorization node to resolve the identity resolution request. The authorized node information can be obtained without recursively parsing the identity parsing request level by level, improving parsing efficiency and saving resources.

优选的,结合图4示出的内容,该广播单元402包括封装模块、签名模块、广播模块;各个模块的执行原理如下:Preferably, combined with the content shown in Figure 4, the broadcast unit 402 includes an encapsulation module, a signature module, and a broadcast module; the execution principles of each module are as follows:

封装模块,用于将标识解析任务封装为待处理交易,待处理交易的格式为预设的区块链网络所要求的交易格式。The encapsulation module is used to encapsulate the identity parsing task into a transaction to be processed, and the format of the transaction to be processed is the transaction format required by the preset blockchain network.

签名模块,用于根据第一Handle节点的公私钥对,对待处理交易进行签名;The signature module is used to sign the transaction to be processed based on the public and private key pair of the first Handle node;

广播模块,用于将签名后的待处理交易发送至区块链网络进行广播,以使第二Handle节点根据智能合约授权范围获取并执行标识解析任务。The broadcast module is used to send signed pending transactions to the blockchain network for broadcast, so that the second Handle node obtains and performs the identity resolution task according to the smart contract authorization scope.

优选的,结合图4示出的内容,该Handle标识数据共享平台还包括:Preferably, combined with the content shown in Figure 4, the Handle identification data sharing platform also includes:

验证单元,用于在接收到新节点加入区块链网络的请求时,利用已加入区块链网络的Handle节点对新节点进行身份验证;若新节点通过预设数量个已加入区块链网络的Handle节点的身份验证,将新节点加入所述区块链网络。The verification unit is used to verify the identity of the new node using the Handle nodes that have joined the blockchain network when receiving a request from a new node to join the blockchain network; if the new node has joined the blockchain network through a preset number Authentication of the Handle node to join the new node to the blockchain network.

该验证单元还用于:若新节点未通过预设数量个已加入区块链网络的Handle节点的身份验证,输出告警提示信息。The verification unit is also used to output an alarm message if the new node fails to pass the identity verification of the preset number of Handle nodes that have joined the blockchain network.

优选的,本发明实施例还提供了一种基于区块链的Handle标识数据共享系统,该Handle标识数据共享系统包含:上述实施例提供的Handle标识数据共享平台和Handle标识解析系统。Preferably, the embodiment of the present invention also provides a blockchain-based Handle identification data sharing system. The Handle identification data sharing system includes: the Handle identification data sharing platform and the Handle identification analysis system provided in the above embodiments.

综上所述,本发明实施例提供一种基于区块链的Handle标识数据共享方法及平台,当第一Handle节点的缓存服务器中不存在能够解析标识解析请求的授权节点信息时,将标识解析任务在区块链网络中进行广播以使第二Handle节点获取并执行标识解析任务。将执行标识解析任务所得到的执行结果返回给客户端,使客户端与任意目标授权节点建立连接以解析标识解析请求。不需要逐级递归解析标识解析请求就可获取得到授权节点信息,提高解析效率和节约资源。To sum up, embodiments of the present invention provide a blockchain-based Handle identification data sharing method and platform. When the cache server of the first Handle node does not have authorized node information that can parse the identification resolution request, the identification will be parsed. The task is broadcast in the blockchain network so that the second Handle node obtains and performs the identity resolution task. Return the execution result obtained by executing the identity resolution task to the client, so that the client can establish a connection with any target authorization node to resolve the identity resolution request. The authorized node information can be obtained without recursively parsing the identity parsing request level by level, improving parsing efficiency and saving resources.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的系统及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。Each embodiment in this specification is described in a progressive manner. The same and similar parts between the various embodiments can be referred to each other. Each embodiment focuses on its differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For relevant details, please refer to the partial description of the method embodiment. The system and system embodiments described above are only illustrative, in which the units described 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, It can be located in one place, or it can be distributed over multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Persons of ordinary skill in the art can understand and implement the method without any creative effort.

专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those skilled in the art may further realize that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both. In order to clearly illustrate the possible functions of hardware and software, Interchangeability, in the above description, the composition and steps of each example have been generally described according to functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered to be beyond the scope of the present invention.

对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above description of the disclosed embodiments enables those skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be practiced in other embodiments without departing from the scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for sharing Handle identification data based on a blockchain, the method comprising:
receiving an identification analysis task sent by a first Handle node, wherein the identification analysis task at least comprises an identification analysis request initiated by a client to the first Handle node, and the identification analysis task is sent by the first Handle node when no authorization node information capable of analyzing the identification analysis request exists in a corresponding cache server;
broadcasting the identification analysis task in a preset blockchain network so that a second Handle node obtains and executes the identification analysis task;
obtaining an execution result obtained by the second Handle node executing the identification analysis task from the blockchain network, wherein the execution result at least comprises: node information of the target authorized node of the identification analysis request can be analyzed;
and returning the execution result to the client, and enabling the client to establish connection with any target authorization node so as to analyze the identification analysis request.
2. The method of claim 1, wherein broadcasting the identification resolution task in a preset blockchain network to enable a second Handle node to acquire and execute the identification resolution task comprises:
packaging the identification analysis task into a transaction to be processed, wherein the format of the transaction to be processed is a transaction format required by a preset blockchain network;
signing the transaction to be processed according to the public-private key pair of the first Handle node;
and sending the signed transaction to be processed to the blockchain network for broadcasting, so that the second Handle node obtains and executes the identification analysis task according to the intelligent contract authorization range.
3. The method according to claim 1, wherein the method further comprises:
when a request of joining a new node into the blockchain network is received, performing identity verification on the new node by using a Handle node which is already joined into the blockchain network;
and if the new node passes the identity verification of a preset number of Handle nodes which are added into the blockchain network, adding the new node into the blockchain network.
4. The method of claim 1, wherein returning the execution result to the client, causing the client to establish a connection with any of the target authorized nodes to resolve the identity resolution request, comprises:
summarizing the execution results to form task analysis results;
and returning the task analysis result to the client through the first Handle node, so that the client and any target authorization node are connected to analyze the identification analysis request.
5. A method according to claim 3, characterized in that the method further comprises:
and if the new node fails to pass the authentication of the preset number of Handle nodes which are added into the blockchain network, outputting alarm prompt information.
6. The utility model provides a Handle identification data sharing platform based on blockchain, its characterized in that, handle identification data sharing platform includes:
the receiving unit is used for receiving an identification analysis task sent by a first Handle node, wherein the identification analysis task at least comprises an identification analysis request initiated by a client to the first Handle node, and the identification analysis task is sent by the first Handle node when no authorization node information capable of analyzing the identification analysis request exists in a corresponding cache server;
the broadcasting unit is used for broadcasting the identification analysis task in a preset block chain network so that the second Handle node can acquire and execute the identification analysis task;
the obtaining unit is configured to obtain an execution result obtained by the second Handle node executing the identifier parsing task from the blockchain network, where the execution result at least includes: node information of the target authorized node of the identification analysis request can be analyzed;
and the feedback unit is used for returning the execution result to the client so that the client can be connected with any target authorization node to analyze the identification analysis request.
7. The Handle identification data sharing platform of claim 6, wherein the broadcasting unit comprises:
the packaging module is used for packaging the identification analysis task into a transaction to be processed, wherein the format of the transaction to be processed is a transaction format required by a preset blockchain network;
the signature module is used for signing the transaction to be processed according to the public and private key pair of the first Handle node;
and the broadcasting module is used for sending the signed transaction to be processed to the blockchain network for broadcasting, so that the second Handle node obtains and executes the identification analysis task according to the intelligent contract authorization range.
8. The Handle identification data sharing platform of claim 6, further comprising:
the verification unit is used for carrying out identity verification on the new node by utilizing the Handle node which is added into the blockchain network when receiving a request of the new node for adding into the blockchain network; and if the new node passes the identity verification of a preset number of Handle nodes which are added into the blockchain network, adding the new node into the blockchain network.
9. The Handle identification data sharing platform according to claim 6, wherein the feedback unit is specifically configured to: summarizing the execution results to form task analysis results; and returning the task analysis result to the client through the first Handle node, so that the client and any target authorization node are connected to analyze the identification analysis request.
10. The Handle identification data sharing platform of claim 8, wherein the verification unit is further configured to: and if the new node fails to pass the authentication of the preset number of Handle nodes which are added into the blockchain network, outputting alarm prompt information.
CN202311111088.XA 2023-08-31 2023-08-31 A blockchain-based Handle identification data sharing method and platform Active CN116846908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311111088.XA CN116846908B (en) 2023-08-31 2023-08-31 A blockchain-based Handle identification data sharing method and platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311111088.XA CN116846908B (en) 2023-08-31 2023-08-31 A blockchain-based Handle identification data sharing method and platform

Publications (2)

Publication Number Publication Date
CN116846908A CN116846908A (en) 2023-10-03
CN116846908B true CN116846908B (en) 2023-10-27

Family

ID=88172914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311111088.XA Active CN116846908B (en) 2023-08-31 2023-08-31 A blockchain-based Handle identification data sharing method and platform

Country Status (1)

Country Link
CN (1) CN116846908B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491855A (en) * 2020-11-19 2021-03-12 中国联合网络通信集团有限公司 Method and device for determining handle identifier analysis state
WO2021135538A1 (en) * 2019-12-31 2021-07-08 网络通信与安全紫金山实验室 Intelligent routing method oriented to handle identification analysis
US11558344B1 (en) * 2020-09-28 2023-01-17 Unstoppable Domains Inc. Resolving blockchain domains
CN115658913A (en) * 2022-10-17 2023-01-31 桂林电子科技大学 Electric power equipment information map construction method based on Handle identification analysis
CN116132071A (en) * 2023-04-13 2023-05-16 中国信息通信研究院 Identity authentication method and device for identification analysis node based on blockchain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021135538A1 (en) * 2019-12-31 2021-07-08 网络通信与安全紫金山实验室 Intelligent routing method oriented to handle identification analysis
US11558344B1 (en) * 2020-09-28 2023-01-17 Unstoppable Domains Inc. Resolving blockchain domains
CN112491855A (en) * 2020-11-19 2021-03-12 中国联合网络通信集团有限公司 Method and device for determining handle identifier analysis state
CN115658913A (en) * 2022-10-17 2023-01-31 桂林电子科技大学 Electric power equipment information map construction method based on Handle identification analysis
CN116132071A (en) * 2023-04-13 2023-05-16 中国信息通信研究院 Identity authentication method and device for identification analysis node based on blockchain

Also Published As

Publication number Publication date
CN116846908A (en) 2023-10-03

Similar Documents

Publication Publication Date Title
CN109472572B (en) Contract system based on block chain main chain and parallel multiple sub-chains
CN108694330B (en) IoT data management method, platform and device
CN113014676B (en) System and method for storing data of Internet of things into blockchain based on SIM card
CN104702714B (en) DNS security querying method and device
CN109493052B (en) Cross-chain contract system based on main chain and parallel multiple sub-chains
CN110599095A (en) Dangerous waste treatment method based on block chain network and node of block chain network
WO2023005500A1 (en) Cross-chain transaction processing method and apparatus, electronic device, and storage medium
CN110910110B (en) Data processing method and device and computer storage medium
US20230325833A1 (en) Blockchain-based data processing method and apparatus, device, storage medium, and program product
US20240223390A1 (en) Blockchain system
CN116991936A (en) Block chain-based rights and interests credential management method, apparatus, electronic device and medium
CN111241188B (en) Consensus method, node and storage medium in block chain network
CN116846908B (en) A blockchain-based Handle identification data sharing method and platform
CN111866993B (en) Wireless local area network connection management method, device, software program and storage medium
WO2024146285A1 (en) Blockchain-based data processing method, device, and readable storage medium
EP1981242A2 (en) Method and system for securing a commercial grid network
CN114092093B (en) Block chain transaction processing method and device, electronic equipment and readable medium
JP2003303174A (en) Terminal authentication method and device
CN115276998A (en) IoT authentication method, device and IoT device
CN112242901A (en) Service verification method, device, device and computer storage medium
CN113973236B (en) Anti-hotlinking method and device for video service, computing equipment and storage medium
CN118410469B (en) Application verification method and device
CN113821813B (en) Method for performing cross-department efficient collaboration based on point-to-point network
CN113301117B (en) Node joining consensus and quitting consensus method, device and computer equipment
CN116846958A (en) Data processing method, device, computer equipment and medium of block chain network

Legal Events

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