Real-time data transmission method and system based on transmission control protocol

A technology of transmission control protocol and real-time data transmission, which is applied in the field of data transmission and can solve problems such as repeated retransmission of data packets, picture delay, and large delay

Inactive Publication Date: 2013-11-27
CHINA SECURITY & FIRE TECH GRP
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this mechanism can guarantee the integrity of the data, in the case of bad network conditions, TCP may repeatedly resend data packets; in the case of insufficient network bandwidth, TCP will not have time to send data packets
In both cases, there will be a large number of data packets queued in the TCP buffer of the sending end waiting to be sent. When the receiving end receives the data packets, a long time has passed since the sending end sent the data packets, resulting in serious screen delays. , and if the network conditions do not improve, the delay will become larger and larger
[0005] In the current technology that uses TCP to transmit real-time data, there is no good way to judge the occupancy of the network bandwidth, and it is impossible to judge whether the data can be transmitted in time, so the automatic adjustment of the code stream cannot be realized, and it can only be based on the delay of the user observing the screen To judge whether the network is congested, adjust it manually

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
  • Real-time data transmission method and system based on transmission control protocol
  • Real-time data transmission method and system based on transmission control protocol
  • Real-time data transmission method and system based on transmission control protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] Such as figure 1 As shown, the present invention provides a transmission control protocol-based real-time data transmission system, including a sending end 10 and a receiving end 20 . Wherein the sending end 10 includes an encapsulation unit 11 and a transmission unit 12, the encapsulation unit 11 is used for encapsulating the on-demand media files such as audio or video into a plurality of data packets, each data packet has a record of the sending time of the data packet Timestamp; the transmission unit 12 is used to transmit the data packet by using the transmission control protocol. Wherein the encapsulation unit can adopt the real-time transport protocol (Real-time Transport Protocol is called for short RTP, real-time transport protocol) when encapsulating the data packet and will be encapsulated into the RTP data packet by the media file of ordering, because the RTP data packet has record that this RTP data packet is sent The timestamp of the time, so there is no ...

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 a real-time data transmission method and system based on the transmission control protocol. The real-time data transmission method comprises the steps of S1 packaging a media file on demand into a plurality of data packets, enabling each data packet to contain a timestamp which records the transmission time of the data packet, and transmitting the data packets through the transmission control protocol, S2 recording the receiving time of the first data packet, and obtaining the initial time difference with the cooperation of the transmission time recorded in the timestamp in the first data packet, S3 recording the receiving time of the next data packet, obtaining the current time difference with the cooperation of the transmission time recorded in the timestamp in the received data packet, enabling the initial time difference to be subtracted from the current time difference, and obtaining a time difference value, and S4 comparing the time difference value with a preset time difference limiting value to determine whether the code stream of data transmission is adjusted or not. According to the real-time data transmission method and system based on the transmission control protocol, network self-adaptation is achieved, and the problem that frames are delayed when the transmission control protocol is used for real-time data transmission is solved.

Description

technical field [0001] The invention relates to the field of data transmission, in particular to a transmission control protocol-based real-time data transmission method and system thereof. Background technique [0002] At present, there are two ways of network transmission of real-time data, TCP (Transmission Control Protocol, Transmission Control Protocol) and UDP (User Datagram Protocol, User Datagram Protocol). UDP has been used for many years since its inception, although UDP does not provide data packet In other words, it is impossible to know whether the data arrives safely and completely, but because of its low overhead, non-repeated requests, and low processing time, UDP is still a very practical and feasible method even today. network transport layer. [0003] The work of TCP is mainly to establish a connection, then receive data and transmit it. TCP uses a virtual circuit connection to work. Before sending data, it needs to establish a connection between the sen...

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/643H04N21/6437
Inventor 杨旋
Owner CHINA SECURITY & FIRE TECH GRP
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