Method for realizing quasi-real-time transmission of media data

A media data, quasi-real-time technology, applied to multi-channel program devices, program start/switching, electrical components, etc., can solve problems such as media stream jitter, packet sending delay, unstable delay, etc., and achieve high-precision timing and accurate timing Real-time sending, reducing context switching overhead, and reducing the effects of latency

Inactive Publication Date: 2012-01-18
ZTE CORP
View PDF1 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although the time for packet organization is very short, it will also cause some delay in sending packets
[0008] In the case of a heavy load on the media server, switching from user mode to kernel mode, and switching from kernel mode to user mode, plus the need for the system to schedule the corresponding user contract sending process / thread, will result in unstable delays As a result, the jitter of the media stream is caused, which will greatly affect the quality of service for real-time media application requirements

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 for realizing quasi-real-time transmission of media data
  • Method for realizing quasi-real-time transmission of media data
  • Method for realizing quasi-real-time transmission of media data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention will be described in further detail below in conjunction with the accompanying drawings and preferred embodiments.

[0032] The present invention is based on the Linux network protocol stack to realize quasi-real-time transmission of media data, utilizes the existing Linux network protocol stack architecture, and the existing Linux network protocol stack utilizes the kernel module mechanism to realize, and the loading and unloading of the kernel module will not affect The original network protocol stack of the Linux kernel.

[0033] The media server of the present invention includes a user process module, a Linux kernel module and a device module, the user process module is used to carry a user process,

[0034] The equipment module includes a network card and a timer with an interrupt function;

[0035] The Linux kernel module is located between the device module and the user process module, and includes a network protocol stack module, a network...

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 a method for realizing quasi-real-time transmission of media data. The method comprises the following steps of: firstly, setting planned pocket transmitting time and assembling media data to be assembled to obtain a data packet to be transmitted; then calculating interrupted fixed time length according to the planned pocket transmitting time and registering a pocket transmitting function and a data pocket to be transmitted to an interruption processing program, waiting for interruption and calling and adding the system into a kernel waiting queue; after interrupted fixed time is expired, generating interruption, triggering the interruption processing program to finish the transmission of the data pocket to be transmitted; and after transmission is finished, awakening a corresponding pocket transmitting system in the kernel waiting queue for calling. By using the method, the context switching cost caused by working space switching is reduced, the influence on time delay caused by system dispatching is lowered and the quasi-real-time transmission of the data pocket is realized.

Description

technical field [0001] The invention belongs to the field of computer applications, and in particular relates to a media server and a method for realizing quasi-real-time transmission of media data. Background technique [0002] In the prior art, in the application of the media server based on the Linux operating system, it is necessary to regularly send the media data from the server host to the network. The performance of the timing sending mechanism will be directly related to the quality of the media service and the user's satisfaction with the media service. [0003] In the prior art, the methods for the user process to regularly send media data packets mainly include the following two methods: (1) delay mode; (2) timer mode; [0004] The delay method is generally implemented by using the select or nanosleep system call. When the specified delay is over, the call returns to the user process, and the user process can then send the media data packet. [0005] The timer ...

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): H04L29/06G06F9/48
Inventor 王魏强丁向军夏洪升
Owner ZTE CORP
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