Cache data processing method, device and equipment and storage medium
A technology for caching data and processing methods, applied in the Internet field, can solve problems such as increasing workload, increasing nodes, and difficulty in processing multiple requests in parallel at the same time, so as to improve processing efficiency and prevent data loss
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] figure 1 It is a schematic flowchart of a method for processing cached data provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of processing cached data. The method can be executed by a device for processing cached data at the client. The client obtains Computing nodes and local cache cluster information. Such as figure 1 As shown, the method specifically includes the following steps:
[0033] S110. In response to the data processing request, receive a key value of target data, and determine a target slot corresponding to the key value.
[0034] Wherein, the client receives the key value of the target data in the data processing request in response to the data processing request sent by the user. According to the key value of the target data, the client obtains the computing node, and can calculate the virtual slot corresponding to the key value of the target data. The calculated virtual slot is the target slot of the target ...
Embodiment 2
[0048] figure 2 It is a schematic flowchart of a buffer data processing method provided by Embodiment 2 of the present invention. This embodiment is further optimized on the basis of the foregoing embodiments. Such as figure 2 As shown, the cache data processing method provided in this embodiment specifically includes the following steps:
[0049] S210. In response to the data processing request, receive a key value of the target data, and determine a target slot corresponding to the key value.
[0050] S220. Determine a target node corresponding to the target slot according to the target slot; wherein, the target node is a storage area in the local cache.
[0051] S230. Send the target data on the distributed cache to the target node in the local cache according to the key value of the target data, so as to process the target data.
[0052] S240. In response to a data synchronization instruction issued by the user, synchronize the result data obtained by executing the o...
Embodiment 3
[0056] image 3 It is a structural block diagram of a cache data processing device provided in Embodiment 3 of the present invention, which can execute the cache data processing method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. The device is configured on the client side, and the client side obtains computing nodes and local cache cluster information, such as image 3 As shown, the device specifically includes:
[0057] The target slot determination module 301 is configured to receive the key value of the target data in response to the data processing request, and determine the target slot corresponding to the key value;
[0058] A target node determination module 302, configured to determine a target node corresponding to the target slot according to the target slot; wherein, the target node is a storage area in the local cache;
[0059] The target data processing module 303 ...
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