Method, device and electronic device for verifying authority of decentralized autonomous organization

By introducing collaborative signatures and permission application processes in decentralized autonomous organizations, the collaborative initiating terminal has full control over the permissions, solving the security issues caused by the centralization of DAO permission data and achieving higher security and transparency.

CN116208342BActive Publication Date: 2025-09-16NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310212115.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-28
Publication Date
2025-09-16
Estimated Expiration
2043-02-28

AI Technical Summary

Technical Problem

When existing decentralized autonomous organizations (DAOs) manage permissions through web2 permission tools, there is a problem of centralized permission data, resulting in poor security.

Method used

A decentralized autonomous organization permission verification method is adopted to ensure the decentralized management of permission data through the collaborative signature and permission application process between the collaboration initiating terminal, the collaboration applying terminal and the server. The collaboration initiating terminal has full control over the permissions of document collaboration transactions, which cannot be changed by other users.

Benefits of technology

Significantly improves the security and transparency of decentralized autonomous organization collaboration, ensuring that permission data is not attacked or manipulated.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116208342B_ABST
    Figure CN116208342B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device, and electronic device for verifying the authority of a decentralized autonomous organization, comprising: sending a document collaboration transaction to be collaborated to a server, so that the server can feedback a collaboration identifier corresponding to the document collaboration transaction; if a collaboration signature application is received from a collaboration application terminal based on the collaboration identifier, a data query request is sent to the server, so that the server can feedback user data corresponding to the collaboration application terminal; if the user data passes the review and verification, a collaboration permission signature is fed back to the collaboration application terminal, so that the collaboration application terminal can initiate a collaboration permission application to the server based on the collaboration permission signature, and collaborate on the document collaboration transaction when the collaboration permission application passes the signature verification. The present invention can significantly improve the security and transparency of collaboration in decentralized autonomous organizations.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a method, device, and electronic device for verifying the permissions of a decentralized autonomous organization. Background Art

[0002] Currently, DAOs (Decentralized Autonomous Organizations) typically achieve collaboration and information dissemination by integrating web2 applications. However, web2 permission tools are essentially centralized permission management, and permission data is relatively concentrated, making permission data vulnerable to attacks and manipulation, and resulting in poor data security. Summary of the Invention

[0003] In view of this, the purpose of the present invention is to provide a method, device and electronic device for verifying the permissions of a decentralized autonomous organization, which can significantly improve the security and transparency of the decentralized autonomous organization's collaboration.

[0004] In the first aspect, an embodiment of the present invention provides a method for verifying the permissions of a decentralized autonomous organization, which is applied to a collaboration initiating terminal, and the method includes: sending a document collaboration transaction to be collaborated to a server, so that the server feeds back a collaboration identifier corresponding to the document collaboration transaction; if a collaboration signature application is received from a collaboration application terminal based on the collaboration identifier, a data query request is sent to the server, so that the server feeds back user data corresponding to the collaboration application terminal; if the user data passes the review and verification, a collaboration permission signature is fed back to the collaboration application terminal, so that the collaboration application terminal initiates a collaboration permission application to the server based on the collaboration permission signature, and collaborates on the document collaboration transaction when the collaboration permission application passes the signature verification.

[0005] In the second aspect, an embodiment of the present invention also provides a method for verifying the permissions of a decentralized autonomous organization, which is applied to a collaboration application terminal, and the method includes: obtaining a collaboration identifier corresponding to a document collaboration transaction to be collaborated; based on the collaboration identifier, sending a collaboration signature application to a collaboration initiation terminal corresponding to the document collaboration transaction, so that the collaboration initiation terminal feeds back a collaboration permission signature; based on the collaboration permission signature, initiating a collaboration permission application to a server, so that the server performs signature verification on the collaboration permission application; when the collaboration permission application passes the signature verification, collaborating on the document collaboration transaction.

[0006] In the third aspect, an embodiment of the present invention also provides a method for verifying the permissions of a decentralized autonomous organization, which is applied to a server, and the method includes: receiving a document collaboration transaction initiated by a collaboration initiating terminal; wherein the collaboration initiating terminal is used to receive a collaboration signature application sent by a collaboration application terminal based on the collaboration identifier, and send a data query request to the server; feeding back the user data corresponding to the collaboration application terminal to the collaboration initiating terminal; wherein the collaboration initiating terminal is also used to feed back a collaboration permission signature to the collaboration application terminal when the user data passes the review and verification, and the collaboration application terminal is used to initiate a collaboration permission application to the server based on the collaboration permission signature; performing signature verification on the collaboration permission application, and granting the collaboration application terminal the permission to collaborate on the document collaboration transaction when the collaboration permission application passes the signature verification.

[0007] In a fourth aspect, an embodiment of the present invention further provides an authority verification device for a decentralized autonomous organization, which is applied to a collaboration initiating terminal, and includes: a transaction sending module, which is used to send the document collaboration transaction to be collaborated to the server, so that the server can feedback the collaboration identifier corresponding to the document collaboration transaction; a request sending module, which is used to send a data query request to the server if a collaboration signature application is received from the collaboration application terminal based on the collaboration identifier, so that the server can feedback the user data corresponding to the collaboration application terminal; a signature feedback module, which is used to feedback the collaboration permission signature to the collaboration application terminal if the user data passes the review and verification, so that the collaboration application terminal can initiate a collaboration permission application to the server based on the collaboration permission signature, and collaborate on the document collaboration transaction when the collaboration permission application passes the signature verification.

[0008] In the fifth aspect, an embodiment of the present invention also provides an authority verification device of a decentralized autonomous organization, which is applied to a collaboration application terminal, and the device includes: an identification acquisition module, which is used to obtain a collaboration identification corresponding to a document collaboration transaction to be collaborated; a signature application module, which is used to send a collaboration signature application to a collaboration initiation terminal corresponding to the document collaboration transaction based on the collaboration identification, so that the collaboration initiation terminal can feedback a collaboration authority signature; a permission application module, which is used to initiate a collaboration authority application to a server based on the collaboration authority signature, so that the server can perform signature verification on the collaboration authority application; a collaboration module, which is used to collaborate on the document collaboration transaction when the collaboration authority application passes the signature verification.

[0009] In the sixth aspect, an embodiment of the present invention also provides an authority verification device for a decentralized autonomous organization, which is applied to a server, and the device includes: a transaction receiving module, which is used to receive a document collaboration transaction initiated by a collaboration initiating terminal; wherein the collaboration initiating terminal is used to receive a collaboration signature application sent by a collaboration application terminal based on the collaboration identifier, and send a data query request to the server; a data feedback module, which is used to feed back user data corresponding to the collaboration application terminal to the collaboration initiating terminal; wherein the collaboration initiating terminal is also used to feed back a collaboration permission signature to the collaboration application terminal when the user data passes the review and verification, and the collaboration application terminal is used to initiate a collaboration permission application to the server based on the collaboration permission signature; a signature verification module, which is used to perform signature verification on the collaboration permission application, and when the collaboration permission application passes the signature verification, grant the collaboration application terminal the permission to collaborate on the document collaboration transaction.

[0010] In the seventh aspect, an embodiment of the present invention also provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement any one of the methods provided in the first aspect, or executes the computer-executable instructions to implement any one of the methods provided in the second aspect, or executes the computer-executable instructions to implement any one of the methods provided in the third aspect.

[0011] In an eighth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement any one of the methods provided in the first aspect, or prompt the processor to implement any one of the methods provided in the second aspect, or prompt the processor to implement any one of the methods provided in the third aspect.

[0012] The embodiment of the present invention provides a method, device and electronic device for verifying the authority of a decentralized autonomous organization. The method is applied to a collaboration initiating terminal. First, a document collaboration transaction to be collaborated is sent to a server so that the server can feedback a collaboration identifier corresponding to the document collaboration transaction. If a collaboration signature application is received from a collaboration application terminal based on the collaboration identifier, a data query request is sent to the server so that the server can feedback the user data corresponding to the collaboration application terminal. When the user data passes the review and verification, a collaboration authority signature is fed back to the collaboration application terminal so that the collaboration application terminal can initiate a collaboration authority application to the server based on the collaboration authority signature. When the collaboration authority application passes the signature verification, the document collaboration transaction can be collaborated on. In the above method, after the collaboration initiating terminal sends the document collaboration transaction to be collaborated on to the server, the collaboration initiating terminal can review whether to issue a collaboration authority signature to the collaboration application terminal. If it is determined that a collaboration authority signature is issued to the collaboration application terminal, the collaboration application terminal can be used to collaborate on the document collaboration transaction after the collaboration authority application initiated by the collaboration application terminal passes the signature verification. In the embodiment of the present invention, the authority of the document collaboration transaction is completely controlled by the collaboration initiating terminal. Other users cannot change the relevant authority data of the document collaboration transaction, thereby significantly improving the security and transparency of the decentralized autonomous organization collaboration.

[0013] The embodiment of the present invention provides a permission verification method, device and electronic device for a decentralized autonomous organization, which is applied to a collaboration application terminal. First, a collaboration identifier corresponding to a document collaboration transaction to be collaborated is obtained, and based on the collaboration identifier, a collaboration signature application is sent to the collaboration initiating terminal corresponding to the document collaboration transaction, so that the collaboration initiating terminal feedbacks a collaboration permission signature. Then, based on the collaboration permission signature, a collaboration permission application is initiated to a server, so that the server performs signature verification on the collaboration permission application. When the collaboration permission application passes the signature verification, the document collaboration transaction can be collaborated on. In the above method, after the collaboration initiating terminal sends the document collaboration transaction to be collaborated on to the server, the collaboration application terminal can apply to the collaboration initiating terminal for the collaboration permission signature required to participate in the collaboration, and the collaboration initiating terminal reviews whether to issue the collaboration permission signature to the collaboration application terminal. If the collaboration permission signature issued by the collaboration application terminal is received, the collaboration application terminal can initiate a collaboration permission application to the server, and after it passes the signature verification, the collaboration application terminal can collaborate on the document collaboration transaction. In the embodiment of the present invention, the authority of the document collaboration transaction is completely controlled by the collaboration initiating terminal, and other users cannot change the relevant authority data of the document collaboration transaction, thereby significantly improving the security and transparency of the decentralized autonomous organization collaboration.

[0014] An embodiment of the present invention provides a permission verification method, device and electronic device for a decentralized autonomous organization, which are applied to a server to receive a document collaboration transaction initiated by a collaboration initiating terminal. If the collaboration initiating terminal receives a collaboration signature application sent by a collaboration application terminal based on a collaboration identifier, the server sends a data query request to the server, and the server feeds back the user data corresponding to the collaboration application terminal to the collaboration initiating terminal. When the user data passes the review and verification, the collaboration initiating terminal feeds back the collaboration permission signature to the collaboration application terminal. The collaboration application terminal initiates a collaboration permission application to the server based on the collaboration permission signature. The server performs signature verification on the collaboration permission application, and when the collaboration permission application passes the signature verification, the collaboration application terminal is granted the permission to collaborate on the document collaboration transaction. In the above method, after the collaboration initiating terminal sends the document collaboration transaction to be collaborated to the server, the collaboration applying terminal can apply to the collaboration initiating terminal for the collaboration permission signature required to participate in the collaboration, and the collaboration initiating terminal will review whether to issue the collaboration permission signature to the collaboration applying terminal. If the collaboration permission signature issued by the collaboration applying terminal is received, the collaboration applying terminal can initiate a collaboration permission application to the server, and the server will perform signature verification on it. After the verification is passed, the collaboration applying terminal will be granted the permission to collaborate on the document collaboration transaction, so that the collaboration applying terminal can collaborate on the document collaboration transaction. In the embodiment of the present invention, the permission of the document collaboration transaction is completely controlled by the collaboration initiating terminal, and other users cannot change the relevant permission data of the document collaboration transaction, thereby significantly improving the security and transparency of the collaboration of decentralized autonomous organizations.

[0015] Other features and advantages of the present invention will be described in the following description, and in part will become apparent from the description, or understood by practicing the present invention. The purposes and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0016] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 A flowchart of a method for verifying the authority of a decentralized autonomous organization provided by an embodiment of the present invention;

[0019] Figure 2 A flowchart of another decentralized autonomous organization authority verification method provided by an embodiment of the present invention;

[0020] Figure 3 A flowchart of another decentralized autonomous organization authority verification method provided by an embodiment of the present invention;

[0021] Figure 4 A flowchart of another decentralized autonomous organization authority verification method provided by an embodiment of the present invention;

[0022] Figure 5 A schematic diagram of the structure of a permission verification device for a decentralized autonomous organization provided by an embodiment of the present invention;

[0023] Figure 6 A schematic diagram of the structure of another decentralized autonomous organization authority verification device provided by an embodiment of the present invention;

[0024] Figure 7 A schematic diagram of the structure of another decentralized autonomous organization authority verification device provided by an embodiment of the present invention;

[0025] Figure 8 A schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0026] To make the objectives, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0027] Currently, DAO organizations use web2 permission tools to manage permission data, which has the problem of poor data security. Based on this, the present invention implements a permission verification method, device and electronic equipment for a decentralized autonomous organization, which can significantly improve the security and transparency of decentralized autonomous organization collaboration.

[0028] To facilitate understanding of this embodiment, a method for verifying the authority of a decentralized autonomous organization disclosed in an embodiment of the present invention is first introduced in detail. This method is applied to a collaboration initiating terminal. The collaboration initiating terminal can be understood as an associated terminal of the protocol initiator, such as a smartphone, tablet computer, or personal computer. Figure 1 The flowchart of a method for verifying the authority of a decentralized autonomous organization is shown, and the method mainly includes the following steps S102 to S106:

[0029] Step S102, the document collaboration transaction to be collaborated is sent to the server, so that the server can feedback the collaboration identifier corresponding to the document collaboration transaction. The server can be a server for providing blockchain services. In one embodiment, it is necessary to determine the collaboration start time, collaboration end time and collaboration details corresponding to the document collaboration transaction. The collaboration details are used to describe the relevant information of the document collaboration transaction, including describing the collaboration content, such as community drafts or collaboration rules, etc., to facilitate collaboration applicants to understand the main purpose of the document collaboration transaction and how to collaborate on the document collaboration transaction. The collaboration identifier is also the unique identification number of the document collaboration transaction, which can be a collaboration ID (Identity document, identity identification number), collaboration name, collaboration number, etc. In the specific implementation, the collaboration contract can be called to initiate a document collaboration transaction to the server. After receiving the document collaboration transaction, the server will feedback the collaboration ID corresponding to the document collaboration transaction to the collaboration initiating terminal.

[0030] In step S104, if a collaborative signature application is received from a collaborative application terminal based on a collaborative identifier, a data query request is sent to the server, causing the server to respond with user data corresponding to the collaborative application terminal. The collaborative application terminal can be understood as an associated terminal of the collaborative applicant, such as a smartphone, tablet, or personal computer. The content of the collaborative signature application includes at least the collaborative ID and permission type, which may include editing permission and / or viewing permission. User data can also be referred to as historical contribution behavior data, which may include the number of times the applicant has participated in collaborations and / or collaborative document information, or the number of times the applicant has participated in community proposals and / or information related to initiated proposals.

[0031] In one embodiment, a server is in communication with a DAO Oracle (oracle device). Document collaborators send data query requests to the DAO Oracle through a collaboration initiation terminal. The data query requests may include applicant information such as an applicant ID or address. The DAO Oracle will query the user data corresponding to the applicant information and feed it back to the collaboration initiation terminal. The DAO Oracle may periodically pull historical contribution behavior data from the server and, optionally, feed this historical contribution behavior data back to the collaboration initiation terminal in the form of a report.

[0032] In step S106, if the user data passes the review and verification, the collaboration permission signature is fed back to the collaboration application terminal, so that the collaboration application terminal initiates a collaboration permission application to the server based on the collaboration permission signature and collaborates on the document collaboration transaction when the collaboration permission application passes the signature verification. In one embodiment, the collaboration initiating terminal can display the user data through a graphical user interface for the collaboration initiator to determine whether to issue the collaboration permission signature to the collaboration applicant; in another embodiment, the collaboration initiating terminal can be configured with review rules (such as limiting the number of collaboration participations) and independently determine whether the user data meets the review rules. When the user meets the review rules, it is determined that the user has passed the review and verification.

[0033] Among them, the collaboration permission signature is obtained by signing the collaboration token, collaboration random number (nonce) and the applicant address, collaboration type, and collaboration identifier carried in the collaboration signature application. In one embodiment, the collaboration permission signature and collaboration token can be encrypted and then sent to the collaboration application terminal. The collaboration application terminal initiates a collaboration permission application to the server based on the decrypted collaboration permission signature and collaboration token. The server will generate signature structure data based on the collaboration token, collaboration random number, applicant address, collaboration type, and collaboration identifier to determine the signer address information based on the signature structure data and the collaboration permission signature. If the signer address information is consistent with the initiator address of the document collaboration transaction, it is determined that the collaboration permission application has passed the signature verification. At this time, the collaboration application terminal can collaborate on the document collaboration transaction.

[0034] The embodiment of the present invention provides a permission verification method for a decentralized autonomous organization. After the collaboration initiating terminal sends the document collaboration transaction to be collaborated to the server, the collaboration initiating terminal can review whether to issue a collaboration permission signature to the collaboration application terminal. If it is determined to issue a collaboration permission signature to the collaboration application terminal, the collaboration application terminal can be used to collaborate on the document collaboration transaction after the collaboration permission application initiated by the collaboration application terminal passes the signature verification. In the embodiment of the present invention, the permission of the document collaboration transaction is completely controlled by the collaboration initiating terminal, and other users cannot change the relevant permission data of the document collaboration transaction, thereby significantly improving the security and transparency of the collaboration of the decentralized autonomous organization.

[0035] To facilitate understanding of step S102, this embodiment of the present invention provides a method for sending a document collaboration transaction to a server. This method obtains the collaboration start time, end time, and details. Then, by invoking a collaboration contract, the document collaboration transaction is initiated to the server based on the collaboration start time, end time, and details. For example, the collaboration start time (startTime), end time (endTime), and collaboration details (cooperationDetails) are obtained, and the collaboration contract method #submitCooperation(uint256 startTime, uint256 endTime, String cooperationDetails) returns (uint256 cooperationId) is called to initiate the collaboration with the server. The server then returns the collaboration ID.

[0036] On this basis, the collaboration applicant applies for a collaboration permission signature from the collaboration initiation terminal. The application information includes the collaboration ID and the permission type permissionType (such as "1" for edit type and "0" for view type). After receiving the above application information, the collaboration initiation terminal queries the contribution history behavior data of the collaboration applicant according to the DAO Oracle. The collaboration initiator reviews whether to issue the collaboration permission signature and collaboration token. If the review is passed, the collaboration permission signature of the collaboration applicant is encrypted and sent to the collaboration applicant. Among them, the DAO Oracle occasionally pulls the user's contribution history behavior data from the DAO blockchain service to generate a report. For example, the contribution history behavior data may include the number of times participated in collaboration and collaboration document information, the number of times participated in community proposals or proposals initiated, etc. The signature data CooperationToken of the collaboration permission signature includes at least: applicant address, collaboration ID, collaboration token, and permission type permissionType.

[0037] For ease of understanding, the embodiment of the present invention provides an implementation method for feeding back a collaboration permission signature to a collaboration application terminal, as shown in steps 1 to 4 below:

[0038] Step 1: Send a random number query request to the server to obtain the collaboration random number corresponding to the collaboration applicant terminal. In actual applications, it is determined whether the collaboration applicant is a DAO member (#isMember). If the collaboration applicant is a DAO member, the collaboration initiator queries the collaboration applicant's report from the DAO Oracle. The report records the collaboration applicant's historical contribution behavior data. If the collaboration initiator decides to issue a collaboration permission signature to the collaboration applicant, it will query the collaboration applicant's collaboration random number (#getUserNonce) from the chain. The collaboration random number is also known as the collaboration nonce.

[0039] Step 2: Sign the generated collaboration token, collaboration random number, and the applicant address, collaboration type, and collaboration ID carried in the collaboration signature application to obtain the collaboration permission signature. In one embodiment, a random collaboration token can be generated, and the applicant address, collaboration ID, collaboration token, permission type permissionType can be signed with the signature data CooperationToken structure using EIP712 to generate the collaboration permission signature.

[0040] Step 3: Encrypt the collaboration token and collaboration permission signature using the applicant's public key carried in the collaboration signature application. In one embodiment, the collaboration token and collaboration permission signature can be randomly generated and encrypted using the applicant's public key.

[0041] Step 4: Feedback the encrypted collaboration token and collaboration permission signature to the collaboration application terminal.

[0042] On this basis, the collaboration application terminal will perform a decryption operation on the collaboration authority signature, and the server will perform a signature verification operation on the collaboration authority signature.

[0043] To facilitate understanding of the related operations performed by the collaborative application terminal, the embodiment of the present invention also provides another decentralized autonomous organization authority verification method, which is applied to the collaborative application terminal, see Figure 2 FIG2 is a flow chart of another method for verifying the authority of a decentralized autonomous organization, which mainly includes the following steps S202 to S208:

[0044] Step S202: Obtain the collaboration identifier corresponding to the document collaboration transaction to be collaborated. In one embodiment, the collaboration applicant can view the collaboration identifiers corresponding to all document collaboration transactions to be collaborated stored in the server through the collaboration application terminal. The collaboration application terminal responds to the selection operation for the collaboration identifier to determine the collaboration identifier corresponding to the document collaboration transaction in which the applicant wishes to participate.

[0045] Step S204, based on the collaboration identifier, sends a collaboration signature application to the collaboration initiating terminal corresponding to the document collaboration transaction, so that the collaboration initiating terminal can feedback the collaboration permission signature. The collaboration signature application is used to apply for a collaboration permission signature. In one embodiment, the collaboration applicant applies for a collaboration permission signature from the collaboration initiating terminal, and the application information includes a collaboration ID and a permission type permissionType. The permission type permissionType includes: "1" for editing type and / or "0" for viewing type. In one embodiment, after receiving the collaboration signature application, the collaboration initiating terminal will query the historical contribution behavior data corresponding to the collaboration applicant from the DAO Oracle and review it. When the review is passed, the collaboration permission signature will be fed back to the collaboration application terminal. The specific process of the collaboration initiating terminal sending the collaboration permission signature can be found in the aforementioned steps 1 to 4, which will not be repeated in the embodiments of the present invention.

[0046] Step S206: Initiate a collaboration permission application to the server based on the collaboration permission signature, so that the server can perform signature verification on the collaboration permission application. In one embodiment, the applicant uses the private key to decrypt the collaboration permission signature, obtain the decrypted collaboration permission signature and collaboration token, and initiate collaboration using the plaintext signature and collaboration information, where the collaboration information includes at least the collaboration ID, collaboration token, permission type permissionTyp, etc.

[0047] Step S208: When the collaboration permission application passes the signature verification, collaboration is performed on the document collaboration transaction.

[0048] The embodiment of the present invention provides a permission verification method for a decentralized autonomous organization. After the collaboration initiating terminal sends the document collaboration transaction to be collaborated to the server, the collaboration applying terminal can apply to the collaboration initiating terminal for the collaboration permission signature required for participating in the collaboration, and the collaboration initiating terminal will review whether to issue the collaboration permission signature to the collaboration applying terminal. If the collaboration permission signature issued by the collaboration applying terminal is received, the collaboration applying terminal can initiate a collaboration permission application to the server, and after it passes the signature verification, use the collaboration applying terminal to collaborate on the document collaboration transaction. In the embodiment of the present invention, the permission of the document collaboration transaction is completely controlled by the collaboration initiating terminal, and other users cannot change the relevant permission data of the document collaboration transaction, thereby significantly improving the security and transparency of the collaboration of the decentralized autonomous organization.

[0049] To facilitate understanding of the above-mentioned step S206, an embodiment of the present invention further provides an implementation method for initiating a collaboration permission application to a server based on a collaboration permission signature, specifically: (1) receiving an encrypted collaboration token and a collaboration permission signature; (2) using the applicant's private key to decrypt the encrypted collaboration token and collaboration permission signature to obtain a decrypted collaboration token and collaboration permission signature, wherein the decrypted collaboration permission signature is a plaintext signature; (3) based on the decrypted collaboration token and collaboration permission signature, initiating a collaboration permission application to the server. Exemplarily, the collaboration application terminal will use the plaintext signature, collaboration ID, collaboration token and permission type to initiate collaboration to the server.

[0050] On this basis, the server will perform signature verification operations for the collaborative authority signature.

[0051] To facilitate understanding of the related operations performed by the server, the embodiment of the present invention also provides another decentralized autonomous organization authority verification method, which is applied to the server, see Figure 3 FIG. 1 is a flow chart of another decentralized autonomous organization authority verification method, which mainly includes the following steps S302 to S306:

[0052] Step S302: receiving a document collaboration transaction initiated by a collaboration initiating terminal; wherein the collaboration initiating terminal is used to receive a collaboration signature application sent by a collaboration applying terminal based on a collaboration identifier, and send a data query request to a server.

[0053] In step S304, the user data corresponding to the collaboration application terminal is fed back to the collaboration initiation terminal; wherein, the collaboration initiation terminal is also used to feed back the collaboration permission signature to the collaboration application terminal when the user data passes the review and verification, and the collaboration application terminal is used to initiate a collaboration permission application to the server based on the collaboration permission signature. In one embodiment, DAOOracle can be used to query the user data corresponding to the collaboration application terminal, wherein DAOOracle will periodically pull historical contribution behavior data from the server and generate relevant reports, and DAOOracle will feed back the historical contribution behavior data to the collaboration initiation terminal in the form of reports.

[0054] Step S306: Verify the signature of the collaboration permission request. If the collaboration permission request passes the signature verification, the collaboration requesting terminal is granted permission to collaborate on the document collaboration transaction. In one embodiment, the collaboration contract method #validCorpTokenSign(uint256cooperationId,uint8 permissionType,bytestoken,bytes signature)public returns(bool) can be called for on-chain verification. If the collaboration permission request passes the signature verification, the collaboration requesting terminal is granted permission to collaborate on the document collaboration transaction.

[0055] The embodiment of the present invention provides a permission verification method for a decentralized autonomous organization. After the collaboration initiating terminal sends the document collaboration transaction to be collaborated to the server, the collaboration applying terminal can apply to the collaboration initiating terminal for the collaboration permission signature required for participating in the collaboration, and the collaboration initiating terminal reviews whether to issue the collaboration permission signature to the collaboration applying terminal. If the collaboration permission signature issued by the collaboration applying terminal is received, the collaboration applying terminal can initiate a collaboration permission application to the server, and the server performs signature verification on it. After the verification is passed, the collaboration applying terminal is granted the permission to collaborate on the document collaboration transaction, so that the collaboration applying terminal can collaborate on the document collaboration transaction. In the embodiment of the present invention, the permission of the document collaboration transaction is completely controlled by the collaboration initiating terminal, and other users cannot change the relevant permission data of the document collaboration transaction, thereby significantly improving the security and transparency of the collaboration of the decentralized autonomous organization.

[0056] To facilitate understanding of the above step S306, the embodiment of the present invention further provides an implementation method for performing signature verification on the collaboration permission application, as shown in the following steps a to d:

[0057] Step a: Obtain the collaboration random number corresponding to the collaboration application terminal. In one embodiment, if the collaboration is verified to be in the collaboration state, the collaboration nonce corresponding to the collaboration application terminal will be obtained from userNonceMap.

[0058] Step b: Generate signature structure data based on the collaboration token, applicant address, collaboration type, and collaboration ID in the collaboration permission application. In one embodiment, 3. Generate signature structure data hash based on the applicant address, collaboration ID, collaboration token, and permission type permissionType.

[0059] Step c: Recover the signer address based on the collaboration authority signature and the signature structure data. In one embodiment, the signer address can be recovered from the signature structure data hash and the collaboration authority signature.

[0060] In step d, if the signer's address matches the initiator's address corresponding to the collaboration initiating terminal, the collaboration permission application is determined to have passed signature verification. In one embodiment, if the signer's address matches the collaborative document initiator's address, permission verification is successful, and a collaboration nonce is added to prevent duplicate authentication. In actual applications, once on-chain verification is successful, the collaboration requesting terminal can collaborate.

[0061] To facilitate understanding of the above embodiments, the present invention provides Figure 4 The flowchart of another permission verification method of a decentralized autonomous organization is shown in FIG. 1 , specifically: (1) the collaboration initiator initiates a document collaboration to the DAO blockchain service; (2) the collaboration applicant applies for collaboration permissions; (3) the collaboration initiator queries user data from the DAO Oracle, the collaboration initiator queries the collaboration nonce from the DAO blockchain service, the collaboration initiator generates a collaboration token and signs it, and the collaboration initiator encrypts the assistance token and collaboration permission signature and sends them to the collaboration applicant; (4) the collaboration applicant decrypts the collaboration token and collaboration permission signature, and the collaboration applicant initiates collaboration to the DAO blockchain service.

[0062] In actual applications, the prerequisites for executing the above (1) to (4) include: deploying the DAO collaboration contract and initializing the DAO organization members; users initiate DAO member proposals and join the DAO.

[0063] In one embodiment, the conceptual model of the permission verification method of a decentralized autonomous organization provided by an embodiment of the present invention includes: (1) collaboration document CooperationDocument: collaboration ID, collaboration initiator, collaboration details, document status (collaboration in progress or completed), collaboration start time, collaboration end time; (2) permission type permissionType: 1 edit, 0 view; (3) signature data CooperationToken: applicant address, collaboration ID, collaboration token, permission type permissionType.

[0064] In one embodiment, the data storage content includes: (1) collaboration document: used to store collaboration document information, the pseudo code is as follows: mapping(uint256=>CooperationDocument)private_cooperationDocumentQueue; (2) collaboration user nonce: used for anti-duplicate, the pseudo code is as follows: mapping(address=>uint256)private_userNonceMap; (3) member: the pseudo code is as follows: mapping(address=>bool)private_memberMap.

[0065] Based on the above embodiments, the present invention provides an application example of a method for verifying the authority of a decentralized autonomous organization. Specifically:

[0066] (a) Initialize the DAO collaboration contract. In practice, the DAO member addresses can be initialized. The pseudo code is as follows: initDAO(address[]initMember). When a new member joins the DAO organization, they can join the DAO organization by initiating a proposal.

[0067] (b) Initiate collaboration. The pseudo code is as follows: submitCooperation(uint256 startTime, uint256 endTime, String cooperationDetails) returns(uint256 cooperationId).

[0068] (c) Verify the authority signature. The pseudo code is as follows:

[0069] validCorpTokenSign(uint256 cooperationId, uint8 permissionType, bytestoken, bytes signature) public returns(bool); {0. Verify that the collaboration is in a collaborative state; also ensure that it is a DAO member; 1. Obtain the user nonce from userNonceMap; 2. Generate a signature structure data hash based on the applicant address, collaboration ID, collaboration token, and permission type permissionType; 3. Recover the signer address from the structure data hash and signature; 4. If the signer address is consistent with the address of the collaboration document initiator, permission verification is successful}.

[0070] For example, for the above “ensure that it is a DAO member”, the following code can be used to determine whether it is a DAO member: isMember(address memberAddress) returns(bool exist).

[0071] For example, for the above “obtaining user nonce from userNonceMap”, the user nonce can be obtained through the following code: getUserNonce(address memberAddress) return(uint256nonce).

[0072] (d) Collaboration processing. The pseudo code is as follows: processCooperation(uint256cooperationId). In one embodiment, after the collaboration ends, the collaboration can be closed.

[0073] Regarding the authority verification method of the decentralized autonomous organization provided in the above embodiment, the embodiment of the present invention provides an authority verification device for a decentralized autonomous organization, which is applied to a collaboration initiating terminal, see Figure 5 The schematic diagram of the structure of a decentralized autonomous organization's authority verification device is shown. The device mainly includes the following parts:

[0074] The transaction sending module 502 is used to send the document collaboration transaction to be collaborated to the server, so that the server can feedback the collaboration identifier corresponding to the document collaboration transaction;

[0075] The request sending module 504 is configured to send a data query request to the server upon receiving a collaborative signature application sent by the collaborative application terminal based on the collaborative identifier, so that the server can feedback user data corresponding to the collaborative application terminal;

[0076] The signature feedback module 506 is used to feedback the collaboration permission signature to the collaboration application terminal if the user data passes the review and verification, so that the collaboration application terminal initiates a collaboration permission application to the server based on the collaboration permission signature, and collaborates on the document collaboration transaction when the collaboration permission application passes the signature verification.

[0077] The permission verification device of a decentralized autonomous organization provided by an embodiment of the present invention can review whether to issue a collaboration permission signature to the collaboration application terminal after the collaboration initiating terminal sends the document collaboration transaction to be collaborated to the server. If it is determined to issue a collaboration permission signature to the collaboration application terminal, the collaboration application terminal can be used to collaborate on the document collaboration transaction after the collaboration permission application initiated by the collaboration application terminal passes the signature verification. In the embodiment of the present invention, the permission of the document collaboration transaction is completely controlled by the collaboration initiating terminal, and other users cannot change the relevant permission data of the document collaboration transaction, thereby significantly improving the security and transparency of the collaboration of the decentralized autonomous organization.

[0078] In one embodiment, the transaction sending module 502 is further used to: obtain the collaboration start time, collaboration end time and collaboration details; and initiate a document collaboration transaction to the server based on the collaboration start time, collaboration end time and collaboration details by calling the collaboration contract.

[0079] In one embodiment, the signature feedback module 506 is also used to: send a random number query request to the server to obtain the collaboration random number corresponding to the collaboration application terminal; sign the generated collaboration token, collaboration random number and the applicant address, collaboration type, and collaboration identifier carried by the collaboration signature application to obtain a collaboration permission signature; use the applicant's public key carried by the collaboration signature application to encrypt the collaboration token and collaboration permission signature; and feed back the encrypted collaboration token and collaboration permission signature to the collaboration application terminal.

[0080] Regarding the authority verification method of a decentralized autonomous organization provided in the above embodiment, an embodiment of the present invention provides an authority verification device for a decentralized autonomous organization, which is applied to a collaborative application terminal, see Figure 6 The schematic diagram of the structure of another decentralized autonomous organization's authority verification device is shown, which mainly includes the following parts:

[0081] The identification acquisition module 602 is used to obtain the collaboration identification corresponding to the document collaboration transaction to be collaborated;

[0082] The signature application module 604 is configured to send a collaboration signature application to the collaboration initiating terminal corresponding to the document collaboration transaction based on the collaboration identifier, so that the collaboration initiating terminal can feedback a collaboration authority signature;

[0083] The permission application module 606 is used to initiate a collaboration permission application to the server based on the collaboration permission signature, so that the server can perform signature verification on the collaboration permission application;

[0084] The collaboration module 608 is used to collaborate on the document collaboration transaction when the collaboration permission application passes the signature verification.

[0085] The embodiment of the present invention provides a permission verification device for a decentralized autonomous organization. After the collaboration initiating terminal sends the document collaboration transaction to be collaborated to the server, the collaboration applying terminal can apply to the collaboration initiating terminal for the collaboration permission signature required for participating in the collaboration, and the collaboration initiating terminal will review whether to issue the collaboration permission signature to the collaboration applying terminal. If the collaboration permission signature issued by the collaboration applying terminal is received, the collaboration applying terminal can initiate a collaboration permission application to the server, and after it passes the signature verification, it can use the collaboration applying terminal to collaborate on the document collaboration transaction. In the embodiment of the present invention, the permission of the document collaboration transaction is completely controlled by the collaboration initiating terminal, and other users cannot change the relevant permission data of the document collaboration transaction, thereby significantly improving the security and transparency of the collaboration of the decentralized autonomous organization.

[0086] In one embodiment, the permission application module 606 is also used to: receive the encrypted collaboration token and collaboration permission signature; use the applicant's private key to decrypt the encrypted collaboration token and collaboration permission signature to obtain the decrypted collaboration token and collaboration permission signature; and initiate a collaboration permission application to the server based on the decrypted collaboration token and collaboration permission signature.

[0087] Regarding the authority verification method of the decentralized autonomous organization provided in the above embodiment, the embodiment of the present invention provides an authority verification device for a decentralized autonomous organization, which is applied to a server, see Figure 7 The schematic diagram of the structure of another decentralized autonomous organization's authority verification device is shown, which mainly includes the following parts:

[0088] The transaction receiving module 702 is used to receive a document collaboration transaction initiated by a collaboration initiating terminal; wherein the collaboration initiating terminal is used to receive a collaboration signature application sent by a collaboration requesting terminal based on a collaboration identifier, and send a data query request to the server;

[0089] The data feedback module 704 is used to feed back the user data corresponding to the collaboration application terminal to the collaboration initiating terminal. The collaboration initiating terminal is also used to feed back the collaboration permission signature to the collaboration application terminal when the user data passes the review and verification. The collaboration application terminal is used to initiate a collaboration permission application to the server based on the collaboration permission signature.

[0090] The signature verification module 706 is used to perform signature verification on the collaboration permission application, and grant the collaboration application terminal the permission to collaborate on the document collaboration transaction if the collaboration permission application passes the signature verification.

[0091] An embodiment of the present invention provides a permission verification device for a decentralized autonomous organization. After the collaboration initiating terminal sends the document collaboration transaction to be collaborated to the server, the collaboration applying terminal can apply to the collaboration initiating terminal for the collaboration permission signature required for participating in the collaboration, and the collaboration initiating terminal will review whether to issue the collaboration permission signature to the collaboration applying terminal. If the collaboration permission signature issued by the collaboration applying terminal is received, the collaboration applying terminal can initiate a collaboration permission application to the server, and the server will perform signature verification on it. After the verification is passed, the collaboration applying terminal will be granted the permission to collaborate on the document collaboration transaction, so that the collaboration applying terminal can collaborate on the document collaboration transaction. In the embodiment of the present invention, the permission of the document collaboration transaction is completely controlled by the collaboration initiating terminal, and other users cannot change the relevant permission data of the document collaboration transaction, thereby significantly improving the security and transparency of the collaboration of the decentralized autonomous organization.

[0092] In one embodiment, the signature verification module 706 is also used to: obtain the collaboration random number corresponding to the collaboration application terminal; generate signature structure data based on the collaboration token, applicant address, collaboration type, and collaboration identifier in the collaboration permission application; restore the signer address based on the collaboration permission application and the signature structure data; if the signer address is consistent with the initiator address corresponding to the collaboration initiating terminal, it is determined that the collaboration permission application has passed the signature verification.

[0093] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those in the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference can be made to the corresponding content in the aforementioned method embodiment.

[0094] An embodiment of the present invention provides an electronic device. Specifically, the electronic device includes a processor and a storage device. The storage device stores a computer program, which, when executed by the processor, executes:

[0095] A method for verifying permissions of a decentralized autonomous organization is applied to a collaboration initiating terminal, and comprises: sending a document collaboration transaction to be collaborated to a server, so that the server feeds back a collaboration identifier corresponding to the document collaboration transaction; if a collaboration signature application is received from a collaboration application terminal based on the collaboration identifier, sending a data query request to the server, so that the server feeds back user data corresponding to the collaboration application terminal; if the user data passes the review and verification, feeding back a collaboration permission signature to the collaboration application terminal, so that the collaboration application terminal initiates a collaboration permission application to the server based on the collaboration permission signature, and collaborates on the document collaboration transaction when the collaboration permission application passes the signature verification.

[0096] In one embodiment, the step of sending the document collaboration transaction to be collaborated to the server includes: obtaining the collaboration start time, collaboration end time and collaboration details; and initiating the document collaboration transaction to the server based on the collaboration start time, collaboration end time and collaboration details by calling the collaboration contract.

[0097] In one embodiment, the step of feeding back the collaboration permission signature to the collaboration application terminal includes: sending a random number query request to the server to obtain the collaboration random number corresponding to the collaboration application terminal; signing the generated collaboration token, collaboration random number and the applicant address, collaboration type, and collaboration identifier carried by the collaboration signature application to obtain the collaboration permission signature; using the applicant public key carried by the collaboration signature application to encrypt the collaboration token and collaboration permission signature; and feeding back the encrypted collaboration token and collaboration permission signature to the collaboration application terminal.

[0098] The electronic device provided by the embodiment of the present invention can review by the collaboration initiating terminal whether to issue a collaboration permission signature to the collaboration application terminal after the collaboration initiating terminal sends the document collaboration transaction to be collaborated to the server. If it is determined to issue a collaboration permission signature to the collaboration application terminal, the collaboration application terminal can be used to collaborate on the document collaboration transaction after the collaboration permission application initiated by the collaboration application terminal passes the signature verification. In the embodiment of the present invention, the authority of the document collaboration transaction is completely controlled by the collaboration initiating terminal, and other users cannot change the relevant authority data of the document collaboration transaction, thereby significantly improving the security and transparency of the collaboration of decentralized autonomous organizations.

[0099] A method for verifying permissions of a decentralized autonomous organization is applied to a collaboration application terminal, and comprises: obtaining a collaboration identifier corresponding to a document collaboration transaction to be collaborated; based on the collaboration identifier, sending a collaboration signature application to a collaboration initiating terminal corresponding to the document collaboration transaction, so that the collaboration initiating terminal feeds back a collaboration permission signature; based on the collaboration permission signature, initiating a collaboration permission application to a server, so that the server performs signature verification on the collaboration permission application; and when the collaboration permission application passes the signature verification, collaborating on the document collaboration transaction.

[0100] In one embodiment, the step of initiating a collaboration permission application to a server based on a collaboration permission signature includes: receiving an encrypted collaboration token and a collaboration permission signature; decrypting the encrypted collaboration token and collaboration permission signature using the applicant's private key to obtain a decrypted collaboration token and collaboration permission signature; and initiating a collaboration permission application to the server based on the decrypted collaboration token and collaboration permission signature.

[0101] In the electronic device provided by the embodiment of the present invention, after the collaboration initiating terminal sends the document collaboration transaction to be collaborated to the server, the collaboration applying terminal can apply to the collaboration initiating terminal for the collaboration permission signature required for participating in the collaboration, and the collaboration initiating terminal will review whether to issue the collaboration permission signature to the collaboration applying terminal. If the collaboration permission signature issued by the collaboration applying terminal is received, the collaboration applying terminal can initiate a collaboration permission application to the server, and after it passes the signature verification, use the collaboration applying terminal to collaborate on the document collaboration transaction. In the embodiment of the present invention, the authority of the document collaboration transaction is completely controlled by the collaboration initiating terminal, and other users cannot change the relevant authority data of the document collaboration transaction, thereby significantly improving the security and transparency of the collaboration of decentralized autonomous organizations.

[0102] A method for verifying permissions of a decentralized autonomous organization is applied to a server, and comprises: receiving a document collaboration transaction initiated by a collaboration initiating terminal; wherein the collaboration initiating terminal is used to receive a collaboration signature application sent by a collaboration applying terminal based on a collaboration identifier, and send a data query request to the server; feeding back user data corresponding to the collaboration applying terminal to the collaboration initiating terminal; wherein the collaboration initiating terminal is further used to feed back a collaboration permission signature to the collaboration applying terminal when the user data passes the review and verification, and the collaboration applying terminal is used to initiate a collaboration permission application to the server based on the collaboration permission signature; performing signature verification on the collaboration permission application, and granting the collaboration applying terminal permission to collaborate on the document collaboration transaction when the collaboration permission application passes the signature verification.

[0103] In one embodiment, the step of performing signature verification on a collaboration permission application includes: obtaining a collaboration random number corresponding to a collaboration application terminal; generating signature structure data based on a collaboration token, applicant address, collaboration type, and collaboration identifier in the collaboration permission application; restoring the signer address based on the collaboration permission application and the signature structure data; if the signer address is consistent with the initiator address corresponding to the collaboration initiating terminal, determining that the collaboration permission application has passed the signature verification.

[0104] In the electronic device provided by the embodiment of the present invention, after the collaboration initiating terminal sends the document collaboration transaction to be collaborated to the server, the collaboration applying terminal can apply to the collaboration initiating terminal for the collaboration permission signature required for participating in the collaboration, and the collaboration initiating terminal will review whether to issue the collaboration permission signature to the collaboration applying terminal. If the collaboration permission signature issued by the collaboration applying terminal is received, the collaboration applying terminal can initiate a collaboration permission application to the server, and the server will perform signature verification on it. After the verification is passed, the collaboration applying terminal will be granted the permission to collaborate on the document collaboration transaction, so that the collaboration applying terminal can collaborate on the document collaboration transaction. In the embodiment of the present invention, the permission of the document collaboration transaction is completely controlled by the collaboration initiating terminal, and other users cannot change the relevant permission data of the document collaboration transaction, thereby significantly improving the security and transparency of the collaboration of decentralized autonomous organizations.

[0105] Figure 8 A structural diagram of an electronic device provided in an embodiment of the present invention, the electronic device 100 includes: a processor 80, a memory 81, a bus 82 and a communication interface 83, wherein the processor 80, the communication interface 83 and the memory 81 are connected via the bus 82; the processor 80 is used to execute an executable module stored in the memory 81, such as a computer program.

[0106] The memory 81 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage. The system network element communicates with at least one other network element via at least one communication interface 83 (which may be wired or wireless), and may utilize the Internet, a wide area network, a local area network, a metropolitan area network, or the like.

[0107] The bus 82 may be an ISA bus, a PCI bus, or an EISA bus. The bus may be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, Figure 8 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0108] Among them, the memory 81 is used to store programs, and the processor 80 executes the program after receiving the execution instruction. The method executed by the device for flow process definition disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 80 or implemented by the processor 80.

[0109] The processor 80 may be an integrated circuit chip with signal processing capabilities. During implementation, the steps of the above-described method may be performed by hardware integrated logic circuits or software instructions within the processor 80. The processor 80 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in conjunction with the embodiments of the present invention may be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules within the decoding processor. The software modules may be located in storage media well-known in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or the like. The storage medium is located in the memory 81 , and the processor 80 reads the information in the memory 81 and completes the steps of the above method in combination with its hardware.

[0110] The computer program product of a readable storage medium provided in an embodiment of the present invention includes a computer-readable storage medium storing program code, wherein the program code includes instructions that can be used to execute:

[0111] A method for verifying permissions of a decentralized autonomous organization is applied to a collaboration initiating terminal, and comprises: sending a document collaboration transaction to be collaborated to a server, so that the server feeds back a collaboration identifier corresponding to the document collaboration transaction; if a collaboration signature application is received from a collaboration application terminal based on the collaboration identifier, sending a data query request to the server, so that the server feeds back user data corresponding to the collaboration application terminal; if the user data passes the review and verification, feeding back a collaboration permission signature to the collaboration application terminal, so that the collaboration application terminal initiates a collaboration permission application to the server based on the collaboration permission signature, and collaborates on the document collaboration transaction when the collaboration permission application passes the signature verification.

[0112] In one embodiment, the step of sending the document collaboration transaction to be collaborated to the server includes: obtaining the collaboration start time, collaboration end time and collaboration details; and initiating the document collaboration transaction to the server based on the collaboration start time, collaboration end time and collaboration details by calling the collaboration contract.

[0113] In one embodiment, the step of feeding back the collaboration permission signature to the collaboration application terminal includes: sending a random number query request to the server to obtain the collaboration random number corresponding to the collaboration application terminal; signing the generated collaboration token, collaboration random number and the applicant address, collaboration type, and collaboration identifier carried by the collaboration signature application to obtain the collaboration permission signature; using the applicant public key carried by the collaboration signature application to encrypt the collaboration token and collaboration permission signature; and feeding back the encrypted collaboration token and collaboration permission signature to the collaboration application terminal.

[0114] The readable storage medium provided by the embodiment of the present invention can be used to review whether to issue a collaboration permission signature to the collaboration application terminal after the collaboration initiating terminal sends the document collaboration transaction to be collaborated to the server. If it is determined that the collaboration permission signature is issued to the collaboration application terminal, the collaboration application terminal can be used to collaborate on the document collaboration transaction after the collaboration permission application initiated by the collaboration application terminal passes the signature verification. In the embodiment of the present invention, the authority of the document collaboration transaction is completely controlled by the collaboration initiating terminal, and other users cannot change the relevant authority data of the document collaboration transaction, thereby significantly improving the security and transparency of the collaboration of decentralized autonomous organizations.

[0115] A method for verifying permissions of a decentralized autonomous organization is applied to a collaboration application terminal, and comprises: obtaining a collaboration identifier corresponding to a document collaboration transaction to be collaborated; based on the collaboration identifier, sending a collaboration signature application to a collaboration initiating terminal corresponding to the document collaboration transaction, so that the collaboration initiating terminal feeds back a collaboration permission signature; based on the collaboration permission signature, initiating a collaboration permission application to a server, so that the server performs signature verification on the collaboration permission application; and when the collaboration permission application passes the signature verification, collaborating on the document collaboration transaction.

[0116] In one embodiment, the step of initiating a collaboration permission application to a server based on a collaboration permission signature includes: receiving an encrypted collaboration token and a collaboration permission signature; decrypting the encrypted collaboration token and collaboration permission signature using the applicant's private key to obtain a decrypted collaboration token and collaboration permission signature; and initiating a collaboration permission application to the server based on the decrypted collaboration token and collaboration permission signature.

[0117] The readable storage medium provided by the embodiment of the present invention, after the collaboration initiating terminal sends the document collaboration transaction to be collaborated to the server, the collaboration applying terminal can apply to the collaboration initiating terminal for the collaboration permission signature required for participating in the collaboration, and the collaboration initiating terminal will review whether to issue the collaboration permission signature to the collaboration applying terminal. If the collaboration permission signature issued by the collaboration applying terminal is received, the collaboration applying terminal can initiate a collaboration permission application to the server, and after it passes the signature verification, use the collaboration applying terminal to collaborate on the document collaboration transaction. In the embodiment of the present invention, the authority of the document collaboration transaction is completely controlled by the collaboration initiating terminal, and other users cannot change the relevant authority data of the document collaboration transaction, thereby significantly improving the security and transparency of the collaboration of decentralized autonomous organizations.

[0118] A method for verifying permissions of a decentralized autonomous organization is applied to a server, and comprises: receiving a document collaboration transaction initiated by a collaboration initiating terminal; wherein the collaboration initiating terminal is used to receive a collaboration signature application sent by a collaboration applying terminal based on a collaboration identifier, and send a data query request to the server; feeding back user data corresponding to the collaboration applying terminal to the collaboration initiating terminal; wherein the collaboration initiating terminal is further used to feed back a collaboration permission signature to the collaboration applying terminal when the user data passes the review and verification, and the collaboration applying terminal is used to initiate a collaboration permission application to the server based on the collaboration permission signature; performing signature verification on the collaboration permission application, and granting the collaboration applying terminal permission to collaborate on the document collaboration transaction when the collaboration permission application passes the signature verification.

[0119] In one embodiment, the step of performing signature verification on a collaboration permission application includes: obtaining a collaboration random number corresponding to a collaboration application terminal; generating signature structure data based on a collaboration token, applicant address, collaboration type, and collaboration identifier in the collaboration permission application; restoring the signer address based on the collaboration permission application and the signature structure data; if the signer address is consistent with the initiator address corresponding to the collaboration initiating terminal, determining that the collaboration permission application has passed the signature verification.

[0120] The scale storage medium provided by the embodiment of the present invention, after the collaboration initiating terminal sends the document collaboration transaction to be collaborated to the server, the collaboration applying terminal can apply to the collaboration initiating terminal for the collaboration permission signature required to participate in the collaboration, and the collaboration initiating terminal will review whether to issue the collaboration permission signature to the collaboration applying terminal. If the collaboration permission signature issued by the collaboration applying terminal is received, the collaboration applying terminal can initiate a collaboration permission application to the server, and the server will perform signature verification on it. After the verification is passed, the collaboration applying terminal will be granted the permission to collaborate on the document collaboration transaction, so that the collaboration applying terminal can collaborate on the document collaboration transaction. In the embodiment of the present invention, the permission of the document collaboration transaction is completely controlled by the collaboration initiating terminal, and other users cannot change the relevant permission data of the document collaboration transaction, thereby significantly improving the security and transparency of the collaboration of decentralized autonomous organizations.

[0121] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0122] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the above-described embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily conceive of changes to the technical solutions described in the above-described embodiments within the technical scope disclosed by the present invention, or replace some of the technical features therein with equivalents. Such modifications, changes, or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of protection of the claims.

Claims

1. A method for verifying the authority of a decentralized autonomous organization, characterized in that: The method is applied to a collaboration initiating terminal, and includes: Sending the document collaboration transaction to be collaborated to the server, so that the server feeds back a collaboration identifier corresponding to the document collaboration transaction; If a collaborative signature application is received from a collaborative application terminal based on the collaborative identifier, a data query request is sent to the server so that the server can feedback user data corresponding to the collaborative application terminal; determining whether the user data satisfies an audit rule, so as to determine that the user data passes the audit verification if the user data satisfies the audit rule; If the user data passes the review and verification, the collaboration permission signature is fed back to the collaboration application terminal, so that the collaboration application terminal initiates a collaboration permission application to the server based on the collaboration permission signature, and collaborates on the document collaboration transaction when the collaboration permission application passes the signature verification.

2. The method according to claim 1, characterized in that The step of sending the document collaboration transaction to be collaborated to the server includes: Get collaboration start time, collaboration end time and collaboration details; By calling the collaboration contract, a document collaboration transaction is initiated to the server based on the collaboration start time, the collaboration end time and the collaboration details.

3. The method according to claim 1, characterized in that The step of feeding back the collaboration permission signature to the collaboration application terminal includes: Sending a random number query request to the server to obtain a collaboration random number corresponding to the collaboration application terminal; Sign the generated collaboration token, the collaboration random number, and the applicant address, collaboration type, and collaboration identifier carried in the collaboration signature application to obtain a collaboration permission signature; Encrypting the collaboration token and the collaboration permission signature using the applicant's public key carried in the collaboration signature application; The encrypted collaboration token and the collaboration authority signature are fed back to the collaboration application terminal.

4. A method for verifying the authority of a decentralized autonomous organization, characterized in that: The method is applied to a collaborative application terminal, and includes: Get the collaboration ID corresponding to the document collaboration transaction to be collaborated; Based on the collaboration identifier, a collaboration signature application is sent to the collaboration initiating terminal corresponding to the document collaboration transaction, so that the collaboration initiating terminal feeds back a collaboration authority signature; Initiate a collaboration permission application to a server based on the collaboration permission signature, so that the server performs signature verification on the collaboration permission application; When the collaboration permission application passes the signature verification, collaboration is performed on the document collaboration transaction.

5. The method according to claim 4, characterized in that The step of initiating a collaboration permission application to the server based on the collaboration permission signature includes: Receiving the encrypted collaboration token and the collaboration permission signature; Decrypting the encrypted collaboration token and the collaboration permission signature using the applicant's private key to obtain the decrypted collaboration token and the collaboration permission signature; Based on the decrypted collaboration token and the collaboration permission signature, a collaboration permission application is initiated to the server.

6. A method for verifying the authority of a decentralized autonomous organization, characterized in that: The method is applied to a server and includes: Receiving a document collaboration transaction initiated by a collaboration initiating terminal; wherein the collaboration initiating terminal is used to receive a collaboration signature application sent by a collaboration applying terminal based on a collaboration identifier, and sending a data query request to the server; Feedback the user data corresponding to the collaboration application terminal to the collaboration initiating terminal; wherein the collaboration initiating terminal is further configured to feed back a collaboration permission signature to the collaboration application terminal when the user data passes the review and verification, and the collaboration application terminal is configured to initiate a collaboration permission application to the server based on the collaboration permission signature; The collaboration permission application is subjected to signature verification, and when the collaboration permission application passes the signature verification, the collaboration application terminal is granted the permission to collaborate on the document collaboration transaction.

7. The method according to claim 6, characterized in that The step of performing signature verification on the collaboration permission application includes: Obtaining a collaboration random number corresponding to the collaboration application terminal; Generate signature structure data according to the collaboration token, applicant address, collaboration type, and collaboration identifier in the collaboration permission application; Recovering the signer address based on the collaboration authority signature and the signature structure data; If the signer address is consistent with the initiator address corresponding to the collaboration initiating terminal, it is determined that the collaboration permission application passes the signature verification.

8. A permission verification device for a decentralized autonomous organization, characterized in that: The device is applied to a collaboration initiating terminal, and includes: A transaction sending module, configured to send a document collaboration transaction to be collaborated to a server, so that the server can feedback a collaboration identifier corresponding to the document collaboration transaction; a request sending module configured to send a data query request to the server upon receiving a collaborative signature application sent by the collaborative application terminal based on the collaborative identifier, so that the server can feedback user data corresponding to the collaborative application terminal; A signature feedback module is used to determine whether the user data meets the audit rules, so as to determine that the user data has passed the audit verification when the user data meets the audit rules; if the user data has passed the audit verification, the collaboration permission signature is fed back to the collaboration application terminal, so that the collaboration application terminal initiates a collaboration permission application to the server based on the collaboration permission signature, and collaborates on the document collaboration transaction when the collaboration permission application passes the signature verification.

9. A permission verification device for a decentralized autonomous organization, characterized in that: The device is applied to a collaborative application terminal, and includes: An identification acquisition module is used to obtain the collaboration identification corresponding to the document collaboration transaction to be collaborated; A signature application module is configured to send a collaboration signature application to a collaboration initiating terminal corresponding to the document collaboration transaction based on the collaboration identifier, so that the collaboration initiating terminal feeds back a collaboration authority signature; A permission application module, configured to initiate a collaboration permission application to a server based on the collaboration permission signature, so that the server performs signature verification on the collaboration permission application; The collaboration module is used to collaborate on the document collaboration transaction when the collaboration permission application passes the signature verification.

10. A permission verification device for a decentralized autonomous organization, characterized in that: The device is applied to a server, and includes: A transaction receiving module, configured to receive a document collaboration transaction initiated by a collaboration initiating terminal; wherein the collaboration initiating terminal is configured to receive a collaboration signature application sent by a collaboration applying terminal based on a collaboration identifier, and to send a data query request to the server; a data feedback module, configured to feed back user data corresponding to the collaboration application terminal to the collaboration initiating terminal; wherein the collaboration initiating terminal is further configured to feed back a collaboration permission signature to the collaboration application terminal when the user data passes review and verification, and the collaboration application terminal is configured to initiate a collaboration permission application to the server based on the collaboration permission signature; The signature verification module is used to perform signature verification on the collaboration permission application, and when the collaboration permission application passes the signature verification, grant the collaboration application terminal the permission to collaborate on the document collaboration transaction.

11. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-executable instructions that can be executed by the processor, and the processor executes the computer-executable instructions to implement the method according to any one of claims 1 to 3, or executes the computer-executable instructions to implement the method according to any one of claims 4 to 5, or executes the computer-executable instructions to implement the method according to any one of claims 6 to 7.

12. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by the processor, the computer-executable instructions prompt the processor to implement the method described in any one of claims 1 to 3, or prompt the processor to implement the method described in any one of claims 4 to 5, or prompt the processor to implement the method described in any one of claims 6 to 7.

Citation Information

Patent Citations

  • Method, device and equipment for collaboration in block chain and storage medium

    CN115442049A