CN105430478B - A kind of network video buffered play method, apparatus and television set - Google Patents
A kind of network video buffered play method, apparatus and television set Download PDFInfo
- Publication number
- CN105430478B CN105430478B CN201510853144.6A CN201510853144A CN105430478B CN 105430478 B CN105430478 B CN 105430478B CN 201510853144 A CN201510853144 A CN 201510853144A CN 105430478 B CN105430478 B CN 105430478B
- Authority
- CN
- China
- Prior art keywords
- video
- memory
- video data
- data
- cached
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
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/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- 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/4335—Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
Abstract
The embodiment of the invention discloses a kind of network video buffered play method, apparatus and television sets, it is related to electronic technology field, the spatial cache of electronic equipment can be increased, a possibility that reduce when the fluctuation of network speed of download, cause video that can not continue broadcasting or frequent Caton since spatial cache is limited.The specific scheme is that caching the video data of downloading to preset memory space if the video data cached in the memory of television set reaches the first cache threshold, and data indexing information is generated for video data;During reading and playing the video data of the video to be played cached in memory, delete video data cache in the memory, played, and the video data cached in memory be less than the second cache threshold when, the video data cached in preset memory space is transferred to memory according to data indexing information, in order to read from memory and play corresponding video data.The present invention is applied in the playing process of network video.
Description
Technical field
The present invention relates to electronic technology field more particularly to a kind of network video buffered play method, apparatus and television sets.
Background technique
With the fast development of electronic technology, more and more intelligent TV sets occur in people's lives.Intelligence electricity
The control instruction that can receive user's sending depending on machine downloads corresponding video data from network side, and plays downloading for user
Video data.
Intelligent TV set is during downloading and playing video, in order to avoid causing video playing to go out due to network cause
Existing Caton, the video data of downloading can be buffered in the memory of the television set, and sequentially reading video data is simultaneously from memory
It plays.
But the memory headroom of television set is smaller, the video data that can be cached is limited;In this way, may be under network
When carrying velocity perturbation, since the speed of download of video data is less than the broadcasting speed of video, and the video cached in memory headroom
Data are less, cause video that can not continue broadcasting or frequent Caton.
Summary of the invention
The embodiment of the present invention provides a kind of network video buffered play method, apparatus and television set, can increase electronics
The spatial cache of equipment causes video that can not continue to reduce when the fluctuation of network speed of download since spatial cache is limited
A possibility that broadcasting or frequent Caton, and then the fluency of video playing can be improved.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
The embodiment of the present invention in a first aspect, provide a kind of network video buffered play method, be applied to television set and download
And play the process of video to be played, which comprises
If the video data cached in the memory of the television set reaches the first cache threshold, by the video data of downloading
It caches to preset memory space, and generates data indexing information for the video data, the data indexing information includes described
The mark of video to be played and position of the video data in the video to be played;
During reading and playing the video data of the video to be played cached in the memory, described in deletion
Video data cached in memory, played, and when the video data cached in the memory is less than the second cache threshold,
The video data cached in the preset memory space is transferred to the memory according to the data indexing information, in order to from
The memory reads and plays corresponding video data.
The second aspect of the embodiment of the present invention also provides a kind of network video buffered play device, is applied under television set
The process of video to be played is carried and plays, described device includes:
Download module, for downloading the video to be played;
Control module will if the video data cached in memory for the television set reaches the first cache threshold
The video data of the download module downloading is cached to preset memory space, and generates data directory letter for the video data
Breath, the data indexing information is comprising the mark of the video to be played and the video data in the video to be played
Position;
Playing module, for reading and playing the video data cached in the memory;
The control module, be also used to read and play in the playing module cached in the memory it is described to be played
During the video data of video, video data cache in the memory, played is deleted;
Data migration module, for being read in the playing module and playing the view to be played cached in the memory
During the video data of frequency, if the video data cached in the memory is less than the second cache threshold, according to the number
The video data cached in the preset memory space is transferred to the memory according to index information, in order to the playing module
It is read from the memory and plays corresponding video data.
Network video buffered play method, apparatus provided in an embodiment of the present invention and television set, can be in television set
When depositing the video data of middle caching and reaching the first cache threshold, then the video data of downloading is cached to preset memory space, and
When the video data of the video to be played cached in playing memory, if the video data cached in memory is less than the second caching threshold
Value, then be transferred to the memory for the video data cached in preset memory space according to data indexing information, in order to from interior
It deposits reading and plays corresponding video data.
In this way, the spatial cache of television set, which is then increased to memory by original memory, adds preset memory space, electricity can be increased
Depending on the spatial cache of machine.
Also, (video data cached in memory reaches first in the remaining cache insufficient space of the memory of television set
Cache threshold) when, the video data of downloading is cached to preset memory space, and the video data cached in memory is insufficient
When (be less than the second cache threshold), the video data cached in preset memory space is transferred to according to data indexing information in
It deposits, in order to be read from memory and play corresponding video data;In this way, it is possible to reduce when the fluctuation of network speed of download, by
In the spatial cache of memory limited a possibility that causing video that can not continue broadcasting or frequent Caton, and then video can be improved
The fluency of broadcasting.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of network video buffered play method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another network video buffered play method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another network video buffered play method provided in an embodiment of the present invention;
Fig. 4 is a kind of structure composition schematic diagram of network video buffered play device provided in an embodiment of the present invention;
Fig. 5 is the structure composition schematic diagram of another network video buffered play device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
A kind of network video buffered play method, apparatus provided in an embodiment of the present invention and television set can be applied to TV
During machine is downloaded and plays video to be played, the spatial cache of electronic equipment can be increased, to reduce when network is downloaded
When velocity perturbation, cause video that can not continue to play or a possibility that frequent Caton since spatial cache is limited, and then can be with
Improve the fluency of video playing.
The executing subject of network video buffered play method provided in an embodiment of the present invention can be broadcast for network video buffering
It puts device or can be used for executing the television set of above-mentioned network video buffered play method.Wherein, network video buffered play
Device can in the player or above-mentioned television set in above-mentioned television set for controlling the control of network video buffered play
Unit or module.
With reference to the accompanying drawing, by specific embodiment and its application scenarios to a kind of network provided in an embodiment of the present invention
Video buffer playback method, device and television set are described in detail.
Embodiment one
The embodiment of the present invention provides a kind of network video buffered play method, downloads and plays to be played applied to television set
The process of video.
As shown in Figure 1, the network video buffered play method includes:
If the video data cached in the memory of S101, television set reaches the first cache threshold, network video buffered play
Device then caches the video data of downloading to preset memory space, and generates data indexing information for video data.
Wherein, data indexing information includes the position of the mark and video data of video to be played in video to be played.
Network video buffered play device can generate a data rope for the video data of each caching to preset memory space
Fuse breath, the data indexing information contain the mark and the view of video belonging to the video data (such as above-mentioned video to be played)
Frequency is according to the position in video to be played, in order to which network video buffered play device is when needing to play the video data,
The video data can be read according to the data indexing information of the video data.
Wherein, it is at least one piece of video data that video to be played caches in memory and/or preset memory space.First is slow
The size of video data can be indicated by depositing threshold value, wherein the size of video data can account for spatial cache by video data
Size is measured.In the embodiment of the present invention, it can be delayed according to needed for one piece of video data for caching video to be played in memory
The size in space is deposited to be arranged.For example, the first cache threshold can be equal to one piece of video counts for caching video to be played in memory
According to the size of required spatial cache.
It is envisioned that when the video data cached in memory reaches the first cache threshold, i.e., the view cached in memory
Frequency is according to more, when remaining cache insufficient space, the video data of downloading can be cached to preset memory space, then can be with
The speed of download due to video data is avoided to be less than the broadcasting speed of video, and the video data cached in memory headroom is less,
The problem of causing video that can not continue broadcasting or frequent Caton.
Illustratively, the preset memory space in the embodiment of the present invention can be the external storage medium connecting with television set
Memory space.Wherein, which is TF card, safe digital (Secure Digital Memory, SD) card, leads to
It is hard with universal serial bus (Universal Serial Bus, USB) USB flash drive (Flash Memory) (i.e. USB flash disk) and movement
Any of disk.Alternatively, the preset memory space is the specified storage sky in the flash disk (Flash Memory) of television set
Between.
S102, network video buffered play device are in the video data for reading and playing the video to be played cached in memory
During, video data cache in memory, played is deleted, and the video data cached in memory is slow less than second
When depositing threshold value, the video data cached in preset memory space is transferred to by memory according to data indexing information, in order to from interior
It deposits reading and plays corresponding video data.
Wherein, since network video buffered play device needs to read and play from memory the video counts of video to be played
According to;Therefore, network video buffered play device can be empty by preset storage by the video data before playing a video data
Between the video data of middle caching be transferred to memory, in order to be read from memory and play the video data.
It is emphasized that in embodiments of the present invention, network video buffered play device, which can be deleted in memory, to be cached
, played video data.It so just will not smaller (the remaining cache space of memory be small because of the remaining cache space of memory
In the first cache threshold), cause the video data cached in preset memory space that cannot be transferred to memory.
Network video buffered play method provided in an embodiment of the present invention, the spatial cache of television set are then increased by original memory
Greatly memory adds preset memory space, can increase the spatial cache of television set.
Also, (video data cached in memory reaches first in the remaining cache insufficient space of the memory of television set
Cache threshold) when, the video data of downloading is cached to preset memory space, and the video data cached in memory is insufficient
When (be less than the second cache threshold), the video data cached in preset memory space is transferred to according to data indexing information in
It deposits, in order to be read from memory and play corresponding video data;In this way, it is possible to reduce when the fluctuation of network speed of download, by
In the spatial cache of memory limited a possibility that causing video that can not continue broadcasting or frequent Caton, and then video can be improved
The fluency of broadcasting.
Embodiment two
The embodiment of the present invention provides a kind of network video buffered play method, as shown in Fig. 2, the network video buffered play
Method may include:
S201, network video buffered play device start to download video to be played.
Wherein, network video buffered play device can download video to be played, according in downloading video to be played
The sequencing of video data, it is at least one piece of video counts that video to be played is cached in memory and/or preset memory space
According to.
It is envisioned that also being deposited comprising preset since the cushion space of video data in the application not only includes memory
Space is stored up, also, network video buffered play device is needed in the remaining cache space of the memory (video cached in memory enough
The first cache threshold of data deficiencies) in the case where, preferential caches the video data currently downloaded to memory;Therefore, network
Video buffer playing device needs before caching the video data, judges whether the remaining cache space of memory is enough to cache this
Video data.Specifically, the method for the embodiment of the present invention further includes S202:
S202, network video buffered play device judge whether the video data cached in the memory of television set reaches first
Cache threshold.
Specifically, if the video data cached in the memory of television set is less than the first cache threshold, then it represents that delay in memory
The video data deposited is less, and remaining cache space may be enough to cache the video data, therefore network video buffered play fills
Setting can cache the video data currently downloaded to memory, that is, continue to execute S203;If the view cached in the memory of television set
Frequency evidence reaches the first cache threshold, then it represents that the video data cached in memory is more, and remaining cache space may be not
It is enough to cache the video data, therefore network video buffered play device needs cache the video data currently downloaded to preset
Memory space continues to execute S204.
S203, network video buffered play device are by current foradownloaded video data buffer storage to memory.
The video data currently downloaded is cached to preset memory space, and is by S204, network video buffered play device
It caches to the video data of preset memory space and generates data indexing information.
It is envisioned that in a kind of application scenarios of the embodiment of the present invention, network video buffered play device can be with
Configuration of the user to the preset memory space of television set is received by the user interface (User Interface, UI) of television set.
For example, network video buffered play device can receive TF card, the SD that user is connect by the selection that UI is sent with the television set
Card, USB flash disk, mobile hard disk or television set flash disk designated memory space in any one memory space deposited as preset
The operational order in space is stored up, then preset is deposited what the selected memory space of the operational order was set as in the embodiment of the present invention
Store up space.
Alternatively, network video buffered play device can be according to TF in another application scenarios of the embodiment of the present invention
Card, SD card, USB flash disk, mobile hard disk and television set flash disk designated memory space arrangement priority orders, successively detect
With the presence or absence of the TF card, SD card, USB flash disk, mobile hard disk being connect with television set, and TF card, SD card, USB flash disk or the movement that will test
Hard disk is set as preset memory space;It, can will be electric if any of TF card, SD card, USB flash disk and mobile hard disk is not detected
Designated memory space depending on the flash disk of machine is set as preset memory space.
S205, network video buffered play device read and play the video data of the video to be played cached in memory,
And delete video data cache in memory, played.
In embodiments of the present invention, network video buffered play device can delete view cache in memory, played
Frequency evidence.Played video data can be reduced in this way to the occupancy of memory, so that can cache newest downloading in memory
Video data.
Also, it since network video buffered play device is in playing video data, needs to read the video from memory
Data so if the video data does not cache in memory, and are buffered in preset memory space, and network video buffering is broadcast
Device is put then to need the video data being transferred to memory by preset memory space.In this way, in time delete memory in cache,
The video data of broadcasting, just will not smaller (the remaining cache space of memory be slow less than first because of the remaining cache space of memory
Deposit threshold value), cause the video data cached in preset memory space that cannot be transferred to memory.
S206, network video buffered play device are in the video data for reading and playing the video to be played cached in memory
When, judge whether the video data cached in memory is less than the second cache threshold.
It is envisioned that the video data currently downloaded is cached to preset storage in network video buffered play device
During space (i.e. execution S204), due in memory and the video data of uncached newest downloading, i.e., being cached in memory
Video data does not increase, and reads in network video buffered play device and play the process of the video data cached in memory
In, video data cache in memory, played is deleted in time, i.e., the data cached in memory gradually decrease;Therefore, it is
Play video during, the video data for needing to play timely can be read from memory, network video buffering is broadcast
It, will according to data indexing information when putting video data that device can cache in memory less than certain value (the second cache threshold)
The video data cached in preset memory space is transferred to memory.
If the video data cached in S207, memory is less than the second cache threshold, network video buffered play device root
The video data cached in preset memory space is transferred to memory according to data indexing information.
Further, in order to reduce in preset memory space, be transferred to the video data of memory to preset memory space
Occupancy so that the video data of newest downloading can be cached in preset memory space, as shown in Fig. 2, after S207, this hair
The method of bright embodiment can also include S208:
S208, network video buffered play device delete the video data in preset memory space, being transferred to memory and
Its data indexing information.
In the embodiment of the present invention, from being read in memory and the method for playing the video data in video to be played may include
S301-S304:
S301, network video buffered play device are before playing one piece of video data in video to be played, according to this
The data indexing information of video data searches the video data from memory.
Wherein, the video data (be denoted as video data a) data indexing information include video to be played (be denoted as video A,
Video belonging to as video data a) position in video A of mark and video data a.
It is envisioned that network video buffered play device play video A in video data a before, according to view
Frequency searches view according to the data indexing information (i.e. the position of the mark of video A and video data a in video A) of a from memory
Frequency is according to a.
If S302, the video data are uncached in memory, network video buffered play device is according to the video data
Data indexing information the video data is searched from preset memory space, and delete in memory all videos currently cached
Data.
If S303, the video data are buffered in preset memory space, network video buffered play device is according to the video
The video data is transferred to memory from preset memory space by the data indexing information of data, in order to read and play from memory
The video data.
If S304, the video data are uncached in preset memory space, network video buffered play device is by the video
Data start to download video to be played at the position in video to be played, and delete in preset memory space and currently to have cached
All video datas.
Wherein, when video data a it is uncached in preset memory space when, then it represents that in memory and preset memory space
Uncached video data a, foradownloaded video A (tool so just needing by video data a at the position in video to be played
Body is the video data a) in video A.
Also, due to video data a uncached in memory and preset memory space, then in order to reduce other videos
Data can be deleted in preset memory space and currently cached to the occupancy of preset memory space, network video buffered play device
All video datas.
Network video buffered play method provided in an embodiment of the present invention, the spatial cache of television set are then increased by original memory
Greatly memory adds preset memory space, can increase the spatial cache of television set.
Also, (video data cached in memory reaches first in the remaining cache insufficient space of the memory of television set
Cache threshold) when, the video data of downloading is cached to preset memory space, and the video data cached in memory is insufficient
When (be less than the second cache threshold), the video data cached in preset memory space is transferred to according to data indexing information in
It deposits, in order to be read from memory and play corresponding video data;In this way, it is possible to reduce when the fluctuation of network speed of download, by
In the spatial cache of memory limited a possibility that causing video that can not continue broadcasting or frequent Caton, and then video can be improved
The fluency of broadcasting.
Embodiment three
The embodiment of the present invention provides a kind of network video buffered play device, downloads and plays to be played applied to television set
During video, as shown in figure 4, the network video buffered play device includes: download module 41, control module 42, plays
Module 43 and data migration module 44.
Download module 41, for downloading the video to be played.
Control module 42, if the video data cached in memory for the television set reaches the first cache threshold,
The video data that the download module is downloaded is cached to preset memory space, and generates data directory letter for the video data
Breath, the data indexing information is comprising the mark of the video to be played and the video data in the video to be played
Position.
Playing module 43, for reading and playing the video data cached in the memory.
The control module 42, be also used to the playing module 43 read and play cached in the memory described in
During the video data for playing video, video data cache in the memory, played is deleted.
Data migration module 44, for the playing module 43 read and play cached in the memory described in wait broadcast
During the video data for putting video, if the video data cached in the memory is less than the second cache threshold, according to institute
It states data indexing information and the video data cached in the preset memory space is transferred to the memory, in order to the broadcasting
Module 43 reads from the memory and plays corresponding video data.
Further, the control module 42 is also used to be believed in the data migration module 44 according to the data directory
Breath is deleted after the data conversion storage to the memory cached in the preset memory space in the preset memory space,
It is transferred to the video data and its data indexing information of the memory.
Further, in the first application scenarios of the embodiment of the present invention, the preset memory space is and the electricity
Depending on the memory space of the external storage medium of machine connection.
Illustratively, the external storage medium is TF card, safe digital SD card, general-purpose serial bus USB flash drive
Any of disk and mobile hard disk.
In second of application scenarios of the embodiment of the present invention, the preset memory space is the flash disk of the television set
In designated memory space.
Further, the data migration module 44, is specifically used for:
If the video data cached in the memory is less than second cache threshold, and the remaining cache of the memory is empty
Between be greater than the occupied spatial cache of all video datas that caches in the preset memory space, then according to the data directory
All video datas cached in the preset memory space are transferred to the memory by information, in order to the playing module
It is read from the memory and plays corresponding video data.
Further, the video to be played is made of at least one piece of video data;The video data is buffered in described
In memory and/or the preset memory space.
As shown in figure 5, the network video buffered play device can also include: data search module 45.
Data search module 45, for playing one piece of video data in the video to be played in the playing module 43
Before,
According to the data indexing information of the video data, the video data is searched from the memory, the video data
Data indexing information includes the position of the mark and the video data of the video to be played in the video to be played;
If the video data is uncached in the memory, according to the data indexing information of the video data from described pre-
It sets and searches the video data in memory space.
The control module 42 is deleted in the memory if it is uncached in the memory to be also used to the video data
All video datas currently cached.
The data migration module 44, if being also used to the video data is buffered in the preset memory space, basis should
The video data is transferred to the memory from the preset memory space by the data indexing information of video data, in order to described
Playing module reads from the memory and plays the video data.
The download module 41, if it is uncached in the preset memory space to be also used to the video data, by the video
Data start to download the video to be played at the position in the video to be played.
The control module 42, if it is uncached in the preset memory space to be also used to the video data, delete described in
All video datas currently cached in preset memory space.
It should be noted that in network video buffered play device provided in an embodiment of the present invention part functional module tool
Body description can no longer be described in detail here with reference to the corresponding content in embodiment of the method, the present embodiment.
The embodiment of the present invention also provides a kind of television set, which includes that the network video provided in above-described embodiment is delayed
Rush playing device.Wherein, above-mentioned network video buffered play device can be the player in television set.
Network video buffered play device and television set provided in an embodiment of the present invention, the spatial cache of television set is then by original
Carry out memory and be increased to memory to add preset memory space, the spatial cache of television set can be increased.
Also, (video data cached in memory reaches first in the remaining cache insufficient space of the memory of television set
Cache threshold) when, the video data of downloading is cached to preset memory space, and the video data cached in memory is insufficient
When (be less than the second cache threshold), the video data cached in preset memory space is transferred to according to data indexing information in
It deposits, in order to be read from memory and play corresponding video data;In this way, it is possible to reduce when the fluctuation of network speed of download, by
In the spatial cache of memory limited a possibility that causing video that can not continue broadcasting or frequent Caton, and then video can be improved
The fluency of broadcasting.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description
It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can according to need and will be upper
It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete
All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before can referring to
The corresponding process in embodiment of the method is stated, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module or
The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units
Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute
Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit
Indirect coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory
(ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk
Etc. the various media that can store program code.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of network video buffered play method, which is characterized in that downloaded applied to television set and play video to be played
Process, which comprises
If the video data cached in the memory of the television set reaches the first cache threshold, the video data of downloading is cached
Extremely preset memory space, and data indexing information is generated for the video data, the data indexing information includes described wait broadcast
Put mark and position of the video data in the video to be played of video;
During reading and playing the video data of the video to be played cached in the memory, the memory is deleted
Middle caching, played video data, and when the video data cached in the memory is less than the second cache threshold, according to
The video data cached in the preset memory space is transferred to the memory by the data indexing information, in order to from described
Memory reads and plays corresponding video data.
2. network video buffered play method according to claim 1, which is characterized in that described according to the data rope
After fuse ceases the data conversion storage to the memory that will be cached in the preset memory space, the method also includes:
Delete in the preset memory space, be transferred to the video data and its data indexing information of the memory.
3. network video buffered play method according to claim 1 or 2, which is characterized in that the preset memory space
Memory space for the external storage medium being connect with the television set;
Wherein, the external storage medium is TF card, safe digital SD card, general-purpose serial bus USB flash drive disk and shifting
Any of dynamic hard disk;
Alternatively,
The preset memory space is the designated memory space in the flash disk of the television set.
4. network video buffered play method according to claim 1 or 2, which is characterized in that if being cached in the memory
Video data be less than the second cache threshold, then the view that will be cached in the preset memory space according to the data indexing information
Frequency evidence is transferred to the memory, comprising:
If the video data cached in the memory is less than second cache threshold, and the remaining cache space of the memory is big
The occupied spatial cache of all video datas cached in the preset memory space, then according to the data indexing information
All video datas cached in the preset memory space are transferred to the memory, in order to read simultaneously from the memory
Play corresponding video data.
5. network video buffered play method according to claim 1 or 2, which is characterized in that the video to be played by
At least one piece of video data composition;The video data is buffered in the memory and/or the preset memory space;
Before playing one piece of video data in the video to be played, the method also includes:
According to the data indexing information of the video data, the video data, the data of the video data are searched from the memory
Index information includes the position of the mark and the video data of the video to be played in the video to be played;
If the video data is uncached in the memory, preset deposited according to the data indexing information of the video data from described
Storage searches the video data in space, and deletes all video datas currently cached in the memory, wherein
If the video data is buffered in the preset memory space, according to the data indexing information of the video data by the video
Data are transferred to the memory from the preset memory space, in order to read from the memory and play the video data;
If the video data is uncached in the preset memory space, by position of the video data in the video to be played
The place of setting starts to download the video to be played, and deletes all video datas currently cached in the preset memory space.
6. a kind of network video buffered play device, which is characterized in that downloaded applied to television set and play video to be played
Process, described device include:
Download module, for downloading the video to be played;
Control module will be described if the video data cached in memory for the television set reaches the first cache threshold
The video data of download module downloading is cached to preset memory space, and generates data indexing information, institute for the video data
State the mark and position of the video data in the video to be played that data indexing information includes the video to be played;
Playing module, for reading and playing the video data cached in the memory;
The control module is also used to read and play in the playing module video to be played cached in the memory
Video data during, delete video data cache in the memory, played;
Data migration module, for being read in the playing module and playing the video to be played cached in the memory
During video data, if the video data cached in the memory is less than the second cache threshold, according to the data rope
The video data cached in the preset memory space is transferred to the memory by fuse breath, in order to which the playing module is from institute
Memory is stated to read and play corresponding video data.
7. network video buffered play device according to claim 6, which is characterized in that the control module is also used to
In the data migration module according to the data indexing information by the data conversion storage cached in the preset memory space to institute
After stating memory, delete in the preset memory space, be transferred to the video data and its data indexing information of the memory.
8. network video buffered play device according to claim 6 or 7, which is characterized in that the preset memory space
Memory space for the external storage medium being connect with the television set;
Wherein, the external storage medium is TF card, safe digital SD card, general-purpose serial bus USB flash drive disk and shifting
Any of dynamic hard disk;
Alternatively,
The preset memory space is the designated memory space in the flash disk of the television set.
9. network video buffered play device according to claim 6 or 7, which is characterized in that the data migration module,
It is specifically used for:
If the video data cached in the memory is less than second cache threshold, and the remaining cache space of the memory is big
The occupied spatial cache of all video datas cached in the preset memory space, then according to the data indexing information
All video datas cached in the preset memory space are transferred to the memory, in order to which the playing module is from institute
Memory is stated to read and play corresponding video data.
10. a kind of television set characterized by comprising
Network video buffered play device as described in any one of claim 6-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510853144.6A CN105430478B (en) | 2015-11-27 | 2015-11-27 | A kind of network video buffered play method, apparatus and television set |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510853144.6A CN105430478B (en) | 2015-11-27 | 2015-11-27 | A kind of network video buffered play method, apparatus and television set |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105430478A CN105430478A (en) | 2016-03-23 |
CN105430478B true CN105430478B (en) | 2019-05-07 |
Family
ID=55508361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510853144.6A Active CN105430478B (en) | 2015-11-27 | 2015-11-27 | A kind of network video buffered play method, apparatus and television set |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105430478B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105898536A (en) * | 2016-04-29 | 2016-08-24 | 乐视控股(北京)有限公司 | Video play method and device |
CN107635109A (en) * | 2016-07-19 | 2018-01-26 | 杭州海康威视数字技术股份有限公司 | One kind video recording player method and device |
CN106162311A (en) * | 2016-07-21 | 2016-11-23 | 青岛海信电器股份有限公司 | A kind of method playing Internet video and terminal unit |
TWI706672B (en) * | 2016-08-01 | 2020-10-01 | 瑞軒科技股份有限公司 | Multimedia playback method |
CN106528442B (en) * | 2016-10-27 | 2020-06-02 | 北京小米移动软件有限公司 | Cache cleaning method and device |
CN108540648B (en) * | 2018-03-13 | 2019-11-15 | 维沃移动通信有限公司 | A kind of video file processing method, mobile terminal |
CN112887776B (en) * | 2021-03-18 | 2024-04-23 | 努比亚技术有限公司 | Method, equipment and computer readable storage medium for reducing audio delay |
CN113949921A (en) * | 2021-08-31 | 2022-01-18 | 上海二三四五网络科技有限公司 | Control method and control device for short video cache cleaning |
CN114727128B (en) * | 2022-03-30 | 2024-04-12 | 恒玄科技(上海)股份有限公司 | Data transmission method and device of playing terminal, playing terminal and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621573A (en) * | 2009-08-10 | 2010-01-06 | 上海闻泰电子科技有限公司 | Method for playing video file in mobile phone |
CN102282804A (en) * | 2008-11-24 | 2011-12-14 | 瞻博网络公司 | adaptive network content delivery system |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9152314B2 (en) * | 2009-11-30 | 2015-10-06 | Lg Electronics Inc. | Mobile terminal and controlling method thereof |
KR101775027B1 (en) * | 2010-07-21 | 2017-09-06 | 삼성전자주식회사 | Method and apparatus for sharing content |
-
2015
- 2015-11-27 CN CN201510853144.6A patent/CN105430478B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102282804A (en) * | 2008-11-24 | 2011-12-14 | 瞻博网络公司 | adaptive network content delivery system |
CN101621573A (en) * | 2009-08-10 | 2010-01-06 | 上海闻泰电子科技有限公司 | Method for playing video file in mobile phone |
Also Published As
Publication number | Publication date |
---|---|
CN105430478A (en) | 2016-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105430478B (en) | A kind of network video buffered play method, apparatus and television set | |
US10114865B2 (en) | Tile cache | |
KR20200027413A (en) | Method, device and system for storing data | |
CN103593333B (en) | A kind of processing method, terminal and the electronic equipment of e-book document | |
CN102223416B (en) | Method and system for transmitting media file | |
CN105095107A (en) | Buffer memory data cleaning method and apparatus | |
CN103760966A (en) | Picture buffering implementation method | |
CN104798063A (en) | Memory device and host device | |
CN103873927B (en) | Streaming medium data processing method and electronic equipment | |
CN106874520A (en) | Webpage loading method, device and electronic equipment | |
CN106982388B (en) | Picture display method and device | |
CN104219561A (en) | Method and user equipment for cleaning offline videos | |
CN108984130A (en) | A kind of the caching read method and its device of distributed storage | |
CN109271253A (en) | A kind of resource allocation method, apparatus and system | |
CN106649146A (en) | Memory release method and apparatus | |
CN104601535B (en) | Method for processing video frequency and system | |
CN104035921B (en) | A kind of information processing method and electronic equipment | |
CN104063224B (en) | Switch the method and device of multiple Precise control scenes based on three-dimension GIS | |
CN108334460A (en) | data cache method and device | |
CN1321310A (en) | Recording/reproducing apparatus | |
CN103365977A (en) | Storage processing method and device for data on nonvolatile storage medium | |
CN103716573A (en) | Video playback method and device | |
CN105677744A (en) | Method and apparatus for increasing service quality in file system | |
CN110059306A (en) | Processing method, device, equipment and the computer readable storage medium of online table | |
CN106162311A (en) | A kind of method playing Internet video and terminal unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Patentee after: Hisense Video Technology Co.,Ltd. Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Patentee before: HISENSE ELECTRIC Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |