Research and development data management method based on block chain technology and related device
By deploying blockchain network and smart contract programs on the enterprise's servers, generating and verifying request verification data, the security risks of R&D data management in the existing technology are solved, and security management and permission authentication of R&D data are realized.
Patent Information
- Application Number
- CN202510688022.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-27
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2045-05-27
AI Technical Summary
The existing technology has security risks in R&D data management, and is prone to tampering or data leakage.
Using a R&D data management method based on blockchain technology, we use the entire node of the blockchain network to deploy the entire node of the blockchain network on the enterprise's servers and deploy smart contract programs within the blockchain network to generate request verification data and perform hash verification, ensuring that only verified operational users can manage the R&D data.
It realizes the security management of R&D data, prevents people without permission from viewing or tampering with data, and ensures the integrity and security of the data.
Smart Images

Figure CN120197224A_ABST
Abstract
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 device based on blockchain technology. Background Art
[0002] With the rapid development of technology, the importance of research and development data management has increased. The amount of data generated by enterprises and organizations in their daily operations is also becoming increasingly large. Moreover, these research and development data not only include the company's operation status 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 enterprises, research and development data management is particularly important.
[0003] The existing management method generally involves establishing a unified database to store scattered data together for the convenience of use and analysis by R & D personnel. However, directly storing data in the database may pose corresponding security risks, such as being easily tampered with or leaked. Summary of the Invention
[0004] An object 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 device based on blockchain technology, which can ensure the security of research and development data and prevent unauthorized personnel 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: 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; 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; Call the smart 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; 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; 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.
[0006] 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: Assigning a fixed R & D terminal IP to 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 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; 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.
[0007] 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: 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.
[0008] Optionally, 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.
[0009] Optionally, invoking the smart contract program within the full node to convert the request verification data into a first hash value and performing verification processing using the first hash value to generate a verification result includes: The full node extracts the encryption result and the symmetric key of homomorphic encryption from the request verification data, and performs homomorphic decryption operation processing on the encryption result using the symmetric key of homomorphic encryption to convert the encryption result into a homomorphic ciphertext of homomorphic encryption; The full node invokes the smart contract program and performs hash encryption processing on the homomorphic ciphertext using the hash encryption function in the smart contract program to generate the first hash value; Performing one-to-one matching verification processing using the first hash value and a number of retained hash values stored in the full node to generate a verification result.
[0010] Optionally, 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 according to the management operation permissions for the R & D data on the R & D terminal corresponding to the R & D terminal IP.
[0011] 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.
[0012] 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: A setting module: used to obtain the R & D terminal IP corresponding to the local area network within 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 an 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. The R & D data management request includes a R & D data viewing request and / or a R & D data update storage request; Verification processing module: used to call the intelligent contract program within 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; Management operation module: used to, when 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; Rejection module: used to, when 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.
[0013] In addition, an embodiment of the present invention further provides an electronic device, including a processor and a memory, and 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.
[0014] In addition, an embodiment of the present invention further provides a computer-readable storage medium for storing a computer program or code, and 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.
[0015] 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 multiple 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; within 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; when the verification is passed, the operating user is allowed to perform management operations on the R & D data stored in several distributed light nodes; when the verification fails, the full node will reject the R & D data management request and broadcast the rejection information to each distributed light node; the management of R & D data is realized by using blockchain technology, so as to ensure the security of R & D data in management, realize the authentication of the operating user's permissions, and effectively prevent the theft of the user's permission authentication and the impersonation of unauthorized persons to view or tamper with R & D data. Description of the Drawings
[0016] 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 the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention, and those of ordinary skill in the art can obtain other drawings without creative efforts based on these drawings.
[0017] Figure 1 It is a schematic flowchart of a R & D data management method based on blockchain technology in an embodiment of the present invention; Figure 2 It is a schematic flowchart of a R & D data management method based on blockchain technology in another embodiment of the present invention; Figure 3 It is a schematic diagram of the structural composition of a R & D data management device based on blockchain technology in an embodiment of the present invention; Figure 4 It is a schematic diagram of the structural composition of an electronic device in an embodiment of the present invention. Detailed implementation manners
[0018] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without making creative efforts belong to the scope of protection of the present invention.
[0019] Embodiment 1. Please refer to Figure 1 , Figure 1 It is a schematic flowchart of a R & D data management method based on blockchain technology in an embodiment of the present invention.
[0020] As Figure 1 shown, a R & D data management method based on blockchain technology is applied to the R & D 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: S101: Obtain the R & D terminal IP corresponding to the local area network inside the enterprise, 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; In the specific implementation process of the present invention, the obtaining the R & D terminal IP corresponding to the local area network inside 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 to each R & D terminal in the local area network inside 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 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.
[0021] Specifically, first, a blockchain network needs to be constructed. At this time, a blockchain network needs to be established with the enterprise's server as the central node and R & D terminals as nodes. That is, full nodes of the blockchain network are deployed on the enterprise's server, and smart contract programs are deployed within the blockchain network. The smart contract programs store corresponding hash encryption functions. At the same time, corresponding distributed light nodes need to be constructed in the blockchain network. At this time, it needs to be realized through the enterprise's internal local area network.
[0022] That is, in the enterprise's internal local area network, a fixed R & D terminal IP is assigned to each corresponding R & D terminal. Among them, such 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 assigned, 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.
[0023] 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, 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 distributed light node for storage. In this way, it is possible to store the R & D data generated in each R & D terminal into the corresponding distributed light nodes in the blockchain network, thereby ensuring the storage security of the R & D data.
[0024] 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. 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.
[0025] Further, encrypting based on the user permission information and the R & D terminal IP corresponding to the R & D terminal where the user is located, and generating request verification data according to the encryption result, including: 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 the user is located to form the encryption result; after encrypting the symmetric key corresponding to the symmetric encryption algorithm by using a homomorphic encryption algorithm, the distributed light node performs data encapsulation processing on the encrypted symmetric key and the encryption result according to a preset format to form the request verification data.
[0026] Specifically, when any distributed light node receives a R & D data management request sent by an operating user at 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, prevent the theft of permissions, or malicious attacks and tampering with R & D data.
[0027] 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 the user is located; moreover, 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 the user is located, and after the encryption processing, generate request verification data through the encryption result. Finally, the distributed light node uploads the request verification data to the full node.
[0028] 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 the user 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 perform data encapsulation processing on the encrypted symmetric key and the encryption result according to a preset format to form the request verification data. Finally, the distributed light node uploads the request verification data to the full node.
[0029] 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 the user is located, which 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 achieving double insurance and reaching a higher data security level.
[0030] S103: Invoke the smart contract program within 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; In the specific implementation process of the present invention, the step of invoking the smart contract program within the full node to convert the request verification data into a first hash value, and performing verification processing using the first hash value to generate a verification result includes: the full node extracts the encryption result and the symmetric key of homomorphic encryption from the request verification data, and performs homomorphic decryption operation processing on the encryption result using the symmetric key of homomorphic encryption to convert the encryption result into a homomorphic ciphertext of homomorphic encryption; the full node invokes the smart contract program, and performs hash encryption processing on the homomorphic ciphertext using the hash encryption function in the smart contract program to generate the first hash value; and performs one-to-one matching verification processing using the first hash value and a number of retained hash values stored in the full node to generate a verification result.
[0031] 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 homomorphic decryption operation needs to be performed, that is, the full node extracts the encryption result and the symmetric key of homomorphic encryption from the request verification data, and then performs homomorphic decryption operation processing on the encryption result using the symmetric key of homomorphic encryption, and converts the encryption result into a homomorphic ciphertext of homomorphic encryption; at this time, the full node only needs to invoke the smart contract program, and then the smart contract program can perform hash encryption processing on the homomorphic ciphertext using the hash encryption function therein to generate the first hash value; finally, by performing one-to-one matching verification processing using the first hash value and a number of retained hash values stored in the full node, a verification result can be generated.
[0032] S104: Determine whether the verification result is verification passed; and jump to S105 or S106 according to the determination result.
[0033] S105: If 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; In the specific implementation process of the present invention, the step of 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.
[0034] Specifically, when it is determined that the verification result is passed, 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 manage the R & D data stored in several 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 view and update the stored 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.
[0035] In this way, 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.
[0036] S106: 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.
[0037] In the specific implementation process of the present invention, when the judgment result is that the verification result is not passed, 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 manage these R & D data.
[0038] In the embodiment of the present invention, the R & D terminal IP corresponding to the local area network within the enterprise is obtained, and multiple distributed light nodes are set 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 manage the R & D data stored in several distributed light nodes; if the verification is not passed, 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 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.
[0039] 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.
[0040] AsFigure 2 As shown in Figure 2 , 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: S201: Obtain the research and development terminal IP corresponding to the local area network within the enterprise, and set multiple distributed light nodes according to the research and development terminal IP, and each distributed light node is associated with the corresponding research and development terminal IP; S202: 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 research and development terminal IP, the distributed light node extracts the user permission information in the research and development data management request and the research and development terminal IP corresponding to the research and development terminal where it is located; S203: The distributed light node calls a preset symmetric encryption algorithm to encrypt the user permission information and the research and development terminal IP corresponding to the research and development terminal where it is located to form the encryption result; S204: After the distributed light node encrypts the symmetric key corresponding to the symmetric encryption algorithm using a homomorphic encryption algorithm, it performs data encapsulation processing on the encryption result according to a preset format to form the request verification data; S205: The distributed light node uploads the request verification data to the full node; S206: 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; S207: Determine whether the verification result is verification passed; if it is verification passed, go to S208, otherwise go to S209; S208: If the verification result is verification passed, allow the operating user to perform management operations on the research and development data stored in several distributed light nodes on the research and development terminal corresponding to the research and development terminal IP, and the management operations include research and development data viewing and / or research and development data update storage; S209: If the verification result is verification failed, the full node will reject the research and development data management request and broadcast the rejection information to each distributed light node.
[0041] Example 3, please refer to Figure 3 , Figure 3 is a schematic structural composition diagram of the research and development data management device based on blockchain technology in the embodiments of the present invention.
[0042] As shown in Figure 3As shown, a research and development data management device 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 device includes: Setting module 301: used to obtain the research and development terminal IP corresponding to the local area network within the enterprise, set multiple distributed light nodes according to the research and development terminal IP, and each distributed light node is associated with the corresponding research and development terminal IP; In the specific implementation process of the present invention, the obtaining of the research and development terminal IP corresponding to the local area network within the enterprise, setting multiple distributed light nodes according to the research and development terminal IP, and each distributed light node being associated with the corresponding research and development terminal IP includes: allocating a fixed research and development terminal IP for each research and development terminal in the local area network within the enterprise, and obtaining the research and development terminal IP corresponding to each research and development terminal through the local area network; the blockchain network sets multiple distributed light nodes according to the research and development terminal IP, and makes each distributed light node associated with one research and development terminal IP; after each distributed light node is associated with one research and development terminal IP, the research and development terminal corresponding to the research and development terminal IP uploads the research and development data stored therein to the associated corresponding distributed light node for storage.
[0043] Specifically, first, a blockchain network needs to be constructed. At this time, it is necessary to establish a blockchain network with the enterprise's server as the central node and the research and development terminals as nodes, that is, deploy a full node of the blockchain network on the enterprise's server, and deploy 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, it is necessary to construct the corresponding distributed light nodes in the blockchain network; at this time, it needs to be realized through the enterprise's internal local area network.
[0044] That is, in the enterprise's internal local area network, a fixed research and development terminal IP is allocated to each corresponding research and development terminal. Such a research and development terminal IP is a fixed IP of the local area network. Within the local area network, after the research and development terminal IP corresponding to each research and development terminal is allocated, it is fixed and unchanged; at this time, it only needs to obtain the research and development terminal IP corresponding to each research and development terminal through the local area network.
[0045] 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 distributed light node for storage; in this way, it is possible to store the R & D data generated in each R & D terminal into the corresponding distributed light node in the blockchain network; thus ensuring the storage security of the R & D data.
[0046] Request generation module 302: 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. 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.
[0047] 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.
[0048] 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 of the R & D data.
[0049] 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, 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.
[0050] Specific encryption processing 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.
[0051] 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, the data will not be decrypted and leaked; thus realizing double insurance and achieving a higher data security level.
[0052] Verification processing module 303: It is used to 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 to perform verification processing to generate a verification result; In the specific implementation process of the present invention, the step of calling 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 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 homomorphic encryption; The full node calls the smart contract program and uses the hash encryption function in the smart contract program to perform hash encryption processing on the homomorphic ciphertext to generate the first hash value; Use the first hash value 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.
[0053] 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 a homomorphic decryption operation needs to be performed. That is, the full node extracts the encrypted result and the symmetric key for homomorphic encryption in the request verification data, and then performs a homomorphic decryption operation on the encrypted result using the symmetric key for homomorphic encryption, and converts the encrypted result into a homomorphic ciphertext of 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 operation on the homomorphic ciphertext, thereby generating a first hash value. Finally, by performing a one-to-one matching verification operation using the first hash value and a number of retained hash values stored in the full node, a verification result can be generated.
[0054] 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 be passed. The management operations include R & D data viewing and / or R & D data update storage. 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.
[0055] Specifically, when it is determined that the verification result is verified to be passed, 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.
[0056] 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.
[0057] 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 be passed.
[0058] 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, reject the R & D data management request through the full node 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.
[0059] 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.
[0060] 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.
[0061] 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.
[0062] In addition, Figure 4 is a schematic structural diagram of the electronic device in an embodiment of the present invention.
[0063] An embodiment of the present invention further 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 those 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, so as to execute 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.
[0064] 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 pre-set 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 through 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.
[0065] 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.
[0066] 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; in the full node, the request verification data is converted into a first hash value, and the first hash value is used for verification processing 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 rejects the R & D data management request and broadcasts the rejection information to each distributed light node; realizing the management of R & D data by using blockchain technology, so as to ensure the security of R & D data in management, realize the authentication of the operating user's permissions, and effectively prevent the theft of the user's permission authentication and the impersonation of unauthorized persons to view or tamper with the R & D data.
[0067] 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 are 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 a 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, 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 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. The R & D data management request includes a R & D data viewing request and / or a R & D data update and storage request; 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; 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. The management operations include R & D data viewing and / or R & D data update and storage; 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.
2. The R & D data management method according to claim 1, wherein The obtaining 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 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 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, 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; 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, wherein 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; The distributed light node encrypts the symmetric key corresponding to the symmetric encryption algorithm by using a homomorphic encryption algorithm, and then performs data encapsulation processing on the encryption result according to a preset format to form the request verification data.
5. The R & D data management method according to claim 1, characterized in that Invoking the intelligent contract program in the full node to convert the request verification data into a first hash value and performing verification processing using the first hash value 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 homomorphic decryption operation processing on the encryption result by using the homomorphically encrypted symmetric key to convert the encryption result into a homomorphic ciphertext of homomorphic encryption; The full node invokes the intelligent contract program and performs hash encryption processing on the homomorphic ciphertext by using the hash encryption function in the intelligent contract program to generate the first hash value; Performing one-to-one matching verification processing 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, characterized in that 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 an intelligent 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 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; 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
Blockchain-based data verification system and method, computing device and storage medium
US20210287216A1
Blockchain-based data processing method, and blockchain node apparatus
WO2022247385A1
Blockchain data processing method, platform, system and apparatus, and electronic device
WO2024197879A1