Integrity Tree Counter Allocation to Prevent Sub-Counter Overflow
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The performance of data integrity verification in the current integrity tree is poor due to the counter in the current integrity tree easily overflows.
Innovation Solution
A resource allocation method that dynamically adjusts the storage resource of a shared counter by allocating a second storage resource to a first sub-counter when its value exceeds the maximum storage value, preventing overflow and improving performance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a fixed storage resource is allocated to each counter in the integrity tree, then the device complexity is reduced and ease of operation is improved, but the counter easily overflows and data integrity verification performance deteriorates
Solution Approach 1:
The patent implements dynamic resource allocation for counters in the integrity tree. Instead of fixed storage resources, counters can dynamically acquire additional storage resources when needed (when overflow is detected) and release them when not needed. This dynamic adjustment prevents counter overflow and improves data integrity verification performance while adapting to actual usage patterns.
Solution Approach 2:
The patent changes the storage resource parameter of counters from fixed to variable. Counters start with a basic storage resource and can expand to additional storage resources based on their actual needs. This parameter change allows counters to adapt their capacity dynamically, preventing overflow while maintaining efficient resource utilization.
2Reliability
If additional storage resources are allocated to prevent counter overflow, then data integrity verification performance is improved, but storage resource utilization efficiency may worsen
Solution Approach 1:
The patent implements a self-service mechanism where counters automatically manage their own storage resources. When a counter detects it is approaching overflow, it automatically acquires additional storage resources. When it no longer needs them, it releases them back to the pool. This self-management ensures overflow prevention while maintaining high resource utilization efficiency through automatic allocation and release.
Solution Approach 2:
The patent employs feedback mechanisms where counters monitor their own usage status and automatically trigger resource acquisition when overflow is detected. The system continuously monitors counter values and dynamically adjusts resource allocation based on actual usage patterns, ensuring both overflow prevention and efficient resource utilization through closed-loop control.
Data Source
AI summary
The method includes: obtaining, in response to a write request for a target data block, a value of a first sub-counter corresponding to the target data block in an integrity tree, where the first sub-counter is a sub-counter of a first shared counter, and a first storage resource of the first sub-counter belongs to a storage resource of the first shared counter; and allocating a second storage resource to the first sub-counter when it is detected that a value obtained after a first value is added to the value of the first sub-counter is greater than a maximum storage value of the first storage resource. In this way, the adjusted storage resource of the first sub-counter is increased, thereby further preventing overflow of the first sub-counter and improving performance of data integrity verification of the integrity tree.


