Message queue-based cache refresh method and device

By using a message queue-based cache refresh method, the data in the first system cache is automatically updated, which solves the problem of frequent queries caused by outdated cached data and improves business processing efficiency.

CN117194452BActive Publication Date: 2026-06-02INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
Filing Date
2023-09-11
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

In large-scale business systems, the data stored in the cache of the first system is not up-to-date, leading to frequent queries to the database of the second system and affecting business processing efficiency.

Method used

The cache refresh method based on message queues obtains data update information from the second system, generates a cache refresh notification message and writes it to the message queue, pulls and updates local cache data, or obtains updated data from the second system for updating.

Benefits of technology

This system automatically updates the data in the first system's cache after a data update, avoiding frequent queries to the second system's database and improving the business processing efficiency of the first system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117194452B_ABST
    Figure CN117194452B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a kind of based on message queue's cache refresh method and device, it can be used in financial field or other technical field, the method comprises: obtaining data update information;According to the data update information generates cache refresh notification message, and the cache refresh notification message generated is written into message queue;Pull cache refresh notification message from the message queue, if the cache refresh notification message pulled contains data identification information and updated data, then according to the data identification information and updated data in the cache refresh notification message pulled, the data in local cache is updated, if the cache refresh notification message pulled contains data identification information but does not contain updated data, then according to the data identification information in the cache refresh notification message pulled, corresponding updated data is obtained from the second system, then the data in local cache is updated.The present application helps to improve the business processing efficiency of system.
Need to check novelty before this filing date? Find Prior Art