CN101945266B - Adaptive method for wireless network video stream transmission - Google Patents
Adaptive method for wireless network video stream transmission Download PDFInfo
- Publication number
- CN101945266B CN101945266B CN2010102583800A CN201010258380A CN101945266B CN 101945266 B CN101945266 B CN 101945266B CN 2010102583800 A CN2010102583800 A CN 2010102583800A CN 201010258380 A CN201010258380 A CN 201010258380A CN 101945266 B CN101945266 B CN 101945266B
- Authority
- CN
- China
- Prior art keywords
- bag
- udp
- wireless network
- video
- udp message
- 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.)
- Expired - Fee Related
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 38
- 238000000034 method Methods 0.000 title claims abstract description 16
- 230000003044 adaptive effect Effects 0.000 title abstract description 4
- 238000012856 packing Methods 0.000 claims description 9
- 238000012546 transfer Methods 0.000 claims description 8
- 230000006978 adaptation Effects 0.000 claims description 7
- 230000001105 regulatory effect Effects 0.000 claims description 3
- 230000006835 compression Effects 0.000 description 5
- 238000007906 compression Methods 0.000 description 5
- 238000013139 quantization Methods 0.000 description 5
- 238000012797 qualification Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 244000145845 chattering Species 0.000 description 2
- 230000009191 jumping Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007634 remodeling Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
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
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 in the recent period adopted some instrument under the environment that is prone to the generation mistake, make 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, problems such as jump, shake appear in this video that will inevitably cause transmitting, and we must consider that a kind of rational subpackage algorithm handles video streaming data packet to 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) confirms 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 when 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 adjusting of packet loss information real-time, packing size and UDP message bag; To adapt to the variation of wireless network; The form of said UDP message bag is header part and data division; Said header part has comprised the sequence number of current video stream UDP message bag, and said data division has a plurality of P frames of I frame followed at the most, and rest parts is mended 0 and finished;
(7) the video flowing transmission is accomplished up to wireless network in repeating step (3)-(6).
As the further qualification to the present technique scheme, the type of said tcp data bag comprises quantity and the data length message of request video messaging that the transmitting terminal end sends, current transmission UDP message bag that transmitting terminal sends, the control request message that receiving terminal sends.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 present technique scheme; The form of said UDP message bag is header part and data division; Said packet header has not partly comprised the sequence number of current video stream UDP message bag, and said data division has a plurality of P frames of I frame followed at the most, 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 present technique scheme, said 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 present technique scheme, said 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 sending request; Send video flowing with the UDP message packet form; Simultaneously, transmitting terminal regularly sends the transmission situation when prepass UDP message bag with the tcp data packet form to receiving terminal, and 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 transfer rate of organized formats, packing size and the UDP message bag of the current UDP video streaming data packet of the adjusting of packet loss information real-time, 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 made detailed description further.
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 in the test of reality, is difficult to reach this state, generally fluctuates at 55Kbps.We can confirm 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 confirm that frame per second was 18.75 frame/seconds.
At first; (1) confirm the form of tcp data bag and UDP message bag, the type of said tcp data bag comprises quantity and the data length message of request video messaging that the transmitting terminal end sends, current transmission UDP message bag that transmitting terminal sends, the control request message that receiving terminal sends.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 said UDP message bag is header part and data division, and said header part has comprised the sequence number of current video stream UDP message bag, and said data division has a plurality of P frames of I frame followed at the most, 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 confirming 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 when 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 adjusting of packet loss information real-time, to adapt to the variation of wireless network; (7) the video flowing transmission is accomplished up to wireless network in repeating step (3)-(6).
Said 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.
Said 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 following: 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 parameter; 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 (3)
1. a wireless network video flowing adaptation transmitter method is characterized in that, may further comprise the steps:
(1) confirms 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 when 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 adjusting of packet loss information real-time, packing size and UDP message bag; To adapt to the variation of wireless network; The form of said UDP message bag is header part and data division; Said header part has comprised the sequence number of current video stream UDP message bag, and said data division has a plurality of P frames of I frame followed at the most, and rest parts is mended 0 and finished;
(7) the video flowing transmission is accomplished up to wireless network in repeating step (3)-(6).
2. according to the said wireless network video flowing of claim 1 adaptation transmitter method; It is characterized in that the type of said tcp data bag comprises quantity and the data length message of request video messaging that transmitting terminal sends, current transmission UDP message bag that transmitting terminal sends, the control request message that receiving terminal sends.
3. according to the said wireless network video flowing of claim 1 adaptation transmitter method, it is characterized in that said 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.
4, according to the said wireless network video flowing of claim 1 adaptation transmitter method, it is characterized in that said 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 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.
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 CN101945266A (en) | 2011-01-12 |
CN101945266B true 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 (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160050085A1 (en) * | 2014-08-15 | 2016-02-18 | LiveQoS Inc. | Udp over tcp tunnel |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103391603B (en) * | 2013-07-04 | 2016-12-28 | 苏州博联科技有限公司 | The method of big data message low power consumption transmission in wireless sensor network |
CN103957222A (en) * | 2014-05-20 | 2014-07-30 | 艾诺通信系统(苏州)有限责任公司 | Video transmission self-adaption method based on FEC algorithm |
CN104079859B (en) * | 2014-07-03 | 2017-04-26 | 天津瑞发科半导体技术有限公司 | Video transmission rate self-adaption system based on feedback mechanism |
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 |
US10075671B2 (en) * | 2016-09-26 | 2018-09-11 | Samsung Display Co., Ltd. | System and method for electronic data communication |
CN108288996A (en) * | 2018-04-18 | 2018-07-17 | 惠州学院 | Based on unmanned plane shooting video high-fidelity teletransmission method, apparatus, storage medium and electronic equipment |
TWI692233B (en) * | 2018-12-19 | 2020-04-21 | 財團法人工業技術研究院 | Collaborative transmission method and transmission device based on udp and tcp connections |
CN110278495B (en) * | 2019-06-25 | 2020-02-07 | 重庆紫光华山智安科技有限公司 | Video transmission network control method and device based on MPQM |
Citations (4)
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 |
CN101222296A (en) * | 2008-01-31 | 2008-07-16 | 上海交通大学 | Adaptive transmission method and system in uplink cellular video communication |
CN101404661A (en) * | 2008-11-20 | 2009-04-08 | 华北电力大学 | Real-time data communication method based on UDP protocol |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7720096B2 (en) * | 2005-10-13 | 2010-05-18 | Microsoft Corporation | RTP payload format for VC-1 |
-
2010
- 2010-08-20 CN CN2010102583800A patent/CN101945266B/en not_active Expired - Fee Related
Patent Citations (4)
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 |
CN101222296A (en) * | 2008-01-31 | 2008-07-16 | 上海交通大学 | Adaptive transmission method and system in uplink cellular video communication |
CN101404661A (en) * | 2008-11-20 | 2009-04-08 | 华北电力大学 | Real-time data communication method based on UDP protocol |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160050085A1 (en) * | 2014-08-15 | 2016-02-18 | LiveQoS Inc. | Udp over tcp tunnel |
US10097373B2 (en) * | 2014-08-15 | 2018-10-09 | LiveQoS Inc. | UDP over TCP tunnel |
US11032104B2 (en) | 2014-08-15 | 2021-06-08 | Adaptiv Networks Inc. | UDP over TCP tunnel |
Also Published As
Publication number | Publication date |
---|---|
CN101945266A (en) | 2011-01-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101945266B (en) | Adaptive method for wireless network video stream transmission | |
US9042444B2 (en) | System and method for transmission of data signals over a wireless network | |
KR101942208B1 (en) | Server-side Adaptive Bitrate Control for DLNA HTTP Streaming Clients | |
US10602139B2 (en) | Embedded multimedia systems with adaptive rate control for power efficient video streaming | |
JP3814614B2 (en) | Server-based rate control in multimedia streaming environments | |
EP2415234B1 (en) | Adaptive bitrate management for streaming media over packet networks | |
EP2859703B1 (en) | Systems and methods for using client-side video buffer occupancy for enhanced quality of experience in a communication network | |
US9565482B1 (en) | Adaptive profile switching system and method for media streaming over IP networks | |
KR100641159B1 (en) | Adaptive Multimedia Data Rate Estimation Based on RTCP Packet | |
JP4347883B2 (en) | Proactive rate adaptation signaling method and apparatus | |
US8718094B2 (en) | Network optimized distribution | |
US10757481B2 (en) | Class-based intelligent multiplexing over unmanaged networks | |
CN105357592A (en) | Selective frame dropping method for streaming media adaptive transmission | |
US20120250762A1 (en) | System and method for implementation of dynamic encoding rates for mobile devices | |
CN104956631A (en) | Link-aware streaming adaptation | |
CA2428325A1 (en) | Transmitting and receiving real-time data | |
EP2164205A1 (en) | Packet relay method and device | |
CN104980819A (en) | Video transmission method and device | |
KR20100106383A (en) | Apparatus and method for simulcast over a variable bandwidth channel | |
CN104009819A (en) | Anti-packet-loss real-time communication method and system based on layered coding, and related devices | |
CN104754339A (en) | Method, device and system for adjusting I frame | |
JP4650573B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, PROGRAM, AND COMMUNICATION METHOD | |
CN101090369B (en) | Method for controlling data packet sending speed in flow medium system | |
KR100966467B1 (en) | Buffer control device and method using play time in video transmission | |
US20090257447A1 (en) | Bit rate control |
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 |