Cache data management method and device, storage medium and electronic equipment
A technology for caching data and management methods, which is applied in electronic digital data processing, special data processing applications, database indexing, etc., can solve the problems of reducing the maintenance efficiency and query efficiency of stored data, frequent maintenance and updating of stored data, etc., to improve maintenance. Efficiency and query efficiency, the effect of avoiding impact
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0066] figure 1 It is a schematic flowchart of the cache data management method provided in Embodiment 1 of the present application, as shown in figure 1 As shown, this embodiment mainly includes:
[0067] S101: Obtain an instruction, and determine the instruction type.
[0068] The implementation subject of the embodiment of the present application is a data server, usually a device that provides data query functions, such as a data query server, wherein the above-mentioned data server includes a cache area with a function of caching and storing data, and the data server is connected to a database. Stored data is stored in the database, and the data server can perform operations such as writing, reading, and deleting the stored data in the database.
[0069] After receiving the instruction, it is necessary to judge the instruction type. The command here is usually issued by the client that needs to operate on the stored data, or it can be issued by the data server itself. ...
Embodiment 2
[0087] The embodiment of the present application also provides another cache data management method. In order to manage the entire process of storing data, the cache data management method provided in Embodiment 2 of the present application includes a data query step, a data writing step, a data deletion step and Data update step.
[0088] The cache data management method provided in Embodiment 2 of the present application needs to firstly execute the steps of obtaining an instruction and determining the type of the instruction.
[0089] Such as figure 2 As shown, the data query steps in the cache data management method provided in Embodiment 2 of the present application specifically include:
[0090] S201: When the instruction type is a data query instruction, acquire a data address of the data to be searched and a category identifier of the data to be searched.
[0091] Before performing step S201, the steps of executing the acquisition instruction and determining the ins...
Embodiment 3
[0134] Such as Figure 6 As shown, the embodiment of the present application also provides a cache data management device 600, including:
[0135] An instruction acquiring module 601, configured to acquire the instruction and determine the instruction type;
[0136] The attribute acquisition module 602 is used to obtain the data address of the data to be checked and the category identification of the data to be checked when the instruction type is a data query instruction; it is also used to obtain the data address to be updated when the instruction type is a data update instruction. The category identification of the data; the data to be updated is the data to be checked and the query operation information to be cleared by the data update command in the cache;
[0137] Judging module 603, configured to judge whether the data to be checked exists in the cache according to the data address of the data to be checked and the category identifier of the data to be checked;
[013...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com