A research and development data management method and related device based on blockchain technology

Through blockchain technology, a distributed light node and full node network architecture is built, and smart contract programs and hash encryption processing are used to solve the security risks in existing R&D data management, realizing data security management and permission authentication.

CN120197224BActive Publication Date: 2025-07-29HUNAN SCI RES CLOUD INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510688022.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-05-27
Publication Date
2025-07-29
Estimated Expiration
2045-05-27

AI Technical Summary

Technical Problem

The existing R&D data management methods have security risks, which are prone to tampering or data leakage, and cannot effectively protect the integrity and privacy of data.

Method used

Blockchain technology is used to build a network architecture of distributed light nodes and full nodes. Through smart contract programs and hash encryption processing, user permissions are verified and hash values are generated to ensure the security of data management operations.

Benefits of technology

It realizes the security management of R&D data, prevents unauthorized users from viewing or tampering, and ensures the integrity and privacy of the data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120197224B_ABST
    Figure CN120197224B_ABST
Patent Text Reader

Abstract

The present invention discloses a research and development data management method and related device based on blockchain technology. The method includes: obtaining the R & D terminal IP corresponding to the local area network within the enterprise, and setting a plurality of distributed light nodes according to the R & D terminal IP; when any one of the distributed light nodes receives a research and development data management request, the distributed light node generates request verification data and uploads the request verification data to the full node; converting the request verification data into a first hash value within the full node, and performing verification processing using the first hash value to generate a verification result; if the verification is passed, allowing the operating user to perform management operations on the research and development data stored in a number of distributed light nodes; if the verification fails, the full node rejects the research and development data management request and broadcasts the rejection information to each distributed light node. In the embodiment of the present invention, the security of research and development data can be guaranteed, and unauthorized persons can be prevented from viewing and tampering with it.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data management, and in particular to a research and development data management method and related devices based on blockchain technology. Background Art

[0002] With the rapid development of technology, the amount of data generated by enterprises and organizations in their daily operations is also becoming increasingly huge; and these research and development data not only include the company's operation conditions and customer information, but also cover experimental data, market research data, user feedback data, etc. during the product research and development process; in order to better utilize these data to create value for the enterprise, research and development data management is particularly important.

[0003] The existing management methods generally establish a unified database to store the scattered data together for the convenience of use and analysis by R & D personnel; however, directly storing in the database may have corresponding security risks, such as being easily tampered with or data leakage. Summary of the Invention

[0004] The purpose of the present invention is to overcome the deficiencies of the prior art. The present invention provides a research and development data management method and related devices based on blockchain technology, which can ensure the security of research and development data and prevent unauthorized people from viewing and tampering.

[0005] To solve the above technical problems, an embodiment of the present invention provides a research and development data management method based on blockchain technology, which is applied to the research and development data management of an enterprise. The server of the enterprise is used as a full node of the blockchain network, and a smart contract program is deployed inside the blockchain network. The method includes:

[0006] Obtain the R & D terminal IP corresponding to the local area network within the enterprise, and set a plurality of distributed light nodes according to the R & D terminal IP, and each distributed light node is associated with the corresponding R & D terminal IP;

[0007] When any one of the distributed light nodes receives a research and development data management request sent by an operating user from a research and development terminal corresponding to the associated R & D terminal IP, the distributed light node generates request verification data based on the research and development data management request, and uploads the request verification data to the full node. The research and development data management request includes a research and development data viewing request and / or a research and development data update and storage request;

[0008] Call the smart contract program in the full node to convert the request verification data into a first hash value, and use the first hash value for verification processing to generate a verification result;

[0009] If the verification result is passed, the operating user is allowed to perform management operations on the R & D data stored in several distributed light nodes on the R & D terminal corresponding to the R & D terminal IP. The management operations include R & D data viewing and / or R & D data update storage;

[0010] If the verification result is not passed, the full node will reject the R & D data management request and broadcast the rejection information to each distributed light node.

[0011] Optionally, obtaining the R & D terminal IP corresponding to the local area network within the enterprise and setting up multiple distributed light nodes according to the R & D terminal IP, and each distributed light node is associated with the corresponding R & D terminal IP, includes:

[0012] Assign a fixed R & D terminal IP to each R & D terminal in the local area network within the enterprise, and obtain the R & D terminal IP corresponding to each R & D terminal through the local area network;

[0013] The blockchain network sets up multiple distributed light nodes according to the R & D terminal IP, and makes each distributed light node associated with one R & D terminal IP;

[0014] After each distributed light node is associated with one R & D terminal IP, the R & D terminal corresponding to the R & D terminal IP uploads the R & D data it stores to the associated distributed light node for storage.

[0015] Optionally, the distributed light node generates request verification data based on the R & D data management request and uploads the request verification data to the full node, including:

[0016] The distributed light node extracts the user permission information in the R & D data management request and the R & D terminal IP corresponding to the R & D terminal where it is located;

[0017] Perform encryption processing based on the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located, and generate request verification data according to the encryption result;

[0018] The distributed light node uploads the request verification data to the full node.

[0019] Optionally, performing encryption processing based on the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located, and generating request verification data according to the encryption result, includes:

[0020] The distributed light node calls a preset symmetric encryption algorithm to perform encryption processing on the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located to form the encryption result;

[0021] After the distributed light node encrypts the symmetric key corresponding to the symmetric encryption algorithm by using the homomorphic encryption algorithm, data encapsulation processing is performed on the encryption result according to a preset format to form the request verification data.

[0022] Optionally, calling the smart contract program in the full node to convert the request verification data into a first hash value, and performing verification processing by using the first hash value to generate a verification result includes:

[0023] The full node extracts the encryption result and the homomorphic encrypted symmetric key in the request verification data, and performs homomorphic decryption operation processing on the encryption result by using the homomorphic encrypted symmetric key to convert the encryption result into a homomorphic ciphertext of homomorphic encryption;

[0024] The full node calls the smart contract program, and performs hash encryption processing on the homomorphic ciphertext by using the hash encryption function in the smart contract program to generate the first hash value;

[0025] One-to-one matching verification processing is performed by using the first hash value and a plurality of retained hash values stored in the full node to generate a verification result.

[0026] Optionally, allowing the operating user to perform management operations on the R & D data stored in a plurality of distributed light nodes on the R & D terminal corresponding to the R & D terminal IP includes:

[0027] Allowing the operating user to perform management operations on the R & D data stored in a plurality of distributed light nodes according to the management operation permissions for the R & D data on the R & D terminal corresponding to the R & D terminal IP.

[0028] Optionally, the management operation permission is the permission for the operating user to view and update the storage of the R & D data stored in the distributed light nodes managed by the R & D terminal IP, and the permission to view the R & D data stored in other distributed light nodes.

[0029] In addition, an embodiment of the present invention further provides a device for managing R & D data based on blockchain technology, which is applied to the management of R & D data of an enterprise. The server of the enterprise is used as a full node of the blockchain network, and a smart contract program is deployed inside the blockchain network. The device includes:

[0030] A setting module: used to obtain the R & D terminal IP corresponding to the local area network inside the enterprise, and set a plurality of distributed light nodes according to the R & D terminal IP, and each distributed light node is associated with the corresponding R & D terminal IP;

[0031] Request generation module: When any distributed light node receives a R & D data management request sent by an operating user from a R & D terminal corresponding to the associated R & D terminal IP, the distributed light node generates request verification data based on the R & D data management request and uploads the request verification data to the full node. The R & D data management request includes a R & D data viewing request and / or a R & D data update and storage request;

[0032] Verification processing module: Used to call the intelligent contract program in the full node to convert the request verification data into a first hash value and perform verification processing using the first hash value to generate a verification result;

[0033] Management operation module: If the verification result is verification passed, it is used to allow the operating user to perform management operations on the R & D data stored in several distributed light nodes on the R & D terminal corresponding to the R & D terminal IP. The management operations include R & D data viewing and / or R & D data update and storage;

[0034] Rejection module: If the verification result is verification failed, the full node will reject the R & D data management request and broadcast the rejection information to each distributed light node.

[0035] In addition, an embodiment of the present invention further provides an electronic device, including a processor and a memory. The processor runs a computer program or code stored in the memory to implement the R & D data management method as described in any one of the above.

[0036] In addition, an embodiment of the present invention further provides a computer-readable storage medium for storing a computer program or code. When the computer program or code is executed by a processor, the R & D data management method as described in any one of the above is implemented.

[0037] In an embodiment of the present invention, the R & D terminal IP corresponding to the local area network within the enterprise is obtained, and a plurality of distributed light nodes are set according to the R & D terminal IP; when any one of the distributed light nodes receives a R & D data management request, the distributed light node generates request verification data and uploads the request verification data to the full node; in the full node, the request verification data is converted into a first hash value, and verification processing is performed using the first hash value to generate a verification result; if the verification is passed, the operating user is allowed to manage the R & D data stored in several distributed light nodes; if the verification fails, the full node will reject the R & D data management request and broadcast the rejection information to each distributed light node; realizing the management of R & D data using blockchain technology, thereby ensuring the security of R & D data in management, implementing authentication based on the permissions of the operating user, and effectively preventing the theft of the user's permission authentication and the impersonation of unauthorized persons to view or tamper with R & D data. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0039] Figure 1 is a schematic flowchart of a method for managing R & D data based on blockchain technology in an embodiment of the present invention;

[0040] Figure 2 is a schematic flowchart of a method for managing R & D data based on blockchain technology in another embodiment of the present invention;

[0041] Figure 3 is a schematic structural composition diagram of a device for managing R & D data based on blockchain technology in an embodiment of the present invention;

[0042] Figure 4 is a schematic structural composition diagram of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0043] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.

[0044] Example 1, please refer to Figure 1 ,Figure 1 It is a schematic flowchart of a research and development data management method based on blockchain technology in an embodiment of the present invention.

[0045] As Figure 1 shown, a research and development data management method based on blockchain technology is applied to the research and development data management of an enterprise. The server of the enterprise is used as a full node of the blockchain network, and a smart contract program is deployed inside the blockchain network. The method includes:

[0046] S101: Obtain the R & D terminal IP corresponding to the local area network within the enterprise, and set a plurality of distributed light nodes according to the R & D terminal IP, and each distributed light node is associated with the corresponding R & D terminal IP;

[0047] In the specific implementation process of the present invention, the obtaining of the R & D terminal IP corresponding to the local area network within the enterprise, setting a plurality of distributed light nodes according to the R & D terminal IP, and each distributed light node being associated with the corresponding R & D terminal IP includes: allocating a fixed R & D terminal IP for each R & D terminal in the local area network within the enterprise, and obtaining the R & D terminal IP corresponding to each R & D terminal through the local area network; the blockchain network sets a plurality of distributed light nodes according to the R & D terminal IP, and makes each distributed light node associated with one R & D terminal IP; after each distributed light node is associated with one R & D terminal IP, the R & D terminal corresponding to the R & D terminal IP uploads the stored R & D data to the associated corresponding distributed light node for storage.

[0048] Specifically, first, a blockchain network needs to be constructed. At this time, a blockchain network needs to be established in the form of taking the enterprise's server as the central node and the R & D terminals as nodes, that is, deploying a full node of the blockchain network on the enterprise's server, and deploying a smart contract program inside the blockchain network. The smart contract program stores the corresponding hash encryption function in memory, and at the same time, the corresponding distributed light nodes in the blockchain network need to be constructed; this needs to be achieved through the enterprise's internal local area network.

[0049] That is, in the enterprise's internal local area network, a fixed R & D terminal IP is allocated to each corresponding R & D terminal. Such an R & D terminal IP is a fixed IP of the local area network. Within the local area network, after the R & D terminal IP corresponding to each R & D terminal is allocated, it is fixed and unchanged; at this time, only the R & D terminal IP corresponding to each R & D terminal needs to be obtained through the local area network.

[0050] After obtaining the R & D terminal IP corresponding to each R & D terminal, use the blockchain network to set a corresponding number of distributed light nodes according to the number of R & D terminal IPs; at the same time, it is necessary to make each of the multiple distributed light nodes associated with an R & D terminal IP; and after each distributed light node is associated with an R & D terminal IP, then, the R & D terminal corresponding to this R & D terminal IP will need to upload all the R & D data it stores to the associated corresponding distributed light node for storage; in this way, it is possible to store the R & D data generated in each R & D terminal in the corresponding distributed light node in the blockchain network; thus ensuring the storage security of the R & D data.

[0051] S102: When any one of the distributed light nodes receives a R & D data management request sent by an operating user from the R & D terminal corresponding to the associated R & D terminal IP, the distributed light node generates request verification data based on the R & D data management request and uploads the request verification data to the full node. The R & D data management request includes a R & D data viewing request and / or a R & D data update storage request;

[0052] In the specific implementation process of the present invention, the distributed light node generates request verification data based on the R & D data management request and uploads the request verification data to the full node, including: the distributed light node extracts the user permission information in the R & D data management request and the R & D terminal IP corresponding to the R & D terminal where it is located; performs encryption processing based on the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located, and generates request verification data according to the encryption result; the distributed light node uploads the request verification data to the full node.

[0053] Further, the performing encryption processing based on the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located, and generating request verification data according to the encryption result, includes: the distributed light node calls a preset symmetric encryption algorithm to perform encryption processing on the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located to form the encryption result; the distributed light node encrypts the symmetric key corresponding to the symmetric encryption algorithm using a homomorphic encryption algorithm, and then performs data encapsulation processing with the encryption result according to a preset format to form the request verification data.

[0054] Specifically, when any one of the distributed light nodes receives a R & D data management request sent by an operating user from the R & D terminal corresponding to the associated R & D terminal IP, in order to ensure the security of the R & D data management operation, and prevent the theft of permissions, or malicious attacks and tampering with the R & D data.

[0055] At this time, the distributed node needs to extract the user permission information and the R & D terminal IP corresponding to the R & D terminal from the received R & D data management request, so as to extract the user permission information in the R & D data management request and the R & D terminal IP corresponding to the R & D terminal where it is located; moreover, in ensuring the security of data transmission, first, it is necessary to perform corresponding encryption processing on the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located, and after the encryption processing, generate request verification data through the encryption result, and finally the distributed light node uploads the request verification data to the full node.

[0056] Specific encryption process: A symmetric encryption algorithm is built into the distributed light node, and the symmetric encryption algorithm is called to encrypt the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located to form an encryption result. Then, for the symmetric key corresponding to the symmetric encryption algorithm, corresponding encryption processing also needs to be performed. At this time, the homomorphic encryption algorithm is called to perform homomorphic encryption processing on the symmetric key corresponding to the symmetric encryption algorithm, encrypt the symmetric key, and encapsulate the encrypted symmetric key and the encryption result in a preset format to form request verification data. Finally, the distributed light node uploads the request verification data to the full node.

[0057] The above uses the symmetric encryption algorithm to encrypt the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located, which is to ensure that the user permission information and the R & D terminal IP are not leaked and prevent information from being stolen; at the same time, using the homomorphic encryption algorithm to encrypt the symmetric key corresponding to the symmetric encryption algorithm can ensure that even if the data is stolen during the data transmission process, it will not cause the data to be decrypted and leaked; thus, double insurance is achieved and a higher data security level is reached.

[0058] S103: Call the intelligent contract program in the full node to convert the request verification data into a first hash value, and use the first hash value to perform verification processing to generate a verification result;

[0059] In the specific implementation process of the present invention, the step of calling the intelligent contract program in the full node to convert the request verification data into a first hash value and using the first hash value to perform verification processing to generate a verification result includes: The full node extracts the encryption result and the homomorphically encrypted symmetric key in the request verification data, and uses the homomorphically encrypted symmetric key to perform a homomorphic decryption operation on the encryption result to convert the encryption result into a homomorphic ciphertext of homomorphic encryption; The full node calls the intelligent contract program and uses the hash encryption function in the intelligent contract program to perform hash encryption processing on the homomorphic ciphertext to generate the first hash value; Use the first hash value to perform a one-to-one matching verification process with a number of retained hash values stored in the full node to generate a verification result.

[0060] Specifically, after the full node receives the request verification data, in order to ensure the privacy of the request verification data, it is not necessary to decrypt the request verification data into plaintext, but only need to perform a homomorphic decryption operation. That is, the full node extracts the encrypted result and the symmetric key of the homomorphic encryption in the request verification data, and then performs a homomorphic decryption operation on the encrypted result using the symmetric key of the homomorphic encryption, and converts the encrypted result into a homomorphic ciphertext of the homomorphic encryption. At this time, the full node only needs to call the smart contract program, and then the smart contract program can use the hash encryption function therein to perform a hash encryption process on the homomorphic ciphertext, thereby generating a first hash value. Finally, by using the first hash value to perform a one-to-one matching verification process with a number of retained hash values stored in the full node, a verification result can be generated.

[0061] S104: Determine whether the verification result is verification passed; and jump to S105 or S106 according to the judgment result.

[0062] S105: When the verification result is verification passed, allow the operating user to perform management operations on the R & D data stored in a number of distributed light nodes on the R & D terminal corresponding to the R & D terminal IP, and the management operations include R & D data viewing and / or R & D data update storage;

[0063] In the specific implementation process of the present invention, the allowing the operating user to perform management operations on the R & D data stored in a number of distributed light nodes on the R & D terminal corresponding to the R & D terminal IP includes: allowing the operating user to perform management operations on the R & D data stored in a number of distributed light nodes on the R & D terminal corresponding to the R & D terminal IP according to the management operation authority for the R & D data.

[0064] Specifically, when it is determined that the verification result is verification passed, at this time, it is allowed for the operating user to perform corresponding operations on the R & D terminal corresponding to the R & D terminal IP; that is, allowing the operating user to perform management operations on the R & D data stored in a number of distributed light nodes on the R & D terminal corresponding to the R & D terminal IP according to the management operation authority for the R & D data. Here, the management operation authority is the authority for the operating user to be allowed to view and update the storage of the R & D data stored in the distributed light nodes managed by the R & D terminal IP, and the authority to view the R & D data stored in other distributed light nodes.

[0065] This can ensure that the corresponding R & D personnel can view and analyze the R & D data with permissions or modify and update some R & D data with modification and update permissions.

[0066] S106: When the verification result is that the verification fails, the full node will reject the R & D data management request and broadcast the rejection information to each distributed light node.

[0067] In the specific implementation process of the present invention, when the judgment result is that the verification fails, at this time, the blockchain network needs to reject the R & D data management request, that is, the full node rejects the R & D data management request and broadcasts the rejection information to each distributed light node; in this way, the operating user will not be able to access the R & D data in any distributed light node and cannot perform management operations on these R & D data.

[0068] In the embodiment of the present invention, by obtaining the R & D terminal IP corresponding to the local area network within the enterprise and setting multiple distributed light nodes according to the R & D terminal IP; when any distributed light node receives an R & D data management request, the distributed light node generates request verification data and uploads the request verification data to the full node; in the full node, the request verification data is converted into a first hash value, and the verification process is performed using the first hash value to generate a verification result; if the verification is passed, the operating user is allowed to perform management operations on the R & D data stored in several distributed light nodes; if the verification fails, the full node will reject the R & D data management request and broadcast the rejection information to each distributed light node; realizing the management of R & D data using blockchain technology, thereby ensuring the security of R & D data in management, implementing authentication based on the permissions of the operating user, and effectively preventing the theft of the user's permission authentication and the impersonation of unauthorized persons to view or tamper with R & D data.

[0069] Embodiment 2, please refer to Figure 2 , Figure 2 is a schematic flowchart of a method for managing R & D data based on blockchain technology in another embodiment of the present invention.

[0070] As Figure 2 shown, a method for managing R & D data based on blockchain technology is applied to the R & D data management of an enterprise. The server of the enterprise is used as the full node of the blockchain network, and a smart contract program is deployed inside the blockchain network. The method includes:

[0071] S201: Obtain the R & D terminal IP corresponding to the local area network within the enterprise, and set multiple distributed light nodes according to the R & D terminal IP, and each distributed light node is associated with the corresponding R & D terminal IP;

[0072] S202: When any distributed light node receives a R & D data management request sent by an operating user from a R & D terminal corresponding to the associated R & D terminal IP, the distributed light node extracts the user permission information in the R & D data management request and the R & D terminal IP corresponding to the R & D terminal where it is located;

[0073] S203: The distributed light node calls a preset symmetric encryption algorithm to encrypt the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located to form the encryption result;

[0074] S204: After the distributed light node encrypts the symmetric key corresponding to the symmetric encryption algorithm by using a homomorphic encryption algorithm, it performs data encapsulation processing on the encryption result in a preset format to form the request verification data;

[0075] S205: The distributed light node uploads the request verification data to the full node;

[0076] S206: Inside the full node, call the smart contract program to convert the request verification data into a first hash value, and use the first hash value for verification processing to generate a verification result;

[0077] S207: Determine whether the verification result is verification passed; if it is verification passed, enter S208, otherwise enter S209;

[0078] S208: If the verification result is verification passed, allow the operating user to perform management operations on the R & D data stored in several distributed light nodes on the R & D terminal corresponding to the R & D terminal IP, and the management operations include R & D data viewing and / or R & D data update storage;

[0079] S209: If the verification result is verification failed, the full node will reject the R & D data management request and broadcast the rejection information to each distributed light node.

[0080] Embodiment 3, please refer to Figure 3 , Figure 3 is a schematic diagram of the structural composition of the R & D data management device based on blockchain technology in the embodiments of the present invention.

[0081] As Figure 3 shown, a R & D data management device based on blockchain technology is applied to the R & D data management of an enterprise. The server of the enterprise is used as the full node of the blockchain network, and a smart contract program is deployed inside the blockchain network. The device includes:

[0082] Setting module 301: It is used to obtain the R & D terminal IP corresponding to the local area network within the enterprise, set multiple distributed light nodes according to the R & D terminal IP, and each distributed light node is associated with the corresponding R & D terminal IP;

[0083] In the specific implementation process of the present invention, the obtaining of the R & D terminal IP corresponding to the local area network within the enterprise, setting multiple distributed light nodes according to the R & D terminal IP, and each distributed light node being associated with the corresponding R & D terminal IP include: allocating a fixed R & D terminal IP for each R & D terminal in the local area network within the enterprise, and obtaining the R & D terminal IP corresponding to each R & D terminal through the local area network; the blockchain network sets multiple distributed light nodes according to the R & D terminal IP, and makes each distributed light node associated with an R & D terminal IP; after each distributed light node is associated with an R & D terminal IP, the R & D terminal corresponding to the R & D terminal IP uploads the R & D data stored therein to the associated corresponding distributed light node for storage.

[0084] Specifically, first, a blockchain network needs to be constructed. At this time, a blockchain network needs to be established in the form of taking the enterprise's server as the central node and the R & D terminals as nodes, that is, deploying a full node of the blockchain network on the enterprise's server, and deploying a smart contract program inside the blockchain network. The smart contract program stores the corresponding hash encryption function in memory, and at the same time, the corresponding distributed light nodes in the blockchain network need to be constructed; at this time, it needs to be realized through the enterprise's internal local area network.

[0085] That is, in the enterprise's internal local area network, a fixed R & D terminal IP is allocated to each corresponding R & D terminal. Among them, such R & D terminal IP is the fixed IP of the local area network. Within the local area network, after the R & D terminal IP corresponding to each R & D terminal is allocated, it is fixed and unchanged; at this time, only the R & D terminal IP corresponding to each R & D terminal needs to be obtained through the local area network.

[0086] After obtaining the R & D terminal IP corresponding to each R & D terminal, use the blockchain network to set the corresponding multiple distributed light nodes according to the number of R & D terminal IPs; at the same time, it is necessary to make each distributed light node among the multiple distributed light nodes associated with an R & D terminal IP; and after each distributed light node is associated with an R & D terminal IP, then, the R & D terminal corresponding to this R & D terminal IP needs to upload all the R & D data stored therein to the associated corresponding distributed light node for storage; in this way, it can be realized that the R & D data generated in each R & D terminal is stored in the corresponding distributed light node in the blockchain network; thus ensuring the storage security of the R & D data.

[0087] Request generation module 302: When any distributed light node receives a R & D data management request sent by an operating user from a R & D terminal corresponding to the associated R & D terminal IP, the distributed light node generates request verification data based on the R & D data management request and uploads the request verification data to the full node. The R & D data management request includes a R & D data viewing request and / or a R & D data update and storage request;

[0088] In the specific implementation process of the present invention, the distributed light node generates request verification data based on the R & D data management request and uploads the request verification data to the full node, including: The distributed light node extracts the user permission information in the R & D data management request and the R & D terminal IP corresponding to the R & D terminal where it is located; performs encryption processing based on the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located, and generates request verification data according to the encryption result; the distributed light node uploads the request verification data to the full node.

[0089] Further, the performing encryption processing based on the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located, and generating request verification data according to the encryption result, includes: The distributed light node calls a preset symmetric encryption algorithm to perform encryption processing on the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located to form the encryption result; the distributed light node encrypts the symmetric key corresponding to the symmetric encryption algorithm using a homomorphic encryption algorithm, and then performs data encapsulation processing with the encryption result according to a preset format to form the request verification data.

[0090] Specifically, when any distributed light node receives a R & D data management request sent by an operating user from a R & D terminal corresponding to the associated R & D terminal IP, in order to ensure the security of R & D data management operations, prevent permission theft, or malicious attacks and tampering of R & D data.

[0091] At this time, the distributed node needs to extract the user permission information and the R & D terminal IP corresponding to the R & D terminal from the received R & D data management request, so as to extract the user permission information in the R & D data management request and the R & D terminal IP corresponding to the R & D terminal where it is located; and, in ensuring the security of data transmission, it is first necessary to perform corresponding encryption processing on the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located, and after the encryption processing, generate request verification data through the encryption result, and finally the distributed light node uploads the request verification data to the full node.

[0092] Specific encryption process: A symmetric encryption algorithm is built into the distributed lightweight node. The user permission information and the R & D terminal IP corresponding to the R & D terminal where the user is located are encrypted by calling the symmetric encryption algorithm to form an encryption result. Then, for the symmetric key corresponding to the symmetric encryption algorithm, corresponding encryption processing is also required. At this time, the homomorphic encryption algorithm is called to perform homomorphic encryption processing on the symmetric key corresponding to the symmetric encryption algorithm. The encrypted symmetric key is obtained, and the encrypted symmetric key and the encryption result are encapsulated in data according to a preset format to form request verification data. Finally, the distributed lightweight node uploads the request verification data to the full node.

[0093] By using the symmetric encryption algorithm to encrypt the user permission information and the R & D terminal IP corresponding to the R & D terminal where the user is located, this ensures that the user permission information and the R & D terminal IP are not leaked and prevents information from being stolen. At the same time, using the homomorphic encryption algorithm to encrypt the symmetric key corresponding to the symmetric encryption algorithm can ensure that even if the data is stolen during the data transmission process, the data will not be decrypted and leaked. Thus, a double insurance is achieved, and a higher data security level is reached.

[0094] Verification processing module 303: It is used to call the intelligent contract program in the full node to convert the request verification data into a first hash value, and use the first hash value to perform verification processing to generate a verification result.

[0095] In the specific implementation process of the present invention, the step of calling the intelligent contract program in the full node to convert the request verification data into a first hash value and using the first hash value to perform verification processing to generate a verification result includes: The full node extracts the encryption result and the homomorphically encrypted symmetric key in the request verification data, and performs a homomorphic decryption operation on the encryption result using the homomorphically encrypted symmetric key to convert the encryption result into a homomorphic ciphertext of the homomorphic encryption; The full node calls the intelligent contract program and uses the hash encryption function in the intelligent contract program to perform hash encryption processing on the homomorphic ciphertext to generate the first hash value; The first hash value is used to perform one-to-one matching verification processing with a number of retained hash values stored in the full node to generate a verification result.

[0096] Specifically, after the full node receives the request verification data, in order to ensure the privacy of the request verification data, it is not necessary to decrypt the request verification data into plaintext, but only to perform a homomorphic decryption operation. That is, the full node extracts the encrypted result and the symmetric key of the homomorphic encryption in the request verification data, and then performs a homomorphic decryption operation on the encrypted result using the symmetric key of the homomorphic encryption, and converts the encrypted result into a homomorphic ciphertext of the homomorphic encryption. At this time, the full node only needs to call the smart contract program, and then the smart contract program can use the hash encryption function therein to perform hash encryption processing on the homomorphic ciphertext, thereby generating a first hash value. Finally, by performing a one-to-one matching verification process using the first hash value and a number of retained hash values stored in the full node, a verification result can be generated.

[0097] Management operation module 304: used to allow the operating user to perform management operations on the R & D data stored in a number of distributed light nodes on the R & D terminal corresponding to the R & D terminal IP when the verification result is verified to pass. The management operations include R & D data viewing and / or R & D data update storage.

[0098] In the specific implementation process of the present invention, allowing the operating user to perform management operations on the R & D data stored in a number of distributed light nodes on the R & D terminal corresponding to the R & D terminal IP includes: allowing the operating user to perform management operations on the R & D data stored in a number of distributed light nodes on the R & D terminal corresponding to the R & D terminal IP according to the management operation permissions for the R & D data.

[0099] Specifically, when it is determined that the verification result is verified to pass, at this time, the operating user is allowed to perform corresponding operations on the R & D terminal corresponding to the R & D terminal IP; that is, the operating user is allowed to perform management operations on the R & D data stored in a number of distributed light nodes on the R & D terminal corresponding to the R & D terminal IP according to the management operation permissions for the R & D data. Here, the management operation permissions are the permissions for the operating user to view and update the storage of the R & D data stored in the distributed light nodes managed by the R & D terminal IP, and the permission to view the R & D data stored in other distributed light nodes.

[0100] In this way, it can be ensured that the corresponding R & D personnel can view and analyze the R & D data with permissions or modify and update some R & D data with modification and update permissions.

[0101] Rejection module 305: used to reject the R & D data management request by the full node and broadcast the rejection information to each distributed light node when the verification result is not verified to pass.

[0102] In the specific implementation process of the present invention, when the verification result is that the verification fails, at this time, the blockchain network needs to reject the R & D data management request, that is, the full node will reject the R & D data management request and broadcast the rejection information to each distributed light node; in this way, the operating user will not be able to access the R & D data in any distributed light node and cannot perform management operations on these R & D data.

[0103] In an embodiment of the present invention, by obtaining the R & D terminal IP corresponding to the local area network within the enterprise and setting a plurality of distributed light nodes according to the R & D terminal IP; when any one of the distributed light nodes receives an R & D data management request, the distributed light node generates request verification data and uploads the request verification data to the full node; the full node converts the request verification data into a first hash value within the full node and performs verification processing using the first hash value to generate a verification result; if the verification is passed, the operating user is allowed to perform management operations on the R & D data stored in several distributed light nodes; if the verification fails, the full node will reject the R & D data management request and broadcast the rejection information to each distributed light node; realizing the management of R & D data using blockchain technology, thereby ensuring the security of R & D data in management, implementing authentication according to the permissions of the operating user, and effectively preventing the theft of the user's permission authentication and the impersonation of unauthorized persons to view or tamper with R & D data.

[0104] A computer-readable storage medium provided by an embodiment of the present invention, on which a computer program is stored, and when the program is executed by a processor, it implements the R & D data management method of any one of the above embodiments. Among them, the computer-readable storage medium includes but is not limited to any type of disk (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic cards or optical cards. That is, the storage device includes any medium that can store or transmit information in a readable form by a device (such as a computer, mobile phone), and can be a read-only memory, a magnetic disk or an optical disk, etc.

[0105] An embodiment of the present invention also provides a computer application program that runs on a computer and is used to execute the R & D data management method of any one of the above embodiments.

[0106] In addition, Figure 4 is a schematic structural diagram of an electronic device in an embodiment of the present invention.

[0107] An embodiment of the present invention also provides an electronic device, as Figure 4 shown. The electronic device includes devices such as a processor 402, a memory 403, an input unit 404, and a display unit 405. Those skilled in the art can understand that Figure 4 the structural devices of the electronic device shown do not constitute a limitation on all devices, and may include more or fewer components than shown, or combine certain components. The memory 403 can be used to store the application program 401 and each functional module. The processor 402 runs the application program 401 stored in the memory 403, thereby executing various functional applications and data processing of the device. The memory can be an internal memory or an external memory, or include both an internal memory and an external memory. The internal memory can include a read-only memory (ROM), a programmable ROM (PROM), an electrically programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, or a random access memory. The external memory can include a hard disk, a floppy disk, a ZIP disk, a USB flash drive, a magnetic tape, etc. The memory disclosed in the present invention includes but is not limited to these types of memories. The memory disclosed in the present invention is only an example rather than a limitation.

[0108] The input unit 404 is used to receive the input of signals and receive keywords input by the user. The input unit 404 can include a touch panel and other input devices. The touch panel can collect touch operations of the user on or near it (such as operations of the user using a finger, a stylus, or any suitable object or accessory on or near the touch panel), and drive the corresponding connection device according to a preset program; other input devices can include, but are not limited to, a physical keyboard, function keys (such as play control keys, switch keys, etc.), a trackball, a mouse, a joystick, etc. The display unit 405 can be used to display information input by the user or information provided to the user and various menus of the terminal device. The display unit 405 can be in the form of a liquid crystal display, an organic light-emitting diode, etc. The processor 402 is the control center of the terminal device, connects various parts of the entire device using various interfaces and lines, and executes various functions and processes data by running or executing software programs and / or modules stored in the memory 403, and calling data stored in the memory.

[0109] As an embodiment, the electronic device includes: one or more processors 402, a memory 403, and one or more applications 401, where the one or more applications 401 are stored in the memory 403 and configured to be executed by the one or more processors 402, and the one or more applications 401 are configured to execute the corresponding R & D data management method in any one of the above embodiments.

[0110] In the embodiment of the present invention, by obtaining the R & D terminal IP corresponding to the local area network within the enterprise and setting a plurality of distributed light nodes according to the R & D terminal IP; when any one of the distributed light nodes receives an R & D data management request, the distributed light node generates request verification data and uploads the request verification data to the full node; the request verification data is converted into a first hash value within the full node, and the verification process is performed using the first hash value to generate a verification result; if the verification is passed, the operating user is allowed to perform management operations on the R & D data stored in several distributed light nodes; if the verification fails, the full node rejects the R & D data management request and broadcasts the rejection information to each distributed light node; realizing the management of R & D data using blockchain technology, thereby ensuring the security of R & D data in management, implementing authentication based on the permissions of the operating user, and effectively preventing the theft of the user's permission authentication and the impersonation of unauthorized persons to view or tamper with R & D data.

[0111] In addition, the above has introduced in detail a method and related device for R & D data management based on blockchain technology provided by the embodiments of the present invention. Specific examples have been used in this article to elaborate on the principle and implementation manner of the present invention. The description of the above embodiments is only used to help understand the method and its core idea of the present invention; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A research and development data management method based on blockchain technology, characterized in that, Applied to the R & D data management of an enterprise, taking the server of the enterprise as a full node of the blockchain network, and deploying a smart contract program inside the blockchain network, the method includes: Obtain the R & D terminal IP corresponding to the local area network within the enterprise, and set multiple distributed light nodes according to the R & D terminal IP, and each distributed light node is associated with the corresponding R & D terminal IP; When any one of the distributed light nodes receives a R & D data management request sent by an operating user from the R & D terminal corresponding to the associated R & D terminal IP, the distributed light node generates request verification data based on the R & D data management request, and uploads the request verification data to the full node. The R & D data management request includes a R & D data viewing request and / or a R & D data update and storage request; Call the smart contract program in the full node to convert the request verification data into a first hash value, and use the first hash value for verification processing to generate a verification result; If the verification result is verified to be passed, allow the operating user to perform management operations on the R & D data stored in several distributed light nodes on the R & D terminal corresponding to the R & D terminal IP. The management operations include R & D data viewing and / or R & D data update and storage; If the verification result is verified to be not passed, the full node will reject the R & D data management request and broadcast the rejection information to each distributed light node.

2. The R & D data management method according to claim 1, characterized in that The obtaining the R & D terminal IP corresponding to the local area network within the enterprise, and setting multiple distributed light nodes according to the R & D terminal IP, and each distributed light node is associated with the corresponding R & D terminal IP, includes: Assign a fixed R & D terminal IP to each R & D terminal in the local area network within the enterprise, and obtain the R & D terminal IP corresponding to each R & D terminal through the local area network; The blockchain network sets multiple distributed light nodes according to the R & D terminal IP, and makes each distributed light node associated with one R & D terminal IP; After each distributed light node is associated with one R & D terminal IP, the R & D terminal corresponding to the R & D terminal IP uploads the R & D data stored therein to the associated corresponding distributed light node for storage.

3. The R & D data management method according to claim 1, characterized in that The distributed light node generates request verification data based on the R & D data management request, and uploads the request verification data to the full node, includes: The distributed light node extracts the user permission information in the R & D data management request and the R & D terminal IP corresponding to the R & D terminal where it is located; Perform encryption processing based on the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located, and generate request verification data according to the encryption result; The distributed light node uploads the request verification data to the full node.

4. The R & D data management method according to claim 3, characterized in that The performing encryption processing based on the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located, and generating request verification data according to the encryption result, includes: The distributed light node invokes a preset symmetric encryption algorithm to encrypt the user permission information and the R & D terminal IP corresponding to the R & D terminal where it is located, forming the encryption result; After encrypting the symmetric key corresponding to the symmetric encryption algorithm by the distributed light node using a homomorphic encryption algorithm, the encrypted result and the symmetric key are encapsulated according to a preset format to form the request verification data.

5. The R & D data management method according to claim 1, wherein Invoking the smart contract program in the full node to convert the request verification data into a first hash value and using the first hash value for verification processing to generate a verification result includes: The full node extracts the encrypted result and the homomorphically encrypted symmetric key in the request verification data, and performs a homomorphic decryption operation on the encrypted result using the homomorphically encrypted symmetric key to convert the encrypted result into a homomorphic ciphertext of homomorphic encryption; The full node invokes the smart contract program and uses the hash encryption function in the smart contract program to perform hash encryption on the homomorphic ciphertext to generate the first hash value; Performing a one-to-one matching verification process on the first hash value and a number of retained hash values stored in the full node to generate a verification result.

6. The R & D data management method according to claim 1, characterized in that Allowing the operating user to manage the R & D data stored in a number of distributed light nodes on the R & D terminal corresponding to the R & D terminal IP includes: Allowing the operating user to manage the R & D data stored in a number of distributed light nodes on the R & D terminal corresponding to the R & D terminal IP according to the management operation permission for the R & D data.

7. The R & D data management method according to claim 6, wherein The management operation permission is the permission for the operating user to view and update the storage of the R & D data stored in the distributed light nodes managed by the R & D terminal IP, and the permission to view the R & D data stored in other distributed light nodes.

8. A research and development data management device based on blockchain technology, characterized in that, Applied to the R & D data management of an enterprise, using the server of the enterprise as the full node of the blockchain network, and deploying a smart contract program inside the blockchain network, the device includes: A setting module: used to obtain the R & D terminal IP corresponding to the local area network inside the enterprise, and set a number of distributed light nodes according to the R & D terminal IP, and each distributed light node is associated with the corresponding R & D terminal IP; A request generation module: used to, when any one of the distributed light nodes receives a R & D data management request sent by the operating user on the R & D terminal corresponding to the associated R & D terminal IP, the distributed light node generates request verification data based on the R & D data management request and uploads the request verification data to the full node, and the R & D data management request includes a R & D data viewing request and / or a R & D data update storage request; A verification processing module: used to invoke the smart contract program in the full node to convert the request verification data into a first hash value and use the first hash value for verification processing to generate a verification result; Management operation module: When the verification result is verified and passed, it is used to allow the operating user to perform management operations on the R & D data stored in several distributed light nodes on the R & D terminal corresponding to the R & D terminal IP. The management operations include R & D data viewing and / or R & D data update storage; Rejection module: When the verification result is not verified and passed, the full node will reject the R & D data management request and broadcast the rejection information to each distributed light node.

9. An electronic device, comprising a processor and a memory, characterized in that, The processor runs the computer program or code stored in the memory to implement the R & D data management method according to any one of claims 1 to 7.

10. A computer-readable storage medium for storing a computer program or code, characterized in that, When the computer program or code is executed by the processor, the R & D data management method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Electronic accompanying certificate management method and device based on block chain and storage medium

    CN115565277A

  • Innovation-oriented demand transaction driving system based on block chain

    CN116579773A