Method and device for adjusting media data cache

A media data and media technology, which is applied in the field of adjusting media data cache, can solve problems such as media data discarding and increased demand for media data cache, and achieve the effect of increasing occupancy

Inactive Publication Date: 2011-06-08
NEW H3C TECH CO LTD
View PDF4 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this case, the network device’s demand for media data buffering increases. Since the shared buffer can only be occupied when the media buffer queue is full, if the shared buffer is occupied by other services and the buffer is exhausted, the media data may thrown away

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
  • Method and device for adjusting media data cache
  • Method and device for adjusting media data cache
  • Method and device for adjusting media data cache

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0021] The core idea of ​​the method provided by the present invention mainly includes: detecting the occupancy rate of the media cache queue in the network equipment, and adjusting the length of the media cache queue in real time according to the occupancy rate of the media cache queue. The main steps can be as figure 1 shown, including:

[0022] Step 101: Detect the occupancy rate of the media cache queue; if it is detected that the occupancy rate of the media cache queue is greater than or equal to the preset first threshold Rmax, then perform step 102; if it is detected that the occupancy rate of the media cache queue is less than or equal to If the preset second threshold Rmin is selected, step 103 is executed.

[0023] Step 102: Add the ca...

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 provides a method and device for adjusting a media data cache. The method comprises the following steps of: detecting the occupancy rate of a media cache queue; and dynamically adjusting the occupation situation of a shared cache by the media cache queue according to a detected situation. By using the method and the device, the occupation of the shared cache by the media cache queue can be increased in time when a large number of media data are produced by media stream concurrency, so that the loss of media data, caused by the exhaustion of the cache occupied by other services, is avoided.

Description

technical field [0001] The invention relates to network communication technology, in particular to a method and device for adjusting media data cache. Background technique [0002] Video coded images are composed of frames, including intra-frame images (I frames), predictive images (P frames), and bidirectional images (B frames). In the video coding system, an image sequence is composed of a group of pictures (GOP). Each GOP starts with an I frame and may also contain P frames and B frames. The length of a GOP is the interval between I frames. According to human vision, the usual image is 25 frames or 30 frames per second, and usually one or more I frames are generated per second. Due to the different characteristics and contents of the I frame, P frame and B frame, the size is also different, among which, the I frame is the largest, the P frame is the second, and the B frame is the smallest. [0003] In a network device that transmits video streams, each port has a queue,...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/56H04L12/861
Inventor 宁军
Owner NEW H3C TECH 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