Selection method, selection device and selection equipment for ultra-high-definition video compression algorithm

文档序号:107611 发布日期:2021-10-15 浏览:20次 中文

阅读说明:本技术 超高清视频压缩算法的选择方法、选择装置及选择设备 (Selection method, selection device and selection equipment for ultra-high-definition video compression algorithm ) 是由 高炳海 于 2021-07-07 设计创作,主要内容包括:本申请公开了一种超高清视频压缩算法的选择方法、选择装置及选择设备,该选择方法包括:发送设备获取信道的信道环境信息;其中,所述信道用于传输超高清视频;所述发送设备根据所述信道环境信息从多个超高清视频压缩算法中确定出目标压缩算法,以实现在所述信道环境信息下对所述超高清视频进行编码;其中,所述目标压缩算法包括:中压缩编码算法或轻压缩编码算法;所述发送设备根据所述目标压缩算法将所述超高清视频进行编码,获得码流数据。采用本申请,可实现在不同的无线信道环境下,自适应采用不同的编码算法对超高清视频进行编码,获得适于当前无线信道传输的压缩后的超高频视频数据。(The application discloses a selection method, a selection device and a selection device of an ultra-high-definition video compression algorithm, wherein the selection method comprises the following steps: the sending equipment acquires channel environment information of a channel; wherein the channel is used for transmitting ultra high definition video; the transmitting equipment determines a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information so as to realize the encoding of the ultra high definition video under the channel environment information; wherein the target compression algorithm comprises: a medium compression coding algorithm or a light compression coding algorithm; and the sending equipment encodes the ultrahigh-definition video according to the target compression algorithm to obtain code stream data. By the method and the device, the ultrahigh-definition video can be adaptively coded by adopting different coding algorithms under different wireless channel environments, and compressed ultrahigh-frequency video data suitable for current wireless channel transmission are obtained.)

1. A method for selecting an ultra high definition video compression algorithm is characterized by comprising the following steps:

the sending equipment acquires channel environment information of a channel; wherein the channel is used for transmitting ultra high definition video;

the transmitting equipment determines a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information so as to realize the encoding of the ultra high definition video under the channel environment information; wherein the target compression algorithm comprises: a medium compression coding algorithm or a light compression coding algorithm;

and the sending equipment encodes the ultrahigh-definition video according to the target compression algorithm to obtain code stream data.

2. The method for selecting ultra high definition video compression algorithm according to claim 1,

the method for acquiring the channel environment information of the channel by the sending equipment comprises the following steps:

the sending equipment detects the environmental noise in a channel, and acquires the signal-to-noise ratio of the channel according to the ultra-high-definition video in the channel and the environmental noise in the channel; alternatively, the first and second electrodes may be,

the sending equipment acquires a modulation and coding strategy index value from a wireless communication module, determines a signal-to-noise ratio of the channel according to the modulation and coding strategy index value, and the signal-to-noise ratio of the channel is used for determining a target compression algorithm which is related to the signal-to-noise ratio and is used for coding the ultra-high-definition video, so that the ultra-high-definition video is coded under the signal-to-noise ratio.

3. The method for selecting ultra high definition video compression algorithm according to claim 2,

the method for determining a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information by the sending device to realize encoding of the ultra high definition video under the channel environment information includes:

and the sending equipment determines a target compression algorithm for coding the ultra-high-definition video and a compression multiple of the target compression algorithm which are related to the signal-to-noise ratio according to the signal-to-noise ratio so as to realize coding of the ultra-high-definition video under the signal-to-noise ratio.

4. The method for selecting ultra high definition video compression algorithm according to claim 2,

the method for determining a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information by the sending device to realize encoding of the ultra high definition video under the channel environment information includes:

the sending equipment determines a target compression algorithm and a compression multiple of the target compression algorithm from a plurality of ultra high definition video compression algorithms by comparing the signal-to-noise ratio of the channel with the size of a first threshold value, so as to realize the encoding of the ultra high definition video under the signal-to-noise ratio;

when the sending equipment determines that the signal-to-noise ratio of the channel is greater than the first threshold, the sending equipment determines the light compression coding algorithm and the compression multiple of the light compression algorithm from a plurality of ultra-high definition video compression algorithms so as to realize the encoding of the ultra-high definition video under the signal-to-noise ratio; the light compression encoding algorithm comprises: a wavelet transform-based coding algorithm, a short-time fourier transform-based coding algorithm, or a discrete cosine transform-based coding algorithm.

5. The method for selecting ultra high definition video compression algorithm according to claim 2,

when the channel environment information is the signal to interference plus noise ratio of the channel,

the method for determining a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information by the sending device to realize encoding of the ultra high definition video under the channel environment information includes:

the sending equipment determines a target compression algorithm and a compression multiple of the target compression algorithm from a plurality of ultra high definition video compression algorithms by comparing the signal-to-interference-and-noise ratio of the channel with a first threshold value, so as to realize the encoding of the ultra high definition video under the signal-to-noise ratio;

when the sending equipment determines that the signal-to-interference-and-noise ratio of the channel is greater than the first threshold, the sending equipment determines the light compression coding algorithm and the compression multiple of the light compression algorithm from a plurality of ultra-high definition video compression algorithms so as to realize the coding of the ultra-high definition video under the signal-to-noise ratio; the light compression encoding algorithm comprises: a wavelet transform-based coding algorithm, a short-time fourier transform-based coding algorithm, or a discrete cosine transform-based coding algorithm.

6. The method for selecting ultra high definition video compression algorithm according to claim 2,

when the channel environment information is the signal-to-leakage-and-noise ratio of the channel,

the method for determining a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information by the sending device to realize encoding of the ultra high definition video under the channel environment information includes:

the sending equipment determines a target compression algorithm and a compression multiple of the target compression algorithm from a plurality of ultra high definition video compression algorithms by comparing the signal-to-leakage-noise ratio of the channel with a first threshold value, so as to realize the encoding of the ultra high definition video under the signal-to-noise ratio;

when the sending equipment determines that the signal-to-leakage-and-noise ratio of the channel is greater than the first threshold, the sending equipment determines the light compression coding algorithm and the compression multiple of the light compression algorithm from a plurality of ultra-high definition video compression algorithms so as to realize the coding of the ultra-high definition video under the signal-to-noise ratio; the light compression encoding algorithm comprises: a wavelet transform-based coding algorithm, a short-time fourier transform-based coding algorithm, or a discrete cosine transform-based coding algorithm.

7. The method of selecting ultra high definition video compression algorithm of claim 4,

the sending device determines a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information to realize encoding of the ultra high definition video under the channel environment information, and the method further includes:

when the sending equipment determines that the signal-to-noise ratio of the channel is smaller than or equal to the first threshold, the sending equipment determines the medium compression coding algorithm and the compression multiple of the medium compression algorithm from a plurality of ultra high definition video compression algorithms so as to realize the encoding of the ultra high definition video under the signal-to-noise ratio; the medium compression coding algorithm comprises the following steps: an intra block copy prediction mode based coding algorithm or a wide-angle intra prediction mode based coding algorithm.

8. The method for selecting ultra high definition video compression algorithm according to claim 5,

the sending device determines a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information to realize encoding of the ultra high definition video under the channel environment information, and the method further includes:

when the sending equipment determines that the signal-to-interference-and-noise ratio of the channel is smaller than or equal to the first threshold, the sending equipment determines the medium compression coding algorithm and the compression multiple of the medium compression algorithm from a plurality of ultra-high definition video compression algorithms so as to realize the encoding of the ultra-high definition video under the signal-to-noise ratio; the medium compression coding algorithm comprises the following steps: an intra block copy prediction mode based coding algorithm or a wide-angle intra prediction mode based coding algorithm.

9. The method of selecting ultra high definition video compression algorithm of claim 6,

the sending device determines a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information to realize encoding of the ultra high definition video under the channel environment information, and the method further includes:

when the sending equipment determines that the signal-to-leakage-and-noise ratio of the channel is smaller than or equal to the first threshold, the sending equipment determines the medium compression coding algorithm and the compression multiple of the medium compression algorithm from a plurality of ultra-high definition video compression algorithms so as to realize the encoding of the ultra-high definition video under the signal-to-noise ratio; the medium compression coding algorithm comprises the following steps: an intra block copy prediction mode based coding algorithm or a wide-angle intra prediction mode based coding algorithm.

10. The method for selecting ultra high definition video compression algorithm according to claim 1,

the sending device encodes the ultra-high-definition video according to the target compression algorithm, and after code stream data is obtained, the sending device further comprises:

the sending equipment encapsulates the code stream data to obtain a data packet, and sends the data packet to receiving equipment through a 5G communication module; the transmission rate of the 5G communication module is not lower than a first threshold value; the data packet includes: UDP packets, TCP packets, or custom packets;

alternatively, the first and second electrodes may be,

and the sending equipment encapsulates the code stream data to obtain a data packet, and sends the data packet to a base station through the 5G communication module, wherein the base station is used for forwarding the data packet to the receiving equipment.

11. The method for selecting ultra high definition video compression algorithm according to claim 10,

the receiving apparatus includes: a first receiving device and a second receiving device;

the sending the data packet to a receiving device through the 5G communication module includes:

and respectively sending the data packet to the first receiving device and the second receiving device through the 5G communication module.

12. The method for selecting ultra high definition video compression algorithm according to claim 10,

the base station includes: a first base station and a second base station;

the sending the data packet to a base station through the 5G communication module includes:

and sending the data packet to the first base station through the 5G communication module, forwarding the data packet to the second base station through the first base station, and forwarding the data packet to the receiving equipment through the second base station.

13. The method for selecting ultra high definition video compression algorithm according to claim 1,

the sending device encodes the ultra-high-definition video according to the target compression algorithm, and after code stream data is obtained, the sending device further comprises:

the sending equipment encapsulates the code stream data to obtain a data packet, and sends the data packet to receiving equipment through a WIFI module; the transmission rate of the WIFI module is not lower than a first threshold value; the data packet includes: UDP packets, TCP packets, or custom packets.

14. The method for selecting ultra high definition video compression algorithm of claim 13,

the receiving apparatus includes: a first receiving device and a second receiving device;

the sending the data packet to a receiving device through a WIFI module includes:

and respectively sending the data packet to the first receiving device and the second receiving device through the WIFI module.

15. An apparatus for selecting an ultra high definition video compression algorithm, comprising:

an obtaining unit, configured to obtain channel environment information of a channel; wherein the channel is used for transmitting ultra high definition video;

the determining unit is used for determining a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information so as to realize the encoding of the ultra high definition video under the channel environment information; wherein the target compression algorithm comprises: a medium compression coding algorithm or a light compression coding algorithm;

and the coding unit is used for coding the ultrahigh-definition video according to the target compression algorithm to obtain code stream data.

16. An apparatus for selecting an ultra high definition video compression algorithm, comprising: a memory for storing application program instructions and a processor coupled to the memory, the processor configured to invoke the application program instructions and perform the method for selecting an ultra high definition video compression algorithm according to any one of claims 1 to 14.

17. A computer storage medium, characterized in that the computer readable storage medium has stored thereon a computer program for implementing the method for selecting an ultra high definition video compression algorithm of any one of claims 1 to 14 when being executed by a processor.

Technical Field

The present application relates to the field of wireless communication technologies, and in particular, to a method, an apparatus, and a device for selecting an ultra high definition video compression algorithm.

Background

At present, in a wireless transmission scene, 4K/8K ultra-high-definition video to be transmitted still needs to be compressed to a certain extent and then is wirelessly transmitted, and under the current complex and changeable wireless transmission channel environment, equipment always adopts the same compression algorithm of the ultra-high-definition video to encode the ultra-high-definition video, and effective transmission and display of the ultra-high-definition video cannot be realized.

Disclosure of Invention

Based on the existing problems and the defects of the prior art, the application provides the selection method, the selection device and the selection equipment of the ultra-high-definition video compression algorithm, so that the ultra-high-definition video can be adaptively encoded by adopting different encoding algorithms under different wireless channel environments, compressed ultra-high-frequency video data suitable for current wireless channel transmission is obtained, and the user experience is high.

In a first aspect, the present application provides a method for selecting an ultra high definition video compression algorithm, where the method includes:

the sending equipment acquires channel environment information of a channel; wherein the channel is used for transmitting ultra high definition video;

the transmitting equipment determines a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information so as to realize the encoding of the ultra high definition video under the channel environment information; wherein the target compression algorithm comprises: a medium compression coding algorithm or a light compression coding algorithm;

and the sending equipment encodes the ultrahigh-definition video according to the target compression algorithm to obtain code stream data.

In a second aspect, the present application provides a device for selecting an ultra high definition video compression algorithm, where the device includes: the device comprises an acquisition unit, a determination unit and an encoding unit, wherein the acquisition unit is used for acquiring channel environment information of a channel; wherein the channel is used for transmitting ultra high definition video; the determining unit is used for determining a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information so as to realize the encoding of the ultra high definition video under the channel environment information; wherein the target compression algorithm comprises: a medium compression coding algorithm or a light compression coding algorithm; and the coding unit is used for coding the ultrahigh-definition video according to the target compression algorithm to obtain code stream data.

In a third aspect, the present application provides a selection device for an ultra high definition video compression algorithm, the selection device comprising: a memory and a processor coupled to the memory, wherein the memory is used for storing application program instructions, and the processor is configured for calling the application program instructions and executing the method for selecting the ultra high definition video compression algorithm according to the first aspect.

In a fourth aspect, the present application further provides a computer storage medium having a computer program stored thereon, where the computer program is used for implementing the method for selecting an ultra high definition video compression algorithm according to the first aspect when the computer program is executed by a processor.

The application provides a selection method, a selection device and a selection device of an ultra-high-definition video compression algorithm. The selection method comprises the following steps: the sending equipment acquires channel environment information of a channel; wherein the channel is used for transmitting ultra high definition video; the transmitting equipment determines a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information so as to realize the encoding of the ultra high definition video under the channel environment information; wherein the target compression algorithm comprises: a medium compression coding algorithm or a light compression coding algorithm; and the sending equipment encodes the ultrahigh-definition video according to the target compression algorithm to obtain code stream data. By the method and the device, the ultrahigh-definition video can be adaptively coded by adopting different coding algorithms under different wireless channel environments, and compressed ultrahigh-frequency video data suitable for current wireless channel transmission are obtained.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.

FIG. 1 is a schematic flow chart of a method for selecting an ultra high definition video compression algorithm provided by the present application;

FIG. 2 is a schematic block diagram of a selection apparatus for an ultra high definition video compression algorithm provided in the present application;

FIG. 3 is a schematic block diagram of a selection device for an ultra high definition video compression algorithm provided by the present application;

fig. 4 is a schematic block diagram of another ultra high definition video compression algorithm selection device provided by the present application.

Detailed Description

The technical solutions in the present application will be described clearly and completely with reference to the accompanying drawings in the present application, and it is obvious that the described embodiments are some, not all embodiments of the present application. 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.

Referring to fig. 1, which is a schematic flow chart of a method for selecting an ultra high definition video compression algorithm provided by the present application, as shown in fig. 1,

s101, the sending equipment acquires channel environment information of a channel.

In the embodiment of the application, the channel is used for transmitting ultra-high definition video; among others, ultra high definition video may include, but is not limited to: ultra high definition video in YUV format or ultra high definition video in RGB format; the high definition video data may further include, but is not limited to, the following features: the resolution may be: 1080P, 4K or 8K resolution; the frame rate may be 30FPS, 60FPS, 100FPS, or 120 FPS; high Dynamic Range hdr (high Dynamic Range imaging).

The sending device acquires the channel environment information of the channel, which may include but is not limited to the following ways:

mode 1: the method comprises the steps that a sending device receives an ultra-high-definition video from a video source device through an input interface, detects environmental noise in a channel through a detection device, and obtains a signal-to-noise Ratio (SNR) of the channel according to the ultra-high-definition video in the channel and the environmental noise in the channel; or, the sending device detects the environmental noise in the channel through a detection unit in the wireless communication module, and calculates the signal-to-noise ratio of the channel according to the ultra-high-definition video in the channel and the environmental noise in the channel. Or, the sending device obtains a modulation and coding strategy index (MCS) value from a wireless communication module, and determines the signal-to-noise ratio of the channel according to the MCS value. In particular, the method comprises the following steps of,

in this embodiment, the snr of the channel may be: the ratio of the ultra high definition video in the channel to the environmental noise in the channel (e.g., the ratio of the signal power of the ultra high definition video to the noise power of the environmental noise); wherein, the ultra-high definition video comprises: ultra high definition video in YUV format, or ultra high definition video in RGB format.

Mode 2: the sending device obtains a Signal to Interference plus Noise Ratio (SINR) of the channel according to the ultra high definition video in the channel, the environmental Noise in the channel, and the Signal Interference in the channel. In particular, the method comprises the following steps of,

in the embodiment of the present application, the signal to interference plus noise ratio of the channel may be: the ratio between the ultra high definition video in the channel and the environmental noise in the channel plus the signal interference of the channel (e.g., the ratio of the signal power of the ultra high definition video to the noise power of the environmental noise plus the interference power of the interference).

Mode 3: the sending equipment acquires a Signal to Leakage and Noise ratio (SLNR) of a channel according to the ultra-high-definition video in the channel, the environmental Noise in the channel and the ultra-high-definition video leaked to other channels except the channel by the channel.

In the embodiment of the present application, the signal to leakage noise ratio of the channel may be: the ratio between the ultra high definition video in the channel and the environmental noise in the channel plus the ultra high definition video leaked in the channel (e.g., the ratio of the signal power of the ultra high definition video to the signal power of the leaked ultra high definition video plus the noise power of the environmental noise).

S102, the sending equipment determines a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information so as to realize the encoding of the ultra high definition video under the channel environment information.

In an embodiment of the present application, the multiple ultra high definition video compression algorithms include: a medium compression encoding algorithm and/or a light compression encoding algorithm; the target compression algorithm includes: a medium compression encoding algorithm or a light compression encoding algorithm.

Specifically, when the channel environment information is the signal-to-noise ratio of the channel,

the method for determining the target compression algorithm from the multiple ultra high definition video compression algorithms according to the channel environment information by the sending device to realize encoding of the ultra high definition video under the channel environment information includes the following steps:

and the sending equipment acquires the signal-to-noise ratio of the channel, and determines a target compression algorithm and a compression multiple of the target compression algorithm which are related to the signal-to-noise ratio and used for coding the ultra-high-definition video according to the signal-to-noise ratio by combining the corresponding table 1. The correspondence table 1 is a correspondence table of signal-to-noise ratios and compression algorithms in a database in the transmitting device, compression multiples of the compression algorithms, and transmission rates. Table 1 is an example of one of the above-mentioned tables 1, and the above-mentioned manner will be briefly described below with reference to table 1.

TABLE 1

As shown in table 1, after acquiring the signal-to-noise ratio of the channel, the sending device determines the target coding algorithm associated with the signal-to-noise ratio in combination with table 1, and compresses the ultra-high definition video through the target coding algorithm, it should be noted that the sending device may also determine the compression multiple of the target coding algorithm, the transmission rate of the ultra-high definition video under the signal-to-noise ratio, and the like based on the signal-to-noise ratio. The transmitting equipment determines the signal-to-noise ratio of the channel according to the MCS value obtained from the wireless communication module, and determines a target compression algorithm for coding the ultra-high-definition video and a compression multiple of the target compression algorithm, which are related to the signal-to-noise ratio, according to the signal-to-noise ratio of the channel.

It should be noted that the transmitting device may determine the MCS value according to parameters such as modulation method, coding rate, and spatial redundancy data stream.

When the channel environment information is a signal-to-noise ratio of the channel,

the method for encoding the ultra high definition video by the transmitting device includes that the transmitting device determines a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information to realize encoding of the ultra high definition video under the channel environment information, and the method further includes the following steps:

the method comprises the steps that a sending device determines a target compression algorithm and a compression multiple of the target compression algorithm from a plurality of ultra high definition video compression algorithms by comparing the signal-to-noise ratio of a channel with the size of a first threshold value and combining a corresponding table 2, so that ultra high definition video is encoded under the signal-to-noise ratio, and compression of the ultra high definition video is achieved; the correspondence table 2 is a correspondence table of signal-to-noise ratios and compression algorithms in a database in the transmitting device, compression multiples of the compression algorithms, and transmission rates. More specifically, the present invention is to provide a novel,

when the sending equipment determines that the signal-to-noise ratio of the channel is greater than the first threshold, the sending equipment can determine a light compression coding algorithm and a compression multiple of the light compression algorithm from a plurality of ultra-high definition video compression algorithms by combining the corresponding table 2 so as to realize the coding of the ultra-high definition video under the signal-to-noise ratio; the light compression coding algorithm comprises the following steps: a wavelet transform-based coding algorithm, a short-time fourier transform-based coding algorithm, or a discrete cosine transform-based coding algorithm.

When the sending equipment determines that the signal-to-noise ratio of the channel is smaller than or equal to a first threshold value, the sending equipment determines a medium compression coding algorithm and a compression multiple of the medium compression algorithm from a plurality of ultra-high definition video compression algorithms by combining the corresponding table 2 so as to realize the encoding of the ultra-high definition video under the signal-to-noise ratio; the medium compression coding algorithm comprises the following steps: an intra block copy prediction mode based coding algorithm or a wide-angle intra prediction mode based coding algorithm. Table 2 is an example of the above-mentioned method corresponding to table 2, and the above-mentioned method is briefly described with reference to table 2.

TABLE 2

As shown in table 2, after acquiring the signal-to-noise ratio of the channel, the sending device compares the signal-to-noise ratio with a first threshold, and when the sending device determines that the signal-to-noise ratio of the channel is less than or equal to the first threshold, determines a middle compression coding algorithm and a compression multiple of the middle compression algorithm from a plurality of ultra high definition video compression algorithms, so as to encode the ultra high definition video at the signal-to-noise ratio; alternatively, the first and second electrodes may be,

when the sending equipment determines that the signal-to-noise ratio of the channel is greater than a first threshold value, a light compression coding algorithm and a compression multiple of the light compression algorithm are determined from a plurality of ultra-high-definition video compression algorithms, so that the ultra-high-definition video is coded under the signal-to-noise ratio. When the channel environment information is the signal-to-interference-and-noise ratio of the channel,

the method for determining the target compression algorithm from the multiple ultra high definition video compression algorithms according to the channel environment information by the sending device to realize encoding of the ultra high definition video under the channel environment information includes the following steps:

the method comprises the steps that a sending device determines a target compression algorithm and a compression multiple of the target compression algorithm from a plurality of ultra high definition video compression algorithms by comparing the signal to interference plus noise ratio of a channel with a first threshold value and combining a corresponding table 3, so that ultra high definition video is encoded under the signal to interference plus noise ratio; the correspondence table 3 is a correspondence table of the signal to interference plus noise ratio and the compression algorithm, the compression multiple of the compression algorithm, and the transmission rate in the database in the transmitting device. More specifically, the present invention is to provide a novel,

and when the sending equipment determines that the signal to interference plus noise ratio of the channel is greater than the first threshold, the sending equipment determines a light compression coding algorithm and a compression multiple of the light compression algorithm from a plurality of ultra-high definition video compression algorithms by combining the corresponding table 3 so as to realize the encoding of the ultra-high definition video under the signal to interference plus noise ratio.

When the sending equipment determines that the signal-to-interference-and-noise ratio of the channel is smaller than or equal to the first threshold, the sending equipment determines the medium compression coding algorithm and the compression multiple of the medium compression algorithm from a plurality of ultra high definition video compression algorithms by combining the corresponding table 3, so as to realize the encoding of the ultra high definition video under the signal-to-interference-and-noise ratio.

Specifically, when the channel environment information is the signal-to-leakage-and-noise ratio of the channel,

the method for determining a target compression algorithm from a plurality of ultra high definition video compression algorithms according to channel environment information by the sending equipment to realize encoding of the ultra high definition video under the channel environment information comprises the following steps:

the method comprises the steps that a sending device determines a target compression algorithm and a compression multiple of the target compression algorithm from a plurality of ultra high definition video compression algorithms by comparing the signal-to-leakage-and-noise ratio of a channel with a first threshold value and combining a corresponding table 4, so that ultra high definition video is encoded under the signal-to-leakage-and-noise ratio; the correspondence table 4 is a correspondence table of the signal to leakage noise ratio and the compression algorithm, the compression multiple of the compression algorithm, and the transmission rate in the database in the transmitting device. More specifically, the present invention is to provide a novel,

and when the sending equipment determines that the signal-to-leakage-and-noise ratio of the channel is greater than the first threshold, the sending equipment determines a light compression coding algorithm and a compression multiple of the light compression algorithm from a plurality of ultra-high definition video compression algorithms by combining the corresponding table 4 so as to realize the encoding of the ultra-high definition video under the signal-to-leakage-and-noise ratio.

When the sending equipment determines that the signal-to-leakage-and-noise ratio of the channel is smaller than or equal to the first threshold, the sending equipment determines a medium compression coding algorithm and a compression multiple of the medium compression algorithm from the multiple ultra-high definition video compression algorithms by combining the corresponding table 4, so that the ultra-high definition video is coded under the signal-to-leakage-and-noise ratio.

S103, the sending equipment encodes the ultra-high-definition video according to a target compression algorithm to obtain code stream data.

In the embodiment of the application, the method for encoding the ultra-high-definition video by the sending device according to the target compression algorithm to obtain the code stream data includes:

mode 1: and the sending equipment encodes the ultra-high-definition video based on a wavelet transform coding algorithm to obtain code stream data. In particular, the method comprises the following steps of,

step 1: the sending equipment carries out wavelet transformation on the ultra-high definition video to obtain a wavelet transformation coefficient;

specifically, the sending device may perform discrete wavelet transform, i.e., horizontal 1-5 layer decomposition and vertical 2-3 layer decomposition, on pixel values of two lines of pixels in each frame of image in the ultra high definition video in RGB format or YUV format based on the following wavelets to obtain wavelet transform coefficients. Wherein, the wavelet may include but is not limited to: haar wavelets, daubechies (dbn) wavelets, Mexihat wavelets, Morlet wavelets, Meyer wavelets. Wherein, the wavelet may include but is not limited to: haar wavelets, daubechies (dbn) wavelets, Mexihat wavelets, Morlet wavelets, Meyer wavelets.

Step 2: the sending equipment quantizes the wavelet transform coefficients to obtain quantized data;

the transmitting apparatus may quantize the wavelet transform coefficients based on a target quantization step size, which is obtained according to a quantization formula, to obtain quantized data.

And step 3: and the sending equipment carries out entropy coding on the quantized data to obtain code stream data.

Specifically, the sending equipment performs zigzag scanning on the quantized data to obtain a series of numbers, so that the quantized data is reduced from two dimensions to one dimension; then, the transmitting device entropy encodes the series of numbers to finally obtain code stream data. In summary, the ultrahigh-definition video is encoded through the target compression algorithm, and the ultrahigh-definition video can be compressed.

Mode 2: and the sending equipment encodes the ultra-high-definition video based on a short-time Fourier transform encoding algorithm to obtain code stream data.

Mode 3: and the sending equipment encodes the ultra-high-definition video based on a Fourier transform encoding algorithm to obtain code stream data.

Mode 4: the sending device encodes the ultra-high-definition video based on a Discrete Cosine Transform (DCT) encoding algorithm to obtain code stream data.

And the transmitting equipment encodes the ultra-high-definition video based on a VDC-M encoding algorithm to obtain code stream data. In particular, the method comprises the following steps of,

the VDC-M encoding algorithm may include, but is not limited to, the following encoding processes:

step 1: the sending equipment detects the flatness of the ultra-high definition video;

step 2: performing discrete cosine transform on the ultra-high definition video, and determining a prediction mode;

and step 3: and entropy coding the transformation coefficient to obtain code stream data.

It should be noted that the sending device may further encode the ultra-high-definition video based on a JPEG-XS encoding algorithm to obtain code stream data.

It should be noted that the sending device may further encode the ultra-high-definition video based on a JPEG-LS encoding algorithm to obtain code stream data.

Mode 5: and the transmitting equipment encodes the ultra-high-definition video based on an encoding algorithm of an intra-frame block copy prediction mode to obtain code stream data. In particular, the method comprises the following steps of,

step 1: the transmitting device divides each frame image in the ultra-high-definition video so that each frame image is divided into a plurality of intra-frame blocks.

More specifically, the sending device divides each frame image in the ultra high definition video to obtain a plurality of maximum coding units, and then divides each maximum coding unit into different sizes to obtain a plurality of intra blocks.

Step 2: and the sending equipment predicts the current intra block based on the intra block copy prediction mode to obtain the predicted value of the current frame. In particular, the method comprises the following steps of,

the sending equipment copies a target intra block of a frame image where the current intra block is located as a predicted value of the current frame; the target intra block is a coded intra block; alternatively, the first and second electrodes may be,

the transmitting device copies one intra block of a plurality of target intra blocks of a frame image in which the current intra block is located, as a predicted value of the current frame.

And step 3: and the sending equipment performs difference operation on the predicted value of the current frame intra block and the true value of the current frame intra block to obtain a residual block, and transforms the residual block to obtain a transformation coefficient. In particular, the method comprises the following steps of,

the sending equipment carries out difference operation on the predicted value of the current frame inner block and the real value of the current frame inner block to obtain a residual block, and carries out short-time Fourier transform on the residual block to obtain a short-time discrete Fourier transform coefficient; alternatively, the first and second electrodes may be,

the sending device performs difference operation on the predicted value of the current frame intra block and the true value of the current frame intra block to obtain a residual block, and performs Discrete Sine Transform (DST) on the residual block to obtain a Discrete Sine Transform coefficient.

And 4, step 4: and the sending equipment quantizes the transformation coefficient to obtain quantized data.

The transmitting device may quantize the transform coefficient based on a target quantization step size to obtain quantized data, wherein the transmitting device may obtain the target quantization step size according to a quantization formula.

It should be noted that the transform coefficient has a larger value range, and after the quantization process, the value range of the transform coefficient can be reduced, so as to implement compression on data.

And 5: and the sending equipment carries out entropy coding on the quantized data to obtain code stream data.

Specifically, the sending equipment performs zigzag scanning on the quantized data to obtain a series of numbers, so that the quantized data is reduced from two dimensions to one dimension; then, the transmitting device entropy encodes the series of numbers through the first integrated circuit, and finally code stream data can be obtained.

The sending device entropy encodes the quantized data to obtain code stream data, which may include, but is not limited to, the following ways:

route 1: the sending equipment encodes the quantized data based on a run-length encoding algorithm to obtain code stream data;

route 2: the transmitting equipment encodes the quantized data based on a Huffman encoding algorithm to obtain code stream data;

route 3: the sending equipment encodes the quantized data based on a constant block encoding algorithm of the binary image to obtain code stream data;

route 4: and the sending equipment encodes the quantized data through the first integrated circuit based on a quad-tree coding algorithm to obtain code stream data.

Route 5: and the sending equipment encodes the quantized data based on a context-based adaptive variable length coding algorithm to obtain code stream data.

Route 6: and the sending equipment encodes the quantized data based on the context-based adaptive binary arithmetic algorithm to obtain code stream data.

It should be noted that the sending device may further encode the ultra high definition video based on an HEVC-SCC encoding algorithm to obtain code stream data.

Mode 6: and the transmitting equipment encodes the ultra-high-definition video based on a coding algorithm of a wide-angle intra-frame prediction mode to obtain code stream data. In particular, the method comprises the following steps of,

since the intra block may be a rectangular block, the use probability of the reference pixel above the horizontal class of intra blocks (wider than wider) is greater than that of the left reference pixel, and the use probability of the reference pixel above the vertical class of intra blocks (wider than wider) is less than that of the left reference pixel.

It should be noted that, after the sending device encodes the ultra-high-definition video according to the target compression algorithm and obtains code stream data, the following transmission modes are also included:

transmission mode 1: and the sending equipment encapsulates the code stream data to obtain a data packet, and sends the data packet to the receiving equipment through a 5G communication module integrated in the sending equipment. The transmission rate of the 5G communication module is not lower than a first threshold value; preferably, the first threshold is 100Mbps, 300Mbps, 500Mbps, or 1 Gbps. In particular, the method comprises the following steps of,

the method for encapsulating the code stream data by the sending device to obtain the data packet may include the following encapsulation methods:

packaging mode 1: the sending equipment encapsulates the code stream data based on a User Datagram Protocol (UDP) communication Protocol to obtain a UDP data packet;

specifically, the sending device adds a UDP data packet header and a UDP data packet trailer to the front and rear positions of the code stream data based on the UDP protocol, and obtains a UDP data packet including the code stream data, the UDP protocol header, and the UDP protocol trailer. The UDP header or the UDP trailer may include control information such as a destination address, a source address, a port number, and a flag bit.

Packaging mode 2: the sending device encapsulates the code stream data based on a TCP (Transmission control protocol) communication protocol to obtain a TCP data packet.

Packaging mode 3: the sending device can also package the code stream data and the acquired control instruction based on a custom protocol to obtain a custom data packet.

Transmission mode 2: the sending equipment encapsulates the code stream data to obtain a data packet, and the data packet is sent to the base station through a 5G communication module integrated in the sending equipment, and the base station is used for forwarding the data packet to the receiving equipment.

It should be noted that the 5G communication module integrates a plurality of antennas, in other words, the 5G communication module adopts an aip (antenna in package) technology to encapsulate the plurality of antennas inside, and utilizes a large-scale Multiple Input Multiple Output (MIMO) technology, so as to increase the transmission rate of the protocol stream data and reduce the transmission delay. The 5G communication module is integrated with network interfaces such as: RGMII, GMII interface, etc.

In addition, the 5G communication module optimizes the structure design of the radio frame, that is, designs the data format of the protocol data stream input to the 5G communication module, that is, reduces the Transmission Time Interval (TTI).

In addition, the 5G communication module also adopts a channel coding technology in a convolutional code coding form.

In summary, the transmission rate of the ultra-high definition video in the embodiment of the present application can be improved by using the Aip technology to perform multi-antenna layout, performing optimal design on the frame format of the data, and using the channel coding technology in the form of convolutional code coding.

When the reception apparatus includes: the first receiving device and the second receiving device,

the data packet is sent to the receiving device through the 5G communication module, and the following processes can be included:

the data packets are respectively sent to the first receiving device and the second receiving device through the 5G communication module.

When the base station includes: when the first base station and the second base station are in use,

the data packet is transmitted to the base station through the 5G communication module, and the following processes can be included:

the data packet is sent to the first base station through the 5G communication module, forwarded to the second base station through the first base station, and forwarded to the receiving device through the second base station.

Transmission mode 3: and the sending equipment encapsulates the code stream data to obtain a data packet, and sends the data packet to the receiving equipment through a WIFI module integrated in the sending equipment. The transmission rate of the WIFI module is not lower than a first threshold value, and the WIFI module is integrated with a network interface such as: USB interface, RGMII, GMII interface, etc. The WIFI module may include: a WIFI4 communication module, a WIFI5 communication module or a WIFI6 communication module. It should be noted that the sending device may further receive, through the 5G communication module or the WIFI module, the preset data packet sent by the receiving device, and after decapsulating the preset data packet, obtain a preset control instruction, where the preset control instruction is used to control a video source device connected to the sending device (for example, the video source device is turned on or turned off). The sending equipment can send the preset control instruction to video source equipment coupled with the sending equipment through the infrared transmitting head.

In summary, according to the embodiments of the present application, the sending device can adaptively encode the ultra high definition video by using different encoding algorithms in different wireless channel environments, so as to compress the ultra high definition video, obtain compressed code stream data suitable for current wireless channel transmission, and send the compressed code stream data through the wireless communication network after encapsulating the code stream data into a data packet.

Referring to fig. 2, which is a schematic block diagram of a structure of a selection apparatus for ultra high definition video compression algorithm provided in the present application, as shown in fig. 2, the selection apparatus 20 may include, but is not limited to: acquisition section 201, determination section 202, and encoding section 203. It should be noted that the selection means 20 may be the sending device in the embodiment of fig. 1.

An obtaining unit 201, configured to obtain channel environment information of a channel; wherein the channel is used for transmitting ultra high definition video;

a determining unit 202, configured to determine a target compression algorithm from multiple ultra high definition video compression algorithms according to the channel environment information, so as to encode the ultra high definition video under the channel environment information; wherein the plurality of ultra high definition video compression algorithms comprise: a medium compression encoding algorithm and/or a light compression encoding algorithm; the target compression algorithm includes: a medium compression coding algorithm or a light compression coding algorithm; .

And the encoding unit 203 may be configured to encode the ultra-high-definition video according to a target compression algorithm to obtain code stream data.

The obtaining unit 201 may be specifically configured to:

acquiring the signal-to-noise ratio of a channel according to the ultra-high-definition video in the channel and the environmental noise in the channel; alternatively, the first and second electrodes may be,

acquiring the signal-to-interference-and-noise ratio of a channel according to the ultra-high-definition video in the channel, the environmental noise in the channel and the signal interference in the channel; alternatively, the first and second electrodes may be,

acquiring a signal-to-leakage-and-noise ratio of a channel according to the ultra-high-definition video in the channel, the environmental noise in the channel and the ultra-high-definition video leaked from the channel;

the ultra-high definition video comprises: ultra high definition video in YUV format, or ultra high definition video in RGB format.

The determining unit 202 may specifically be configured to:

when the channel environment information is a signal-to-noise ratio of the channel,

and acquiring the signal-to-noise ratio of the channel, and determining a target compression algorithm for coding the ultra-high-definition video and a compression multiple of the target compression algorithm which are related to the signal-to-noise ratio according to the corresponding table 1. The correspondence table 1 is a correspondence table of signal-to-noise ratios and compression algorithms in a database in the transmitting device, compression multiples of the compression algorithms, and transmission rates.

When the channel environment information is a signal-to-noise ratio of the channel,

determining a target compression algorithm and a compression multiple of the target compression algorithm from a plurality of ultra high definition video compression algorithms by comparing the signal-to-noise ratio of a channel with the size of a first threshold value and combining a corresponding table 2, so as to realize encoding of the ultra high definition video under the signal-to-noise ratio; the correspondence table 2 is a correspondence table of signal-to-noise ratios and compression algorithms in a database in the transmitting device, compression multiples of the compression algorithms, and transmission rates.

When the signal to noise ratio of the channel is larger than a first threshold value, determining a light compression coding algorithm and a compression multiple of the light compression algorithm from a plurality of ultra high definition video compression algorithms by combining the corresponding table 2 so as to realize the encoding of the ultra high definition video under the signal to noise ratio; the light compression coding algorithm comprises the following steps: a wavelet transform-based coding algorithm, a short-time fourier transform-based coding algorithm, or a discrete cosine transform-based coding algorithm.

When the signal to noise ratio of the channel is determined to be smaller than or equal to the first threshold, determining a medium compression coding algorithm and a compression multiple of the medium compression algorithm from a plurality of ultra high definition video compression algorithms by combining the corresponding table 2 so as to realize the encoding of the ultra high definition video under the signal to noise ratio; the medium compression coding algorithm comprises the following steps: an intra block copy prediction mode based coding algorithm or a wide-angle intra prediction mode based coding algorithm.

The determining unit 202 is specifically further configured to:

when the channel environment information is the signal-to-interference-and-noise ratio of the channel,

determining a target compression algorithm and a compression multiple of the target compression algorithm from a plurality of ultra high definition video compression algorithms by comparing the signal to interference plus noise ratio of a channel with the size of a first threshold value and combining a corresponding table 3 so as to realize encoding of the ultra high definition video under the signal to interference plus noise ratio; the correspondence table 3 is a correspondence table of the signal to interference plus noise ratio and the compression algorithm, the compression multiple of the compression algorithm, and the transmission rate in the database in the transmitting device.

And when the signal-to-interference-and-noise ratio of the channel is determined to be larger than the first threshold, determining a light compression coding algorithm and a compression multiple of the light compression algorithm from the plurality of ultra-high definition video compression algorithms by combining the corresponding table 3, so as to realize the encoding of the ultra-high definition video under the signal-to-interference-and-noise ratio.

When the signal to interference plus noise ratio of the channel is determined to be smaller than or equal to the first threshold, a middle compression coding algorithm and a compression multiple of the middle compression algorithm are determined from the multiple ultra high definition video compression algorithms by combining the corresponding table 3, so that the ultra high definition video is coded under the signal to interference plus noise ratio

The determining unit 202 is specifically further configured to:

when the channel environment information is the signal-to-leakage-and-noise ratio of the channel,

determining a target compression algorithm and a compression multiple of the target compression algorithm from a plurality of ultra high definition video compression algorithms by comparing the signal-to-leakage-noise ratio of a channel with the size of a first threshold value and combining a corresponding table 4, so as to realize encoding of the ultra high definition video under the signal-to-leakage-noise ratio; the correspondence table 4 is a correspondence table of the signal to leakage noise ratio and the compression algorithm, the compression multiple of the compression algorithm, and the transmission rate in the database in the transmitting device.

When the signal-to-leakage-and-noise ratio of the channel is determined to be larger than the first threshold, determining a light compression coding algorithm and a compression multiple of the light compression algorithm from a plurality of ultra-high definition video compression algorithms by combining the corresponding table 4 so as to realize the encoding of the ultra-high definition video under the signal-to-leakage-and-noise ratio; the light compression coding algorithm comprises the following steps: a wavelet transform-based coding algorithm, a short-time fourier transform-based coding algorithm, or a discrete cosine transform-based coding algorithm.

And when the signal-to-leakage-and-noise ratio of the channel is determined to be smaller than or equal to the first threshold, determining a medium compression coding algorithm and a compression multiple of the medium compression algorithm from the plurality of ultra-high definition video compression algorithms by combining the corresponding table 4, so as to realize the encoding of the ultra-high definition video under the signal-to-leakage-and-noise ratio.

The encoding unit 203 is specifically configured to:

coding the ultra-high definition video based on a wavelet transform coding algorithm to obtain code stream data; and coding the ultra-high definition video based on a short-time Fourier transform coding algorithm to obtain code stream data.

And coding the ultra-high-definition video based on a coding algorithm of Fourier transform to obtain code stream data.

The ultrahigh-definition video is encoded based on a Discrete Cosine Transform (DCT) encoding algorithm to obtain code stream data.

And coding the ultra-high definition video based on a coding algorithm of an intra-frame block copy prediction mode to obtain code stream data.

And coding the ultra-high definition video based on a coding algorithm of a wide-angle intra-frame prediction mode to obtain code stream data.

The transmitting device 20 may include, but is not limited to: the acquiring unit 201, the determining unit 202, and the encoding unit 203 may further include: an encapsulation unit 204 and a communication unit 205; wherein the content of the first and second substances,

an encapsulation unit 204 operable to: packaging the code stream data to obtain a data packet;

the encapsulation unit 204 may be specifically configured to: encapsulating based on a User Datagram Protocol (UDP) communication Protocol to obtain a UDP data packet; packaging based on a TCP (Transmission Control Protocol) communication Protocol to obtain a TCP data packet; or, the code stream data and the acquired control instruction are packaged based on a custom protocol to obtain a custom data packet.

A communication unit 205 for: sending the data packet to a receiving device; here, the communication unit 205 may include: the 5G communication module, or a WIFI5 communication module and a WIFI6 communication module;

a communication unit 205 for: sending the data packet to a base station, wherein the base station is used for forwarding the data packet to the receiving equipment; here, the communication unit 205 includes: 5G communication module.

It should be understood that the sending apparatus 20 is only one example provided in the embodiments of the present application, and the sending apparatus 20 may have more or less components than those shown, may combine two or more components, or may have different configurations of components.

It can be understood that, regarding the specific implementation of the functional components included in the transmitting device 20 of fig. 2, reference may be made to the embodiment of fig. 1, and details are not repeated here.

Referring to fig. 3, which is a schematic block diagram of a structure of a selection device for an ultra high definition video compression algorithm provided in the present application, it should be noted that the selection device 30 in fig. 3 may be a sending device in the embodiment of fig. 1, and the selection device 30 may be used to execute the description in the embodiment of fig. 1.

As shown in FIG. 3, the selection device 30 may include, but is not limited to: a memory 301, a processor 302 coupled to the memory 301, and a 5G communication module 303 coupled to the processor 302.

A memory 301 operable to: an application program instruction;

a processor 302 operable to: the application program instructions stored in the memory 301 are called to implement the selection method of the ultra high definition video compression algorithm described in fig. 1.

The 5G communication module 303 may be configured to send, according to the code stream data obtained after the compression by the target compression algorithm in the method for selecting the ultra high definition video compression algorithm described in fig. 1. The 5G communication module is integrated with network interfaces such as: RGMII, GMII interface, etc.

The processor 302 may be specifically configured to:

acquiring channel environment information of a channel; wherein, the channel is used for transmitting ultra-high definition video;

determining a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information so as to realize encoding of the ultra high definition video under the channel environment information; wherein the target compression algorithm comprises: a medium compression coding algorithm or a light compression coding algorithm; it should be noted that the above multiple ultra high definition video compression algorithms include: medium compression coding algorithms and/or light compression coding algorithms.

And coding the ultra-high-definition video according to a target compression algorithm to obtain code stream data.

More specifically, the processor 302 may be configured to:

acquiring the signal-to-noise ratio of a channel according to the ultra-high-definition video in the channel and the environmental noise in the channel; alternatively, the first and second electrodes may be,

acquiring the signal-to-interference-and-noise ratio of a channel according to the ultra-high-definition video in the channel, the environmental noise in the channel and the signal interference in the channel; alternatively, the first and second electrodes may be,

and acquiring the signal-to-leakage-and-noise ratio of the channel according to the ultra-high-definition video in the channel, the environmental noise in the channel and the ultra-high-definition video leaked from the channel.

More specifically, the processor 302 may be configured to:

when the channel environment information is a signal-to-noise ratio of the channel,

and acquiring the signal-to-noise ratio of the channel, and determining a target compression algorithm for coding the ultra-high-definition video and a compression multiple of the target compression algorithm which are related to the signal-to-noise ratio according to the corresponding table 1. The correspondence table 1 is a correspondence table of signal-to-noise ratios and compression algorithms in a database in the transmitting device, compression multiples of the compression algorithms, and transmission rates.

When the channel environment information is a signal-to-noise ratio of the channel,

determining a target compression algorithm and a compression multiple of the target compression algorithm from a plurality of ultra high definition video compression algorithms by comparing the signal-to-noise ratio of a channel with the size of a first threshold value and combining with a corresponding table 2, so as to realize encoding of the ultra high definition video under the signal-to-noise ratio; the correspondence table 2 is a correspondence table of signal-to-noise ratios and compression algorithms in a database in the transmitting device, compression multiples of the compression algorithms, and transmission rates.

When the signal to noise ratio of the channel is larger than a first threshold value, determining a light compression coding algorithm and a compression multiple of the light compression algorithm from a plurality of ultra high definition video compression algorithms by combining the corresponding table 2 so as to realize the encoding of the ultra high definition video under the signal to noise ratio; the light compression coding algorithm comprises the following steps: a wavelet transform-based coding algorithm, a short-time fourier transform-based coding algorithm, or a discrete cosine transform-based coding algorithm.

When the signal to noise ratio of the channel is smaller than or equal to a first threshold value, determining a middle compression coding algorithm and a compression multiple of the middle compression algorithm from a plurality of ultra high definition video compression algorithms by combining the corresponding table 2 so as to realize the encoding of the ultra high definition video under the signal to noise ratio; the medium compression coding algorithm comprises the following steps: an intra block copy prediction mode based coding algorithm or a wide-angle intra prediction mode based coding algorithm.

More specifically, the processor 302 may be configured to:

when the channel environment information is the signal-to-interference-and-noise ratio of the channel,

determining a target compression algorithm and a compression multiple of the target compression algorithm from a plurality of ultra high definition video compression algorithms by comparing the signal to interference plus noise ratio of a channel with the size of a first threshold value and combining a corresponding table 3, so as to realize encoding of the ultra high definition video under the signal to interference plus noise ratio; the correspondence table 3 is a correspondence table of the signal to interference plus noise ratio and the compression algorithm, the compression multiple of the compression algorithm, and the transmission rate in the database in the transmitting device.

And when the signal to interference plus noise ratio of the channel is determined to be larger than the first threshold, determining the light compression coding algorithm and the compression multiple of the light compression algorithm from a plurality of ultra high definition video compression algorithms by combining the corresponding table 3, so as to realize the encoding of the ultra high definition video under the signal to interference plus noise ratio.

And when the signal to interference plus noise ratio of the channel is determined to be less than or equal to the first threshold, determining the medium compression coding algorithm and the compression multiple of the medium compression algorithm from a plurality of ultra high definition video compression algorithms by combining the corresponding table 3, so as to realize the encoding of the ultra high definition video under the signal to interference plus noise ratio.

More specifically, the processor 302 may be configured to:

when the channel environment information is the signal-to-leakage-and-noise ratio of the channel,

determining a target compression algorithm and a compression multiple of the target compression algorithm from a plurality of ultra high definition video compression algorithms by comparing the signal-to-leakage-noise ratio of a channel with the size of a first threshold value and combining a corresponding table 4, so as to realize encoding of the ultra high definition video under the signal-to-leakage-noise ratio; the correspondence table 4 is a correspondence table of the signal to leakage noise ratio and the compression algorithm, the compression multiple of the compression algorithm, and the transmission rate in the database in the transmitting device.

When the signal-to-leakage-and-noise ratio of the channel is larger than a first threshold value, determining a light compression coding algorithm and a compression multiple of the light compression algorithm from a plurality of ultra-high definition video compression algorithms by combining with a corresponding table 4 so as to realize the encoding of the ultra-high definition video under the signal-to-leakage-and-noise ratio; the light compression coding algorithm comprises the following steps: a wavelet transform-based coding algorithm, a short-time fourier transform-based coding algorithm, or a discrete cosine transform-based coding algorithm.

And when the signal-to-leakage-and-noise ratio of the channel is determined to be less than or equal to the first threshold, determining a medium compression coding algorithm and a compression multiple of the medium compression algorithm from the plurality of ultra-high definition video compression algorithms by combining the corresponding table 4, so as to realize the encoding of the ultra-high definition video under the signal-to-leakage-and-noise ratio.

More specifically, the processor 302 may be configured to:

coding the ultra-high definition video based on a wavelet transform coding algorithm to obtain code stream data; and coding the ultra-high definition video based on a short-time Fourier transform coding algorithm to obtain code stream data.

And coding the ultra-high-definition video based on a coding algorithm of Fourier transform to obtain code stream data.

The ultrahigh-definition video is encoded based on a Discrete Cosine Transform (DCT) encoding algorithm to obtain code stream data.

And coding the ultra-high definition video based on a coding algorithm of an intra-frame block copy prediction mode to obtain code stream data.

And coding the ultra-high definition video based on a coding algorithm of a wide-angle intra-frame prediction mode to obtain code stream data.

The processor 302 is further operable to: packaging the code stream data to obtain a data packet;

the 5G communication module 303 may be specifically configured to:

sending the data packet to a receiving device; alternatively, the first and second electrodes may be,

and sending the data packet to a base station, wherein the base station is used for forwarding the data packet to a receiving device.

When the reception apparatus includes: the first receiving device and the second receiving device,

the 5G communication module 303 may be specifically configured to:

and respectively sending the data packet to a first receiving device and a second receiving device.

When the base station includes: when the first base station and the second base station are in use,

the 5G communication module 303 may be specifically configured to:

and sending the data packet to the first base station, forwarding the data packet to the second base station through the first base station, and forwarding the data packet to the receiving equipment through the second base station.

It should be understood that the selection device 30 is only one example provided by the embodiments of the present application, and that the selection device 30 may have more or less components than those shown, may combine two or more components, or may have a different configuration implementation of components.

It can be understood that, regarding the specific implementation of the functional components included in the selection device 30 of fig. 3, reference may be made to the embodiment of fig. 1, and details are not repeated here.

Referring to fig. 4, which is a schematic block diagram of a structure of a selection device for an ultra high definition video compression algorithm provided in the present application, it should be noted that the selection device 40 in fig. 4 may be a sending device in the embodiment of fig. 1, and the selection device 40 may be used to execute the description in the embodiment of fig. 1.

As shown in FIG. 4, the selection device 40 may include, but is not limited to: memory 401, processor 402 coupled with memory 401, and WIFI module 403 coupled with processor 402.

A memory 401 operable to: an application program instruction;

a processor 402 operable to: the application program instructions stored in the memory 401 are called to implement the selection method of the ultra high definition video compression algorithm described in fig. 1.

The WIFI module 403 may be configured to send, to the receiving device, code stream data obtained after compression according to the target compression algorithm in the method for selecting an ultra high definition video compression algorithm described in fig. 1. The WIFI module is integrated with a network interface such as: USB interface, RGMII, GMII interface, etc. The transmission rate of the WIFI module is not lower than a first threshold; the WIFI module may include: a WIFI4 communication module, a WIFI5 communication module or a WIFI6 communication module.

A processor 402 operable to:

acquiring channel environment information of a channel; wherein, the channel is used for transmitting ultra-high definition video;

determining a target compression algorithm from a plurality of ultra high definition video compression algorithms according to the channel environment information so as to realize encoding of the ultra high definition video under the channel environment information; wherein the target compression algorithm comprises: a medium compression coding algorithm or a light compression coding algorithm; it should be noted that the above multiple ultra high definition video compression algorithms include: medium compression coding algorithms and/or light compression coding algorithms.

And coding the ultra-high-definition video according to a target compression algorithm to obtain code stream data.

Processor 402, further operable to: packaging the code stream data to obtain a data packet;

the WIFI module 403 may be specifically configured to: sending the data packet to a receiving device;

in this embodiment of the application, the specific implementation of the function of the processor 402 may refer to the specific implementation of the processor 302 in the embodiment of fig. 3, and is not described herein again.

It should be understood that the selection device 40 is only one example provided by the embodiments of the present application, and that the selection device 40 may have more or less components than those shown, may combine two or more components, or may have a different configuration implementation of components.

It is understood that, with regard to the definition or specific implementation of the functional components included in the selection device 40 in fig. 4, reference may be made to the embodiments in fig. 1 and fig. 3, which are not described herein again.

A computer-readable storage medium stores a computer program, which is implemented when executed by a processor.

The computer readable storage medium may be an internal storage unit of the sending device, such as a hard disk or a memory of the sending device, according to the foregoing method embodiments. The computer readable storage medium may also be an external storage device of the receiving device, such as a plug-in hard disk provided on the receiving device, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the computer-readable storage medium may also include both an internal storage unit of the transmitting device and an external storage device. The computer-readable storage medium is used for storing a computer program and other programs and data required by the terminal. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.

Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.

It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

The above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and other divisions may be realized in practice, for example, a plurality of modules or components may be combined or integrated into another apparatus, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices, apparatuses or modules, and may also be an electrical, mechanical or other form of connection.

The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the embodiments of the present application.

In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.

The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially or partially contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.

While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种无需运动补偿的压缩视频多帧质量增强方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!

技术分类