CN105812831A - Network program recording method, device and system and recorded program playing method and device - Google Patents

Network program recording method, device and system and recorded program playing method and device Download PDF

Info

Publication number
CN105812831A
CN105812831A CN201410856558.XA CN201410856558A CN105812831A CN 105812831 A CN105812831 A CN 105812831A CN 201410856558 A CN201410856558 A CN 201410856558A CN 105812831 A CN105812831 A CN 105812831A
Authority
CN
China
Prior art keywords
file
cdn
user terminal
recording
request message
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
CN201410856558.XA
Other languages
Chinese (zh)
Other versions
CN105812831B (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 CN201410856558.XA priority Critical patent/CN105812831B/en
Priority to PCT/CN2015/087942 priority patent/WO2016107197A1/en
Publication of CN105812831A publication Critical patent/CN105812831A/en
Application granted granted Critical
Publication of CN105812831B publication Critical patent/CN105812831B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests

Abstract

The invention provides a network program recording method, device and system and a recorded program playing method and device. The method comprises the steps that a CDN channel server downloads the slice TS file of a program from a channel source station; the CDN channel server receives a recording request message sent by a user terminal, wherein the recording request message comprises starting and ending time information of program recording; and the CDN channel server determines a TS file needing to be recorded in the downloaded TS file according to the recording request message, and generates a corresponding index file. According to the invention, the user terminal is not restricted to a program list specified by a system, and records the network program at any time.

Description

The method for recording of a kind of internet program, device, system and the recording player method of program, device
Technical field
The present invention relates to CDN (ContentDeliveryNetwork, content distributing network) technical field, particularly relate to the method for recording of a kind of internet program, device, system and record the player method of program, device.
Background technology
The network bandwidth improve and developing into of 3G/4G wireless communication technology is carried out the value-added services businesses based on media content on communication network and is provided possibility.CDN system, as buffered video in network, audio frequency, picture, the system of webpage, is widely applied further.Developing multimedia service in communication network, such as IPTV Web TV, OTTTV (Video service of open the Internet), CDN system also plays more and more important effect.
The direct broadcast band service comparing main flow in current OTTTV is all based on HLS (HttpLiveStreaming, agreement for real-time streaming transport), TVOD (TrueVideoOnDemand, performance recording), (business such as (NetworkPersonalVideoRecorder, individual recording) is also required for developing based on HLS NPVR;
Individual recording flow process conventional in IPTV and OTTTV at present is, first channel has been recorded by normal programme successfully program, it is individual recording program that user operates on the set-top box by the filing of recorded program, recorded program can individually be stored by CDN, different user only can deposit portion for the individual recording of same program on CDN, this mode is also effectively guaranteed the effectiveness of storage, does not have unnecessary waste of storage space.In the related, if not to lose part memory space for cost, then cannot realize the individual recording that internet program is customized.
Summary of the invention
In order under the premise of solution never large losses memory space, it is achieved the customization of internet program is recorded, the invention provides the method for recording of a kind of internet program, device, system and record the player method of program, device, at least to solve the problems referred to above.
According to an aspect of the invention, it is provided the method for recording of a kind of internet program, including: content distributing network CDN channel server to the burst TS file of channel source station program downloading;Described CDN channel server receives the recording request message that user terminal sends, and wherein, comprises the beginning and ending time information recording program in described recording request message;Described CDN channel server, according to described recording request message, is determined the TS file needing to record in the TS file of described download, and is generated the index file of correspondence.
Alternatively, CDN channel server to channel source station downloading slicing TS file, including: to the index file of described channel source station program downloading, according to described index file download corresponding TS file.
Alternatively, described CDN channel server to after the burst TS file of channel source station program downloading, including: described TS file is stored in distributed file system DFS.
Alternatively, described index file is M3U8 file.
Alternatively, CDN channel server is to after the burst TS file of channel source station program downloading, also including: the deletion recording request message that described CDN channel server sends according to user terminal, and the TS file that will be recorded is deleted.
Alternatively, CDN channel server is to after the burst TS file of channel source station program downloading, also including: the timing of described CDN channel server will exceed preset time period and the TS file that is not recorded is deleted.
According to a further aspect of the invention, additionally provide the record device of a kind of internet program, be arranged on CDN channel server, including: download module, it is used for the burst TS file to channel source station program downloading;Receiving recording request module, for receiving the recording request message that user terminal sends, wherein, described recording request message includes the beginning and ending time information recording program;Generate index module, for according to described recording request message, the TS file of described download being determined the TS file needing to record, and generates the index file of correspondence.
Alternatively, described recording module, including: the first download unit, it is used for the index file to described channel source station program downloading;Second download unit, for downloading corresponding TS file according to described index file.
Alternatively, described device also includes: memory module, for being stored in distributed file system DFS by described TS file.
Alternatively, described index file is M3U8 file.
Alternatively, this device also includes: the first removing module, for the deletion recording request message sent according to user terminal, is deleted by the TS file not being recorded.
Alternatively, this device also includes: the second removing module, will exceed preset time period and the TS file deletion not being recorded for timing.
According to a further aspect of the invention, additionally provide a kind of player method recording program, including: CDN client server receives the playing request message that user terminal sends, and wherein, comprises the beginning and ending time information recording program in described playing request message;Described CDN client server obtains corresponding index file according to described playing request message, and is sent to described user terminal;Described CDN client server receives the acquisition TS file request that described user terminal sends, and wherein, described TS file is corresponding with described index file;Described CDN client server, according to described acquisition TS file request, reads corresponding TS file cocurrent and gives described user terminal.
Alternatively, described CDN client server obtains corresponding index file according to described playing request message, including: described CDN client server according to index file store path information corresponding to described playing request information query, and notifies described user terminal;Described CDN client server receives the described index file solicited message that described user terminal sends, and wherein, described index file is determined according to described store path information by described terminal;According to described index file solicited message, obtain described index file.
Alternatively, described index file is M3U8 file.
According to a further aspect of the invention, additionally provide a kind of playing device recording program, it is arranged on CDN client server, including: receive playing request module, for receiving the playing request message that user terminal sends, wherein, described playing request message includes the requested beginning and ending time information play and record program;Obtain index module, for obtaining corresponding index file according to described playing request message, and be sent to described user terminal;3rd receiver module, for receiving the acquisition TS file request that described user terminal sends, wherein, described TS file is corresponding with described index file;Read module, for according to described acquisition TS file request, reading corresponding TS file cocurrent and give described user terminal.
Alternatively, described acquisition index module, including: query unit, for the index file store path information corresponding according to described playing request information query, and notify described user terminal;Receiving index request unit, for receiving the described index file solicited message that described user terminal sends, wherein, described index file is determined according to described store path information by described terminal;Acquiring unit, for according to described index file solicited message, obtaining described index file.
Alternatively, described index file is M3U8 file.
Still another aspect according to the present invention, additionally provides the recording system of a kind of internet program, including:
CDN channel server CHANNEL, including: download module, it is used for the burst TS file to channel source station program downloading;Receiving recording request module, for receiving the recording request message that user terminal sends, wherein, described recording request message includes the beginning and ending time information recording program;Generate index module, for according to described recording request message, the TS file of described download being determined the TS file needing to record, and generates the index file of correspondence;
Distributed file system DFS, is used for storing described TS file.
Alternatively, this system also includes: CDN management platform IAM, for the described recording request message that user terminal sends is transmitted to described CDN channel server.
Alternatively, described CDN management platform IAM, it is additionally operable to notify flow status indication described user terminal.
By the present invention, CDN channel server is to the burst TS file of channel source station program downloading;CDN channel server receives the recording request message that user terminal sends, and wherein, comprises the beginning and ending time information recording program in this recording request message;CDN channel server, according to this recording request message, is determined the TS file needing to record in the TS file downloaded, and is generated the index file of correspondence.Make user terminal can be not only restricted to the programme that system is specified, in section, record internet program at any time.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, and the schematic description and description of the present invention is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is internet program method for recording flow chart according to embodiments of the present invention;
Fig. 2 is that CDN channel server according to embodiments of the present invention downloads TS document flowchart;
Fig. 3 is that internet program according to embodiments of the present invention records application flow chart;
Fig. 4 is that internet program according to embodiments of the present invention records process chart;
Fig. 5 is TS file rollback flow chart according to embodiments of the present invention;
Fig. 6 is that NPVR according to embodiments of the present invention deletes flow chart;
Fig. 7 is the record device structured flowchart one of internet program according to embodiments of the present invention;
Fig. 8 is internet program record device structured flowchart two according to embodiments of the present invention;
Fig. 9 is recording program broadcasting method flow chart one according to embodiments of the present invention;
Figure 10 is recording program broadcasting method flowchart 2 according to embodiments of the present invention;
Figure 11 is recording program broadcasting apparatus structured flowchart one according to embodiments of the present invention;
Figure 12 is recording program broadcasting apparatus structured flowchart two according to embodiments of the present invention;
Figure 13 is internet program recording system structural representation according to embodiments of the present invention.
Detailed description of the invention
Below with reference to accompanying drawing and describe the present invention in detail in conjunction with the embodiments.It should be noted that when not conflicting, the embodiment in the application and the feature in embodiment can be mutually combined.
Embodiments providing the method for recording of a kind of internet program, Fig. 1 is internet program method for recording flow chart according to embodiments of the present invention, as it is shown in figure 1, the method includes:
S102, CDN channel server is to the burst TS file of channel source station program downloading;
S104, CDN channel server receives the recording request message that user terminal sends, and wherein, comprises the beginning and ending time information recording program in described recording request message;
S106, CDN channel server, according to described recording request message, is determined the TS file needing to record in the TS file of described download, and is generated the index file of correspondence.
By the embodiment of the present invention, CDN channel server is to the burst TS file of channel source station program downloading;CDN channel server receives the recording request message that user terminal sends, and wherein, comprises the beginning and ending time information recording program in this recording request message;CDN channel server, according to this recording request message, is determined the TS file needing to record in the TS file of described download, and is generated the index file of correspondence.Make user terminal can be not only restricted to the programme that system is specified, in section, record internet program at any time.
In an embodiment of the invention, CDN channel server to channel source station downloading slicing TS file, including: to the index file of channel source station program downloading;Corresponding TS file is downloaded according to index file.Wherein, the index file in this embodiment is M3U8 file.Fig. 2 is that CDN channel server according to embodiments of the present invention downloads TS document flowchart, as in figure 2 it is shown, the method includes:
S202, CDN management platform (the present embodiment is IAM, IdentityandAccessManagement, i.e. identification and Access Management Access) initiates channel creation request to CDN channel server (CHANNEL).
S204, CDN channel server (CHANNEL) response channel request to create, notice IAM receives channel creation task.
S206, CHANNEL carry out the process of locally created channel, increase channel data district, process channel and download the preparation of file.
After the local channel creation task of S208, CHANNEL has processed, inserting channel record in data base (DB, DataBase), channel state is in work.
S210, CHANNEL report channel creation success message to IAM.
S212, IAM receive establishment success message to CHANNEL response.
S214, after local channel creation success, CHANNEL downloads index M3U8 file and TS slicing files to channel source station, and wherein, CHANNEL first downloads M3U8 file, then downloads TS file according to the index information in M3U8 file.
Wherein, channel is real-time live broadcast stream, so after channel creation success, according to HLS protocol, CHANNEL timing asks M3U8 file and TS file locally stored to channel source station, it is also possible to be stored in DFS (DistributedFileSystem, distributed file system).
In an embodiment of the invention, the recording request message that user terminal sends comprises the beginning and ending time information recording program, also comprises channel ID (Identity, i.e. identity code) information, ID information.Fig. 3 is that internet program according to embodiments of the present invention records application flow chart, as it is shown on figure 3, this flow process comprises the following steps:
S302, STB (SetTopBox, Set Top Box, i.e. user terminal) send NPVR to IAM and record application, and most importantly solicitation message comprises the time started of NPVR, end time, channel ID and ID.
S304, IAM return the response receiving NPVR recording application after receiving STB request.
S306, IAM carry out user's NPVR function authentication, authenticate and perform follow-up flow process after successfully again.
S308, IAM issue NPVR and ask CDN channel server CHANNEL, comprise the time started of NPVR, end time, ID and NPVR program id information in solicitation message.
S310, CHANNEL return response after receiving NPVR application, represent and receive application.
Whether S312, CHANNEL have existed current record in data base querying NPVR task list, if existed, are not inserted into, and application record if there is no then inserts NPVR task list.The state of labelling NPVR task is pending.
S314, CHANNEL report NPVR application successfully to accept to IAM.
To user, S316, IAM show that NPVR application accepts, in the recording.
In an embodiment of the invention, CDN channel server CHANNEL timing inquiry data base's NPVR table, find pending NPVR task and then start to process this task.Before process task, do not differentiate between the situation of NPVR job start time and end time, as long as the task before channel recording TS rollback time is all manageable.Fig. 4 is that internet program according to embodiments of the present invention records process chart, and as shown in Figure 4, this flow process comprises the following steps:
S402, CHANNEL timing inquiry NPVR recording task table.Dominant query records deadline and time started.
S404, the CHANNEL end time according to NPVR task, it is judged that whether current time has completed the channel TS recording in the NPVR time period.If being not fully complete recording, then do not process.If completing to record, start to perform S406 step.
S406, channel TS has recorded, in TS file can extraction time segment information, CHANNEL determined according to time started of NPVR and end time needs to record for which TS file, generates and needs the M3U8 file corresponding to TS file recorded.
After the success of S408, M3U8 file generated, the task status in the NPVR task list of data base is updated to and completes, data base records M3U8 file name and store path.
S410, CHANNEL report NPVR to record successfully to IAM.
To user, S412, IAM show that NPVR records and complete.
In an embodiment of the invention, as long as NPVR is untapped and exceeds the TS file of channel recording time, delete processing is all carried out.Fig. 5 is TS file rollback flow chart according to embodiments of the present invention, as it is shown in figure 5, this flow process includes:
CHANNEL can determine whether maximum recording time when creating channel, and within maximum time, channel can record complete burst TS file.When processing NPVR task, as long as meeting channel to record TS file, and the time arrives the end time of NPVR task, CHANNEL can process the corresponding M3U8 file of generation, and the NPVR TS listed files information used is inserted the NPVR_TS table of data base, also recording TS file in " NPVR records TS file table ", the TS file record of repetition is not repeatedly inserted into data base.
The process of CHANNEL rollback recorded file, timing inquires about " NPVR records TS file table " in data base, it is judged that non-existent and exceed the TS file of recording time and delete in table.
In an embodiment of the invention, the deletion recording request message that CHANNEL sends according to user terminal, the TS file not being recorded is deleted.Fig. 6 is that NPVR according to embodiments of the present invention deletes flow chart, and as shown in Figure 6, this flow process includes:
The deletion request message of NPVR, is issued to IAM from STB, then is issued to CDN channel server CHANNEL from IAM, comprise the time started of NPVR, end time, channel ID and ID in this request message equally.
The CHANNEL time period according to this NPVR, inquire about the time period information of other NPVR, find out unduplicated time period TS list, delete in NPVR_TS table.
The embodiment of the present invention additionally provides the record device of a kind of internet program, is arranged on CDN channel server, and Fig. 7 is internet program record device structured flowchart one according to embodiments of the present invention, as it is shown in fig. 7, this device includes:
Download module 702, is used for the burst TS file to channel source station program downloading;
Receiving recording request module 704, for receiving the recording request message that user terminal sends, wherein, this recording request message includes the beginning and ending time information recording program;
Generate index module 706, for according to this recording request message, the TS file of above-mentioned download being determined the TS file needing to record, and generates the index file of correspondence.
By the embodiment of the present invention, download module 702 is to the burst TS file of channel source station program downloading;Receive recording request module 704 and receive the recording request message that user terminal sends, wherein, this recording request message comprises the beginning and ending time information recording program;Generate index module 706 according to this recording request message, the TS file of described download is determined the TS file needing to record, and generates the index file of correspondence.Make user terminal can be not only restricted to the programme that system is specified, in section, record internet program at any time.
Fig. 8 is internet program record device structured flowchart two according to embodiments of the present invention, in an embodiment of the invention, as shown in Figure 8, records module 802 and also includes: the first download unit 8002, be used for the index file M3U8 to channel source station program downloading;Second download unit 8004, for downloading corresponding TS file according to this index file M3U8.
In an embodiment of the invention, as shown in Figure 8, this device also includes: memory module 808, for being stored in distributed file system DFS by above-mentioned TS file.
In an embodiment of the invention, as shown in Figure 8, this device also includes: the first removing module 810, for the deletion recording request message sent according to user terminal, is deleted by the TS file not being recorded.This device can also include: the second removing module 812, will exceed preset time period and the TS file deletion not being recorded for timing.Certain above-mentioned two removing module both can exist simultaneously, it is also possible to is separately provided in the apparatus.
The embodiment of the present invention additionally provides a kind of player method recording program, and after NPVR records successfully, namely user can pass through terminal access and play out.Fig. 9 is recording program broadcasting method flow chart one according to embodiments of the present invention, as it is shown in figure 9, the method comprises the following steps:
S902, CDN client server receives the playing request message that user terminal sends, and wherein, comprises the beginning and ending time information recording program in described playing request message;
S904, CDN client server obtains corresponding index file according to this playing request message, and is sent to user terminal;
S906, CDN client server receives the acquisition TS file request that user terminal sends, and wherein, this TS file is corresponding with above-mentioned index file;
S908, CDN client server, according to this acquisition TS file request, reads corresponding TS file cocurrent and gives user terminal.
By the embodiment of the present invention, CDN client server receives the playing request message that user terminal sends, and wherein, comprises the beginning and ending time information recording program in described playing request message;CDN client server obtains corresponding index file according to this playing request message, and is sent to user terminal;S906, CDN client server receives the acquisition TS file request that user terminal sends, and wherein, this TS file is corresponding with above-mentioned index file;S908, CDN client server, according to this acquisition TS file request, reads corresponding TS file cocurrent and gives user terminal.Make user terminal can be not only restricted to the programme that system is specified, record internet program at any time in section, and play out.
In an embodiment of this law, user by HTTP message request NPVR play, user initiate play NPVR process messages in comprise NPVR time started, end time and channel id information.Figure 10 is recording program broadcasting method flowchart 2 according to embodiments of the present invention, as in figure 2 it is shown, the method comprises the following steps:
S1002, user terminal (STB) is initiated HTTP request NPVR and is play, and comprises key message NPVR time started, end time, channel ID, ID in HTTP request.
After S1004, CDN client server (IAS) receives request, according to program start time, end time and channel ID in the NPVR table of database D B, inquire the routing information of M3U8 file.
S1006, IAS return STB mono-and redirect message, contain the URL of next step request M3U8 file of STB in message.
S1008, STB are further according to the URL request IAS of M3U8 file.
S1010, IAS get M3U8 file according to the path of M3U8 file from distributed file system DFS.
M3U8 file is returned to STB by S1012, IAS.
S1014, according to HLS protocol, contains all TS lists that next step request of STB is required in M3U8 file.STB goes to obtain corresponding burst TS file according to the url list continuation requests IAS of TS.
S1016, IAS receive STB every time and ask the message of TS file, then read TS file from DFS.
S1018, IAS receive STB every time and ask the message of TS file, and the TS file read is returned to STB by IAS.This flow process repeats to till STB asked all of TS file.
The embodiment of the present invention additionally provides a kind of playing device recording program, is arranged on CDN client server, and Figure 11 is recording program broadcasting apparatus structured flowchart one according to embodiments of the present invention, and as shown in figure 11, this device includes:
Receiving playing request module 1102, for receiving the playing request message that user terminal sends, wherein, this playing request message includes the requested beginning and ending time information play and record program;Obtain index module 1104, for obtaining corresponding index file according to this playing request message, and be sent to user terminal;3rd receiver module 1106, for receiving the acquisition TS file request that user terminal sends, wherein, this TS file is corresponding with above-mentioned index file;Read module 1108, for according to this acquisition TS file request, reading corresponding TS file cocurrent and give user terminal.
By the embodiment of the present invention, receiving playing request module 1102 and receive the playing request message that user terminal sends, wherein, this playing request message includes the requested beginning and ending time information play and record program;Obtain index module 1104 and obtain corresponding index file according to this playing request message, and be sent to user terminal;3rd receiver module 1106 receives the acquisition TS file request that user terminal sends, and wherein, this TS file is corresponding with above-mentioned index file;Read module 1108, according to this acquisition TS file request, reads corresponding TS file cocurrent and gives user terminal.Make user terminal can be not only restricted to the programme that system is specified, record internet program at any time in section, and play out.
Figure 12 is recording program broadcasting apparatus structured flowchart two according to embodiments of the present invention, in an embodiment of the invention, as shown in figure 12, obtains index module 1204 and also includes:
Query unit 12002, for index file (i.e. M3U8 file) the store path information corresponding according to playing request information query, and informing user terminal;Receiving index request unit 12004, for receiving the index file solicited message that user terminal sends, wherein, this index file is determined according to its store path information by terminal;Acquiring unit 12006, for according to this index file solicited message, obtaining index file.
The embodiment of the present invention additionally provides the recording system of a kind of internet program, and Figure 13 is internet program recording system structural representation according to embodiments of the present invention, and as shown in figure 13, this system is a part for CDN system, including:
CDN channel server CHANNEL, including: download module, it is used for the burst TS file to channel source station program downloading;Receiving recording request module, for receiving the recording request message that user terminal sends, wherein, described recording request message includes the beginning and ending time information recording program;Generate index module, for according to described recording request message, the TS file of described download being determined the TS file needing to record, and generates the index file of correspondence;
Distributed file system DFS, is used for storing described TS file.
Wherein, the CDN system at this system place includes:
The interface (A interface) of terminal STB and CDN management platform IAM, receives the STB request message sent for IAM, and the message after successfully is recorded in displaying;
The interface (B interface) of IAM and CDN channel server CHANNEL, issues request for IAM to CHANNEL, mainly channel creation request and NPVR recording request, and CHANNEL is arranged in CDN node, and IAM can manage multiple CDN node simultaneously;
The interface (C interface) of STB and subscriber management server IAS, accesses CDN for user by STB, and plays institute's recorded program.
By the embodiment of the present invention, CHANNEL is to the burst TS file of channel source station program downloading;The TS file downloaded is stored by DFS;CHANNEL receives the recording request message with recording program beginning and ending time information that user terminal sends;CHANNEL, according to this recording request message, determines the TS file needing to record in the TS file downloaded, and generates the index file of correspondence.Make user terminal can be not only restricted to the programme that system is specified, in section, record internet program at any time.
Alternatively, this system can also include: CDN management platform IAM, it is possible to issue the information of channel creation to CHANNEL, receives and processes the recording application that user terminal sends, and be transmitted to CHANNEL.
Alternatively, IAM can also by multiple flow status indication informing user terminal, and such as CHANNEL creates the successful message of channel, NPVR applies for that the message accepted, NPVR record successful message etc..
Certainly, internet program recording system in the embodiment of the present invention also includes data base, this data base is Universal Database of the prior art, for storing the data in internet program recording process, channel record, the title of M3U8 file and store path information, the NPVR_TS table etc. that such as storage NPVR task list, CHANNEL create.
It should be noted that the NPVR in the present invention is individually customized recording, the time period is arranged by terminal use.Memory space takies aspect, with TS file for minimum memory element, and TS file division more little, store more accurate, but also imply that file is more many, it is possible to split according to practical situation, segmentation conventional for current HLS is the video that a TS burst is play 10 seconds.Different individual recordings, CDN system only generates the m3u8 file of correspondence, and TS file only stores portion, effectively saves memory space and takies, and improves Consumer's Experience simultaneously.Additionally the individual recording in contrast conventional IPTV also has more advantage, the mode of media file burst storage so that NPVR stores precision more, is a great advantage.In traditional IPTV system, having three NPVR individual recordings as depicted, in system, the minimum unit of storage is program, so system at least needs three complete programs of storage, meets the requirement of NPVR.And based on the storage of burst, if being also three NPVR individual recordings equally, then can be as accurate as the time started of individual recording 1 and the end time of individual recording 3, effectively saving memory space takies, and is a great advantage.
Finally, those skilled in the art should be understood that, each module of the above-mentioned present invention or each step can realize with general calculation element, they can concentrate on single calculation element, or it is distributed on the network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, can be stored in storage device is performed by calculation element, and in some cases, shown or described step can be performed with the order being different from herein, or they are fabricated to respectively each integrated circuit modules, or the multiple modules in them or step are fabricated to single integrated circuit module realize.So, the present invention is not restricted to the combination of any specific hardware and software.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.

Claims (21)

1. the method for recording of an internet program, it is characterised in that including:
Content distributing network CDN channel server is to the burst TS file of channel source station program downloading;
Described CDN channel server receives the recording request message that user terminal sends, and wherein, comprises the beginning and ending time information recording program in described recording request message;
Described CDN channel server, according to described recording request message, is determined the TS file needing to record in the TS file of described download, and is generated the index file of correspondence.
2. method according to claim 1, it is characterised in that CDN channel server to channel source station downloading slicing TS file, including:
Index file to described channel source station program downloading;
Corresponding TS file is downloaded according to described index file.
3. method according to claim 2, it is characterised in that described CDN channel server to after the burst TS file of channel source station program downloading, including:
Described TS file is stored in distributed file system DFS.
4. method according to claim 3, it is characterised in that described index file is M3U8 file.
5. the method according to any one of Claims 1-4, it is characterised in that CDN channel server is to after the burst TS file of channel source station program downloading, also including:
The deletion recording request message that described CDN channel server sends according to user terminal, deletes the TS file not being recorded.
6. method according to claim 5, it is characterised in that CDN channel server is to after the burst TS file of channel source station program downloading, also including:
The timing of described CDN channel server will exceed preset time period and the TS file deletion not being recorded.
7. a record device for internet program, is arranged on CDN channel server, it is characterised in that including:
Download module, is used for the burst TS file to channel source station program downloading;
Receiving recording request module, for receiving the recording request message that user terminal sends, wherein, described recording request message includes the beginning and ending time information recording program;
Generate index module, for according to described recording request message, the TS file of described download being determined the TS file needing to record, and generates the index file of correspondence.
8. device according to claim 7, it is characterised in that described recording module, including:
First download unit, is used for the index file to described channel source station program downloading;
Second download unit, for downloading corresponding TS file according to described index file.
9. device according to claim 8, it is characterised in that described device also includes:
Memory module, for being stored in described TS file in distributed file system DFS.
10. device according to claim 9, it is characterised in that described index file is M3U8 file.
11. according to the device described in any one of claim 7 to 10, it is characterised in that this device also includes:
First removing module, for the deletion recording request message sent according to user terminal, deletes the TS file not being recorded.
12. device according to claim 11, it is characterised in that this device also includes:
Second removing module, will exceed preset time period and the TS file deletion not being recorded for timing.
13. the player method recording program, it is characterised in that including:
CDN client server receives the playing request message that user terminal sends, and wherein, comprises the beginning and ending time information recording program in described playing request message;
Described CDN client server obtains corresponding index file according to described playing request message, and is sent to described user terminal;
Described CDN client server receives the acquisition TS file request that described user terminal sends, and wherein, described TS file is corresponding with described index file;
Described CDN client server, according to described acquisition TS file request, reads corresponding TS file cocurrent and gives described user terminal.
14. method according to claim 13, it is characterised in that described CDN client server obtains corresponding index file according to described playing request message, including:
Described CDN client server is according to index file store path information corresponding to described playing request information query, and notifies described user terminal;
Described CDN client server receives the described index file solicited message that described user terminal sends, and wherein, described index file is determined according to described store path information by described terminal;
According to described index file solicited message, obtain described index file.
15. method according to claim 14, it is characterised in that described index file is M3U8 file.
16. record a playing device for program, it is arranged on CDN client server, it is characterised in that including:
Receiving playing request module, for receiving the playing request message that user terminal sends, wherein, described playing request message includes the requested beginning and ending time information play and record program;
Obtain index module, for obtaining corresponding index file according to described playing request message, and be sent to described user terminal;
3rd receiver module, for receiving the acquisition TS file request that described user terminal sends, wherein, described TS file is corresponding with described index file;
Read module, for according to described acquisition TS file request, reading corresponding TS file cocurrent and give described user terminal.
17. method according to claim 16, it is characterised in that described acquisition index module, including:
Query unit, for the index file store path information corresponding according to described playing request information query, and notifies described user terminal;
Receiving index request unit, for receiving the described index file solicited message that described user terminal sends, wherein, described index file is determined according to described store path information by described terminal;
Acquiring unit, for according to described index file solicited message, obtaining described index file.
18. device according to claim 17, it is characterised in that described index file is M3U8 file.
19. the recording system of an internet program, it is characterised in that including:
CDN channel server CHANNEL, including: download module, it is used for the burst TS file to channel source station program downloading;Receiving recording request module, for receiving the recording request message that user terminal sends, wherein, described recording request message includes the beginning and ending time information recording program;Generate index module, for according to described recording request message, the TS file of described download being determined the TS file needing to record, and generates the index file of correspondence;
Distributed file system DFS, is used for storing described TS file.
20. system according to claim 19, it is characterised in that this system also includes:
CDN management platform IAM, for being transmitted to described CDN channel server by the described recording request message that user terminal sends.
21. system according to claim 20, it is characterised in that described CDN management platform IAM, it is additionally operable to notify flow status indication described user terminal.
CN201410856558.XA 2014-12-31 2014-12-31 Network program recording method, device and system and playing method and device Active CN105812831B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410856558.XA CN105812831B (en) 2014-12-31 2014-12-31 Network program recording method, device and system and playing method and device
PCT/CN2015/087942 WO2016107197A1 (en) 2014-12-31 2015-08-24 Network program recording method, device and system, and recorded-program playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410856558.XA CN105812831B (en) 2014-12-31 2014-12-31 Network program recording method, device and system and playing method and device

Publications (2)

Publication Number Publication Date
CN105812831A true CN105812831A (en) 2016-07-27
CN105812831B CN105812831B (en) 2020-06-09

Family

ID=56284131

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410856558.XA Active CN105812831B (en) 2014-12-31 2014-12-31 Network program recording method, device and system and playing method and device

Country Status (2)

Country Link
CN (1) CN105812831B (en)
WO (1) WO2016107197A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547517A (en) * 2017-07-25 2018-01-05 高斯贝尔数码科技股份有限公司 Audio/video program method for recording and the network equipment and computer installation
CN108271039A (en) * 2016-12-30 2018-07-10 中兴通讯股份有限公司 A kind of document sending method and device
CN108513162A (en) * 2017-02-23 2018-09-07 中兴通讯股份有限公司 Caching, playback method and the system reviewed is broadcast live
CN111641851A (en) * 2020-05-13 2020-09-08 深圳创维-Rgb电子有限公司 PVR recording method, system and storage medium for video platform equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113300875A (en) * 2021-02-10 2021-08-24 阿里巴巴集团控股有限公司 Return source data verification method, server, system and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370126A (en) * 2008-09-24 2009-02-18 中兴通讯股份有限公司 Broadcast control method and system for monitoring video
US20110246661A1 (en) * 2010-04-02 2011-10-06 Disney Enterprises, Inc. Streaming playback and dynamic Ad insertion
EP2537117A1 (en) * 2010-02-17 2012-12-26 Verimatrix, Inc. Systems and methods for securing content delivered using a playlist
CN102883187A (en) * 2012-09-17 2013-01-16 华为技术有限公司 Time-shift program service method, equipment and system
CN103596035A (en) * 2013-11-04 2014-02-19 四川九州电子科技股份有限公司 System and method for recording DVB code stream through digital set top box
CN103763637A (en) * 2014-01-21 2014-04-30 北京云视睿博传媒科技有限公司 Stream media broadcasting method and system
CN103796035A (en) * 2014-01-27 2014-05-14 中兴通讯股份有限公司 Method for processing segmented programs, server and client device
CN104079983A (en) * 2014-06-26 2014-10-01 江苏省邮电规划设计院有限责任公司 System and method for HLS program recording and service

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8843596B2 (en) * 2011-11-30 2014-09-23 Adobe Systems Incorporated Conversion between streaming media communication protocols
CN103813185B (en) * 2014-01-26 2019-01-25 中兴通讯股份有限公司 A kind of method that segment programs are quickly distributed, server and client

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370126A (en) * 2008-09-24 2009-02-18 中兴通讯股份有限公司 Broadcast control method and system for monitoring video
EP2537117A1 (en) * 2010-02-17 2012-12-26 Verimatrix, Inc. Systems and methods for securing content delivered using a playlist
US20110246661A1 (en) * 2010-04-02 2011-10-06 Disney Enterprises, Inc. Streaming playback and dynamic Ad insertion
CN102883187A (en) * 2012-09-17 2013-01-16 华为技术有限公司 Time-shift program service method, equipment and system
CN103596035A (en) * 2013-11-04 2014-02-19 四川九州电子科技股份有限公司 System and method for recording DVB code stream through digital set top box
CN103763637A (en) * 2014-01-21 2014-04-30 北京云视睿博传媒科技有限公司 Stream media broadcasting method and system
CN103796035A (en) * 2014-01-27 2014-05-14 中兴通讯股份有限公司 Method for processing segmented programs, server and client device
CN104079983A (en) * 2014-06-26 2014-10-01 江苏省邮电规划设计院有限责任公司 System and method for HLS program recording and service

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108271039A (en) * 2016-12-30 2018-07-10 中兴通讯股份有限公司 A kind of document sending method and device
CN108513162A (en) * 2017-02-23 2018-09-07 中兴通讯股份有限公司 Caching, playback method and the system reviewed is broadcast live
CN107547517A (en) * 2017-07-25 2018-01-05 高斯贝尔数码科技股份有限公司 Audio/video program method for recording and the network equipment and computer installation
CN107547517B (en) * 2017-07-25 2020-04-17 高斯贝尔数码科技股份有限公司 Audio and video program recording method, network equipment and computer device
CN111641851A (en) * 2020-05-13 2020-09-08 深圳创维-Rgb电子有限公司 PVR recording method, system and storage medium for video platform equipment

Also Published As

Publication number Publication date
CN105812831B (en) 2020-06-09
WO2016107197A1 (en) 2016-07-07

Similar Documents

Publication Publication Date Title
US8955030B2 (en) System and method for personal content access
US9615119B2 (en) Method and apparatus for providing timeshift service in digital broadcasting system and system thereof
KR100572478B1 (en) Method and system for providing multimedia content to multiple clients
US20080235587A1 (en) System and method for content distribution
CN105812831A (en) Network program recording method, device and system and recorded program playing method and device
CN104541512A (en) A method and an apparatus for processing a broadcast signal including an interactive broadcast service
JP2004193920A (en) Program delivering system and receiving apparatus
KR20070029566A (en) Method and apparatus for preview service in digital broadcasting system using electronic service guide
KR100367714B1 (en) Internet broadcasting system and method using the technique of dynamic combination of multimedia contents and targeted advertisement
CN108513162A (en) Caching, playback method and the system reviewed is broadcast live
KR102443060B1 (en) Information processing devices and information processing methods
US8850474B2 (en) Virtual content store in interactive services architecture
CN104618738A (en) Method and device for playing programs of intelligent TV
US10878076B2 (en) Receiving apparatus, transmitting apparatus, and data processing method
CN107534793A (en) Reception device, transmitting device and data processing method
US20090193455A1 (en) Information storage medium and method for providing additional contents based on trigger, and digital broadcast reception apparatus
CN103686409A (en) Method and system for synchronous broadcasting through desktop background and direct-broadcast interface
CN106534883A (en) Video control method and device
CN101803379B (en) Video on demand service method, video on demand receiver, and video on demand server
CN111225248B (en) On-demand content management method and content distribution network on-demand server
CN111800672A (en) Method and device for recording network personal video
CN105681838A (en) Method and system for counting HLS live broadcast online users
KR101472102B1 (en) System and terminal for rearranging live channel and generating complex contents using index file
CN1695376B (en) Method for acquiring data describing audio-visual contents, system, broadcast server, description server, and reception terminal therefor
CN110784737A (en) HLS protocol-based time-shifted television playing method, terminal and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant