CN106534883A - Video control method and device - Google Patents
Video control method and device Download PDFInfo
- Publication number
- CN106534883A CN106534883A CN201510580086.4A CN201510580086A CN106534883A CN 106534883 A CN106534883 A CN 106534883A CN 201510580086 A CN201510580086 A CN 201510580086A CN 106534883 A CN106534883 A CN 106534883A
- Authority
- CN
- China
- Prior art keywords
- file
- index file
- media file
- cdn node
- media
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 239000012634 fragment Substances 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 7
- 238000007726 management method Methods 0.000 description 4
- 238000004458 analytical method Methods 0.000 description 2
- 230000001172 regenerating effect Effects 0.000 description 2
- 230000032683 aging Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/231—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N21/23109—Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion by placing content in organized collections, e.g. EPG data repository
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/16—Analogue secrecy systems; Analogue subscription systems
- H04N7/173—Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/40—Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
- G06F16/41—Indexing; Data structures therefor; Storage structures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/432—Content retrieval operation from a local storage medium, e.g. hard-disk
- H04N21/4325—Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Television Signal Processing For Recording (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a video control method and device. The method comprises the following steps that: a content delivery network (CDN) node acquires a play request sent by a terminal, wherein the play request is used for requesting a media file which is stored at the CDN node and recorded in a true video on demand (TVOD) form and/or a network personal video recorder (NPVR) form, and the play request carries a channel identifier, media file starting time and media file ending time; the CDN node determines at least one first index file according to the channel identifier, the media file starting time and the media file ending time; the CDN node determines a second index file according to the at least one first index file; and the CDN node transmits the second index file to the terminal, so that the terminal acquires the requested media file through the second index file. Through adoption of the video control method and device, the same play way is adopted by the TVOD and the NPVR, so that the storage space of the CDN is saved.
Description
Technical Field
The present invention relates to multimedia communication technologies, and in particular, to a video control method and apparatus.
Background
OTT is an abbreviation of "Over The Top," a name of internet television service for internet operators, and is called OTT TV in its entirety, which is essentially to provide high-definition video, games and other multimedia applications to an intelligent set-Top box through The open internet by using a unified content management and distribution platform.
OTT includes two important services: television program On Demand (TVOD) and Network personal record (NPVR). The TVOD is recorded independently by taking a program as a unit, and the TVOD provided for the user is also served by taking the program as a unit. The NPVR has two modes, one mode is that A user triggers to perform personal recording according to A complete program (the contents of the programs recorded by the individuals of all the users in this mode are the same, hereinafter referred to as NPVR- A mode), and the other mode is that the user performs personal recording according to A preference for A partial time period of the program (the contents of the programs recorded by the individuals of all the users in this mode may be different, hereinafter referred to as NPVR-B mode), and services are performed in units of the contents recorded by the individuals when the NPVR services are provided for the users.
In the process of implementing the TVOD and the NPVR, a person skilled in the art finds that the TVOD and the NPVR adopt a mode of separately storing and respectively and independently providing services, thereby occupying a large amount of storage space of a Content Delivery Network (CDN).
Disclosure of Invention
In order to solve the technical problem, the invention provides a video control method and a video control device, which are used for solving the problem of occupying a large amount of storage space of a CDN.
In order to achieve the object of the present invention, the present invention provides a video control method, comprising:
a Content Delivery Network (CDN) node of a content delivery system acquires a play request sent by a terminal, wherein the play request is used for requesting a media file which is stored in the CDN node and is recorded in a television program on demand (TVOD) mode and/or a network personal recording (NPVR) mode, and the play request carries a channel identifier, a media file start time and a media file end time;
the CDN node determines at least one first index file according to the channel identifier, the media file start time and the media file end time, wherein the first index file at least comprises: a storage path for the media file;
the CDN node determines a second index file according to the at least one first index file, wherein the second index file comprises storage path information of all media files indexed by the at least one first index file;
and the CDN node sends the second index file to the terminal so that the terminal can acquire the requested media file through the second index file.
Further, the first index file further includes: program content start time and program content end time, information on whether recording was successful, and identification information, the identification information including any one or a combination of the following: NPVR identity or TVOD identity.
Further, the determining, by the CDN node, at least one first index file according to the channel identifier, the media file start time, and the media file end time includes:
the CDN node determines a catalogue corresponding to the channel indicated by the channel identifier according to the channel identifier;
and the CDN node determines the at least one first index file under the directory according to the media file start time and the media file end time, wherein the first index file is named by the media file start time and the media file end time.
Further, before the CDN node obtains the play request sent by the terminal, the method further includes:
the CDN node acquires a media file and the first index file according to an original file address, wherein the media file comprises a media fragment file which is recorded under a channel and is divided in a time length;
and the CDN node stores the media file and the first index file in a catalogue of the CDN node corresponding to the channel.
Further, before the CDN node obtains the play request sent by the terminal, the method further includes:
the CDN node receives a TVOD recording request, wherein the TVOD recording request carries a channel identifier, a program content starting time and a program content ending time;
the CDN node determines the first index file according to a channel identifier, a program content starting time and a program content ending time;
and the CDN node identifies the first index file by the TVOD according to the TVOD recording request.
Further, before the CDN node obtains the play request sent by the terminal, the method further includes:
the CDN node receives an NPVR recording request, wherein the NPVR recording request carries a channel identifier, the starting time of program content and the ending time of the program content;
the CDN node determines the first index file according to a channel identifier, a program content starting time and a program content ending time;
and the CDN node identifies the first index file as an NPVR identification according to the NPVR recording request.
The present invention also provides a video control apparatus, comprising:
the system comprises an acquisition module, a playing module and a processing module, wherein the acquisition module is used for acquiring a playing request sent by a terminal, the playing request is used for requesting a media file which is stored in a CDN node and is recorded in a TV program on demand (TVOD) form and/or a network personal recording (NPVR) form, and the playing request carries a channel identifier, a media file starting time and a media file ending time;
a first determining module, configured to determine at least one first index file according to the channel identifier, the media file start time, and the media file end time, where the first index file at least includes: a storage path for the media file;
a second determining module, configured to determine a second index file according to the at least one first index file, where the second index file includes storage path information of all media files indexed by the at least one first index file;
and the sending module is used for sending the second index file to the terminal so that the terminal can acquire the requested media file through the second index file.
Further, the first index file further includes: program content start time and program content end time, information on whether recording was successful, and identification information, the identification information including any one or a combination of the following: NPVR identity or TVOD identity.
Further, the first determining module is specifically configured to determine, by the CDN node, a directory corresponding to the channel indicated by the channel identifier according to the channel identifier; and the CDN node determines the at least one first index file under the directory according to the media file start time and the media file end time, wherein the first index file is named by the media file start time and the media file end time.
Further, the obtaining module is further configured to obtain a media file and the first index file according to an original file address, where the media file includes a media fragment file that is recorded in a channel and is divided by a time length; and storing the media file and the first index file in a catalogue of the CDN node corresponding to the channel.
Further, the first determining module is further configured to receive a TVOD recording request, where the TVOD recording request carries a channel identifier, a program content start time, and a program content end time; determining the first index file according to the channel identification, the program content starting time and the program content ending time; and identifying the TVOD by the first index file according to the TVOD recording request.
Further, the first determining module is further configured to receive, by the CDN node, an NPVR recording request, where the NPVR recording request carries a channel identifier, a program content start time, and a program content end time; determining the first index file according to the channel identification, the program content starting time and the program content ending time; and identifying the first index file by an NPVR identification according to the NPVR recording request. Compared with the prior art, the method comprises the steps that a CDN node of a content distribution system obtains a play request sent by a terminal, the play request is used for requesting a media file which is stored in the CDN node and is recorded in a TV program on demand (TVOD) mode and/or a network personal recording (NPVR) mode, and the play request carries a channel identifier, media file starting time and media file ending time; the CDN node determines at least one first index file according to the channel identifier, the media file start time and the media file end time, wherein the first index file at least comprises: a storage path for the media file; the CDN node determines a second index file according to the at least one first index file, wherein the second index file comprises storage path information of all media files indexed by the at least one first index file; and the CDN node sends the second index file to the terminal so that the terminal can acquire the requested media file through the second index file. The TVOD and the NPVR are realized to adopt the same playing mode, and therefore the storage space of the CDN is saved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
FIG. 1 is a flowchart illustrating a video control method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a structure of a directory and an index file according to an embodiment of a video control method of the present invention;
FIG. 3 is a flowchart illustrating a video control method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating a video control method according to a third embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a video control system according to an embodiment of a video control method of the present invention;
fig. 6 is a schematic structural diagram of a video control apparatus according to an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
The video control method provided by the embodiment of the invention can be particularly applied to a scene that a terminal sends a playing request to a Content Delivery Network (CDN) node, or a scene that the CDN node records a media file. The video control method provided in this embodiment may be executed by a video control device, and the video control device may be separately configured or may be configured on a CDN node, where the video control method may be implemented by using software/hardware. The video control method and the apparatus thereof are described in detail below.
Fig. 1 is a schematic flowchart of a video control method according to an embodiment of the present invention, and as shown in fig. 1, the video control method according to the embodiment of the present invention includes:
step 101, a content delivery system CDN node acquires a play request sent by a terminal.
In this embodiment, the play request is used to request a media file recorded in a television program On Demand (TVOD) format and/or a Network Personal Video Recorder (NPVR) format, where the media file is stored in the CDN node, and the play request carries a channel identifier, a media file start time, and a media file end time;
and step 102, the CDN node determines at least one first index file according to the channel identifier, the media file start time and the media file end time.
In this embodiment, the first index file at least includes: a storage path for the media file.
For example, the CDN node determines, according to the channel identifier, a directory corresponding to the channel identifier indication channel; then, the CDN node determines the at least one first index file under the directory according to the media file start time and the media file end time, where the first index file is named after the media file start time and the media file end time.
Step 103, the CDN node determines a second index file according to the at least one first index file.
In this embodiment, the second index file includes storage path information of all media files indexed by the at least one first index file.
And step 104, the CDN node sends the second index file to the terminal, so that the terminal obtains the requested media file through the second index file.
The embodiment includes at least the following two implementation manners:
the first implementation mode comprises the following steps: when a content delivery system (CDN) node acquires a TVOD play request sent by a terminal, the TVOD play request is used for requesting a media file recorded in an electric TVOD form and stored in the CDN node, wherein the TVOD play request carries a channel identifier, a media file start time and a media file end time. After receiving the TVOD playing request, the CDN node determines a catalog corresponding to the channel indicated by the channel identifier; and then, the CDN node determines the at least one first index file under the catalog according to the media file start time and the media file end time. And then, reading the media slicing paths positioned at the start time and the end time of the media file in the first index files, and regenerating a new index file, namely a second index file. And then, sending the second index file to the terminal, so that the terminal analyzes the second index file to obtain the URL of each media fragment file, and taking the URL obtained by analysis to the CDN to further obtain the media file.
The second implementation mode comprises the following steps: when a Content Delivery Network (CDN) node of a content delivery system acquires an NPVR playing request sent by a terminal, the NPVR playing request is used for requesting a media file which is stored in the CDN node and recorded in an electric NPVR mode, wherein the NPVR playing request carries a channel identifier, a media file starting time and a media file ending time. After receiving the NPVR playing request, the CDN node determines a catalogue corresponding to the channel indicated by the channel identifier; and then, the CDN node determines the at least one first index file under the catalog according to the media file start time and the media file end time. And then, reading the media slicing paths positioned at the start time and the end time of the media file in the first index files, and regenerating a new index file, namely a second index file. And then, sending the second index file to the terminal, so that the terminal analyzes the second index file to obtain the URL of each media fragment file, and taking the URL obtained by analysis to the CDN to further obtain the media file.
In this embodiment, a content delivery system (CDN) node obtains a play request sent by a terminal, where the play request is used to request a media file recorded in a television program on demand (TVOD) format and/or a network personal recording (NPVR) format and stored in the CDN node, and the play request carries a channel identifier, a media file start time, and a media file end time; the CDN node determines at least one first index file according to the channel identifier, the media file start time and the media file end time, wherein the first index file at least comprises: a storage path for the media file; the CDN node determines a second index file according to the at least one first index file, wherein the second index file comprises storage path information of all media files indexed by the at least one first index file; and the CDN node sends the second index file to the terminal so that the terminal can acquire the requested media file through the second index file. The TVOD and the NPVR are realized to adopt the same playing mode, and therefore the storage space of the CDN is saved.
Table 1 is a schematic structural diagram of a first index file according to an embodiment of the video control method of the present invention, and as shown in table 1, the first index file further includes: program content start time and program content end time, information on whether recording was successful, and identification information, the identification information including any one or a combination of the following: NPVR identity or TVOD identity.
TABLE 1
Further, on the basis of the foregoing embodiment, before the CDN node obtains the play request sent by the terminal, the method may further include:
the CDN node acquires a media file and the first index file according to an original file address, wherein the media file comprises a media fragment file which is recorded under a channel and is divided in a time length;
and the CDN node stores the media file and the first index file in a catalogue of the CDN node corresponding to the channel.
Note that, a mark indicating that recording is successful is typed in the first index file for recording a normal media file.
Fig. 2 is a schematic structural diagram of directories and index files according to an embodiment of the video control method of the present invention, as shown in fig. 2, in a tvod (tvo) recording scenario, a plurality of first index files may be located below one CHANNEL, for example, a plurality of first index files are located below CHANNEL, and the first index files are named by the start time and the end time of the media file.
Fig. 3 is a schematic flowchart of a second embodiment of the video control method of the present invention, and as shown in fig. 3, before the CDN node obtains the play request sent by the terminal, the method may further include:
step 301, the CDN node receives a TVOD recording request.
In this embodiment, the TVOD recording request carries a channel identifier, a start time of a program content, and an end time of the program content;
step 302, the CDN node determines the first index file according to the channel identifier, the program content start time, and the program content end time;
step 303, the CDN node identifies the TVOD by the first index file according to the TVOD recording request.
Fig. 4 is a schematic flowchart of a video control method according to a third embodiment of the present invention, and as shown in fig. 4, before the CDN node obtains a play request sent by a terminal, the method may further include:
step 401, the CDN node receives an NPVR recording request.
In this embodiment, the NPVR recording request carries a channel identifier, a program content start time, and a program content end time;
step 402, determining, by the CDN node, the first index file according to the channel identifier, the program content start time, and the program content end time;
step 403, the CDN node identifies the first index file as an NPVR identifier according to the NPVR recording request.
From the above steps, it can be seen that the recording flow of the TVOD shown in fig. 3 and the recording flow of the NPVR shown in fig. 4 are substantially identical.
Fig. 5 is a schematic structural diagram of a video control system according to an embodiment of the video control method of the present invention, and as shown in fig. 5, a channel recording module of a CDN node receives a TVOD playbill recording request from a service management system, determines a recording condition of a local channel through a storage module, and returns a recording result. Or after receiving the NPVR request of the service management system, the channel service module of the CDN node judges the recording condition of the local channel through the storage module, returns the recording result, and updates the first index file to mark the NPVR mark on the media file in the corresponding time period. Further, after the aging time of the TVOD program is reached, the media file corresponding to the file path not containing the NPVR mark in the index is deleted, and the file path is also deleted from the index.
Further, the recording process comprises: and updating and acquiring a first index file of a corresponding channel of the source station at regular time, downloading the latest media fragment file according to the acquired first index file, recording the latest media fragment file into a local storage system, storing the latest media fragment file into a corresponding channel directory, and generating the local first index file at regular time. The local file index is named according to the time period, the file name can identify that the first index file contains the media fragment file path of the time period, and a new second index file is regenerated after a fixed time interval. The indexed content includes the start and stop time of the corresponding media file and whether the recording of the media fragment file is successful, in addition to the path of the media fragment file.
Further, the CDN node determining the recording condition of the local channel includes: and finding a corresponding channel path according to the channel name, finding a corresponding local first index file according to the time period of the TVOD, and finding the recording state of the media fragment file corresponding to the time period of the TVOD according to the first index file.
Further, the process of integrating the NPVR request of the user by the service management system includes: and directly returning the successful recording aiming at the NPVR request of each user. And collecting and storing NPVR recording requests of all users in the NPVR request time period allowed by the users, and merging the requested time periods according to the channels to generate a recording set of all users.
Fig. 6 is a schematic structural diagram of a video control apparatus according to an embodiment of the present invention, and as shown in fig. 6, the video control apparatus includes: an acquisition module 61, a first determination module 62, a second determination module 63 and a sending module 64. Wherein,
the obtaining module 61 is configured to obtain a play request sent by a terminal, where the play request is used to request a media file recorded in a tv program on demand TVOD format and/or a network personal recording NPVR format and stored in the CDN node, and the play request carries a channel identifier, a media file start time, and a media file end time;
a first determining module 62, configured to determine at least one first index file according to the channel identifier, the media file start time, and the media file end time, where the first index file at least includes: a storage path for the media file;
a second determining module 63, configured to determine a second index file according to the at least one first index file, where the second index file includes storage path information of all media files indexed by the at least one first index file;
a sending module 64, configured to send the second index file to the terminal, so that the terminal obtains the requested media file through the second index file.
In this embodiment, a content delivery system (CDN) node obtains a play request sent by a terminal, where the play request is used to request a media file recorded in a television program on demand (TVOD) format and/or a network personal recording (NPVR) format and stored in the CDN node, and the play request carries a channel identifier, a media file start time, and a media file end time; the CDN node determines at least one first index file according to the channel identifier, the media file start time and the media file end time, wherein the first index file at least comprises: a storage path for the media file; the CDN node determines a second index file according to the at least one first index file, wherein the second index file comprises storage path information of all media files indexed by the at least one first index file; and the CDN node sends the second index file to the terminal so that the terminal can acquire the requested media file through the second index file. The TVOD and the NPVR are realized to adopt the same playing mode, and therefore the storage space of the CDN is saved.
It should be noted that the first index file further includes: program content start time and program content end time, information on whether recording was successful, and identification information, the identification information including any one or a combination of the following: NPVR identity or TVOD identity.
Further, on the basis of the foregoing embodiment, the first determining module 62 is specifically configured to determine, by the CDN node, a directory corresponding to the channel indicated by the channel identifier according to the channel identifier; and the CDN node determines the at least one first index file under the directory according to the media file start time and the media file end time, wherein the first index file is named by the media file start time and the media file end time.
Further, on the basis of the foregoing embodiment, the obtaining module 61 is further configured to obtain a media file and the first index file according to an original file address, where the media file includes a media fragment file that is recorded in a channel and is divided by a time length; and storing the media file and the first index file in a catalogue of the CDN node corresponding to the channel.
Further, on the basis of the foregoing embodiment, the first determining module 62 is further configured to receive a TVOD recording request, where the TVOD recording request carries a channel identifier, a program content start time, and a program content end time; determining the first index file according to the channel identification, the program content starting time and the program content ending time; and identifying the TVOD by the first index file according to the TVOD recording request.
Optionally, on the basis of the foregoing embodiment, the first determining module 62 is further configured to receive, by the CDN node, an NPVR recording request, where the NPVR recording request carries a channel identifier, a program content start time, and a program content end time; determining the first index file according to the channel identification, the program content starting time and the program content ending time; according to the NPVR recording request, the first index file is marked with an NPVR mark
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (12)
1. A video control method, comprising:
a Content Delivery Network (CDN) node of a content delivery system acquires a play request sent by a terminal, wherein the play request is used for requesting a media file which is stored in the CDN node and is recorded in a television program on demand (TVOD) mode and/or a network personal recording (NPVR) mode, and the play request carries a channel identifier, a media file start time and a media file end time;
the CDN node determines at least one first index file according to the channel identifier, the media file start time and the media file end time, wherein the first index file at least comprises: a storage path for the media file;
the CDN node determines a second index file according to the at least one first index file, wherein the second index file comprises storage path information of all media files indexed by the at least one first index file;
and the CDN node sends the second index file to the terminal so that the terminal can acquire the requested media file through the second index file.
2. The method of claim 1, wherein the first index file further comprises: program content start time and program content end time, information on whether recording was successful, and identification information, the identification information including any one or a combination of the following: NPVR identity or TVOD identity.
3. The method of claim 2, wherein the determining, by the CDN node, at least one first index file according to the channel identifier, the media file start time, and the media file end time comprises:
the CDN node determines a catalogue corresponding to the channel indicated by the channel identifier according to the channel identifier;
and the CDN node determines the at least one first index file under the directory according to the media file start time and the media file end time, wherein the first index file is named by the media file start time and the media file end time.
4. The method according to claim 3, wherein before the CDN node obtains the play request sent by the terminal, the method further includes:
the CDN node acquires a media file and the first index file according to an original file address, wherein the media file comprises a media fragment file which is recorded under a channel and is divided in a time length;
and the CDN node stores the media file and the first index file in a catalogue of the CDN node corresponding to the channel.
5. The method according to any one of claims 1 to 4, wherein before the CDN node obtains the play request sent by the terminal, the method further includes:
the CDN node receives a TVOD recording request, wherein the TVOD recording request carries a channel identifier, a program content starting time and a program content ending time;
the CDN node determines the first index file according to a channel identifier, a program content starting time and a program content ending time;
and the CDN node identifies the first index file by the TVOD according to the TVOD recording request.
6. The method according to any one of claims 1 to 4, wherein before the CDN node obtains the play request sent by the terminal, the method further includes:
the CDN node receives an NPVR recording request, wherein the NPVR recording request carries a channel identifier, the starting time of program content and the ending time of the program content;
the CDN node determines the first index file according to a channel identifier, a program content starting time and a program content ending time;
and the CDN node identifies the first index file as an NPVR identification according to the NPVR recording request.
7. A video control apparatus, comprising:
the system comprises an acquisition module, a playing module and a processing module, wherein the acquisition module is used for acquiring a playing request sent by a terminal, the playing request is used for requesting a media file which is stored in a CDN node and is recorded in a TV program on demand (TVOD) form and/or a network personal recording (NPVR) form, and the playing request carries a channel identifier, a media file starting time and a media file ending time;
a first determining module, configured to determine at least one first index file according to the channel identifier, the media file start time, and the media file end time, where the first index file at least includes: a storage path for the media file;
a second determining module, configured to determine a second index file according to the at least one first index file, where the second index file includes storage path information of all media files indexed by the at least one first index file;
and the sending module is used for sending the second index file to the terminal so that the terminal can acquire the requested media file through the second index file.
8. The apparatus of claim 7, wherein the first index file further comprises: program content start time and program content end time, information on whether recording was successful, and identification information, the identification information including any one or a combination of the following: NPVR identity or TVOD identity.
9. The apparatus according to claim 8, wherein the first determining module is specifically configured to determine, by the CDN node, a directory corresponding to the channel identifier indication channel according to the channel identifier; and the CDN node determines the at least one first index file under the directory according to the media file start time and the media file end time, wherein the first index file is named by the media file start time and the media file end time.
10. The apparatus according to claim 9, wherein the obtaining module is further configured to obtain a media file and the first index file according to an original file address, where the media file includes a media fragment file that is recorded in a channel and is divided by a time length; and storing the media file and the first index file in a catalogue of the CDN node corresponding to the channel.
11. The apparatus according to any of claims 7-10, wherein the first determining module is further configured to receive a TVOD recording request, where the TVOD recording request carries a channel identifier, a program content start time, and a program content end time; determining the first index file according to the channel identification, the program content starting time and the program content ending time; and identifying the TVOD by the first index file according to the TVOD recording request.
12. The apparatus of any of claims 7-10, wherein the first determining module is further configured to receive, by the CDN node, an NPVR recording request, where the NPVR recording request carries a channel identifier, a program content start time, and a program content end time; determining the first index file according to the channel identification, the program content starting time and the program content ending time; and identifying the first index file by an NPVR identification according to the NPVR recording request.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510580086.4A CN106534883A (en) | 2015-09-11 | 2015-09-11 | Video control method and device |
PCT/CN2016/097766 WO2017041663A1 (en) | 2015-09-11 | 2016-09-01 | Video control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510580086.4A CN106534883A (en) | 2015-09-11 | 2015-09-11 | Video control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106534883A true CN106534883A (en) | 2017-03-22 |
Family
ID=58240571
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510580086.4A Withdrawn CN106534883A (en) | 2015-09-11 | 2015-09-11 | Video control method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106534883A (en) |
WO (1) | WO2017041663A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107248991A (en) * | 2017-06-12 | 2017-10-13 | 北京经纬中天信息技术有限公司 | IP stream scheduling system and methods based on key frame of video |
CN108540816A (en) * | 2018-03-28 | 2018-09-14 | 腾讯科技(深圳)有限公司 | A kind of live video acquisition methods, device and storage medium |
CN110022482A (en) * | 2019-03-05 | 2019-07-16 | 咪咕视讯科技有限公司 | Video playing starting method, video service system and storage medium |
WO2020177468A1 (en) * | 2019-03-06 | 2020-09-10 | 中兴通讯股份有限公司 | Method and apparatus for controlling content presentation, and server and storage medium |
CN111800672A (en) * | 2020-06-06 | 2020-10-20 | 烽火通信科技股份有限公司 | Method and device for recording network personal video |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101022538A (en) * | 2007-03-02 | 2007-08-22 | 华为技术有限公司 | Content management method and offering method for service requested and correlation device and system |
US20080193104A1 (en) * | 2007-02-12 | 2008-08-14 | Time Warner Cable Inc. | Prevention of trick modes during digital video recorder (dvr) and network digital video recorder (ndvr) content |
US20090228942A1 (en) * | 2006-03-22 | 2009-09-10 | France Telecom | System and a method for managing audiovisual programs in a telecommunications network |
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 |
CN102413364A (en) * | 2011-11-23 | 2012-04-11 | 中兴通讯股份有限公司 | Sitcom recording method and system based on NPVR (Network Personal Video Recorder) in IPTV (Interactive Personality Television) system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7721313B2 (en) * | 2006-06-30 | 2010-05-18 | Microsoft Corporation | Multi-DVR node communication |
CN101668194B (en) * | 2008-09-05 | 2011-05-11 | 中兴通讯股份有限公司 | Method and device for inserting and playing advertisement based on content fragmentation |
CN102118438A (en) * | 2011-01-17 | 2011-07-06 | 中兴通讯股份有限公司 | Method and device for live broadcasting apple media stream in Internet protocol television (IPTV) system |
CN102413369B (en) * | 2011-11-14 | 2014-12-10 | 深圳市龙视传媒有限公司 | On-demand method and on-demand system of digital television time-shifting programs |
-
2015
- 2015-09-11 CN CN201510580086.4A patent/CN106534883A/en not_active Withdrawn
-
2016
- 2016-09-01 WO PCT/CN2016/097766 patent/WO2017041663A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090228942A1 (en) * | 2006-03-22 | 2009-09-10 | France Telecom | System and a method for managing audiovisual programs in a telecommunications network |
US20080193104A1 (en) * | 2007-02-12 | 2008-08-14 | Time Warner Cable Inc. | Prevention of trick modes during digital video recorder (dvr) and network digital video recorder (ndvr) content |
CN101022538A (en) * | 2007-03-02 | 2007-08-22 | 华为技术有限公司 | Content management method and offering method for service requested and correlation device and system |
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 |
CN102413364A (en) * | 2011-11-23 | 2012-04-11 | 中兴通讯股份有限公司 | Sitcom recording method and system based on NPVR (Network Personal Video Recorder) in IPTV (Interactive Personality Television) system |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107248991A (en) * | 2017-06-12 | 2017-10-13 | 北京经纬中天信息技术有限公司 | IP stream scheduling system and methods based on key frame of video |
CN107248991B (en) * | 2017-06-12 | 2020-11-24 | 北京经纬中天信息技术有限公司 | IP stream scheduling system and method based on video key frame |
CN108540816A (en) * | 2018-03-28 | 2018-09-14 | 腾讯科技(深圳)有限公司 | A kind of live video acquisition methods, device and storage medium |
CN110022482A (en) * | 2019-03-05 | 2019-07-16 | 咪咕视讯科技有限公司 | Video playing starting method, video service system and storage medium |
WO2020177468A1 (en) * | 2019-03-06 | 2020-09-10 | 中兴通讯股份有限公司 | Method and apparatus for controlling content presentation, and server and storage medium |
CN111800672A (en) * | 2020-06-06 | 2020-10-20 | 烽火通信科技股份有限公司 | Method and device for recording network personal video |
Also Published As
Publication number | Publication date |
---|---|
WO2017041663A1 (en) | 2017-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10206000B2 (en) | Receiving apparatus, receiving method, and program | |
CA2859008C (en) | Receiver, reception method, program and information processing system | |
US11218762B2 (en) | Content archive model | |
CN103379362B (en) | VOD method and system | |
CN106534883A (en) | Video control method and device | |
CN106034262B (en) | Adaptive streaming media processing method and device | |
US10277927B2 (en) | Movie package file format | |
CN105163142B (en) | A kind of user preference determines method, video recommendation method and system | |
US20140157324A1 (en) | Content Identification and Management | |
CN103813185B (en) | A kind of method that segment programs are quickly distributed, server and client | |
WO2018153237A1 (en) | Caching method and system for replaying live broadcast, and playing method and system | |
CN105812831B (en) | Network program recording method, device and system and playing method and device | |
CN104185040A (en) | Application synchronization method, application server and terminal | |
CN111225248B (en) | On-demand content management method and content distribution network on-demand server | |
CN106506483B (en) | Video source group synchronized playback method and device based on ONVIF | |
CN106658150B (en) | Method and device for realizing review processing | |
CN102957972A (en) | Video on demand method and system thereof | |
CN105812961B (en) | Adaptive stream media processing method and processing device | |
US8549029B2 (en) | Method for generating data enabling the search for content, system, terminal, and server complements to implement the method | |
CN113207007B (en) | Live broadcast recording method based on HLS protocol | |
US20150288731A1 (en) | Content switching method and apparatus | |
CN110300308A (en) | A kind of Streaming Media playbacks method and device | |
CN108024137B (en) | Broadcast data processing method and device, computing equipment and storage medium | |
EP3780625A1 (en) | Recorded data processing method and relevant device | |
CN106657837B (en) | Television system switching method and television |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170322 |