Terminal Data Transmission Using Hot-Cold Memory Backup
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The frequent reading and writing of nonvolatile memory in terminal devices for data transmission affects the service life and stability due to high data access frequency, especially when storing and transmitting real-time data.
Innovation Solution
Implementing a data transmission method that stores real-time data as hot data in a fast access memory for quick access and backs it up as cold data in a nonvolatile memory, reducing the frequency of memory access and ensuring data persistence across device restarts or shutdowns.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If real-time data is stored in nonvolatile memory for data persistence, then data continuity is ensured after device restarts, but memory access frequency increases affecting service life and stability
Solution Approach 1:
The patent segments data into hot data (frequently accessed real-time data) and cold data (historical data), storing hot data in volatile memory for quick access and cold data in nonvolatile memory for persistence, thereby reducing overall memory access frequency
Solution Approach 2:
The patent performs preliminary backup of hot data to cold storage before device restarts or abnormal shutdowns occur, ensuring data persistence without requiring frequent reads from nonvolatile memory during normal operation
2Productivity
If real-time data is stored in nonvolatile memory for continuous collection, then data acquisition is maintained, but reading and writing frequency increases affecting stability
Solution Approach 1:
The patent divides data storage into volatile memory for hot data and nonvolatile memory for cold data, enabling continuous data acquisition while maintaining system stability by reducing write operations to nonvolatile memory
Solution Approach 2:
The patent implements periodic backup of hot data to cold storage at predetermined time intervals or when data volume reaches a threshold, maintaining data acquisition productivity while reducing the frequency of nonvolatile memory operations
Data Source
Figure 1~2
Figure 3~6
AI summary
A data transmission method, a terminal, and a computer-readable storage medium are disclosed. The data transmission method includes: acquiring first data (S100); storing the first data as hot data and transmitting the hot data to a server (S200); backing up the hot data as the cold data according to running time (S300); and transmitting the cold data to the server according to a running state (S400).