CN105847864B - A kind of method and device for recommending video definition - Google Patents

A kind of method and device for recommending video definition Download PDF

Info

Publication number
CN105847864B
CN105847864B CN201610320231.XA CN201610320231A CN105847864B CN 105847864 B CN105847864 B CN 105847864B CN 201610320231 A CN201610320231 A CN 201610320231A CN 105847864 B CN105847864 B CN 105847864B
Authority
CN
China
Prior art keywords
video
video definition
clarity
definition
client
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.)
Active
Application number
CN201610320231.XA
Other languages
Chinese (zh)
Other versions
CN105847864A (en
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.)
Alibaba China Co Ltd
Youku Network Technology Beijing Co Ltd
Original Assignee
Unified Network Technology (beijing) 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 Unified Network Technology (beijing) Co Ltd filed Critical Unified Network Technology (beijing) Co Ltd
Priority to CN201610320231.XA priority Critical patent/CN105847864B/en
Publication of CN105847864A publication Critical patent/CN105847864A/en
Application granted granted Critical
Publication of CN105847864B publication Critical patent/CN105847864B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2405Monitoring of the internal components or processes of the server, e.g. server load
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2408Monitoring of the upstream path of the transmission network, e.g. client requests

Abstract

The present invention relates to a kind of method and devices for recommending video definition, this method comprises: configuring each video definition according to the relevant statistical information of working condition from content distribution network CDN service device, to CDN server and being arranged;The playing request of client is received, includes information related with the client in the playing request;In response to the playing request, searches the video definition to match with the information and be arranged;According to the video definition setting to match, Xiang Suoshu client issues the notice of the video definition about recommendation.The device includes: arrangement components, receiving part, searches component and issue video definition component.The method and device of the recommendation video definition of the embodiment of the present invention can recommend video definition automatically for user, avoid working condition of the user due to that can not know CDN server, it has selected unsuitable video definition and has caused to play Caton, improved the experience satisfaction that user watches video.

Description

A kind of method and device for recommending video definition
Technical field
The present invention relates to video technique field more particularly to a kind of method and devices for recommending video definition.
Background technique
Existing video network plays, and for identical video content, content distributing network (CDN) server can be visitor Family end provides the video of a variety of clarity corresponding with video content, such as: for TV play A (A is TV play title), CDN Server can provide SD video, HD video or super clear video, and the corresponding video of various clarity is mutually indepedent, respectively possess Different broadcasting source addresses;The video that user can choose oneself desired clarity on the client plays out.Difference etc. There are larger differences for the code rate of the clarity of grade, for example, the code rate of HD video is 1Mbps, the code rate of super clear video is The CDN server bandwidth of 1.5Mbps, the higher video of play clarity, occupancy are bigger.
In city, user, which watches video, has certain tide, i.e. different periods, watches the number of users difference of video It is very big.Since the total bandwidth of CDN server is limited, in the period of a large number of users viewing video, CDN server is usually connect Nearly oepration at full load, however, since user can not know in client the working condition of CDN server, the use being largely newly added Family still selects the higher video of clarity, and the bandwidth that will lead to CDN server is insufficient, and it is frequent to cause client video playing Ground Caton influences the video playing experience of user.
Summary of the invention
Technical problem
In view of this, the technical problem to be solved by the present invention is to, provide it is a kind of recommend clarity method and apparatus, with to Client recommends suitable video playing clarity, to reduce Caton, improves the video playing experience of user.
Solution
In order to solve the above-mentioned technical problem, one aspect of the present invention provides a kind of method for recommending video definition, this method It include: to be configured according to the relevant statistical information of from content distribution network CDN service device, working condition to CDN server Each video definition setting;The playing request of client is received, includes letter related with the client in the playing request Breath;In response to the playing request, searches the video definition to match with the information and be arranged;According to the view to match The setting of frequency clarity, Xiang Suoshu client issue the notice of the video definition about recommendation.
In order to solve the above-mentioned technical problem, another aspect of the present invention provides a kind of method for recommending video definition, the party Method includes: to send playing request to server-side, includes information related with the client in the playing request;Described in reception The notice for the video definition about recommendation that server-side issues, wherein the notice is according to the view to match with the information Frequency clarity setting and generate;The clarity for playing video is determined according to the video definition of the recommendation in the notice.
In order to solve the above-mentioned technical problem, another aspect of the present invention provides a kind of device for recommending video definition, the dress Setting includes: arrangement components, for according to from content distribution network CDN service device, the working condition to CDN server is related Statistical information, configure the setting of each video definition;Receiving part, for receiving the playing request of client, the broadcasting is asked It include information related with the client in asking;Component is searched, for searching and the information in response to the playing request The video definition setting to match;Video definition component is issued, is arranged according to the video definition to match, to institute State the notice for the video definition that client is issued about recommendation.
In order to solve the above-mentioned technical problem, another aspect of the present invention provides a kind of device for recommending video definition, the dress Setting includes: transmission component, includes related with the client in the playing request for sending playing request to server-side Information;Receiving part, for receiving the notice for the video definition about recommendation that the server-side issues, wherein the notice It is to be generated according to the video definition setting to match with the information;Component is determined, for according in the notice The video definition of recommendation determines the clarity for playing video.
Beneficial effect
The method provided in an embodiment of the present invention for recommending video definition, server-side can be according to the work with CDN server Make the relevant statistical information of state, configures each video definition and be arranged, the playing request at customer in response end, and according to playing request In include client-side information search the video definition to match with the information and be arranged, set according to the video definition It sets, the notice of the video definition about recommendation is issued to client.By above-mentioned technological means, server-side can be used automatically Video definition is recommended at family, avoids working condition of the user due to that can not know CDN server, has selected unsuitable video Clarity and cause play Caton, improve user watch video experience satisfaction.
According to below with reference to the accompanying drawings becoming to detailed description of illustrative embodiments, other feature of the invention and aspect It is clear.
Detailed description of the invention
Comprising in the description and constitute the attached drawing of part of specification and specification together illustrate it is of the invention Exemplary embodiment, feature and aspect, and principle for explaining the present invention.
Fig. 1 shows the flow chart of the method according to an embodiment of the invention for recommending video definition;
Fig. 2 shows the flow charts of the method according to another embodiment of the present invention for recommending video definition;
Fig. 3 shows the structure chart of the device according to an embodiment of the invention for recommending video definition;
Fig. 4 shows another structure chart of the device according to an embodiment of the invention for recommending video definition;
Fig. 5 shows the structure chart of the device according to another embodiment of the present invention for recommending video definition;
Fig. 6 shows another structure chart of the device according to another embodiment of the present invention for recommending video definition;
Fig. 7 shows a kind of structural block diagram of recommendation video definition equipment of another embodiment of the invention.
Specific embodiment
Below with reference to attached drawing various exemplary embodiments, feature and the aspect that the present invention will be described in detail.It is identical in attached drawing Appended drawing reference indicate element functionally identical or similar.Although the various aspects of embodiment are shown in the attached drawings, remove It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary " Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, in order to better illustrate the present invention, numerous details is given in specific embodiment below. It will be appreciated by those skilled in the art that without certain details, the present invention equally be can be implemented.In some instances, for Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight purport of the invention.
Embodiment 1
Fig. 1 shows the flow chart of the method according to an embodiment of the invention for recommending video definition.This method can be applied In server-side, as shown in Figure 1, the method for the recommendation video definition specifically includes that
Step 101, according to the relevant system of working condition from content distribution network CDN service device, to CDN server Information is counted, each video definition setting is configured;
Step 102, the playing request of client is received, includes letter related with the client in the playing request Breath;
Step 103, it in response to the playing request, searches the video definition to match with the information and is arranged;
Step 104, it is arranged according to the video definition to match, Xiang Suoshu client issues the video about recommendation The notice of clarity.
The method provided in an embodiment of the present invention for recommending video definition, server-side can be according to the work with CDN server Make the relevant statistical information of state, configures each video definition and be arranged, the playing request at customer in response end, and according to playing request In include client-side information search the video definition to match with the information and be arranged, set according to the video definition It sets, the notice of the video definition about recommendation is issued to client.By above-mentioned technological means, server-side can be used automatically Video definition is recommended at family, avoids working condition of the user due to that can not know CDN server, has selected unsuitable video Clarity and cause play Caton, improve user watch video experience satisfaction.
In one example, statistical information may include that CDN server is used in the bandwidth of day part in above-mentioned steps 101 Rate, bandwidth utilization rate are the ratio that CDN server has used bandwidth and total bandwidth;Configure each video definition setting can include: According to bandwidth utilization rate, the video definition of the day part of the service covering territorial scope of CDN server is arranged in configuration pin.
For example, it can be respectively arranged CDN server in different geographical, each CDN server services covering region model for it Client in enclosing provides video playing service.For example, CDN server can be respectively arranged in Beijing, Wuhan, respectively Beijing, The client (including mobile APP (mobile application)) in Wuhan provides video playing service.Each CDN server is statistics available and records not With the bandwidth utilization rate of period, the bandwidth utilization rate of the different periods of statistics can be reported to server-side, server-side can also be actively Each CDN server is accessed to obtain the bandwidth utilization rate of each CDN server different periods.Server-side can be according to CDN server Bandwidth utilization rate configures corresponding video definition setting, for example, in the case where bandwidth utilization rate reaches 50% situation below, it can It is super clear for configuring video definition;In the case where bandwidth utilization rate reaches 50% to 85%, can configure video definition is height Clearly;In the case where bandwidth utilization rate reaches 85% or more, can configure video definition is SD.Server-side obtains different geographical CDN server after the bandwidth utilization rate of day part, can according to aforesaid way be each CDN server configure video definition set It sets.It is 30%, when can configure this in the bandwidth utilization rate of 1:30 to CDN server between 8:00 by taking Pekinese's CDN server as an example The clarity of section is super clear;It is 65% in the bandwidth utilization rate of 8:00 to CDN server between 19:00, can configure the clear of the period Clear degree is high definition;The bandwidth utilization rate of the CDN server of remaining period is 90%, can configure the clarity of remaining period as mark Clearly, to obtain for Beijing (the service covering territorial scope of the CDN server), and it is directed to the video definition of day part It is provided that
1:30 to 8:00: super clear, 8:00 is to 19:00: high definition, remaining period: SD.
Server-side can monitor the situation of change of the bandwidth utilization rate of each CDN server in real time, the change according to bandwidth utilization rate Change situation and periodically carry out the update of video definition setting, for example, can progress primary video clarity setting in every 30 minutes more Newly.
In one example, statistical information may include that CDN server is asked for the broadcasting of each operator in above-mentioned steps 101 The response success rate asked, response success rate are the ratio of the number of success response playing request and the total degree of playing request;Match Set each video definition setting can include: success rate according to response, configuration pin cover territorial scope to the service of CDN server The video definition of each operator is arranged.
For example, the client for moving APP (such as can be moved, be joined by different Mobile Network Operator The operators such as logical, telecommunications) it is connect with CDN server, the video that the stable case of operator mobile network will affect mobile APP is broadcast Fluency is put, and CDN server can objectively reflect that each operator moves for the response success rate of the playing request of each operator The stable case of dynamic network.Each CDN server is statistics available and recording needle is to the response success rate of the playing request of each operator, can The response success rate of statistics is reported into server-side, server-side can also access each CDN server actively to obtain each CDN server For the response success rate of the playing request of each operator.Server-side can be directed to the playing request of operator according to CDN server Response success rate, configure the setting of corresponding video definition.For example, in the case where response success rate is 60% situation below, it can Configuration video definition is SD, in the case where responding success rate greater than 60%, can configure video definition and is high definition or surpasses Clearly.It, can foundation after the response success rate for the playing request that each CDN server that server-side obtains different geographical is directed to each operator Each operator configuration video definition setting that aforesaid way is serviced by each CDN server.It is with Pekinese's CDN server Example, CDN server are greater than 60% for the response success rate of the playing request of Mobile Network Operator, then can configure and be directed to Beijing , and high definition or super clear is set as the video definition of Mobile Network Operator.
Server-side can monitor each CDN server in real time for the variation feelings of the response success rate of the playing request of each operator Condition, the update for the video definition setting that the situation of change according to response success rate periodically carries out, for example, can carry out for every 30 minutes The update of primary video clarity setting.
In one example, statistical information can include bandwidth utilization rate in above-mentioned steps 101, and including responding successfully Rate configures each video definition setting can include: according to bandwidth utilization rate, it may be determined that be directed to CDN server in this case Service covering territorial scope day part the first video definition setting;Success rate is responded according to playing request, it may be determined that For the second video definition setting of each operator of the service covering territorial scope of CDN server;Based on described in day part Video definition junior in the setting of first video definition and second video definition setting, can configure and be directed to CDN The video definition setting of the day part of each operator of the service covering territorial scope of server.
By taking the Mobile Network Operator that Pekinese's CDN server and the CDN server are serviced as an example, due to CDN service Device is directed to the response success rate whole day day part of the playing request of Mobile Network Operator all 60% or more, therefore can determine complete Its day part is high definition or super clear setting for the video definition of Mobile Network Operator;But since CDN server is being worked as The bandwidth utilization rate of this period in its 19:00 to second days morning 1:30 reaches 90% or more, therefore can determine the period needle again Video definition to Mobile Network Operator is SD setting, and when both setting conflicts, it is lower to can use video definition Setting (i.e. SD setting) as Pekinese's CDN server for serviced Mobile Network Operator the period video Thus clarity is obtained for Beijing and for the following video definition setting of Mobile Network Operator:
1:30 to 8:00: super clear, 8:00 is to 19:00: high definition, remaining period: SD.
It is illustrated so that statistical information is bandwidth utilization rate or response success rate as an example above, however art technology Personnel should be understood that statistical information is without being limited thereto, can also be other statistical informations, as long as its work for being able to reflect CDN server Make state, helps to recommend suitable video definition.
In one example, in above-mentioned steps 102 information related with client may include region where client and The IP address of client at least one.
For example, different IP address sections can be distributed for different operators in a network, as some movement APP (visitor Family end) when accessing the mobile network of certain operator, which distributes in the IP address section that it is distributed for movement APP One IP address.Therefore, the operator that client is accessed can be analyzed from the IP address of client.Server-side can receive client The playing request at end, and playing request is responded, information related with client matches with include in playing request for lookup Video definition setting is recommended.Each video definition setting of configuration has been illustrated in the examples described above can be according to not CDN server with region is directed to the playing request of each operator in the bandwidth utilization rate of day part and/or each CDN server Success rate is responded, therefore, information related with client may include the IP address of the region and/or client where client, In order to which server-side is searched, is matched in video definition setting according to above- mentioned information.For example, if request in institute The information for including indicates that the client be location is Beijing, and operator is Mobile Network Operator, then can match It is arranged to the video definition above configured:
1:30 to 8:00: super clear, 8:00 is to 19:00: high definition, remaining period: SD.
In one example, each video definition setting is configured in above-mentioned steps 101 can include: generate clarity script text Part, the clarity script file may include each video definition setting configured.
For example, server-side can to client recommendation video definition in order to automated to respond to the playing request of client According to the relevant statistical information of working condition from content distribution network CDN service device, to CDN server, it is clear to generate Script file is spent, clarity script file includes each video definition setting configured.Server-side receives broadcasting for client After putting request, can be searched in clarity script file according to the information related with client for including in playing request, Matching, and can according to matched video definition be arranged and issue the notice of the video definition about recommendation to client.
The notice can be corresponding with the matched video definition setting of institute, for example, the notice can reflect it is following Recommendation information:
1:30 to 8:00: recommend to play super clear, 8:00 to 19:00: recommending to play high definition, remaining period: recommending to play mark Clearly.
In one example, server-side can issue broadcast information to client, and broadcast information may include that different video is clear The broadcasting source address of the video of degree, for example including for super clear video source the broadcasting source address, high definition for same video content Video source plays source address and SD video source plays source address.The broadcast information can be the playing request in response to client And issue, client, can be clear according to the video playing recommended in the notice that server-side is sent after receiving these addresses Clear degree automatic or manual is linked to corresponding broadcasting source address, is downloaded or is played with the clarity of recommendation.
Embodiment 2
Fig. 2 shows the flow charts of the method according to another embodiment of the present invention for recommending video definition.This method can answer For client, the meaning of feature identical to embodiment illustrated in fig. 1 and term is similar, repeats no more herein to be concise.Such as Fig. 2 Shown, the method for the recommendation video definition specifically includes that
Step 201, playing request is sent to server-side, includes letter related with the client in the playing request Breath;
Step 202, the notice for the video definition about recommendation that the server-side issues is received, wherein the notice is It is generated according to the video definition setting to match with the information;
Step 203, the clarity for playing video is determined according to the video definition of the recommendation in the notice.
Wherein, client can with the video definition recommended in the notice directly as the clarity for playing video, Various mechanism can also be used in client, be further determined that based on the video definition of recommendation and play the clear of video Degree, so that the actual clarity for playing video is suitble to the practical working situation of CDN server and client as far as possible, To avoid Caton as far as possible.Some examples of the adoptable mechanism of client are given below.
In one example, it is determined and is played according to the video definition of the recommendation in the notice in above-mentioned steps 203 The clarity of video, it may include: record the network-caching speed of client;Judge whether recorded network-caching speed is supported Code rate corresponding with the video definition of recommendation, it is clear with the lower video of video definition than recommendation if not supporting It spends as the clarity for playing video.
For example, client can record newest network-caching speed, it is assumed that the newest network-caching speed is about 650Kbps, and the video definition that client receives the recommendation that server-side issues is super clear.Due to super clear corresponding code rate About 1.5Mbps can determine whether that the network-caching speed does not support the super clear corresponding code rate recommended, than the super clear grade of recommendation The lower video definition of video definition grade is high definition or SD, is based on above-mentioned similar comparison, the newest network Caching speed does not support the corresponding code rate of high definition (about 1Mbps) yet, but supports the corresponding code rate of SD (about 500Kbps).Therefore using SD as the clarity for playing video.Assume that the newest network-caching speed is about again 1.1Mbps, and the video definition that client receives the recommendation that server-side issues is super clear.Due to super clear corresponding code rate About 1.5Mbps can determine whether that the network-caching speed does not support the super clear corresponding code rate recommended, than the super clear grade of recommendation The lower video definition of video definition grade is high definition or SD, is based on above-mentioned similar comparison, the newest network Caching speed can support the corresponding code rate of high definition, can also support the corresponding code rate of SD.At this point, video in the two can be chosen The higher high definition of clarity is as the clarity for playing video.Above example can be user according to current network condition automatically Most suitable video definition is selected, i.e., broadcasting caused by the excessively high video definition of avoidable option code rate is unsmooth, and can The poor user's perception of the video definition bring for avoiding selection code rate too low can be used while guaranteeing to play smooth Family provides optimal viewing experience.
In one example, it is determined and is played according to the video definition of the recommendation in the notice in above-mentioned steps 203 The clarity of video, if may also include that, the network-caching speed recorded supports code corresponding with the video definition recommended Rate, then using the video definition of recommendation as the clarity for playing video.
For example, client can record newest network-caching speed, it is assumed that the newest network-caching speed is about 1.8Mbps, and the video definition that client receives the recommendation that server-side issues is super clear.Due to super clear corresponding code rate About 1.5Mbps can determine whether that the network-caching speed supports the super clear corresponding code rate recommended, then can be by the super clear work of recommendation For the clarity for playing video.
In one example, it is determined and is played according to the video definition of the recommendation in the notice in above-mentioned steps 203 The clarity of video may also include that the network-caching speed of record client;Whether can determine whether recorded network-caching speed Support that code rate corresponding with the video definition recommended can view more lower than the video definition of recommendation if not supporting (correspondingly, if supporting, the video definition that can recommend is as playing as the clarity undetermined for playing video for frequency clarity The clarity undetermined of video);It is described undetermined to clarity whether the detectable corresponding hardware device of client is supported, if not propping up Hold, then can video definition more lower than clarity undetermined as play video clarity (correspondingly, if support, can Using clarity undetermined as the clarity for playing video).
For example, client can record newest network-caching speed, it is assumed that the newest network-caching speed is about 1.1Mbps, and client receive the recommendation that server-side issues video definition be it is super clear, due to super clear corresponding code rate About 1.5Mbps can determine whether that the network-caching speed does not support the super clear corresponding code rate recommended, than the super clear grade of recommendation The lower video definition of video definition grade is that high definition (corresponding code rate is about 1Mbps) or SD are (corresponding Code rate is about 500Kbps), it is based on above-mentioned similar comparison, which can support the corresponding code of high definition Rate can also support the corresponding code rate of SD.At this point, the higher high definition of video definition in the two can be chosen as broadcasting video Clarity undetermined.The corresponding hardware device of detectable mobile APP, if the hardware device is monokaryon CPU, the frequency of CPU < 0.7GHz can determine whether that the mobile corresponding hardware device of APP does not support high definition (clarity undetermined), then can be than clarity undetermined more Low SD is as the clarity for playing video.Above example can be according to the broadcasting of current network condition and hardware device Ability is that user selects most suitable video definition automatically, further can guarantee to provide while playing smooth for user Optimal viewing experience.
In one example, where information related with client may include the client in above-mentioned steps 201 The IP address of region and the client at least one.Explanation about information related with client can be found in embodiment 1, for the sake of simplicity, do not repeating.
In one example, the method for recommending video definition may also include that the network of real-time monitoring client is slow Deposit speed;If the network-caching slows, it is not enough to support code rate corresponding with the clarity of currently playing video, then The clarity for playing video is switched into lower clarity;If the network-caching speed becomes faster, it is sufficient to support with than current The corresponding code rate of the higher clarity of clarity of video is played, then it is higher clear to switch to the clarity for playing video Degree.
For example, it is assumed that the currently playing clarity of client is the view of super clear (corresponding code rate is about 1.5Mbps) Frequency program, client downloads from super clear video program play source address, buffered video programme content.Client can supervise in real time Network-caching speed is surveyed, network-caching slows if monitoring, such as drops to 1.1Mbps, network-caching speed by 1.8Mbps Degree is not enough to support currently super clear corresponding code rate, then super peaceful sliding cutting can be shifted to high definition by backstage.For example, client Play super clear video program, the current play time of video program be 20 points 10 seconds, the video program content pair cached The time point answered be 23 points 10 seconds, from the background can automatically from the video program play source address of high definition, since 23 points 10 seconds under The video program content for carrying high definition, when video program play was by 23 points and 10 seconds, the super clear view that will can be played automatically from the background Frequency program switches to the video program of high definition, and user will not realize backstage when watching video program and switch over, to use Bring the video viewing experience of smooth and seamless in family.Based on same principle, if network-caching speed becomes faster, it is sufficient to support compared to working as When the corresponding code rate of the higher video definition of preceding play clarity, then the clarity for playing video can be put down by backstage Sliding cutting shifts to higher video definition.
In another example, it is assumed that the currently playing clarity of client is the video of super clear (corresponding code rate is about 1.5Mbps) Program, client can real time monitoring network cache speed, if monitoring, network-caching slows, such as is declined by 1.8Mbps To 1.1Mbps, it is clear can also to carry out video in client to support current super clear corresponding code rate for network-caching underspeed The switching of clear degree.For example, reminding user since network-caching underspeed need to switch to high definition in client, user's confirmation is laggard Row switching, client records the current play time of video program (such as 20 points and 10 seconds), automatically from the video program of high definition It plays in source address, downloads and play the video program content of high definition 10 seconds since 20 points, seamless video is brought to user Viewing experience.Based on same principle, if network-caching speed becomes faster, it is sufficient to support higher compared to current play clarity When the corresponding code rate of video definition, then it is clear the clarity for playing video can be switched into higher video by client Degree.
The clarity played according to the variation switching of network-caching speed may be implemented in above example, so that playing clear Clear degree is suitable for client operation situation and Network status, further avoids Caton, improves the broadcasting experience of user.
Embodiment 3
Fig. 3 shows the structure chart of the device 300 according to an embodiment of the invention for recommending video definition.The device 300 It can be applied to server-side.As shown in figure 3, the device 300 includes:
Arrangement components 301, for according to working condition from content distribution network CDN service device, with CDN server Relevant statistical information configures each video definition setting;
Receiving part 302 includes having in the playing request with the client for receiving the playing request of client The information of pass;
Component 303 is searched, for the video definition to match with the information being searched and being set in response to the playing request It sets;
Video definition component 304 is issued, for being arranged according to the video definition to match, Xiang Suoshu client Issue the notice of the video definition about recommendation.
The device provided in an embodiment of the present invention for recommending video definition, can be according to the working condition with CDN server Relevant statistical information configures each video definition setting, the playing request at customer in response end, and includes according in playing request Client-side information search the video definition to match with the information and be arranged, be arranged according to the video definition, to visitor Family end issues the notice of the video definition about recommendation.The present apparatus can recommend video definition automatically for user, avoid Working condition of the user due to that can not know CDN server has selected unsuitable video definition and has caused to play Caton, mentioned High user watches the experience satisfaction of video.
In one example, the statistical information that arrangement components 301 are utilized may include bandwidth of the CDN server in day part Utilization rate, bandwidth utilization rate are the ratio that CDN server has used bandwidth and total bandwidth;It is clear that arrangement components 301 configure each video Clear degree setting can include: according to bandwidth utilization rate, view of the configuration pin to the day part of the service covering territorial scope of CDN server The setting of frequency clarity.
For example, it can be respectively arranged CDN server in different geographical, each CDN server services covering region model for it Client in enclosing provides video playing service.For example, CDN server can be respectively arranged in Beijing, Wuhan, respectively Beijing, The client (including mobile APP (mobile application)) in Wuhan provides video playing service.Each CDN server is statistics available and records not With the bandwidth utilization rate of period, the bandwidth utilization rate of the different periods of statistics can be reported to arrangement components 301, arrangement components 301 can also access each CDN server actively to obtain the bandwidth utilization rate of each CDN server different periods.Arrangement components 301 can According to the bandwidth utilization rate of CDN server, corresponding video definition setting is configured, for example, reaching 50% in bandwidth utilization rate In situation below, it is super clear for can configure video definition;In the case where bandwidth utilization rate reaches 50% to 85%, can configure Video definition is high definition;In the case where bandwidth utilization rate reaches 85% or more, can configure video definition is SD.Configuration Component 301 obtains the CDN server of different geographical after the bandwidth utilization rate of day part, can be each CDN clothes according to aforesaid way Business device configuration video definition setting.By taking Pekinese's CDN server as an example, make in the bandwidth of 1:30 to CDN server between 8:00 It is 30% with rate, the clarity that arrangement components 301 can configure the period is super clear;In 8:00 to the band of CDN server between 19:00 Wide utilization rate is 65%, and the clarity that arrangement components 301 can configure the period is high definition;The band of the CDN server of remaining period Wide utilization rate is 90%, and the clarity that arrangement components 301 can configure remaining period is SD, to obtain for Beijing (CDN The service of server covers territorial scope), and be provided that for the video definition of day part
1:30 to 8:00: super clear, 8:00 is to 19:00: high definition, remaining period: SD.
Arrangement components 301 can also monitor the situation of change of the bandwidth utilization rate of each CDN server in real time, use according to bandwidth The situation of change of rate periodically carries out the update of video definition setting, for example, arrangement components 301 can once be regarded for every 30 minutes The update of frequency clarity setting.
In one example, the statistical information that arrangement components 301 are utilized may include CDN server for each operator The response success rate of playing request, response success rate are the ratio of the number of success response playing request and the total degree of playing request Rate;Arrangement components 301 configure each video definition setting can include: success rate according to response, clothes of the configuration pin to CDN server The video definition setting of each operator of business covering territorial scope.
For example, the client for moving APP (such as can be moved, be joined by different Mobile Network Operator The operators such as logical, telecommunications) it is connect with CDN server, the video that the stable case of operator mobile network will affect mobile APP is broadcast Fluency is put, and CDN server can objectively reflect that each operator moves for the response success rate of the playing request of each operator The stable case of dynamic network.Each CDN server is statistics available and recording needle is to the response success rate of the playing request of each operator, can The response success rate of statistics is reported into arrangement components 301, arrangement components 301 can also access each CDN server actively to obtain Response success rate of each CDN server for the playing request of each operator.Arrangement components 301 can be directed to according to CDN server The response success rate of the playing request of operator configures corresponding video definition setting.For example, being 60% in response success rate In situation below, it is SD that arrangement components 301, which can configure video definition, in the case where responding success rate greater than 60%, It is high definition or super clear that arrangement components 301, which can configure video definition,.Each CDN server of the acquisition different geographical of arrangement components 301 After the response success rate of the playing request of each operator, each fortune that can be serviced according to aforesaid way by each CDN server It seeks quotient and configures video definition setting.By taking Pekinese's CDN server as an example, CDN server is broadcast for Mobile Network Operator The response success rate for putting request is greater than 60%, then can configure and be directed to Pekinese, and is clear for the video of Mobile Network Operator Clear degree is set as high definition or super clear.
Arrangement components 301 can also monitor each CDN server in real time for the response success rate of the playing request of each operator Situation of change, according to response success rate situation of change periodically carry out video definition setting update, for example, configuration section Part 301 can carry out the update of primary video clarity setting for every 30 minutes.
In one example, the statistical information that arrangement components 301 are utilized can include bandwidth utilization rate, and including response Success rate, in this case, arrangement components 301 configure each video definition setting can include:, can be true according to bandwidth utilization rate Surely for the first video definition setting of the day part of the service covering territorial scope of CDN server;It is rung according to playing request Answer success rate, it may be determined that be arranged for the second video definition of each operator of the service covering territorial scope of CDN server; Based on the first video definition described in day part setting and second video definition setting in video definition junior, The video definition setting of the day part of each operator of the configurable service covering territorial scope for CDN server.
By taking the Mobile Network Operator that Pekinese's CDN server and the CDN server are serviced as an example, due to CDN service Device for the playing request of Mobile Network Operator response success rate whole day day part all 60% or more, therefore arrangement components 301 video definitions that can determine that whole day day part is directed to Mobile Network Operator are high definition or super clear setting;But due to CDN Server bandwidth utilization rate of this period in 19:00 to second days morning 1:30 on the day of reaches 90% or more, therefore configuration section The video definition that part 301 can determine that the period is directed to Mobile Network Operator again is SD setting, when both setting conflicts When, arrangement components 301 can use the lower setting (i.e. SD setting) of video definition as Pekinese's CDN server for being taken Thus video definition of the Mobile Network Operator of business in the period obtains runing for Beijing and for mobile network The following video definition setting of quotient:
1:30 to 8:00: super clear, 8:00 is to 19:00: high definition, remaining period: SD.
It is illustrated so that statistical information is bandwidth utilization rate or response success rate as an example above, however art technology Personnel should be understood that statistical information is without being limited thereto, can also be other statistical informations, as long as its work for being able to reflect CDN server Make state, helps to recommend suitable video definition.
In one example, receiving part 302 where received information related with client may include client The IP address of region and client at least one.Explanation about information related with client can be found in embodiment 1, this Place for brevity, is not repeating.
In one example, arrangement components 301 configure each video definition setting can include: generate clarity script text Part, the clarity script file may include each video definition setting configured.
For example, which recommends video clear for the playing request for automated toing respond to client to client Degree, can be by arrangement components 301 according to from content distribution network CDN service device, the working condition to CDN server is related Statistical information, generate clarity script file, clarity script file include configured each video definition setting.It receives After component 302 receives the playing request of client, the playing request can be sent to and search component 303, search component 303 It can be searched, be matched in clarity script file according to the information related with client for including in playing request, and can From issue video definition component 304 according to matched video definition be arranged issued to client it is clear about the video of recommendation The notice of clear degree.
The notice can be corresponding with the matched video definition setting of institute, for example, the notice can reflect it is following Recommendation information:
1:30 to 8:00: recommend to play super clear, 8:00 to 19:00: recommending to play high definition, remaining period: recommending to play mark Clearly.
Fig. 4 shows another structure chart of the device 300 according to an embodiment of the invention for recommending video definition.
In one example, which, which may also include that, issues broadcast information component 305, is used for broadcast under client Information is put, broadcast information may include the broadcasting source address of the video of different video clarity, for example including for being directed to same view The super clear video source of frequency content plays source address, HD video source plays source address and SD video source plays source address.This is broadcast Putting information can be the playing request in response to client and is issued by issuing broadcast information component 305, and client is receiving Behind these addresses, phase can be linked to according to the video playing clarity automatic or manual recommended in the notice that server-side is sent The broadcasting source address answered is downloaded or is played with the clarity of recommendation.
Embodiment 4
Fig. 5 shows the structure chart of the device 500 according to another embodiment of the present invention for recommending video definition.The device 500 can be applied to client.As shown in figure 5, the device 500 specifically includes that
Component 501 is sent, includes having with the client in the playing request for sending playing request to server-side The information of pass;
Receiving part 502, for receiving the notice for the video definition about recommendation that the server-side issues, wherein institute Stating notice is generated according to the video definition setting to match with the information;
Component 503 is determined, for determining the clarity for playing video according to the video definition of the recommendation in the notice.
Wherein, which can be with the video definition recommended in the notice directly as playing the clear of video Degree can also use various mechanism, the clarity for playing video is further determined that based on the video definition of recommendation, thus So that the actual clarity for playing video is suitble to the practical working situation of CDN server and client as far as possible, thus to the greatest extent It is possible to avoid Caton.Some examples of the adoptable mechanism of device 500 are given below.
In one example, it determines that component 503 is also used to: recording the network-caching speed of client;What judgement was recorded Whether network-caching speed supports code rate corresponding with the video definition recommended, if not supporting, with the video than recommendation The lower video definition of clarity is as the clarity for playing video.
For example, determine that component 503 can record newest network-caching speed, it is assumed that the newest network-caching speed About 650Kbps, and the video definition that receiving part 502 receives the recommendation that server-side issues is super clear.Due to super clear phase Corresponding code rate is about 1.5Mbps, and it is super clear corresponding to determine that component 503 can determine whether that the network-caching speed is not supported to recommend Code rate, video definition than the super clear grade video definition more lower grade of recommendation is high definition or SD, is based on above-mentioned phase As compare, which does not support the corresponding code rate of high definition (about 1Mbps) yet, but supports SD pair The code rate (about 500Kbps) answered.It is thus determined that component 503 can be using SD as the clarity for playing video.This is assumed again most New network-caching speed is about 1.1Mbps, and the video definition that receiving part 502 receives the recommendation that server-side issues is It is super clear.Since super clear corresponding code rate is about 1.5Mbps, determine that component 503 can determine whether that the network-caching speed is not supported to push away The super clear corresponding code rate recommended, video definition than the super clear grade video definition more lower grade of recommendation be high definition or SD, is based on above-mentioned similar comparison, which can support the corresponding code rate of high definition, can also support to mark Clear corresponding code rate.At this point, determining that component 503 can choose the higher high definition of video definition in the two as broadcasting video Clarity.Device 500 can be that user selects most suitable video clear according to current network condition automatically in above example It is unsmooth to can avoid broadcasting caused by the excessively high video definition of option code rate, and can avoid the view for selecting code rate too low for degree The poor user's perception of frequency clarity bring can guarantee to provide optimal viewing body while playing smooth for user It tests.
In one example, determine that component 503 can also be used in: if the network-caching speed recorded supports the view with recommendation The corresponding code rate of frequency clarity, then using the video definition of recommendation as the clarity for playing video.
For example, determine that component 503 can record newest network-caching speed, it is assumed that the newest network-caching speed About 1.8Mbps, and the video definition that receiving part 502 receives the recommendation that server-side issues is super clear.Due to super clear opposite The code rate answered is about 1.5Mbps, determines that component 503 can determine whether that the network-caching speed supports the super clear corresponding code recommended Rate, it is determined that component 503 can be by the super clear as the clarity for playing video of recommendation.
In one example, it determines that component 503 can also be used in: recording the network-caching speed of client;It can determine whether to be remembered Whether the network-caching speed of record supports code rate corresponding with the video definition recommended, can be than recommending if not supporting The lower video definition of video definition as play video clarity undetermined (correspondingly, if support, can recommend Video definition as play video clarity undetermined);It is described whether the detectable corresponding hardware device of client is supported It is undetermined to clarity, if not supporting, can video definition more lower than clarity undetermined as play video clarity (correspondingly, if supporting, can be using clarity undetermined as the clarity for playing video).
For example, determine that component 503 can record newest network-caching speed, it is assumed that the newest network-caching speed About 1.1Mbps, and receiving part 502 receive the recommendation that server-side issues video definition be it is super clear, due to super clear phase Corresponding code rate is about 1.5Mbps, and it is super clear corresponding to determine that component 503 can determine whether that the network-caching speed is not supported to recommend Code rate, video definition than the super clear grade video definition more lower grade of recommendation are that (corresponding code rate is about high definition 1Mbps) or SD (corresponding code rate is about 500Kbps), it is based on above-mentioned similar comparison, newest network-caching speed Degree can support the corresponding code rate of high definition, can also support the corresponding code rate of SD.At this point, determining that component 503 can be chosen The middle higher high definition of video definition is as the clarity undetermined for playing video.Determine that the also detectable mobile APP of component 503 is corresponding Hardware device determine that component 503 can determine whether mobile APP if the hardware device is monokaryon CPU, frequency < 0.7GHz of CPU Corresponding hardware device does not support high definition (clarity undetermined), it is determined that component 503 can be with mark more lower than clarity undetermined The clear clarity as broadcasting video.Device 500 can be according to current network condition and hardware device in above example Ability to play is that user selects most suitable video definition automatically, can further be user while guaranteeing to play smooth Optimal viewing experience is provided.
In one example, it sends where information related with client transmitted by component 501 may include client The IP address of region and client at least one.Explanation about information related with client can be found in embodiment 1, this Place for brevity, is not repeating.
Fig. 6 shows another structure chart of the device 500 according to another embodiment of the present invention for recommending video definition.
In one example, which may also include that
Monitoring component 504, the network-caching speed for real-time monitoring client;
Switching part 505, if slowing for the network-caching, it is clear with currently playing video to be not enough to support Corresponding code rate is spent, then the clarity for playing video is switched into lower clarity;
It becomes faster if the switching part 505 is also used to the network-caching speed, it is sufficient to support and than currently playing video The corresponding code rate of the higher clarity of clarity, then the clarity for playing video is switched into higher clarity.
For example, switching part 505 can be applied to backstage.Assuming that the currently playing clarity of client is super clear (opposite The code rate answered is about 1.5Mbps) video program, client downloads from super clear video program play source address, caches view Frequency programme content.Monitoring component 504 can real time monitoring network cache speed, if monitoring, network-caching slows, for example, by 1.8Mbps drops to 1.1Mbps, and network-caching underspeed can then pass through application to support current super clear corresponding code rate Super peaceful sliding cutting is shifted to high definition by the switching part 505 in backstage.For example, the super clear video program of client terminal playing, video The current play time of program be 20 points 10 seconds, the video program content cached corresponding time point be 23 points 10 seconds, after Platform can download the video program content of high definition 10 seconds since 23 points automatically from the video program play source address of high definition, when When video program play was by 23 points and 10 seconds, the super clear video that will can be played automatically applied to the switching part 505 in backstage Program switches to the video program of high definition, and user will not realize backstage when watching video program and switch over, and gives user Bring the video viewing experience of smooth and seamless.Based on same principle, if network-caching speed becomes faster, it is sufficient to support compared to current The higher video definition of play clarity corresponding code rate when, then can be by the switching part 505 that is applied in backstage The clarity for playing video is smoothly switched to higher video definition.
In another example switching part 505 can also be applied to client.Assuming that the currently playing clarity of client is super clear (phase Corresponding code rate is about 1.5Mbps) video program, monitoring component 504 can real time monitoring network cache speed, if monitoring net Network caching slows, such as drops to 1.1Mbps by 1.8Mbps, and network-caching underspeed is current super clear opposite to support The code rate answered can also carry out the switching of video definition by the switching part 505 being applied in client.For example, in visitor Family end reminds user since network-caching underspeed need to switch to high definition, and switching part 505 switches over after user's confirmation, visitor Family end records the current play time of video program (such as 20 points and 10 seconds), automatically from the video program play source address of high definition In, the video program content of high definition is downloaded and played 10 seconds since 20 points, seamless video viewing experience is brought to user.Base In same principle, if network-caching speed becomes faster, it is sufficient to support compared to the current higher video definition of play clarity When corresponding code rate, then the clarity for playing video can be switched to more by the switching part 505 being applied in client High video definition.
The clarity played according to the variation switching of network-caching speed may be implemented in device 500 in above example, thus So that play clarity is suitable for client operation situation and Network status, Caton is further avoided, the playing body of user is improved It tests.
Embodiment 5
Fig. 7 shows a kind of structural block diagram of recommendation video definition equipment of another embodiment of the invention.It is described Video definition equipment 1100 is recommended to can be the host server for having computing capability, personal computer PC or can carry Portable computer or terminal etc..The specific embodiment of the invention does not limit the specific implementation of calculate node.
The recommendation video definition equipment 1100 includes processor (processor) 1110, communication interface (Communications Interface) 1120, memory (memory) 1130 and bus 1140.Wherein, processor 1110, Communication interface 1120 and memory 1130 pass through bus 1140 and complete mutual communication.
Communication interface 1120 is used for and network device communications, and wherein the network equipment includes such as Virtual Machine Manager center, is total to Enjoy storage etc..
Processor 1110 is for executing program.Processor 1110 may be a central processor CPU or dedicated collection At circuit ASIC (Application Specific Integrated Circuit), or it is arranged to implement the present invention One or more integrated circuits of embodiment.
Memory 1130 is for storing file.Memory 1130 may include high speed RAM memory, it is also possible to further include non- Volatile memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 1130 is also possible to deposit Memory array.Memory 1130 is also possible to by piecemeal, and described piece can be combined into virtual volume by certain rule.
In a kind of possible embodiment, above procedure can be the program code for including computer operation instruction.The journey Sequence is particularly used in the operation for realizing each step in embodiment 1 or embodiment 2.
Those of ordinary skill in the art may be aware that each exemplary cell and algorithm in embodiment described herein Step can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions actually with hardware also It is software form to realize, the specific application and design constraint depending on technical solution.Professional technician can be directed to It is specific that described function is realized using different methods is selected, but this realization is it is not considered that exceed model of the invention It encloses.
If realizing the function and when sold or used as an independent product in the form of computer software, To a certain extent it is believed that all or part (such as the part that contributes to existing technology) of technical solution of the present invention is It embodies in form of a computer software product.The computer software product is generally stored inside computer-readable non-volatile In storage medium, including some instructions are used so that computer equipment (can be personal computer, server or network to set It is standby etc.) execute all or part of the steps of various embodiments of the present invention method.And storage medium above-mentioned include USB flash disk, mobile hard disk, Read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic The various media that can store program code such as dish or CD.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (26)

1. a kind of method for recommending video definition, this method comprises:
According to the relevant statistical information of working condition from content distribution network CDN service device, to CDN server, configuration Each video definition setting, the statistical information include at least the CDN server for the sound of the playing request of each operator Success rate is answered, the response success rate is the ratio of the number of success response playing request and the total degree of playing request;
The playing request of client is received, includes information related with the client in the playing request;
In response to the playing request, searches the video definition to match with the information and be arranged;
According to the video definition setting to match, Xiang Suoshu client issues the logical of the video definition about recommendation Know.
2. the method according to claim 1 for recommending video definition, wherein
The statistical information further includes bandwidth utilization rate of the CDN server in day part, and the bandwidth utilization rate is CDN clothes Business device has used the ratio of bandwidth and total bandwidth;
Configuring each video definition setting includes: according to the response success rate and the bandwidth utilization rate, and configuration pin is to described The video definition setting of the day part of the service covering territorial scope of CDN server.
3. the method according to claim 1 for recommending video definition, wherein configuring each video definition setting includes:
According to the response success rate, view of the configuration pin to each operator of the service covering territorial scope of the CDN server The setting of frequency clarity.
4. the method according to claim 1 for recommending video definition, wherein the statistical information further includes CDN service Device day part bandwidth utilization rate, wherein the bandwidth utilization rate is that the CDN server has used bandwidth and total bandwidth Ratio;
Configuring each video definition setting includes:
According to the bandwidth utilization rate, the first of the day part of the service covering territorial scope for the CDN server is determined Video definition setting;
According to the response success rate, the of each operator of the service covering territorial scope for the CDN server is determined The setting of two video definitions;
Based on the first video definition described in day part setting and second video definition setting in video definition compared with Low person, configuration pin set the video definition of the day part of each operator of the service covering territorial scope of the CDN server It sets.
5. recommending the method for video definition described in any one of -4 according to claim 1, wherein it is clear to configure each video Degree setting includes: to generate clarity script file, and the clarity script file includes each video definition setting configured.
6. the method as claimed in any of claims 1 to 4 for recommending video definition, wherein related with client Information include region and the client where the client IP address at least one.
7. the method as claimed in any of claims 1 to 4 for recommending video definition, the method also includes:
Broadcast information is issued to client, the broadcast information includes the broadcasting source address of the video of different video clarity.
8. a kind of method for recommending video definition, this method comprises:
Playing request is sent to server-side, includes information related with client in the playing request;
The notice for the video definition about recommendation that the server-side issues is received, wherein the notice is basis and the letter The setting of manner of breathing matched video definition and generate, the video definition setting is according to from CDN server and institute The relevant statistical information configuration of working condition of CDN server is stated, the statistical information includes at least the CDN server needle To the response success rate of the playing request of each operator, the response success rate is number and the broadcasting of success response playing request The ratio of the total degree of request;
The clarity for playing video is determined according to the video definition of the recommendation in the notice.
9. the method according to claim 8 for recommending video definition, wherein according to the video of the recommendation in the notice Clarity determines the clarity for playing video, comprising:
Record the network-caching speed of client;
Judge whether recorded network-caching speed supports code rate corresponding with the video definition recommended, if not supporting, Then using the lower video definition of video definition than recommendation as the clarity for playing video.
10. the method according to claim 9 for recommending video definition, the video according to the recommendation in the notice are clear Degree determines the clarity for playing video, further includes:
If the network-caching speed recorded supports code rate corresponding with the video definition recommended, and the video of recommendation is clear Clear degree is as the clarity for playing video.
11. the method according to claim 8 for recommending video definition, wherein according to the view of the recommendation in the notice Frequency clarity determines the clarity for playing video, further includes:
Record the network-caching speed of client;
Judge whether recorded network-caching speed supports code rate corresponding with the video definition recommended, if not supporting, Then using the lower video definition of video definition than recommendation as the clarity undetermined for playing video;
Judge the corresponding hardware device of client whether support it is described undetermined to clarity, if not supporting, with more clear than undetermined Lower video definition is spent as the clarity for playing video.
12. the method according to claim 8 for recommending video definition, wherein information related with client includes described The IP address of region and the client where client at least one.
13. the method according to claim 8 for recommending video definition, the method also includes:
The network-caching speed of real-time monitoring client;
If the network-caching slows, it is not enough to support code rate corresponding with the clarity of currently playing video, then will The clarity for playing video switches to lower clarity;
If the network-caching speed becomes faster, it is sufficient to support corresponding with the higher clarity of the clarity than currently playing video Code rate, then the clarity for playing video is switched into higher clarity.
14. a kind of device for recommending video definition, the device include:
Arrangement components, for according to from content distribution network CDN service device, the working condition to CDN server is relevant Statistical information, configures each video definition setting, and the statistical information includes at least the CDN server for each operator The response success rate of playing request, the response success rate is the number of success response playing request and the total degree of playing request Ratio;
Receiving part includes letter related with the client for receiving the playing request of client, in the playing request Breath;
Component is searched, is arranged in response to the playing request, searching the video definition to match with the information;
Video definition component is issued, for being arranged according to the video definition to match, Xiang Suoshu client issues pass In the notice of the video definition of recommendation.
15. the device according to claim 14 for recommending video definition, wherein
The statistical information further includes bandwidth utilization rate of the CDN server in day part, and the bandwidth utilization rate is CDN clothes Business device has used the ratio of bandwidth and total bandwidth;
Configuring each video definition setting includes: according to the response success rate and the bandwidth utilization rate, and configuration pin is to described The video definition setting of the day part of the service covering territorial scope of CDN server.
16. the device according to claim 14 for recommending video definition, wherein configure each video definition setting packet It includes:
According to the response success rate, view of the configuration pin to each operator of the service covering territorial scope of the CDN server The setting of frequency clarity.
17. the device according to claim 14 for recommending video definition, wherein the statistical information further includes CDN clothes Be engaged in device day part bandwidth utilization rate, wherein the bandwidth utilization rate be the CDN server used bandwidth and total bandwidth Ratio;
Configuring each video definition setting includes:
According to the bandwidth utilization rate, the first of the day part of the service covering territorial scope for the CDN server is determined Video definition setting;
According to the response success rate, the of each operator of the service covering territorial scope for the CDN server is determined The setting of two video definitions;
Based on the first video definition described in day part setting and second video definition setting in video definition compared with Low person, configuration pin set the video definition of the day part of each operator of the service covering territorial scope of the CDN server It sets.
18. recommending the device of video definition described in any one of 4-17 according to claim 1, wherein configure each video Clarity setting includes: to generate clarity script file, and the clarity script file includes each video definition configured Setting.
19. recommending the device of video definition described in any one of 4-17 according to claim 1, wherein have with client The information of pass include the region and the client where the client IP address at least one.
20. recommending the device of video definition, described device described in any one of 4-17 according to claim 1 further include:
Broadcast information component is issued, for issuing broadcast information to client, the broadcast information includes different video clarity Video broadcasting source address.
21. a kind of device for recommending video definition, the device include:
Component is sent, includes information related with client in the playing request for sending playing request to server-side;
Receiving part, for receiving the notice for the video definition about recommendation that the server-side issues, wherein the notice It is to be generated according to the video definition setting to match with the information, the video definition setting is that basis comes from Statistical information configuration CDN server, relevant to the working condition of the CDN server, the statistical information is at least wrapped The CDN server is included for the response success rate of the playing request of each operator, the response success rate is broadcast for success response Put the ratio of the number of request and the total degree of playing request;
Component is determined, for determining the clarity for playing video according to the video definition of the recommendation in the notice.
22. the device according to claim 21 for recommending video definition, wherein the determining component is also used to:
Record the network-caching speed of client;
Judge whether recorded network-caching speed supports code rate corresponding with the video definition recommended, if not supporting, Then using the lower video definition of video definition than recommendation as the clarity for playing video.
23. the device according to claim 22 for recommending video definition, wherein the determining component is also used to:
If the network-caching speed recorded supports code rate corresponding with the video definition recommended, and the video of recommendation is clear Clear degree is as the clarity for playing video.
24. the device according to claim 21 for recommending video definition, wherein the determining component is also used to:
Record the network-caching speed of client;
Judge whether recorded network-caching speed supports code rate corresponding with the video definition recommended, if not supporting, Then using the lower video definition of video definition than recommendation as the clarity undetermined for playing video;
Judge the corresponding hardware device of client whether support it is described undetermined to clarity, if not supporting, with more clear than undetermined Lower video definition is spent as the clarity for playing video.
25. the device according to claim 21 for recommending video definition, wherein information related with client includes institute State the region and the client where client IP address at least one.
26. the device according to claim 21 for recommending video definition, described device further include:
Monitoring component, the network-caching speed for real-time monitoring client;
Switching part is not enough to support opposite with the clarity of currently playing video if slowing for the network-caching The clarity for playing video is then switched to lower clarity by the code rate answered;
It becomes faster if the switching part is also used to the network-caching speed, it is sufficient to support and the clarity than currently playing video The corresponding code rate of higher clarity, then switch to higher clarity for the clarity for playing video.
CN201610320231.XA 2016-05-13 2016-05-13 A kind of method and device for recommending video definition Active CN105847864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610320231.XA CN105847864B (en) 2016-05-13 2016-05-13 A kind of method and device for recommending video definition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610320231.XA CN105847864B (en) 2016-05-13 2016-05-13 A kind of method and device for recommending video definition

Publications (2)

Publication Number Publication Date
CN105847864A CN105847864A (en) 2016-08-10
CN105847864B true CN105847864B (en) 2019-11-05

Family

ID=56592421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610320231.XA Active CN105847864B (en) 2016-05-13 2016-05-13 A kind of method and device for recommending video definition

Country Status (1)

Country Link
CN (1) CN105847864B (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10929551B2 (en) * 2013-03-13 2021-02-23 Comcast Cable Communications, Llc Methods and systems for managing data assets
CN108401165A (en) * 2017-02-04 2018-08-14 中国移动通信集团河北有限公司 A kind of method, apparatus and equipment of video resource push
CN107835200B (en) * 2017-12-19 2021-02-23 北京奇艺世纪科技有限公司 Video definition selection method and device and electronic equipment
CN108174286B (en) * 2017-12-27 2021-02-09 北京奇艺世纪科技有限公司 Video code stream processing method and device
CN110149538A (en) * 2018-02-12 2019-08-20 腾讯科技(深圳)有限公司 Determination method and device, terminal device and the readable storage medium storing program for executing of clarity
CN110213621B (en) * 2018-02-28 2022-02-11 阿里巴巴(中国)有限公司 Bandwidth allocation method and device
CN110213179A (en) * 2018-02-28 2019-09-06 优酷网络技术(北京)有限公司 Bandwidth allocation methods and device
CN108769760B (en) * 2018-05-23 2021-03-12 中国联合网络通信集团有限公司 Code rate adjustment method, UE, MEC and network system
CN109587522A (en) * 2018-11-06 2019-04-05 深圳市酷开网络科技有限公司 Switching at runtime advertisement video clarity processing method, playback terminal and storage medium
CN109819272B (en) * 2018-12-26 2022-09-16 平安科技(深圳)有限公司 Video sending method, video sending device, computer readable storage medium and electronic equipment
CN110049359B (en) * 2019-05-21 2020-11-17 腾讯科技(深圳)有限公司 Code rate control method and device
CN110225420B (en) * 2019-06-18 2020-08-18 亦非云互联网技术(上海)有限公司 Playing/decision-making method/system, medium, playing terminal and server terminal
CN110309344B (en) * 2019-07-05 2021-07-27 湖南快乐阳光互动娱乐传媒有限公司 Data resource acquisition method and device
CN110366006A (en) * 2019-07-24 2019-10-22 北京奇艺世纪科技有限公司 Video broadcasting method, device, terminal device and computer readable storage medium
CN111158546B (en) * 2019-12-27 2022-02-11 北京奇艺世纪科技有限公司 Media information display method and device, storage medium and electronic device
CN111212302A (en) * 2020-03-17 2020-05-29 北京字节跳动网络技术有限公司 Method and device for determining video definition, electronic equipment and storage medium
CN114727132B (en) * 2021-01-05 2024-01-12 上海新天策数字科技有限公司 Definition address acquisition method, device, equipment and storage medium
CN115623228A (en) * 2021-07-13 2023-01-17 北京字节跳动网络技术有限公司 Definition switching method and device for live webcast and client
CN113726759A (en) * 2021-08-25 2021-11-30 烽火通信科技股份有限公司 Code rate self-adaption method, device, equipment and readable storage medium
CN116781951B (en) * 2023-08-24 2023-12-05 湖南快乐阳光互动娱乐传媒有限公司 Definition adjusting method, device and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088620A (en) * 2010-12-01 2011-06-08 中兴通讯股份有限公司 Method for downloading media file in content distribution network and client
CN102137133A (en) * 2010-01-22 2011-07-27 华为技术有限公司 Method and system for distributing contents and scheduling server
CN104349178A (en) * 2014-11-21 2015-02-11 赛特斯信息科技股份有限公司 System and method for required real-time transcoding and self-adaptive code rate stream media playing
CN104394441A (en) * 2014-11-27 2015-03-04 北京奇艺世纪科技有限公司 Video content distribution scheduling method, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2696552A1 (en) * 2012-08-07 2014-02-12 NTT DoCoMo, Inc. Method, system and network for transmitting multimedia data to a plurality of clients

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137133A (en) * 2010-01-22 2011-07-27 华为技术有限公司 Method and system for distributing contents and scheduling server
CN102088620A (en) * 2010-12-01 2011-06-08 中兴通讯股份有限公司 Method for downloading media file in content distribution network and client
CN104349178A (en) * 2014-11-21 2015-02-11 赛特斯信息科技股份有限公司 System and method for required real-time transcoding and self-adaptive code rate stream media playing
CN104394441A (en) * 2014-11-27 2015-03-04 北京奇艺世纪科技有限公司 Video content distribution scheduling method, device and system

Also Published As

Publication number Publication date
CN105847864A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN105847864B (en) A kind of method and device for recommending video definition
CN105163147B (en) Method, server, television set, wearable device and the system of information push
CN100556129C (en) A kind of equity connects flow medium live system and device
CN101146110B (en) A method for playing stream media
US10250711B2 (en) Fractional pre-delivery of content to user devices for uninterrupted playback
Chen et al. Video browsing-a study of user behavior in online vod services
CN104918043B (en) Program dial testing method and device
CN106506391B (en) Network traffic distribution method and router
JP2018504696A (en) Method and apparatus for providing seat information
WO2001016781A1 (en) Search engine to monitor and verify streaming audio sources
CN102546608A (en) Method, device, equipment and system for synchronously playing media information
CN104202652B (en) The control method for playing back and set top box of a kind of television set top box
CN106658054A (en) Video advertisement request link optimization method and apparatus
CN108270750A (en) CDN switching methods, client and server
CN110225412A (en) Video interaction method, device and storage medium
CN106658067B (en) The method and apparatus of caching are set
CN107105323A (en) A kind of video pushing method and device
CN105872758A (en) Intelligent television channel operation and play method and corresponding device
CN105872572A (en) Live broadcast video processing method and device
CN109218765A (en) A kind of net cast room recommended method and device
CN105956042A (en) Application program pushing method and system of application program store
CN110418147A (en) A kind of short-sighted frequency guidance long video across screen viewing method
CN108933840A (en) A kind of distributed agent method and system
CN105763894B (en) The information push method and system of smart television mobile terminal for iOS system
CN109672911A (en) A kind of method for processing video frequency and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100080 Beijing Haidian District city Haidian street A Sinosteel International Plaza No. 8 block 5 layer A, C

Patentee after: Youku network technology (Beijing) Co.,Ltd.

Address before: 100080 Beijing Haidian District city Haidian street A Sinosteel International Plaza No. 8 block 5 layer A, C

Patentee before: 1VERGE INTERNET TECHNOLOGY (BEIJING) Co.,Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20200603

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 100080 Beijing Haidian District city Haidian street A Sinosteel International Plaza No. 8 block 5 layer A, C

Patentee before: Youku network technology (Beijing) Co.,Ltd.

TR01 Transfer of patent right