Abstract
In the realm of big data, cloud-edge-device collaboration is prevalent in industrial scenarios. However, a systematic exploration of the theory and methodologies related to data management in this field is lacking. This paper delves into the sub-problem of data storage and scheduling within cloud-edge-device collaborative environments. Following extensive research and analysis of the characteristics and requirements of data management in cloud-edge collaboration, it is evident that existing studies on hierarchical data management primarily focus on the migration of hot and cold data. Additionally, these studies encounter challenges such as elevated operational and maintenance costs, difficulties in locating data within tiered storage, and intricate metadata management attributable to excessively fine-grained management granularity. To overcome these challenges, we propose a Block-based hierarchical data Management framework, Brame, which advocates for a workload-aware three-tier storage architecture and suggests a shift from using tuples to employing Blocks as the fundamental unit for data management. Brame owns an offline block generation method designed to facilitate efficient block generation and expeditious query routing. Extensive experiments substantiate the superior performance of Brame.
Introduction
In the era of big data, industrial systems often rely on Cloud-Edge-Device Collaboration (CEDC). Data is spread across powerful but high-latency cloud servers, mid-tier edge servers, and low-latency but resource-constrained terminal devices.
While this architecture is increasingly common, the authors identify a major gap: existing hierarchical storage systems are usually designed for two tiers (Cloud-Edge) and manage data at the tuple level. This fine-grained approach leads to four critical challenges:
- Vertical Expansion: Difficulty in managing differentiated storage requirements across three distinct tiers.
- Statistical Overhead: High computational costs for maintaining "hotness" (access frequency) statistics for millions of individual rows.
- Data Locality: Traditional methods often scatter related rows across different tiers, forcing queries to scan multiple devices.
- Metadata Explosion: Managing fine-grained indexes for every row creates massive, complex metadata that is hard to maintain during frequent data migrations.
System Architecture
Brame addresses these issues by introducing a novel three-tier architecture designed for seamless collaboration between the cloud, the edge, and end devices.
The framework consists of a query processing layer that routes requests to specific Block IDs. These blocks are then managed across the Cloud (cold blocks), Edge (hot blocks), and End devices (hot blocks) based on a data scheduler and cache replacer.
Block-Based Data Management
The core innovation of Brame is the move from Tuples to Blocks. A Block is a set of tuples with a predetermined maximum capacity that serves as the fundamental unit for storage and migration.
By grouping tuples into blocks, Brame significantly reduces metadata overhead. Instead of tracking millions of individual rows, the system tracks a much smaller number of blocks, each containing metadata like MBR (Minimum Bounding Rectangle), Hits, and Temperature to facilitate efficient routing and migration.
Methodology
1. Offline Block Generation (BG)
To ensure that tuples frequently accessed together stay together, Brame uses a workload-aware encoding strategy. It represents each tuple as a bitmap based on the queries it satisfies. It then employs Hierarchical Balanced Clustering (HBC)—a modified iterative K-Means algorithm—to group these tuples into blocks of similar size. This ensures high data locality and manageable management granularity.
2. Online Hierarchical Storage Scheduling (HSS)
Brame manages data movement between tiers using two main components:
- Temperature Model: It uses exponential smoothing to calculate a "temperature" for each block, balancing historical access patterns with recent activity.
- 0-1 Knapsack Optimization: The placement of blocks between the cloud and the edge is modeled as a knapsack problem, aiming to maximize the total "heat" (utility) of data stored on the edge within its storage budget.
- Cache Replacement: For terminal devices, Brame delegates migration to standard cache strategies (like LRU or CLOCK) to handle highly personalized, real-time user needs.
Key Results
The researchers evaluated Brame using two real-world datasets: Power (approx. 2.1 million rows) and DMV (approx. 11.6 million rows). These were compared against three baseline methods: Key-Order, K-D Tree, and Curve.
- Higher Hit Rates: Brame consistently outperformed all baselines. On the Power dataset, it achieved a 0.3x to 1.0x improvement in Tuple Hit Ratio (THR) and Block Hit Ratio (BHR) compared to the second-best method.
- Efficiency at Scale: On the larger DMV dataset, Brame showed a 10% to 30% performance improvement over the Key-order baseline.
- Reduced Redundancy: By organizing data by access patterns, Brame reduces "storage redundancy"—situations where a block is moved to the edge but only a few of its tuples are actually needed by the user.
Conclusion and Future Work
Brame demonstrates that shifting to a workload-aware, block-based management system significantly improves performance in cloud-edge-device collaborative environments. Future work will focus on expanding the framework to support complex relational operators like Joins, Group By, and Order By, and integrating online tuning for the block generation process to adapt to shifting workloads dynamically.
Summary updated