A method for reusing CP-ABE outsourced decryption results based on NDN
By utilizing the named routing and intranet caching features in the NDN network, combined with the compatibility of the conversion key, the communication overhead problem of the CP-ABE outsourced access control solution in the Internet of Things is solved, the decryption efficiency and service quality are improved, and the edge cost is reduced. Server load.
Patent Information
- Application Number
- CN202111424542.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-26
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-11-26
AI Technical Summary
Existing outsourcing access control solutions based on CP-ABE in the Internet of Things have problems such as high communication overhead and impact on performance. Especially when network conditions are poor or traffic is heavy, the quality of outsourcing decryption services is affected.
Adopt the CP-ABE outsourced decryption result reuse method based on NDN, and utilize the named routing and intranet caching features of NDN to achieve mutual compatibility between the user-side outsourced decryption result cache and conversion key, avoid repeated outsourcing decryption service calls and task execution, and reduce the cost of Communication overhead.
It effectively reduces the communication overhead of the outsourcing process, improves the efficiency of user-side outsourcing decryption, relieves the computing pressure on edge servers, and ensures the protection of content access rights.
Smart Images

Figure CN114205379B
Abstract
Description
Technical Field
[0001] The present invention relates to named data networks and the Internet of Things, and in particular to a method for reusing CP-ABE outsourced decryption results based on NDN. Background Art
[0002] With the development of Internet of Things (IoT), it is estimated that by 2025, nearly 50 billion devices will be connected, and the data traffic generated will increase by another 1,000 times. The privacy protection needs of massive IoT data have put forward strict requirements and severe challenges to existing access control technologies. As an emerging encryption technology, Ciphertext Policy Attribute-Based Encryption (CP-ABE) has been widely used in IoT, providing secure and fine-grained access control for sensitive data sharing in IoT.
[0003] However, the key calculation overhead of CP-ABE is 100-1000 times that of RSA, and most IoT devices are resource-constrained. The heavy calculation overhead makes it difficult to effectively deploy access control solutions based on CP-ABE on IoT devices. Therefore, in the face of the growing number of devices in the IoT, how to design efficient and lightweight access control methods to ensure content security is an urgent need.
[0004] In response to the above problems, researchers have conducted a lot of research based on outsourcing CP-ABE, aiming to offload part of the CP-ABE decryption tasks from IoT devices to nearby fog nodes or edge servers, thereby achieving efficient CP-ABE decryption and lightweight computing of IoT devices. Considering the non-complete trust of fog nodes / edge servers, researchers have constructed a special access structure to ensure the security of the outsourcing process. The access structure consists of two subtrees, a complex subtree and a simple subtree. The complex subtree describes the access rights to a specific ciphertext, restricting only users who have the attributes that meet the access structure to access the content; the simple subtree has a small number of or even one attribute that is private to authorized users, ensuring that only authorized users can recover the final decryption key. Since the complex subtree contains most of the attributes of the access structure, its decryption operation is often outsourced to nearby fog nodes or edge servers to reduce the computational overhead of user-side devices. However, existing outsourcing-based solutions only focus on reducing the computational overhead on the device side, but ignore the communication overhead generated during the outsourcing process. As a type of network service, each outsourced decryption requires the discovery of service resources, service invocation, and service execution in the edge network. Therefore, the communication overhead generated during the outsourcing process is quite large. Especially in the case of poor network conditions or heavy network traffic, the communication overhead will become uncertain. In addition, if the fog node or edge server faces heavy outsourced decryption tasks, the uncertain queuing time will also greatly affect the service quality of outsourced decryption.
[0005] In summary, existing researchers have proposed several solutions based on CP-ABE outsourcing, which partially solve the problem of deploying attribute-based encryption access control schemes in the Internet of Things. However, the existing solutions still have defects in the communication overhead during the outsourcing process, which restricts the performance of the scheme. In view of this, how to design a more efficient and lightweight attribute-based encryption access control scheme in the Internet of Things from the perspective of communication overhead is a research difficulty in the current Internet of Things field. In response to this problem, the present invention proposes a CP-ABE outsourcing decryption result reuse method based on NDN, which solves this problem well. Summary of the invention
[0006] In view of the heavy communication overhead in the existing outsourced CP-ABE access control scheme, the present invention proposes a method for reusing CP-ABE outsourced decryption results based on NDN. On the one hand, the named routing and intranet cache characteristics of NDN are fully utilized to ensure that users with the same access rights can directly retrieve the outsourced decryption results from the network cache, avoiding repeated outsourced decryption service calls and outsourced decryption task executions, and alleviating the computing pressure of the edge server; on the other hand, by introducing conversion keys, the mutual compatibility of outsourced decryption results of the same group of users is achieved, thereby improving the efficiency of outsourced decryption on the user side. In summary, the present invention can effectively reduce the communication overhead of the outsourcing process and achieve efficient outsourcing decryption.
[0007] In order to achieve the above-mentioned invention object, the technical solution of the present invention is as follows: a method for reusing CP-ABE outsourced decryption results based on NDN, comprising the following steps:
[0008] 1) System initialization: The authority center generates the system public parameters PK and master key MK; at the same time, the authority center builds the access structure according to the CP-ABE rules It is composed of two subtrees through the threshold "AND", which are respectively a complex subtree and a simple subtree; where It is composed of several legal attributes through the threshold "AND" or "OR". A simple subtree consists of a single attribute Att pu Composition; said Att pu It is a private attribute of the authorized user and is not disclosed to the public; After the construction is completed, the authority center synchronizes it to the content provider;
[0009] The authority center generates system public parameters PK={G 0 ,g,h=g β ,e(g,g) α ,H 1 (·),H 2 (·)} and the master key Where p is a large prime number, Z p ={0,1,2,…,p-1},α,β,θ m ∈Z p ; G 0 and G 1 are two p-order multiplicative groups, g is G 0 Generator of; e:G 0 ×G 0 →G 1 Represents a linear matching operation; H 1 (·), H 2 (·) represent two different hash functions;
[0010] 2) User registration: User i initiates registration with the content provider to obtain content access rights. After successful registration, the content provider divides the user into authorization group m according to the user subscription information and grants access rights to the user according to the attribute set provided by user i. Assign the attribute private key corresponding to the attribute to user i
[0011] In step 2), the user i provides an attribute set Defined as in, Defined as the complex subtree owned by user i Related attributes, n i Represents the complex subtree owned by user i The number of related attributes; the attribute private key of the user i Expressed as
[0012]
[0013]
[0014]
[0015] Among them, r i ∈Z p ; is the conversion key corresponding to user i; D i is the attribute private key component used to decrypt M; and is with Att pu The relevant attribute private key component; for Any attribute in There are related attribute private key components and in
[0016] 3) Content request: User i initiates a request for content M;
[0017] 4) Content encryption: After receiving the request, the content provider uses Root Node The attribute value of the content M is encrypted to generate the ciphertext Return to user i;
[0018] In the step 4), the Root Node The attribute value is Defined as The secret value of Expressed as
[0019]
[0020]
[0021]
[0022] in, and C is The ciphertext component used to finally recover M; C′ is The ciphertext component used for attribute value translation in; and for Att pu The associated ciphertext component; L is The set of all leaf nodes l in ; each leaf node l has a related ciphertext component C l and C′ l ;q l (0), They are leaf nodes l and Att pu The corresponding secret value; for each leaf node l, att(l) returns the attribute description corresponding to node l;
[0023] 5) Outsourcing decryption: User i initiates an outsourcing decryption result request and sends Medium complex subtree if the user i's request for outsourced decryption results directly hits the network, go to step 9); otherwise, the request will reach the edge server that provides outsourced decryption services, go to step 6).
[0024] In step 5), the user i initiates an outsourced decryption result request to obtain the complex subtree The decryption task is outsourced; the outsourced decryption result request is sent by sending a NDN-based The interest packet carries the device index prefix " / u i / device-hint” to facilitate the edge server that performs the outsourced decryption task to subsequently request the input parameters required for the outsourced decryption task from user i;
[0025] 6) Outsourced decryption service call: User i calls the outsourced decryption service from the edge server that provides the outsourced decryption service;
[0026] The step 6) comprises the following steps:
[0027] 6.1) After receiving the outsourced decryption result request from user i, the edge server first replies to the user with a confirmation ACK packet, which contains the expected execution completion time TTC of this outsourced decryption task; after sending, it goes to the next step; otherwise, the edge server sends a NACK packet to reply to user i;
[0028] 6.2) The edge server uses the device index prefix " / u i / device-hint" sends an interest packet to user i to request outsourced decryption input parameters CT and in CT is A subset of yes At the same time, the interest packet carries the public key pk of the edge server EDS To ensure the security of outsourced decryption input parameters transmitted in the public channel; after sending, go to the next step;
[0029] 6.3) User i uses the edge server public key pk EDS Encrypted CT and And send it to the edge server. After completion, go to the next step;
[0030] 6.4) After receiving the outsourced decryption input parameters sent by user i, the edge server uses its own private key pv EDS Decryption gives CT and
[0031] 7) Outsourced decryption task execution: The edge server uses the outsourced decryption input parameters CT and Through recursive function Bottom-up recovery The attribute value F of the root node R R,i , the decryption result F R,i for The attribute value of the root node R can be calculated according to the CP-ABE rule as follows: After the task is completed, the edge server will R,i The conversion key of user i Return the outsourced decryption result to user i;
[0032] 8) Key recovery: User i first uses the private key corresponding to the attribute to recover Att pu The attribute value of Att pu The attribute value of and the attribute value of R F R,i Recover Root Node The attribute value of Decrypt the key for the final content; after completion, go to step 10);
[0033] The step 8) comprises the following steps:
[0034] 8.1) User i uses Att pu The corresponding attribute private key restores its attribute value
[0035]
[0036] After the recovery is successful, go to the next step;
[0037] 8.2) Through the Lagrange interpolation method, user i uses F R,i Recover The root node Recover Root Node The attribute value is
[0038] 9) Reuse of outsourced decryption results: User i retrieves the outsourced decryption results of user j in the same group from the network cache Combine with your own conversion key and User i takes the attribute value F corresponding to user j R,j Translated into a value F that is compatible with itself R,i ; After completion, go to step 8);
[0039] In step 9), user i adds the attribute value F corresponding to user j R,j Translated into an attribute value F that is compatible with itself R,i , expressed as
[0040]
[0041] in, is the conversion key corresponding to user j, r j ∈Z p ;
[0042] 10) Content decryption: User i uses the restored The attribute value of For the ciphertext obtained in step 4) Decrypt and obtain content M;
[0043] In the step 10), for the ciphertext The operation is as follows:
[0044]
[0045] The present invention has the following beneficial effects: In view of the heavy communication overhead in the existing outsourced CP-ABE access control scheme, the present invention proposes a CP-ABE outsourced decryption result reuse method based on NDN. Using NDN as the edge network and utilizing the named routing and intranet cache characteristics of NDN, the cacheability of the outsourced decryption results in the edge network is guaranteed. In addition, considering the uniqueness of the outsourced decryption results, the present invention also introduces the concept of conversion keys. By using the conversion key, the outsourced decryption results called by different users can be translated into mutually compatible values, thereby realizing the reusability of the outsourced decryption results in the edge network.
[0046] The present invention achieves good protection of content access rights; by reusing outsourced decryption results, repeated outsourced decryption service calls and outsourced decryption task executions are avoided, effectively reducing communication overhead in the outsourcing process, improving the efficiency of outsourced decryption on the user side, and alleviating the computing pressure on the edge server. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 The figure is a flow chart of the method of the present invention.
[0048] Figure 2 It is the system model of the present invention.
[0049] Figure 3 It is the access structure of the present invention.
[0050] Figure 4 This is the process of calling the outsourced decryption service and executing the outsourced decryption task of the present invention. DETAILED DESCRIPTION
[0051] Aiming at the heavy communication overhead in the existing outsourced CP-ABE access control scheme, the present invention proposes a CP-ABE outsourced decryption result reuse method based on NDN. The present invention is further described below in conjunction with the accompanying drawings and specific embodiments. It should be pointed out that the technical scheme and design principle of the present invention are only described in detail with an optimized technical scheme, but the protection scope of the present invention is not limited to this.
[0052] The embodiments are preferred implementations of the present invention, but the present invention is not limited to the above-mentioned implementations. Any obvious improvements, substitutions or modifications that can be made by those skilled in the art without departing from the essential content of the present invention belong to the protection scope of the present invention.
[0053] like Figure 1 As shown, the present invention proposes a CP-ABE outsourced decryption result reuse method based on NDN, comprising the following steps:
[0054] 1) System initialization: The authority center generates the system public parameters PK and master key MK; at the same time, the authority center builds the access structure according to the CP-ABE rules It is composed of two subtrees through the threshold "AND", which are respectively a complex subtree and a simple subtree; where It is composed of several legal attributes through the threshold "AND" or "OR". A simple subtree consists of a single attribute Att pu Composition; said Att pu It is a private attribute of the authorized user and is not disclosed to the public; After the construction is completed, the authority center synchronizes it to the content provider;
[0055] The authority center generates system public parameters PK={G 0 ,g,h=g β ,e(g,g) α ,H 1 (·),H 2 (·)} and the master key Where p is a large prime number, Z p ={0,1,2,…,p-1},α,β,θ m ∈Z p ; G 0 and G 1 are two p-order multiplicative groups, g is G 0 Generator of; e:G 0 ×G 0 →G 1 Represents a linear matching operation; H 1 (·), H 2 (·) represent two different hash functions.
[0056] 2) User registration: User i initiates registration with the content provider to obtain content access rights. After successful registration, the content provider divides the user into authorization group m according to the user subscription information and grants access rights to the user according to the attribute set provided by user i. Assign the attribute private key corresponding to the attribute to user i
[0057] 3) Content request: User i initiates a request for content M;
[0058] 4) Content encryption: After receiving the request, the content provider uses The attribute value of the root node R encrypts the content M and generates the ciphertext CT which is returned to user i;
[0059] 5) Outsourcing decryption: User i initiates an outsourcing decryption result request and sends Medium complex subtree outsourcing the decryption task; if the user i's request for the outsourced decryption result is directly hit in the network, go to step 9); otherwise, the request will reach the edge server that provides outsourced decryption services, go to step 6);
[0060] 6) Outsourced decryption service call: User i calls the outsourced decryption service from the edge server that provides the outsourced decryption service;
[0061] 7) Outsourced decryption task execution: The edge server uses the outsourced decryption input parameters CT and Through recursive function Bottom-up recovery The attribute value F of the root node R R,i , the decryption result F R,i for The attribute value of the root node R can be calculated according to the CP-ABE rule as follows: After the task is completed, the edge server will R,i The conversion key of user i As the outsourced decryption result, it is returned to user i; the outsourced decryption task execution is combined with CT and Its operation follows the decryption rules in the conventional CP-ABE algorithm, which will not be described in detail here;
[0062] 8) Key recovery: User i first uses the private key corresponding to the attribute to recover Att pu The attribute value of Att pu The attribute value of R and the attribute value F R,i Recover Root Node The attribute value of Decrypt the key for the final content; after completion, go to step 10);
[0063] 9) Reuse of outsourced decryption results: User i retrieves the outsourced decryption results of user j in the same group from the network cache Combine with your own conversion key and User i takes the attribute value F corresponding to user j R,j Translated into a value F that is compatible with itself R,i ; After completion, go to step 8);
[0064] 10) Content decryption: User i uses the restored attribute value F of R R,i Decrypt the ciphertext CT obtained in step 4) and obtain the content M.
[0065] The technical solution of the present invention is further described in detail below in conjunction with specific embodiments.
[0066] Before describing the specific interaction process, the relevant parameters involved in the scheme are first explained. p is a large prime number. As a preferred embodiment of the present invention, let p = 11; Z p ={0,1,2,…,10},α,β,θ m ∈Z p , let α = 2, β = 3, θ m =3; g is the p-order multiplication group G 0 The generator of G 0 ={1,2,3,...,11}, g=2; H 1 (·), H 2 (·) represent two different hash functions, H 1 (·) Using SHA-1 algorithm, H 2 (·) Using SHA-256 algorithm;
[0067] 1) Initialization
[0068] In such Figure 2 In the system model shown, the authority center generates the system public parameter PK = {G 0 ,2,h=8,e(2,2) 2 ,H 1 (·),H 2 (·)} and the master key MK = {3,4,8}; at the same time, the authority center is based on the legal attribute set {"XXUniversity", "Network Lab", "Professor", "Postgraduate"} and Att pu Building access structures like Figure 3 As shown;
[0069] for For all nodes in , the authority center will assign the corresponding polynomial q(·), which is Starting from the root node R, the authority center first selects a random number z∈Z p = 2, and set the secret value of R to q R (0) = 2, then randomly select another point to generate the polynomial q R (·)=2x+2; for R,q R (0) = q R (1) = 4, and then randomly select the remaining 2 points to generate the polynomial q R (·)=x 2 +x+4; for Att pu , Generating polynomials For n 21 , Generating polynomials For n 22 , Generating polynomials For n 23 , Generating polynomials For n 31 , Generating polynomials For n 32 , Generating polynomials Build completed. After the construction is completed, the authority center synchronizes it to the content provider;
[0070] 2) User registration,
[0071] User i initiates registration with the content provider to obtain content access rights; after successful registration, the content provider Assign the attribute private key corresponding to the user's attribute Choose a random number r i ∈Z p =1, r XX University ∈Z p =1, r Network Lab ∈Z p =2, r Professor ∈Z p =3, but It can be expressed as
[0072]
[0073] 3) Content Request
[0074] User i initiates a request for content M;
[0075] 4) Content encryption,
[0076] After receiving the request, the content provider uses The secret value of the root node R encrypts the content M to generate the ciphertext CT, and the complex subtree Attached to CT, it is returned to user i;
[0077]
[0078] 5) Outsourcing decryption,
[0079] User i sends a NDN-based The interest packet of the outsourced decryption result request is initiated. The decryption task is outsourced; at the same time, the interest packet carries the device index prefix of user i " / u i / device-hint" to facilitate the edge server that performs the outsourced decryption task to subsequently request the input parameters required for the outsourced decryption task from user i; if the request for the outsourced decryption result from user i is directly hit in the network, go to step 9); otherwise, the request will reach the edge server that performs the outsourced decryption task, go to step 6);
[0080] 6) Outsourced decryption service calls, such as Figure 4 Shown
[0081] 6.1) After receiving the outsourced decryption result request from user i, the edge server first replies to the user with a confirmation ACK packet, which contains the expected execution completion time TTC of this outsourced decryption task; after sending, it goes to the next step; otherwise, the edge server sends a NACK packet to reply to user i;
[0082] 6.2) The edge server uses the device index prefix " / u i / device-hint" sends an interest packet to user i to request outsourced decryption input parameters
[0083]
[0084]
[0085] At the same time, the interest packet carries the public key pk of the edge server EDS To ensure the security of the input parameters required to perform the outsourced decryption task in the public channel; after sending, go to the next step;
[0086] 6.3) User i uses the edge server public key pk EDS Encryption outsourcing decryption input parameters CT and And send it to the edge server; after completion, go to the next step;
[0087] 6.4) After receiving the outsourced decryption input parameters sent by user i, the edge server uses its own private key pv EDS Decryption gives CT and
[0088] 7) Outsourcing decryption task execution,
[0089] The edge server uses the outsourced decryption input parameters CT and Execute the outsourced decryption task; first decrypt the attribute value of each attribute of user i:
[0090] The attribute value of the attribute "Network Lab" corresponding to user i is
[0091]
[0092] Similarly, the attribute value of the attribute "Professor" corresponding to user i is The attribute value of the attribute "XXUniversity" corresponding to user i is
[0093] according to Its parent node can be calculated According to Complex subtrees can be recovered The root node R
[0094]
[0095] At this point, the outsourced decryption task is completed; after the task is completed, the edge server will R,i The conversion key of user i Return the outsourced decryption result to user i;
[0096] 8) Key recovery,
[0097] 8.1) After user i retrieves the outsourced decryption result, he first uses Att pu The corresponding private key recovery Att pu The attribute value is
[0098]
[0099] After decryption is successful, go to the next step;
[0100] 8.2) User i uses F R,i Recover The root node R is restored The attribute value of the root node R is
[0101]
[0102] 9) Reuse of outsourced decryption results,
[0103] User i retrieves the outsourced decryption result of user j in the same group from the network cache Set the attributes of user j Assign the attribute private key corresponding to the user's attribute As a preferred embodiment of the present invention, a random number r is selected j ∈Z p =2, r XX University ∈Z p =1, r Network Lab ∈Z p =2, r Postgraduate ∈Zp =4, but It can be expressed as
[0104]
[0105] Assume that user j performs the outsourced decryption task at the edge server. According to steps 3), 4), 5), 6), and 7), the final outsourced decryption result is
[0106] User i retrieves the outsourced decryption result of user j in the same group After that, combine it with the conversion key The conversion key of user j contained in the outsourced decryption result The F corresponding to user j R,j Translated into a value F that is compatible with itself R,i , expressed as,
[0107]
[0108] When finished, go to step 8).
[0109] 10) Content decryption, user i uses the restored attribute value of R Decrypt the ciphertext CT obtained in step 4)
[0110]
[0111] Finally, the content M is obtained.
[0112] The present invention effectively realizes good protection of content access rights; utilizes the named routing and intranet cache characteristics of NDN to improve the retrieval efficiency of outsourced decryption results; utilizes conversion keys to realize the reusability of outsourced decryption results in network cache; thereby avoiding repeated outsourced decryption service calls and outsourced decryption task executions, effectively reducing the communication overhead in the outsourcing process, improving the efficiency of outsourced decryption on the user side, and alleviating the computing pressure on the edge server.
Claims
1. A method for reusing CP-ABE outsourced decryption results based on NDN. It is characterized in that The following steps are involved: 1) System initialization: The authority center generates the system public parameters PK and master key MK; at the same time, the authority center builds the access structure according to the CP-ABE rules It is composed of two subtrees through the threshold "AND", which are respectively a complex subtree and a simple subtree; where It is composed of several legal attributes through the threshold "AND" or "OR". A simple subtree consists of a single attribute Att pu Composition; said Att pu It is a private attribute of the authorized user and is not disclosed to the public; After the construction is completed, the authority center synchronizes it to the content provider; The authority center generates system public parameters PK={G 0 ,g,h=g β ,e(g,g) α ,H 1 (·),H 2 (·)} and the master key Where p is a large prime number, Z p ={0,1,2,…,p-1},α,β,θ m ∈Z p ; G 0 and G 1 are two p-order multiplicative groups, g is G 0 Generator of; e:G 0 ×G 0 →G 1 Represents a linear matching operation; H 1 (·), H 2 (·) represent two different hash functions; 2) User registration: User i initiates registration with the content provider to obtain content access rights. After successful registration, the content provider divides the user into authorization group m according to the user subscription information and grants access rights to the user according to the attribute set provided by user i. Assign the attribute private key corresponding to the attribute to user i In step 2), the user i provides an attribute set Defined as in, Defined as the complex subtree owned by user i Related attributes, n i Represents the complex subtree owned by user i The number of related attributes; the attribute private key of the user i Expressed as Among them, r i ∈Z p ; is the conversion key corresponding to user i; D i is the attribute private key component used to decrypt M; and is with Att pu The relevant attribute private key component; for Any attribute in There are related attribute private key components and in j∈{1,...,n i }; 3) Content request: User i initiates a request for content M; 4) Content encryption: After receiving the request, the content provider uses Root Node The attribute value of the content M is encrypted to generate the ciphertext Return to user i; In the step 4), the Root Node The attribute value is Defined as The secret value of Expressed as in, and C is The ciphertext component used to finally recover M; C ′ yes The ciphertext component used for attribute value translation in; and for Att pu The associated ciphertext component; L is The set of all leaf nodes l in ; each leaf node l has a related ciphertext component C l and C l ′ ;q l (0), They are leaf nodes l and Att pu The corresponding secret value; for each leaf node l, att(l) returns the attribute description corresponding to node l; 5) Outsourcing decryption: User i initiates an outsourcing decryption result request and sends Medium complex subtree outsourcing the decryption task; if the user i's request for the outsourced decryption result is directly hit in the network, go to step 9); otherwise, the request will reach the edge server that provides outsourced decryption services, go to step 6); In step 5), the user i initiates an outsourced decryption result request to obtain the complex subtree The decryption task is outsourced; the outsourced decryption result request is sent by sending a NDN-based The interest packet carries the device index prefix " / u i / device-hint” to facilitate the edge server that performs the outsourced decryption task to subsequently request the input parameters required for the outsourced decryption task from user i; 6) Outsourced decryption service call: User i calls the outsourced decryption service from the edge server that provides the outsourced decryption service; The step 6) comprises the following steps: 6.1) After receiving the outsourced decryption result request from user i, the edge server first replies to the user with an ACK packet, which contains the expected execution completion time TTC of this outsourced decryption task; after the sending is completed, it goes to the next step; otherwise, the edge server sends a NACK packet to reply to user i; 6.2) The edge server uses the device index prefix " / u i / device-hint" sends an interest packet to user i to request outsourced decryption input parameters CT and in CT is A subset of yes At the same time, the interest packet carries the public key pk of the edge server EDS To ensure the security of outsourced decryption input parameters transmitted in the public channel; after sending, go to the next step; 6.3) User i uses the edge server public key pk EDS Encrypted CT and And send it to the edge server. After completion, go to the next step; 6.4) After receiving the outsourced decryption input parameters sent by user i, the edge server uses its own private key pv EDS Decryption gives CT and 7) Outsourced decryption task execution: The edge server uses the outsourced decryption input parameters CT and Through recursive function Bottom-up recovery The attribute value F of the root node R R,i , the decryption result F R,i for The attribute value of the root node R can be calculated according to the CP-ABE rule as follows: After the task is completed, the edge server will R,i The conversion key of user i Return the outsourced decryption result to user i; 8) Key recovery: User i first uses the private key corresponding to the attribute to recover Att pu The attribute value of Att pu The attribute value of R and the attribute value F R,i Recover Root Node The attribute value of Decrypt the key for the final content; after completion, go to step 10); The step 8) comprises the following steps: 8.1) User i uses Att pu The corresponding attribute private key restores its attribute value After the recovery is successful, go to the next step; 8.2) Through the Lagrange interpolation method, user i uses F R,i Recover The root node Recover Root Node The attribute value is 9) Reuse of outsourced decryption results: User i retrieves the outsourced decryption results of user j in the same group from the network cache Combine with your own conversion key and User i takes the attribute value F corresponding to user j R,j Translated into a value F that is compatible with itself R,i ; After completion, go to step 8); In step 9), user i adds the attribute value F corresponding to user j R,j Translated into an attribute value F that is compatible with itself R,i , expressed as in, is the conversion key corresponding to user j, r j ∈Z p ; 10) Content decryption: User i uses the restored The attribute value of For the ciphertext obtained in step 4) Decrypt and obtain content M; In the step 10), for the ciphertext The operation is as follows:
Citation Information
Patent Citations
High-efficient and safe fine-grained access control method based on CP-ABE
CN108632030A
Cloud storage outsourced decryption attribute-based encryption method capable of limiting access times
CN109639677A
