CN103051931A - Method, server, client and system for recording and playing replay program - Google Patents

Method, server, client and system for recording and playing replay program Download PDF

Info

Publication number
CN103051931A
CN103051931A CN2011103066825A CN201110306682A CN103051931A CN 103051931 A CN103051931 A CN 103051931A CN 2011103066825 A CN2011103066825 A CN 2011103066825A CN 201110306682 A CN201110306682 A CN 201110306682A CN 103051931 A CN103051931 A CN 103051931A
Authority
CN
China
Prior art keywords
program
index file
server
uri
slicing files
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011103066825A
Other languages
Chinese (zh)
Other versions
CN103051931B (en
Inventor
王芳
朱晓斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201110306682.5A priority Critical patent/CN103051931B/en
Priority to PCT/CN2012/082791 priority patent/WO2013053326A1/en
Publication of CN103051931A publication Critical patent/CN103051931A/en
Application granted granted Critical
Publication of CN103051931B publication Critical patent/CN103051931B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a method, server, client and system for recording and playing a replay program of stream media. The playing method comprises the following steps of acquiring a URI (Uniform Resource Identifier) of an index file of the replay program by the client; acquiring the index file of the replay program from the server according to the URI of the index file; parsing the index file and acquiring the URI of each corresponding sub file of the replay program from the index file; and according to the URI of each sub file, sequentially downloading, decoding and playing each sub file from the server. A traditional RTSP (real time streaming protocol) user of the IPTV (internet protocol television) and an HTTP (Hyper Text Transport Protocol) user of the internet can share one record file, a replay function is realized, the storage resource consumption of a streaming media server is reduced, the performance of the server is promoted, and for an operator, the HTTP user of the internet can be supported if the server is only configured with a standard HTTP server without customization, so that the cost is saved.

Description

Review performance recording, player method, server, client and system
Technical field
The present invention relates to the network multimedia technology field, what relate in particular to a kind of Streaming Media reviews performance recording, player method, server, client and system.
Background technology
Along with popularizing and the development of multimedia technology of broadband networks, the application of stream media technology is also more and more extensive.For example IPTV (Interactive Personality TV, IPTV) is a kind of typical Stream Media Application.
IPTV is mainly based on RTSP (Real Time Streaming Protocol, real-time fluidisation agreement)/RTP (Real-time Transport Protocol, RTP), except can for the user provides the service of traditional tv, providing the specific functions such as program look back.What is called is reviewed, and refers to live channel program is carried out real-time recording by listing, then supplies user's on-demand playback.When recording, usually direct-broadcasting code stream is recorded into one by one slicing files by natural time, internal system is preserved the beginning and ending time information of reviewing program, when user's program request is watched, streaming media server reads the content of corresponding slicing files according to reviewing the program beginning and ending time, controls the behavior of giving out a contract for a project.
Along with the development of triple play technology, IPTV also begins to permeate to internet arena.Different from the RTSP/RTP mode, the Internet user is by EPG (Electronic Program Guide, electric program menu) retrieve respective program after, usually by HTTP (Hypertext Transfer Protocol, HTML (Hypertext Markup Language)), the media file download that program is corresponding is play to local.Therefore, require the corresponding media file of a program.If adopt the performance recording mode of reviewing of above-mentioned IP TV, then inconvenience directly offers Internet user's use.And if record the special program of reviewing for the Internet user separately, for example press the beginning and ending time of programme, direct-broadcasting code stream is recorded into independent one by one file, then on the one hand, owing to separately record, can take two parts of memory spaces, consume two parts of storage capacities, the waste resource; On the other hand, if need to adjust the beginning and ending time of reviewing program after finishing recording, operation trouble comparatively then.
Summary of the invention
What main purpose of the present invention was to provide a kind of Streaming Media reviews performance recording, player method, server, client and system, can be easily provide the programme televised live look back function for traditional IPTV user and Internet user, the conserve memory resource improves systematic function.
In order to achieve the above object, the present invention proposes a kind of method of program recording of reviewing, and comprising:
Server with the channel live code stream that receives according to predetermined time the interval record into the slicing files of series;
Review program generating indexes file according to programme for each, described index file comprises each URI that reviews slicing files corresponding to program.
Preferably, described index file further also comprises: described program duration, beginning and ending time, code check, resolution and/or the type of coding of reviewing program; But and the beginning and ending time of slicing files, size, corresponding to the reproduction time of reviewing program and/or key frame information.
Preferably, the method also comprises:
When needs were adjusted the described beginning and ending time of reviewing program, described server regenerated index file according to the described beginning and ending time of reviewing program.
The present invention also proposes a kind of program broadcasting method of reviewing, and comprising:
Client is obtained the URI of the index file of reviewing program;
URI according to described index file obtains the described index file of reviewing program from server;
Resolve described index file, therefrom obtain the described URI that reviews each slicing files corresponding to program;
According to the URI of described each slicing files, download successively and decode and play described each slicing files from described server.
Preferably, the method also comprises:
Client parses the key frame information of each slicing files from described index file;
According to the corresponding data of described key frame information from described server downloading slicing file, the described program of reviewing is positioned broadcast.
Preferably, the described client step of obtaining the URI of the index file of reviewing program comprises:
Client sends the first request of the URL that is used for obtaining the described index file of reviewing program to the EPG module of IPTV;
The described URI that reviews the index file of program that the EPG module that receives described IPTV is returned according to described the first request.
Preferably, described URI according to index file obtains the described step of reviewing the index file of program from server and comprises:
Client sends for obtaining described the second request of reviewing the index file of program to described server according to the URI of described index file;
Receive the described index file of reviewing program that described server returns according to described the second request.
The present invention also proposes a kind of performance recording server of reviewing, and comprising:
Module is recorded in reception, be used for the channel live code stream that will receive according to predetermined time the interval record into the slicing files of series;
The program module is used for reviewing program generating indexes file according to programme for each, and described index file comprises each URI that reviews slicing files corresponding to program.
Preferably, described program module also is used for when needing adjustment during the described beginning and ending time of reviewing program, regenerates index file according to the described beginning and ending time of reviewing program.
The present invention also proposes a kind of program client end of playing back of reviewing, and comprising:
Index file URI acquisition module is for the URI that obtains the index file of reviewing program;
The index file acquisition module is used for obtaining the described index file of reviewing program according to the URI of described index file from server;
Slicing files URI resolves acquisition module, is used for resolving described index file, therefrom obtains the described URI that reviews each slicing files corresponding to program;
Slicing files downloading and playing module is used for the URI according to described each slicing files, downloads successively and decodes and play described each slicing files from described server.
Preferably, described slicing files URI resolves acquisition module, also is used for parsing from described index file the key frame information of each slicing files;
Described slicing files downloading and playing module also is used for according to the corresponding data of described key frame information from described server downloading slicing file, and the described program of reviewing is positioned broadcast.
Preferably, described index file URI acquisition module comprises:
The first transmitting element is used for sending to the EPG module of IPTV the first request of the URL that is used for obtaining the described index file of reviewing program;
The first receiving element is used for receiving the described URI that reviews the index file of program that the EPG module of described IPTV is returned according to described the first request.
Preferably, described index file acquisition module comprises:
The second transmitting element is used for sending for obtaining described the second request of reviewing the index file of program to described server according to the URI of described index file;
The second receiving element is used for receiving the described index file of reviewing program that described server returns according to described the second request.
The present invention also proposes a kind of performance broadcasting system of reviewing, and comprising: client and server, wherein:
Described server, be used for the channel live code stream that will receive according to predetermined time the interval record into the slicing files of series; Review program generating indexes file according to programme for each, described index file comprises each URI that reviews slicing files corresponding to program; And the download service that index file and corresponding slicing files are provided for described client according to the respective request of described client;
Described client is used for obtaining the described URI that reviews the index file of program; URI according to described index file obtains the described index file of reviewing program from server; Resolve described index file, therefrom obtain the described URI that reviews each slicing files corresponding to program; According to the URI of described each slicing files, download successively and decode and play described each slicing files from described server.
Preferably, described client also is used for sending the RTSP request according to the URI of described index file to described server; Receive the described server RTP bag that request is returned according to described RTSP, decode and play slicing files in the described RTP bag;
Described server also is used for resolving corresponding index file according to described RTSP request, therefrom obtains corresponding slicing files, forms the RTP bag and is sent to described client.
A kind of Streaming Media that the present invention proposes review performance recording, player method, server, client and system, server is reviewed the program generation for each and is comprised the index file of reviewing slicing files corresponding to program, when client need to be play certain and reviews program, EPG module by IPTV is obtained the URL that this reviews the index file of program, URL according to this index file obtains this index file from server, and then from index file, parse the slicing files of reviewing program of need playing, the broadcast of finally decoding; In addition, for the original RTSP client of traditional IPTV, can still adopt former mode, by server according to the information that system preserves, navigate to corresponding slicing files after, extract related data, form the RTP bag and send to client.The URI of index file also can be provided to the RTSP client by server equally, server is then when client-requested, after resolving index file, read the data of corresponding slicing files, form the RTP bag and send to client, thereby RTSP user that IPTV is traditional and the HTTP user of the Internet have been realized, share a recorded file, realize look back function, reduced the storage resource consumption of streaming media server, promoted the performance of server, and for operator, server side also only needs the http server of deployment criteria, can support the HTTP user of the Internet, do not need customization, saved cost.
Description of drawings
Fig. 1 is the schematic flow sheet that the present invention reviews method of program recording one embodiment;
Fig. 2 is the schematic flow sheet that the present invention reviews program broadcasting method one embodiment;
Fig. 3 is that the present invention reviews the schematic flow sheet that client among program broadcasting method one embodiment is obtained the URI of the index file of reviewing program;
Fig. 4 is that the present invention reviews the schematic flow sheet that obtains the index file of reviewing program among program broadcasting method one embodiment according to the URI of index file from server;
Fig. 5 is the structural representation that the present invention reviews performance recording server one embodiment;
Fig. 6 is the structural representation that the present invention reviews program client end of playing back one embodiment;
Fig. 7 is the structural representation that the present invention reviews index file URI acquisition module among program client end of playing back one embodiment;
Fig. 8 is the structural representation that the present invention reviews index file acquisition module among program client end of playing back one embodiment;
Fig. 9 is the structural representation that the present invention reviews performance broadcasting system one embodiment.
In order to make technical scheme of the present invention clearer, clear, be described in further detail below in conjunction with accompanying drawing.
Embodiment
Solution for embodiment of the invention mainly is: server is reviewed the program generation for each and is comprised the index file of reviewing slicing files corresponding to program, when client need to be play certain and reviews program, EPG module by IPTV is obtained the URL that this reviews the index file of program, URL according to this index file obtains this index file from server, and then from index file, parse the slicing files of reviewing program of need playing, the broadcast of finally decoding; For the original RTSP client of traditional IPTV, can still adopt former mode, by server according to the information that system preserves, navigate to corresponding slicing files after, extract related data, form the RTP bag and send to client.The URI of index file also can be provided to the RTSP client by server equally, server is then when client-requested, after resolving index file, read the data of corresponding slicing files, form the RTP bag and send to client, the RTSP user that realization IPTV is traditional and the HTTP user of the Internet, share a recorded file, realize look back function, reduce the storage resource consumption of streaming media server, promoted the performance of server.
As shown in Figure 1, one embodiment of the invention proposes a kind of method of program recording of reviewing, and comprising:
Step S101, server with the channel live code stream that receives according to predetermined time the interval record into the slicing files of series;
Step S102 reviews program generating indexes file according to programme for each, and index file comprises each URI that reviews slicing files corresponding to program.
Server-compatible RTSP and HTTP in the present embodiment, in order to realize providing the programme televised live look back function to traditional IPTV user and Internet user, the reception of server record module at first with the channel live code stream that receives according to predetermined time the interval record into a series of slicing files; Each slicing files is the IPTV program request file of a standard.
Simultaneously, the program module of server is according to programme, review program for each and generate an independent index file, wherein comprise the URI (Universal Resource Identification, unified resource sign) that reviews slicing files corresponding to program with this.By this index file a plurality of slicing files are linked together, thereby form a program of crossing over a plurality of slicing files.
Further, in this index file, can also comprise the essential information that this reviews program, and the relevant information of slicing files.The essential information of wherein reviewing program comprises program duration, beginning and ending time, code check, resolution, type of coding etc.But the relevant information of slicing files comprises the beginning and ending time, size of slicing files, corresponding to the reproduction time of reviewing program, key frame index etc.
Further, review the beginning and ending time of program if need to adjust this, server then only needs to regenerate index file according to the beginning and ending time of reviewing program and gets final product.
The stream take channel code stream as TS (Transport Stream meets the transport stream of ISO/IEC13818-1 standard) is example.Module receiving channels code stream is recorded in the reception of server, carries out cutting by 30 minutes durations, records into continuously a series of slicing files, and each slicing files is a mpg file (pure TS bag forms), and is as shown in table 1 below:
The 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
The relevant information that module need to record above-mentioned slicing files is simultaneously recorded in the reception of server, the usefulness so that follow-up other modules are for further processing.
The program module of server is according to programme, extract the information of corresponding slicing files, the index file of program is reviewed in generation, but but wherein needs to comprise the reproduction time scope of URI, each slicing files of the slicing files corresponding with this program and played data position hereof etc.For example for a certain program of reviewing, the time range of its programme is 2010-7-7 8:15~2010-7-7 9:20, then in its index file, need to comprise slicing files information as shown in table 2 below:
Slicing files URI But reproduction time 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 doing the operations such as positioning playing and fast forwarding and fast rewinding, can also further comprise key frame information in the index file, i.e. corresponding time of key frame in each slicing files, the deviation post in slicing files and length etc.
In addition, if after the program making, the actual broadcast time of program is reviewed in discovery and the time of programme is not inconsistent, for example the above-mentioned actual broadcast time of reviewing program is 2010-7-7 8:25~2010-7-7 9:30, then only need the corresponding slicing files information in the index file of revising, as shown in table 3 below:
Slicing files URI But reproduction time 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 comprise key frame information in the index file, then the key frame information in the index file also needs to revise simultaneously.
Follow-up, client can be obtained the slicing files of reviewing accordingly program according to index file, reviews the decoding of program and plays, and about reviewing the broadcast of program, sees also embodiment shown in Figure 2.
As shown in Figure 2, one embodiment of the invention proposes a kind of program broadcasting method of reviewing, and comprising:
Step S201, client is obtained the URI of the index file of reviewing program;
Present embodiment client and server carry out data interaction by HTTP.
When client need to be reviewed program, client sent request to the EPG module of IPTV system, and the URI that reviews the index file of program corresponding to this is returned in the request that the EPG module of IPTV system is sent according to client to client.
Step S202 obtains the index file of reviewing program according to the URI of index file from server;
Client according to the URI of this index file, is obtained the index file of reviewing program after getting access to the URI of the corresponding index file of reviewing program to server request, the request of server parses client, after navigating to corresponding index file, read the index file content, return to client.
Client is downloaded this index file by the HTTP mode from server.
Step S203 resolves index file, therefrom obtains the URI that reviews each slicing files corresponding to program;
Client is resolved the index file of downloading, and obtains the URI that reviews each slicing files corresponding to program from index file.
Step S204 according to the URI of each slicing files, downloads successively and decodes and play each slicing files from server.
Client is according to the URI of slicing files, to the corresponding data of the corresponding slicing files of server request.The request of server parses client navigates to corresponding slicing files, reads the content of client specified scope, returns to client.
Client is downloaded each slicing files from server successively by the HTTP mode, and to broadcasts of decoding of each slicing files, the broadcast of program is reviewed in realization.
In addition, client can also be by resolving the key frame information of each slicing files in the index file, and then the corresponding data of downloading slicing file is targetedly realized doing the operations such as positioning playing, fast forwarding and fast rewinding to reviewing program.
As shown in Figure 3, above-mentioned steps S201 comprises:
Step S2011, client is asked for first of the URL that obtains the index file of reviewing program to the EPG module transmission of IPTV;
Step S2012, the URI of the index file of reviewing program that the EPG module that receives IPTV is returned according to the first request.
As shown in Figure 4, above-mentioned steps S202 comprises:
Step S2021, client sends the second request that is used for obtaining the index file of reviewing program according to the URI of index file to server;
Step S2022, the index file of reviewing program that reception server returns according to the second request.
In addition, for the original RTSP client of IPTV, can still adopt former mode, by server according to the information that system preserves, navigate to corresponding slicing files after, extract related data, send to client after breaking into the RTP bag.The URI that also can index file is provided for the RTSP client equally, server then when client-requested, behind the parsing index file, read the data of corresponding slicing files, break into and send to client after RTP wraps.
Can realize RTSP user that IPTV is traditional and the HTTP user of the Internet by the present embodiment method, share a recorded file, realize look back function.Reduce the storage resource consumption of streaming media server, promoted the performance of server.And for operator, server side also only needs the http server of deployment criteria, can support the HTTP user of the Internet, does not need customization, has saved cost.
As shown in Figure 5, one embodiment of the invention proposes a kind of performance recording server of reviewing, and comprising: receive and record module 501 and program module 502, wherein:
Module 501 is recorded in reception, be used for the channel live code stream that will receive according to predetermined time the interval record into the slicing files of series;
Program module 502 is used for reviewing program generating indexes file according to programme for each, and index file comprises each URI that reviews slicing files corresponding to program.
Further, program module 502 also is used for when needing adjustment to review the beginning and ending time of program, regenerates index file according to the beginning and ending time of reviewing program.
Particularly, in order to realize providing the programme televised live look back function to traditional IPTV user and Internet user, the reception of server record module 501 at first with the channel live code stream that receives according to predetermined time the interval record into a series of slicing files; Each slicing files is the IPTV program request file of a standard.
Simultaneously, the program module 502 of server is according to programme, review program for each and generate an independent index file, wherein comprise the URI (Universal Resource Identification, unified resource sign) that reviews slicing files corresponding to program with this.By this index file a plurality of slicing files are linked together, thereby form a program of crossing over a plurality of slicing files.
Further, in this index file, can also comprise the essential information that this reviews program, and the relevant information of slicing files.The essential information of wherein reviewing program comprises program duration, beginning and ending time, code check, resolution, type of coding etc.But the relevant information of slicing files comprises the beginning and ending time, size of slicing files, corresponding to the reproduction time of reviewing program, key frame index etc.
Further, review the beginning and ending time of program if need to adjust this, server then only needs to regenerate index file according to the beginning and ending time of reviewing program and gets final product.
As shown in Figure 6, one embodiment of the invention proposes a kind of program client end of playing back of reviewing, comprise: index file URI acquisition module 601, index file acquisition module 602, slicing files URI resolve acquisition module 603 and slicing files downloading and playing module 604, wherein:
Index file URI acquisition module 601 is for the URI that obtains the index file of reviewing program;
Index file acquisition module 602 is used for obtaining the index file of reviewing program from server according to the URI of index file;
Slicing files URI resolves acquisition module 603, is used for resolving index file, therefrom obtains the URI that reviews each slicing files corresponding to program;
Slicing files downloading and playing module 604 is used for the URI according to each slicing files, downloads successively and decodes and play each slicing files from server.
Further, slicing files URI resolves the key frame information that acquisition module 603 also is used for parsing from index file each slicing files;
Slicing files downloading and playing module 604 also is used for according to the corresponding data of key frame information from server downloading slicing file, positions broadcast to reviewing program.
Particularly, in the present embodiment, client and server carry out data interaction by HTTP.
When client need to be reviewed program, index file URI acquisition module 601 in the client sends request to the EPG module of IPTV system, the URI that reviews the index file of program corresponding to this is returned in the request that the EPG module of IPTV system is sent according to client to client.
After the index file URI acquisition module 601 of client gets access to the URI of the corresponding index file of reviewing program, index file acquisition module 602 is according to the URI of this index file, obtain the index file of reviewing program to server request, the request of server parses client, after navigating to corresponding index file, read the index file content, return to client.
The index file acquisition module 602 of client is downloaded this index file by the HTTP mode from server.
Afterwards, the slicing files URI of client resolves acquisition module 603 and resolves the index file of downloading, and obtains the URI that reviews each slicing files corresponding to program from index file.
The slicing files downloading and playing module 604 of client is according to the URI of slicing files, to the corresponding data of the corresponding slicing files of server request.The request of server parses client navigates to corresponding slicing files, reads the content of client specified scope, returns to client.
Slicing files downloading and playing module 604 is downloaded each slicing files by the HTTP mode successively from server, and to broadcasts of decoding of each slicing files, the broadcast of program is reviewed in realization.
In addition, client can also be by resolving the key frame information of each slicing files in the index file, and then the corresponding data of downloading slicing file is targetedly realized doing the operations such as positioning playing, fast forwarding and fast rewinding to reviewing program.
As shown in Figure 7, above-mentioned index file URI acquisition module 601 comprises: the first transmitting element 6011 and the first receiving element 6012, wherein:
The first transmitting element 6011 is used for asking for first of the URL that obtains the index file of reviewing program to the EPG module transmission of IPTV;
The URI of the index file of reviewing program that the first receiving element 6012, the EPG module that be used for to receive IPTV return according to the first request.
As shown in Figure 8, above-mentioned index file acquisition module 602 comprises: the second transmitting element 6021 and the second receiving element 6022, wherein:
The second transmitting element 6021 also is used for sending the second request that is used for obtaining the index file of reviewing program to server according to the URI of index file;
The second receiving element 6022 also is used for the index file of reviewing program that reception server returns according to the second request.
In addition, for the original RTSP client of IPTV, can still adopt former mode, by server according to the information that system preserves, navigate to corresponding slicing files after, extract related data, send to client after breaking into the RTP bag.The URI that also can index file is provided for the RTSP client equally, server then when client-requested, behind the parsing index file, read the data of corresponding slicing files, break into and send to client after RTP wraps.
Can realize RTSP user that IPTV is traditional and the HTTP user of the Internet by present embodiment, share a recorded file, realize look back function.Reduce the storage resource consumption of streaming media server, promoted the performance of server.And for operator, server side also only needs the http server of deployment criteria, can support the HTTP user of the Internet, does not need customization, has saved cost.
As shown in Figure 9, one embodiment of the invention proposes a kind of performance broadcasting system of reviewing, and comprising: client 901 and server 902, wherein:
Server 902, be used for the channel live code stream that will receive according to predetermined time the interval record into the slicing files of series; Review program generating indexes file according to programme for each, wherein, index file comprises each URI that reviews slicing files corresponding to program; And the download service that index file and corresponding slicing files are provided for client 901 according to the respective request of client 901;
Client 901 is for the URI that obtains the index file of reviewing program; URI according to index file obtains the index file of reviewing program from server 902; Resolve index file, therefrom obtain the URI that reviews each slicing files corresponding to program; According to the URI of each slicing files, download successively and decode and play each slicing files from server 902.
Further, described client 901 also is used for sending the RTSP request according to the URI of index file to server; The reception server RTP bag that request is returned according to RTSP, the slicing files in decoding and the broadcast RTP bag;
Server 902 also is used for the request according to RTSP, resolves corresponding index file, therefrom obtains corresponding slicing files, forms the RTP bag and is sent to client.
Particularly, HTTP client 901 (Internet user) realizes that by HTTP mode and server 902 process of reviewing the program broadcast is:
When client 901 need to be reviewed program, client 901 sends request to the EPG module of IPTV system, store the URI of each index file in the server 902 in the EPG module of IPTV system, the request that the EPG module of IPTV system is sent according to client 901 returns the URI that reviews the index file of program corresponding to this for client 901.
After client 901 gets access to the URI of the corresponding index file of reviewing program, URI according to this index file, review the index file of program to server 902 acquisition request, server 902 is resolved the request of client 901, after navigating to corresponding index file, read the index file content, return to client 901.
Client 901 is downloaded this index file by the HTTP mode from server 902.
Afterwards, client 901 is resolved the index file of downloading, and obtains the URI that reviews each slicing files corresponding to program from index file.
Client 901 is at the URI according to slicing files, to the corresponding data of the corresponding slicing files of server 902 requests.Server 902 is resolved the request of client 901, navigates to corresponding slicing files, reads the content of client 901 specified scopes, returns to client 901.
Client 901 is downloaded each slicing files by the HTTP mode successively from server 902, and to broadcasts of decoding of each slicing files, the broadcast of program is reviewed in realization.
In addition, client 901 can also be by resolving the key frame information of each slicing files in the index file, and then the corresponding data of downloading slicing file is targetedly realized doing the operations such as positioning playing, fast forwarding and fast rewinding to reviewing program.
Corresponding RTSP client (RTSP user) 901 with the process that the broadcast of program is reviewed in server 902 realizations is:
Client 901 saves the URL that reviews the purpose index file to the EPG request, and EPG returns the URL that reviews the corresponding index file of program.
Client 901 is reviewed the URL of the corresponding index file of program according to this, initiates the RTSP request to server 902.Server 902 is resolved the request of clients 901, navigate to index file after, the file reading content is extracted relevant information wherein, structure RTSP response signaling returns to client 901.
Server 902 is resolved index file, obtains slicing files information wherein; Information in the RTSP request of sending according to client 901 navigates to corresponding slicing files, reads corresponding data, is packaged into the RTP bag, sends to client.
Client receives 901 behind the RTP bag of server 902 transmissions, then can begin decoding and play, and realizes reviewing the broadcast of program.
Embodiment of the invention Streaming Media review performance recording, player method, server, client and system, server is reviewed the program generation for each and is comprised the index file of reviewing slicing files corresponding to program, when client need to be play certain and reviews program, EPG module by IPTV is obtained the URL that this reviews the index file of program, URL according to this index file obtains this index file from server, and then from index file, parse the slicing files of reviewing program of need playing, the broadcast of finally decoding; In addition, for the original RTSP client of traditional IPTV, can still adopt former mode, by server according to the information that system preserves, navigate to corresponding slicing files after, extract related data, form the RTP bag and send to client.The URI of index file also can be provided to the RTSP client by server equally, server is then when client-requested, after resolving index file, read the data of corresponding slicing files, form the RTP bag and send to client, thereby RTSP user that IPTV is traditional and the HTTP user of the Internet have been realized, share a recorded file, realize look back function, reduced the storage resource consumption of streaming media server, promoted the performance of server, and for operator, server side also only needs the http server of deployment criteria, can support the HTTP user of the Internet, do not need customization, saved cost.
The above only is the preferred embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical field, all in like manner be included in the scope of patent protection of the present invention.

Claims (15)

1. review method of program recording for one kind, it is characterized in that, comprising:
Server with the channel live code stream that receives according to predetermined time the interval record into the slicing files of series;
Review program generating indexes file according to programme for each, described index file comprises each unified resource sign URI that reviews slicing files corresponding to program.
2. method according to claim 1 is characterized in that, described index file further also comprises: described program duration, beginning and ending time, code check, resolution and/or the type of coding of reviewing program; But and the beginning and ending time of slicing files, size, corresponding to the reproduction time of reviewing program and/or key frame information.
3. method according to claim 1 and 2 is characterized in that, also comprises:
When needs were adjusted the described beginning and ending time of reviewing program, described server regenerated index file according to the described beginning and ending time of reviewing program.
4. review program broadcasting method for one kind, it is characterized in that, comprising:
Client is obtained the URI of the index file of reviewing program;
URI according to described index file obtains the described index file of reviewing program from server;
Resolve described index file, therefrom obtain the described URI that reviews each slicing files corresponding to program;
According to the URI of described each slicing files, download successively and decode and play described each slicing files from described server.
5. method according to claim 4 is characterized in that, also comprises:
Client parses the key frame information of each slicing files from described index file;
According to the corresponding data of described key frame information from described server downloading slicing file, the described program of reviewing is positioned broadcast.
6. according to claim 4 or 5 described methods, it is characterized in that the step that described client is obtained the URI of the index file of reviewing program comprises:
Client sends the first request of the URL that is used for obtaining the described index file of reviewing program to the electric program menu EPG module of IPTV IPTV;
The described URI that reviews the index file of program that the EPG module that receives described IPTV is returned according to described the first request.
7. method according to claim 6 is characterized in that, described URI according to index file obtains the described step of reviewing the index file of program from server and comprises:
Client sends for obtaining described the second request of reviewing the index file of program to described server according to the URI of described index file;
Receive the described index file of reviewing program that described server returns according to described the second request.
8. review the performance recording server for one kind, it is characterized in that, comprising:
Module is recorded in reception, be used for the channel live code stream that will receive according to predetermined time the interval record into the slicing files of series;
The program module is used for reviewing program generating indexes file according to programme for each, and described index file comprises each URI that reviews slicing files corresponding to program.
9. server according to claim 8 is characterized in that, described program module also is used for when needing adjustment during the described beginning and ending time of reviewing program, regenerates index file according to the described beginning and ending time of reviewing program.
10. review the program client end of playing back for one kind, it is characterized in that, comprising:
Index file URI acquisition module is for the URI that obtains the index file of reviewing program;
The index file acquisition module is used for obtaining the described index file of reviewing program according to the URI of described index file from server;
Slicing files URI resolves acquisition module, is used for resolving described index file, therefrom obtains the described URI that reviews each slicing files corresponding to program;
Slicing files downloading and playing module is used for the URI according to described each slicing files, downloads successively and decodes and play described each slicing files from described server.
11. client according to claim 10 is characterized in that,
Described slicing files URI resolves acquisition module, also is used for parsing from described index file the key frame information of each slicing files;
Described slicing files downloading and playing module also is used for according to the corresponding data of described key frame information from described server downloading slicing file, and the described program of reviewing is positioned broadcast.
12. client according to claim 10 is characterized in that, described index file URI acquisition module comprises:
The first transmitting element is used for sending to the EPG module of IPTV the first request of the URL that is used for obtaining the described index file of reviewing program;
The first receiving element is used for receiving the described URI that reviews the index file of program that the EPG module of described IPTV is returned according to described the first request.
13. according to claim 10,11 or 12 described clients, it is characterized in that described index file acquisition module comprises:
The second transmitting element is used for sending for obtaining described the second request of reviewing the index file of program to described server according to the URI of described index file;
The second receiving element is used for receiving the described index file of reviewing program that described server returns according to described the second request.
14. review performance broadcasting system for one kind, it is characterized in that, comprising: client and server, wherein:
Described server, be used for the channel live code stream that will receive according to predetermined time the interval record into the slicing files of series; Review program generating indexes file according to programme for each, described index file comprises each URI that reviews slicing files corresponding to program; And the download service that index file and corresponding slicing files are provided for described client according to the respective request of described client;
Described client is used for obtaining the described URI that reviews the index file of program; URI according to described index file obtains the described index file of reviewing program from server; Resolve described index file, therefrom obtain the described URI that reviews each slicing files corresponding to program; According to the URI of described each slicing files, download successively and decode and play described each slicing files from described server.
15. system according to claim 14 is characterized in that,
Described client also is used for sending real-time fluidisation agreement RTSP request according to the URI of described index file to described server; Receive the described server realtime transmission protocol RTP bag that request is returned according to described RTSP, decode and play slicing files in the described RTP bag;
Described server also is used for resolving corresponding index file according to described RTSP request, therefrom obtains corresponding slicing files, forms the RTP bag and is sent to described client.
CN201110306682.5A 2011-10-11 2011-10-11 Review performance recording, playback method, server, client and system Active CN103051931B (en)

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 true CN103051931A (en) 2013-04-17
CN103051931B 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)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347220A (en) * 2013-06-18 2013-10-09 天脉聚源(北京)传媒科技有限公司 Method and device for watching back live-telecast files
CN103533395A (en) * 2013-09-27 2014-01-22 武汉市烽视威科技有限公司 Method and system for realizing playback of hyper text transfer protocol (HTTP) live streaming (HLS) channel
CN103607655A (en) * 2013-11-15 2014-02-26 乐视网信息技术(北京)股份有限公司 A playback method for live programs and an electronic device
CN103763339A (en) * 2013-12-23 2014-04-30 武汉聚视欣联文化传媒技术有限公司 Method and device used for generating and obtaining live broadcasting media data
CN104092690A (en) * 2014-07-15 2014-10-08 金亚科技股份有限公司 System and method for controlling media stream replaying bandwidth of streaming media
CN104185037A (en) * 2014-02-28 2014-12-03 无锡天脉聚源传媒科技有限公司 Method, device and system for transmitting and playing video
CN104539984A (en) * 2014-12-30 2015-04-22 北京奇艺世纪科技有限公司 Video playing method, device and system
CN104580389A (en) * 2014-12-18 2015-04-29 河海大学 Client HTTP retrieval method for Ogg format time slices of URI
WO2015058334A1 (en) * 2013-10-21 2015-04-30 华为技术有限公司 Streaming media resource management method, server and client
CN105338297A (en) * 2014-08-11 2016-02-17 杭州海康威视系统技术有限公司 Video data storage and playback system, device and method
WO2016029804A1 (en) * 2014-08-26 2016-03-03 华为技术有限公司 Video play method, media device, player and multimedia system
CN106303585A (en) * 2016-07-26 2017-01-04 华为技术有限公司 Program look back method, media server, Set Top Box and program look back system
WO2017050124A1 (en) * 2015-09-21 2017-03-30 深圳市九洲电器有限公司 Program recording and sharing method and system
CN106559677A (en) * 2015-09-30 2017-04-05 华为技术有限公司 The method and device of terminal, caching server and acquisition video slicing
CN106658150A (en) * 2015-11-03 2017-05-10 中兴通讯股份有限公司 Method and device of realizing playback processing
CN107613321A (en) * 2016-07-12 2018-01-19 北京数码视讯科技股份有限公司 A kind of method of program recording and device
CN110446118A (en) * 2019-07-01 2019-11-12 阿里巴巴集团控股有限公司 Video resource preprocess method and device, video resource method for down loading and device
CN110881131A (en) * 2018-09-06 2020-03-13 武汉斗鱼网络科技有限公司 Classification method of live review videos and related device thereof
CN111246314A (en) * 2020-01-14 2020-06-05 深圳市华曦达科技股份有限公司 Time-shifting live broadcast method, server device, client device and live broadcast system
CN111787420A (en) * 2020-07-23 2020-10-16 北京数码视讯技术有限公司 Data processing method and device, electronic equipment and readable storage medium
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
CN113794937A (en) * 2021-11-16 2021-12-14 深圳市华曦达科技股份有限公司 Multi-time zone channel review method
CN114827735A (en) * 2022-04-21 2022-07-29 咪咕文化科技有限公司 Video review method, device, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872573A (en) * 2015-12-15 2016-08-17 乐视网信息技术(北京)股份有限公司 Video playing method and apparatus

Citations (2)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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

Cited By (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347220A (en) * 2013-06-18 2013-10-09 天脉聚源(北京)传媒科技有限公司 Method and device for watching back live-telecast files
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
WO2015058334A1 (en) * 2013-10-21 2015-04-30 华为技术有限公司 Streaming media resource management method, server and client
CN104781807B (en) * 2013-10-21 2018-11-09 华为技术有限公司 Management method, server and the client of streaming media resource
CN104781807A (en) * 2013-10-21 2015-07-15 华为技术有限公司 Streaming media resource management method, server and client
CN103607655A (en) * 2013-11-15 2014-02-26 乐视网信息技术(北京)股份有限公司 A playback method for live programs and an electronic device
CN103607655B (en) * 2013-11-15 2017-02-01 乐视网信息技术(北京)股份有限公司 A playback method for live programs and an electronic device
CN103763339A (en) * 2013-12-23 2014-04-30 武汉聚视欣联文化传媒技术有限公司 Method and device used for generating and obtaining live broadcasting media data
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
CN104092690A (en) * 2014-07-15 2014-10-08 金亚科技股份有限公司 System and method for controlling media stream replaying bandwidth of streaming media
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
CN105338297A (en) * 2014-08-11 2016-02-17 杭州海康威视系统技术有限公司 Video data storage and playback system, device and method
WO2016029804A1 (en) * 2014-08-26 2016-03-03 华为技术有限公司 Video play method, media device, player 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
CN104580389A (en) * 2014-12-18 2015-04-29 河海大学 Client HTTP retrieval method for Ogg format time slices of URI
CN104539984B (en) * 2014-12-30 2018-09-28 北京奇艺世纪科技有限公司 A kind of video broadcasting method, apparatus and system
CN104539984A (en) * 2014-12-30 2015-04-22 北京奇艺世纪科技有限公司 Video playing method, device and system
WO2017050124A1 (en) * 2015-09-21 2017-03-30 深圳市九洲电器有限公司 Program recording and sharing method and system
CN106559677A (en) * 2015-09-30 2017-04-05 华为技术有限公司 The method and device of terminal, caching server and acquisition video slicing
CN106559677B (en) * 2015-09-30 2020-04-03 华为技术有限公司 Terminal, cache server and method and device for acquiring video fragments
CN106658150A (en) * 2015-11-03 2017-05-10 中兴通讯股份有限公司 Method and device of realizing playback processing
WO2017075906A1 (en) * 2015-11-03 2017-05-11 中兴通讯股份有限公司 Method and device for replay processing
CN106658150B (en) * 2015-11-03 2020-01-17 中兴通讯股份有限公司 Method and device for realizing review processing
CN107613321A (en) * 2016-07-12 2018-01-19 北京数码视讯科技股份有限公司 A kind of method of program recording and device
CN106303585A (en) * 2016-07-26 2017-01-04 华为技术有限公司 Program look back method, media server, Set Top Box and program look back system
CN106303585B (en) * 2016-07-26 2020-03-10 华为技术有限公司 Program review method, media server, set top box and program review system
CN110881131A (en) * 2018-09-06 2020-03-13 武汉斗鱼网络科技有限公司 Classification method of live review videos and related device thereof
CN110881131B (en) * 2018-09-06 2021-07-23 武汉斗鱼网络科技有限公司 Classification method of live review videos and related device thereof
CN110446118A (en) * 2019-07-01 2019-11-12 阿里巴巴集团控股有限公司 Video resource preprocess method and device, video resource method for down loading 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
CN111246314A (en) * 2020-01-14 2020-06-05 深圳市华曦达科技股份有限公司 Time-shifting live broadcast method, server device, client device and live broadcast system
CN111246314B (en) * 2020-01-14 2021-12-17 深圳市华曦达科技股份有限公司 Time-shifting live broadcast method, server device, client device and live broadcast system
CN111787420A (en) * 2020-07-23 2020-10-16 北京数码视讯技术有限公司 Data processing method and device, electronic equipment and readable storage medium
CN111787420B (en) * 2020-07-23 2022-11-04 北京数码视讯技术有限公司 Data processing method and device, electronic equipment and readable storage medium
CN113794937A (en) * 2021-11-16 2021-12-14 深圳市华曦达科技股份有限公司 Multi-time zone channel review method
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

Also Published As

Publication number Publication date
WO2013053326A1 (en) 2013-04-18
CN103051931B (en) 2018-05-01

Similar Documents

Publication Publication Date Title
CN103051931A (en) Method, server, client and system for recording and playing replay program
US20180332094A1 (en) Systems, Methods, and Media for Streaming Media Content
EP3235252B1 (en) End user-based personalized ad insertion in broadcast-broadband hybrid terminals
CN101193256B (en) Method and device for getting media content by using uniform EPG
EP2888892B1 (en) Communication receiver
US20140373036A1 (en) Hybrid video recognition system based on audio and subtitle data
CN102118428A (en) Method and system for playing streaming media
US20080292281A1 (en) Process for placing a multimedia object in memory, data structure and associated terminal
CN103763637A (en) Stream media broadcasting method and system
US20150058892A1 (en) Method of processing egp metadata in network device and the network device for controlling the same
CN101588472B (en) Method, device and system for controlling program broadcasting
US9986267B2 (en) Methods and systems for dynamically editing, encoding, posting and updating live video content
US20170180803A1 (en) Broadcast transmission device, broadcast reception device, method for operating broadcast transmission device, and method for operating broadcast reception device
US11863807B2 (en) Reception device, reception method, transmission device, and transmission method
CN102685561A (en) Program carousel method and system, terminal equipment and program on-demand device
CN102802052A (en) Video on demand program method and device
KR20190073373A (en) Information processing apparatus and information processing method
CN101848367A (en) File-based video live webcasting method
CN104754406A (en) Method and device for playing Internet video and audio contents by use of IPTV set-top box
CN108174284B (en) Android system-based video decoding method
KR20180018490A (en) Receiving device, transmitting device, and data processing method
US8645999B2 (en) Method of processing EPG metadata in network device and the network device for controlling the same
CN104429092A (en) Reception device, information processing method, program, transmission device and application linking system
CN104469417A (en) On-demand method and on-demand device for internet protocol television (IPTV), set top box and server
US9693093B2 (en) Method of processing EPG metadata in network device and the network device for controlling the same

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