CN108513162A - Caching, playback method and the system reviewed is broadcast live - Google Patents
Caching, playback method and the system reviewed is broadcast live Download PDFInfo
- Publication number
- CN108513162A CN108513162A CN201710099188.3A CN201710099188A CN108513162A CN 108513162 A CN108513162 A CN 108513162A CN 201710099188 A CN201710099188 A CN 201710099188A CN 108513162 A CN108513162 A CN 108513162A
- Authority
- CN
- China
- Prior art keywords
- file
- media
- memory
- channel
- slicings
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/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/432—Content retrieval operation from a local storage medium, e.g. hard-disk
- H04N21/4325—Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
-
- 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/432—Content retrieval operation from a local storage medium, e.g. hard-disk
-
- 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
-
- 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/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/458—Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/858—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
- H04N21/8586—Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL
Abstract
The invention discloses a kind of caching, playback method and systems for being broadcast live and reviewing, and belong to stream media technology field.This method includes:TS media slicing files are downloaded by channel source station;In memory by TS media slicings file storage;According to preset time period, periodically the TS media slicing files stored in the memory are stored into distributed file system, and corresponding TS media slicings file is deleted in the memory.The TS media slicing files downloaded by channel source station are saved in memory by the present invention, TS media slicings file in memory is stored into distributed file system DFS according to preset time period timing, and delete corresponding TS media slicings file in memory, it overcomes and only depends on DFS in the prior art and stored, under the premise of not losing a large amount of memory spaces and reduction relies on DFS, it realizes hierarchical cache mechanism, saves storage resource, reduces the dependence to DFS, improve live streaming safety.
Description
Technical field
The present invention relates to stream media technology field more particularly to a kind of caching, playback method and systems that live streaming is reviewed.
Background technology
The raising of network bandwidth and developing into for 3G/4G wireless communication techniques are carried out on telecommunication network based on media content
Value-added services businesses provide possibility.CDN (Content Delivery Network, content distributing network) system is as net
The system of buffered video in network, audio, picture and webpage, obtains further extensive use.Carry out more matchmakers in telecommunication network
Body business, such as IPTV (Interactive Internet TV), OTT TV (Video service of open the Internet), CDN system also plays more
Carry out more important role.
In current OTT TV, the direct broadcast band service for comparing mainstream is all based on HLS (HTTP
The dynamic code rate adaptive technique of LiveStreaming, Apple), such as LTV (Live TV, live telecast), TVOD (True
Video On Demand, performance recording), the business such as TSTV (Time shift TV, time-moving television), be also required for being based on HLS
It is developed.
Live streaming conventional in OTT TV at present reviews cache way and is:When channel LTV is serviced, in OTT nodal caches
A live content;Equally, when TVOD is serviced, also in OTT nodal cache portion TVOD contents.Although this mode ensure that
The validity and independence of storage, but source bandwidth is returned as cost to lose part memory space and node, otherwise it cannot achieve
It is stored to being broadcast live and reviewing content.In addition, traditional live content is stored in DFS (Distributed File
System, distributed file system) in, be too dependent on DFS, once DFS is abnormal, live streaming occurs as soon as exception, and to DFS into
The a large amount of read-writes of row, can lead to degradation.
Invention content
In view of this, the purpose of the present invention is to provide a kind of caching, playback method and system for being broadcast live and reviewing, to solve
Live content is stored in DFS in the prior art, causes to be too dependent on DFS, occupy the problem of a large amount of storage resource.
Technical solution is as follows used by the present invention solves above-mentioned technical problem:
According to the first aspect of the invention, the caching method that a kind of live streaming provided is reviewed, including:
TS media slicing files are downloaded by channel source station;
In memory by the storage of TS media slicing files;
According to preset time period, periodically the TS media slicing files stored in memory are stored to distributed file system
In, and corresponding TS media slicings file is deleted in memory.
Preferably, the step of TS media slicing files should being downloaded by channel source station, including:
Index file is downloaded by channel source station;
According to index file, corresponding TS media slicings file is downloaded.
Preferably, the caching method which reviews further includes:
Channel creation request is obtained, is asked according to channel creation, local channel is created.
According to the second aspect of the invention, the caching system that a kind of live streaming provided is reviewed, including:
Download unit, for downloading TS media slicing files by channel source station;
First storage unit, for storing in memory TS media slicing files;And
Second storage unit, for according to preset time period, periodically storing the TS media slicing files stored in memory
Into distributed file system, and corresponding TS media slicings file is deleted in memory.
Preferably, which includes:
First download unit, for downloading index file by channel source station;
Second download unit, for according to index file, downloading corresponding TS media slicings file.
Preferably, the caching system which reviews further includes:
Channel creation unit asks according to channel creation for obtaining channel creation request, creates local channel.
According to the third aspect of the invention we, the playback method that a kind of live streaming provided is reviewed, including:
The playing request that user sends is obtained, which includes:Direct broadcast band information;
Inquiry index file corresponding with playing request, the index file include:The routing information of TS media slicing files;
According to index file, reads and return to corresponding TS media slicings file.
Preferably, which further includes:Beginning and ending time information.
Preferably, this is according to index file, the step of reading and return to corresponding TS media slicings file, including:
Obtain the routing information of the TS media slicing files in index file;
When the routing information of TS media slicing files is to store in memory, then TS media slicing texts are read in memory
Part;
When the routing information of TS media slicing files is to store in distributed file system, then in distributed file system
Middle reading TS media slicing files.
According to the fourth aspect of the invention, the play system that a kind of live streaming provided is reviewed, including:
Playing request acquiring unit, the playing request for obtaining user's transmission, the playing request include:Direct broadcast band is believed
Breath;
Index file query unit, for inquiring index file corresponding with the playing request, which includes:
The routing information of TS media slicing files;
Document reading unit, for according to index file, reading and returning to corresponding TS media slicings file.
On the one hand, the caching method and system that the live streaming of the embodiment of the present invention is reviewed, the TS that will be downloaded by channel source station
Media slicing file is saved in memory, is stored TS media slicings file in memory to distribution according to preset time period timing
In file system DFS, and corresponding TS media slicings file in memory is deleted, ensure that can only go to channel source station with a code stream
Request is primary and only preserves a, overcomes and only depends on DFS in the prior art and stored, is not losing a large amount of memory spaces
And under the premise of reducing to DFS dependences, realize hierarchical cache mechanism, it saves storage resource, reduce the dependence to DFS, improve directly
Broadcast safety.
On the other hand, the playback method and system that the live streaming of the embodiment of the present invention is reviewed, when user sends out playing request,
By searching for index file, goes corresponding store path information to read TS media slicing files, ensure that the service performance of channel,
It prevents from largely reading and writing DFS, degradation can be caused.
Description of the drawings
Fig. 1 is the flow chart for the caching method that a kind of live streaming of the embodiment of the present invention is reviewed;
Fig. 2 is the flow chart for the caching method that a kind of live streaming of the embodiment of the present invention is reviewed;
Fig. 3 is that the CDN channel servers of the embodiment of the present invention download the flow chart of TS media slicing files;
Fig. 4 is the schematic diagram for the caching system that a kind of live streaming of the embodiment of the present invention is reviewed;
Fig. 5 is the schematic diagram for the caching system that a kind of live streaming of the embodiment of the present invention is reviewed;
Fig. 6 is the flow chart for the playback method that a kind of live streaming of the embodiment of the present invention is reviewed;
Fig. 7 is the flow chart for the playback method that a kind of live streaming of the embodiment of the present invention is reviewed;
Fig. 8 is the flow chart for the playback method that a kind of live streaming of the embodiment of the present invention is reviewed;
Fig. 9 is the schematic diagram for the play system that a kind of live streaming of the embodiment of the present invention is reviewed;
Figure 10 is the schematic diagram of the document reading unit of the embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
In order to keep technical problems, technical solutions and advantages to be solved clearer, clear, tie below
Drawings and examples are closed, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only
To explain the present invention, it is not intended to limit the present invention.
Fig. 1 is the flow chart for the caching method that a kind of live streaming of the embodiment of the present invention is reviewed, and this approach includes the following steps:
S101, TS media slicing files are downloaded by channel source station.
In embodiments of the present invention, it is applied to content distributing network CDN system, CDN channel servers are under channel source station
Carry TS media slicing files.
Further, TS media slicing files are downloaded by channel source station, specially:
Index file is downloaded by channel source station;
According to index file, corresponding TS media slicings file is downloaded.
Specifically, CDN channel servers download index file to channel source station, and corresponding TS matchmaker is downloaded according to index file
Body slicing files, wherein index file is M3U8 files.
S102, TS media slicing files are stored in memory.
In embodiments of the present invention, after CDN channel servers download TS media slicing files to channel source station, first by TS matchmaker
Body slicing files store in memory.
S103, according to preset time period, periodically the TS media slicing files stored in memory are stored to distributed document
In system, and corresponding TS media slicings file is deleted in memory.
In embodiments of the present invention, preset time period can be set to 3 minutes, it will be in memory according to preset time period timing
TS media slicing files are stored into distributed file system DFS, and delete corresponding TS media slicings file in memory, are ensured
Can only go the request of channel source station primary with a code stream and only preserve it is a, it is good to be stored in DFS, it is a large amount of not losing
Memory space and reduce to DFS rely under the premise of, realize hierarchical cache mechanism, save storage resource, reduce to DFS according to
Rely, improves live streaming safety.
Fig. 2 is the flow chart for the caching method that a kind of live streaming of the embodiment of the present invention is reviewed, and this approach includes the following steps:
S201, channel creation request is obtained, is asked according to the channel creation, create local channel.
In embodiments of the present invention, channel creation request, CDN channel servers response frequency are initiated to CDN channel servers
Road request to create carries out the processing for creating local channel, increases channel data area, and processing channel downloads the preparation of file.
S202, TS media slicing files are downloaded by channel source station.
S203, TS media slicing files are stored in memory.
S204, according to preset time period, periodically the TS media slicing files stored in memory are stored to distributed document
In system, and corresponding TS media slicings file is deleted in memory.
In embodiments of the present invention, the embodiment of step S202-S204 can be corresponded to reference to abovementioned steps S101-S103
Description, details are not described herein.
Fig. 3 is that the CDN channel servers of the embodiment of the present invention download the flow chart of TS media slicing files, and this method includes
Following steps:
S301, CDN management platform (the present embodiment IAM, Identity and Access Management, i.e. identity
Identification is managed with access) initiate channel creation request to CDN channel servers (CHANNEL).
S302, CDN channel server (CHANNEL) response channel request to create, notice IAM receive channel creation request.
S303, CHANNEL create the processing of local channel, increase channel data area, and processing channel downloads TS media
The preparation of slicing files.
After the establishment local channel of S304, CHANNEL, channel record, channel are inserted into database (DB, DataBase)
State is in work.
S305, CHANNEL are reported to IAM and are created local channel success message.
S306, IAM are received to CHANNEL responses and are created local channel success message.
S307, after creating local channel success, CHANNEL downloads index file M3U8 files and TS media to channel source station
Slicing files, wherein CHANNEL first downloads index file M3U8 files, then according to the index in index file M3U8 files
Information downloads corresponding TS media slicings file.
Wherein, channel is real-time live broadcast stream, so after creating local channel success, according to HLS protocol, CHANNEL timings
Ask index file M3U8 files and TS media slicings file to memory to channel source station, according to preset time period, timing copies
To being locally stored, can also be stored in DFS (Distributed File System, distributed file system).
Fig. 4 is that the schematic diagram for the caching system that a kind of live streaming of the embodiment of the present invention is reviewed only is shown for convenience of description
With relevant part of the embodiment of the present invention, details are as follows:
A kind of caching system that live streaming is reviewed, including:Download unit 41, the first storage unit 42 and the second storage unit
43, wherein:
Download unit 41, for downloading TS media slicing files by channel source station.
In embodiments of the present invention, it is applied to content distributing network CDN system, CDN channel servers are under channel source station
Carry TS media slicing files.
Further, download unit 41 includes:
First download unit, for downloading index file by channel source station;
Second download unit, for according to index file, downloading corresponding TS media slicings file.
Specifically, CDN channel servers download index file to channel source station, and corresponding TS matchmaker is downloaded according to index file
Body slicing files, wherein index file is M3U8 files.
First storage unit 42, for storing in memory TS media slicing files.
In embodiments of the present invention, after CDN channel servers download TS media slicing files to channel source station, first by TS matchmaker
Body slicing files store in memory.
Second storage unit 43, for according to preset time period, periodically depositing the TS media slicing files stored in memory
In storage to distributed file system, and corresponding TS media slicings file is deleted in memory.
In embodiments of the present invention, preset time period can be set to 3 minutes, it will be in memory according to preset time period timing
TS media slicing files are stored into distributed file system DFS, and delete corresponding TS media slicings file in memory, are ensured
Can only go the request of channel source station primary with a code stream and only preserve it is a, it is good to be stored in DFS, it is a large amount of not losing
Memory space and reduce to DFS rely under the premise of, realize hierarchical cache mechanism, save storage resource, reduce to DFS according to
Rely, improves live streaming safety.
Fig. 5 is that the schematic diagram for the caching system that a kind of live streaming of the embodiment of the present invention is reviewed only is shown for convenience of description
With relevant part of the embodiment of the present invention, details are as follows:
A kind of caching system that live streaming is reviewed, including:Channel creation unit 51, download unit 52, the first storage unit 53
And second storage unit 54, wherein:
Channel creation unit 51 asks according to channel creation for obtaining channel creation request, creates local channel.
Download unit 52, for downloading TS media slicing files by channel source station.
In embodiments of the present invention, channel creation request, CDN channel servers response frequency are initiated to CDN channel servers
Road request to create carries out the processing for creating local channel, increases channel data area, and processing channel downloads the preparation of file.
First storage unit 53, for storing in memory TS media slicing files.
Second storage unit 54, for according to preset time period, periodically depositing the TS media slicing files stored in memory
In storage to distributed file system, and corresponding TS media slicings file is deleted in memory.
Fig. 6 is the flow chart for the playback method that a kind of live streaming of the embodiment of the present invention is reviewed, and this approach includes the following steps:
S601, the playing request that user sends is obtained, which includes:Direct broadcast band information.
In embodiments of the present invention, the playing request that user sends is received, wherein playing request includes:Direct broadcast band is believed
Breath.
Further, if TSTV and TVOD services, playing request further include:Beginning and ending time information.
S602, inquiry index file corresponding with playing request, the index file include:The path of TS media slicing files
Information.
In embodiments of the present invention, corresponding index file is obtained according to the playing request, which includes:TS matchmaker
The routing information of body slicing files.
S603, according to index file, read and return to corresponding TS media slicings file.
In embodiments of the present invention, according to index file, TS media slicing files is read and return to user terminal.So that using
Family terminal can be not only restricted to the specified programme of system, record internet program in section at any time, and play out.
Further, according to index file, the step of reading and return to corresponding TS media slicings file, including:
Obtain the routing information of the TS media slicing files in index file;
When the routing information of TS media slicing files is to store in memory, then TS media slicing texts are read in memory
Part;
When the routing information of TS media slicing files is to store in distributed file system, then in distributed file system
Middle reading TS media slicing files.
Fig. 7 is the flow chart for the playback method that a kind of live streaming of the embodiment of the present invention is reviewed, and this approach includes the following steps:
S701, user terminal (STB) initiate HTTP playing requests, include direct broadcast band information and use in HTTP playing requests
Family ID.
After S702, CDN client server (IAS) receive playing request, according to live streaming frequency in the channel table of database D B
Road information inquires the routing information of index file M3U8 files.
S703, IAS return to mono- redirection message of STB, and STB request index file M3U8 texts in next step are contained in message
The URL of part.
The URL request IAS of S704, STB further according to index file M3U8 files.
S705, IAS get index file M3U8 files according to the routing information of index file M3U8 files from memory.
Index file M3U8 files are returned to STB by S706, IAS.
S707 contains STB and asks required all TS in next step according to HLS protocol in index file M3U8 files
Media slicing file URL column table, STB go to obtain corresponding TS matchmaker according to the url list continuation requests IAS of TS media slicing files
Body slicing files.
S708, IAS receive the message of STB request TS media slicing files every time, then TS media slicings are read from memory
File.
S709, IAS receive the message of STB request TS media slicing files, the TS media slicing texts that IAS will be read every time
Part returns to STB.
Wherein, until S707-S709 repeats to all TS media slicing files of STB request completions.
Fig. 8 is the flow chart for the playback method that a kind of live streaming of the embodiment of the present invention is reviewed, and this approach includes the following steps:
S801, user terminal (STB) initiate TVOD/TSTV by HTTP and service playing request, wrapped in HTTP playing requests
Information containing direct broadcast band, User ID and beginning and ending time information.
After S802, CDN client server (IAS) receive playing request, according to live streaming frequency in the channel table of database D B
Road information inquires the routing information of index file M3U8 files.
S803, IAS return to mono- redirection message of STB, and STB request index file M3U8 texts in next step are contained in message
The URL of part.
The URL request IAS of S804, STB further according to index file M3U8 files.
S805, IAS get index file M3U8 files according to the routing information of index file M3U8 files from DFS.
Index file M3U8 files are returned to STB by S806, IAS.
S807 contains STB and asks required all TS in next step according to HLS protocol in index file M3U8 files
Media slicing listed files, STB go to obtain corresponding TS media according to the url list continuation requests IAS of TS media slicing files
Slicing files.
S808, IAS receive the message of STB request TS media slicing files every time, then inquire corresponding TS media slicings from DB
The routing information of file.
S809 goes in memory to read the return of TS media slicing files if TS media slicing files preserve in memory
To STB.
S809 ' goes reading TS media slicing files in DFS to return to if TS media slicing files are stored in DFS
STB。
S810, IAS receive the message of STB request TS media slicing files, the TS media slicing texts that IAS will be read every time
Part returns to STB.
Wherein, until S807-S810 repeats to all TS media slicing files of STB request completions.
Fig. 9 is that the schematic diagram for the play system that a kind of live streaming of the embodiment of the present invention is reviewed only is shown for convenience of description
With relevant part of the embodiment of the present invention, details are as follows:
A kind of play system that live streaming is reviewed, including:Playing request acquiring unit 91, index file query unit 92 and text
Part reading unit 93, wherein:
Playing request acquiring unit 91, the playing request for obtaining user's transmission, the playing request include:Direct broadcast band
Information.
In embodiments of the present invention, the playing request that user sends is received, wherein playing request includes:Direct broadcast band is believed
Breath.
Further, if TSTV and TVOD services, playing request further include:Beginning and ending time information.
Index file query unit 92, for inquiring index file corresponding with playing request, which includes:TS
The routing information of media slicing file.
In embodiments of the present invention, corresponding index file is obtained according to the playing request, which includes:TS matchmaker
The routing information of body slicing files.
Document reading unit 93, for according to index file, reading and returning to corresponding TS media slicings file.
In embodiments of the present invention, according to index file, TS media slicing files is read and return to user terminal.So that using
Family terminal can be not only restricted to the specified programme of system, record internet program in section at any time, and play out.
Further, Figure 10 is the schematic diagram of the document reading unit of the embodiment of the present invention, and document reading unit 93 includes:
Path acquiring unit 931, the routing information for obtaining the TS media slicing files in index file.
First reading unit 932, when for being stored in memory when the routing information of TS media slicing files, then in memory
Middle reading TS media slicing files.
Second reading unit 933 is to be stored in distributed file system for the routing information when TS media slicing files
When, then TS media slicing files are read in distributed file system.
In embodiments of the present invention, when user sends out playing request, by searching for index file, corresponding storage road is gone to
Diameter information reads TS media slicing files, ensure that the service performance of channel, prevents from largely reading and writing DFS, can causing property
It can be deteriorated.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to be realized by hardware, but very much
In the case of the former be more preferably embodiment.Based on this understanding, technical scheme of the present invention is substantially in other words to existing
The part that technology contributes can be expressed in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, calculate
Machine, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
Above by reference to the preferred embodiment of the present invention has been illustrated, not thereby limit to the interest field of the present invention.This
Field technology personnel do not depart from the scope of the present invention and essence, can there are many variant scheme realize the present invention, for example as one
The feature of a embodiment can be used for another embodiment and obtain another embodiment.All institutes within the technical concept with the present invention
The all any modification, equivalent and improvement of work, should all be within the interest field of the present invention.
Claims (10)
1. a kind of being broadcast live the caching method reviewed, which is characterized in that the method includes:
TS media slicing files are downloaded by channel source station;
In memory by TS media slicings file storage;
According to preset time period, periodically the TS media slicing files stored in the memory are stored to distributed file system
In, and corresponding TS media slicings file is deleted in the memory.
2. according to claim 1 be broadcast live the caching method reviewed, which is characterized in that described to download TS by channel source station
The step of media slicing file, including:
Index file is downloaded by channel source station;
According to the index file, corresponding TS media slicings file is downloaded.
3. according to claim 1 be broadcast live the caching method reviewed, which is characterized in that downloading TS matchmaker by channel source station
Before the step of body slicing files, including:
Channel creation request is obtained, is asked according to the channel creation, local channel is created.
4. a kind of being broadcast live the caching system reviewed, which is characterized in that the system comprises:
Download unit, for downloading TS media slicing files by channel source station;
First storage unit, for storing in memory the TS media slicings file;And
Second storage unit, for according to preset time period, periodically storing the TS media slicing files stored in the memory
Into distributed file system, and corresponding TS media slicings file is deleted in the memory.
5. according to claim 4 be broadcast live the caching system reviewed, which is characterized in that the download unit includes:
First download unit, for downloading index file by channel source station;
Second download unit, for according to the index file, downloading corresponding TS media slicings file.
6. according to claim 4 be broadcast live the caching system reviewed, which is characterized in that the system also includes:
Channel creation unit asks according to the channel creation for obtaining channel creation request, creates local channel.
7. a kind of being broadcast live the playback method reviewed, which is characterized in that the method includes:
The playing request that user sends is obtained, the playing request includes:Direct broadcast band information;
Inquiry index file corresponding with the playing request, the index file include:Believe in the path of TS media slicing files
Breath;
According to the index file, reads and return to corresponding TS media slicings file.
8. according to claim 7 be broadcast live the playback method reviewed, which is characterized in that the playing request further includes:It rises
Only temporal information.
9. according to claim 7 be broadcast live the playback method reviewed, which is characterized in that it is described according to the index file,
The step of reading and returning to corresponding TS media slicings file, including:
Obtain the routing information of the TS media slicing files in the index file;
When the routing information of the TS media slicings file is to store in memory, then the TS media slicings are read in memory
File;
When the routing information of the TS media slicings file is to store in distributed file system, then in distributed file system
It is middle to read the TS media slicings file.
10. a kind of being broadcast live the play system reviewed, which is characterized in that the system comprises:
Playing request acquiring unit, the playing request for obtaining user's transmission, the playing request include:Direct broadcast band is believed
Breath;
Index file query unit, for inquiring index file corresponding with the playing request, the index file includes:TS
The routing information of media slicing file;
Document reading unit, for according to the index file, reading and returning to corresponding TS media slicings file.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710099188.3A CN108513162A (en) | 2017-02-23 | 2017-02-23 | Caching, playback method and the system reviewed is broadcast live |
PCT/CN2018/075255 WO2018153237A1 (en) | 2017-02-23 | 2018-02-05 | Caching method and system for replaying live broadcast, and playing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710099188.3A CN108513162A (en) | 2017-02-23 | 2017-02-23 | Caching, playback method and the system reviewed is broadcast live |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108513162A true CN108513162A (en) | 2018-09-07 |
Family
ID=63253537
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710099188.3A Pending CN108513162A (en) | 2017-02-23 | 2017-02-23 | Caching, playback method and the system reviewed is broadcast live |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108513162A (en) |
WO (1) | WO2018153237A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109286820A (en) * | 2018-11-29 | 2019-01-29 | 无锡华云数据技术服务有限公司 | Stream media ordering method and system based on distributed memory system |
CN110856007A (en) * | 2019-11-21 | 2020-02-28 | 咪咕视讯科技有限公司 | Content distribution network, storage optimization method thereof, electronic device, and storage medium |
CN111107386A (en) * | 2019-12-27 | 2020-05-05 | 北京达佳互联信息技术有限公司 | Live video playback method and device, electronic equipment, system and storage medium |
CN111416990A (en) * | 2020-03-21 | 2020-07-14 | 杭州视在数科信息技术有限公司 | TS (transport stream) storage and access method based on streaming data processing platform and application |
CN111526377A (en) * | 2019-02-01 | 2020-08-11 | 广州虎牙信息科技有限公司 | Stream pulling method and device |
CN112699154A (en) * | 2021-03-25 | 2021-04-23 | 上海洋漪信息技术有限公司 | Multi-level caching method for large-flow data |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111752946B (en) * | 2020-06-22 | 2021-04-30 | 上海众言网络科技有限公司 | Method and device for preprocessing research data based on fragmentation mode |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104320410A (en) * | 2014-11-11 | 2015-01-28 | 南京优速网络科技有限公司 | All-service CDN system based on HTTP and working method thereof |
CN104469433A (en) * | 2013-09-13 | 2015-03-25 | 深圳市腾讯计算机系统有限公司 | Live video replay method and device |
CN105025345A (en) * | 2015-07-28 | 2015-11-04 | 无锡天脉聚源传媒科技有限公司 | Method and device for recording live program |
CN105338424A (en) * | 2015-10-29 | 2016-02-17 | 努比亚技术有限公司 | Video processing method and system |
CN105450780A (en) * | 2015-12-31 | 2016-03-30 | 深圳市网心科技有限公司 | CDN system and source tracing method thereof |
CN105592318A (en) * | 2014-10-21 | 2016-05-18 | 中兴通讯股份有限公司 | System, device and method for realizing HLS channel replaying service |
CN105812831A (en) * | 2014-12-31 | 2016-07-27 | 中兴通讯股份有限公司 | Network program recording method, device and system and recorded program playing method and device |
CN105898352A (en) * | 2015-11-13 | 2016-08-24 | 乐视云计算有限公司 | m3u8-based streaming media file direct broadcast method and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100579208C (en) * | 2007-03-30 | 2010-01-06 | Ut斯达康通讯有限公司 | Distributed flow media distribution system, and flow media memory buffer and scheduling distribution method |
US8825766B2 (en) * | 2009-10-23 | 2014-09-02 | Verizon Patent And Licensing Inc. | Methods, systems and computer program products for a peer-to-peer cache content replacer |
CN104954810B (en) * | 2015-07-14 | 2018-04-24 | 电子科技大学 | For ensureing the successional switching method of distributed video stream memory system data |
CN105354247B (en) * | 2015-10-13 | 2018-08-10 | 武汉大学 | It is a kind of to support to deposit the geographical video data tissue management method for calculating linkage |
-
2017
- 2017-02-23 CN CN201710099188.3A patent/CN108513162A/en active Pending
-
2018
- 2018-02-05 WO PCT/CN2018/075255 patent/WO2018153237A1/en active Application Filing
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104469433A (en) * | 2013-09-13 | 2015-03-25 | 深圳市腾讯计算机系统有限公司 | Live video replay method and device |
CN105592318A (en) * | 2014-10-21 | 2016-05-18 | 中兴通讯股份有限公司 | System, device and method for realizing HLS channel replaying service |
CN104320410A (en) * | 2014-11-11 | 2015-01-28 | 南京优速网络科技有限公司 | All-service CDN system based on HTTP and working method thereof |
CN105812831A (en) * | 2014-12-31 | 2016-07-27 | 中兴通讯股份有限公司 | Network program recording method, device and system and recorded program playing method and device |
CN105025345A (en) * | 2015-07-28 | 2015-11-04 | 无锡天脉聚源传媒科技有限公司 | Method and device for recording live program |
CN105338424A (en) * | 2015-10-29 | 2016-02-17 | 努比亚技术有限公司 | Video processing method and system |
CN105898352A (en) * | 2015-11-13 | 2016-08-24 | 乐视云计算有限公司 | m3u8-based streaming media file direct broadcast method and system |
CN105450780A (en) * | 2015-12-31 | 2016-03-30 | 深圳市网心科技有限公司 | CDN system and source tracing method thereof |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109286820A (en) * | 2018-11-29 | 2019-01-29 | 无锡华云数据技术服务有限公司 | Stream media ordering method and system based on distributed memory system |
CN109286820B (en) * | 2018-11-29 | 2019-08-06 | 无锡华云数据技术服务有限公司 | Stream media ordering method and system based on distributed memory system |
CN111526377A (en) * | 2019-02-01 | 2020-08-11 | 广州虎牙信息科技有限公司 | Stream pulling method and device |
CN110856007A (en) * | 2019-11-21 | 2020-02-28 | 咪咕视讯科技有限公司 | Content distribution network, storage optimization method thereof, electronic device, and storage medium |
CN110856007B (en) * | 2019-11-21 | 2021-12-03 | 咪咕视讯科技有限公司 | Content distribution network, storage optimization method thereof, electronic device, and storage medium |
CN111107386A (en) * | 2019-12-27 | 2020-05-05 | 北京达佳互联信息技术有限公司 | Live video playback method and device, electronic equipment, system and storage medium |
CN111416990A (en) * | 2020-03-21 | 2020-07-14 | 杭州视在数科信息技术有限公司 | TS (transport stream) storage and access method based on streaming data processing platform and application |
CN112699154A (en) * | 2021-03-25 | 2021-04-23 | 上海洋漪信息技术有限公司 | Multi-level caching method for large-flow data |
Also Published As
Publication number | Publication date |
---|---|
WO2018153237A1 (en) | 2018-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108513162A (en) | Caching, playback method and the system reviewed is broadcast live | |
US20230075732A1 (en) | Commercials on mobile devices | |
KR100367714B1 (en) | Internet broadcasting system and method using the technique of dynamic combination of multimedia contents and targeted advertisement | |
US8090761B2 (en) | Storage and distribution of segmented media data | |
KR100944466B1 (en) | Video distributing system and video distributing method | |
CN108063769B (en) | Method and device for realizing content service and content distribution network node | |
US9356985B2 (en) | Streaming video to cellular phones | |
CN102055718B (en) | Method, device and system for layering request content in http streaming system | |
WO2002071191A2 (en) | Metadata enabled push-pull model for efficient low-latency video-content distribution over a network | |
CN103155514A (en) | Selectively receiving media content | |
CN101202882B (en) | Method, system for transmitting medium resource and set-top box | |
JP5752231B2 (en) | Method and apparatus for providing time shift service in digital broadcasting system and system thereof | |
US8850474B2 (en) | Virtual content store in interactive services architecture | |
CN102117458A (en) | Advertising service realization method, device and system | |
CN105812831B (en) | Network program recording method, device and system and playing method and device | |
CN101389017B (en) | Method for storing media file in mobile stream media live service | |
Van Lancker et al. | Implementation strategies for efficient media fragment retrieval | |
CN105681838A (en) | Method and system for counting HLS live broadcast online users | |
KR100303019B1 (en) | Vod system using proxy server | |
CN108024137A (en) | A kind of broadcast data processing method and device, computing device and storage medium | |
WO2017071524A1 (en) | Multimedia resource publishing method and apparatus | |
CN112770132B (en) | Method and system for reducing MP4 video outlet flow in proxy cache | |
KR20130134911A (en) | Method for providing content caching service in adapted streaming service and local caching device thereof | |
KR20090076161A (en) | System and method for user created contents playback in mobile telecommunication | |
KR101971595B1 (en) | Method for providing content caching service in adapted streaming service and local caching device thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180907 |