CN101945266A - Adaptive method for wireless network video stream transmission - Google Patents

Adaptive method for wireless network video stream transmission Download PDF

Info

Publication number
CN101945266A
CN101945266A CN 201010258380 CN201010258380A CN101945266A CN 101945266 A CN101945266 A CN 101945266A CN 201010258380 CN201010258380 CN 201010258380 CN 201010258380 A CN201010258380 A CN 201010258380A CN 101945266 A CN101945266 A CN 101945266A
Authority
CN
China
Prior art keywords
bag
wireless network
udp
udp message
video
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.)
Granted
Application number
CN 201010258380
Other languages
Chinese (zh)
Other versions
CN101945266B (en
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.)
Shandong Sheenrun Optics Electronics Co Ltd
Original Assignee
Shandong Sheenrun Optics Electronics Co Ltd
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 Shandong Sheenrun Optics Electronics Co Ltd filed Critical Shandong Sheenrun Optics Electronics Co Ltd
Priority to CN2010102583800A priority Critical patent/CN101945266B/en
Publication of CN101945266A publication Critical patent/CN101945266A/en
Application granted granted Critical
Publication of CN101945266B publication Critical patent/CN101945266B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an adaptive method for wireless network video stream transmission, which comprises the following steps that: formats of a TCP data packet and a UDP data packet are determined; a receiving end requests a transmitting end for video transmission; the transmitting end transmits a video data stream to the receiving end in the form of the UDP data packet; the transmitting end periodically transmits the transmitting condition of the UDP data packet in a current channel to the receiving end in the form of the TCP data packet; after receiving the TCP data packet, the receiving end unpacks and analyzes the data packet, operates the data of the transmitting end and record data of the locally received UDP data packet to obtain packet loss rate information and feeds the information back to the transmitting end; the transmitting end regulates the organized format of a current UDP video stream data packet, the packed size and the transmission rate of the UDP data packet in real time according to the packet loss rate information so as to adapt to the change of the wireless network; and the steps are repeated until the wireless network video stream transmission is finished. The adaptive method has the advantages of solving the problems of jump and jitter in video transmission, along with clear and continuous video transmission and low time delay.

Description

A kind of wireless network video flowing adaptation transmitter method
Technical field
The present invention relates to a kind of video stream transmission method, specifically, relate to a kind of wireless network video flowing adaptation transmitter method.
Background technology
In recent years, growing along with radio network technique, and the continuous release of various new video compression algorithm, wireless network video monitoring system has obtained significant progress.
The core of wireless network video monitoring system mainly is the transmission control of video flowing in wireless network, but this also is the part of the most difficult regulation and control.Because the characteristics such as change channel, narrow bandwidth and data low priority of wireless network itself make the quality problems of video flowing transmission be difficult to be guaranteed.
Though the video compression algorithm of releasing has adopted some instrument under the environment that mistake easily takes place in the recent period, makes the transmission of video flowing have certain robustness.But for guaranteeing the practicality of video flowing transmission, we need adopt UDP that video streaming data packet is transmitted, and insecure delivery that udp protocol itself just carries out packet, can't handle out of order, packet loss and mistake, this will inevitably cause video of transmitting problems such as jump, shake to occur, and we must consider that a kind of rational subpackage algorithm handles video streaming data packet at these problems.
Summary of the invention
The present invention is exactly in order to overcome above problem of running into, and the adaptive approach of a kind of video flowing in wireless network that proposes, the mechanism of control of video flow point bag in real time, thus make video reach the purpose of smooth transfer, avoid occurring the problem of jumping, shaking.
The present invention adopts following technological means to realize goal of the invention:
A kind of wireless network video flowing adaptation transmitter method is characterized in that, may further comprise the steps:
(1) determines the form of tcp data bag and UDP message bag;
(2) receiving terminal sends to transmitting terminal request video;
(3) transmitting terminal sends video data stream with the form of UDP message bag to receiving terminal;
(4) transmitting terminal regularly sends the transmission situation of working as prepass UDP message bag to receiving terminal with the tcp data packet form;
(5) receiving terminal receives after the tcp data bag, and the parsing of unpacking is carried out computing with the record data of transmitting terminal data and local reception UDP message bag, draws packet loss information, feeds back to transmitting terminal;
(6) according to the transfer rate of the organized formats of the current UDP video streaming data packet of the real-time adjusting of packet loss information, packing size and UDP message bag, to adapt to the variation of wireless network;
(7) the video flowing transmission is finished up to wireless network in repeating step (3)-(6).
As the further qualification to the technical program, the type of described tcp data bag comprises the control request message that the quantity of request video messaging that the transmitting terminal end sends, current transmission UDP message bag that transmitting terminal sends and data length message, receiving terminal send.The tcp data bag is classified, be convenient to the type of transmitting terminal and receiving terminal identification tcp data bag, be beneficial to the video transmission flow and carry out according to the order of sequence.
As further qualification to the technical program, the form of described UDP message bag is header part and data division, described packet header has not partly comprised the sequence number of current video stream UDP message bag, and described data division has worker's frame back at the most with a plurality of P frames, and rest parts is mended 0 and finished.When adopting this kind form to carry out the packing operation of video flowing, can more effectively solve when inevitable packet loss occurring in the wireless network shake of video image, chattering.
As the further qualification to the technical program, described step (5) may further comprise the steps:
(5.1) the UDP message bag situation that arrives of receiving terminal recorder;
(5.2) receiving terminal is judged the type of message of tcp data bag, if the transmission situation of UDP message bag is then calculated packet loss;
(5.3) be packaged into the tcp data bag, send to transmitting terminal.
As the further qualification to the technical program, described step (6) may further comprise the steps:
(6.1) receiving terminal is accepted the tcp data bag;
(6.2) receiving terminal is judged tcp data bag type of message, if UDP packet loss situation, the transfer rate of regulating organized formats, packing size and the UDP message bag of current UDP video streaming data packet.
Compared with prior art, advantage of the present invention and good effect are: the present invention utilizes receiving terminal to send video request, after transmitting terminal receives video transmission request, send video flowing with the UDP message packet form, simultaneously, transmitting terminal regularly sends the transmission situation of working as prepass UDP message bag with the tcp data packet form to receiving terminal, receiving terminal receives after the tcp data bag, the parsing of unpacking, the record data of transmitting terminal data and local reception UDP message bag are carried out computing, draw packet loss information, feed back to transmitting terminal, transmitting terminal is according to the organized formats of the current UDP video streaming data packet of the real-time adjusting of packet loss information, the transfer rate of packing size and UDP message bag is to adapt to the variation of wireless network.The present invention has avoided that jumping appears in video transmission, the problem of shake, and video transmission is clear to link up, time-delay is little.
Description of drawings
Fig. 1 is a preferred embodiment of the present invention UDP message packet format.
Fig. 2 is a preferred embodiment of the present invention tcp data packet format.
Fig. 3 is the flow chart of the preferred embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing and preferred embodiment the present invention is done further to describe in detail.
Referring to Fig. 1, the present invention is an example with the CDMA of UNICOM, and the CDMA of UNICOM is desirable, and transmission rate is 144Kbps, but is difficult to reach this state in the test of reality, generally fluctuates at 55Kbps.We can determine the current wireless network conditions according to packet loss, and then can regulate the transmission rate of actual use.Could guarantee picture quality because require the frame number of per second transmission to be not less than 15, so determine that frame per second was 18.75 frame/seconds.
At first, (1) determine the form of tcp data bag and UDP message bag, the type of described tcp data bag comprises the control request message that the quantity of request video messaging that the transmitting terminal end sends, current transmission UDP message bag that transmitting terminal sends and data length message, receiving terminal send.The tcp data bag is classified, be convenient to the type of transmitting terminal and receiving terminal identification tcp data bag, be beneficial to the video transmission flow and carry out according to the order of sequence; The form of described UDP message bag is header part and data division, and described header part has comprised the sequence number of current video stream UDP message bag, and described data division has an I frame back at the most with a plurality of P frames, and rest parts is mended 0 and finished.When adopting this kind form to carry out the packing operation of video flowing, can more effectively solve when inevitable packet loss occurring in the wireless network shake of video image, chattering.
After determining the form of tcp data bag and UDP message bag, can carry out the video transmission work of wireless network, (2) receiving terminal sends to transmitting terminal request video; (3) transmitting terminal sends the UDP message bag with the perfect condition of current wireless network to receiving terminal, promptly carries out the transmission of video flowing according to UDP message packet format, size, the transmission rate of prior setting; (4) transmitting terminal regularly sends the transmission situation of working as prepass UDP message bag to receiving terminal with the tcp data packet form; (5) receiving terminal receives after the tcp data bag, and the parsing of unpacking is carried out computing with the record data of transmitting terminal data and local reception UDP message bag, draws packet loss information, feeds back to transmitting terminal; (6) transmitting terminal is according to the transfer rate of organized formats, packing size and the UDP message bag of the current UDP video streaming data packet of the real-time adjusting of packet loss information, to adapt to the variation of wireless network; (7) the video flowing transmission is finished up to wireless network in repeating step (3)-(6).
Described step (5) may further comprise the steps:
(5.1) the UDP message bag situation that arrives of receiving terminal recorder;
(5.2) receiving terminal is judged the type of message of tcp data bag, if the transmission situation of UDP message bag is then calculated packet loss;
(5.3) be packaged into the tcp data bag, send to transmitting terminal.
Described step (6) may further comprise the steps:
(6.1) receiving terminal is accepted the tcp data bag;
(6.2) receiving terminal is judged tcp data bag type of message, if UDP packet loss situation, the transfer rate of regulating organized formats, packing size and the UDP message bag of current UDP video streaming data packet.
The concrete adjustment parameter of this preferred embodiment is as follows: when packet loss was 0-30%, the adjustment transmission rate was 67.5kbs, and UDP message bag size is: 4Byte+4.5KByte, corresponding quantization parameter are 30; When packet loss was 30-75%, the adjustment transmission rate was 47.5kbs, and UDP message bag size is: 4Byte+3.5KByte, corresponding quantization parameter are 35; When packet loss was 75-100%, the adjustment transmission rate was 37.5kbps, and UDP message bag size is: 4Byte+2.5kByte, corresponding quantization parameter are 45.Present embodiment adopts the h264 video compression algorithm, have nothing in common with each other for different compression algorithm quantization parameters, the size of quantization parameter can determine the size of every frame data amount, thereby fills each packet, and the user can regulate according to the own concrete video compression algorithm that adopts.
Certainly, above-mentioned explanation is not a limitation of the present invention, and the present invention also is not limited only to above-mentioned giving an example, and variation, remodeling, interpolation or replacement that those skilled in the art are made in essential scope of the present invention also belong to protection scope of the present invention.

Claims (5)

1. a wireless network video flowing adaptation transmitter method is characterized in that, may further comprise the steps:
(1) determines the form of tcp data bag and UDP message bag;
(2) receiving terminal sends to transmitting terminal request video;
(3) transmitting terminal sends video data stream with the form of UDP message bag to receiving terminal;
(4) transmitting terminal regularly sends the transmission situation of working as prepass UDP message bag to receiving terminal with the tcp data packet form;
(5) receiving terminal receives after the tcp data bag, and the parsing of unpacking is carried out computing with the record data of transmitting terminal data and local reception UDP message bag, draws packet loss information, feeds back to transmitting terminal;
(6) according to the transfer rate of the organized formats of the current UDP message bag of the real-time adjusting of packet loss information, packing size and UDP message bag, to adapt to the variation of wireless network;
(7) the video flowing transmission is finished up to wireless network in repeating step (3)-(6).
2. according to the described wireless network video flowing of claim 1 adaptation transmitter method, it is characterized in that the type of described tcp data bag comprises the control request message that the quantity of request video messaging that the transmitting terminal end sends, current transmission UDP message bag that transmitting terminal sends and data length message, receiving terminal send.
3. according to the described wireless network video flowing of claim 1 adaptation transmitter method, it is characterized in that, the form of described UDP message bag is header part and data division, described header part has comprised the sequence number of current video stream UDP message bag, described data division has an I frame back at the most with a plurality of P frames, and rest parts is mended 0 and finished.
4. according to the described wireless network video flowing of claim 1 adaptation transmitter method, it is characterized in that described step (5) may further comprise the steps:
(5.1) the UDP message bag situation that arrives of receiving terminal recorder;
(5.2) receiving terminal is judged the type of message of tcp data bag, if the transmission situation of UDP message bag is then calculated packet loss;
(5.3) be packaged into the tcp data bag, send to transmitting terminal.
5. according to the described wireless network video flowing of claim 1 adaptation transmitter method, it is characterized in that described step (6) may further comprise the steps:
(6.1) receiving terminal receives the tcp data bag;
(6.2) receiving terminal is judged tcp data bag type of message, if UDO packet loss situation, the transfer rate of regulating organized formats, packing size and the UDP message bag of current UDP video streaming data packet.
CN2010102583800A 2010-08-20 2010-08-20 Adaptive method for wireless network video stream transmission Expired - Fee Related CN101945266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102583800A CN101945266B (en) 2010-08-20 2010-08-20 Adaptive method for wireless network video stream transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102583800A CN101945266B (en) 2010-08-20 2010-08-20 Adaptive method for wireless network video stream transmission

Publications (2)

Publication Number Publication Date
CN101945266A true CN101945266A (en) 2011-01-12
CN101945266B CN101945266B (en) 2012-06-27

Family

ID=43436996

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102583800A Expired - Fee Related CN101945266B (en) 2010-08-20 2010-08-20 Adaptive method for wireless network video stream transmission

Country Status (1)

Country Link
CN (1) CN101945266B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391603A (en) * 2013-07-04 2013-11-13 苏州博联科技有限公司 Low power consumption transmission method for large data information in wireless sensor network
CN103957222A (en) * 2014-05-20 2014-07-30 艾诺通信系统(苏州)有限责任公司 Video transmission self-adaption method based on FEC algorithm
CN104079859A (en) * 2014-07-03 2014-10-01 天津瑞发科半导体技术有限公司 Video transmission rate self-adaption system based on feedback mechanism
CN105430320A (en) * 2015-11-23 2016-03-23 兰玉杰 Audio and video media data transmission method based on UDP (User Datagram Protocol) and TCP (Transmission Control Protocol)
CN105430035A (en) * 2014-09-18 2016-03-23 腾讯科技(北京)有限公司 Network data uploading method and device
CN105681459A (en) * 2016-03-04 2016-06-15 南京群霆信息科技有限公司 Data transmission method of unmanned remote device
CN106310656A (en) * 2016-08-30 2017-01-11 暴风集团股份有限公司 Method of game control using VR joystick
CN107872635A (en) * 2016-09-26 2018-04-03 三星显示有限公司 For transmitting the method and data transmitter of video
CN108288996A (en) * 2018-04-18 2018-07-17 惠州学院 Based on unmanned plane shooting video high-fidelity teletransmission method, apparatus, storage medium and electronic equipment
CN110278495A (en) * 2019-06-25 2019-09-24 重庆紫光华山智安科技有限公司 A kind of video delivery network control method and device based on MPQM
CN111343137A (en) * 2018-12-19 2020-06-26 财团法人工业技术研究院 Cooperative transmission method and transmission device
US11032104B2 (en) 2014-08-15 2021-06-08 Adaptiv Networks Inc. UDP over TCP tunnel

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1585407A (en) * 2004-05-26 2005-02-23 杨波 Embedded chip system for supporting TCP/IP V6 protocol
CN1599453A (en) * 2003-09-17 2005-03-23 联想(北京)有限公司 Method for dynamic regulating video transmission
WO2007047158A1 (en) * 2005-10-13 2007-04-26 Microsoft Corporation Rtp payload format for vc-1
CN101222296A (en) * 2008-01-31 2008-07-16 上海交通大学 Self-adapting transmission method and system in ascending honeycomb video communication
CN101404661A (en) * 2008-11-20 2009-04-08 华北电力大学 Real-time data communication method based on UDP protocol

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1599453A (en) * 2003-09-17 2005-03-23 联想(北京)有限公司 Method for dynamic regulating video transmission
CN1585407A (en) * 2004-05-26 2005-02-23 杨波 Embedded chip system for supporting TCP/IP V6 protocol
WO2007047158A1 (en) * 2005-10-13 2007-04-26 Microsoft Corporation Rtp payload format for vc-1
CN101222296A (en) * 2008-01-31 2008-07-16 上海交通大学 Self-adapting transmission method and system in ascending honeycomb video communication
CN101404661A (en) * 2008-11-20 2009-04-08 华北电力大学 Real-time data communication method based on UDP protocol

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391603A (en) * 2013-07-04 2013-11-13 苏州博联科技有限公司 Low power consumption transmission method for large data information in wireless sensor network
CN103957222A (en) * 2014-05-20 2014-07-30 艾诺通信系统(苏州)有限责任公司 Video transmission self-adaption method based on FEC algorithm
CN104079859A (en) * 2014-07-03 2014-10-01 天津瑞发科半导体技术有限公司 Video transmission rate self-adaption system based on feedback mechanism
CN104079859B (en) * 2014-07-03 2017-04-26 天津瑞发科半导体技术有限公司 Video transmission rate self-adaption system based on feedback mechanism
US11032104B2 (en) 2014-08-15 2021-06-08 Adaptiv Networks Inc. UDP over TCP tunnel
CN105430035A (en) * 2014-09-18 2016-03-23 腾讯科技(北京)有限公司 Network data uploading method and device
CN105430320A (en) * 2015-11-23 2016-03-23 兰玉杰 Audio and video media data transmission method based on UDP (User Datagram Protocol) and TCP (Transmission Control Protocol)
CN105681459A (en) * 2016-03-04 2016-06-15 南京群霆信息科技有限公司 Data transmission method of unmanned remote device
CN106310656A (en) * 2016-08-30 2017-01-11 暴风集团股份有限公司 Method of game control using VR joystick
CN107872635A (en) * 2016-09-26 2018-04-03 三星显示有限公司 For transmitting the method and data transmitter of video
CN108288996A (en) * 2018-04-18 2018-07-17 惠州学院 Based on unmanned plane shooting video high-fidelity teletransmission method, apparatus, storage medium and electronic equipment
CN111343137A (en) * 2018-12-19 2020-06-26 财团法人工业技术研究院 Cooperative transmission method and transmission device
CN111343137B (en) * 2018-12-19 2022-06-24 财团法人工业技术研究院 Cooperative transmission method and transmission device
CN110278495A (en) * 2019-06-25 2019-09-24 重庆紫光华山智安科技有限公司 A kind of video delivery network control method and device based on MPQM

Also Published As

Publication number Publication date
CN101945266B (en) 2012-06-27

Similar Documents

Publication Publication Date Title
CN101945266B (en) Adaptive method for wireless network video stream transmission
KR101942208B1 (en) Server-side Adaptive Bitrate Control for DLNA HTTP Streaming Clients
CN101909060B (en) Qos control method suitable for real-time streaming media transmission of mobile videos
US9042444B2 (en) System and method for transmission of data signals over a wireless network
EP2415234B1 (en) Adaptive bitrate management for streaming media over packet networks
KR102050816B1 (en) Systems and methods for using client-side video buffer occupancy for enhanced quality of experience in a communication network
KR100641159B1 (en) Adaptive method for multimedia transmission rate estimation based on rtcppacket
JP3814614B2 (en) Server-based rate control in multimedia streaming environments
CN100438504C (en) Stream media transmitting rate controlling method
EP2171927B1 (en) Adaptive bitrate management for streaming media over packet networks
CN105357592A (en) Selective frame dropping method for streaming media adaptive transmission
CN104009819B (en) Anti-dropout real-time communication method, system and relevant device based on hierarchical coding
CN104956631A (en) Link-aware streaming adaptation
US20170034589A1 (en) Adaptive profile switching system and method for media streaming over ip networks
EP3135038B1 (en) Class-based intelligent multiplexing over unmanaged networks
US20040066742A1 (en) Method and apparatus for multimedia streaming in a limited bandwidth network with a bottleneck link
CA2428325A1 (en) Transmitting and receiving real-time data
US20190200013A1 (en) Embedded multimedia systems with adaptive rate control for power efficient video streaming
JP2006042334A (en) Apparatus and method for measuring round trip delay time of variable bit rate multimedia data
EP3180897A1 (en) Throughput guidance based on user plane insight
CN103067791A (en) Network dynamic adaptation monitoring video transmission method
CN104980819A (en) Video transmission method and device
EP3777218B1 (en) Congestion response for timely media delivery
CN105072506A (en) Method and system for transmitting teaching live video
CN104486690A (en) Mobile video transmission optimization method based on TCP (transmission control protocol)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120627

Termination date: 20150820

EXPY Termination of patent right or utility model