CN109309643B - Live broadcast time shifting processing method and system and source station - Google Patents
Live broadcast time shifting processing method and system and source station Download PDFInfo
- Publication number
- CN109309643B CN109309643B CN201710615532.XA CN201710615532A CN109309643B CN 109309643 B CN109309643 B CN 109309643B CN 201710615532 A CN201710615532 A CN 201710615532A CN 109309643 B CN109309643 B CN 109309643B
- Authority
- CN
- China
- Prior art keywords
- time
- cache server
- playlist
- cdn cache
- network television
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/65—Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
- H04L65/762—Media network packet handling at the source
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/75—Media network packet handling
- H04L65/765—Media network packet handling intermediate
-
- 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/21—Server components or server architectures
- H04N21/218—Source of audio or video content, e.g. local disk arrays
- H04N21/2187—Live feed
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47202—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8547—Content authoring involving timestamps for synchronizing content
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computer Security & Cryptography (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a live broadcast time shift processing method, a system and a source station, which relate to the technical field of CDN (content delivery network), wherein the method comprises the following steps: a source station receives a first direct broadcast time shift request sent by a CDN cache server of a first content delivery network, wherein the first direct broadcast time shift request is sent to the CDN cache server by a first network television client, and carries an initial time required for watching a video back; and the source station sends a first playlist corresponding to the first live time shift request to the first CDN cache server according to the starting time, so that the first CDN cache server caches the first playlist and sends the first playlist to the first network television client for playing, wherein the first playlist comprises a plurality of video fragments. The invention can reduce the pressure of the source station.
Description
Technical Field
The invention relates to the technical field of Content Delivery Networks (CDN), in particular to a live broadcast time shift processing method, a live broadcast time shift processing system and a source station.
Background
The network television refers to television watching through the internet. The network television system comprises a network television client, a CDN cache server and a source station, as shown in FIG. 1.
The network television client is an access device of the network television and is responsible for downloading a television program list, selecting programs, receiving audio and video, decoding and the like. The CDN cache server provides television program distribution, and enables users to receive television content at the CDN cache server closest to the users. The CDN cache server is good at caching static content, and dynamic content is directly obtained from a source station. The source station provides live and on-demand television sources.
Live time-shifting refers to the ability to playback live content for any time in the past. The live broadcast time shifting technology is mainly applied to emerging network televisions. An example of a live time-shift request may be: http:// www.iptv.com/cctv.m3u8? time shift 3600, the live time shift request indicates a request to play the video 3600 seconds ago. The network television client repeatedly sends the live broadcast time shift request to the CDN cache server at intervals, so that the network television client can play videos before 3600 seconds all the time. However, since 3600 seconds is a relative time, playlists corresponding to live time shift requests sent by the network television client at different times are different. Therefore, after receiving a live broadcast time shift request each time, the CDN cache server obtains a corresponding playlist from the source station.
If a large number of network television clients initiate live broadcast time shifting requests at the same time and the relative time of each network television client for requesting time shifting is different, the CDN cache server needs a large number of back sources, which causes great pressure to the source station, so that the source station needs capacity expansion to meet the large number of back source requests, otherwise, the source station may be paralyzed, thereby affecting the quality of the whole network television.
Disclosure of Invention
One object of the present invention is: the pressure at the source station is reduced.
According to an aspect of the present invention, a live time shift processing method is provided, including: a source station receives a first direct broadcast time shift request sent by a CDN cache server of a first content delivery network, wherein the first direct broadcast time shift request is sent to the CDN cache server by a first network television client, and carries an initial time required for watching a video back; and the source station sends a first playlist corresponding to the first live time shift request to the first CDN cache server according to the starting time, so that the first CDN cache server caches the first playlist and sends the first playlist to the first network television client for playing, wherein the first playlist comprises a plurality of video fragments.
In one embodiment, the method further comprises: the first CDN cache server receives the first direct broadcasting time shift request sent by a second network television client; and the first CDN cache server sends the cached first playlist to the second network television client for playing.
In one embodiment, the method further comprises: the first CDN cache server receives a second live broadcast time shifting request sent by a third network television client, wherein the second live broadcast time shifting request carries relative time, and the relative time is the difference between the current time and the starting time of a video required to be watched back; the first CDN cache server determines the starting time of the video to be required to be watched back according to the relative time and the current time; and the first CDN cache server sends the cached first playlist to the third network television client for playing under the condition that the determined starting time is the same as the starting time carried by the first live time shift request.
In one embodiment, the method further comprises: the source station receives a third live broadcast time shifting request sent by a second CDN cache server, the third live broadcast time shifting request is sent to the second CDN cache server by a fourth network television client, the third live broadcast time shifting request carries relative time, and the relative time is the difference between the current time and the starting time of a video required to be watched back; and the source station sends a second playlist corresponding to the third live broadcast time shift request to the second CDN cache server according to the relative time, so that the second CDN cache server sends the second playlist to the fourth network television client for playing, wherein the second playlist comprises a plurality of video fragments.
According to another aspect of the invention, there is provided a source station comprising: the system comprises a receiving unit, a first Content Distribution Network (CDN) cache server and a second Content Distribution Network (CDN) cache server, wherein the receiving unit is used for receiving a first direct broadcast time shift request sent by the first CDN cache server, the first direct broadcast time shift request is sent to the first CDN cache server by a first network television client, and the first direct broadcast time shift request carries an initial time for requesting to review a video; and a sending unit, configured to send a first playlist corresponding to the first live time shift request to the first CDN cache server according to the start time, so that the first CDN cache server caches the first playlist and sends the first playlist to the first network television client for playing, where the first playlist includes a plurality of video segments.
In an embodiment, the receiving unit is further configured to receive a second live time-shifting request sent by a second CDN cache server, where the second live time-shifting request is sent to the second CDN cache server by a third network television client, and the second live time-shifting request carries a relative time, where the relative time is a difference between a current time and an initial time of a video to be watched back; the sending unit is further configured to send a second playlist corresponding to the second live broadcast time shift request to the second CDN cache server according to the relative time, so that the second CDN cache server sends the second playlist to the third network television client for playing, where the second playlist includes a plurality of video segments.
According to still another aspect of the present invention, there is provided a live time shift processing system, including: the source station, the first CDN cache server, and the first network television client described in any one of the embodiments above; the first network television client is used for sending a first live broadcast time shift request to the first CDN cache server, wherein the first live broadcast time shift request carries the starting time of a video to be watched back; receiving and playing a first playlist corresponding to the first live broadcast time shift request sent by the first CDN cache server, wherein the first playlist comprises a plurality of video fragments; the first CDN cache server is used for sending the first broadcast time shift request to the source station; receiving and caching the first playlist corresponding to the first live time shift request sent by the source station; and sending the first playlist to the first network television client for playing.
In one embodiment, the system further comprises: the second network television client is used for sending the first direct broadcasting time shift request to the first CDN cache server; receiving and playing the first playlist sent by the first CDN cache server; the first CDN cache server is further used for receiving the first live time shift request sent by the second network television client; and sending the cached first playlist to the second network television client for playing.
In one embodiment, the system further comprises: the third network television client is used for sending a second live broadcast time shifting request to the first CDN cache server, wherein the second live broadcast time shifting request carries relative time, and the relative time is the difference between the current time and the starting time of the video required to be watched back; receiving and playing the first playlist sent by the first CDN cache server; the first CDN cache server is also used for receiving a second live broadcast time shifting request sent by a third network television client; determining the starting time of the video required to be watched back according to the relative time and the current time; and sending the cached first playlist to the third network television client for playing under the condition that the determined starting time is the same as the starting time carried by the first live time shift request.
In one embodiment, the system further comprises: the fourth network television client is used for sending a third live broadcast time shifting request to the second CDN cache server, wherein the third live broadcast time shifting request carries relative time, and the relative time is the difference between the current time and the starting time of the video required to be watched back; receiving and playing a second playlist corresponding to the third live broadcast time shift request sent by the second CDN cache server, wherein the second playlist comprises a plurality of video fragments; the second CDN cache server is used for sending the third live broadcast time shifting request to the source station; receiving the second playlist sent by the source station; sending the second playlist to the fourth network television client for playing; and the source station is further configured to send the second playlist to the second CDN cache server according to the relative time.
According to another aspect of the present application, there is provided a live time shift processing system, including: a memory; and a processor coupled to the memory, the processor configured to perform the method of any of the above embodiments based on instructions stored in the memory.
According to a further aspect of the present application, there is provided a computer-readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method according to any of the embodiments described above.
In the embodiment of the invention, the first live time shift request carries the starting time required for watching back the video, and the starting time is absolute time rather than relative time, so that the source station only needs to return the first playlist corresponding to the starting time to the first CDN cache server, and the first CDN cache server can directly send the cached first playlist to the corresponding network television client when the first live time shift request carrying the starting time is received subsequently after the first playlist is cached locally. Compared with the prior art, the first CDN cache server does not need to acquire the first playlist from the source station every time, and the pressure of the source station is reduced.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic architecture diagram of a conventional network television system;
fig. 2 is a flowchart illustrating a live time shift processing method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a live time shift processing method according to another embodiment of the present invention;
fig. 4 is a flowchart illustrating a live time shift processing method according to another embodiment of the present invention;
FIG. 5 is a schematic block diagram of a source station according to one embodiment of the present invention;
FIG. 6 is a block diagram of a live time-shift processing system according to one embodiment of the invention;
fig. 7 is a schematic structural diagram of a live time shift processing system according to another embodiment of the present invention;
FIG. 8 is a block diagram of a live time-shift processing system according to yet another embodiment of the present invention;
FIG. 9 is a block diagram of a live time-shift processing system according to yet another embodiment of the present invention;
fig. 10 is a schematic structural diagram of a live time shift processing system according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Fig. 2 is a flowchart illustrating a live time shift processing method according to an embodiment of the present invention.
In step 202, a source station receives a first live time shift request sent by a first CDN cache server, where the first live time shift request is sent to the first CDN cache server by a first network television client, and the first live time shift request carries an initial time for requesting to review a video.
For example, when a television program is live, a first network television client sends a first live time shift request to a first CDN cache server as an edge node in a CDN network in response to a user operation to review the program.
As a non-limiting example, the current time is 3/16/30 min 05 s in 2007, and if the user requests to review the tv 1 hour ago, the live time-shift request may be expressed in the form of a URL as follows: http:// www.iptv.com/cctv.m3u8timeshift 3600& position 20070303153005. "position-20070303153005" indicates the start time of the video to be viewed, i.e., 3.3.3.2007, 15: 30 min/05 sec, "timeshift-3600" indicates the difference between the current time and the start time. In other words, the live timeshift request may actually be a URL.
In step 204, the source station sends a first playlist corresponding to the first live time shift request to the first CDN cache server according to the start time, where the first playlist includes a plurality of video segments.
For example, the source station may search a first playlist corresponding to the URL according to the start time carried by the URL, and the plurality of video segments included in the first playlist may include 2, 3, or more video segments that are consecutive in time, for example, the plurality of video segments may be identified by consecutive numbers (e.g., 0, 1, 2).
In step 206, the first CDN cache server caches and sends the first playlist to the first network television client for playing.
For example, after receiving the first playlist, the first network television client may sequentially play the video segments 1, 2, and 3 according to the time sequence.
After a predetermined time, for example, 5 seconds later, the video clips acquired by the first network television client will be played, but in order to meet the requirement that the user can still review the television before 1 hour, the first network television client will send a live broadcast time shift request again, and the start time of the video review request carried by the live broadcast time shift request is 5 seconds later than the previous time. That is, after a predetermined time, the operations of step 202-step 206 may be repeatedly performed, except that the start time carried by the live time shift request is later than the start time carried by the first live time shift request.
In this embodiment, since the first live time shift request carries the start time of the video to be requested to be watched back, where the start time is absolute time rather than relative time, the source station only needs to return the first playlist corresponding to the start time to the first CDN cache server once, and after the first playlist is cached locally by the first CDN cache server, the cached first playlist can be directly sent to the corresponding network television client when the first live time shift request carrying the start time is subsequently received. Compared with the prior art, the first CDN cache server does not need to acquire the first playlist from the source station every time, and the pressure of the source station is reduced.
Fig. 3 is a flowchart illustrating a live time shift processing method according to another embodiment of the present invention. In the following, only the differences from the embodiment shown in fig. 2 will be described with emphasis, and other relevant points will be described with reference to the embodiment of fig. 2.
In step 302, a source station receives a first live time shift request sent by a first CDN cache server, where the first live time shift request is sent to the first CDN cache server by a first network television client, and the first live time shift request carries an initial time for requesting to review a video.
In step 304, the source station sends a first playlist corresponding to the first live time shift request to the first CDN cache server according to the start time, where the first playlist includes a plurality of video segments.
In step 306, the first CDN cache server caches and sends the first playlist to the first network television client for playing.
In step 308, the first CDN cache server receives a first broadcast time shift request sent by the second network television client, where the first broadcast time shift request also carries the start time.
Here, the second network television client may be the same as or different from the first network television client. That is, the same iptv client may request to review the video at the start time again, or other iptv clients may request to review the video at the start time.
In step 310, the first CDN cache server sends the cached first playlist to the second network television client for playing.
For example, a first CDN cache server may cache as "20070303153005" when caching a first playlist. After the first broadcast time shift request is received again, the first playlist corresponding to the time symbol may be directly sent to the second network television client for playing according to the time symbol "20070303153005" in the first broadcast time shift request.
The steps 302 to 306 can refer to the descriptions of the steps 202 to 206, which are not described herein. Step 306 may be performed prior to step 310, or may be performed simultaneously with step 310.
In this embodiment, when the second network television client initiates the first direct broadcast time shift request carrying the start time, the first CDN cache server may directly send the cached first playlist to the second network television client, which reduces the pressure of the source station.
Fig. 4 is a flowchart illustrating a live time shift processing method according to another embodiment of the present invention. In the following, only the differences from the embodiment shown in fig. 2 will be described with emphasis, and other relevant points will be described with reference to the embodiment of fig. 2.
In step 402, a source station receives a first live time shift request sent by a first CDN cache server, where the first live time shift request is sent to the first CDN cache server by a first network television client, and the first live time shift request carries an initial time for requesting to review a video.
In step 404, the source station sends a first playlist corresponding to the first live time shift request to the first CDN cache server according to the start time, where the first playlist includes a plurality of video segments.
In step 406, the first CDN cache server caches and sends the first playlist to the first network television client for playing.
In step 408, the first CDN cache server receives a second live time-shifting request sent by the third web tv client, where the second live time-shifting request carries a relative time, and the relative time is a difference between the current time and the start time of the video that is required to be watched back.
For example, the second live time-shift request sent by the third network television client may be in the form of: http:// www.iptv.com/cctv.m3u8timeshift 3600, which means that 3600 represents the relative time required to review the video before 3600 seconds.
In step 410, the first CDN cache server determines a start time for the video to be requested to be reviewed from the relative time and the current time.
Since the second live time shift request carries the relative time, the first CDN cache server may convert the relative time into an absolute time, that is, may determine the start time of the video to be requested to be reviewed according to the relative time and the current time.
In step 412, the first CDN cache server sends the cached first playlist to the third network television client for playing under the condition that the determined start time is the same as the start time carried by the first live time shift request. If the determined start time is different from the start time carried by the first live time shift request, the first CDN cache server may obtain a playlist corresponding to the second live time shift request from the source station.
The steps 402 to 406 can refer to the descriptions of the steps 202 to 206, which are not described herein.
In this embodiment, when receiving a second live broadcast time shift request sent by a third network television client, the first CDN cache server may convert the relative time in the second live broadcast time shift request into an absolute time, that is, an initial time, so that the cached first playlist may be directly sent to the third network television client when the initial time is the same as the initial time in the first live broadcast time shift request.
In addition, the invention also provides a live time shifting method for the source station to be compatible with the relative time, aiming at the condition that some network television clients still send live time shifting requests of the relative time or the condition that the CDN cache server does not support absolute time. In one embodiment, the embodiment shown in fig. 1 may further include the following steps:
and the source station receives a third live broadcast time shifting request sent by the second CDN cache server, the third live broadcast time shifting request is sent to the second CDN cache server by a fourth network television client, the third live broadcast time shifting request carries relative time, and the relative time is the difference between the current time and the starting time of the video required to be watched back.
And the source station sends a second playlist corresponding to the third live broadcast time shifting request to a second CDN cache server according to the relative time so that the second CDN cache server sends the second playlist to a fourth network television client for playing, wherein the second playlist comprises a plurality of video fragments.
In this embodiment, the source station simultaneously retains the original time-shift processing mode, and for a CDN cache server that does not support absolute time, the source station may return a corresponding playlist according to the relative time.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other. For the source station and system embodiments, since they substantially correspond to the method embodiments, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiments.
Fig. 5 is a schematic structural diagram of a source station according to one embodiment of the present invention. As shown in fig. 5, the source station includes a receiving unit 501 and a transmitting unit 502. The receiving unit 501 is configured to receive a first live time shift request sent by a CDN cache server of a first content delivery network, where the first live time shift request is sent to the first CDN cache server by a first network television client, and the first live time shift request carries an initial time for requesting to review a video. The sending unit 502 is configured to send a first playlist corresponding to the first live time shift request to the first CDN cache server according to the start time, so that the first CDN cache server caches the first playlist and sends the first playlist to the first network television client for playing, where the first playlist includes a plurality of video segments.
In an embodiment, the receiving unit 501 is further configured to receive a second live time-shifting request sent by a second CDN cache server, where the second live time-shifting request is sent to the second CDN cache server by a third network television client, and the second live time-shifting request carries a relative time, where the relative time is a difference between a current time and an initial time of a video to be watched back. Correspondingly, the sending unit 502 in this embodiment is further configured to send a second playlist corresponding to the second live time shift request to the second CDN cache server according to the relative time, so that the second CDN cache server sends the second playlist to a third network television client for playing, where the second playlist includes a plurality of video segments.
Fig. 6 is a schematic structural diagram of a live time shift processing system according to an embodiment of the present invention. As shown in fig. 6, the system includes the source station 601, the first CDN cache server 602 and the first web tv client 603 according to any one of the above embodiments.
The first network television client 603 is configured to send a first live time shift request to the first CDN cache server 602, where the first live time shift request carries an initial time for requesting to review a video; a first playlist corresponding to a first live streaming request sent by the first CDN cache server 602 is received and played, where the first playlist includes a plurality of video segments. The first CDN cache server 602 is configured to send a first broadcast time shift request to the source station 601; receiving and caching a first playlist corresponding to a first live time shift request sent by a source station 601; and sending the first playlist to the first network television client 603 for playing.
Fig. 7 is a schematic structural diagram of a live time shift processing system according to another embodiment of the present invention. Compared with the system shown in fig. 6, the system also comprises a second network television client 604 and/or a third network television client 605.
The second web tv client 604 is configured to send a first live time shift request to the first CDN cache server 602; and receiving and playing a first playlist sent by the first CDN cache server 602. Correspondingly, the first CDN cache server 602 is further configured to receive a first live time shift request sent by the second network television client 604; and sending the cached first playlist to the second network television client 604 for playing.
The third network television client 605 is configured to send a second live broadcast time shift request to the first CDN cache server 602, where the second live broadcast time shift request carries a relative time, and the relative time is a difference between the current time and an initial time of the video that is required to be watched back; and receiving and playing a first playlist sent by the first CDN cache server 602. Correspondingly, the first CDN cache server 602 is further configured to receive a second live time-shifting request sent by the third web tv client 605; determining the starting time of the video to be watched back according to the relative time and the current time; and under the condition that the determined starting time is the same as the starting time carried by the first live time shift request, sending the cached first playlist to the third network television client 605 for playing.
Fig. 8 is a schematic structural diagram of a live time shift processing system according to still another embodiment of the present invention. The system may also include a fourth web tv client 605 and a second CDN cache server 606.
The fourth network television client 605 is configured to send a third live broadcast time shift request to the second CDN cache server 606, where the third live broadcast time shift request carries a relative time, and the relative time is a difference between the current time and an initial time of the video that is required to be reviewed; and receiving a second playlist corresponding to a third live broadcast time shift request sent by a second CDN cache server 606 and playing the second playlist, where the second playlist includes a plurality of video segments. The second CDN cache server 606 is configured to send a third live time-shift request to the source station 601; receiving a second playlist sent by the source station 601; and sending the second playlist to the fourth network television client 605 for playing. The source station 601 in this embodiment is also configured to send a second playlist to a second CDN cache server 606 according to the relative time.
Fig. 9 is a schematic structural diagram of a live time shift processing system according to another embodiment of the present invention. As shown in fig. 9, the system includes a memory 901 and a processor 902. The memory 901 may be a magnetic disk, flash memory, or any other non-volatile storage medium. The memory is used for storing the corresponding instructions of the method of any one of the previous embodiments. Coupled to memory 901, processor 902 may be implemented as one or more integrated circuits, such as a microprocessor or microcontroller. The processor 902 is configured to execute instructions stored in the memory 901 to enable a source station to be relieved of stress.
Fig. 10 is a schematic structural diagram of a live time shift processing system according to still another embodiment of the present invention. As shown in fig. 10, the system 1000 includes a memory 1001 and a processor 1002. The processor 1002 is coupled to the memory 1001 by a BUS (BUS) 1003. The system 1000 may also be connected to an external storage device 1005 through a storage interface 1004 for invoking external data, and may also be connected to a network or an external computer system (not shown) through a network interface 1006.
In this embodiment, the data instructions are stored in the memory, and the processor processes the instructions, so that the pressure of the source station can be reduced.
The invention also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the method of any of the preceding embodiments. As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Thus far, the present invention has been described in detail. Some details well known in the art have not been described in order to avoid obscuring the concepts of the present invention. It will be fully apparent to those skilled in the art from the foregoing description how to practice the presently disclosed embodiments.
The method and apparatus of the present invention may be implemented in a number of ways. For example, the methods and apparatus of the present invention may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustrative purposes only, and the steps of the method of the present invention are not limited to the order specifically described above unless specifically indicated otherwise. Furthermore, in some embodiments, the present invention may also be embodied as a program recorded in a recording medium, the program including machine-readable instructions for implementing a method according to the present invention. Thus, the present invention also covers a recording medium storing a program for executing the method according to the present invention.
Although some specific embodiments of the present invention have been described in detail by way of illustration, it should be understood by those skilled in the art that the above illustration is only for the purpose of illustration and is not intended to limit the scope of the invention. It will be appreciated by those skilled in the art that modifications may be made to the above embodiments without departing from the scope and spirit of the invention. The scope of the invention is defined by the appended claims.
Claims (9)
1. A live time shift processing method, comprising:
a source station receives a first direct broadcasting time shift request sent by a CDN cache server of a first content distribution network, the first direct broadcasting time shift request is sent to the first CDN cache server by a first network television client at intervals of preset time, the first direct broadcasting time shift request carries an initial time for requesting to review a video, and the initial time carried by the first direct broadcasting time shift request at the next time is later than the preset time;
the source station sends a first playlist corresponding to the first live time shift request to the first CDN cache server according to the starting time, so that the first CDN cache server caches the first playlist and sends the first playlist to the first network television client for playing, wherein the first playlist comprises a plurality of video fragments;
the first CDN cache server receives the first direct broadcasting time shift request sent by a second network television client;
and the first CDN cache server sends the cached first playlist to the second network television client for playing.
2. The method of claim 1, further comprising:
the first CDN cache server receives a second live broadcast time shifting request sent by a third network television client, wherein the second live broadcast time shifting request carries relative time, and the relative time is the difference between the current time and the starting time of a video required to be watched back;
the first CDN cache server determines the starting time of the video to be required to be watched back according to the relative time and the current time;
and the first CDN cache server sends the cached first playlist to the third network television client for playing under the condition that the determined starting time is the same as the starting time carried by the first live time shift request.
3. The method of claim 1, further comprising:
the source station receives a third live broadcast time shifting request sent by a second CDN cache server, the third live broadcast time shifting request is sent to the second CDN cache server by a fourth network television client, the third live broadcast time shifting request carries relative time, and the relative time is the difference between the current time and the starting time of a video required to be watched back;
and the source station sends a second playlist corresponding to the third live broadcast time shift request to the second CDN cache server according to the relative time, so that the second CDN cache server sends the second playlist to the fourth network television client for playing, wherein the second playlist comprises a plurality of video fragments.
4. A live time shift processing system, comprising: the system comprises a source station, a first CDN cache server, a first network television client and a second network television client;
the source station includes:
the system comprises a receiving unit, a first Content Distribution Network (CDN) cache server and a second Content Distribution Network (CDN) cache server, wherein the receiving unit is used for receiving a first direct broadcast time shift request sent by the first CDN cache server, the first direct broadcast time shift request is sent to the first CDN cache server by a first network television client, and the first direct broadcast time shift request carries an initial time for requesting to review a video; and
a sending unit, configured to send a first playlist corresponding to the first live time shift request to the first CDN cache server according to the start time, where the first playlist includes a plurality of video segments;
the first network television client is used for sending the first broadcast time shift request to the first CDN cache server at intervals of preset time, and the starting time carried by the first broadcast time shift request at the next time is later than the preset time; receiving and playing a first playlist corresponding to the first live broadcast time shift request sent by the first CDN cache server;
the first CDN cache server is used for sending the first broadcast time shift request to the source station; receiving and caching the first playlist corresponding to the first live time shift request sent by the source station; sending the first playlist to the first network television client for playing;
the second network television client is used for sending the first direct broadcasting time shift request to the first CDN cache server; receiving and playing the first playlist sent by the first CDN cache server;
the first CDN cache server is further used for receiving the first live time shift request sent by the second network television client; and sending the cached first playlist to the second network television client for playing.
5. The system of claim 4,
the receiving unit is further configured to receive a second live broadcast time shift request sent by a second CDN cache server, where the second live broadcast time shift request is sent to the second CDN cache server by a third network television client, and the second live broadcast time shift request carries a relative time, where the relative time is a difference between a current time and an initial time of a video to be requested to be watched back;
the sending unit is further configured to send a second playlist corresponding to the second live broadcast time shift request to the second CDN cache server according to the relative time, so that the second CDN cache server sends the second playlist to the third network television client for playing, where the second playlist includes a plurality of video segments.
6. The system of claim 4, further comprising:
the third network television client is used for sending a second live broadcast time shifting request to the first CDN cache server, wherein the second live broadcast time shifting request carries relative time, and the relative time is the difference between the current time and the starting time of the video required to be watched back; receiving and playing the first playlist sent by the first CDN cache server;
the first CDN cache server is also used for receiving a second live broadcast time shifting request sent by a third network television client; determining the starting time of the video required to be watched back according to the relative time and the current time; and sending the cached first playlist to the third network television client for playing under the condition that the determined starting time is the same as the starting time carried by the first live time shift request.
7. The system of claim 4, further comprising:
the fourth network television client is used for sending a third live broadcast time shifting request to the second CDN cache server, wherein the third live broadcast time shifting request carries relative time, and the relative time is the difference between the current time and the starting time of the video required to be watched back; receiving and playing a second playlist corresponding to the third live broadcast time shift request sent by the second CDN cache server, wherein the second playlist comprises a plurality of video fragments;
the second CDN cache server is used for sending the third live broadcast time shifting request to the source station; receiving the second playlist sent by the source station; sending the second playlist to the fourth network television client for playing;
and the source station is further configured to send the second playlist to the second CDN cache server according to the relative time.
8. A live time shift processing system, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the method of any of claims 1-3 based on instructions stored in the memory.
9. A computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the method of any one of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710615532.XA CN109309643B (en) | 2017-07-26 | 2017-07-26 | Live broadcast time shifting processing method and system and source station |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710615532.XA CN109309643B (en) | 2017-07-26 | 2017-07-26 | Live broadcast time shifting processing method and system and source station |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109309643A CN109309643A (en) | 2019-02-05 |
CN109309643B true CN109309643B (en) | 2021-03-30 |
Family
ID=65201939
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710615532.XA Active CN109309643B (en) | 2017-07-26 | 2017-07-26 | Live broadcast time shifting processing method and system and source station |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109309643B (en) |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026751A (en) * | 2007-04-02 | 2007-08-29 | 中兴通讯股份有限公司 | Content and service scheduling method for time-shifted television system |
CN102231860A (en) * | 2011-06-03 | 2011-11-02 | 南京远古科技有限公司 | Live time shift data storage method |
CN102790911A (en) * | 2011-05-16 | 2012-11-21 | 腾讯科技(深圳)有限公司 | Method and system for playback of live broadcast |
CN102883187A (en) * | 2012-09-17 | 2013-01-16 | 华为技术有限公司 | Time-shift program service method, equipment and system |
CN103139612A (en) * | 2011-12-01 | 2013-06-05 | 苏州达联信息科技有限公司 | Method of managing dynamic network distribution trees of video live broadcast distribution network |
CN103220587A (en) * | 2013-03-22 | 2013-07-24 | 深圳市龙视传媒有限公司 | Method and device for obtaining time shifting contents |
CN104469433A (en) * | 2013-09-13 | 2015-03-25 | 深圳市腾讯计算机系统有限公司 | Live video replay method and device |
US9226034B1 (en) * | 2011-05-10 | 2015-12-29 | Google Inc. | Apparatus and methods for generating clips using recipes with slice definitions |
CN105721952A (en) * | 2016-01-27 | 2016-06-29 | 观止云(北京)信息技术有限公司 | Live streaming network transmission method and system for equal-length slices |
CN106664435A (en) * | 2014-06-30 | 2017-05-10 | 三星电子株式会社 | Cache manifest for efficient peer assisted streaming |
-
2017
- 2017-07-26 CN CN201710615532.XA patent/CN109309643B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101026751A (en) * | 2007-04-02 | 2007-08-29 | 中兴通讯股份有限公司 | Content and service scheduling method for time-shifted television system |
US9226034B1 (en) * | 2011-05-10 | 2015-12-29 | Google Inc. | Apparatus and methods for generating clips using recipes with slice definitions |
CN102790911A (en) * | 2011-05-16 | 2012-11-21 | 腾讯科技(深圳)有限公司 | Method and system for playback of live broadcast |
CN102231860A (en) * | 2011-06-03 | 2011-11-02 | 南京远古科技有限公司 | Live time shift data storage method |
CN103139612A (en) * | 2011-12-01 | 2013-06-05 | 苏州达联信息科技有限公司 | Method of managing dynamic network distribution trees of video live broadcast distribution network |
CN102883187A (en) * | 2012-09-17 | 2013-01-16 | 华为技术有限公司 | Time-shift program service method, equipment and system |
CN103220587A (en) * | 2013-03-22 | 2013-07-24 | 深圳市龙视传媒有限公司 | Method and device for obtaining time shifting contents |
CN104469433A (en) * | 2013-09-13 | 2015-03-25 | 深圳市腾讯计算机系统有限公司 | Live video replay method and device |
CN106664435A (en) * | 2014-06-30 | 2017-05-10 | 三星电子株式会社 | Cache manifest for efficient peer assisted streaming |
CN105721952A (en) * | 2016-01-27 | 2016-06-29 | 观止云(北京)信息技术有限公司 | Live streaming network transmission method and system for equal-length slices |
Also Published As
Publication number | Publication date |
---|---|
CN109309643A (en) | 2019-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10230958B2 (en) | Audio splitting with codec-enforced frame sizes | |
NL2016051B1 (en) | Live-stream video advertisement system | |
US9961395B2 (en) | Video caching | |
US9167278B2 (en) | Method and system for automatic content recognition (ACR) based broadcast synchronization | |
KR102090261B1 (en) | Method and system for inserting content into streaming media at arbitrary time points | |
US10277929B1 (en) | Live streaming media content using on-demand manifests | |
US20140189147A1 (en) | Method and apparatus for playing live content | |
WO2012096372A1 (en) | Content reproduction device, content reproduction method, delivery system, content reproduction program, recording medium, and data structure | |
US20140373036A1 (en) | Hybrid video recognition system based on audio and subtitle data | |
US10313721B1 (en) | Live streaming media content using on-demand manifests | |
US9986267B2 (en) | Methods and systems for dynamically editing, encoding, posting and updating live video content | |
US11889163B2 (en) | Receiving device, receiving method, transmitting device, and transmitting method | |
CN113141522B (en) | Resource transmission method, device, computer equipment and storage medium | |
US20160073149A1 (en) | Method and apparatus for improved network recording | |
CN106789976A (en) | The player method of media file, service end, client and system | |
US20170013037A1 (en) | Media fragment rotation method, client and system | |
EP2712203A1 (en) | Method and system for enhancing redistributed audio / video content | |
CN106331763B (en) | Method for seamlessly playing fragmented media file and device for implementing method | |
US20230019723A1 (en) | Interactive supplemental content system | |
CN109309643B (en) | Live broadcast time shifting processing method and system and source station | |
CN105979380A (en) | Test broadcasting method and device for multimedia contents on demand | |
CN108271040B (en) | Method and device for playing video | |
WO2013127426A1 (en) | An improved method and apparatus for video content distribution | |
JP2017225044A (en) | Client device for content distribution system, content acquisition method and program | |
KR20110119490A (en) | Method for playing of live contents in broadcasting system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220126 Address after: 100007 room 205-32, floor 2, building 2, No. 1 and No. 3, qinglonghutong a, Dongcheng District, Beijing Patentee after: Tianyiyun Technology Co.,Ltd. Address before: No.31, Financial Street, Xicheng District, Beijing, 100033 Patentee before: CHINA TELECOM Corp.,Ltd. |
|
TR01 | Transfer of patent right |