CN114286132A - Method for video transmission fault tolerance in wireless network - Google Patents

Method for video transmission fault tolerance in wireless network Download PDF

Info

Publication number
CN114286132A
CN114286132A CN202111582674.3A CN202111582674A CN114286132A CN 114286132 A CN114286132 A CN 114286132A CN 202111582674 A CN202111582674 A CN 202111582674A CN 114286132 A CN114286132 A CN 114286132A
Authority
CN
China
Prior art keywords
buffer
data
video
buffer area
terminal
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.)
Withdrawn
Application number
CN202111582674.3A
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.)
E Surfing Video Media Co Ltd
Original Assignee
E Surfing Video Media 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 E Surfing Video Media Co Ltd filed Critical E Surfing Video Media Co Ltd
Priority to CN202111582674.3A priority Critical patent/CN114286132A/en
Publication of CN114286132A publication Critical patent/CN114286132A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

The invention relates to a video transmission fault-tolerant method in a wireless network, and belongs to the technical field of information transmission. A plurality of data cache regions for forming distributed real-time transcoding and performing dynamic code rate self-adaptation are arranged between the encoder and the terminal; and a user demand feedback circuit for feeding back the network condition parameters to the encoder by the terminal is also arranged between the encoder and the terminal, and the encoder processes the network condition parameters according to the feedback and dynamically adjusts the stream video code rate. The invention combines the fault tolerance technology and the transmission control algorithm to ensure that the high-reliability transmission is achieved while the real-time network bandwidth is fully utilized. Through terminal network condition feedback, distributed real-time transcoding and dynamic code rate self-adaptation, the problem that when the wireless network environment where the terminal is located changes, frame loss and packet loss of terminal video transmission are solved. When the wireless network condition changes, the terminal feeds back the network condition parameters to the streaming media server, and the server processes according to the feedback and dynamically adjusts the streaming video code rate.

Description

Method for video transmission fault tolerance in wireless network
Technical Field
The invention relates to a video transmission fault-tolerant method in a wireless network, and belongs to the technical field of information transmission.
Background
With the rapid development of computer technology and wireless network technology, the processing and transmission of video information in wireless networks becomes more and more concerned. Due to the high bit error rate packet loss rate of wireless networks, limited channel bandwidth, multipath fading, etc., video data cannot be guaranteed to be transmitted completely and reliably. The most important disadvantage in the transcoding transmission process of compressed video is the sensitivity to transmission errors, and the most frequent condition is error propagation. The factors include multipath delay spread, doppler spread, inter-cell interference, and environmental noise, and these factors cause the wireless channel to vary with time and place, and exhibit great instability. Therefore, there is a need in the art to solve the technical problem that when the network signal of the mobile terminal is poor and the environment is complex, the file transmission is prone to packet loss, damage, and even transmission is impossible.
Disclosure of Invention
The invention aims to solve the technical problems that when a mobile terminal network signal is poor and the environment is complex, file transmission is easy to lose packets, damage or even cannot be transmitted and the like.
In order to achieve the purpose of solving the problems, the technical scheme adopted by the invention is to provide a video transmission fault-tolerant system in a wireless network, wherein an encoder is connected with a terminal through a decoder, and a plurality of data cache regions for forming distributed real-time transcoding and performing dynamic code rate self-adaptation are arranged between the encoder and the terminal; and a user demand feedback circuit for feeding back the network condition parameters to the encoder by the terminal is also arranged between the encoder and the terminal, and the encoder processes the network condition parameters according to the feedback and dynamically adjusts the stream video code rate.
Preferably, the data buffer area comprises a buffer area A1, a buffer area A2, a buffer area A4 and a buffer area A5 which are connected in sequence from the encoder to the terminal, and a buffer area A3 is connected in parallel with the buffer area A2; the buffer area A1 is provided with a 1-frame video data buffer with the length of bytes L1 and output by an encoder; the cache region A1 sends data to be stored in the cache region A2 and the cache region A3 respectively, the length of the cache data in the cache region A2 is marked as L2, and the length of the cache data in the cache region A3 is marked as L3; the buffer area A4 is a receiving buffer; the buffer area A5 is a play buffer memory after the decoder analyzes the video; a data transmission layer is arranged between the buffer A2 and the buffer A4.
The invention provides a video transmission fault-tolerant method for running a video transmission fault-tolerant system in a wireless network, which comprises frame supplementing, down-regulation code rate and up-regulation code rate; when the network bandwidth is smaller than the video transmission code rate, video data which are transmitted from the buffer area A1 and are not sent are accumulated in the buffer area A2, and in order to ensure the fluency of video transmission, the buffer area A1 sends data to the buffer area A2 and the buffer area A3 at the same time, and the priority is to send the data to the buffer area A2;
if the L1< L2 sent by the buffer A1, only equivalent data in the buffer A2 is stored in the buffer A3;
when L1> L2, the data frame in buffer A1 will not be transferred to buffer A2, and frame division operation is required; a frame counter is set in the system, each frame only sends non-key frames in data transmitted by the buffer area A1 to the buffer area A3 for storage through the buffer area A1, and the buffer area A3 stores the lost non-key frames in the buffer area A2; then the buffer area A2 and the buffer area A3 are transmitted to a transmission layer together and frame supplementing operation is carried out;
if the video coding rate is L1> (L2+ L3), carrying out video coding rate down regulation; if the downregulation is still followed by L1> (L2+ L3), then the downregulation needs to be carried out again; if L1 is less than or equal to L2, the video code rate needs to be adjusted upwards; if the L1 is not more than L2 after the up-regulation; then the call up needs to be done again and buffer a3 does not operate during this time; when the down-regulation sensitivity data volume exceeds the threshold code rate for a period of time, the threshold code rate is usually set to be 1080p to be 8-10M, then the code rate is down-regulated, and data caching is carried out through a plurality of cache regions to provide more stable video transmission.
Compared with the prior art, the invention has the following beneficial effects:
by the method, the segmentation strategy can be calculated in a self-adaptive real-time manner under a complex network environment such as a mobile internet, so that the stability and the reliability of video transmission are effectively improved; in order to further improve the efficiency of data transmission, a dynamic buffer auxiliary mechanism is introduced, and bandwidth resources under different network environments can be fully utilized; in order to adapt to the scene of frequent switching of the mobile network, the possibility of a data transmission terminal can be effectively reduced; the method of the invention enhances the data transmission without increasing the existing cost, and can effectively reduce the use cost.
The invention can improve the user experience when the user uses the video watching function and improve the distribution success rate and the efficiency of video transmission.
Drawings
FIG. 1 is a flow chart of the technical solution of the present invention.
Detailed Description
In order to make the invention more comprehensible, preferred embodiments are described in detail below with reference to the accompanying drawings:
as shown in fig. 1, the present invention provides a video transmission fault-tolerant system in a wireless network, wherein an encoder is connected to a terminal through a decoder, and a plurality of data buffers for forming distributed real-time transcoding and performing dynamic code rate adaptation are disposed between the encoder and the terminal; and a user demand feedback circuit for feeding back the network condition parameters to the encoder by the terminal is also arranged between the encoder and the terminal, and the encoder processes the network condition parameters according to the feedback and dynamically adjusts the stream video code rate. The data buffer area comprises a buffer area A1, a buffer area A2, a buffer area A4 and a buffer area A5 which are sequentially connected from the encoder to the terminal, and a buffer area A3 is arranged in parallel with the buffer area A2; the buffer area A1 is provided with a 1-frame video data buffer with the length of bytes L1 and output by an encoder; the cache A1 sends data to be stored in the cache A2 and the cache A3 respectively, and the cache data length in the cache A2 is recorded as L2; the buffer area A4 is a receiving buffer; the buffer area A5 is a play buffer memory after the decoder analyzes the video; a data transmission layer is arranged between the buffer A2 and the buffer A4.
The invention provides a video transmission fault-tolerant method for running a video transmission fault-tolerant system in a wireless network, which comprises frame supplementing, down-regulation code rate and up-regulation code rate; when the network bandwidth is smaller than the video code rate, the video data which are not sent are accumulated in the buffer area A2; because the network bandwidth is smaller than the video code rate, the buffer a1 sends data to the buffer a2 and the buffer A3 with more emphasis on sending data to the buffer a2, if L1< L2 sent by the buffer a1, the buffer A3 stores only the same data in the buffer a2, and when L1> L2, the data frame in the buffer a1 cannot be transferred to the buffer a2, and the framing operation is required; a frame counter is set in the system, each frame only sends non-key frames in data transmitted by the buffer area A1 to the buffer area A3 for storage through the buffer area A1, and the buffer area A3 stores the lost non-key frames in the buffer area A2; then the buffer area A2 and the buffer area A3 are transmitted to a transmission layer together and frame supplementing operation is carried out; if the video coding rate is L1> (L2+ L3), carrying out video coding rate down regulation; if the downregulation is still followed by L1> (L2+ L3), then the downregulation needs to be carried out again; if L1 is less than or equal to L2, the video code rate needs to be adjusted upwards; if the L1 is not more than L2 after the up-regulation; then the call up needs to be done again and buffer a3 may not be operated; when the data volume of the down-regulation sensitivity data exceeds the threshold code rate (the threshold code rate is usually set to be 1080p of 8-10M) for a period of time, the code rate is down-regulated, and the data caching is carried out through the cache region, so that more stable video transmission is provided.
The invention combines the fault tolerance technology and the transmission control to ensure that the high-reliability transmission is achieved while the real-time network bandwidth is fully utilized. The invention solves the technical problem of frame loss and packet loss in terminal video watching transmission when the wireless network environment of the terminal changes through the terminal network condition feedback, the distributed real-time transcoding technology and the dynamic code rate self-adaptive technology. When the wireless network condition changes, the terminal feeds back the network condition parameters to the streaming media server, and the server processes according to the feedback and dynamically adjusts the streaming video code rate.
While the invention has been described with respect to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention. Those skilled in the art can make various changes, modifications and equivalent arrangements, which are equivalent to the embodiments of the present invention, without departing from the spirit and scope of the present invention, and which may be made by utilizing the techniques disclosed above; meanwhile, any changes, modifications and variations of the above-described embodiments, which are equivalent to those of the technical spirit of the present invention, are within the scope of the technical solution of the present invention.

Claims (3)

1. A video transmission fault-tolerant system in a wireless network is characterized in that a plurality of data cache regions for forming distributed real-time transcoding and carrying out dynamic code rate self-adaptation are arranged between an encoder and a terminal; and a user demand feedback circuit for feeding back the network condition parameters to the encoder by the terminal is also arranged between the encoder and the terminal, and the encoder processes the network condition parameters according to the feedback and dynamically adjusts the stream video code rate.
2. The fault tolerant system for video transmission in wireless network as claimed in claim 1, wherein said data buffer comprises buffer a1, buffer a2, buffer a4 and buffer a5 connected in sequence from encoder to terminal, and buffer A3 connected in parallel with buffer a 2; the buffer area A1 is provided with a 1-frame video data buffer with the length of bytes L1 and output by an encoder; the cache A1 sends data to be stored in the cache A2 and the cache A3 respectively, and the cache data length in the cache A2 is recorded as L2; the buffer area A4 is a receiving buffer; the buffer area A5 is a play buffer memory after the decoder analyzes the video; a data transmission layer is arranged between the buffer A2 and the buffer A4.
3. The video transmission fault tolerant method of operation of a video transmission fault tolerant system in a wireless network as claimed in claim 2, wherein the method comprises frame supplementing, down-coding, and up-coding; when the network bandwidth is smaller than the video code rate, video data which are not sent yet are accumulated in the buffer area A2, and the buffer area A1 is more important to send the data to the buffer area A2 when sending the data to the buffer area A2 and the buffer area A3;
if the L1< L2 sent by the buffer A1, only equivalent data in the buffer A2 is stored in the buffer A3;
when L1> L2, the data frame in buffer A1 will not be transferred to buffer A2, and frame division operation is required; a frame counter is set in the system, each frame only sends non-key frames in data transmitted by the buffer area A1 to the buffer area A3 for storage through the buffer area A1, and the buffer area A3 stores the lost non-key frames in the buffer area A2; then the buffer area A2 and the buffer area A3 are transmitted to a transmission layer together and frame supplementing operation is carried out;
if the video coding rate is L1> (L2+ L3), carrying out video coding rate down regulation; if the downregulation is still followed by L1> (L2+ L3), then the downregulation needs to be carried out again; if L1 is less than or equal to L2, the video code rate needs to be adjusted upwards; if the L1 is not more than L2 after the up-regulation; then the call up needs to be done again and buffer a3 does not operate during this time; when the sensitivity data volume of the down-regulation exceeds the threshold code rate for a period of time, the threshold code rate is usually set to be 1080p to be 8-10M, then the code rate is down-regulated, and data caching is carried out through a plurality of cache regions to provide stable video transmission.
CN202111582674.3A 2021-12-22 2021-12-22 Method for video transmission fault tolerance in wireless network Withdrawn CN114286132A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111582674.3A CN114286132A (en) 2021-12-22 2021-12-22 Method for video transmission fault tolerance in wireless network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111582674.3A CN114286132A (en) 2021-12-22 2021-12-22 Method for video transmission fault tolerance in wireless network

Publications (1)

Publication Number Publication Date
CN114286132A true CN114286132A (en) 2022-04-05

Family

ID=80873928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111582674.3A Withdrawn CN114286132A (en) 2021-12-22 2021-12-22 Method for video transmission fault tolerance in wireless network

Country Status (1)

Country Link
CN (1) CN114286132A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117440209A (en) * 2023-12-15 2024-01-23 牡丹江师范学院 Implementation method and system based on singing scene

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349178A (en) * 2014-11-21 2015-02-11 赛特斯信息科技股份有限公司 System and method for required real-time transcoding and self-adaptive code rate stream media playing
WO2017157303A1 (en) * 2016-03-15 2017-09-21 中兴通讯股份有限公司 Anti-packet loss method, device and system for use in real-time communication

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349178A (en) * 2014-11-21 2015-02-11 赛特斯信息科技股份有限公司 System and method for required real-time transcoding and self-adaptive code rate stream media playing
WO2017157303A1 (en) * 2016-03-15 2017-09-21 中兴通讯股份有限公司 Anti-packet loss method, device and system for use in real-time communication

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘高平;宋执环;: "自适应网络带宽的H.264视频流传输控制方法", 浙江大学学报(工学版), no. 12, pages 2146 - 2154 *
常晓洁;江肖强;单康康;: "自适应WIFI无线网络带宽的视频容错传输控制方法", 计算机时代, no. 01, pages 29 - 32 *
李英壮;吴志伟;李先毅;: "基于无线网络环境移动流媒体码率自适应研究", 微型机与应用, no. 06, pages 54 - 56 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117440209A (en) * 2023-12-15 2024-01-23 牡丹江师范学院 Implementation method and system based on singing scene
CN117440209B (en) * 2023-12-15 2024-03-01 牡丹江师范学院 Implementation method and system based on singing scene

Similar Documents

Publication Publication Date Title
WO2017148260A1 (en) Voice code sending method and apparatus
EP2371136B1 (en) Multimedia stream combining
CN100592670C (en) System and method for controlling self-adaptive forward error dynamically in IPTV network
CN102036061A (en) Video data transmission and sending processing method, device and network system
CN110740334B (en) Frame-level application layer dynamic FEC encoding method
CN109818874A (en) Data transmission method, equipment and computer storage medium
CN111327962B (en) Play control method, device, equipment and storage medium
CN107333143B (en) 5G multi-access concurrent transmission control system and method
CN109618170B (en) D2D real-time video streaming transmission method based on network coding
CN112866746A (en) Multi-path streaming cloud game control method, device, equipment and storage medium
CN114286132A (en) Method for video transmission fault tolerance in wireless network
CN105516018A (en) Network data transmission method and apparatus
US8799749B2 (en) Ad-hoc multimedia group communication terminal robust to packet loss and method of operating the same
KR20150026405A (en) Method for transmitting and receiving voice packet and electronic device implementing the same
JP2005524356A (en) Video transmission system with error resilience for wireless LAN using data division and unequal error protection
CN113612580A (en) Screen updating transmission method based on fountain code coding strategy and redundancy self-adaption
CN109525858A (en) Video coding circuit and wireless video transmission device and method
CN101090369B (en) Method for controlling data packet sending speed in flow medium system
CN116318545A (en) Video data transmission method, device, equipment and storage medium
Miguel et al. Distribution of high-definition video in 802.11 wireless home networks
CN115037416A (en) Data forward error correction processing method, device, electronic equipment and storage medium
KR20210064222A (en) Techniques to improve video bitrate while maintaining video quality
WO2021164405A1 (en) Data encoding and decoding methods, and related device and system
CN111245566B (en) Method and device for preventing packet loss of unreliable network, storage medium and electronic equipment
CN105391523A (en) Voice optimization transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220405