Code rate adjusting method and device and storage medium

A bit rate and resource package technology, applied to a method of adjusting bit rate, devices and storage media, can solve problems such as stuttering, prolonging download time, affecting video stream transmission, etc., and achieve the effect of reducing time

Pending Publication Date: 2021-11-30
广州简悦信息科技有限公司
5 Cites 0 Cited by

AI-Extracted Technical Summary

Problems solved by technology

However, in the above process of downloading the resource pack, if the resource pack is downloaded too fast, it will affect the ...
View more

Method used

Further optionally, obtaining the initial video code rate of target video and the initial download code rate of resource package, comprises: obtaining maximum video code rate, minimum video code rate and preset code rate; Preset code rate and minimum The average video bit rate is used as the initial video bit rate, and half of the difference between the maximum video bit rate minus the initial video bit rate is used as the initial download bit rate. Using the maximum video bit rate, minimum video bit rate, and preset bit rate to determine the initial video bit rate and initial download bit rate, you can increase the download speed of the resource package as much as possible on the premise of ensuring smooth video transmission and playback.
The device for adjusting code rate provided by the embodiment of the present application, based on the cloud game micro-end of the target game installed on the terminal device, transmits the target video of the target game and the resource package of the target game to the terminal device, and the target video contains the target game The game interface during running; obtain the transmission delay of the target video and resource package in at least two time periods, and the transmission delay is used to indicate the transmission time of a unit of data from the sender to the receiver; determine the transmission time of the current time period Whether the delay is greater than the transmission delay of the previous time period; according to the judgment result, at least one of the download bit rate of the resource package and the video bit rate of the target video is adjusted. Because according to the transmission delay of the current time period and the transmission delay of the previous time period, the download bit rate is adjusted in real time to avoid the transmission of resource packages, affecting the transmission of the target video, and to make full use of network resources as much as possible, reducing the transmission of resource packages. time.
The electronic device 301 in Fig. 3 is the device of the service end, namely cloud device, and one or more cloud games are installed on the electronic device 301, 3 kinds of cloud games are shown in Fig. 1, are cloud game 1, cloud game respectively Game 2 and the target game, taking the target game as an example, the cloud game micro-end of the target game is installed on the terminal device 302. In this application, the cloud game micro-end is the micro-client of the cloud game. The micro-terminal receives the target video of the target game transmitted by the electronic device 301. The target video includes a continuous target game game interface, which is equivalent to the target game running on the electronic device 301, and the terminal device 302 only displays the game interface, so that the user can play the target game on the terminal device. When the game has not been installed on 302, the game can be played. At the same time, the terminal device 302 receives the resource pack of the target game through the cloud game micro-end of the target game. After the resource pack is downloaded and installed, it can be played through the client of the target game play. During the process of transmitting the target video and resource package, the electronic device 301 adjusts the download bit rate and video bit rate according to the transmission delay, so as to ensure that the user plays the game smoothly through the cloud game micro-terminal, and downloads the resource package as quickly as possible, reducing waiting time.
The electronic device provided by the embodiment of the present application, based on the cloud game micro...
View more

Abstract

The embodiment of the invention provides a code rate adjusting method and device and a storage medium, and the method comprises the steps: transmitting a target video of a target game and a resource package of the target game to terminal equipment based on a cloud game micro-terminal of the target game installed on the terminal equipment, wherein the target video comprises a game interface in the operation process of the target game; acquiring transmission time delays of the target video and the resource packet in at least two time periods, wherein the transmission time delays are used for indicating the transmission time of one unit of data from the sending end to the receiving end; judging whether the transmission delay of the current time period is greater than the transmission delay of the previous time period or not; and adjusting at least one of the downloading code rate of the resource packet and the video code rate of the target video according to a judgment result. The downloading code rate is adjusted in real time, so that the smoothness of the target video is ensured, network resources are fully utilized, and the time for transmitting the resource packet is reduced.

Application Domain

Selective content distribution

Technology Topic

Cloud gamingTransmission delay +8

Image

  • Code rate adjusting method and device and storage medium
  • Code rate adjusting method and device and storage medium
  • Code rate adjusting method and device and storage medium

Examples

  • Experimental program(6)

Example Embodiment

[0018] Example one
[0019] In this application example, a method of adjusting the code rate is applied to the electronic device. In order to facilitate understanding, the application scenario of the adjustment code rate of the present invention will be described with reference to the application. figure 1 Distance figure 1 A scenario showing a method of adjusting the code rate for the present application embodiment. figure 1 The cloud game server 101, the object storage server 102, and the terminal device 103 are shown.
[0020] Among them, the cloud game server 101 is used to run the target game, and transmit the target video formed by the game interface during the operation to the terminal device 103; the object storage server 102 is used to send a target game to the terminal device; the terminal device 103 The cloud game micro-end is installed, and when the user uses the cloud game micrometer installed on the terminal device 103, it is not necessary to run the game on the terminal device 103, and the data interaction with the cloud game server 101 is given to the target video, and The terminal device 103 is downloaded from the target game from the object storage server 102, and the terminal device 103 can run the target game after the resource package is downloaded.
[0021] It should be noted, figure 1 The cloud game server 101 and the object storage server 102 are separately shown separately, and the two servers can be integrated on one device. figure 1 It is only for the purpose of using the cloud game micro-end playing games and download resource packages, and does not mean that the present application is limited to this.
[0022] Combine figure 1 The scenario shown in detail, in detail, the method of adjusting the code rate provided in the present application, it is to be explained, figure 1 It is only an application scenario for the method of adjusting the code rate of the present application, does not represent the adjustment code rate, must be applied to figure 1 The displayed scene can be applied to an electronic device, which may be an apparatus independent of the cloud game server 101 and the object storage server 102, or may be a device including a cloud game server 101 and an object storage server 102. figure 2 Distance figure 2 A flow chart of a method of adjusting the code rate provided in the present application embodiment, including the steps of:
[0023] Step 201, the target game of the target game is transmitted to the target game of the target game based on the target game installed on the terminal device.
[0024] Among them, the target game can be any game. In this application, the target game is taken as an example, and does not mean that the present application is limited to this. Cloud game microeters are installed on terminal devices, and the micro-client for connecting to the electronic device. The electronic device can be a server of the target game, and the cloud game micro-end does not contain various resources required to run the game. The terminal device downloads the resource package of the target game through the cloud game micro-end, and can also transmit an operation command to the electronic device (the operation instruction is used to indicate the operation in the target game), and the terminal device can receive electronics through the cloud game microeterway. Target video sent by the device.
[0025] It should be noted that the target video contains the game interface during the target game run, optionally, the target video can contain the real-time game interface of the target game, and the user can see the various types of target games. Variation, including changes caused by user self-operation, changes caused by other user operations, and the change caused by the target game itself. In the game process, the terminal device detects the user's operation, and transmits the operation instruction to the electronic device through the cloud game. The electronic device transmits the target video in real time, and the electronic device transmits the target game of the target game to the terminal device. In the process of downloading the resource package, you don't need to wait, you can play games directly.
[0026] Step 202, acquire the delay of the target video and resource packet at least two time segments.
[0027] Transmission delays the transmission time of data from the transmitting end to the receiving end. It should be noted that optionally, the transmission delay of each time period can be the average time of data transmission within the time period. The length of time in each time period in at least two time periods may be the same or different. If the length of the length of each time period is the same, that is, the transmission delay of the periodic acquisition target video and the resource packet, exemplarily, when transmitting transmission Delay may include: interval preset time-long acquisition transmission delay, the preset time can be set by itself, for example, the preset time can be 50 ms, 100 ms or 1s or the like. Alternatively, transmission delay can indicate that the data from the transmitting end to the transmission time in the target video, ensures smooth target video transmission, and / or transmission delay can indicate the resource package. A unit of data from the transmission time of the transmitting end to the receiving end.
[0028] Step 203 determines whether or not the transmission time of the current time period is greater than the transmission delay of the last time period.
[0029]Since obtaining a transport delay, therefore, the transmission delay period for each (except the first time) can be compared, and propagation delays over a period of time, in order to determine changes in the transmission delay, if the current transmission delay period is greater than the transmission delay over a period of time, then the propagation delay becomes longer, the network condition is likely to deteriorate, the code rate can be reduced; if the current transmission latency period smaller than a period of time transmission delay, then the shorter transmission delay, network conditions become better, you can increase the rate, increase the transmission speed. In order to achieve real-time adjustment of the bit rate, adjusting to changes in network conditions.
[0030] Step 204, according to the determination results of at least one adjusting video bit rate and the target bit rate of video downloads resources in the packet.
[0031] Combine figure 1 Scenario shown, the electronic device may transmit the game server 101 to the cloud adjustment instructions to adjust the video target bit rate of video; may also be subject to a storage server 102 transmits the adjustment instruction to adjust a code rate download resource bundles; or electronic device at least one video bit rate adjustment command may be transmitted to the terminal device 103, to adjust the rate and download resource bundles in the target video. Of course, merely illustrative here, at least one electronic device comprising a video bit rate if the cloud object storage server 101 and the game server 102, the electronic device can adjust the rate and download resource bundles in the target video.
[0032] Incidentally, there are two determination result, the result is a first transmission delay period is greater than the current transmission delay over a time period, a second transmission delay is the result of the current time is less than the previous period transmission delay. Alternatively, according to the judgment result of the at least one adjusting downloaded video bit rate and the target bit rate of video assets in the package, comprising: a transmission delay period if the current is greater than the transmission delay over a period of time, then on the basis of the resource bundle to ensure download rate than the minimum rate of the download, the download rate reduced resource knapsack; transmission delay less than the transmission delay over a time period of the current time period, then the guaranteed resource bundle download rate or less based on the maximum download rate, increasing rate download resource bundles. Here, include two example illustrate these two cases. It is further noted that, if the current transmission delay time period equal to a period of transmission time delays, can follow a first result or a second result corresponding manner.
[0033] Alternatively, in a first example, if the transmission delay period is greater than the current transmission delay over a period of time, then the download rate guaranteed resource bundle is not less than the minimum based on the download rate, reduced Download rate of the resource bundle.
[0034] On the basis of the resource bundle to ensure download rate than the minimum rate of the download, the download rate adjustment, avoid downloading rate is too small, affect the transmission rate of the download speed. Incidentally, the minimum download rate may be preset, in a special case, the minimum rate may be 0 download, if the downloaded code rate is equal to 0, the Pause packet transmission resource.
[0035] Alternatively, in a specific implementation, the video bit rate can be adjusted to the target video, for example, if the transmission delay period is greater than the current transmission delay over a period of time, to ensure that the resources in the packet downloading download rate not less than the minimum rate on the basis of reduced rate of resources downloaded package, comprising: a transmission delay period if the current is greater than the transmission delay over a period of time, determines transmission latency period current is greater than a preset time delay; if the current transmission delay period greater than a preset time delay, the code rate is decreased download resource bundles, and to reduce the video bit rate target video. Incidentally, the preset time delay may represent the transmission delay set in advance.
[0036] The first example, further, in one particular example, the method further comprises based on: the transmission delay is less than the current time period is equal to a preset delay, determining whether the resource bundle download rate greater than a minimum download rate; If the download rate packet is greater than the minimum resource download code rate, the code rate is decreased download resource bundles; If the download resource bundles rate equal to the minimum download rate, the bit rate reduced video target video.
[0037] The first step is based on an example, if the current transmission delay period greater than a preset time delay, transmission delay described in an increasing trend, greater than the preset time delay, download rate can be reduced and the video bit rate, in order to ensure smooth video target; if the current is less than the transmission delay time equal to a preset delay period, then the transmission delay at an increasing trend, is still lower than the preset time delay, can be reduced only download rate, without changing the video bit rate; If the download proxy has the smallest download rate, video bit rate can be reduced, has to contain the transmission delay increase.
[0038] Alternatively, in a second example, if the current transmission delay less than the transmission delay time over a period of time, then the download resource bundles guaranteed bitrate or less based on the maximum download rate, increased Download rate of the resource bundle.
[0039] Ensuring resource bundle download rate less than or equal on the basis of the maximum download rate, download rate adjustment, avoid downloading rate is too large, affecting the smooth target video. It should be noted that the maximum download rate can be preset.
[0040] Alternatively, in one specific implementation, if the current transmission delay less than the transmission delay time over a period of time, then the download resource bundles guaranteed bitrate or less based on the maximum download rate, by download rate big resources package, comprising: a transmission delay if the current time period is less than the transmission delay over a time period, determines whether the current transmission delay is greater than a predetermined delay period; if the current transmission period extension of less than equal to the preset delay, increase the download rate of the resource bundle, and increase the video bit rate target video.
[0041] Based on a second sample, further, in one particular example, the method further comprising: if the current transmission delay greater than a preset time delay period, the resource is determined whether the packet download rate less than a maximum download rate; if Download rate packet is less than the maximum resource download code rate, the code rate is increased download resource bundles; If the download resource bundles rate equal to the maximum download rate, the video bit rate is increased target video.
[0042] Based on a second example, if the current is less than the transmission delay time period equal to a preset delay, transmission delay described at a decreasing trend, but also less than the predetermined delay, the network resources are more fully described, can be increased download video bit rate and bit rate, thereby improving transmission efficiency; if the current transmission delay greater than a preset time delay period, then the transmission delay at a decreasing trend, is still greater than the preset time delay, it can be increased only large download bit rate, video bit rate does not change; if the download rate is already the maximum download rate, you can increase the video bit rate, transmission delay has been reduced to curb the trend.
[0043] Combination of the above steps 201-204, herein, include by way of illustration a specific implementation of how to determine the initial rate, and to download the original video bit rate. Optionally, prior to step 201, the method further comprising: obtaining initial target video downloads the initial rate and the video bit rate resource knapsack; video bit rate according to the initial transmission target video, based on the initial packet transmission resource and download rate.
[0044] Further alternatively, obtain initial download rate initial target video bit rate and video resource package includes: obtaining maximum video bit rate, video bit rate and the minimum preset rate; preset minimum video bit rate and bit rate the average value as the initial video bit rate, the maximum video bit rate by subtracting one-half of the difference between the initial video bit rate as the initial download rate. Using the maximum video bit rate, video bit rate and a preset minimum rate, video bit rate and the initial determination of the initial download rate, can in ensuring smooth video transmission and playback premise download speeds as large as possible to improve resource package.
[0045] The method provided in this embodiment to adjust the application rate of the embodiment, the micro end of cloud-based games installed on the goal of the game terminal device, the target video packet to the resource and the object of the game terminal apparatus transmission target of the game, the target video game operation process of the target comprising game interface; target video data acquisition and transmission resources in packet delay, transmission delay time period of at least two units for indicating a transmission time from the transmitting end to the receiving end; Analyzing current transmission delay period is greater than transmission delay over a time period; adjusting at least one of downloading the video bit rate and the target rate of a video based on the result of the resource bundle. Because according to the transmission delay and transmission delay over a time period of the current time period, the real-time adjustment download rate, to avoid packet transmission resources, affect the transmission target video, but also the fullest possible use of network resources and reduce transmission resource bundle time.

Example Embodiment

[0046] Example 2
[0047] The method described above based on an embodiment, there is provided a method according to a second application of the present embodiment to adjust the code rate, the method further described in the above embodiments a detailed description, in this embodiment, the method can be applied to a game scene, when the user wants to download a game, the game can be opened by a cloud of micro-side game, at this time, because the game has not been installed, the user sees through the terminal equipment interface is the server (electronic device) based on a user operation generate a game display screen, and the game display screen to the terminal device, i.e. the server based on a user operation to the terminal device transmits real time video stream (i.e., the target video), and download the game terminal device from the server resource package (i.e., resource package ), of course, merely illustrative herein.
[0048] like image 3 Distance image 3 Diagram of a method of the present application rate is adjusted according to a second embodiment of the scene, image 3 Scenario shown in electronic device 301 and comprises a terminal device 302, the electronic device 301 may be a device performing the method of the present application rate adjustment according to a first embodiment.
[0049] And the terminal device 302 figure 1 Corresponding to the scene 103 shown in the terminal apparatus, may be the same device, the terminal device 302 may be a device with a display screen, may be a smart phone, a tablet PC, a notebook computer, onboard terminal and other terminal equipment, of course, where merely illustrative and do not represent the present application limited thereto. Terminal device 302 may be mounted on the target cloud game widget game terminal establishes a connection to a micro cloud gaming terminal and the electronic device 302.
[0050] 301 and electronic equipment figure 1 The scene shown in the cloud gaming server 101 and the storage server 102 corresponding to the object, the electronic device 301 may be a goal of the game server, the electronic device 301 and end device 302 may communicate over a network, and data interaction; electronic device 301 may be a service terminal devices, the terminal device 302 from the electronic device 301 may be coated resources. This application, the network includes a local area network (English: Local Area Network, LAN), wide area network (English: Wide AreaNetwork, WAN), a mobile communication network; such as the World Wide Web (English: World Wide Web, WWW), Long Term Evolution (English: Long Term Evolution, LTE) network, 2G network (English: 2th Generation Mobile network), 3G network (English: 3th Generation Mobile network), 5G network (English: 5th Generation MobileNetwork) and so on. The server may include various devices connected via a network, e.g., a server, a relay device, end to end (in English: Device-to-Device, D2D) equipment. Of course, here merely illustrative and do not represent the present application limited thereto.
[0051] image 3 The electronic device 301 is a server device, i.e. the cloud devices, the electronic device 301 are mounted on one or more cloud game, figure 1There are three kinds of cloud games, which are cloud games 1, cloud game 2 and target games. Take the target game as an example, the terminal device 302 is equipped with a target game micro-end, in this application, the cloud game The end of the cloud game is the target video of the target game transmitted by the electronic device 301, the target video includes a continuous target game, which is equivalent to the target game in the game interface of the target game. Upload, the terminal device 302 simply displays the game interface, so that the user can play games when the game is not installed on the terminal device 302, and the terminal device 302 receives the resource package of the target game through the target game of cloud game microeters, etc. After the resource package is downloaded and installed, you can play through the client of the target game. In the process of transmitting target video and resource packets, electronic device 301 is smoking according to the transmission time delay, and the user is smooth when the user has fun through the cloud game micro-end, and the resource package is downloaded as quickly as possible. waiting time.
[0052] Combine image 3 The scene shown, such as Figure 4 Distance Figure 4 A flow chart of a method of adjusting the code rate provided in the second embodiment of the present application, the method comprising the steps of:
[0053] Step 401, initialize the data transmission.
[0054] In the initialization phase, the electronic device can establish a transport link to the terminal device through the cloud game micro-end on the terminal device, and the audio data rate RAUDIO_CUR is set by real-time transmission technology (REAL TIME COMMUNICATION, RTC). Fixed audio code rate Raudio_fix.
[0055] Set the video code rate RVIDEO_CUR to the minimum video code rate RVIDEO_MIN, press the current yield RVIDeo_Cur, encoded and transmitted, and statistics after 10 seconds, the current transmission delay is statistics, as the minimum delay RTT_MIN. Set the maximum video code rate RVIDEO_MAX = RVIDEO_MIN, set the preset video code rate RVIDEO_GOOD = RVIDEO_MIN, set the minimum value of the transmission time to RTTΔ_MIN = 1 second, transmission time delay is used to indicate transmission delay and preset The difference between the extensions, the specifically referred to step 405.
[0056] Step 402, depending on the maximum time, the delay is available normally.
[0057] If RTT_MIN is greater than the preset maximum delay RTT_Accept_max, remind the user network conditions too bad, unable to download and exit the game; otherwise, continue normal games.
[0058] Step 403, increasing the video code rate, and statistics new transmission delays.
[0059] For example, set the new video code rate RVIDEO_TRY to RVIDEO_TRY = RVIDEO_CUR × 1.1, the audio code rate remains unchanged, and the new transmission time delay RTT_Cur is statistically resolved after 5 seconds.
[0060] Step 404: Decades whether the new transmission delay is greater than the maximum delay.
[0061] If the new transmission delay RTT_CUR is smaller than or equal to the maximum delay RTT_ACCEPT_MAX, step 405 is performed.
[0062] If the new transmission delay RTT_Cur is greater than the maximum delay RTT_ACCEPT_MAX, the maximum video code rate RVIDeo_max is set to the current video code rate RVIDeo_Cur and perform step 406.
[0063] Step 405 update the preset video code rate and the maximum video code rate according to the new transmission delay.
[0064] Alternatively, the transmission time delay amount RTTΔ, RTTΔ = | RTT_GOOD-RTT_CUR |, where RTT_GOOD indicates the preset delay, and RTT_Cur represents the current delay.
[0065] If RTTΔ
[0066] If RTTΔ ≥rtΔ_min, set the maximum video code rate RVIDeo_max = rvideo_cur = rvideo_TRY, and return to step 403.
[0067] Step 406, in accordance with the minimum video code rate, the preset video code rate and the maximum video code rate, set the initial video code rate and the initial lower-ended yield.
[0068] Optional geotextile, you can set the initial video code rate RVIDEO_CUR = (RVIDEO_GOOD + RVIDEO_MIN) / 2, then set the initial download rate RdownLoad_cur, RDownload_Cur = (RDEO_MAX-RVIDEO_CUR) / 2 based on the initial video code rate based on the set.
[0069] It should be noted that if the initial lower-end-spending rate rdownload_cur is greater than the preset maximum download code rate rDownload_max, the maximum download code rate is set to the current initial lower-ended calculation rate, ie RdownLoad_cur = RdownLoad_max; if the initial lower-end code rate rdownload_cur is smaller than the pre-predecessor Set the maximum download code rate rDownload_min, the minimum download code rate is set to the current initial lower-ended yield rate, ie rdownload_cur = rdownload_min. Set the current initial video code rate to the minimum video code rate, ie RVIDEO_CUR = RVIDEO_MIN, and start transmitting target video (ie the video stream of the game interface) according to the initial video code rate, and the resource package is transmitted according to the initial lower-up rate. Resource package).
[0070] Step 407, get the transmission delay.
[0071] In this example, the transmission delay can be periodically acquired, and the time-long acquisition time is time-transmitted, the preset time length can be 50 ms, ie, the current transmission time delay RTT_New,
[0072] Step 408, determine whether the transmission delay of the current cycle is greater than the transmission delay of the previous cycle.
[0073] If the current cycle is transmitted (i.e., the current time period transmission delay) is greater than the transmission delay of the previous cycle (ie, the transmission delay of the last time period), that is, RTT_NEW> RTT_CUR, step 409 is performed; if the current period Transmission is extended to the transmission delay of the previous cycle, that is, RTT_NEW
[0074] Step 409: Determine whether the transmission delay of the current cycle is greater than the preset delay, and adjust the video code rate and download code rate based on the judgment result.
[0075] If the current cycle is transmitted to the preset delay, ie RTT_New> RTT_GOD, then reduce the download code rate of the resource package and reduce the video code rate of the target video. Alternatively, the video code rate RVIDEO_CUR can be set to RVIDEO_CUR = max (RVIDEO_CUR × 0.9, RVideo_min), set the download code rate rdownload_cur to RDOWNLOAD_CUR = Max (RdownLoad_cur × 0.9, RdownLoad_min), and perform step 4011;
[0076] If the current cycle is transferred to equal to the preset delay, it is further determined whether the lower endometric rate is greater than the minimum download code, if the lower conveyance rate is greater than the minimum download code rate, ie rdownload_cur> rdownload_min, then reduce the lower-conversion rate, for example, You can set the download code rate rDownload_CUR to RDOWNLOAD_CUR = Max (RdownLoad_cur × 0.9, RdownLoad_min), and perform step 4011; if the lower endome is equal to the minimum download code rate, the video code rate is reduced, for example, the video code rate RVIDEO_CUR is set. For RVIDEO_CUR = Max (RVIDEO_CUR × 0.9, RVIDEO_MIN), and perform step 4011.
[0077] Step 4010, determine if the transmission time between the current period is greater than the preset delay, and adjust the video code rate and download code rate based on the judgment result.
[0078] If the current cycle is transmitted to the preset delay, ie RTT_NEW
[0079] If the current cycle is transferred to equal to the preset delay, it is further determined whether the lower endometric rate is less than the maximum download code rate, if the lower-conversion rate is less than the maximum download code rate, ie rdownload_cur
[0080] Step 4011, transmit the target video according to the adjusted video code rate, and return the resource packet according to the adjusted download code rate, return to step 407, and perform steps 407-4011, until the user exits or downloads.
[0081] Alternatively, the current cycle can be updated to the transmission delay of the previous cycle, that is, the RTT_Cur = RTT_NEW can be recorded, and then the new transmission delay is obtained.
[0082] The method of adjusting the code rate provided herein, based on the target game of the target game installed on the terminal device, transmitting the target video of the target game to the terminal device, the resource package of the target game, the target video contains the target game operation Game interface; get the target video and resource package in at least two time segments transmission delay, the transmission delays the transmission time of the data from the transmitting end to the receiving end, determining whether the transmission time of the current time period is greater than The transmission delay of the last time period; adjusts at least one of the download code rate and the video code rate of the target video according to the judgment result. Because the transmission delay in the current time period and the transmission delay of the last time period, the lower-conversion rate is adjusted in real time, avoid transmission resource packets, affect the transmission of target video, and use network resources as much as possible to reduce the transmission resource package. time.

Example Embodiment

[0083] Example three
[0084]The method described above based on an embodiment, means for adjusting the code rate according to a third embodiment of the present application, the above-described embodiment for performing the method according to the second embodiment or an embodiment described with reference to Figure 5 , The rate adjusting means 50, comprising:
[0085] A transmission module 501, a micro cloud gaming terminal end of the target device is installed based on the game, the target video packet to the resource and the object of the game terminal apparatus transmission target of the game, the game process of the target comprising a target video game interface operation;
[0086] Delay module 502, configured to obtain video data and the target resource packet transmission delay, transmission delay time period of at least two units for indicating a transmission time from the transmitting end to the receiving end;
[0087] Determining module 503 for determining whether the current transmission delay period is greater than the transmission delay over a time period;
[0088] Adjustment module 504, the video bit rate and the target bit rate of video downloads for a resource based on the result of at least one packet is adjusted.
[0089] Alternatively, in one particular example, the adjustment module 504 is used when the current transmission delay period is greater than the transmission delay time over a period of time, ensuring that the resource download rate less than the minimum packet downloads based on the rate, reduce the resource download packet rate; the current transmission delay less than a transmission delay time over a period of time, to ensure the resource download rate packet is less than equal to the maximum download based on the rate, the rate increased download resource bundles.
[0090] Alternatively, in one specific example, adjustment module 504 for delaying the transmission delay time when the current segment is greater than the previous transmission period, determining the current transmission delay period is greater than a predetermined delay ; if the current transmission delay period greater than a preset time delay, the code rate is decreased download resource bundles, and to reduce the video bit rate target video.
[0091] Alternatively, in one specific example, adjustment module 504 for delaying the transmission period when the current is less than equal to a preset delay, determining whether the download resource bundles download rate greater than a minimum bit rate;
[0092] If the download rate packet is greater than the minimum resource download code rate, the code rate is decreased download resource bundles; If the download resource bundles rate equal to the minimum download rate, the bit rate reduced video target video.
[0093] Alternatively, in one particular example, the adjustment module 504 to the current delay time period less than the transmission delay over a transmission period, determining the current transmission delay period is greater than a predetermined delay ; If the current period is equal to a preset transmission delay less than the delay, the bit rate is increased to download the resource bundle, the video bit rate and increasing the target video.
[0094] Alternatively, in one specific example, adjustment module 504 for delaying the transmission delay when the current is greater than a predetermined time period, determining whether the resource bundle download rate less than a maximum download rate; if the resource bundle downloading download rate less than the maximum rate, the rate increased download resource bundles; If the download resource bundles rate equal to the maximum download rate, the video bit rate is increased target video.
[0095] Alternatively, in one particular example, the adjustment means 50 further comprises an initial rate of downloading code rate initialization module 505, configured to obtain the original video bit rate target video packet and resource; the initial video bit rate video transmission target and packet transmission resource based on the initial download rate.
[0096] Alternatively, in one specific example, initialization module 505, configured to obtain the maximum video bit rate, a minimum rate and a predetermined video rate; preset minimum average bit rate and the video bit rate as an initial video code rate, the maximum video bit rate by subtracting one-half of the difference between the initial video bit rate as the initial download rate.
[0097] Means for adjusting the rate according to an embodiment of the present application, the cloud-based game widget installed on the terminal end of the object of the game, the target video packet resource to the terminal device and the target transmission target game of the game, the target video game operation process of the target comprising game interface; target video data acquisition and transmission resources in packet delay, transmission delay time period of at least two units for indicating a transmission time from the transmitting end to the receiving end; Analyzing current transmission delay period is greater than transmission delay over a time period; adjusting at least one of downloading the video bit rate and the target rate of a video based on the result of the resource bundle. Because according to the transmission delay and transmission delay over a time period of the current time period, the real-time adjustment download rate, to avoid packet transmission resources, affect the transmission target video, but also the fullest possible use of network resources and reduce transmission resource bundle time.

PUM

no PUM

Description & Claims & Application Information

We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.

Similar technology patents

CT image-based lung lobe segmentation method and device

ActiveCN107392910Ashorten the time
Owner:SHENYANG NEUSOFT MEDICAL SYST CO LTD

Quick heating type heat pump water heater for recovering shower waste heat

ActiveCN102607170Ashorten the timeIncrease power and efficiency
Owner:佛山市三角洲电器科技有限公司 +1

Classification and recommendation of technical efficacy words

  • shorten the time
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products