A data security sharing method and system based on industrial Internet identification
By adopting industrial Internet identification and shared blockchain technology during data sharing, the dual encryption and multiple verification of data are achieved, the problems of data privacy leakage and waste of computing resources are solved, and the security and stability of data sharing are improved. .
Patent Information
- Application Number
- CN202411259516.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-09-10
AI Technical Summary
In existing data sharing technology, personal privacy information of the data sharer or owner is easily leaked, and the data requester may be authorized to cause waste of computing resources, and the data sharing process is vulnerable to attacks and tampering.
Using a data security sharing method based on industrial Internet identification, we use the shared blockchain to determine the central transmission node, perform dual encryption processing, and add multiple verification processes to ensure the security and privacy protection of data transmission.
有效保护了数据共享过程中的个人隐私信息,避免了计算资源浪费,增强了数据共享过程的安全性和稳定性,防止了外来数据和人员对数据分享的攻击和篡改。
Smart Images

Figure CN118802956B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data sharing, and specifically relates to a data security sharing method and system based on industrial Internet identification. Background Art
[0002] The degree of data sharing reflects the level of local information development. The higher the degree of data sharing, the higher the level of information development. To achieve data sharing, we should first establish a set of unified and legal data exchange standards, standardize the data format, and enable users to adopt the prescribed data standards as much as possible. By establishing corresponding data use management methods, formulating corresponding data copyright protection and property rights protection regulations, and signing data use agreements between departments, we can break the information protection between departments and regions and achieve true information sharing.
[0003] As for data sharing in the existing technology, it is usually achieved through blockchain or the Internet of Things. However, in the actual data sharing process, the personal privacy information of the data sharer or data owner will be shared along with the shared data, so their personal privacy cannot be effectively protected, resulting in the leakage of privacy information. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides a data security sharing method and system based on industrial Internet identification, which is used to solve the technical problems in the prior art.
[0005] On the one hand, the present invention provides the following technical solution, a data security sharing method based on industrial Internet identification, comprising:
[0006] Constructing a shared blockchain, wherein the shared blockchain includes a plurality of data transmission nodes, identifying the data processing capability of each of the data transmission nodes and arranging the plurality of data transmission nodes in descending order according to the data processing capability, and taking the first plurality of data transmission nodes as central transmission nodes;
[0007] Receive a data sharing request from a data requester, collect the data to be shared from the data owner according to the data sharing request, verify the ownership of the data to be shared to obtain verification information, and if the verification information is verified, send the data to be shared and the verification information to the shared blockchain;
[0008] Construct a hash function and determine a transmission public key and a transmission private key according to the hash function and through the central transmission node, and determine a request private key of the data requester according to the transmission private key and the identity information of the data requester;
[0009] Add a corresponding industrial Internet identifier to each of the data to be shared, and sign and encrypt the data to be shared according to the request private key of the data requester and the corresponding industrial Internet identifier to obtain first encrypted data;
[0010] The first encrypted data is signed by the data owner to obtain signature data and the signature data is stored in IPFS, the signature data is verified and compared by the IPFS to output a signature verification value, and the first encrypted data is re-encrypted according to the signature verification value and the request private key to obtain second encrypted data;
[0011] Verify the validity of the second encrypted data and the validity of the verification information. If the second encrypted data and the verification information are valid, determine whether the request private key is leaked. If the request private key is leaked, add the identity information of the data requester corresponding to the request private key to the access denied list, and update the request private keys of the remaining data requesters.
[0012] Receive a decryption request from the data requester, and determine whether the data requester is in the denied access list; if the data requester is not in the denied access list, decrypt the second encrypted data to obtain the decrypted data to be shared, and share the decrypted data to be shared to the corresponding data requester through the data transmission node in the shared blockchain.
[0013] Compared with the prior art, the beneficial effects of the present invention are as follows: first, the present invention determines a shared blockchain and a central transmission node therein, thereby improving the reliability of data transmission and reducing waste in the data sharing process; secondly, the present invention provides a scheme for double encryption of data, which can achieve anti-collusion, non-interactive and effective privacy protection, and can effectively protect the personal privacy information of all parties in the data sharing process, while also avoiding the waste of computing resources caused by the data requester being seemingly authorized; at the same time, multiple verification processes are added in the present invention, and multiple verifications can effectively avoid attacks, tampering and interference in the data sharing process by external data and outsiders, thereby ensuring the security and stability of the data sharing process.
[0014] Preferably, the step of verifying the ownership of the data to be shared to obtain verification information includes:
[0015] Generate ownership verification privacy information for the central transmission node , and calculate the public verification information based on the ownership verification privacy information and make the public verification information Publicly verify the information for:
[0016] ;
[0017] In the formula, Transmits the identity information of the central node;
[0018] Based on the public verification information Calculate the first verification credit value , and calculate the first verification credit value Verify information with the public The first hash value and ownership identity information :
[0019] ;
[0020] ;
[0021]
[0022] In the formula, is a random number, To calculate the hash value operation;
[0023] The ownership identity information is transmitted through the central transmission node With the first hash value Sent to the data owner, who then uses the ownership identity information With the first hash value Calculate the second verification credit value , and calculate the second verification credit value Verify information with the public The second hash value :
[0024] ;
[0025] ;
[0026] Determine the first hash value With the second hash value Are they equal? If the first hash value With the second hash value If the first hash value is equal, verification information is generated and the verification information is verified. With the second hash value If they are not equal, verification information is generated and the verification information indicates that the verification failed.
[0027] Preferably, the steps of constructing a hash function and determining a transmission public key and a transmission private key according to the hash function and through the central transmission node, and determining the request private key of the data requester according to the transmission private key and the identity information of the data requester include:
[0028] Select a bilinear map , and according to the bilinear mapping Determine the first hash function , the second hash function , the third hash function With the fourth hash function :
[0029] ; ;
[0030] ; ;
[0031] In the formula, , denote the first and second prime number group multiplicative cyclic groups respectively, represents algebraic operations, express Generators of Linear space of ;
[0032] Based on the bilinear mapping , the first hash function The second hash function , the third hash function With the fourth hash function Determine the valid parameter set ,in, express The generator of
[0033] Each of the central transmission nodes exist Pick a random polynomial from , each of the central transmission nodes Transmit to the rest of the central nodes Transmission Node Credit ,in, Indicates Random polynomial Middle coefficients, is an unknown variable;
[0034] Verify the node credit value Whether the node credit condition is met, wherein the node credit condition is:
[0035] ;
[0036] in, Indicates Random polynomial Middle coefficients, Represents modulus operation;
[0037] If the node credit value If the node credit conditions are met, the transmission public key is calculated Transferring private keys :
[0038] ; ;
[0039] In the formula, Indicates Random polynomial The constant term in ;
[0040] The data requester will provide the identity information Send to the rest of the central transmission nodes and calculate the initial private key of the data requester :
[0041] ;
[0042] In the formula, Indicates Random polynomial The constant term in , represents a first hash function;
[0043] Based on the effective parameter set Verify the initial private key Whether the private key credit condition is met, wherein the private key credit condition is:
[0044] ;
[0045] If the initial private key If the private key credit condition is met, then based on the initial private key Calculate the request private key of the data requester :
[0046] .
[0047] Preferably, the step of signing and encrypting the data to be shared according to the request private key of the data requester and the corresponding industrial Internet identifier to obtain the first encrypted data includes:
[0048] exist Pick a random number from , according to the random number With the request private key Calculate the first signature value With the second signature value :
[0049] ; ;
[0050] In the formula, Indicates the data to be shared. represents the first hash function, Indicates the identity information of the data requester;
[0051] Based on the first signature value With the second signature value Confirm signature shared data :
[0052] ;
[0053] exist Pick a random number from And encryption conditions , based on the random number , the encryption conditions And the corresponding industrial Internet logo Calculate the first sub-encrypted data , Second sub-encrypted data , the third sub-encrypted data 、The fourth sub-encryption data :
[0054] ; ;
[0055] ; ;
[0056] In the formula, , Represent the first and second hash functions respectively, Represents the first prime number group multiplicative cyclic group The generator of represents a bilinear map;
[0057] Based on the first sub-encrypted data , Second sub-encrypted data , the third sub-encrypted data 、The fourth sub-encryption data Determine the first encrypted data :
[0058] .
[0059] Preferably, the step of signing the first encrypted data by the data owner to obtain signature data and storing the signature data in IPFS, verifying and comparing the signature data by the IPFS to output a signature verification value, and performing secondary encryption processing on the first encrypted data according to the signature verification value and the request private key to obtain the second encrypted data includes:
[0060] Calculate the first encrypted data The third hash value :
[0061] ;
[0062] In the formula, To calculate the hash value operation;
[0063] The first encrypted data is signed by the data owner to obtain the signature data And store the signed data in IPFS:
[0064] ;
[0065] In the formula, represents the first hash function, Indicates request for private key. Represents the second prime number group multiplicative cyclic group The generator of represents the modulus operation, Indicates the transmission of public key;
[0066] Verify whether the signature data meets the signature credit condition, wherein the signature credit condition is:
[0067] ;
[0068] If the signature data meets the signature credit condition, the third hash value Output as a signature verification value, and calculate the proxy private key based on the signature verification value : ;
[0069] In the formula, Represents the first prime number group multiplicative cyclic group The generator of represents the second hash function, Indicates encryption conditions;
[0070] Verify the agent private key Whether the agent credit conditions are met, wherein the agent credit conditions are:
[0071] ;
[0072] In the formula, represents a bilinear map, , Respectively represent the first and third sub-encrypted data;
[0073] If the proxy private key If the agent credit conditions are met, then according to the agent private key The first encrypted data is encrypted twice with the request private key to obtain the first heavily encrypted data , Second level of encrypted data , the third encryption data , the fourth level of encrypted data :
[0074] ; ;
[0075] ; ;
[0076] In the formula, Indicates request for private key. Indicates the identity information of the data requester. Indicates the Industrial Internet logo;
[0077] Based on the first re-encrypted data , Second level of encrypted data , the third encryption data , the fourth level of encrypted data Determine the second encrypted data :
[0078] .
[0079] Preferably, the step of verifying the validity of the second encrypted data and the validity of the verification information, and if the second encrypted data and the verification information are valid, determining whether the request private key is leaked, and if the request private key is leaked, adding the identity information of the data requester corresponding to the request private key to a denied access list, and updating the request private keys of the remaining data requesters includes:
[0080] Verify whether the second encrypted data meets an encryption credit condition, wherein the encryption credit condition is:
[0081] ;
[0082] In the formula, represents a bilinear map, , Respectively represent the first and fourth encrypted data, Represents the first prime number group multiplicative cyclic group The generator of represents the third hash function, Indicates the identity information of the data requester. Indicates the Industrial Internet logo; represents first encrypted data;
[0083] Re-determining whether the verification information is verified;
[0084] If the second encrypted data satisfies the encryption credit condition and the verification information is verified, the second encrypted data is valid and the verification information is valid, and it is determined whether the requested private key is leaked;
[0085] If the request private key is leaked, the identity information of the data requester corresponding to the request private key is added to the access denied list, and the request private keys of the remaining data requesters are updated:
[0086] ;
[0087] In the formula, is the updated request private key of the data requester, for The random numbers in Indicates Random polynomial The constant term in , Represents the first hash function.
[0088] Preferably, the step of decrypting the second encrypted data to obtain the decrypted data to be shared includes:
[0089] Performing a first decryption process on the second encrypted data to obtain a decrypted first encrypted data :
[0090] ;
[0091] In the formula, , Respectively represent the third and fourth encrypted data, represents a bilinear map, Indicates request for private key;
[0092] After decryption, the first encrypted data Perform a second decryption process to obtain the decrypted data to be shared :
[0093] ;
[0094] In the formula, , Respectively represent the first and second encrypted data, Denotes the fourth hash function.
[0095] In a second aspect, the present invention provides the following technical solution: a data security sharing system based on industrial Internet identification, the system comprising:
[0096] A construction module is used to construct a shared blockchain, wherein the shared blockchain includes a plurality of data transmission nodes, identify the data processing capability of each of the data transmission nodes and arrange the plurality of data transmission nodes in descending order according to the data processing capability, and use the first plurality of data transmission nodes as central transmission nodes;
[0097] The ownership verification module is used to receive a data sharing request from a data requester, collect the data to be shared of the data owner according to the data sharing request, and verify the ownership of the data to be shared to obtain verification information. If the verification information is verified, the data to be shared and the verification information are sent to the shared blockchain;
[0098] A private key determination module, used to construct a hash function and determine a transmission public key and a transmission private key according to the hash function and through the central transmission node, and determine a request private key of the data requester according to the transmission private key and the identity information of the data requester;
[0099] A first encryption module is used to add a corresponding industrial Internet identifier to each of the data to be shared, and to sign and encrypt the data to be shared according to the request private key of the data requester and the corresponding industrial Internet identifier to obtain first encrypted data;
[0100] A second encryption module is used to sign the first encrypted data through the data owner to obtain signature data and store the signature data in IPFS, verify and compare the signature data through the IPFS to output a signature verification value, and perform secondary encryption processing on the first encrypted data according to the signature verification value and the request private key to obtain second encrypted data;
[0101] an update module, used to verify the validity of the second encrypted data and the validity of the verification information; if the second encrypted data and the verification information are valid, determine whether the request private key is leaked; if the request private key is leaked, add the identity information of the data requester corresponding to the request private key to a denied access list, and update the request private keys of the remaining data requesters;
[0102] A decryption module is used to receive a decryption request from the data requester and determine whether the data requester is in the denied access list. If the data requester is not in the denied access list, the second encrypted data is decrypted to obtain the decrypted data to be shared and the decrypted data to be shared is shared to the corresponding data requester through the data transmission node in the shared blockchain.
[0103] In a third aspect, the present invention provides the following technical solution: a computer comprising a memory, a processor, and a computer program stored in the memory and executable on the processor; when the processor executes the computer program, the method for secure data sharing based on industrial Internet identification as described above is implemented.
[0104] In a fourth aspect, the present invention provides the following technical solution: a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the above-mentioned method for secure data sharing based on industrial Internet identification. BRIEF DESCRIPTION OF THE DRAWINGS
[0105] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0106] Figure 1 A flowchart of a data security sharing method based on industrial Internet identification provided in Embodiment 1 of the present invention;
[0107] Figure 2 A structural block diagram of a data security sharing system based on industrial Internet identification provided in Embodiment 2 of the present invention;
[0108] Figure 3 A schematic diagram of the hardware structure of a computer provided in another embodiment of the present invention.
[0109] The embodiments of the present invention will be further described below with reference to the accompanying drawings. DETAILED DESCRIPTION
[0110] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the embodiments of the present invention, and should not be construed as limiting the present invention.
[0111] In the description of the embodiments of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.
[0112] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0113] In the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present invention can be understood according to specific circumstances.
[0114] Embodiment 1
[0115] In the first embodiment of the present invention, Figure 1 As shown, a data security sharing method based on industrial Internet identification includes:
[0116] S1. Construct a shared blockchain, wherein the shared blockchain includes a plurality of data transmission nodes, identify the data processing capability of each of the data transmission nodes, and arrange the plurality of data transmission nodes in descending order according to the data processing capability, and use the first plurality of data transmission nodes as central transmission nodes;
[0117] Specifically, for a shared blockchain, it includes several data transmission nodes, each of which can be used to complete data reception, data distribution and other processes. However, since each node corresponds to an IoT device and the computing power of each device is different, in this step, the data processing capability of each node is determined. The data processing capability may include the node's operating speed, computing power, data transmission speed, data storage space size, etc. After determining the data processing capability, each node is arranged in descending order. By selecting the first several nodes as the central transmission node, the central transmission node has better data processing capability, so it can be used as a distribution node to distribute data to each data transmission node for data transmission. At the same time, it can also be used as a verification node to verify the source of each data or the identity information of each data party, etc.
[0118] S2. Receive a data sharing request from a data requester, collect the data to be shared of the data owner according to the data sharing request, verify the ownership of the data to be shared to obtain verification information, and if the verification information is verified, send the data to be shared and the verification information to the shared blockchain;
[0119] Wherein, the step S2 comprises:
[0120] S21. Generate ownership verification privacy information for the central transmission node , and calculate the public verification information based on the ownership verification privacy information and make the public verification information Publicly verify the information for:
[0121] ;
[0122] In the formula, The identity information of the central transmission node.
[0123] S22, based on the public verification information Calculate the first verification credit value , and calculate the first verification credit value Verify information with the public The first hash value and ownership identity information :
[0124] ;
[0125] ;
[0126]
[0127] In the formula, is a random number, To calculate the hash value operation.
[0128] S23, transmitting the ownership identity information through the central transmission node With the first hash value Sent to the data owner, who then uses the ownership identity information With the first hash value Calculate the second verification credit value , and calculate the second verification credit value Verify information with the public The second hash value :
[0129] ;
[0130] .
[0131] S24: Determine the first hash value With the second hash value Are they equal? If the first hash value With the second hash value If the first hash value is equal, verification information is generated and the verification information is verified. With the second hash value If they are not equal, verification information is generated and the verification information indicates that the verification failed;
[0132] Specifically, the above verification process is specifically for verifying whether the collected data is the data transmitted by the IoT node, so as to avoid the addition of third-party data affecting the data sharing process. At the same time, the verification process can be completed through the central transmission node, reducing the storage and computing power burden of the remaining nodes. If the verification fails, the corresponding data will be stopped from being received.
[0133] S3, constructing a hash function and determining a transmission public key and a transmission private key according to the hash function and through the central transmission node, and determining a request private key of the data requester according to the transmission private key and the identity information of the data requester;
[0134] Wherein, the step S3 comprises:
[0135] S31. Select bilinear mapping , and according to the bilinear mapping Determine the first hash function , the second hash function , the third hash function With the fourth hash function :
[0136] ; ;
[0137] ; ;
[0138] In the formula, , denote the first and second prime number group multiplicative cyclic groups respectively, represents algebraic operations, express Generators of Linear space of ;
[0139] Specifically, the above four hash functions are collision-resistant hash functions, among which Indicates a mapping relationship.
[0140] S32, based on the bilinear mapping , the first hash function The second hash function , the third hash function With the fourth hash function Determine the valid parameter set ,in, express The generator of
[0141] Specifically, the valid parameter set can be used as a basis for subsequent encryption and verification.
[0142] S33, each of the central transmission nodes exist Pick a random polynomial from , each of the central transmission nodes Transmit to the rest of the central nodes Transmission Node Credit ,in, Indicates Random polynomial Middle coefficients, is an unknown variable;
[0143] Specifically, at each of the central transmission nodes Transmit to the rest of the central nodes After transmitting the node credit value, each central transmission node will determine whether the node is a valid node based on the transmitted node credit value. If it is a valid node, the subsequent process can be carried out. If it is not a valid node, the above process will be repeated to retransmit the node credit value. If the conditions are still not met after a certain period of time, the central transmission node will be eliminated and a new central transmission node will be selected from the remaining data transmission nodes as a fill.
[0144] S34: Verify the node credit value Whether the node credit condition is met, wherein the node credit condition is:
[0145] ;
[0146] in, Indicates Random polynomial Middle coefficients, Represents the modulus operation.
[0147] S35. If the node credit value If the node credit conditions are met, the transmission public key is calculated Transferring private keys :
[0148] ; ;
[0149] In the formula, Indicates Random polynomial The constant term in ;
[0150] Specifically, if the node credit conditions are not met, an error message will be generated to the corresponding node.
[0151] S36, the data requester sends the identity information Send to the rest of the central transmission nodes and calculate the initial private key of the data requester :
[0152] ;
[0153] In the formula, Indicates Random polynomial The constant term in , Represents the first hash function.
[0154] S37, based on the valid parameter set Verify the initial private key Whether the private key credit condition is met, wherein the private key credit condition is:
[0155] .
[0156] S38. If the initial private key If the private key credit condition is met, then based on the initial private key Calculate the request private key of the data requester :
[0157] ;
[0158] Specifically, if the private key credit condition is not met, the initial private key is regenerated.
[0159] S4. Add a corresponding industrial Internet identifier to each of the data to be shared, and sign and encrypt the data to be shared according to the request private key of the data requester and the corresponding industrial Internet identifier to obtain first encrypted data;
[0160] Wherein, the step S4 comprises:
[0161] S41, in Pick a random number from , according to the random number With the request private key Calculate the first signature value With the second signature value :
[0162] ; ;
[0163] In the formula, Indicates the data to be shared. represents the first hash function, Indicates the identity information of the data requester.
[0164] S42: Based on the first signature value With the second signature value Confirm signature shared data :
[0165] .
[0166] S43, in Pick a random number from And encryption conditions , based on the random number , the encryption conditions And the corresponding industrial Internet logo Calculate the first sub-encrypted data , Second sub-encrypted data , the third sub-encrypted data 、The fourth sub-encryption data :
[0167] ; ;
[0168] ; ;
[0169] In the formula, , Represent the first and second hash functions respectively, Represents the first prime number group multiplicative cyclic group The generator of represents a bilinear map;
[0170] Specifically, the Industrial Internet identifier can be used to indicate the data type, data source, and data identity information of the data to be shared.
[0171] S44, based on the first sub-encrypted data , Second sub-encrypted data , the third sub-encrypted data 、The fourth sub-encryption data Determine the first encrypted data :
[0172] .
[0173] S5. The data owner signs the first encrypted data to obtain signature data and stores the signature data in IPFS. The signature data is verified and compared by the IPFS to output a signature verification value. The first encrypted data is re-encrypted according to the signature verification value and the request private key to obtain second encrypted data.
[0174] Wherein, the step S5 comprises:
[0175] S51, calculating the first encrypted data The third hash value :
[0176] ;
[0177] In the formula, To calculate the hash value operation.
[0178] S52: The data owner signs the first encrypted data to obtain signature data. And store the signature data in IPFS:
[0179] ;
[0180] In the formula, represents the first hash function, Indicates request for private key. Represents the second prime number group multiplicative cyclic group The generator of represents the modulus operation, Indicates the transmission of public keys.
[0181] S53: Verify whether the signature data meets the signature credit condition, wherein the signature credit condition is:
[0182] ;
[0183] S54: If the signature data meets the signature credit condition, the third hash value Output as a signature verification value, and calculate the proxy private key based on the signature verification value :
[0184] ;
[0185] In the formula, Represents the first prime number group multiplicative cyclic group The generator of represents the second hash function, Indicates encryption conditions;
[0186] Specifically, if the signature data does not meet the signature credit condition, 0 is output.
[0187] S55: Verify the proxy private key Whether the agent credit conditions are met, wherein the agent credit conditions are:
[0188] ;
[0189] In the formula, represents a bilinear map, , Respectively represent the first and third sub-encrypted data;
[0190] Among them, if the proxy private key If the agent credit conditions are not met, an error message will be returned.
[0191] S56. If the proxy private key If the agent credit conditions are met, then according to the agent private key The first encrypted data is encrypted twice with the request private key to obtain the first heavily encrypted data , Second level of encrypted data , the third encryption data , the fourth level of encrypted data :
[0192] ; ;
[0193] ; ;
[0194] In the formula, Indicates request for private key. Indicates the identity information of the data requester. Represents the Industrial Internet logo.
[0195] S57: Based on the first re-encrypted data , Second level of encrypted data , the third encryption data , the fourth level of encrypted data Determine the second encrypted data :
[0196] .
[0197] S6. Verify the validity of the second encrypted data and the validity of the verification information. If the second encrypted data and the verification information are valid, determine whether the request private key is leaked. If the request private key is leaked, add the identity information of the data requester corresponding to the request private key to the access denied list, and update the request private keys of the remaining data requesters.
[0198] Wherein, the step S6 comprises:
[0199] S61. Verify whether the second encrypted data meets an encryption credit condition, wherein the encryption credit condition is:
[0200] ;
[0201] In the formula, represents a bilinear map, , Respectively represent the first and fourth encrypted data, Represents the first prime number group multiplicative cyclic group The generator of represents the third hash function, Indicates the identity information of the data requester. Indicates the Industrial Internet logo; Indicates the first encrypted data.
[0202] S62, re-determining whether the verification information is verified;
[0203] Specifically, in this step, the verification information needs to be re-determined and it is determined whether the verification information is verified. This will prevent third-party outsiders from attacking the data sharing process and thus avoid the security of data sharing.
[0204] S63: If the second encrypted data meets the encryption credit condition and the verification information is verified, the second encrypted data is valid and the verification information is valid, and it is determined whether the requested private key is leaked.
[0205] S64. If the request private key is leaked, the identity information of the data requester corresponding to the request private key is added to the access denied list, and the request private keys of the remaining data requesters are updated:
[0206] ;
[0207] In the formula, is the updated request private key of the data requester, for The random numbers in Indicates Random polynomial The constant term in , represents a first hash function;
[0208] Specifically, if the request key of a data requester is leaked, in order to ensure the data sharing security of other data requesters, the corresponding data requester needs to be added to the denied access list to prevent it from joining the data sharing process and affecting the data sharing security. At the same time, in order to prevent third-party attackers from obtaining the information of other data requesters based on the leaked request private key, the request private keys of other data requesters need to be updated to improve the security of data sharing.
[0209] S7, receiving a decryption request from the data requester, and determining whether the data requester is in the denied access list; if the data requester is not in the denied access list, decrypting the second encrypted data to obtain the decrypted data to be shared, and sharing the decrypted data to be shared to the corresponding data requester through the data transmission node in the shared blockchain;
[0210] Wherein, the step S7 comprises:
[0211] S71: Perform a first decryption process on the second encrypted data to obtain a decrypted first encrypted data. :
[0212] ;
[0213] In the formula, , Respectively represent the third and fourth encrypted data, represents a bilinear map, Indicates a request for a private key.
[0214] S72: decrypt the first encrypted data Perform a second decryption process to obtain the decrypted data to be shared :
[0215] ;
[0216] In the formula, , Respectively represent the first and second encrypted data, Denotes the fourth hash function.
[0217] Specifically, after decryption, the corresponding decrypted data to be shared is shared with the corresponding data requester according to the corresponding data sharing request.
[0218] The data security sharing method based on industrial Internet identification provided in the first embodiment of the present invention first determines a shared blockchain and a central transmission node therein, thereby improving the reliability of the data transmission process and reducing the waste in the data sharing process. Secondly, the present invention provides a solution for double encryption of data, which can achieve anti-collusion, non-interactive and effective privacy protection, and can effectively protect the personal privacy information of all parties in the data sharing process. At the same time, it can also avoid the waste of computing resources caused by the data requester being authorized. At the same time, multiple verification processes are added in the present invention. Through multiple verifications, attacks, tampering and interference of external data and outsiders in the data sharing process can be effectively avoided, thereby ensuring the security and stability of the data sharing process.
[0219] Embodiment 2
[0220] like Figure 2 As shown, in the second embodiment of the present invention, a data security sharing system based on industrial Internet identification is provided, and the system includes:
[0221] Building module 1, used to build a shared blockchain, the shared blockchain includes a plurality of data transmission nodes, identifying the data processing capability of each of the data transmission nodes and arranging the plurality of data transmission nodes in descending order according to the data processing capability, and taking the first plurality of data transmission nodes as central transmission nodes;
[0222] The ownership verification module 2 is used to receive a data sharing request from a data requester, collect the data to be shared of the data owner according to the data sharing request, and verify the ownership of the data to be shared to obtain verification information. If the verification information is verified, the data to be shared and the verification information are sent to the shared blockchain;
[0223] A private key determination module 3, configured to construct a hash function and determine a transmission public key and a transmission private key according to the hash function and through the central transmission node, and determine a request private key of the data requester according to the transmission private key and the identity information of the data requester;
[0224] The first encryption module 4 is used to add a corresponding industrial Internet identifier to each of the data to be shared, and to sign and encrypt the data to be shared according to the request private key of the data requester and the corresponding industrial Internet identifier to obtain first encrypted data;
[0225] The second encryption module 5 is used to sign the first encrypted data through the data owner to obtain signature data and store the signature data in IPFS, verify and compare the signature data through the IPFS to output a signature verification value, and perform secondary encryption processing on the first encrypted data according to the signature verification value and the request private key to obtain second encrypted data;
[0226] Update module 6, used to verify the validity of the second encrypted data and the validity of the verification information. If the second encrypted data and the verification information are valid, determine whether the request private key is leaked. If the request private key is leaked, add the identity information of the data requester corresponding to the request private key to the access denied list, and update the request private keys of the remaining data requesters.
[0227] The decryption module 7 is used to receive the decryption request of the data requester and determine whether the data requester is in the denied access list. If the data requester is not in the denied access list, the second encrypted data is decrypted to obtain the decrypted data to be shared and the decrypted data to be shared is shared to the corresponding data requester through the data transmission node in the shared blockchain.
[0228] The ownership verification module 2 includes:
[0229] Public verification submodule, used to generate ownership verification privacy information for the central transmission node , and calculate the public verification information based on the ownership verification privacy information and make the public verification information Publicly verify the information for:
[0230] ;
[0231] In the formula, Transmits the identity information of the central node;
[0232] The ownership submodule is used to verify the public information Calculate the first verification credit value , and calculate the first verification credit value Verify information with the public The first hash value and ownership identity information :
[0233] ;
[0234] ;
[0235]
[0236] In the formula, is a random number, To calculate the hash value operation;
[0237] The sending submodule is used to transmit the ownership identity information through the central transmission node. With the first hash value Sent to the data owner, who then uses the ownership identity information With the first hash value Calculate the second verification credit value , and calculate the second verification credit value Verify information with the public The second hash value :
[0238] ;
[0239] ;
[0240] Verification information submodule, used to determine the first hash value With the second hash value Are they equal? If the first hash value With the second hash value If the first hash value is equal, verification information is generated and the verification information is verified. With the second hash value If they are not equal, verification information is generated and the verification information indicates that the verification failed.
[0241] The private key determination module 3 comprises:
[0242] Function determination submodule for selecting bilinear mapping , and according to the bilinear mapping Determine the first hash function , the second hash function , the third hash function With the fourth hash function :
[0243] ; ;
[0244] ; ;
[0245] In the formula, , denote the first and second prime number group multiplicative cyclic groups respectively, represents algebraic operations, express Generators of Linear space of ;
[0246] Parameter set submodule for bilinear mapping based on the , the first hash function The second hash function , the third hash function With the fourth hash function Determine the valid parameter set ,in, express The generator of
[0247] Polynomial submodule, for each of the central transmission nodes exist Pick a random polynomial from , each of the central transmission nodes Transmit to the rest of the central nodes Transmission Node Credit ,in, Indicates Random polynomial Middle coefficients, is an unknown variable;
[0248] Node verification submodule, used to verify the node credit value Whether the node credit condition is met, wherein the node credit condition is:
[0249] ;
[0250] in, Indicates Random polynomial Middle coefficients, Represents modulus operation;
[0251] The public and private key submodule is used to determine the node credit value. If the node credit conditions are met, the transmission public key is calculated Transferring private keys :
[0252] ; ;
[0253] In the formula, Indicates Random polynomial The constant term in ;
[0254] The initial private key submodule is used to pass the identity information of the data requester to the Send to the rest of the central transmission nodes and calculate the initial private key of the data requester :
[0255] ;
[0256] In the formula, Indicates Random polynomial The constant term in , represents a first hash function;
[0257] A private key verification submodule is used to verify the private key based on the valid parameter set. Verify the initial private key Whether the private key credit condition is met, wherein the private key credit condition is:
[0258] ;
[0259] Request private key submodule, used if the initial private key If the private key credit condition is met, then based on the initial private key Calculate the request private key of the data requester :
[0260] .
[0261] The first encryption module 4 comprises:
[0262] Signature value submodule, used in Pick a random number from , according to the random number With the request private key Calculate the first signature value With the second signature value :
[0263] ; ;
[0264] In the formula, Indicates the data to be shared. represents the first hash function, Indicates the identity information of the data requester;
[0265] A signature sharing submodule is used to With the second signature value Confirm signature shared data :
[0266] ;
[0267] The first encryption submodule is used to Pick a random number from And encryption conditions , based on the random number , the encryption conditions And the corresponding industrial Internet logo Calculate the first sub-encrypted data , Second sub-encrypted data , the third sub-encrypted data 、The fourth sub-encryption data :
[0268] ; ;
[0269] ; ;
[0270] In the formula, , Represent the first and second hash functions respectively, Represents the first prime number group multiplicative cyclic group The generator of represents a bilinear map;
[0271] A first encrypted data submodule is used to encrypt data based on the first submodule. , Second sub-encrypted data , the third sub-encrypted data 、The fourth sub-encryption data Determine the first encrypted data :
[0272] .
[0273] The second encryption module comprises:
[0274] A hash value calculation submodule, used to calculate the first encrypted data The third hash value :
[0275] ;
[0276] In the formula, To calculate the hash value operation;
[0277] A storage submodule, configured to sign the first encrypted data through the data owner to obtain signed data And store the signature data in IPFS:
[0278] ;
[0279] In the formula, represents the first hash function, Indicates request for private key. Represents the second prime number group multiplicative cyclic group The generator of represents the modulus operation, Indicates the transmission of public key;
[0280] The signature verification submodule is used to verify whether the signature data meets the signature credit condition, wherein the signature credit condition is:
[0281] ;
[0282] The output submodule is used to output the third hash value if the signature data meets the signature credit condition. Output as a signature verification value, and calculate the proxy private key based on the signature verification value : ;
[0283] In the formula, Represents the first prime number group multiplicative cyclic group The generator of represents the second hash function, Indicates encryption conditions;
[0284] Proxy verification submodule, used to verify the proxy private key Whether the agent credit conditions are met, wherein the agent credit conditions are:
[0285] ;
[0286] In the formula, represents a bilinear map, , Respectively represent the first and third sub-encrypted data;
[0287] The second encryption submodule is used to If the agent credit conditions are met, then according to the agent private key The first encrypted data is encrypted twice with the request private key to obtain the first heavily encrypted data , Second level of encrypted data , the third encryption data , the fourth level of encrypted data :
[0288] ; ;
[0289] ; ;
[0290] In the formula, Indicates request for private key. Indicates the identity information of the data requester. Indicates the Industrial Internet logo;
[0291] The second encrypted data submodule is used to encrypt the data based on the first re-encrypted data , Second level of encrypted data , the third encryption data , the fourth level of encrypted data Determine the second encrypted data :
[0292] .
[0293] The updating module 6 comprises:
[0294] The encryption verification submodule is used to verify whether the second encrypted data meets the encryption credit condition, wherein the encryption credit condition is:
[0295] ;
[0296] In the formula, represents a bilinear map, , Respectively represent the first and fourth encrypted data, Represents the first prime number group multiplicative cyclic group The generator of represents the third hash function, Indicates the identity information of the data requester. Indicates the Industrial Internet logo; represents first encrypted data;
[0297] A re-judgment submodule, used to re-judgment whether the verification information is verified;
[0298] A leakage judgment submodule, used for judging whether the second encrypted data satisfies the encryption credit condition and the verification information is verified, then the second encrypted data is valid and the verification information is valid and judging whether the requested private key is leaked;
[0299] The update submodule is used to add the identity information of the data requester corresponding to the request private key to the access denied list if the request private key is leaked, and update the request private keys of the remaining data requesters:
[0300] ;
[0301] In the formula, is the updated request private key of the data requester, for The random numbers in Indicates Random polynomial The constant term in , Represents the first hash function.
[0302] The decryption module 7 comprises:
[0303] A first decryption submodule is used to perform a first decryption process on the second encrypted data to obtain a decrypted first encrypted data :
[0304] ;
[0305] In the formula, , Respectively represent the third and fourth encrypted data, represents a bilinear map, Indicates request for private key;
[0306] The second decryption submodule is used to decrypt the first encrypted data Perform a second decryption process to obtain the decrypted data to be shared :
[0307] ;
[0308] In the formula, , Respectively represent the first and second encrypted data, Denotes the fourth hash function.
[0309] In some other embodiments of the present invention, the embodiments of the present invention provide the following technical solutions: a computer, comprising a memory 102, a processor 101, and a computer program stored in the memory 102 and executable on the processor 101; when the processor 101 executes the computer program, the data security sharing method based on the industrial Internet identity as described above is implemented.
[0310] Specifically, the processor 101 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.
[0311] Among them, the memory 102 may include a large-capacity memory for data or instructions. By way of example and not limitation, the memory 102 may include a hard disk drive (HDD), a floppy disk drive, a solid state drive (SSD), a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 102 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 102 may be inside or outside the data processing device. In a specific embodiment, the memory 102 is a non-volatile memory. In a specific embodiment, the memory 102 includes a read-only memory (ROM) and a random access memory (RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically alterable ROM (EAROM) or a flash memory (FLASH), or a combination of two or more of these. Under appropriate circumstances, the RAM can be a static random access memory (SRAM) or a dynamic random access memory (DRAM), wherein the DRAM can be a fast page mode dynamic random access memory (FPMDRAM), an extended data output dynamic random access memory (EDODRAM), a synchronous dynamic random access memory (SDRAM), etc.
[0312] The memory 102 may be used to store or cache various data files that need to be processed and / or used for communication, as well as possible computer program instructions executed by the processor 101 .
[0313] The processor 101 implements the above-mentioned data security sharing method based on industrial Internet identification by reading and executing computer program instructions stored in the memory 102.
[0314] In some embodiments, the computer may further include a communication interface 103 and a bus 100. Figure 3 As shown, the processor 101, the memory 102, and the communication interface 103 are connected via a bus 100 and communicate with each other.
[0315] The communication interface 103 is used to implement communication between the modules, devices, units and / or equipment in the embodiment of the present invention. The communication interface 103 can also implement data communication with other components such as: external devices, image / data acquisition equipment, databases, external storage, and image / data processing workstations.
[0316] The bus 100 includes hardware, software or both, and couples the components of the computer device to each other. The bus 100 includes but is not limited to at least one of the following: a data bus, an address bus, a control bus, an expansion bus, and a local bus. By way of example and not limitation, bus 100 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. Where appropriate, bus 100 may include one or more buses. Although embodiments of the present invention describe and illustrate a particular bus, the present invention contemplates any suitable bus or interconnect.
[0317] The computer can execute the data security sharing method based on the industrial Internet identifier of the present invention based on the data security sharing system acquired based on the industrial Internet identifier, thereby realizing data security sharing based on the industrial Internet identifier.
[0318] In some further embodiments of the present invention, in combination with the above-mentioned data security sharing method based on industrial Internet identification, the embodiments of the present invention provide the following technical solutions: a storage medium having a computer program stored thereon, and the computer program implements the above-mentioned data security sharing method based on industrial Internet identification when executed by a processor.
[0319] Those skilled in the art will appreciate that the logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For purposes of this specification, "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0320] More specific examples of readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0321] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or a combination thereof: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0322] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0323] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A data security sharing method based on industrial Internet identification, characterized in that: include: Constructing a shared blockchain, wherein the shared blockchain includes a plurality of data transmission nodes, identifying the data processing capability of each of the data transmission nodes and arranging the plurality of data transmission nodes in descending order according to the data processing capability, and taking the first plurality of data transmission nodes as central transmission nodes; Receive a data sharing request from a data requester, collect the data to be shared from the data owner according to the data sharing request, verify the ownership of the data to be shared to obtain verification information, and if the verification information is verified, send the data to be shared and the verification information to the shared blockchain; Constructing a hash function and determining a transmission public key and a transmission private key according to the hash function and the central transmission node, and determining a request private key of the data requester according to the transmission private key and the identity information of the data requester; Add a corresponding industrial Internet identifier to each of the data to be shared, and sign and encrypt the data to be shared according to the request private key of the data requester and the corresponding industrial Internet identifier to obtain first encrypted data; The first encrypted data is signed by the data owner to obtain signature data and the signature data is stored in IPFS, the signature data is verified and compared by the IPFS to output a signature verification value, and the first encrypted data is re-encrypted according to the signature verification value and the request private key to obtain second encrypted data; Verify the validity of the second encrypted data and the validity of the verification information. If the second encrypted data and the verification information are valid, determine whether the request private key is leaked. If the request private key is leaked, add the identity information of the data requester corresponding to the request private key to the access denied list, and update the request private keys of the remaining data requesters. Receive a decryption request from the data requester, and determine whether the data requester is in the denied access list; if the data requester is not in the denied access list, decrypt the second encrypted data to obtain the decrypted data to be shared, and share the decrypted data to be shared with the corresponding data requester through the data transmission node in the shared blockchain; The step of verifying the ownership of the data to be shared to obtain verification information includes: Generate ownership verification privacy information for the central transmission node , and calculate the public verification information based on the ownership verification privacy information and make the public verification information Publicly verify the information for: ; In the formula, Transmits the identity information of the central node; Based on the public verification information Calculate the first verification credit value , and calculate the first verification credit value Verify information with the public The first hash value and ownership identity information : ; ; In the formula, is a random number, To calculate the hash value operation; The ownership identity information is transmitted through the central transmission node With the first hash value Sent to the data owner, who then uses the ownership identity information With the first hash value Calculate the second verification credit value , and calculate the second verification credit value Verify information with the public The second hash value : ; ; Determine the first hash value With the second hash value Are they equal? If the first hash value With the second hash value If the first hash value is equal, verification information is generated and the verification information is verified. With the second hash value If they are not equal, verification information is generated and the verification information indicates that the verification failed; The steps of constructing a hash function and determining a transmission public key and a transmission private key according to the hash function and the central transmission node, and determining a request private key of the data requester according to the transmission private key and the identity information of the data requester include: Select a bilinear map , and according to the bilinear mapping Determine the first hash function , the second hash function , the third hash function With the fourth hash function : ; ; ; ; In the formula, , denote the first and second prime number group multiplicative cyclic groups respectively, represents algebraic operations, express Generators of Linear space of ; Based on the bilinear mapping , the first hash function The second hash function , the third hash function With the fourth hash function Determine the valid parameter set ,in, express The generator of Each of the central transmission nodes exist Pick a random polynomial from , each of the central transmission nodes Transmit to the rest of the central nodes Transmission Node Credit ,in, Indicates Random polynomial Middle coefficients, is an unknown variable; Verify the node credit value Whether the node credit condition is met, wherein the node credit condition is: ; in, Indicates Random polynomial Middle coefficients, Represents modulus operation; If the node credit value If the node credit condition is met, the transmission public key is calculated Transferring private keys : ; ; In the formula, Indicates Random polynomial The constant term in ; The data requester will provide the identity information Send to the rest of the central transmission nodes and calculate the initial private key of the data requester : ; In the formula, Indicates Random polynomial The constant term in , represents a first hash function; Based on the effective parameter set Verify the initial private key Whether the private key credit condition is met, wherein the private key credit condition is: ; If the initial private key If the private key credit condition is met, then based on the initial private key Calculate the request private key of the data requester : 。 2. The data security sharing method based on industrial Internet identification according to claim 1 is characterized in that: The step of signing and encrypting the data to be shared according to the request private key of the data requester and the corresponding industrial Internet identifier to obtain the first encrypted data includes: exist Pick a random number from , according to the random number With the request private key Calculate the first signature value With the second signature value : ; ; In the formula, Indicates the data to be shared. represents the first hash function, Indicates the identity information of the data requester; Based on the first signature value With the second signature value Confirm signature shared data : ; exist Pick a random number from And encryption conditions , based on the random number , the encryption conditions And the corresponding industrial Internet logo Calculate the first sub-encrypted data , Second sub-encrypted data , the third sub-encrypted data , the fourth sub-encrypted data : ; ; ; ; In the formula, , Represent the first and second hash functions respectively, Represents the first prime number group multiplicative cyclic group The generator of represents a bilinear map; Based on the first sub-encrypted data , Second sub-encrypted data , the third sub-encrypted data , the fourth sub-encrypted data Determine the first encrypted data : 。 3. The data security sharing method based on industrial Internet identification according to claim 2 is characterized in that: The step of signing the first encrypted data by the data owner to obtain signature data and storing the signature data in IPFS, verifying and comparing the signature data by the IPFS to output a signature verification value, and performing secondary encryption processing on the first encrypted data according to the signature verification value and the request private key to obtain the second encrypted data includes: Calculate the first encrypted data The third hash value : ; In the formula, To calculate the hash value operation; The first encrypted data is signed by the data owner to obtain the signature data And store the signature data in IPFS: ; In the formula, represents the first hash function, Indicates request for private key. Represents the second prime number group multiplicative cyclic group The generator of represents the modulus operation, Indicates the transmission of public key; Verify whether the signature data meets the signature credit condition, wherein the signature credit condition is: ; If the signature data meets the signature credit condition, the third hash value Output as a signature verification value, and calculate the proxy private key based on the signature verification value : ; In the formula, Represents the first prime number group multiplicative cyclic group The generator of represents the second hash function, Indicates encryption conditions; Verify the agent private key Whether the agent credit conditions are met, wherein the agent credit conditions are: ; In the formula, represents a bilinear map, , Respectively represent the first and third sub-encrypted data; If the proxy private key If the agent credit conditions are met, then according to the agent private key The first encrypted data is encrypted twice with the request private key to obtain the first heavily encrypted data , Second level of encrypted data , the third encryption data , the fourth level of encrypted data : ; ; ; ; In the formula, Indicates request for private key. Indicates the identity information of the data requester. Indicates the Industrial Internet logo; Based on the first re-encrypted data , Second level of encrypted data , the third encryption data , the fourth level of encrypted data Determine the second encrypted data : 。 4. The data security sharing method based on industrial Internet identification according to claim 1 is characterized in that: The step of verifying the validity of the second encrypted data and the validity of the verification information, and if the second encrypted data and the verification information are valid, determining whether the request private key is leaked, and if the request private key is leaked, adding the identity information of the data requester corresponding to the request private key to the access denied list, and updating the request private keys of the remaining data requesters includes: Verify whether the second encrypted data meets an encryption credit condition, wherein the encryption credit condition is: ; In the formula, represents a bilinear map, , Respectively represent the first and fourth encrypted data, Represents the first prime number group multiplicative cyclic group The generator of represents the third hash function, Indicates the identity information of the data requester. Indicates the Industrial Internet logo; represents first encrypted data; Re-determining whether the verification information is verified; If the second encrypted data satisfies the encryption credit condition and the verification information is verified, the second encrypted data is valid and the verification information is valid, and it is determined whether the requested private key is leaked; If the request private key is leaked, the identity information of the data requester corresponding to the request private key is added to the access denied list, and the request private keys of the remaining data requesters are updated: ; In the formula, is the updated request private key of the data requester, for The random numbers in Indicates Random polynomial The constant term in , Represents the first hash function.
5. The data security sharing method based on industrial Internet identification according to claim 4 is characterized in that: The step of decrypting the second encrypted data to obtain the decrypted data to be shared includes: Performing a first decryption process on the second encrypted data to obtain a decrypted first encrypted data : ; In the formula, , Respectively represent the third and fourth encrypted data, represents a bilinear map, Indicates request for private key; After decryption, the first encrypted data Perform a second decryption process to obtain the decrypted data to be shared : ; In the formula, , Respectively represent the first and second encrypted data, Denotes the fourth hash function.
6. A data security sharing system based on industrial Internet identification, the system adopts the data security sharing method based on industrial Internet identification as claimed in claim 1, characterized in that: The system comprises: A construction module is used to construct a shared blockchain, wherein the shared blockchain includes a plurality of data transmission nodes, identify the data processing capability of each of the data transmission nodes and arrange the plurality of data transmission nodes in descending order according to the data processing capability, and use the first plurality of data transmission nodes as central transmission nodes; The ownership verification module is used to receive a data sharing request from a data requester, collect the data to be shared of the data owner according to the data sharing request, and verify the ownership of the data to be shared to obtain verification information. If the verification information is verified, the data to be shared and the verification information are sent to the shared blockchain; A private key determination module, used to construct a hash function and determine a transmission public key and a transmission private key according to the hash function and the central transmission node, and determine a request private key of the data requester according to the transmission private key and the identity information of the data requester; A first encryption module is used to add a corresponding industrial Internet identifier to each of the data to be shared, and to sign and encrypt the data to be shared according to the request private key of the data requester and the corresponding industrial Internet identifier to obtain first encrypted data; A second encryption module is used to sign the first encrypted data through the data owner to obtain signature data and store the signature data in IPFS, verify and compare the signature data through the IPFS to output a signature verification value, and perform secondary encryption processing on the first encrypted data according to the signature verification value and the request private key to obtain second encrypted data; an update module, used to verify the validity of the second encrypted data and the validity of the verification information; if the second encrypted data and the verification information are valid, determine whether the request private key is leaked; if the request private key is leaked, add the identity information of the data requester corresponding to the request private key to a denied access list, and update the request private keys of the remaining data requesters; A decryption module is used to receive a decryption request from the data requester and determine whether the data requester is in the denied access list. If the data requester is not in the denied access list, the second encrypted data is decrypted to obtain the decrypted data to be shared and the decrypted data to be shared is shared to the corresponding data requester through the data transmission node in the shared blockchain.
7. A computer comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for secure data sharing based on industrial Internet identification as described in any one of claims 1 to 5 is implemented.
8. A storage medium, characterized in that: The storage medium stores a computer program, which, when executed by a processor, implements the data security sharing method based on industrial Internet identification as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Data security storage system based on block chain
CN112150147A
Industrial Internet of Things security data sharing method based on edge block chain
CN112543187A
Distributed data security sharing method and system based on block chain, and computer readable medium
CN113595971A
Supply chain data sharing method and system based on block chain and authority management
CN115208656A
Industrial Internet of Things data security sharing method based on batch verification signature
CN117395012A
