A method for relaying audio and video data streams in tcp mode based on dss time-sharing system

A time-sharing system, audio and video technology, applied in transmission systems, selective content distribution, image communication, etc., can solve problems such as inability to promote projects, consume system resources, and be difficult, so as to improve business control efficiency and save system resources , the effect of reducing the degree of demand

Active Publication Date: 2019-10-11
厦门市政智慧城市科技有限公司
View PDF4 Cites 0 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
  • A method for relaying audio and video data streams in tcp mode based on dss time-sharing system
  • A method for relaying audio and video data streams in tcp mode based on dss time-sharing system
  • A method for relaying audio and video data streams in tcp mode based on dss time-sharing system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] like 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 us...

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 relaying audio and video data streams in a TCP mode based on a DSS time-sharing system, comprising the following steps: step 1, designing a TCP relay plug-in based on a DSS framework; step 2, designing a TCP reflection module plug-in based on a DSS framework; step 3 , The user makes a request to the TCP transfer plug-in at the user terminal, that is, the RTSP client. The TCP transfer plug-in drains the audio and video source according to the data storage file, and transfers the audio and video source to the server. When the server captures the audio and video data stream, it triggers the TCP Reflection plug-in; the data storage file is from the database; step 4: the TCP reflection module plug-in reflects the audio-video data stream in the database corresponding to the user request when the server captures the audio-video data stream, and completes the audio-video data stream transfer . The invention avoids the NAT problem, improves the stability of audio and video data flow transfer, reduces server resource occupation, and smoother audio and video data transmission.

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 Patents(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