Data processing method and device, medium, electronic equipment and program product

By inheriting and extending the base class of caching strategies, the problem of low efficiency in developing caching strategies independently under different business scenarios is solved, and unified management and personalized configuration of cached data are realized, thereby improving data access speed.

CN120848983APending Publication Date: 2025-10-28BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410509786.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2025-10-28

Smart Images

  • Figure CN120848983A_ABST
    Figure CN120848983A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, in particular to a data processing method and device, a medium, electronic equipment and a program product, and the method comprises the steps: obtaining a caching strategy base class corresponding to a memory; in response to an operation for the cache strategy base class, a first subclass of the cache strategy base class is obtained based on extension of the cache strategy base class, and the first subclass is used for managing memory cache data in the memory. A universal template is defined by the cache strategy base class and comprises common attributes and methods of a first subclass of the cache strategy base class, and on the basis, when extension is carried out on the basis of the cache strategy base class, the first subclass can be obtained by inheriting all the attributes and methods of the cache strategy base class and adding new attributes and methods or rewriting the method of the cache strategy base class. Therefore, the development efficiency of the cache strategy is improved.
Need to check novelty before this filing date? Find Prior Art