Distributed identifier analysis system and management method and device thereof
By storing on distributed storage devices and on the blockchain, combined with the audit mechanism of voting node collections, the security and reliability problems of DID resolution drivers in the existing technology are solved, and a distributed identification resolution system is realized A unified analysis of security, fairness and reliability.
Patent Information
- Application Number
- CN202411975297.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-02-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing distributed identification resolution system adopts a centralized management method, and there are problems such as malicious modification or deletion of DID resolution methods and data loss, making it difficult to achieve unified analysis of heterogeneous DID methods.
By storing the target distributed identity resolution driver on a distributed storage device and providing it to a collection of voting nodes for voting review, the target block is generated and on the blockchain, ensuring the security and reliability of the DID resolution driver.
Using blockchain's data immutability and distributed storage technology reduces the risk of DID resolution drivers being maliciously modified, deleted and lost, and improves the fairness and credibility of analysis drivers through voting review.
Smart Images

Figure CN119420763A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to identity resolution technology and blockchain technology, and in particular to a distributed identity resolution system and a management method and device thereof. Background Art
[0002] The World Wide Web Consortium (W3C) has proposed a specification framework for distributed identifiers (DIDs), based on which different heterogeneous DID methods can be implemented. Since the resolution result fields of different DID methods vary greatly, it is difficult to achieve unified resolution of heterogeneous DIDs.
[0003] Related technologies propose a distributed identification universal resolver that integrates different DID resolution drivers to achieve unified resolution of heterogeneous DID methods. However, the universal resolver technical solution adopts a centralized management method, and there is a possibility that the DID resolution method may be maliciously modified or deleted, and there may be data loss. Summary of the invention
[0004] The embodiments of the present disclosure provide a distributed identity resolution system and a management method and device thereof to solve the above-mentioned problems.
[0005] A first aspect of an embodiment of the present disclosure provides a management method for a distributed identity resolution system, including: In response to receiving a target distributed identity resolution driver, storing the target distributed identity resolution driver through a distributed storage device, and providing the target distributed identity resolution driver to a voting node set, wherein the voting node set includes a plurality of voting nodes; Voting and reviewing the target distributed identity resolution driver through the voting node set to obtain a first voting result; In response to the first voting result indicating that the target distributed identity resolution driver has passed the review of the voting node set, a target block including the target distributed identity resolution driver is generated, and the target block is chained on the blockchain.
[0006] In some embodiments of the present disclosure, after the target distributed identity resolution driver is generated in response to the first voting result indicating that the target distributed identity resolution driver has passed the review of the voting node set, and the target block is uploaded to the blockchain, the method further includes: In response to receiving a download request from a user terminal for the target distributed identity resolution driver, providing the user terminal with a download resource of the target distributed identity resolution driver, wherein the user terminal generates the download request after detecting the target block.
[0007] In some embodiments of the present disclosure, providing the target distributed identity resolution driver to a set of voting nodes includes: Obtain an index hash of the target distributed identity resolution driver on the distributed storage device; A voting request is generated based on the index hash, and the voting request is sent to each voting node in the voting node set, so that each voting node obtains the target distributed identity resolution driver through the index hash.
[0008] In some embodiments of the present disclosure, after the voting and reviewing of the target distributed identity resolution driver by the voting node set to obtain a first voting result, the following further includes: The first voting result is stored in the blockchain.
[0009] In some embodiments of the present disclosure, before the step of storing the target distributed identity resolution driver in a distributed storage device in response to receiving the target distributed identity resolution driver and providing the target distributed identity resolution driver to a set of voting nodes, the step further includes: Obtaining a designated block from the blockchain, wherein the designated block includes node information of multiple candidate voting nodes; Voting on the designated block through the multiple candidate voting nodes to obtain a second voting result; In response to the second voting result indicating that the multiple candidate voting nodes reach a consensus on the designated block, the voting node set is generated based on the multiple candidate voting nodes.
[0010] In some embodiments of the present disclosure, it further includes: In response to receiving a node joining request for the voting node set, voting on a target node through the voting node set to obtain a third voting result, wherein the node joining request includes requesting the target node to join the voting node set; In response to the third voting result indicating approval for the target node to join the voting node set, the target node is added to the voting node set.
[0011] A second aspect of an embodiment of the present disclosure provides a management device for a distributed identity resolution system, including: a storage processing module, configured to, in response to receiving a target distributed identity resolution driver, store the target distributed identity resolution driver through a distributed storage device, and provide the target distributed identity resolution driver to a voting node set, wherein the voting node set includes a plurality of voting nodes; A voting processing module, used to perform voting review on the target distributed identity resolution driver through the voting node set to obtain a first voting result; The on-chain processing module is used to generate a target block including the target distributed identifier resolution driver in response to the first voting result indicating that the target distributed identifier resolution driver has passed the review of the voting node set, and to chain the target block on the blockchain.
[0012] In some embodiments of the present disclosure, the device further includes: The download processing module is used to provide the download resource of the target distributed identifier resolution driver to the user terminal in response to receiving a download request from the user terminal for the target distributed identifier resolution driver, wherein the user terminal generates the download request after detecting the target block.
[0013] In some embodiments of the present disclosure, the storage processing module is used to obtain an index hash of the target distributed identity resolution driver on the distributed storage device; The storage processing module is further used to generate a voting request based on the index hash, and send the voting request to each voting node in the voting node set, so that each voting node obtains the target distributed identity resolution driver through the index hash.
[0014] In some embodiments of the present disclosure, the storage processing module is further used to store the first voting result in the blockchain.
[0015] In some embodiments of the present disclosure, the device further includes: A block acquisition module, used to acquire a specified block from the blockchain, wherein the specified block includes node information of multiple candidate voting nodes; A voting node set generation module, configured to generate the voting node set based on the plurality of candidate voting nodes in response to a second voting result indicating that the plurality of candidate voting nodes reach a consensus on the designated block; The voting processing module is further configured to vote on the designated block through the multiple candidate voting nodes to obtain the second voting result.
[0016] In some embodiments of the present disclosure, the device further includes: A voting node adding module, configured to add the target node to the voting node set in response to the third voting result indicating approval for the target node to join the voting node set; Among them, the voting processing module is also used to respond to receiving a node joining request for the voting node set, vote on the target node through the voting node set to obtain the third voting result, wherein the node joining request includes a request to join the target node of the voting node set.
[0017] A third aspect of the embodiments of the present disclosure provides a distributed identity resolution system, including: Blockchain, used to store distributed identity resolution drivers; The apparatus of the second aspect is used to execute the method of the first aspect.
[0018] The distributed identity resolution system and its management method and device in the disclosed embodiments, due to the data tamper-resistant characteristics of blockchain, and distributed storage technology can effectively reduce the risk of data being maliciously modified or deleted. Therefore, the distributed storage technology and blockchain are used to store DID resolution drivers, which can reduce the risk of DID resolution drivers being maliciously modified, deleted and lost, and the fairness of the review can be improved by voting on the distributed identity resolution drivers.
[0019] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0021] The present disclosure may be more clearly understood from the following detailed description with reference to the accompanying drawings, in which: Figure 1 A schematic diagram of a process flow of a method for managing a distributed identity resolution system in an embodiment of the present disclosure; Figure 2 is a partial flow chart of step S1 in some embodiments of the present disclosure; Figure 3 is a flowchart of step S0 in some embodiments of the present disclosure; Figure 4 It is a partial flow chart of a method for managing a distributed identity resolution system in some embodiments of the present disclosure; Figure 5 is a working principle diagram of a management method of a distributed identity resolution system in an example of the present disclosure; Figure 6 This is a structural block diagram of a management device of a distributed identity resolution system in one embodiment of the present disclosure; Figure 7 This is a structural block diagram of a management device of a distributed identity resolution system in another embodiment of the present disclosure; Figure 8 The structure block diagram of an electronic device in one embodiment of the present disclosure is shown in FIG. DETAILED DESCRIPTION
[0022] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.
[0023] Those skilled in the art can understand that the terms "first" and "second" in the embodiments of the present disclosure are only used to distinguish different steps, devices or modules, etc., and neither represent any specific technical meaning nor indicate the necessary logical order between them.
[0024] It should also be understood that in the embodiments of the present disclosure, “plurality” may refer to two or more than two, and “at least one” may refer to one, two, or more than two.
[0025] It should also be understood that any component, data or structure mentioned in the embodiments of the present disclosure can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.
[0026] In addition, the term "and / or" in the present disclosure is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present disclosure generally indicates that the associated objects before and after are in an "or" relationship.
[0027] It should also be understood that the description of the various embodiments in the present disclosure focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.
[0028] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0029] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0030] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0031] The embodiments of the present disclosure can be applied to electronic devices such as terminal devices, computer systems, servers, etc., which can operate with many other general or special computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments and / or configurations suitable for use with electronic devices such as terminal devices, computer systems, servers, etc. include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, large computer systems, and distributed cloud computing technology environments including any of the above systems, etc.
[0032] Electronic devices such as terminal devices, computer systems, servers, etc. can be described in the general context of computer system executable instructions (such as program modules) executed by computer systems. Generally, program modules can include routines, programs, object programs, components, logic, data structures, etc., which perform specific tasks or implement specific abstract data types. Computer systems / servers can be implemented in distributed cloud computing environments, where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules can be located on local or remote computing system storage media including storage devices.
[0033] Figure 1 FIG. 1 is a flow chart of a method for managing a distributed identity resolution system in an embodiment of the present disclosure. Figure 1 As shown, the management method of the distributed identity resolution system includes: S1: In response to receiving a target distributed identity resolution driver, storing the target distributed identity resolution driver through a distributed storage device, and providing the target distributed identity resolution driver to a set of voting nodes.
[0034] The provider of blockchain DID resolution driver can send an application request including the target distributed identity resolution driver to the smart contract of the blockchain system. After receiving the application request, the smart contract extracts the target distributed identity resolution driver from the application request, stores it in the distributed storage device, and can notify each voting node in the voting node set.
[0035] In the disclosed embodiment, the smart contract can automatically perform and execute the contract terms without the need for centralized management. The smart contract can be automatically executed, supervised and enforced to achieve automated control and supervision of transactions. Specifically, when the smart contract receives an application request from the target distributed identity resolution driver, the distributed identity resolution driver is automatically stored in the distributed storage device, and each voting node in the voting node set is notified.
[0036] The voting node set includes multiple voting nodes, and the multiple voting nodes can be nodes in the blockchain network, that is, some nodes can be selected from the blockchain as voting nodes, so as to review the newly added DID resolution driver by voting, so as to decide whether to allow the newly added DID resolution driver to be on the chain.
[0037] S2: The target distributed identity resolution driver is voted and reviewed through the voting node set to obtain the first voting result.
[0038] Each voting node in the voting node set can vote and review the target distributed identity resolution driver.
[0039] In some examples of the present disclosure, the voting review method is that each voting node casts an affirmative vote on the target distributed identity resolution driver to indicate its agreement to the target distributed identity resolution driver being on-chain. Each voting node has one vote. The smart contract can count the number of affirmative votes received during the voting period to obtain a first voting result. The first voting result includes at least the number of affirmative votes, and may also include the node information (such as node identification) of all voting nodes that voted in favor, and the node information of all voting nodes that did not vote.
[0040] In some other examples of the present disclosure, the voting review method is that each voting node can vote for, against, and abstain from voting on the target distributed identity resolution driver. Among them, each voting node has one vote, that is, each node can vote for, against, or abstain from voting (no vote by the expiration date is deemed to be an abstention). The smart contract can count the votes received from each voting node during the voting period to obtain the first voting result. If a voting node does not vote within the preset voting period, it is deemed that the voting node has abstained from voting. Among them, the first voting result includes at least the number of votes in favor, the number of votes against, and the number of abstentions, and can also include the node information of the voting nodes that voted in favor, against, abstain from voting, and voted.
[0041] S3: In response to the first voting result indicating that the target distributed identity resolution driver has passed the review of the voting node set, a target block including the target distributed identity resolution driver is generated, and the target block is chained on the blockchain.
[0042] According to the preset voting review pass condition, it is determined whether the target distributed identity resolution driver has passed the review of the voting node set according to the first voting result. Exemplarily, the voting review pass condition is that the ratio between the number of affirmative votes received during the voting period and the total number of voting nodes in the voting node set is greater than a preset ratio (e.g., 2 / 3), that is, during the voting period, a preset ratio (e.g., 2 / 3) of nodes agree to the target distributed identity resolution driver being put on the chain, then a target block including the target distributed identity resolution driver will be generated, and the target block will be put on the blockchain.
[0043] In this embodiment, due to the data tamper-resistant nature of the blockchain, and the fact that distributed storage technology can effectively reduce the risk of data being maliciously modified or deleted, the use of distributed storage technology and blockchain to store DID resolution drivers can reduce the risk of DID resolution drivers being maliciously modified, deleted, and lost, and the fairness of the review can be improved by voting on the distributed identity resolution driver.
[0044] In some embodiments of the present disclosure, after step S3, the following steps may also be included: S4: In response to receiving a download request from a user terminal for a target distributed identity resolution driver, providing the user terminal with download resources of the target distributed identity resolution driver, wherein the user terminal generates a download request after detecting the target block.
[0045] After the user terminal of the distributed identity resolution system logs in to the application of the distributed identity resolution system (hereinafter referred to as the identity resolution application), or after the user terminal of the blockchain logs in to the application provided by the blockchain system for DID resolution (hereinafter referred to as the blockchain application), when it is detected that the target block newly added to the blockchain carries the target DID resolution driver, a download request for the target DID resolution driver can be sent to the blockchain. The identity resolution application or blockchain application can provide the user terminal with the download resource of the target DID resolution driver so that the user terminal can download the target DID resolution driver, and then resolve the DID corresponding to the target DID resolution driver.
[0046] In this embodiment, when the user terminal detects that a target block with a target DID resolution driver is newly added to the blockchain, the target DID resolution driver can be downloaded through the target block so that the DID corresponding to the target DID resolution driver can be resolved.
[0047] Figure 2 is a partial flow chart of step S1 in some embodiments of the present disclosure. Figure 2 As shown, step S1 may include the following steps: S1-1: Obtain the index hash of the target distributed identity resolution driver on the distributed storage device.
[0048] Among them, the distributed storage device can generate an index hash for each storage information, thereby reducing the storage capacity.
[0049] After the target distributed identity resolution driver is stored in the distributed storage device, the distributed storage device generates an index hash of the target distributed identity resolution driver on the distributed storage device so that the storage address of the target distributed identity resolution driver on the distributed storage device can be quickly and accurately located through the index hash.
[0050] S1-2: Generate a voting request based on the index hash, and send the voting request to each voting node in the voting node set, so that each voting node obtains the target distributed identity resolution driver through the index hash.
[0051] The smart contract can generate a voting request including the index hash of the target distributed identity resolution driver on the distributed storage device, and send the voting request to each voting node in the voting node set.
[0052] After receiving the voting request, each voting node in the voting node set obtains the storage address of the target distributed identity resolution driver on the distributed storage device according to the index hash, and then can read the target distributed identity resolution driver from the storage address, and then can vote on the target distributed identity resolution driver to decide whether the target distributed identity resolution driver can be allowed to be on the blockchain.
[0053] In this embodiment, the distributed storage device can generate an index hash of the target distributed identity resolution driver by hash storage, thereby reducing storage capacity. A voting request for the target distributed identity resolution driver is generated according to the index hash, so that each voting node in the voting node set obtains the target distributed identity resolution driver through the index hash and votes.
[0054] In some embodiments of the present disclosure, after step S2, the following steps may also be included: storing the first voting result in the blockchain.
[0055] The smart contract can generate a block including the first voting result based on the first voting result, and chain the block on the blockchain so that blockchain users or users of the identity resolution system can obtain the first voting result through the blockchain.
[0056] In this embodiment, by storing the first voting result corresponding to the target distributed identity resolution driver in the blockchain, the blockchain user or the user of the identity resolution system can understand the first voting result, realize the public review result of the distributed identity resolution driver, and help promote the open and fair review of the distributed identity resolution driver.
[0057] In some embodiments of the present disclosure, before step S1, the following steps may also be included: S0: Generate a set of voting nodes through voting consensus.
[0058] Figure 3 FIG. 1 is a flow chart of step S0 in some embodiments of the present disclosure. Figure 3 As shown, step S0 may include the following steps: S0-1: Get the specified block from the blockchain.
[0059] The designated block includes node information of multiple candidate voting nodes, such as node identification and credit information of multiple candidate voting nodes. The credit information of each candidate voting node can identify the credibility of the behavior of the corresponding candidate node on the blockchain (such as generating a valid block).
[0060] The specified block can be generated on the blockchain through a smart contract.
[0061] S0-2: Voting on the designated block through multiple candidate voting nodes to obtain the second voting result.
[0062] The designated block can be voted on by multiple candidate nodes in the designated block, that is, whether multiple candidate nodes in the designated block can generate voting nodes can be voted on to obtain a second voting result. The second voting result at least includes: which candidate nodes among the multiple candidate nodes are agreed to become voting nodes.
[0063] S0-3: In response to the second voting result indicating that the plurality of candidate voting nodes reach a consensus on the designated block, a voting node set is generated based on the plurality of candidate voting nodes.
[0064] According to the preset consensus protocol, it is determined whether the multiple candidate voting nodes have reached a consensus on the specified block according to the second voting result. If it is determined that the multiple candidate voting nodes have reached a consensus on the specified block, it is possible to obtain which candidate nodes of the multiple candidate voting nodes become voting nodes according to the consensus information, and all the voting nodes form a voting node set.
[0065] In this embodiment, the voting method determines the voting nodes in the voting node set from the candidate voting nodes, which helps to improve the fairness of the voting node set in the audit of the distributed identity resolution driver.
[0066] Figure 4 FIG. 1 is a partial flow chart of a method for managing a distributed identity resolution system in some embodiments of the present disclosure. Figure 4 As shown, the management method of the distributed identity resolution system may further include the following steps: S5: In response to receiving a node joining request for the voting node set, voting is performed on the target node through the voting node set to obtain a third voting result.
[0067] When a target node wants to join the voting node set, it can send a node joining request to each voting node in the voting node set through a smart contract. The node joining request includes the target node that requests to join the voting node set, and the target node may include a new node in the blockchain that wants to join the voting node set.
[0068] The smart contract can initiate a vote to each voting node in the voting node set on whether to allow the target node to join the voting node set, and obtain the voting results of each voting node in the voting node set for the vote, that is, the third voting result.
[0069] S6: In response to the third voting result indicating approval for the target node to join the voting node set, the target node is added to the voting node set.
[0070] If the third voting result indicates that the target node is approved to join the voting node set, for example, more than a preset proportion (eg, 2 / 3) of the voting nodes vote in favor, the target node is added to the voting node set.
[0071] In this embodiment, through voting consensus, it can be fairly determined whether the target node can join the voting node set, which helps to improve the voting node set's fair review of the DID resolution driver.
[0072] Figure 5 FIG. 1 is a working principle diagram of a management method of a distributed identity resolution system in an example of the present disclosure. Figure 5 As shown, the DID resolution driver provider sends an application request including a target distributed identity resolution driver to the smart contract through the contract interface provided by the smart contract of the blockchain. After receiving the application request, the smart contract stores the target distributed identity resolution driver in the distributed storage device through the distributed storage device interface, and can obtain the hash index of the target distributed identity resolution driver in the distributed storage device. The smart contract sends a voting request carrying the hash index to each voting node in the voting node set through the voting interface. Each voting node in the voting node set can obtain the target distributed identity resolution driver from the distributed storage system according to the hash index and vote to obtain the first voting result. If the first voting result indicates that the target distributed identity resolution driver passes the voting review of the voting node set, the target distributed identity resolution driver is chained on the blockchain. Afterwards, when the user terminal detects that the target distributed identity resolution driver is chained on the blockchain, it downloads the target distributed identity resolution driver from the block storing the target distributed identity resolution driver so as to resolve the DID corresponding to the target DID resolution driver.
[0073] Figure 6 FIG. 1 is a structural block diagram of a management device of a distributed identity resolution system in one embodiment of the present disclosure. Figure 6 As shown, the management device of the distributed identity resolution system includes: The storage processing module 100 is used for storing the target distributed identity resolution driver through a distributed storage device in response to receiving the target distributed identity resolution driver, and providing the target distributed identity resolution driver to a voting node set, wherein the voting node set includes a plurality of voting nodes; The voting processing module 200 is used to perform voting review on the target distributed identity resolution driver through the voting node set to obtain a first voting result; The on-chain processing module 300 is used to generate a target block including the target distributed identifier resolution driver in response to the first voting result indicating that the target distributed identifier resolution driver has passed the review of the voting node set, and to chain the target block on the blockchain.
[0074] Figure 7 FIG. 1 is a structural block diagram of a management device of a distributed identity resolution system in another embodiment of the present disclosure. Figure 7 As shown, the management device of the distributed identity resolution system also includes: The download processing module 400 is used to provide the download resource of the target distributed identity resolution driver to the user terminal in response to receiving a download request from the user terminal for the target distributed identity resolution driver, wherein the user terminal generates a download request after detecting the target block.
[0075] In some embodiments of the present disclosure, the storage processing module 100 is used to obtain an index hash of a target distributed identity resolution driver on a distributed storage device; The storage processing module 100 is also used to generate a voting request based on the index hash, and send the voting request to each voting node in the voting node set, so that each voting node obtains the target distributed identity resolution driver through the index hash.
[0076] In some embodiments of the present disclosure, the storage processing module 100 is further configured to store the first voting result in the blockchain.
[0077] In some embodiments of the present disclosure, the management device of the distributed identity resolution system further includes: The block acquisition module 500 is used to acquire a specified block from the blockchain, wherein the specified block includes node information of multiple candidate voting nodes; The voting node set generation module 600 is used to generate a voting node set based on the plurality of candidate voting nodes in response to the second voting result indicating that the plurality of candidate voting nodes have reached a consensus on the designated block; The voting processing module 200 is further used to vote on the designated block through multiple candidate voting nodes to obtain a second voting result.
[0078] In some embodiments of the present disclosure, the management device of the distributed identity resolution system further includes: The voting node adding module 700 is used to add the target node to the voting node set in response to the third voting result indicating approval for the target node to join the voting node set; Among them, the voting processing module 200 is also used to respond to receiving a node joining request for the voting node set, vote on the target node through the voting node set to obtain a third voting result, wherein the node joining request includes a target node requesting to join the voting node set.
[0079] It should be noted that the specific implementation of the management device of the distributed identity resolution system of the embodiment of the present disclosure is similar to the specific implementation of the management method of the distributed identity resolution system of the embodiment of the present disclosure, and the technical effect of the management device of the distributed identity resolution system of the embodiment of the present disclosure is similar to the technical effect of the management method of the distributed identity resolution system of the embodiment of the present disclosure. Please refer to the description of the management method of the distributed identity resolution system for details. In order to reduce redundancy, it is not repeated here.
[0080] In addition, an embodiment of the present disclosure further provides an electronic device, including: Memory for storing computer programs; The processor is used to execute the computer program stored in the memory, and when the computer program is executed, the management method of the distributed identity resolution system described in any of the above embodiments of the present disclosure is implemented.
[0081] Below, reference Figure 8 To describe the electronic device according to the embodiment of the present disclosure. Figure 8 As shown, the electronic device includes one or more processors and memory.
[0082] The processor may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
[0083] The memory may store one or more computer program products, and the memory may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The non-volatile memory may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. One or more computer program products may be stored on the computer-readable storage medium, and the processor may run the computer program product to implement the management method of the distributed identity resolution system of each embodiment of the present disclosure described above and / or other desired functions.
[0084] In one example, the electronic device may further include: an input device and an output device, and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0085] In addition, the input device may also include, for example, a keyboard, a mouse, and the like.
[0086] The output device can output various information to the outside, including determined distance information, direction information, etc. The output device can include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, and the like.
[0087] Of course, to simplify, Figure 8 Only some of the components related to the present disclosure in the electronic device are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device may further include any other appropriate components.
[0088] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the management method of the distributed identity resolution system according to various embodiments of the present disclosure described in the above part of this specification.
[0089] The computer program product may be written in any combination of one or more programming languages to write program code for performing the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0090] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the steps of the management method of a distributed identity resolution system according to various embodiments of the present disclosure described in the above part of this specification.
[0091] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0092] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0093] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0094] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0095] The method and apparatus of the present disclosure may be implemented in many ways. For example, the method and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
[0096] It should also be noted that in the apparatus, device and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0097] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0098] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A management method for a distributed identity resolution system, characterized in that: include: In response to receiving a target distributed identity resolution driver, storing the target distributed identity resolution driver through a distributed storage device, and providing the target distributed identity resolution driver to a voting node set, wherein the voting node set includes a plurality of voting nodes; Voting and reviewing the target distributed identity resolution driver through the voting node set to obtain a first voting result; In response to the first voting result indicating that the target distributed identity resolution driver has passed the review of the voting node set, a target block including the target distributed identity resolution driver is generated, and the target block is chained on the blockchain.
2. The method according to claim 1, characterized in that After the first voting result indicates that the target distributed identity resolution driver has passed the review of the voting node set, a target block including the target distributed identity resolution driver is generated, and the target block is put on the blockchain, the method further includes: In response to receiving a download request from a user terminal for the target distributed identity resolution driver, providing the user terminal with a download resource of the target distributed identity resolution driver, wherein the user terminal generates the download request after detecting the target block.
3. The method according to claim 1, characterized in that Providing the target distributed identity resolution driver to the voting node set includes: Obtain an index hash of the target distributed identity resolution driver on the distributed storage device; A voting request is generated based on the index hash, and the voting request is sent to each voting node in the voting node set, so that each voting node obtains the target distributed identity resolution driver through the index hash.
4. The method according to any one of claims 1 to 3, characterized in that: After the voting and reviewing of the target distributed identity resolution driver by the voting node set to obtain a first voting result, the method further includes: The first voting result is stored in the blockchain.
5. The method according to any one of claims 1 to 3, characterized in that: In response to receiving the target distributed identity resolution driver, before storing the target distributed identity resolution driver through a distributed storage device and providing the target distributed identity resolution driver to a voting node set, the method further includes: Obtaining a designated block from the blockchain, wherein the designated block includes node information of multiple candidate voting nodes; Voting on the designated block through the multiple candidate voting nodes to obtain a second voting result; In response to the second voting result indicating that the multiple candidate voting nodes reach a consensus on the designated block, the voting node set is generated based on the multiple candidate voting nodes.
6. The method according to any one of claims 1 to 3, characterized in that: Also includes: In response to receiving a node joining request for the voting node set, voting for a target node through the voting node set to obtain a third voting result, wherein the node joining request includes requesting the target node to join the voting node set; In response to the third voting result indicating approval for the target node to join the voting node set, the target node is added to the voting node set.
7. A management device for a distributed identity resolution system, characterized in that: include: a storage processing module, configured to, in response to receiving a target distributed identity resolution driver, store the target distributed identity resolution driver through a distributed storage device, and provide the target distributed identity resolution driver to a voting node set, wherein the voting node set includes a plurality of voting nodes; A voting processing module, used to perform voting review on the target distributed identity resolution driver through the voting node set to obtain a first voting result; The on-chain processing module is used to generate a target block including the target distributed identifier resolution driver in response to the first voting result indicating that the target distributed identifier resolution driver has passed the review of the voting node set, and to chain the target block on the blockchain.
8. The device according to claim 7, characterized in that Also includes: The download processing module is used to provide the download resource of the target distributed identifier resolution driver to the user terminal in response to receiving a download request from the user terminal for the target distributed identifier resolution driver, wherein the user terminal generates the download request after detecting the target block.
9. The device according to claim 7, characterized in that The storage processing module is used to obtain the index hash of the target distributed identity resolution driver on the distributed storage device; The storage processing module is further used to generate a voting request based on the index hash, and send the voting request to each voting node in the voting node set, so that each voting node obtains the target distributed identity resolution driver through the index hash.
10. The device according to any one of claims 7 to 9, characterized in that: The storage processing module is also used to store the first voting result in the blockchain.
11. The device according to any one of claims 7 to 9, characterized in that: Also includes: A block acquisition module, used to acquire a specified block from the blockchain, wherein the specified block includes node information of multiple candidate voting nodes; A voting node set generation module, configured to generate the voting node set based on the plurality of candidate voting nodes in response to a second voting result indicating that the plurality of candidate voting nodes reach a consensus on the designated block; The voting processing module is further configured to vote on the designated block through the multiple candidate voting nodes to obtain the second voting result.
12. The device according to any one of claims 7 to 9, characterized in that: Also includes: A voting node adding module, configured to add the target node to the voting node set in response to the third voting result indicating approval for the target node to join the voting node set; Among them, the voting processing module is also used to respond to receiving a node joining request for the voting node set, vote on the target node through the voting node set to obtain the third voting result, wherein the node joining request includes a request to join the target node of the voting node set.
13. A distributed identity resolution system, characterized in that: include: Blockchain, used to store distributed identity resolution drivers; The device according to any one of claims 7 to 12 is used to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Multi-dimensional digital identity authentication system based on block chain
CN112580102A
Consensus processing method based on block chain network and related device
CN117061538A
KR20220060444A