Secure coding caching method

By generating random secret keys on a limited field and adopting non-standard secret sharing processing, the secure encoding caching scheme is optimized, solving the problem of poor performance in the existing technology and achieving more efficient caching and transmission performance.

CN118612295APending Publication Date: 2024-09-06SOUTHEAST UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410687031.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The existing secure coding caching scheme has poor performance under any number of messages N and any number of users K, has large storage and transmission overhead, and lacks efficient coding schemes.

Method used

An independent and identically distributed random secret key is generated on the finite field GF(2) or GF(3), and user cache content and request messages are generated through non-standard secret sharing and linear coding methods to optimize the cache and transmission process.

Benefits of technology

A secure encoding caching scheme with smaller download rate and higher performance under the same cache size is achieved, which is suitable for any number of messages N and any number of users K.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FDA0004867327570000035
    Figure FDA0004867327570000035
  • Figure FDA0004867327570000013
    Figure FDA0004867327570000013
  • Figure FDA0004867327570000026
    Figure FDA0004867327570000026
Patent Text Reader

Abstract

The invention discloses a secure coding caching method. The implementation process of the method comprises the steps of generating random secret keys for different cache sizes, determining a cache structure and determining a request structure. According to the method, the random secret key and the file information are used for linear coding, so that the requirements of all users can be met, the security is ensured, and the performance is better than that of the existing scheme, that is to say, a lower rate can be achieved under the same cache content.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of information theory, and in particular to a solution for secure coding caching for the problem of secure coding caching for an arbitrary number of messages N and an arbitrary number of users K. Background Art

[0002] In the problem of secure coding cache, existing works focus on feasible solutions. It is meaningful to study better solutions. Using the description of the existing secure coding cache model, existing work [1] proposed a feasible coding scheme, but the storage and transmission overhead is large. The present invention adopts a new coding scheme and proposes a secure coding cache scheme with better performance than the existing scheme under any number of messages N and any number of users K. Summary of the invention

[0003] Technical problem: The technical problem to be solved by the present invention is to provide a secure coding cache solution for any number of messages N and any number of users K, use random keys to design cache content, and use user requests to design request messages, thereby obtaining a secure coding cache solution with better performance.

[0004] Technical solution: The technical solution adopted by the present invention is as follows:

[0005] (1) For any number of messages N, any number of users K, cache size M = (N-1) × (K-1), and rate R = 1, the method includes the following steps:

[0006] ① In the finite field GF(2), the file is recorded as (W1,…,W N ), the server generates (N-1)×(K-1) independent and identically distributed random keys (S 1,1 ,…,S N-1,K-1 ), the size of each key is the same as the file size, and files, keys, and files and keys are independent of each other.

[0007] ②In the stage of placing cache content, according to the random key (S 1,1 ,…,S N-1,K-1 ) Generate cache content Z for each user k ,k∈{1,…,K} and placed in the user’s cache, where

[0008] Let v T =[W1…W N S 1,1 …S N-1,K-1 ], when k∈{1,…,K-1}

[0009]

[0010] Where: Zk Represents the cache content of users 1 to K-1, Z K represents the cache content of the Kth user, e′ i represents a column vector with K-1 dimensions and the i-th element is 1 and the other elements are 0, e i represents a column vector with N dimensions and the i-th element is 1 and the other elements are 0, e ij It means that a column vector has (N-1)(K-1) dimensions and the ((i-1)(K-1)+j)th element is 1 and the other elements are 0; 0′,0 means all zero matrices with dimensions (K-1)×N and [(N-1)(K-1)]×N respectively.

[0011] ③ In the transmission phase, combined with the user's request (d1,…,d K ) and a random key (S 1,1 ,…,S N-1,K-1 ) Generate a request message in

[0012] (2) When the number of messages N=2, the number of arbitrary users K, the cache size M=1, and the rate R=K-1, the method includes the following steps:

[0013] ① On the finite field GF(3), the file is denoted as (W1, W2), and the server generates K-1 random keys of the same size as the file and denoted as (S1,…, S K-1 ), the size of each key is the same as the file size, and files, keys, and files and keys are independent of each other.

[0014] ② In the stage of placing cached content, randomly select K-1 users, each user caches a different random key, and the remaining K-th user caches

[0015] ③In the transmission phase, the database receives all the requests from users (d1,…,d K ), first select auxiliary variables (a1,…,a K ), and then transmit {a i S i |i∈{1,…,K-1}}. Among them, select (a1,…,a K ) steps are

[0016] 1) Define the symbol δ ij ,in

[0017] 2) Selected auxiliary variables (a1,…,a K ) need to be non-zero and satisfy:

[0018] (3) For any number of messages N and any number of users K, the cache size is rate When t∈{1,…,K-2}, the method comprises the following steps:

[0019] ① On a sufficiently large finite field GF(q), for each t∈{1,…,K-2}, perform Non-standard secret sharing process, the size of each share is The sharing of the i-th file is recorded as

[0020] ② For each subset of users with size |V|=t+1 For each user k∈V, a The random key T V .

[0021] ③In the stage of placing cache content, remember For the 1st to t+1th user k, store the corresponding and T V But not stored For the t+1th to Kth user k, store the corresponding and

[0022] ④In the transmission phase, the database receives all the requests from users (d1,…,d K ), for each |V|=t+1,transmission Finally, transfer one

[0023] Beneficial Effects

[0024] The present invention proposes a general request scheme for the problem of secure coding cache. By adopting a new linear coding method, which is specifically embodied in ②③ in step (1), ②③ in step (2), and ③④ in step (3), the present invention can be applied to any number of messages N and any number of users K. Compared with the existing scheme, a smaller download rate can be achieved under the same cache size. DETAILED DESCRIPTION

[0025] The technical solution of the present invention is described in detail below, but the protection scope of the present invention is not limited to the implementation examples.

[0026] The invention proposes a secure coding cache method.

[0027] An embodiment is given below:

[0028] (1) For any number of messages N, any number of users K, cache size M = (N-1) × (K-1), and rate R = 1, the method includes the following steps:

[0029] ① In the finite field GF(2), the file is recorded as (W1,…,W N ), the server generates (N-1)×(K-1) independent and identically distributed random keys (S 1,1 ,…,S N-1,K-1 ), the size of each key is the same as the file size, and files, keys, and files and keys are independent of each other.

[0030] ②In the stage of placing cache content, according to the random key (S 1,1 ,…,S N-1,K-1 ) Generate cache content Z for each user k ,k∈{1,…,K} and placed in the user’s cache, where

[0031] Let v T =[W1…W N S 1,1 …S N-1,K-1 ], when k∈{1,…,K-1}

[0032]

[0033] Where: e i ′ indicates that a column vector has K-1 dimensions and the i-th element is 1 and the other elements are 0, e i represents a column vector with N dimensions and the i-th element is 1 and the other elements are 0, e ij It means that a column vector has (N-1)(K-1) dimensions and the ((i-1)(K-1)+j)th element is 1 and the other elements are 0. 0′,0 means all zeros. The matrix dimensions are (K-1)×N and [(N-1)(K-1)]×N respectively.

[0034] ③ In the transmission phase, combined with the user's request (d1,…,d K ) and a random key (S 1,1 ,…,S N-1,K-1 ) Generate a request message in

[0035] (2) When the number of messages N=2, the number of arbitrary users K, the cache size M=1, and the rate R=K-1, the method includes the following steps:

[0036] ① On the finite field GF(3), the file is denoted as (W1, W2), and the server generates K-1 random keys of the same size as the file and denoted as (S1,…, S K-1), the size of each key is the same as the file size, and files, keys, and files and keys are independent of each other.

[0037] ② In the stage of placing cached content, randomly select K-1 users, each user caches a different random key, and the remaining K-th user caches

[0038] ③In the transmission phase, the database receives all the requests from users (d1,…,d K ), first select auxiliary variables (a1,…,a K ), and then transmit {a i S i |i∈{1,…,K-1}}. Among them, select (a1,…,a K ) are as follows:

[0039] 1) Define the symbol δ ij ,in

[0040] 2) Selected auxiliary variables (a1,…,a K ) need to be non-zero and satisfy:

[0041] (3) For any number of messages N and any number of users K, the cache size is rate When t∈{1,…,K-2}, the method comprises the following steps:

[0042] ① On a sufficiently large finite field GF(q), for each t∈{1,…,K-2}, perform Non-standard secret sharing processing (using the non-standard secret sharing processing method provided by reference [1]), the size of each share is The sharing of the i-th file is recorded as

[0043] The non-standard secret sharing scheme for the i-th file is implemented as follows: divide the file equally into share Server Generation Serving size is The random key Generate Matrix Satisfy any If the rows are linearly independent, then the non-standard secret sharing scheme generates Share Can be written as:

[0044] ② For each subset of users with size |V|=t+1 For each user k∈V, a The random key T V .

[0045] ③In the stage of placing cache content, remember For the 1st to t+1th user k, store the corresponding and T V But not stored For the t+1th to Kth user k, store the corresponding and

[0046] ④In the transmission phase, the database receives all the requests from users (d1,…,d K ), for each |V|=t+1,transmission Finally, transfer one

[0047] [1] V. Ravindrakumar, P. Panda, N. Karamchandani and VMPrabhakaran, "Private CodedCaching," in IEEE Transactions on Information Forensics and Security, vol.13, no.3, pp.685-694, March 2018, doi:10.1109 / TIFS.2017.2765503.

Claims

1. A secure coding caching method, characterized in that: For any number of messages N, any number of users K, cache size M = (N-1) × (K-1), rate R = 1, the method includes the following steps: (1.1) Over the finite field GF(2), the file is denoted by (W1,…,W N ), W n Represents the nth file, n = 1, ..., N, the server generates (N-1) × (K-1) independent and identically distributed random keys (S 1,1 ,…,S N-1,K-1 ), the size of each key is the same as the file size, and files, keys, and files and keys are independent of each other; (1.2) In the stage of placing cache content, according to the random key (S 1,1 ,…,S N-1,K-1 ) Generate cache content Z for each user k ,k∈{1,…,K} and placed in the user’s cache, where Let v T =[W1…W N S 1,1 …S N-1,K-1 ], when k∈{1,…,K-1} Where: Z k represents the cache content of users 1 to K-1, Z K represents the cache content of the Kth user, e i ′ indicates that a column vector has K-1 dimensions and the i-th element is 1 and the other elements are 0, e i represents a column vector with N dimensions and the i-th element is 1 and the other elements are 0, e ij Indicates that a column vector has (N-1)(K-1) dimensions and the ((i-1)(K-1)+j)th element is 1 and the other elements are 0; 0′ indicates that the dimensions of the all-zero matrix are (K-1)×N and [(N-1)(K-1)]×N respectively; (1.3) In the transmission phase, combined with the user’s request (d1,…,d K ) and a random key (S 1,1 ,…,S N-1,K-1 ) Generate a request message in represents the file requested by the Kth user, Indicates the random key corresponding to the file index of the i-th user request minus one.

2. A secure coding caching method, characterized in that: When the number of messages N=2, the number of arbitrary users K, the cache size M=1, and the rate R=K-1, the method includes the following steps: (2.1) Over the finite field GF(3), the file is denoted as (W1, W2), and the server generates K-1 random keys of the same size as the file and denoted as (S1,…, S K-1 ), the size of each key is the same as the file size, and files, keys, and files and keys are independent of each other; (2.2) In the stage of placing cached content, select K-1 users, each of whom caches a different random key, and the remaining Kth user caches (2.3) In the transmission phase, the server sends a request to all users (d1,…,d K ), first select auxiliary variables (a1,…,a K ), and then transmit {a i S i |i∈{1,…,K-1}}; select (a1,…,a K ) are as follows: (2.3.1) Define the symbol δ ij ,in (2.3.2) The selected auxiliary variables (a1,…,a K ) are not 0 and satisfy:

3. A secure coding caching method, characterized in that: For any number of messages N and any number of users K, the cache size is rate When t∈{1,…,K-2}, the method comprises the following steps: (3.1) In a sufficiently large finite field GF(q), for each t∈{1,…,K-2}, for each file Non-standard secret sharing process, the size of each share is The sharing of the i-th file is recorded as (3.2) For each subset of users of size |V|=t+1 For each user k∈V, a The random key T V ; (3.3) During the cache content placement phase, remember i∈[Kt-1], for the 1st to t+1th user k, store the corresponding and T V But not stored For the t+1th to Kth user k, store the corresponding and (3.4) In the transmission phase, the database receives all requests from users (d1,…,d K ), for each |V|=t+1,transmission Finally, transfer one 4. A secure coding cache method according to claim 3, characterized in that: The non-standard secret sharing method for the i-th file includes: dividing the file into share Server Generation Serving size is The random key Generate Matrix Satisfy any If the rows are linearly independent, then the non-standard secret sharing scheme generates Share It is expressed as: