CN106921870A - A kind of video broadcasting method and device - Google Patents
A kind of video broadcasting method and device Download PDFInfo
- Publication number
- CN106921870A CN106921870A CN201510993395.4A CN201510993395A CN106921870A CN 106921870 A CN106921870 A CN 106921870A CN 201510993395 A CN201510993395 A CN 201510993395A CN 106921870 A CN106921870 A CN 106921870A
- Authority
- CN
- China
- Prior art keywords
- video
- sharpness
- levels
- played
- network speed
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/24—Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
- H04N21/2402—Monitoring of the downstream path of the transmission network, e.g. bandwidth available
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/266—Channel 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/2662—Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
A kind of video broadcasting method and device are the embodiment of the invention provides, the method includes:When the video playback request submitted to by terminal is received, the network speed of terminal is detected, the levels of sharpness of video to be played is determined according to network speed, instruction terminal plays video to be played with identified levels of sharpness.The embodiment of the present invention solves the problems, such as the too low waste Internet resources for causing of acquiescence levels of sharpness of existing video broadcasting method return or the too high play buffering overlong time for causing of acquiescence levels of sharpness of return or often occurs playing interim card in playing process.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of video broadcasting method and a kind of video are broadcast
Put device.
Background technology
With the further development of network technology, online viewing video has turned into a kind of usual video of people
Viewing mode.
For most of videos, can all there are multiple levels of sharpness in server end, and levels of sharpness is higher
Video definition it is better, Consumer's Experience is also better, however, when using online viewing, definition
Network speed requirement needed for video higher is also higher, if network speed is not reaching to wanting for the definition of current video
Ask, easily interim card or the problem that cannot be played occur during broadcasting.
At present, when certain video is watched in people's selection online, no matter user is using which kind of terminal or at what
Viewing under network environment is planted, what server was returned is the video of the same levels of sharpness of acquiescence.
However, in actual applications, can there is problems with this video broadcasting method:
The video of the acquiescence levels of sharpness returned when server is not that current network cans smooth broadcasting
During the highest levels of sharpness put, the waste that will cause Internet resources is played according to acquiescence levels of sharpness;
The video of the acquiescence levels of sharpness returned when server is not that current network cans smooth broadcasting
During levels of sharpness, it will occur broadcasting interim card often occur in play buffering overlong time or playing process
Problem.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes above mentioned problem or at least part of to provide one kind
A kind of video broadcasting method for solving the above problems and a kind of corresponding video play device.
According to one aspect of the present invention, there is provided a kind of video broadcasting method, including:
When the video playback request submitted to by terminal is received, the network speed of the terminal is detected;
The levels of sharpness of video to be played is determined according to the network speed;
The terminal is indicated to play the video to be played with identified levels of sharpness.
Alternatively, it is described video to be played is determined according to the network speed levels of sharpness the step of include:
Obtain all levels of sharpness that video to be played is included;Wherein, each described levels of sharpness
With corresponding default network speed scope;
Determine the default network speed scope belonging to the network speed;
The levels of sharpness for determining the video to be played is, with the default network speed scope belonging to the network speed
Corresponding levels of sharpness.
Alternatively, also include:
Obtain the remaining space size of the video cache of the terminal;
Obtain the size of the video to be played;
Judge whether the size of the video to be played is more than the residue of the video cache of the terminal
Space size;
If so, then the remaining space of prompting video cache is not enough.
Alternatively, also include:
Whether the levels of sharpness for judging the video to be played is visibility minimum grade;
If it is not, then turning down the levels of sharpness of the video to be played;Wherein, after turning down levels of sharpness
Video to be played size less than or equal to the terminal video cache remaining space size.
Alternatively, also include:
In the playing process of the video to be played, periodically count and go out in the first preset time period
Existing broadcasting interim card number of times;
When occurring playing interim card number of times beyond default interim card threshold value, the terminal is indicated to represent reduction clear
Degree grade prompt message.
Alternatively, also include:
If being not received by the levels of sharpness reduction request submitted in the second preset time period, add up
Occur playing the number of times that interim card number of times exceeds default interim card threshold value;
When the accumulative number of times for obtaining is more than predetermined threshold value, current network speed is obtained;
Determine the default network speed scope belonging to the current network speed;
The levels of sharpness of the video to be played is adjusted to, with the default net belonging to the current network speed
The corresponding levels of sharpness of fast scope.
Alternatively, the terminal is indicated to play described to be played regard with identified levels of sharpness described
After the step of frequency, also include:
The terminal is indicated to represent the prompt message that current levels of sharpness is optimal levels of sharpness.
According to another aspect of the present invention, there is provided a kind of video play device, including:
Wire-speed detection module, is suitable to when the video playback request submitted to by terminal is received, and detection is described
The network speed of terminal;
Levels of sharpness determining module, is suitable to determine definition of video to be played etc. according to the network speed
Level;
Video playback indicating module, is suitable to indicate that the terminal plays described with identified levels of sharpness
Video to be played.
Alternatively, the levels of sharpness determining module includes:
Levels of sharpness acquisition submodule, is suitable to obtain all definition that video to be played is included etc.
Level;Wherein, each described levels of sharpness has corresponding default network speed scope;
Default network speed range determination submodule belonging to network speed, is adapted to determine that the default net belonging to the network speed
Fast scope;
Levels of sharpness determination sub-module, the levels of sharpness for being adapted to determine that the video to be played is, with
The corresponding levels of sharpness of default network speed scope belonging to the network speed.
Alternatively, also include:
The remaining space acquiring size module of caching, the residue for being suitable to obtain the video cache of the terminal is empty
Between size;
The acquiring size module of video to be played, is suitable to obtain the size of the video to be played;
Whether first judge module, be suitable to judge the size of the video to be played more than the terminal
Video cache remaining space size;
Remaining space deficiency reminding module, is suitable to be more than the terminal when the size of the video to be played
Video cache remaining space size when, point out the remaining space of video cache not enough.
Alternatively, also include:
Second judge module, whether the levels of sharpness for being suitable to judge the video to be played is minimum clear
Degree grade;
Levels of sharpness turns down module, is suitable to when the levels of sharpness of the video to be played is not minimum clear
During clear degree grade, the levels of sharpness of the video to be played is turned down;Wherein, after turning down levels of sharpness
Video to be played size less than or equal to the terminal video cache remaining space size.
Alternatively, also include:
Interim card number of times statistical module, is suitable in the playing process of the video to be played, periodically unites
Count the broadcasting interim card number of times occurred in the first preset time period;
Reduce levels of sharpness prompt message and represent indicating module, be suitable to exceed when appearance broadcasting interim card number of times
During default interim card threshold value, the terminal is indicated to represent reduction levels of sharpness prompt message.
Alternatively, also include:
Beyond the interim card number of times accumulation module of default interim card threshold value, it is suitable to when not having in the second preset time period
When having the levels of sharpness reduction request for receiving submission, add up to occur playing interim card number of times beyond default card
The number of times of threshold value of pausing;
Current network speed acquisition module, is suitable to, when the accumulative number of times for obtaining is more than predetermined threshold value, obtain current
Network speed;
Default network speed range determination module belonging to current network speed, is adapted to determine that belonging to the current network speed
Default network speed scope;
Levels of sharpness adjusting module, is suitable to be adjusted to the levels of sharpness of the video to be played, with
The corresponding levels of sharpness of default network speed scope belonging to the current network speed.
Alternatively, also include:
The prompt message of optimal levels of sharpness represents indicating module, is suitable to indicate that the terminal represents currently
Levels of sharpness is the prompt message of optimal levels of sharpness.
, when the video playback request submitted to by terminal is received, detection is eventually for video broadcasting method of the invention
The network speed at end, the levels of sharpness of video to be played is determined according to network speed, and instruction terminal is with identified clear
Clear degree grade plays video to be played, thus solves the acquiescence definition that existing video broadcasting method is returned
The too low too high broadcasting for causing of the acquiescence levels of sharpness of waste Internet resources or return for causing of grade is delayed
The problem for often occurring playing interim card in overlong time or playing process is rushed, identified definition is achieved
Grade for present terminal network speed can smooth broadcasting best levels of sharpness beneficial effect.
Described above is only the general introduction of technical solution of the present invention, in order to better understand skill of the invention
Art means, and can be practiced according to the content of specification, and it is of the invention above and other in order to allow
Objects, features and advantages can become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are for this
Field those of ordinary skill will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment,
And it is not considered as limitation of the present invention.And in whole accompanying drawing, be denoted by the same reference numerals
Identical part.In the accompanying drawings:
The step of Fig. 1 shows a kind of video broadcasting method embodiment 1 according to an embodiment of the invention
Flow chart;
The step of Fig. 2 shows a kind of video broadcasting method embodiment 2 according to an embodiment of the invention
Flow chart;
Fig. 3 shows a kind of structure of video play device embodiment 1 according to an embodiment of the invention
Block diagram;And
Fig. 4 shows a kind of structure of video play device embodiment 2 according to an embodiment of the invention
Block diagram.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although being shown in accompanying drawing
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure without
Should be limited by embodiments set forth here.Conversely, there is provided these embodiments are able to more thoroughly
Understand the disclosure, and can by the scope of the present disclosure it is complete convey to those skilled in the art.
Reference picture 1, shows a kind of video broadcasting method embodiment 1 according to an embodiment of the invention
The step of flow chart, specifically may include steps of:
Step 101, when the video playback request submitted to by terminal is received, detects the net of the terminal
Speed;
Step 102, the levels of sharpness of video to be played is determined according to the network speed;
In embodiments of the present invention, terminal can include that there are all electronics of online viewing video capability to set
It is standby, for example, desktop computer, notebook computer, can only mobile phone, panel computer, MP5 players etc..
When user wants to watch video in the terminal, can be by clicking on the video playback capability in terminal
Button (virtual push button such as on the page), submits to video playback to ask to server.
Server can detect the network speed of terminal when the video playback request submitted to by terminal is received,
The levels of sharpness of video to be played is determined according to network speed.
In embodiments of the present invention, step 102 can include following sub-step:
Sub-step S11, obtains all levels of sharpness that video to be played is included;
Sub-step S12, determines the default network speed scope belonging to the network speed;
Sub-step S13, the levels of sharpness for determining the video to be played is, and belonging to the network speed
Preset the corresponding levels of sharpness of network speed scope.
In the server, video to be played may have multiple levels of sharpness, for example, SD, high definition,
Super clear etc. levels of sharpness.
The embodiment of the present invention can obtain all levels of sharpness that video to be played is included, wherein, often
Individual levels of sharpness has corresponding default network speed scope, determines the default network speed scope belonging to network speed, really
The levels of sharpness of fixed video to be played is, definition corresponding with the default network speed scope belonging to network speed etc.
Level.
For example, the video to be played include SD, high definition and super clear totally three levels of sharpness, SD,
High definition is respectively provided with clearly corresponding default network speed scope with super, if terminal network speed is located at the corresponding of levels of sharpness
In the range of default network speed, then the terminal can be with the smooth video for playing corresponding levels of sharpness, it is assumed that super clear
Corresponding default network speed scope is MKBps~NKBps, if current network speed is located in MKBps~NKBps,
Then current network speed can be with the smooth video for playing super clear levels of sharpness, it is determined that video to be played it is clear
Clear degree grade is super clear.
In actual applications, even if playing video online, the local video of the broadcasting video can be also produced to delay
Deposit, if the memory space inadequate of local video caching is to store the caching produced by broadcasting video to be played,
The problem of the video to be played will be caused completely to watch, thus, the embodiment of the present invention can also be wrapped
Include:
Obtain the remaining space size of the video cache of the terminal;
Obtain the size of the video to be played;
Judge whether the size of the video to be played is more than the residue of the video cache of the terminal
Space size;
If so, then the remaining space of prompting video cache is not enough.
In embodiments of the present invention, the remaining space size of video cache can be by video playback application institute
The video cache path of setting obtains, if the size of video to be played is delayed more than the video of the terminal
The remaining space size deposited, then the remaining space that user video can be pointed out to cache is not enough, so that user
Change video cache path.
If not detecting user's change video cache path in setting time, it can be determined that to be played to regard
Whether the levels of sharpness of frequency is visibility minimum grade, if it is not, the clear of video to be played can be turned down
Degree grade, wherein, turn down size the regarding less than or equal to terminal of the video to be played after levels of sharpness
The remaining space size of frequency caching.
Step 103, indicates the terminal to play the video to be played with identified levels of sharpness.
After the server of the embodiment of the present invention determines the levels of sharpness of video to be played, can be with instruction terminal
Video to be played is played with identified levels of sharpness, now, terminal is according to identified definition etc.
Level plays the video to be played.
The levels of sharpness of video is played for current network cans smooth broadcasting in order to allow user to know
Levels of sharpness, the embodiment of the present invention can represent current levels of sharpness for most by server instruction terminal
The prompt message of excellent levels of sharpness.
The embodiment of the present invention detects the net of terminal when the video playback request submitted to by terminal is received
Speed, the levels of sharpness of video to be played is determined according to network speed, and instruction terminal is with identified definition etc.
Level plays video to be played, due to the embodiment of the present invention video to be played levels of sharpness according to terminal
Network speed determine that and then identified levels of sharpness cans smooth broadcasting most for present terminal network speed
Good levels of sharpness, it is to avoid acquiescence levels of sharpness that existing video broadcasting method is returned is too low to be caused
Waste the too high play buffering overlong time for causing of acquiescence levels of sharpness of Internet resources or return or broadcast
The problem for often occurring playing interim card during putting.
Reference picture 2, shows a kind of video broadcasting method embodiment 2 according to an embodiment of the invention
The step of flow chart, specifically may include steps of:
Step 201, when the video playback request submitted to by terminal is received, detects the net of the terminal
Speed;
Step 202, the levels of sharpness of video to be played is determined according to the network speed;
Step 203, indicates the terminal to play the video to be played with identified levels of sharpness;
Step 204, in the playing process of the video to be played, periodically counts default first
The broadcasting interim card number of times occurred in time period;
Step 205, when occurring playing interim card number of times beyond default interim card threshold value, indicates the terminal exhibition
Now reduce levels of sharpness prompt message;
In embodiments of the present invention, in the playing process of video to be played, can periodically count
The broadcasting interim card number of times occurred in first preset time period, default interim card is exceeded when there is broadcasting interim card number of times
During threshold value, instruction terminal represents reduction levels of sharpness prompt message, is used to point out user reduction definition
Grade.
First Preset Time can set according to actual needs, as an example, the first Preset Time can be
2min, 5min etc., default interim card threshold value can also set according to actual needs, as an example, in advance
If interim card threshold value can be 5,7,10 etc..
For example, it is assumed that the first Preset Time is 2min, it is 5 to preset interim card threshold value, then the present invention is implemented
Example can play interim card number of times with every 2min statistics, if the number of times for occurring interim card in statistics acquisition 2min is
10, then point out user to reduce levels of sharpness, to obtain more smoothly result of broadcast.
Step 206, if the levels of sharpness reduction for being not received by submitting in the second preset time period please
Ask, then add up to occur playing interim card number of times beyond the number of times for presetting interim card threshold value;
Step 207, when the accumulative number of times for obtaining is more than predetermined threshold value, obtains current network speed;
Step 208, determines the default network speed scope belonging to the current network speed;
Step 209, the levels of sharpness of the video to be played is adjusted to, with the current network speed institute
The corresponding levels of sharpness of default network speed scope of category.
In actual applications, when there is playing interim card, due to a variety of causes, user does not have drop manually
The levels of sharpness of low video, if the embodiment of the present invention is not received by submitting in the second preset time period
Levels of sharpness reduction request, can add up to occur to play interim card number of times exceed default interim card threshold value time
Number.
Second Preset Time can set according to actual needs, as an example, the second Preset Time can be wrapped
Include 30s, 1min, 2min etc..
When the accumulative number of times for obtaining is more than predetermined threshold value, current network speed is obtained, it is determined that belonging to current network speed
Default network speed scope, the levels of sharpness of video to be played is adjusted to, it is and pre- belonging to current network speed
If the corresponding levels of sharpness of network speed scope.
Predetermined threshold value can set according to actual needs, as an example, predetermined threshold value can be 3,5 etc.
Deng.
For example, it is assumed that the first Preset Time is 2min, the second Preset Time is 1min, if then referring to
After showing that terminal represents reduction levels of sharpness prompt message 1min, definition of submission etc. is not received by
Level reduces request, can occur playing the number of times that interim card number of times exceeds default interim card threshold value, if continuous 8
Occur the number of times of interim card in minute for 4 times, more than predetermined threshold value 3, then reduce the definition of video automatically
Grade.
Data download method embodiment 1 of the invention and embodiment 2 have similarity, and each method is implemented
It is cross-referenced between the not exhaustive part in example, each method embodiment.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions,
But those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement
System, because according to the embodiment of the present invention, some steps can sequentially or simultaneously be carried out using other.Its
Secondary, those skilled in the art should also know, embodiment described in this description belongs to be preferable to carry out
Example, necessary to the involved action not necessarily embodiment of the present invention.
Reference picture 3, shows a kind of video play device embodiment 1 according to an embodiment of the invention
Structured flowchart, can specifically include such as lower module:
Wire-speed detection module 301, is suitable to when the video playback request submitted to by terminal is received, detection
The network speed of the terminal;
Levels of sharpness determining module 302, is suitable to determine according to the network speed definition of video to be played
Grade;
Video playback indicating module 303, is suitable to indicate that the terminal is played with identified levels of sharpness
The video to be played.
In embodiments of the present invention, levels of sharpness determining module 302 can also include:
Levels of sharpness acquisition submodule 3021, is suitable to obtain all definition that video to be played is included
Grade;Wherein, each described levels of sharpness has corresponding default network speed scope;
Default network speed range determination submodule 3022 belonging to network speed, is adapted to determine that pre- belonging to the network speed
If network speed scope;
Levels of sharpness determination sub-module 3023, is adapted to determine that the levels of sharpness of the video to be played
For levels of sharpness corresponding with the default network speed scope belonging to the network speed.
The embodiment of the present invention can also include:
The remaining space acquiring size module of caching, the residue for being suitable to obtain the video cache of the terminal is empty
Between size;
The acquiring size module of video to be played, is suitable to obtain the size of the video to be played;
Whether first judge module, be suitable to judge the size of the video to be played more than the terminal
Video cache remaining space size;
Remaining space deficiency reminding module, is suitable to be more than the terminal when the size of the video to be played
Video cache remaining space size when, point out the remaining space of video cache not enough.
The embodiment of the present invention can also include:
Second judge module, whether the levels of sharpness for being suitable to judge the video to be played is minimum clear
Degree grade;
Levels of sharpness turns down module, is suitable to when the levels of sharpness of the video to be played is not minimum clear
During clear degree grade, the levels of sharpness of the video to be played is turned down;Wherein, after turning down levels of sharpness
Video to be played size less than or equal to the terminal video cache remaining space size.
The embodiment of the present invention can also include:
The prompt message of optimal levels of sharpness represents indicating module, is suitable to indicate that the terminal represents currently
Levels of sharpness is the prompt message of optimal levels of sharpness.
Reference picture 4, shows a kind of video play device embodiment 2 according to an embodiment of the invention
Structured flowchart, can specifically include such as lower module:
Wire-speed detection module 401, is suitable to when the video playback request submitted to by terminal is received, detection
The network speed of the terminal;
Levels of sharpness determining module 402, is suitable to determine according to the network speed definition of video to be played
Grade;
Video playback indicating module 403, is suitable to indicate that the terminal is played with identified levels of sharpness
The video to be played;
Interim card number of times statistical module 404, is suitable in the playing process of the video to be played, periodically
The broadcasting interim card number of times that geo-statistic occurs in the first preset time period;
Reduce levels of sharpness prompt message and represent indicating module 405, be suitable to play interim card number of times when appearance
During beyond default interim card threshold value, the terminal is indicated to represent reduction levels of sharpness prompt message;
Beyond the interim card number of times accumulation module 406 of default interim card threshold value, it is suitable to when in the second preset time period
When being inside not received by the levels of sharpness reduction request submitted to, add up to occur playing interim card number of times beyond pre-
If the number of times of interim card threshold value;
Current network speed acquisition module 407, is suitable to, when the accumulative number of times for obtaining is more than predetermined threshold value, obtain
Current network speed;
Default network speed range determination module 408 belonging to current network speed, is adapted to determine that the current network speed institute
The default network speed scope of category;
Levels of sharpness adjusting module 409, is suitable to be adjusted to the levels of sharpness of the video to be played,
Levels of sharpness corresponding with the default network speed scope belonging to the current network speed.
For device embodiment, because it is substantially similar to embodiment of the method, so the comparing of description
Simply, the relevent part can refer to the partial explaination of embodiments of method.
Algorithm and display be not solid with any certain computer, virtual system or miscellaneous equipment provided herein
There is correlation.Various general-purpose systems can also be used together with based on teaching in this.As described above,
It is obvious to construct the structure required by this kind of system.Additionally, the present invention is not also for any specific
Programming language.It is understood that, it is possible to use various programming languages realize the content of invention described herein,
And the description done to language-specific above is to disclose preferred forms of the invention.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that this
Inventive embodiment can be put into practice in the case of without these details.In some instances, not
Known method, structure and technology are shown specifically, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help understand in each inventive aspect
Or it is multiple, in above to the description of exemplary embodiment of the invention, each feature of the invention is sometimes
It is grouped together into single embodiment, figure or descriptions thereof.However, should not be by the disclosure
Method be construed to reflect following intention:I.e. the present invention for required protection requirement ratio is in each claim
The middle more features of feature be expressly recited.More precisely, as the following claims reflect
As, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows
Thus claims of specific embodiment are expressly incorporated in the specific embodiment, wherein each right
It is required that in itself all as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out certainly to the module in the equipment in embodiment
Adaptively change and they are arranged in one or more equipment different from the embodiment.Can be with
Module or unit or component in embodiment is combined into a module or unit or component, and in addition may be used
To be divided into multiple submodule or subelement or sub-component.Except such feature and/or process or
Outside at least some in unit exclude each other, can be using any combinations to this specification (including companion
With claim, summary and accompanying drawing) disclosed in all features and so disclosed any method or
All processes or unit of person's equipment are combined.Unless expressly stated otherwise, this specification (including companion
With claim, summary and accompanying drawing) disclosed in each feature can it is identical by offers, equally or phase
Replace like the alternative features of purpose.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include it
Some included features are rather than further feature, but the group of the feature of different embodiments in its embodiment
Conjunction means to be within the scope of the present invention and formed different embodiments.For example, in following power
In sharp claim, the one of any of embodiment required for protection mode can make in any combination
With.
All parts embodiment of the invention can be realized with hardware, or be processed with one or more
The software module run on device is realized, or is realized with combinations thereof.Those skilled in the art should
Understand, basis can be realized using microprocessor or digital signal processor (DSP) in practice
The some or all functions of some or all parts in the video playback apparatus of the embodiment of the present invention.
The present invention is also implemented as some or all equipment for performing method as described herein
Or program of device (for example, computer program and computer program product).It is such to realize the present invention
Program can store on a computer-readable medium, or can have one or more signal shape
Formula.Such signal can be downloaded from internet website and obtained, or be provided on carrier signal, or
Person provides in any other form.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention,
And those skilled in the art can design replacement without departing from the scope of the appended claims
Embodiment.In the claims, any reference symbol being located between bracket should not be configured to right
It is required that limitation.Word "comprising" does not exclude the presence of element or step not listed in the claims.Position
Word "a" or "an" before element does not exclude the presence of element as multiple.The present invention can
To be realized by means of the hardware for including some different elements and by means of properly programmed computer.
If in the unit claim for listing equipment for drying, several in these devices can be by same
Individual hardware branch is embodied.The use of word first, second, and third does not indicate that any order.
These words can be construed to title.
The invention discloses A1, a kind of video broadcasting method, including:
When the video playback request submitted to by terminal is received, the network speed of the terminal is detected;
The levels of sharpness of video to be played is determined according to the network speed;
The terminal is indicated to play the video to be played with identified levels of sharpness.
A2, the method as described in claim A1, it is described that video to be played is determined according to the network speed
The step of levels of sharpness, includes:
Obtain all levels of sharpness that video to be played is included;Wherein, each described levels of sharpness
With corresponding default network speed scope;
Determine the default network speed scope belonging to the network speed;
The levels of sharpness for determining the video to be played is, with the default network speed scope belonging to the network speed
Corresponding levels of sharpness.
A3, the method as described in claim A2, also include:
Obtain the remaining space size of the video cache of the terminal;
Obtain the size of the video to be played;
Judge whether the size of the video to be played is more than the residue of the video cache of the terminal
Space size;
If so, then the remaining space of prompting video cache is not enough.
A4, the method as described in claim A3, also include:
Whether the levels of sharpness for judging the video to be played is visibility minimum grade;
If it is not, then turning down the levels of sharpness of the video to be played;Wherein, after turning down levels of sharpness
Video to be played size less than or equal to the terminal video cache remaining space size.
A5, the method as described in claim A1 or A2 or A3 or A4, also include:
In the playing process of the video to be played, periodically count and go out in the first preset time period
Existing broadcasting interim card number of times;
When occurring playing interim card number of times beyond default interim card threshold value, the terminal is indicated to represent reduction clear
Degree grade prompt message.
A6, the method as described in claim A5, also include:
If being not received by the levels of sharpness reduction request submitted in the second preset time period, add up
Occur playing the number of times that interim card number of times exceeds default interim card threshold value;
When the accumulative number of times for obtaining is more than predetermined threshold value, current network speed is obtained;
Determine the default network speed scope belonging to the current network speed;
The levels of sharpness of the video to be played is adjusted to, with the default net belonging to the current network speed
The corresponding levels of sharpness of fast scope.
A7, the method as described in claim A1, the terminal is indicated with identified clear described
After the step of degree grade plays the video to be played, also include:
The terminal is indicated to represent the prompt message that current levels of sharpness is optimal levels of sharpness.
The invention also discloses B8, a kind of video play device, including:
Wire-speed detection module, is suitable to when the video playback request submitted to by terminal is received, and detection is described
The network speed of terminal;
Levels of sharpness determining module, is suitable to determine definition of video to be played etc. according to the network speed
Level;
Video playback indicating module, is suitable to indicate that the terminal plays described with identified levels of sharpness
Video to be played.
B9, the device as described in claim B8, the levels of sharpness determining module include:
Levels of sharpness acquisition submodule, is suitable to obtain all definition that video to be played is included etc.
Level;Wherein, each described levels of sharpness has corresponding default network speed scope;
Default network speed range determination submodule belonging to network speed, is adapted to determine that the default net belonging to the network speed
Fast scope;
Levels of sharpness determination sub-module, the levels of sharpness for being adapted to determine that the video to be played is, with
The corresponding levels of sharpness of default network speed scope belonging to the network speed.
B10, the device as described in claim B9, also include:
The remaining space acquiring size module of caching, the residue for being suitable to obtain the video cache of the terminal is empty
Between size;
The acquiring size module of video to be played, is suitable to obtain the size of the video to be played;
Whether first judge module, be suitable to judge the size of the video to be played more than the terminal
Video cache remaining space size;
Remaining space deficiency reminding module, is suitable to be more than the terminal when the size of the video to be played
Video cache remaining space size when, point out the remaining space of video cache not enough.
B11, the device as described in claim B10, also include:
Second judge module, whether the levels of sharpness for being suitable to judge the video to be played is minimum clear
Degree grade;
Levels of sharpness turns down module, is suitable to when the levels of sharpness of the video to be played is not minimum clear
During clear degree grade, the levels of sharpness of the video to be played is turned down;Wherein, after turning down levels of sharpness
Video to be played size less than or equal to the terminal video cache remaining space size.
B12, the device as described in claim B8 or B9 or B10 or B11, also include:
Interim card number of times statistical module, is suitable in the playing process of the video to be played, periodically unites
Count the broadcasting interim card number of times occurred in the first preset time period;
Reduce levels of sharpness prompt message and represent indicating module, be suitable to exceed when appearance broadcasting interim card number of times
During default interim card threshold value, the terminal is indicated to represent reduction levels of sharpness prompt message.
B13, the device as described in claim B12, also include:
Beyond the interim card number of times accumulation module of default interim card threshold value, it is suitable to when not having in the second preset time period
When having the levels of sharpness reduction request for receiving submission, add up to occur playing interim card number of times beyond default card
The number of times of threshold value of pausing;
Current network speed acquisition module, is suitable to, when the accumulative number of times for obtaining is more than predetermined threshold value, obtain current
Network speed;
Default network speed range determination module belonging to current network speed, is adapted to determine that belonging to the current network speed
Default network speed scope;
Levels of sharpness adjusting module, is suitable to be adjusted to the levels of sharpness of the video to be played, with
The corresponding levels of sharpness of default network speed scope belonging to the current network speed.
B14, the device as described in claim B8, also include:
The prompt message of optimal levels of sharpness represents indicating module, is suitable to indicate that the terminal represents currently
Levels of sharpness is the prompt message of optimal levels of sharpness.
Claims (10)
1. a kind of video broadcasting method, including:
When the video playback request submitted to by terminal is received, the network speed of the terminal is detected;
The levels of sharpness of video to be played is determined according to the network speed;
The terminal is indicated to play the video to be played with identified levels of sharpness.
2. the method for claim 1, it is characterised in that described to be determined to treat according to the network speed
The step of levels of sharpness for playing video, includes:
Obtain all levels of sharpness that video to be played is included;Wherein, each described levels of sharpness
With corresponding default network speed scope;
Determine the default network speed scope belonging to the network speed;
The levels of sharpness for determining the video to be played is, with the default network speed scope belonging to the network speed
Corresponding levels of sharpness.
3. method as claimed in claim 2, it is characterised in that also include:
Obtain the remaining space size of the video cache of the terminal;
Obtain the size of the video to be played;
Judge whether the size of the video to be played is more than the residue of the video cache of the terminal
Space size;
If so, then the remaining space of prompting video cache is not enough.
4. method as claimed in claim 3, it is characterised in that also include:
Whether the levels of sharpness for judging the video to be played is visibility minimum grade;
If it is not, then turning down the levels of sharpness of the video to be played;Wherein, after turning down levels of sharpness
Video to be played size less than or equal to the terminal video cache remaining space size.
5. method as claimed in claim 1 or 2 or 3 or 4, it is characterised in that also include:
In the playing process of the video to be played, periodically count and go out in the first preset time period
Existing broadcasting interim card number of times;
When occurring playing interim card number of times beyond default interim card threshold value, the terminal is indicated to represent reduction clear
Degree grade prompt message.
6. method as claimed in claim 5, it is characterised in that also include:
If being not received by the levels of sharpness reduction request submitted in the second preset time period, add up
Occur playing the number of times that interim card number of times exceeds default interim card threshold value;
When the accumulative number of times for obtaining is more than predetermined threshold value, current network speed is obtained;
Determine the default network speed scope belonging to the current network speed;
The levels of sharpness of the video to be played is adjusted to, with the default net belonging to the current network speed
The corresponding levels of sharpness of fast scope.
7. the method for claim 1, it is characterised in that indicate the terminal with institute described
After the step of levels of sharpness of determination plays the video to be played, also include:
The terminal is indicated to represent the prompt message that current levels of sharpness is optimal levels of sharpness.
8. a kind of video play device, including:
Wire-speed detection module, is suitable to when the video playback request submitted to by terminal is received, and detection is described
The network speed of terminal;
Levels of sharpness determining module, is suitable to determine definition of video to be played etc. according to the network speed
Level;
Video playback indicating module, is suitable to indicate that the terminal plays described with identified levels of sharpness
Video to be played.
9. device as claimed in claim 8, it is characterised in that the levels of sharpness determining module
Including:
Levels of sharpness acquisition submodule, is suitable to obtain all definition that video to be played is included etc.
Level;Wherein, each described levels of sharpness has corresponding default network speed scope;
Default network speed range determination submodule belonging to network speed, is adapted to determine that the default net belonging to the network speed
Fast scope;
Levels of sharpness determination sub-module, the levels of sharpness for being adapted to determine that the video to be played is, with
The corresponding levels of sharpness of default network speed scope belonging to the network speed.
10. device as claimed in claim 9, it is characterised in that also include:
The remaining space acquiring size module of caching, the residue for being suitable to obtain the video cache of the terminal is empty
Between size;
The acquiring size module of video to be played, is suitable to obtain the size of the video to be played;
Whether first judge module, be suitable to judge the size of the video to be played more than the terminal
Video cache remaining space size;
Remaining space deficiency reminding module, is suitable to be more than the terminal when the size of the video to be played
Video cache remaining space size when, point out the remaining space of video cache not enough.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510993395.4A CN106921870A (en) | 2015-12-24 | 2015-12-24 | A kind of video broadcasting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510993395.4A CN106921870A (en) | 2015-12-24 | 2015-12-24 | A kind of video broadcasting method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106921870A true CN106921870A (en) | 2017-07-04 |
Family
ID=59459750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510993395.4A Pending CN106921870A (en) | 2015-12-24 | 2015-12-24 | A kind of video broadcasting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106921870A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109089137A (en) * | 2018-09-27 | 2018-12-25 | 广州酷狗计算机科技有限公司 | Caton detection method and device |
CN109218804A (en) * | 2018-10-09 | 2019-01-15 | 北京奇艺世纪科技有限公司 | The method and device of preset program is inserted into video display process |
CN109753207A (en) * | 2017-11-02 | 2019-05-14 | 腾讯科技(深圳)有限公司 | A kind of information processing method and its device, storage medium |
CN109982140A (en) * | 2017-12-28 | 2019-07-05 | 优酷网络技术(北京)有限公司 | Video broadcasting method and device |
TWI681664B (en) * | 2018-12-06 | 2020-01-01 | 中華電信股份有限公司 | Detection method |
CN111510777A (en) * | 2019-01-30 | 2020-08-07 | 上海哔哩哔哩科技有限公司 | Method and device for measuring network speed, computer equipment and readable storage medium |
CN111510703A (en) * | 2019-01-31 | 2020-08-07 | 杭州海康威视数字技术股份有限公司 | Video playing method, device and system |
CN114071183A (en) * | 2022-01-17 | 2022-02-18 | 中央广播电视总台 | Video program broadcasting method and device, computer equipment and readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101340321A (en) * | 2008-08-28 | 2009-01-07 | 北京中星微电子有限公司 | Solution of adaptive bandwidth in real-time monitoring system |
CN101778104A (en) * | 2009-12-29 | 2010-07-14 | 常州中流电子科技有限公司 | System and method for playing stream media by using self-adaption bandwidth |
CN101800885A (en) * | 2010-02-26 | 2010-08-11 | 北京新岸线网络技术有限公司 | Video data distribution method and system method and system for distributing video data |
CN103294782A (en) * | 2013-05-15 | 2013-09-11 | 北京小米科技有限责任公司 | Data display method and device |
CN103763618A (en) * | 2013-12-27 | 2014-04-30 | 乐视网信息技术(北京)股份有限公司 | Definition switching method and electronic device |
CN103824574A (en) * | 2014-02-25 | 2014-05-28 | 深圳市赛为智能股份有限公司 | Video data storage method and system capable of supporting code stream switching |
CN104967884A (en) * | 2015-04-17 | 2015-10-07 | 北京奇艺世纪科技有限公司 | Code stream switching method and code stream switching device |
-
2015
- 2015-12-24 CN CN201510993395.4A patent/CN106921870A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101340321A (en) * | 2008-08-28 | 2009-01-07 | 北京中星微电子有限公司 | Solution of adaptive bandwidth in real-time monitoring system |
CN101778104A (en) * | 2009-12-29 | 2010-07-14 | 常州中流电子科技有限公司 | System and method for playing stream media by using self-adaption bandwidth |
CN101800885A (en) * | 2010-02-26 | 2010-08-11 | 北京新岸线网络技术有限公司 | Video data distribution method and system method and system for distributing video data |
CN103294782A (en) * | 2013-05-15 | 2013-09-11 | 北京小米科技有限责任公司 | Data display method and device |
CN103763618A (en) * | 2013-12-27 | 2014-04-30 | 乐视网信息技术(北京)股份有限公司 | Definition switching method and electronic device |
CN103824574A (en) * | 2014-02-25 | 2014-05-28 | 深圳市赛为智能股份有限公司 | Video data storage method and system capable of supporting code stream switching |
CN104967884A (en) * | 2015-04-17 | 2015-10-07 | 北京奇艺世纪科技有限公司 | Code stream switching method and code stream switching device |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109753207A (en) * | 2017-11-02 | 2019-05-14 | 腾讯科技(深圳)有限公司 | A kind of information processing method and its device, storage medium |
CN109753207B (en) * | 2017-11-02 | 2021-12-10 | 腾讯科技(深圳)有限公司 | Information processing method and device and storage medium |
CN109982140A (en) * | 2017-12-28 | 2019-07-05 | 优酷网络技术(北京)有限公司 | Video broadcasting method and device |
CN109089137A (en) * | 2018-09-27 | 2018-12-25 | 广州酷狗计算机科技有限公司 | Caton detection method and device |
CN109218804A (en) * | 2018-10-09 | 2019-01-15 | 北京奇艺世纪科技有限公司 | The method and device of preset program is inserted into video display process |
TWI681664B (en) * | 2018-12-06 | 2020-01-01 | 中華電信股份有限公司 | Detection method |
US11374843B2 (en) | 2019-01-30 | 2022-06-28 | Shanghai Bilibili Technology Co., Ltd. | Method for measuring network speed, computing device, and computer-program product |
CN111510777A (en) * | 2019-01-30 | 2020-08-07 | 上海哔哩哔哩科技有限公司 | Method and device for measuring network speed, computer equipment and readable storage medium |
CN111510777B (en) * | 2019-01-30 | 2021-11-23 | 上海哔哩哔哩科技有限公司 | Method and device for measuring network speed, computer equipment and readable storage medium |
CN111510703A (en) * | 2019-01-31 | 2020-08-07 | 杭州海康威视数字技术股份有限公司 | Video playing method, device and system |
CN111510703B (en) * | 2019-01-31 | 2022-04-05 | 杭州海康威视数字技术股份有限公司 | Video playing method, device and system |
CN114071183B (en) * | 2022-01-17 | 2022-05-17 | 中央广播电视总台 | Video program broadcasting method and device, computer equipment and readable storage medium |
CN114071183A (en) * | 2022-01-17 | 2022-02-18 | 中央广播电视总台 | Video program broadcasting method and device, computer equipment and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106921870A (en) | A kind of video broadcasting method and device | |
CN109413483B (en) | Live content preview method, device, equipment and medium | |
CN104822074B (en) | A kind of recommendation method and device of TV programme | |
EP3069523B1 (en) | Methods, systems, and media for presenting recommended media content items | |
US9451305B2 (en) | Method, computer readable storage medium, and introducing and playing device for introducing and playing media | |
US11061957B2 (en) | System and method for searching multimedia | |
US11070886B2 (en) | Method and apparatus for looping a video file | |
US9432734B2 (en) | Multi-person and multi-device content personalization | |
CN108966016B (en) | Video clip rebroadcasting method and device and terminal equipment | |
US10521176B2 (en) | Integrated learning using multiple devices | |
EP3193509A1 (en) | Video advertisement filtering method, device and equipment | |
US20160255410A1 (en) | Recommendation image display system, recommendation image output device, and recommendation image output method | |
US20230045363A1 (en) | Video playback method and apparatus, computer device, and storage medium | |
CN105072465A (en) | Video play control method and electronic equipment | |
CN104010223B (en) | Adapter terminal system carries out the method and system of video playback | |
CN104918071B (en) | Video broadcasting method, device and terminal device | |
US20170161391A1 (en) | Method and electronic device for video recommendation | |
CN110674345A (en) | Video searching method and device and server | |
US20170078751A1 (en) | Intelligent terminal-based tween interactive advertisement placement method and apparatus | |
CN105898397A (en) | Multimedia play method and device and mobile terminal equipment based on Android platform | |
CN106911656A (en) | A kind of data download method and device | |
CN111698365A (en) | Information display method and device | |
US20140304740A1 (en) | Method for displaying electronic program guide, electronic device, and computer readable medium | |
CN106462878B (en) | Methods, systems, and media for presenting advertisements during background presentation of media content | |
CN113099250B (en) | Information processing method and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170704 |
|
RJ01 | Rejection of invention patent application after publication |