Design method for improving memory usage rate of buffer area in network programming
A design method and buffer technology, applied in the field of network communication, can solve problems such as low utilization rate and inability to recycle memory, and achieve the effect of strong addition and deletion
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0013] see figure 1 , the specific embodiment adopts the following technical scheme: it includes the business layer that provides the source of the message packet, the network layer that processes the message packet, and the reader that takes out the buffer data; the network layer that processes the message packet is to initialize a buffer Linked list, the buffer linked list has only one buffer node and the space allocated for this is 8KB.
[0014] When the business layer that provides the source of the message packet needs to transmit the message packet to the network layer for processing, if the content of the message is less than 8KB, the message is placed in the first buffer node of the buffer list. If the content data of this message is very large enough to be n times the size of a single buffer, then the buffer list will generate n buffers to store the data.
[0015] The reader who takes out the buffer data is to take out the data from the network layer buffer linked li...
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