Method for transferring audio and video data streams based on TCP mode of DSS time sharing system

A time-sharing system, audio and video technology, used in transmission systems, selective content distribution, image communication, etc., can solve problems such as inability to advance projects, difficulty, and system resource consumption, to improve business control efficiency and reduce demand. , the effect of saving system resources

Active Publication Date: 2017-05-10
厦门市政智慧城市科技有限公司
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 2: ReliableRTP, UDP-based code stream transmission will inherit the characteristics of UDP in the transport layer, and there are unreliable characteristics such as packet loss and disorder, so the server needs to complete the serial number detection, the serial number wraps around, and if the expected value of the serial number is judged, it needs to Reliable RTP transmission behaviors such as packet loss or other actions, reordering of data packets and framing, etc., these processes greatly increase the complexity of server development;
[0007] 3: Congestion Control (congestion control), UDP is not a flow-friendly protocol, it does not have the notification window and sliding window in TCP, so UDP cannot control the flow of the sender or receiver, but keeps going to the network Sending a large number of audio and video data packets may cause the video to be very stuck, or the sending network congestion may cause the same route to be paralyzed
However, it is quite difficult to complete a relatively mature congestion control mechanism based on UDP.
[0008] 4: It is difficult to manage the server structure. UDP-based audio and video transmission protocol RTP / RTCP needs to open 2 receiving ports for video stream and audio stream respectively. There are 4 ports in total for code stream reception. When there are only a few audio and video sources It has little impact on server system resources, but there are often thousands or even hundreds of sources in actual engineering projects, which will consume a lot of system resources and cause great difficulties in business control. Once the early planning is not good, it is almost impossible to advance the project

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 transferring audio and video data streams based on TCP mode of DSS time sharing system
  • Method for transferring audio and video data streams based on TCP mode of DSS time sharing system
  • Method for transferring audio and video data streams based on TCP mode of DSS time sharing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] Such as figure 1 Shown, a kind of method that the present invention discloses based on the TCP mode of DSS time-sharing system relays the method for audio-video data flow, comprises the following steps:

[0061] Step 1. Design the TCP transit plug-in based on the DSS framework. Design the registration role, initialization role, RTSP filtering role, RTSP routing role, RTSP submission processing role and shutdown role in the TCP transit plug-in. The roles designed in the TCP transit plug-in are the There are high-cohesion and low-coupling modules in the plug-in. All roles are called in the main process of protocol analysis. The registration role is used to register all the functional roles in the current plug-in, and the initialization role is used to initialize the current plug-in. Data structure and start RTSP client task, RTSP filtering role is used to filter whether the current user request command is HTTP tunnel mode, RTSP routing role is used to relocate the current...

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 method for transferring audio and video data streams based on a TCP mode of a DSS time sharing system. The method comprises the following steps: step 1, designing a TCP transfer plug-in based on a DSS framework; step 2, designing a TCP reflection module plug-in based on the DSS framework; step 3, when a user proposes a request to the TCP transfer plug-in in a user terminal namely a RTSP client, performing stream guide on an audio and video source according to a data storage file by the TCP transfer plug-in, transferring the audio and video source to a server, and when the server captures audio and video data streams, triggering the TCP reflection module plug-in, wherein the data storage file is from a database; and step 4, when the server captures the audio and video data streams, reflecting the audio and video data streams in the database corresponding to the user request by the TCP reflection module plug-in to transfer the audio and video data streams. By adoption of the problem provided by the invention, the NAT problem is avoided, the stability of transferring the audio and video data streams is improved, the resource occupation of the server is reduced, and the transmission of the audio and video data streams is smoother.

Description

technical field [0001] The invention relates to the operation of transmitting audio and video data streams through the TCP mode under the DSS framework, and more specifically relates to a method for transferring audio and video data streams in the TCP mode based on the DSS time-sharing system. Background technique [0002] Darwin Streaming Server is referred to as DSS. DSS is an open source real-time streaming media server program provided by Apple. The whole program is written in pure C++. It is designed to follow the programming principles of high performance, simplicity, and modularity, so as to achieve high efficiency and good scalability. Therefore, DSS The server system is quite ideal in terms of cross-platform support. It can run on Windows NT, Windows 2000 and above Windows kernel versions, and can also run well on various versions of *NIX, including Mac OS X, Linux , FreeBSD, Solaris, and DSS is developed based on the standard streaming media protocol RTSP, RTP / RTC...

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): H04N21/6437H04N21/647H04L29/06
CPCH04L63/08H04N21/6437H04N21/64738H04N21/64792H04L65/65
Inventor 杨智勤
Owner 厦门市政智慧城市科技有限公司
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