CN106294827A - The caching method of multimedia resource and device - Google Patents
The caching method of multimedia resource and device Download PDFInfo
- Publication number
- CN106294827A CN106294827A CN201610682234.8A CN201610682234A CN106294827A CN 106294827 A CN106294827 A CN 106294827A CN 201610682234 A CN201610682234 A CN 201610682234A CN 106294827 A CN106294827 A CN 106294827A
- Authority
- CN
- China
- Prior art keywords
- burst
- played
- cached
- caching
- multimedia resource
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/43—Querying
- G06F16/438—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The present invention relates to caching method and the device of multimedia resource.The method includes: during playing described multimedia resource, determining the current slice of the described multimedia resource that current play time point is corresponding, wherein, described multimedia resource includes multiple burst;The burst multiple to be played after described current slice is cached respectively by multiple threads.By during playing multimedia resource, determine the current slice of the multimedia resource that current play time point is corresponding, the burst multiple to be played after current slice is cached respectively again by multiple threads, the caching method of the multimedia resource according to the present invention and device can greatly reduce Caton phenomenon during user watches multimedia resource, and it is more data cached owing to having, therefore the probability of card can also be reduced when user drags progress bar backward such that it is able to improve the viewing experience of user.
Description
Technical field
The present invention relates to areas of information technology, particularly relate to caching method and the device of a kind of multimedia resource.
Background technology
At present, support the online video website play or videoconference client buffered video stream the most in chronological order, each
It is all acquiescence that video website and videoconference client can cache how many videos during online broadcasting.Drag user backward
During progress bar, if the video dragging the time point terminated corresponding is uncached, then easily cause the phenomenon of card.
Summary of the invention
Technical problem
In view of this, the technical problem to be solved in the present invention is, the caching technology of existing multimedia resource easily causes
Caton phenomenon.
Solution
In order to solve above-mentioned technical problem, according to one embodiment of the invention, it is provided that the caching of a kind of multimedia resource
Method, including:
During playing described multimedia resource, determine the described multimedia resource that current play time point is corresponding
Current slice, wherein, described multimedia resource includes multiple burst;
The burst multiple to be played after described current slice is cached respectively by multiple threads.
For said method, in a kind of possible implementation, cache described current slice respectively by multiple threads
Burst multiple to be played afterwards, including:
Meet first pre-conditioned in the case of, by multiple threads cache after described current slice respectively multiple
Burst to be played;
Wherein, meet first pre-conditioned to include:
Receive the solicited message accelerating caching that user sends;And/or,
Determine according to history played data and be accelerated caching.
For said method, in a kind of possible implementation, caching described current point respectively by multiple threads
After burst multiple to be played after sheet, described method also includes:
The burst described to be played cached meet second pre-conditioned in the case of, stop caching;
Wherein, the burst described to be played cached meet second pre-conditioned include following at least one:
The data volume of the burst described to be played cached is more than the first preset value;
The quantity of the burst described to be played cached is more than the second preset value;
The burst described to be played cached includes all bursts after described current slice.
For said method, in a kind of possible implementation, described method also includes:
If it is pre-conditioned, then again by multiple threads respectively to detect that the burst described to be played cached meets the 3rd
Cache the multiple described burst to be played after described current slice, until the burst described to be played cached meets described
Two is pre-conditioned;
Wherein, the burst described to be played cached meets the 3rd and pre-conditioned includes:
The data volume of the burst described to be played cached is less than the 3rd preset value, and wherein, described 3rd preset value is less than
Or equal to the first preset value;And/or,
The quantity of the burst described to be played cached be less than the 4th preset value, wherein, described 4th preset value less than or
Equal to the second preset value.
For said method, in a kind of possible implementation, caching described current point respectively by multiple threads
After burst multiple to be played after sheet, described method also includes:
Broadcast interface shows the caching progress of described burst to be played.
In order to solve above-mentioned technical problem, according to another embodiment of the present invention, it is provided that delaying of a kind of multimedia resource
Cryopreservation device, including:
Current slice determines module, for, during playing described multimedia resource, determining current play time point
The current slice of corresponding described multimedia resource, wherein, described multimedia resource includes multiple burst;
First cache module, for caching multiple to be played point after described current slice respectively by multiple threads
Sheet.
For said apparatus, in a kind of possible implementation, described first cache module specifically for:
Meet first pre-conditioned in the case of, by multiple threads cache after described current slice respectively multiple
Burst to be played;
Wherein, meet first pre-conditioned to include:
Receive the solicited message accelerating caching that user sends;And/or,
Determine according to history played data and be accelerated caching.
For said apparatus, in a kind of possible implementation, described device also includes:
Caching stopping modular, for the burst described to be played cached meet second pre-conditioned in the case of, stop
Only caching;
Wherein, the burst described to be played cached meet second pre-conditioned include following at least one:
The data volume of the burst described to be played cached is more than the first preset value;
The quantity of the burst described to be played cached is more than the second preset value;
The burst described to be played cached includes all bursts after described current slice.
For said apparatus, in a kind of possible implementation, described device also includes:
Second cache module, if pre-conditioned, the most again for detecting that the burst described to be played cached meets the 3rd
Secondary cached the multiple described burst to be played after described current slice respectively by multiple threads, until treating described in having cached
Play burst and meet described second pre-conditioned;
Wherein, the burst described to be played cached meets the 3rd and pre-conditioned includes:
The data volume of the burst described to be played cached is less than the 3rd preset value, and wherein, described 3rd preset value is less than
Or equal to the first preset value;And/or,
The quantity of the burst described to be played cached be less than the 4th preset value, wherein, described 4th preset value less than or
Equal to the second preset value.
For said apparatus, in a kind of possible implementation, described device also includes:
Caching progress display module, for showing the caching progress of described burst to be played on broadcast interface.
Beneficial effect
By, during playing multimedia resource, determining the current of the multimedia resource that current play time point is corresponding
Burst, then cache the burst multiple to be played after current slice respectively by multiple threads, the most
The caching method of media resource and device can greatly reduce Caton phenomenon during user watches multimedia resource, and by
More data cached in having, therefore also can reduce the probability of card when user drags progress bar backward such that it is able to carry
The viewing experience of high user.
According to below with reference to the accompanying drawings detailed description of illustrative embodiments, the further feature of the present invention and aspect being become
Clear.
Accompanying drawing explanation
The accompanying drawing of the part comprising in the description and constituting description together illustrates the present invention's with description
Exemplary embodiment, feature and aspect, and for explaining the principle of the present invention.
Fig. 1 illustrates the flowchart of the caching method of multimedia resource according to an embodiment of the invention;
Fig. 2 illustrates that the one of the caching method of multimedia resource according to an embodiment of the invention exemplary realizes flow process
Figure;
Fig. 3 illustrates the schematic diagram of the pre-set button in the caching method of multimedia resource according to an embodiment of the invention;
Fig. 4 illustrates that the one of the caching method of multimedia resource according to an embodiment of the invention exemplary realizes flow process
Figure;
Fig. 5 illustrates that the one of the caching method of multimedia resource according to an embodiment of the invention exemplary realizes flow process
Figure;
Fig. 6 illustrates that the one of the caching method of multimedia resource according to an embodiment of the invention exemplary realizes flow process
Figure;
Fig. 7 illustrates and shows on broadcast interface in the caching method of multimedia resource according to an embodiment of the invention and wait to broadcast
Put the schematic diagram of the caching progress of burst;
Fig. 8 illustrates that the one of the caching method of multimedia resource according to an embodiment of the invention exemplary realizes flow process
Figure;
Fig. 9 illustrates the structured flowchart of the buffer storage of multimedia resource according to another embodiment of the present invention;
Figure 10 illustrates an exemplary structural frames of the buffer storage of multimedia resource according to another embodiment of the present invention
Figure;
Figure 11 shows the structured flowchart of the buffer memory device of a kind of multimedia resource of an alternative embodiment of the invention.
Detailed description of the invention
Various exemplary embodiments, feature and the aspect of the present invention is described in detail below with reference to accompanying drawing.In accompanying drawing identical
Reference represent the same or analogous element of function.Although the various aspects of embodiment shown in the drawings, but remove
Non-specifically is pointed out, it is not necessary to accompanying drawing drawn to scale.
The most special word " exemplary " means " as example, embodiment or illustrative ".Here as " exemplary "
Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
It addition, in order to better illustrate the present invention, detailed description of the invention below gives numerous details.
It will be appreciated by those skilled in the art that do not have some detail, the present invention equally implements.In some instances, for
Method well known to those skilled in the art, means, element and circuit are not described in detail, in order to highlight the purport of the present invention.
Embodiment 1
Fig. 1 illustrates the flowchart of the caching method of multimedia resource according to an embodiment of the invention.Such as Fig. 1 institute
Showing, the method specifically includes that
In step S101, during playing multimedia resource, determine the multimedia that current play time point is corresponding
The current slice of resource, wherein, multimedia resource includes multiple burst.
It should be noted that the executive agent of the embodiment of the present invention can be PC (Personal Computer, Ge Ren electricity
Brain), it is also possible to for the mobile terminal such as mobile phone or panel computer, it is also possible to for the buffer storage of other multimedia resources, at this
It is not construed as limiting.Multimedia can be the comprehensive of media, such as, can include the media shapes such as word, sound and image
Formula.Such as, multimedia resource can be video, in this no limit.
Before step S101, each multimedia resource can be respectively divided into multiple burst by server.
As an example of the embodiment of the present invention, the buffer storage of multimedia resource can pass through player or webpage
Play multimedia resource online.During playing multimedia resource, determine the multimedia money that current play time point is corresponding
The current slice in source, in other words, current slice can be the burst of this multimedia resource that player is currently played.
In a kind of possible implementation, can be currently playing by a dot mark on the progress bar of broadcast interface
Time point, for example, it is possible to for the dot on the progress bar shown in Fig. 3 and Fig. 7.
In step s 102, the burst multiple to be played after current slice is cached respectively by multiple threads.
In embodiments of the present invention, during playing current slice, current slice is cached respectively by multiple threads
Burst multiple to be played afterwards.Wherein, burst to be played is time burst after current slice.Such as, current slice
For i-th burst, 4 threads can be opened and cache i+1 burst, the i-th+2 bursts, the i-th+3 bursts and i-th+4 respectively
Individual burst.Wherein, i+1 burst is first burst after i-th burst, after the i-th+2 bursts are i-th burst
The 2nd burst, by that analogy.
Fig. 2 illustrates that the one of the caching method of multimedia resource according to an embodiment of the invention exemplary realizes flow process
Figure.As in figure 2 it is shown, the method specifically includes that
In step s 201, during playing multimedia resource, the multimedia that current play time point is corresponding is determined
The current slice of resource, wherein, multimedia resource includes multiple burst.
In step S202, meet first pre-conditioned in the case of, cache current slice respectively by multiple threads
Burst multiple to be played afterwards.
In a kind of possible implementation, meet first and pre-conditioned include: receive the acceleration caching that user sends
Solicited message;And/or, determine according to history played data and be accelerated caching.
As an example of the embodiment of the present invention, in the situation receiving the solicited message accelerating caching that user sends
Under, cache the burst multiple to be played after current slice respectively by multiple threads.Such as, user can broadcast by being arranged on
Put the pre-set button on interface and send the solicited message accelerating caching.Fig. 3 illustrates multimedia money according to an embodiment of the invention
The schematic diagram of the pre-set button in the caching method in source.As it is shown on figure 3, pre-set button can be arranged on broadcast interface, if inspection
Measure user and click on this pre-set button, then can eject a dialog box, and judge that user sends the solicited message accelerating caching.Example
As, in figure 3, detect that user clicks on the button of " opening immediately " hurricane pattern in the dialog box ejected, then judge to receive
The solicited message accelerating caching sent to user.
As another example of the embodiment of the present invention, can preset more than the 5th in the data volume of multimedia resource caching
In the case of value, broadcast interface shows pre-set button.
As another example of the embodiment of the present invention, determining the situation being accelerated caching according to history played data
Under, cache the burst multiple to be played after current slice respectively by multiple threads.Such as, if the upper matchmaker more than play
Body resource has carried out accelerating caching, then may determine that and currently playing multimedia resource is accelerated caching.The most such as, such as figure
Shown in 3, if on playing during a multimedia resource, detect that user clicks on " next time, acquiescence was opened " hurricane pattern
Button, then may determine that and currently playing multimedia resource be accelerated caching.
Fig. 4 illustrates that the one of the caching method of multimedia resource according to an embodiment of the invention exemplary realizes flow process
Figure.As shown in Figure 4, the method specifically includes that
In step S401, during playing multimedia resource, determine the multimedia that current play time point is corresponding
The current slice of resource, wherein, multimedia resource includes multiple burst.
In step S402, cache the burst multiple to be played after current slice respectively by multiple threads.
In step S403, the burst to be played cached meet second pre-conditioned in the case of, stop caching.
In a kind of possible implementation, the burst to be played cached meet second pre-conditioned include following at least
One: the data volume of the burst to be played cached is more than the first preset value;The quantity of the burst to be played cached is more than the
Two preset values;The burst to be played cached includes all bursts after current slice.Such as, the first preset value can be
400Mb, the second preset value can be 7.
As an example of the embodiment of the present invention, the data volume at the burst to be played cached is more than the first preset value
In the case of, stop caching, and the signal of waiting for the start caching.
As another example of the embodiment of the present invention, the quantity at the burst to be played cached is more than the second preset value
In the case of, stop caching, and the signal of waiting for the start caching.
As another example of the embodiment of the present invention, the institute after the burst to be played cached includes current slice
There is burst, in the case of the most all bursts to be played cache the most, stop caching.
Fig. 5 illustrates that the one of the caching method of multimedia resource according to an embodiment of the invention exemplary realizes flow process
Figure.As it is shown in figure 5, the method specifically includes that
In step S501, during playing multimedia resource, determine the multimedia that current play time point is corresponding
The current slice of resource, wherein, multimedia resource includes multiple burst.
In step S502, cache the burst multiple to be played after current slice respectively by multiple threads.
In step S503, the burst to be played cached meet second pre-conditioned in the case of, stop caching.
In step S504, if it is pre-conditioned, then again by many to detect that the burst to be played cached meets the 3rd
Individual thread caches the burst multiple to be played after current slice respectively, presets until the burst to be played cached meets second
Condition.
As an example of the embodiment of the present invention, if detecting, the burst to be played cached meets the 3rd and presets article
Part, then can generate the signal starting caching, broadcasts caching multiple the waiting after current slice respectively again by multiple threads
Put burst.
In a kind of possible implementation, the burst to be played cached meets the 3rd and pre-conditioned includes: cache
The data volume of burst to be played less than the 3rd preset value, wherein, the 3rd preset value is less than or equal to the first preset value;And/or,
The quantity of the burst to be played cached is less than the 4th preset value, and wherein, the 4th preset value is less than or equal to the second preset value.Example
As, the 3rd preset value can be 400Mb, and the 4th preset value can be 7.
Fig. 6 illustrates that the one of the caching method of multimedia resource according to an embodiment of the invention exemplary realizes flow process
Figure.As shown in Figure 6, the method specifically includes that
In step s 601, during playing multimedia resource, the multimedia that current play time point is corresponding is determined
The current slice of resource, wherein, multimedia resource includes multiple burst.
In step S602, cache the burst multiple to be played after current slice respectively by multiple threads.
In step S603, broadcast interface shows the caching progress of burst to be played.
Fig. 7 illustrates and shows on broadcast interface in the caching method of multimedia resource according to an embodiment of the invention and wait to broadcast
Put the schematic diagram of the caching progress of burst.As it is shown in fig. 7, as an example of the embodiment of the present invention, can be at broadcast interface
Progress bar on show the caching progress of burst to be played, such as, player kernel can be by the caching progress of burst to be played
Feed back to player interface, thus allow users to intuitively arrive the effect accelerating caching.
Fig. 8 illustrates that the one of the caching method of multimedia resource according to an embodiment of the invention exemplary realizes flow process
Figure.As shown in Figure 8, the method specifically includes that
In step S801, player kernel receives the instruction opening hurricane pattern.
In step S802, open multiple thread and cache the burst multiple to be played after current slice respectively.
In step S803, it is judged that whether the data volume of the burst to be played cached reaches the first preset value, the most then
Perform step S804, otherwise perform step S805.
In step S804, stop caching.
In step S805, it is judged that whether the quantity of the burst to be played cached reaches the second preset value, the most then hold
Row step S804, otherwise performs step S806.
In step S806, continue through multiple thread and cache the burst multiple to be played after current slice respectively, and
Update the burst number to be played cached, the caching progress of burst to be played is returned to broadcast interface in real time.
In step S807, regularly judge the Expenditure Levels of the burst to be played cached, and broadcast according to waiting of having cached
The Expenditure Levels putting burst continues the burst that caching is to be played.
So, by, during playing multimedia resource, determining the multimedia resource that current play time point is corresponding
Current slice, then cache the burst multiple to be played after current slice respectively by multiple threads, implement according to the present invention
The caching method of the multimedia resource of example can greatly reduce Caton phenomenon during user watches multimedia resource, improves
The fluency play, and more data cached owing to having, therefore also can reduce what card paused when user drags progress bar backward
Probability such that it is able to improve the viewing experience of user.
Embodiment 2
Fig. 9 illustrates the structured flowchart of the buffer storage of multimedia resource according to another embodiment of the present invention.This device can
Caching method for the multimedia resource shown in service chart 1.For convenience of description, illustrate only in fig .9 and the present invention
The part that embodiment is relevant.
As it is shown in figure 9, this device includes: current slice determines module 91, in the mistake playing described multimedia resource
Cheng Zhong, determines the current slice of the described multimedia resource that current play time point is corresponding, and wherein, described multimedia resource includes
Multiple bursts;First cache module 92, multiple to be played for cache after described current slice respectively by multiple threads
Burst.
Figure 10 illustrates an exemplary structural frames of the buffer storage of multimedia resource according to another embodiment of the present invention
Figure.This device may be used for the caching method of the multimedia resource shown in service chart 1 to Fig. 8.For convenience of description, in Fig. 10
Illustrate only the part relevant to the embodiment of the present invention.The assembly that in Figure 10, label is identical with Fig. 9 has identical function, for letter
See from tomorrow, omit the detailed description to these assemblies.As shown in Figure 10:
In a kind of possible implementation, described first cache module 92 specifically for: first pre-conditioned meeting
In the case of, cache the burst multiple to be played after described current slice respectively by multiple threads;Wherein, first is met pre-
If condition includes: receive the solicited message accelerating caching that user sends;And/or, determine according to history played data and carry out
Accelerate caching.
In a kind of possible implementation, described device also includes: caching stopping modular 93, in the institute cached
State burst to be played meet second pre-conditioned in the case of, stop caching;Wherein, the burst described to be played cached meets
Second pre-conditioned include following at least one: the data volume of the burst described to be played cached be more than the first preset value;?
The quantity of the burst described to be played of caching is more than the second preset value;The burst described to be played cached includes described current point
All bursts after sheet.
In a kind of possible implementation, described device also includes: the second cache module 94, if the most slow for detecting
It is pre-conditioned, then after caching described current slice respectively again by multiple threads that the burst described to be played deposited meets the 3rd
Multiple described burst to be played, until the burst described to be played cached meets described second pre-conditioned;Wherein, the most slow
The burst described to be played deposited meets the 3rd and pre-conditioned includes: the data volume of the burst described to be played cached is less than the 3rd
Preset value, wherein, described 3rd preset value is less than or equal to the first preset value;And/or, the burst described to be played cached
Quantity is less than the 4th preset value, and wherein, described 4th preset value is less than or equal to the second preset value.
In a kind of possible implementation, described device also includes: caching progress display module 95, for playing boundary
The caching progress of described burst to be played is shown on face.
It should be noted that so, by during playing multimedia resource, determine that current play time point is corresponding
The current slice of multimedia resource, then cache the burst multiple to be played after current slice, root respectively by multiple threads
Can greatly reduce during user watches multimedia resource according to the buffer storage of the multimedia resource of the embodiment of the present invention
Caton phenomenon, and more data cached owing to having, the possibility of card therefore also can be reduced when user drags progress bar backward
Property such that it is able to improve the viewing experience of user.
Embodiment 3
Figure 11 shows the structured flowchart of the buffer memory device of a kind of multimedia resource of an alternative embodiment of the invention.Institute
Stating the buffer memory device 1100 of multimedia resource can be to possess the host server of computing capability, personal computer PC or can
The portable computer carried or terminal etc..Calculating node is not implemented and limits by the specific embodiment of the invention.
The buffer memory device 1100 of described multimedia resource includes processor (processor) 1110, communication interface
(Communications Interface) 1120, memorizer (memory) 1130 and bus 1140.Wherein, processor 1110,
Communication interface 1120 and memorizer 1130 complete mutual communication by bus 1140.
Communication interface 1120 is used for and network device communications, and wherein the network equipment includes such as Virtual Machine Manager center, is total to
Enjoy storage etc..
Processor 1110 is used for performing program.Processor 1110 is probably a central processor CPU, or special collection
Become circuit ASIC (Application Specific Integrated Circuit), or be configured to implement the present invention
One or more integrated circuits of embodiment.
Memorizer 1130 is used for depositing file.Memorizer 1130 may comprise high-speed RAM memorizer, it is also possible to also includes non-
Volatile memory (non-volatile memory), for example, at least one disk memory.Memorizer 1130 can also be to deposit
Memory array.Memorizer 1130 is also possible to by piecemeal, and described piece can be by certain rule sets synthesis virtual volume.
In a kind of possible embodiment, said procedure can be the program code including computer-managed instruction.This journey
Sequence is particularly used in: realize the operation of each step in embodiment 1.
Those of ordinary skill in the art are it is to be appreciated that each exemplary cell in embodiment described herein and algorithm
Step, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually with hardware also
It is that software form realizes, depends on application-specific and the design constraint of technical scheme.Professional and technical personnel can be for
Specific application selects different methods to realize described function, but this realization is it is not considered that exceed the model of the present invention
Enclose.
If using the form of computer software realize described function and as independent production marketing or use time, then exist
To a certain extent it is believed that all or part of (part such as contributed prior art) of technical scheme is
Embody in form of a computer software product.This computer software product is generally stored inside the non-volatile of embodied on computer readable
In storage medium, including some instructions with so that computer equipment (can be that personal computer, server or network set
Standby etc.) perform all or part of step of various embodiments of the present invention method.And aforesaid storage medium include USB flash disk, portable hard drive,
Read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic
The various medium that can store program code such as dish or CD.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with described scope of the claims.
Claims (10)
1. the caching method of a multimedia resource, it is characterised in that including:
During playing described multimedia resource, determine the current of the described multimedia resource that current play time point is corresponding
Burst, wherein, described multimedia resource includes multiple burst;
The burst multiple to be played after described current slice is cached respectively by multiple threads.
Method the most according to claim 1, it is characterised in that after caching described current slice respectively by multiple threads
Burst multiple to be played, including:
Meet first pre-conditioned in the case of, multiple the waiting cached respectively after described current slice by multiple threads is broadcast
Put burst;
Wherein, meet first pre-conditioned to include:
Receive the solicited message accelerating caching that user sends;And/or,
Determine according to history played data and be accelerated caching.
Method the most according to claim 1 and 2, it is characterised in that caching described current point respectively by multiple threads
After burst multiple to be played after sheet, described method also includes:
The burst described to be played cached meet second pre-conditioned in the case of, stop caching;
Wherein, the burst described to be played cached meet second pre-conditioned include following at least one:
The data volume of the burst described to be played cached is more than the first preset value;
The quantity of the burst described to be played cached is more than the second preset value;
The burst described to be played cached includes all bursts after described current slice.
Method the most according to claim 3, it is characterised in that after stopping caching, described method also includes:
If it is the 3rd pre-conditioned to detect that the burst described to be played cached meets, then cache respectively again by multiple threads
Multiple described burst to be played after described current slice, until the burst described to be played cached meets described second pre-
If condition;
Wherein, the burst described to be played cached meets the 3rd and pre-conditioned includes:
The data volume of the burst described to be played cached be less than the 3rd preset value, wherein, described 3rd preset value less than or etc.
In the first preset value;And/or,
The quantity of the burst described to be played cached is less than the 4th preset value, and wherein, described 4th preset value is less than or equal to
Second preset value.
Method the most according to claim 1 and 2, it is characterised in that caching described current point respectively by multiple threads
After burst multiple to be played after sheet, described method also includes:
Broadcast interface shows the caching progress of described burst to be played.
6. the buffer storage of a multimedia resource, it is characterised in that including:
Current slice determines module, for during playing described multimedia resource, determines that current play time point is corresponding
The current slice of described multimedia resource, wherein, described multimedia resource includes multiple burst;
First cache module, for caching the burst multiple to be played after described current slice respectively by multiple threads.
Device the most according to claim 6, it is characterised in that described first cache module specifically for:
Meet first pre-conditioned in the case of, multiple the waiting cached respectively after described current slice by multiple threads is broadcast
Put burst;
Wherein, meet first pre-conditioned to include:
Receive the solicited message accelerating caching that user sends;And/or,
Determine according to history played data and be accelerated caching.
8. according to the device described in claim 6 or 7, it is characterised in that described device also includes:
Caching stopping modular, for the burst described to be played cached meet second pre-conditioned in the case of, stop slow
Deposit;
Wherein, the burst described to be played cached meet second pre-conditioned include following at least one:
The data volume of the burst described to be played cached is more than the first preset value;
The quantity of the burst described to be played cached is more than the second preset value;
The burst described to be played cached includes all bursts after described current slice.
Device the most according to claim 8, it is characterised in that described device also includes:
Second cache module, if the 3rd pre-conditioned for detecting that the burst described to be played cached meets, leads to the most again
Cross multiple thread and cache the multiple described burst to be played after described current slice respectively, until cached is described to be played
Burst meets described second pre-conditioned;
Wherein, the burst described to be played cached meets the 3rd and pre-conditioned includes:
The data volume of the burst described to be played cached be less than the 3rd preset value, wherein, described 3rd preset value less than or etc.
In the first preset value;And/or,
The quantity of the burst described to be played cached is less than the 4th preset value, and wherein, described 4th preset value is less than or equal to
Second preset value.
10. according to the device described in claim 6 or 7, it is characterised in that described device also includes:
Caching progress display module, for showing the caching progress of described burst to be played on broadcast interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610682234.8A CN106294827A (en) | 2016-08-17 | 2016-08-17 | The caching method of multimedia resource and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610682234.8A CN106294827A (en) | 2016-08-17 | 2016-08-17 | The caching method of multimedia resource and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106294827A true CN106294827A (en) | 2017-01-04 |
Family
ID=57678481
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610682234.8A Pending CN106294827A (en) | 2016-08-17 | 2016-08-17 | The caching method of multimedia resource and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106294827A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106997300A (en) * | 2017-03-31 | 2017-08-01 | 广东欧珀移动通信有限公司 | Software upgrading processing method, device and audio frequency apparatus |
CN109194979A (en) * | 2018-10-30 | 2019-01-11 | 努比亚技术有限公司 | The processing method and processing device of audio-video, mobile terminal, readable storage medium storing program for executing |
CN109769136A (en) * | 2018-12-07 | 2019-05-17 | 北京交通大学 | Online Video buffer memory management method and system based on instantaneous access rate value |
CN109803167A (en) * | 2017-11-17 | 2019-05-24 | 中国电信股份有限公司 | Stream media document transmission method, streaming media clients and computer readable storage medium |
CN110545460A (en) * | 2018-05-29 | 2019-12-06 | 北京字节跳动网络技术有限公司 | Media file preloading method and device and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868908A (en) * | 2011-07-04 | 2013-01-09 | 哈尔滨融智达网络科技有限公司 | High-efficiency streaming media playing method and device |
CN103024593A (en) * | 2012-12-26 | 2013-04-03 | 人民搜索网络股份公司 | Online VOD (video on demand) acceleration system and online VOD playing method |
CN104202684A (en) * | 2014-08-27 | 2014-12-10 | 珠海全志科技股份有限公司 | Segmental network video seamless playing method and device |
CN105245940A (en) * | 2015-10-08 | 2016-01-13 | 北京时医康科技发展有限公司 | Method and player for online playing high definition videos on narrow bandwidth |
CN105847944A (en) * | 2016-04-21 | 2016-08-10 | 乐视控股(北京)有限公司 | Providing method and providing device for multimedia content based on HTTP real-time streaming |
-
2016
- 2016-08-17 CN CN201610682234.8A patent/CN106294827A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102868908A (en) * | 2011-07-04 | 2013-01-09 | 哈尔滨融智达网络科技有限公司 | High-efficiency streaming media playing method and device |
CN103024593A (en) * | 2012-12-26 | 2013-04-03 | 人民搜索网络股份公司 | Online VOD (video on demand) acceleration system and online VOD playing method |
CN104202684A (en) * | 2014-08-27 | 2014-12-10 | 珠海全志科技股份有限公司 | Segmental network video seamless playing method and device |
CN105245940A (en) * | 2015-10-08 | 2016-01-13 | 北京时医康科技发展有限公司 | Method and player for online playing high definition videos on narrow bandwidth |
CN105847944A (en) * | 2016-04-21 | 2016-08-10 | 乐视控股(北京)有限公司 | Providing method and providing device for multimedia content based on HTTP real-time streaming |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106997300A (en) * | 2017-03-31 | 2017-08-01 | 广东欧珀移动通信有限公司 | Software upgrading processing method, device and audio frequency apparatus |
CN109803167A (en) * | 2017-11-17 | 2019-05-24 | 中国电信股份有限公司 | Stream media document transmission method, streaming media clients and computer readable storage medium |
CN110545460A (en) * | 2018-05-29 | 2019-12-06 | 北京字节跳动网络技术有限公司 | Media file preloading method and device and storage medium |
CN109194979A (en) * | 2018-10-30 | 2019-01-11 | 努比亚技术有限公司 | The processing method and processing device of audio-video, mobile terminal, readable storage medium storing program for executing |
CN109194979B (en) * | 2018-10-30 | 2022-06-17 | 湖南天鸿瑞达集团有限公司 | Audio and video processing method and device, mobile terminal and readable storage medium |
CN109769136A (en) * | 2018-12-07 | 2019-05-17 | 北京交通大学 | Online Video buffer memory management method and system based on instantaneous access rate value |
CN109769136B (en) * | 2018-12-07 | 2021-02-19 | 北京交通大学 | Online video cache management method and system based on instantaneous access rate value |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106294827A (en) | The caching method of multimedia resource and device | |
CN108235102B (en) | Service processing method, device and storage medium | |
CN107613402A (en) | A kind of barrage adjusting method, device and storage medium | |
CN108111554B (en) | Control method and device for access queue | |
CN104298427A (en) | Result interface display method and device | |
CN109698964A (en) | A kind of online direct broadcasting room gift sending method and system | |
CN105635519B (en) | Method for processing video frequency, apparatus and system | |
US20190251463A1 (en) | Interactive live event outcome selection and prediction | |
WO2014194695A1 (en) | Method and server for pvp team matching in computer games | |
CN111124668B (en) | Memory release method, memory release device, storage medium and terminal | |
CN109954276B (en) | Information processing method, device, medium and electronic equipment in game | |
US20190065454A1 (en) | Distributed dynamic display of content annotations | |
CN106412631A (en) | Video playing method and device | |
CN113825010A (en) | Direct broadcast medal display method and device, storage medium and computer equipment | |
US20170168660A1 (en) | Voice bullet screen generation method and electronic device | |
CN107147956A (en) | The method and system that interaction of being signposted before video is played | |
CN112866084A (en) | Virtual resource processing method, equipment and computer readable medium for chat group | |
CN112215651A (en) | Information prompting method and device, storage medium and electronic equipment | |
JP2022525880A (en) | Server load prediction and advanced performance measurement | |
CN111144949A (en) | Reward data issuing method and device, computer equipment and storage medium | |
CN105999705A (en) | Terminal and server | |
CN109218766B (en) | Method for summoning bean vermicelli, live broadcast platform server and anchor terminal | |
CN106971296A (en) | A kind of method, electronic equipment and the storage medium of processing information object | |
CN106649621A (en) | Method and device of displaying comment information | |
CN107566879A (en) | A kind of management method, device and the electronic equipment of application view frame |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170104 |