Cache management method and device
A management method and caching technology, which is applied in the field of data communication, can solve problems such as business interruption, message loss, and unreasonable buffer pool allocation, and achieve the effect of improving reliability and utilization efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] The embodiment of the present invention provides a cache management method, and the processing flow chart is as follows figure 1 shown, including the following steps:
[0038] Step S101: Create corresponding buffer pools for different types of messages respectively, and use some buffers in the buffer pools corresponding to the messages of the specified type as shared buffer pools.
[0039] The number of buffers in the buffer pool corresponding to the specified type of message is greater than the number of buffers in the buffer pool corresponding to other messages.
[0040] In this embodiment, a buffer pool with a set number of bytes is used as a unit to create corresponding buffer pools for different types of messages respectively, and the number of buffers in the buffer pool corresponding to each type of message may be different. Among them, the size of the buffer, that is, the set number of bytes can be a power of 2. Buffers are used to hold buffer descriptors and m...
Embodiment 2
[0051] An embodiment of the present invention provides a cache management device 80, the schematic diagram of which is as follows Figure 8 shown, including:
[0052] The buffer pool creation module 801 is used to respectively create corresponding buffer pools for different types of messages; wherein, the number of buffers in the buffer pool corresponding to the messages of the specified type is greater than the number of buffers in the buffer pools corresponding to other messages number;
[0053] A buffer pool management module 802, configured to use part of the buffers in the buffer pool corresponding to the specified type of message as a shared buffer pool;
[0054] The buffer application module 803 is configured to apply for a buffer from the shared buffer pool when no free buffer can be applied for in the buffer pool corresponding to other messages.
[0055]The buffer pool creation module 801 is specifically configured to create corresponding buffer pools for different ...
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