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
CN102325136AInactive Publication Date: 2012-01-18ZTE CORP

Patent Information

Authority / Receiving Office
CN Β· China
Patent Type
Applications(China)
Current Assignee / Owner
ZTE CORP
Publication Date
2012-01-18
Estimated Expiration
Not applicable Β· inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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