Adaptive forward error correction method, apparatus, medium and device

文档序号:1415846 发布日期:2020-03-10 浏览:7次 中文

阅读说明:本技术 一种自适应前向纠错方法、装置、介质和设备 (Adaptive forward error correction method, apparatus, medium and device ) 是由 温建伟 于 2018-09-03 设计创作,主要内容包括:本发明涉及无线网络通信技术领域,特别涉及一种自适应前向纠错方法、装置、介质和设备。根据本发明实施例提供的方案,可以根据接收端网络质量参数来确定待发送信息块对应的冗余数据数量,从而可以根据确定出的冗余数据数量,确定对应的前向纠错编码方式,使得冗余数据数量和前向纠错编码方式可以根据接收端的网络质量进行自适应的调整,从而可以满足不同的网络质量的需要,适应无线网络传输的抖动特性,避免造成网络拥塞。(The present invention relates to the field of wireless network communication technologies, and in particular, to a method, an apparatus, a medium, and a device for adaptive forward error correction. According to the scheme provided by the embodiment of the invention, the quantity of the redundant data corresponding to the information block to be sent can be determined according to the network quality parameters of the receiving end, so that the corresponding forward error correction coding mode can be determined according to the determined quantity of the redundant data, and the quantity of the redundant data and the forward error correction coding mode can be adaptively adjusted according to the network quality of the receiving end, thereby meeting the requirements of different network qualities, adapting to the jitter characteristic of wireless network transmission and avoiding network congestion.)

1. An adaptive forward error correction method, the method comprising:

if an information block to be sent is received, determining a network quality parameter of a receiving end, wherein the network quality parameter is used for describing the network quality of the receiving end;

determining the quantity of redundant data corresponding to the information block to be sent according to the determined network quality parameter;

and determining a forward error correction coding mode corresponding to the information block to be sent according to the determined quantity of the redundant data.

2. The method of claim 1, wherein the network quality parameter comprises a network bandwidth and/or a packet loss rate.

3. The method of claim 2, wherein when the network quality parameter includes a network bandwidth and a packet loss ratio, determining the amount of redundant data corresponding to the information block to be sent according to the determined network quality parameter includes at least one of the following manners:

when the network bandwidth is larger than the first bandwidth and the packet loss rate is smaller than the first packet loss rate, determining the quantity of redundant data not larger than the first quantity; alternatively, the first and second electrodes may be,

when the network bandwidth is greater than the second bandwidth and the packet loss rate is greater than the second packet loss rate, determining the quantity of the redundant data which is not less than the second quantity; alternatively, the first and second electrodes may be,

and when the network bandwidth is smaller than the third bandwidth and the packet loss rate is greater than the third packet loss rate, determining the quantity of the redundant data which is not greater than the third quantity.

4. The method of any of claims 1 to 3, further comprising:

determining the priority of the information block to be sent;

determining the quantity of redundant data corresponding to the information block to be sent according to the determined network quality parameter, including:

and determining the quantity of redundant data corresponding to the information block to be sent according to the determined network quality parameter and the priority of the information block to be sent.

5. The method of claim 4, wherein determining the priority of the information block to be transmitted comprises: and determining the priority of the information block to be sent according to the data source corresponding to the information block to be sent.

6. The method of claim 5, wherein the priority is set as follows:

the priority of the information block to be sent of the intra-frame I frame in the video coding data is higher than the priority of the information block to be sent of the inter-frame P frame and the bidirectional predictive coding B frame in the video coding data.

7. An adaptive forward error correction apparatus, the apparatus comprising:

the network quality determining module is used for determining a network quality parameter of a receiving end if an information block to be sent is received, wherein the network quality parameter is used for describing the network quality of the receiving end;

a redundant data determining module, configured to determine, according to the determined network quality parameter, a quantity of redundant data corresponding to the information block to be sent;

and the coding mode determining module is used for determining a forward error correction coding mode corresponding to the information block to be sent according to the determined redundant data quantity.

8. The apparatus of claim 7, wherein the network quality parameter comprises a network bandwidth and/or a packet loss rate.

9. The apparatus of claim 8, wherein the redundant data determining module is configured to determine, according to the determined network quality parameter, an amount of redundant data corresponding to the information block to be sent, and includes at least one of:

when the network bandwidth is larger than the first bandwidth and the packet loss rate is smaller than the first packet loss rate, determining the quantity of redundant data not larger than the first quantity; alternatively, the first and second electrodes may be,

when the network bandwidth is greater than the second bandwidth and the packet loss rate is greater than the second packet loss rate, determining the quantity of the redundant data which is not less than the second quantity; alternatively, the first and second electrodes may be,

and when the network bandwidth is smaller than the third bandwidth and the packet loss rate is greater than the third packet loss rate, determining the quantity of the redundant data which is not greater than the third quantity.

10. The apparatus of any of claims 7 to 9, further comprising:

a priority determining module, configured to determine a priority of the information block to be sent;

the redundant data determining module is specifically configured to determine, according to the determined network quality parameter and the priority of the information block to be sent, the quantity of redundant data corresponding to the information block to be sent.

11. The apparatus of claim 10, wherein the priority determining module is specifically configured to determine the priority of the information block to be sent according to a data source corresponding to the information block to be sent.

12. The apparatus of claim 11, wherein the priority is set as follows:

the priority of the information block to be sent of the intra-frame I frame in the video coding data is higher than the priority of the information block to be sent of the inter-frame P frame and the bidirectional predictive coding B frame in the video coding data.

13. A non-transitory computer storage medium storing an executable program for execution by a processor to perform the steps of the method of any one of claims 1 to 6.

14. An adaptive forward error correction apparatus comprising a memory, a processor, a transceiver, and a bus interface; the processor is used for reading the program in the memory and executing: when the information block to be sent is received through the transceiver, determining a network quality parameter of a receiving end, wherein the network quality parameter is used for describing the network quality of the receiving end, determining the quantity of redundant data corresponding to the information block to be sent according to the determined network quality parameter, and determining a forward error correction coding mode corresponding to the information block to be sent according to the determined quantity of the redundant data.

15. The apparatus of claim 14, wherein the network quality parameter comprises a network bandwidth and/or a packet loss rate.

16. The apparatus according to claim 15, wherein when the network quality parameter includes a network bandwidth and a packet loss ratio, the processor is configured to determine, according to the determined network quality parameter, an amount of redundant data corresponding to the information block to be sent, and includes at least one of: when the network bandwidth is larger than the first bandwidth and the packet loss rate is smaller than the first packet loss rate, determining the quantity of redundant data not larger than the first quantity; alternatively, the first and second electrodes may be,

when the network bandwidth is greater than the second bandwidth and the packet loss rate is greater than the second packet loss rate, determining the quantity of the redundant data which is not less than the second quantity; alternatively, the first and second electrodes may be,

and when the network bandwidth is smaller than the third bandwidth and the packet loss rate is greater than the third packet loss rate, determining the quantity of the redundant data which is not greater than the third quantity.

17. The apparatus of any of claims 14 to 16, wherein the processor is further configured to determine a priority of the information block to be transmitted;

the processor is configured to determine, according to the determined network quality parameter, the quantity of redundant data corresponding to the information block to be sent, including:

and determining the quantity of redundant data corresponding to the information block to be sent according to the determined network quality parameter and the priority of the information block to be sent.

18. The apparatus of claim 17, wherein the processor, configured to determine the priority of the information block to be transmitted, comprises: and determining the priority of the information block to be sent according to the data source corresponding to the information block to be sent.

19. The apparatus of claim 18, wherein the priority is set as follows:

the priority of the information block to be sent of the intra-frame I frame in the video coding data is higher than the priority of the information block to be sent of the inter-frame P frame and the bidirectional predictive coding B frame in the video coding data.

Technical Field

The present invention relates to the field of wireless network communication technologies, and in particular, to a method, an apparatus, a medium, and a device for adaptive forward error correction.

Background

In multimedia network communications, such as web-originated real-time communication (WebRTC), Forward Error Correction (FEC) and packet loss retransmission are important means to combat network errors. FEC is particularly suitable for multimedia network communications because it can provide faster data recovery than packet loss retransmission and does not require a receive channel.

FEC is that a sending end obtains certain redundant data by calculating and encoding before sending data, and sends the data to be sent and the obtained redundant data to a receiving end together, so that the receiving end can detect and correct errors occurring in the data transmission process according to the added redundant data.

In multimedia network communication, such as WebRTC, FEC usually uses a static FEC scheme, for example, a reed-solomon (RS) code is adopted, n-k redundant data are obtained by calculation and coding on the basis of an information block to be transmitted (one information block to be transmitted may include k coded data, that is, k original coded data), and finally n coded data are transmitted to a receiving end, where a data frame structure including n coded data may be illustrated as fig. 1, and fig. 1 illustrates original coded data as video coded data by way of example.

For FEC, the amount of redundant data determines the number of errors that the receiving end can handle after decoding. However, in the static FEC scheme, the amount of redundant data is fixed, and cannot meet the requirement of channel quality change in the multimedia network communication process, and if the amount of redundant data is too large, network congestion may be caused.

Disclosure of Invention

Embodiments of the present invention provide a method, an apparatus, a medium, and a device for adaptive forward error correction, which are used to solve the problem of network congestion easily caused by a fixed amount of redundant data.

A method of adaptive forward error correction, the method comprising:

if an information block to be sent is received, determining a network quality parameter of a receiving end, wherein the network quality parameter is used for describing the network quality of the receiving end;

determining the quantity of redundant data corresponding to the information block to be sent according to the determined network quality parameter;

and determining a forward error correction coding mode corresponding to the information block to be sent according to the determined quantity of the redundant data.

An adaptive forward error correction apparatus, the apparatus comprising:

the network quality determining module is used for determining a network quality parameter of a receiving end if an information block to be sent is received, wherein the network quality parameter is used for describing the network quality of the receiving end;

a redundant data determining module, configured to determine, according to the determined network quality parameter, a quantity of redundant data corresponding to the information block to be sent;

and the coding mode determining module is used for determining a forward error correction coding mode corresponding to the information block to be sent according to the determined redundant data quantity.

The present invention also provides a non-volatile computer storage medium having stored thereon an executable program for execution by a processor to perform the steps of implementing the method as described above.

The invention also provides a self-adaptive forward error correction device, which comprises a memory, a processor, a transceiver and a bus interface; the processor is used for reading the program in the memory and executing: when the information block to be sent is received through the transceiver, determining a network quality parameter of a receiving end, wherein the network quality parameter is used for describing the network quality of the receiving end, determining the quantity of redundant data corresponding to the information block to be sent according to the determined network quality parameter, and determining a forward error correction coding mode corresponding to the information block to be sent according to the determined quantity of the redundant data.

According to the scheme provided by the embodiment of the invention, the quantity of the redundant data corresponding to the information block to be sent can be determined according to the network quality parameters of the receiving end, so that the corresponding forward error correction coding mode can be determined according to the determined quantity of the redundant data, and the quantity of the redundant data and the forward error correction coding mode can be adaptively adjusted according to the network quality of the receiving end, thereby meeting the requirements of different network qualities, adapting to the jitter characteristic of wireless network transmission and avoiding network congestion.

Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

Drawings

In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.

Fig. 1 is a schematic diagram of a data frame structure provided in the prior art;

fig. 2 is a schematic flowchart of an adaptive forward error correction method according to an embodiment of the present invention;

fig. 3 is a schematic diagram of an adaptive forward error correction method according to a second embodiment of the present invention;

fig. 4 is a schematic structural diagram of an adaptive forward error correction apparatus according to a third embodiment of the present invention;

fig. 5 is a schematic structural diagram of an adaptive forward error correction apparatus according to a fourth embodiment of the present invention.

Detailed Description

In the scheme provided by the invention, the adjustment of the quantity of the redundant data can be carried out based on the network quality parameters of the receiving end, so that the determined forward error correction coding mode can meet the requirements of different network qualities and is suitable for the jitter characteristics of wireless network transmission. While error recovery is guaranteed, occupation of network bandwidth can be reduced and network congestion caused by excessive redundant data can be reduced through self-adaptive adjustment of redundant data.

Furthermore, in the embodiment of the present invention, different priorities may be allocated to different information blocks to be sent, so that the number of the differential redundant data can be set in combination with the different priorities. In particular, the inventors have found that, during the communication process of the multimedia network, the influence of different data on the multimedia quality obtained after decoding by the receiving end is different. Therefore, preferably, the embodiment of the present invention further provides that the priority of the information block to be sent can be determined according to the data source corresponding to the information block to be sent, so that the number of redundant data can be adjusted by combining the network quality parameter of the receiving end and the priority of the information block to be sent, the determined forward error correction coding manner can further satisfy the quality requirement difference of different data, and the multimedia quality obtained by the receiving end is higher.

In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.

It should be noted that, the "plurality" or "a plurality" mentioned herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:界面元素的显示方法、装置、设备及存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类