CN101645903A - Method and device for transmitting multimedia data - Google Patents

Method and device for transmitting multimedia data Download PDF

Info

Publication number
CN101645903A
CN101645903A CN200910169916A CN200910169916A CN101645903A CN 101645903 A CN101645903 A CN 101645903A CN 200910169916 A CN200910169916 A CN 200910169916A CN 200910169916 A CN200910169916 A CN 200910169916A CN 101645903 A CN101645903 A CN 101645903A
Authority
CN
China
Prior art keywords
window
medium data
receiving terminal
data bag
send
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910169916A
Other languages
Chinese (zh)
Inventor
况成禹
段新平
刘建松
汤宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN200910169916A priority Critical patent/CN101645903A/en
Publication of CN101645903A publication Critical patent/CN101645903A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a method and a device for transmitting multimedia data, and the method comprises the following steps: transmitting a multimedia data packet to a receiving end by a transmittingend and reducing a transmitting window; continuously transmitting multimedia data packets to the receiving end by the transmitting end; stopping transmitting the multimedia data packets to the receiving end when judging that the transmitting window is reduced to zero; reducing a receiving window after receiving the multimedia data packets transmitted by the transmitting end by the receiving end;and processing the received multimedia data packets. By adopting the invention, the problem of packet losing caused by the condition that video speed fluctuation exceeds limited bandwidth can be solved by bandwidth control, multimedia data can be evenly transmitted while images are free of garbled screen and audio output has no noise.

Description

A kind of transmission method of multi-medium data and device
Technical field
The present invention relates to field of multimedia communication, relate in particular to a kind of transmission method and device of multi-medium data.
Background technology
The data that video conferencing system middle pitch video encoder encodes is come out are packaged into RTP bag back and are transmitting by UDP, finally give audio/video decoder and decode, output sound and image.As shown in Figure 1, frame of video is carried out data packet transmission by network.
RTP (Real-time Transport Protocol or write a Chinese character in simplified form RTP) real time transport protocol is mainly used in the multi-medium data transmission, RTP itself does not provide transmit mechanism or other service quality (QoS) assurance on time, do not guarantee to transmit or prevent unordered transmission, the reliability of uncertain bottom-layer network yet.It depends on lower-level services and goes to realize this process.What the RTP underlying protocol was selected in the video conference field is UDP (User Datagram Protocol) User Datagram Protoco (UDP).
UDP (User Datagram Protocol) User Datagram Protoco (UDP).UDP is fairly simple, the UDP head comprises byte seldom, and efficiency of transmission is than higher, but UDP does not provide reliable mechanism, current control and wrong restore funcitons etc. to the IP agreement yet, under the not good situation of network condition, situations such as packet loss, out of order, shake can appear in packet in transmission.
TCP (Transmission Control Protocol) transmission control protocol be a kind of connection-oriented, reliable, based on the transport layer communication protocol of byte stream; On the reliability, adopt overtime re-transmission and piggybacking mechanism; In flow control, adopt sliding window protocol, stipulate in the agreement, need to retransmit for unidentified grouping in the window; In congested control, adopt slowstart algorithm.Transmission Control Protocol can provide reliable, connection-oriented data transport service, but very high to the real time of data transmission requirement in the video conference field, the data transmission efficiency of Transmission Control Protocol can't meet the demands.
I frame (I-frame) is called inner picture (intra picture) again, and the I frame is first frame of image encoding normally, through moderately compression, and as the reference point of random access, can be as image.I frame data and other video requency frame datas will be divided into a plurality of packets usually and transmit on network, and receiving terminal is received that recombinant is reduced into frame of video after the complete data packet and decoded to Video Decoder.The I frame is considered to the key frame of image usually, and data volume and number-of-packet are considerably beyond other frame of video.
As shown in Figure 2, current video Data Transmission flow process.In video conferencing technology, Data Transport Protocol is based on the Real-time Transport Protocol of UDP at present, because UDP and RTP do not provide reliable mechanism, situations such as packet loss, out of order, shake can appear in packet in transmission, influence image and sound quality.Existing solution is after RTP receives data, by the QoS module, utilizes information such as time stamp in the RTP head that each packet carries and sequence number, and the multidata bag cushions and sorts, and can solve out of order and problem such as shake.Having described rate fluctuation among Fig. 3 causes transmission speed to exceed the problem that causes packet loss when limiting bandwidth easily.
But the multimedia particularly speed of video data is a statistics speed, and is also inhomogeneous according to the situation actual speed rate of video coding, very easily causes packet loss in network condition that limits bandwidth such as adsl.Therefore need a kind of multi-medium data technical scheme of transmission to solve the problems referred to above.
Summary of the invention
Technical problem to be solved by this invention provides a kind of transmission method and device of multi-medium data, has solved the video transmission rate fluctuation and has surpassed the problem that causes packet loss when limiting bandwidth.
In order to address the above problem, the invention provides a kind of transmission method of multi-medium data, comprising:
Transmitting terminal reduces send window after receiving terminal sends a multi-medium data bag; Described transmitting terminal continues to send the multi-medium data bag to described receiving terminal, judges if described send window is reduced to 0, then stops to send the multi-medium data bag to described receiving terminal;
Described receiving terminal reduces receive window after receiving the described multi-medium data bag of described transmitting terminal transmission, and the described multi-medium data bag that receives is handled.
Further, above-mentioned transmission method also can comprise, after described receiving terminal is received the described multi-medium data bag of described transmitting terminal transmission, reduces receive window the described multi-medium data bag that receives is handled, and is meant:
Described receiving terminal reduces receive window after receiving the described multi-medium data bag of described transmitting terminal transmission, judges if after the described multi-medium data bag that receives is finished dealing with, then enlarge described receive window, and enlarges notification message to described transmitting terminal send window.
Further, above-mentioned transmission method can comprise that also described receiving terminal also comprises after described transmitting terminal send window enlarges notification message:
Described transmitting terminal enlarges the described send window of notification message correction according to this window after receiving that the described window of described receiving terminal transmission enlarges notification message, continues to send the multi-medium data bag to receiving terminal.
Further, above-mentioned transmission method can comprise that also described send window is meant: how much bar message described transmitting terminal also can send to described receiving terminal, is used for flow control;
Described receive window is meant: how many bar message described receiving terminal also can receive after receiving certain bar message, be used for flow control.
The present invention also provides a kind of transmitting device of multi-medium data, comprises transmitting terminal and receiving terminal, wherein,
Described transmitting terminal is used for reducing send window after described receiving terminal sends a multi-medium data bag; Continuation sends the multi-medium data bag to described receiving terminal, judges if described send window is reduced to 0, then stops to send the multi-medium data bag to described receiving terminal;
Described receiving terminal after being used to receive the described multi-medium data bag of described transmitting terminal transmission, reduces receive window, and the described multi-medium data bag that receives is handled.
Further, above-mentioned transmitting device also can comprise, after described receiving terminal is received the described multi-medium data bag of described transmitting terminal transmission, reduces receive window the described multi-medium data bag that receives is handled, and is meant:
Described receiving terminal reduces receive window after receiving the described multi-medium data bag of described transmitting terminal transmission, judges if after the described multi-medium data bag that receives is finished dealing with, then enlarge described receive window, and enlarges notification message to described transmitting terminal send window.
Further, above-mentioned transmitting device also can comprise, described receiving terminal after also being used to receive the described window expansion notification message of described receiving terminal transmission, enlarges the described send window of notification message correction according to this window, continues to send the multi-medium data bag to receiving terminal.
Further, above-mentioned transmitting device also can comprise, the described send window that described transmitting terminal reduces, and wherein said send window is meant: how much bar message described transmitting terminal also can send to described receiving terminal, is used for flow control;
The described receive window that described receiving terminal reduces, wherein said receive window is meant: how many bar message described receiving terminal also can receive after receiving certain bar message, be used for flow control.
Compared with prior art, application the present invention through bandwidth control, has solved the problem of the packet loss that causes when the video rate fluctuation surpasses the qualification bandwidth, and multi-medium data can evenly send, and image is the flower screen, audio frequency output noiselessness.
Description of drawings
Fig. 1 is frame of video is carried out data packet transmission by network a schematic diagram;
Fig. 2 is current video Data Transmission flow chart;
Fig. 3 produces rate fluctuation to cause transmission speed to exceed the schematic diagram that causes packet loss when limiting bandwidth easily in the current video Data Transmission process;
Fig. 4 is the flow chart of the transmission method of multi-medium data among the present invention;
Fig. 5 is the structural representation of the transmitting device of a kind of multi-medium data of the present invention;
Fig. 6 is the transfer process figure that has increased the video data of bandwidth control;
Fig. 7 is to use bandwidth control of the present invention can evenly send the effect schematic diagram of data.
Embodiment
The invention will be further described below in conjunction with the drawings and specific embodiments.
In video conferencing technology, need carry out bandwidth control, form and congested control, server can not exceed current permission bandwidth; Data can evenly be sent.
Wherein, send window is meant: how much bar message transmitting terminal also can send to receiving terminal, is used for flow control;
Receive window is meant: how many bar message receiving terminal also can receive after a certain message, be used for flow control.
As shown in Figure 4, the transmission method of multi-medium data among the present invention may further comprise the steps:
Step 410, transmitting terminal reduce send window after receiving terminal sends a multi-medium data bag; Transmitting terminal continues to send the multi-medium data bag to receiving terminal, judges if described send window is reduced to 0, and then transmitting terminal stops to send the multi-medium data bag to receiving terminal;
After step 420, described receiving terminal are received the multi-medium data bag of described transmitting terminal transmission, reduce receive window, judge if after the described multi-medium data bag that receives is finished dealing with, then enlarge described receive window, and enlarge notification message to described transmitting terminal send window;
Step 430, described transmitting terminal enlarge the described send window of notification message correction according to this window after receiving that the described window of described receiving terminal transmission enlarges notification message, and described transmitting terminal can continue to send the multi-medium data bag to receiving terminal.
As shown in Figure 5, the transmitting device of a kind of multi-medium data of the present invention comprises transmitting terminal and receiving terminal, wherein,
Described transmitting terminal is used for reducing send window after described receiving terminal sends a multi-medium data bag; Continuation sends the multi-medium data bag to described receiving terminal, judges if described send window is reduced to 0, then stops to send the multi-medium data bag to described receiving terminal;
Described receiving terminal after being used to receive the described multi-medium data bag of described transmitting terminal transmission, reduces receive window, and the described multi-medium data bag that receives is handled.
After described receiving terminal is received the described multi-medium data bag of described transmitting terminal transmission, reduce receive window the described multi-medium data bag that receives handled, be meant:
Described receiving terminal reduces receive window after receiving the described multi-medium data bag of described transmitting terminal transmission, judges if after the described multi-medium data bag that receives is finished dealing with, then enlarge described receive window, and enlarges notification message to described transmitting terminal send window.
Described receiving terminal after also being used to receive the described window expansion notification message of described receiving terminal transmission, enlarges the described send window of notification message correction according to this window, continues to send the multi-medium data bag to receiving terminal.
The described send window that described transmitting terminal reduces, wherein said send window is meant: how much bar message described transmitting terminal also can send to described receiving terminal, is used for flow control;
The described receive window that described receiving terminal reduces, wherein said receive window is meant: how many bar message described receiving terminal also can receive after a certain message, be used for flow control.
Fig. 6 is the transfer process figure that has increased the video data of bandwidth control, and Fig. 7 is the effect schematic diagram that the control of Fig. 6 utilized bandwidth can evenly send data.
From as can be seen last, application the present invention through bandwidth control, has solved the problem of the packet loss that causes when the video rate fluctuation surpasses the qualification bandwidth, and multi-medium data can evenly send, and image is the flower screen, audio frequency output noiselessness.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with the people of this technology in the disclosed technical scope of the present invention; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.

Claims (8)

1, a kind of transmission method of multi-medium data is characterized in that, comprising:
Transmitting terminal reduces send window after receiving terminal sends a multi-medium data bag; Described transmitting terminal continues to send the multi-medium data bag to described receiving terminal, judges if described send window is reduced to 0, then stops to send the multi-medium data bag to described receiving terminal;
Described receiving terminal reduces receive window after receiving the described multi-medium data bag of described transmitting terminal transmission, and the described multi-medium data bag that receives is handled.
2, transmission method as claimed in claim 1 is characterized in that,
After described receiving terminal is received the described multi-medium data bag of described transmitting terminal transmission, reduce receive window the described multi-medium data bag that receives handled, be meant:
Described receiving terminal reduces receive window after receiving the described multi-medium data bag of described transmitting terminal transmission, judges if after the described multi-medium data bag that receives is finished dealing with, then enlarge described receive window, and enlarges notification message to described transmitting terminal send window.
3, transmission method as claimed in claim 2 is characterized in that,
Described receiving terminal also comprises after described transmitting terminal send window enlarges notification message:
Described transmitting terminal enlarges the described send window of notification message correction according to this window after receiving that the described window of described receiving terminal transmission enlarges notification message, continues to send the multi-medium data bag to receiving terminal.
4, transmission method as claimed in claim 1 is characterized in that,
Described send window is meant: how much bar message described transmitting terminal also can send to described receiving terminal, is used for flow control;
Described receive window is meant: how many bar message described receiving terminal also can receive after receiving certain bar message, be used for flow control.
5, a kind of transmitting device of multi-medium data is characterized in that,
Comprise transmitting terminal and receiving terminal, wherein,
Described transmitting terminal is used for reducing send window after described receiving terminal sends a multi-medium data bag; Continuation sends the multi-medium data bag to described receiving terminal, judges if described send window is reduced to 0, then stops to send the multi-medium data bag to described receiving terminal;
Described receiving terminal after being used to receive the described multi-medium data bag of described transmitting terminal transmission, reduces receive window, and the described multi-medium data bag that receives is handled.
6, transmitting device as claimed in claim 5 is characterized in that,
After described receiving terminal is received the described multi-medium data bag of described transmitting terminal transmission, reduce receive window the described multi-medium data bag that receives handled, be meant:
Described receiving terminal reduces receive window after receiving the described multi-medium data bag of described transmitting terminal transmission, judges if after the described multi-medium data bag that receives is finished dealing with, then enlarge described receive window, and enlarges notification message to described transmitting terminal send window.
7, transmitting device as claimed in claim 6 is characterized in that,
Described receiving terminal after also being used to receive the described window expansion notification message of described receiving terminal transmission, enlarges the described send window of notification message correction according to this window, continues to send the multi-medium data bag to receiving terminal.
8, transmitting device as claimed in claim 5 is characterized in that,
The described send window that described transmitting terminal reduces, wherein said send window is meant: how much bar message described transmitting terminal also can send to described receiving terminal, is used for flow control;
The described receive window that described receiving terminal reduces, wherein said receive window is meant: how many bar message described receiving terminal also can receive after receiving certain bar message, be used for flow control.
CN200910169916A 2009-09-08 2009-09-08 Method and device for transmitting multimedia data Pending CN101645903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910169916A CN101645903A (en) 2009-09-08 2009-09-08 Method and device for transmitting multimedia data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910169916A CN101645903A (en) 2009-09-08 2009-09-08 Method and device for transmitting multimedia data

Publications (1)

Publication Number Publication Date
CN101645903A true CN101645903A (en) 2010-02-10

Family

ID=41657623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910169916A Pending CN101645903A (en) 2009-09-08 2009-09-08 Method and device for transmitting multimedia data

Country Status (1)

Country Link
CN (1) CN101645903A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104661112A (en) * 2013-11-18 2015-05-27 南京中兴力维软件有限公司 Video stream file transmission method and device based on scalable selection window
CN107291019A (en) * 2017-08-11 2017-10-24 苏睿 Long-range control method, device and remote processing devices
CN112312204A (en) * 2020-09-30 2021-02-02 新华三大数据技术有限公司 Method and device for packaging video stream data fragments
WO2021197008A1 (en) * 2020-04-02 2021-10-07 京东方科技集团股份有限公司 Audio/video communication method, terminal, server, computer device, and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104661112A (en) * 2013-11-18 2015-05-27 南京中兴力维软件有限公司 Video stream file transmission method and device based on scalable selection window
CN107291019A (en) * 2017-08-11 2017-10-24 苏睿 Long-range control method, device and remote processing devices
WO2021197008A1 (en) * 2020-04-02 2021-10-07 京东方科技集团股份有限公司 Audio/video communication method, terminal, server, computer device, and storage medium
US11792130B2 (en) 2020-04-02 2023-10-17 Boe Technology Group Co., Ltd. Audio/video communication method, terminal, server, computer device, and storage medium
CN112312204A (en) * 2020-09-30 2021-02-02 新华三大数据技术有限公司 Method and device for packaging video stream data fragments
CN112312204B (en) * 2020-09-30 2022-05-24 新华三大数据技术有限公司 Method and device for packaging video stream data fragments

Similar Documents

Publication Publication Date Title
CN107231328B (en) Real-time video transmission method, device, equipment and system
KR101644215B1 (en) A method and apparatus for parsing a network abstraction-layer for reliable data communication
US8239901B2 (en) Buffer control method, relay apparatus, and communication system
CN109068187B (en) Real-time traffic delivery system and method
US20070276954A1 (en) Low-Delay High Quality Video Streaming Using TCP
CN105704580B (en) A kind of video transmission method
US20150103885A1 (en) Real time ip video transmission with high resilience to network errors
US20070115963A1 (en) Maximum transmission unit tuning mechanism for a real-time transport protocol stream
CN106911699B (en) Method for realizing I frame retransmission based on RTP protocol
CN108183774A (en) The forward error correction and system of a kind of streaming media
JP2004187286A (en) Mpeg-4 live unicast video streaming system in wireless network equipped with congestion control of end-to-end bit rate reference
JP2003333577A (en) Medium streaming distribution system
KR20120117907A (en) A method and apparatus for retransmission decision making
WO2007045166A1 (en) A method for monitoring quality of service in multimedia communication
WO2008119259A1 (en) A system and method for performing a dynamic adaptive forward error control in iptv network
CN111787413B (en) Streaming media data transmission method, system, sending device and receiving device
JP2017526310A (en) Method and apparatus for transmitting and receiving packets in broadcast and communication systems
CN109862400B (en) Streaming media transmission method, device and system
CN101645903A (en) Method and device for transmitting multimedia data
CN104104924A (en) Third-generation (3G) network based video monitoring system bandwidth self-adaption transmission method
EP1802121A2 (en) Information provisioning device and method
Wong et al. TCP streaming for low-delay wireless video
Vaz et al. Selective frame discard for video streaming over ip networks
Afzal et al. System design options for video broadcasting over wireless networks.
CN113542685B (en) Real-time ultra-high definition video transmission method based on reliable UDP

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100210