Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Active Publication Date: 2013-10-09
DATANG MOBILE COMM EQUIP CO LTD
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved in the present invention is: how to avoid the problem of overflow of the system memory of the protocol test tool due to the excessive data volume of the LTE system interface

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory management method and system
  • Memory management method and system
  • Memory management method and system

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of communication and discloses a memory management method which comprises the steps that a data package is read, and memory is applied for the read data package; the data package is analyzed, external storage is performed on information of the data package after the data package is analyzed, and a mark is written in for the arrangement of the information; the memory usage rate is monitored in real time, and when the memory usage rate exceeds a preset release threshold, the memory having the written mark and occupied by the data package is released. The invention further comprises a memory management system. According to the memory management method and system, in a testing task of the LTE system protocol, the system memory is dynamically released according to the set threshold of a user and based on whether the data package is written into a database or not, and memory overflow of a test system of the LTE system interface protocol is avoided.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a memory management method and system. Background technique [0002] In the current Long Term Evolution (LTE) protocol test, the general-purpose packet capture tools in the past need to apply for memory space in the test system memory for storing the data packet data structure after capturing data packets on the LTE system interface. The captured data packets are stored in the system memory for calling by the data packet analysis module and the data packet display module, and then continue to process the next data packet. This cycle continues until the packet capture process ends, and judges whether the user closes the packet capture task. If the capture task is closed, releases all the packet application memory, otherwise, does not release the packet memory. In this way, the system memory will be released only when the test task ends, and the requested memory will always...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F12/02
Inventor 胡博
Owner DATANG MOBILE COMM EQUIP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products