CN104410879B - Time shift implementation method and device, server - Google Patents

Time shift implementation method and device, server Download PDF

Info

Publication number
CN104410879B
CN104410879B CN201410733753.3A CN201410733753A CN104410879B CN 104410879 B CN104410879 B CN 104410879B CN 201410733753 A CN201410733753 A CN 201410733753A CN 104410879 B CN104410879 B CN 104410879B
Authority
CN
China
Prior art keywords
streaming media
file
slice file
time
access address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410733753.3A
Other languages
Chinese (zh)
Other versions
CN104410879A (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.)
Baishitong Network TV Technology Development Co Ltd
Original Assignee
Baishitong Network TV Technology Development Co Ltd
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 Baishitong Network TV Technology Development Co Ltd filed Critical Baishitong Network TV Technology Development Co Ltd
Priority to CN201410733753.3A priority Critical patent/CN104410879B/en
Publication of CN104410879A publication Critical patent/CN104410879A/en
Application granted granted Critical
Publication of CN104410879B publication Critical patent/CN104410879B/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/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2387Stream processing in response to a playback request from an end-user, e.g. for trick-play
    • 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
    • H04N21/23106Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving caching operations
    • 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
    • H04N21/23113Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions
    • 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/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23406Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving management of server-side video buffer
    • 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/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4583Automatically resolving scheduling conflicts, e.g. when a recording by reservation has been programmed for two programs in the same time slot
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A kind of time shift implementation method and device, the method includes:When determining when being broadcast live in validity period, the slice file of the video is read from the memory of server and is played;When determining within non-live streaming validity period, read that the slice file is corresponding to be reviewed file piece group and play from the hard disk of the server.The efficiency that the net cast based on HLS protocol is reviewed can be improved in above-mentioned scheme, and economizes on resources.

Description

Time shifting implementation method and device and server
Technical Field
The invention relates to the technical field of file updating, in particular to a time shifting implementation method, a time shifting implementation device and a server.
Background
The HLS (HTTP Live Streaming, HLS for short) protocol performs automatic code rate adjustment according to the current internet bandwidth when playing audio and video Streaming media on the internet, so as to ensure that a user can watch internet videos smoothly. The HLS protocol is created by Apple (Apple) company in the United states, is designed aiming at iPhone, iPad and other devices of the company, and is an Internet audio and video transmission interactive protocol based on the HTTP protocol.
The time shift technique is "past (or delayed) live broadcast", that is, a user may pause for a certain time while live broadcast, and start playing again, that is, enter time shift, or may select to start "live broadcast" at a certain past time, and both of the above cases may be considered as "moving to a certain past time and then live broadcast".
In the prior art, live data cached by a Content Delivery Network (CDN) can also be used as a review service for a user. However, because of different cache storage locations, the CDN cannot determine whether the contents of the cache files at different locations are consistent, and only needs to return to the source twice to update and cache the file, which increases the bandwidth and cache capacity. Therefore, the time-shifting implementation method based on the HLS protocol in the prior art has the problems of low efficiency and resource waste.
Disclosure of Invention
The embodiment of the invention solves the problems of how to improve the live video playback efficiency based on the HLS protocol and save resources.
To solve the above problem, an embodiment of the present invention provides a time shift implementation method, where the method includes:
creating a uniform access address of a live streaming media file and a review streaming media file of the streaming media file;
and according to whether the live broadcast validity period of the streaming media slice file is within, directing the uniform access address to the streaming media slice file in a server memory or a hard disk, and acquiring the corresponding streaming media slice file and outputting and displaying the streaming media slice file.
Optionally, the obtaining, outputting and displaying the corresponding streaming media slice file by pointing the uniform access address to the streaming media slice file in the memory or the hard disk according to whether the streaming media slice file is in the live broadcast validity period includes:
when the live broadcast validity period of the streaming media slice file is determined, pointing the unified access address to the streaming media slice file in the memory, and acquiring the streaming media slice file in the memory pointed by the unified access address for output and display;
when the streaming media slice file is determined to be in the non-live broadcast validity period, the unified access address points to the streaming media slice file in the hard disk, the streaming media slice file pointed by the unified access address is obtained and output and displayed, the streaming media slice file comprises a plurality of file slices arranged according to a preset sequence, and the plurality of file slices arranged according to the preset sequence are obtained by dividing the slice file according to a preset time length.
Optionally, when it is determined that the current live broadcast validity period is within the non-live broadcast validity period, pointing the unified access address to the streaming media slice file in the hard disk, and acquiring the streaming media slice file in the hard disk pointed by the unified access address for output and display, where the method includes:
when the live broadcast is in the non-live broadcast validity period, a review request and a review time point are obtained;
and acquiring the slice file corresponding to the review time point in the hard disk, and outputting and displaying the slice file.
Optionally, the predetermined length of time is 10 s.
Optionally, the unified access address is an access soft link.
The embodiment of the invention also provides a time shifting implementation device of the time shifting sub-device, and the device comprises:
the creating unit is suitable for creating a uniform access address of a live streaming media file and a review streaming media file of the streaming media file;
and the time shifting unit is suitable for pointing the uniform access address to the streaming media slice file in the memory of the server or the hard disk according to whether the streaming media slice file is in the live broadcast validity period or not, and acquiring the corresponding streaming media slice file and outputting and displaying the streaming media slice file.
Optionally, the time shift unit comprises:
the live broadcasting subunit is suitable for pointing the uniform access address to the streaming media slice file in the memory when the live broadcasting validity period of the streaming media slice file is determined, and acquiring the streaming media slice file in the memory pointed by the uniform access address for output and display;
and the time shifting subunit is used for pointing the uniform access address to the streaming media slice file in the hard disk and acquiring the streaming media slice file in the hard disk pointed by the uniform access address to output and display when the time shifting subunit determines that the time shifting subunit is within the non-live broadcast validity period, wherein the streaming media slice file comprises a plurality of file slices arranged according to a preset sequence, and the plurality of file slices arranged according to the preset sequence are obtained by dividing the slice file according to a preset time length.
Optionally, the time shifting subunit includes:
the first acquisition module is suitable for acquiring a review request and a review time point when the live broadcast is in the non-live broadcast validity period;
and the second acquisition module is suitable for acquiring the slice file corresponding to the review time point in the hard disk and outputting and displaying the slice file.
Optionally, the predetermined length of time is 10 s.
Optionally, the unified access address is an access soft link.
The embodiment of the invention also provides a server which comprises the live video playback device.
Compared with the prior art, the technical scheme of the invention has the following advantages:
the method comprises the steps of storing the slice files in the live broadcast valid period in a memory of a server, storing the slice files in the non-live broadcast valid period in a hard disk of the server, establishing a live broadcast review uniform access address, and modifying the direction of the uniform access address according to whether the live broadcast valid period of the streaming media slice files exists or not to acquire the streaming media slice files in the memory or the hard disk, so that the video content providing efficiency can be improved, the video live broadcast and review speed can be improved, and resources can be effectively saved.
Furthermore, the method for dynamically changing the pointing direction of the soft link provides the user with the content which is linked to the server by the user in the memory or the hard disk of the server to obtain the live broadcast or the review of the video in the live broadcast validity period and the non-validity period, and the user can live broadcast and review the video content through the soft link without changing the access position, so that the method is convenient and efficient.
Drawings
FIG. 1 is a flow chart of a time-shift implementation method in an embodiment of the present invention;
FIG. 2 is a flow chart of another implementation method of time shifting in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a live video review device in an embodiment of the present invention;
FIG. 4 shows a schematic structural diagram of a time shifting unit in an embodiment of the invention;
fig. 5 shows a schematic structural diagram of a time shifting subunit in an embodiment of the present invention.
Detailed Description
In order to solve the above problems in the prior art, the technical scheme adopted in the embodiment of the present invention issues the cache file update notification according to the sequence from the pseudo source node to the edge node, so that the occurrence of the situation that the cache file is not updated thoroughly can be effectively avoided.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
Fig. 1 shows a flowchart of a time-shift implementation method in an embodiment of the present invention. The cache file updating method shown in fig. 1 may include:
step S101: and judging whether the live broadcast validity period of the current slice file is within the live broadcast validity period.
In a specific implementation, the slice file may be obtained by segmenting the media data corresponding to the video through a corresponding slice service.
In a specific implementation, when the determination result is yes, step S102 may be executed, and otherwise, step S103 may be executed.
Step S102: and reading the video slice file from the memory of the server and playing the video slice file.
In a specific implementation, when the live broadcast validity period of the slice file is determined, the slice file can be directly downloaded from the memory of the server and played.
Step S103: and reading a review file group corresponding to the slice file from a hard disk of the server and playing the review file group.
In a specific implementation, when it is determined that the slice file is within the non-live broadcast validity period, the review file group corresponding to the slice file may be directly downloaded from a hard disk of a server and played.
Fig. 2 shows a flowchart of another time-shift implementation method in the embodiment of the present invention. The time shift implementation method shown in fig. 2 may include:
step S201: and judging whether the live broadcast validity period of the current slice file is within the live broadcast validity period.
In a specific implementation, the live validity period of the current slice file may be set according to actual needs, and may be 1 minute or 3 minutes, for example.
Step S202: and reading the video slice file from the memory of the server and playing the video slice file.
In an embodiment of the invention, the slice file of the media data corresponding to the internet video based on the HLS protocol is stored in the memory, and when the live broadcast validity period is determined, the corresponding slice file can be directly read from the memory of the server and played, so that the real-time performance of the live video can be effectively improved.
Step S203: and acquiring a review request and a review time point.
In a specific implementation, when it is determined that the current slice file is not within the live validity period of the current slice file, the review time point information may be obtained through a video review request sent by a user.
Step S204: and acquiring a review file group corresponding to the review time point in the hard disk and playing the review file group.
In a specific implementation, the review file slice group includes a plurality of file slices arranged in a predetermined order, where the review file slice group includes a plurality of file slices arranged in a predetermined order, the plurality of file slices arranged in a predetermined order are obtained by dividing the slice file according to a predetermined time length, and a file slice corresponding to the review time point is used as a start.
And when the live broadcast period of validity is not live broadcast, searching the corresponding review file piece group in the hard disk for downloading and playing the review file piece group by establishing the corresponding relation between the review file piece group and the review time point and acquiring the review time point of the user.
In specific implementation, because the correspondence between the review file group and the review time point needs to occupy a larger storage space, the correspondence between the review file group and the review time point can be stored in a hard disk of the server, so as to save memory space and improve the performance of server operation.
The following takes the implementation of one-hour time shift as an example, and details the time shift implementation method in the embodiment of the present invention.
According to the HLS protocol, video can be divided into "index" and "content" parts. The content is a video slice that can be actually played, and the index is an m3u8 file for describing the attributes and positions of the video slice. Wherein the primary index m3u8 is used to describe bitrate information, and the secondary index m3u8 is used to describe (video slice) filenames.
Compared with the on-demand method, the live broadcast only has the end of the m3u8 file with the secondary index without an EXT-X-ENDLIST mark. In the HLS protocol, when the EXT-X-ENDLIST does not appear in the m3u8 file, that is, when m3u8 is not finished, the player needs to try to download the secondary m3u8 file again, and the live broadcast can update the video content by continuously modifying the content of the secondary index m3u8 file.
Wherein, the time shift of 1 hour corresponds to selectable time span of 3600 seconds, and is calculated according to the minimum unit of the time length of the video slice of the slice file is 10 seconds, so that the time shift of "1 hour" corresponds to 360 selectable time shift starting time points (review time points). Therefore, 360 sets of time-shifted secondary index m3u8 files may be created first.
Since each 10-second-difference time shift is actually one TS difference, the names of m3u8 files are indexed by d1.m3u8-d360.m3u8 in a secondary manner, and the content of the secondary index m3u8 is as follows:
TABLE 1
As can be seen from table 1, each secondary index dn.m3u8 file is delayed in time by 10 seconds from the media data (video content) corresponding to the previous secondary index dn-1.m3u8 file, namely:
d1.m3u8 corresponds to the content before 3600 seconds (1 hour);
d2.m3u8 corresponds to the content 3590 seconds ago;
d3.m3u8 corresponds to the content 3580 seconds ago;
d4.m3u8 corresponds to the content 3570 seconds ago;
……
d360.m3u8 corresponds to 0 seconds (now) of content, i.e. live.
The 360 secondary index m3u8 files from d1 to d360 are recycled according to the time lapse. When the file is updated to d360.m3u8, the next file update will cover d1.m3u8, and the contents of the corresponding secondary index m3u8 files become:
TABLE 2
As can be seen from table 2:
d2.m3u8 corresponds to the content 1 hour (3600 seconds) ago;
d3.m3u8 corresponds to the content 3590 seconds ago;
d4.m3u8 corresponds to the content 3580 seconds ago;
……
d360.m3u8 corresponds to the content before 10 seconds;
d1.m3u8 corresponds to 0 seconds (now) of content, i.e. live.
Therefore, by using the cyclic update of the secondary index m3u8 files of d1 to d360, the review of the video content before any time point can be realized, but the user is also required to change the access position continuously (d1- > d2- > d3 …).
In an embodiment of the present invention, in order for the user to view the review of the video content at the selected review time point without changing the access position, the combination of d1 through d360 corresponding to the selected review time point may be acquired by creating a soft link for access that dynamically tracks the cycling of d1 through d360.
In the specific implementation, due to the characteristics of video review, a total of 360 permutation and combination of secondary index m3u8 files of d 1-d 360 are determined, and therefore, the corresponding relation between the review time point and the corresponding combination of d 1-d 360 can be established in advance.
For example, from Group1 to Group360 are all possible combinations of the 360 secondary index m3u8 files covering d1 to d360. The corresponding look-back content is obtained by creating a soft link for access that dynamically changes the pointing, see table 3 below:
TABLE 3
Time of day Orientation relation
0 second index.m3u8->Group1
10 seconds index.m3u8->Group2
20 seconds index.m3u8->Group3
... ...
3600 seconds index.m3u8->Group360
3610 seconds index.m3u8->Group1
3620 seconds index.m3u8->Group2
... ...
Because the secondary index m3u8 files of d1 to d360 pointed by the soft link are dynamically changed, when a user needs to watch the video content corresponding to the selected review time, the secondary index m3u8 files of d1 to d360 corresponding to the selected review time can be obtained directly through the corresponding soft link without changing the access position, and then the downloading and playing of the video content of d1 to d360 arranged according to a specific sequence can be controlled through the secondary index m3u8 files of d1 to d360.
Of course, according to actual needs, the user may also make an offset pointed by the soft link for access (index.m3u8), for example, when the offset is equal to 1, it indicates that a bit is pushed backwards on the basis of the data in table 3, and in this way, the user only needs to access the fixed address (interface) of index.m3u8 to achieve downloading and playing of the time-shifted video content at different times.
It should be noted that, the implementation method of time shifting for one hour is further described above by taking live playback of a video as an example, but the implementation method of time shifting in the embodiment of the present invention is not only suitable for implementing a time shifting implementation method for one hour, but also can implement live playback of a time-shifted video with an arbitrary time length according to actual needs, and details are not described here again.
Fig. 3 shows a schematic structural diagram of a live video review device in an embodiment of the present invention. The live video review device 300 shown in fig. 3 may include a creating unit 301 and a time shifting unit 302, wherein:
the creating unit 301 is adapted to create a unified access address of a live streaming media file and a review streaming media file of the streaming media file.
The time shifting unit 302 is adapted to point the uniform access address to the streaming media slice file in the server memory or the hard disk according to whether the streaming media slice file is in the live broadcast validity period, and obtain the corresponding streaming media slice file and output and display the streaming media slice file.
Fig. 4 shows a schematic structural diagram of a time shift unit in an embodiment of the present invention. The time-shifting unit 400, as shown in fig. 4, may include a live subunit 401 and a time-shifting subunit 402, where:
the live broadcasting subunit 401 is adapted to, when it is determined that the live broadcasting validity period of the streaming media slice file is within the live broadcasting validity period, point the unified access address to the streaming media slice file in the memory, and obtain the streaming media slice file in the memory pointed by the unified access address for output and display;
and the time shifting subunit 402, when it is determined that the current time is within the non-live broadcast validity period, to point the unified access address to the streaming media slice file in the hard disk, and to obtain the streaming media slice file in the hard disk pointed by the unified access address for output and display, where the streaming media slice file includes a plurality of file slices arranged in a predetermined order, and the plurality of file slices arranged in the predetermined order are obtained by dividing the slice file according to a predetermined time length.
Fig. 5 shows a schematic structural diagram of a time shifting subunit in an embodiment of the present invention. The time-shifting subunit 500 shown in fig. 5 may include a first obtaining module 501 and a second obtaining module 502, where:
a first obtaining module 501, adapted to obtain a review request and a review time point when the live broadcast is in the non-live broadcast validity period;
a second obtaining module 502, adapted to obtain the slice file corresponding to the review time point in the hard disk, and output and display the slice file.
The embodiment of the invention also provides a server, and the server comprises the live video playback device.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by instructions associated with hardware via a program, which may be stored in a computer-readable storage medium, and the storage medium may include: ROM, RAM, magnetic or optical disks, and the like.
The method and system of the embodiments of the present invention have been described in detail, but the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (7)

1. A method for implementing time shifting, comprising:
creating a uniform access address of a live streaming media file and a review streaming media file of the streaming media file;
according to whether the streaming media slice file is in the live broadcast validity period or not, the unified access address points to the streaming media slice file in a server memory or a hard disk, and a corresponding streaming media slice file is obtained and output and displayed, wherein the unified access address is an access soft link;
the obtaining, outputting and displaying a corresponding streaming media slice file by pointing the uniform access address to the streaming media slice file in the memory or the hard disk according to whether the streaming media slice file is in the live broadcast validity period includes:
when the live broadcast validity period of the streaming media slice file is determined, pointing the unified access address to the streaming media slice file in the memory, and acquiring the streaming media slice file in the memory pointed by the unified access address for output and display;
when the streaming media slice file is determined to be in the non-live broadcast validity period, the unified access address points to the streaming media slice file in the hard disk, the streaming media slice file pointed by the unified access address is obtained and output and displayed, the streaming media slice file comprises a plurality of file slices arranged according to a preset sequence, and the plurality of file slices arranged according to the preset sequence are obtained by dividing the slice file according to a preset time length.
2. The method for implementing time shifting according to claim 1, wherein when it is determined that the period of validity of live broadcast is not within the period of validity of live broadcast, pointing the unified access address to the streaming media slice file in the hard disk, and obtaining the streaming media slice file in the hard disk pointed to by the unified access address for output display, includes:
when the live broadcast is in the non-live broadcast validity period, a review request and a review time point are obtained;
and acquiring the slice file corresponding to the review time point in the hard disk, and outputting and displaying the slice file.
3. The time-shift implementation method according to claim 1, wherein the predetermined length of time is 10 s.
4. A time shift implementation apparatus of a time shift sub-apparatus, comprising:
the creating unit is suitable for creating a uniform access address of a live streaming media file and a review streaming media file of the streaming media file;
the time shifting unit is suitable for pointing the uniform access address to the streaming media slice file in a server memory or a hard disk according to whether the streaming media slice file is in the live broadcast validity period or not, acquiring the corresponding streaming media slice file, and outputting and displaying the streaming media slice file, wherein the uniform access address is an access soft link;
wherein,
the time shift unit includes:
the live broadcasting subunit is suitable for pointing the uniform access address to the streaming media slice file in the memory when the live broadcasting validity period of the streaming media slice file is determined, and acquiring the streaming media slice file in the memory pointed by the uniform access address for output and display;
and the time shifting subunit is used for pointing the uniform access address to the streaming media slice file in the hard disk and acquiring the streaming media slice file in the hard disk pointed by the uniform access address to output and display when the time shifting subunit determines that the time shifting subunit is within the non-live broadcast validity period, wherein the streaming media slice file comprises a plurality of file slices arranged according to a preset sequence, and the plurality of file slices arranged according to the preset sequence are obtained by dividing the slice file according to a preset time length.
5. The time-shifting sub-apparatus time-shifting implementing apparatus of claim 4, wherein the time-shifting sub-unit comprises:
the first acquisition module is suitable for acquiring a review request and a review time point when the live broadcast is in the non-live broadcast validity period;
and the second acquisition module is suitable for acquiring the slice file corresponding to the review time point in the hard disk and outputting and displaying the slice file.
6. The time-shift sub-apparatus time-shift implementing apparatus according to claim 4, wherein the predetermined time length is 10 s.
7. A server, characterized in that it comprises the time-shifting sub-apparatus time-shifting implementing apparatus of any one of claims 4-6.
CN201410733753.3A 2014-12-04 2014-12-04 Time shift implementation method and device, server Active CN104410879B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410733753.3A CN104410879B (en) 2014-12-04 2014-12-04 Time shift implementation method and device, server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410733753.3A CN104410879B (en) 2014-12-04 2014-12-04 Time shift implementation method and device, server

Publications (2)

Publication Number Publication Date
CN104410879A CN104410879A (en) 2015-03-11
CN104410879B true CN104410879B (en) 2018-11-27

Family

ID=52648463

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410733753.3A Active CN104410879B (en) 2014-12-04 2014-12-04 Time shift implementation method and device, server

Country Status (1)

Country Link
CN (1) CN104410879B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303666A (en) * 2015-06-24 2017-01-04 中兴通讯股份有限公司 The processing method and processing device of a kind of IPTV program, IPTV system
CN106454396A (en) * 2016-10-26 2017-02-22 山东浪潮商用系统有限公司 Method for improving concurrency of live broadcast time shifted TV
CN109819345B (en) * 2017-11-20 2021-08-10 网宿科技股份有限公司 Live video processing method, time shifting method, video processing device and cloud storage system
CN109348240A (en) * 2018-10-25 2019-02-15 网易(杭州)网络有限公司 Video broadcasting method, apparatus and system, electronic equipment and storage medium
CN111182366A (en) * 2018-11-12 2020-05-19 玲珑视界科技(北京)有限公司 System and method for supporting multi-screen time shifting and review fusion production
CN112468839B (en) * 2020-11-26 2022-11-25 上海哔哩哔哩科技有限公司 Playback method, system, device and readable storage medium of live content

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607642A (en) * 2013-11-01 2014-02-26 乐视网信息技术(北京)股份有限公司 On demand method of multimedia program and electronic equipment
CN103686421A (en) * 2013-12-02 2014-03-26 深圳市龙视传媒有限公司 Custom television program list generation method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795297B (en) * 2010-03-19 2012-10-31 北京天天宽广网络科技有限公司 Live broadcasting time shifting system based on P2P (peer-to-peer) technology and method thereof
CN103686455A (en) * 2013-11-22 2014-03-26 乐视致新电子科技(天津)有限公司 Video playing method and device based on HLS protocol

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607642A (en) * 2013-11-01 2014-02-26 乐视网信息技术(北京)股份有限公司 On demand method of multimedia program and electronic equipment
CN103686421A (en) * 2013-12-02 2014-03-26 深圳市龙视传媒有限公司 Custom television program list generation method and device

Also Published As

Publication number Publication date
CN104410879A (en) 2015-03-11

Similar Documents

Publication Publication Date Title
CN104410879B (en) Time shift implementation method and device, server
CN108062409B (en) Live video abstract generation method and device and electronic equipment
US11785268B1 (en) System for managing video playback using a server generated manifest/playlist
US11532016B2 (en) Multiple playback local ad rotation
CN107743708B (en) Method, apparatus and node for participating in an ABR streaming session via DASH
CN103686455A (en) Video playing method and device based on HLS protocol
US10057618B2 (en) System for filtering media manifests using manifest attributes
CN102130936A (en) Method and device for supporting time shifting and look back in dynamic hyper text transport protocol (HTTP) streaming transmission scheme
US20120290644A1 (en) Methods and Arrangements for HTTP Media Stream Distribution
US20190373296A1 (en) Content streaming system and method
CN104125229B (en) The player method of Streaming Media and playing device
CN102215116A (en) Method and apparatus for providing timeshift service in digital broadcasting system and system thereof
CN106878815B (en) Video playing method and device
CN103517157A (en) Method and system for achieving HLS channel time-shifting playing
CN103813185B (en) A kind of method that segment programs are quickly distributed, server and client
CN104125516A (en) Media file receiving method and apparatus, media file sending method and apparatus, and system
WO2017071604A1 (en) Playback method, device and storage medium
CN103686245A (en) Video-on-demand and live broadcasting switching method and device based on HLS protocol
US12058421B2 (en) Content aggregation
CN104410901A (en) Play method and play device of M3U8 format live stream
CN114025199A (en) Live video editing method, device and system
CN104333781B (en) A kind of method and apparatus prefetching programme televised live information in CDN network
KR101397183B1 (en) Method and apparatus for managing playlist file in streaming service
CN102694823A (en) Method, server and client side to realize control of segmented program playing
FR3005386A1 (en) METHOD AND DEVICE FOR PROVIDING A PART ALREADY DIFFUSED FROM A MULTIMEDIA STREAM, USER TERMINAL, CORRESPONDING COMPUTER PROGRAM AND MEDIUM STORAGE MEDIUM

Legal Events

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