WO2017201711A1 - 视频优化方法和装置 - Google Patents

视频优化方法和装置 Download PDF

Info

Publication number
WO2017201711A1
WO2017201711A1 PCT/CN2016/083467 CN2016083467W WO2017201711A1 WO 2017201711 A1 WO2017201711 A1 WO 2017201711A1 CN 2016083467 W CN2016083467 W CN 2016083467W WO 2017201711 A1 WO2017201711 A1 WO 2017201711A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
current
video
base station
priority
Prior art date
Application number
PCT/CN2016/083467
Other languages
English (en)
French (fr)
Inventor
石娴文
巢志骏
楼群芳
张劲林
庞伶俐
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2016/083467 priority Critical patent/WO2017201711A1/zh
Publication of WO2017201711A1 publication Critical patent/WO2017201711A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/04TPC
    • H04W52/18TPC being performed according to specific parameters
    • H04W52/26TPC being performed according to specific parameters using transmission rate or quality of service QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation

Definitions

  • Embodiments of the present invention relate to communication technologies, and in particular, to a video optimization method and apparatus.
  • the video server encodes the same video file at different bit rates to obtain video files of different bit rates (ie, video files of different quality), and
  • the video files of different code rates are divided into a plurality of video segments, so that the video server can select, according to the code rate of each video segment requested by the terminal device, in the video segments of the video files of different code rates.
  • the video fragment corresponding to the code rate is selected and sent to the terminal device.
  • the terminal device uses an adaptive request rate based on Hypertext Transfer Protocol (HTTP) to request the video server for the code rate of the video fragment to be downloaded, that is, the terminal device downloads
  • HTTP Hypertext Transfer Protocol
  • the rate of the previous video fragment is sent to the video server as the code rate of the currently requested video fragment, so that the video server can deliver the video fragment corresponding to the code rate to the terminal device according to the code rate.
  • the terminal device uses the above-mentioned adaptive request code rate to download video fragments, which is not effective, and still cannot meet the user's experience requirements.
  • the embodiments of the present invention provide a video optimization method and apparatus, which are used to solve the technical problem that the terminal device in the prior art uses the adaptive request code rate to download video fragments.
  • an embodiment of the present invention provides a video optimization method, where the method includes:
  • the base station Determining, by the base station, the target download rate of the current video segment by the first terminal device according to the video parameter information, where the video parameter information includes: the experience quality QoE information of the first terminal device, and the information of the first terminal device a noise ratio, a number of terminal devices that are performing video download data services within the coverage of the base station, and a number of terminal devices that are performing other data services within the coverage of the base station, where the first terminal device is the coverage of the base station Under ongoing video Any terminal device in the terminal device carrying the data service;
  • the base station instructs the first terminal device to download the current video fragment according to a target download rate of the first terminal device.
  • the base station determines the target download rate of the first terminal device by using the first terminal device in its coverage, and instructs the first terminal device to download the first downloading period in the same download cycle according to the target downloading rate.
  • the current video fragmentation mode corresponding to the terminal device avoids the other terminal device that competes with the first terminal device for competing system bandwidth resources when downloading each current video segment corresponding to the first terminal device.
  • the downloading rate of each current video segment corresponding to the first terminal device that is allocated by the base station to the first terminal device is different, so that the first terminal device is Downloading a target download rate of each current video segment corresponding to the first terminal device as a code rate of a next video segment of each current video segment corresponding to the first terminal device, to request downloading from the video server and the code rate (ie, the target download rate) corresponds to the next video fragment, the downloaded first terminal device corresponds to
  • the code rate of each current video segment is nearly the same as the code rate of the next video segment of each current video segment corresponding to the first terminal device, which reduces the video segmentation of the user when watching the video through the first terminal device.
  • the frequency of switching the code rate thereby reducing the number of changes in video quality and improving the user experience.
  • the method before the determining, by the base station, the first terminal device to download the target download rate of the current video segment according to the video parameter information, the method further includes:
  • the base station acquires QoE information of the first terminal device.
  • the acquiring, by the base station, the QoE information of the first terminal device includes:
  • the base station Determining, by the base station, the QoE information of the first terminal device according to the history of the first terminal device; the historical download fragmentation information includes: a code supported by the video server corresponding to the first terminal device The upper and lower limits, the first terminal device historical slice download data amount, and the historical slice download interval.
  • the base station indicates the first The terminal device downloads the current video fragment according to the target download rate of the first terminal device, which specifically includes:
  • the base station adjusts a TCP control rate of the transmission control protocol of the first terminal device according to the target download rate of the first terminal device, and sends the TCP download rate to the first terminal device according to the target download rate of the first terminal device.
  • the downloading resource is allocated to instruct the first terminal device to download the current video segment according to the target download rate of the first terminal device.
  • the base station indicates, in an implicit manner, the first terminal device according to the first terminal by adjusting the TCP download rate for the first terminal device and the manner of allocating the download resource for the first terminal device. Downloading, by the target downloading rate of the device, the current video fragment corresponding to the first terminal device, so that the first terminal device in the coverage of the base station can download the corresponding corresponding to the first terminal device in the same downloading period according to the target downloading rate determined by the base station Current video fragmentation.
  • the determining, by the base station, that the first terminal device downloads the current video fragment according to the target downloading rate of the first terminal device specifically:
  • the base station sends the target download rate of the first terminal device to the first terminal device, and allocates a download resource to the first terminal device according to the target download rate of the first terminal device, to indicate the location
  • the first terminal device downloads the current video fragment according to the target download rate of the first terminal device.
  • the video optimization method provided by the possible implementation manner by transmitting the target download rate determined by the base station to the first terminal device to the first terminal device, and allocating the download resource to the first terminal device, the base station is explicitly
  • the mode indicates that the first terminal device downloads the current video fragment corresponding to the first terminal device according to the target download rate of the first terminal device, so that all the first terminal devices in the coverage of the base station can use the target download rate determined by the base station. Downloading the current video fragment corresponding to the first terminal device in the same download cycle.
  • the determining, by the base station, the transmission control protocol TCP download rate of the first terminal device according to the target download rate of the first terminal device specifically:
  • the base station adjusts a CWND of the first terminal device according to the adjustment amount of the CWND of the first terminal device, so as to adjust a TCP download rate of the first terminal device.
  • the purpose of adjusting the TCP download rate of each first terminal device can be achieved, so that the TCP download rate of each first terminal device is obtained. It is equal to the target download rate, so that each first terminal device can download the current video slice using the target download rate.
  • the determining, by the base station, the adjustment amount of the congestion window CWND of the first terminal device according to the target downloading rate of the first terminal device specifically:
  • the base station according to the target download rate of the first terminal device and Determining an adjustment amount of the CWND of the first terminal device;
  • the i is a positive integer greater than or equal to 1, and the i indicates that the first terminal device is the i-th terminal device that is performing video download data service in the coverage of the base station, and the G i indicates the a target download rate of the first terminal device, the CWND i represents an adjustment amount of the CWND of the first terminal device, and the RTT i represents a round-trip delay of a message sent by the base station to the first terminal device.
  • the performing, by the base station, the downloading the downloading resource to the first terminal device according to the target downloading rate of the first terminal device specifically:
  • the set of to-be-scheduled users includes the first terminal device that is not downloaded by the current video segment and a second terminal device;
  • the second terminal device is a terminal device that is performing webpage data service within the coverage of the base station;
  • the first terminal device Determining, by the base station, that the current terminal fragment is not downloaded, the first terminal device is configured according to the QoE information of the first terminal device that is not downloaded by the current video fragment and the delay deadline of the second terminal device. a first priority adjustment factor at a current TTI moment and a second priority adjustment factor of the second terminal device at a current TTI moment;
  • the base station according to the priority of all the terminal devices in the to-be-scheduled user set at the current TTI time, and the target download rate of the first terminal device that is not downloaded by the current video segment, to the current video segmentation
  • the downloaded first terminal device allocates download resources at the current TTI time.
  • the determining, by the base station, that the current video fragment is not downloaded, according to the QoE information of the first terminal device that is not downloaded by the current video fragment The first priority adjustment factor of the first terminal device at the current TTI moment, specifically:
  • the base station determines that the video playback state of the current TTI in the current video fragment is not in the initial buffer state. a first threshold; wherein the ⁇ Video (i) indicates a first priority adjustment factor of the first terminal device that is not downloaded by the current video fragment at the current TTI;
  • the first priority adjustment factor ⁇ Video (i) is a preset second threshold
  • the BufferLevel(i) indicates that the current terminal fragment is not downloaded, and the first terminal device is in the current TTI cache level, and the DelayBudget video is a preset constant.
  • the base station determines, according to a delay deadline of the second terminal device, a second priority adjustment of the second terminal device at a current TTI moment.
  • Factors including:
  • the base station according to the delay deadline of the second terminal device Deadline Web (j) and Determining a second priority adjustment factor ⁇ Web (j) of the second terminal device at a current TTI moment;
  • the j is a positive integer greater than or equal to 1, and the j indicates that the second terminal device is the jth terminal device that is performing webpage data service in the coverage of the base station, and the Deadline Web (j) indicates a delay time limit of the second terminal device at the current TTI time, the ⁇ Web (j) represents a second priority adjustment factor of the second terminal device in the current TTI, and the DelayBudget Web is a preset constant .
  • the base station according to the current video fragment, the first priority adjustment factor of the first terminal device that is not downloaded, and the first priority adjustment factor at the current TTI moment
  • the second priority adjustment factor of the second terminal device at the current TTI time determining the priority of all the terminal devices in the to-be-scheduled user set at the current TTI time, specifically including:
  • the base station according to the first video equipment that is not downloaded by the current video fragment, the first priority adjustment factor of the current TTI, and the ratio of the first terminal equipment that is not downloaded by the current video fragment to the current TTI is fair PF. Determining the priority of the scheduling, the second priority adjustment factor of the second terminal device in the current TTI, the PF scheduling priority of the second terminal device in the current TTI, and a preset adjustment coefficient, and determining the set of users to be scheduled The priority of all terminal devices at the current TTI time.
  • the base station according to the current video fragment, that the first terminal device that is not downloaded is in the first priority adjustment factor of the current TTI, the current video
  • the priority and the preset adjustment coefficient determine the priority of all the terminal devices in the to-be-scheduled user set at the current TTI time, which specifically includes:
  • the PF(i) indicates that the current video fragment is not downloaded, and the first terminal device has a PF scheduling priority of the current TTI, and the Priority(i) indicates that the current video fragment is not downloaded.
  • the priority of the first terminal device in the current TTI where the ⁇ 1 is a preset adjustment coefficient;
  • the base station is configured according to a priority of all terminal devices in the to-be-scheduled user set at a current TTI time, and the current video segment is not downloaded.
  • the target downloading rate of the first terminal device, and the first terminal device that is not downloaded to the current video segment is allocated the downloading resource at the current TTI time, and specifically includes:
  • the base station according to the target download rate of the first terminal device that is not downloaded by the current video segment in the to-be-scheduled user set, the current video segmentation duration corresponding to the first terminal device, and the current video segment.
  • the current video fragment downloading quantity of the first terminal device that has not been downloaded is determined, and the remaining video downloading amount of the current video fragment of the first terminal device that is not downloaded by the current video fragment is determined;
  • the base station according to the priority of all the terminal devices in the to-be-scheduled user set at the current TTI time, and the current video segment remaining download amount of the first terminal device that is not downloaded by the current video segment, to the The first terminal device that has not downloaded the current video fragment allocates the download resource at the current TTI moment.
  • the base station according to the QoE information of the first terminal device that is not downloaded by the current video fragment, and the delay deadline of the second terminal device Determining, before the current terminal fragment is not downloaded, the first priority adjustment factor of the first terminal device at the current TTI moment and the second priority adjustment factor of the second terminal device at the current TTI moment, the method also includes:
  • the base station acquires a delay deadline of the second terminal device.
  • the acquiring, by the base station, a time delay deadline of the second terminal device includes:
  • the determining, by the base station, the target downloading rate of the current video fragment by the first terminal device according to the video parameter information specifically:
  • the base station according to the upper and lower limit of the code rate of the first terminal device, the signal to interference and noise ratio of the first terminal device, and the number of terminal devices that are performing video download data services in the coverage of the base station, And the utility function determines a target download rate of the first terminal device in the coverage of the base station; the utility function is:
  • the constraint of the utility function is The i is a positive integer greater than or equal to 1, and the i indicates that the first terminal device is the i-th terminal device that is performing video download data service in the coverage of the base station, and the G i indicates the first a target download rate of the terminal device, the ⁇ i (G i ) represents a resource occupied by the first terminal device, and the ⁇ (N) represents a total of terminal devices in the coverage of the base station that are performing video download data services. Available resources; Determining a lower code rate of the first terminal device, Representing an upper limit of the code rate of the first terminal device.
  • an embodiment of the present invention provides a video optimization apparatus, where the apparatus includes:
  • a determining module configured to determine, according to the video parameter information, a target download rate of the first terminal device to download the current video segment, where the video parameter information includes: the experience quality QoE information of the first terminal device, the first terminal The signal to interference and noise ratio of the device, the number of terminal devices that are performing video download data services within the coverage of the base station, and the number of terminal devices that are performing other data services within the coverage of the base station; the first terminal device is the base station Any terminal device in the terminal device that is performing video download data service within the coverage;
  • the indication module is configured to instruct the first terminal device to download the current video fragment according to the target download rate of the first terminal device determined by the determining module.
  • the device further includes:
  • a first acquiring module configured to acquire QoE information of the first terminal device, before the determining, by the determining, the first terminal device, downloading the target download rate of the current video segment according to the video parameter information.
  • the first acquiring module is specifically configured to receive QoE information sent by the first terminal device
  • the first acquiring module is configured to: determine, according to the historical download fragment information of the first terminal device, the QoE information of the first terminal device; the historical download fragment information includes: the first terminal device The code rate upper and lower limits supported by the corresponding video server, the first terminal device historical slice download data amount, and the historical slice download interval.
  • the indication module includes:
  • An adjusting unit configured to adjust a transmission control protocol TCP download rate of the first terminal device according to a target download rate of the first terminal device
  • a first allocation unit configured to allocate a download resource to the first terminal device according to a target download rate of the first terminal device, to indicate that the first terminal device downloads according to a target download rate of the first terminal device
  • the current video is sliced.
  • the indication module includes:
  • a sending unit configured to send a target download rate of the first terminal device to the first terminal device
  • a second allocation unit configured to allocate a download resource to the first terminal device according to a target download rate of the first terminal device, to indicate that the first terminal device downloads according to a target download rate of the first terminal device
  • the current video is sliced.
  • the adjusting unit is configured to determine, according to a target download rate of the first terminal device, an adjustment of a congestion window CWND of the first terminal device. And adjusting the CWND of the first terminal device according to the adjustment amount of the CWND of the first terminal device to adjust a TCP download rate of the first terminal device.
  • the adjusting unit is configured to determine, according to a target download rate of the first terminal device, an adjustment amount of a congestion window CWND of the first terminal device , Specifically:
  • the adjusting unit is specifically configured to: according to a target download rate of the first terminal device, Determining an adjustment amount of the CWND of the first terminal device;
  • the i is a positive integer greater than or equal to 1, and the i indicates that the first terminal device is the i-th terminal device that is performing video download data service in the coverage of the base station, and the G i indicates the a target download rate of the first terminal device, the CWND i represents an adjustment amount of the CWND of the first terminal device, and the RTT i represents a round-trip delay of a message sent by the base station to the first terminal device.
  • the first allocation unit includes:
  • Obtaining a sub-unit configured to acquire a to-be-scheduled user set at a current TTI time according to the download progress of the first terminal device in the current TTI time; the to-be-scheduled user set includes the first that the current video segment is not downloaded.
  • a terminal device and a second terminal device configured to acquire a to-be-scheduled user set at a current TTI time according to the download progress of the first terminal device in the current TTI time; the to-be-scheduled user set includes the first that the current video segment is not downloaded.
  • the second terminal device is a a terminal device that is performing webpage data service within the coverage of the base station;
  • a first determining subunit configured to determine, according to the QoE information of the first terminal device that is not downloaded, the time delay deadline of the second terminal device, that the current video segment is not downloaded. a first priority adjustment factor of the first terminal device at the current TTI moment and a second priority adjustment factor of the second terminal device at the current TTI moment;
  • a second determining subunit configured to: according to the first priority adjustment factor of the first terminal device that is not downloaded by the current video fragment, at the current TTI moment, and the second terminal device that is second at the current TTI moment a priority adjustment factor, determining a priority of all terminal devices in the to-be-scheduled user set at a current TTI time;
  • an allocation subunit configured to send the current video according to a priority of all terminal devices in the to-be-scheduled user set at a current TTI time, and a target download rate of the first terminal device that is not downloaded by the current video segment The first terminal device whose fragment has not been downloaded is allocated the download resource at the current TTI time.
  • the first determining subunit configured to determine, according to QoE information of the first terminal device that is not downloaded by the current video segment,
  • the first priority adjustment factor of the first terminal device that is not downloaded by the video fragment at the current TTI time is specifically:
  • the video (i) is a preset first threshold; wherein the ⁇ Video (i) indicates a first priority adjustment factor of the first terminal device that is not downloaded by the current video segment at the current TTI;
  • a priority adjustment factor ⁇ Video (i) is a preset second threshold
  • the first priority adjustment factor ⁇ Video (i) is a preset when the first terminal device that is not downloaded by the current video segment is in the interrupted buffer state after the video playback state of the current TTI is played.
  • the first priority adjustment factor ⁇ Video (i) is:
  • the BufferLevel(i) indicates that the current terminal fragment is not downloaded, and the first terminal device is in the current TTI cache level, and the DelayBudget video is a preset constant.
  • the first determining subunit configured to determine, according to a timeout deadline of the second terminal device, that the second terminal device is in a current TTI
  • the second priority adjustment factor of the moment is specifically:
  • the first determining subunit is specifically configured to use Deadline Web (j) according to a delay deadline of the second terminal device Determining a second priority adjustment factor ⁇ Web (j) of the second terminal device at a current TTI moment;
  • the j is a positive integer greater than or equal to 1, and the j indicates that the second terminal device is the jth terminal device that is performing webpage data service in the coverage of the base station, and the Deadline Web (j) indicates a delay time limit of the second terminal device at the current TTI time, the ⁇ Web (j) represents a second priority adjustment factor of the second terminal device in the current TTI, and the DelayBudget Web is a preset constant .
  • the second determining subunit is specifically configured to: according to the first video device that is not downloaded by the current video segment, the first priority of the first terminal device in the current TTI a level adjustment factor, a ratio of the first terminal device that is not downloaded to the current video fragment, a fair PF scheduling priority of the current TTI, a second priority adjustment factor of the second terminal device at the current TTI, and the second
  • the PF scheduling priority of the current TTI and the preset adjustment coefficient of the terminal device determine the priority of all the terminal devices in the to-be-scheduled user set at the current TTI time.
  • the PF(i) indicates that the current terminal fragment is not downloaded, and the first terminal device has a PF scheduling priority of the current TTI, and the priority (i) indicates that the current video fragment is not downloaded.
  • the priority of a terminal device in the current TTI, the ⁇ 1 is a preset adjustment coefficient, and the PF(j) represents a PF scheduling priority of the second terminal device in the current TTI, and the Priority(j) represents The priority of the second terminal device in the current TTI, where the ⁇ 2 is a preset adjustment coefficient.
  • the allocating subunit is specifically configured to: according to the first terminal device that is not downloaded by the current video segment in the to-be-scheduled user set Determining that the current video segment is not downloaded, the target video downloading rate, the current video segmentation duration corresponding to the first terminal device, and the current video segment downloading amount of the first terminal device that is not downloaded by the current video segment.
  • the current video fragment remaining download amount of the first terminal device, and according to the priority of all terminal devices in the to-be-scheduled user set at the current TTI time, and the first terminal device that is not downloaded by the current video segment The current video fragment is the remaining download amount, and the first terminal device that has not downloaded the current video fragment is allocated the download resource at the current TTI moment.
  • the device further includes:
  • a second obtaining module configured to determine, according to the QoE information of the first terminal device that is not downloaded by the current video segment, and the delay deadline of the second terminal device, that is determined by the first determining subunit Obtaining, by the first terminal device that is not downloaded, the first priority adjustment factor of the current TTI moment and the second priority adjustment factor of the second terminal device at the current TTI moment, acquiring the second terminal device Delay deadline.
  • the second acquiring module is configured to receive a delay deadline of the second terminal device that is sent by the second terminal device;
  • the second obtaining module is specifically configured to determine, according to a first packet delay of the second terminal device, a deadline for expiration of the second terminal device.
  • the determining module is specifically configured to: according to a code rate upper and lower limit of the first terminal device, a signal to interference and noise ratio of the first terminal device, Determining the number of terminal devices that are performing video download data services within the coverage of the base station, the number of terminal devices that are performing other data services within the coverage of the base station, and a utility function determining a target download rate of the first terminal device;
  • the utility function is:
  • the constraint of the utility function is The i is a positive integer greater than or equal to 1, and the i indicates that the first terminal device is the i-th terminal device that is performing video download data service in the coverage of the base station, and the G i indicates the first a target download rate of the terminal device, the ⁇ i (G i ) represents a resource occupied by the first terminal device, and the ⁇ (N) represents a total of terminal devices in the coverage of the base station that are performing video download data services. Available resources; Determining a lower code rate of the first terminal device, Representing an upper limit of the code rate of the first terminal device.
  • an embodiment of the present invention provides a video optimization apparatus, where the apparatus includes:
  • a processor configured to determine, according to the video parameter information, a target download rate of the first terminal device to download the current video segment, and instruct the first terminal device to download the current video segment according to the target download rate of the first terminal device
  • the video parameter information includes: the quality of the QoE information of the first terminal device, the signal to interference and noise ratio of the first terminal device, and the terminal device that is performing the video download data service in the coverage of the base station.
  • the quantity, the number of terminal devices that are performing other data services within the coverage of the base station, and the first terminal device is any one of the terminal devices that are performing video download data services within the coverage of the base station.
  • the processor is further configured to acquire, before determining, according to the video parameter information, that the first terminal device downloads a target download rate of the current video segment QoE information of the terminal device.
  • the device further includes: a receiver, where the processor is configured to obtain QoE information of the first terminal device, specifically:
  • the processor is configured to receive, by using the receiver, QoE information sent by the first terminal device;
  • the processor is specifically configured to: determine, according to the history of the first terminal device, downloading fragmentation information, and determine QoE information of the first terminal device; the historical download fragmentation information includes: corresponding to the first terminal device The code rate upper and lower limits supported by the video server, the first terminal device historical slice download data amount, and the historical slice download interval.
  • the processor is configured to instruct the first terminal device to download the current video segment according to a target download rate of the first terminal device, Specifically:
  • the processor is specifically configured to adjust, according to a target download rate of the first terminal device, a transmission control protocol TCP download rate of the first terminal device, and a download resource is allocated to the first terminal device according to the target download rate of the first terminal device, to indicate that the first terminal device is according to the first
  • the current video slice is downloaded by the target download rate of the terminal device.
  • the device further includes: a transmitter;
  • the processor is configured to instruct the first terminal device to download the current video segment according to a target download rate of the first terminal device, specifically:
  • the processor is specifically configured to instruct the sender to send a target download rate of the first terminal device to the first terminal device, and according to a target download rate of the first terminal device, to the first
  • the terminal device allocates a download resource to instruct the first terminal device to download the current video slice according to the target download rate of the first terminal device.
  • the processor is configured to adjust a transmission control protocol TCP download rate of the first terminal device according to a target download rate of the first terminal device , Specifically:
  • the processor is specifically configured to determine, according to the target download rate of the first terminal device, an adjustment amount of the congestion window CWND of the first terminal device, and adjust according to the adjustment amount of the CWND of the first terminal device.
  • the CWND of the first terminal device to adjust a TCP download rate of the first terminal device.
  • the processor is configured to determine, according to a target download rate of the first terminal device, an adjustment amount of a congestion window CWND of the first terminal device , Specifically:
  • the processor is specifically configured to: according to a target download rate of the first terminal device, Determining an adjustment amount of the CWND of the first terminal device;
  • the i is a positive integer greater than or equal to 1, and the i indicates that the first terminal device is the i-th terminal device that is performing video download data service in the coverage of the base station, and the G i indicates the a target download rate of the first terminal device, the CWND i represents an adjustment amount of the CWND of the first terminal device, and the RTT i represents a round-trip delay of a message sent by the base station to the first terminal device.
  • the processor is configured to allocate a download resource to the first terminal device according to a target download rate of the first terminal device, where The body is:
  • the processor is configured to acquire a set of to-be-scheduled users at a current TTI time according to a download progress of the first terminal device at a current TTI time; the set of to-be-scheduled users includes that the current video segment is not downloaded.
  • the current video segment is not downloaded.
  • the first terminal device allocates the download resource at the current TTI time.
  • the processor is configured to determine, according to the QoE information of the first terminal device that is not downloaded by the current video segment, the current video segmentation
  • the first priority adjustment factor of the first terminal device that has not been downloaded at the current TTI time is specifically:
  • the processor is configured to determine the first priority adjustment factor ⁇ Video (i) when the first terminal device that determines that the current video fragment is not downloaded is in an initial buffer state of the current TTI. Is a preset first threshold; wherein the ⁇ Video (i) indicates a first priority adjustment factor of the first terminal device that is not downloaded by the current video segment at the current TTI;
  • a priority adjustment factor ⁇ Video (i) is a preset second threshold
  • the first priority adjustment factor ⁇ Video (i) is a preset when the first terminal device that is not downloaded by the current video segment is in the interrupted buffer state after the video playback state of the current TTI is played.
  • the first priority adjustment factor ⁇ Video (i) is:
  • the BufferLevel(i) indicates that the current terminal fragment is not downloaded, and the first terminal device is in the current TTI cache level, and the DelayBudget video is a preset constant.
  • the processor is configured to determine, according to a delay deadline of the second terminal device, that the second terminal device is at a current TTI moment
  • the second priority adjustment factor is specifically:
  • the processor is specifically configured to: according to a delay deadline of the second terminal device, Deadline Web (j) and Determining a second priority adjustment factor ⁇ Web (j) of the second terminal device at a current TTI moment;
  • the j is a positive integer greater than or equal to 1, and the j indicates that the second terminal device is the jth terminal device that is performing webpage data service in the coverage of the base station, and the Deadline Web (j) indicates a delay time limit of the second terminal device at the current TTI time, the ⁇ Web (j) represents a second priority adjustment factor of the second terminal device in the current TTI, and the DelayBudget Web is a preset constant .
  • the processor is configured to: according to the first priority adjustment factor of the first terminal device that is not downloaded by the current video fragment, at a current TTI moment And determining, by the second priority adjustment factor of the second terminal device at the current TTI time, a priority of all the terminal devices in the to-be-scheduled user set at the current TTI time, specifically:
  • the processor is specifically configured to: according to the first priority adjustment factor of the first terminal device that is not downloaded by the current video fragment, the first terminal device that is not downloaded by the current video segment is currently Determining the ratio of the PF scheduling priority of the TTI, the second priority adjustment factor of the second terminal equipment in the current TTI, the PF scheduling priority of the second terminal equipment in the current TTI, and a preset adjustment coefficient, The priority of all terminal devices in the set of users to be scheduled at the current TTI time.
  • the processor is configured to: according to the first priority adjustment factor of the current TTI, the first terminal device that is not downloaded by the current video fragment, The proportion of the first terminal device that is not downloaded in the current video fragment is a fair PF scheduling priority of the current TTI, the second priority adjustment factor of the second terminal device at the current TTI, the The PF scheduling priority of the current TTI and the preset adjustment coefficient of the second terminal device determine the priority of all the terminal devices in the to-be-scheduled user set at the current TTI time, specifically:
  • the PF(i) indicates that the current terminal fragment is not downloaded, and the first terminal device has a PF scheduling priority of the current TTI, and the priority (i) indicates that the current video fragment is not downloaded.
  • a priority of a terminal device at a current TTI where ⁇ 1 is a preset adjustment coefficient
  • the PF(j) indicates a PF scheduling priority of the second terminal device at a current TTI
  • the Priority(j) indicates The priority of the second terminal device in the current TTI, where the ⁇ 2 is a preset adjustment coefficient.
  • the processor is configured to: according to a priority of all terminal devices in the to-be-scheduled user set at a current TTI time, and the current video fragmentation
  • the target download rate of the first terminal device that has not been downloaded is allocated to the first terminal device that has not been downloaded by the current video segment, and the download resource at the current TTI time is allocated, specifically:
  • the processor is specifically configured to: according to the target download rate of the first terminal device that is not downloaded by the current video segment in the to-be-scheduled user set, the current video segmentation duration corresponding to the first terminal device, The current video fragment downloading quantity of the first terminal device that is not downloaded by the current video fragment, determining the remaining video downloading amount of the current video fragment of the first terminal device that is not downloaded by the current video fragment, and according to the The priority of all the terminal devices in the set of users to be scheduled at the current TTI time, and the remaining download amount of the current video segment of the first terminal device that is not downloaded by the current video segment, and the current video segment is not downloaded.
  • the completed first terminal device allocates download resources at the current TTI time.
  • the processor is further configured to: in the QoE information of the first terminal device that is not downloaded according to the current video fragment, the second terminal a delay threshold of the device, determining a first priority adjustment factor of the first terminal device that is not downloaded by the current video fragment at the current TTI moment, and a second priority adjustment of the second terminal device at the current TTI moment Before the factor, the delay deadline of the second terminal device is obtained.
  • the processor is configured to obtain a time delay deadline of the second terminal device, specifically:
  • the processor is configured to receive, by the receiver, a delay deadline of the second terminal device that is sent by the second terminal device;
  • the processor is specifically configured to determine, according to a first packet delay of the second terminal device, a deadline for expiration of the second terminal device.
  • the processor is configured to determine, according to the video parameter information, a target download rate of the first terminal device to download the current video segment, specifically:
  • the processor is specifically configured to: according to the upper and lower limit of the code rate of the first terminal device, the signal to interference and noise ratio of the first terminal device, and the number of terminal devices that are performing video download data services in the coverage of the base station And determining, by the number and the utility function of the terminal device that is performing other data services in the coverage of the base station, the target download rate of the first terminal device; the utility function is:
  • the constraint of the utility function is The i is a positive integer greater than or equal to 1, and the i indicates that the first terminal device is the i-th terminal device that is performing video download data service in the coverage of the base station, and the G i indicates the first a target download rate of the terminal device, the ⁇ i (G i ) represents a resource occupied by the first terminal device, and the ⁇ (N) represents a total of terminal devices in the coverage of the base station that are performing video download data services. Available resources; Determining a lower code rate of the first terminal device, Representing an upper limit of the code rate of the first terminal device.
  • the first terminal device The quality of the QoE information includes: a code rate upper and lower limit of the first terminal device, a video play status of the first terminal device, a cache level of the first terminal device, and a current video corresponding to the first terminal device. The length of the slice.
  • an embodiment of the present invention provides a base station, where the base station includes the video optimization apparatus provided by each of the foregoing second aspect and the second implementation aspect.
  • the base station determines the target download rate of the first terminal device by using the first terminal device in the coverage area, and instructs the first terminal device to download in the same download cycle according to the target download rate.
  • the manner of the current video fragmentation corresponding to the first terminal device can reduce the frequency of switching the code rate of the video segment when the user views the video through the first terminal device, thereby reducing the number of times the video quality changes, thereby improving the user experience. .
  • FIG. 1 is a system architecture diagram of a video optimization method according to an embodiment of the present invention.
  • Embodiment 1 of a video optimization method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of Embodiment 2 of a video optimization method according to an embodiment of the present disclosure
  • Embodiment 4 is a schematic flowchart of Embodiment 3 of a video optimization method according to an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of Embodiment 1 of a video optimization apparatus according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of Embodiment 2 of a video optimization apparatus according to an embodiment of the present disclosure
  • FIG. 7 is a schematic structural diagram of Embodiment 3 of a video optimization apparatus according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of Embodiment 4 of a video optimization apparatus according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of Embodiment 5 of a video optimization apparatus according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of Embodiment 6 of a video optimization apparatus according to an embodiment of the present invention.
  • the terminal device may provide voice and/or data connectivity to the user.
  • the wireless terminal can communicate with one or more core networks via a Radio Access Network (RAN), which can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal.
  • RAN Radio Access Network
  • RAN can be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal.
  • it may be a portable, pocket, handheld, computer built-in or in-vehicle mobile device that exchanges language and/or data with a wireless access network.
  • a wireless terminal may also be called a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point, or an access point.
  • Remote Terminal Access Terminal, User Terminal, User Agent, User Device, or User Equipment. ”
  • a base station may refer to a device in an access network that communicates with a wireless terminal through one or more sectors on an air interface.
  • the base station can be used to convert the received air frame to the IP packet as a router between the wireless terminal and the rest of the access network, wherein the remainder of the access network can include an Internet Protocol (IP) network.
  • IP Internet Protocol
  • the base station can also coordinate attribute management of the air interface.
  • the base station may be an evolved base station (NodeB or eNB or e-NodeB, evolutional Node B) in LTE.
  • FIG. 1 is a system architecture diagram of a video optimization method according to an embodiment of the present invention.
  • the video optimization method provided by the embodiment of the present invention may be applied to a Long Term Evolution (LTE) system.
  • the terminal device includes a base station and a terminal device in the coverage of the base station, and the terminal device can download the video fragment from the video server through the base station.
  • the base station involved in this embodiment may be a base station integrated with a Transmission Control Protocol (TCP) proxy and a scheduler.
  • TCP Transmission Control Protocol
  • the LTE system may further include a TCP proxy, which is not described herein.
  • the video optimization method provided by the embodiment of the present invention includes, but is not limited to, the foregoing application scenario, and the video provided by the embodiment of the present invention may be used as long as the terminal device downloads all the scenarios of the video in an adaptive request rate. Optimization.
  • a video optimization method is directed to solving a terminal device in the prior art.
  • Embodiment 1 of a video optimization method is a schematic flowchart of Embodiment 1 of a video optimization method according to an embodiment of the present invention.
  • the first embodiment relates to determining, by the base station, the target download rate of the first terminal device in the coverage area according to the video parameter information, so that the first terminal device in the coverage area can download the corresponding terminal device according to the target download rate.
  • the specific process of current video segmentation As shown in FIG. 2, the method may include:
  • the base station determines, according to the video parameter information, a target download rate of the first terminal device to download the current video segment.
  • the video parameter information includes: Quality of Equipment (QoE) information of each first terminal device, and Signal to Interference plus Noise Ratio (SINR) for each first terminal device.
  • QoE Quality of Equipment
  • SINR Signal to Interference plus Noise Ratio
  • the first terminal device may be any terminal device in the terminal device that is performing video download data service coverage in the coverage of the base station (that is, the terminal device that is using the video service), and the foregoing base station coverage is in progress.
  • the terminal device of the other data service may be a terminal device that performs data services other than video downloading, for example, a terminal device that uses a webpage data service, a terminal device that performs a file download data service, and the like.
  • the first terminal device downloads the video fragment from the video server by using an adaptive request code rate, that is, the first terminal device downloads the download rate of each previous video segment corresponding to the first terminal device as the first
  • the code rate of each current video segment corresponding to the terminal device is requested by the base station to download the current video segment corresponding to the code rate.
  • the base station may determine, according to the video parameter information, that the first terminal device downloads the current video corresponding to the first terminal device, before the first terminal device in the coverage area downloads the current video fragment corresponding to the first terminal device.
  • the target download rate of the fragment wherein the video parameter information covers the actual situation of the first terminal device (ie, the QoE information of the first terminal device capable of reflecting the user experience, and the SINR of the first terminal device capable of reflecting the channel condition), as well as,
  • the actual situation of a terminal device and the system bandwidth resource determine a target download rate suitable for the first terminal device for the first terminal device.
  • the base station instructs the first terminal device to download the current video fragment according to the target download rate of the first terminal device.
  • the base station may instruct the first terminal device to download the first terminal according to the target download rate of the first terminal device.
  • the current video segment corresponding to the device so that all the first terminal devices in the coverage of the base station can download the current video segment corresponding to the first terminal device in the same download cycle according to the target download rate determined by the base station.
  • the time length corresponding to the downloading period is specifically determined according to the needs of the user. In specific implementation, the duration of the downloading period may be set to be greater than or equal to that downloaded by any first terminal device within the coverage of the base station. The duration of the current video shard.
  • each first terminal device downloads each video segment corresponding to each first terminal device because each of the first terminal devices in the coverage of the base station downloads a different downloading period of each video segment.
  • the number of other first terminal devices that compete for the system bandwidth resources with the first terminal device in the coverage of the base station is different, and the download rate of each video segment downloaded by the base station for the first terminal device is different. Therefore, when the first terminal device downloads the download rate of each current video slice as the code rate of the next video slice of each current video slice, requests the video server to download the next video of each current video slice.
  • the fragmentation that is, when the first terminal device downloads the video fragment by using the adaptive request rate
  • each current video fragment downloaded by the first terminal device and the next video of each current video segment are caused.
  • the code rate of the slice is different. Since the code rate of the video slice is related to the quality of the video, the quality of each current video slice downloaded by the first terminal device and the next video slice of each current video slice is also Different (for example, the quality of the current video segmentation is standard definition, and the quality of the next video segment of the current video segment is high definition), resulting in the code of the video segmentation when the user watches the video through the first terminal device in the prior art.
  • the rate is constantly switching, that is, the video quality is constantly changing, and the user experience is poor.
  • the base station may be in the first terminal within its coverage. Before the device downloads each current video segment corresponding to the first terminal device, according to the actual situation of all the first terminal devices in the coverage area, and the number of terminal devices in the coverage range in which the video download data service is being performed, Determining, by the first terminal device, a target download rate that is suitable for the first terminal device, and instructing the first terminal device to download the current video segment corresponding to the first terminal device in the same downloading period according to the target downloading rate, thereby avoiding the first terminal.
  • the device downloads each current video segment corresponding to the first terminal device the number of other first terminal devices in the coverage of the base station that competes with the first terminal device for competing system bandwidth resources is different, thereby preventing the base station from being the first Downloading, by a terminal device, a downloading rate of each current video segment corresponding to the first terminal device is different, so that the first terminal device downloads the target of each current video segment corresponding to the first terminal device Rate as the next view of each
  • the base station determines the target download rate of the first terminal device by using the first terminal device in its coverage range, and instructs the first terminal device to download the first downloading period in the same download cycle according to the target downloading rate.
  • the current video fragmentation mode corresponding to the terminal device can reduce the frequency of switching the code rate of the video segment when the user views the video through the first terminal device, thereby reducing the number of times the video quality changes, thereby improving the user experience.
  • the video parameter information used by the base station to determine the target download rate of the current video segment corresponding to the first terminal device in the coverage area includes: QoE information of the first terminal device, The SINR of the first terminal device, the number of the terminal devices that are performing the video downloading data service in the coverage of the base station, and the number of the terminal devices that are performing other data services in the coverage of the base station, before the foregoing S201, the method may further include: The base station acquires the QoE information of the first terminal device, the SINR of the first terminal device, the number of terminal devices that are performing video download data services within the coverage of the base station, and the number of terminal devices that are performing other data services within the coverage of the base station.
  • the foregoing base station may obtain the QoE information of the first terminal device in the coverage, the SINR of the first terminal device, and the ongoing video in the coverage of the base station in real time or periodically.
  • the method of the number of the terminal devices is not limited.
  • the base station may obtain the SINR of the first terminal device by using a channel quality indicator (CQI) sent by the first terminal device, and may use the service requested by the terminal device.
  • CQI channel quality indicator
  • the type of the number of the terminal devices that are performing the video downloading data service in the coverage of the base station, and the number of the terminal devices that are performing other data services within the coverage of the base station, may be received by the interface with the first terminal device.
  • the QoE information of the first terminal device may include: a lower limit of the code rate of the first terminal device (ie, a maximum code rate and a minimum code rate of the video segment that the first terminal device can request), and the first terminal device The video playback state, the cache level of the first terminal device, the current video segmentation duration corresponding to the first terminal device, and the like.
  • the base station may further determine the QoE information of the first terminal device according to the statistics of the first terminal device in the coverage of the coverage, and the historical download fragment information may include: the first terminal The upper and lower limit of the code rate supported by the video server corresponding to the device, the historical fragment download data volume of the first terminal device, and the historical slice download interval.
  • the base station may support the code rate supported by the video server corresponding to the first terminal device. The upper and lower limits are used as the upper and lower limit of the code rate of the first terminal device, and the video playback state of the first terminal device, the cache level of the first terminal device, and the cache level of the first terminal device are estimated by the first terminal device historical slice download data volume and the historical slice download cycle.
  • the current video fragmentation duration and the like corresponding to the first terminal device wherein how to estimate the video playback state of the first terminal device and the cache of the first terminal device by using the first terminal device historical slice download data amount and the historical slice download cycle
  • Ming is not repeated.
  • Example 1 is a schematic flowchart of Embodiment 2 of a video optimization method according to an embodiment of the present invention.
  • the terminal devices that are performing the video download data service in the coverage of the base station are all the first terminal devices, and the second embodiment relates to the base station adjusting each of the first terminal devices according to the target download rate.
  • the TCP download rate of a terminal device, and according to each first terminal setting The target download rate is configured to allocate a download resource to each of the first terminal devices, and the specific process of downloading the current video segment according to the target download rate of each first terminal device in an implicit manner is indicated in an implicit manner.
  • the method includes:
  • the base station determines, according to the video parameter information, a target download rate of the first terminal device to download the current video segment.
  • the foregoing base station may: before the first terminal device in its coverage area downloads the current video fragment corresponding to the first terminal device, according to the first terminal device in the QoE information of the first terminal device in the coverage area
  • the target download rate of the terminal device which can be expressed by the following formula (1):
  • the constraint condition of the above utility function is i is a positive integer greater than or equal to 1, i indicates that the first terminal device is the i-th terminal device that is performing video download data service in the coverage of the base station, and G i represents the target download rate of the first terminal device, ⁇ i (G i Indicates the resources occupied by the first terminal device, and ⁇ (N) represents the total available system bandwidth resources of the terminal device that is performing the video download data service within the coverage of the base station; Indicates the lower code rate of the first terminal device. Indicates the upper limit of the code rate of the first terminal device.
  • the foregoing base station may use the following steps 1)-6) to solve the utility function in a virtual scheduling manner to determine a target download rate of each first terminal device in the coverage of the base station, specifically:
  • the Alpha filtering algorithm is used to update the SINR of the channel of each first terminal device, and according to the terminal that is performing video download data service within the coverage of the base station.
  • Each of the first terminal devices is grouped according to a virtual download rate of each first terminal device at the current TTI moment at each TTI moment in the preset virtual scheduling period.
  • the first terminal device is divided into the first group; if the first terminal device is in the virtual download at the current TTI time If the rate is smaller than the upper and lower limits of the first terminal device, the first terminal device is divided into the second group; if the virtual download rate of the first terminal device at the current TTI time is greater than the upper limit of the first terminal device, Then dividing the first terminal device into the third group.
  • each first terminal device is virtually scheduled according to the current TTI time grouping.
  • the base station is preferentially System bandwidth resources are allocated to the first terminal device;
  • the proportional fairness criterion is used in the group at the current TTI time.
  • the first terminal device allocates system bandwidth resources of the base station; meanwhile, the virtual download rate of the first terminal device and the unscheduled first terminal device at the next TTI moment is updated using an alpha filtering algorithm.
  • Rate determining an average virtual download rate of the first terminal device in the virtual scheduling period, that is, a target download rate of the first terminal device.
  • the foregoing base station may further determine, according to the video parameter information, the target download rate when each first terminal device in the coverage of the base station downloads the current video fragment in the existing manner, which is not described herein.
  • the base station adjusts a TCP download rate of the first terminal device according to the target download rate of the first terminal device.
  • the base station may determine, according to the target download rate determined for each first terminal device, an adjustment amount of a congestion window (CWND) of each first terminal device, and further adjust according to the adjustment amount of the CWND.
  • CWND congestion window
  • Due to The CWND can determine the size of the TCP rate. Therefore, by adjusting the CWND of each first terminal device, the purpose of adjusting the TCP download rate of each first terminal device can be achieved, so that the TCP download rate and target of each first terminal device are achieved.
  • the download rates are equal, such that each first terminal device can download the current video slice using the target download rate.
  • the foregoing base station may determine the adjustment amount of the CWND of each first terminal device according to the target download rate of each first terminal device and the formula (2); wherein the formula (2) may specifically be:
  • i is a positive integer greater than or equal to 1
  • i indicates that the first terminal device is the i-th terminal device that is performing video download data service in the coverage of the base station
  • G i represents the target download rate of the first terminal device
  • CWND i represents The adjustment amount of the CWND of the first terminal device
  • the RTT i represents the round-trip delay of the message sent by the base station to the first terminal device.
  • the base station may further determine, according to a target download rate of each first terminal device, an adjustment amount of other parameters that can determine a TCP rate, and then adjust the other parameters to adjust the TCP of each first terminal device.
  • the purpose of the downloading rate is similar to the manner in which the CWND of the first terminal device is adjusted as described above, and the present invention will not be described again.
  • the TCP download rate adjustment of each first terminal device can be implemented through the foregoing steps of S302.
  • the foregoing S302 may be replaced by the following steps: the base station sends the target download rate of each first terminal device to the TCP proxy to indicate that the TCP proxy is based on each first The target download rate of the terminal device, and the TCP download rate of each first terminal device is adjusted.
  • the specific implementation process of the step can be referred to the prior art, and the present invention will not be described again.
  • the base station allocates a download resource to the first terminal device according to the target download rate of the first terminal device.
  • the foregoing base station may allocate a download resource to each first terminal device in the same download period according to the target download rate of each first terminal device, so that each first terminal device can download the current video segment through the resource.
  • the base station may allocate a download resource to each first terminal device at each TTI moment of the download period, or may determine all TTI moments of the download period before starting the first TTI time of the download period. Download resources of each first terminal device.
  • the determining, by the base station, the downloading resources of each first terminal device for each first terminal device at each TTI time of the downloading period, the foregoing S303 may be implemented by using the following steps. Ground:
  • Step A The base station acquires the to-be-scheduled user set at the current TTI time according to the download progress of each first terminal device at the current TTI time; the to-be-scheduled user set includes the first terminal device and the second terminal that are not downloaded by the current video segment.
  • the second terminal device is a terminal device that is performing webpage data service within the coverage of the base station.
  • the base station may select, according to the download progress of each first terminal device in each current TTI moment, that the current video fragment has not been downloaded at the current TTI moment, at the beginning of each current TTI moment of the download period.
  • the first terminal device and all the second terminal devices use the terminal device as the set of users to be scheduled at the current TTI time, and the first terminal device that has downloaded the current video segment is no longer in the download cycle. Any resources are scheduled for the first terminal device.
  • the base station may determine, according to the current video fragmentation duration and the target download rate of the first terminal device in the QoE information of each first terminal device, the amount of data to be downloaded of the current video segment of the first terminal device.
  • Step B The base station determines, according to the QoE information of the first terminal device that is not downloaded by the current video fragment, and the delay deadline of the second terminal device, the first terminal device that has not downloaded the current video fragment at the current TTI moment. A priority adjustment factor and a second priority adjustment factor of the second terminal device at the current TTI time.
  • the base station may determine, according to the video playing state of the first terminal device in the current TTI time and the cache level of the first terminal device at the current TTI time, in the QoE information of the first terminal device that is not downloaded by the current video segment, and determine the current The video segmentation does not download the first priority adjustment factor ⁇ Video (i) of the first terminal device at the current TTI time, where ⁇ Video (i) indicates that the current terminal device is not downloaded and the first terminal device is currently TTI's first priority adjustment factor.
  • the base station determines that the video playback state of the current TTI in the current video fragment is the initial buffer state, the first priority of the first terminal device that is not downloaded by the current video fragment is determined.
  • the adjustment factor ⁇ Video (i) is a preset first threshold; optionally, if the base station determines that the current video segment is not downloaded, the first terminal device is in the normal playing state of the current TTI video playing state, and is in the current TTI.
  • the cache level is less than the preset cache level lower limit (where the cache level is smaller, the cache level is higher), and then determining the first priority adjustment factor ⁇ Video (i) of the first terminal device that the current video slice has not been downloaded.
  • a preset second threshold optionally, if the base station determines that the current video fragment is not downloaded, the first terminal device stops interrupting the buffer state after the current TTI video playback state is played, determining that the current video fragment is not downloaded.
  • a first terminal of the first priority adjustment factor ⁇ video (i) a third preset threshold; Alternatively, if the base station determines the current video slice - downloaded first When the video playback state of the current TTI is in the normal play state, and the cache level of the current TTI is in the upper and lower limits of the preset cache level, the first priority of the first terminal device that is not downloaded by the current video segment is determined.
  • the level adjustment factor ⁇ Video (i) can be determined by the following formula (3), which can be specifically:
  • the BufferLevel(i) indicates that the current terminal fragment is not downloaded, and the first terminal device is in the current TTI cache level, and the DelayBudget video is a preset constant.
  • the preset first threshold may be greater than a preset second threshold, and the preset second threshold may be greater than the preset third threshold, where the preset third threshold may be greater than any of the foregoing thresholds.
  • the ⁇ Video (i) the specific embodiment, the above-described predetermined first threshold value, a second predetermined threshold value, the specific value of the third predetermined threshold value may be determined according to the needs of users, in this way, can be made The first priority device of the first terminal device with a worse user experience is higher.
  • the base station may further determine a second priority adjustment factor ⁇ Web (j) of the second terminal device at the current TTI moment according to the time delay deadline of the second terminal device at the current TTI time and the following formula (4), the formula ( 4) Specifically:
  • j is a positive integer greater than or equal to 1
  • j represents a terminal device in which the second terminal device is the jth web data service in the coverage of the base station
  • ⁇ Web (j) represents the second terminal device in the second TTI.
  • the priority adjustment factor, Deadline Web (j) represents the delay time limit of the second terminal device at the current TTI time
  • the DelayBudget Web is a preset constant.
  • the DelayBudget Web may be greater than or equal to the sum of the page response delay and the display delay of any second terminal device.
  • the delay deadline of the second terminal device mentioned herein may reflect the extent of the user waiting delay upper limit. If the delay deadline is smaller, the closer to the upper limit of the user waiting delay, therefore, In the above manner, the second priority adjustment factor of the second terminal device close to the upper limit of the user waiting delay can be made higher.
  • the method may further include: acquiring, by the base station, a delay deadline of the second terminal device.
  • the foregoing base station may acquire the delay deadline of the second terminal device in real time or periodically.
  • the method of the present invention is not limited to how the base station obtains the delay deadline of the second terminal device.
  • the base station may receive the second terminal device to send to the base station by using an interface with the second terminal device.
  • Step C The base station determines, according to the first priority adjustment factor of the first terminal equipment that is not downloaded by the current video fragment, and the second priority adjustment factor of the second terminal equipment at the current TTI time, to determine that the base station is to be scheduled.
  • the priority of all terminal devices in the user set at the current TTI time.
  • the base station may adjust the size of the first priority adjustment factor ⁇ Video (i) of the first terminal device that is not downloaded by the current video fragment determined by the foregoing step B, and the second terminal device is The size of the second priority adjustment factor ⁇ Web (j) at the current TTI time, all the terminal devices in the set of users to be scheduled are prioritized to determine the priority of all terminal devices in the set of users to be scheduled at the current TTI time.
  • the terminal device with the highest priority adjustment factor has the highest priority at the current TTI time.
  • the base station may further adjust the factor ⁇ Video (i), each current video point according to the first priority of the current terminal TTI, which is not downloaded by each current video segment.
  • each PF scheduling priority PF Web (j) of the current TTI and a preset adjustment coefficient determine the priority of all terminal devices in the to-be-scheduled user set at the current TTI time.
  • the foregoing base station may determine, according to the following formula (5), a priority (i) of the current TTI of the first terminal device that is not downloaded by each current video segment in the to-be-scheduled user set, the formula ( 5) Specifically:
  • Priority(i) ⁇ 1 ⁇ Video (i) ⁇ PF(i) (5)
  • the PF(i) indicates that the first terminal device that is not downloaded by the current video fragment has a PF scheduling priority of the current TTI, and the priority (i) indicates that the first terminal device that is not downloaded by the current video segment is in the
  • the priority of the current TTI the above ⁇ 1 is a preset adjustment coefficient, and the preset adjustment coefficient ⁇ 1 can be specifically set according to the needs of the user.
  • the foregoing base station may determine, according to the following formula (6), a priority (j) of each second terminal device in the to-be-scheduled user set in the current TTI, where the formula (6) may specifically be:
  • Priority(j) ⁇ 2 ⁇ Web (j) ⁇ PF(j) (6)
  • the PF(j) indicates the PF scheduling priority of the second terminal device in the current TTI
  • the priority (j) indicates the priority of the second terminal device in the current TTI
  • the ⁇ 2 is a preset adjustment coefficient.
  • the preset adjustment coefficient ⁇ 2 may be specifically set according to the needs of the user.
  • ⁇ 1 may be set to be greater than ⁇ 2 .
  • ⁇ 2 may be set to be greater than ⁇ 1 .
  • the base station can prioritize all the terminal devices in the set of users to be scheduled according to the size of each Priority (i) and the size of each Priority (j), to determine that all the terminal devices in the set of users to be scheduled are in the The priority of the current TTI time, wherein the terminal device with the highest priority adjustment factor has the highest priority at the current TTI time.
  • the method When determining, by the manner, the to-be-scheduled set summarizes the priorities of all the terminal devices at the current TTI time, the method not only integrates the current state of each first terminal device summarized by the set of users to be scheduled, that is, (each first The video playback state of the terminal device, the cache level of each first terminal device, and the delay deadline of each second terminal device, and the PF scheduling priority of each first terminal device and each second terminal
  • the priority of the PF scheduling of the device is such that the priority of all the terminal devices in the set of users to be scheduled in the current TTI time can be determined by ensuring the fairness between the terminal devices. The higher the priority of the first terminal device, so that the base station can preferentially schedule download resources for the first terminal device with the worst user experience at each current TTI time, so as to improve user experience and fairness between users.
  • the ratio of the first terminal device that is not downloaded to each current video fragment is the fair PF scheduling priority PF Video (i) of the current TTI, and the PF scheduling of each of the second terminal devices in the current TTI.
  • the priority PF Web (j) can be determined by using the existing method for determining the PF scheduling priority, which is not described in the present invention.
  • Step D The base station does not download to each current video segment according to the priority of all the terminal devices in the to-be-scheduled user set at the current TTI time and the target download rate of the first terminal device that is not downloaded by each current video segment.
  • the completed first terminal device allocates download resources at the current TTI time.
  • the foregoing base station may combine the bandwidth resources available to all the first terminal devices in the system, according to the highest priority of all terminal devices in the set of users to be scheduled at the current TTI time.
  • a terminal device starts to allocate, for each first terminal device, a download resource corresponding to a target download rate of the first terminal device at a current TTI moment.
  • the foregoing base station may further perform a target download rate of the first terminal device that is not downloaded according to each current video segment in the set of users to be scheduled, and a QoE of the first terminal device that is not downloaded by each current video segment.
  • the current video segmentation duration corresponding to each first terminal device in the information determining the amount of data to be downloaded of the current video segment of the first terminal device that is not downloaded for each current video segment, and then according to each current video
  • the current video slice download amount of the first terminal device that has not been downloaded and downloaded ie, the downloaded data amount
  • the current video slice of the first terminal device that has not been downloaded for each current video slice to be downloaded ie, the downloaded data amount
  • the amount of data determines the remaining download amount of the current video segment of the first terminal device that is not downloaded for each current video segment (ie, the amount of data remaining to be downloaded), so that the base station can be based on all terminal devices in the set of users to be scheduled.
  • the priority of the current TTI time, the current video slice remaining download amount of the first terminal device that is not downloaded for each current video slice, and each The target download rate of the first terminal device that has not been downloaded by the current video segment is allocated to the first terminal device that has not been downloaded for each current video segment according to the priority from the highest to the lowest. In this way, the base station can allocate a suitable download resource to the first terminal device that has not been downloaded for each current video segment according to the actual situation of the first terminal device that is not downloaded by each current video segment. Improve system resource utilization.
  • the foregoing base station determines, by using the foregoing step A-step D, that each first terminal device downloads resources in the same download period, the foregoing step A-step D needs to be performed once at each TTI time of the download cycle. Until the end of the download cycle.
  • the embodiment of the present invention does not limit the execution order of the foregoing S302 and S303, and may execute S302 and then execute S303, or may perform S302 and S303 at the same time.
  • the base station By adjusting the TCP download rate for each first terminal device and allocating the download resources in the same download period for each first terminal device, the base station indicates in an implicit manner that each first terminal device is in the same download cycle. Downloading, according to a target download rate of each first terminal device, a current video segment corresponding to each first terminal device, so that all first terminal devices in the coverage of the base station can be determined according to a target download rate determined by the base station. The current video segment corresponding to the first terminal device is downloaded in the same download cycle.
  • the base station determines the target download rate of the first terminal device by using the first terminal device in its coverage range, and instructs the first terminal device to download the first downloading period in the same download cycle according to the target downloading rate.
  • the current video fragmentation mode corresponding to the terminal device can reduce the frequency of switching the code rate of the video segment when the user views the video through the first terminal device, thereby reducing the number of times the video quality changes, thereby improving the user experience.
  • FIG. 4 is a schematic flowchart of Embodiment 3 of a video optimization method according to an embodiment of the present invention.
  • the third embodiment relates to that the base station sends the target download rate of each first terminal device to each first terminal device, and allocates each primary terminal device according to the target download rate of each first terminal device.
  • the downloading resources of the first terminal device in the same download period indicate, in an explicit manner, a specific process in which each first terminal device downloads the current video segment in the same download cycle according to the target download rate of each first terminal device.
  • the method includes:
  • the base station determines, according to the video parameter information, a target download rate of the first terminal device to download the current video segment.
  • the base station sends the target download rate of the first terminal device to the first terminal device.
  • the base station may send, by using an interface with each first terminal device, a target download rate of each first terminal device determined by the base station for each first terminal device as a code rate recommendation value to each first terminal device. So that each of the first terminal devices can use the target download rate as the code rate, and request the video server to download the current video segment corresponding to the code rate, so that the video server can send the message to the first terminal device through the base station.
  • the current video segment corresponding to the code rate is a target download rate of each first terminal device determined by the base station for each first terminal device as a code rate recommendation value.
  • the base station allocates a download resource to the first terminal device according to the target download rate of the first terminal device.
  • the base station determines the target download rate of the first terminal device by using the first terminal device in its coverage range, and instructs the first terminal device to download the first downloading period in the same download cycle according to the target downloading rate.
  • the current video fragmentation mode corresponding to the terminal device can reduce the frequency of switching the code rate of the video segment when the user views the video through the first terminal device, thereby reducing the number of times the video quality changes, thereby improving the user experience.
  • the aforementioned program can be stored in a computer readable storage medium.
  • the program when executed, performs the steps including the foregoing method embodiments; and the foregoing storage medium includes various media that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • FIG. 5 is a schematic structural diagram of Embodiment 1 of a video optimization apparatus according to an embodiment of the present invention.
  • the video optimization apparatus may be implemented as part or all of a base station by using software, hardware, or a combination of the two.
  • the device may include: a determining module 11 and an indicating module 12; wherein
  • the determining module 11 is configured to determine, according to the video parameter information, a target download rate of the first terminal device to download the current video segment, where the video parameter information includes: the experience quality QoE information of the first terminal device, and the information of the first terminal device.
  • the video parameter information includes: the experience quality QoE information of the first terminal device, and the information of the first terminal device
  • the indicating module 12 may instruct the first terminal device to download the current video segment according to the target download rate of the first terminal device determined by the determining module.
  • the video optimization apparatus provided by the embodiment of the present invention may perform the foregoing method embodiment, and the implementation thereof The principle and technical effects are similar and will not be described here.
  • the experience quality QoE information of the first terminal device may include: a code rate upper and lower limit of the first terminal device, a video play state of the first terminal device, a cache level of the first terminal device, and a corresponding corresponding to the first terminal device.
  • a code rate upper and lower limit of the first terminal device a code rate upper and lower limit of the first terminal device
  • a video play state of the first terminal device a cache level of the first terminal device
  • a corresponding corresponding to the first terminal device may include: a code rate upper and lower limit of the first terminal device, a video play state of the first terminal device, a cache level of the first terminal device, and a corresponding corresponding to the first terminal device.
  • the determining module 11 may be specifically configured to perform video downloading data according to the upper and lower limits of the first terminal device, the signal to interference and noise ratio of the first terminal device, and the coverage of the base station.
  • the number of terminal devices of the service, the number of terminal devices that are performing other data services within the coverage of the base station, and the utility function determine the target download rate of the first terminal device; the utility function is:
  • i is a positive integer greater than or equal to 1
  • i indicates that the first terminal device is the i-th terminal device that is performing video download data service in the coverage of the base station
  • G i represents the target download rate of the first terminal device
  • ⁇ i (G i Indicates the resources occupied by the first terminal device
  • ⁇ (N) represents the total available resources of the terminal device that is performing the video download data service within the coverage of the base station;
  • FIG. 6 is a schematic structural diagram of Embodiment 2 of a video optimization apparatus according to an embodiment of the present invention. As shown in FIG. 6, further, based on the foregoing embodiment, the apparatus may further include:
  • the first obtaining module 13 may be configured to acquire QoE information of the first terminal device before the determining module 11 determines, according to the video parameter information, that the first terminal device downloads the target download rate of the current video segment.
  • the first obtaining module 13 may obtain the QoE information of the first terminal device by receiving the QoE information sent by the first terminal device, and may also download the fragment information according to the history of the first terminal device to determine the first terminal device.
  • the QoE information of the history downloading information includes: a code rate upper and lower limit supported by the video server corresponding to the first terminal device, a historical data downloading amount of the first terminal device, and a historical slice download interval.
  • the video optimization device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • FIG. 7 is a schematic structural diagram of Embodiment 3 of a video optimization apparatus according to an embodiment of the present invention.
  • the indication module 12 may be used to indicate that the first terminal device determined by the first terminal device according to the determining module 11 is Downloading the current video slice at the target download rate, in this embodiment, As shown in FIG. 7, the above indication module 12 may include:
  • the adjusting unit 121 may be configured to adjust the TCP download rate of the first terminal device according to the target download rate of the first terminal device.
  • the adjusting unit 121 may determine the first according to the target download rate of the first terminal device. Adjusting the CWND of the congestion window of the terminal device, and adjusting the CWND of the first terminal device according to the adjustment amount of the CWND of the first terminal device, to adjust the TCP download rate of the first terminal device.
  • the foregoing adjusting unit 121 may be configured according to a target download rate of the first terminal device.
  • Determining the adjustment amount of the CWND of the first terminal device where i is a positive integer greater than or equal to 1, and i indicates that the first terminal device is the i-th terminal device that is performing video download data service in the coverage of the base station, and G i indicates The target download rate of a terminal device, CWND i represents the adjustment amount of the CWND of the first terminal device, and the RTT i represents the round-trip delay of the message sent by the base station to the first terminal device.
  • the first allocation unit 122 may be configured to allocate a download resource to the first terminal device according to the target download rate of the first terminal device, to instruct the first terminal device to download the current video segment according to the target download rate of the first terminal device.
  • the first allocating unit 122 may include:
  • the obtaining sub-unit 1221 may be configured to obtain, according to the download progress of the first terminal device at the current TTI time, the set of to-be-scheduled users at the current TTI time; the set of users to be scheduled includes the first terminal device and the first video device that have not been downloaded yet.
  • the second terminal device is a terminal device that is performing webpage data service within the coverage of the base station.
  • the first determining sub-unit 1222 may be configured to determine, according to the QoE information of the first terminal device that is not downloaded by the current video fragment, and the delay deadline of the second terminal device, the first terminal device that is not downloaded by the current video segment.
  • the first priority adjustment factor at the current TTI time and the second priority adjustment factor of the second terminal device at the current TTI time may be configured to determine, according to the QoE information of the first terminal device that is not downloaded by the current video fragment, and the delay deadline of the second terminal device, the first terminal device that is not downloaded by the current video segment.
  • the first determining sub-unit 1222 may be specifically configured to determine, when determining, that the current video fragment is not downloaded, the first terminal device determines the first priority adjustment factor ⁇ when the current TTI video playing state is the initial buffering state.
  • Video (i) is a preset first threshold; wherein, ⁇ Video (i) represents a first priority adjustment factor of the first terminal device that is not downloaded by the current video segment at the current TTI;
  • the factor ⁇ Video (i) is a preset second threshold
  • the first priority adjustment factor ⁇ Video (i) is the preset third threshold when the first terminal device that is not downloaded by the current video segment is in the interrupted buffer state after the current TTI video playback state is played.
  • the BufferLevel(i) indicates that the current terminal fragment is not downloaded, and the first terminal device is in the current TTI cache level, and the DelayBudget video is a preset constant.
  • the first determining sub-unit 1222 can be specifically used according to the delay deadline Deadline Web (j) of the second terminal device and Determining a second priority adjustment factor ⁇ Web (j) of the second terminal device at the current TTI moment;
  • j is a positive integer greater than or equal to 1
  • j denotes that the second terminal device is the jth terminal device that is performing the webpage data service in the coverage of the base station
  • Deadline Web (j) indicates the time of the second terminal device at the current TTI moment.
  • the expiration deadline, ⁇ Web (j) represents the second priority adjustment factor of the second terminal device in the current TTI
  • the DelayBudget Web is a preset constant.
  • the second determining sub-unit 1223 may be configured to: according to the first priority adjustment factor of the first terminal device that is not downloaded by the current video fragment at the current TTI moment, and the second priority of the second terminal device at the current TTI moment
  • the adjustment factor determines the priority of all terminal devices in the set of users to be scheduled at the current TTI time.
  • the second determining sub-unit 1223 may be specifically configured to: according to the first priority adjustment factor of the current TTI of the first terminal device that is not downloaded by the current video fragment, and the first terminal that is not downloaded by the current video fragment. Determining the user to be scheduled, the priority PF scheduling priority of the device in the current TTI, the second priority adjustment factor of the second terminal device in the current TTI, the PF scheduling priority of the second terminal device in the current TTI, and the preset adjustment coefficient The priority of all terminal devices in the set at the current TTI time.
  • the priority of the first terminal device in the current TTI, and the priority of the second terminal device in the set of users to be scheduled in the current TTI according to Priority(j) ⁇ 2 ⁇ Web (j) ⁇ PF(j);
  • the PF(i) indicates that the current terminal fragment is not downloaded, and the first terminal device in the current TTI has the PF scheduling priority, and the priority (i) indicates that the current terminal fragment is not downloaded, and the first terminal device has the priority in the current TTI.
  • Level ⁇ 1 is a preset adjustment coefficient
  • PF(j) represents the PF scheduling priority of the second terminal equipment in the current TTI
  • Priority (j) represents the priority of the second terminal equipment in the current TTI
  • ⁇ 2 is the preset Adjustment factor.
  • the allocation sub-unit 1224 may be configured to download the current video fragment according to the priority of all the terminal devices in the to-be-scheduled user set at the current TTI time and the target download rate of the first terminal device that is not downloaded by the current video segment.
  • the completed first terminal device allocates download resources at the current TTI time.
  • the allocation sub-unit 1224 may be specifically configured to: according to the target download rate of the first terminal device that is not downloaded by the current video segment in the set of users to be scheduled, the current video segmentation duration corresponding to the first terminal device, and the current The current video fragment downloading quantity of the first terminal device that has not been downloaded by the video fragment is determined, and the remaining video downloading amount of the current video fragment of the first terminal device that is not downloaded by the current video fragment is determined, and according to all terminals in the user set to be scheduled. The priority of the device at the current TTI time, and the current video slice remaining download amount of the first terminal device that has not been downloaded by the current video segment, and the first terminal device that has not downloaded the current video segment is allocated at the current TTI time. Download resources.
  • the video optimization device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of Embodiment 4 of a video optimization apparatus according to an embodiment of the present invention. Further, based on the foregoing embodiment, as shown in FIG. 8, the apparatus may further include:
  • the second obtaining module 14 is configured to determine, according to the QoE information of the first terminal device that is not downloaded by the current video segment, and the delay deadline of the second terminal device, that the current video segment is not downloaded.
  • the completed first terminal device obtains the delay deadline of the second terminal device before the first priority adjustment factor at the current TTI time and the second priority adjustment factor of the second terminal device at the current TTI time.
  • the second acquiring module 14 may receive the delay deadline of the second terminal device by receiving the delay deadline of the second terminal device, and may also obtain the first deadline of the second terminal device.
  • the packet delay is used to obtain the delay deadline of the second terminal device.
  • the video optimization device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • FIG. 9 is a schematic structural diagram of Embodiment 5 of a video optimization apparatus according to an embodiment of the present invention.
  • the indication module 12 may be used to indicate that the first terminal device determined by the first terminal device according to the determining module 11 is The target downloading rate downloads the current video fragment.
  • the indication module 12 may include:
  • the sending unit 123 may be configured to send the target download rate of the first terminal device to the first terminal device;
  • the second allocation unit 124 is configured to allocate a download resource to the first terminal device according to the target download rate of the first terminal device, to instruct the first terminal device to download the current video segment according to the target download rate of the first terminal device.
  • the video optimization device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • FIG. 10 is a schematic structural diagram of Embodiment 6 of a video optimization apparatus according to an embodiment of the present invention.
  • the video optimization apparatus may include: a processor 21;
  • the processor 21 is configured to determine, according to the video parameter information, a target download rate of the first terminal device to download the current video segment, and instruct the first terminal device to download the current video segment according to the target download rate of the first terminal device;
  • the parameter information includes: the QEE information of the first terminal device, the signal to interference and noise ratio of the first terminal device, the number of terminal devices that are performing video download data services within the coverage of the base station, and other data services being performed within the coverage of the base station.
  • the number of terminal devices, where the first terminal device is any terminal device in the terminal device that is performing video download data service within the coverage of the base station.
  • the video optimization device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • the experience quality QoE information of the first terminal device may include: a code rate upper and lower limit of the first terminal device, a video play state of the first terminal device, a cache level of the first terminal device, and a corresponding corresponding to the first terminal device.
  • a code rate upper and lower limit of the first terminal device a code rate upper and lower limit of the first terminal device
  • a video play state of the first terminal device a cache level of the first terminal device
  • a corresponding corresponding to the first terminal device may include: a code rate upper and lower limit of the first terminal device, a video play state of the first terminal device, a cache level of the first terminal device, and a corresponding corresponding to the first terminal device.
  • the processor 21 may be further configured to acquire QoE information of the first terminal device before determining, according to the video parameter information, that the first terminal device downloads the target download rate of the current video segment.
  • the processor 21 is configured to acquire QoE information of the first terminal device, and specifically, may receive the first through the receiver 22. QoE information sent by the terminal device. If the device does not include the receiver 22, the processor 21 is configured to obtain the QoE information of the first terminal device, where the device may: download the fragmentation information according to the history of the first terminal device, and determine the QoE information of the first terminal device.
  • the historical download fragment information includes: a code rate upper and lower limit supported by the video server corresponding to the first terminal device, a first terminal device historical slice download data amount, and a historical slice download interval.
  • the video optimization device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • the processor 21 is configured to determine, according to the video parameter information, a target download rate of the current video segment, according to the video parameter information, when the quality of the QoE information of the first terminal device is:
  • the method may be: a code rate upper and lower limit of the first terminal device, a signal to interference and noise ratio of the first terminal device, a number of terminal devices that are performing video download data service in the coverage of the base station, and a terminal that is performing other data services within the coverage of the base station.
  • the number of devices and the utility function determine the target download rate of the first terminal device; the utility function is:
  • i is a positive integer greater than or equal to 1
  • i indicates that the first terminal device is the i-th terminal device that is performing video download data service in the coverage of the base station
  • G i represents the target download rate of the first terminal device
  • ⁇ i (G i Indicates the resources occupied by the first terminal device
  • ⁇ (N) represents the total available resources of the terminal device that is performing the video download data service within the coverage of the base station;
  • the processor 21 is configured to instruct the first terminal device to download the first according to the target download rate of the first terminal device.
  • the current video fragment corresponding to the terminal device which may be:
  • the processor 21 is specifically configured to instruct the sender 23 to send the target download rate of the first terminal device to the first terminal device, and allocate a download resource to the first terminal device according to the target download rate of the first terminal device, to indicate the first A terminal device downloads the current video segment according to the target download rate of the first terminal device.
  • the processor 21 is configured to instruct the first terminal device to download the current corresponding to the first terminal device according to the target download rate of the first terminal device.
  • Video fragmentation which can be:
  • the processor 21 may be configured to: adjust, according to a target download rate of the first terminal device, a TCP control rate of the transmission control protocol of the first terminal device, and allocate a download resource to the first terminal device according to the target download rate of the first terminal device. Instructing the first terminal device to download the current video segment according to the target download rate of the first terminal device.
  • the processor 21 is configured to adjust, according to the target download rate of the first terminal device, the TCP control rate of the transmission control protocol of the first terminal device, where the first terminal device is determined according to the target download rate of the first terminal device.
  • the processor 21 may be configured according to a target download rate of the first terminal device. Determining an adjustment amount of the CWND of the first terminal device;
  • i is a positive integer greater than or equal to 1
  • i indicates that the first terminal device is the i-th terminal device that is performing video download data service in the coverage of the base station
  • G i represents the target download rate of the first terminal device
  • CWND i represents The adjustment amount of the CWND of the first terminal device
  • the RTT i represents the round-trip delay of the message sent by the base station to the first terminal device.
  • the processor 21 is configured to allocate a download resource to the first terminal device according to the target download rate of the first terminal device, which may be:
  • the processor 21 may obtain the to-be-scheduled user set at the current TTI time according to the download progress of the first terminal device at the current TTI time; the to-be-scheduled user set includes the first terminal device and the second terminal that are not downloaded by the current video segment.
  • the second terminal device is a terminal device that is performing webpage data service within the coverage of the base station;
  • Determining all the to-be-scheduled user sets according to the first priority adjustment factor of the first terminal device at the current TTI time that is not downloaded by the current video fragment, and the second priority adjustment factor of the second terminal device at the current TTI time.
  • the priority of the terminal device at the current TTI time
  • the processor 21 is configured to determine, according to the QoE information of the first terminal device that the current video fragment is not downloaded, that the first terminal device that is not downloaded by the current video fragment is at the current TTI moment.
  • the first priority adjustment factor may specifically be:
  • the processor 21 is specifically configured to determine that the first priority adjustment factor ⁇ Video (i) is preset when the first terminal device that is not downloaded by the current video segment is in the initial buffer state of the current TTI. a first threshold; wherein, ⁇ Video (i) represents a first priority adjustment factor of the first terminal device that is not downloaded by the current video segment at the current TTI;
  • the factor ⁇ Video (i) is a preset second threshold
  • the first priority adjustment factor ⁇ Video (i) is the preset third threshold when the first terminal device that is not downloaded by the current video fragment is in the interrupted buffer state after the current TTI video playback state is played.
  • the BufferLevel(i) indicates that the current terminal fragment is not downloaded, and the first terminal device is in the current TTI cache level, and the DelayBudget video is a preset constant.
  • the processor 21 is configured to determine, according to a timeout deadline of the second terminal device, a second priority adjustment factor of the second terminal device at the current TTI time, which may be:
  • the processor 21 may be specifically configured to use Deadline Web (j) according to a delay deadline of the second terminal device. Determining a second priority adjustment factor ⁇ Web (j) of the second terminal device at the current TTI moment; wherein j is a positive integer greater than or equal to 1, and j indicates that the second terminal device is the jth ongoing webpage within the coverage of the base station.
  • Deadline Web (j) represents the time delay deadline of the second terminal device at the current TTI time
  • ⁇ Web (j) represents the second priority adjustment factor of the second terminal device in the current TTI
  • the DelayBudget Web is Preset constant.
  • the processor 21 may be further configured to determine, according to the QoE information of the first terminal device that is not downloaded by the current video fragment, and the delay deadline of the second terminal device. Obtaining a delay deadline of the second terminal device before the first priority adjustment factor of the first terminal device that is not downloaded and the second priority adjustment factor of the second terminal device at the current TTI time . If the above device includes the receiver 22, then the above The processor 21 may receive, by the receiver 22, a delay deadline of the second terminal device sent by the second terminal device; if the device does not include the receiver 22, the processor 21 may be configured according to the first packet of the second terminal device. The delay determines the delay deadline of the second terminal device.
  • the processor 21 is configured to: according to the first priority adjustment factor of the first terminal device that is not downloaded by the current video fragment, and the second priority adjustment factor of the second terminal device at the current TTI moment.
  • the priority of all the terminal devices in the set of users to be scheduled is determined at the current TTI time, which may be:
  • the processor 21 is specifically configured to: according to the first priority adjustment factor of the current TTI of the first terminal device that is not downloaded by the current video fragment, and the proportion of the first terminal device that is not downloaded by the current video fragment in the current TTI.
  • the PF scheduling priority, the second priority adjustment factor of the second terminal device in the current TTI, the PF scheduling priority of the second terminal device in the current TTI, and the preset adjustment coefficient, determining that all terminal devices in the to-be-scheduled user set are currently The priority of the TTI moment.
  • the adjustment factor; PF(j) indicates the PF scheduling priority of the second terminal device in the current TTI, Priority(j) indicates the priority of the second terminal device in the current TTI, and ⁇ 2 is the preset adjustment coefficient.
  • the processor 21 is configured to slice the current video according to the priority of all the terminal devices in the to-be-scheduled user set at the current TTI time and the target download rate of the first terminal device that is not downloaded by the current video segment.
  • the first terminal device that has not been downloaded is allocated the download resource at the current TTI time, which may be:
  • the processor 21 may be specifically configured to: according to a target download rate of the first terminal device that is not downloaded by the current video segment in the set of users to be scheduled, a current video segmentation duration corresponding to the first terminal device, and the current video segment is not downloaded.
  • the current video fragment downloading quantity of the first terminal device is determined, and the remaining video downloading amount of the current video fragment of the first terminal device that is not downloaded by the current video fragment is determined, and according to all the terminal devices in the to-be-scheduled user set, at the current TTI moment Priority, and the current video fragment remaining download amount of the first terminal device that is not downloaded by the current video fragment, to the current video
  • the first terminal device whose fragment has not been downloaded is allocated the download resource at the current TTI time.
  • the video optimization device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principles and technical effects thereof are similar, and details are not described herein again.
  • Another embodiment of the present invention further provides a base station, which may include the video optimization device shown in FIG. 5 to FIG. 9 , and the implementation principle and technical effects are similar, and details are not described herein again.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明实施例提供一种视频优化方法和装置,该方法包括:基站根据视频参数信息确定第一终端设备下载第一终端设备对应的当前视频分片的目标下载速率;其中,视频参数信息包括:第一终端设备的体验质量QoE信息、第一终端设备的信干噪比、第一终端设备的数量、第二终端设备的数量;第一终端设备为基站覆盖范围内正在下载视频的终端设备,第二终端设备为基站覆盖范围内正在进行除下载视频之外的其他数据业务的终端设备;基站指示第一终端设备根据第一终端设备的目标下载速率,下载第一终端设备对应的当前视频分片,从而能够减少用户在通过第一终端设备观看视频时视频分片的码率的切换的频率,可以减少视频质量变化的次数,提高用户体验。

Description

视频优化方法和装置 技术领域
本发明实施例涉及通信技术,尤其涉及一种视频优化方法和装置。
背景技术
目前,在长期演进(Long Term Evolution,简称:LTE)系统中,视频服务器会将同一视频文件在不同码率下进行编码,得到不同码率的视频文件(即不同质量的视频文件),并将这些不同码率的视频文件分割成多个视频分片,以使得视频服务器可以根据终端设备所请求下载的每个视频分片的码率,在上述不同码率的视频文件的视频分片中,为终端设备选择与该码率对应的视频分片下发给终端设备。
现有技术中,终端设备采用基于超文本传输协议(HyperText Transfer Protocol,简称:HTTP)的自适应请求码率的方式,向视频服务器请求需要下载的视频分片的码率,即终端设备将下载上一视频分片的速率作为当前所请求下载的视频分片的码率发送给视频服务器,以使视频服务器可以根据该码率,为终端设备下发与该码率对应的视频分片。
但是,终端设备采用上述自适应请求码率的方式下载视频分片的效果不佳,仍然无法满足用户的体验要求。
发明内容
本发明实施例提供一种视频优化方法和装置,用于解决现有技术中的终端设备采用自适应请求码率的方式下载视频分片的效果不佳的技术问题。
第一方面,本发明实施例提供一种视频优化方法,所述方法包括:
基站根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率;其中,所述视频参数信息包括:所述第一终端设备的体验质量QoE信息、所述第一终端设备的信干噪比、所述基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、所述基站覆盖范围内正在进行其他数据业务的终端设备的数量,所述第一终端设备为所述基站覆盖范围内正在进行视频下 载数据业务的终端设备中的任一终端设备;
所述基站指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片。
通过第一方面提供的视频优化方法,基站通过为其覆盖范围内的第一终端设备确定第一终端设备的目标下载速率,并指示第一终端设备根据其目标下载速率在同一下载周期下载第一终端设备对应的当前视频分片的方式,避免了第一终端设备在下载第一终端设备对应的每个当前视频分片时,基站覆盖范围内与该第一终端设备一起竞争系统带宽资源的其他第一终端设备的数量不同的情况,进而可以避免基站为第一终端设备分配的下载第一终端设备对应的每个当前视频分片的下载速率都不同的情况,从而使得第一终端设备在将下载第一终端设备对应的每个当前视频分片的目标下载速率作为第一终端设备对应的每个当前视频分片的下一视频分片的码率,来向视频服务器请求下载与该码率(即目标下载速率)对应的下一视频分片时,所下载的第一终端设备对应的每个当前视频分片的码率和第一终端设备对应的每个当前视频分片的下一视频分片的码率近乎相同,减少了用户在通过第一终端设备观看视频时视频分片的码率的切换的频率,进而减少了视频质量变化的次数,提高了用户体验。
进一步地,在第一方面的一种可能的实施方式中,所述基站根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率之前,所述方法还包括:
所述基站获取所述第一终端设备的QoE信息。
可选的,在第一方面的一种可能的实施方式中,所述基站获取所述第一终端设备的QoE信息,具体包括:
所述基站接收所述第一终端设备发送的QoE信息;
或,
所述基站根据所述第一终端设备的历史下载分片信息,确定所述第一终端设备的QoE信息;所述历史下载分片信息包括:所述第一终端设备对应的视频服务器支持的码率上下限、所述第一终端设备历史分片下载数据量和历史分片下载间隔。
可选的,在第一方面的一种可能的实施方式中,所述基站指示所述第一 终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片,具体包括:
所述基站根据所述第一终端设备的目标下载速率,调整所述第一终端设备的传输控制协议TCP下载速率,并根据所述第一终端设备的目标下载速率,向所述第一终端设备分配下载资源,以指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片。
通过该可能的实施方式提供的视频优化方法,通过为第一终端设备调整TCP下载速率,以及为第一终端设备分配下载资源的方式,基站以隐式的方式指示第一终端设备根据第一终端设备的目标下载速率下载第一终端设备对应的当前视频分片,以使得基站覆盖范围内的第一终端设备可以根据基站为其确定的目标下载速率,在同一下载周期下载第一终端设备对应的当前视频分片。
可选的,在第一方面的一种可能的实施方式中,所述基站指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片,具体包括:
所述基站将所述第一终端设备的目标下载速率发送给所述第一终端设备,并根据所述第一终端设备的目标下载速率,向所述第一终端设备分配下载资源,以指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片。
通过该可能的实施方式提供的视频优化方法,通过上述将基站为第一终端设备确定的目标下载速率发送给第一终端设备,以及为第一终端设备分配下载资源的方式,基站以显式的方式指示第一终端设备根据第一终端设备的目标下载速率下载第一终端设备对应的当前视频分片,以使得基站覆盖范围内的所有的第一终端设备可以根据基站为其确定的目标下载速率,在同一下载周期下载第一终端设备对应的当前视频分片。
可选的,在第一方面的一种可能的实施方式中,所述基站根据所述第一终端设备的目标下载速率,调整所述第一终端设备的传输控制协议TCP下载速率,具体包括:
所述基站根据所述第一终端设备的目标下载速率,确定所述第一终端设备的拥塞窗口CWND的调整量;
所述基站根据所述第一终端设备的CWND的调整量,调整所述第一终端设备的CWND,以调整所述第一终端设备的TCP下载速率。
通过该可能的实施方式提供的视频优化方法,通过调整每个第一终端设备的CWND,可以达到调整每个第一终端设备的TCP下载速率的目的,使每个第一终端设备的TCP下载速率与目标下载速率相等,进而使得每个第一终端设备可以使用目标下载速率下载当前视频分片。
可选的,在第一方面的一种可能的实施方式中,所述基站根据所述第一终端设备的目标下载速率,确定所述第一终端设备的拥塞窗口CWND的调整量,具体包括:
所述基站根据所述第一终端设备的目标下载速率和
Figure PCTCN2016083467-appb-000001
确定所述第一终端设备的CWND的调整量;
其中,所述i为大于等于1的正整数,所述i表示所述第一终端设备为所述基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,所述Gi表示所述第一终端设备的目标下载速率,所述CWNDi表示所述第一终端设备的CWND的调整量,所述RTTi表示所述基站向所述第一终端设备发送的消息的往返时延。
可选的,在第一方面的一种可能的实施方式中,所述基站根据所述第一终端设备的目标下载速率,向所述第一终端设备分配下载资源,具体包括:
所述基站根据当前TTI时刻下所述第一终端设备的下载进度,获取当前TTI时刻的待调度用户集合;所述待调度用户集合包括所述当前视频分片未下载完成的第一终端设备和第二终端设备;所述第二终端设备为所述基站覆盖范围内正在进行网页数据业务的终端设备;
所述基站根据所述当前视频分片未下载完成的第一终端设备的QoE信息、所述第二终端设备的时延截止期限,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和所述第二终端设备在当前TTI时刻的第二优先级调整因子;
所述基站根据所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子,和,所述第二终端设备在当前TTI时刻的第二优先级调整因子,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级;
所述基站根据所述待调度用户集合中所有终端设备在当前TTI时刻的优先级、以及所述当前视频分片未下载完成的第一终端设备的目标下载速率,向所述当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
可选的,在第一方面的一种可能的实施方式中,所述基站根据所述当前视频分片未下载完成的第一终端设备的QoE信息,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子,具体包括:
若所述基站确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为初始缓存状态,则确定所述第一优先级调整因子αVideo(i)为预设的第一阈值;其中,所述αVideo(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子;
或,
若所述基站确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级小于预设的缓存等级下限,则确定所述第一优先级调整因子αVideo(i)为预设的第二阈值;
或,
若所述基站确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为播放后中断缓存状态,则确定所述第一优先级调整因子αVideo(i)为预设的第三阈值;
或,
若所述基站确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级位于预设的缓存等级上下限范围内,则确定所述第一优先级调整因子αVideo(i)为:
Figure PCTCN2016083467-appb-000002
其中,所述BufferLevel(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的缓存等级,所述DelayBudgetvideo为预设的常数。
可选的,在第一方面的一种可能的实施方式中,所述基站根据所述第二终端设备的时延截止期限,确定所述第二终端设备在当前TTI时刻的第二优先级调整因子,具体包括:
所述基站根据所述第二终端设备的时延截止期限DeadlineWeb(j)和
Figure PCTCN2016083467-appb-000003
确定所述第二终端设备在当前TTI时刻的第二优先级调整因子αWeb(j);
其中,所述j为大于等于1的正整数,所述j表示所述第二终端设备为所述基站覆盖范围内第j个正在进行网页数据业务的终端设备,所述DeadlineWeb(j)表示所述第二终端设备在当前TTI时刻的时延截止期限,所述αWeb(j)表示所述第二终端设备在当前TTI的第二优先级调整因子,所述DelayBudgetWeb为预设的常数。
可选的,在第一方面的一种可能的实施方式中,所述基站根据所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和所述第二终端设备在当前TTI时刻的第二优先级调整因子,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级,具体包括:
所述基站根据所述当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子、所述当前视频分片未下载完成的第一终端设备在当前TTI的比例公平PF调度优先级、所述第二终端设备在当前TTI的第二优先级调整因子、所述第二终端设备在当前TTI的PF调度优先级和预设的调整系数,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级。
可选的,在第一方面的一种可能的实施方式中,所述基站根据所述当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子、所述当前视频分片未下载完成的第一终端设备在当前TTI的比例公平PF调度优先级、所述第二终端设备在当前TTI的第二优先级调整因子、所述第二终端设备在当前TTI的PF调度优先级和预设的调整系数,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级,具体包括:
所述基站根据Priority(i)=γ1αVideo(i)·PF(i),确定所述待调度用户集合中所述当前视频分片未下载完成的第一终端设备在当前TTI的优先级;其中,所述PF(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的PF调度优先级,所述Priority(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的优先级,所述γ1为预设的调整系数;
所述基站根据Priority(j)=γ2αWeb(j)·PF(j),确定所述待调度用户集合中所述第二终端设备在当前TTI的优先级;其中,所述PF(j)表示所述第二终端设备在当前TTI的PF调度优先级,所述Priority(j)表示所述第二终端设备在当前 TTI的优先级,所述γ2为预设的调整系数。
可选的,在第一方面的一种可能的实施方式中,所述基站根据所述待调度用户集合中所有终端设备在当前TTI时刻的优先级、以及所述当前视频分片未下载完成的第一终端设备的目标下载速率,向所述当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源,具体包括:
所述基站根据所述待调度用户集合中的所述当前视频分片未下载完成的第一终端设备的目标下载速率、所述第一终端设备对应的当前视频分片时长、所述当前视频分片未下载完成的第一终端设备的当前视频分片下载量,确定所述当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量;
所述基站根据所述待调度用户集合中所有终端设备在当前TTI时刻的优先级,以及,所述当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量,向所述当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
可选的,在第一方面的一种可能的实施方式中,所述基站根据所述当前视频分片未下载完成的第一终端设备的QoE信息、所述第二终端设备的时延截止期限,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和所述第二终端设备在当前TTI时刻的第二优先级调整因子之前,所述方法还包括:
所述基站获取所述第二终端设备的时延截止期限。
可选的,在第一方面的一种可能的实施方式中,所述基站获取所述第二终端设备的时延截止期限,具体包括:
所述基站接收所述第二终端设备发送的所述第二终端设备的时延截止期限;
或,
所述基站根据所述第二终端设备的首包时延,确定所述第二终端设备的时延截止期限。
可选的,在第一方面的一种可能的实施方式中,所述基站根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率,具体包括:
所述基站根据所述第一终端设备的码率上下限、所述第一终端设备的信干噪比、所述基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、 所述基站覆盖范围内正在进行其他数据业务的终端设备的数量,和效用函数确定所述第一终端设备的目标下载速率;所述效用函数为:
Figure PCTCN2016083467-appb-000004
其中,所述效用函数的约束条件为
Figure PCTCN2016083467-appb-000005
所述i为大于等于1的正整数,所述i表示所述第一终端设备为所述基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,所述Gi表示所述第一终端设备的目标下载速率,所述Ωi(Gi)表示所述第一终端设备所占用的资源,所述∏(N)表示所述基站覆盖范围内正在进行视频下载数据业务的终端设备总共可用的资源;所述
Figure PCTCN2016083467-appb-000006
表示所述第一终端设备的码率下限,所述
Figure PCTCN2016083467-appb-000007
表示所述第一终端设备的码率上限。
第二方面,本发明实施例提供一种视频优化装置,所述装置包括:
确定模块,用于根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率;其中,所述视频参数信息包括:所述第一终端设备的体验质量QoE信息、所述第一终端设备的信干噪比、基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、所述基站覆盖范围内正在进行其他数据业务的终端设备的数量;所述第一终端设备为所述基站覆盖范围内正在进行视频下载数据业务的终端设备中的任一终端设备;
指示模块,用于指示所述第一终端设备根据所述确定模块确定的所述第一终端设备的目标下载速率,下载所述当前视频分片。
进一步地,在第二方面的一种可能的实施方式中,所述装置还包括:
第一获取模块,用于在所述确定模块根据所述视频参数信息确定所述第一终端设备下载所述当前视频分片的目标下载速率之前,获取所述第一终端设备的QoE信息。
可选的,在第二方面的一种可能的实施方式中,所述第一获取模块,具体用于接收所述第一终端设备发送的QoE信息;
或,
所述第一获取模块,具体用于根据所述第一终端设备的历史下载分片信息,确定所述第一终端设备的QoE信息;所述历史下载分片信息包括:所述第一终端设备对应的视频服务器支持的码率上下限、所述第一终端设备历史分片下载数据量和历史分片下载间隔。
可选的,在第二方面的一种可能的实施方式中,所述指示模块包括:
调整单元,用于根据所述第一终端设备的目标下载速率,调整所述第一终端设备的传输控制协议TCP下载速率;
第一分配单元,用于根据所述第一终端设备的目标下载速率,向所述第一终端设备分配下载资源,以指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片。
可选的,在第二方面的一种可能的实施方式中,所述指示模块包括:
发送单元,用于将所述第一终端设备的目标下载速率发送给所述第一终端设备;
第二分配单元,用于根据所述第一终端设备的目标下载速率,向所述第一终端设备分配下载资源,以指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片。
可选的,在第二方面的一种可能的实施方式中,所述调整单元,具体用于根据所述第一终端设备的目标下载速率,确定所述第一终端设备的拥塞窗口CWND的调整量,并根据所述第一终端设备的CWND的调整量,调整所述第一终端设备的CWND,以调整所述第一终端设备的TCP下载速率。
可选的,在第二方面的一种可能的实施方式中,所述调整单元,用于根据所述第一终端设备的目标下载速率,确定所述第一终端设备的拥塞窗口CWND的调整量,具体为:
所述调整单元,具体用于根据所述第一终端设备的目标下载速率和
Figure PCTCN2016083467-appb-000008
确定所述第一终端设备的CWND的调整量;
其中,所述i为大于等于1的正整数,所述i表示所述第一终端设备为所述基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,所述Gi表示所述第一终端设备的目标下载速率,所述CWNDi表示所述第一终端设备的CWND的调整量,所述RTTi表示所述基站向所述第一终端设备发送的消息的往返时延。
可选的,在第二方面的一种可能的实施方式中,所述第一分配单元包括:
获取子单元,用于根据当前TTI时刻下所述第一终端设备的下载进度,获取当前TTI时刻的待调度用户集合;所述待调度用户集合包括所述当前视频分片未下载完成的第一终端设备和第二终端设备;所述第二终端设备为所 述基站覆盖范围内正在进行网页数据业务的终端设备;
第一确定子单元,用于根据所述当前视频分片未下载完成的第一终端设备的QoE信息、所述第二终端设备的时延截止期限,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和所述第二终端设备在当前TTI时刻的第二优先级调整因子;
第二确定子单元,用于根据所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子,和,所述第二终端设备在当前TTI时刻的第二优先级调整因子,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级;
分配子单元,用于根据所述待调度用户集合中所有终端设备在当前TTI时刻的优先级、以及所述当前视频分片未下载完成的第一终端设备的目标下载速率,向所述当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
可选的,在第二方面的一种可能的实施方式中,所述第一确定子单元,用于根据所述当前视频分片未下载完成的第一终端设备的QoE信息,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子,具体为:
所述第一确定子单元,具体用于在确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为初始缓存状态时,确定所述第一优先级调整因子αVideo(i)为预设的第一阈值;其中,所述αVideo(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子;
或,在确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级小于预设的缓存等级下限时,确定所述第一优先级调整因子αVideo(i)为预设的第二阈值;
或,在确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为播放后中断缓存状态时,确定所述第一优先级调整因子αVideo(i)为预设的第三阈值;
或,在确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级位于预设的缓存等级上下限范围内时,确定所述第一优先级调整因子αVideo(i)为:
Figure PCTCN2016083467-appb-000009
其中,所述BufferLevel(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的缓存等级,所述DelayBudgetvideo为预设的常数。
可选的,在第二方面的一种可能的实施方式中,所述第一确定子单元,用于根据所述第二终端设备的时延截止期限,确定所述第二终端设备在当前TTI时刻的第二优先级调整因子,具体为:
所述第一确定子单元,具体用于根据所述第二终端设备的时延截止期限DeadlineWeb(j)和
Figure PCTCN2016083467-appb-000010
确定所述第二终端设备在当前TTI时刻的第二优先级调整因子αWeb(j);
其中,所述j为大于等于1的正整数,所述j表示所述第二终端设备为所述基站覆盖范围内第j个正在进行网页数据业务的终端设备,所述DeadlineWeb(j)表示所述第二终端设备在当前TTI时刻的时延截止期限,所述αWeb(j)表示所述第二终端设备在当前TTI的第二优先级调整因子,所述DelayBudgetWeb为预设的常数。
可选的,在第二方面的一种可能的实施方式中,所述第二确定子单元,具体用于根据所述当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子、所述当前视频分片未下载完成的第一终端设备在当前TTI的比例公平PF调度优先级、所述第二终端设备在当前TTI的第二优先级调整因子、所述第二终端设备在当前TTI的PF调度优先级和预设的调整系数,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级。
可选的,在第二方面的一种可能的实施方式中,所述第二确定子单元,具体用于根据Priority(i)=γ1αVideo(i)·PF(i),确定所述待调度用户集合中所述当前视频分片未下载完成的第一终端设备在当前TTI的优先级,并根据Priority(j)=γ2αWeb(j)·PF(j),确定所述待调度用户集合中所述第二终端设备在当前TTI的优先级;
其中,所述PF(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的PF调度优先级,所述Priority(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的优先级,所述γ1为预设的调整系数,所述PF(j)表示所述第二终端设备在当前TTI的PF调度优先级,所述Priority(j)表示所述第二终端设备在当前TTI的优先级,所述γ2为预设的调整系数。
可选的,在第二方面的一种可能的实施方式中,所述分配子单元,具体用于根据所述待调度用户集合中的所述当前视频分片未下载完成的第一终端设备的目标下载速率、所述第一终端设备对应的当前视频分片时长、所述当前视频分片未下载完成的第一终端设备的当前视频分片下载量,确定所述当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量,并根据所述待调度用户集合中所有终端设备在当前TTI时刻的优先级,以及,所述当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量,向所述当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
可选的,在第二方面的一种可能的实施方式中,所述装置还包括:
第二获取模块,用于在所述第一确定子单元根据所述当前视频分片未下载完成的第一终端设备的QoE信息、所述第二终端设备的时延截止期限,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和所述第二终端设备在当前TTI时刻的第二优先级调整因子之前,获取所述第二终端设备的时延截止期限。
可选的,在第二方面的一种可能的实施方式中,所述第二获取模块,具体用于接收所述第二终端设备发送的所述第二终端设备的时延截止期限;
或,
所述第二获取模块,具体用于根据所述第二终端设备的首包时延,确定所述第二终端设备的时延截止期限。
可选的,在第二方面的一种可能的实施方式中,所述确定模块,具体用于根据所述第一终端设备的码率上下限、所述第一终端设备的信干噪比、所述基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、所述基站覆盖范围内正在进行其他数据业务的终端设备的数量和效用函数确定所述第一终端设备的目标下载速率;所述效用函数为:
Figure PCTCN2016083467-appb-000011
其中,所述效用函数的约束条件为
Figure PCTCN2016083467-appb-000012
所述i为大于等于1的正整数,所述i表示所述第一终端设备为所述基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,所述Gi表示所述第一终端设备的目标下载速率,所述Ωi(Gi)表示所述第一终端设备所占用的资源, 所述∏(N)表示所述基站覆盖范围内正在进行视频下载数据业务的终端设备总共可用的资源;所述
Figure PCTCN2016083467-appb-000013
表示所述第一终端设备的码率下限,所述
Figure PCTCN2016083467-appb-000014
表示所述第一终端设备的码率上限。
上述第二方面以及第二方面的各可能的实施方式所提供的视频优化装置,其有益效果可以参见上述第一方面和第一方面的各可能的实施方式所带来的有益效果,在此不再赘述。
第三方面,本发明实施例提供一种视频优化装置,所述装置包括:
处理器,用于根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率,并指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片;其中,所述视频参数信息包括:所述第一终端设备的体验质量QoE信息、所述第一终端设备的信干噪比、所述基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、所述基站覆盖范围内正在进行其他数据业务的终端设备的数量,所述第一终端设备为所述基站覆盖范围内正在进行视频下载数据业务的终端设备中的任一终端设备。
进一步地,在第三方面的一种可能的实施方式中,所述处理器,还用于在根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率之前,获取所述第一终端设备的QoE信息。
可选的,在第三方面的一种可能的实施方式中,所述装置还包括:接收器;则所述处理器,用于获取所述第一终端设备的QoE信息,具体为:
所述处理器,具体用于通过所述接收器接收所述第一终端设备发送的QoE信息;
或,
所述处理器,具体用于根据所述第一终端设备的历史下载分片信息,确定所述第一终端设备的QoE信息;所述历史下载分片信息包括:所述第一终端设备对应的视频服务器支持的码率上下限、所述第一终端设备历史分片下载数据量和历史分片下载间隔。
可选的,在第三方面的一种可能的实施方式中,所述处理器,用于指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片,具体为:
所述处理器,具体用于根据所述第一终端设备的目标下载速率,调整所 述第一终端设备的传输控制协议TCP下载速率,并根据所述第一终端设备的目标下载速率,向所述第一终端设备分配下载资源,以指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片。
可选的,在第三方面的一种可能的实施方式中,所述装置还包括:发送器;
所述处理器,用于指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片,具体为:
所述处理器,具体用于指示所述发送器将所述第一终端设备的目标下载速率发送给所述第一终端设备,并根据所述第一终端设备的目标下载速率,向所述第一终端设备分配下载资源,以指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片。
可选的,在第三方面的一种可能的实施方式中,所述处理器,用于根据所述第一终端设备的目标下载速率,调整所述第一终端设备的传输控制协议TCP下载速率,具体为:
所述处理器,具体用于根据所述第一终端设备的目标下载速率,确定所述第一终端设备的拥塞窗口CWND的调整量,并根据所述第一终端设备的CWND的调整量,调整所述第一终端设备的CWND,以调整所述第一终端设备的TCP下载速率。
可选的,在第三方面的一种可能的实施方式中,所述处理器,用于根据所述第一终端设备的目标下载速率,确定所述第一终端设备的拥塞窗口CWND的调整量,具体为:
所述处理器,具体用于根据所述第一终端设备的目标下载速率和
Figure PCTCN2016083467-appb-000015
确定所述第一终端设备的CWND的调整量;
其中,所述i为大于等于1的正整数,所述i表示所述第一终端设备为所述基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,所述Gi表示所述第一终端设备的目标下载速率,所述CWNDi表示所述第一终端设备的CWND的调整量,所述RTTi表示所述基站向所述第一终端设备发送的消息的往返时延。
可选的,在第三方面的一种可能的实施方式中,所述处理器,用于根据所述第一终端设备的目标下载速率,向所述第一终端设备分配下载资源,具 体为:
所述处理器,具体用于根据当前TTI时刻下所述第一终端设备的下载进度,获取当前TTI时刻的待调度用户集合;所述待调度用户集合包括所述当前视频分片未下载完成的第一终端设备和第二终端设备;所述第二终端设备为所述基站覆盖范围内正在进行网页数据业务的终端设备;
根据所述当前视频分片未下载完成的第一终端设备的QoE信息、所述第二终端设备的时延截止期限,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和所述第二终端设备在当前TTI时刻的第二优先级调整因子;
根据所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子,和,所述第二终端设备在当前TTI时刻的第二优先级调整因子,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级;
根据所述待调度用户集合中所有终端设备在当前TTI时刻的优先级、以及所述当前视频分片未下载完成的第一终端设备的目标下载速率,向所述当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
可选的,在第三方面的一种可能的实施方式中,所述处理器,用于根据所述当前视频分片未下载完成的第一终端设备的QoE信息,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子,具体为:
所述处理器,具体用于在确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为初始缓存状态时,确定所述第一优先级调整因子αVideo(i)为预设的第一阈值;其中,所述αVideo(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子;
或,在确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级小于预设的缓存等级下限时,确定所述第一优先级调整因子αVideo(i)为预设的第二阈值;
或,在确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为播放后中断缓存状态时,确定所述第一优先级调整因子αVideo(i)为预设的第三阈值;
或,在确定所述当前视频分片未下载完成的第一终端设备在当前TTI的 视频播放状态为正常播放状态、且在当前TTI的缓存等级位于预设的缓存等级上下限范围内时,确定所述第一优先级调整因子αVideo(i)为:
Figure PCTCN2016083467-appb-000016
其中,所述BufferLevel(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的缓存等级,所述DelayBudgetvideo为预设的常数。
可选的,在第三方面的一种可能的实施方式中,所述处理器,用于根据所述第二终端设备的时延截止期限,确定所述第二终端设备在当前TTI时刻的第二优先级调整因子,具体为:
所述处理器,具体用于根据所述第二终端设备的时延截止期限DeadlineWeb(j)和
Figure PCTCN2016083467-appb-000017
确定所述第二终端设备在当前TTI时刻的第二优先级调整因子αWeb(j);
其中,所述j为大于等于1的正整数,所述j表示所述第二终端设备为所述基站覆盖范围内第j个正在进行网页数据业务的终端设备,所述DeadlineWeb(j)表示所述第二终端设备在当前TTI时刻的时延截止期限,所述αWeb(j)表示所述第二终端设备在当前TTI的第二优先级调整因子,所述DelayBudgetWeb为预设的常数。
可选的,在第三方面的一种可能的实施方式中,所述处理器,用于根据所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和所述第二终端设备在当前TTI时刻的第二优先级调整因子,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级,具体为:
所述处理器,具体用于根据所述当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子、所述当前视频分片未下载完成的第一终端设备在当前TTI的比例公平PF调度优先级、所述第二终端设备在当前TTI的第二优先级调整因子、所述第二终端设备在当前TTI的PF调度优先级和预设的调整系数,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级。
可选的,在第三方面的一种可能的实施方式中,所述处理器,用于根据所述当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子、所述当前视频分片未下载完成的第一终端设备在当前TTI的比例公平PF调度优先级、所述第二终端设备在当前TTI的第二优先级调整因子、所述 第二终端设备在当前TTI的PF调度优先级和预设的调整系数,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级,具体为:
所述处理器,具体用于根据Priority(i)=γ1αVideo(i)·PF(i),确定所述待调度用户集合中所述当前视频分片未下载完成的第一终端设备在当前TTI的优先级,并根据Priority(j)=γ2αWeb(j)·PF(j),确定所述待调度用户集合中所述第二终端设备在当前TTI的优先级;
其中,所述PF(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的PF调度优先级,所述Priority(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的优先级,所述γ1为预设的调整系数;所述PF(j)表示所述第二终端设备在当前TTI的PF调度优先级,所述Priority(j)表示所述第二终端设备在当前TTI的优先级,所述γ2为预设的调整系数。
可选的,在第三方面的一种可能的实施方式中,所述处理器,用于根据所述待调度用户集合中所有终端设备在当前TTI时刻的优先级、以及所述当前视频分片未下载完成的第一终端设备的目标下载速率,向所述当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源,具体为:
所述处理器,具体用于根据所述待调度用户集合中的所述当前视频分片未下载完成的第一终端设备的目标下载速率、所述第一终端设备对应的当前视频分片时长、所述当前视频分片未下载完成的第一终端设备的当前视频分片下载量,确定所述当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量,并根据所述待调度用户集合中所有终端设备在当前TTI时刻的优先级,以及,所述当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量,向所述当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
可选的,在第三方面的一种可能的实施方式中,所述处理器,还用于在根据所述当前视频分片未下载完成的第一终端设备的QoE信息、所述第二终端设备的时延截止期限,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和所述第二终端设备在当前TTI时刻的第二优先级调整因子之前,获取所述第二终端设备的时延截止期限。
可选的,在第三方面的一种可能的实施方式中,所述处理器,用于获取所述第二终端设备的时延截止期限,具体为:
所述处理器,具体用于通过所述接收器接收所述第二终端设备发送的所述第二终端设备的时延截止期限;
或,
所述处理器,具体用于根据所述第二终端设备的首包时延,确定所述第二终端设备的时延截止期限。
可选的,在第三方面的一种可能的实施方式中,所述处理器,用于根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率,具体为:
所述处理器,具体用于根据所述第一终端设备的码率上下限、所述第一终端设备的信干噪比、所述基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、所述基站覆盖范围内正在进行其他数据业务的终端设备的数量和效用函数确定所述第一终端设备的目标下载速率;所述效用函数为:
Figure PCTCN2016083467-appb-000018
其中,所述效用函数的约束条件为
Figure PCTCN2016083467-appb-000019
所述i为大于等于1的正整数,所述i表示所述第一终端设备为所述基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,所述Gi表示所述第一终端设备的目标下载速率,所述Ωi(Gi)表示所述第一终端设备所占用的资源,所述∏(N)表示所述基站覆盖范围内正在进行视频下载数据业务的终端设备总共可用的资源;所述
Figure PCTCN2016083467-appb-000020
表示所述第一终端设备的码率下限,所述
Figure PCTCN2016083467-appb-000021
表示所述第一终端设备的码率上限。
上述第三方面以及第三方面的各可能的实施方式所提供的视频优化装置,其有益效果可以参见上述第一方面和第一方面的各可能的实施方式所带来的有益效果,在此不再赘述。
结合上述第一方面以及第一方面的各可能的实施方式、第二方面以及第二方面的各可能的实施方式、第三方面以及第三方面的各可能的实施方式,所述第一终端设备的体验质量QoE信息包括:所述第一终端设备的码率上下限、所述第一终端设备的视频播放状态、所述第一终端设备的缓存等级、所述第一终端设备对应的当前视频分片时长。
第四方面,本发明实施例提供一种基站,所述基站包括上述第二方面以及第二发面的各可能的实施方式所提供的视频优化装置。
上述第四方面所提供的基站,其有益效果可以参见上述第一方面和第一 方面的各可能的实施方式所带来的有益效果,在此不再赘述。
[根据细则91更正 13.06.2016] 
本发明实施例提供的视频优化方法和装置,基站通过为其覆盖范围内的第一终端设备确定第一终端设备的目标下载速率,并指示第一终端设备根据其目标下载速率在同一下载周期下载第一终端设备对应的当前视频分片的方式,可以减少用户在通过第一终端设备观看视频时视频分片的码率的切换的频率,进而可以减少视频质量变化的次数,从而可以提高用户体验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的视频优化方法的系统架构图;
图2为本发明实施例提供的视频优化方法实施例一的流程示意图;
图3为本发明实施例提供的视频优化方法实施例二的流程示意图;
图4为本发明实施例提供的视频优化方法实施例三的流程示意图;
图5为本发明实施例提供的视频优化装置实施例一的结构示意图;
图6为本发明实施例提供的视频优化装置实施例二的结构示意图;
图7为本发明实施例提供的视频优化装置实施例三的结构示意图;
图8为本发明实施例提供的视频优化装置实施例四的结构示意图;
图9为本发明实施例提供的视频优化装置实施例五的结构示意图;
图10为本发明实施例提供的视频优化装置实施例六的结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例涉及的终端设备,可以是指向用户提供语音和/或数据连通 性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(Radio Access Network,RAN)与一个或多个核心网进行通信,无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,例如,可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(PCS,Personal Communication Service)电话、无绳电话、会话发起协议(SIP)话机、无线本地环路(WLL,Wireless Local Loop)站、个人数字助理(PDA,Personal Digital Assistant)等设备。无线终端也可以称为系统、订户单元(Subscriber Unit)、订户站(Subscriber Station),移动站(Mobile Station)、移动台(Mobile)、远程站(Remote Station)、接入点(Access Point)、远程终端(Remote Terminal)、接入终端(Access Terminal)、用户终端(User Terminal)、用户代理(User Agent)、用户设备(User Device)、或用户装备(User Equipment)。”
本发明实施例涉及的基站,可以是指接入网中在空中接口上通过一个或多个扇区与无线终端通信的设备。基站可用于将收到的空中帧与IP分组进行相互转换,作为无线终端与接入网的其余部分之间的路由器,其中接入网的其余部分可以包括网际协议(IP)网络。另外,基站还可协调对空中接口的属性管理。可选的,基站可以是LTE中的演进型基站(NodeB或eNB或e-NodeB,evolutional Node B)。
图1为本发明实施例提供的视频优化方法的系统架构图,如图1所示,本发明实施例提供的视频优化方法可以适用于长期演进(Long Term Evolution,简称:LTE)系统,该系统包括基站和基站覆盖范围内的终端设备等,终端设备可以通过基站从视频服务器上下载视频分片。其中,本实施例所涉及的基站可以为集成有传输控制协议(Transmission Control Protocol,简称:TCP)代理和调度器的基站。本领域技术人员可以理解的是,若TCP代理与基站为相互独立存在的设备,则上述LTE系统还可以包括TCP代理,本发明对此不再赘述。另外,本发明实施例所提供的视频优化方法,包括但不限于以上应用场景,只要涉及终端设备采用自适应请求码率的方式下载视频的所有场景,均可以采用本发明实施例所提供的视频优化方法。
本发明实施例所涉及的视频优化方法,旨在解决现有技术中的终端设备 采用自适应请求码率的方式下载视频分片的效果不佳的技术问题。
下面以具体地实施例对本发明的技术方案以及本发明的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。
图2为本发明实施例提供的视频优化方法实施例一的流程示意图。本实施例一涉及的是基站根据视频参数信息,确定其覆盖范围内的第一终端设备的目标下载速率,使得其覆盖范围内第一终端设备可以根据该目标下载速率下载第一终端设备对应的当前视频分片的具体过程。如图2所示,该方法可以包括:
S201、基站根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率。
其中,上述视频参数信息包括:每个第一终端设备的体验质量(Quality of Equipment,简称:QoE)信息、每个第一终端设备的信干噪比(Signal to Interference plus Noise Ratio,简称:SINR)、基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、基站覆盖范围内正在进行其他数据业务的终端设备的数量。
具体的,上述第一终端设备可以为基站覆盖范围内正在进行视频下载数据业务的终端设备中的任一终端设备(即正在使用视频业务的终端设备),上述所说的基站覆盖范围内正在进行其他数据业务的终端设备,可以为正在进行除视频下载之外的数据业务的终端设备,例如:使用网页数据业务的终端设备、进行文件下载数据业务的终端设备等。其中,上述第一终端设备采用自适应请求码率的方式从视频服务器上下载视频分片,即第一终端设备将下载第一终端设备对应的每个上一视频分片的下载速率作为第一终端设备对应的每个当前视频分片的码率,通过基站向视频服务器请求下载与该码率对应的当前视频分片。
在本实施例中,上述基站可以在其覆盖范围内的第一终端设备下载第一终端设备对应的当前视频分片之前,根据视频参数信息确定第一终端设备下载第一终端设备对应的当前视频分片的目标下载速率,其中,该视频参数信息涵盖了第一终端设备的实际情况(即能够反映用户体验的第一终端设备的QoE信息、能够反映信道条件的第一终端设备的SINR),以及, 基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、基站覆盖范围内正在进行其他数据业务的终端设备的数量,使得基站可以综合其覆盖范围的正在进行数据业务的终端设备的数量、第一终端设备的实际情况、以及系统带宽资源,为第一终端设备确定适合第一终端设备的目标下载速率。
S202、基站指示第一终端设备根据第一终端设备的目标下载速率下载当前视频分片。
具体的,当上述基站为基站覆盖范围内的第一终端设备确定了适合第一终端设备的目标下载速率之后,基站就可以指示第一终端设备根据第一终端设备的目标下载速率下载第一终端设备对应的当前视频分片,以使得基站覆盖范围内的所有的第一终端设备可以根据基站为其确定的目标下载速率,在同一下载周期下载第一终端设备对应的当前视频分片。其中,这里所说的下载周期所对应的时长具体可以根据用户的需求确定,具体实现时,可以将上述下载周期的时长设置为大于或等于基站覆盖范围内的任一第一终端设备所要下载的当前视频分片的时长。
现有技术中,由于基站覆盖范围内的每个第一终端设备下载每个视频分片的下载周期不同,使得每个第一终端设备在下载每个第一终端设备对应的每个视频分片时,基站覆盖范围内与该第一终端设备一起竞争系统带宽资源的其他第一终端设备的数量不同,进而导致基站为第一终端设备分配的下载每个视频分片的下载速率都不同。因此,当第一终端设备将下载每个当前视频分片的下载速率作为每个当前视频分片的下一视频分片的码率来向视频服务器请求下载每个当前视频分片的下一视频分片时(即第一终端设备采用自适应请求码率的方式下载视频分片时),会导致第一终端设备所下载的每个当前视频分片和每个当前视频分片的下一视频分片的码率不同,由于视频分片的码率与视频的质量有关,所以第一终端设备所下载的每个当前视频分片和每个当前视频分片的下一视频分片的质量也就不同(例如当前视频分片的质量为标清,当前视频分片的下一视频分片的质量为高清),导致现有技术中用户在通过第一终端设备观看视频时,视频分片的码率不停的切换,即视频质量不停的变化,用户体验较差。
而本实施例提供的视频优化方法,基站可以在其覆盖范围内的第一终端 设备下载第一终端设备对应的每个当前视频分片之前,根据其覆盖范围内的所有第一终端设备的实际情况,以及,其覆盖范围内正在进行视频下载数据业务的终端设备的数量,为第一终端设备确定适合该第一终端设备的目标下载速率,并指示第一终端设备根据该目标下载速率,可以在同一下载周期下载第一终端设备对应的当前视频分片,避免了第一终端设备在下载第一终端设备对应的每个当前视频分片时,基站覆盖范围内与该第一终端设备一起竞争系统带宽资源的其他第一终端设备的数量不同的情况,进而可以避免基站为第一终端设备分配的下载第一终端设备对应的每个当前视频分片的下载速率都不同的情况,从而使得第一终端设备在将下载第一终端设备对应的每个当前视频分片的目标下载速率作为第一终端设备对应的每个当前视频分片的下一视频分片的码率,来向视频服务器请求下载与该码率(即目标下载速率)对应的下一视频分片时,所下载的第一终端设备对应的每个当前视频分片的码率和第一终端设备对应的每个当前视频分片的下一视频分片的码率近乎相同,减少了用户在通过第一终端设备观看视频时视频分片的码率的切换的频率,进而减少了视频质量变化的次数,提高了用户体验。
本发明实施例提供的视频优化方法,基站通过为其覆盖范围内的第一终端设备确定第一终端设备的目标下载速率,并指示第一终端设备根据其目标下载速率在同一下载周期下载第一终端设备对应的当前视频分片的方式,可以减少用户在通过第一终端设备观看视频时视频分片的码率的切换的频率,进而可以减少视频质量变化的次数,从而可以提高用户体验。
如上述实施例所说,上述基站用于确定其覆盖范围内的第一终端设备下载第一终端设备对应的当前视频分片的目标下载速率的视频参数信息包括:第一终端设备的QoE信息、第一终端设备的SINR、基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、基站覆盖范围内正在进行其他数据业务的终端设备的数量,则在上述S201之前,该方法还可以包括:基站获取第一终端设备的QoE信息、第一终端设备的SINR、基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、基站覆盖范围内正在进行其他数据业务的终端设备的数量。
具体的,上述基站可以实时的、或周期性的获取其覆盖范围内的第一终端设备的QoE信息、第一终端设备的SINR、基站覆盖范围内正在进行视频 下载数据业务的终端设备的数量、基站覆盖范围内正在进行其他数据业务的终端设备的数量。其中,本发明对上述基站如何获取第一终端设备的QoE信息、第一终端设备的SINR、基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、基站覆盖范围内正在进行其他数据业务的终端设备的数量的方式不进行限定,例如:上述基站可以通过第一终端设备发送的信道质量指示(Channel Quality Indicator,简称:CQI)获取第一终端设备的SINR,可以通过终端设备所请求的业务类型统计出基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、以及基站覆盖范围内正在进行其他数据业务的终端设备的数量,可以通过与第一终端设备之间的接口,接收第一终端设备发送给基站的QoE信息。其中,该第一终端设备的QoE信息可以包括:第一终端设备的码率上下限(即第一终端设备所能够请求的视频分片的最大码率和最小码率)、第一终端设备的视频播放状态、第一终端设备的缓存等级、第一终端设备对应的当前视频分片时长等。
可选的,基站还可以根据其统计的其覆盖范围内的第一终端设备的历史下载分片信息,确定第一终端设备的QoE信息;其中,该历史下载分片信息可以包括:第一终端设备对应的视频服务器支持的码率上下限、第一终端设备历史分片下载数据量和历史分片下载间隔,具体实施时,上述基站可以将第一终端设备对应的视频服务器所支持的码率上下限作为第一终端设备的码率上下限,可以通过第一终端设备历史分片下载数据量和历史分片下载周期来估算第一终端设备的视频播放状态、第一终端设备的缓存等级以及第一终端设备对应的当前视频分片时长等,其中,如何通过第一终端设备历史分片下载数据量和历史分片下载周期来估算第一终端设备的视频播放状态、第一终端设备的缓存等级以及第一终端设备对应的当前视频分片时长,可以参见现有技术,本发明对此不再赘述。
下面以两个具体的示例来对本发明实施例提供的视频优化方法进行详细的介绍,具体地:
示例一:图3为本发明实施例提供的视频优化方法实施例二的流程示意图。在本实施例中,基站覆盖范围内正在进行视频下载数据业务的终端设备均为第一终端设备,本实施例二涉及的是基站根据每个第一终端设备的目标下载速率,调整每个第一终端设备的TCP下载速率,并根据每个第一终端设 备的目标下载速率,向每个第一终端设备分配下载资源,以隐式的方式指示每个第一终端设备根据每个第一终端设备的目标下载速率下载当前视频分片的具体过程。如图3所示,该方法包括:
S301、基站根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率。
具体的,上述基站可以在其覆盖范围内的第一终端设备下载其第一终端设备对应的当前视频分片之前,根据其覆盖范围内的第一终端设备的QoE信息中的第一终端设备的码率上下限、第一终端设备的SINR、基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、基站覆盖范围内正在进行其他数据业务的终端设备的数量,以及效用函数来确定第一终端设备的目标下载速率,该效用函数具体可以用如下公式(1)来表示:
Figure PCTCN2016083467-appb-000022
其中,上述效用函数的约束条件为
Figure PCTCN2016083467-appb-000023
i为大于等于1的正整数,i表示第一终端设备为基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,Gi表示第一终端设备的目标下载速率,Ωi(Gi)表示第一终端设备所占用的资源,∏(N)表示基站覆盖范围内正在进行视频下载数据业务的终端设备总共可用的系统带宽资源;
Figure PCTCN2016083467-appb-000024
表示第一终端设备的码率下限,
Figure PCTCN2016083467-appb-000025
表示第一终端设备的码率上限。
具体实现时,上述基站可以采用如下步骤1)-6),以虚拟调度的方式来解上述效用函数,以确定基站覆盖范围内的每个第一终端设备的目标下载速率,具体地:
1)初始化基站覆盖范围内的每个第一终端设备的目标下载速率;其中,这里所说的初始化例如可以为将第一终端设备的目标下载速率设置为0。
2)在预设的虚拟调度周期内的每个TTI时刻进行虚拟调度之前,使用阿尔法滤波算法更新每个第一终端设备的信道的SINR,并根据基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、基站覆盖范围内正在进行其他数据业务的终端设备的数量,更新基站覆盖范围内正在进行视频下载数据业务的终端设备总共可用的系统带宽资源;其中,预设的虚拟调度周期可以大于或等于基站覆盖范围内的任一第一终端设备对应的当前视频分片时长。
3)在预设的虚拟调度周期内的每个TTI时刻,使用效用函数确定每个第 一终端设备在当前TTI时刻的虚拟下载速率。
4)在预设的虚拟调度周期内的每个TTI时刻,根据每个第一终端设备在当前TTI时刻的虚拟下载速率,对每个第一终端设备进行分组。
例如:若第一终端设备在当前TTI时刻的虚拟下载速率小于第一终端设备的码率下限,则将该第一终端设备划分至第一组;若第一终端设备在当前TTI时刻的虚拟下载速率小于第一终端设备的码率上下限范围内,则将该第一终端设备划分至第二组;若第一终端设备在当前TTI时刻的虚拟下载速率大于第一终端设备的码率上限,则将该第一终端设备划分至第三组。
5)在预设的虚拟调度周期内的每个TTI时刻,根据当前TTI时刻的分组,对每个第一终端设备进行虚拟调度。
例如:在当前TTI时刻,若第一组中存在至少一个第一终端设备,则确定该组中在当前TTI时刻与第一终端设备的码率下限相差最多的第一终端设备,优先将基站的系统带宽资源分配给该第一终端设备;
或,
在当前TTI时刻,若第一组为空(即第一组无第一终端设备)、且第二组中存在至少一个第一终端设备,则在当前TTI时刻使用比例公平准则为该组中的第一终端设备分配基站的系统带宽资源;同时,使用阿尔法滤波算法更新该第一终端设备以及未被调度的第一终端设备在下一TTI时刻的虚拟下载速率。
6)在预设的虚拟调度周期内的每个TTI时刻,重复执行上述2)-5),直至虚拟调度周期的最后一个TTI时刻,从而可以根据第一终端设备在每个TTI时刻的虚拟下载速率,确定第一终端设备在该虚拟调度周期内的平均虚拟下载速率,即第一终端设备的目标下载速率。
可选的,上述基站还可以根据视频参数信息,采用现有的方式确定基站覆盖范围内的每个第一终端设备下载当前视频分片时的目标下载速率,本发明对此不再赘述。
S302、基站根据第一终端设备的目标下载速率,调整第一终端设备的TCP下载速率。
具体的,基站可以根据为每个第一终端设备确定的目标下载速率,确定每个第一终端设备的拥塞窗口(congestion window,简称:CWND)的调整量,进而根据该CWND的调整量,调整每个第一终端设备的CWND。由于 CWND可以决定TCP速率的大小,因此,通过调整每个第一终端设备的CWND,可以达到调整每个第一终端设备的TCP下载速率的目的,使每个第一终端设备的TCP下载速率与目标下载速率相等,进而使得每个第一终端设备可以使用目标下载速率下载当前视频分片。具体实现时,上述基站可以根据每个第一终端设备的目标下载速率和公式(2),确定每个第一终端设备的CWND的调整量;其中,上述公式(2)具体可以为:
Figure PCTCN2016083467-appb-000026
其中,i为大于等于1的正整数,i表示第一终端设备为基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,Gi表示第一终端设备的目标下载速率,CWNDi表示第一终端设备的CWND的调整量,RTTi表示基站向第一终端设备发送的消息的往返时延。
可选的,基站还可以根据每个第一终端设备的目标下载速率,确定可以决定TCP速率大小的其他参数的调整量,进而通过调整该其他参数,来达到调整每个第一终端设备的TCP下载速率的目的,由于实现方式和实现原理与上述调整第一终端设备的CWND的方式类似,本发明对此不再赘述。
需要说明的是,当上述基站中集成有TCP代理时,可以通过上述S302的步骤就可以实现对每个第一终端设备的TCP下载速率的调整。若上述基站与TCP代理为相互独立存在的设备时,则上述S302还可以用如下步骤替换:基站将每个第一终端设备的目标下载速率发送给TCP代理,以指示TCP代理根据每个第一终端设备的目标下载速率,调整每个第一终端设备的TCP下载速率。其中,该步骤的具体实现过程可以参见现有技术,本发明对此不再赘述。
S303、基站根据第一终端设备的目标下载速率,向第一终端设备分配下载资源。
具体的,上述基站可以根据每个第一终端设备的目标下载速率,在同一下载周期向每个第一终端设备分配下载资源,以使得每个第一终端设备可以通过该资源下载当前视频分片。可选的,基站可以在该下载周期的每个TTI时刻为每个第一终端设备分配下载资源,也可以在该下载周期的第一个TTI时刻开始前,确定该下载周期的所有TTI时刻的每个第一终端设备的下载资源。
以基站在该下载周期的每个TTI时刻为每个第一终端设备确定每个第一终端设备的下载资源为例,则上述S303可以通过如下几个步骤来实现,具体 地:
步骤A:基站根据当前TTI时刻下每个第一终端设备的下载进度,获取当前TTI时刻的待调度用户集合;待调度用户集合包括当前视频分片未下载完成的第一终端设备和第二终端设备;第二终端设备为基站覆盖范围内正在进行网页数据业务的终端设备。
具体的,基站可以在该下载周期的每个当前TTI时刻开始时,根据每个当前TTI时刻下每个第一终端设备的下载进度,筛选出在该当前TTI时刻还未下载完当前视频分片的第一终端设备以及所有第二终端设备,将这些终端设备作为该当前TTI时刻的待调度用户集合,而对已经下载完当前视频分片的第一终端设备,则在该下载周期内不再为该第一终端设备调度任何资源。其中,上述基站可以根据每个第一终端设备的QoE信息中的第一终端设备对应的当前视频分片时长、以及目标下载速率,确定第一终端设备的当前视频分片的待下载的数据量,进而根据每个当前TTI时刻下每个第一终端设备已下载的当前视频分片的数据量和每个第一终端设备的当前视频分片的待下载的数据量,确定当前TTI时刻下的每个第一终端设备的下载进度。
步骤B:基站根据当前视频分片未下载完成的第一终端设备的QoE信息、第二终端设备的时延截止期限,确定当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和第二终端设备在当前TTI时刻的第二优先级调整因子。
具体的,基站可以根据当前视频分片未下载完成的第一终端设备的QoE信息中的第一终端设备在当前TTI时刻的视频播放状态以及第一终端设备在当前TTI时刻的缓存等级,确定当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子αVideo(i),其中,αVideo(i)表示当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子。可选的,若基站确定当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为初始缓存状态,则确定当前视频分片未下载完成的第一终端设备的第一优先级调整因子αVideo(i)为预设的第一阈值;可选的,若基站确定当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级小于预设的缓存等级下限(其中,缓存等级越小,缓存级别越高),则确定当前视频分片未下载完成的第一终端设备的第 一优先级调整因子αVideo(i)为预设的第二阈值;可选的,若基站确定当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为播放后中断缓存状态,则确定当前视频分片未下载完成的第一终端设备第一优先级调整因子αVideo(i)为预设的第三阈值;可选的,若基站确定当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级位于预设的缓存等级上下限范围内,则确定当前视频分片未下载完成的第一终端设备的第一优先级调整因子αVideo(i)可以用如下公式(3)计算确定,该公式(3)具体可以为:
Figure PCTCN2016083467-appb-000027
其中,BufferLevel(i)表示当前视频分片未下载完成的第一终端设备在当前TTI的缓存等级,DelayBudgetvideo为预设的常数。需要说明的是,上述预设的第一阈值可以大于预设的第二阈值,上述预设的第二阈值可以大于上述预设的第三阈值,上述预设的第三阈值可以大于上述任一的αVideo(i),具体实施时,上述预设的第一阈值、预设的第二阈值、预设的第三阈值的具体取值可以根据用户的需求确定,通过这种方式,可以使用户体验越差的第一终端设备的第一优先级调整因子越高。
上述基站还可以根据第二终端设备在当前TTI时刻的时延截止期限和如下公式(4),确定第二终端设备在当前TTI时刻的第二优先级调整因子αWeb(j),该公式(4)具体可以为:
Figure PCTCN2016083467-appb-000028
其中,j为大于等于1的正整数,j表示第二终端设备为基站覆盖范围内第j个正在进行网页数据业务的终端设备,αWeb(j)表示第二终端设备在当前TTI的第二优先级调整因子,DeadlineWeb(j)表示第二终端设备在当前TTI时刻的时延截止期限,DelayBudgetWeb为预设的常数。具体实现时,上述DelayBudgetWeb可以为大于或等于任一第二终端设备的页面响应时延和显示时延的和。
需要说明的是,这里所说的第二终端设备的时延截止期限可以反映距离用户等待时延上限的程度,若时延截止期限越小,则说明越接近用户等待时延的上限,因此,通过上述方式,可以使接近用户等待时延的上限的第二终端设备的第二优先级调整因子越高。
如上述所说,上述基站在确定第二终端设备在当前TTI时刻的第二优先 级调整因子αWeb(j)时,需要使用第二终端设备的时延截止期限,则在本发明的另一实现方式中,在步骤B之前,该方法还可以包括:基站获取第二终端设备的时延截止期限。
具体的,上述基站可以实时的、或周期性的获取第二终端设备的时延截止期限。其中,本发明对上述基站如何获取第二终端设备的时延截止期限的方式不进行限定,例如:上述基站可以通过与第二终端设备之间的接口,接收第二终端设备发送给基站的第二终端设备的时延截止期限。可选的,基站还可以根据其所统计的第二终端设备的首包时延,通过DeadlineWeb(j)=DelayBudgetWeb-HOL(j)计算获得第二终端设备的时延截止期限,其中,HOL(j)表示第二终端设备在当前TTI时刻的首包时延。
步骤C:基站根据当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子,和,第二终端设备在当前TTI时刻的第二优先级调整因子,确定待调度用户集合中所有终端设备在当前TTI时刻的优先级。
具体的,基站可以根据上述步骤B所确定的当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子αVideo(i)的大小,和,第二终端设备在当前TTI时刻的第二优先级调整因子αWeb(j)的大小,对待调度用户集合中的所有终端设备进行优先级排序,以确定待调度用户集合中所有终端设备在当前TTI时刻的优先级,其中,优先级调整因子最高的终端设备在当前TTI时刻的优先级最高。
在本发明的另一实现方式中,上述基站还可以根据每个当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子αVideo(i)、每个当前视频分片未下载完成的第一终端设备在当前TTI的比例公平(Proportional Fair,简称:PF)调度优先级PFVideo(i)、每个第二终端设备在当前TTI的第二优先级调整因子αWeb(j)、每个第二终端设备在当前TTI的PF调度优先级PFWeb(j)和预设的调整系数,确定待调度用户集合中所有终端设备在当前TTI时刻的优先级。
则在该实现方式下,上述基站可以根据如下公式(5)确定待调度用户集合中每个当前视频分片未下载完成的第一终端设备在当前TTI的优先级Priority(i),该公式(5)具体可以为:
Priority(i)=γ1αVideo(i)·PF(i)          (5)
其中,上述PF(i)表示上述当前视频分片未下载完成的第一终端设备在当前TTI的PF调度优先级,上述Priority(i)表示上述当前视频分片未下载完成的第一终端设备在当前TTI的优先级,上述γ1为预设的调整系数,该预设的调整系数γ1具体可以根据用户的需求设定。
上述基站可以根据如下公式(6)确定待调度用户集合中每个第二终端设备在当前TTI的优先级Priority(j),该公式(6)具体可以为:
Priority(j)=γ2αWeb(j)·PF(j)         (6)
其中,上述PF(j)表示上述第二终端设备在当前TTI的PF调度优先级,上述Priority(j)表示上述第二终端设备在当前TTI的优先级,上述γ2为预设的调整系数,该预设的调整系数γ2具体可以根据用户的需求设定,可选的,若用户期望待调度用户集合中每个当前视频分片未下载完成的第一终端设备的优先级较高,则可以设置γ1大于γ2,若用户期望待调度用户集合中每个第二终端设备的优先级较高,则可以设置γ2大于γ1
在确定完待调度用户集合中每个当前视频分片未下载完成的第一终端设备在当前TTI的优先级Priority(i),以及,每个第二终端设备在当前TTI的优先级Priority(j)之后,基站就可以根据每个Priority(i)的大小以及每个Priority(j)的大小,对待调度用户集合中的所有终端设备进行优先级排序,以确定待调度用户集合中所有终端设备在当前TTI时刻的优先级,其中,优先级调整因子最高的终端设备在当前TTI时刻的优先级最高。在通过该方式确定待调度集合汇总所有的终端设备在当前TTI时刻的优先级时,由于该方式不仅综合了待调度用户集合汇总的每个第一终端设备当前的状态,即(每个第一终端设备的视频播放状态、每个第一终端设备的缓存等级、每个第二终端设备的时延截止期限),还融入了每个第一终端设备的PF调度优先级和每个第二终端设备的PF调度优先级,使得通过这种方式所确定待调度用户集合中所有终端设备在当前TTI时刻的优先级,可以在保证各终端设备之间的公平性的基础上,让用户体验越差的第一终端设备的优先级越高,以使得基站可以在每个当前TTI时刻优先为用户体验最差的第一终端设备调度下载资源,以提高用户体验和用户间的公平性。
需要说明的是,上述每个当前视频分片未下载完成的第一终端设备在当前TTI的比例公平PF调度优先级PFVideo(i),以及上述每个第二终端设备在当前TTI的PF调度优先级PFWeb(j)可以采用现有的确定PF调度优先级的方法确 定,本发明对此不进行赘述。
步骤D:基站根据待调度用户集合中所有终端设备在当前TTI时刻的优先级、以及每个当前视频分片未下载完成的第一终端设备的目标下载速率,向每个当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
具体的,上述基站可以结合系统中可供所有第一终端设备使用的带宽资源,按照待调度用户集合中所有终端设备在当前TTI时刻的优先级从高到低的顺序,从优先级最高的第一终端设备开始,为每个第一终端设备在当前TTI时刻分配与该第一终端设备的目标下载速率对应的下载资源。
可选的,上述基站还可以根据待调度用户集合中的每个当前视频分片未下载完成的第一终端设备的目标下载速率和每个当前视频分片未下载完成的第一终端设备的QoE信息中的每个第一终端设备对应的当前视频分片时长,确定每个当前视频分片未下载完成的第一终端设备的当前视频分片的待下载的数据量,进而根据每个当前视频分片未下载完成的第一终端设备的当前视频分片下载量(即已下载的数据量)、以及每个当前视频分片未下载完成的第一终端设备的当前视频分片的待下载的数据量,确定每个当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量(即剩余待下载的数据量),从而使得基站可以根据待调度用户集合中所有终端设备在当前TTI时刻的优先级、每个当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量,以及每个当前视频分片未下载完成的第一终端设备的目标下载速率,按照优先级从高到低的方式,向每个当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源,通过这种方式,可以使基站根据每个当前视频分片未下载完成的第一终端设备的实际情况,为每个当前视频分片未下载完成的第一终端设备分配合适的下载资源,以提高系统资源利用率。
需要说明的是,当上述基站使用上述步骤A-步骤D确定每个第一终端设备在同一下载周期的下载资源时,需要在该下载周期的每个TTI时刻执行一次上述步骤A-步骤D,直至该下载周期结束。
其中,本发明实施例不限定上述S302和S303的执行顺序,可以先执行S302再执行S303,也可以同时执行S302和S303。
通过上述为每个第一终端设备调整TCP下载速率,以及为每个第一终端设备分配在同一下载周期的下载资源的方式,基站以隐式的方式指示每个第一终端设备在同一下载周期根据每个第一终端设备的目标下载速率下载每个第一终端设备对应的当前视频分片,以使得基站覆盖范围内的所有的第一终端设备可以根据基站为其确定的目标下载速率,在同一下载周期下载第一终端设备对应的当前视频分片。
本发明实施例提供的视频优化方法,基站通过为其覆盖范围内的第一终端设备确定第一终端设备的目标下载速率,并指示第一终端设备根据其目标下载速率在同一下载周期下载第一终端设备对应的当前视频分片的方式,可以减少用户在通过第一终端设备观看视频时视频分片的码率的切换的频率,进而可以减少视频质量变化的次数,从而可以提高用户体验。
示例二:图4为本发明实施例提供的视频优化方法实施例三的流程示意图。本实施例三涉及的是基站将每个第一终端设备的目标下载速率发送给每个第一终端设备,并根据每个第一终端设备的目标下载速率,向每个第一终端设备分配每个第一终端设备在同一下载周期的下载资源,以显式的方式指示每个第一终端设备根据每个第一终端设备的目标下载速率在同一下载周期下载当前视频分片的具体过程。如图4所示,该方法包括:
S401、基站根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率。
其中,上述S401的描述具体可以参见上述实施例二的S301的描述,对此不再赘述。
S402、基站将第一终端设备的目标下载速率发送给第一终端设备。
具体的,基站可以通过与每个第一终端设备的接口,将基站为每个第一终端设备确定的每个第一终端设备的目标下载速率作为码率建议值发送给每个第一终端设备,以使每个第一终端设备可以将该目标下载速率作为码率,向视频服务器请求下载与该码率对应的当前视频分片,进而使得视频服务器可以通过基站向第一终端设备下发与该码率对应的当前视频分片。
S403、基站根据第一终端设备的目标下载速率,向第一终端设备分配下载资源。
其中,上述S403的描述具体可以参见上述实施例二的S303的描述,对 此不再赘述。
通过上述将基站为每个第一终端设备确定的目标下载速率发送给每个第一终端设备,以及为每个第一终端设备分配在同一下载周期的下载资源的方式,基站以显式的方式指示每个第一终端设备在同一下载周期根据每个第一终端设备的目标下载速率下载每个第一终端设备对应的当前视频分片,以使得基站覆盖范围内的所有的第一终端设备可以根据基站为其确定的目标下载速率,在同一下载周期下载第一终端设备对应的当前视频分片。
本发明实施例提供的视频优化方法,基站通过为其覆盖范围内的第一终端设备确定第一终端设备的目标下载速率,并指示第一终端设备根据其目标下载速率在同一下载周期下载第一终端设备对应的当前视频分片的方式,可以减少用户在通过第一终端设备观看视频时视频分片的码率的切换的频率,进而可以减少视频质量变化的次数,从而可以提高用户体验。
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
图5为本发明实施例提供的视频优化装置实施例一的结构示意图,如图5所示,该视频优化装置可以通过软件、硬件或者两者的结合实现成为基站的部分或者全部,该视频优化装置可以包括:确定模块11和指示模块12;其中,
确定模块11,可以用于根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率;其中,视频参数信息包括:第一终端设备的体验质量QoE信息、第一终端设备的信干噪比、基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、基站覆盖范围内正在进行其他数据业务的终端设备的数量;第一终端设备为基站覆盖范围内正在进行视频下载数据业务的终端设备中的任一终端设备;
指示模块12,可以指示第一终端设备根据确定模块确定的第一终端设备的目标下载速率,下载当前视频分片。
本发明实施例提供的视频优化装置,可以执行上述方法实施例,其实现 原理和技术效果类似,在此不再赘述。
可选的,上述第一终端设备的体验质量QoE信息可以包括:第一终端设备的码率上下限、第一终端设备的视频播放状态、第一终端设备的缓存等级、第一终端设备对应的当前视频分片时长等中的一个或多个。
则在本发明的一种实现方式中,上述确定模块11,可以具体用于根据第一终端设备的码率上下限、第一终端设备的信干噪比、基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、基站覆盖范围内正在进行其他数据业务的终端设备的数量和效用函数确定第一终端设备的目标下载速率;效用函数为:
Figure PCTCN2016083467-appb-000029
其中,效用函数的约束条件为
Figure PCTCN2016083467-appb-000030
i为大于等于1的正整数,i表示第一终端设备为基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,Gi表示第一终端设备的目标下载速率,Ωi(Gi)表示第一终端设备所占用的资源,∏(N)表示基站覆盖范围内正在进行视频下载数据业务的终端设备总共可用的资源;
Figure PCTCN2016083467-appb-000031
表示第一终端设备的码率下限,
Figure PCTCN2016083467-appb-000032
表示第一终端设备的码率上限。
图6为本发明实施例提供的视频优化装置实施例二的结构示意图,如图6所示,进一步地,在上述实施例的基础上,上述装置还可以包括:
第一获取模块13,可以用于在确定模块11根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率之前,获取第一终端设备的QoE信息。可选的,第一获取模块13,可以通过接收第一终端设备发送的QoE信息来获取第一终端设备的QoE信息,还可以根据第一终端设备的历史下载分片信息,确定第一终端设备的QoE信息;历史下载分片信息包括:第一终端设备对应的视频服务器支持的码率上下限、第一终端设备历史分片下载数据量和历史分片下载间隔。
本发明实施例提供的视频优化装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。
图7为本发明实施例提供的视频优化装置实施例三的结构示意图,如上述实施例所说,上述指示模块12,可以用于指示第一终端设备根据确定模块11确定的第一终端设备的目标下载速率下载当前视频分片,则在本实施例中, 如图7所示,上述指示模块12可以包括:
调整单元121,可以用于根据第一终端设备的目标下载速率,调整第一终端设备的TCP下载速率;可选的,上述调整单元121,可以根据第一终端设备的目标下载速率,确定第一终端设备的拥塞窗口CWND的调整量,并根据第一终端设备的CWND的调整量,调整第一终端设备的CWND,以调整第一终端设备的TCP下载速率。具体实现时,上述调整单元121,可以根据第一终端设备的目标下载速率和
Figure PCTCN2016083467-appb-000033
确定第一终端设备的CWND的调整量;其中,i为大于等于1的正整数,i表示第一终端设备为基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,Gi表示第一终端设备的目标下载速率,CWNDi表示第一终端设备的CWND的调整量,RTTi表示基站向第一终端设备发送的消息的往返时延。
第一分配单元122,可以用于根据第一终端设备的目标下载速率,向第一终端设备分配下载资源,以指示第一终端设备根据第一终端设备的目标下载速率下载当前视频分片。
继续参照图7,在本发明的一种实现方式中,上述第一分配单元122可以包括:
获取子单元1221,可以用于根据当前TTI时刻下第一终端设备的下载进度,获取当前TTI时刻的待调度用户集合;待调度用户集合包括当前视频分片未下载完成的第一终端设备和第二终端设备;第二终端设备为基站覆盖范围内正在进行网页数据业务的终端设备。
第一确定子单元1222,可以用于根据当前视频分片未下载完成的第一终端设备的QoE信息、第二终端设备的时延截止期限,确定当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和第二终端设备在当前TTI时刻的第二优先级调整因子。
具体实现时,第一确定子单元1222,可以具体用于在确定当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为初始缓存状态时,确定第一优先级调整因子αVideo(i)为预设的第一阈值;其中,αVideo(i)表示当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子;
或,在确定当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级小于预设的缓存等级下限时,确定第一优先级调整因子αVideo(i)为预设的第二阈值;
或,在确定当前视频分片未下载完成的第一终端设备在当前TTI的视频 播放状态为播放后中断缓存状态时,确定第一优先级调整因子αVideo(i)为预设的第三阈值;
或,在确定当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级位于预设的缓存等级上下限范围内时,确定第一优先级调整因子αVideo(i)为:
Figure PCTCN2016083467-appb-000034
其中,BufferLevel(i)表示当前视频分片未下载完成的第一终端设备在当前TTI的缓存等级,DelayBudgetvideo为预设的常数。
同时,第一确定子单元1222,可以具体用于根据第二终端设备的时延截止期限DeadlineWeb(j)和
Figure PCTCN2016083467-appb-000035
确定第二终端设备在当前TTI时刻的第二优先级调整因子αWeb(j);
其中,j为大于等于1的正整数,j表示第二终端设备为基站覆盖范围内第j个正在进行网页数据业务的终端设备,DeadlineWeb(j)表示第二终端设备在当前TTI时刻的时延截止期限,αWeb(j)表示第二终端设备在当前TTI的第二优先级调整因子,DelayBudgetWeb为预设的常数。
第二确定子单元1223,可以用于根据当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子,和,第二终端设备在当前TTI时刻的第二优先级调整因子,确定待调度用户集合中所有终端设备在当前TTI时刻的优先级。
可选的,第二确定子单元1223,可以具体用于根据当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子、当前视频分片未下载完成的第一终端设备在当前TTI的比例公平PF调度优先级、第二终端设备在当前TTI的第二优先级调整因子、第二终端设备在当前TTI的PF调度优先级和预设的调整系数,确定待调度用户集合中所有终端设备在当前TTI时刻的优先级。
具体实现时,第二确定子单元1223,可以具体用于具体用于根据Priority(i)=γ1αVideo(i)·PF(i),确定待调度用户集合中当前视频分片未下载完成的第一终端设备在当前TTI的优先级,并根据Priority(j)=γ2αWeb(j)·PF(j),确定待调度用户集合中第二终端设备在当前TTI的优先级;
其中,PF(i)表示当前视频分片未下载完成的第一终端设备在当前TTI的 PF调度优先级,Priority(i)表示当前视频分片未下载完成的第一终端设备在当前TTI的优先级,γ1为预设的调整系数,PF(j)表示第二终端设备在当前TTI的PF调度优先级,Priority(j)表示第二终端设备在当前TTI的优先级,γ2为预设的调整系数。
分配子单元1224,可以用于根据待调度用户集合中所有终端设备在当前TTI时刻的优先级、以及当前视频分片未下载完成的第一终端设备的目标下载速率,向当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
具体实现时,分配子单元1224,可以具体用于根据待调度用户集合中的当前视频分片未下载完成的第一终端设备的目标下载速率、第一终端设备对应的当前视频分片时长、当前视频分片未下载完成的第一终端设备的当前视频分片下载量,确定当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量,并根据待调度用户集合中所有终端设备在当前TTI时刻的优先级,以及,当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量,向当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
本发明实施例提供的视频优化装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。
图8为本发明实施例提供的视频优化装置实施例四的结构示意图,进一步地,在上述实施例的基础上,如图8所示,上述装置还可以包括:
第二获取模块14,可以用于在第一确定子单元1222根据当前视频分片未下载完成的第一终端设备的QoE信息、第二终端设备的时延截止期限,确定当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和第二终端设备在当前TTI时刻的第二优先级调整因子之前,获取第二终端设备的时延截止期限。
具体实现时,上述第二获取模块14,可以通过接收第二终端设备发送的第二终端设备的时延截止期限,获取第二终端设备的时延截止期限,还可以根据第二终端设备的首包时延,获取第二终端设备的时延截止期限。
本发明实施例提供的视频优化装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。
图9为本发明实施例提供的视频优化装置实施例五的结构示意图,如上述实施例所说,上述指示模块12,可以用于指示第一终端设备根据确定模块11确定的第一终端设备的目标下载速率下载当前视频分片,则在本实施例中,如图9所示,上述指示模块12可以包括:
发送单元123,可以用于将第一终端设备的目标下载速率发送给第一终端设备;
第二分配单元124,可以用于根据第一终端设备的目标下载速率,向第一终端设备分配下载资源,以指示第一终端设备根据第一终端设备的目标下载速率下载当前视频分片。
本发明实施例提供的视频优化装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。
图10为本发明实施例提供的视频优化装置实施例六的结构示意图,如图10所示,该视频优化装置可以包括:处理器21;其中,
处理器21,可以用于根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率,并指示第一终端设备根据第一终端设备的目标下载速率下载当前视频分片;其中,视频参数信息包括:第一终端设备的体验质量QoE信息、第一终端设备的信干噪比、基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、基站覆盖范围内正在进行其他数据业务的终端设备的数量,第一终端设备为基站覆盖范围内正在进行视频下载数据业务的终端设备中的任一终端设备。
本发明实施例提供的视频优化装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。
可选的,上述第一终端设备的体验质量QoE信息可以包括:第一终端设备的码率上下限、第一终端设备的视频播放状态、第一终端设备的缓存等级、第一终端设备对应的当前视频分片时长等中的一个或多个。
则在本发明的一种实现方式中,上述处理器21,还可以用于在根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率之前,获取第一终端设备的QoE信息。
继续参照图10,可选的,若上述装置包括接收器22,则上述处理器21,用于获取第一终端设备的QoE信息,具体可以为:通过接收器22接收第一 终端设备发送的QoE信息。若上述装置不包括接收器22,则上述处理器21,用于获取第一终端设备的QoE信息,具体可以为:根据第一终端设备的历史下载分片信息,确定第一终端设备的QoE信息;其中,该历史下载分片信息包括:第一终端设备对应的视频服务器支持的码率上下限、第一终端设备历史分片下载数据量和历史分片下载间隔。
本发明实施例提供的视频优化装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。
当上述第一终端设备的体验质量QoE信息包括:第一终端设备的码率上下限时,上述处理器21,用于根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率,具体可以为:第一终端设备的码率上下限、第一终端设备的信干噪比、基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、基站覆盖范围内正在进行其他数据业务的终端设备的数量和效用函数确定第一终端设备的目标下载速率;效用函数为:
Figure PCTCN2016083467-appb-000036
其中,效用函数的约束条件为
Figure PCTCN2016083467-appb-000037
i为大于等于1的正整数,i表示第一终端设备为基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,Gi表示第一终端设备的目标下载速率,Ωi(Gi)表示第一终端设备所占用的资源,∏(N)表示基站覆盖范围内正在进行视频下载数据业务的终端设备总共可用的资源;
Figure PCTCN2016083467-appb-000038
表示第一终端设备的码率下限,
Figure PCTCN2016083467-appb-000039
表示第一终端设备的码率上限。
继续参照上述图10,若上述装置还包括发送器23,则在本发明的另一实现方式中,上述处理器21,用于指示第一终端设备根据第一终端设备的目标下载速率下载第一终端设备对应的当前视频分片,具体可以为:
处理器21,具体用于指示发送器23将第一终端设备的目标下载速率发送给第一终端设备,并根据第一终端设备的目标下载速率,向第一终端设备分配下载资源,以指示第一终端设备根据第一终端设备的目标下载速率下载当前视频分片。
若上述装置不包括发送器23,则在本发明的另一种实现方式中,上述处理器21,用于指示第一终端设备根据第一终端设备的目标下载速率下载第一终端设备对应的当前视频分片,具体可以为:
处理器21,具体可以用于根据第一终端设备的目标下载速率,调整第一终端设备的传输控制协议TCP下载速率,并根据第一终端设备的目标下载速率,向第一终端设备分配下载资源,以指示第一终端设备根据第一终端设备的目标下载速率下载当前视频分片。
其中,处理器21,用于根据第一终端设备的目标下载速率,调整第一终端设备的传输控制协议TCP下载速率,具体可以为:根据第一终端设备的目标下载速率,确定第一终端设备的拥塞窗口CWND的调整量,并根据第一终端设备的CWND的调整量,调整第一终端设备的CWND,以调整第一终端设备的TCP下载速率。具体实现时,上述处理器21,可以根据第一终端设备的目标下载速率和
Figure PCTCN2016083467-appb-000040
确定第一终端设备的CWND的调整量;
其中,i为大于等于1的正整数,i表示第一终端设备为基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,Gi表示第一终端设备的目标下载速率,CWNDi表示第一终端设备的CWND的调整量,RTTi表示基站向第一终端设备发送的消息的往返时延。
其中,处理器21,用于根据第一终端设备的目标下载速率,向第一终端设备分配下载资源,具体可以为:
处理器21,具体可以根据当前TTI时刻下第一终端设备的下载进度,获取当前TTI时刻的待调度用户集合;待调度用户集合包括当前视频分片未下载完成的第一终端设备和第二终端设备;第二终端设备为基站覆盖范围内正在进行网页数据业务的终端设备;
根据当前视频分片未下载完成的第一终端设备的QoE信息、第二终端设备的时延截止期限,确定当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和第二终端设备在当前TTI时刻的第二优先级调整因子;
根据当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子,和,第二终端设备在当前TTI时刻的第二优先级调整因子,确定待调度用户集合中所有终端设备在当前TTI时刻的优先级;
根据待调度用户集合中所有终端设备在当前TTI时刻的优先级、以及当前视频分片未下载完成的第一终端设备的目标下载速率,向当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
可选的,处理器21,用于根据当前视频分片未下载完成的第一终端设备的QoE信息,确定当前视频分片未下载完成的第一终端设备在当前TTI时刻 的第一优先级调整因子,具体可以为:
处理器21,具体可以用于在确定当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为初始缓存状态时,确定第一优先级调整因子αVideo(i)为预设的第一阈值;其中,αVideo(i)表示当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子;
或,在确定当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级小于预设的缓存等级下限时,确定第一优先级调整因子αVideo(i)为预设的第二阈值;
或,在确定当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为播放后中断缓存状态时,确定第一优先级调整因子αVideo(i)为预设的第三阈值;
或,在确定当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级位于预设的缓存等级上下限范围内时,确定第一优先级调整因子αVideo(i)为:
Figure PCTCN2016083467-appb-000041
其中,BufferLevel(i)表示当前视频分片未下载完成的第一终端设备在当前TTI的缓存等级,DelayBudgetvideo为预设的常数。
可选的,处理器21,用于根据第二终端设备的时延截止期限,确定第二终端设备在当前TTI时刻的第二优先级调整因子,具体可以为:
处理器21,具体可以用于根据第二终端设备的时延截止期限DeadlineWeb(j)和
Figure PCTCN2016083467-appb-000042
确定第二终端设备在当前TTI时刻的第二优先级调整因子αWeb(j);其中,j为大于等于1的正整数,j表示第二终端设备为基站覆盖范围内第j个正在进行网页数据业务的终端设备,DeadlineWeb(j)表示第二终端设备在当前TTI时刻的时延截止期限,αWeb(j)表示第二终端设备在当前TTI的第二优先级调整因子,DelayBudgetWeb为预设的常数。
则在本发明的一种实现方式中,上述处理器21,还可以用于在根据当前视频分片未下载完成的第一终端设备的QoE信息、第二终端设备的时延截止期限,确定当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和第二终端设备在当前TTI时刻的第二优先级调整因子之前,获取第二终端设备的时延截止期限。若上述装置包括接收器22,则上述 处理器21,可以通过接收器22接收第二终端设备发送的第二终端设备的时延截止期限;若上述装置不包括接收器22,则上述处理器21,可以根据第二终端设备的首包时延,确定第二终端设备的时延截止期限。
可选的,处理器21,用于根据当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和第二终端设备在当前TTI时刻的第二优先级调整因子,确定待调度用户集合中所有终端设备在当前TTI时刻的优先级,具体可以为:
处理器21,具体可以用于根据当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子、当前视频分片未下载完成的第一终端设备在当前TTI的比例公平PF调度优先级、第二终端设备在当前TTI的第二优先级调整因子、第二终端设备在当前TTI的PF调度优先级和预设的调整系数,确定待调度用户集合中所有终端设备在当前TTI时刻的优先级。
具体实现时,处理器21,可以具体用于根据Priority(i)=γ1αVideo(i)·PF(i),确定待调度用户集合中当前视频分片未下载完成的第一终端设备在当前TTI的优先级,并根据Priority(j)=γ2αWeb(j)·PF(j),确定待调度用户集合中第二终端设备在当前TTI的优先级;其中,PF(i)表示当前视频分片未下载完成的第一终端设备在当前TTI的PF调度优先级,Priority(i)表示当前视频分片未下载完成的第一终端设备在当前TTI的优先级,γ1为预设的调整系数;PF(j)表示第二终端设备在当前TTI的PF调度优先级,Priority(j)表示第二终端设备在当前TTI的优先级,γ2为预设的调整系数。
可选的,处理器21,用于根据待调度用户集合中所有终端设备在当前TTI时刻的优先级、以及当前视频分片未下载完成的第一终端设备的目标下载速率,向当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源,具体可以为:
处理器21,具体可以用于根据待调度用户集合中的当前视频分片未下载完成的第一终端设备的目标下载速率、第一终端设备对应的当前视频分片时长、当前视频分片未下载完成的第一终端设备的当前视频分片下载量,确定当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量,并根据待调度用户集合中所有终端设备在当前TTI时刻的优先级,以及,当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量,向当前视频 分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
本发明实施例提供的视频优化装置,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。
本发明实施例另一方面还提供一种基站,该基站可以包括前述图5至图9所示的视频优化装置,其实现原理和技术效果类似,此处不再赘述。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换。因此,本发明的保护范围应以权利要求的保护范围为准。

Claims (35)

  1. 一种视频优化方法,其特征在于,所述方法包括:
    基站根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率;其中,所述视频参数信息包括:所述第一终端设备的体验质量QoE信息、所述第一终端设备的信干噪比、所述基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、所述基站覆盖范围内正在进行其他数据业务的终端设备的数量,所述第一终端设备为所述基站覆盖范围内正在进行视频下载数据业务的终端设备中的任一终端设备;
    所述基站指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片。
  2. 根据权利要求1所述的方法,其特征在于,所述第一终端设备的体验质量QoE信息包括:所述第一终端设备的码率上下限、所述第一终端设备的视频播放状态、所述第一终端设备的缓存等级、所述第一终端设备对应的当前视频分片时长。
  3. 根据权利要求2所述的方法,其特征在于,所述基站根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率之前,所述方法还包括:
    所述基站获取所述第一终端设备的QoE信息。
  4. 根据权利要求3所述的方法,其特征在于,所述基站获取所述第一终端设备的QoE信息,具体包括:
    所述基站接收所述第一终端设备发送的QoE信息;
    或,
    所述基站根据所述第一终端设备的历史下载分片信息,确定所述第一终端设备的QoE信息;所述历史下载分片信息包括:所述第一终端设备对应的视频服务器支持的码率上下限、所述第一终端设备历史分片下载数据量和历史分片下载间隔。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述基站指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片,具体包括:
    所述基站根据所述第一终端设备的目标下载速率,调整所述第一终端设 备的传输控制协议TCP下载速率,并根据所述第一终端设备的目标下载速率,向所述第一终端设备分配下载资源,以指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片。
  6. 根据权利要求1-4任一项所述的方法,其特征在于,所述基站指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片,具体包括:
    所述基站将所述第一终端设备的目标下载速率发送给所述第一终端设备,并根据所述第一终端设备的目标下载速率,向所述第一终端设备分配下载资源,以指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片。
  7. 根据权利要求5所述的方法,其特征在于,所述基站根据所述第一终端设备的目标下载速率,调整所述第一终端设备的传输控制协议TCP下载速率,具体包括:
    所述基站根据所述第一终端设备的目标下载速率,确定所述第一终端设备的拥塞窗口CWND的调整量;
    所述基站根据所述第一终端设备的CWND的调整量,调整所述第一终端设备的CWND,以调整所述第一终端设备的TCP下载速率。
  8. 根据权利要求7所述的方法,其特征在于,所述基站根据所述第一终端设备的目标下载速率,确定所述第一终端设备的拥塞窗口CWND的调整量,具体包括:
    所述基站根据所述第一终端设备的目标下载速率和
    Figure PCTCN2016083467-appb-100001
    确定所述第一终端设备的CWND的调整量;
    其中,所述i为大于等于1的正整数,所述i表示所述第一终端设备为所述基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,所述Gi表示所述第一终端设备的目标下载速率,所述CWNDi表示所述第一终端设备的CWND的调整量,所述RTTi表示所述基站向所述第一终端设备发送的消息的往返时延。
  9. 根据权利要求7或8所述的方法,其特征在于,所述基站根据所述第一终端设备的目标下载速率,向所述第一终端设备分配下载资源,具体包括:
    所述基站根据当前TTI时刻下所述第一终端设备的下载进度,获取当前 TTI时刻的待调度用户集合;所述待调度用户集合包括所述当前视频分片未下载完成的第一终端设备和第二终端设备;所述第二终端设备为所述基站覆盖范围内正在进行网页数据业务的终端设备;
    所述基站根据所述当前视频分片未下载完成的第一终端设备的QoE信息、所述第二终端设备的时延截止期限,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和所述第二终端设备在当前TTI时刻的第二优先级调整因子;
    所述基站根据所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子,和,所述第二终端设备在当前TTI时刻的第二优先级调整因子,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级;
    所述基站根据所述待调度用户集合中所有终端设备在当前TTI时刻的优先级、以及所述当前视频分片未下载完成的第一终端设备的目标下载速率,向所述当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
  10. 根据权利要求9所述的方法,其特征在于,所述基站根据所述当前视频分片未下载完成的第一终端设备的QoE信息,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子,具体包括:
    若所述基站确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为初始缓存状态,则确定所述第一优先级调整因子αVideo(i)为预设的第一阈值;其中,所述αVideo(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子;
    或,
    若所述基站确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级小于预设的缓存等级下限,则确定所述第一优先级调整因子αVideo(i)为预设的第二阈值;
    或,
    若所述基站确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为播放后中断缓存状态,则确定所述第一优先级调整因子αVideo(i)为预设的第三阈值;
    或,
    若所述基站确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级位于预设的缓存等级上下限范围内,则确定所述第一优先级调整因子αVideo(i)为:
    Figure PCTCN2016083467-appb-100002
    其中,所述BufferLevel(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的缓存等级,所述DelayBudgetvideo为预设的常数。
  11. 根据权利要求10所述的方法,其特征在于,所述基站根据所述第二终端设备的时延截止期限,确定所述第二终端设备在当前TTI时刻的第二优先级调整因子,具体包括:
    所述基站根据所述第二终端设备的时延截止期限DeadlineWeb(j)和
    Figure PCTCN2016083467-appb-100003
    确定所述第二终端设备在当前TTI时刻的第二优先级调整因子αWeb(j);
    其中,所述j为大于等于1的正整数,所述j表示所述第二终端设备为所述基站覆盖范围内第j个正在进行网页数据业务的终端设备,所述DeadlineWeb(j)表示所述第二终端设备在当前TTI时刻的时延截止期限,所述αWeb(j)表示所述第二终端设备在当前TTI的第二优先级调整因子,所述DelayBudgetWeb为预设的常数。
  12. 根据权利要求11所述的方法,其特征在于,所述基站根据所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和所述第二终端设备在当前TTI时刻的第二优先级调整因子,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级,具体包括:
    所述基站根据所述当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子、所述当前视频分片未下载完成的第一终端设备在当前TTI的比例公平PF调度优先级、所述第二终端设备在当前TTI的第二优先级调整因子、所述第二终端设备在当前TTI的PF调度优先级和预设的调整系数,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级。
  13. 根据权利要求12所述的方法,其特征在于,所述基站根据所述当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子、所述当前视频分片未下载完成的第一终端设备在当前TTI的比例公平PF调度优 先级、所述第二终端设备在当前TTI的第二优先级调整因子、所述第二终端设备在当前TTI的PF调度优先级和预设的调整系数,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级,具体包括:
    所述基站根据Priority(i)=γ1αVideo(i)·PF(i),确定所述待调度用户集合中所述当前视频分片未下载完成的第一终端设备在当前TTI的优先级;其中,所述PF(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的PF调度优先级,所述Priority(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的优先级,所述γ1为预设的调整系数;
    所述基站根据Priority(j)=γ2αWeb(j)·PF(j),确定所述待调度用户集合中所述第二终端设备在当前TTI的优先级;其中,所述PF(j)表示所述第二终端设备在当前TTI的PF调度优先级,所述Priority(j)表示所述第二终端设备在当前TTI的优先级,所述γ2为预设的调整系数。
  14. 根据权利要求13所述的方法,其特征在于,所述基站根据所述待调度用户集合中所有终端设备在当前TTI时刻的优先级、以及所述当前视频分片未下载完成的第一终端设备的目标下载速率,向所述当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源,具体包括:
    所述基站根据所述待调度用户集合中的所述当前视频分片未下载完成的第一终端设备的目标下载速率、所述第一终端设备对应的当前视频分片时长、所述当前视频分片未下载完成的第一终端设备的当前视频分片下载量,确定所述当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量;
    所述基站根据所述待调度用户集合中所有终端设备在当前TTI时刻的优先级,以及,所述当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量,向所述当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
  15. 根据权利要求9-14任一项所述的方法,其特征在于,所述基站根据所述当前视频分片未下载完成的第一终端设备的QoE信息、所述第二终端设备的时延截止期限,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和所述第二终端设备在当前TTI时刻的第二优先级调整因子之前,所述方法还包括:
    所述基站获取所述第二终端设备的时延截止期限。
  16. 根据权利要求15所述的方法,其特征在于,所述基站获取所述第二终端设备的时延截止期限,具体包括:
    所述基站接收所述第二终端设备发送的所述第二终端设备的时延截止期限;
    或,
    所述基站根据所述第二终端设备的首包时延,确定所述第二终端设备的时延截止期限。
  17. 根据权利要求2-16任一项所述的方法,其特征在于,所述基站根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率,具体包括:
    所述基站根据所述第一终端设备的码率上下限、所述第一终端设备的信干噪比、所述基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、所述基站覆盖范围内正在进行其他数据业务的终端设备的数量和效用函数确定所述第一终端设备的目标下载速率;所述效用函数为:
    Figure PCTCN2016083467-appb-100004
    其中,所述效用函数的约束条件为
    Figure PCTCN2016083467-appb-100005
    所述i为大于等于1的正整数,所述i表示所述第一终端设备为所述基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,所述Gi表示所述第一终端设备的目标下载速率,所述Ωi(Gi)表示所述第一终端设备所占用的资源,所述∏(N)表示所述基站覆盖范围内正在进行视频下载数据业务的终端设备总共可用的资源;所述
    Figure PCTCN2016083467-appb-100006
    表示所述第一终端设备的码率下限,所述
    Figure PCTCN2016083467-appb-100007
    表示所述第一终端设备的码率上限。
  18. 一种视频优化装置,其特征在于,所述装置包括:
    确定模块,用于根据视频参数信息确定第一终端设备下载当前视频分片的目标下载速率;其中,所述视频参数信息包括:所述第一终端设备的体验质量QoE信息、所述第一终端设备的信干噪比、基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、所述基站覆盖范围内正在进行其他数据业务的终端设备的数量;所述第一终端设备为所述基站覆盖范围内正在进行视频下载数据业务的终端设备中的任一终端设备;
    指示模块,用于指示所述第一终端设备根据所述确定模块确定的所述第 一终端设备的目标下载速率,下载所述当前视频分片。
  19. 根据权利要求18所述的装置,其特征在于,所述第一终端设备的体验质量QoE信息包括:所述第一终端设备的码率上下限、所述第一终端设备的视频播放状态、所述第一终端设备的缓存等级、所述第一终端设备对应的当前视频分片时长。
  20. 根据权利要求19所述的装置,其特征在于,所述装置还包括:
    第一获取模块,用于在所述确定模块根据所述视频参数信息确定所述第一终端设备下载所述当前视频分片的目标下载速率之前,获取所述第一终端设备的QoE信息。
  21. 根据权利要求20所述的装置,其特征在于,
    所述第一获取模块,具体用于接收所述第一终端设备发送的QoE信息;
    或,
    所述第一获取模块,具体用于根据所述第一终端设备的历史下载分片信息,确定所述第一终端设备的QoE信息;所述历史下载分片信息包括:所述第一终端设备对应的视频服务器支持的码率上下限、所述第一终端设备历史分片下载数据量和历史分片下载间隔。
  22. 根据权利要求18-21任一项所述的装置,其特征在于,所述指示模块包括:
    调整单元,用于根据所述第一终端设备的目标下载速率,调整所述第一终端设备的TCP下载速率;
    第一分配单元,用于根据所述第一终端设备的目标下载速率,向所述第一终端设备分配下载资源,以指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片。
  23. 根据权利要求18-21任一项所述的装置,其特征在于,所述指示模块包括:
    发送单元,用于将所述第一终端设备的目标下载速率发送给所述第一终端设备;
    第二分配单元,用于根据所述第一终端设备的目标下载速率,向所述第一终端设备分配下载资源,以指示所述第一终端设备根据所述第一终端设备的目标下载速率下载所述当前视频分片。
  24. 根据权利要求22所述的装置,其特征在于,所述调整单元,具体用于根据所述第一终端设备的目标下载速率,确定所述第一终端设备的拥塞窗口CWND的调整量,并根据所述第一终端设备的CWND的调整量,调整所述第一终端设备的CWND,以调整所述第一终端设备的TCP下载速率。
  25. 根据权利要求24所述的装置,其特征在于,所述调整单元,用于根据所述第一终端设备的目标下载速率,确定所述第一终端设备的拥塞窗口CWND的调整量,具体为:
    所述调整单元,具体用于根据所述第一终端设备的目标下载速率和
    Figure PCTCN2016083467-appb-100008
    确定所述第一终端设备的CWND的调整量;
    其中,所述i为大于等于1的正整数,所述i表示所述第一终端设备为所述基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,所述Gi表示所述第一终端设备的目标下载速率,所述CWNDi表示所述第一终端设备的CWND的调整量,所述RTTi表示所述基站向所述第一终端设备发送的消息的往返时延。
  26. 根据权利要求24或25所述的装置,其特征在于,所述第一分配单元包括:
    获取子单元,用于根据当前TTI时刻下所述第一终端设备的下载进度,获取当前TTI时刻的待调度用户集合;所述待调度用户集合包括所述当前视频分片未下载完成的第一终端设备和第二终端设备;所述第二终端设备为所述基站覆盖范围内正在进行网页数据业务的终端设备;
    第一确定子单元,用于根据所述当前视频分片未下载完成的第一终端设备的QoE信息、所述第二终端设备的时延截止期限,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和所述第二终端设备在当前TTI时刻的第二优先级调整因子;
    第二确定子单元,用于根据所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子,和,所述第二终端设备在当前TTI时刻的第二优先级调整因子,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级;
    分配子单元,用于根据所述待调度用户集合中所有终端设备在当前TTI时刻的优先级、以及所述当前视频分片未下载完成的第一终端设备的目标下 载速率,向所述当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
  27. 根据权利要求26所述的装置,其特征在于,所述第一确定子单元,用于根据所述当前视频分片未下载完成的第一终端设备的QoE信息,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子,具体为:
    所述第一确定子单元,具体用于在确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为初始缓存状态时,确定所述第一优先级调整因子αVideo(i)为预设的第一阈值;其中,所述αVideo(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子;
    或,在确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级小于预设的缓存等级下限时,确定所述第一优先级调整因子αVideo(i)为预设的第二阈值;
    或,在确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为播放后中断缓存状态时,确定所述第一优先级调整因子αVideo(i)为预设的第三阈值;
    或,在确定所述当前视频分片未下载完成的第一终端设备在当前TTI的视频播放状态为正常播放状态、且在当前TTI的缓存等级位于预设的缓存等级上下限范围内时,确定所述第一优先级调整因子αVideo(i)为:
    Figure PCTCN2016083467-appb-100009
    其中,所述BufferLevel(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的缓存等级,所述DelayBudgetvideo为预设的常数。
  28. 根据权利要求27所述的装置,其特征在于,所述第一确定子单元,用于根据所述第二终端设备的时延截止期限,确定所述第二终端设备在当前TTI时刻的第二优先级调整因子,具体为:
    所述第一确定子单元,具体用于根据所述第二终端设备的时延截止期限DeadlineWeb(j)和
    Figure PCTCN2016083467-appb-100010
    确定所述第二终端设备在当前TTI时刻的第二优先级调整因子αWeb(j);
    其中,所述j为大于等于1的正整数,所述j表示所述第二终端设备为所述基站覆盖范围内第j个正在进行网页数据业务的终端设备,所述 DeadlineWeb(j)表示所述第二终端设备在当前TTI时刻的时延截止期限,所述αWeb(j)表示所述第二终端设备在当前TTI的第二优先级调整因子,所述DelayBudgetWeb为预设的常数。
  29. 根据权利要求28所述的装置,其特征在于,所述第二确定子单元,具体用于根据所述当前视频分片未下载完成的第一终端设备在当前TTI的第一优先级调整因子、所述当前视频分片未下载完成的第一终端设备在当前TTI的比例公平PF调度优先级、所述第二终端设备在当前TTI的第二优先级调整因子、所述第二终端设备在当前TTI的PF调度优先级和预设的调整系数,确定所述待调度用户集合中所有终端设备在当前TTI时刻的优先级。
  30. 根据权利要求29所述的装置,其特征在于,所述第二确定子单元,具体用于根据Priority(i)=γ1αVideo(i)·PF(i),确定所述待调度用户集合中所述当前视频分片未下载完成的第一终端设备在当前TTI的优先级,并根据Priority(j)=γ2αWeb(j)·PF(j),确定所述待调度用户集合中所述第二终端设备在当前TTI的优先级;
    其中,所述PF(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的PF调度优先级,所述Priority(i)表示所述当前视频分片未下载完成的第一终端设备在当前TTI的优先级,所述γ1为预设的调整系数,所述PF(j)表示所述第二终端设备在当前TTI的PF调度优先级,所述Priority(j)表示所述第二终端设备在当前TTI的优先级,所述γ2为预设的调整系数。
  31. 根据权利要求30所述的装置,其特征在于,所述分配子单元,具体用于根据所述待调度用户集合中的所述当前视频分片未下载完成的第一终端设备的目标下载速率、所述第一终端设备对应的当前视频分片时长、所述当前视频分片未下载完成的第一终端设备的当前视频分片下载量,确定所述当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量,并根据所述待调度用户集合中所有终端设备在当前TTI时刻的优先级,以及,所述当前视频分片未下载完成的第一终端设备的当前视频分片剩余下载量,向所述当前视频分片未下载完成的第一终端设备分配在当前TTI时刻的下载资源。
  32. 根据权利要求26-31任一项所述的装置,其特征在于,所述装置还包括:
    第二获取模块,用于在所述第一确定子单元根据所述当前视频分片未下载完成的第一终端设备的QoE信息、所述第二终端设备的时延截止期限,确定所述当前视频分片未下载完成的第一终端设备在当前TTI时刻的第一优先级调整因子和所述第二终端设备在当前TTI时刻的第二优先级调整因子之前,获取所述第二终端设备的时延截止期限。
  33. 根据权利要求32所述的装置,其特征在于,所述第二获取模块,具体用于接收所述第二终端设备发送的所述第二终端设备的时延截止期限;
    或,
    所述第二获取模块,具体用于根据所述第二终端设备的首包时延,确定所述第二终端设备的时延截止期限。
  34. 根据权利要求19-33任一项所述的装置,其特征在于,所述确定模块,具体用于根据所述第一终端设备的码率上下限、所述第一终端设备的信干噪比、所述基站覆盖范围内正在进行视频下载数据业务的终端设备的数量、所述基站覆盖范围内正在进行其他数据业务的终端设备的数量和效用函数确定所述第一终端设备的目标下载速率;所述效用函数为:
    Figure PCTCN2016083467-appb-100011
    其中,所述效用函数的约束条件为
    Figure PCTCN2016083467-appb-100012
    所述i为大于等于1的正整数,所述i表示所述第一终端设备为所述基站覆盖范围内第i个正在进行视频下载数据业务的终端设备,所述Gi表示所述第一终端设备的目标下载速率,所述Ωi(Gi)表示所述第一终端设备所占用的资源,所述∏(N)表示所述基站覆盖范围内正在进行视频下载数据业务的终端设备总共可用的资源;所述
    Figure PCTCN2016083467-appb-100013
    表示所述第一终端设备的码率下限,所述
    Figure PCTCN2016083467-appb-100014
    表示所述第一终端设备的码率上限。
  35. 一种基站,其特征在于,所述基站包括权利要求18-34任一项所述的视频优化装置。
PCT/CN2016/083467 2016-05-26 2016-05-26 视频优化方法和装置 WO2017201711A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/083467 WO2017201711A1 (zh) 2016-05-26 2016-05-26 视频优化方法和装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/083467 WO2017201711A1 (zh) 2016-05-26 2016-05-26 视频优化方法和装置

Publications (1)

Publication Number Publication Date
WO2017201711A1 true WO2017201711A1 (zh) 2017-11-30

Family

ID=60411000

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/083467 WO2017201711A1 (zh) 2016-05-26 2016-05-26 视频优化方法和装置

Country Status (1)

Country Link
WO (1) WO2017201711A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314772A (zh) * 2019-11-29 2020-06-19 广州市百果园信息技术有限公司 一种视频下载码率的确定方法、装置、终端和存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752864A (zh) * 2012-07-04 2012-10-24 北京理工大学 多用户多业务系统中的面向用户体验的资源分配方法
US20140086073A1 (en) * 2012-09-26 2014-03-27 Calix, Inc. Determining quality of experience with a network device
CN104023383A (zh) * 2014-05-28 2014-09-03 北京邮电大学 一种基于QoE预测的干扰整形方法
CN104185285A (zh) * 2013-05-28 2014-12-03 华为技术有限公司 一种媒体数据的传输方法、装置和系统
US20160095126A1 (en) * 2014-09-30 2016-03-31 Alcatel-Lucent Usa Inc. Modifying parameters of a wireless access node
CN105471541A (zh) * 2015-12-08 2016-04-06 国家无线电监测中心 超密集Small Cell网络中应用于视频业务的节能干扰整形方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102752864A (zh) * 2012-07-04 2012-10-24 北京理工大学 多用户多业务系统中的面向用户体验的资源分配方法
US20140086073A1 (en) * 2012-09-26 2014-03-27 Calix, Inc. Determining quality of experience with a network device
CN104185285A (zh) * 2013-05-28 2014-12-03 华为技术有限公司 一种媒体数据的传输方法、装置和系统
CN104023383A (zh) * 2014-05-28 2014-09-03 北京邮电大学 一种基于QoE预测的干扰整形方法
US20160095126A1 (en) * 2014-09-30 2016-03-31 Alcatel-Lucent Usa Inc. Modifying parameters of a wireless access node
CN105471541A (zh) * 2015-12-08 2016-04-06 国家无线电监测中心 超密集Small Cell网络中应用于视频业务的节能干扰整形方法

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111314772A (zh) * 2019-11-29 2020-06-19 广州市百果园信息技术有限公司 一种视频下载码率的确定方法、装置、终端和存储介质
CN111314772B (zh) * 2019-11-29 2022-07-08 广州市百果园信息技术有限公司 一种视频下载码率的确定方法、装置、终端和存储介质

Similar Documents

Publication Publication Date Title
US11166189B2 (en) Data transmission buffer discarding method and apparatus
KR101645955B1 (ko) 자원 할당을 최적화함으로써 적응 스트리밍 비디오 품질의 개선
JP5207011B2 (ja) バッファ状態報告
US10187819B2 (en) Access network congestion control method, base station device, and policy and charging rules function network element
JP2020535716A (ja) 受信した体感品質情報に基づくリソース割り当ての最適化
WO2017028666A1 (en) System and method for online multimedia streaming services
WO2018010119A1 (zh) 一种视频业务资源分配方法及装置
CN110351201A (zh) 一种数据处理方法及装置
WO2009048298A2 (en) Method for setting output bit rate for video data transmission in a wibro system
WO2014206116A1 (zh) 用户设备、基站、流媒体自适应传输系统和方法
EP2908591A1 (en) Chunk-based scheduling method and chunk-based scheduling apparatus in wireless communication system
WO2013190364A2 (en) Systems and methods for resource booking for admission control and scheduling using drx
KR20160076163A (ko) 이동 통신 시스템에서 전송 차별화를 제공하는 방법 및 장치
Khorov et al. SEBRA: SAND-enabled bitrate and resource allocation algorithm for network-assisted video streaming
EP2445142A1 (en) Dynamic bandwidth adjustment for multiple service support
CN113316263A (zh) 数据传输方法、装置、设备和存储介质
Afrin et al. A delay sensitive LTE uplink packet scheduler for M2M traffic
WO2012152006A1 (zh) 一种随机接入信道的功率控制方法及装置
US10200988B2 (en) Physical resource block scheduling method, device, and system
WO2017201711A1 (zh) 视频优化方法和装置
JP2011050042A (ja) 無線端末及び伝送速度予測方法
WO2010075724A1 (zh) 对通信系统中的业务数据进行调度的方法和装置
WO2008014653A1 (fr) Procédé et dispositif pour assurer à l'utilisateur la qualité de service d'une ligne spéciale dans une liaison de retour dans un système de radiocommunications
WO2014032307A1 (zh) 一种资源调度的方法、装置及系统
WO2008154859A1 (fr) Procédé, système et appareil permettant de réaliser un mécanisme d'utilisateur de ligne dédiée inverse

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16902701

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16902701

Country of ref document: EP

Kind code of ref document: A1