Memory management method and system
A memory management and memory technology, applied in the field of communication, can solve problems such as protocol test tool system memory overflow, excessive data volume, etc., and achieve the effect of avoiding memory overflow and flexible management
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0040] In the memory management method of the LTE system interface protocol testing system provided by this embodiment, the threshold value to the memory release condition set by the user is first received, and then the captured data packets are stored externally after each data packet is captured, and the data packet After the analysis is over, judge the memory release conditions, if the conditions are met, immediately release the memory occupied by the data packet storage, otherwise continue the process of data packet capture and analysis. The specific process is as figure 2 shown, including:
[0041] Step S210, acquire and save the memory release threshold set by the user. The release threshold can be set by the user in real time through the front-end interface of the LTE system, or can be set by importing a configuration file, or if it is not set, the previous test is used The release threshold set at . The release threshold is a condition for judging memory release in ...
Embodiment 2
[0049] Because during the test, even if the data packet is parsed, it is necessary to display the relevant information of some data packets in real time. Therefore need to keep the partial information of data packet, the memory management method specific process of the LTE system interface protocol testing system of the present embodiment is as follows Figure 3a shown, including:
[0050] Step S310, acquire and save the memory release threshold set by the user. The release threshold can be set by the user in real time through the front-end interface of the LTE system, or can be set by importing a configuration file, or if it is not set, the previous test is used The release threshold set at . The release threshold is a condition for judging memory release in the subsequent test process.
[0051] Step S320, during the testing process, read the data packet, and apply for memory for the read data packet, that is, store the data packet in the memory with a specific data structu...
Embodiment 3
[0063] This embodiment provides a memory management system, such as Figure 4 shown, including:
[0064] The memory application module 410 is configured to read data packets, and apply for memory for the read data packets.
[0065] The data packet parsing module 420 is configured to parse the data packet, store the information of the data packet externally after parsing, and set a write flag for it.
[0066] The memory release module 430 is configured to monitor the memory occupancy rate, and release the memory occupied by the data packets with write flags when the memory occupancy rate exceeds a predetermined release threshold. Wherein, the predetermined threshold is 60% to 80% of memory usage, which can be set according to actual conditions.
[0067] The memory release module may be specifically configured to release the memory occupied by the data packet with the write flag when the memory occupancy rate exceeds the release threshold until the memory occupancy rate is les...
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