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

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

Example Embodiment

[0039] Example 1

[0040] In the memory management method of the LTE system interface protocol test system provided in this embodiment, the threshold value of the memory release condition set by the user is first received, and then the captured data packet is externally stored after each data packet is captured, and the data packet After the analysis is over, the memory release conditions are judged, and if the conditions are met, the memory occupied by the data packet storage is released immediately, otherwise the process of data packet capture and analysis continues. 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 it can be set by importing a configuration file, or when the setting is not made, the last test is used The release threshold set at time. The release threshold is a co...

Example Embodiment

[0048] Example 2

[0049] Because in the test process, even if the data packet is parsed, it is necessary to display the relevant information of some data packets in real time. Therefore, it is necessary to retain part of the information of the data packet. The specific process of the memory management method of the LTE system interface protocol test system in this embodiment is as follows: Figure 3a Shown, including:

[0050] Step S310: Obtain and save the user-set memory release threshold. The release threshold can be set by the user in real time through the front-end interface of the LTE system, or it can be set by importing a configuration file, or if it is not set, the last test is used The release threshold set at time. The release threshold is a condition for determining the memory release in the subsequent test process.

[0051] In step S320, during the test, the data packet is read, and memory is applied for the read data packet, that is, the data packet is stored in the ...

Example Embodiment

[0062] Example 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 analysis module 420 is configured to analyze the data packet, store the information of the data packet externally after the analysis, 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 packet with the write flag when the memory occupancy rate exceeds a predetermined release threshold. Among them, the predetermined threshold is 60% to 80% of the 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 me...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products