An adaptive threshold adjustment method for data security storage and synchronous update

By introducing multiple edge nodes for collaborative computing in cloud-edge collaborative storage, and adopting real-time data block update and delayed redundant block update strategies, the problems of low redundant block update efficiency and high communication consumption in cloud-edge collaborative storage are solved, improving improves edge computing capabilities and data consistency.

CN113986121BActive Publication Date: 2024-08-30BEIJING NORMAL UNIV AT ZHUHAI +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111199720.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-14
Publication Date
2024-08-30
Estimated Expiration
2041-10-14

AI Technical Summary

Technical Problem

The cloud-edge collaborative storage method has the problem of limited computing power of computing nodes and data islands among multiple computing nodes during the data synchronization process, resulting in low redundant block update efficiency and high communication bandwidth consumption.

Method used

An adaptive threshold adjustment method for safe data storage and synchronous update is designed. By introducing multiple edge nodes for collaborative computing, real-time update of data blocks and delayed update strategy of redundant blocks are adopted, and the cache and computing capabilities of edge nodes are utilized. , time-sharing tasks complete the overall update of redundant blocks, combine Reed-Solomon codes and Cauchy matrices for coding and incremental coding, and dynamically adjust the update time interval to adapt to workload changes.

Benefits of technology

It improves the computing power of the edge, reduces communication costs, avoids waste of resources caused by frequent updates, and ensures data consistency and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113986121B
    Figure CN113986121B
Patent Text Reader

Abstract

The present invention discloses an adaptive threshold adjustment method for secure data storage and synchronous update. The method establishes a data synchronization mechanism for cloud-edge collaboration, and updates data and redundant blocks respectively by introducing multiple edge nodes for collaborative computing. Based on the caching capability of the edge nodes, the data is updated in real time to ensure data consistency, while the redundant data blocks are updated with a delay to avoid resource waste caused by frequent updates. The edge end uploads the cached data to the cloud to implement data updates. At the same time, multiple edge nodes cooperate in time-sharing to complete the overall redundant update, thereby improving the overall computing capability of the edge end and reducing communication costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer information security, and specifically to the field of data security and data updating. Background Art

[0002] The substantial increase in cloud computing and storage capabilities, as well as advances in big data mining and analysis technologies, have expanded the scope of information available to businesses, governments, and individuals by several orders of magnitude. Privacy and security are one of the most concerning issues in big data and cloud applications.

[0003] The storage method based on cloud-edge collaboration can greatly improve data security and reliability. It mainly combines erasure codes to divide the original data object into multiple data blocks, which are encoded into redundant blocks. Data blocks and redundant blocks are divided into small, medium and large proportions through encoding iterations and stored in terminals, edges and clouds. However, this collaborative storage strategy brings huge challenges to data synchronization, which is mainly reflected in the limited computing power of a single computing node and the problem of data islands between multiple computing nodes. Due to the special storage method of cloud-edge collaboration, multiple redundant data blocks will be generated to protect data and prevent data loss or unavailability. Redundant blocks are the result of encoding all data blocks, so the update of a single redundant block needs to be calculated by all updated data. On the one hand, if a single computing node completes the update of multiple redundant blocks, too many computing tasks may become a bottleneck for the update. On the other hand, if multiple computing nodes share the computing tasks, since the computing nodes need to receive all updated data independently from each other, a large amount of communication bandwidth will be consumed. Summary of the invention

[0004] In view of the problems existing in the above methods, the present invention first constructs a secure storage model of cloud-edge collaboration, and designs a collaborative data synchronization mechanism based on this. By introducing multiple edge nodes for collaborative computing, the data blocks and redundant blocks are synchronously updated respectively. The core of the synchronization algorithm is: based on the caching and computing capabilities of the edge nodes, the updated increments of the data blocks are stored in real time to ensure data consistency, while the redundant blocks are updated with a delayed update method, that is, when the accumulated updated increments reach the triggering update conditions, they are updated as a whole. In the redundant block update process, edge-to-edge collaboration is used, and multiple edge nodes cooperate in time-sharing to complete the overall redundant calculation.

[0005] Through our method, we can ensure data security storage while avoiding the waste of resources caused by frequent updates in the IoT environment. At the same time, the edges can collaborate with each other to improve the overall computing power of the edge and reduce communication costs. The specific plan is as follows:

[0006] An adaptive threshold adjustment method for data security storage and synchronous update, characterized by: comprising a storage model, synchronous update, and an algorithm for adaptively adjusting the threshold;

[0007] The storage model includes a three-layer architecture of terminal, edge, and cloud;

[0008] The synchronous update includes data block update and redundant block update;

[0009] The algorithm for adaptively adjusting the threshold is based on the time interval between two updates and is an algorithm for adaptively adjusting the threshold according to the data update status based on the dichotomy method.

[0010] The updating of the redundant blocks is divided into two steps, incremental calculation and incremental encoding.

[0011] Furthermore, a method for adjusting an adaptive threshold value for secure data storage and synchronous update is provided, wherein the storage model is a semi-outsourcing model; the specific method is as follows:

[0012] First, use Reed-Solomon code to encode k data blocks to obtain data blocks (D 1 ,D 2 ,..,D k ) and redundant blocks (C 1 ,C 2 ,..,C m ), where the encoding matrix is ​​composed of the identity matrix and the Cauchy matrix. Since the data block D i Composed of multiple strips (S i,1 ,S i,2 ,…,S i,x )composition,

[0013] Secondly, the core data (S) in each data block is calculated based on these blocks. 1 ,S 2 ,…,S K ) and data blocks (D 1 ,D 2 ,..,D k ) and recorded as public data and recorded as (X 1 ,X 2 ,…,X K ).

[0014] In the storage process, the core data (S 1 ,S 2 ,…,S K ) is denoted as X k+1 Stored in the terminal, the public data (X 1 ,X 2 ,…,X K ) are stored in the cloud, and the redundant blocks (C 1 ,C 2 ,..,Cm ) is stored at the edge. Where m is the total number of redundant blocks, i is any value in the range, i here refers to the i-th data block, x is the total number of stripes, and k is the total number of data blocks.

[0015] Furthermore, an adaptive threshold adjustment method for data security storage and synchronous update is characterized in that: the synchronous update data block update adopts a full write strategy, which is expressed as: the data block Du is updated to D'u (1≤u≤k), and the specific method is:

[0016] First, the terminal checks whether there is any core data that needs to be updated locally. If so, it directly overwrites the original data and updates it. Secondly, the remaining data is uploaded to the edge cache and waits for batch updates. When the triggering mechanism condition is met, the edge uploads the data to the cloud to update the data blocks stored in the cloud. Among them, u is any value in the range of 1≤u≤k. Here, u refers to the uth data block to be updated, and k is the total number of data blocks.

[0017] Furthermore, an adaptive threshold adjustment method for data security storage and synchronous update is characterized in that the update of the redundant block adopts a delayed update method, which is divided into two steps: incremental calculation and incremental encoding. i The update of (1≤i≤m) can be expressed as:

[0018]

[0019] Where C′ i is the updated redundant block, B i,j is the coding matrix coefficient, i: is any value in the range, here i refers to the i-th redundant block, 1≤i≤m, m: the total number of redundant blocks, j: is any value in the range, 1≤j≤k and j≠u, u: is any value in the range, 1≤u≤k, here u refers to the u-th data block to be updated, k: the total number of data blocks, D j : The jth redundant block, B i,u : The coefficient of the i-th redundant block corresponding to the data block to be updated by the u-th data block, D u : The data block to be updated, C i : The i-th redundant block, D' u : The updated data block.

[0020] Furthermore, an adaptive threshold adjustment method for data security storage and synchronous update is characterized in that: the algorithm for adaptively adjusting the threshold dynamically adjusts the time interval to adapt to the change of update workload, and the dynamic threshold adjustment algorithm designed by the algorithm takes the number of updated data blocks and the amount of updated data as influencing factors, which greatly adapts to the change of update workload. The specific operation steps are:

[0021]

[0022]

[0023] Furthermore, an adaptive threshold adjustment method for data security storage and synchronous update is provided, wherein the incremental calculation means that the redundant block can be updated based on the original block: the data update is not the update of the entire block, and the increment is X' u -X u or S' u -S u The incremental calculation is calculated by the cloud and the terminal respectively, where X' u : Updated public data, X u : Public data before update, S' u : Updated core data, S u : The core data before updating.

[0024] Furthermore, an adaptive threshold adjustment method for secure data storage and synchronous update is characterized in that: the incremental encoding method is: the cloud and the terminal transmit the incremental to the edge, and then the incremental is completed by collaboration between multiple edge devices; C′ iu =C i +C * u , 1≤i≤m completes the redundant update, where C * u represents the redundant increment of the update block,

[0025] Specifically, the redundant update task can be split into m subtasks and recorded as Π i , the amount of calculation is recorded as w i , the computing power of the edge device is denoted as f e ηi And the proportion of computing resources allocated to π by the device is p i , then the task execution time of a single edge device can be expressed as:

[0026]

[0027] Therefore, to maximize the efficiency of redundant updating, we can optimize the objective function to obtain:

[0028]

[0029]

[0030] Where E represents the edge device that can be used to perform subtasks, Represents the edge device assigned to task π iThe proportion of computing resources, η i : the i-th edge device, : Available edge devices. Given η=η 0 ∈E, the original objective function can be transformed into a convex optimization problem about p, and the Karush-Kuhn-Tucker (KKT) condition can be used to solve the optimal resource allocation mode and task allocation mode of edge devices.

[0031] Furthermore, an adaptive threshold adjustment method for secure data storage and synchronous update is provided, characterized in that: the algorithm for adaptively adjusting the threshold introduces a new edge end as a cache for updated data in order to further improve the synchronization mechanism. The edge end is closer to the terminal than the cloud end, and a threshold is set at the edge end to form a self-batch update, that is, the cloud data blocks and redundant blocks are updated after the threshold is reached.

[0032] Furthermore, an adaptive threshold adjustment method for secure data storage and synchronous update is provided, characterized in that: the self-batch update means that for the updated data, the complete data blocks and redundant blocks are not updated immediately, but the updated data is cached at the edge. When the triggering update conditions are met, the data is transmitted to the cloud to update the data blocks, and the redundant blocks are updated collaboratively at the same time.

[0033] Furthermore, an adaptive threshold adjustment method for data security storage and synchronous update is provided, characterized in that: the triggering update mechanism condition is that the synchronization uses the time interval from the last synchronization as the trigger mechanism, and the time interval is affected by the number of updated data blocks and the amount of updated data. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a diagram of the cloud-edge collaborative storage architecture of the present invention.

[0035] Figure 2 is a schematic diagram of the updating process of the present invention,

[0036] Figure 3 is a schematic diagram of the adaptive batch update of the present invention,

[0037] Figure 4 This is a comparative experimental diagram of communication costs of different data block sizes of the present invention.

[0038] Figure 5 This is a comparative experimental diagram of the communication cost of different modified data volumes of the present invention.

[0039] Figure 6 This is a comparison experiment diagram of the update time of different data block sizes of the present invention.

[0040] Figure 7 This is an experimental diagram comparing the update time of different modified data amounts of the present invention. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0042] The present invention first constructs a secure storage model for cloud-edge collaboration and designs a collaborative data synchronization mechanism based on it. By introducing multiple edge nodes for collaborative computing, the data blocks and redundant blocks are synchronized and updated respectively. The core idea of ​​the synchronization algorithm is: based on the caching capacity and computing power of the edge nodes, the updated increments of the data blocks are stored in real time to ensure data consistency, while the redundant blocks are updated with a delayed update method, that is, when the accumulated updated increments reach the triggering update conditions, they are updated as a whole. In the redundant block update process, edge-to-edge collaboration is utilized, and multiple edge nodes cooperate in time-sharing to complete the overall redundant calculation. Through our method, while ensuring the secure storage of data, the waste of resources caused by frequent updates in the Internet of Things environment is avoided. At the same time, the edges collaborate with each other to improve the overall computing power of the edge and reduce communication costs.

[0043] The core of the present invention is: the cloud-edge collaborative storage based on erasure codes can break the unreliable drawbacks of the traditional cloud storage model, but the redundant blocks are linear combinations of data blocks, and the update of each data block will almost cause the update of all redundant blocks, which requires a large amount of calculation. Therefore, storing the redundant blocks separately and centrally at the edge can avoid a large amount of communication transmission between the ends and reduce communication costs; and the data blocks are further divided and stored in the terminal and the cloud respectively. For the data synchronization process, the terminal first checks whether there is data that needs to be updated locally, and then delivers all the updated data and the inspection results to the edge. The edge adaptively checks whether to trigger the update based on the updated data. When the triggering update conditions are met, the edge transmits the updated data to the cloud to complete the cloud data block update and requests to download the original data of the updated data. Using the original data and the updated data, the edge nodes collaborate with each other to recalculate the redundancy and update.

[0044] The specific implementation process is as follows:

[0045] For storage models, such as Figure 1 As shown in Figure 1, different from the traditional cloud storage system, the new storage model combines edge computing to form a three-layer architecture of terminal-edge-cloud. After the data is encoded with erasure code, the redundant blocks are stored at the edge, and the data blocks D i (1≤i≤k) is split into X i (1≤i≤k) and X k+1 , stored in the cloud and the terminal respectively. Specifically, k data blocks are encoded using Reed-Solomon code to obtain data blocks (D 1 ,D 2 ,..,D k ) and redundant blocks (C 1 ,C 2 ,..,C m ), where the encoding matrix is ​​composed of the identity matrix and the Cauchy matrix. Since the data block D i Composed of multiple strips (S i,1 ,S i,2 ,…,S i,x ), so we need to calculate the core data (S) in each data block based on these blocks. 1 ,S 2 ,…,S K ) and data blocks (D 1 ,D 2 ,..,D k ) is called public data and is denoted by (X 1 ,X 2 ,…,X K In the storage process, the core data (S 1 ,S 2 ,…,S K ) is denoted as X k+1 Stored in the terminal, public data (X 1 ,X 2 ,…,X K ) are stored in the cloud, and the redundant blocks (C 1 ,C 2 ,..,C m ) is stored at the edge. Compared with traditional cloud storage, this method is a semi-outsourcing model. This storage model breaks the complete outsourcing model in traditional cloud storage, and the redundant blocks at the edge ensure the reliability and availability of data.

[0046] Secondly, for synchronous updates, as shown in the attached Figure 2 As shown, for updating data block D u, the update increment is transmitted to the edge, and the edge node uses the increment for collaborative update. It mainly includes two processes: data block update and redundant block update. The data blocks are stored in the terminal and the cloud respectively according to the partition strategy, so the update mainly involves two layers. In the data block update, first, the terminal checks whether there is core data that needs to be updated locally. If so, it directly overwrites the original data update. Then the remaining data is uploaded to the edge cache and waits for batch update. When the conditions for triggering the update mechanism are met, the edge uploads the data to the cloud to update the data blocks stored in the cloud. In this process, the update of the data block adopts a full write strategy. Compared with the update of the data block, the update of the redundant block is more complicated.

[0047] Assume that data block D u Updated to D' u (1≤u≤k), since the redundant block is the result of the linear combination of the data blocks, then C i The update of (1≤i≤m) can be expressed as:

[0048]

[0049] Where C′ i is the updated redundant block, B i,j is the coding matrix coefficient, i: is any value in the range, here i refers to the i-th redundant block, 1≤i≤m, m: the total number of redundant blocks, j: is any value in the range, 1≤j≤k and j≠u, u: is any value in the range, 1≤u≤k, here u refers to the u-th data block to be updated, k: the total number of data blocks, D j : The jth redundant block, B i,u : The coefficient of the i-th redundant block corresponding to the data block to be updated by the u-th data block, D u : The data block to be updated, C i : The i-th redundant block, D' u : The updated data block. This update process shows that the new redundant block can be updated based on the original block, and the only additional information required is the increment. In fact, usually the data update is not the update of the entire block, so in our storage solution, the increment can be further clarified as X' u -X u or S' u -S u Based on the above analysis, we conclude that the update of redundant blocks is mainly divided into two steps, namely incremental calculation and incremental encoding. The incremental calculation is calculated by the cloud and the terminal respectively; in the incremental encoding part, the cloud and the terminal transmit the incremental to the edge, and then the incremental is completed by collaboration between multiple edge devices to improve efficiency; finally, based on the formula C′ i =C i +C *u , 1≤i≤m completes the redundant update, where C * u represents the redundant increment of the update block. Specifically, the redundant update task can be split into m subtasks and recorded as Π i , the amount of calculation is recorded as W i , the computing power of the edge device is denoted as f e ηi And the proportion of computing resources allocated to π by the device is p i , then the task execution time of a single edge device can be expressed as:

[0050]

[0051] Therefore, to maximize the efficiency of redundant updating, we can optimize the objective function to obtain:

[0052]

[0053]

[0054] Where E represents the edge device that can be used to perform subtasks, Represents the edge device assigned to task π i The proportion of computing resources, η i : the i-th edge device, : Available edge devices. Given η=η 0 ∈E, the original objective function can be transformed into a convex optimization problem about p, and the Karush-Kuhn-Tucker (KKT) condition can be used to solve the optimal resource allocation mode and task allocation mode of edge devices.

[0055] There is also a batch update mechanism during the update process, as shown in the attached Figure 3As shown in the figure, for updated data, the complete data block and redundant block are not updated immediately, but the updated data is cached on the edge. When the trigger update condition is met, the data is transmitted to the cloud to update the data block, and the redundant block is updated collaboratively on the edge. This mechanism is set because in the storage mechanism of cloud-edge collaboration, the data at the same location may be frequently updated, and the data generated in the process may not be applied, resulting in resource waste. To further improve the synchronization mechanism, we introduce a new edge as a cache for updated data. Since the edge is closer to the terminal than the cloud, the transmission of updated data further reduces the communication cost. A threshold is set on the edge to form a batch update, that is, the cloud data block and redundant block are updated after the threshold is reached, which ensures the real-time nature of the data when the terminal requests to call data and reduces the loss caused by frequent calculation of redundant updates. This method uses the time interval between two updates as a measure, and proposes an algorithm for adaptively adjusting the threshold according to the data update status based on the dichotomy method. Finding a suitable time interval to trigger batch updates is a challenge. If the interval is too long, a large number of data blocks will need to be updated, resulting in data inconsistency. If the interval is too short, the update performance will be reduced. Setting the interval to a fixed size is a more common practice. However, a fixed time interval may not always be appropriate because the update workload of the data block may change. Therefore, it is necessary to dynamically adjust the time interval to adapt to the change of the update workload. The dynamic adjustment threshold algorithm designed by this method uses the number of updated data blocks and the amount of updated data as influencing factors, which greatly adapts to the change in the update workload.

[0056] In order to verify the method of the present invention, we compared it with two other typical in-place update methods PUM and DUM. Figure 4-7 As shown. Among them, PUM is a centralized update method, all updates are completed by a computing node; DUM is a distributed update algorithm, and updates are completed independently by corresponding redundant nodes; EDUA is the update method designed by us. By comparison, it can be concluded that the present invention has the following advantages:

[0057] 1) Centralizing the redundant blocks at the edge for storage ensures data availability in the event of data block damage, facilitates centralized updating of redundant blocks, and reduces communication consumption.

[0058] 2) Based on the caching capability of edge computing, cached data is updated incrementally in real time, which not only ensures data consistency but also avoids the waste of computing and communication resources caused by frequent updates.

[0059] 3) The designed adaptive threshold adjustment method can adjust the trigger update time according to the update status of the IoT environment data, which can avoid the update interval being too long, resulting in data inconsistency caused by a large amount of data to be updated; and avoid the interval being too short, which reduces the update performance.

Claims

1. An adaptive threshold adjustment method for data security storage and synchronous update, characterized in that: The method includes constructing a cloud-edge collaborative secure storage model, synchronously updating data blocks and redundant blocks respectively, and adaptively adjusting threshold algorithms, thereby constructing a cloud-edge collaborative secure storage model. The storage model includes a three-layer architecture of terminal, edge and cloud; The synchronous update includes data block update and redundant block update; The algorithm for adaptively adjusting the threshold is based on the time interval between two updates and is an algorithm for adaptively adjusting the threshold according to the data update status based on the dichotomy method. The algorithm for adaptively adjusting the threshold dynamically adjusts the time interval to adapt to the change of the update workload. The number of updated data blocks and the amount of updated data are used as influencing factors in the dynamic threshold adjustment algorithm designed by the algorithm. The specific operation steps of the algorithm for adaptively adjusting the threshold are: Input: parameters (k, m, z), where k is the number of data blocks, m is the number of redundant blocks, and z is the total amount of data. First, record the duration of the first round of updating m / 2 data blocks, and set the duration as the threshold θ; Then, count the number of data blocks y and the amount of updated data x within the time range θ, and adjust the threshold according to the changes of these two quantities; Then determine whether y satisfies y≥m / 2 or x≥z / 2. If the number of updated data blocks y is greater than or equal to half of the number of redundant blocks m or the updated data volume x is greater than or equal to half of the total data volume z, then halve the threshold θ to θ / 2. If y≤m / 4 and x≤z / 4, that is, the number of updated data blocks y is less than or equal to 1 / 4 of the number of redundant blocks m and the updated data volume x is less than or equal to 1 / 4 of the total data volume z, then the threshold θ is doubled to 2θ; in other cases, the threshold θ remains unchanged.

2. The method for adjusting the adaptive threshold value for secure data storage and synchronous update according to claim 1, characterized in that: The storage model is a semi-outsourcing model; the specific method is: First, use Reed-Solomon code to encode k data blocks to obtain data blocks (D1, D2, .., D k ) and redundant blocks (C1, C2, .., C m ), where the encoding matrix is ​​composed of the identity matrix and the Cauchy matrix, and the data block D i Composed of multiple strips (S i,1 ,S i,2 ,…,S i,v )composition, Secondly, the core data (S1, S2, ..., S k ) and data blocks (D1, D2, .., D k ) and recorded as public data (X1, X2, …, X k ), in the storage process, the core data (S1, S2, ..., S k ) is denoted as X k+1 The public data (X1, X2, ..., X k ) are stored in the cloud, the redundant blocks (C1, C2, .., C m ) are stored at the edge.

3. The method for adjusting the adaptive threshold value for secure data storage and synchronous update according to claim 1, characterized in that: The synchronously updated data block update adopts a full write strategy, and the data block D u Updated to D' u (1≤u≤k), the specific method is: First, the terminal checks whether there is any core data that needs to be updated locally. If so, it directly overwrites the original data and updates it. Secondly, the remaining data is uploaded to the edge cache and waits for batch update. When the conditions for triggering the update mechanism are met, the edge uploads the data to the cloud to update the data blocks stored in the cloud.

4. The method for adjusting the adaptive threshold value for secure data storage and synchronous update according to claim 1, characterized in that: The update of the redundant block adopts a delayed update method, which is divided into two steps: incremental calculation and incremental encoding. i The update of (1≤i≤m) can be expressed as:

5. The method for adjusting the adaptive threshold value for secure data storage and synchronous update according to claim 4, characterized in that: The incremental calculation means that the redundant block can be updated based on the original block: the update of data is not the update of the entire block, and the increment is X' u -X u or S' u -S u , the incremental calculation is calculated by the cloud and the terminal respectively.

6. The method for adjusting the adaptive threshold value for secure data storage and synchronous update according to claim 4, characterized in that: The incremental encoding method is: the cloud and the terminal transmit the incremental to the edge, and then the incremental is completed by collaboration between multiple edge devices; Based on the formula C′ i =C i +C * u , 1≤i≤m completes the redundant update, where C * u represents the redundant increment of the update block, Specifically, the number of redundant updates can be divided into the number of m redundant blocks and recorded as Π i , the amount of calculation is recorded as w i , the computing power of the edge device is denoted as f e ηi and the device is assigned to the PI i The computing resource ratio is p i , then the task execution time of a single edge device can be expressed as: Therefore, to maximize the efficiency of redundant updating, we can optimize the objective function to obtain:

7. The method for adjusting the adaptive threshold value for secure data storage and synchronous update according to claim 1, characterized in that: The algorithm for adaptively adjusting the threshold introduces a new edge end as a cache for updated data to improve the synchronization mechanism. The edge end is closer to the terminal than the cloud end, and a threshold is set at the edge end to form a self-batch update, that is, the cloud data block and the redundant block are updated after the threshold is reached.

8. The method for adjusting the adaptive threshold value for secure data storage and synchronous update according to claim 7, characterized in that: The self-batch update means that the updated data is not updated immediately with complete data blocks and redundant blocks, but the updated data is cached at the edge. When the triggering update conditions are met, the data is transmitted to the cloud to update the data blocks, and the redundant blocks are updated collaboratively at the same time.

9. The method for adjusting the adaptive threshold value for secure data storage and synchronous update according to claim 3, characterized in that: The triggering update mechanism condition is that the synchronization takes the time interval from the last synchronization as the triggering mechanism, and the time interval is affected by the number of updated data blocks and the amount of updated data.

Citation Information

Patent Citations

  • Distributed buffer memory strategy adaptive switching method based on machine learning and system thereof

    CN102227121A

  • Energy saving storage method of cluster storage system

    CN102681791A