Operation method for memory sharing media server and functional module construction

A streaming media server and shared memory technology, applied in electrical components, transmission systems, etc., can solve the problems of reducing network transmission system throughput and streaming media transmission efficiency, low CPU effective utilization, and cumbersome running programs, etc. The effect of switching and data copy times, improving effective utilization, and low operating costs

Inactive Publication Date: 2009-07-08
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF0 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] Therefore, in the background technology, the server needs to frequently and repeatedly use I / O operations to complete the sending of media files during operation, and its operation program is cumbersome; the server needs to pay a very considerable performance overhead for this, and the effective utilization rate of the CPU is low. Seriously reduce the throughput of the network transmission system and the transmission efficiency of streaming media, and increase the operating cost and other disadvantages

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
  • Operation method for memory sharing media server and functional module construction
  • Operation method for memory sharing media server and functional module construction
  • Operation method for memory sharing media server and functional module construction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] With hardware configuration as: CPU: Pentium III, 799.786MHz; Internal memory: 256M byte; Hard disk: 20G, 5400 revs / min, the operating system is that the streaming media server of the present invention is run on the PC of Linux as an example:

[0039] A. Establish shared memory: first, the RTP subsystem in the kernel state applies for the allocation of a block of memory, then initializes the memory according to the set data structure, and stores its starting physical address in a kernel global variable; the RTSP subsystem passes the system Call to obtain the starting physical address of the shared memory, and then map this memory to its own address space; at this time, both the RTP subsystem and the RTSP subsystem can share the memory across the kernel mode and user mode;

[0040] B. The operation method is:

[0041]Now take the complete customer service process as an example: receiving customer request 1.0 and processing request and sending response 1.1 are the same as...

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 an operation method for sharing a memory stream media server and a function module implementing said method which comprises: establishing a shared memory, receiving and processing a client request, storing the request content in the shared memory, switching the system from a client state to a kernel mode flow, picking-up the request content from the shared memory and ordering the content according to the sending package time order, generating a real-time transport protocol (RTP) packet and sending the packet to the client; and each function module units corresponding to said steps. The invention divides a real time streaming protocol (RTSP) and the RTP into two subsystems sharing one memory, which enables the kernel mode process reading document and the network sending packet to be smoothly finished at the kernel mode without system call and state switch. After a contrast test, the client throughput and the CPU availability increase more than 25 Moreover the invention has advantages of shortcut stream media document transfer process, high CPU availability and high efficiency of the network conveying system, large stream media server client throughput and low server operating cost or the like.

Description

technical field [0001] The invention belongs to a streaming media server, in particular to a running method of the streaming media server using a shared memory between a kernel process and a user process, and a functional module framework for realizing the running method of the server. Background technique [0002] In recent years, with the rapid development of high-speed networks, high-bandwidth storage devices, and media coding and compression technologies, it has become possible to provide real-time streaming media services through the network. Streaming media technology is widely used in all aspects of Internet information services such as multimedia news release, online live broadcast, online advertising, e-commerce, video on demand, distance education, telemedicine, Internet TV and real-time video conferencing. The key problem of streaming media application is the performance of streaming media server. Most of the famous companies in the field of digital media have dev...

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/06
Inventor 李毅董旭辜宇王鹏杨晓冬
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA
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