Jitterbuf memory processing method and device

A processing method and technology of a processing device, which are applied in the field of communication, can solve the problems of frequent memory allocation and destruction, easy generation of memory, fragmentation, etc., and achieve the effect of saving processing time and not easy memory fragmentation.

Inactive Publication Date: 2013-11-20
GUIYANG LONGMASTER INFORMATION & TECHNOLOGY CO LTD
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a jitterbuf memory processing method and device to at least solve the problem of frequent ...

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
  • Jitterbuf memory processing method and device
  • Jitterbuf memory processing method and device
  • Jitterbuf memory processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The specific implementation of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0019] figure 1 It is a flowchart of a method for processing jitterbuf memory according to an embodiment of the present invention. Such as figure 1 As shown, the jitterbuf memory processing method includes the following processing:

[0020] Step S101: When the memory pool receives a memory release request, determine whether the number of free memory blocks in the memory pool reaches a preset threshold;

[0021] Step S103: In the case that the number of free memory blocks does not reach the preset threshold, the memory pool reserves the memory blocks requested to be released.

[0022] In related technologies, when a data packet is received, jitterbuf allocates a memory to store the data packet according to the received data packet. When jitterbuf sends the complete frame to decode, the memory of these data packets needs to be destroy...

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 discloses a jitterbuf memory processing method and device. According to the method, when a memory pool receives the request for memory freeing, whether the number of free memory blocks in the memory pool reaches a preset threshold value or not is judged; under the condition that the number of the free memory blocks does not reach the preset threshold value, the memory pool reserves the memory blocks which requests to be freed. According to the technical scheme, the memory blocks do not need to be allocated and destroyed frequently, processing time is saved, and memory fragments can not be generated easily.

Description

technical field [0001] The present invention relates to the communication field, in particular to a jitterbuf memory processing method and device. Background technique [0002] At present, the memory management of the smartphone jitter buffer (jitterbuf) is mainly realized through the following two methods. [0003] One memory management scheme is array-based jitterbuf. The array is simulated as a ring buffer (buffer), and jitterbuf stores the data packets at the corresponding position according to the timestamp (timestamp) and sequence number (sequence). In the array-based jitterbuf, the memory has been allocated at the time of initialization, and the data can be directly stored in the array. The advantage of this approach is that it does not need to allocate and destroy memory frequently, which reduces the CPU burden and will not Generate memory fragmentation. However, this method has the following disadvantages: the memory capacity cannot be expanded, and in order to m...

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 GUIYANG LONGMASTER INFORMATION & TECHNOLOGY 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