CN106713948A - Video sectional loading method and device - Google Patents
Video sectional loading method and device Download PDFInfo
- Publication number
- CN106713948A CN106713948A CN201510781384.XA CN201510781384A CN106713948A CN 106713948 A CN106713948 A CN 106713948A CN 201510781384 A CN201510781384 A CN 201510781384A CN 106713948 A CN106713948 A CN 106713948A
- Authority
- CN
- China
- Prior art keywords
- video
- length
- loading
- segment
- paragraph
- 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.)
- Granted
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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
-
- 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/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
-
- 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/4334—Recording operations
-
- 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/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8543—Content authoring using a description language, e.g. Multimedia and Hypermedia information coding Expert Group [MHEG], eXtensible Markup Language [XML]
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention provides a video sectional loading method and device. The method comprises a step of calculating a loading speed in loading a first section of video according to the time information of loading the first section of video and the length of the first section of video, wherein the first section of video is obtained by dividing a preset video by a server, a step of calculating the length of a second section of video which is asked to be loaded to the server according to the remaining length of the first section of video and the loading speed of the first section of video, and a step of sending a request of loading the second section of video to the server according to the length of the second section of video, and a step of loading the second section of video divided from the preset video sent by the server for playing. According to the video sectional loading method and device, the length of the loaded video section can be automatically adjusted according to a real-time network state, a terminal and the server do not need to store video section information, the segmentation of the video in advance is not needed, the burden of the server is reduced, and a user experience is improved.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of video segmentation loading method and
Device.
Background technology
A kind of video players such as existing such as html5 video (technology that video is played by webpage)
It is that all loading completes just play out only when whole video, if a video is very big, user network
If network speed is very slow, it may be necessary to which wait is lot more time to normal play, so very likely user
Abandon watching video because the loading of long period cannot be stood.So video website is in order to improve user
Viewing experience, segmentation loading is carried out rather than once loading whole complete video when video is played to video,
So user withouts waiting for just watching video for a long time, and being loaded during viewing to broadcast
The video segment put.
All it is at present by the way of fixed segments, i.e., just by video point when video is made to video segmentation
Into some sections, and segment information (segmentation duration, fragment size, sectional address etc.) is saved in service
Device, user terminal player obtains the segment information of video when video playback is carried out first, and then basis is broadcast
The progress put obtains segmenting video and plays out.
Although the video segmentation mode of above-mentioned fixation can avoid downloading the video content do not seen from server,
Internet resources are saved, but because video segmentation is it has been determined that network-like as user when video is made
Still the stand-by period of long period is may require that when condition is poor, and due to determining segmentation when video is made
Confidence, it is therefore desirable to preserve segment information in the server, cannot also adjust when user terminal plays video
Whole segment information.Therefore a kind of more intelligent video segmentation load mode is needed to solve the above problems.
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
The video segmentation loading method and device that solve the above problems.
According to one aspect of the present invention, there is provided a kind of video segmentation loading method, including:According to plus
Carry first paragraph video temporal information, and the first paragraph video length, calculate loading described first
Loading velocity during section video;The first paragraph video is obtained by server from cutting on pre- setting video;
When playing the first paragraph video to preset length, residue length and institute according to the first paragraph video
The loading velocity of first paragraph video is stated, the length of the second segment video loaded to the server request is treated in calculating
Degree;According to the length of the second segment video, the loading second segment video is sent to the server
Request;Load the second segment video obtained from cutting on the pre- setting video that the server sends
For playing.
Alternatively, foregoing video segmentation loading method, according to the length of the second segment video, to institute
State server and send the request for loading the second segment video, specifically include:According to the first paragraph video
End time set at the beginning of the second segment video between, at the end of the first paragraph video
Between end time of the second segment video is set with the length of the second segment video, and by described second
It is transmitted with the end time addition request between at the beginning of section video.
Alternatively, foregoing video segmentation loading method, in the length according to the second segment video, to
Before the server sends the request for loading the second segment video, also include:The second segment is regarded
The length of frequency with it is default expression network condition coefficient product, as the new second segment video
Length.
Alternatively, foregoing video segmentation loading method, in the length according to the second segment video, to
Before the server sends the request for loading the second segment video, also include:Regarded in the second segment
When the length of frequency is less than default first length, the length of the second segment video is revised as described default the
One length.
Alternatively, foregoing video segmentation loading method, also includes:The pre- setting video is not being loaded
During any part, a section of default second length in the loading pre- setting video is sent to the server
The request of video.
According to another aspect of the present invention, a kind of video segmentation loading device is additionally provided, including:Loading
Speed calculation module, for the temporal information according to loading first paragraph video, and the first paragraph video
Length, calculate load the first paragraph video when loading velocity;The first paragraph video is by server
Obtained from cutting on pre- setting video;Video length computing module, for playing the first paragraph video extremely
During preset length, the loading speed of residue length and the first paragraph video according to the first paragraph video
The length of the second segment video loaded to the server request is treated in degree, calculating;Request module, for root
According to the length of the second segment video, the request for loading the second segment video is sent to the server;
Load-on module, described the obtained from cutting on the pre- setting video for loading that the server sends
Two sections of videos are for broadcasting.
Alternatively, foregoing video segmentation loading device, the request module is according to the first paragraph video
End time set at the beginning of the second segment video between, at the end of the first paragraph video
Between end time of the second segment video is set with the length of the second segment video, and by described second
It is transmitted with the end time addition request between at the beginning of section video.
Alternatively, foregoing video segmentation loading device, the video length computing module is also by described
Two sections of length of video with it is default expression network condition coefficient product, as the new second segment
The length of video.
Alternatively, foregoing video segmentation loading device, the video length computing module is also described
When two sections of length of video are less than default first length, the length of the second segment video is revised as described
Default first length.
Alternatively, foregoing video segmentation loading device, the request module is not also loading described presetting
During any part of video, default second length in the loading pre- setting video is sent to the server
One section of request of video.
According to above technical scheme, video segmentation loading method of the invention and device are at least with following excellent
Point:
Technology according to the present invention scheme, can be according to real-time network state adjust automatically foradownloaded video section
Length, either terminal or server need not preserve video segmentation information, it is not required that right in advance
Video is segmented, and alleviates the burden of server, also improves Consumer's Experience.
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:
Fig. 1 shows the flow chart of video segmentation loading method according to an embodiment of the invention;
Fig. 2 shows the flow chart of video segmentation loading method according to an embodiment of the invention;
Fig. 3 shows the flow chart of video segmentation loading method according to an embodiment of the invention.
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.
As shown in figure 1, a kind of video segmentation loading method is provided in one embodiment of the present of invention, bag
Include:
Step 110, according to loading first paragraph video temporal information, and first paragraph video length, meter
Calculate loading velocity during loading first paragraph video;First paragraph video is obtained by server from cutting on pre- setting video
Arrive.The temporal information of first paragraph video can include beginning request time and the loading of loading first paragraph video
Deadline, it is possible thereby to the temporal information according to first paragraph video is calculated loading first paragraph video
Short time consumption.In the present embodiment, it can also be multiple that the quantity of first paragraph video can be one.Root
According to the technical scheme of the present embodiment, the principle for calculating video loading velocity is:When player user end to
Server sends request to obtain during video segment, and record starts request time ts1, when the segmenting video adds
A time te1 is recorded after the completion of load, the short time consumption that can obtain loading this section of video using te1-ts1 is
t1;This section of length of video is L1, then can be obtained by obtaining the L1 seconds video of length in t1 seconds,
So probably it is estimated that the video length of loading per second is L1/t1, if for example obtain 20 seconds regarded
Frequency takes 5 seconds, then can be simply considered that the network speed of user each second can obtain 4 for user
The video content of second.
Step 120, when first paragraph video to preset length is played, according to the residue length of first paragraph video
And the loading velocity of first paragraph video, calculate the length of the second segment video for treating to load to server request.
First paragraph video and second segment video are two video-frequency bands adjoined each other in pre- setting video, and the first video
Section end time with the beginning of the second video-frequency band between it is identical.In the present embodiment, in first paragraph video
In playing process, when the 50% of video playback to this section of video length (value can be adjusted), start
Next section of video of loading.Because the video that there remains 50% is not played, if the length of first paragraph video is
20 seconds, then remaining video can probably play 10 seconds;Because per second probably can acquisition 4 seconds regards
Frequently, then general user obtains 40 seconds videos of length in ensuing reproduction time.If regarded certainly
The total length of frequency is less than end position, and end position is the position of video footage.
Preset length in addition to it can be the setting ratio of each video-frequency band duration, in can also be each video-frequency band
Preseting length (such as the 10th second in the video-frequency band) or setting frame number (such as in the video-frequency band the
120 frames) etc..
Step 130, according to the length of second segment video, the request of loading second segment video is sent to server.
Step 140, the second segment video obtained from cutting on pre- setting video that load server sends for
Play.The technical scheme of the present embodiment can be performed cyclically, until whole video loading is completed.For example,
After video player obtains second segment video, the time te2 that record time started ts2 and video loading are completed,
So as to calculate loading second segment L2=32 seconds the time t2 of video, such as t2=6s, according to first paragraph video
Loading velocity and second segment video loading velocity, calculate the video that can be loaded average each second long
Degree, (L1+L2)/(t1+t2)=(20+32)/(5+6)=4.7.So when second segment video playback to this section of video
When 50%, start to load the 3rd section of video.If the total length of video is less than end position, end position is
The position of video footage.It can be seen that according to above-mentioned calculation procedure, can calculate successively next will play
Video segment length, until whole video playback complete.
As shown in Fig. 2 a kind of video segmentation loading method is provided in one embodiment of the present of invention, bag
Include:
Step 210, when any part of pre- setting video is not loaded, the pre- setting video of loading is sent to server
In default second length one section of request of video.This section of video for obtaining can be regarded as first first paragraph
Frequently.By taking html5video video players as an example, when user opens a page carries out video-see,
Html5video video players on the page first obtain the information of whole video, including video from server
Title, video footage, video size, video url (address) etc..If a video very little, than
Such as less than 1M, it is not necessary to which broadcast multiple segments voice separately is carried out to video;If video is relatively large, it is necessary to right
Video is segmented.Specifically, when first segmentation of loading is needed, one length of loading can be fixed,
Such as 20 seconds.So need to take starting position 0 and stop bits when the url of video player is set
Put 20 the two parameters.The url of such as video is www.videourl.com/12345, the acquisition of transmission
It is www.videourl.com/12345 that first url of segmentation is included in the request of videoSt=0&et=20,
Wherein st=20 represents that starting position is 0 second, and et=20 represents that end position is 20 seconds.
Server is received comprising www.videourl.com/12345After the request of st=0&et=20, according to
Www.videourl.com/12345 is known that the position of former video, and then server enters to the video
Row cutting one provisional video of 0~20 second of generation, and data flow is returned into player;When data flow is returned
Return after completing, delete the provisional video;Or the provisional video that will not be generated when video is cut is preserved
Onto hard disk, but it is saved directly in internal memory, directly using in internal memory during server return video flowing
Data, server clears data after the completion of returning.
Step 220, according to loading first paragraph video temporal information, and first paragraph video length, meter
Calculate loading velocity during loading first paragraph video;First paragraph video is obtained by server from cutting on pre- setting video
Arrive.
Step 230, when first paragraph video to preset length is played, according to the residue length of first paragraph video
And the loading velocity of first paragraph video, calculate the length of the second segment video for treating to load to server request.
Step 240, the length of second segment video and the product of the coefficient of default expression network condition are made
It is the length of new second segment video.Understood with reference to foregoing embodiment, if the second segment for calculating is regarded
The length of frequency is 40 seconds, now considers further that some other unstable networks factors, and one is multiplied by the length
Coefficient, such as 80%, then the time span of second segment video is 40 × 0.8=32, then second segment is regarded
The url of frequency is www.videourl.com/12345St=20&et=52.
Identically with previous embodiment, when new video is loaded in the loading velocity according to second segment video,
When second segment video playback to this section the 50% of video, the 3rd section of video length that being calculated to load is
4.7 × 32 × 0.5 × 0.8=60, the length of such 3rd section of video is 60 seconds, and starting position is 20+32=52,
End position is 52+60=112, and the url of request is www.videourl.com/12345St=52&et=112.
Step 250, when the length of second segment video is less than default first length, by the length of second segment video
Degree is revised as default first length.According to the technical scheme of the present embodiment, if the network speed of certain user is non-
The possible very little of the second segment video length that will be loaded that is often slow, calculating, so in order to reduce service
The pressure of device, when length is loaded less than certain value, it should take another larger fixed value.For example it is every
Secondary loading length can not be less than 10 seconds, if the loading length calculated is for 8 seconds, it is necessary to use 10
Second is loaded.
Step 260, between the end time according to first paragraph video is set at the beginning of second segment video, according to
The end time of first paragraph video sets the end time of second segment video with the length of second segment video, and
By between at the beginning of second segment video and the end time adds request to be transmitted.
Step 270, the second segment video obtained from cutting on pre- setting video that load server sends for
Play.
As shown in figure 3, a kind of video segmentation loading device is provided in one embodiment of the present of invention, bag
Include:
Loading velocity computing module 310, regards according to the temporal information of loading first paragraph video, and first paragraph
The length of frequency, calculates loading velocity during loading first paragraph video;First paragraph video is by server from default
Cutting is obtained on video.The temporal information of first paragraph video can include loading first paragraph video starting please
Seeking time and loading deadline, it is possible thereby to the temporal information according to first paragraph video is calculated loading
The short time consumption of first paragraph video.In the present embodiment, the quantity of first paragraph video can be one and also may be used
Being multiple.According to the technical scheme of the present embodiment, the principle for calculating video loading velocity is:When broadcasting
Put device user terminal and send request to obtain during video segment to server, record starts request time ts1, when
A time te1 is recorded after the completion of segmenting video loading, can obtain loading this section of video using te1-ts1
Short time consumption be t1;This section of length of video is L1, then can be obtained by obtaining L1 in t1 seconds
The video of second length, the video length for being so probably estimated that loading per second is L1/t1, if for example
The video for obtaining 20 seconds takes 5 seconds, then can be simply considered that the network speed of user each second can
Think that user obtains the video content of 4 seconds.
Video length computing module 320, when first paragraph video to preset length is played, regards according to first paragraph
Second loaded to server request is treated in the residue length of frequency and the loading velocity of first paragraph video, calculating
The length of section video.In the present embodiment, in first paragraph video display process, when video playback to should
Section video length 50% when (value can be adjusted), start load next section of video.Due to there remains
50% video is not played, if the length of first paragraph video is 20 seconds, then remaining video probably can be with
Play 10 seconds;Because the video that can probably obtain 4 seconds per second, then in ensuing reproduction time
Interior general user obtains 40 seconds videos of length.If the total length of certain video is less than end position, knot
Beam position is the position of video footage.
Request module 330, according to the length of second segment video, loading second segment video is sent to server
Request.
Load-on module 340, the second segment video obtained from cutting on pre- setting video that load server sends with
For playing.The technical scheme of the present embodiment can be performed cyclically, until whole video loading is completed.
For example, video player obtain second segment video after, record time started ts2 and video loading complete when
Between te2, so as to calculate loading second segment L2=32 seconds the time t2 of video, such as t2=6s, according to the
The loading velocity of one section of video and the loading velocity of second segment video, calculating can load average each second
Video length, (L1+L2)/(t1+t2)=(20+32)/(5+6)=4.7.So when second segment video playback to should
The 50% of section video is to start to load the 3rd section of video.If the total length of video is less than end position,
End position is the position of video footage.It can be seen that according to above-mentioned calculation procedure, can successively calculate next
The length of the individual video segment that will be played, until whole video playback is completed.
As shown in figure 3, a kind of video segmentation loading device is provided in one embodiment of the present of invention, bag
Include:
Load-on module 340, when any part of pre- setting video is not loaded, sends loading default to server
One section of request of video of default second length in video.This section of video for obtaining can be used as first first
Section video.By taking html5video video players as an example, video-see is carried out when user opens a page
When, the html5video video players on the page first obtain the information of whole video from server, including
Video name, video footage, video size, video url (address) etc..If a video very little,
Such as less than 1M, it is not necessary to which broadcast multiple segments voice separately is carried out to video;If video is relatively large, it is necessary to
Video is segmented.Specifically, when first segmentation of loading is needed, loading one can be fixed long
Degree, such as 20 seconds.So need to take starting position 0 and knot when the url of video player is set
Beam position 20 the two parameters.The url of such as video is www.videourl.com/12345, transmission
The url comprising first segmentation is in obtaining the request of video
www.videourl.com/12345St=0&et=20, wherein st=20 represent that starting position is 0 second, et=20
Represent that end position is 20 seconds.
Server is received comprising www.videourl.com/12345After the request of st=0&et=20, according to
Www.videourl.com/12345 is known that the position of former video, and then server enters to the video
Row cutting one provisional video of 0~20 second of generation, and data flow is returned into player;When data flow is returned
Return after completing, delete the provisional video;Or the provisional video that will not be generated when video is cut is preserved
Onto hard disk, but it is saved directly in internal memory, directly using in internal memory during server return video flowing
Data, server clears data after the completion of returning.
Loading velocity computing module 310, regards according to the temporal information of loading first paragraph video, and first paragraph
The length of frequency, calculates loading velocity during loading first paragraph video;First paragraph video is by server from default
Cutting is obtained on video.
Video length computing module 320, when first paragraph video to preset length is played, regards according to first paragraph
Second loaded to server request is treated in the residue length of frequency and the loading velocity of first paragraph video, calculating
The length of section video.
Video length computing module 320, be with default expression network condition by the length of second segment video
Several product, as the length of new second segment video.Understood with reference to foregoing embodiment, if calculated
The length of the second segment video for going out is 40 seconds, some other unstable networks factors is now considered further that, to this
Length is multiplied by a coefficient, such as 80%, then the time span of second segment video is 40 × 0.8=32,
So url of second segment video is www.videourl.com/12345St=20&et=52.
Identically with previous embodiment, when new video is loaded in the loading velocity according to second segment video,
When second segment video playback to this section the 50% of video, the 3rd section of video length that being calculated to load is
4.7 × 32 × 0.5 × 0.8=60, the length of such 3rd section of video is 60 seconds, and starting position is 20+32=52,
End position is 52+60=112, and the url of request is www.videourl.com/12345St=52&et=112.
Video length computing module 320, when the length of second segment video is less than default first length, by the
The length of two sections of videos is revised as default first length.According to the technical scheme of the present embodiment, if certain
The network speed of user is very slow, the possible very little of the second segment video length that will be loaded for calculating, so
In order to reduce the pressure of server, when loading length and being less than certain value, it should take another and larger consolidate
Definite value.For example loading length can not be less than 10 seconds every time, if the loading length calculated is 8 seconds,
Need to use loaded within 10 seconds.
Request module 330, between the end time according to first paragraph video is set at the beginning of second segment video,
End time according to first paragraph video sets the end time of second segment video with the length of second segment video,
And by between at the beginning of second segment video and the end time adds request to be transmitted.
Load-on module 340, the second segment video obtained from cutting on pre- setting video that load server sends with
For playing.
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 hair
Bright embodiment can be put into practice in the case of without these details.In some instances, not in detail
Known method, structure and technology are carefully shown, 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 one in each inventive aspect or
Multiple, in above to the description of exemplary embodiment of the invention, each feature of the invention sometimes by
It is grouped into together in single embodiment, figure or descriptions thereof.However, should not be by the disclosure
Method is construed to reflect following intention:I.e. the present invention for required protection requirement ratio is in each claim
The more features of feature being expressly recited.More precisely, as the following claims reflect
Like that, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body implementation method are expressly incorporated in the specific embodiment, and wherein each right will
Itself is asked 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 other
Some included features are rather than further feature, but the combination of the feature of different embodiments in embodiment
Mean to be within the scope of the present invention and formed different embodiments.For example, in following right
In claim, the one of any of embodiment required for protection mode can use in any combination.
All parts embodiment of the invention can realize with hardware, or with one or more processor
The software module of upper operation is realized, or is realized with combinations thereof.Those skilled in the art should manage
Solution, can be realized according to this hair using microprocessor or digital signal processor (DSP) in practice
The some or all functions of some or all parts in the video segmentation loading device of bright embodiment.
The present invention be also implemented as some or all equipment for performing method as described herein or
Person's program of device (for example, computer program and computer program product).It is such realize it is of the invention
Program can be stored on a computer-readable medium, or can have the form of one or more signal.
Such signal can be downloaded from internet website and obtained, or be provided on carrier signal, or with
Any other form is provided.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention, and
And those skilled in the art can design replacement implementation without departing from the scope of the appended claims
Example.In the claims, any reference symbol being located between bracket should not be configured to claim
Limitation.Word "comprising" does not exclude the presence of element or step not listed in the claims.Positioned at unit
Word "a" or "an" before part does not exclude the presence of element as multiple.The present invention can be borrowed
Help to include the hardware of some different elements and realized by means of properly programmed computer.In row
If in having lifted the unit claim of equipment for drying, several in these devices can be by same hard
Part is embodied.The use of word first, second, and third does not indicate that any order.Can
These words are construed to title.
Claims (10)
1. a kind of video segmentation loading method, it is characterised in that including:
According to loading first paragraph video temporal information, and the first paragraph video length, calculate plus
Carry the loading velocity during first paragraph video;The first paragraph video is cut by server from pre- setting video
Get;
When the first paragraph video is played to preset length, according to the residue length of the first paragraph video
And the loading velocity of the first paragraph video, calculate the second segment for treating to load to the server request and regard
The length of frequency;
According to the length of the second segment video, the loading second segment video is sent to the server
Request;
The second segment video obtained from cutting on the pre- setting video for loading that the server sends with
For playing.
2. video segmentation loading method according to claim 1, it is characterised in that according to described
Two sections of length of video, the request for loading the second segment video is sent to the server, is specifically included:
Between end time according to the first paragraph video is set at the beginning of the second segment video, according to
The end time of the first paragraph video sets the second segment video with the length of the second segment video
End time, and by between at the beginning of the second segment video and the end time adds the request to be sent out
Send.
3. video segmentation loading method according to claim 1, it is characterised in that according to described
The length of second segment video, before the request for loading the second segment video is sent to the server, also
Including:
By the length of the second segment video with it is default expression network condition coefficient product, as new
The second segment video length.
4. video segmentation loading method according to claim 1, it is characterised in that according to described
The length of second segment video, before the request for loading the second segment video is sent to the server, also
Including:
When the length of the second segment video is less than default first length, by the length of the second segment video
Degree is revised as default first length.
5. video segmentation loading method according to any one of claim 1 to 4, it is characterised in that
Also include:
When any part of the pre- setting video is not loaded, loading is sent to the server described default
One section of request of video of default second length in video.
6. a kind of video segmentation loading device, it is characterised in that including:
Loading velocity computing module, for the temporal information according to loading first paragraph video, and described the
One section of length of video, calculates loading velocity when loading the first paragraph video;The first paragraph video
Obtained from cutting on pre- setting video by server;
Video length computing module, for when the first paragraph video is played to preset length, according to institute
The residue length of first paragraph video and the loading velocity of the first paragraph video are stated, calculating is treated to the clothes
The length of the second segment video of device request of loading of being engaged in;
Request module, for the length according to the second segment video, loading institute is sent to the server
State the request of second segment video;
Load-on module, for loading the institute obtained from cutting on the pre- setting video that the server sends
Second segment video is stated for playing.
7. video segmentation loading device according to claim 6, it is characterised in that
The request module sets opening for the second segment video according to the end time of the first paragraph video
Time beginning, described in end time according to the first paragraph video and the length of the second segment video are set
The end time of second segment video, and by between at the beginning of the second segment video and the end time adds institute
Request is stated to be transmitted.
8. video segmentation loading device according to claim 6, it is characterised in that
The length of the second segment video is also represented network-like by the video length computing module with default
The product of the coefficient of condition, as the length of the new second segment video.
9. video segmentation loading device according to claim 6, it is characterised in that
The video length computing module also when the length of the second segment video is less than default first length,
The length of the second segment video is revised as default first length.
10. the video segmentation loading device according to any one of claim 6 to 9, its feature exists
In,
The request module is sent out also when any part of the pre- setting video is not loaded to the server
Go out to load one section of request of video of default second length in the pre- setting video.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510781384.XA CN106713948B (en) | 2015-11-13 | 2015-11-13 | Video segmentation loading method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510781384.XA CN106713948B (en) | 2015-11-13 | 2015-11-13 | Video segmentation loading method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106713948A true CN106713948A (en) | 2017-05-24 |
CN106713948B CN106713948B (en) | 2019-10-11 |
Family
ID=58930829
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510781384.XA Active CN106713948B (en) | 2015-11-13 | 2015-11-13 | Video segmentation loading method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106713948B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110324681A (en) * | 2019-07-08 | 2019-10-11 | 广州酷狗计算机科技有限公司 | Dicing method, device, storage medium and the Transmission system of multi-medium data |
CN110545470A (en) * | 2018-05-29 | 2019-12-06 | 北京字节跳动网络技术有限公司 | Media file loading method and device and storage medium |
CN112202751A (en) * | 2020-09-25 | 2021-01-08 | 腾讯科技(深圳)有限公司 | Animation processing method and device, electronic equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103024446A (en) * | 2012-12-31 | 2013-04-03 | 传聚互动(北京)科技有限公司 | Loading and buffering method and system for online video |
CN103051955A (en) * | 2012-12-21 | 2013-04-17 | 华为技术有限公司 | Method and device for playing streaming media |
WO2014041547A1 (en) * | 2012-09-13 | 2014-03-20 | Yevvo Entertainment Inc. | Live video broadcasting from a mobile device |
CN103731720A (en) * | 2013-11-25 | 2014-04-16 | 乐视致新电子科技(天津)有限公司 | Method and device for caching multimedia data of smart television |
CN103873927A (en) * | 2012-12-17 | 2014-06-18 | 联想(北京)有限公司 | Stream media data processing method and electronic equipment |
EP2752002A2 (en) * | 2011-08-29 | 2014-07-09 | Sling Media PVT Ltd | Systems and methods for controlling the encoding of a segmented media stream using segment transmit times |
CN103929684A (en) * | 2013-01-14 | 2014-07-16 | 华为技术有限公司 | Method for selecting code stream segmentation based on streaming media, player and terminal |
CN104244033A (en) * | 2014-09-03 | 2014-12-24 | 乐视致新电子科技(天津)有限公司 | Video playing method and device and intelligent terminal |
CN104754415A (en) * | 2015-03-30 | 2015-07-01 | 北京奇艺世纪科技有限公司 | Video playing method and video playing device |
-
2015
- 2015-11-13 CN CN201510781384.XA patent/CN106713948B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2752002A2 (en) * | 2011-08-29 | 2014-07-09 | Sling Media PVT Ltd | Systems and methods for controlling the encoding of a segmented media stream using segment transmit times |
WO2014041547A1 (en) * | 2012-09-13 | 2014-03-20 | Yevvo Entertainment Inc. | Live video broadcasting from a mobile device |
CN103873927A (en) * | 2012-12-17 | 2014-06-18 | 联想(北京)有限公司 | Stream media data processing method and electronic equipment |
CN103051955A (en) * | 2012-12-21 | 2013-04-17 | 华为技术有限公司 | Method and device for playing streaming media |
CN103024446A (en) * | 2012-12-31 | 2013-04-03 | 传聚互动(北京)科技有限公司 | Loading and buffering method and system for online video |
CN103929684A (en) * | 2013-01-14 | 2014-07-16 | 华为技术有限公司 | Method for selecting code stream segmentation based on streaming media, player and terminal |
CN103731720A (en) * | 2013-11-25 | 2014-04-16 | 乐视致新电子科技(天津)有限公司 | Method and device for caching multimedia data of smart television |
CN104244033A (en) * | 2014-09-03 | 2014-12-24 | 乐视致新电子科技(天津)有限公司 | Video playing method and device and intelligent terminal |
CN104754415A (en) * | 2015-03-30 | 2015-07-01 | 北京奇艺世纪科技有限公司 | Video playing method and video playing device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110545470A (en) * | 2018-05-29 | 2019-12-06 | 北京字节跳动网络技术有限公司 | Media file loading method and device and storage medium |
CN110324681A (en) * | 2019-07-08 | 2019-10-11 | 广州酷狗计算机科技有限公司 | Dicing method, device, storage medium and the Transmission system of multi-medium data |
CN110324681B (en) * | 2019-07-08 | 2021-05-25 | 广州酷狗计算机科技有限公司 | Slicing method, device, storage medium and transmission system of multimedia data |
CN112202751A (en) * | 2020-09-25 | 2021-01-08 | 腾讯科技(深圳)有限公司 | Animation processing method and device, electronic equipment and storage medium |
CN112202751B (en) * | 2020-09-25 | 2022-06-07 | 腾讯科技(深圳)有限公司 | Animation processing method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106713948B (en) | 2019-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105025351B (en) | The method and device of DST PLAYER buffering | |
US9021537B2 (en) | Pre-buffering audio streams | |
CN109565620A (en) | Low latency HTTP real-time streaming transport | |
CN104768082B (en) | A kind of audio and video playing information processing method and server | |
CN105681874A (en) | Network video online playing method and device | |
CN106550284B (en) | Method and device for playing fragment video | |
CN103475932A (en) | Seamless on-line playing method and device of network video and network television system | |
US20150347415A1 (en) | Http live streaming dateranges | |
CN107911709A (en) | live interface display method, device and terminal | |
CN107147921A (en) | Based on section and the intelligence CDN video playback accelerated methods dispatched and equipment | |
CN108076377A (en) | A kind of storage of video, playback method, device, electronic equipment and storage medium | |
JP2017519406A (en) | Network video playback method and apparatus | |
CN106488325B (en) | Network media file playback method, device and equipment | |
CN107071550B (en) | Video data sharing method and device | |
CN112837088B (en) | Advertisement putting method, advertisement putting device, advertisement putting medium and electronic equipment | |
CN106713948A (en) | Video sectional loading method and device | |
CN105100912A (en) | Streaming media processing method and streaming media processing apparatus | |
CN104093084A (en) | Method and apparatus for playing video | |
CN107786903A (en) | video interactive method and device | |
US10200433B2 (en) | Client device, a method for receiving a streaming media data and a streaming media data transmission system | |
CN104410879A (en) | Time-shifting implementation method and device and server | |
CN102932693B (en) | Method and device for prefetching video-frequency band | |
EP2820815A1 (en) | An improved method and apparatus for video content distribution | |
CN105007521B (en) | A kind of player method and device of TS videos | |
CN108156474A (en) | A kind of video broadcasting method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: Beijing Guoshuang Technology Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: Beijing Guoshuang Technology Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |