CN109982139A - Video broadcasting method and device - Google Patents
Video broadcasting method and device Download PDFInfo
- Publication number
- CN109982139A CN109982139A CN201711453216.3A CN201711453216A CN109982139A CN 109982139 A CN109982139 A CN 109982139A CN 201711453216 A CN201711453216 A CN 201711453216A CN 109982139 A CN109982139 A CN 109982139A
- Authority
- CN
- China
- Prior art keywords
- video
- time
- broadcast
- threshold
- data size
- 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
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000006399 behavior Effects 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 10
- 238000012545 processing Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000005236 sound signal Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- KLDZYURQCUYZBL-UHFFFAOYSA-N 2-[3-[(2-hydroxyphenyl)methylideneamino]propyliminomethyl]phenol Chemical compound OC1=CC=CC=C1C=NCCCN=CC1=CC=CC=C1O KLDZYURQCUYZBL-UHFFFAOYSA-N 0.000 description 1
- 102000020897 Formins Human genes 0.000 description 1
- 108091022623 Formins Proteins 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000003542 behavioural effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 201000001098 delayed sleep phase syndrome Diseases 0.000 description 1
- 208000033921 delayed sleep phase type circadian rhythm sleep disease Diseases 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000012092 media component Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000012552 review Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
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/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/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44004—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer
-
- 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/442—Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
- H04N21/4424—Monitoring of the internal components or processes of the client device, e.g. CPU or memory load, processing speed, timer, counter or percentage of the hard disk space used
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
This disclosure relates to a kind of video broadcasting method and device.This method comprises: determining the buffer data size and cache-time corresponding with buffer data size for caching video to be broadcast during caching video to be broadcast;In the case where cache-time and buffer data size meet playing condition, video to be broadcast is played.Video broadcasting method and device provided by the embodiment of the present disclosure, during caching video to be broadcast, in the case where the determining buffer data size for caching video to be broadcast and cache-time corresponding with buffer data size meet playing condition, play video to be broadcast, to guarantee the quality of video playing, the viewing demand for meeting different user reduces the time of the waiting caching of user.
Description
Technical field
This disclosure relates to field of computer technology more particularly to a kind of video broadcasting method and device.
Background technique
In the related technology, user is during watching video online by terminal devices such as mobile phones, to guarantee smoothly to broadcast
The video of user's selection is put, the partial data of preparatory buffered video is needed, plays the video online after the completion of caching for user.But
In the related technology, the mechanism of buffered video is single, and in network speed compared in the slow or higher situation of clarity of video, user is needed to wait for
Longer time could watch video, and user experience is poor, be unable to satisfy the viewing demand of user.
Summary of the invention
In view of this, the present disclosure proposes a kind of video broadcasting method and devices, and to solve in video display process, user
Waiting time too long problem.
According to the disclosure in a first aspect, providing a kind of video broadcasting method, comprising:
During caching video to be broadcast, determine the buffer data size for caching the video to be broadcast and with the caching
The corresponding cache-time of data volume;
In the case where the cache-time and the buffer data size meet playing condition, the video to be broadcast is played.
For the above method, in one possible implementation, the playing condition includes following any:
The buffer data size is greater than or equal to first threshold and is less than second threshold, and the cache-time reaches time-out
Time;And
The buffer data size reaches the second threshold, and the cache-time is less than or equal to the time-out time,
Wherein, the second threshold is greater than the first threshold.
For the above method, in one possible implementation, further includes:
It obtains and plays the network speed of video to be broadcast and the clarity of the video to be broadcast;
According to the network speed and the clarity, the first threshold and the second threshold are determined.
For the above method, in one possible implementation, further includes:
According to the historical behavior of user, the time-out time for being directed to the user is determined;
According to the network speed of video to be broadcast, the clarity of the video to be broadcast and the time-out time is played, institute is determined
State first threshold and the second threshold.
According to the second aspect of the disclosure, a kind of video play device is provided, comprising:
Determining module is cached, during caching video to be broadcast, determines the buffer data size for caching the video to be broadcast
And cache-time corresponding with the buffer data size;
Video playback module is played in the case where the cache-time and the buffer data size meet playing condition
The video to be broadcast.
For above-mentioned apparatus, in one possible implementation, the playing condition includes following any:
The buffer data size is greater than or equal to first threshold and is less than second threshold, and the cache-time reaches time-out
Time;And
The buffer data size reaches the second threshold, and the cache-time is less than or equal to the time-out time,
Wherein, the second threshold is greater than the first threshold.
For above-mentioned apparatus, in one possible implementation, further includes:
Module is obtained, obtains and plays the network speed of video to be broadcast and the clarity of the video to be broadcast;
First determining module determines the first threshold and the second threshold according to the network speed and the clarity.
For above-mentioned apparatus, in one possible implementation, further includes:
Time determining module determines the time-out time for being directed to the user according to the historical behavior of user;
Second determining module, according to playing the network speed of video to be broadcast, the clarity of the video to be broadcast and described super
When the time, determine the first threshold and the second threshold.
According to the third aspect of the disclosure, a kind of video play device is provided, comprising: processor;It is handled for storage
The memory of device executable instruction;Wherein, the processor is configured to executing above-mentioned video broadcasting method.
According to the fourth aspect of the disclosure, a kind of non-volatile computer readable storage medium storing program for executing is provided, is stored thereon with
Computer program instructions, wherein the computer program instructions realize above-mentioned video broadcasting method when being executed by processor.
Video broadcasting method provided by the embodiment of the present disclosure, during caching video to be broadcast, in determining caching
In the case that the buffer data size of video to be broadcast and cache-time corresponding with buffer data size meet playing condition, play
Video to be broadcast meets the viewing demand of different user to guarantee the quality of video playing, reduce user waiting caching when
Between.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the other feature and aspect of the disclosure will become
It is clear.
Detailed description of the invention
Comprising in the description and constituting the attached drawing of part of specification and specification together illustrates the disclosure
Exemplary embodiment, feature and aspect, and for explaining the principles of this disclosure.
Fig. 1 shows the flow chart of the video broadcasting method according to one embodiment of the disclosure;
Fig. 2 shows the flow charts according to the video broadcasting method of one embodiment of the disclosure;
Fig. 3 shows the flow chart of the video broadcasting method according to one embodiment of the disclosure;
Fig. 4 shows the block diagram of the video play device according to one embodiment of the disclosure;
Fig. 5 shows the block diagram of the video play device according to one embodiment of the disclosure;
Fig. 6 shows the block diagram of the video play device according to one embodiment of the disclosure.
Specific embodiment
Various exemplary embodiments, feature and the aspect of the disclosure are described in detail below with reference to attached drawing.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, giving numerous details in specific embodiment below to better illustrate the disclosure.
It will be appreciated by those skilled in the art that without certain details, the disclosure 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 the purport of the disclosure.
Fig. 1 shows the flow chart of the video broadcasting method according to one embodiment of the disclosure.This method can be applied to terminal and set
In standby (such as smart phone, tablet computer etc.).As shown in Figure 1, the video broadcasting method may include step S11 and step
S12。
In step s 11, during caching video to be broadcast, determine cache video to be broadcast buffer data size and with
The corresponding cache-time of buffer data size.
In the present embodiment, during being that user plays video online by terminal devices such as mobile phone, tablet computers,
After determining according to the user's choice wait broadcast video, video to be broadcast first is cached, is played again for user wait broadcast view after completing caching
Frequently.During caching video to be broadcast, can detecte the buffer data size for caching video to be broadcast and with buffer data size phase
Corresponding cache-time.For example, corresponding cache-time is 4 seconds when buffer data size is 10M.
In step s 12, in the case where cache-time and buffer data size meet playing condition, video to be broadcast is played.
In one possible implementation, playing condition may include following any: buffer data size is greater than or waits
In first threshold and it is less than second threshold, and cache-time reaches time-out time;And buffer data size reaches second threshold, and
Cache-time is less than or equal to time-out time.Wherein, second threshold is greater than first threshold.
In the present embodiment, time-out time can be set in terminal device, when the cache-time for caching video to be broadcast
When more than the time-out time, it is believed that video to be broadcast can not be played, issue the user with the prompt that can not be played or can not connect.
The time-out time can for example be set as 15s.
In the present embodiment, the caching of the video data for caching video to be broadcast is also provided in terminal device
Space (buffer).For spatial cache, first threshold (minimal cache threshold value min) can be set and second threshold is (maximum
Cache threshold max).Wherein, minimal cache threshold value can indicate to play the minimum data amount of the video to be broadcast, and buffer data size reaches
When to minimal cache threshold value, can start to play should video be broadcast;Largest buffered threshold value max can indicate the number of spatial cache
According to capacity, when buffer data size reaches largest buffered threshold value, indicate that spatial cache has been expired, needing to start to play should video be broadcast.
In this implementation, reach time-out time in cache-time, and buffer data size is greater than or equal to first threshold
And when being less than second threshold, video to be broadcast can be played.In this way, can make under the premise of guaranteeing to play video to be broadcast
The waiting time of user is no more than time-out time, avoids issuing the user with the prompt that can not be played.
In this implementation, it is less than or equal to time-out time in cache-time, and buffer data size reaches second threshold
When, then video to be broadcast can be directly played, video to be broadcast is played again without until cache-time reaches time-out time, shortens use
The time of family waiting video cache.
In this implementation, when the buffer data size wait broadcast video reaches first threshold, it can guarantee video to be broadcast
It can star broadcasting, but not ensuring that can smooth progress in the playing process of entirely video to be broadcast.When delaying for video to be broadcast
When deposit data amount reaches second threshold, while capable of guaranteeing that video to be broadcast can star broadcasting, it is ensured that smooth playing is whole
A video to be broadcast.Can according to the network speed of current network environment, the clarity of video to be broadcast, user historical behavior etc. to broadcasting
First threshold, second threshold and time-out time in condition are configured, the disclosure to this with no restriction.
Video broadcasting method provided by the embodiment of the present disclosure, during caching video to be broadcast, in determining caching
In the case that the buffer data size of video to be broadcast and cache-time corresponding with buffer data size meet playing condition, play
Video to be broadcast meets the viewing demand of different user to guarantee the quality of video playing, reduce user waiting caching when
Between.
Fig. 2 shows the flow charts according to the video broadcasting method of one embodiment of the disclosure.As shown in Fig. 2, the video playing
Method can also include step S13 and step S14 in addition to including above-mentioned steps S11 and step S12.
In step s 13, the clarity of the network speed and video to be broadcast that play video to be broadcast is obtained.
In the present embodiment, the clarity of video to be broadcast refer to according to the user's choice or Network status determine it is online
It plays this and waits broadcasting clarity corresponding to video.For example, video A to be broadcast has two kinds of clarity of 720p and 1080p, used when determining
Family selection is played when broadcasting video A online with the clarity of 1080p, then plays video A institute to be broadcast at 1080p for user cache
The buffer data size needed, then the clarity of the video to be broadcast obtained in step S13 is 1080p.
In step S14, according to network speed and clarity, first threshold and second threshold are determined.
In the present embodiment, it can be determined according to network speed and clarity and be loaded during playing online wait broadcast video wait broadcast
The loading velocity of video.And then it is determined according to the clarity of video to be broadcast and loading velocity and is broadcast guaranteeing that video to be broadcast can star
In the case where putting, the required buffer data size cached in advance, and then determine first threshold.And the clarity according to video to be broadcast
It determines with loading velocity in the case where guaranteeing that video to be broadcast can be with smooth playing, the required buffer data size cached in advance, into
And determine second threshold.
In one possible implementation, the load speed for caching video to be broadcast can be determined according to network speed and clarity
Degree, and then time-out time is determined according to first threshold and loading velocity.
Fig. 3 shows the flow chart of the video broadcasting method according to one embodiment of the disclosure.As shown in figure 3, the video playing
Method can also include step S15 and step S16 in addition to including above-mentioned steps S11 and step S12.
In step S15, according to the historical behavior of user, the time-out time for being directed to user is determined.
In the present embodiment, which can indicate user's acceptable waiting time.According to the history of user
Behavior, during can determining that user watches video online, average latency for waiting video to be broadcast to be cached.Example
Such as, the historical behavior of user is analyzed, determines that user will close video circle when the average time of waiting being more than 10s
Face does not review the video, then can set 10s for time-out time, to guarantee that user checks certain video to be broadcast in determination
In the case of, the practical waiting time is less than user's acceptable waiting time, and user is avoided to abandon because the waiting time is too long
The video is watched, the broadcasting experience of user is improved, meets the individual demand of user.
In step s 16, according to the network speed of video to be broadcast, the clarity and time-out time of video to be broadcast is played, is determined
One threshold value and second threshold.
In the present embodiment, it can be determined according to network speed and clarity and be loaded during playing online wait broadcast video wait broadcast
The loading velocity of video.And then it is determined according to the clarity of video to be broadcast and loading velocity and is broadcast guaranteeing that video to be broadcast can star
In the case where putting, required the first buffer data size cached in advance;It is determined to according to loading velocity and time-out time slow in advance
The second buffer data size deposited.Then in the case where the first buffer data size is greater than or equal to the second buffer data size, by first
Buffer data size is determined as first threshold;In the case where the first buffer data size is less than the second buffer data size, second is delayed
Deposit data amount is determined as first threshold.In this way, can be waited while guarantee can star and play video to be broadcast in user
To time in, cache more buffer data sizes, improve the result of broadcast of video to be broadcast.Second buffer data size is determined as
Second threshold can be abandoned watching the video to avoid user because the waiting time is too long.
In this way, can be configured according to the behavioural habits of different user to playing condition, so that the caching of video, broadcasting
Different user be can satisfy to the broadcasting demand of online viewing video.
It should be noted that, this field as above although describing video broadcasting method using above-described embodiment as example
Technical staff it is understood that the disclosure answer it is without being limited thereto.In fact, user completely can be according to personal preference and/or practical application
Scene flexibly sets each step, as long as meeting disclosed technique scheme.
Using example
Below in conjunction with " user by mobile phone play video a online " property application scenarios as an example, provide according to this
The application example of open embodiment, in order to understand the process of video broadcasting method.It will be understood by those skilled in the art that answering below
With example merely for the sake of the purpose for being easy to understand the embodiment of the present disclosure, it is not construed as the limitation to the embodiment of the present disclosure.
In the case where determining the video to be broadcast that user selects for video a, determine the online clarity m for playing video a with
And the online network speed w for playing video a.
Firstly, determining that (specific determination process refers to step S13 for first threshold and second threshold according to clarity m and network speed w
With step S14).Or historical behavior and clarity m, network speed w according to user, successively determine time-out time and the first threshold
Value, second threshold (specific determination process refers to step S15 and step S16).For example, the time-out time determined is T, first threshold
For min, second threshold max.
Then buffered video a, and during buffered video a, determine buffered video a buffer data size H and with
The corresponding cache-time t of buffer data size H.In min≤H < max, and when t reaches T, video a is played;Alternatively, reaching in H
Max, and when t≤T, play video a.
In this way, user can be reduced while meeting the needs of user watches video a, guaranteeing the play quality of video a
Wait video a caching time.
Fig. 4 shows the block diagram of the video play device according to one embodiment of the disclosure.As shown in figure 4, the device can wrap
Include caching determining module 401 and video playback module 402.The caching determining module 401 is configured as caching video to be broadcast
In the process, the buffer data size and cache-time corresponding with buffer data size for caching video to be broadcast are determined.The video is broadcast
Amplification module 402 is configured as playing video to be broadcast in the case where cache-time and buffer data size meet playing condition.
In one possible implementation, playing condition may include following any:
Buffer data size is greater than or equal to first threshold and is less than second threshold, and cache-time reaches time-out time;With
And buffer data size reaches second threshold, and cache-time is less than or equal to time-out time.Wherein, second threshold is greater than the first threshold
Value.
Fig. 5 shows the block diagram of the video play device according to one embodiment of the disclosure.
In one possible implementation, as shown in figure 5, the device can also include obtaining module 403 and first really
Cover half block 404.The acquisition module 403 is configured as obtaining the clarity of the network speed and video to be broadcast that play video to be broadcast.It should
First determining module 404 is configured as determining first threshold and second threshold according to network speed and clarity.
In one possible implementation, as shown in figure 5, the device can also include time determining module 405 and the
Two determining modules 406.The time determining module 405 is configured as the historical behavior according to user, determines the time-out for being directed to user
Time.When second determining module 406 is configured as according to the network speed played wait broadcast video, the clarity wait broadcast video and time-out
Between, determine first threshold and second threshold.
Video play device provided by the embodiment of the present disclosure, during caching video to be broadcast, in determining caching
In the case that the buffer data size of video to be broadcast and cache-time corresponding with buffer data size meet playing condition, play
Video to be broadcast meets the viewing demand of different user to guarantee the quality of video playing, reduce user waiting caching when
Between.
Fig. 6 shows the block diagram of the video play device according to one embodiment of the disclosure.For example, device 800 can be movement
Phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment,
Personal digital assistant etc..
Referring to Fig. 6, device 800 may include following one or more components: processing component 802, memory 804, power supply
Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and
Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing component 802 may include that one or more processors 820 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just
Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate
Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in device 800.These data are shown
Example includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management system
System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between described device 800 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 808 includes a front camera and/or rear camera.When device 800 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set
Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented
Estimate.For example, sensor module 814 can detecte the state that opens/closes of device 800, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device
Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800
Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device
800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.In an exemplary implementation
In example, communication component 816 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, to promote short range communication.Example
Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-volatile computer readable storage medium storing program for executing is additionally provided, for example including calculating
The memory 804 of machine program instruction, above-mentioned computer program instructions can be executed above-mentioned to complete by the processor 820 of device 800
Method.
The presently disclosed embodiments is described above, above description is exemplary, and non-exclusive, and
It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill
Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport
In the principle, practical application or technological improvement to the technology in market for best explaining each embodiment, or lead this technology
Other those of ordinary skill in domain can understand each embodiment disclosed herein.
Claims (10)
1. a kind of video broadcasting method characterized by comprising
During caching video to be broadcast, determine the buffer data size for caching the video to be broadcast and with it is described data cached
Measure corresponding cache-time;
In the case where the cache-time and the buffer data size meet playing condition, the video to be broadcast is played.
2. the method according to claim 1, wherein the playing condition includes following any:
The buffer data size is greater than or equal to first threshold and is less than second threshold, and when the cache-time reaches time-out
Between;And
The buffer data size reaches the second threshold, and the cache-time is less than or equal to the time-out time,
Wherein, the second threshold is greater than the first threshold.
3. according to the method described in claim 2, it is characterized by further comprising:
It obtains and plays the network speed of video to be broadcast and the clarity of the video to be broadcast;
According to the network speed and the clarity, the first threshold and the second threshold are determined.
4. according to the method described in claim 2, it is characterized by further comprising:
According to the historical behavior of user, the time-out time for being directed to the user is determined;
According to the network speed of video to be broadcast, the clarity of the video to be broadcast and the time-out time is played, described the is determined
One threshold value and the second threshold.
5. a kind of video play device characterized by comprising
Cache determining module, during caching video to be broadcast, determine the buffer data size for caching the video to be broadcast and
Cache-time corresponding with the buffer data size;
Video playback module, in the case where the cache-time and the buffer data size meet playing condition, described in broadcasting
Video to be broadcast.
6. device according to claim 5, which is characterized in that the playing condition includes following any:
The buffer data size is greater than or equal to first threshold and is less than second threshold, and when the cache-time reaches time-out
Between;And
The buffer data size reaches the second threshold, and the cache-time is less than or equal to the time-out time,
Wherein, the second threshold is greater than the first threshold.
7. device according to claim 6, which is characterized in that further include:
Module is obtained, obtains and plays the network speed of video to be broadcast and the clarity of the video to be broadcast;
First determining module determines the first threshold and the second threshold according to the network speed and the clarity.
8. device according to claim 6, which is characterized in that further include:
Time determining module determines the time-out time for being directed to the user according to the historical behavior of user;
Second determining module, when according to playing the network speed wait broadcast video, the clarity and the time-out wait broadcast video
Between, determine the first threshold and the second threshold.
9. a kind of video play device characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to perform claim requires method described in 1 to 4 any one.
10. a kind of non-volatile computer readable storage medium storing program for executing, is stored thereon with computer program instructions, which is characterized in that institute
It states and realizes method described in any one of Claims 1-4 when computer program instructions are executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711453216.3A CN109982139A (en) | 2017-12-28 | 2017-12-28 | Video broadcasting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711453216.3A CN109982139A (en) | 2017-12-28 | 2017-12-28 | Video broadcasting method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109982139A true CN109982139A (en) | 2019-07-05 |
Family
ID=67072616
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711453216.3A Pending CN109982139A (en) | 2017-12-28 | 2017-12-28 | Video broadcasting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109982139A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109982140A (en) * | 2017-12-28 | 2019-07-05 | 优酷网络技术(北京)有限公司 | Video broadcasting method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004039034A1 (en) * | 2002-10-24 | 2004-05-06 | Telefonaktiebolaget Lm Ericsson (Publ) | System and method for reducing initial buffering time for a streaming application |
CN101719911A (en) * | 2009-11-24 | 2010-06-02 | 中兴通讯股份有限公司 | Method, device and system capable of transmitting multimedia data by Bluetooth and playing in real time |
CN103152651A (en) * | 2013-01-31 | 2013-06-12 | 广东欧珀移动通信有限公司 | Method and system of automatically adjusting play threshold of streaming media buffering area |
-
2017
- 2017-12-28 CN CN201711453216.3A patent/CN109982139A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2004039034A1 (en) * | 2002-10-24 | 2004-05-06 | Telefonaktiebolaget Lm Ericsson (Publ) | System and method for reducing initial buffering time for a streaming application |
CN101719911A (en) * | 2009-11-24 | 2010-06-02 | 中兴通讯股份有限公司 | Method, device and system capable of transmitting multimedia data by Bluetooth and playing in real time |
CN103152651A (en) * | 2013-01-31 | 2013-06-12 | 广东欧珀移动通信有限公司 | Method and system of automatically adjusting play threshold of streaming media buffering area |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109982140A (en) * | 2017-12-28 | 2019-07-05 | 优酷网络技术(北京)有限公司 | Video broadcasting method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6121621B2 (en) | Voice call method, apparatus, program, and recording medium | |
CN106792173B (en) | Video playing method and device and non-transitory computer readable storage medium | |
CN104519282A (en) | Image shooting method and device | |
CN104318934A (en) | Method, terminal, wearable device and play device for closing multimedia file | |
CN107147957B (en) | Video broadcasting method and device | |
CN107743244B (en) | Video live broadcasting method and device | |
CN104618218A (en) | Information reminding method and device | |
CN105187863A (en) | Advertisement playing method and device | |
CN104639977A (en) | Program playing method and device | |
CN105426218A (en) | Method and device for controlling audio playing | |
CN103997686B (en) | Playing management method and device based on smart television | |
CN104112459A (en) | Method and apparatus for playing audio data | |
CN108763104A (en) | The method, apparatus and storage medium of pre-read file page | |
WO2017101397A1 (en) | Information display method and apparatus | |
CN109302631A (en) | Video clip display methods and device | |
CN109246184A (en) | A kind of temporal information acquisition methods, device and readable storage medium storing program for executing | |
CN105430469B (en) | Playback method, device, terminal and the server of audio, video data | |
CN105282867A (en) | Network connection method and device | |
CN104682908A (en) | Method and device for controlling volume | |
CN105511721B (en) | page display method and device | |
CN105245898B (en) | Image data recording method and device | |
CN104407981B (en) | EMS memory management process and device | |
CN105630354A (en) | Application control method and device | |
CN111246303B (en) | Video playing method and device, electronic equipment and storage medium | |
CN109982139A (en) | Video broadcasting method and device |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200509 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Applicant 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 Applicant before: Youku network technology (Beijing) Co., Ltd |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190705 |