CN103051931B - Review performance recording, playback method, server, client and system - Google Patents
Review performance recording, playback method, server, client and system Download PDFInfo
- Publication number
- CN103051931B CN103051931B CN201110306682.5A CN201110306682A CN103051931B CN 103051931 B CN103051931 B CN 103051931B CN 201110306682 A CN201110306682 A CN 201110306682A CN 103051931 B CN103051931 B CN 103051931B
- Authority
- CN
- China
- Prior art keywords
- program
- index file
- server
- uri
- reviewing
- 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/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
-
- 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
- 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
Performance recording, playback method, server, client and system are reviewed the present invention relates to a kind of Streaming Media, wherein playback method includes:Client obtains the URI for the index file for reviewing program;The index file for reviewing program is obtained from server according to the URI of index file;Index file is parsed, therefrom obtains the URI for reviewing the corresponding each slicing files of program;According to the URI of each slicing files, downloaded successively from server and decode broadcasting each slicing files.The present invention realizes the traditional RTSP users of IPTV and the HTTP user of internet, shared portion recorded file, realize look back function, reduce the storage resource consumption of streaming media server, improve the performance of server, and for operator, server side also only needs the HTTP server of deployment criteria, it can support the HTTP user of internet, it is not necessary to customize, saved cost.
Description
Technical field
The present invention relates to technical field of network multimedia, more particularly to a kind of Streaming Media reviews performance recording, broadcasting side
Method, server, client and system.
Background technology
As the popularization of broadband networks and the development of multimedia technology, the application of stream media technology are also more and more extensive.Such as
IPTV (Interactive Personality TV, Interactive Internet TV) is a kind of typical Stream Media Application.
IPTV is based primarily upon RTSP (Real Time Streaming Protocol, Real-time streaming agreement)/RTP (Real-
Time Transport Protocol, real-time transport protocol), in addition to it can provide the service of traditional tv to the user, may be used also
To provide the specific functions such as program look back.It is so-called to review, refer to live channel program, real-time recording is carried out by listing,
Then user's on-demand playback is supplied.When recording, usually direct-broadcasting code stream is recorded into slicing files one by one by natural time, is
System is internal to preserve the beginning and ending time information for reviewing program, and when user's program request is watched, streaming media server rises according to program is reviewed
The only time, reads the content of corresponding slicing files, controls behavior of giving out a contract for a project.
With the development of triple play technology, IPTV also begins to permeate to internet arena.It is different from RTSP/RTP modes,
After Internet user retrieves respective program by EPG (Electronic Program Guide, electronic program guide), usually
By HTTP (Hypertext Transfer Protocol, hypertext transfer protocol), the corresponding media file of program is downloaded
To local broadcasting.It is therefore desirable to a program corresponds to a media file.Performance recording side is reviewed according to above-mentioned IPTV
Formula, then be inconvenient to be supplied directly to Internet user's use.And if be individually for Internet user record it is special review program,
Such as the beginning and ending time by programme, direct-broadcasting code stream is recorded into single file one by one, then on the one hand, due to separated record
System, can take two parts of memory spaces, consume two parts of storage capacities, waste of resource;On the other hand, if completing to need afterwards recording
The beginning and ending time for reviewing program is adjusted, then is operated more troublesome.
The content of the invention
It is a primary object of the present invention to provide a kind of Streaming Media to review performance recording, playback method, server, client
End and system, in that context it may be convenient to provide programme televised live look back function for traditional IPTV user and Internet user, save storage
Resource, improves system performance.
In order to achieve the above object, the present invention proposes that one kind reviews method of program recording, including:
The channel live code stream of reception is recorded into the slicing files of series by server at predetermined intervals;
Index file is generated for each program of reviewing according to programme, the index file, which includes, each reviews program correspondence
Slicing files URI.
Preferably, the index file further also includes:The program duration for reviewing program, the beginning and ending time, code check,
Resolution ratio and/or type of coding;And beginning and ending times of slicing files, size, corresponding to the playable time for reviewing program and/
Or key frame information.
Preferably, this method further includes:
When needing to review the beginning and ending time of program described in adjustment, when the server reviews the start-stop of program according to
Between regenerate index file.
The present invention also proposes that one kind reviews program broadcasting method, including:
Client obtains the URI for the index file for reviewing program;
The index file of program is reviewed according to the URI of the index file from server acquisition;
The index file is parsed, the URI of the corresponding each slicing files of program is therefrom reviewed described in acquisition;
According to the URI of each slicing files, downloaded successively from the server and decode broadcasting each slicing files.
Preferably, this method further includes:
Client parses the key frame information of each slicing files from the index file;
Corresponding data according to the key frame information from the server downloading slicing file, to it is described review program into
Row positioning playing.
Preferably, the step of URI for the index file that program is reviewed in the client acquisition includes:
Client sends the first of the URL for being used to obtain the index file for reviewing program to the EPG modules of IPTV please
Ask;
Receive the index file that the EPG modules of the IPTV review according to returning to the described first request program
URI。
Preferably, the step of reviewing the index file of program described in the URI according to index file from server acquisition
Including:
Client sent according to the URI of the index file to the server be used to obtaining described in review the index of program
Second request of file;
Receive the index file that the server reviews program according to returning to the described second request.
The present invention also proposes that one kind reviews performance recording server, including:
Receive and record module, for the channel live code stream of reception to be recorded into point of series at predetermined intervals
Piece file;
Program module, for generating index file, the index file bag according to programme for each program of reviewing
Containing each URI for reviewing the corresponding slicing files of program.
Preferably, the program module is additionally operable to when needing to review the beginning and ending time of program described in adjustment, according to
The beginning and ending time for reviewing program regenerates index file.
The present invention also proposes that one kind reviews program client end of playing back, including:
Index file URI acquisition modules, for obtaining the URI for the index file for reviewing program;
Index file acquisition module, for reviewing program described in the URI according to the index file from server acquisition
Index file;
Slicing files URI parses acquisition module, and for parsing the index file, program correspondence is therefrom reviewed described in acquisition
Each slicing files URI;
Slicing files download playing module, for the URI according to each slicing files, are downloaded successively from the server
And decode and play each slicing files.
Preferably, the slicing files URI parsings acquisition module, is additionally operable to parse each burst from the index file
The key frame information of file;
The slicing files download playing module, are additionally operable to according to the key frame information from the server downloading slicing
The corresponding data of file, positioning playing is carried out to the program of reviewing.
Preferably, the index file URI acquisition modules include:
First transmitting element, is used to obtain the index file for reviewing program for sending to the EPG modules of IPTV
The first request of URL;
First receiving unit, the EPG modules for receiving the IPTV are reviewed according to returning to the described first request
The URI of the index file of program.
Preferably, the index file acquisition module includes:
Second transmitting element, sends to the server for the URI according to the index file and is used to obtain described time
See the second request of the index file of program;
Second receiving unit, the rope of program is reviewed for receiving the server according to returning to the described second request
Quotation part.
The present invention also proposes that one kind reviews performance broadcasting system, including:Client and server, wherein:
The server, for the channel live code stream of reception to be recorded into the burst of series at predetermined intervals
File;Index file is generated for each program of reviewing according to programme, the index file is corresponding comprising each program is reviewed
The URI of slicing files;And index file and corresponding burst are provided for the client according to the respective request of the client
The download service of file;
The client, for obtaining the URI of the index file for reviewing program;According to the URI of the index file
From the index file that program is reviewed described in server acquisition;The index file is parsed, program correspondence is therefrom reviewed described in acquisition
Each slicing files URI;According to the URI of each slicing files, download and decode described in broadcasting successively from the server
Each slicing files.
Preferably, the client, being additionally operable to please to server transmission RTSP according to the URI of the index file
Ask;The RTP bags that the server is returned according to RTSP requests are received, decodes and plays the slicing files in the RTP bags;
The server, is additionally operable to be asked according to the RTSP, parses corresponding index file, therefrom obtains corresponding point
Piece file, composition RTP bags are sent to the client.
A kind of Streaming Media proposed by the present invention reviews performance recording, playback method, server, client and system, clothes
Business device is each to review program generation to include the index file for reviewing the corresponding slicing files of program, when client needs to play certain
It is a when reviewing program, the URL of the index file for reviewing program is obtained by the EPG modules of IPTV, according to the index file
URL obtains the index file from server, and then the slicing files for reviewing program for needing to play are parsed from index file,
Finally carry out decoding broadcasting;In addition, for traditional original RTSP clients of IPTV, pervious mode can be still used,
The information preserved by server according to system, after navigating to corresponding slicing files, extracts related data, composition RTP bags are sent
To client.The URI of index file can also be equally provided by server to RTSP client, and server then please in client
When asking, after parsing index file, the data of corresponding slicing files are read, composition RTP bags are sent to client, it is achieved thereby that
RTSP user traditional IPTV and the HTTP user of internet, share portion recorded file, realize look back function, reduce stream matchmaker
The storage resource consumption of body server, improves the performance of server, and for operator, server side also only needs
The HTTP server of deployment criteria, you can support the HTTP user of internet, it is not necessary to customize, saved cost.
Brief description of the drawings
Fig. 1 is the flow diagram that the present invention reviews one embodiment of method of program recording;
Fig. 2 is the flow diagram that the present invention reviews one embodiment of program broadcasting method;
Fig. 3 is that the present invention reviews the index file that program is reviewed in client acquisition in one embodiment of program broadcasting method
The flow diagram of URI;
Fig. 4 is that of the invention review obtains back in one embodiment of program broadcasting method according to the URI of index file from server
See the flow diagram of the index file of program;
Fig. 5 is the structure diagram that the present invention reviews one embodiment of performance recording server;
Fig. 6 is the structure diagram that the present invention reviews one embodiment of program client end of playing back;
Fig. 7 is the structural representation that the present invention reviews index file URI acquisition modules in one embodiment of program client end of playing back
Figure;
Fig. 8 is the structure diagram that the present invention reviews index file acquisition module in one embodiment of program client end of playing back;
Fig. 9 is the structure diagram that the present invention reviews one embodiment of performance broadcasting system.
In order to make technical scheme clearer, clear, it is described in further detail below in conjunction with attached drawing.
Embodiment
Solution for embodiment of the invention is mainly:Server is corresponding comprising program is reviewed each to review program generation
The index file of slicing files, when client needs to play some and reviews program, obtains this by the EPG modules of IPTV and reviews
The URL of the index file of program, the index file is obtained according to the URL of the index file from server, and then from index file
In parse and need the slicing files for reviewing program that play, finally carry out decoding broadcasting;It is original for traditional IPTV
RTSP client, can still use pervious mode, the information preserved by server according to system, navigates to corresponding burst
After file, related data is extracted, composition RTP bags are sent to client.Can also equally it be provided by server to RTSP client
The URI of index file, and server after parsing index file, reads the data of corresponding slicing files then in client request,
Composition RTP bags are sent to client, realize the traditional RTSP users of IPTV and the HTTP user of internet, share a recording text
Part, realizes look back function, reduces the storage resource consumption of streaming media server, improves the performance of server.
As shown in Figure 1, one embodiment of the invention proposes that one kind reviews method of program recording, including:
The channel live code stream of reception is recorded into the burst of series by step S101, server at predetermined intervals
File;
Step S102, generates index file, index file includes and each reviews section according to programme for each program of reviewing
The URI of the corresponding slicing files of mesh.
Server-compatible RTSP and HTTP in the present embodiment, carries to realize to traditional IPTV user and Internet user
For programme televised live look back function, the reception of server records module first by the channel live code stream of reception according to the predetermined time
Record into a series of slicing files at interval;Each slicing files are the IPTV program request files of a standard.
Meanwhile the program module of server generates an individually index according to programme for each program of reviewing
File, wherein including URI (the Universal Resource that the corresponding slicing files of program are reviewed with this
Identification, uniform resource identifier).Multiple slicing files are linked together by this index file, so as to be formed
The program of one multiple slicing files of leap.
Further, in the index file, the essential information for reviewing program, and the phase of slicing files can also be included
Close information.Wherein reviewing the essential information of program includes program duration, beginning and ending time, code check, resolution ratio, type of coding etc..Point
Beginning and ending time of the relevant information of piece file including slicing files, size, corresponding to playable time, the key frame for reviewing program
Index etc..
Further, the beginning and ending time for reviewing program is adjusted if desired, and server then only needs basis to review program
Beginning and ending time regenerate index file.
It is by TS streams (Transport Stream, meet the transport stream of ISO/IEC13818-1 standards) of channel code stream
Example.The reception of server records module and receives channel code stream, and cutting is carried out by the durations of 30 minutes, continuous to record into a series of
Slicing files, each slicing files are a mpg file (pure TS bags compositions), as shown in table 1 below:
Slicing files name | Beginning and ending time |
0.mpg | 2010-7-7 8:00~2010-7-7 8:30 |
1.mpg | 2010-7-7 8:30~2010-7-7 9:00 |
2.mpg | 2010-7-7 9:00~2010-7-7 9:30 |
… | … |
N.mpg | 2010-7-7 12:00~2010-7-7 12:30 |
Table 1
Module is recorded in the reception of server to be needed to record the relevant information of above-mentioned slicing files at the same time, so as to other follow-up moulds
Block is used for further processing.
The program module of server extracts the information of corresponding slicing files, generates and review program according to programme
Index file, wherein needing the URI comprising slicing files corresponding with the program, the playable time range of each slicing files
With the position of playable data hereof etc..Such as program is reviewed for a certain, the time range of its programme is 2010-7-
7 8:15~2010-7-7 9:20, then, it is necessary to include slicing files information as shown in table 2 below in its index file:
Slicing files URI | It can play the time | It can play scope (byte) |
0.mpg | 2010-7-7 8:15~2010-7-7 8:30 | 240M~480M |
1.mpg | 2010-7-7 8:30~2010-7-7 9:00 | 0~480M |
2.mpg | 2010-7-7 9:00~2010-7-7 9:20 | 0~320M |
Table 2
In addition, for the ease of making the operation such as positioning playing and fast forwarding and fast rewinding, pass can also be further included in index file
Key frame information, i.e., the time in each slicing files corresponding to key frame, deviation post and length in slicing files etc..
In addition, if after program making, the actual broadcast time of program is reviewed in discovery and the time of programme is not inconsistent, such as
The above-mentioned actual broadcast time for reviewing program is 2010-7-7 8:25~2010-7-7 9:30, then only need to change index file
In corresponding slicing files information, it is as shown in table 3 below:
Slicing files URI | It can play the time | It can play scope (byte) |
0.mpg | 2010-7-7 8:25~2010-7-7 8:30 | 400M~480M |
1.mpg | 2010-7-7 8:30~2010-7-7 9:00 | 0~480M |
2.mpg | 2010-7-7 9:00~2010-7-7 9:30 | 0~480M |
Table 3
If also including key frame information in index file, the key frame information in index file also needs to change at the same time.
Subsequently, client can obtain the corresponding slicing files for reviewing program according to index file, carry out reviewing program
Decoding play, on reviewing the broadcasting of program, embodiment shown in Figure 2.
As shown in Fig. 2, one embodiment of the invention proposes that one kind reviews program broadcasting method, including:
Step S201, client obtain the URI for the index file for reviewing program;
The present embodiment client carries out data interaction with server by HTTP.
When client needs to review program, client sends request to the EPG modules of IPTV system, IPTV system
The request that EPG modules are sent according to client, the URI for corresponding to the index file for reviewing program is returned to client.
Step S202, the index file for reviewing program is obtained according to the URI of index file from server;
After client gets the URI of the corresponding index file for reviewing program, according to the URI of the index file, to clothes
Business device acquisition request reviews the index file of program, and server parses the request of client, after navigating to corresponding index file,
Index file content is read, returns to client.
Client downloads the index file by HTTP modes from server.
Step S203, parses index file, therefrom obtains the URI for reviewing the corresponding each slicing files of program;
The index file that client parsing is downloaded, obtains from index file and reviews the corresponding each slicing files of program
URI。
Step S204, according to the URI of each slicing files, downloads and decodes each slicing files of broadcasting successively from server.
Client asks the corresponding data of corresponding slicing files to server according to the URI of slicing files.Server parses
The request of client, navigates to corresponding slicing files, the content of reading client specified range, returns to client.
Client downloads each slicing files from server, carrying out decoding to each slicing files broadcasts successively by HTTP modes
Put, realize the broadcasting for reviewing program.
In addition, then client can also be directed to by parsing the key frame informations of each slicing files in index file
Property download the corresponding datas of slicing files, realize and make the operation such as positioning playing, fast forwarding and fast rewinding to reviewing program.
As shown in figure 3, above-mentioned steps S201 includes:
Step S2011, client send the URL's for obtaining the index file for reviewing program to the EPG modules of IPTV
First request;
Step S2012, receives the EPG modules of IPTV according to the URI of the index file for reviewing program of the first request return.
As shown in figure 4, above-mentioned steps S202 includes:
Step S2021, client is sent according to the URI of index file to server to be used to obtain the index text for reviewing program
Second request of part;
Step S2022, receives the index file for reviewing program that server is returned according to the second request.
In addition, for the original RTSP clients of IPTV, pervious mode can be still used, by server according to system
The information of preservation, after navigating to corresponding slicing files, extracts related data, client is sent to after breaking into RTP bags.Can also
The URI of index file is equally provided to RTSP client, and server after parsing index file, is read then in client request
The data of corresponding slicing files are taken, client is sent to after breaking into RTP bags.
Method can realize the traditional RTSP users of IPTV and the HTTP user of internet through this embodiment, share portion
Recorded file, realizes look back function.Reduce the storage resource consumption of streaming media server, improve the performance of server.And
And for operator, server side also only needs the HTTP server of deployment criteria, you can supports the HTTP of internet to use
Family, it is not necessary to customize, saved cost.
As shown in figure 5, one embodiment of the invention proposes that one kind reviews performance recording server, including:Receive and record module
501 and program module 502, wherein:
Receive and record module 501, for the channel live code stream of reception to be recorded into series at predetermined intervals
Slicing files;
Program module 502, for generating index file according to programme for each program of reviewing, index file includes
Each URI for reviewing the corresponding slicing files of program.
Further, program module 502 be additionally operable to when need to adjust review the beginning and ending time of program when, according to reviewing
The beginning and ending time of program regenerates index file.
Specifically, programme televised live look back function, service are provided to traditional IPTV user and Internet user in order to realize
The reception of device records module 501 and the channel live code stream of reception is recorded into a series of point at predetermined intervals first
Piece file;Each slicing files are the IPTV program request files of a standard.
Meanwhile the program module 502 of server generates a single rope according to programme for each program of reviewing
Quotation part, wherein including URI (the Universal Resource that the corresponding slicing files of program are reviewed with this
Identification, uniform resource identifier).Multiple slicing files are linked together by this index file, so as to be formed
The program of one multiple slicing files of leap.
Further, in the index file, the essential information for reviewing program, and the phase of slicing files can also be included
Close information.Wherein reviewing the essential information of program includes program duration, beginning and ending time, code check, resolution ratio, type of coding etc..Point
Beginning and ending time of the relevant information of piece file including slicing files, size, corresponding to playable time, the key frame for reviewing program
Index etc..
Further, the beginning and ending time for reviewing program is adjusted if desired, and server then only needs basis to review program
Beginning and ending time regenerate index file.
As shown in fig. 6, one embodiment of the invention proposes that one kind reviews program client end of playing back, including:Index file URI is obtained
Modulus block 601, index file acquisition module 602, slicing files URI parsing acquisition modules 603 and slicing files are downloaded and play mould
Block 604, wherein:
Index file URI acquisition modules 601, for obtaining the URI for the index file for reviewing program;
Index file acquisition module 602, the index text for reviewing program is obtained for the URI according to index file from server
Part;
Slicing files URI parses acquisition module 603, and for parsing index file, it is corresponding each to review program for therefrom acquisition
The URI of slicing files;
Slicing files download playing module 604, for the URI according to each slicing files, download and solve successively from server
Code plays each slicing files.
Further, slicing files URI parses acquisition module 603 and is additionally operable to parse each slicing files from index file
Key frame information;
Slicing files are downloaded playing module 604 and are additionally operable to according to key frame information from the corresponding of server downloading slicing file
Data, positioning playing is carried out to reviewing program.
Specifically, in the present embodiment, client carries out data interaction with server by HTTP.
When client needs to review program, index file URI acquisition modules 601 in client are to IPTV system
EPG modules send request, and the request that the EPG modules of IPTV system are sent according to client, returns to client and correspond to this time
See the URI of the index file of program.
After the index file URI acquisition modules 601 of client get the URI of the corresponding index file for reviewing program,
Index file acquisition module 602 is reviewed the index file of program to server acquisition request, is taken according to the URI of the index file
The request for device parsing client of being engaged in, after navigating to corresponding index file, reads index file content, returns to client.
The index file acquisition module 602 of client downloads the index file by HTTP modes from server.
Afterwards, the index file that the slicing files URI parsing parsings of acquisition module 603 of client are downloaded, from index file
It is middle to obtain the URI for reviewing the corresponding each slicing files of program.
The slicing files of client download URI of the playing module 604 according to slicing files, and corresponding burst is asked to server
The corresponding data of file.Server parses the request of client, navigates to corresponding slicing files, reading client specified range
Content, return to client.
Slicing files download playing module 604 by HTTP modes, each slicing files are downloaded successively from server, to each point
Piece file carries out decoding broadcasting, realizes the broadcasting for reviewing program.
In addition, then client can also be directed to by parsing the key frame informations of each slicing files in index file
Property download the corresponding datas of slicing files, realize and make the operation such as positioning playing, fast forwarding and fast rewinding to reviewing program.
As shown in fig. 7, above-mentioned index file URI acquisition modules 601 include:First transmitting element 6011 and first receives list
Member 6012, wherein:
First transmitting element 6011, is used to obtain the index file for reviewing program for sending to the EPG modules of IPTV
The first request of URL;
First receiving unit 6012, the rope for reviewing program that the EPG modules for receiving IPTV are returned according to the first request
The URI of quotation part.
As shown in figure 8, above-mentioned index file acquisition module 602 includes:Second transmitting element 6021 and the second receiving unit
6022, wherein:
Second transmitting element 6021, is additionally operable to be sent to server according to the URI of index file and reviews program for acquisition
Index file second request;
Second receiving unit 6022, is additionally operable to receive the index for the reviewing program text that server is returned according to the second request
Part.
In addition, for the original RTSP clients of IPTV, pervious mode can be still used, by server according to system
The information of preservation, after navigating to corresponding slicing files, extracts related data, client is sent to after breaking into RTP bags.Can also
The URI of index file is equally provided to RTSP client, and server after parsing index file, is read then in client request
The data of corresponding slicing files are taken, client is sent to after breaking into RTP bags.
The traditional RTSP users of IPTV and the HTTP user of internet can be realized through this embodiment, share a record
File, realizes look back function.Reduce the storage resource consumption of streaming media server, improve the performance of server.It is and right
For operator, server side also only needs the HTTP server of deployment criteria, you can supports the HTTP user of internet, no
Need to customize, saved cost.
As shown in figure 9, one embodiment of the invention proposes that one kind reviews performance broadcasting system, including:Client 901 and service
Device 902, wherein:
Server 902, for the channel live code stream of reception to be recorded into the burst of series at predetermined intervals
File;Index file is generated for each program of reviewing according to programme, wherein, index file is corresponding comprising each program is reviewed
The URI of slicing files;And index file and corresponding burst text are provided for client 901 according to the respective request of client 901
The download service of part;
Client 901, for obtaining the URI for the index file for reviewing program;According to the URI of index file from server
902 obtain the index file for reviewing program;Index file is parsed, therefrom obtains the URI for reviewing the corresponding each slicing files of program;
According to the URI of each slicing files, downloaded successively from server 902 and decode each slicing files of broadcasting.
Further, the client 901, is additionally operable to send RTSP requests to server according to the URI of index file;Connect
The RTP bags that server is returned according to RTSP requests are received, decodes and plays the slicing files in RTP bags;
Server 902, is additionally operable to be asked according to RTSP, parses corresponding index file, therefrom obtains corresponding burst text
Part, composition RTP bags are sent to client.
Specifically, HTTP clients 901 (Internet user) realize that reviewing program broadcasts with server 902 by HTTP modes
The process put is:
When client 901 needs to review program, client 901 sends request, IPTV systems to the EPG modules of IPTV system
The URI of each index file in server 902 is stored with the EPG modules of system, the EPG modules of IPTV system are according to client 901
The request sent, the URI for corresponding to the index file for reviewing program is returned to client 901.
After client 901 gets the URI of the corresponding index file for reviewing program, according to the URI of the index file, to
902 acquisition request of server reviews the index file of program, and server 902 parses the request of client 901, navigates to corresponding
After index file, index file content is read, returns to client 901.
Client 901 downloads the index file by HTTP modes from server 902.
Afterwards, the index file that the parsing of client 901 is downloaded, obtains from index file and reviews the corresponding each burst of program
The URI of file.
Client 901 asks the corresponding data of corresponding slicing files to server 902 in the URI according to slicing files.Clothes
Device 902 of being engaged in parses the request of client 901, navigates to corresponding slicing files, the content of 901 specified range of reading client,
Return to client 901.
Client 901 is downloaded each slicing files from server 902, each slicing files is carried out successively by HTTP modes
Decoding plays, and realizes the broadcasting for reviewing program.
In addition, then client 901 can also have pin by parsing the key frame informations of each slicing files in index file
The corresponding data of slicing files is downloaded to property, realizes and makees the operation such as positioning playing, fast forwarding and fast rewinding to reviewing program.
Corresponding RTSP client (RTSP user) 901 realizes that the process for the broadcasting for reviewing program is with server 902:
Client 901 reviews the URL of purpose index file to EPG request sections, and EPG reviews the index corresponding to program
The URL of file.
The URL of index file of the client 901 according to corresponding to this reviews program, RTSP requests are initiated to server 902.
Server 902 parses the request of client 901, after navigating to index file, reads file content, extracts related letter therein
Breath, constructs RTSP response signalings, returns to client 901.
Server 902 parses index file, obtains slicing files information therein;The RTSP sent according to client 901
Information in request, navigates to corresponding slicing files, reads corresponding data, is packaged into RTP bags, is sent to client.
After client receives the 901 RTP bags sent to server 902, then it can start decoding and play, program is reviewed in realization
Play.
Streaming Media of the embodiment of the present invention reviews performance recording, playback method, server, client and system, server
Generated for each program of reviewing comprising the index file for reviewing the corresponding slicing files of program, when client needs to play some time
When seeing program, the URL of the index file for reviewing program is obtained by the EPG modules of IPTV, according to the URL of the index file from
Server obtains the index file, and then the slicing files for reviewing program for needing to play are parsed from index file, finally
Carry out decoding broadcasting;In addition, for traditional original RTSP clients of IPTV, pervious mode can be still used, by taking
The information that business device is preserved according to system, after navigating to corresponding slicing files, extracts related data, composition RTP bags are sent to visitor
Family end.The URI of index file can also be equally provided by server to RTSP client, and server is then in client request
When, after parsing index file, the data of corresponding slicing files are read, composition RTP bags are sent to client, it is achieved thereby that IPTV
Traditional RTSP user and the HTTP user of internet, share portion recorded file, realize look back function, reduce Streaming Media clothes
The storage resource consumption of business device, improves the performance of server, and for operator, server side also only needs to dispose
The HTTP server of standard, you can support the HTTP user of internet, it is not necessary to customize, saved cost.
The foregoing is merely the preferred embodiment of the present invention, is not intended to limit the scope of the invention, every utilization
Equivalent structure or the flow conversion that description of the invention and accompanying drawing content are made, are directly or indirectly used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (14)
1. one kind reviews method of program recording, it is characterised in that including:
The channel live code stream of reception is recorded into the slicing files of series by server at predetermined intervals;
Index file is generated for each program of reviewing according to programme, the index file includes and each reviews corresponding point of program
The uniform resource identifier URI of piece file, the index file link together multiple slicing files;
The index file further also includes:The program duration for reviewing program, the beginning and ending time, code check, resolution ratio and/or
Type of coding;And beginning and ending times of slicing files, size, believe corresponding to the playable time for reviewing program and/or key frame
Breath.
2. according to the method described in claim 1, it is characterized in that, further include:
When needing to review the beginning and ending time of program described in adjustment, the server reviews the beginning and ending time weight of program according to
Newly-generated index file.
3. one kind reviews program broadcasting method, it is characterised in that including:
Client obtains the URI for the index file for reviewing program, and the index file links together multiple slicing files;Institute
Index file is stated further also to include:The program duration for reviewing program, beginning and ending time, code check, resolution ratio and/or coding class
Type;And beginning and ending times of slicing files, size, corresponding to the playable time and/or key frame information for reviewing program;
The index file of program is reviewed according to the URI of the index file from server acquisition;
The index file is parsed, the URI of the corresponding each slicing files of program is therefrom reviewed described in acquisition;
According to the URI of each slicing files, downloaded successively from the server and decode broadcasting each slicing files.
4. according to the method described in claim 3, it is characterized in that, further include:
Client parses the key frame information of each slicing files from the index file;
Corresponding data according to the key frame information from the server downloading slicing file, determines the program of reviewing
Position plays.
5. the method according to claim 3 or 4, it is characterised in that the client obtains the index file for reviewing program
URI the step of include:
Client sends to be used to obtaining to the electronic program guide EPG modules of Interactive Internet TV IPTV described reviews program
The first request of the URL of index file;
The EPG modules of the IPTV are received according to the URI of the index file for reviewing program of the described first request return.
6. according to the method described in claim 5, it is characterized in that, the URI according to index file obtains institute from server
The step of stating the index file for reviewing program includes:
Client sent according to the URI of the index file to the server be used to obtaining described in review the index file of program
Second request;
Receive the index file that the server reviews program according to returning to the described second request.
7. one kind reviews performance recording server, it is characterised in that including:
Receive and record module, for the channel live code stream of reception to be recorded into the burst text of series at predetermined intervals
Part;
Program module, for generating index file according to programme for each program of reviewing, the index file includes every
A URI for reviewing the corresponding slicing files of program;The index file links together multiple slicing files;The index text
Part further also includes:Program duration, beginning and ending time, code check, resolution ratio and/or the type of coding for reviewing program;And
Beginning and ending times of slicing files, size, corresponding to the playable time and/or key frame information for reviewing program.
8. server according to claim 7, it is characterised in that the program module, which is additionally operable to work as, to be needed to adjust institute
When stating the beginning and ending time for reviewing program, index file is regenerated according to the beginning and ending time for reviewing program.
9. one kind reviews program client end of playing back, it is characterised in that including:
Index file URI acquisition modules, for obtaining the URI for the index file for reviewing program, the index file is by multiple points
Piece file links together;The index file further also includes:Program duration, beginning and ending time, the code for reviewing program
Rate, resolution ratio and/or type of coding;And beginning and ending times of slicing files, size, corresponding to the playable time for reviewing program
And/or key frame information;
Index file acquisition module, for reviewing the index of program described in the URI according to the index file from server acquisition
File;
Slicing files URI parses acquisition module, and for parsing the index file, it is corresponding each that program is therefrom reviewed described in acquisition
The URI of slicing files;
Slicing files download playing module, for the URI according to each slicing files, download and solve successively from the server
Code plays each slicing files.
10. client according to claim 9, it is characterised in that
The slicing files URI parses acquisition module, is additionally operable to parse the key of each slicing files from the index file
Frame information;
The slicing files download playing module, are additionally operable to according to the key frame information from the server downloading slicing file
Corresponding data, to it is described review program carry out positioning playing.
11. client according to claim 9, it is characterised in that the index file URI acquisition modules include:
First transmitting element, for sending the URL's for being used for obtaining the index file for reviewing program to the EPG modules of IPTV
First request;
First receiving unit, the rope for reviewing program that the EPG modules for receiving the IPTV are returned according to the described first request
The URI of quotation part.
12. according to the client described in claim 9,10 or 11, it is characterised in that the index file acquisition module includes:
Second transmitting element, for the URI according to the index file to the server send be used for obtain described in review section
Second request of purpose index file;
Second receiving unit, for receive the server according to described second request return described in review program index text
Part.
13. one kind reviews performance broadcasting system, it is characterised in that including:Client and server, wherein:
The server, for the channel live code stream of reception to be recorded into the burst text of series at predetermined intervals
Part;Index file is generated for each program of reviewing according to programme, the index file includes and each reviews corresponding point of program
The URI of piece file;And index file and corresponding burst text are provided for the client according to the respective request of the client
The download service of part, the index file link together multiple slicing files;The index file further also includes:Institute
State program duration, beginning and ending time, code check, resolution ratio and/or the type of coding for reviewing program;And slicing files start-stop when
Between, size, corresponding to the playable time and/or key frame information for reviewing program;
The client, for obtaining the URI of the index file for reviewing program;According to the URI of the index file from clothes
The index file of program is reviewed described in business device acquisition;The index file is parsed, it is corresponding each that program is therefrom reviewed described in acquisition
The URI of slicing files;According to the URI of each slicing files, downloaded successively from the server and decode described each point of broadcasting
Piece file.
14. system according to claim 13, it is characterised in that
The client, being additionally operable to please to the Real-time streaming agreement RTSP of server transmission according to the URI of the index file
Ask;The realtime transmission protocol RTP bag that the server is returned according to RTSP requests is received, decodes and plays the RTP bags
In slicing files;
The server, is additionally operable to be asked according to the RTSP, parses corresponding index file, therefrom obtains corresponding burst text
Part, composition RTP bags are sent to the client.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110306682.5A CN103051931B (en) | 2011-10-11 | 2011-10-11 | Review performance recording, playback method, server, client and system |
PCT/CN2012/082791 WO2013053326A1 (en) | 2011-10-11 | 2012-10-11 | Method, server, client and system for recording and playing replay program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110306682.5A CN103051931B (en) | 2011-10-11 | 2011-10-11 | Review performance recording, playback method, server, client and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103051931A CN103051931A (en) | 2013-04-17 |
CN103051931B true CN103051931B (en) | 2018-05-01 |
Family
ID=48064412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110306682.5A Active CN103051931B (en) | 2011-10-11 | 2011-10-11 | Review performance recording, playback method, server, client and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103051931B (en) |
WO (1) | WO2013053326A1 (en) |
Families Citing this family (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103347220B (en) * | 2013-06-18 | 2016-12-28 | 天脉聚源(北京)传媒科技有限公司 | A kind of method and device reviewing live file |
CN103533395A (en) * | 2013-09-27 | 2014-01-22 | 武汉市烽视威科技有限公司 | Method and system for realizing playback of hyper text transfer protocol (HTTP) live streaming (HLS) channel |
CN104781807B (en) * | 2013-10-21 | 2018-11-09 | 华为技术有限公司 | Management method, server and the client of streaming media resource |
CN103607655B (en) * | 2013-11-15 | 2017-02-01 | 乐视网信息技术(北京)股份有限公司 | A playback method for live programs and an electronic device |
CN103763339B (en) * | 2013-12-23 | 2018-07-27 | 上海聚力传媒技术有限公司 | A kind of method and apparatus for generating and obtaining live media data |
CN104185037A (en) * | 2014-02-28 | 2014-12-03 | 无锡天脉聚源传媒科技有限公司 | Method, device and system for transmitting and playing video |
CN104092690B (en) * | 2014-07-15 | 2017-03-01 | 金亚科技股份有限公司 | Streaming Media review Media Stream bandwidth control system and method |
CN105338297B (en) * | 2014-08-11 | 2019-03-12 | 杭州海康威视系统技术有限公司 | A kind of storage of video data and playback system, device and method |
CN105376612A (en) * | 2014-08-26 | 2016-03-02 | 华为技术有限公司 | Video playing method, media equipment, playing equipment and multimedia system |
CN104580389B (en) * | 2014-12-18 | 2017-12-01 | 河海大学 | The client side HTTP search method of the Ogg form time slices of URI marks |
CN104539984B (en) * | 2014-12-30 | 2018-09-28 | 北京奇艺世纪科技有限公司 | A kind of video broadcasting method, apparatus and system |
CN105142005A (en) * | 2015-09-21 | 2015-12-09 | 深圳市九洲电器有限公司 | Program recording sharing method and system |
CN106559677B (en) * | 2015-09-30 | 2020-04-03 | 华为技术有限公司 | Terminal, cache server and method and device for acquiring video fragments |
CN106658150B (en) * | 2015-11-03 | 2020-01-17 | 中兴通讯股份有限公司 | Method and device for realizing review processing |
CN105872573A (en) * | 2015-12-15 | 2016-08-17 | 乐视网信息技术(北京)股份有限公司 | Video playing method and apparatus |
CN107613321A (en) * | 2016-07-12 | 2018-01-19 | 北京数码视讯科技股份有限公司 | A kind of method of program recording and device |
CN106303585B (en) * | 2016-07-26 | 2020-03-10 | 华为技术有限公司 | Program review method, media server, set top box and program review system |
CN110881131B (en) * | 2018-09-06 | 2021-07-23 | 武汉斗鱼网络科技有限公司 | Classification method of live review videos and related device thereof |
CN110446118B (en) * | 2019-07-01 | 2021-08-20 | 创新先进技术有限公司 | Video resource preprocessing method and device and video resource downloading method and device |
CN112714335A (en) * | 2019-10-24 | 2021-04-27 | 中兴通讯股份有限公司 | Live media stream recording method, system and computer readable storage medium |
CN112825081A (en) * | 2019-11-20 | 2021-05-21 | 云丁网络技术(北京)有限公司 | Video information processing method and device, electronic equipment, processor and readable medium |
CN111246314B (en) * | 2020-01-14 | 2021-12-17 | 深圳市华曦达科技股份有限公司 | Time-shifting live broadcast method, server device, client device and live broadcast system |
CN111787420B (en) * | 2020-07-23 | 2022-11-04 | 北京数码视讯技术有限公司 | Data processing method and device, electronic equipment and readable storage medium |
CN113794937B (en) * | 2021-11-16 | 2022-02-08 | 深圳市华曦达科技股份有限公司 | Multi-time zone channel review method |
CN114827735A (en) * | 2022-04-21 | 2022-07-29 | 咪咕文化科技有限公司 | Video review method, device, equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101489103A (en) * | 2009-01-16 | 2009-07-22 | 中兴通讯股份有限公司 | Recording method and profiling method for play-on-demand program |
CN101848366A (en) * | 2010-05-07 | 2010-09-29 | 中兴通讯股份有限公司 | Filing and program transmitting method and equipment of time shift slicing files in IPTV (Internet Protocol Television) system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101686228B (en) * | 2008-09-27 | 2013-12-11 | 中兴通讯股份有限公司 | Multimedia slicing switching method and system based on content slicing |
CN101727460A (en) * | 2008-10-31 | 2010-06-09 | 中兴通讯股份有限公司 | Method and system for positioning content fragment |
CN102006511A (en) * | 2010-11-24 | 2011-04-06 | 中兴通讯股份有限公司 | Method and device for looking back live program and terminal |
-
2011
- 2011-10-11 CN CN201110306682.5A patent/CN103051931B/en active Active
-
2012
- 2012-10-11 WO PCT/CN2012/082791 patent/WO2013053326A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101489103A (en) * | 2009-01-16 | 2009-07-22 | 中兴通讯股份有限公司 | Recording method and profiling method for play-on-demand program |
CN101848366A (en) * | 2010-05-07 | 2010-09-29 | 中兴通讯股份有限公司 | Filing and program transmitting method and equipment of time shift slicing files in IPTV (Internet Protocol Television) system |
Also Published As
Publication number | Publication date |
---|---|
WO2013053326A1 (en) | 2013-04-18 |
CN103051931A (en) | 2013-04-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103051931B (en) | Review performance recording, playback method, server, client and system | |
US8463849B2 (en) | Method and apparatus for providing broadcast content and system using the same | |
CN106060102B (en) | Media providing method and terminal | |
EP2618534B1 (en) | Method, apparatus, and system for dynamic media content insertion based on http stream | |
CA2852204C (en) | Apparatus and method for configuring control message in broadcasting system | |
EP2615841B1 (en) | Apparatus and method for providing streaming content | |
KR101734168B1 (en) | Media file receiving and media file sending methods, apparatuses, and systems | |
CN104796796B (en) | Improve the fault-tolerant method of the HLS streaming players of Android platform | |
EP3226198A1 (en) | Apparatus and method for providing streaming content | |
US20100037258A1 (en) | Mobile broadcasting system and method for enhancing mobile broadcasting services with rich media including an enhanced service guide | |
WO2011110065A1 (en) | Method and apparatus for cross-platform replay from pause point, method and apparatus for replay from pause point | |
CN102118428A (en) | Method and system for playing streaming media | |
CN102572558B (en) | A kind of method of video inter-cut, Apparatus and system | |
US11410199B2 (en) | Reception apparatus, transmission apparatus, and data processing method | |
CN107251521A (en) | Method and apparatus for sending and receiving media information in a communications system | |
US11178453B2 (en) | Signaling and reporting interactivity usage in streaming services | |
CN109151614B (en) | Method and device for reducing HLS live broadcast delay | |
CN101848367A (en) | File-based video live webcasting method | |
KR102461599B1 (en) | Reception device, reception method, transmission device, and transmission method | |
KR20180018490A (en) | Receiving device, transmitting device, and data processing method | |
WO2016090912A1 (en) | Method, device, terminal and system for generating and playing live video | |
CN102137288A (en) | Method for realizing carousel services and carousel server | |
CN104469417A (en) | On-demand method and on-demand device for internet protocol television (IPTV), set top box and server | |
CN109923869A (en) | Dynamic event signaling | |
KR101073667B1 (en) | Targeting Information Service System between Home Terminal and mobile Terminal |
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 |