A method and system for project division of labor and collaboration based on blockchain technology
Through the project division of labor and collaboration method based on blockchain technology, the problems of data collaborative application and security balance in the digital economy are solved, and effective protection and balanced utilization of collaborative content are achieved.
Patent Information
- Application Number
- CN202310111312.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-09
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2043-02-09
AI Technical Summary
Under the trend of the digital economy, it is difficult for existing technologies to effectively realize data collaborative application and achieve a balance between data security and development and utilization.
Using a project division of labor and collaboration method based on blockchain technology, the project private key is obtained through the management side, the collaboration private key is generated, and it is sent to the collaboration side. The collaboration end completes the collaboration content and saves it to the blockchain smart contract end as evidence storage. The blockchain smart contract end performs recovery verification and hashing operations, and certifies the hash value through the project private key encryption.
It realizes the method of collaborative project completion based on blockchain, and at the same time, the collaborative content is effectively protected through blockchain technology, ensuring the balance between data security and development and utilization.
Smart Images

Figure CN116318709B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of blockchain technology, and in particular, relates to a method and system for project division of labor and collaboration based on blockchain technology. Background Art
[0002] Under the trend of digital economy, data collaboration has become an indispensable link. Effective technology and business model innovation are urgently needed to realize data collaborative application and achieve a balance between data security and data development and utilization. Blockchain technology will become a key technical fulcrum for balancing data security and application development. Summary of the invention
[0003] The main purpose of the embodiments of the present invention is to provide a method and system for project division of labor and collaboration based on blockchain technology, which realizes a way to complete projects through collaboration based on blockchain, and effectively protects the collaboration content through blockchain technology.
[0004] In a first aspect, a method for project division of labor and collaboration based on blockchain technology is provided, the method comprising:
[0005] The management end of the project to be collaborated obtains a project private key associated with the project to be collaborated;
[0006] The management end generates at least one collaborative private key related to the project private key according to a preset private key algorithm, and sends the at least one collaborative private key to at least one collaborative end;
[0007] The collaboration end completes the collaboration content related to the project to be collaborated, and saves the collaboration content and the collaboration private key to the blockchain smart contract end as evidence;
[0008] When receiving all the collaboration content, the blockchain smart contract terminal performs recovery verification on the collaboration private key;
[0009] When the recovery verification is passed, the blockchain smart contract terminal performs a hash operation on all the collaboration contents through a preset Merkle tree algorithm to obtain a hash value;
[0010] The blockchain smart contract end encrypts the hash value through the project private key and stores it as evidence.
[0011] In one possible implementation, the blockchain smart contract end determines whether the collaboration content has been received by determining the number of received project private keys.
[0012] In another possible implementation, the blockchain smart contract terminal determines whether the collaboration content has been received by determining the number of received project private keys, including:
[0013] If the number of the received project private keys is the same as that sent, then all collaborative content reception is completed.
[0014] In another possible implementation, the recovery verification is implemented by the following formula: Substitute the collaborative private key into the recovery formula, reconstruct the recovery formula, and determine whether f(0) is equal to the project private key. If so, the recovery verification passes.
[0015] In another possible implementation, the method further includes:
[0016] When using the entire collaborative content, use the client to perform hash calculation on the access address of the entire collaborative content to obtain an access hash value, and build a root hash value through the Merkle tree algorithm, compare the access hash value and the root hash value with the blockchain system, and when the comparison is the same, use the entire collaborative content.
[0017] In the second aspect, a system for project division of labor and collaboration based on blockchain technology is provided, the system comprising:
[0018] The management terminal is used to obtain a project private key associated with the to-be-coordinated project, generate at least one collaborative private key related to the project private key according to a preset private key algorithm, and send the at least one collaborative private key to at least one collaborative terminal;
[0019] The collaboration end is used to complete the collaboration content related to the project to be collaborated, and save the collaboration content and collaboration private key to the blockchain smart contract end as evidence;
[0020] The blockchain smart contract end is used to perform recovery verification on the collaboration private key when all the collaboration content is received. If the recovery verification passes, a hash operation is performed on the entire collaboration content through a preset Merkle tree algorithm to obtain a hash value, and the hash value is encrypted and stored through the project private key.
[0021] In one possible implementation, the blockchain smart contract end determines whether the collaboration content has been received by determining the number of received project private keys.
[0022] In another possible implementation, the blockchain smart contract terminal determines whether the collaboration content has been received by determining the number of received project private keys, including:
[0023] If the number of the received project private keys is the same as that sent, then the reception of all collaborative contents is completed.
[0024] In another possible implementation, the recovery verification is implemented by the following formula: Substitute the collaborative private key into the recovery formula, reconstruct the recovery formula, and determine whether f(0) is equal to the project private key. If so, the recovery verification passes.
[0025] In another possible implementation, the method further includes:
[0026] When using the entire collaborative content, use the client to perform hash calculation on the access address of the entire collaborative content to obtain an access hash value, and build a root hash value through the Merkle tree algorithm, compare the access hash value and the root hash value with the blockchain system, and when the comparison is the same, use the entire collaborative content. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in describing the embodiments of the present application.
[0028] Figure 1 A flowchart of a method for project division of labor and collaboration based on blockchain technology provided by one embodiment of the present invention;
[0029] Figure 2 A structural diagram of a system for project division of labor and collaboration based on blockchain technology provided for one embodiment of the present invention.
[0030] Specific implementation method
[0031] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar modules or modules with the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present invention.
[0032] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, modules and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, modules, components and / or groups thereof. It should be understood that when we refer to a module as being "connected" or "coupled" to another module, it may be directly connected or coupled to the other modules, or there may be intermediate modules. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any modules and all combinations of one or more associated listed items.
[0033] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation method of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0034] The technical solution of the present application and how to solve the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0035] like Figure 1 The flowchart of a method for project division of labor and collaboration based on blockchain technology provided by one embodiment of the present invention is shown, and the method includes:
[0036] Step 101, the management end of the project to be collaborated obtains a project private key associated with the project to be collaborated;
[0037] Step 102, the management end generates at least one collaborative private key related to the project private key according to a preset private key algorithm, and sends the at least one collaborative private key to at least one collaborative end;
[0038] Step 103, the collaboration end completes the collaboration content related to the project to be collaborated, and saves the collaboration content and the collaboration private key to the blockchain smart contract end as evidence;
[0039] Step 104, when receiving all the collaboration content, the blockchain smart contract terminal performs recovery verification on the collaboration private key;
[0040] Step 105: When the recovery verification is passed, the blockchain smart contract terminal performs a hash operation on all the collaboration contents through a preset Merkle tree algorithm to obtain a hash value;
[0041] Step 106: The blockchain smart contract end encrypts the hash value using the project private key and stores the evidence.
[0042] In the embodiment of the present invention, after the blockchain system used by the collaborative project is initialized, the management end registers the collaborative project and obtains the project private key associated with the collaborative project generated by the blockchain system. Since multiple parties need to collaborate to process the project, the management end uses the algorithm f(x)=a m-1 x m-1 +…+a1x+a0modp, specifically, where f(x) is the collaborative private key, a random prime number p is selected, a random m-1 degree polynomial is generated, and m-1 numbers are randomly selected in the finite field from 1 to p, denoted as a1, a2, ..., a m-1, as the coefficient of the non-constant term of the m-1 degree polynomial f(x), when a0=s k When , we can get f(0) = a0. The management end sends the generated collaboration private key to the collaboration end of the project. The collaboration end completes the collaboration content related to the project to be collaborated, and sends the collaboration content to the blockchain smart contract end. After receiving all the collaboration content, the blockchain smart contract end uses the preset recovery algorithm to restore multiple scattered collaboration contents to all the collaboration content. The blockchain smart contract end uses the preset Merkle tree algorithm to perform hash operations on all the collaboration content to obtain the hash value, and encrypts the hash value with the project private key for evidence storage.
[0043] Among them, the blockchain smart contract end determines whether the collaboration content has been received by judging the number of received project private keys.
[0044] The blockchain smart contract terminal determines whether the collaboration content has been received by determining the number of received project private keys, including:
[0045] If the number of the received project private keys is the same as that sent, then the reception of all collaborative contents is completed.
[0046] Among them, the recovery verification is achieved by the following formula Substitute the collaborative private key into the recovery formula, reconstruct the recovery formula, and determine whether f(0) is equal to the project private key. If so, the recovery verification passes.
[0047] As an optional embodiment of the present invention, the method further includes:
[0048] When using the entire collaborative content, use the client to perform hash calculation on the access address of the entire collaborative content to obtain an access hash value, and build a root hash value through the Merkle tree algorithm, compare the access hash value and the root hash value with the blockchain system, and when the comparison is the same, use the entire collaborative content.
[0049] In an embodiment of the present invention, the management end of the project to be collaborated obtains the project private key associated with the project to be collaborated; the management end generates at least one collaborative private key related to the project private key according to a preset private key algorithm, and sends the at least one collaborative private key to at least one collaborative end; the collaborative end completes the collaborative content related to the project to be collaborated, and saves the collaborative content and the collaborative private key to the blockchain smart contract end as evidence; when the blockchain smart contract end receives all the collaborative content, it performs recovery verification on the collaborative private key; when the recovery verification passes, the blockchain smart contract end performs hash operation on the entire collaborative content through a preset Merkle tree algorithm to obtain a hash value; the blockchain smart contract end encrypts the hash value through the project private key and stores it as evidence. A method of completing a project through collaboration based on blockchain is realized, and the collaborative content is effectively protected through blockchain technology.
[0050] like Figure 2 The figure shows a structural diagram of a system for project division of labor and collaboration based on blockchain technology provided by an embodiment of the present invention, wherein the system includes:
[0051] The management terminal 201 is used to obtain a project private key associated with the to-be-coordinated project, generate at least one collaborative private key associated with the project private key according to a preset private key algorithm, and send the at least one collaborative private key to at least one collaborative terminal;
[0052] The collaboration terminal 202 is used to complete the collaboration content related to the project to be collaborated, and save the collaboration content and the collaboration private key to the blockchain smart contract terminal as evidence;
[0053] The blockchain smart contract terminal 203 is used to perform recovery verification on the collaboration private key when all the collaboration content is received. If the recovery verification passes, a hash operation is performed on the entire collaboration content using a preset Merkle tree algorithm to obtain a hash value, and the hash value is encrypted and stored using the project private key.
[0054] In the embodiment of the present invention, after the blockchain system used by the collaborative project is initialized, the management end registers the collaborative project and obtains the project private key associated with the collaborative project generated by the blockchain system. Since multiple parties need to collaborate to process the project, the management end uses the algorithm f(x)=a m-1 x m-1 +…+a1x+a0modp, specifically, where f(x) is the collaborative private key, a random prime number p is selected, a random m-1 degree polynomial is generated, and m-1 numbers are randomly selected in the finite field from 1 to p, denoted as a1, a2, ..., a m-1 , as the coefficient of the non-constant term of the m-1 degree polynomial f(x), when a0=sk When , we can get f(0) = a0. The management end sends the generated collaboration private key to the collaboration end of the project. The collaboration end completes the collaboration content related to the project to be collaborated, and sends the collaboration content to the blockchain smart contract end. After receiving all the collaboration content, the blockchain smart contract end uses the preset recovery algorithm to restore multiple scattered collaboration contents to all the collaboration content. The blockchain smart contract end uses the preset Merkle tree algorithm to perform hash operations on all the collaboration content to obtain the hash value, and encrypts the hash value with the project private key for evidence storage.
[0055] Among them, the blockchain smart contract end determines whether the collaboration content has been received by judging the number of received project private keys.
[0056] The blockchain smart contract terminal determines whether the collaboration content has been received by determining the number of received project private keys, including:
[0057] If the number of the received project private keys is the same as that sent, then all collaborative content reception is completed.
[0058] Among them, the recovery verification is achieved by the following formula Substitute the collaborative private key into the recovery formula, reconstruct the recovery formula, and determine whether f(0) is equal to the project private key. If so, the recovery verification is successful.
[0059] As an optional embodiment of the present invention, the method further includes:
[0060] When using the entire collaborative content, use the client to perform hash calculation on the access address of the entire collaborative content to obtain an access hash value, and build a root hash value through the Merkle tree algorithm, compare the access hash value and the root hash value with the blockchain system, and when the comparison is the same, use the entire collaborative content.
[0061] In an embodiment of the present invention, the management end of the project to be collaborated obtains the project private key associated with the project to be collaborated; the management end generates at least one collaborative private key related to the project private key according to a preset private key algorithm, and sends the at least one collaborative private key to at least one collaborative end; the collaborative end completes the collaborative content related to the project to be collaborated, and saves the collaborative content and the collaborative private key to the blockchain smart contract end as evidence; when the blockchain smart contract end receives all the collaborative content, it performs recovery verification on the collaborative private key; when the recovery verification passes, the blockchain smart contract end performs hash operation on the entire collaborative content through a preset Merkle tree algorithm to obtain a hash value; the blockchain smart contract end encrypts the hash value through the project private key and stores it as evidence. A method of completing a project through collaboration based on blockchain is realized, and the collaborative content is effectively protected through blockchain technology.
[0062] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0063] The above is only a partial implementation of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for project division of labor and collaboration based on blockchain technology, characterized in that: The method comprises: The management end of the project to be collaborated obtains a project private key associated with the project to be collaborated; The management end generates at least one collaborative private key related to the project private key according to a preset private key algorithm, and sends the at least one collaborative private key to at least one collaborative end; The collaboration end completes the collaboration content related to the project to be collaborated, and saves the collaboration content and the collaboration private key to the blockchain smart contract end as evidence; When receiving all the collaboration content, the blockchain smart contract terminal performs recovery verification on the collaboration private key; When the recovery verification is passed, the blockchain smart contract terminal performs a hash operation on all the collaboration contents through a preset Merkle tree algorithm to obtain a hash value; The blockchain smart contract end encrypts the hash value through the project private key and stores it as evidence; The recovery verification of the collaborative private key includes: substituting the collaborative private key into a recovery formula, reconstructing the recovery formula, and determining whether the reconstructed collaborative private key is equal to the project private key. If so, the recovery verification passes.
2. The method according to claim 1, characterized in that The blockchain smart contract end determines whether the collaboration content has been received by determining the number of received project private keys.
3. The method according to claim 2, characterized in that The blockchain smart contract terminal determines whether the collaboration content has been received by determining the number of received project private keys, including: If the number of the received project private keys is the same as that sent, then all collaborative content reception is completed.
4. The method according to claim 1, characterized in that The method further comprises: When using the entire collaborative content, use the client to perform hash calculation on the access address of the entire collaborative content to obtain an access hash value, and build a root hash value through the Merkle tree algorithm, compare the access hash value and the root hash value with the blockchain system, and when the comparison is the same, use the entire collaborative content.
5. A project division of labor and collaboration system based on blockchain technology, characterized in that: The system comprises: The management terminal is used to obtain a project private key associated with the to-be-coordinated project, generate at least one collaborative private key related to the project private key according to a preset private key algorithm, and send the at least one collaborative private key to at least one collaborative terminal; The collaboration end is used to complete the collaboration content related to the project to be collaborated, and save the collaboration content and collaboration private key to the blockchain smart contract end as evidence; The blockchain smart contract end is used to perform recovery verification on the collaboration private key when all collaboration contents are received. If the recovery verification passes, a hash operation is performed on all collaboration contents using a preset Merkle tree algorithm to obtain a hash value, and the hash value is encrypted and stored using the project private key; The recovery verification of the collaborative private key includes: substituting the collaborative private key into a recovery formula, reconstructing the recovery formula, and determining whether the reconstructed collaborative private key is equal to the project private key. If so, the recovery verification passes.
6. The system according to claim 5, characterized in that The blockchain smart contract end determines whether the collaboration content has been received by determining the number of received project private keys.
7. The system according to claim 6, characterized in that The blockchain smart contract terminal determines whether the collaboration content has been received by determining the number of received project private keys, including: If the number of the received project private keys is the same as that sent, then the reception of all collaborative contents is completed.
8. The system according to claim 5, characterized in that The system further comprises: When using the entire collaborative content, use the client to perform hash calculation on the access address of the entire collaborative content to obtain an access hash value, and build a root hash value through the Merkle tree algorithm, compare the access hash value and the root hash value with the blockchain system, and when the comparison is the same, use the entire collaborative content.
Citation Information
Patent Citations
Irreversible dynamic failure rechecking and reconstruction block chain encryption method
CN110149322A
Blockchain key management method, multi-person common signature method and electronic device
CN111639361A