[go: up one dir, main page]

CN103248682A - Optimization method and device for bandwidth usage - Google Patents

Optimization method and device for bandwidth usage Download PDF

Info

Publication number
CN103248682A
CN103248682A CN201310152252.1A CN201310152252A CN103248682A CN 103248682 A CN103248682 A CN 103248682A CN 201310152252 A CN201310152252 A CN 201310152252A CN 103248682 A CN103248682 A CN 103248682A
Authority
CN
China
Prior art keywords
server
flow control
code rate
control request
delay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201310152252.1A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310152252.1A priority Critical patent/CN103248682A/en
Publication of CN103248682A publication Critical patent/CN103248682A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例公开了一种带宽使用优化方法及装置,涉及通信领域,保证了客户端的图形应用和媒体应用能及时获得足够的数据,提高了用户体验。具体方案为:获取数据处理时延;判断所述时延与预设的时延门限的大小关系;其中,所述时延门限包括第一时延门限;当所述时延大于所述第一时延门限时,向所述服务器发送用于请求所述服务器降低传输码率的第一流控请求,以便所述服务器根据所述第一流控请求降低所述传输码率,进而使客户端及时获取足够数据。本发明用于带宽使用的优化过程中。

The embodiment of the invention discloses a bandwidth usage optimization method and device, which relate to the field of communication, and ensure that graphics applications and media applications of a client can obtain sufficient data in time, thereby improving user experience. The specific solution is: acquiring data processing delay; judging the relationship between the delay and a preset delay threshold; wherein, the delay threshold includes a first delay threshold; when the delay is greater than the first When the delay threshold is reached, send to the server a first flow control request for requesting the server to reduce the transmission code rate, so that the server can reduce the transmission code rate according to the first flow control request, so that the client can obtain the enough data. The invention is used in the optimization process of bandwidth usage.

Description

一种带宽使用优化方法及装置Method and device for optimizing bandwidth usage

技术领域technical field

本发明涉及通信领域,尤其涉及一种带宽使用优化方法及装置。The present invention relates to the communication field, in particular to a method and device for optimizing bandwidth usage.

背景技术Background technique

桌面云是基于云计算技术的一种远程桌面应用,通过桌面云平台可以给客户端或其他任何可以连接网络的设备提供虚拟化的“计算机”或推送应用的桌面,也就是说客户端或者其他任何可以连接网络的设备,通过专用程序或者浏览器便可以访问在服务器端的个人桌面以及各种应用,并且用户体验和使用传统的个人电脑是一样的。Desktop cloud is a remote desktop application based on cloud computing technology. Through the desktop cloud platform, it can provide clients or any other devices that can connect to the network with virtualized "computers" or push application desktops, that is to say, clients or other Any device that can be connected to the network can access the personal desktop and various applications on the server side through a dedicated program or browser, and the user experience is the same as using a traditional personal computer.

在桌面云应用中,服务器需要通过网络向客户端传输图形数据以及音视频数据,为了节省带宽,服务器通常都会先采用一定的方式将这些数据进行压缩,然后再传输给客户端。一般情况下,服务器的桌面通常会压缩成图片或视频流,服务器的系统声音压缩成一定格式的音频流,在服务器上播放的媒体文件,则首先进过音视频分离,然后对音视频分别进行转码压缩或者不经过压缩,直接送给客户端。不同的应用对数据传输的要求往往不同,比如播放幻灯片的应用需要传输大量的图形数据,而播放音视频的应用,则需要传输大量的音视频数据。由于在桌面云的某些应用场景下,这些应用有可能需要同时运行,因此这些不同类型的数据必须同时传输,共享带宽。现有技术中服务器采用固定的压缩参数对图形数据进行压缩,并且对图形数据以及音视频数据的传输速率没有控制,总是以固定的速率进行数据的传输。In desktop cloud applications, the server needs to transmit graphics data and audio and video data to the client through the network. In order to save bandwidth, the server usually compresses these data in a certain way before transmitting it to the client. Under normal circumstances, the desktop of the server is usually compressed into pictures or video streams, the system sound of the server is compressed into audio streams of a certain format, and the media files played on the server are first separated into audio and video, and then the audio and video are separated separately. Transcoding compressed or not compressed, sent directly to the client. Different applications often have different requirements for data transmission. For example, an application that plays a slide show needs to transmit a large amount of graphics data, while an application that plays audio and video needs to transmit a large amount of audio and video data. Because in some application scenarios of the desktop cloud, these applications may need to run at the same time, so these different types of data must be transmitted at the same time and share bandwidth. In the prior art, the server uses fixed compression parameters to compress graphic data, and does not control the transmission rate of graphic data and audio and video data, and always transmits data at a fixed rate.

现有技术至少存在如下问题:由于服务器采用固定的压缩参数处理数据,所以无法动态的控制图形数据的数据量,并且由于对图形数据以及音视频数据的传输速率也没有控制,所以传输数据的带宽使用情况取决于图形数据与音视频数据的码率,而当图形数据与音视频数据的码率超过网络带宽时,客户端的图形应用和媒体应用都不能及时获取到足够的数据,从而导致图形应用刷新缓慢,出现图形滞后,甚至出现“滚屏”的现象,并会导致媒体应用出现卡顿和音视频不同步的问题,严重影响用户体验。There are at least the following problems in the prior art: since the server uses fixed compression parameters to process data, it is impossible to dynamically control the data volume of graphics data, and since there is no control over the transmission rate of graphics data and audio and video data, the bandwidth of transmission data The usage depends on the bit rate of graphics data and audio and video data, and when the bit rate of graphics data and audio and video data exceeds the network bandwidth, neither the graphics application nor the media application of the client can obtain enough data in time, resulting in Refresh is slow, graphics lag, and even "scrolling" phenomenon occurs, which will cause the media application to freeze and audio and video are not synchronized, seriously affecting the user experience.

发明内容Contents of the invention

本发明的实施例提供一种带宽使用优化方法及装置,保证了客户端的图形应用和媒体应用能及时获得足够的数据,提高了用户体验。Embodiments of the present invention provide a bandwidth usage optimization method and device, which ensure that graphics applications and media applications of a client can obtain sufficient data in time and improve user experience.

为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:

本发明的第一方面,提供一种带宽使用优化方法,包括:A first aspect of the present invention provides a bandwidth usage optimization method, including:

获取数据处理时延;Obtain data processing delay;

判断所述时延与预设的时延门限的大小关系;其中,所述时延门限包括第一时延门限;judging the relationship between the time delay and a preset time delay threshold; wherein, the time delay threshold includes a first time delay threshold;

当所述时延大于所述第一时延门限时,向所述服务器发送用于请求所述服务器降低传输码率的第一流控请求,以便所述服务器根据所述第一流控请求降低所述传输码率,进而使客户端及时获取足够数据。When the delay is greater than the first delay threshold, send to the server a first flow control request for requesting the server to reduce the transmission code rate, so that the server reduces the transmission code rate according to the first flow control request. Transmission code rate, so that the client can obtain enough data in time.

结合第一方面,在一种可能的实现方式中,所述时延门限包括第二时延门限,且所述第二时延门限小于所述第一时延门限;With reference to the first aspect, in a possible implementation manner, the delay threshold includes a second delay threshold, and the second delay threshold is smaller than the first delay threshold;

所述方法还包括:The method also includes:

当所述时延小于所述第二时延门限时,向服务器发送用于请求所述服务器提高所述传输码率的第二流控请求,以便所述服务器根据所述第二流控请求提高所述传输码率。When the delay is less than the second delay threshold, send a second flow control request to the server to request the server to increase the transmission code rate, so that the server can increase the transmission code rate according to the second flow control request. The transmission code rate.

结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,在所述判断所述时延与预设的时延门限的大小关系之后,还包括:In combination with the first aspect and the foregoing possible implementation manner, in another possible implementation manner, after the determination of the relationship between the delay and the preset delay threshold, further includes:

获取所述客户端的工作模式;其中,所述工作模式包括图形模式、音视频模式;Obtain the working mode of the client; wherein, the working mode includes graphics mode, audio and video mode;

所述当所述时延大于所述第一时延门限时,向所述服务器发送用于请求所述服务器降低传输码率的第一流控请求,包括:When the delay is greater than the first delay threshold, sending to the server a first flow control request for requesting the server to reduce the transmission code rate includes:

当所述时延大于所述第一时延门限且所述工作模式为所述图形模式时,向所述服务器发送用于请求所述服务器降低音视频数据的传输码率的第一流控请求。When the delay is greater than the first delay threshold and the working mode is the graphics mode, sending a first flow control request for requesting the server to reduce the transmission bit rate of audio and video data to the server.

结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,所述当所述时延大于所述第一时延门限时,向所述服务器发送用于请求所述服务器降低传输码率的第一流控请求,包括:With reference to the first aspect and the foregoing possible implementation manner, in another possible implementation manner, when the delay is greater than the first delay threshold, sending a request to the server to reduce the The first flow control request of the transmission code rate, including:

当所述时延大于所述第一时延门限且所述工作模式为所述音视频模式时,向所述服务器发送用于请求所述服务器降低图形数据的传输码率的第一流控请求。When the delay is greater than the first delay threshold and the working mode is the audio-video mode, sending a first flow control request for requesting the server to reduce the transmission code rate of the graphics data to the server.

结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,在所述判断所述时延与预设的时延门限的大小关系之后,还包括:In combination with the first aspect and the foregoing possible implementation manner, in another possible implementation manner, after the determination of the relationship between the delay and the preset delay threshold, further includes:

获取所述客户端的工作模式;其中,所述工作模式包括图形模式、音视频模式;Obtain the working mode of the client; wherein, the working mode includes graphics mode, audio and video mode;

所述当所述时延小于所述第二时延门限时,向服务器发送用于请求所述服务器提高所述传输码率的第二流控请求,包括:When the delay is less than the second delay threshold, sending to the server a second flow control request for requesting the server to increase the transmission code rate includes:

当所述时延小于所述第二时延门限且所述工作模式为所述图形模式时,向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第二流控请求。When the delay is less than the second delay threshold and the working mode is the graphics mode, send to the server a second flow control message for requesting the server to increase the transmission code rate of the graphics data ask.

结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,所述当所述时延小于所述第二时延门限时,向服务器发送用于请求所述服务器提高所述传输码率的第二流控请求,包括:With reference to the first aspect and the foregoing possible implementation manner, in another possible implementation manner, when the delay is less than the second delay threshold, sending a request to the server to increase the The second flow control request for the transmission code rate, including:

当所述时延小于所述第二时延门限且所述工作模式为所述音视频模式时,向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第二流控请求。When the delay is less than the second delay threshold and the working mode is the audio-video mode, send a second request to the server to request the server to increase the transmission code rate of the audio-video data Flow control request.

结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,在所述向所述服务器发送用于请求所述服务器降低音视频数据的传输码率的第一流控请求之后,还包括:With reference to the first aspect and the foregoing possible implementation manner, in another possible implementation manner, after sending the first flow control request to the server to request the server to reduce the transmission bit rate of the audio and video data, Also includes:

接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器降低所述音视频数据的传输码率失败时发送的;receiving a flow control failure response sent by the server, where the flow control failure response is sent when the server fails to reduce the transmission bit rate of the audio and video data;

向所述服务器发送用于请求所述服务器降低所述图形数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述图形数据的传输码率进行调整。sending a third flow control request for requesting the server to reduce the transmission code rate of the graphics data to the server, so that the server can adjust the transmission code rate of the graphics data according to the third flow control request .

结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,在所述向所述服务器发送用于请求所述服务器降低图形数据的传输码率的第一流控请求之后,还包括:With reference to the first aspect and the foregoing possible implementation manner, in another possible implementation manner, after sending the first flow control request for requesting the server to reduce the transmission code rate of the graphics data to the server, further include:

接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器降低所述图形数据的传输码率失败时发送的;receiving a flow control failure response sent by the server, where the flow control failure response is sent when the server fails to reduce the transmission code rate of the graphics data;

向所述服务器发送用于请求所述服务器降低所述音视频数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述音视频数据的传输码率进行调整。Sending a third flow control request for requesting the server to reduce the transmission code rate of the audio and video data to the server, so that the server can adjust the transmission code rate of the audio and video data according to the third flow control request Make adjustments.

结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,在所述向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第二流控请求之后,还包括:With reference to the first aspect and the foregoing possible implementation manner, in another possible implementation manner, when sending the second flow control request to the server to request the server to increase the transmission code rate of the graphics data After that, also include:

接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器提高所述图形数据的传输码率失败时发送的;receiving a flow control failure response sent by the server, where the flow control failure response is sent when the server fails to increase the transmission code rate of the graphics data;

向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第三流控请求;以便所述服务器根据所述第三流控请求对所述音视频数据的传输码率进行调整。Sending a third flow control request for requesting the server to increase the transmission code rate of the audio and video data to the server; so that the server can adjust the transmission code rate of the audio and video data according to the third flow control request Make adjustments.

结合第一方面和上述可能的实现方式,在另一种可能的实现方式中,在所述向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第二流控请求之后,还包括:With reference to the first aspect and the above possible implementation manner, in another possible implementation manner, in the sending to the server the second flow control requesting the server to increase the transmission bit rate of the audio and video data After the request, also include:

接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器提高所述音视频数据的传输码率失败时发送的;receiving a flow control failure response sent by the server, where the flow control failure response is sent when the server fails to increase the transmission bit rate of the audio and video data;

向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述图形数据的传输码率进行调整。sending a third flow control request for requesting the server to increase the transmission code rate of the graphics data to the server, so that the server can adjust the transmission code rate of the graphics data according to the third flow control request .

本发明的第二方面,提供一种带宽使用优化装置,包括:A second aspect of the present invention provides a device for optimizing bandwidth usage, including:

第一获取单元,用于获取数据处理时延;The first acquisition unit is used to acquire the data processing delay;

判断单元,用于判断所述第一获取单元获取到的所述时延与预设的时延门限的大小关系;其中,所述时延门限包括第一时延门限;A judging unit, configured to judge the relationship between the time delay acquired by the first obtaining unit and a preset time delay threshold; wherein, the time delay threshold includes a first time delay threshold;

第一发送单元,用于当所述判断单元判断得到所述时延大于所述第一时延门限时,向所述服务器发送用于请求所述服务器降低传输码率的第一流控请求,以便所述服务器根据所述第一流控请求降低所述传输码率,进而使客户端及时获取足够数据。A first sending unit, configured to, when the judging unit judges that the delay is greater than the first delay threshold, send to the server a first flow control request for requesting the server to reduce a transmission code rate, so that The server reduces the transmission code rate according to the first flow control request, so that the client can obtain sufficient data in time.

结合第二方面,在一种可能的实现方式中,所述时延门限包括第二时延门限,且所述第二时延门限小于所述第一时延门限;With reference to the second aspect, in a possible implementation manner, the delay threshold includes a second delay threshold, and the second delay threshold is smaller than the first delay threshold;

所述装置还包括:The device also includes:

第二发送单元,用于当所述判断单元判断得到所述时延小于所述第二时延门限时,向服务器发送用于请求所述服务器提高所述传输码率的第二流控请求,以便所述服务器根据所述第二流控请求提高所述传输码率。a second sending unit, configured to send to a server a second flow control request for requesting the server to increase the transmission code rate when the judging unit judges that the delay is less than the second delay threshold, so that the server increases the transmission code rate according to the second flow control request.

结合第二方面和上述可能的实现方式,在另一种可能的实现方式中,还包括:In combination with the second aspect and the foregoing possible implementation manner, another possible implementation manner further includes:

第二获取单元,用于在所述判断单元判断所述时延与预设的时延门限的大小关系之后,获取所述客户端的工作模式;其中,所述工作模式包括图形模式、音视频模式;The second acquiring unit is configured to acquire the working mode of the client after the judging unit judges the relationship between the delay and the preset delay threshold; wherein, the working mode includes a graphics mode, an audio and video mode ;

所述第一发送单元,具体用于当所述判断单元判断得到所述时延大于所述第一时延门限且所述第二获取单元获取到的所述工作模式为所述图形模式时,向所述服务器发送用于请求所述服务器降低音视频数据的传输码率的第一流控请求。The first sending unit is specifically configured to, when the judging unit judges that the delay is greater than the first delay threshold and the working mode acquired by the second acquiring unit is the graphics mode, Sending a first flow control request for requesting the server to reduce the transmission bit rate of the audio and video data to the server.

结合第二方面和上述可能的实现方式,在另一种可能的实现方式中,In combination with the second aspect and the above possible implementation manners, in another possible implementation manner,

所述第一发送单元,具体还用于当所述判断单元判断得到所述时延大于所述第一时延门限且所述第二获取单元获取到的所述工作模式为所述音视频模式时,向所述服务器发送用于请求所述服务器降低图形数据的传输码率的第一流控请求。The first sending unit is specifically further configured to determine that the delay is greater than the first delay threshold and the working mode acquired by the second acquiring unit is the audio-video mode when the judging unit judges , sending to the server a first flow control request for requesting the server to reduce the transmission code rate of the graphics data.

结合第二方面和上述可能的实现方式,在另一种可能的实现方式中,还包括:In combination with the second aspect and the foregoing possible implementation manner, another possible implementation manner further includes:

第三获取单元,用于在所述判断单元判断所述时延与预设的时延门限的大小关系之后,获取所述客户端的工作模式;其中,所述工作模式包括图形模式、音视频模式;A third acquiring unit, configured to acquire the working mode of the client after the judging unit judges the relationship between the delay and the preset delay threshold; wherein the working mode includes a graphic mode, an audio-video mode ;

所述第二发送单元,具体用于当所述判断单元判断得到所述时延小于所述第二时延门限且所述第三获取单元获取到的所述工作模式为所述图形模式时,向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第二流控请求。The second sending unit is specifically configured to, when the judging unit judges that the delay is less than the second delay threshold and the working mode acquired by the third acquiring unit is the graphics mode, and sending a second flow control request for requesting the server to increase the transmission code rate of the graphics data to the server.

结合第二方面和上述可能的实现方式,在另一种可能的实现方式中,In combination with the second aspect and the above possible implementation manners, in another possible implementation manner,

所述第二发送单元,具体还用于当所述判断单元判断得到所述时延小于所述第二时延门限且所述第三获取单元获取到的所述工作模式为所述音视频模式时,向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第二流控请求。The second sending unit is specifically further configured to determine that the delay is less than the second delay threshold and the working mode acquired by the third acquiring unit is the audio-video mode when the judging unit judges , sending to the server a second flow control request for requesting the server to increase the transmission bit rate of the audio and video data.

结合第二方面和上述可能的实现方式,在另一种可能的实现方式中,还包括:In combination with the second aspect and the foregoing possible implementation manner, another possible implementation manner further includes:

第一接收单元,用于在所述第一发送单元向所述服务器发送用于请求所述服务器降低音视频数据的传输码率的第一流控请求之后,接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器降低所述音视频数据的传输码率失败时发送的;A first receiving unit, configured to receive a flow control failure response sent by the server after the first sending unit sends a first flow control request for requesting the server to reduce the transmission bit rate of audio and video data to the server , the flow control failure response is sent when the server fails to reduce the transmission bit rate of the audio and video data;

第三发送单元,用于向所述服务器发送用于请求所述服务器降低所述图形数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述图形数据的传输码率进行调整。The third sending unit is configured to send to the server a third flow control request for requesting the server to reduce the transmission code rate of the graphics data, so that the server can perform the graphics processing according to the third flow control request The data transmission code rate is adjusted.

结合第二方面和上述可能的实现方式,在另一种可能的实现方式中,In combination with the second aspect and the above possible implementation manners, in another possible implementation manner,

所述第一接收单元,还用于在所述第一发送单元向所述服务器发送用于请求所述服务器降低图形数据的传输码率的第一流控请求之后,接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器降低所述图形数据的传输码率失败时发送的;The first receiving unit is further configured to receive a flow control request sent by the server after the first sending unit sends a first flow control request for requesting the server to reduce the transmission code rate of graphics data to the server. A failure response, the flow control failure response is sent when the server fails to reduce the transmission bit rate of the graphics data;

所述第三发送单元,还用于向所述服务器发送用于请求所述服务器降低所述音视频数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述音视频数据的传输码率进行调整。The third sending unit is further configured to send to the server a third flow control request for requesting the server to reduce the transmission bit rate of the audio and video data, so that the server can transmit the data according to the third flow control request Adjust the transmission code rate of the audio and video data.

结合第二方面和上述可能的实现方式,在另一种可能的实现方式中,还包括:In combination with the second aspect and the foregoing possible implementation manner, another possible implementation manner further includes:

第二接收单元,用于在所述第二发送单元向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第二流控请求之后,接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器提高所述图形数据的传输码率失败时发送的;The second receiving unit is configured to receive the flow control sent by the server after the second sending unit sends a second flow control request for requesting the server to increase the transmission code rate of the graphics data to the server. A failure response, the flow control failure response is sent when the server fails to increase the transmission bit rate of the graphics data;

第四发送单元,用于向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第三流控请求;以便所述服务器根据所述第三流控请求对所述音视频数据的传输码率进行调整。A fourth sending unit, configured to send to the server a third flow control request for requesting the server to increase the transmission bit rate of the audio and video data; The transmission bit rate of audio and video data is adjusted.

结合第二方面和上述可能的实现方式,在另一种可能的实现方式中,In combination with the second aspect and the above possible implementation manners, in another possible implementation manner,

所述第二接收单元,还用于在所述第二发送单元向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第二流控请求之后,接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器提高所述音视频数据的传输码率失败时发送的;The second receiving unit is further configured to receive a second flow control request from the server after the second sending unit sends the server a second flow control request for requesting the server to increase the transmission code rate of the audio and video data. A flow control failure response sent, the flow control failure response is sent when the server fails to increase the transmission bit rate of the audio and video data;

所述第四发送单元,还用于向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述图形数据的传输码率进行调整。The fourth sending unit is further configured to send to the server a third flow control request for requesting the server to increase the transmission code rate of the graphics data, so that the server can perform the graphics data according to the third flow control request. The transmission code rate of the graphics data is adjusted.

本发明实施例提供的带宽使用优化方法及装置,通过判断获取到的数据处理的时延与预设的时延门限的大小关系来获知当前网络带宽的使用情况,并在判断得到时延大于第一时延门限,即网络带宽不足时,向服务器发送用于请求服务器降低传输码率的第一流控请求,以便服务器根据第一流控请求降低传输码率,进而使得客户端能够及时的获取足够数据,使得在网络带宽不足的情况下,客户端的图形应用和媒体应用能及时获得足够的数据,提高了用户体验。The bandwidth usage optimization method and device provided by the embodiments of the present invention know the current usage of the network bandwidth by judging the relationship between the acquired data processing delay and the preset delay threshold, and when the judged delay is greater than the second A delay threshold, that is, when the network bandwidth is insufficient, send the first flow control request to the server to request the server to reduce the transmission code rate, so that the server can reduce the transmission code rate according to the first flow control request, so that the client can obtain enough data in time , so that in the case of insufficient network bandwidth, graphics applications and media applications of the client can obtain sufficient data in time, thereby improving user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.

图1为本发明一实施例提供的一种带宽使用优化方法流程图;Fig. 1 is a flow chart of a bandwidth usage optimization method provided by an embodiment of the present invention;

图2为本发明另一实施例提供的一种带宽使用优化方法流程图;Fig. 2 is a flow chart of a bandwidth usage optimization method provided by another embodiment of the present invention;

图3为本发明另一实施例提供的在一种应用场景中的一种带宽使用优化方法流程图;FIG. 3 is a flow chart of a bandwidth usage optimization method in an application scenario provided by another embodiment of the present invention;

图4为本发明另一实施例提供的在另一种应用场景中的一种带宽使用优化方法流程图;FIG. 4 is a flow chart of a bandwidth usage optimization method in another application scenario provided by another embodiment of the present invention;

图5为本发明另一实施例提供一种带宽使用优化装置组成示意图;FIG. 5 is a schematic composition diagram of a device for optimizing bandwidth usage provided by another embodiment of the present invention;

图6为本发明另一实施例提供另一种带宽使用优化装置组成示意图;FIG. 6 is a schematic composition diagram of another device for optimizing bandwidth utilization provided by another embodiment of the present invention;

图7为本发明另一实施例提供另一种带宽使用优化装置组成示意图。FIG. 7 is a schematic composition diagram of another device for optimizing bandwidth usage provided by another embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

本发明一实施例提供一种带宽使用优化方法,如图1所示,在桌面云系统中,客户端的应用需要通过网络从服务器端获取自身需要的数据,在带宽不足的情况下,为了使得客户端的图形应用和媒体应用能够及时的从服务器端获取到足够的数据,让用户获得好的体验,本发明实施例提供一种解决方法,该方法可以包括:An embodiment of the present invention provides a bandwidth usage optimization method, as shown in Figure 1, in the desktop cloud system, the client application needs to obtain the data it needs from the server through the network, in the case of insufficient bandwidth, in order to make the client Graphics applications and media applications on the client side can obtain enough data from the server side in time to allow users to obtain a good experience. Embodiments of the present invention provide a solution, which may include:

101、获取数据处理时延。101. Obtaining data processing delay.

其中,客户端可以获取处理当前数据的处理时延,例如,客户端当前运行的应用为图形应用,那么客户端可以采集图形数据的渲染时延,客户端运行的应用为媒体应用,则客户端可以采集音视频数据的播放时延。Among them, the client can obtain the processing delay of processing the current data. For example, if the application currently running on the client is a graphics application, then the client can collect the rendering delay of the graphics data. If the application running on the client is a media application, then the client The playback delay of audio and video data can be collected.

102、判断时延与预设的时延门限的大小关系,其中,时延门限包括第一时延门限。102. Determine the relationship between the delay and a preset delay threshold, where the delay threshold includes a first delay threshold.

其中,当客户端获取到处理当前数据的时延后,便可以判断该时延与预设的时延门限的大小关系,该时延门限的具体值可以根据网络的带宽来获得。Wherein, after the client obtains the time delay for processing the current data, it can judge the relationship between the time delay and the preset time delay threshold, and the specific value of the time delay threshold can be obtained according to the bandwidth of the network.

103、当时延大于第一时延门限时,向服务器发送用于请求服务器降低传输码率的第一流控请求,以便服务器根据第一流控请求降低传输码率,进而使客户端及时获取足够数据。103. When the time delay is greater than the first time delay threshold, send to the server a first flow control request for requesting the server to reduce the transmission code rate, so that the server reduces the transmission code rate according to the first flow control request, so that the client can obtain enough data in time.

其中,由于在桌面云系统中,服务器采用固定的压缩参数处理数据,所以无法动态的控制图形数据的数据量,再加上对图形数据以及音视频数据的传输速率也没有控制机制,因此服务器向客户端传输数据的带宽使用情况取决于图形数据和音视频数据的传输码率。当客户端判断得到时延大于预设的第一时延门限,也就是说时延过大时,就表明带宽不足,此时客户端可以向服务器发送用于请求服务器降低传输码率的第一流控请求,当服务器接收到客户端发送的第一流控请求时,便可以根据第一流控请求来降低数据的传输码率,这样以一定的图形图像质量为代价,降低数据量来提高图形应用的刷新速度以及媒体应用的播放流畅度,从而保证了在带宽不足的情况下,客户端仍可以及时的获取到足够的数据,保证用户的体验。其中,降低数据的传输码率具体的可以是降低图形数据的传输码率,也可以是降低音视频数据的传输码率,还可以是同时降低图形数据和音视频数据的传输码率。Among them, in the desktop cloud system, the server uses fixed compression parameters to process data, so it is impossible to dynamically control the data volume of graphics data, and there is no control mechanism for the transmission rate of graphics data and audio and video data. The bandwidth usage of data transmitted by the client depends on the transmission bit rate of graphics data and audio and video data. When the client judges that the delay is greater than the preset first delay threshold, that is to say, when the delay is too large, it indicates that the bandwidth is insufficient. At this time, the client can send the first stream to the server to request the server to reduce the transmission bit rate Control request, when the server receives the first flow control request sent by the client, it can reduce the data transmission bit rate according to the first flow control request, so that at the cost of a certain graphics image quality, the amount of data can be reduced to improve the performance of graphics applications. Refresh speed and playback fluency of media applications, so as to ensure that in the case of insufficient bandwidth, the client can still obtain enough data in time to ensure user experience. Wherein, lowering the data transmission bit rate specifically may be lowering the graphic data transmission bit rate, lowering the audio/video data transmission bit rate, or lowering the graphic data and audio/video data transmission bit rate simultaneously.

本发明实施例提供的带宽使用优化方法,通过判断获取到的数据处理的时延与预设的时延门限的大小关系来获知当前网络带宽的使用情况,并在判断得到时延大于第一时延门限,即网络带宽不足时,向服务器发送用于请求服务器降低传输码率的第一流控请求,以便服务器根据第一流控请求降低传输码率,进而使得客户端能够及时的获取足够数据,使得在网络带宽不足的情况下,客户端的图形应用和媒体应用能及时获得足够的数据,提高了用户体验。The bandwidth usage optimization method provided by the embodiment of the present invention obtains the current network bandwidth usage by judging the relationship between the acquired data processing delay and the preset delay threshold, and when the delay is judged to be greater than the first Extend the threshold, that is, when the network bandwidth is insufficient, send the first flow control request to the server to request the server to reduce the transmission code rate, so that the server can reduce the transmission code rate according to the first flow control request, so that the client can obtain enough data in time, so that In the case of insufficient network bandwidth, graphics applications and media applications on the client side can obtain sufficient data in a timely manner, which improves user experience.

本发明另一实施例提供一种带宽使用优化方法,如图2所示,该方法可以包括:Another embodiment of the present invention provides a bandwidth usage optimization method, as shown in Figure 2, the method may include:

201、获取数据处理时延。201. Obtain data processing delay.

202、判断时延与预设的时延门限的大小关系,当时延大于第一时延门限时,执行以下步骤203;当时延小于第二时延门限时,执行以下步骤204。202. Determine the relationship between the time delay and the preset time delay threshold. When the time delay is greater than the first time delay threshold, perform the following step 203; when the time delay is less than the second time delay threshold, perform the following step 204.

其中,客户端可以根据网络的带宽来提前设置第一时延门限和第二时延门限,其中第一时延门限用于判断当前的带宽是否不足,第二时延门限用于判断当前的带宽是否有结余,第一时延门限大于第二时延门限。Among them, the client can set the first delay threshold and the second delay threshold in advance according to the bandwidth of the network, wherein the first delay threshold is used to judge whether the current bandwidth is insufficient, and the second delay threshold is used to judge the current bandwidth Whether there is a balance, the first delay threshold is greater than the second delay threshold.

203、向服务器发送用于请求服务器降低传输码率的第一流控请求,以便服务器根据第一流控请求降低传输码率,进而使客户端及时获取足够数据。203. Send to the server a first flow control request for requesting the server to reduce the transmission code rate, so that the server reduces the transmission code rate according to the first flow control request, so that the client obtains enough data in time.

204、向服务器发送用于请求服务器提高传输码率的第二流控请求,以便服务器根据第二流控请求提高传输码率。204. Send a second flow control request for requesting the server to increase the transmission code rate to the server, so that the server increases the transmission code rate according to the second flow control request.

其中,当客户端的判断得到时延小于第二门限,也就是说当前带宽充裕时,此时客户端便可以向服务器发送用于请求服务器提高传输码率的第二流控请求,当服务器接收到第二流控请求时,便可以根据第二流控请求提高数据的传输码率,从而充分使用网络提供的带宽。其中,提高数据的传输码率具体的可以是提高图形数据的传输码率,也可以是提高音视频数据的传输码率,还可以是同时提高图形数据和音视频数据的传输码率。Wherein, when the client judges that the delay is less than the second threshold, that is to say, when the current bandwidth is sufficient, the client can send the second flow control request to the server to request the server to increase the transmission code rate. When the server receives When the second flow control request is made, the data transmission rate can be increased according to the second flow control request, so as to make full use of the bandwidth provided by the network. Wherein, increasing the transmission code rate of data may specifically increase the transmission code rate of graphics data, may also increase the transmission code rate of audio and video data, and may also increase the transmission code rate of graphics data and audio and video data at the same time.

需要说明的是,本发明实施例提供的带宽使用优化方法中步骤201-步骤204的具体描述,可以参考本发明另一实施例中步骤101-步骤103中对应步骤的具体描述,本发明实施例在以不在一一赘述。It should be noted that, for the specific description of steps 201 to 204 in the bandwidth usage optimization method provided by the embodiment of the present invention, you can refer to the specific description of the corresponding steps in steps 101 to 103 in another embodiment of the present invention. I will not repeat them one by one.

本发明实施例提供的带宽使用优化的方法,通过判断获取到的数据处理的时延与预设的时延门限的大小关系来获知当前网络带宽的使用情况,并在判断得到时延大于第一时延门限,即网络带宽不足时,向服务器发送用于请求服务器降低传输码率的第一流控请求,以便服务器根据第一流控请求降低传输码率,进而使得客户端能够及时的获取足够数据,使得在网络带宽不足的情况下,客户端的图形应用和媒体应用能及时获得足够的数据,提高了用户体验。The bandwidth usage optimization method provided by the embodiments of the present invention obtains the current network bandwidth usage by judging the relationship between the acquired data processing delay and the preset delay threshold, and determines that the delay is greater than the first Delay threshold, that is, when the network bandwidth is insufficient, send the first flow control request to the server to request the server to reduce the transmission code rate, so that the server can reduce the transmission code rate according to the first flow control request, so that the client can obtain enough data in time, In the case of insufficient network bandwidth, graphics applications and media applications of the client can obtain sufficient data in time, thereby improving user experience.

并且,可以在客户端设置两个时延门限,并在客户端判断得到时延小于第二时延门限时,向服务器发送用于提高传输码率的第二流控请求,以便服务器提高传输码率,使得网络带宽得以充分利用。In addition, two delay thresholds can be set on the client, and when the client judges that the delay is less than the second delay threshold, a second flow control request for increasing the transmission code rate is sent to the server, so that the server can increase the transmission code rate. rate, so that the network bandwidth can be fully utilized.

本发明另一实施例提供一种带宽使用优化方法,由于在带宽不足的情况下,服务器是以图形图像的质量为代价,通过降低数据量保证客户端的图片应用和媒体应用能够及时获取到足够的数据,以确保用户的观看体验,在本发明实施例中用户可以在客户端设置不同的工作模式,该工作模式表示用户目前准备运行的应用的类型,该工作模式包括图形模式和音视频模式,这样服务器便可以根据优先降低用户当前不关注的数据类型的传输码率,可以更大程度的保证用户体验。Another embodiment of the present invention provides a method for optimizing bandwidth usage. Because in the case of insufficient bandwidth, the server is at the expense of the quality of graphics and images, and by reducing the amount of data, it is ensured that the picture application and media application of the client can obtain enough bandwidth in time. Data, to ensure the user's viewing experience, in the embodiment of the present invention, the user can set different working modes on the client, the working mode indicates the type of application that the user is currently preparing to run, and the working mode includes graphics mode and audio and video mode, so The server can reduce the transmission bit rate of the data types that the user does not care about according to the priority, which can guarantee the user experience to a greater extent.

在一种应用场景中,当客户端的工作模式为图形模式时。如图3所示,该方法可以包括:In an application scenario, when the working mode of the client is a graphics mode. As shown in Figure 3, the method may include:

301、获取图形数据的渲染时延。301. Acquire the rendering delay of the graphics data.

其中,当客户端的工作模式为图形模式时,表明用户当前对图形数据的质量要求比较高,比如当前在客户端运行的是精密绘图的应用,那么客户端可以获取图形数据的渲染时延,具体的可以采集图形数据开始渲染的渲染时间点,然后用该渲染时间点减去图形数据的时间戳,便可以获得图形数据的渲染时延。Among them, when the working mode of the client is the graphics mode, it indicates that the user currently has relatively high quality requirements for the graphics data. For example, if the application currently running on the client is a precision drawing application, the client can obtain the rendering delay of the graphics data. The rendering time point at which graphics data can be collected and started rendering can be obtained by subtracting the time stamp of the graphics data from the rendering time point to obtain the rendering delay of the graphics data.

302、判断渲染时延与预设的时延门限的大小关系,当渲染时延大于第一时延门限时,执行步骤303-步骤305;当渲染时延小于第二时延门限时,执行步骤306-步骤308。302. Determine the relationship between the rendering delay and the preset delay threshold. When the rendering delay is greater than the first delay threshold, perform steps 303-305; when the rendering delay is less than the second delay threshold, perform steps 306 - step 308 .

其中,当获取到渲染时延之后,便可以判断渲染时延与预设的时延门限的大小关系,其中该时延门限包括第一时延门限和第二时延门限,且第一时延门限大于第二时延门限。Wherein, after the rendering delay is obtained, the relationship between the rendering delay and the preset delay threshold can be judged, wherein the delay threshold includes a first delay threshold and a second delay threshold, and the first delay The threshold is greater than the second delay threshold.

303、向服务器发送用于请求服务器降低音视频数据的传输码率的第一流控请求。303. Send to the server a first flow control request for requesting the server to reduce the transmission bit rate of the audio and video data.

其中,由于客户端当前的工作模式为图形模式,因此当判断得到渲染时延大于第一时延门限,需要请求服务器降低传输码率时,可以请求服务器优先降低音视频数据的传输码率,也就是说客户端向服务器发送用于请求服务器降低音视频数据的传输码率的第一流控请求,当服务器接收到客户端发送的第一流控请求时,便可以尝试降低音视频数据的传输码率,以便确保客户端可以及时获取到足够的图形数据。其中,服务器降低音视频数据的传输码率的具体方法可以是丢弃一部分数据,不发送给客户端。Among them, since the current working mode of the client is the graphics mode, when it is judged that the rendering delay is greater than the first delay threshold and the server needs to be requested to reduce the transmission bit rate, the server can be requested to first reduce the transmission bit rate of audio and video data, or That is to say, the client sends the first flow control request to the server to request the server to reduce the transmission bit rate of audio and video data. When the server receives the first flow control request sent by the client, it can try to reduce the transmission bit rate of audio and video data. , so as to ensure that the client can obtain enough graphics data in time. Wherein, the specific method for the server to reduce the transmission bit rate of the audio and video data may be to discard part of the data and not send it to the client.

可选的,当服务器接收到客户端发送的用于请求服务器降低音视频数据的传输码率的第一流控请求,但得到音视频数据当前的传输码率已经为最低,也就是说服务器降低音视频数据的传输码率失败,此时服务器便可以向客户端发送流控失败响应,客户端接收该流控失败响应,即执行以下步骤304。Optionally, when the server receives the first flow control request sent by the client to request the server to reduce the transmission bit rate of the audio and video data, but the current transmission bit rate of the audio and video data is already the lowest, that is to say, the server lowers the audio and video data rate. If the transmission code rate of the video data fails, the server can send a flow control failure response to the client, and the client receives the flow control failure response, that is, executes the following step 304 .

304、接收服务器发送的流控失败响应,流控失败响应在服务器降低音视频数据的传输码率失败时发送的。304 . Receive a flow control failure response sent by the server. The flow control failure response is sent when the server fails to reduce the transmission bit rate of the audio and video data.

其中,当服务器降低音视频数据的传输码率失败时,便会向客户端发送流控失败响应,此时客户端便可以接收服务器发送的流控失败响应。Wherein, when the server fails to reduce the transmission bit rate of audio and video data, it will send a flow control failure response to the client, and at this time, the client can receive the flow control failure response sent by the server.

305、向服务器发送用于请求服务器降低图形数据的传输码率的第三流控请求,以便服务器根据第三流控请求对图形数据的传输码率进行调整。305. Send a third flow control request for requesting the server to reduce the transmission code rate of the graphics data to the server, so that the server adjusts the transmission code rate of the graphics data according to the third flow control request.

其中,当客户端接收到服务器发送的流控失败响应时,客户端便获知音视频数据的传输码率已经是最低了,此时客户端可以向服务器发送用于请求服务器降低图形数据的传输码率的第三流控请求,当服务器接收到第三流控请求时,便可以根据接收到的第三流控请求降低图形数据的传输码率,若图形数据的传输码率也已经是最低,则服务器按照当前的传输码率向客户端发送图形数据。其中,图形数据的传输码率的具体降低方法可以是降低图形的压缩级别和/或改变图形的尺寸大小。Among them, when the client receives the flow control failure response sent by the server, the client knows that the transmission code rate of the audio and video data is already the lowest. At this time, the client can send the transmission code used to request the server to reduce the graphics data to the server. rate of the third flow control request, when the server receives the third flow control request, it can reduce the transmission bit rate of the graphics data according to the received third flow control request, if the transmission bit rate of the graphics data is already the lowest, Then the server sends graphics data to the client according to the current transmission code rate. Wherein, the specific method for reducing the transmission code rate of the graphics data may be to reduce the compression level of the graphics and/or change the size of the graphics.

306、向服务器发送用于请求服务器提高图形数据的传输码率的第二流控请求。306. Send a second flow control request to the server for requesting the server to increase the transmission code rate of the graphics data.

其中,当判断得到渲染时延小于第二时延门限时,此时为了充分利用带宽,可以请求服务器提高传输码率,由于此时客户端的工作模式为图形模式,那么可以优先请求服务器提高图形数据的传输码率,即客户端可以向服务器发送用于请求服务器提高图形数据的传输码率的第二流控请求。当服务器接收到客户端发送的第二流控请求时,便可以尝试提高图形数据的传输码率,以便充分利用网络带宽,并且可以使得用户获得更好的体验。其中提高图形数据的传输码率的具体方法可以是提高图形数据的压缩级别和/或改变图形的尺寸大小。Wherein, when it is judged that the rendering delay is less than the second delay threshold, in order to make full use of the bandwidth at this time, the server can be requested to increase the transmission bit rate. Since the working mode of the client is graphics mode at this time, the server can be preferentially requested to increase the graphics data. transmission code rate, that is, the client may send a second flow control request to the server for requesting the server to increase the transmission code rate of the graphics data. When the server receives the second flow control request sent by the client, it may try to increase the transmission bit rate of the graphics data, so as to fully utilize the network bandwidth and enable the user to obtain a better experience. A specific method for increasing the transmission code rate of the graphics data may be to increase the compression level of the graphics data and/or change the size of the graphics.

可选的,当服务器接收到客户端发送的用于请求服务器提高图形数据的传输码率的第二流控请求,但得到图形数据当前的传输码率已经为最高,也就是的说服务器提高图形数据的传输码率失败,此时服务器可以向客户端发送流控失败响应,客户端接收该流控失败响应,即执行以下步骤307、Optionally, when the server receives the second flow control request sent by the client to request the server to increase the transmission code rate of the graphics data, but the current transmission code rate of the graphics data is already the highest, that is to say, the server increases the graphics data transmission rate. If the data transmission code rate fails, the server can send a flow control failure response to the client at this time, and the client receives the flow control failure response, that is, executes the following steps 307,

307、接收服务器发送的流控失败响应,流控失败响应在服务器提高图形数据的传输码率失败时发送的。307. Receive a flow control failure response sent by the server, and the flow control failure response is sent when the server fails to increase the transmission code rate of the graphics data.

其中,当服务器提高图形数据的传输码率失败时,客户端接收服务器发送的流控失败响应。Wherein, when the server fails to increase the transmission bit rate of the graphics data, the client receives the flow control failure response sent by the server.

308、向服务器发送用于请求服务器提高音视频数据的传输码率的第三流控请求,以便服务器根据第三流控请求对音视频数据的传输码率进行调整。308. Send a third flow control request for requesting the server to increase the transmission code rate of the audio and video data to the server, so that the server adjusts the transmission code rate of the audio and video data according to the third flow control request.

其中,当客户端接收到服务器发送的流控失败响应时,客户端便获知服务器提高图形数据的传输码率已经最高,此时客户端可以向服务器发送用于请求服务器提高音视频数据的传输码率的第三流控请求,当服务器接收到客户端发送的第三流控请求时,便可以根据第三流控请求提高音视频数据的传输码率,若音视频数据的传输码率也已经是最高,则服务器按照当前的传输码率向客户端发送音视频数据。Among them, when the client receives the flow control failure response sent by the server, the client knows that the server has increased the transmission code rate of graphics data to the highest level, and at this time the client can send the transmission code used to request the server to increase the audio and video data to the server. rate of the third flow control request, when the server receives the third flow control request sent by the client, it can increase the transmission bit rate of the audio and video data according to the third flow control request, if the transmission bit rate of the audio and video data is already is the highest, the server sends audio and video data to the client according to the current transmission bit rate.

可选的,可以重复执行以上步骤301-步骤308,这样服务器便根据当前带宽的使用情况通过动态的调整图形数据、音视频数据的传输码率以提升用户的体验。Optionally, the above steps 301 to 308 can be executed repeatedly, so that the server can dynamically adjust the transmission bit rate of graphics data and audio and video data according to the current bandwidth usage to improve user experience.

在另一种应用场景中,当客户端的工作模式为音视频模式时。如图4所示,该方法可以包括:In another application scenario, when the working mode of the client is audio and video mode. As shown in Figure 4, the method may include:

401、获取音视频数据的播放时延。401. Obtain the playback delay of the audio and video data.

其中,当客户端的工作模式为音视频模式时,表明用户当前对音视频数据的质量要求比较高,比如用户需要播放音视频文件,那么客户端便可以获取音视频数据的播放时延。Wherein, when the working mode of the client is the audio and video mode, it indicates that the user currently has relatively high requirements on the quality of audio and video data. For example, the user needs to play audio and video files, so the client can obtain the playback delay of the audio and video data.

402、判断播放时延与预设的时延门限的大小关系,当播放时延大于第一时延门限时,执行步骤403-步骤405;当播放时延小于第二时延门限时,执行步骤406-步骤408。402. Determine the relationship between the playback delay and the preset delay threshold. When the playback delay is greater than the first delay threshold, perform steps 403 to 405; when the playback delay is less than the second delay threshold, perform step 402. 406 - step 408 .

403、向服务器发送用于请求服务器降低图形数据的传输码率的第一流控请求。403. Send to the server a first flow control request for requesting the server to reduce the transmission code rate of the graphics data.

其中,由于客户端当前的工作模式为音视频模式,因此当判断得到播放时延大于第一时延门限时,客户端可以向服务器发送用于请求服务器降低图形数据的传输码率的第一流控请求,即使得服务器优先降低图形数据的传输码率。Wherein, since the current working mode of the client is the audio and video mode, when it is judged that the playback delay is greater than the first delay threshold, the client can send to the server a first flow control message for requesting the server to reduce the transmission bit rate of the graphics data. Request, that is, to make the server give priority to reducing the transmission bit rate of graphics data.

可选的,当服务器降低图形数据的传输码率失败,可以向服务器发送流控失败响应,客户端便可以接收该流控失败响应,即执行以下步骤404。Optionally, when the server fails to reduce the transmission bit rate of the graphics data, it may send a flow control failure response to the server, and the client may receive the flow control failure response, that is, perform the following step 404 .

404、接收服务器发送的流控失败响应,流控失败响应在服务器降低图形数据的传输码率失败时发送的。404. The flow control failure response sent by the server is received, and the flow control failure response is sent when the server fails to reduce the transmission code rate of the graphics data.

405、向服务器发送用于请求服务器降低音视频数据的传输码率的第三流控请求,以便服务器根据第三流控请求对音视频数据的传输码率进行调整。405. Send to the server a third flow control request for requesting the server to reduce the transmission code rate of the audio and video data, so that the server adjusts the transmission code rate of the audio and video data according to the third flow control request.

其中,若客户端接收到服务器发送的流控失败响应,则可以向服务器发送用于请求服务器降低音视频数据的传输码率的第三流控请求,以便服务器根据第三流控请求对音视频数据的传输码率进行调整。Wherein, if the client receives the flow control failure response sent by the server, it can send to the server a third flow control request for requesting the server to reduce the transmission bit rate of the audio and video data, so that the server can control the audio and video data according to the third flow control request. The data transmission code rate is adjusted.

406、向服务器发送用于请求服务器提高音视频数据的传输码率的第二流控请求。406. Send to the server a second flow control request for requesting the server to increase the transmission bit rate of the audio and video data.

其中,当判断得到播放时延小于第二时延门限,且由于客户端当前设置的工作模式为音视频模式,则可以请求服务器有限提高音视频数据的传输码率,即客户端向服务器发送用于请求服务器提高音视频数据的传输码率的第二流控请求,以便服务器提高音视频数据的传输码率。Wherein, when it is judged that the playback delay is less than the second delay threshold, and since the working mode currently set by the client is the audio and video mode, the server may be requested to limitly increase the transmission bit rate of the audio and video data, that is, the client sends the audio and video data to the server. The second flow control request is for requesting the server to increase the transmission bit rate of the audio and video data, so that the server can increase the transmission bit rate of the audio and video data.

可选的,当服务器提高音视频数据的传输码率失败,服务器可以向客户端发送流控失败响应,客户端接收该流控失败响应,即执行以下步骤407。Optionally, when the server fails to increase the transmission bit rate of the audio and video data, the server may send a flow control failure response to the client, and the client receives the flow control failure response, that is, executes the following step 407 .

407、接收服务器发送的流控失败响应,流控失败响应在服务器提高音视频数据的传输码率失败时发送的。407. Receive the flow control failure response sent by the server. The flow control failure response is sent when the server fails to increase the transmission bit rate of the audio and video data.

408、向服务器发送用于请求服务器提高图形数据的传输码率的第三流控请求,以便服务器根据第三流控请求对图形数据的传输码率进行调整。408. Send a third flow control request for requesting the server to increase the transmission code rate of the graphics data to the server, so that the server adjusts the transmission code rate of the graphics data according to the third flow control request.

其中,若客户端接收到服务器发送的流控失败响应,则可以向服务器发送用于请求服务器提高图形数据的传输码率的第三流控请求,以便服务器根据第三流控请求对图形数据的传输码率进行调整。Wherein, if the client receives the flow control failure response sent by the server, it can send to the server a third flow control request for requesting the server to increase the transmission code rate of the graphics data, so that the server can process the graphics data according to the third flow control request. Adjust the transmission code rate.

可选的,可以重复执行以上步骤401-步骤408,这样服务器便根据当前带宽的使用情况通过动态的调整图形数据、音视频数据的传输码率以提升用户的体验。Optionally, the above steps 401 to 408 can be executed repeatedly, so that the server can dynamically adjust the transmission code rate of graphics data and audio and video data according to the current bandwidth usage to improve user experience.

需要说明的是,本发明实施例提供的在应用场景为客户端的工作模式为音视频模式的带宽使用优化方法中的步骤401-步骤408的具体描述,可以参考本发明实施例中客户端的工作模式为图形模式的带宽使用优化方法中步骤301-步骤308中对应步骤的具体描述,本发明实施例在以不在一一赘述。It should be noted that, for the specific description of steps 401 to 408 in the bandwidth usage optimization method provided by the embodiment of the present invention in which the application scenario is that the working mode of the client is audio and video mode, you can refer to the working mode of the client in the embodiment of the present invention For the specific description of the corresponding steps in step 301 to step 308 in the bandwidth usage optimization method in graphics mode, this embodiment of the present invention will not repeat them one by one.

本发明实施例提供的带宽使用优化方法,通过判断获取到的数据处理的时延与预设的时延门限的大小关系来获知当前网络带宽的使用情况,并在判断得到时延大于第一时延门限,即网络带宽不足时,向服务器发送用于请求服务器降低传输码率的第一流控请求,以便服务器根据第一流控请求降低传输码率,进而使得客户端能够及时的获取足够数据,使得在网络带宽不足的情况下,客户端的图形应用和媒体应用能及时获得足够的数据,提高了用户体验。The bandwidth usage optimization method provided by the embodiment of the present invention obtains the current network bandwidth usage by judging the relationship between the acquired data processing delay and the preset delay threshold, and when the delay is judged to be greater than the first Extend the threshold, that is, when the network bandwidth is insufficient, send the first flow control request to the server to request the server to reduce the transmission code rate, so that the server can reduce the transmission code rate according to the first flow control request, so that the client can obtain enough data in time, so that In the case of insufficient network bandwidth, graphics applications and media applications on the client side can obtain sufficient data in a timely manner, which improves user experience.

并且,可以在客户端设置两个时延门限,并在客户端判断得到时延小于第二时延门限时,向服务器发送用于提高传输码率的第二流控请求,以便服务器提高传输码率,使得网络带宽得以充分利用;并可以根据客户端设置的工作模式,优先保证用户关注的应用的数据类型的传输,进一步的提升了用户体验。In addition, two delay thresholds can be set on the client, and when the client judges that the delay is less than the second delay threshold, a second flow control request for increasing the transmission code rate is sent to the server, so that the server can increase the transmission code rate. Higher rate, so that the network bandwidth can be fully utilized; and according to the working mode set by the client, it can give priority to the transmission of the data type of the application that the user cares about, which further improves the user experience.

本发明另一实施例提供一种带宽使用优化装置,如图5所示,该装置可以包括:第一获取单元50、判断单元51、第一发送单元52。Another embodiment of the present invention provides a device for optimizing bandwidth usage. As shown in FIG. 5 , the device may include: a first acquiring unit 50 , a judging unit 51 , and a first sending unit 52 .

第一获取单元50,用于获取数据处理时延。The first obtaining unit 50 is configured to obtain a data processing delay.

判断单元51,用于判断所述第一获取单元50获取到的所述时延与预设的时延门限的大小关系;其中,所述时延门限包括第一时延门限。The judging unit 51 is configured to judge a magnitude relationship between the time delay acquired by the first obtaining unit 50 and a preset time delay threshold; wherein, the time delay threshold includes a first time delay threshold.

第一发送单元52,用于当所述判断单元51判断得到所述时延大于所述第一时延门限时,向所述服务器发送用于请求所述服务器降低传输码率的第一流控请求,以便所述服务器根据所述第一流控请求降低所述传输码率,进而使客户端及时获取足够数据。The first sending unit 52 is configured to send to the server a first flow control request for requesting the server to reduce the transmission code rate when the judging unit 51 judges that the delay is greater than the first delay threshold , so that the server reduces the transmission code rate according to the first flow control request, so that the client can obtain enough data in time.

进一步的,所述时延门限包括第二时延门限,且所述第二时延门限小于所述第一时延门限。Further, the delay threshold includes a second delay threshold, and the second delay threshold is smaller than the first delay threshold.

如图6所示,所述装置还可以包括:第二发送单元53。As shown in FIG. 6 , the device may further include: a second sending unit 53 .

第二发送单元53,用于当所述判断单元51判断得到所述时延小于所述第二时延门限时,向服务器发送用于请求所述服务器提高所述传输码率的第二流控请求,以便所述服务器根据所述第二流控请求提高所述传输码率。The second sending unit 53 is configured to, when the judging unit 51 judges that the delay is less than the second delay threshold, send to the server a second flow control requesting the server to increase the transmission code rate request, so that the server increases the transmission code rate according to the second flow control request.

进一步的,所述装置还可以包括:第二获取单元54。Further, the device may further include: a second acquiring unit 54 .

第二获取单元54,用于在所述判断单元51判断所述时延与预设的时延门限的大小关系之后,获取所述客户端的工作模式;其中,所述工作模式包括图形模式、音视频模式。The second acquiring unit 54 is configured to acquire the working mode of the client after the judging unit 51 judges the relationship between the time delay and the preset time delay threshold; wherein the working mode includes graphic mode, audio mode video mode.

所述第一发送单元52,具体用于当所述判断单元51判断得到所述时延大于所述第一时延门限且所述第二获取单元54获取到的所述工作模式为所述图形模式时,向所述服务器发送用于请求所述服务器降低音视频数据的传输码率的第一流控请求。The first sending unit 52 is specifically used for when the judging unit 51 judges that the time delay is greater than the first time delay threshold and the working mode obtained by the second obtaining unit 54 is the graph mode, sending to the server a first flow control request for requesting the server to reduce the transmission bit rate of the audio and video data.

进一步的,所述第一发送单元52,具体还用于当所述判断单元51判断得到所述时延大于所述第一时延门限且所述第二获取单元54获取到的所述工作模式为所述音视频模式时,向所述服务器发送用于请求所述服务器降低图形数据的传输码率的第一流控请求。Further, the first sending unit 52 is also specifically configured to determine that the time delay is greater than the first time delay threshold and the working mode obtained by the second obtaining unit 54 is determined by the judging unit 51 When in the audio and video mode, sending a first flow control request to the server for requesting the server to reduce the transmission bit rate of the graphics data.

进一步的,所述装置还可以包括:第三获取单元55。Further, the device may further include: a third acquiring unit 55 .

第三获取单元55,用于在所述判断单元51判断所述时延与预设的时延门限的大小关系之后,获取所述客户端的工作模式;其中,所述工作模式包括图形模式、音视频模式。The third obtaining unit 55 is configured to obtain the working mode of the client after the judging unit 51 judges the relationship between the time delay and the preset time delay threshold; wherein the working mode includes graphic mode, audio mode video mode.

所述第二发送单元53,具体用于当所述判断单元51判断得到所述时延小于所述第二时延门限且所述第三获取单元55获取到的所述工作模式为所述图形模式时,向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第二流控请求。The second sending unit 53 is specifically used for when the judging unit 51 judges that the time delay is less than the second time delay threshold and the working mode obtained by the third obtaining unit 55 is the graph mode, sending to the server a second flow control request for requesting the server to increase the transmission code rate of the graphics data.

进一步的,所述第二发送单元53,具体还用于当所述判断单元51判断得到所述时延小于所述第二时延门限且所述第三获取单元55获取到的所述工作模式为所述音视频模式时,向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第二流控请求。Further, the second sending unit 53 is also specifically configured to determine that the time delay is less than the second time delay threshold and the working mode obtained by the third obtaining unit 55 is determined by the judging unit 51 When in the audio-video mode, sending a second flow control request to the server for requesting the server to increase the transmission bit rate of the audio-video data.

进一步的,所述装置还可以包括:第一接收单元56、第三发送单元57。Further, the device may further include: a first receiving unit 56 and a third sending unit 57 .

第一接收单元56,用于在所述第一发送单元52向所述服务器发送用于请求所述服务器降低音视频数据的传输码率的第一流控请求之后,接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器降低所述音视频数据的传输码率失败时发送的。The first receiving unit 56 is configured to receive the flow control sent by the server after the first sending unit 52 sends the first flow control request for requesting the server to reduce the transmission code rate of the audio and video data to the server. A failure response, the flow control failure response is sent when the server fails to reduce the transmission bit rate of the audio and video data.

第三发送单元57,用于向所述服务器发送用于请求所述服务器降低所述图形数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述图形数据的传输码率进行调整。The third sending unit 57 is configured to send to the server a third flow control request for requesting the server to reduce the transmission code rate of the graphics data, so that the server can perform the operation according to the third flow control request. The transmission code rate of graphics data is adjusted.

进一步的,所述第一接收单元56,还用于在所述第一发送单元52向所述服务器发送用于请求所述服务器降低图形数据的传输码率的第一流控请求之后,接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器降低所述图形数据的传输码率失败时发送的。Further, the first receiving unit 56 is also configured to receive the first flow control request after the first sending unit 52 sends the first flow control request for requesting the server to reduce the transmission code rate of the graphics data to the server. A flow control failure response sent by the server, where the flow control failure response is sent when the server fails to reduce the transmission bit rate of the graphics data.

所述第三发送单元57,还用于向所述服务器发送用于请求所述服务器降低所述音视频数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述音视频数据的传输码率进行调整。The third sending unit 57 is further configured to send to the server a third flow control request for requesting the server to reduce the transmission code rate of the audio and video data, so that the server can Request to adjust the transmission code rate of the audio and video data.

进一步的,所述装置还可以包括:第二接收单元58、第四发送单元59。Further, the device may further include: a second receiving unit 58 and a fourth sending unit 59 .

第二接收单元58,用于在所述第二发送单元53向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第二流控请求之后,接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器提高所述图形数据的传输码率失败时发送的。The second receiving unit 58 is configured to receive the second flow control request sent by the server after the second sending unit 53 sends the second flow control request for requesting the server to increase the transmission code rate of the graphics data to the server. A flow control failure response, the flow control failure response is sent when the server fails to increase the transmission bit rate of the graphics data.

第四发送单元59,用于向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第三流控请求;以便所述服务器根据所述第三流控请求对所述音视频数据的传输码率进行调整。The fourth sending unit 59 is configured to send to the server a third flow control request for requesting the server to increase the transmission code rate of the audio and video data; Adjust the transmission bit rate of the above audio and video data.

进一步的,所述第二接收单元58,还用于在所述第二发送单元53向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第二流控请求之后,接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器提高所述音视频数据的传输码率失败时发送的。Further, the second receiving unit 58 is also configured to send a second flow control request for requesting the server to increase the transmission code rate of the audio and video data after the second sending unit 53 sends to the server , receiving a flow control failure response sent by the server, where the flow control failure response is sent when the server fails to increase the transmission bit rate of the audio and video data.

所述第四发送单元59,还用于向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述图形数据的传输码率进行调整。The fourth sending unit 59 is further configured to send to the server a third flow control request for requesting the server to increase the transmission code rate of the graphics data, so that the server can Adjust the transmission code rate of the graphic data.

本发明实施例提供的带宽使用优化装置,通过判断获取到的数据处理的时延与预设的时延门限的大小关系来获知当前网络带宽的使用情况,并在判断得到时延大于第一时延门限,即网络带宽不足时,向服务器发送用于请求服务器降低传输码率的第一流控请求,以便服务器根据第一流控请求降低传输码率,进而使得客户端能够及时的获取足够数据,使得在网络带宽不足的情况下,客户端的图形应用和媒体应用能及时获得足够的数据,提高了用户体验。The bandwidth usage optimization device provided by the embodiment of the present invention obtains the current network bandwidth usage by judging the relationship between the acquired data processing delay and the preset delay threshold, and when the delay is determined to be greater than the first Extend the threshold, that is, when the network bandwidth is insufficient, send the first flow control request to the server to request the server to reduce the transmission code rate, so that the server can reduce the transmission code rate according to the first flow control request, so that the client can obtain enough data in time, so that In the case of insufficient network bandwidth, graphics applications and media applications on the client side can obtain sufficient data in a timely manner, which improves user experience.

并且,可以在客户端设置两个时延门限,并在客户端判断得到时延小于第二时延门限时,向服务器发送用于提高传输码率的第二流控请求,以便服务器提高传输码率,使得网络带宽得以充分利用;并可以根据客户端设置的工作模式,优先保证用户关注的应用的数据类型的传输,进一步的提升了用户体验。In addition, two delay thresholds can be set on the client, and when the client judges that the delay is less than the second delay threshold, a second flow control request for increasing the transmission code rate is sent to the server, so that the server can increase the transmission code rate. Higher rate, so that the network bandwidth can be fully utilized; and according to the working mode set by the client, it can give priority to the transmission of the data type of the application that the user cares about, which further improves the user experience.

本发明另一实施例提供一种带宽使用优化装置,如图7所示,包括:至少一个处理器61、存储器62、通信接口63和总线64,该至少一个处理器61、存储器62和通信接口63通过总线64连接并完成相互间的通信,其中:Another embodiment of the present invention provides a bandwidth utilization optimization device, as shown in FIG. 63 are connected and communicate with each other through the bus 64, wherein:

所述总线64可以是工业标准体系结构(Industry StandardArchitecture,ISA)总线、外部设备互连(Peripheral ComponentInterconnect,PCI)总线或扩展工业标准体系结构(Extended IndustryStandard Architecture,EISA)总线等。该总线64可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 64 can be an Industry Standard Architecture (Industry Standard Architecture, ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, etc. The bus 64 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is used in FIG. 7 , but it does not mean that there is only one bus or one type of bus.

所述存储器62用于存储可执行程序代码,该程序代码包括计算机操作指令。存储器62可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 62 is used for storing executable program codes, and the program codes include computer operation instructions. The memory 62 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory.

所述处理器61可能是一个中央处理器(Central Processing Unit,CPU),或者是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。The processor 61 may be a central processing unit (Central Processing Unit, CPU), or a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or be configured to implement one or more integrated circuits of the embodiments of the present invention .

所述通信接口63,主要用于实现本实施例的设备之间的通信。The communication interface 63 is mainly used to implement communication between devices in this embodiment.

所述处理器61,还用于获取数据处理时延,并判断所述时延与预设的时延门限的大小关系,并当所述时延大于所述第一时延门限时,向所述服务器发送用于请求所述服务器降低传输码率的第一流控请求,以便所述服务器根据所述第一流控请求降低所述传输码率,进而使客户端及时获取足够数据,其中,所述时延门限包括第一时延门限。The processor 61 is further configured to obtain data processing delay, and determine the relationship between the delay and a preset delay threshold, and when the delay is greater than the first delay threshold, send the The server sends a first flow control request for requesting the server to reduce the transmission code rate, so that the server reduces the transmission code rate according to the first flow control request, so that the client can obtain enough data in time, wherein the The delay threshold includes a first delay threshold.

进一步的,所述时延门限包括第二时延门限,且所述第二时延门限小于所述第一时延门限。Further, the delay threshold includes a second delay threshold, and the second delay threshold is smaller than the first delay threshold.

所述处理器61,还用于当所述时延小于所述第二时延门限时,向服务器发送用于请求所述服务器提高所述传输码率的第二流控请求,以便所述服务器根据所述第二流控请求提高所述传输码率。The processor 61 is further configured to send to the server a second flow control request for requesting the server to increase the transmission code rate when the delay is less than the second delay threshold, so that the server Increase the transmission code rate according to the second flow control request.

进一步的,所述处理器61,还用于在所述判断所述时延与预设的时延门限的大小关系之后,获取所述客户端的工作模式,并当所述时延大于所述第一时延门限且所述工作模式为所述图形模式时,向所述服务器发送用于请求所述服务器降低音视频数据的传输码率的第一流控请求;其中,所述工作模式包括图形模式、音视频模式。Further, the processor 61 is further configured to obtain the working mode of the client after determining the relationship between the delay and the preset delay threshold, and when the delay is greater than the first When a delay threshold and the working mode is the graphics mode, send to the server a first flow control request for requesting the server to reduce the transmission code rate of audio and video data; wherein the working mode includes a graphics mode , audio and video mode.

进一步的,所述处理器61,还用于当所述时延大于所述第一时延门限且所述工作模式为所述音视频模式时,向所述服务器发送用于请求所述服务器降低图形数据的传输码率的第一流控请求。Further, the processor 61 is further configured to send a message to the server requesting the server to reduce the The first flow control request for the transmission code rate of graphics data.

进一步的,所述处理器61,还用于在所述判断所述时延与预设的时延门限的大小关系之后,获取所述客户端的工作模式,并当所述时延小于所述第二时延门限且所述工作模式为所述图形模式时,向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第二流控请求;其中,所述工作模式包括图形模式、音视频模式。Further, the processor 61 is further configured to acquire the working mode of the client after determining the relationship between the delay and the preset delay threshold, and when the delay is less than the first When the delay threshold is two and the working mode is the graphics mode, sending to the server a second flow control request for requesting the server to increase the transmission code rate of the graphics data; wherein the working mode includes Graphics mode, audio and video mode.

进一步的,所述处理器61,还用于当所述时延小于所述第二时延门限且所述工作模式为所述音视频模式时,向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第二流控请求。Further, the processor 61 is further configured to send a message to the server requesting the server to increase the A second flow control request for the transmission code rate of the audio and video data.

进一步的,所述处理器61,还用于在所述向所述服务器发送用于请求所述服务器降低音视频数据的传输码率的第一流控请求之后,接收所述服务器发送的流控失败响应,并向所述服务器发送用于请求所述服务器降低所述图形数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述图形数据的传输码率进行调整,所述流控失败响应在所述服务器降低所述音视频数据的传输码率失败时发送的。Further, the processor 61 is further configured to receive the flow control failure sent by the server after sending the first flow control request to the server for requesting the server to reduce the transmission code rate of the audio and video data. response, and send to the server a third flow control request for requesting the server to reduce the transmission code rate of the graphics data, so that the server can transmit the graphics data according to the third flow control request rate, and the flow control failure response is sent when the server fails to reduce the transmission bit rate of the audio and video data.

进一步的,所述处理器61,还用于在所述向所述服务器发送用于请求所述服务器降低图形数据的传输码率的第一流控请求之后,接收所述服务器发送的流控失败响应,并向所述服务器发送用于请求所述服务器降低所述音视频数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述音视频数据的传输码率进行调整,所述流控失败响应在所述服务器降低所述图形数据的传输码率失败时发送的。Further, the processor 61 is further configured to receive a flow control failure response sent by the server after the first flow control request for requesting the server to reduce the transmission code rate of the graphics data is sent to the server. , and send to the server a third flow control request for requesting the server to reduce the transmission bit rate of the audio and video data, so that the server can transmit the audio and video data according to the third flow control request The code rate is adjusted, and the flow control failure response is sent when the server fails to reduce the transmission code rate of the graphics data.

进一步的,所述处理器61,还用于在所述向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第二流控请求之后,接收所述服务器发送的流控失败响应,并向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述音视频数据的传输码率进行调整,所述流控失败响应在所述服务器提高所述图形数据的传输码率失败时发送的。Further, the processor 61 is further configured to receive the stream sent by the server after the second stream control request for requesting the server to increase the transmission code rate of the graphics data is sent to the server. control failure response, and send to the server a third flow control request for requesting the server to increase the transmission bit rate of the audio and video data, so that The transmission code rate of the data is adjusted, and the flow control failure response is sent when the server fails to increase the transmission code rate of the graphics data.

进一步的,所述处理器61,还用于在所述向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第二流控请求之后,接收所述服务器发送的流控失败响应,并向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述图形数据的传输码率进行调整,所述流控失败响应在所述服务器提高所述音视频数据的传输码率失败时发送的。Further, the processor 61 is also configured to receive the second flow control request sent by the server after sending the second flow control request for requesting the server to increase the transmission code rate of the audio and video data to the server. A flow control failure response, and sending to the server a third flow control request for requesting the server to increase the transmission code rate of the graphics data, so that the server can process the graphics data according to the third flow control request The transmission code rate of the audio and video data is adjusted, and the flow control failure response is sent when the server fails to increase the transmission code rate of the audio and video data.

本发明实施例提供的带宽使用优化装置,通过判断获取到的数据处理的时延与预设的时延门限的大小关系来获知当前网络带宽的使用情况,并在判断得到时延大于第一时延门限,即网络带宽不足时,向服务器发送用于请求服务器降低传输码率的第一流控请求,以便服务器根据第一流控请求降低传输码率,进而使得客户端能够及时的获取足够数据,使得在网络带宽不足的情况下,客户端的图形应用和媒体应用能及时获得足够的数据,提高了用户体验。The bandwidth usage optimization device provided by the embodiment of the present invention obtains the current network bandwidth usage by judging the relationship between the acquired data processing delay and the preset delay threshold, and when the delay is determined to be greater than the first Extend the threshold, that is, when the network bandwidth is insufficient, send the first flow control request to the server to request the server to reduce the transmission code rate, so that the server can reduce the transmission code rate according to the first flow control request, so that the client can obtain enough data in time, so that In the case of insufficient network bandwidth, graphics applications and media applications on the client side can obtain sufficient data in a timely manner, which improves user experience.

并且,可以在客户端设置两个时延门限,并在客户端判断得到时延小于第二时延门限时,向服务器发送用于提高传输码率的第二流控请求,以便服务器提高传输码率,使得网络带宽得以充分利用;并可以根据客户端设置的工作模式,优先保证用户关注的应用的数据类型的传输,进一步的提升了用户体验。In addition, two delay thresholds can be set on the client, and when the client judges that the delay is less than the second delay threshold, a second flow control request for increasing the transmission code rate is sent to the server, so that the server can increase the transmission code rate. Higher rate, so that the network bandwidth can be fully utilized; and according to the working mode set by the client, it can give priority to the transmission of the data type of the application that the user cares about, which further improves the user experience.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be realized by means of software plus necessary general-purpose hardware, and of course also by hardware, but in many cases the former is a better embodiment . Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a readable storage medium, such as a floppy disk of a computer , a hard disk or an optical disk, etc., including several instructions for enabling a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments of the present invention.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (20)

1.一种带宽使用优化方法,其特征在于,包括:1. A bandwidth utilization optimization method, characterized in that, comprising: 获取数据处理时延;Obtain data processing delay; 判断所述时延与预设的时延门限的大小关系;其中,所述时延门限包括第一时延门限;judging the relationship between the time delay and a preset time delay threshold; wherein, the time delay threshold includes a first time delay threshold; 当所述时延大于所述第一时延门限时,向所述服务器发送用于请求所述服务器降低传输码率的第一流控请求,以便所述服务器根据所述第一流控请求降低所述传输码率,进而使客户端及时获取足够数据。When the delay is greater than the first delay threshold, send to the server a first flow control request for requesting the server to reduce the transmission code rate, so that the server reduces the transmission code rate according to the first flow control request. Transmission code rate, so that the client can obtain enough data in time. 2.根据权利要求1所述的带宽使用优化方法,其特征在于,所述时延门限包括第二时延门限,且所述第二时延门限小于所述第一时延门限;2. The bandwidth utilization optimization method according to claim 1, wherein the delay threshold comprises a second delay threshold, and the second delay threshold is smaller than the first delay threshold; 所述方法还包括:The method also includes: 当所述时延小于所述第二时延门限时,向服务器发送用于请求所述服务器提高所述传输码率的第二流控请求,以便所述服务器根据所述第二流控请求提高所述传输码率。When the delay is less than the second delay threshold, send a second flow control request to the server to request the server to increase the transmission code rate, so that the server can increase the transmission code rate according to the second flow control request. The transmission code rate. 3.根据权利要求1所述的带宽使用优化方法,其特征在于,在所述判断所述时延与预设的时延门限的大小关系之后,还包括:3. The bandwidth utilization optimization method according to claim 1, further comprising: 获取所述客户端的工作模式;其中,所述工作模式包括图形模式、音视频模式;Obtain the working mode of the client; wherein, the working mode includes graphics mode, audio and video mode; 所述当所述时延大于所述第一时延门限时,向所述服务器发送用于请求所述服务器降低传输码率的第一流控请求,包括:When the delay is greater than the first delay threshold, sending to the server a first flow control request for requesting the server to reduce the transmission code rate includes: 当所述时延大于所述第一时延门限且所述工作模式为所述图形模式时,向所述服务器发送用于请求所述服务器降低音视频数据的传输码率的第一流控请求。When the delay is greater than the first delay threshold and the working mode is the graphics mode, sending a first flow control request for requesting the server to reduce the transmission bit rate of audio and video data to the server. 4.根据权利要求3所述的带宽使用优化方法,其特征在于,所述当所述时延大于所述第一时延门限时,向所述服务器发送用于请求所述服务器降低传输码率的第一流控请求,包括:4. The method for optimizing bandwidth usage according to claim 3, wherein when the delay is greater than the first delay threshold, sending a request to the server to request the server to reduce the transmission code rate The first flow control request, including: 当所述时延大于所述第一时延门限且所述工作模式为所述音视频模式时,向所述服务器发送用于请求所述服务器降低图形数据的传输码率的第一流控请求。When the delay is greater than the first delay threshold and the working mode is the audio-video mode, sending a first flow control request for requesting the server to reduce the transmission code rate of the graphics data to the server. 5.根据权利要求2所述的带宽使用优化方法,其特征在于,在所述判断所述时延与预设的时延门限的大小关系之后,还包括:5. The bandwidth utilization optimization method according to claim 2, further comprising: 获取所述客户端的工作模式;其中,所述工作模式包括图形模式、音视频模式;Obtain the working mode of the client; wherein, the working mode includes graphics mode, audio and video mode; 所述当所述时延小于所述第二时延门限时,向服务器发送用于请求所述服务器提高所述传输码率的第二流控请求,包括:When the delay is less than the second delay threshold, sending to the server a second flow control request for requesting the server to increase the transmission code rate includes: 当所述时延小于所述第二时延门限且所述工作模式为所述图形模式时,向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第二流控请求。When the delay is less than the second delay threshold and the working mode is the graphics mode, send to the server a second flow control message for requesting the server to increase the transmission code rate of the graphics data ask. 6.根据权利要求5所述的带宽使用优化方法,其特征在于,所述当所述时延小于所述第二时延门限时,向服务器发送用于请求所述服务器提高所述传输码率的第二流控请求,包括:6. The bandwidth utilization optimization method according to claim 5, wherein when the delay is less than the second delay threshold, sending a request to the server for requesting the server to increase the transmission code rate The second flow control request, including: 当所述时延小于所述第二时延门限且所述工作模式为所述音视频模式时,向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第二流控请求。When the delay is less than the second delay threshold and the working mode is the audio-video mode, send a second request to the server to request the server to increase the transmission code rate of the audio-video data Flow control request. 7.根据权利要求3所述的带宽使用优化方法,其特征在于,在所述向所述服务器发送用于请求所述服务器降低音视频数据的传输码率的第一流控请求之后,还包括:7. The method for optimizing bandwidth usage according to claim 3, further comprising: 接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器降低所述音视频数据的传输码率失败时发送的;receiving a flow control failure response sent by the server, where the flow control failure response is sent when the server fails to reduce the transmission bit rate of the audio and video data; 向所述服务器发送用于请求所述服务器降低所述图形数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述图形数据的传输码率进行调整。sending a third flow control request for requesting the server to reduce the transmission code rate of the graphics data to the server, so that the server can adjust the transmission code rate of the graphics data according to the third flow control request . 8.根据权利要求4所述的带宽使用优化方法,其特征在于,在所述向所述服务器发送用于请求所述服务器降低图形数据的传输码率的第一流控请求之后,还包括:8. The bandwidth usage optimization method according to claim 4, further comprising: 接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器降低所述图形数据的传输码率失败时发送的;receiving a flow control failure response sent by the server, where the flow control failure response is sent when the server fails to reduce the transmission code rate of the graphics data; 向所述服务器发送用于请求所述服务器降低所述音视频数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述音视频数据的传输码率进行调整。Sending a third flow control request for requesting the server to reduce the transmission code rate of the audio and video data to the server, so that the server can adjust the transmission code rate of the audio and video data according to the third flow control request Make adjustments. 9.根据权利要求5所述的带宽使用优化方法,其特征在于,在所述向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第二流控请求之后,还包括:9. The bandwidth utilization optimization method according to claim 5, wherein after sending the second flow control request for requesting the server to increase the transmission code rate of the graphics data to the server, further include: 接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器提高所述图形数据的传输码率失败时发送的;receiving a flow control failure response sent by the server, where the flow control failure response is sent when the server fails to increase the transmission code rate of the graphics data; 向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第三流控请求;以便所述服务器根据所述第三流控请求对所述音视频数据的传输码率进行调整。Sending a third flow control request for requesting the server to increase the transmission code rate of the audio and video data to the server; so that the server can adjust the transmission code rate of the audio and video data according to the third flow control request Make adjustments. 10.根据权利要求6所述的带宽使用优化方法,其特征在于,在所述向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第二流控请求之后,还包括:10. The bandwidth utilization optimization method according to claim 6, characterized in that, after the second flow control request for requesting the server to increase the transmission code rate of the audio and video data is sent to the server, Also includes: 接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器提高所述音视频数据的传输码率失败时发送的;receiving a flow control failure response sent by the server, where the flow control failure response is sent when the server fails to increase the transmission bit rate of the audio and video data; 向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述图形数据的传输码率进行调整。sending a third flow control request for requesting the server to increase the transmission code rate of the graphics data to the server, so that the server can adjust the transmission code rate of the graphics data according to the third flow control request . 11.一种带宽使用优化装置,其特征在于,包括:11. A device for optimizing bandwidth usage, comprising: 第一获取单元,用于获取数据处理时延;The first acquisition unit is used to acquire the data processing delay; 判断单元,用于判断所述第一获取单元获取到的所述时延与预设的时延门限的大小关系;其中,所述时延门限包括第一时延门限;A judging unit, configured to judge the relationship between the time delay acquired by the first obtaining unit and a preset time delay threshold; wherein, the time delay threshold includes a first time delay threshold; 第一发送单元,用于当所述判断单元判断得到所述时延大于所述第一时延门限时,向所述服务器发送用于请求所述服务器降低传输码率的第一流控请求,以便所述服务器根据所述第一流控请求降低所述传输码率,进而使客户端及时获取足够数据。A first sending unit, configured to, when the judging unit judges that the delay is greater than the first delay threshold, send to the server a first flow control request for requesting the server to reduce a transmission code rate, so that The server reduces the transmission code rate according to the first flow control request, so that the client can obtain sufficient data in time. 12.根据权利要求11所述的带宽使用优化装置,其特征在于,所述时延门限包括第二时延门限,且所述第二时延门限小于所述第一时延门限;12. The device for optimizing bandwidth usage according to claim 11, wherein the delay threshold comprises a second delay threshold, and the second delay threshold is smaller than the first delay threshold; 所述装置还包括:The device also includes: 第二发送单元,用于当所述判断单元判断得到所述时延小于所述第二时延门限时,向服务器发送用于请求所述服务器提高所述传输码率的第二流控请求,以便所述服务器根据所述第二流控请求提高所述传输码率。a second sending unit, configured to send to a server a second flow control request for requesting the server to increase the transmission code rate when the judging unit judges that the delay is less than the second delay threshold, so that the server increases the transmission code rate according to the second flow control request. 13.根据权利要求11所述的带宽使用优化装置,其特征在于,还包括:13. The bandwidth utilization optimization device according to claim 11, further comprising: 第二获取单元,用于在所述判断单元判断所述时延与预设的时延门限的大小关系之后,获取所述客户端的工作模式;其中,所述工作模式包括图形模式、音视频模式;The second acquiring unit is configured to acquire the working mode of the client after the judging unit judges the relationship between the delay and the preset delay threshold; wherein, the working mode includes a graphics mode, an audio and video mode ; 所述第一发送单元,具体用于当所述判断单元判断得到所述时延大于所述第一时延门限且所述第二获取单元获取到的所述工作模式为所述图形模式时,向所述服务器发送用于请求所述服务器降低音视频数据的传输码率的第一流控请求。The first sending unit is specifically configured to, when the judging unit judges that the delay is greater than the first delay threshold and the working mode acquired by the second acquiring unit is the graphics mode, Sending a first flow control request for requesting the server to reduce the transmission bit rate of the audio and video data to the server. 14.根据权利要求13所述的带宽使用优化装置,其特征在于,14. The bandwidth utilization optimization device according to claim 13, characterized in that, 所述第一发送单元,具体还用于当所述判断单元判断得到所述时延大于所述第一时延门限且所述第二获取单元获取到的所述工作模式为所述音视频模式时,向所述服务器发送用于请求所述服务器降低图形数据的传输码率的第一流控请求。The first sending unit is specifically further configured to determine that the delay is greater than the first delay threshold and the working mode acquired by the second acquiring unit is the audio-video mode when the judging unit judges , sending to the server a first flow control request for requesting the server to reduce the transmission code rate of the graphics data. 15.根据权利要求12所述的带宽使用优化装置,其特征在于,还包括:15. The bandwidth utilization optimization device according to claim 12, further comprising: 第三获取单元,用于在所述判断单元判断所述时延与预设的时延门限的大小关系之后,获取所述客户端的工作模式;其中,所述工作模式包括图形模式、音视频模式;A third acquiring unit, configured to acquire the working mode of the client after the judging unit judges the relationship between the delay and the preset delay threshold; wherein the working mode includes a graphic mode, an audio-video mode ; 所述第二发送单元,具体用于当所述判断单元判断得到所述时延小于所述第二时延门限且所述第三获取单元获取到的所述工作模式为所述图形模式时,向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第二流控请求。The second sending unit is specifically configured to, when the judging unit judges that the delay is less than the second delay threshold and the working mode acquired by the third acquiring unit is the graphics mode, Sending a second flow control request for requesting the server to increase the transmission code rate of the graphics data to the server. 16.根据权利要求15所述的带宽使用优化装置,其特征在于,16. The bandwidth utilization optimization device according to claim 15, characterized in that, 所述第二发送单元,具体还用于当所述判断单元判断得到所述时延小于所述第二时延门限且所述第三获取单元获取到的所述工作模式为所述音视频模式时,向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第二流控请求。The second sending unit is specifically further configured to determine that the delay is less than the second delay threshold and the working mode acquired by the third acquiring unit is the audio-video mode when the judging unit judges , sending to the server a second flow control request for requesting the server to increase the transmission bit rate of the audio and video data. 17.根据权利要求13所述的带宽使用优化装置,其特征在于,还包括:17. The bandwidth utilization optimization device according to claim 13, further comprising: 第一接收单元,用于在所述第一发送单元向所述服务器发送用于请求所述服务器降低音视频数据的传输码率的第一流控请求之后,接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器降低所述音视频数据的传输码率失败时发送的;A first receiving unit, configured to receive a flow control failure response sent by the server after the first sending unit sends a first flow control request for requesting the server to reduce the transmission bit rate of audio and video data to the server , the flow control failure response is sent when the server fails to reduce the transmission bit rate of the audio and video data; 第三发送单元,用于向所述服务器发送用于请求所述服务器降低所述图形数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述图形数据的传输码率进行调整。The third sending unit is configured to send to the server a third flow control request for requesting the server to reduce the transmission code rate of the graphics data, so that the server can perform the graphics processing according to the third flow control request The data transmission code rate is adjusted. 18.根据权利要求14所述的带宽使用优化装置,其特征在于,18. The device for optimizing bandwidth usage according to claim 14, characterized in that: 所述第一接收单元,还用于在所述第一发送单元向所述服务器发送用于请求所述服务器降低图形数据的传输码率的第一流控请求之后,接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器降低所述图形数据的传输码率失败时发送的;The first receiving unit is further configured to receive a flow control request sent by the server after the first sending unit sends a first flow control request for requesting the server to reduce the transmission code rate of graphics data to the server. A failure response, the flow control failure response is sent when the server fails to reduce the transmission bit rate of the graphics data; 所述第三发送单元,还用于向所述服务器发送用于请求所述服务器降低所述音视频数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述音视频数据的传输码率进行调整。The third sending unit is further configured to send to the server a third flow control request for requesting the server to reduce the transmission bit rate of the audio and video data, so that the server can transmit the data according to the third flow control request Adjust the transmission code rate of the audio and video data. 19.根据权利要求15所述的带宽使用优化装置,其特征在于,还包括:19. The bandwidth utilization optimization device according to claim 15, further comprising: 第二接收单元,用于在所述第二发送单元向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第二流控请求之后,接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器提高所述图形数据的传输码率失败时发送的;The second receiving unit is configured to receive the flow control sent by the server after the second sending unit sends a second flow control request for requesting the server to increase the transmission code rate of the graphics data to the server. A failure response, the flow control failure response is sent when the server fails to increase the transmission bit rate of the graphics data; 第四发送单元,用于向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第三流控请求;以便所述服务器根据所述第三流控请求对所述音视频数据的传输码率进行调整。A fourth sending unit, configured to send to the server a third flow control request for requesting the server to increase the transmission bit rate of the audio and video data; The transmission bit rate of audio and video data is adjusted. 20.根据权利要求16所述的带宽使用优化装置,其特征在于,20. The device for optimizing bandwidth usage according to claim 16, characterized in that: 所述第二接收单元,还用于在所述第二发送单元向所述服务器发送用于请求所述服务器提高所述音视频数据的传输码率的第二流控请求之后,接收所述服务器发送的流控失败响应,所述流控失败响应在所述服务器提高所述音视频数据的传输码率失败时发送的;The second receiving unit is further configured to receive a second flow control request from the server after the second sending unit sends the server a second flow control request for requesting the server to increase the transmission code rate of the audio and video data. The flow control failure response sent, the flow control failure response is sent when the server fails to increase the transmission bit rate of the audio and video data; 所述第四发送单元,还用于向所述服务器发送用于请求所述服务器提高所述图形数据的传输码率的第三流控请求,以便所述服务器根据所述第三流控请求对所述图形数据的传输码率进行调整。The fourth sending unit is further configured to send to the server a third flow control request for requesting the server to increase the transmission code rate of the graphics data, so that the server can perform the graphics data according to the third flow control request. The transmission code rate of the graphics data is adjusted.
CN201310152252.1A 2013-04-27 2013-04-27 Optimization method and device for bandwidth usage Withdrawn CN103248682A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310152252.1A CN103248682A (en) 2013-04-27 2013-04-27 Optimization method and device for bandwidth usage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310152252.1A CN103248682A (en) 2013-04-27 2013-04-27 Optimization method and device for bandwidth usage

Publications (1)

Publication Number Publication Date
CN103248682A true CN103248682A (en) 2013-08-14

Family

ID=48927903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310152252.1A Withdrawn CN103248682A (en) 2013-04-27 2013-04-27 Optimization method and device for bandwidth usage

Country Status (1)

Country Link
CN (1) CN103248682A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104980819A (en) * 2015-06-26 2015-10-14 安徽四创电子股份有限公司 Video transmission method and device
CN105376614A (en) * 2015-10-27 2016-03-02 南京创维信息技术研究院有限公司 Video quality optimizing method and device
CN105706421A (en) * 2013-10-17 2016-06-22 微软技术许可有限责任公司 Optimizing data transfers in cloud computing platforms
CN105791735A (en) * 2014-12-24 2016-07-20 中国电信股份有限公司 Method and system for dynamically adjusting video call code streams
CN106686047A (en) * 2016-07-13 2017-05-17 中霆云计算科技(上海)有限公司 Delay self-adaption data transmission method for remote desktop protocol
CN107734282A (en) * 2017-08-25 2018-02-23 北京元心科技有限公司 Video communication method and device
CN108079578A (en) * 2017-10-26 2018-05-29 咪咕互动娱乐有限公司 A kind of code rate adjustment method based on cloud game, device and storage medium
CN110493298A (en) * 2018-05-15 2019-11-22 优酷网络技术(北京)有限公司 Information synchronization method and device
CN113423008A (en) * 2021-08-20 2021-09-21 北京易真学思教育科技有限公司 Video data transmission method, video data transmission device, electronic equipment and medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105706421A (en) * 2013-10-17 2016-06-22 微软技术许可有限责任公司 Optimizing data transfers in cloud computing platforms
CN105706421B (en) * 2013-10-17 2019-05-14 微软技术许可有限责任公司 Optimize the data transmission in cloud computing platform
CN105791735A (en) * 2014-12-24 2016-07-20 中国电信股份有限公司 Method and system for dynamically adjusting video call code streams
CN105791735B (en) * 2014-12-24 2018-11-27 中国电信股份有限公司 Method and system for video calling code stream dynamic adjustment
CN104980819A (en) * 2015-06-26 2015-10-14 安徽四创电子股份有限公司 Video transmission method and device
CN105376614A (en) * 2015-10-27 2016-03-02 南京创维信息技术研究院有限公司 Video quality optimizing method and device
CN106686047A (en) * 2016-07-13 2017-05-17 中霆云计算科技(上海)有限公司 Delay self-adaption data transmission method for remote desktop protocol
CN107734282A (en) * 2017-08-25 2018-02-23 北京元心科技有限公司 Video communication method and device
CN108079578A (en) * 2017-10-26 2018-05-29 咪咕互动娱乐有限公司 A kind of code rate adjustment method based on cloud game, device and storage medium
CN110493298A (en) * 2018-05-15 2019-11-22 优酷网络技术(北京)有限公司 Information synchronization method and device
CN113423008A (en) * 2021-08-20 2021-09-21 北京易真学思教育科技有限公司 Video data transmission method, video data transmission device, electronic equipment and medium

Similar Documents

Publication Publication Date Title
CN103248682A (en) Optimization method and device for bandwidth usage
EP3046331B1 (en) Media control method and system based on cloud desktop
CN109194647B (en) Data transmission method and device, electronic equipment and storage medium
WO2022028089A1 (en) Image processing method and device, server, and medium
CN102158553B (en) Method and device for playing multi-media files for remote desktop
CN104954354B (en) Method, medium, system and apparatus for streaming of digital content
US20140286438A1 (en) Quality of service management server and method of managing streaming bit rate
CN104219229B (en) The transmission method and device of virtual desktop data
KR101942270B1 (en) Media playback apparatus and method including delay prevention system
US20140281017A1 (en) Jitter buffering system and method of jitter buffering
JP2014534492A5 (en)
US20140281023A1 (en) Quality of service management server and method of managing quality of service
KR20150062745A (en) Apparatus and methdo for virtualization service
CN113490055B (en) Data processing method and device
US20150341634A1 (en) Method, apparatus and system to select audio-video data for streaming
CN111970565A (en) Video data processing method and device, electronic equipment and storage medium
CN108337246A (en) Prevent the media playback and media serving device of replay delay
US9307225B2 (en) Adaptive stereoscopic 3D streaming
US9391918B2 (en) Communicating data in flows between first and second computers over a network
CN116980662A (en) Streaming media playing method, streaming media playing device, electronic equipment, storage medium and program product
CN115278289B (en) A cloud application rendering video frame processing method and device
CN104639501B (en) A kind of method of data stream transmitting, equipment and system
CN102546803A (en) Remote desktop communication method based on capability set
WO2023142665A1 (en) Image processing method and apparatus, and computer device, storage medium and program product
KR20160015123A (en) System for cloud streaming service, method of cloud streaming service based on still image and apparatus for the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C04 Withdrawal of patent application after publication (patent law 2001)
WW01 Invention patent application withdrawn after publication

Application publication date: 20130814