CN114827692A - System for operating cloud desktop based on smart television - Google Patents

System for operating cloud desktop based on smart television Download PDF

Info

Publication number
CN114827692A
CN114827692A CN202210466808.3A CN202210466808A CN114827692A CN 114827692 A CN114827692 A CN 114827692A CN 202210466808 A CN202210466808 A CN 202210466808A CN 114827692 A CN114827692 A CN 114827692A
Authority
CN
China
Prior art keywords
streaming media
module
audio
network
protocol
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
CN202210466808.3A
Other languages
Chinese (zh)
Inventor
陈炽钊
邹琼
周双全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Rayvision Technology Co ltd
Original Assignee
Shenzhen Rayvision 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 Shenzhen Rayvision Technology Co ltd filed Critical Shenzhen Rayvision Technology Co ltd
Priority to CN202210466808.3A priority Critical patent/CN114827692A/en
Publication of CN114827692A publication Critical patent/CN114827692A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44012Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management e.g. creating a master electronic programme guide from data received from the Internet and a Head-end or controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明公开一种基于智能电视操作云桌面的系统,通过将渲染工作转交到智能电视终端,利用智能电视终端自身强大的硬件解码能力对后端服务器发出的音视频流媒体进行本地实时渲染,能够有效节约后端服务器资源,保障后端服务器的桌面数据的编码效率,降低音视频流媒体在后端服务器和智能电视终端之间传输的延迟,将画面的延迟控制到80~100ms的范围,保证云桌面画面的流畅性,减少画面卡顿、掉帧、操作延迟等现象,以满足云办公、云电视、云游戏多种场景的应用。

Figure 202210466808

The invention discloses a system for operating a cloud desktop based on a smart TV. By transferring the rendering work to the smart TV terminal, and using the powerful hardware decoding capability of the smart TV terminal itself, the audio and video streaming media sent by the back-end server can be locally rendered in real time. It can effectively save back-end server resources, ensure the encoding efficiency of desktop data on the back-end server, reduce the delay in the transmission of audio and video streaming media between the back-end server and the smart TV terminal, and control the delay of the picture to the range of 80~100ms to ensure The fluency of the cloud desktop screen reduces screen freezes, dropped frames, and operation delays to meet the application of cloud office, cloud TV, and cloud gaming scenarios.

Figure 202210466808

Description

一种基于智能电视操作云桌面的系统A system for operating cloud desktop based on smart TV

技术领域technical field

本发明涉及到云桌面、云电视以及云游戏的技术领域,尤其涉及一种基于智能电视操作云桌面的系统。The invention relates to the technical fields of cloud desktops, cloud TVs and cloud games, in particular to a system for operating cloud desktops based on smart TVs.

背景技术Background technique

云桌面又称桌面虚拟化、云电脑,是替代传统电脑的一种新模式;采用云桌面后,用户无需再购买电脑主机,主机所包含的CPU、内存、硬盘等组件全部在后端服务器中虚拟出来,单台高性能服务器可以虚拟1-50台不等的虚拟主机。而前端设备主要为显示装置,用于显示虚拟桌面,通过在前端设备上安装客户端后可通过特有的通信协议访问后端服务器上的虚拟机主机来接收数据,以在前端设备上显示出来。Cloud desktop, also known as desktop virtualization and cloud computer, is a new model that replaces traditional computers; after adopting cloud desktop, users do not need to purchase a computer host, and the CPU, memory, hard disk and other components contained in the host are all in the back-end server. Virtually out, a single high-performance server can virtualize 1-50 virtual hosts. The front-end device is mainly a display device for displaying virtual desktops. After installing the client on the front-end device, the virtual machine host on the back-end server can be accessed through a unique communication protocol to receive data and display it on the front-end device.

云桌面系统的数据处理过程是由后端服务器集中处理,前面仅用作画面显示和交互操作的接收,由于实际的交互式操作和画面渲染都是仅由后端服务器进行处理,后端服务器的计算压力很大,而且在渲染后的画面对传输网络的带宽和延迟的要求很高,在不同的网络环境下,容易出现画面卡顿掉帧,交互操作存在很大的延迟。The data processing process of the cloud desktop system is centrally processed by the back-end server, which is only used for screen display and reception of interactive operations. Since the actual interactive operations and screen rendering are only processed by the back-end server, the back-end server The calculation pressure is very high, and the rendered pictures have high requirements on the bandwidth and delay of the transmission network. Under different network environments, the pictures are prone to freeze and frame drops, and there is a large delay in interactive operations.

因此,现有技术存在缺陷,需要改进。Therefore, the prior art has shortcomings and needs to be improved.

发明内容SUMMARY OF THE INVENTION

本发明的目的在于为解决上述问题而提供一种基于智能电视操作云桌面的系统,在音视频流媒体数据传输过程中,可根据当前网络情况,网络延时和丢包率自动切换到最佳的传输协议,其技术方案如下:The purpose of the present invention is to provide a system for operating a cloud desktop based on a smart TV in order to solve the above problems, in the process of audio and video streaming media data transmission, according to the current network conditions, the network delay and packet loss rate can be automatically switched to the optimum The transmission protocol, its technical scheme is as follows:

一种基于智能电视操作云桌面的系统,包括后端服务器和智能电视终端,A system for operating a cloud desktop based on a smart TV, including a back-end server and a smart TV terminal,

所述后端服务器包括:The backend server includes:

桌面数据采集模块,用于从多个数据源采集桌面数据;Desktop data acquisition module for collecting desktop data from multiple data sources;

音视频编码模块,用于对采集的桌面数据进行H.264/HEVC的编码,并将编码后的桌面数据打包成音视频流媒体数据;The audio and video coding module is used to encode the collected desktop data in H.264/HEVC, and package the encoded desktop data into audio and video streaming media data;

流媒体传输模块,用于将音视频流媒体数据传输至智能电视终端;The streaming media transmission module is used to transmit audio and video streaming media data to the smart TV terminal;

以及键鼠功能模拟模块,用于进行键鼠外设设备的外设事件的映射,模拟键鼠操作。And a keyboard and mouse function simulation module, which is used to map the peripheral events of the keyboard and mouse peripheral devices and simulate the operation of the keyboard and mouse.

所述智能电视终端包括:The smart TV terminal includes:

流媒体接收模块,用于接收后端服务器发出的音视频流媒体数据;The streaming media receiving module is used to receive the audio and video streaming media data sent by the back-end server;

音视频解码模块,用于对音视频流媒体数据进行硬件解码;Audio and video decoding module, used for hardware decoding of audio and video streaming media data;

画面渲染模块,用于对播放音视频流媒体进行实时渲染;The screen rendering module is used for real-time rendering of audio and video streaming media;

以及外设接入模块,用于连接键鼠外设设备,接收键鼠外设设备的外设事件。and a peripheral access module, which is used to connect the keyboard and mouse peripheral devices and receive peripheral events of the keyboard and mouse peripheral devices.

可选地,所述后端服务器还包括身份校验模块,用于用户身份的注册和校验;Optionally, the back-end server further includes an identity verification module for user identity registration and verification;

所述智能电视终端还包括登录模块,用于接收登录信息,根据登录信息向身份校验模块发送注册请求或者登录请求。The smart TV terminal further includes a login module for receiving login information, and sending a registration request or a login request to the identity verification module according to the login information.

可选地,所述流媒体传输模块通过TCP/UPD协议进行网络传输音视频流媒体数据;Optionally, the streaming media transmission module performs network transmission of audio and video streaming media data through the TCP/UPD protocol;

所述流媒体接收模块用于通过TCP/UDP协议请求并接收音视频流媒体数据。The streaming media receiving module is used for requesting and receiving audio and video streaming media data through TCP/UDP protocol.

可选地,所述流媒体传输模块和所述流媒体接收模块根据网络情况自动切换TCP/UPD协议。Optionally, the streaming media transmission module and the streaming media receiving module automatically switch the TCP/UPD protocol according to network conditions.

可选地,所述流媒体传输模块和所述流媒体接收模块根据网络情况自动切换TCP/UPD协议,包括:Optionally, the streaming media transmission module and the streaming media receiving module automatically switch the TCP/UPD protocol according to network conditions, including:

对当前网络的网络参数进行配置;Configure the network parameters of the current network;

在音视频流媒体数据传输过程中实时监测所述网络参数,根据网络参数的变化将传输协议在TCP协议和UDP协议之间来回切换。The network parameters are monitored in real time during the transmission of audio and video streaming media data, and the transmission protocol is switched back and forth between the TCP protocol and the UDP protocol according to changes in the network parameters.

可选地,所述网络参数包括网络延时和丢包率。Optionally, the network parameters include network delay and packet loss rate.

可选地,所述对当前网络的网络参数进行配置包括:Optionally, the configuring the network parameters of the current network includes:

配置网络延时的最大值LAG-max;Configure the maximum value of the network delay LAG-max;

配置丢包率的最大值PLR-max。Configure the maximum value PLR-max of the packet loss rate.

可选地,所述网络延时的最大值LAG-max配置为100ms,所述丢包率的最大值PLR-max配置为10%。Optionally, the maximum value LAG-max of the network delay is configured to be 100 ms, and the maximum value PLR-max of the packet loss rate is configured to be 10%.

可选地,所述根据网络参数的变化将传输协议在TCP协议和UDP协议之间来回切换,包括:Optionally, the transfer protocol is switched back and forth between the TCP protocol and the UDP protocol according to changes in network parameters, including:

当监测到的网络延时大于该网络延时的最大值LAG-max或者监测到的丢包率大于该丢包率的最大值PLR-max时,将传输协议切换至UDP协议;否则,将传输协议切换至TCP协议。When the monitored network delay is greater than the maximum value LAG-max of the network delay or the monitored packet loss rate is greater than the maximum value PLR-max of the packet loss rate, the transmission protocol will be switched to the UDP protocol; otherwise, the transmission protocol will be switched to the UDP protocol. The protocol is switched to the TCP protocol.

可选地,所述键鼠功能模拟模块通过SendInput函数模拟键鼠操作。Optionally, the keyboard and mouse function simulation module simulates keyboard and mouse operations through the SendInput function.

本发明具有以下有益效果:The present invention has the following beneficial effects:

通过将渲染工作转交到智能电视终端,利用智能电视终端自身强大的硬件解码能力对后端服务器发出的音视频流媒体进行本地实时渲染,能够有效节约后端服务器资源,保障后端服务器的桌面数据的编码效率,降低音视频流媒体在后端服务器和智能电视终端之间传输的延迟,将画面的延迟控制到80~100ms的范围,保证云桌面画面的流畅性,减少画面卡顿、掉帧、操作延迟等现象,以满足云办公、云电视、云游戏多种场景的应用。By transferring the rendering work to the smart TV terminal, and using the powerful hardware decoding capability of the smart TV terminal to perform local real-time rendering of the audio and video streaming media sent by the back-end server, it can effectively save the resources of the back-end server and ensure the desktop data of the back-end server. The encoding efficiency is improved, the delay of audio and video streaming media transmission between the back-end server and the smart TV terminal is reduced, and the delay of the picture is controlled to the range of 80~100ms, which ensures the smoothness of the cloud desktop picture and reduces the picture freezing and frame drop. , operation delay and other phenomena to meet the application of various scenarios of cloud office, cloud TV, and cloud gaming.

附图说明Description of drawings

图1为本发明提供的基于智能电视操作云桌面的系统框图。FIG. 1 is a block diagram of a system for operating a cloud desktop based on a smart TV provided by the present invention.

具体实施方式Detailed ways

以下结合附图和具体实施例,对本发明进行详细说明。The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

如图1所示,本发明提供一种基于智能电视操作云桌面的系统,包括后端服务器和智能电视终端。其中,后端服务器包括桌面数据采集模块、音视频编码模块、流媒体传输模块、以及键鼠功能模拟模块。桌面数据采集模块用于后端服务器的CPU、内存、硬盘等组件采集桌面数据-DXGI数据;音视频编码模块通过后端服务器配置的NVIDIA/AMD显卡对采集的桌面数据进行音视频硬编码,并将编码后的桌面数据打包成音视频流媒体数据;流媒体传输模块为网络模块,支持TCP/UPD协议进行网络传输,用于将音视频流媒体数据传输至智能电视终端。键鼠功能模拟模块用于进行键鼠外设设备的外设事件的映射,模拟键鼠操作。As shown in FIG. 1 , the present invention provides a system for operating a cloud desktop based on a smart TV, including a back-end server and a smart TV terminal. The back-end server includes a desktop data acquisition module, an audio and video encoding module, a streaming media transmission module, and a keyboard and mouse function simulation module. The desktop data collection module is used for the CPU, memory, hard disk and other components of the back-end server to collect desktop data-DXGI data; the audio and video encoding module hard-codes the collected desktop data through the NVIDIA/AMD graphics card configured in the back-end server, and then The encoded desktop data is packaged into audio and video streaming media data; the streaming media transmission module is a network module, which supports TCP/UPD protocol for network transmission, and is used to transmit audio and video streaming media data to the smart TV terminal. The keyboard and mouse function simulation module is used to map the peripheral events of the keyboard and mouse peripheral devices, and simulate the operation of the keyboard and mouse.

智能电视终端包括流媒体接收模块、音视频解码模块、画面渲染模块以及外设接入模块。其中,流媒体接收模块为网络模块,同样支持TCP/UPD协议进行网络传输,与流媒体传输模块建立网络通讯,接收流媒体传输模块传输过来的音视频流媒体数据;音视频解码模块为智能电视终端自带的编解码硬件,用于对音视频流媒体数据进行硬件解码;画面渲染模块为智能电视终端自带的GPU,用于对播放音视频流媒体进行实时渲染,以保证画面的流畅度;外设接入模块,用于接入USB键盘和鼠标外设设备,并将按键和鼠标的外设事件传输给键鼠功能模拟模块。The smart TV terminal includes a streaming media receiving module, an audio and video decoding module, a picture rendering module and a peripheral access module. Among them, the streaming media receiving module is a network module, which also supports TCP/UPD protocol for network transmission, establishes network communication with the streaming media transmission module, and receives the audio and video streaming media data transmitted by the streaming media transmission module; the audio and video decoding module is a smart TV. The encoding and decoding hardware that comes with the terminal is used for hardware decoding of audio and video streaming media data; the picture rendering module is the GPU that comes with the smart TV terminal, which is used to render the audio and video streaming media in real time to ensure the smoothness of the picture. ; Peripheral access module, used to access USB keyboard and mouse peripheral devices, and transmit the peripheral events of buttons and mouse to the keyboard and mouse function simulation module.

在本实施例中,该后端服务器还包括身份校验模块,用于用户身份的注册和校验;智能电视终端还包括登录模块,用于接收登录信息,根据登录信息向身份校验模块发送注册请求或者登录请求。对于未注册的用户,可通过智能电视终端上的登录模块进行账号注册,后端服务其接收注册信息并进行账号的建立。该注册信息可以为用户的手机号、微信号、邮箱、QQ等电子账户,后端服务器接收到该信息后,可关联相关电子账户的用户信息完成云桌面账户的建立,免去用户填写个人信息的繁琐。In this embodiment, the back-end server further includes an identity verification module for user identity registration and verification; the smart TV terminal further includes a login module for receiving login information and sending the login information to the identity verification module. A registration request or a login request. For unregistered users, account registration can be performed through the login module on the smart TV terminal, and the back-end service receives the registration information and establishes the account. The registration information can be the user's mobile phone number, WeChat account, email, QQ and other electronic accounts. After receiving the information, the back-end server can associate the user information of the relevant electronic account to complete the establishment of the cloud desktop account, eliminating the need for the user to fill in personal information tedious.

对于具有电子账户的用户,可直接通过登录模块进行登录,登录信息发送到后端服务器经由身份校验模块后即可通过流媒体接收模块接收音视频流媒体数据。For users with electronic accounts, they can log in directly through the login module. After the login information is sent to the back-end server through the identity verification module, audio and video streaming media data can be received through the streaming media receiving module.

在本实施例中,键鼠功能模拟模块通过SendInput函数模拟键鼠操作。In this embodiment, the mouse and keyboard function simulation module simulates the operation of the keyboard and mouse through the SendInput function.

本发明提供的系统的工作原理是:The working principle of the system provided by the present invention is:

1、画面传输1. Screen transmission

由桌面数据采集模块将采集到的DXGI数据,利用后端服务器配置的NVIDIA/AMD显卡进行H.264/HEVC的编码,将编码后的音视频流媒体数据进行打包;智能电视连接WIFI后,通过TCP/UDP协议请求到音视频数据,利用智能电视终端自身硬件进行音视频解码,渲染到智能电视终端的屏幕上,实时显示云桌面的画面。The DXGI data collected by the desktop data acquisition module is encoded by H.264/HEVC using the NVIDIA/AMD graphics card configured by the back-end server, and the encoded audio and video streaming media data are packaged; after the smart TV is connected to WIFI, The TCP/UDP protocol requests audio and video data, uses the smart TV terminal's own hardware to decode the audio and video, renders it to the screen of the smart TV terminal, and displays the cloud desktop image in real time.

2、键鼠外设操作同步2. Synchronization of keyboard and mouse peripheral operations

智能电视终端接入USB键盘和鼠标,将按键和鼠标的外设事件传输给键鼠功能模拟模块,键鼠功能模拟模块进行鼠标和键盘事件映射,调用SendInput函数模拟键鼠功能。The smart TV terminal is connected to the USB keyboard and mouse, and the peripheral events of the buttons and the mouse are transmitted to the keyboard and mouse function simulation module. The keyboard and mouse function simulation module maps mouse and keyboard events, and calls the SendInput function to simulate the keyboard and mouse functions.

与现有技术相比,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:

通过将渲染工作转交到智能电视终端,利用智能电视终端自身强大的硬件解码能力对后端服务器发出的音视频流媒体进行本地实时渲染,能够有效节约后端服务器资源,保障后端服务器的桌面数据的编码效率,降低音视频流媒体在后端服务器和智能电视终端之间传输的延迟,将画面的延迟控制到80~100ms的范围,保证云桌面画面的流畅性,减少画面卡顿、掉帧、操作延迟等现象,以满足云办公、云电视、云游戏多种场景的应用。By transferring the rendering work to the smart TV terminal, and using the powerful hardware decoding capability of the smart TV terminal to perform local real-time rendering of the audio and video streaming media sent by the back-end server, it can effectively save the resources of the back-end server and ensure the desktop data of the back-end server. The encoding efficiency is improved, the delay of audio and video streaming media transmission between the back-end server and the smart TV terminal is reduced, and the delay of the picture is controlled to the range of 80~100ms, which ensures the smoothness of the cloud desktop picture and reduces the picture freezing and frame drop. , operation delay and other phenomena to meet the application of various scenarios of cloud office, cloud TV, and cloud games.

在本发明的一些优选实施例中,流媒体传输模块和流媒体接收模块根据网络情况自动切换TCP/UPD协议。In some preferred embodiments of the present invention, the streaming media transmission module and the streaming media receiving module automatically switch the TCP/UPD protocol according to network conditions.

可选地,流媒体传输模块和流媒体接收模块根据网络情况自动切换TCP/UPD协议,以实现在不同网络情况下也可以做到实时传输,提升云桌面系统的交互体验。具体地,流媒体传输模块和流媒体接收模块根据网络情况自动切换TCP/UPD协议包括如下步骤:Optionally, the streaming media transmission module and the streaming media receiving module automatically switch the TCP/UPD protocol according to network conditions, so as to realize real-time transmission under different network conditions, and improve the interactive experience of the cloud desktop system. Specifically, the streaming media transmission module and the streaming media receiving module automatically switch the TCP/UPD protocol according to network conditions, including the following steps:

步骤1,对当前网络的网络参数进行配置。Step 1, configure the network parameters of the current network.

在音视频流媒体数据传输过程中,网络状况主要通过网络延时和丢包率来体现,因此,在步骤1中,以网络延时和丢包率这两个网络参数作为分析对象,在音视频流媒体数据传输的过程中,在智能电视终端实时监测网络延时和丢包率。In the process of audio and video streaming media data transmission, the network status is mainly reflected by the network delay and packet loss rate. Therefore, in step 1, the two network parameters of network delay and packet loss rate are used as the analysis objects. In the process of video streaming data transmission, the network delay and packet loss rate are monitored in real time on the smart TV terminal.

通常,网络状况越好,网络延时越小、丢包率越小。根据TCP协议和UDP协议的传输特点,对网络延时和丢包率进行配置,设置TCP协议传输过程中允许的最大网络延迟LAG-max和最大丢包率PLR-max,以便在后续根据检测值和设定值的对比结果自动切换传输协议。Generally, the better the network condition, the smaller the network delay and the smaller the packet loss rate. According to the transmission characteristics of the TCP protocol and UDP protocol, configure the network delay and packet loss rate, and set the maximum network delay LAG-max and the maximum packet loss rate PLR-max allowed during the transmission of the TCP protocol, so as to be based on the detection value in the follow-up. The comparison result with the set value automatically switches the transmission protocol.

具体地,在本实施例中,最大网络延迟LAG-max设定为100ms,最大丢包率PLR-max设定为10%。应当说明的是,最大网络延迟LAG-max和最大丢包率PLR-max根据音视频流媒体数据传输的需求设置为其他的值,并不局限于此。Specifically, in this embodiment, the maximum network delay LAG-max is set to 100ms, and the maximum packet loss rate PLR-max is set to 10%. It should be noted that the maximum network delay LAG-max and the maximum packet loss rate PLR-max are set to other values according to the requirements of audio and video streaming media data transmission, and are not limited thereto.

步骤2,在音视频流媒体数据传输过程中实时监测所述网络参数,根据网络参数的变化将传输协议在TCP协议和UDP协议之间来回切换。Step 2: Monitor the network parameters in real time during the audio and video streaming media data transmission process, and switch the transmission protocol back and forth between the TCP protocol and the UDP protocol according to changes in the network parameters.

在步骤2中,默认选TCP协议进行音视频流媒体数据传输,音视频流媒体数据传输过程中,在智能电视终端实时监测网络延时和丢包率这两个网络参数,分别记为LAG-实时和PLR-实时。In step 2, the TCP protocol is selected by default for audio and video streaming data transmission. During the audio and video streaming data transmission process, the two network parameters of network delay and packet loss rate are monitored in real time at the smart TV terminal, which are recorded as LAG- Real-time and PLR-real-time.

当LAG-实时或者PLR-实时中任意一个大于其设定阈值时,即LAG-实时>100ms和/或PLR-实时>10%时,此时表明当前网络状况欠佳,将传输协议自TCP协议切换至UDP协议,UDP协议在网络欠佳的情况下,传输速度较TCP更快。When either LAG-real-time or PLR-real-time is greater than its set threshold, that is, LAG-real-time > 100ms and/or PLR-real-time > 10%, it indicates that the current network condition is not good, and the transmission protocol is changed from the TCP protocol Switch to UDP protocol, UDP protocol has faster transmission speed than TCP in the case of poor network.

反之,若LAG-实时≤100ms且PLR-实时≤10%,此时表明当前网络状况较佳,保持TCP协议传输音视频流媒体数据。On the contrary, if LAG-real-time≤100ms and PLR-real-time≤10%, it indicates that the current network condition is better, and the TCP protocol is maintained to transmit audio and video streaming media data.

通过对网络延时和丢包率进行配置,在智能电视终端实时监测当前网络情况的网络延时和丢包率,再根据实时检测结果自动切换到最佳的传输协议,以此保证音视频流媒体在智能电视终端和后端服务器之间的传输效率,进而保证云桌面画面的实时性和流畅性。By configuring the network delay and packet loss rate, the smart TV terminal monitors the network delay and packet loss rate of the current network situation in real time, and then automatically switches to the best transmission protocol according to the real-time detection results, so as to ensure the audio and video streaming. The transmission efficiency of media between the smart TV terminal and the back-end server ensures the real-time and fluency of the cloud desktop screen.

以上仅为本发明的较佳实施例而已,并不用于限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection scope of the present invention. Inside.

Claims (10)

1. A system for operating a cloud desktop based on an intelligent television is characterized by comprising a back-end server and an intelligent television terminal,
the back-end server includes:
the desktop data acquisition module is used for acquiring desktop data from a plurality of data sources;
the audio and video coding module is used for carrying out H.264/HEVC coding on the acquired desktop data and packaging the coded desktop data into audio and video streaming media data;
the streaming media transmission module is used for transmitting the audio and video streaming media data to the intelligent television terminal;
the keyboard and mouse function simulation module is used for mapping peripheral events of keyboard and mouse peripheral equipment and simulating keyboard and mouse operation;
the intelligent television terminal comprises:
the streaming media receiving module is used for receiving audio and video streaming media data sent by a back-end server;
the audio and video decoding module is used for carrying out hardware decoding on the audio and video streaming media data;
the picture rendering module is used for rendering the played audio and video streaming media in real time;
and the peripheral access module is used for connecting the keyboard and mouse peripheral equipment and receiving peripheral events of the keyboard and mouse peripheral equipment.
2. The system for operating the cloud desktop based on the smart television as claimed in claim 1, wherein the backend server further comprises an identity verification module for registering and verifying the identity of the user;
the intelligent television terminal also comprises a login module used for receiving login information and sending a registration request or a login request to the identity verification module according to the login information.
3. The system for operating the cloud desktop based on the smart television as claimed in claim 1, wherein the streaming media transmission module performs network transmission of audio/video streaming media data through a TCP/UPD protocol;
the streaming media receiving module is used for requesting and receiving audio and video streaming media data through a TCP/UDP protocol.
4. The system for operating the cloud desktop based on the smart television as claimed in claim 3, wherein the streaming media transmission module and the streaming media receiving module automatically switch TCP/UPD protocols according to network conditions.
5. The system for operating the cloud desktop based on the smart television as claimed in claim 2, wherein the streaming media transmission module and the streaming media receiving module automatically switch TCP/UPD protocol according to network conditions, and the system comprises:
configuring network parameters of a current network;
and monitoring the network parameters in real time in the audio and video streaming media data transmission process, and switching the transmission protocol back and forth between a TCP protocol and a UDP protocol according to the change of the network parameters.
6. The system for operating the cloud desktop based on the smart television as recited in claim 5, wherein the network parameters comprise network delay and packet loss rate.
7. The system for operating the cloud desktop based on the smart television as recited in claim 6, wherein the configuring the network parameters of the current network comprises:
configuring a maximum value LAG-max of network delay;
and configuring the maximum value PLR-max of the packet loss rate.
8. The system according to claim 7, wherein the maximum LAG-max of the network delay is configured to be 100ms, and the maximum PLR-max of the packet loss rate is configured to be 10%.
9. The system for operating cloud desktop based on smart television of claim 8, wherein the switching transmission protocol back and forth between TCP protocol and UDP protocol according to the change of network parameters comprises:
when the monitored network delay is larger than the maximum LAG-max of the network delay or the monitored packet loss rate is larger than the maximum PLR-max of the packet loss rate, switching the transmission protocol to a UDP protocol; otherwise, the transmission protocol is switched to the TCP protocol.
10. The system for operating the cloud desktop based on the smart television as claimed in claim 1, wherein the keyboard and mouse function simulation module simulates keyboard and mouse operations through a SendInput function.
CN202210466808.3A 2022-04-29 2022-04-29 System for operating cloud desktop based on smart television Pending CN114827692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210466808.3A CN114827692A (en) 2022-04-29 2022-04-29 System for operating cloud desktop based on smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210466808.3A CN114827692A (en) 2022-04-29 2022-04-29 System for operating cloud desktop based on smart television

Publications (1)

Publication Number Publication Date
CN114827692A true CN114827692A (en) 2022-07-29

Family

ID=82509476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210466808.3A Pending CN114827692A (en) 2022-04-29 2022-04-29 System for operating cloud desktop based on smart television

Country Status (1)

Country Link
CN (1) CN114827692A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116828215A (en) * 2023-08-30 2023-09-29 湖南马栏山视频先进技术研究院有限公司 A video rendering method and system that reduces local computing load
WO2025141348A1 (en) * 2023-12-29 2025-07-03 云智能资产控股(新加坡)私人股份有限公司 Transmission protocol switching method, device, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101644989A (en) * 2009-09-08 2010-02-10 南京师范大学 Real-time interactive method for universal three-dimensional virtual scene based on digital helmet
CN102480618A (en) * 2010-11-24 2012-05-30 中国电信股份有限公司 Method and system for realizing H264 video coding format play optimization
CN103078831A (en) * 2011-10-26 2013-05-01 新太科技股份有限公司 Self-adaption method on basis of TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) transmission supported by streaming media
CN105072190A (en) * 2015-08-21 2015-11-18 刘昌平 Method and system for realizing real-time desktop cloud
US20160198208A1 (en) * 2013-09-13 2016-07-07 Huawei Technologies Co.,Ltd. Desktop-cloud-based media control method and device
CN105812138A (en) * 2014-12-31 2016-07-27 华为技术有限公司 Logging-in processing method, processing device, user terminal, and logging-in system
CN107370714A (en) * 2016-05-13 2017-11-21 吉林纪元时空动漫游戏科技集团股份有限公司 The high efficiency communication method that facing cloud renders
CN108449771A (en) * 2018-06-29 2018-08-24 Oppo(重庆)智能科技有限公司 Network switching method, device, terminal and storage medium
CN110496388A (en) * 2019-08-22 2019-11-26 上海达龙信息科技有限公司 Remote desktop mouse emulation method, simulation system, medium and electronic equipment
CN111399964A (en) * 2020-03-27 2020-07-10 重庆海云捷迅科技有限公司 Cloud desktop platform based on video streaming technology

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101644989A (en) * 2009-09-08 2010-02-10 南京师范大学 Real-time interactive method for universal three-dimensional virtual scene based on digital helmet
CN102480618A (en) * 2010-11-24 2012-05-30 中国电信股份有限公司 Method and system for realizing H264 video coding format play optimization
CN103078831A (en) * 2011-10-26 2013-05-01 新太科技股份有限公司 Self-adaption method on basis of TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) transmission supported by streaming media
US20160198208A1 (en) * 2013-09-13 2016-07-07 Huawei Technologies Co.,Ltd. Desktop-cloud-based media control method and device
CN105812138A (en) * 2014-12-31 2016-07-27 华为技术有限公司 Logging-in processing method, processing device, user terminal, and logging-in system
CN105072190A (en) * 2015-08-21 2015-11-18 刘昌平 Method and system for realizing real-time desktop cloud
CN107370714A (en) * 2016-05-13 2017-11-21 吉林纪元时空动漫游戏科技集团股份有限公司 The high efficiency communication method that facing cloud renders
CN108449771A (en) * 2018-06-29 2018-08-24 Oppo(重庆)智能科技有限公司 Network switching method, device, terminal and storage medium
CN110496388A (en) * 2019-08-22 2019-11-26 上海达龙信息科技有限公司 Remote desktop mouse emulation method, simulation system, medium and electronic equipment
CN111399964A (en) * 2020-03-27 2020-07-10 重庆海云捷迅科技有限公司 Cloud desktop platform based on video streaming technology

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116828215A (en) * 2023-08-30 2023-09-29 湖南马栏山视频先进技术研究院有限公司 A video rendering method and system that reduces local computing load
CN116828215B (en) * 2023-08-30 2023-11-14 湖南马栏山视频先进技术研究院有限公司 Video rendering method and system for reducing local computing power load
WO2025141348A1 (en) * 2023-12-29 2025-07-03 云智能资产控股(新加坡)私人股份有限公司 Transmission protocol switching method, device, and storage medium

Similar Documents

Publication Publication Date Title
CN111399964B (en) Cloud desktop platform based on video streaming technology
CN105488837B (en) Real-time off-screen rendering method, device and system based on cloud computing
CN104144351B (en) Video playback method and device using virtualization platform
CN112473133B (en) Cloud game response method, system, equipment and readable storage medium
CN104660687A (en) Realization method and system for virtual desktop display
CN104053019A (en) Video playing and processing method and device based on virtual desktop
US10645391B2 (en) Graphical instruction data processing method and apparatus, and system
CN106331733A (en) A method and system for real-time processing of audio and video data on a desktop cloud terminal
CN102387187A (en) Server, client as well as method and system for remotely playing video file by using client
CN110891084A (en) Thin client remote desktop control system based on autonomous HVDP protocol
CN105898506A (en) Method and system for multi-screen playing of media files
CN109587118B (en) Distributed multi-terminal and multi-network supporting system for Android online game
CN115052043A (en) Video transmission method, electronic equipment, device and medium of cloud desktop
CN105208406A (en) Video data providing method and apparatus, video playing method and apparatuses, and video playing system
CN114268626B (en) Window processing system, method and device
CN114827692A (en) System for operating cloud desktop based on smart television
CN102664939A (en) Method and device for mobile terminal of screen mirror image
CN115445194B (en) Game rendering methods, devices, equipment, and storage media
CN106657206A (en) Virtual desktop infrastructure web video redirection method
WO2024037110A1 (en) Data processing method and apparatus, device, and medium
CN113207016A (en) Virtual machine image frame rate control method, network device and storage medium
Lin et al. Cloudlet–screen computing: a client–server architecture with top graphics performance
CN110418209A (en) A kind of information processing method and terminal device applied to transmission of video
CN104639501B (en) A kind of method of data stream transmitting, equipment and system
Hou et al. A cloud gaming system based on NVIDIA GRID GPU

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20220729