Distributed detection-based responsibility-traceable data retrieval system
By adopting an accountable data retrieval system with distributed detection in the Industrial Internet of Things (IoT), and utilizing key generation and distribution, data encryption and blacklist mechanisms, the problems of user unauthorized access and incomplete data are solved, and data is realized. The improvement of permission management and query efficiency ensures data security and resource saving.
Patent Information
- Application Number
- CN202411038793.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the Industrial Internet of Things (IoT), there are problems such as unauthorized access by users, incomplete or tampered data, and malicious authorization that lead to excessive pressure on cloud servers and waste of resources. Especially in cross-enterprise and cross-industry data sharing environments, data storage and access security is difficult to guarantee.
Adopt an accountable data retrieval system based on distributed detection, and realize data permission management and transmission management through the collaborative work of system administrators, IoT terminal devices, cloud servers and distributed verification servers, using key generation and distribution, data Encryption, distributed verification and blacklist mechanisms ensure data security and query efficiency.
Effectively manage node permissions, reduce server pressure, save resources, prevent meaningless accountability and waste of resources, ensure the integrity and security of data query results, and relieve the pressure on cloud servers.
Smart Images

Figure CN118764293A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of searchable encryption technology of Industrial Internet of Things (IoT), and in particular to a distributed detection-based accountability data retrieval system. Background Art
[0002] Internet of Things technology is now widely used in the Industrial Internet of Things (IoT), such as smart transportation, medical services and automated manufacturing. It interconnects various devices to achieve data sharing and data exchange, and administrators can monitor and analyze all devices, which realizes real-time data processing and improves production efficiency. However, IoT devices also have shortcomings such as weak computing power and vulnerability to attacks, and the huge amount of data, which requires a large amount of data and complex calculations to be sent to the server for encrypted storage or calculation, so that they can be queried and obtained in time when necessary; at the same time, for the needs of cross-enterprise and cross-industry data sharing, data storage and access security must also be guaranteed. Therefore, the protection of data stored on the server and data access protection have become the current research focus.
[0003] During the interaction between users and servers, there may be problems with users unauthorized access. Inside the server, the returned data may be incomplete or tampered with. At the same time, if malicious authorized users use illegal trapdoors to access the server too frequently, it will cause excessive pressure on the cloud server and system crashes. At the same time, it may also result in multiple accountability for the same user, wasting resources. Summary of the invention
[0004] In view of the above problems existing in the prior art, the present invention provides a traceable data retrieval system based on distributed detection. By designing the construction of the industrial Internet of Things data system and the node data transmission process, it ensures the effective management of node permissions and data transmission, reduces server pressure and saves resources.
[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0006] A distributed detection-based accountability data retrieval system includes a system administrator KMC node, an Internet of Things terminal device IoT node, a cloud server CS node, a distributed verification server VS node and a user U node.
[0007] The system's data processing process includes:
[0008] S10, system initialization phase: select the safety parameter ξ, generate and publish the system parameter PP.
[0009] S20, key generation and distribution phase:
[0010] S21, KMC node selects random number
[0011]
[0012] Where i = (1, 2, ..., m), m is the number of distributed verification server VS nodes, and a public-private key pair is calculated, generated and distributed for each system node.
[0013] S22. The KMC node assigns an identity ID and an accessible data set S to all user U nodes respectively; the accessible data set S is the data collected by the IoT node of the Internet of Things device specified by the KMC node, and the user U node is bound to the specified IoT node.
[0014] S30, data collection and encryption stage: IoT terminal device IoT node collects data and extracts keyword information KW to generate data index C and data ciphertext C M and data validation tag M V , and then the label data L=(C M , M V , C) Submit to the cloud server CS node for storage.
[0015] S40, user query phase: user U node calculation search trap
[0016] Tr=(Tr1,Tr2,Tr3,Tr4,Tr5,Tr6,Tr7,Tr8,Tr9), search trapdoor Tr and the identity information ζ of user U node id The user search information Q formed by combining with the specified data set S = (ξ id , Tr, S) is sent to the verification server VS node.
[0017] S50, query detection and accountability phase: After the VS node receives the search trap Tr,
[0018] S51, the VS node checks the integrity of the search trap Tr. If the search trap Tr is incomplete, the process stops. If the search trap Tr is complete, the process queries the user revocation list to see whether the trap Tr4 representing the user identity information exists. If so, the process stops. Otherwise, the process performs the next step of the trap legitimacy check.
[0019] S52, VS node checks the legitimacy of the search trap Tr, takes traps Tr1, Tr2, Tr3, Tr4, Tr5 for equation judgment, if it is established, then executes blacklist matching, otherwise submits the search trap Tr to the KMC node to execute user identity accountability.
[0020] S53, the VS node performs blacklist matching on the user identity, takes trapdoors Tr7 and Tr8, and matches them with the blacklist trapdoor Tr′. If the match is established, the node stops; if not, the node submits the search trapdoor Tr to the CS node for data retrieval.
[0021] S54, KMC node conducts user identity accountability: KMC node tries to determine the relationship between the search trap Tr and the authorized user, and takes traps Tr1, Tr2, Tr3, Tr4, Tr6 for equation judgment. If the equation holds true, the search trap Tr is generated by the authorized user and is legal, and accountability is stopped. Otherwise, KMC node extracts and parses to recover the identity id of user U node, otherwise it stops.
[0022] S60, search and match phase: CS node performs data query, uses trapdoors Tr1, Tr2 and data set S and index C to match. If the match is successful, the data is returned, the conversion index DT is calculated, and the index C, conversion index DT, and ciphertext C are combined. M and data validation tag M V The constructed label decrypted data is sent to the user U node, otherwise stop.
[0023] S70, data decryption stage:
[0024] S71, the user U node parses and obtains the key δ;
[0025] S72, user U node verifies the integrity and correctness of the data: using the data key δ and the data verification tag M V and data ciphertext C M Perform equality judgment. If the test cannot be satisfied, stop. Otherwise, user U node uses IDec′ to parse the plaintext data.
[0026] S80, user update phase: User U node updates are divided into the following three types:
[0027] S81, new user registration: KMC node allocates a key to the newly registered user U node;
[0028] S82, user revocation: the KMC node adds the user U node to the user revocation list and rejects the search query of the user U node;
[0029] S83. Update the data set for the current user U node: The KMC node performs user cancellation and new user registration.
[0030] Compared with the prior art, the present invention has the following beneficial effects:
[0031] (1) When implementing a distributed service data retrieval system, the present invention sets an accessible data set for each user and can realize dynamic update of permissions; during the user's query process, the present invention uses a distributed verification server to detect user queries, diverts query requests initiated by users, filters out meaningless accountability, and reduces external denial of service attacks; the present invention adds a blacklist mechanism to ease the accountability pressure of system administrators and prevents the waste of resources for multiple accountability of the same user; finally, the present invention verifies the integrity of the query result data.
[0032] (2) The system of the present invention deploys a trusted distributed verification server to filter out illegal query requests and illegal users, greatly alleviating the pressure on the cloud server; and realizes a data retrieval system that can be held accountable based on distributed detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 Schematic diagram of the system framework of an embodiment of the present invention. DETAILED DESCRIPTION
[0034] The present invention is further described below in conjunction with the accompanying drawings and examples. The embodiments of the present invention include but are not limited to the following examples.
[0035] Example
[0036] like Figure 1 As shown, the accountable data retrieval system based on distributed detection includes system administrator KMC node, Internet of Things terminal device IoT node, cloud server CS node, distributed verification server VS node and user U node.
[0037] The system's data processing process includes:
[0038] S10, system initialization phase:
[0039] Select a security parameter ξ, generate and publish a system parameter PP; where the initialization parameter PP = {p, G0, G1, g, e, n, H0, H, IEnc, IDec, IEnc′, IDec′}; where G0 is an additive cyclic group of order p with g as a generator, G1 is a multiplicative cyclic group of order p, e: G0×G0→G1 is a bilinear mapping, representing a mapping from an additive cyclic group to a multiplicative cyclic group; n represents the total number of data sets S; IEnc, IDec, IEnc′, IDec′ are two symmetric algorithms, including encryption and decryption operations; select a hash function H0: {0, 1} * →K and K is the key space of two symmetric algorithms, It is a multiplicative cyclic group consisting of non-zero elements.
[0040] S20, key generation and distribution phase:
[0041] S21. The KMC node selects a random number and generates and distributes a public-private key pair to each system node; specifically:
[0042] S21a, KMC node selects random number As the private key sk of the CS node, calculate As the public key pk of the CS node, the public and private key pair of the CS node is (sk CS , pk CS )=(β0,u);
[0043] S21b, KMC node selects multiple random numbers
[0044]
[0045] calculate v4=g θ , Where i = (1, 2, ..., n, n+1, ..., 2n);
[0046] The public and private key pair (msk, mpk) of the KMC node is
[0047] KMC private key
[0048] KMC public key mpk = (v1, v2, v3, V, {h 1,i} i=1,2,…,n ,{h 2,i} i=1,2,…n,n+1,...,2n );
[0049] S21c, KMC node calculates the index key of IoT node of IoT terminal device
[0050] S21d, KMC node assigns identity IDs to m distributed verification server VS nodes respectively, and selects random numbers calculate
[0051] VS i The public key
[0052] VS i Private key in
[0053] The public and private key pair (sk VSi , Pk VSi ), where i = (1, 2, ..., m);
[0054] S21e, KMC node generates an identity id for each user U node, and KMC node selects a random number Calculate user identity information
[0055] User public key pk au =(X id , X′ id , X″ id ),in
[0056] User private key exist middle
[0057] S22, the KMC node assigns identity IDs and accessible data sets S to all user U nodes respectively; the accessible data set S is the data collected by the IoT nodes of the Internet of Things devices specified by the KMC node, and the user U nodes are bound to these specified IoT nodes;
[0058] The KMC node will bind the user information B = (ζ id ,sk au , S) is distributed to user U nodes.
[0059] S30, data collection and encryption stage: After collecting data, the IoT node of the IoT terminal device extracts keyword information, generates data index, data ciphertext and data verification label, and then submits the label data to the cloud server CS node for storage; specifically,
[0060] S31. Keyword index generation: IoT terminal device IoT node selects random number δ∈G1, take the keyword KW to generate index C=(c i,0 , c i,1 , c i,2 ·c i,3 ),in
[0061] S32, Data encryption: IoT terminal device IoT node calculates data encryption key k data =H0(δ), encrypt the collected data ciphertext Calculate data verification label M V =H(δ||C M ), the label data L=(C M , M V , ,C) sent to the CS node.
[0062] S40, user query stage: the user U node calculates the search trap Tr, and sends the user search information formed by combining the search trap Tr with the identity information of the user U node and the specified data set S to the verification server VS node; specifically:
[0063] User U node calculation search trapdoor
[0064] Tr=(Tr1, Tr2, Tr3, Tr4, Tr5, Tr6, Tr7, Tr8, Tr9),
[0065] Get a random number The calculation of each trapdoor is:
[0066] User U node will retrieve user information Q = (ξ id , Tr, S) is sent to the CS node.
[0067] S50, query detection and accountability phase: After the VS node receives the search trap Tr,
[0068] S51, the VS node verifies the integrity of the search trapdoor Tr: if the verification fails, it stops; if the verification passes, the VS node performs identity revocation list detection, if the identity information of the user U node is in the user revocation list, it stops, otherwise the VS node performs trapdoor legitimacy detection; specifically:
[0069] The jth VS node VS j Performing the test
[0070]
[0071] The derivation process of the equation here is as follows:
[0072]
[0073] Determine whether the equation is true, if not, stop, otherwise VS j The node queries the user revocation list. If trapdoor Tr4 exists, it stops. Otherwise, it performs trapdoor legitimacy check.
[0074] S52, VS node detects the legitimacy of search trapdoor Tr: VS node runs algorithm to detect the relationship between authorized user U node and search trapdoor Tr. If it is legal, blacklist matching is performed. If it is illegal, search trapdoor Tr is sent to KMC node to execute user identity accountability; specifically:
[0075] The jth VS node VS j Perform verification
[0076]
[0077] The derivation process of the equation here is as follows:
[0078]
[0079] Determine whether the equation is true. If so, the search trap Tr is matched against the blacklist. Otherwise, the search trap Tr is sent to the KMC node for user identity accountability.
[0080] S53, VS node performs blacklist matching: VS node matches the search trapdoor Tr with the blacklist trapdoor Tr′. If the match is successful, the process stops. Otherwise, the VS node sends the search trapdoor Tr to the CS node for data retrieval. Specifically:
[0081] Let blacklist trapdoor Tr′=(Tr7′, Tr8′), the verification server in blacklist trapdoor Tr′ is denoted as VS0, and the jth VS node VS j Perform detection
[0082]
[0083] The derivation process of the equation here is as follows:
[0084]
[0085] Determine whether the equation is true. If so, the identity information of the user U node is in the blacklist and the query stops. Otherwise, the node VS j The search trapdoor Tr is sent to the CS node for data retrieval.
[0086] S54, KMC node conducts user identity accountability: KMC node determines the relationship between the search trap Tr and the authorized user. If the result is true, the search trap Tr is generated by the authorized user and is legal, and accountability stops. Otherwise, KMC node extracts and parses the identity id of the user U node from the search trap Tr; specifically:
[0087] KMC node execution detection
[0088]
[0089] The derivation process of the equation here is as follows:
[0090]
[0091] Determine whether the equation is true. If so, stop. Otherwise, extract the KMC node. Restore the identity of the user U node
[0092] S60, search and match phase: the CS node performs data query, and returns data if the match is successful, otherwise stops; specifically:
[0093] S61, CS node calculation
[0094] S62, CS node performs detection
[0095]
[0096] The derivation process of the equation here is as follows:
[0097]
[0098] Determine whether the equation is true. If true, the CS node calculates the data conversion index The calculation here is:
[0099]
[0100] And the tag parsing data LI=(C M , M V , C, DT) is returned to the user U node.
[0101] S70, data decryption stage:
[0102] S71, the user U node parses and obtains the key;
[0103] S72, the user U node verifies the integrity and correctness of the data: if the test fails, the user U node stops, otherwise the user U node parses the plaintext data;
[0104] The specific process is as follows: User U node calculation Get the data key. The calculation process here is as follows:
[0105]
[0106] By performing detection Determine whether the equation is valid for data verification. If it is valid, the verification is successful and the plain text is solved. Otherwise, the verification fails and stops.
[0107] S80, user update phase: User U node updates are divided into the following three types:
[0108] S81, new user registration: KMC node assigns a key to the newly registered user U node; specifically: KMC node assigns an identity ID and a public-private key pair (pk au ,sk au ) and accessible data set S;
[0109] S82, user revocation: The KMC node revoks the identity information n of the user U node id Add the user to the revocation list to reject the search query of the user's U node;
[0110] S83. Update the data set S for the current user U node: The KMC node first performs user cancellation and then registers a new user.
[0111] Through the above process, the present invention realizes an IoT-oriented accountable data retrieval system based on distributed detection, ensures dynamic update of user permissions, diverts query requests initiated by users, filters out meaningless accountability, reduces external denial of service attacks, and alleviates the accountability pressure of system administrators through a blacklist mechanism, preventing waste of resources from holding the same user accountable multiple times.
[0112] The above embodiments are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any changes made by adopting the design principles of the present invention and performing non-creative work on this basis should fall within the protection scope of the present invention.
Claims
1. A distributed detection-based accountability data retrieval system, characterized in that: Including the system administrator KMC node, IoT terminal device IoT node, cloud server CS node, distributed verification server VS node and user U node, the system data processing process includes: S10, system initialization phase: select security parameters, generate and publish system parameters PP; S20, key generation and distribution phase: S21, KMC node selects random numbers and generates and distributes public and private key pairs to each system node; S22, the KMC node assigns identity IDs and accessible data sets S to all user U nodes respectively; the accessible data set S is the data collected by the IoT node of the Internet of Things device specified by the KMC node, and the user U node is bound to the specified IoT node; S30, data collection and encryption stage: After collecting data, the IoT node of the IoT terminal device extracts keyword information, generates data index, data ciphertext and data verification label, and then submits the label data to the cloud server CS node for storage; S40, user query stage: the user U node calculates the search trap Tr, and sends the user search information formed by combining the search trap Tr with the identity information of the user U node and the specified data set S to the verification server VS node; S50, query detection and accountability phase: After the VS node receives the search trap Tr, S51, the VS node verifies the integrity of the search trapdoor Tr: if the verification fails, it stops; if the verification passes, the VS node performs identity revocation list detection, if the identity information of the user U node is in the revocation list, it stops, otherwise the VS node performs trapdoor legitimacy detection; S52, VS node detects the legitimacy of the search trapdoor Tr: The VS node runs an algorithm to detect the relationship between the authorized user U node and the search trapdoor. If it is legal, it performs blacklist matching. If it is illegal, it sends the search trapdoor Tr to the KMC node to perform user identity accountability; S53, VS node performs blacklist matching: VS node matches the search trapdoor Tr with the blacklist trapdoor Tr′. If the match is successful, the process stops. Otherwise, VS node sends the search trapdoor Tr to CS node for data retrieval. S54, KMC node conducts user identity accountability: KMC node determines the relationship between the search trap Tr and the authorized user. If the result is true, the search trap Tr is generated by the authorized user and accountability stops. Otherwise, KMC node extracts and parses the identity id of the recovery user U node from the search trap Tr; S60, search and match phase: the CS node performs data query, and returns data if the match is successful, otherwise stops; S70, data decryption stage: S71, the user U node parses and obtains the key; S72, the user U node verifies the integrity and correctness of the data: if the test fails, the user U node stops, otherwise the user U node parses the plaintext data; S80, user update phase: User U node updates are divided into the following three types: S81, new user registration: KMC node allocates a key to the newly registered user U node; S82, user revocation: the KMC node adds the user U node to the user revocation list and rejects the search query of the user U node; S83. Update the data set for the current user U node: The KMC node performs user cancellation and new user registration.
2. According to claim 1, a distributed detection-based accountability data retrieval system is characterized in that: The process of the system initialization phase in S10 includes: Initialize the parameters PP = {p, G0, G1, g, e, n, H0, H, IEnc, IDec, IEnc′, IDec′}; where G0 is an additive cyclic group of order p with g as the generator, G1 is a multiplicative cyclic group of order p, e: G0×G0→G1 is a bilinear mapping, representing the mapping from additive cyclic group to multiplicative cyclic group; n represents the total number of data sets S; IEnc, IDec, IEnc′, IDec′ are two symmetric algorithms, including encryption and decryption operations; select the hash function H0: {0, 1} * →K and K is the key space of two symmetric algorithms, It is a multiplicative cyclic group consisting of non-zero elements.
3. The distributed detection-based accountability data retrieval system according to claim 2 is characterized in that: The process of the key generation and distribution phase in S20 includes: S21a, KMC node selects random number As the private key sk of the CS node, calculate As the public key pk of the CS node, the public and private key pair of the CS node is (sk CS , pk CS )=(β0,u); S21b, KMC node selects multiple random numbers calculate v4=g θ , Where i = (1, 2, ..., n, n+1, ..., 2n); The public and private key pair (msk, mpk) of the KMC node is msk=(α, β1, β2, β3, γ1, γ2, θ1, θ2), mpk=(v1,v2,v3,V,{h 1,i } i=1,2,...,n ,{h 2,i } i=1,2,…n,n+1,...,2n ); S21c, KMC node calculates the index key of IoT node of IoT terminal device S21d, KMC node assigns identity IDs to m distributed verification server VS nodes respectively, and selects random numbers calculate The public and private key pair (sk VSi , Pk VSi ), where i = (1, 2, ..., m); S21e, KMC node generates an identity id for each user U node, and KMC node selects a random number Calculate user identity information Public key pk au =(X id , X′ id , X″ id ),in Private Key exist middle The KMC node will bind the user information B = (ζ id ,sk au , S) is distributed to user U nodes.
4. The distributed detection-based accountability data retrieval system according to claim 3 is characterized in that: The process of the data collection and encryption stage in S30 includes: S31. Keyword index generation: IoT terminal device IoT node selects random number Take the keyword KW to generate the data index C = (c i,0 , c i,1 , c i,2 , c i,3 ),in S32, Data encryption: IoT terminal device IoT node calculates data encryption key k data =H0(δ), encrypt the collected data ciphertext Calculate data verification label M V =H(δ||C M ), the label data L=(C M , M V ,C) sent to the CS node.
5. The distributed detection-based accountability data retrieval system according to claim 4 is characterized in that: The process of the user query stage in S40 includes: User U node calculation search trapdoor Tr=(Tr1, Tr2, Tr3, Tr4, Tr5, Tr6, Tr7, Tr8, Tr9), Get a random number The calculation of each trapdoor is: Tr6=u t , User U node will retrieve user information Q = (ξ id ,Tr,S) is sent to the CS node.
6. The distributed detection-based accountability data retrieval system according to claim 5, characterized in that: The process of the query detection and accountability stage in S50 includes: S51, j-th VS node VS j Perform detection Determine whether the equation is true, if not, stop, otherwise VS j The node queries the user revocation list. If trapdoor Tr4 exists, it stops. Otherwise, it performs trapdoor legitimacy check. S52, j-th VS node VS j Perform verification Determine whether the equation is true. If so, the search trap Tr is matched against the blacklist. Otherwise, the search trap Tr is sent to the KMC node for user identity accountability. S53, record the blacklist trapdoor Tr′=(Tr7′, Tr8′), the verification server in the blacklist trapdoor Tr′ is recorded as VS0, the jth VS node VS j Perform detection Determine whether the equation is true. If so, the identity information of the user U node is in the blacklist and the query stops. Otherwise, the node VS j Send the search trapdoor Tr to the CS node for data retrieval; S54, KMC node execution detection Determine whether the equation is true. If so, stop. Otherwise, extract the KMC node. Restore the identity of the user U node 7. The distributed detection-based accountability data retrieval system according to claim 6 is characterized in that: The process of searching for matching in S60 includes: S61, CS node calculation S62, CS node performs detection Determine whether the equation is true. If true, the CS node calculates the data conversion index And the tag parsing data LI=(C M , M V , C, DT) is returned to the user U node.
8. The distributed detection-based accountability data retrieval system according to claim 7, characterized in that: The process of the data decryption stage in S70 includes: User U node calculation By performing detection Determine whether the equation is valid for data verification. If it is valid, the verification is successful and the plain text is solved. Otherwise, the verification fails and stops.
9. The distributed detection-based accountability data retrieval system according to claim 8, characterized in that: The process of the user update phase in S80 includes: If it is a new user registration, the KMC node assigns an identity ID and a public-private key pair (pk au ,sk au ); If a user needs to be revoked, the KMC node will add the user identity information to the revocation list; If it is necessary to update the accessible data set for a user, the KMC node first performs user revocation and then registers a new user.
Citation Information
Patent Citations
Mediated and searchable encryption method
CN106850652A
Certificateless searchable encryption method based on edge computing
CN112543099A
Supervisable data security sharing method and device based on double-chain architecture
CN113868708A
Revocable attribute-based verifiable multi-keyword search encryption method and system
CN118036030A
Cited By
Digital platform data access management method and device, equipment, storage medium and product
CN119416265A
