Method and device for saving internal memory
An implementation method and memory technology, applied in the direction of electrical components, transmission systems, near-field transmission systems, etc., can solve problems affecting equipment performance, achieve the effects of saving memory, increasing memory consumption, and ensuring performance and compatibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] Embodiment 1 of the present invention provides a memory-saving implementation method, which is specifically implemented by reorganizing the shared memory, that is, reorganizing and sharing a buffer. The method of this embodiment is as follows figure 1 shown, including:
[0048] Step S0: When a fragment is received, judge whether the received fragment is a complete data packet, if yes, end, otherwise execute step S1;
[0049] In this embodiment, if it is judged that the received fragmentation is a complete data packet, then no reassembly is required; if it is judged that the received fragmentation is not a complete data packet, a reassembly request will be initiated to the server when the fragmentation is received, Apply to use the reorganization buffer to realize the recombination sharing process.
[0050] Step S1: Determine whether there is a fragment of the same type as the received fragment stored in the reassembly buffer, if yes, execute step S3, otherwise execute ...
Embodiment 2
[0081] Embodiment 2 of the present invention provides an implementation device for saving memory, such as Figure 5 shown, including:
[0082] A receiving module 501, configured to receive fragments;
[0083] The first judging module 502 is used to judge whether the fragmentation received is a complete data packet, if so, end, otherwise trigger the second judging module 503;
[0084] The second judging module 503 is used to judge whether there is a fragment of the same type as the received fragment stored in the reassembly buffer, if so, trigger the combination module 505, otherwise trigger the storage module 504;
[0085] A storage module 504, configured to store the received fragments in the reassembly buffer;
[0086] Specifically, in this embodiment, the storage module 504 stores the received fragments at the end of the reassembly buffer by calling the Lock function, and the number of bytes occupied by the reassembly buffer increases;
[0087] A combining module 505, co...
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