Multi-Camera Storage Thresholds to Prevent Full-Coverage Spikes
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The simultaneous triggering of multiple monitoring devices reaching full storage capacity leads to concentrated full-coverage states, causing increased disk rewriting pressure and affecting the performance of normal data storage.
Innovation Solution
A data storage method that dynamically balances full-coverage pressure by determining time granularities and full-coverage thresholds for each device, adjusting these thresholds to stagger the times at which devices reach full-coverage, thereby preventing simultaneous full-coverage across multiple devices.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If multiple monitoring devices are configured with the same retention period, then the configuration is simple and unified, but multiple devices simultaneously trigger full coverage causing increased disk rewriting pressure and reduced storage performance
Solution Approach 1:
The patent assigns different retention periods to different monitoring devices based on their importance levels. Important devices retain videos for the full configured period, while non-important devices retain videos for shorter periods. This local differentiation in retention quality prevents simultaneous full-coverage triggers across all devices, reducing concentrated disk rewriting pressure and improving overall storage performance.
2Productivity
If different retention periods are assigned to different devices, then simultaneous full-coverage pressure is reduced, but the configuration becomes more complex
Solution Approach 1:
The patent introduces an importance level parameter to classify monitoring devices, which automatically determines their retention period. By changing the parameter (importance level) rather than manually configuring each device's retention period, the system reduces configuration complexity while still achieving differentiated retention policies that improve storage performance.
3Quantity of substance
If historical video data is deleted in batches when multiple devices reach full coverage, then storage space is released, but disk erasure and rewriting operations occupy read/write performance and affect normal real-time video storage
Solution Approach 1:
The patent performs preliminary actions by deleting historical video data from non-important devices before they reach full coverage. By proactively removing old data in advance, the system prevents the concentrated full-coverage state that would trigger batch deletions during operation, thereby avoiding performance occupation and ensuring reliable real-time storage.
Solution Approach 2:
The patent skips the normal retention period for non-important devices, allowing their historical data to be deleted earlier than the configured retention period would dictate. This rushing through the retention phase for less important devices prevents them from reaching full coverage simultaneously with important devices, avoiding the need for performance-intensive batch deletion operations.
Data Source
Figure 1~2
Figure 3
Figure 4
AI summary
Provided are a data storage method and apparatus, an electronic device, and a storage medium. The data storage method includes determining (S110), according to a preset number of storage channels, a time granularity and respective full-coverage thresholds matching multiple photographing devices; determining (S120) the number of full-coverage devices in each time granularity, where each full-coverage device is a photographing device whose remaining memory is less than or equal to a full-coverage threshold matching the full-coverage device; and in response to determining that the number of full-coverage devices in a target time granularity is less than a preset full-coverage device number threshold, performing (S130) data storage according to the respective full-coverage thresholds matching the multiple photographing devices.