Cache management method and device based on data dependency and consistency guarantee
By adopting a cache management method based on data dependencies and consistency guarantees, the problem of inconsistency between cached data and database data in existing technologies is solved. This achieves low-code-intrusion cache management, supports precise invalidation of single and multiple records, and ensures data consistency.
Patent Information
- Application Number
- CN202210066453.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-20
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-01-20
AI Technical Summary
Existing tools or solutions lack a data dependency framework, cannot provide a complete automatic resolution of the relationship network, and cannot implement a cache management method based on data dependencies and consistency guarantees, resulting in inconsistencies between cached data and database data.
This paper provides a cache management method and system based on data dependency and consistency guarantee. It achieves low code intrusion through annotation, including data query, addition, deletion and update processes. It uses the single data object eviction algorithm to manage the dependency relationship of cached data and ensure consistency.
It enables automatic identification and management of cached data dependencies when data objects change, ensuring consistency between cached data and database data. It provides a flexible cache management entry point and supports precise expiration management of single and multiple records.
Smart Images

Figure CN114416798B_ABST
