CN114422860A - Method, device and system for reducing CDN bandwidth of peak period video on demand - Google Patents

Method, device and system for reducing CDN bandwidth of peak period video on demand Download PDF

Info

Publication number
CN114422860A
CN114422860A CN202210068777.6A CN202210068777A CN114422860A CN 114422860 A CN114422860 A CN 114422860A CN 202210068777 A CN202210068777 A CN 202210068777A CN 114422860 A CN114422860 A CN 114422860A
Authority
CN
China
Prior art keywords
peak
video
terminal equipment
cdn
playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210068777.6A
Other languages
Chinese (zh)
Inventor
张孟东
党永在
聂青云
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan Funshion Online Technologies Co ltd
Original Assignee
Wuhan Funshion Online Technologies Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan Funshion Online Technologies Co ltd filed Critical Wuhan Funshion Online Technologies Co ltd
Priority to CN202210068777.6A priority Critical patent/CN114422860A/en
Publication of CN114422860A publication Critical patent/CN114422860A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26216Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47217End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks

Landscapes

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

Abstract

The invention discloses a method, a device and a system for reducing bandwidth of a CDN (content delivery network) for video on demand in a peak period, wherein the method comprises the following steps: collecting terminal equipment parameters and historical CDN bandwidth data of the terminal equipment; calculating the minimum video definition and the corresponding code rate of the corresponding terminal equipment according to the parameters of the terminal equipment; predicting future peak time periods of corresponding terminal equipment according to historical CDN bandwidth data to form a peak time period prediction list; judging whether the current playing time belongs to the time before the peak, in the peak or after the peak according to the peak time period prediction list; and respectively issuing different broadcast control strategies and video sources with different code rates to the terminal equipment before entering a peak, during the peak and after the peak. The invention can implement different playing control strategies in different playing time periods on the premise of not influencing the watching experience of the user, can reduce the bandwidth peak value of the CDN, and can reduce the pressure and the cost of the server.

Description

Method, device and system for reducing CDN bandwidth of peak period video on demand
Technical Field
The invention belongs to the technical field of video broadcasting control, and particularly relates to a method, a device and a system for reducing bandwidth of a video-on-demand CDN (content delivery network) in a peak period.
Background
In order to reduce the cost and pressure of the self-built server, and to reduce the user playing delay and improve the user viewing experience, the video on demand service provider generally purchases a CDN acceleration service. The CDN charging mode comprises two modes of flow charging and bandwidth charging. Due to the high traffic usage scenario of video on demand, the on demand service provider generally chooses bandwidth charging, and in this mode, the peak bandwidth is the main factor determining the final CDN cost. Due to the centralization of most users in watching habits and working and resting time, the CDN bandwidth use curve has an obvious peak phenomenon, the bandwidth occupation in other time periods except a peak period is low, and the industrial problem of reducing the peak value and reducing the bandwidth cost is solved.
If the CDN bandwidth peak value can be reduced on the premise of not influencing the user viewing experience, the pressure and the cost of the on-demand service server are reduced.
Disclosure of Invention
In view of this, the present invention provides a method, an apparatus, and a system for reducing CDN bandwidth for peak video on demand, so as to solve the problem of an excessively high CDN bandwidth peak.
The first aspect of the present invention discloses a method for reducing bandwidth of a CDN for video on demand during peak hours, where the method includes:
collecting terminal equipment parameters and historical CDN bandwidth data of the terminal equipment;
calculating the minimum video definition and the corresponding code rate of the corresponding terminal equipment according to the parameters of the terminal equipment;
predicting future peak time periods of corresponding terminal equipment according to historical CDN bandwidth data to form a peak time period prediction list;
judging whether the current playing time belongs to the time before the peak, in the peak or after the peak according to the peak time period prediction list;
and respectively issuing different broadcast control strategies and video sources with different code rates to the terminal equipment before entering a peak, during the peak and after the peak.
On the basis of the above technical solution, preferably, the terminal device parameters include, but are not limited to, a screen size, a system resolution, a decoding chip model, and a historical play frame rate; the historical CDN bandwidth data comprises historical CDN bandwidth peak time periods of the terminal equipment in a period of time, and the historical CDN bandwidth peak time periods are divided into working days, weekends and holidays.
On the basis of the above technical solution, preferably, the calculating the minimum video definition and the corresponding code rate of the corresponding terminal device according to the terminal device parameter specifically includes:
classifying the video playing capacity of the equipment into high, medium and low according to the parameters of the terminal equipment;
synchronizing the parameters of the terminal equipment to a video tabletting system, and guiding the tabletting system to respectively produce videos which are played in a peak time period and meet the minimum acceptance degree of a user and have three code rates of high, medium and low according to each resolution;
the high, medium and low classifications of the video playing capability of the equipment correspond to the high, medium and low code rates corresponding to each resolution.
On the basis of the above technical solution, preferably, the predicting a peak time period in the future of the corresponding terminal device according to the historical CDN bandwidth data, and forming a peak time period prediction list specifically includes:
acquiring daily CDN bandwidth data in historical CDN bandwidth peak time periods, and counting n bandwidth peaks and peak interval time periods before daily ranking;
classifying according to working days, weekends and holidays, and respectively calculating the first n average peak time periods in each classification;
according to n bandwidth peak and peak interval time periods before ranking every day and date classification, predicting peak time periods in the next day through a big data analysis technology, and forming a peak time period prediction list: [ T ]start_1-Tend_1,Tstart_2-Tend_2,Tstart_i-Tend_i,…,Tstart_n-Tend_n],i=1,2,…,n。
On the basis of the above technical solution, preferably, the issuing different broadcast control strategies and issuing video sources with different code rates to the terminal device before entering a peak, during the peak and after the peak respectively specifically includes:
if the current time T<Tstart_i-t0Before the peak time period, predicting a video list to be watched by a user next according to the current playing scene and the watching habit of the user of the terminal equipment, starting video pre-downloading according to the video list, downloading the videos to the local in batches, starting a local playing agent at the same time, and switching online playing to local playing agent playing;
when T isstart_i<T<Tend_iWhen the peak time period is entered, acquiring the lowest acceptance rate video V used in the peak time period corresponding to each definition according to the playing capacity P of the current equipment, and seamlessly switching to the corresponding low rate video V according to the definition of the current equipment;
when T isend_i<T<Tstart_i+1Namely, when the user exits the peak time period, various automatic playing scenes are recovered, the video with the normal code rate is switched back, and the monitoring of the playing behavior in the peak time period is closed.
On the basis of the technical scheme, preferably, when T isstart_i<T<Tend_iI.e. the peak time period has been entered, further comprising:
closing other various automatic playing scenes except the video currently played by the terminal equipment, switching to display a video poster by default, and actively clicking the poster by a user to trigger playing;
the client starts the monitoring of the play behavior in the peak period, the user does not operate for a long time, or the camera detects that the user leaves the play terminal equipment, and the play is automatically paused.
On the basis of the above technical solution, preferably, the predicting a video list to be watched by the user next according to the current playing scene of the terminal device and the watching habit of the user, and the starting of the video pre-download according to the video list specifically includes:
if the long video is being played, the rest part of the current video, the next N episodes or movies are downloaded to the local, and if the short video is being played, M videos in the video list are downloaded to the local.
In a second aspect of the present invention, an apparatus for reducing bandwidth of a CDN for video on demand during peak hours is disclosed, the apparatus comprising:
a data collection module: the CDN flow monitoring system is used for collecting terminal equipment parameters through the play control system and collecting historical CDN bandwidth data of the terminal equipment through the CDN flow monitoring system;
a code rate calculation module: the system is used for calculating the minimum video definition and the corresponding code rate of the corresponding terminal equipment in the play control system according to the parameters of the terminal equipment;
a peak prediction module: the terminal equipment is used for predicting the future peak time period of the corresponding terminal equipment according to historical CDN bandwidth data collected by a CDN flow monitoring system to form a peak time period prediction list;
a time period judging module: the system is used for judging whether the current playing time belongs to the time before the peak is entered, the time in the peak or the time after the peak according to the peak time period prediction list;
and a broadcast control strategy module: the method is used for respectively issuing different broadcast control strategies and video sources with different code rates to client-side on-demand software on the terminal equipment before peak entering, during peak entering and after peak entering.
On the basis of the above technical solution, preferably, the broadcast control policy module specifically includes:
a broadcasting control unit before peak: the method comprises the steps that before the peak time period, a video list to be watched next by a user is predicted according to the current playing scene of the terminal equipment and the watching habit of the user, video pre-downloading is started according to the video list, videos are downloaded to the local in batches, meanwhile, a local playing agent is started, and online playing is switched to the local playing agent to be played;
and a broadcast control unit in the peak: the video processing method comprises the steps that when the peak time period is entered, the lowest acceptance rate video V used in the peak time period corresponding to each definition is obtained according to the playing capacity P of current equipment, and the video V with the corresponding low rate is seamlessly switched according to the definition of the current equipment;
and a post-peak broadcast control unit: the method is used for recovering various automatic playing scenes when the user exits from the peak time period, switching back to the video with the normal code rate, and closing the monitoring of the playing behavior in the peak time period.
In a third aspect of the present invention, a system for reducing bandwidth of a CDN for video on demand during peak periods is provided, including: a CDN flow monitoring system, a play control system, a media resource system, client-side on-demand software and a video tabletting production system;
CDN flow monitoring system: the terminal equipment is used for collecting historical CDN bandwidth data, predicting future peak time periods of the corresponding terminal equipment according to the historical CDN bandwidth data, and forming a peak time period prediction list;
video preforming production system: the system is used for providing original video materials for a media resource system, and respectively producing videos which are played in a peak time period only and meet three code rates of high, medium and low of the lowest acceptance degree of a user according to terminal equipment parameters collected by a playing control system;
the playing control system comprises: the system is used for collecting terminal equipment parameters, calculating the minimum video definition and the corresponding code rate of the corresponding terminal equipment according to the terminal equipment parameters, acquiring a peak time period prediction list from a CDN flow monitoring system at regular time, and respectively issuing different broadcast control strategies and video sources with different code rates to client on-demand software on the terminal equipment before entering a peak, in the peak and after the peak.
The client-side on-demand software comprises the following steps: and the play control system is used for responding to the play control strategy issued by the play control system and controlling the play.
Compared with the prior art, the invention has the following beneficial effects:
1) the method and the device predict the future peak time period of the corresponding terminal equipment according to the historical CDN bandwidth data, calculate the minimum video definition and the corresponding code rate of the corresponding terminal equipment in the CDN bandwidth peak time period according to the terminal equipment parameters on the premise of not influencing the viewing experience, and provide various data support for a play control system
2) Before, during and after the peak, the back-end broadcast control system issues different broadcast control strategies to the client, and issues video sources with different code rates. Before entering a peak, videos are preloaded in batches in advance, part of flow which is supposed to be occupied in a peak time period is consumed in advance, bandwidth pressure in the peak time period is shared, in the peak time period, the videos are seamlessly switched to videos with low code rates according to the playing capacity of current equipment, playing behavior monitoring is carried out, and the purpose of reducing bandwidth peak values is achieved through different playing control strategies in different time periods.
3) The invention can reduce the bandwidth peak value of the CDN and reduce the pressure and the cost of the server on the premise of not influencing the watching experience of a user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method of reducing peak demand CDN bandwidth of the present invention;
FIG. 2 is a system diagram of the present invention for reducing peak demand CDN bandwidth;
fig. 3 is a schematic diagram illustrating a play control according to a play control policy according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Referring to fig. 1, the present invention provides a method for reducing bandwidth of a high peak period video on demand CDN, and relates to a CDN flow monitoring system, a video tabletting production system, a play control system, a media resource system, and client on demand software.
The invention discloses a method for reducing bandwidth of a high peak period video on demand CDN, which comprises the following steps:
s1, collecting terminal equipment parameters and historical CDN bandwidth data of the terminal equipment;
specifically, the parameters of the terminal device of the client are collected through the play control system, including but not limited to screen size, system resolution, decoding chip model, historical play frame rate, and the like;
historical CDN bandwidth data are collected through a CDN flow monitoring system, the historical CDN bandwidth data comprise daily CDN bandwidth data of the terminal equipment in a period of time, historical CDN bandwidth peak time periods are counted, and the historical CDN bandwidth peak time periods are divided into working days, weekends and holidays.
S2, calculating the minimum video definition and the corresponding code rate of the corresponding terminal equipment according to the parameters of the terminal equipment;
the playing control system classifies the video playing capability P of the equipment into three categories, namely high, medium and low according to parameters such as the screen size, the system resolution, the decoding chip model and the historical playing frame rate of the terminal equipment: [ P ]high,Pmedium,Plow];
Then, parameters of the terminal equipment are synchronized to a video tabletting system, the video resolution generally has 4K, 1080P, super-definition, high-definition, standard definition and the like, and for the same resolution, the tabletting system is guided to respectively produce videos which are played in a peak time period and meet the minimum acceptance degree of a user and have three code rates of high, medium and low V by adjusting frame rate, CRF parameters (preferentially ensuring video quality), sharpening parameters and the like: [ P ]high,Pmedium,Plow];
Wherein, three categories of high, medium and low of video playing capability of equipment [ Phigh,Pmedium,Plow]Three code rates of high, medium and low V corresponding to each resolutionhigh,Vmedium,Vlow]And correspondingly.
S3, predicting future peak time periods of the corresponding terminal equipment according to historical CDN bandwidth data to form a peak time period prediction list;
acquiring daily CDN bandwidth data in historical CDN bandwidth peak time periods, and counting n bandwidth peaks and peak interval time periods before daily ranking;
classifying according to working days, weekends and holidays, and respectively calculating the first n average peak time periods in each classification;
according to n bandwidth peak and peak interval time periods before ranking every day and date classification, predicting peak time periods in the next day through a big data analysis technology, and forming a peak time period prediction list: [ T ]start_1-Tend_1,Tstart_2-Tend_2,Tstart_i-Tend_i,…,Tstart_n-Tend_n],i=1,2,…,n。
For example, the current day bandwidth peak Top3 and the peak interval time period are counted. The average peak time period of Top3 of each classification is calculated according to the classification of working day, weekend and holiday. According to historical data and date classification, predicting a peak time period list of the next day: [ T ]start_1-Tend_1,Tstart_2-Tend_2,Tstart_3-Tend_3]
S4, judging whether the current playing time belongs to the time before the peak, in the peak or after the peak according to the peak time period prediction list;
when the terminal equipment plays the video, the playing control system judges the time period according to the current time T. Setting a buffer time t0,t0If the current time T is 30min<Tstart_i-t0Then before entering peak time period, when Tstart_i<T<Tend_iThen a peak time period has been entered, when Tend_i<T<Tstart_i+1Then, it is after the peak.
And S5, respectively issuing different broadcast control strategies and video sources with different code rates to the terminal equipment before, during and after the peak.
Specifically, the playing control system issues playing control strategies to the client-side on-demand software according to different time periods before peak entering, in peak and after peak entering, and the client-side on-demand software responds to the playing control strategies to perform video playing control in different time periods.
If the current time T<Tstart_i-t0Before the terminal equipment enters a peak time period, the playing control system predicts a video list to be watched next by the user according to the current playing scene of the terminal equipment and the watching habit of the user, starts video pre-downloading according to the video list, downloads the videos to the local in batches, starts a local playing agent at the same time, and switches online playing to local playing agent playing. If the long video is being played, the rest part of the current video, the next N episodes or movies are downloaded to the local, and if the short video is being played, M videos in the video list are downloaded to the local.
When T isstart_i<T<Tend_iWhen the peak time period is reached, except the video currently played by the terminal equipment, other various automatic playing scenes are closed, the video poster is switched to be displayed in a default mode, and the user actively clicks the poster to trigger playing;
according to the playing capacity P of the current equipment, acquiring the lowest acceptance rate video V used in the peak time period corresponding to each definition, and according to the definition of the current equipment, seamlessly switching to the corresponding low rate video V; for example, the playing capability of a terminal device is PlowWhen the peak time period is entered, the peak time period,
the client starts the monitoring of the play behavior in the peak period, the user does not operate for a long time, or the camera detects that the user leaves the play terminal equipment, and the play is automatically paused.
When T isend_i<T<Tstart_i+1Namely, when the user exits the peak time period, various automatic playing scenes are recovered, the video with the normal code rate is switched back, and the monitoring of the playing behavior in the peak time period is closed.
Corresponding to the above method embodiment, the present invention further provides a device for reducing bandwidth of a CDN for video on demand during peak hours, where the device includes:
a data collection module: the CDN flow monitoring system is used for collecting terminal equipment parameters through the play control system and collecting historical CDN bandwidth data of the terminal equipment through the CDN flow monitoring system;
a code rate calculation module: the system is used for calculating the minimum video definition and the corresponding code rate of the corresponding terminal equipment in the play control system according to the parameters of the terminal equipment;
a peak prediction module: the terminal equipment is used for predicting a future peak time period of the corresponding terminal equipment in the play control system according to historical CDN bandwidth data collected by the CDN flow monitoring system to form a peak time period prediction list;
a time period judging module: the system is used for judging whether the current playing time belongs to the time before the peak is entered, the time in the peak or the time after the peak according to the peak time period prediction list;
and a broadcast control strategy module: the system is used for respectively issuing different broadcast control strategies and video sources with different code rates to client on-demand software on the terminal equipment before peak entering, during peak entering and after peak entering, and the client on-demand software responds to the broadcast control strategies to perform broadcast control.
The broadcast control strategy module specifically comprises the following functional units:
a broadcasting control unit before peak: before the peak time period, except for the video currently played by the terminal equipment, closing other various automatic playing scenes, switching to a default display video poster, and actively clicking the poster by a user to trigger playing; predicting a video list to be watched by a user next according to a current playing scene and a user watching habit of the terminal equipment, starting video pre-downloading according to the video list, downloading videos to the local in batches, starting a local playing agent at the same time, and switching online playing to local playing agent playing; the client starts the monitoring of the play behavior in the peak period, the user does not operate for a long time, or the camera detects that the user leaves the play terminal equipment, and the play is automatically paused.
And a broadcast control unit in the peak: and when the peak time slot is entered, acquiring the lowest acceptance rate video V used in the peak time slot corresponding to each definition according to the playing capacity P of the current equipment, and seamlessly switching to the corresponding low rate video V according to the definition of the current equipment.
And a post-peak broadcast control unit: the method is used for recovering various automatic playing scenes when the user exits from the peak time period, switching back to the video with the normal code rate, and closing the monitoring of the playing behavior in the peak time period.
The above device embodiments and method embodiments are in one-to-one correspondence, and please refer to the method embodiment for the summary description of the device embodiments.
The present invention further provides a system for reducing bandwidth of a CDN for video on demand during peak period, please refer to fig. 2, which includes: the system comprises a CDN network 100, a CDN flow monitoring system 101, a play control system 102, a media resource system 103, client-side on-demand software 104 and a video tabletting production system 106.
CDN flow monitoring system 101: the terminal equipment is used for collecting historical CDN bandwidth data, predicting future peak time periods of the corresponding terminal equipment according to the historical CDN bandwidth data, and forming a peak time period prediction list.
Acquiring daily CDN bandwidth data in historical CDN bandwidth peak time periods, and counting n bandwidth peaks and peak interval time periods before daily ranking; classifying according to working days, weekends and holidays, and respectively calculating the first n average peak time periods in each classification; according to n bandwidth peak and peak interval time periods before ranking every day and date classification, predicting peak time periods in the next day through a big data analysis technology, and forming a peak time period prediction list: [ T ]start_1-Tend_1,Tstart_2-Tend_2,Tstart_i-Tend_i,…,Tstart_n-Tend_n],i=1,2,…,n。
For example, daily CDN bandwidth data is collected, and the daily bandwidth peak Top3 and the peak interval time period are counted. The average peak time period of Top3 of each classification is calculated according to the classification of working day, weekend and holiday. Predicting a list of peak time periods on the next day according to historical data and date classification: [ T ]start_1-Tend_1,Tstart_2-Tend_2,Tstart_3-Tend_3]
Video sheeting production system 106: the system is used for producing video products with different resolutions, coding formats and code rates for an original video material according to a production standard and providing the video products to a 103 media resource system; and respectively producing videos which are played in only a peak time period and meet the minimum acceptance degree of a user and have high, medium and low code rates according to the parameters of the terminal equipment collected by the playing control system for each resolution ratio.
The video resolution generally has 4K, 1080P, super-definition, high-definition, standard definition and the like, and videos with different code rates can be output by adjusting the frame rate, the CRF parameter (preferentially ensuring the video quality), the sharpening parameter and the like with the same resolution.
The playback control system 102: the system is used for collecting terminal equipment parameters, calculating the minimum video definition and the corresponding code rate of the corresponding terminal equipment according to the terminal equipment parameters, regularly acquiring a peak time period prediction list from the CDN flow monitoring system 101, and respectively issuing different broadcast control strategies and video sources with different code rates to client on-demand software on the terminal equipment before entering a peak, in the peak and after the peak.
Specifically, parameters such as screen size, system resolution, decoding chip model, historical playing frame rate and the like of the terminal device are collected, and the video playing capability of the device is classified: [ P ]high,Pmedium,Plow]。
Synchronizing the collected equipment parameters to a video tabletting system, and guiding the tabletting system to respectively produce videos which are played in a peak time period and meet the minimum acceptance degree of users and have three code rates of high, medium and low according to each resolution ratio: [ V ]high,Vmedium,Vlow]。
The current day peak time period is regularly acquired from the CDN flow monitoring system 101, and the current time T is dragged<Tstart_i-t0That is, 30 minutes before the peak time slot, the client-side on-demand software 104 starts to issue a broadcast control instruction PrePeak, which indicates that the peak time slot is about to enter; when T isstart_i<T<Tend_iWhen the peak time period is reached, a broadcast control instruction InPeak is issued to the on-demand software, which indicates that the peak time period is reached; t isend_i<T<Tstart_i+1Namely, when the peak time period exits, the broadcast control instruction ExitPeak is issued.
Client-side on-demand software 104: for performing playback control in response to the playback control strategy of the playback control system 102, as shown in fig. 3.
1. Receipt of PrePeak instruction
And predicting a video list which is likely to be watched by the user next according to the current playing scene and the watching habit of the user, and starting a pre-downloading logic. If a long video (movie, tv show) is being played, the remainder of the current video, the next N episodes or movies are downloaded locally. If the short video is being played, downloading M videos in the video list to the local. And meanwhile, starting a local play agent, and switching the on-line play to the local play agent for play.
By preloading videos in batches in advance, part of traffic which is supposed to be occupied in the peak time period is consumed in advance, and the bandwidth pressure in the peak time period is shared.
2. Receipt of InPeak instruction
(1) Except the video which is played at present, other various automatic playing scenes are closed, the video poster is switched to be displayed in a default mode, and the user actively clicks the poster to trigger playing.
(2) And according to the playing capacity P of the current equipment, acquiring the lowest acceptance code rate video V used in the peak time period corresponding to each definition from the playing control system, and seamlessly switching to the low code rate video V.
(3) The client starts the monitoring of the play behavior in the peak period, the user does not operate for a long time, or the camera detects that the user leaves the play terminal equipment, and the play is automatically paused.
By the broadcasting control strategy, the consumption of the bandwidth flow in the peak period can be reduced to the maximum extent on the premise of not influencing the watching experience of the user.
3. Receiving ExitPeak instruction
And recovering various automatic playing scenes, switching back to the video with the normal code rate, and closing the play behavior monitoring at the peak period.
The present invention also discloses an electronic device, comprising: at least one processor, at least one memory, a communication interface, and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the memory stores program instructions executable by the processor, which invokes the program instructions to implement the methods of the invention described above.
The invention also discloses a computer readable storage medium which stores computer instructions for causing the computer to implement all or part of the steps of the method of the embodiment of the invention. The storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a read-only memory ROM, a random access memory RAM, a magnetic disk, or an optical disk.
The above-described system embodiments are merely illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts shown as units may or may not be physical units, i.e. may be distributed over a plurality of network units. Without creative labor, a person skilled in the art can select some or all of the modules according to actual needs to achieve the purpose of the solution of the embodiment.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A method for reducing CDN bandwidth for peak demand video, the method comprising:
collecting terminal equipment parameters and historical CDN bandwidth data of the terminal equipment;
calculating the minimum video definition and the corresponding code rate of the corresponding terminal equipment according to the parameters of the terminal equipment;
predicting future peak time periods of corresponding terminal equipment according to historical CDN bandwidth data to form a peak time period prediction list;
judging whether the current playing time belongs to the time before the peak, in the peak or after the peak according to the peak time period prediction list;
and respectively issuing different broadcast control strategies and video sources with different code rates to the terminal equipment before entering a peak, during the peak and after the peak.
2. The method of reducing peak hour video on demand (CDN) bandwidth of claim 1 wherein said end device parameters include but are not limited to screen size, system resolution, decoding chip model, historical play frame rate; the historical CDN bandwidth data comprises historical CDN bandwidth peak time periods of the terminal equipment in a period of time, and the historical CDN bandwidth peak time periods are divided into working days, weekends and holidays.
3. The method of claim 2, wherein the calculating the minimum video resolution and the corresponding code rate for the corresponding terminal device according to the terminal device parameters specifically comprises:
classifying the video playing capacity of the equipment into high, medium and low according to the parameters of the terminal equipment;
synchronizing the parameters of the terminal equipment to a video tabletting system, and guiding the tabletting system to respectively produce videos which are played in a peak time period and meet the minimum acceptance degree of a user and have three code rates of high, medium and low according to each resolution;
the high, medium and low classifications of the video playing capability of the equipment correspond to the high, medium and low code rates corresponding to each resolution.
4. The method for reducing peak hour video on demand (CDN) bandwidth according to claim 3, wherein predicting a corresponding terminal device future peak hour period according to historical CDN bandwidth data, and forming a peak hour period prediction list specifically comprises:
acquiring daily CDN bandwidth data in historical CDN bandwidth peak time periods, and counting n bandwidth peaks and peak interval time periods before daily ranking;
classifying according to working days, weekends and holidays, and respectively calculating the first n average peak time periods in each classification;
sorting by large number according to the top n bandwidth peaks and peak interval time periods and dates of daily rankingPredicting the peak time period of the next day according to the analysis technology, and forming a peak time period prediction list: [ T ]start_1-Tend_1,Tstart_2-Tend_2,Tstart_i-Tend_i,…,Tstart_n-Tend_n],i=1,2,…,n。
5. The method for reducing the bandwidth of the CDN for video on demand in the peak period as recited in claim 1, wherein the issuing different broadcast control policies and video sources with different code rates to the terminal device before, during, and after the peak period specifically includes:
if the current time T<Tstart_i-t0Before the peak time period, predicting a video list to be watched by a user next according to the current playing scene and the watching habit of the user of the terminal equipment, starting video pre-downloading according to the video list, downloading the videos to the local in batches, starting a local playing agent at the same time, and switching online playing to local playing agent playing; (ii) a
When T isstart_i<T<Tend_iWhen the peak time period is entered, acquiring the lowest acceptance rate video V used in the peak time period corresponding to each definition according to the playing capacity P of the current equipment, and seamlessly switching to the corresponding low rate video V according to the definition of the current equipment;
when T isend_i<T<Tstart_i+1Namely, when the user exits the peak time period, various automatic playing scenes are recovered, the video with the normal code rate is switched back, and the monitoring of the playing behavior in the peak time period is closed.
6. The method of claim 5 wherein T is the time T when the CDN bandwidth is reduced for peak video on demandstart_i<T<Tend_iI.e. the peak time period has been entered, further comprising:
closing other various automatic playing scenes except the video currently played by the terminal equipment, switching to display a video poster by default, and actively clicking the poster by a user to trigger playing;
the client starts the monitoring of the play behavior in the peak period, the user does not operate for a long time, or the camera detects that the user leaves the play terminal equipment, and the play is automatically paused.
7. The method according to claim 5, wherein the predicting a video list to be watched next by the user according to a current playing scene of the terminal device and a watching habit of the user, and the starting of the video pre-download according to the video list specifically comprises:
if the long video is being played, the rest part of the current video, the next N episodes or movies are downloaded to the local, and if the short video is being played, M videos in the video list are downloaded to the local.
8. An apparatus for reducing bandwidth of a peak demand CDN, the apparatus comprising:
a data collection module: the CDN flow monitoring system is used for collecting terminal equipment parameters through the play control system and collecting historical CDN bandwidth data of the terminal equipment through the CDN flow monitoring system;
a code rate calculation module: the system is used for calculating the minimum video definition and the corresponding code rate of the corresponding terminal equipment in the play control system according to the parameters of the terminal equipment;
a peak prediction module: the terminal equipment is used for predicting the future peak time period of the corresponding terminal equipment according to historical CDN bandwidth data collected by a CDN flow monitoring system to form a peak time period prediction list;
a time period judging module: the system is used for judging whether the current playing time belongs to the time before the peak is entered, the time in the peak or the time after the peak according to the peak time period prediction list;
and a broadcast control strategy module: the method is used for respectively issuing different broadcast control strategies and video sources with different code rates to client-side on-demand software on the terminal equipment before peak entering, during peak entering and after peak entering.
9. The apparatus for reducing bandwidth of a peak demand CDN of claim 8 wherein the broadcast policy module specifically includes:
a broadcasting control unit before peak: the method comprises the steps that before the peak time period, a video list to be watched next by a user is predicted according to the current playing scene of the terminal equipment and the watching habit of the user, video pre-downloading is started according to the video list, videos are downloaded to the local in batches, meanwhile, a local playing agent is started, and online playing is switched to the local playing agent to be played;
and a broadcast control unit in the peak: the video processing method comprises the steps that when the peak time period is entered, the lowest acceptance rate video V used in the peak time period corresponding to each definition is obtained according to the playing capacity P of current equipment, and the video V with the corresponding low rate is seamlessly switched according to the definition of the current equipment;
and a post-peak broadcast control unit: the method is used for recovering various automatic playing scenes when the user exits from the peak time period, switching back to the video with the normal code rate, and closing the monitoring of the playing behavior in the peak time period.
10. A system for reducing bandwidth of a peak demand CDN, comprising: a CDN flow monitoring system, a play control system, a media resource system, client-side on-demand software and a video tabletting production system;
CDN flow monitoring system: the terminal equipment is used for collecting historical CDN bandwidth data, predicting future peak time periods of the corresponding terminal equipment according to the historical CDN bandwidth data, and forming a peak time period prediction list;
video preforming production system: the system is used for providing original video materials for a media resource system and respectively producing videos which are played in a peak time period and meet the minimum acceptance degree of a user and have three code rates of high, medium and low according to terminal equipment parameters collected by a playing control system and aiming at each resolution;
the playing control system comprises: the system is used for collecting terminal equipment parameters, calculating the minimum video definition and the corresponding code rate of the corresponding terminal equipment according to the terminal equipment parameters, acquiring a peak time period prediction list from a CDN flow monitoring system at regular time, and respectively issuing different broadcast control strategies and video sources with different code rates to client on-demand software on the terminal equipment before entering a peak, in the peak and after the peak;
the client-side on-demand software comprises the following steps: and the play control system is used for responding to the play control strategy issued by the play control system and controlling the play.
CN202210068777.6A 2022-01-21 2022-01-21 Method, device and system for reducing CDN bandwidth of peak period video on demand Pending CN114422860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210068777.6A CN114422860A (en) 2022-01-21 2022-01-21 Method, device and system for reducing CDN bandwidth of peak period video on demand

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210068777.6A CN114422860A (en) 2022-01-21 2022-01-21 Method, device and system for reducing CDN bandwidth of peak period video on demand

Publications (1)

Publication Number Publication Date
CN114422860A true CN114422860A (en) 2022-04-29

Family

ID=81275068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210068777.6A Pending CN114422860A (en) 2022-01-21 2022-01-21 Method, device and system for reducing CDN bandwidth of peak period video on demand

Country Status (1)

Country Link
CN (1) CN114422860A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979757A (en) * 2022-06-02 2022-08-30 北京字跳网络技术有限公司 Video distribution method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110164686A1 (en) * 2008-09-16 2011-07-07 Xiuping Lu Method for delivery of digital linear tv programming using scalable video coding
CN106162233A (en) * 2016-07-08 2016-11-23 合网络技术(北京)有限公司 Code check recommends method and device
CN109379632A (en) * 2018-10-25 2019-02-22 中国地质大学(武汉) A kind of progressive switching method of code rate and system of dynamic self-adapting HTTP stream
CN113747212A (en) * 2021-08-23 2021-12-03 北京奇艺世纪科技有限公司 Video content downloading method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110164686A1 (en) * 2008-09-16 2011-07-07 Xiuping Lu Method for delivery of digital linear tv programming using scalable video coding
CN106162233A (en) * 2016-07-08 2016-11-23 合网络技术(北京)有限公司 Code check recommends method and device
CN109379632A (en) * 2018-10-25 2019-02-22 中国地质大学(武汉) A kind of progressive switching method of code rate and system of dynamic self-adapting HTTP stream
CN113747212A (en) * 2021-08-23 2021-12-03 北京奇艺世纪科技有限公司 Video content downloading method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979757A (en) * 2022-06-02 2022-08-30 北京字跳网络技术有限公司 Video distribution method, device, equipment and storage medium
CN114979757B (en) * 2022-06-02 2024-01-30 北京字跳网络技术有限公司 Video publishing method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US10575064B1 (en) Systems and methods for internet video delivery
US7360230B1 (en) Overlay management
US20150222944A1 (en) Selection compression
WO2014022200A1 (en) Ad selection and next video recommendation in a video streaming system exclusive of user identity-based parameter
CN101355686A (en) Method and system for statistic of audience rating
WO2000007372A1 (en) Overlay management
CN102118210A (en) Methods and apparatuses to send feedback from clients to a server in a content distribution broadcast system
CN105052162B (en) System and method for optimizing storage and transcoding cost in network DVR
CN112152995B (en) SVC video transmission method based on intelligent edge and intelligent edge
WO2022165664A1 (en) Live broadcast interface display method and apparatus, terminal, server, and storage medium
CN111669617B (en) Live video stream transmission method based on intelligent edge
WO2018236424A1 (en) Efficient insertion of media items in media streams
CA2903855C (en) System and method for optimizing storage and transcoding costs in network dvr
CN111263229B (en) Video distribution method and device and electronic equipment
CN113230658A (en) Resource allocation method and device, computer readable medium and electronic equipment
CN103327371A (en) Intelligent program information booking and reminding platform and method
CN114422860A (en) Method, device and system for reducing CDN bandwidth of peak period video on demand
CN114584801A (en) Video resource caching method based on graph neural network recommendation algorithm
CN116017003A (en) Self-adaptive VR360 video-on-demand method and system based on multiple artificial intelligence methods
CN108810468B (en) Video transmission device and method for optimizing display effect
CN110072125A (en) Video broadcasting method and device
EP1606749B1 (en) Selecting program items depending on a period of time in which the program items are to be stored
KR102492022B1 (en) Method, Apparatus and System of managing contents in Multi-channel Network
CN112751865B (en) Data uplink optimization method and device
CN114244843A (en) Streaming media downloading method, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination