Download speed limiting method and device based on video stream quality adjustment and computer equipment

By detecting the baseline round-trip delay and packet loss rate of the network channel, the download speed of the cloud service is adjusted, which solves the problem of insufficient download bandwidth adjustment accuracy in the existing technology, enables rapid completion of large package downloads, and improves the cloud service experience.

CN118612481APending Publication Date: 2024-09-06SHENZHEN CLOUDSKY TECH CO LTD
0 Cites 1 Cited by

Patent Information

Application Number
CN202410535624.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-30
Publication Date
2024-09-06

Smart Images

  • Figure CN118612481A
    Figure CN118612481A
Patent Text Reader

Abstract

The invention discloses a downloading speed limiting method and device based on video stream quality adjustment and computer equipment, relates to the technical field of networks, and solves the technical problems that in the existing cloud service operation process, the adjustment accuracy of a downloading bandwidth adjustment method is not high, and the experience feeling of cloud service is easily affected. According to the method, the redundant bandwidth is used for downloading under the condition of not influencing the high-quality cloud service experience of a user, when the network condition changes, the change can be detected in time, the quality of the streaming and the bandwidth used for downloading can be synchronously adjusted, the downloading speed can be rapidly converged and rapidly increased when the speed limit is adjusted, and the user experience is improved. And finally, downloading and conversion of the large packet are completed in the as short as possible time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network technology, and in particular to a download speed limiting method, device and computer equipment based on video stream quality adjustment. Background Art

[0002] Cloud services include cloud gaming and cloud live streaming. Cloud services run on the server side, and then compress the data and transmit it to users through the network for use. Cloud services require large network bandwidth to support them. Only with large network bandwidth can users enjoy high-quality image experience. Considering the cost of servers, many businesses will have the need to convert cloud services into local services. Business needs expect that users can download and install the complete package without any sense while playing cloud services.

[0003] Due to competition for downlink bandwidth, downloading packages according to normal procedures will consume a lot of bandwidth, bringing a poor experience to cloud services. The existing method of allocating network bandwidth to cloud service operation and package downloading is to dynamically adjust the download speed through the user's local bandwidth prediction. This solution mainly needs to calculate two bandwidths, one is the user's local downlink bandwidth, and the other is the theoretical bandwidth required for enjoying cloud services. The difference between the two can be used to get the bandwidth that can be allocated to the downloader. However, this method of allocating bandwidth cannot accurately evaluate the bandwidth required by cloud services, and cannot ensure that the cloud service experience is placed first.

[0004] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0005] During the operation of existing cloud services, the adjustment accuracy of the download bandwidth adjustment method is not high, which easily affects the experience of the cloud service. Summary of the invention

[0006] The purpose of the present invention is to provide a download speed limit method, device and computer equipment based on video stream quality adjustment, so as to solve the technical problem that the adjustment accuracy of the download bandwidth adjustment method in the existing cloud service operation process in the prior art is not high, which easily affects the experience of the cloud service. The many technical effects that can be produced by the preferred technical solution among the many technical solutions provided by the present invention are described in detail below.

[0007] To achieve the above object, the present invention provides the following technical solutions:

[0008] The present invention provides a download speed limiting method based on video stream quality adjustment, comprising:

[0009] S10. During the operation of the cloud service, detect the network channel connected to the cloud service device, and calculate the benchmark round-trip delay and benchmark packet loss rate of the cloud service during data transmission according to the network channel;

[0010] S20, obtaining the current round-trip delay and the current packet loss rate, and obtaining the download speed through the round-trip delay, the reference packet loss rate, the current round-trip delay and the current packet loss rate;

[0011] S30, detecting the change stage to which the current download speed belongs according to a preset adjustment factor, and adjusting the download speed;

[0012] S40, when the download speed meets the set condition, recalibrate the benchmark round-trip delay and the benchmark packet loss rate to obtain a new benchmark round-trip delay and a new benchmark packet loss rate, and adjust the download speed according to the new benchmark round-trip delay and the new benchmark packet loss rate;

[0013] S50, adjusting the encoding bit rate of the cloud service during data transmission according to the bandwidth prediction value, the current benchmark round-trip delay and the current benchmark packet loss rate, and repeating steps S10 to S40.

[0014] Preferably, the step S10 includes:

[0015] Check whether the network channel connected to the cloud service device is a WiFi channel;

[0016] If so, the benchmark round-trip delay is determined to be the ideal round-trip delay;

[0017] If not, the benchmark round-trip delay is determined to be twice the ideal round-trip delay;

[0018] The ideal round-trip delay is the round-trip delay of each video frame at the ideal frame rate within one second.

[0019] Preferably, the step S30 includes:

[0020] When it is detected that the download speed is in the rate increasing period, the download speed change value is +AK / s;

[0021] When it is detected that the download speed is in a stable rate period, the download speed change value is +0KB / s;

[0022] When it is detected that the download speed is in a rate reduction period, the download speed is changed to 0.5 times the current download speed.

[0023] Preferably, the step S30 further includes:

[0024] When the download speed is in the rate increasing period, if it is detected that the current round-trip delay is greater than or equal to the round-trip delay surge value, the download speed enters the speed decreasing period;

[0025] If it is detected that the current round-trip delay is greater than or equal to the abnormal value of the round-trip delay, the download speed enters the rate stable period, and the download speed = current speed - speed change value;

[0026] If it is detected that the actual download speed is less than the current initial download speed, the download speed remains unchanged.

[0027] Preferably, the step S30 further includes:

[0028] When the download speed is in the stable speed period, if it is detected that the current round-trip delay is longer than the abnormal round-trip delay, the download speed enters the speed decline period;

[0029] If it is detected that the current round-trip delay is less than the stable value of the round-trip delay, the download speed enters the speed increase period.

[0030] Preferably, the step S30 further includes:

[0031] When the download speed is in the rate decreasing period, if it is detected that the current round-trip delay is less than the round-trip delay steady value, the download speed enters the rate increasing period;

[0032] If it is detected that the current round-trip delay is longer than the abnormal value of the round-trip delay, the download speed continues to decrease and cannot be lower than the minimum value of the download speed.

[0033] Preferably, the step S40 includes:

[0034] When the download speed reaches a stable speed, a peak value or a valley value, the current round-trip delay and the current packet loss rate are collected, and the benchmark round-trip delay and the benchmark packet loss rate are recalibrated according to the current round-trip delay and the current packet loss rate to obtain a new benchmark round-trip delay and a new benchmark packet loss rate.

[0035] A download speed limiting device based on video stream quality adjustment, comprising:

[0036] The first processing module is used to detect the network channel connected to the cloud service device during the operation of the cloud service, and calculate the benchmark round-trip delay and benchmark packet loss rate of the cloud service during data transmission according to the network channel;

[0037] A second processing module is used to obtain a current video stream quality value, and obtain a download speed through the reference video stream quality value and the current video stream quality value;

[0038] A detection module, used to detect the change stage of the current download speed and adjust the download speed according to a preset adjustment factor;

[0039] A calibration module, used for recalibrating the reference video stream quality value to obtain a new reference video stream quality value when the download speed meets a set condition;

[0040] The adjustment module is used to adjust the download speed according to the new reference video stream quality value.

[0041] Preferably, the first processing module is used to detect a network channel connected to the cloud service device, and calculate a reference video stream quality value of the cloud service during data transmission according to the detected network channel, including:

[0042] Check whether the network channel connected to the cloud service device is a WiFi channel;

[0043] If so, the benchmark round-trip delay is determined to be the ideal round-trip delay;

[0044] If not, the benchmark round-trip delay is determined to be twice the ideal round-trip delay.

[0045] A computer device comprises: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the download speed limiting method steps based on video stream quality adjustment as described above are implemented.

[0046] Implementing one of the above technical solutions of the present invention has the following advantages or beneficial effects:

[0047] The present invention uses redundant bandwidth for downloading without affecting the user's high-quality experience of cloud services. When the network situation changes, it can be detected in time, and the quality of the stream and the bandwidth used for downloading can be adjusted synchronously. When adjusting the speed limit, it can achieve rapid convergence of download speed and rapid increase of download speed, and finally complete the download conversion of large packages in the shortest possible time. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. It is obvious that the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0049] Figure 1 The present invention is a flowchart of a download speed limiting method based on video stream quality adjustment according to an embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of the present invention clearer, the various exemplary embodiments to be described below will refer to the corresponding drawings, which constitute a part of the exemplary embodiments, wherein various exemplary embodiments that may be used to implement the present invention are described. Unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementation methods described in the following exemplary embodiments do not represent all implementation methods consistent with the present disclosure. It should be understood that they are only examples of processes, methods, devices, etc. that are consistent with some aspects of the present disclosure as detailed in the attached claims, and other embodiments may also be used, or the embodiments listed herein may be modified in structure and function without departing from the scope and essence of the present invention.

[0051] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", etc. indicate the orientation or positional relationship based on the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the elements referred to must have a specific orientation, be constructed and operated in a specific orientation. The terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. The term "multiple" means two or more. The terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, an integral connection, a mechanical connection, an electrical connection, a communication connection, a direct connection, an indirect connection through an intermediate medium, and can be the internal connection of two elements or the interaction relationship between two elements. The term "and / or" includes any and all combinations of one or more related listed items. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.

[0052] In order to illustrate the technical solution of the present invention, a specific embodiment is used below for description, and only the parts related to the embodiment of the present invention are shown.

[0053] Embodiment 1:

[0054] like Figure 1 As shown, the present invention provides a download speed limiting method based on video stream quality adjustment, comprising:

[0055] S10. During the operation of the cloud service, detect the network channel connected to the cloud service device, and calculate the benchmark round-trip delay and benchmark packet loss rate of the cloud service during data transmission according to the network channel;

[0056] S20, obtaining the current round-trip delay and the current packet loss rate, and obtaining the download speed through the benchmark round-trip delay, the benchmark packet loss rate, the current round-trip delay and the current packet loss rate;

[0057] S30, detecting the change stage to which the current download speed belongs according to a preset adjustment factor, and adjusting the download speed;

[0058] S40, when the download speed meets the set conditions, recalibrate the benchmark round-trip delay and the benchmark packet loss rate to obtain a new benchmark round-trip delay and a new benchmark packet loss rate, and adjust the download speed according to the new benchmark round-trip delay and the new benchmark packet loss rate;

[0059] S50, adjusting the encoding bit rate of the cloud service during data transmission by using the bandwidth prediction value, the current benchmark round-trip delay and the current benchmark packet loss rate, and repeating steps S10-S40. Specifically, the download speed determined by the benchmark round-trip delay and the benchmark packet loss rate calculated according to the network channel is the initial download speed. After the user terminal starts downloading, it downloads according to the initial download speed, and then enters the speed increase period. According to the real-time detection of the changes in the current round-trip delay and the current packet loss rate when the cloud service is running, the change stage to which the current download speed belongs is determined, and the download speed is adjusted according to the preset adjustment factor. Without affecting the normal operation of the cloud service, the download speed of the user terminal is adjusted, which can not affect the user's high-quality experience of the cloud service. At the same time, when adjusting the speed limit, the download speed can be quickly converged and the download speed can be quickly raised, and finally the download conversion of the package body is completed in the shortest possible time. At the same time, when the download speed meets the set conditions, the benchmark round-trip delay and the benchmark packet loss rate are recalibrated to ensure the accuracy of the speed distribution. The bit rate of the download speed is adjusted by the new benchmark round-trip delay and the new benchmark packet loss rate, thereby adjusting the download speed. The bandwidth prediction value is an evaluation of the current bandwidth of the user end, which is calculated by uploading or downloading a resource based on the size and time of the resource.

[0060] The present invention uses redundant bandwidth for downloading without affecting the user's high-quality experience of cloud services. When the network situation changes, it can be detected in time, and the quality of the stream and the bandwidth used for downloading can be adjusted synchronously. When adjusting the speed limit, it can achieve rapid convergence of download speed and rapid increase of download speed, and finally complete the download conversion of large packages in the shortest possible time.

[0061] As an optional implementation, step S10 includes:

[0062] Check whether the network channel connected to the cloud service device is a WiFi channel;

[0063] If so, the benchmark round-trip delay is determined to be the ideal round-trip delay;

[0064] If not, the benchmark round-trip delay is determined to be twice the ideal round-trip delay;

[0065] The ideal round-trip delay is the round-trip delay of each video frame in the ideal frame rate within one second. Specifically, before starting to download, the ideal round-trip delay is determined by the frame rate of the video stream of the current cloud service in the ideal state, for example, the ideal frame rate is 60 frames, and the ideal round-trip delay is (1000ms / 60)*2=33ms. Before starting to download, the calculated benchmark round-trip delay and benchmark packet loss rate are the initial benchmark round-trip delay and the initial benchmark packet loss rate. In addition, the benchmark packet loss rate is related to the frame rate of the cloud service operation, and different cloud services have corresponding benchmark packet loss rates. The benchmark packet loss rate of each cloud service will have two different sets of values ​​depending on whether the network channel connected to the cloud service device is a WiFi channel. When the network channel is a WiFi channel or the network channel is not a WiFi channel, when the current packet loss rate is less than or equal to the benchmark packet loss rate, the smoothness of the picture running the cloud service is better, so when adjusting the download speed, it is necessary to ensure that the current packet loss rate is close to the benchmark packet loss rate.

[0066] As an optional implementation, step S30 includes:

[0067] When it is detected that the download speed is in the rate increasing period, the download speed change value is +AK / s;

[0068] When the download speed is detected to be in the stable period, the download speed change value is +0KB / s;

[0069] When it is detected that the download speed belongs to the rate reduction period, the download speed is changed to 0.5 times the current download speed. Specifically, different cloud services have different adjustment factors. The adjustment factors can be adaptively preset according to the type of cloud service. The preset adjustment factors are used to calculate the change stage to which the current download speed belongs. The change stage to which the current download speed belongs includes the rate increase period, the rate stability period and the rate decrease period. For example, the preset adjustment factors of a certain cloud service are as follows: 0.8 for the increase period and 1.2 for the decrease period. If the current round-trip delay is greater than 1.2*the benchmark round-trip delay or the current packet loss rate is greater than 1.2*the benchmark packet loss rate, the current download speed belongs to the rate reduction period, and the download speed will be reduced at this time. If the current round-trip delay is less than 0.8*the benchmark round-trip delay or the current packet loss rate is less than 0.8*the benchmark packet loss rate, the current download speed belongs to the rate increase period, and the download speed will be increased at this time. When both the round-trip delay and the current packet loss rate do not meet the above conditions, the current download speed belongs to the rate stability period, and the download speed remains unchanged at this time.

[0070] More specifically, when the download speed is in the rate rising period, the download speed increases linearly by AK / s, which can quickly raise the download speed, and at the same time will not affect the operation of the cloud service due to the excessive increase in the download speed. A is the set speed change value, which can be adaptively set according to time requirements, and the download speed change value is preferably 800K / s. When the download speed is in the rate steady period, the download speed remains unchanged, and the download speed change value is +0KB / s. When the download speed is in the rate decreasing period, the download speed is changed to 0.5 times the current download speed. The speed decreases exponentially, which can quickly converge the download speed and avoid the download speed being too high to affect the operation of the cloud service. By adjusting the download speed, the download of the package can be completed in the shortest possible time while ensuring that the user's high-quality experience of the cloud service is not affected. The download speed change rate during the speed decrease period is 0.5 times.

[0071] As an optional implementation, step S30 further includes:

[0072] When the download speed is in the rate increasing period, if it is detected that the current round-trip delay is greater than or equal to the round-trip delay surge value, the download speed enters the speed decreasing period;

[0073] If it is detected that the current round-trip delay is greater than or equal to the abnormal value of the round-trip delay, the download speed enters a stable rate period, and the download speed = current speed - speed change value;

[0074] If the actual download speed is detected to be less than the current initial download speed, the download speed remains unchanged. Specifically, the round-trip delay length surge value and the round-trip delay length abnormal value are configured according to the cloud service's requirements for image quality, and the round-trip delay length surge value is greater than the round-trip delay length abnormal value. The round-trip delay length surge value means that the round-trip delay length suddenly becomes abnormally large, and at this time the network of the network channel has a large jitter. The round-trip delay length abnormal value refers to the fluctuation of the round-trip delay length within a certain range. In the case where the download speed belongs to the rate increase period, if it is detected that the current round-trip delay length is greater than or equal to the round-trip delay length surge value, the download speed enters the speed decrease period according to the download speed change rate in the speed decrease period, and the download speed is quickly converged. If it is detected that the current round-trip delay length is less than the round-trip delay length surge value, the download speed continues to increase during the rate increase period according to the download speed change value in the rate increase period. If it is detected that the current round-trip delay length is greater than or equal to the round-trip delay length abnormal value, the download speed = current speed - speed change value, so that the download speed continues to decrease and enters the rate stable period.

[0075] As an optional implementation, step S30 further includes:

[0076] When the download speed is in a stable period, if it is detected that the current round-trip delay is longer than the abnormal value of the round-trip delay, the download speed enters a speed decline period.

[0077] If it is detected that the current round-trip delay is less than the round-trip delay stability value, the download speed enters the speed increase period. Specifically, the round-trip delay stability value is configured according to the cloud service's requirements for image quality. When the download speed belongs to the rate stability period, if it is detected that the current round-trip delay is less than or equal to the round-trip delay abnormal value, the download speed remains unchanged and continues in the rate stability period.

[0078] As an optional implementation, step S30 further includes:

[0079] When the download speed is in the rate decreasing period, if it is detected that the current round-trip delay is less than the round-trip delay steady value, the download speed enters the rate increasing period;

[0080] If it is detected that the current round-trip delay is longer than the abnormal value of the round-trip delay, the download speed will continue to decrease and cannot be lower than the minimum value of the download speed. Specifically, when the download speed is in the rate decline period, if it is detected that the current round-trip delay is less than the stable value of the round-trip delay, the download speed enters the speed increase period and changes according to the download speed change value +AK / s in the speed increase period. If it is detected that the current round-trip delay is longer than the abnormal value of the round-trip delay, the download speed will continue to decrease according to the download speed change rate in the speed decline period.

[0081] As an optional implementation, step S40 includes:

[0082] When the download speed reaches a stable speed, peak value or valley value, the current round-trip delay and current packet loss rate are collected, and the benchmark round-trip delay and benchmark packet loss rate are recalibrated according to the current round-trip delay and current packet loss rate to obtain a new benchmark round-trip delay and a new benchmark packet loss rate. Specifically, during the operation of the cloud service, the average round-trip delay and average packet loss rate within the current 20 frames are continuously calculated. After a period of time, when the download speed reaches a stable speed, peak value or valley value, the most recently calculated average round-trip delay and average packet loss rate are used as the new round-trip delay and benchmark packet loss rate. The peak value is the maximum value that the set download speed can reach, the valley value is the minimum value that the set download speed can reach, and the stable speed means that the download speed is stable and unchanged.

[0083] Embodiment 2:

[0084] A download speed limiting device based on video stream quality adjustment, comprising:

[0085] The first processing module is used to detect the network channel connected to the cloud service device during the operation of the cloud service, and calculate the benchmark round-trip delay and benchmark packet loss rate of the cloud service during data transmission according to the network channel;

[0086] The second processing module is used to obtain the current video stream quality value, and obtain the download speed through the reference video stream quality value and the current video stream quality value;

[0087] A detection module, used to detect the change stage of the current download speed and adjust the download speed according to a preset adjustment factor;

[0088] A calibration module, used for recalibrating the reference video stream quality value to obtain a new reference video stream quality value when the download speed meets the set conditions;

[0089] The adjustment module is used to adjust the download speed through the new reference video stream quality value. Specifically, during the operation of the cloud service, the first processing module, the second processing module, the detection module, the calibration module and the adjustment module cooperate with each other to implement the steps of the download speed limit method based on video stream quality adjustment in the first embodiment, so as to adjust the speed of the user's local download during the operation of the cloud service, accurately allocate the user's download speed, ensure that the user's local download does not affect the operation of the cloud service, and ensure that the experience of the cloud service is optimal.

[0090] As an optional implementation, the first processing module is used to detect the network channel connected to the cloud service device, and calculate the baseline video stream quality value of the cloud service during data transmission according to the detected network channel, including:

[0091] Check whether the network channel connected to the cloud service device is a WiFi channel;

[0092] If so, the benchmark round-trip delay is determined to be the ideal round-trip delay;

[0093] If not, the benchmark round-trip delay is determined to be twice the ideal round-trip delay.

[0094] Embodiment three:

[0095] A computer device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the download speed limiting method steps based on video stream quality adjustment in the first embodiment are implemented.

[0096] A person of ordinary skill in the art can understand that all or part of the features / steps of the above-mentioned method embodiments can be implemented by a method, a data processing system or a computer program, and these features can be implemented without hardware, entirely by software, or by a combination of hardware and software. The aforementioned computer program can be stored in one or more computer-readable storage media, and the storage medium stores a computer program. When the computer program is executed (such as by a processor), the steps of the above-mentioned download speed limit method embodiment based on video stream quality adjustment are executed.

[0097] The aforementioned storage media that can store program codes include: static hard disks, solid-state hard disks, random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), optical storage devices, magnetic storage devices, flash memory, magnetic disks or optical disks and / or combinations of the above devices, that is, it can be implemented by any type of volatile or non-volatile storage device or a combination thereof.

[0098] The above description is only the preferred embodiment of the present invention. It is known to those skilled in the art that various changes or equivalent substitutions may be made to these features and embodiments without departing from the spirit and scope of the present invention. In addition, under the teachings of the present invention, these features and embodiments may be modified to adapt to specific circumstances and materials without departing from the spirit and scope of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed herein, and all embodiments falling within the scope of the claims of this application belong to the protection scope of the present invention.

Claims

1. A download speed limiting method based on video stream quality adjustment, characterized in that: include: S10. During the operation of the cloud service, detect the network channel connected to the cloud service device, and calculate the benchmark round-trip delay and benchmark packet loss rate of the cloud service during data transmission according to the network channel; S20, obtaining the current round-trip delay and the current packet loss rate, and obtaining the download speed through the benchmark round-trip delay, the benchmark packet loss rate, the current round-trip delay and the current packet loss rate; S30, detecting the change stage to which the current download speed belongs according to a preset adjustment factor, and adjusting the download speed; S40, when the download speed meets the set condition, recalibrate the benchmark round-trip delay and the benchmark packet loss rate to obtain a new benchmark round-trip delay and a new benchmark packet loss rate, and adjust the download speed according to the new benchmark round-trip delay and the new benchmark packet loss rate; S50, adjusting the encoding bit rate of the cloud service during data transmission according to the bandwidth prediction value, the current benchmark round-trip delay and the current benchmark packet loss rate, and repeating steps S10 to S40.

2. The download speed limiting method based on video stream quality adjustment according to claim 1 is characterized in that: The step S10 comprises: Check whether the network channel connected to the cloud service device is a WiFi channel; If so, the benchmark round-trip delay is determined to be the ideal round-trip delay; If not, the benchmark round-trip delay is determined to be twice the ideal round-trip delay; The ideal round-trip delay is the round-trip delay of each video frame at the ideal frame rate within one second.

3. The download speed limiting method based on video stream quality adjustment according to claim 1 is characterized in that: The step S30 includes: When it is detected that the download speed is in the rate increasing period, the download speed change value is +AK / s; When it is detected that the download speed is in a stable rate period, the download speed change value is +0KB / s; When it is detected that the download speed is in a rate reduction period, the download speed is changed to 0.5 times the current download speed.

4. The download speed limiting method based on video stream quality adjustment according to claim 3 is characterized in that: The step S30 further includes: When the download speed is in the rate increasing period, if it is detected that the current round-trip delay is greater than or equal to the round-trip delay surge value, the download speed enters the speed decreasing period; If it is detected that the current round-trip delay is greater than or equal to the abnormal value of the round-trip delay, the download speed enters the rate stable period, and the download speed = current speed - speed change value; If it is detected that the actual download speed is less than the current initial download speed, the download speed remains unchanged.

5. The download speed limiting method based on video stream quality adjustment according to claim 3 is characterized in that: The step S30 further includes: When the download speed is in the stable speed period, if it is detected that the current round-trip delay is longer than the abnormal round-trip delay, the download speed enters the speed decline period; If it is detected that the current round-trip delay is less than the stable value of the round-trip delay, the download speed enters the speed increase period.

6. The download speed limiting method based on video stream quality adjustment according to claim 3 is characterized in that: The step S30 further includes: When the download speed is in the rate decreasing period, if it is detected that the current round-trip delay is less than the round-trip delay steady value, the download speed enters the rate increasing period; If it is detected that the current round-trip delay is longer than the abnormal value of the round-trip delay, the download speed continues to decrease and cannot be lower than the minimum value of the download speed.

7. The download speed limiting method based on video stream quality adjustment according to claim 1 is characterized in that: The step S40 includes: When the download speed reaches a stable speed, a peak value or a valley value, the current round-trip delay and the current packet loss rate are collected, and the benchmark round-trip delay and the benchmark packet loss rate are recalibrated according to the current round-trip delay and the current packet loss rate to obtain a new benchmark round-trip delay and a new benchmark packet loss rate.

8. A download speed limiting device based on video stream quality adjustment, characterized in that: include: The first processing module is used to detect the network channel connected to the cloud service device during the operation of the cloud service, and calculate the benchmark round-trip delay and benchmark packet loss rate of the cloud service during data transmission according to the network channel; A second processing module is used to obtain a current video stream quality value, and obtain a download speed through the reference video stream quality value and the current video stream quality value; A detection module, used to detect the change stage of the current download speed and adjust the download speed according to a preset adjustment factor; A calibration module, used for recalibrating the reference video stream quality value to obtain a new reference video stream quality value when the download speed meets a set condition; The adjustment module is used to adjust the download speed according to the new reference video stream quality value.

9. The download speed limiting device based on video stream quality adjustment according to claim 8, characterized in that: The first processing module is used to detect a network channel connected to the cloud service device, and calculate a reference video stream quality value of the cloud service during data transmission according to the detected network channel, including: Check whether the network channel connected to the cloud service device is a WiFi channel; If so, the benchmark round-trip delay is determined to be the ideal round-trip delay; If not, the benchmark round-trip delay is determined to be twice the ideal round-trip delay.

10. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the download speed limiting method based on video stream quality adjustment as described in any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Video transmission delay prediction method, electronic equipment and computer readable storage medium

    CN120034698A