CN115883877A - A method and system for transmitting ultra-high-definition video streams - Google Patents

A method and system for transmitting ultra-high-definition video streams Download PDF

Info

Publication number
CN115883877A
CN115883877A CN202211481886.7A CN202211481886A CN115883877A CN 115883877 A CN115883877 A CN 115883877A CN 202211481886 A CN202211481886 A CN 202211481886A CN 115883877 A CN115883877 A CN 115883877A
Authority
CN
China
Prior art keywords
ultra
definition video
transmission
video stream
difference image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211481886.7A
Other languages
Chinese (zh)
Inventor
张玉新
蔡存民
林德举
张祺
张伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Digital Shandong Technology Co Ltd
Original Assignee
Inspur Digital Shandong Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Digital Shandong Technology Co Ltd filed Critical Inspur Digital Shandong Technology Co Ltd
Priority to CN202211481886.7A priority Critical patent/CN115883877A/en
Publication of CN115883877A publication Critical patent/CN115883877A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention provides a transmission method and a system of ultra-high definition video stream, which relate to the technical field of signal processing, and the method comprises the following steps: receiving an ultra high definition video stream; intercepting a plurality of frames of video images from an ultra-high definition video stream, and performing difference recombination on pictures of adjacent frames of images in the video images to obtain a difference image sequence; monitoring performance load parameters and network transmission parameters in real time, and switching corresponding encoding and decoding modes according to the performance load parameters to perform image compression on the difference image sequence; determining the data packet amount and the network transmission protocol of the compressed difference image sequence according to the network transmission parameters; and transmitting the compressed difference image sequence to a display end according to the data packet quantity and a transmission protocol, and realizing stable transmission and smooth display of the ultra-high-definition video stream by the mode.

Description

一种超高清视频流的传输方法及系统A method and system for transmitting ultra-high-definition video streams

技术领域technical field

本发明属于信号处理技术领域,尤其涉及一种超高清视频流的传输方法及系统。The invention belongs to the technical field of signal processing, and in particular relates to a method and system for transmitting ultra-high-definition video streams.

背景技术Background technique

本部分的陈述仅仅是提供了与本发明相关的背景技术信息,不必然构成已经成为本领域一般技术人员所公知的现有技术。The statements in this section merely provide background technical information related to the present invention, and do not necessarily constitute prior art that is already known to those skilled in the art.

随着高速网络的普及,以及拍摄设备、显示设备的不断迭代更新,视频的规格也逐渐提升到新的高度,视频的分辨率从原来的4K提升到8K,超高清视频拥有着更加强大的动态捕捉能力,同时也为用户提供更加舒适的视觉享受。With the popularization of high-speed networks, and the continuous iterative update of shooting equipment and display equipment, video specifications have gradually increased to new heights, video resolution has been increased from the original 4K to 8K, and ultra-high-definition video has more powerful dynamics. Capture ability, but also provide users with more comfortable visual enjoyment.

然而,超高清视频对于传输和显示过程的要求远高于传统的视频技术,8K分辨率动态视频在传输过程中涉及视频截取、视频图像压缩、网络数据传输、视频图像解码以及视频图像渲染显示等技术。各项技术在对8K高分辨率的支持上同样存在无法高效支持的问题,如截取图像慢、编解码低效、网络传输数据量大等,从而导致传输的图像显示卡顿、花屏,严重影响用户的体验度。However, ultra-high-definition video has much higher requirements for the transmission and display process than traditional video technologies. The transmission process of 8K resolution dynamic video involves video interception, video image compression, network data transmission, video image decoding, and video image rendering and display. technology. Various technologies also have problems in supporting 8K high resolution, such as slow capture of images, inefficient encoding and decoding, large amount of network transmission data, etc., resulting in the transmission of image display freezes and blurred screens, seriously affecting User experience.

发明内容Contents of the invention

为了解决上述问题,本发明提供一种超高清视频流的传输方法及系统,用以解决现有视频传输过程中的视频画面截取速度慢、编解码低效、画面不清晰的问题,实现超高清视频流的稳定传输和流畅显示,从而提高用户的体验度。In order to solve the above problems, the present invention provides a method and system for transmitting ultra-high-definition video streams, which are used to solve the problems of slow video image capture speed, inefficient encoding and decoding, and unclear images in the existing video transmission process, and realize ultra-high-definition Stable transmission and smooth display of video streams, thereby improving user experience.

为了实现上述目的,本发明主要包括以下几个方面:In order to achieve the above object, the present invention mainly includes the following aspects:

第一方面,本发明实施例提供一种超高清视频流的传输方法,包括:In a first aspect, an embodiment of the present invention provides a method for transmitting an ultra-high-definition video stream, including:

接收超高清视频流;Receive ultra-high-definition video streams;

从所述超高清视频流中截取多帧的视频图像,对所述视频图像中各相邻帧的画面进行差异重组,得到差异图像序列;Intercepting multiple frames of video images from the ultra-high-definition video stream, performing differential reorganization on pictures of each adjacent frame in the video image, to obtain a sequence of differential images;

实时监测性能负载参数和网络传输参数,根据所述性能负载参数切换相应的编解码方式对所述差异图像序列进行图像压缩;以及,根据所述网络传输参数,确定压缩后的差异图像序列的数据包量和网络传输协议;Real-time monitoring of performance load parameters and network transmission parameters, switching the corresponding encoding and decoding methods according to the performance load parameters to perform image compression on the difference image sequence; and, according to the network transmission parameters, determining the data of the compressed difference image sequence Packet volume and network transport protocol;

按照所述数据包量和传输协议将压缩后的差异图像序列传输至显示端。The compressed difference image sequence is transmitted to the display terminal according to the data packet size and transmission protocol.

在一种可能的实施方式中,针对所述视频图像中任意两个相邻帧,采用隔行扫描的方式对两个相邻帧图像的画面进行差异比对,对相邻差异的行数进行合并得到差异图像;多个所述差异图像组成差异图像序列。In a possible implementation manner, for any two adjacent frames in the video image, the interlaced scanning method is used to compare the differences between the pictures of the two adjacent frame images, and the number of adjacent difference lines is merged A difference image is obtained; a plurality of the difference images form a sequence of difference images.

在一种可能的实施方式中,所述性能负载参数包括但不限于CPU占用率、内存占用率和GPU占用率中的一个或多个;获取所述性能负载参数的标准值,根据所监测的性能负载参数相对于所述标准值的变化范围确定用于进行图像压缩的编解码方式。In a possible implementation manner, the performance load parameter includes but not limited to one or more of CPU occupancy, memory occupancy, and GPU occupancy; the standard value of the performance load parameter is obtained, and according to the monitored The variation range of the performance load parameter relative to the standard value determines the codec method used for image compression.

在一种可能的实施方式中,所述编解码方式包括但不限于jpg2000、H264、H265中的一个或多个。In a possible implementation manner, the codec mode includes but is not limited to one or more of jpg2000, H264, and H265.

在一种可能的实施方式中,所述网络传输参数包括网络带宽占用率和网络丢包率;在所述网络带宽占用率高于预设占用率阈值,且网络丢包率超出第一预设丢包率阈值的情况下,调整数据包量。In a possible implementation manner, the network transmission parameters include a network bandwidth occupancy rate and a network packet loss rate; when the network bandwidth occupancy rate is higher than a preset occupancy threshold, and the network packet loss rate exceeds a first preset When the packet loss rate threshold is set, adjust the packet volume.

在一种可能的实施方式中,所述数据包量的调整方式包括:调整发送数据包的延迟时间,和/或,增加/减少缓存队列。In a possible implementation manner, the manner of adjusting the amount of data packets includes: adjusting a delay time for sending data packets, and/or increasing/decreasing buffer queues.

在一种可能的实施方式中,所述网络传输协议包括组播协议和单播协议;初始时采用组播协议进行差异图像序列的传输,在所述网络丢包率超出第二预设丢包率阈值且持续时间超出预设时间间隔的情况下,将组播协议切换至单播协议。In a possible implementation manner, the network transmission protocol includes a multicast protocol and a unicast protocol; initially, the multicast protocol is used to transmit the difference image sequence, and when the network packet loss rate exceeds the second preset packet loss When the rate threshold exceeds the preset time interval, switch the multicast protocol to the unicast protocol.

第二方面,本发明实施例还提供了一种超高清视频流的传输系统,包括:In the second aspect, the embodiment of the present invention also provides a transmission system for ultra-high-definition video streams, including:

接收模块,用于接收超高清视频流;A receiving module, configured to receive ultra-high-definition video streams;

截取模块,用于从所述超高清视频流中截取多帧的视频图像,对所述视频图像中各相邻帧图像的画面进行差异重组,得到差异图像序列;An intercepting module, configured to intercept multiple frames of video images from the ultra-high-definition video stream, and perform differential reorganization on the pictures of each adjacent frame image in the video image to obtain a sequence of differential images;

压缩模块,用于实时监测性能负载参数和网络传输参数,根据所述性能负载参数切换相应的编解码方式对所述差异图像序列进行图像压缩;以及,根据所述网络传输参数,确定压缩后的差异图像序列的数据包量和传输协议;The compression module is used to monitor the performance load parameters and network transmission parameters in real time, and switch the corresponding codec mode according to the performance load parameters to perform image compression on the difference image sequence; and, according to the network transmission parameters, determine the compressed Packet size and transmission protocol of the difference image sequence;

传输模块,用于按照所述数据包量和传输协议将压缩后的差异图像序列传输至显示端。The transmission module is used to transmit the compressed difference image sequence to the display terminal according to the data packet size and transmission protocol.

第三方面,本发明实施例提供一种计算机设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行如上述第一方面中所述的超高清视频流的传输方法的步骤。In a third aspect, an embodiment of the present invention provides a computer device, including: a processor, a memory, and a bus, the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor The memory communicates with the memory through a bus, and when the machine-readable instructions are executed by the processor, the steps of the ultra-high-definition video stream transmission method described in the first aspect are executed.

第四方面,本发明实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行如上述第一方面中所述的超高清视频流的传输方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the supercomputer described in the above-mentioned first aspect is executed. Steps of a transmission method of a high-definition video stream.

以上一个或多个技术方案存在以下有益效果:The above one or more technical solutions have the following beneficial effects:

本发明提供一种超高清视频流的传输方法,通过截取超高清视频流中的多帧视频图像,对相邻帧图像的画面进行差异重组,并根据监测的性能负载参数和网络传输参数,采用不同的编解码方式对差异图像序列进行图像压缩,按照相应的数据包量和网络传输协议将压缩后的差异图像序列传输至显示端,通过该方式,能够实现超高清视频流的稳定传输和流畅显示。The present invention provides a method for transmitting ultra-high-definition video streams. By intercepting multi-frame video images in ultra-high-definition video streams, the pictures of adjacent frame images are differentially reorganized, and according to the monitored performance load parameters and network transmission parameters, adopt Different encoding and decoding methods perform image compression on the difference image sequence, and transmit the compressed difference image sequence to the display terminal according to the corresponding data packet volume and network transmission protocol. Through this method, the stable transmission and smoothness of ultra-high-definition video stream can be realized show.

附图说明Description of drawings

构成本发明的一部分的说明书附图用来提供对本发明的进一步理解,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention, and the schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention.

图1是本发明实施例一所提供的超高清视频流的传输方法的流程示意图。FIG. 1 is a schematic flowchart of a method for transmitting an ultra-high-definition video stream provided by Embodiment 1 of the present invention.

具体实施方式Detailed ways

下面结合附图与实施例对本发明作进一步说明。The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

应该指出,以下详细说明都是示例性的,旨在对本发明提供进一步的说明。除非另有指明,本文使用的所有技术和科学术语具有与本发明所属技术领域的普通技术人员通常理解的相同含义。It should be noted that the following detailed description is exemplary and intended to provide further explanation of the present invention. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.

需要注意的是,这里所使用的术语仅是为了描述具体实施方式,而非意图限制根据本发明的示例性实施方式。如在这里所使用的,除非上下文另外明确指出,否则单数形式也意图包括复数形式,此外,还应当理解的是,当在本说明书中使用术语“包含”和/或“包括”时,其指明存在特征、步骤、操作、器件、组件和/或它们的组合。It should be noted that the terminology used here is only for describing specific embodiments, and is not intended to limit exemplary embodiments according to the present invention. As used herein, unless the context clearly dictates otherwise, the singular is intended to include the plural, and it should also be understood that when the terms "comprising" and/or "comprising" are used in this specification, they mean There are features, steps, operations, means, components and/or combinations thereof.

实施例一Embodiment one

如图1所示,本发明实施例提供一种超高清视频流的传输方法,包括以下步骤:As shown in Figure 1, an embodiment of the present invention provides a method for transmitting an ultra-high-definition video stream, including the following steps:

S101:接收超高清视频流。S101: Receive an ultra-high-definition video stream.

在具体实施中,接收视频采集设备发送的超高清视频流,对所述超高清视频流进行视频截取、视频图像压缩、网络数据传输、视频图像解码以及视频图像渲染显示等处理,在显示端进行显示。In a specific implementation, the ultra-high-definition video stream sent by the video acquisition device is received, and the ultra-high-definition video stream is subjected to video interception, video image compression, network data transmission, video image decoding, and video image rendering and display processing, and is performed on the display terminal. show.

S102:从所述超高清视频流中截取多帧的视频图像,对所述视频图像中各相邻帧图像的画面进行差异重组,得到差异图像序列。S102: Intercept multiple frames of video images from the ultra-high-definition video stream, and perform difference reorganization on pictures of adjacent frame images in the video images to obtain a difference image sequence.

现有的画面截取通常采用静态采集获取图像数据的方式,这样会导致超高清视频的截取速度较慢。本实施例采用画面动态比较算法获取前、后相邻帧画面变化部分,以减少处理的数据量,从而节省视频截取的时间成本,提高视频截取效率。Existing image capture usually adopts the method of static acquisition to obtain image data, which will lead to a slow capture speed of ultra-high-definition video. In this embodiment, the picture dynamic comparison algorithm is used to obtain the picture change parts of the previous and subsequent adjacent frames, so as to reduce the amount of processed data, thereby saving the time cost of video capture and improving the efficiency of video capture.

在具体实施中,采用GD I窗口和Di rectX两种视频截取方式,以适应不同系统平台下超高清视频流的高速截取。获取CPU性能负载参数以及用户是否设置了截屏类型来判定当前所用8K视频画面的采集方法,在CPU性能负载参数在30%以下的情况下,采用DirectX截取方法,截屏需要15帧以上采用DX截取方法,其它情况采用GD I窗口截取画面的方法。In the specific implementation, GDI window and DirectX two video capture methods are adopted to adapt to the high-speed capture of ultra-high-definition video streams under different system platforms. Obtain the CPU performance load parameters and whether the user has set the screenshot type to determine the currently used 8K video capture method. When the CPU performance load parameter is below 30%, the DirectX interception method is used, and the screen capture requires more than 15 frames. Use the DX interception method , in other cases, use the method of intercepting the screen in the GDI window.

作为一可选实施方式,针对所述视频图像中任意两个相邻帧,采用隔行扫描的方式对两个相邻帧的画面进行差异比对,对相邻差异的行数进行合并得到差异图像;多个所述差异图像组成差异图像序列。As an optional implementation, for any two adjacent frames in the video image, the interlaced scanning method is used to compare the differences between the pictures of the two adjacent frames, and the number of rows of adjacent differences is merged to obtain a difference image ; A plurality of the difference images form a sequence of difference images.

在具体实施中,对截取画面后的数据进行动态比较(Dynami c Compare),具体采用隔行扫描算法对前、后相邻帧的画面进行差异对比,通过1到10的随机隔行数或采用设定固定隔行数来进行RGB数据的比较,一旦算法中比对存在差异的情况立即跳转到下一比对的相邻帧;整个画面数据比对结束后,再进行差异重组计算,对相邻差异的行数进行合并,最后进入差异数据方块队列中,差异数据方块队列的数据将序列进行后续的压缩处理。In the specific implementation, dynamic comparison (Dynamic Compare) is performed on the data after the intercepted picture, and the interlaced scanning algorithm is used to compare the differences between the pictures of the front and rear adjacent frames, and the random interlaced number from 1 to 10 or the set Fix the number of interlaced lines to compare RGB data. Once there is a difference in the comparison in the algorithm, it immediately jumps to the adjacent frame of the next comparison; The number of rows is merged, and finally enters the difference data block queue, and the data in the difference data block queue will be sequentially compressed.

S103:实时监测性能负载参数和网络传输参数,根据所述性能负载参数切换相应的编解码方式对所述差异图像序列进行图像压缩;以及,根据所述网络传输参数,确定压缩后的差异图像序列的数据包量和网络传输协议。S103: Monitor performance load parameters and network transmission parameters in real time, switch the corresponding codec mode according to the performance load parameters to perform image compression on the difference image sequence; and determine the compressed difference image sequence according to the network transmission parameters The data packet volume and network transmission protocol.

在对动态图像压缩的现有方法中,对于固定一种编解码的标准将无法自适应不同系统环境的负载,从而产生低效编码的问题。基于此,为了适应不同系统环境的负载,本实施例通过实时检测本机系统的性能负载参数,根据性能负载参数切换相应的编解码方式对上述的差异图像序列进行图像压缩。可选的,性能负载参数包括但不限于CPU占用率、内存占用率和GPU占用率中的一个或多个;获取所述性能负载参数的标准值,根据所监测的性能负载参数相对于所述标准值的变化范围确定用于进行图像压缩的编解码方式。可选的,编解码方式包括但不限于jpg2000、H264、H265中的一个或多个。In the existing methods for dynamic image compression, a fixed codec standard cannot adapt to loads of different system environments, resulting in the problem of low-efficiency coding. Based on this, in order to adapt to the load of different system environments, this embodiment detects the performance load parameters of the local system in real time, and switches the corresponding codec mode according to the performance load parameters to perform image compression on the above-mentioned difference image sequence. Optionally, the performance load parameter includes but not limited to one or more of CPU occupancy, memory occupancy, and GPU occupancy; obtain the standard value of the performance load parameter, and compare the monitored performance load parameter with the The range of variation of the standard value determines the codec used for image compression. Optionally, the encoding and decoding methods include but are not limited to one or more of jpg2000, H264, and H265.

在具体实施中,内置的三种编解码算法包括jpg2000、H264、H265,通过不断的监控本机系统环境的负载包括CPU、内存、GPU的占用,结合三种编解码算法特性对硬件的性能要求和编码效果特性来进行动态切换,这里,H265对硬件的性能要求高,图像的压缩率高;jpg2000压缩图像画面质量更高但是数据量比较大;H264相对比较均衡。In the specific implementation, the built-in three encoding and decoding algorithms include jpg2000, H264, and H265. By continuously monitoring the load of the local system environment, including the CPU, memory, and GPU occupancy, combined with the performance requirements of the three encoding and decoding algorithms for the hardware and encoding effect characteristics to perform dynamic switching. Here, H265 has high requirements on hardware performance and high image compression rate; jpg2000 compressed image quality is higher but the amount of data is relatively large; H264 is relatively balanced.

具体地,系统初始采用H264的动态图像压缩,同时监测性能负载参数,包括CPU占用率、内存占用率、GPU占用率;当画面变化小的时候,CPU、内存GPU的占用率会小,在超出标准值20%附近上下浮动的情况下,切换至jpg2000的压缩算法,画面质量会更高;在超出标准值50%上下浮动的情况下,切换至H264编解码算法,硬件参数较好的情况下采用H265编解码算法。Specifically, the system initially uses H264 dynamic image compression, while monitoring performance load parameters, including CPU occupancy, memory occupancy, and GPU occupancy; When the standard value fluctuates around 20%, switch to the jpg2000 compression algorithm, and the picture quality will be higher; if it exceeds the standard value by 50%, switch to the H264 encoding and decoding algorithm, and the hardware parameters are better. Adopt H265 codec algorithm.

通过该方式,不仅可以提高整个编解码的速度,同时也会保持本机环境在8K分辨率动态视频传输过程中保持本机环境的健康负载,以满足整个系统的长期稳定运行。In this way, not only can the speed of the entire codec be improved, but also the local environment can maintain a healthy load during 8K resolution dynamic video transmission, so as to meet the long-term stable operation of the entire system.

作为一可选实施方式,所述网络传输参数包括网络带宽占用率和网络丢包率;在所述网络带宽占用率高于预设占用率阈值,且网络丢包率超出第一预设丢包率阈值的情况下,调整数据包量。As an optional implementation, the network transmission parameters include network bandwidth occupancy rate and network packet loss rate; when the network bandwidth occupancy rate is higher than the preset occupancy rate threshold, and the network packet loss rate exceeds the first preset packet loss rate If the rate threshold is exceeded, adjust the packet volume.

8K分辨率动态视频所产生的数据量将会成倍增大,同时动态的画面的变化剧烈程度也会增加传输数据量。基于此,本实施例对于网络传输采用一种动态自适应调整的方法,该方法采用动态监测网络发包数据量的大小并结合接收端收包的数据统计进行数据包的算法调整,在网络数据包发送量大、客户端接收丢包率高于10%的情况下,自动调整发送端的数据包量,可选的,数据包量的调整方式包括:调整发送数据包的延迟时间,和/或,增加/减少缓存队列。The amount of data generated by 8K resolution dynamic video will increase exponentially, and the intensity of dynamic picture changes will also increase the amount of transmitted data. Based on this, this embodiment adopts a method of dynamic self-adaptive adjustment for network transmission, which uses dynamic monitoring of the size of the data volume sent by the network and combines the data statistics of received packets at the receiving end to adjust the algorithm of the data packet. When the amount of sending is large and the packet loss rate received by the client is higher than 10%, automatically adjust the amount of data packets at the sending end. Optionally, the adjustment method of the amount of data packets includes: adjusting the delay time of sending data packets, and/or, Increase/decrease cache queue.

同时在网络传输各项参数良好的同时可自动增加相关参数使得动态视频效果更加流畅、更加清晰,网络传输协议上采用组播和单播相结合,在网络环境及丢包率小于5%的情况下采用组播传输,对于发送设备支持高带宽的情况下采用单播传输,可高度适宜用户网络环境。At the same time, when the parameters of the network transmission are good, the relevant parameters can be automatically increased to make the dynamic video effect smoother and clearer. The network transmission protocol adopts the combination of multicast and unicast. In the network environment and the packet loss rate is less than 5%. Under the condition of using multicast transmission, if the sending device supports high bandwidth, it adopts unicast transmission, which is highly suitable for the user's network environment.

可选的,所述网络传输协议包括组播协议和单播协议;初始时采用组播协议进行差异图像序列的传输,在所述网络丢包率超出第二预设丢包率阈值(如10%)且持续时间超出预设时间间隔(如3秒),或者丢包序列间隔频繁的情况下,将组播协议切换至单播协议。Optionally, the network transmission protocol includes a multicast protocol and a unicast protocol; initially, the multicast protocol is used to transmit the difference image sequence, and when the network packet loss rate exceeds a second preset packet loss rate threshold (such as 10 %) and the duration exceeds a preset time interval (such as 3 seconds), or when the packet loss sequence interval is frequent, the multicast protocol is switched to the unicast protocol.

S104:按照所述数据包量和传输协议将压缩后的差异图像序列传输至显示端。S104: Transmit the compressed difference image sequence to the display terminal according to the data packet size and the transmission protocol.

相比于现有的图像截取方法,本实施例所提供的方法在视频截取速度上平均可提高20%左右,不考虑视频复杂度的情况下平均截取单幅8K图像画面时间可提升10ms以上。通过动态的编解码算法选择以及网络负载监控的技术,可保持在千兆环境下,8K分辨率的动态视频传输的帧率可达25帧/秒,画面质量清晰无花屏现象。Compared with the existing image capture method, the method provided in this embodiment can increase the video capture speed by about 20% on average, and the average capture time of a single 8K image frame can be increased by more than 10 ms without considering the complexity of the video. Through dynamic codec algorithm selection and network load monitoring technology, the frame rate of 8K resolution dynamic video transmission can reach 25 frames per second in a gigabit environment, and the picture quality is clear without blurring.

实施例二Embodiment two

本发明实施例还提供一种超高清视频流的传输系统,包括:Embodiments of the present invention also provide a transmission system for ultra-high-definition video streams, including:

接收模块,用于接收超高清视频流;A receiving module, configured to receive ultra-high-definition video streams;

截取模块,用于从所述超高清视频流中截取多帧的视频图像,对所述视频图像中各相邻帧图像的画面进行差异重组,得到差异图像序列;An intercepting module, configured to intercept multiple frames of video images from the ultra-high-definition video stream, and perform differential reorganization on the pictures of each adjacent frame image in the video image to obtain a sequence of differential images;

压缩模块,用于实时监测性能负载参数和网络传输参数,根据所述性能负载参数切换相应的编解码方式对所述差异图像序列进行图像压缩;以及,根据所述网络传输参数,确定压缩后的差异图像序列的数据包量和传输协议;The compression module is used to monitor the performance load parameters and network transmission parameters in real time, and switch the corresponding codec mode according to the performance load parameters to perform image compression on the difference image sequence; and, according to the network transmission parameters, determine the compressed Packet size and transmission protocol of the difference image sequence;

传输模块,用于按照所述数据包量和传输协议将压缩后的差异图像序列传输至显示端。The transmission module is used to transmit the compressed difference image sequence to the display terminal according to the data packet size and transmission protocol.

本实施例提供的超高清视频流的传输系统用于实现前述的超高清视频流的传输方法,因此超高清视频流的传输系统中的具体实施方式可见前文中的超高清视频流的传输方法的实施例部分,在此不再进行赘述。The ultra-high-definition video stream transmission system provided in this embodiment is used to implement the aforementioned ultra-high-definition video stream transmission method, so the specific implementation of the ultra-high-definition video stream transmission system can be seen in the above-mentioned ultra-high-definition video stream transmission method. The embodiment part will not be repeated here.

实施例三Embodiment three

本发明实施例还提供一种计算机设备,所述计算机设备包括处理器、存储器和总线。所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时,可以执行如上述图1所示方法实施例中的超高清视频流的传输方法的步骤,具体实现方式可参见方法实施例,在此不再赘述。The embodiment of the present invention also provides a computer device, and the computer device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the computer device is running, the processor communicates with the memory through a bus. When the machine-readable instructions are executed by the processor , the steps of the ultra-high-definition video stream transmission method in the method embodiment shown in FIG. 1 above can be executed. For the specific implementation, refer to the method embodiment, and details are not repeated here.

实施例四Embodiment four

本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行上述方法实施例中所述的超高清视频流的传输方法的步骤。An embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the ultra-high-definition video stream described in the above-mentioned method embodiments is executed. The steps of the transfer method.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-On l y Memory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1.一种超高清视频流的传输方法,其特征在于,包括:1. A transmission method of ultra-high-definition video stream, characterized in that, comprising: 接收超高清视频流;Receive ultra-high-definition video streams; 从所述超高清视频流中截取多帧的视频图像,对所述视频图像中各相邻帧图像的画面进行差异重组,得到差异图像序列;Intercepting multiple frames of video images from the ultra-high-definition video stream, performing differential reorganization on pictures of each adjacent frame image in the video image, to obtain a sequence of differential images; 实时监测性能负载参数和网络传输参数,根据所述性能负载参数切换相应的编解码方式对所述差异图像序列进行图像压缩;以及,根据所述网络传输参数,确定压缩后的差异图像序列的数据包量和网络传输协议;Real-time monitoring of performance load parameters and network transmission parameters, switching the corresponding encoding and decoding methods according to the performance load parameters to perform image compression on the difference image sequence; and, according to the network transmission parameters, determining the data of the compressed difference image sequence Packet volume and network transport protocol; 按照所述数据包量和传输协议将压缩后的差异图像序列传输至显示端。The compressed difference image sequence is transmitted to the display terminal according to the data packet size and transmission protocol. 2.如权利要求1所述的超高清视频流的传输方法,其特征在于,针对所述视频图像中任意两个相邻帧,采用隔行扫描的方式对两个相邻帧的画面进行差异比对,对相邻差异的行数进行合并得到差异图像;多个所述差异图像组成差异图像序列。2. The transmission method of ultra-high-definition video stream as claimed in claim 1, is characterized in that, for any two adjacent frames in the video image, adopt the mode of interlaced scanning to carry out difference comparison to the picture of two adjacent frames Yes, merge adjacent difference rows to obtain a difference image; a plurality of the difference images form a difference image sequence. 3.如权利要求1所述的超高清视频流的传输方法,其特征在于,所述性能负载参数包括但不限于CPU占用率、内存占用率和GPU占用率中的一个或多个;获取所述性能负载参数的标准值,根据所监测的性能负载参数相对于所述标准值的变化范围确定用于进行图像压缩的编解码方式。3. The transmission method of ultra-high-definition video stream as claimed in claim 1, is characterized in that, described performance load parameter comprises but not limited to one or more in CPU occupancy rate, memory occupancy rate and GPU occupancy rate; Obtain all The standard value of the performance load parameter, and determine the encoding and decoding method for image compression according to the variation range of the monitored performance load parameter relative to the standard value. 4.如权利要求3所述的超高清视频流的传输方法,其特征在于,所述编解码方式包括但不限于jpg2000、H264、H265中的一个或多个。4. The method for transmitting an ultra-high-definition video stream according to claim 3, wherein the codec method includes but is not limited to one or more of jpg2000, H264, and H265. 5.如权利要求1所述的超高清视频流的传输方法,其特征在于,所述网络传输参数包括网络带宽占用率和网络丢包率;在所述网络带宽占用率高于预设占用率阈值,且网络丢包率超出第一预设丢包率阈值的情况下,调整数据包量。5. The transmission method of ultra-high-definition video stream as claimed in claim 1, is characterized in that, described network transmission parameter comprises network bandwidth occupancy rate and network packet loss rate; When described network bandwidth occupancy rate is higher than preset occupancy rate threshold, and when the network packet loss rate exceeds the first preset packet loss rate threshold, the amount of data packets is adjusted. 6.如权利要求5所述的超高清视频流的传输方法,其特征在于,所述数据包量的调整方式包括:调整发送数据包的延迟时间,和/或,增加/减少缓存队列。6. The method for transmitting ultra-high-definition video streams according to claim 5, wherein the method of adjusting the amount of data packets includes: adjusting delay time for sending data packets, and/or increasing/decreasing buffer queues. 7.如权利要求5所述的超高清视频流的传输方法,其特征在于,所述网络传输协议包括组播协议和单播协议;初始时采用组播协议进行差异图像序列的传输,在所述网络丢包率超出第二预设丢包率阈值且持续时间超出预设时间间隔的情况下,将组播协议切换至单播协议。7. the transmission method of ultra-high-definition video stream as claimed in claim 5, is characterized in that, described network transmission protocol comprises multicast protocol and unicast protocol; Adopt multicast protocol to carry out the transmission of difference image sequence when initially, in the When the network packet loss rate exceeds the second preset packet loss rate threshold and the duration exceeds the preset time interval, the multicast protocol is switched to the unicast protocol. 8.一种超高清视频流的传输系统,其特征在于,包括:8. A transmission system for ultra-high-definition video streams, comprising: 接收模块,用于接收超高清视频流;A receiving module, configured to receive ultra-high-definition video streams; 截取模块,用于从所述超高清视频流中截取多帧的视频图像,对所述视频图像中各相邻帧图像的画面进行差异重组,得到差异图像序列;An intercepting module, configured to intercept multiple frames of video images from the ultra-high-definition video stream, and perform differential reorganization on the pictures of each adjacent frame image in the video image to obtain a sequence of differential images; 压缩模块,用于实时监测性能负载参数和网络传输参数,根据所述性能负载参数切换相应的编解码方式对所述差异图像序列进行图像压缩;以及,根据所述网络传输参数,确定压缩后的差异图像序列的数据包量和传输协议;The compression module is used to monitor the performance load parameters and network transmission parameters in real time, and switch the corresponding codec mode according to the performance load parameters to perform image compression on the difference image sequence; and, according to the network transmission parameters, determine the compressed Packet size and transmission protocol of the difference image sequence; 传输模块,用于按照所述数据包量和传输协议将压缩后的差异图像序列传输至显示端。The transmission module is used to transmit the compressed difference image sequence to the display terminal according to the data packet size and transmission protocol. 9.一种计算机设备,其特征在于,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行如权利要求1至7任一项所述的超高清视频流的传输方法的步骤。9. A computer device, characterized in that it comprises: a processor, a memory and a bus, the memory stores machine-readable instructions executable by the processor, and when the computer device is running, the processor and the The memories communicate through the bus, and the machine-readable instructions are executed by the processor to execute the steps of the ultra-high-definition video stream transmission method according to any one of claims 1 to 7. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器运行时执行如权利要求1至7任一项所述的超高清视频流的传输方法的步骤。10. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the supercomputer according to any one of claims 1 to 7 is executed. Steps of a transmission method of a high-definition video stream.
CN202211481886.7A 2022-11-24 2022-11-24 A method and system for transmitting ultra-high-definition video streams Pending CN115883877A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211481886.7A CN115883877A (en) 2022-11-24 2022-11-24 A method and system for transmitting ultra-high-definition video streams

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211481886.7A CN115883877A (en) 2022-11-24 2022-11-24 A method and system for transmitting ultra-high-definition video streams

Publications (1)

Publication Number Publication Date
CN115883877A true CN115883877A (en) 2023-03-31

Family

ID=85763812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211481886.7A Pending CN115883877A (en) 2022-11-24 2022-11-24 A method and system for transmitting ultra-high-definition video streams

Country Status (1)

Country Link
CN (1) CN115883877A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117615175A (en) * 2023-11-24 2024-02-27 书行科技(北京)有限公司 Video playback method, device, electronic equipment and computer-readable storage medium
CN118264776A (en) * 2024-04-22 2024-06-28 深圳市金华威数码科技有限公司 Remote monitoring method, device, monitoring equipment and medium based on video call

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184052A (en) * 2007-12-25 2008-05-21 北京广视通达网络技术有限公司 Congestion control method of implementing reliable UDP transmission
CN104219590A (en) * 2013-06-05 2014-12-17 华为终端有限公司 Method for switching coding modes, transmitting end and receiving end
CN104486688A (en) * 2014-12-31 2015-04-01 深圳市华宝电子科技有限公司 Vehicle-mounted video transmitting method and device
CN106411894A (en) * 2016-09-29 2017-02-15 天脉聚源(北京)传媒科技有限公司 Video transmission method and system
CN109257565A (en) * 2018-09-27 2019-01-22 山东衡昊信息技术有限公司 A kind of network transfer method of fruit juice production line intelligent monitoring system
CN109936744A (en) * 2017-12-19 2019-06-25 腾讯科技(深圳)有限公司 Video coding processing method, device and the application with Video coding function
CN110113617A (en) * 2019-06-13 2019-08-09 腾讯科技(深圳)有限公司 A kind of method and device of compression of images and decompression
CN111314778A (en) * 2020-03-02 2020-06-19 北京小鸟科技股份有限公司 Video coding and decoding fusion processing method based on multiple compression systems
CN113438501A (en) * 2020-03-23 2021-09-24 腾讯科技(深圳)有限公司 Video compression method, device, computer equipment and storage medium
CN114390322A (en) * 2022-01-18 2022-04-22 上海安超云软件有限公司 Video coding method based on remote desktop protocol and application thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101184052A (en) * 2007-12-25 2008-05-21 北京广视通达网络技术有限公司 Congestion control method of implementing reliable UDP transmission
CN104219590A (en) * 2013-06-05 2014-12-17 华为终端有限公司 Method for switching coding modes, transmitting end and receiving end
CN104486688A (en) * 2014-12-31 2015-04-01 深圳市华宝电子科技有限公司 Vehicle-mounted video transmitting method and device
CN106411894A (en) * 2016-09-29 2017-02-15 天脉聚源(北京)传媒科技有限公司 Video transmission method and system
CN109936744A (en) * 2017-12-19 2019-06-25 腾讯科技(深圳)有限公司 Video coding processing method, device and the application with Video coding function
CN109257565A (en) * 2018-09-27 2019-01-22 山东衡昊信息技术有限公司 A kind of network transfer method of fruit juice production line intelligent monitoring system
CN110113617A (en) * 2019-06-13 2019-08-09 腾讯科技(深圳)有限公司 A kind of method and device of compression of images and decompression
CN111314778A (en) * 2020-03-02 2020-06-19 北京小鸟科技股份有限公司 Video coding and decoding fusion processing method based on multiple compression systems
CN113438501A (en) * 2020-03-23 2021-09-24 腾讯科技(深圳)有限公司 Video compression method, device, computer equipment and storage medium
CN114390322A (en) * 2022-01-18 2022-04-22 上海安超云软件有限公司 Video coding method based on remote desktop protocol and application thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117615175A (en) * 2023-11-24 2024-02-27 书行科技(北京)有限公司 Video playback method, device, electronic equipment and computer-readable storage medium
CN118264776A (en) * 2024-04-22 2024-06-28 深圳市金华威数码科技有限公司 Remote monitoring method, device, monitoring equipment and medium based on video call

Similar Documents

Publication Publication Date Title
WO2021244341A1 (en) Picture coding method and apparatus, electronic device and computer readable storage medium
US7984179B1 (en) Adaptive media transport management for continuous media stream over LAN/WAN environment
CA2737728C (en) Low latency video encoder
CN115883877A (en) A method and system for transmitting ultra-high-definition video streams
CN104394486B (en) A kind of video stream processing method and device based on cloud desktop
CN110769296B (en) Video code rate self-adaptive adjusting mode based on local cache during transmission
US10104407B2 (en) Method and device for network-assisted client-centric QoE optimization
CN107333143B (en) 5G multi-access concurrent transmission control system and method
CN110602548B (en) Method and system for high-quality wireless transmission of ultra-high-definition video
CA2758763C (en) Method and device for fast pushing unicast stream in fast channel change
CN105812711B (en) Method and system for optimizing image quality in video call process
CN112468764B (en) Method, system, server and storage medium for streaming media adaptive transmission
CN105812710A (en) Method and system for optimizing image quality in video call process
CN102271281B (en) Method and device for implementing FCC (fast channel change)
WO2024244879A1 (en) Network transmission optimization method and apparatus, storage medium, electronic device, and program product
CN118694995A (en) A network live broadcast system supporting multi-format output
CN102243856B (en) Method and device for dynamically switching screen data processing modes
CN105306970B (en) A kind of control method and device of live streaming media transmission speed
CN109982080A (en) A video transmission method, storage medium, robot and control system
US8095955B2 (en) Methods and systems for improving network response during channel change
CN114404942A (en) Cloud game self-adaptive remote calling method and system based on SDK
CN117221293A (en) Data transmission method, device, electronic equipment and storage medium
CN105491320A (en) Video conference bandwidth management method and system
US20230396766A1 (en) Content-adaptive signal-to noise-ratio-guided two-pass video encoding for cloud gaming
CN110505500A (en) Method and device for sending and processing cached data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination