CN105578263A - Method for playing and transmitting live programme, intelligent playing equipment and live telecasting equipment - Google Patents

Method for playing and transmitting live programme, intelligent playing equipment and live telecasting equipment Download PDF

Info

Publication number
CN105578263A
CN105578263A CN201511003431.4A CN201511003431A CN105578263A CN 105578263 A CN105578263 A CN 105578263A CN 201511003431 A CN201511003431 A CN 201511003431A CN 105578263 A CN105578263 A CN 105578263A
Authority
CN
China
Prior art keywords
fragment
equipment
live
playback equipment
intelligent playback
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.)
Pending
Application number
CN201511003431.4A
Other languages
Chinese (zh)
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.)
Shandong Taixin Electronics Co Ltd
Original Assignee
Shandong Taixin Electronics 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 Shandong Taixin Electronics Co Ltd filed Critical Shandong Taixin Electronics Co Ltd
Priority to CN201511003431.4A priority Critical patent/CN105578263A/en
Publication of CN105578263A publication Critical patent/CN105578263A/en
Pending legal-status Critical Current

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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Abstract

The invention discloses a method for playing and transmitting a live programme, intelligent playing equipment and live telecasting equipment, wherein the method for the intelligent playing equipment to play the live programme comprises the following steps that: S1-1, a P2P connection channel between the intelligent playing equipment and the live telecasting equipment is established; S1-2, the intelligent playing equipment receives a TS segment and a M3U8 file sent by the live telecasting equipment; S1-3, the intelligent playing equipment stores the received TS segment and M3U8 file in a cache of the intelligent playing equipment; and S1-4, the intelligent playing equipment plays the TS segment in the cache of the intelligent playing equipment according to the M3U8 file. The method disclosed by the invention has the advantages of being simple to implement, low in system cost, high in audio-visual quality, compatible with a native multimedia system in the intelligent playing equipment and the like.

Description

Play, transmit method and intelligent playback equipment, the live equipment of programme televised live
Technical field
The present invention relates to field of video transmission, particularly relate to a kind of broadcasting, the method transmitting programme televised live and intelligent playback equipment, live equipment.
Background technology
Along with the fast development of the Internet, intelligence playback equipment is popularized, viewing live television programming is no longer confined to the live equipment (such as Set Top Box, television set) with broadcast television reception function, and increasing people bring into use intelligent playback equipment (such as mobile phone, PAD etc.) to go anywhere or anytime to watch live content.
At present, watch live normal method by intelligent playback equipment and have following two kinds:
(1) by programme televised live that public network utilizes live software to watch it to provide.This mode needs erection video server and forwarding server, and realize complicated, expense is huge, and programme televised live source is considerably less, does not particularly have the program of local channel.
(2) its live content provided is watched by the live equipment connected in same local area network (LAN).This mode limits intelligent playback equipment and live equipment must in same local area network (LAN).
In addition, following several technical schemes are mainly contained by public network viewing programme televised live at present:
(1) by udp protocol transmitted video content, the program can be used for P2P transmission, and transmission express delivery is fast, but its shortcoming is that the transmission of data is without any guarantee, under public network environment, packet loss is serious, and data order of arrival entanglement (data first sent not necessarily first are received), cause to play to block and time or mosaic, and multimedia system in intelligent playback equipment non-protogenous support, need to develop player separately.
(2) video content is transmitted by Real-time Transport Protocol, the program can be used for P2P transmission, realize based on UDP, by increasing the status report of sequence number and timestamp and communication two ends, solve the out of order problem of UDP to a certain extent, shortcoming is the problem that still cannot solve packet loss, and multimedia system in intelligent playback equipment non-protogenous support.
(3) video content is transmitted by HLS protocol, the program is that Apple proposes, be mainly used in providing live and program request ability to apple equipment, adopt TCP transmitting, there is no out of order and problem that is packet loss, and the primary support of the primary support of multimedia system in intelligent playback equipment particularly apple equipment, but its shortcoming is that TCP cannot be used for P2P transmission.
(4) video content is transmitted by RTSP agreement, the program adds TCP channel transferring command on the basis of Real-time Transport Protocol, but its shortcoming relies on RTP in the problem of transmission of video, the problem of packet loss cannot be solved, TCP cannot be used for P2P transmission, and multimedia system in intelligent playback equipment non-protogenous support.
Visible, if want to watch programme televised live by P2P mode on public network and the primary support of multimedia system that can allow in intelligent playback equipment, existing scheme is all not suitable for, in the urgent need to a kind of P2P technology that can utilize by the method for public network transmission programme televised live.
Summary of the invention
Object of the present invention is exactly to solve the problem, broadcasting, the method transmitting programme televised live and intelligent playback equipment, live equipment are provided, it achieve the object of being watched abundant programme televised live by public network on intelligent playback equipment whenever and wherever possible, have realize simple, system cost is low, audio-visual quality is high and the advantage such as primary multimedia system in compatible intelligent playback equipment.
To achieve these goals, the present invention adopts following technical scheme:
A method for programme televised live play by intelligent playback equipment, and step is:
S1-1: intelligent playback equipment and live equipment set up P2P interface channel;
S1-2: intelligent playback equipment receives the TS fragment and M3U8 file that live equipment sends over;
S1-3: intelligent playback equipment preserves the TS fragment and M3U8 file that receive in the buffer memory of intelligent playback equipment;
S1-4: the TS fragment in the buffer memory of intelligent playback equipment play by intelligent playback equipment according to M3U8 file.
Also comprise after described step S1-2: intelligent playback equipment judges that whether the serial number of all TS fragments received is continuous, if discontinuous, then intelligent playback equipment sends TS fragment resend messages to live equipment, and request resends the TS fragment of loss; Intelligence playback equipment receives the TS fragment of the loss that live equipment sends.
Described step S1-4 can also be:
(1) intelligent playback equipment creates HTTP service;
(2) intelligent playback equipment receives the TS fragment and M3U8 file that HTTP service sends over;
(3) intelligent playback equipment plays TS fragment according to M3U8 file.
A method for live device transmission programme televised live, step is:
S2-1: P2P interface channel set up by live equipment and intelligent playback equipment;
S2-2: the programme televised live data transaction received is become TS fragment by live equipment, generates M3U8 file;
S2-3: TS fragment and M3U8 file are sent to intelligent playback equipment by live equipment.
Also comprise after described step S2-3: live equipment resends the TS fragment of loss to intelligent playback equipment according to the request of intelligent playback equipment.
A method for programme televised live play by intelligent playback equipment, and step is:
S3-1: intelligent playback equipment and live equipment set up P2P interface channel;
S3-2: intelligent playback equipment receives the TS fragment that live equipment is sent by P2P interface channel;
S3-3: intelligent playback equipment preserves the TS fragment that receives in the buffer memory of intelligent playback equipment;
S3-4: intelligent playback equipment plays the TS fragment in intelligent playback equipment buffer memory according to the sequencing of TS fragment.
Also comprise after described step S3-2, intelligent playback equipment judges that whether the serial number of all TS fragments received is continuous, if discontinuous, then intelligent playback equipment sends TS fragment resend messages to live equipment, and request resends the TS fragment of loss; Intelligence playback equipment receives the TS fragment of the loss that live equipment sends.
A method for live device transmission programme televised live, step is:
S4-1: P2P interface channel set up by live equipment and intelligent playback equipment;
S4-2: the programme televised live data transaction received is become TS fragment by live equipment;
S4-3: TS fragment is sent to intelligent playback equipment by P2P interface channel by live equipment.
Also comprise after described step S4-3, live equipment resends TS fragment to intelligent playback equipment according to the request of intelligent playback equipment.
A method for programme televised live play by intelligent playback equipment, and step is:
S5-1: intelligent playback equipment and live equipment set up P2P interface channel;
S5-2: intelligent playback equipment receives the TS fragment and TS fragment playing duration that live equipment sends over;
S5-3: intelligent playback equipment generates M3U8 file according to the TS fragment received and TS fragment playing duration, and preserve TS fragment and M3U8 file in the buffer memory of intelligent playback equipment;
S5-4: intelligent playback equipment creates HTTP service;
The TS fragment that S5-5: intelligent playback equipment reception HTTP service sends over and M3U8 file;
S5-6: TS fragment play by intelligent playback equipment.
Also comprise after described step S5-2, intelligent playback equipment judges that whether the serial number of all TS fragments received is continuous, if discontinuous, then intelligent playback equipment sends TS fragment resend messages to live equipment, and request resends the TS fragment of loss; Intelligence playback equipment receives the TS fragment that live equipment sends.
Described step S5-4 to step S5-6 can also be: intelligent playback equipment is according to the TS fragment in M3U8 file acquisition intelligence playback equipment buffer memory and play.
A method for live device transmission programme televised live, step is:
S6-1: P2P interface channel set up by live equipment and intelligent playback equipment;
S6-2: the programme televised live data transaction received is become TS fragment by live equipment, and obtain the playing duration of each TS fragment;
S6-3: TS fragment and TS fragment playing duration are sent to intelligent playback equipment by live equipment.
Also comprise after described step S6-3, live equipment, according to the request of intelligent playback equipment, resends TS fragment to intelligent playback equipment.
Described TS fragment meets HLS protocol specification, has and can identify the serial number that it plays sequencing.
A kind of intelligent playback equipment, comprising:
One P2P Path Setup module, is configured to set up P2P interface channel with live equipment;
First receiver module, is configured to receive the TS fragment that live equipment sends over;
First preserves module, is configured to preserve the TS fragment that receives in the buffer memory of intelligent playback equipment;
Playing module, is configured to play TS fragment.
Described intelligent playback equipment, also comprises:
Judge module, whether the serial number being configured to all TS fragments judging to receive is continuous, if discontinuous, then send TS fragment resend messages to live equipment, request resends the TS fragment of loss.
Described intelligent playback equipment, also comprises:
Second receiver module, is configured to receive the M3U8 file that live equipment sends over;
Second preserves module, is configured to preserve the M3U8 file that receives in the buffer memory of intelligent playback equipment.
Described intelligent playback equipment, also comprises:
3rd receiver module, is configured to receive the TS clip durations that live equipment sends over;
3rd preserves module, is configured to generate M3U8 file according to the TS fragment received and TS fragment playing duration, and preserves M3U8 file in the buffer memory of intelligent playback equipment.
Described intelligent playback equipment, also comprises:
HTTP service creation module, is configured to create HTTP service, and the TS fragment utilizing HTTP service to send over and M3U8 file.
A kind of live equipment, comprising:
2nd P2P Path Setup module, is configured to set up P2P interface channel with intelligent playback equipment;
First generation module, is configured to the programme televised live data transaction received to become TS fragment;
First cache module, the TS fragment be configured to conversion generates is saved in the buffer memory of live equipment;
First sending module, is configured to TS fragment and M3U8 file to send to intelligent playback equipment.
Described live equipment, also comprises:
Second generation module, is configured to generate the M3U8 file corresponding with TS fragment;
Second cache module, is configured to M3U8 file to be saved in the buffer memory of live equipment;
Second sending module, is configured to M3U8 file to send to intelligent playback equipment.
Described live equipment, also comprises:
3rd generation module, is configured to the playing duration obtaining each TS fragment;
3rd cache module, is configured to the playing duration of TS fragment to be saved in the buffer memory of live equipment;
3rd sending module, is configured to the playing duration of TS fragment to send to intelligent playback equipment.
Described live equipment is Set Top Box or television set, can receive live telecast information number.
Described intelligent playback equipment is mobile phone, PAD, computer, Set Top Box or television set.
Beneficial effect of the present invention:
(1) only need erection P2P server to be connected for assisting to set up P2P between intelligent playback equipment with live equipment, without the need to building video server and forwarding server, realize simple, cost is lower;
(2) programme televised live derives from live equipment, except main satellite TV program, also comprises local program, and programme content is abundant and programming source is legal;
(3) realize based on public network, jumped out the restriction of local area network (LAN) completely, really accomplished to watch programme televised live whenever and wherever possible by intelligent playback equipment;
(4) meet HLS protocol, can obtain the primary multimedia system support of intelligent playback equipment, do not need to develop player separately and can accomplish hardware decode, program is play smooth and effectively can be reduced intelligent playback equipment power consumption;
(5) packet loss retransmission mechanism is increased by transmitting on basis at insecure P2P, realize intelligent playback equipment and can connect by P2P the live data meeting HLS protocol from live equipment acquisition reliably, efficiently solve public network loss of transmitted data problem, program quality is high.
Accompanying drawing explanation
Fig. 1 (a) is the embodiment of the present invention 1 flow chart;
Fig. 1 (b) is the embodiment of the present invention 1 module diagram;
Fig. 2 (a) is the embodiment of the present invention 2 flow chart;
Fig. 2 (b) is the embodiment of the present invention 2 module diagram;
Fig. 3 (a) is the embodiment of the present invention 3 flow chart;
Fig. 3 (b) is the embodiment of the present invention 3 module diagram;
Fig. 4 (a) is the embodiment of the present invention 4 flow chart;
Fig. 4 (b) is the embodiment of the present invention 4 module diagram;
Fig. 5 (a) is the embodiment of the present invention 5 flow chart;
Fig. 5 (b) is the embodiment of the present invention 5 module diagram;
Fig. 6 (a) is the embodiment of the present invention 6 flow chart;
Fig. 6 (b) is the embodiment of the present invention 6 module diagram;
Fig. 7 (a) is the embodiment of the present invention 7 flow chart;
Fig. 7 (b) is the embodiment of the present invention 7 module diagram;
Fig. 8 (a) is the embodiment of the present invention 8 flow chart;
Fig. 8 (b) is the embodiment of the present invention 8 module diagram;
Embodiment
Below in conjunction with accompanying drawing and embodiment, the invention will be further described.
Embodiment 1: as shown in Fig. 1 (a), the method for programme televised live play by intelligent playback equipment, comprises the steps:
S101: intelligent playback equipment and live equipment set up P2P interface channel;
S102: intelligent playback equipment receives the TS fragment and M3U8 file that live equipment sended over by P2P interface channel;
S103: intelligent playback equipment preserves the TS fragment and M3U8 file that receive in the buffer memory of intelligent playback equipment;
S104: the TS fragment in buffer memory play by the player of intelligent playback equipment according to M3U8 file.
Described TS fragment and described M3U8 file meet HLS protocol specification.Described TS fragment has can identify the serial number that it plays sequencing.
Also comprise after described step S102, intelligence playback equipment judges that whether the serial number of all TS fragments received is continuous, if discontinuous, illustrates to there is TS fragment loss situation, then intelligent playback equipment sends TS fragment resend messages to live equipment, and request resends the TS fragment of loss; Live equipment resends the TS fragment of loss to intelligent playback equipment.
In described step S102, intelligent playback equipment at least receives a TS fragment from live equipment at every turn.
More excellent, after intelligent playback equipment receives new TS fragment and M3U8 file, with the TS fragment in the new TS fragment received and M3U8 file update intelligence playback equipment buffer memory and M3U8 file.
Embodiment 1: as shown in Fig. 1 (b), intelligent playback equipment comprises:
One P2P Path Setup module, is configured to set up P2P interface channel with live equipment;
First receiver module, is configured to receive the TS fragment that live equipment is sended over by P2P interface channel;
First preserves module, is configured to preserve the TS fragment that receives in the buffer memory of intelligent playback equipment;
Second receiver module, is configured to receive the M3U8 file that live equipment sends over;
Second preserves module, is configured to preserve the M3U8 file that receives in the buffer memory of intelligent playback equipment;
Judge module, whether the serial number being configured to all TS fragments judging to receive is continuous, if discontinuous, then send TS fragment resend messages to live equipment, request resends the TS fragment of loss;
Playing module, is configured to the TS fragment play according to M3U8 file in the buffer memory of intelligent playback equipment.
Described first receiver module at least receives a TS fragment from live equipment at every turn.
Embodiment 2: as shown in Fig. 2 (a), the method for live device transmission programme televised live, comprises the steps:
S201: P2P interface channel set up by live equipment and intelligent playback equipment;
S202: the programme televised live data transaction received is become TS fragment by live equipment, generates M3U8 file;
S203: TS fragment and M3U8 file are kept in the buffer memory of live equipment;
S204: TS fragment and M3U8 file are sent to intelligent playback equipment by P2P interface channel by live equipment.
Described TS fragment and described M3U8 file meet HLS protocol specification.
Described TS fragment has can identify the serial number that it plays sequencing.
Also comprise after described step S204, live equipment resends TS fragment to intelligent playback equipment according to the request of intelligent playback equipment.
In described step S204, live equipment at least sends a TS fragment to intelligent playback equipment at every turn.
Embodiment 2: as shown in Fig. 2 (b), live equipment, comprising:
2nd P2P Path Setup module, is configured to set up P2P interface channel with intelligent playback equipment;
First generation module, is configured to the programme televised live data transaction received to become TS fragment;
First cache module, is configured TS fragment to be kept in the buffer memory of live equipment;
First sending module, is configured to TS fragment to send to intelligent playback equipment;
Second generation module, is configured to generate the M3U8 file corresponding with TS fragment;
Second cache module, is configured to M3U8 file to be saved in the buffer memory of live equipment;
Second sending module, is configured to M3U8 file to send to intelligent playback equipment.
Described first sending module also resends the TS fragment of loss to intelligent playback equipment according to the request of intelligent playback equipment.
Embodiment 3: as shown in Fig. 3 (a), the method for programme televised live play by intelligent playback equipment, comprises the steps:
S301: intelligent playback equipment and live equipment set up P2P interface channel;
S302: intelligent playback equipment receives the TS fragment and M3U8 file that live equipment sended over by P2P interface channel;
S303: intelligent playback equipment preserves the TS fragment and M3U8 file that receive in the buffer memory of intelligent playback equipment;
S304: intelligent playback equipment creates and runs HTTP service;
TS fragment in intelligent playback equipment buffer memory and M3U8 file are sent to the playing module of intelligent playback equipment by S305:HTTP service;
S306: playing module plays TS fragment according to M3U8 file.
Described TS fragment and described M3U8 file meet HLS protocol specification; Described TS fragment has can identify the serial number that it plays sequencing.
Also comprise after described step S302, intelligence playback equipment judges that whether the serial number of all TS fragments received is continuous, if discontinuous, illustrates to there is TS fragment loss situation, then intelligent playback equipment sends TS fragment resend messages to live equipment, and request resends the TS fragment of loss; Intelligence playback equipment receives the TS fragment that live equipment resends.
More excellent, after intelligent playback equipment receives new TS fragment and M3U8 file, with the TS fragment in the new TS fragment received and M3U8 file update intelligence playback equipment buffer memory and M3U8 file.
Embodiment 3: as shown in Fig. 3 (b), intelligent playback equipment, comprising:
One P2P Path Setup module, is configured to set up P2P interface channel with live equipment;
First receiver module, is configured to receive the TS fragment that live equipment is sended over by P2P interface channel;
First preserves module, is configured to preserve the TS fragment that receives in the buffer memory of intelligent playback equipment;
Second receiver module, is configured to receive the M3U8 file that live equipment sends over;
Second preserves module, is configured to preserve the M3U8 file that receives in the buffer memory of intelligent playback equipment;
Judge module, whether the serial number being configured to all TS fragments judging to receive is continuous, if discontinuous, illustrates to there is TS fragment loss situation, then send TS fragment resend messages to live equipment, request resends the TS fragment of loss;
HTTP service creation module, is configured to create HTTP service, and utilizes HTTP service transmission TS fragment and M3U8 file to playing module;
Playing module, is configured to receive TS fragment and M3U8 file that HTTP service sends over, and according to M3U8 file broadcasting TS fragment.
Intelligence playback equipment, also comprises: file update module, after receiving new TS fragment and M3U8 file, with the TS fragment in the new TS fragment received and M3U8 file update buffer memory and M3U8 file.
Embodiment 4: as shown in Fig. 4 (a), the method for programme televised live play by intelligent playback equipment, comprises the steps:
S401: intelligent playback equipment and live equipment set up P2P interface channel;
S402: intelligent playback equipment receives the TS fragment that live equipment is sended over by P2P interface channel;
S403: intelligent playback equipment preserves the TS fragment that receives in buffer memory;
S404: intelligent playback equipment plays TS fragment in buffer memory according to the sequencing of TS fragment.
Described TS fragment meets HLS protocol specification, and each TS fragment has can identify the serial number that it plays sequencing.
Also comprise after described step S402, intelligence playback equipment judges that whether the serial number of all TS fragments received is continuous, if discontinuous, illustrates to there is TS fragment loss situation, then intelligent playback equipment sends TS fragment resend messages to live equipment, and request resends the TS fragment of loss; Intelligence playback equipment receives the TS fragment that live equipment resends.
Embodiment 4: as shown in Fig. 4 (b), intelligent playback equipment, comprising:
One P2P Path Setup module, is configured to set up P2P interface channel with live equipment;
First receiver module, is configured to receive the TS fragment that live equipment is sended over by P2P interface channel;
First preserves module, is configured to preserve the TS fragment that receives in the buffer memory of intelligent playback equipment;
Judge module, whether the serial number being configured to all TS fragments judging to receive is continuous, if discontinuous, illustrates to there is TS fragment loss situation, then send TS fragment resend messages to live equipment, request resends the TS fragment of loss;
Playing module, is configured to from buffer memory, obtain TS fragment and plays TS fragment.
Embodiment 5: as shown in Fig. 5 (a), the method for live device transmission programme televised live, comprises the steps:
S501: P2P interface channel set up by live equipment and intelligent playback equipment;
S502: the programme televised live data transaction received is become TS fragment by live equipment;
S503: TS fragment is sent to intelligent playback equipment by P2P interface channel by live equipment;
Described TS fragment meets HLS protocol specification, and each TS fragment has can identify the serial number that it plays sequencing.
Also comprise after described step S503, live equipment, according to the request of intelligent playback equipment, resends TS fragment to intelligent playback equipment.
More excellent, in described step S502, TS fragment is also kept in the buffer memory of live equipment by live equipment.
Embodiment 5: as shown in Fig. 5 (b), live equipment, comprising:
2nd P2P Path Setup module, is configured to set up P2P interface channel with intelligent playback equipment;
First generation module, is configured to the programme televised live data transaction received to become TS fragment;
First cache module, the TS fragment be configured to conversion generates is saved in the buffer memory of live equipment;
First sending module, is configured to TS fragment to send to intelligent playback equipment.
Described first sending module is also configured to the request according to intelligent playback equipment, resends TS fragment to intelligent playback equipment.
Embodiment 6: as shown in Fig. 6 (a), the method for programme televised live play by intelligent playback equipment, comprises the steps:
S601: intelligent playback equipment and live equipment set up P2P interface channel;
S602: intelligent playback equipment receives the TS fragment and TS fragment playing duration that live equipment sends over;
S603: intelligent playback equipment generates M3U8 file according to the TS fragment received and TS fragment playing duration, and preserve TS fragment and M3U8 file in buffer memory;
S604: intelligent playback equipment creates HTTP service;
TS fragment in buffer memory and M3U8 file are sent to intelligent playback equipment by S605:HTTP service;
S606: intelligent playback equipment plays TS fragment according to M3U8 file.
Described TS fragment and described M3U8 file meet HLS protocol specification, and each TS fragment has can identify the serial number that it plays sequencing.
Also comprise after described step S602, intelligence playback equipment judges that whether the serial number of all TS fragments received is continuous, if discontinuous, illustrates to there is TS fragment loss situation, then intelligent playback equipment sends TS fragment resend messages to live equipment, and request resends the TS fragment of loss; Intelligence playback equipment receives the TS fragment that live equipment resends.
Embodiment 6: as shown in Fig. 6 (b), intelligent playback equipment, comprising:
One P2P Path Setup module, is configured to set up P2P interface channel with live equipment;
First receiver module, is configured to receive the TS fragment that live equipment sends over;
First preserves module, is configured to preserve the TS fragment that receives in the buffer memory of intelligent playback equipment;
3rd receiver module, is configured to receive the TS clip durations that live equipment sends over;
3rd preserves module, is configured to generate M3U8 file according to the TS fragment received and TS fragment playing duration, and preserves M3U8 file in the buffer memory of intelligent playback equipment;
HTTP service creation module, is configured to create HTTP service, and utilizes HTTP service transmission TS fragment and M3U8 file to playing module;
Playing module, is configured to receive TS fragment and M3U8 file that HTTP service sends over, and according to M3U8 file broadcasting TS fragment.
Described intelligent playback equipment also comprises judge module, and whether the serial number being configured to all TS fragments judging to receive is continuous, if discontinuous, then send TS fragment resend messages to live equipment, request resends the TS fragment of loss.
Embodiment 7: as shown in Fig. 7 (a), the method for live device transmission programme televised live, comprises the steps:
S701: P2P interface channel set up by live equipment and intelligent playback equipment;
S702: the programme televised live data transaction received is become TS fragment by live equipment, and obtain the playing duration of each TS fragment;
S703: TS fragment and TS fragment playing duration are sent to intelligent playback equipment by live equipment.
Described TS fragment and described M3U8 file meet HLS protocol specification, and each TS fragment has can identify the serial number that it plays sequencing.
Also comprise after described step S703, live equipment, according to the request of intelligent playback equipment, resends TS fragment to intelligent playback equipment.
Embodiment 7: as shown in Fig. 7 (b), live equipment comprises:
2nd P2P Path Setup module, is configured to set up P2P interface channel with intelligent playback equipment;
First generation module, is configured to the programme televised live data transaction received to become TS fragment;
First cache module, the TS fragment be configured to conversion generates is saved in the buffer memory of live equipment;
First sending module, is configured to TS fragment to send to intelligent playback equipment;
3rd generation module, is configured to the playing duration obtaining each TS fragment;
3rd cache module, is configured to the playing duration of TS fragment to be saved in the buffer memory of live equipment;
3rd sending module, is configured to the playing duration of TS fragment to send to intelligent playback equipment.
Described first sending module is also configured to the request according to intelligent playback equipment, resends TS fragment to intelligent playback equipment.
Embodiment 8: as shown in Fig. 8 (a), the method for programme televised live play by intelligent playback equipment, comprises the steps:
S801: intelligent playback equipment and live equipment set up P2P interface channel;
S802: intelligent playback equipment receives the TS fragment and TS fragment playing duration that live equipment sends over;
S803: intelligent playback equipment generates M3U8 file according to the TS fragment received and TS fragment playing duration, and preserve TS fragment and M3U8 file in buffer memory;
S804: intelligent playback equipment is according to the TS fragment in M3U8 file acquisition buffer memory and play.
Described TS fragment and described M3U8 file meet HLS protocol specification, and each TS fragment has can identify the serial number that it plays sequencing.
Also comprise after described step S802, intelligence playback equipment judges that whether the serial number of all TS fragments received is continuous, if discontinuous, illustrates to there is TS fragment loss situation, then intelligent playback equipment sends TS fragment resend messages to live equipment, and request resends the TS fragment of loss; Intelligence playback equipment receives the TS fragment that live equipment resends.
Embodiment 8: as shown in Fig. 8 (b), intelligent playback equipment, comprising:
One P2P Path Setup module, is configured to set up P2P interface channel with live equipment;
First receiver module, is configured to receive the TS fragment that live equipment sends over;
First preserves module, is configured to preserve the TS fragment that receives in the buffer memory of intelligent playback equipment;
3rd receiver module, is configured to receive the TS clip durations that live equipment sends over;
3rd preserves module, is configured to generate M3U8 file according to the TS fragment received and TS fragment playing duration, and preserves M3U8 file in the buffer memory of intelligent playback equipment;
Playing module, is configured to the TS fragment play according to M3U8 file in buffer memory.
Described intelligent playback equipment also comprises judge module, and whether the serial number being configured to all TS fragments judging to receive is continuous, if discontinuous, then send TS fragment resend messages to live equipment, request resends the TS fragment of loss.
By reference to the accompanying drawings the specific embodiment of the present invention is described although above-mentioned; but not limiting the scope of the invention; one of ordinary skill in the art should be understood that; on the basis of technical scheme of the present invention, those skilled in the art do not need to pay various amendment or distortion that creative work can make still within protection scope of the present invention.

Claims (24)

1. a method for programme televised live play by intelligent playback equipment, and it is characterized in that, step is:
S1-1: intelligent playback equipment and live equipment set up P2P interface channel;
S1-2: intelligent playback equipment receives the TS fragment and M3U8 file that live equipment sends over;
S1-3: intelligent playback equipment preserves the TS fragment and M3U8 file that receive in the buffer memory of intelligent playback equipment;
S1-4: the TS fragment in the buffer memory of intelligent playback equipment play by intelligent playback equipment according to M3U8 file.
2. the method for programme televised live play by intelligent playback equipment as claimed in claim 1, it is characterized in that, also comprise after described step S1-2: intelligent playback equipment judges that whether the serial number of all TS fragments received is continuous, if discontinuous, then intelligent playback equipment sends TS fragment resend messages to live equipment, and request resends the TS fragment of loss; Intelligence playback equipment receives the TS fragment of the loss that live equipment sends.
3. the method for programme televised live play by intelligent playback equipment as claimed in claim 1, and it is characterized in that, described step S1-4 can also be:
(1) intelligent playback equipment creates HTTP service;
(2) intelligent playback equipment receives the TS fragment and M3U8 file that HTTP service sends over;
(3) intelligent playback equipment plays TS fragment according to M3U8 file.
4. a method for live device transmission programme televised live, is characterized in that, step is:
S2-1: P2P interface channel set up by live equipment and intelligent playback equipment;
S2-2: the programme televised live data transaction received is become TS fragment by live equipment, generates M3U8 file;
S2-3: TS fragment and M3U8 file are sent to intelligent playback equipment by live equipment.
5. the method for live device transmission programme televised live as claimed in claim 4, is characterized in that, also comprise after described step S2-3: live equipment resends the TS fragment of loss to intelligent playback equipment according to the request of intelligent playback equipment.
6. a method for programme televised live play by intelligent playback equipment, and it is characterized in that, step is:
S3-1: intelligent playback equipment and live equipment set up P2P interface channel;
S3-2: intelligent playback equipment receives the TS fragment that live equipment is sent by P2P interface channel;
S3-3: intelligent playback equipment preserves the TS fragment that receives in the buffer memory of intelligent playback equipment;
S3-4: intelligent playback equipment plays the TS fragment in intelligent playback equipment buffer memory according to the sequencing of TS fragment.
7. the method for programme televised live play by intelligent playback equipment as claimed in claim 6, it is characterized in that, also comprise after described step S3-2, intelligence playback equipment judges that whether the serial number of all TS fragments received is continuous, if discontinuous, then intelligent playback equipment sends TS fragment resend messages to live equipment, and request resends the TS fragment of loss; Intelligence playback equipment receives the TS fragment of the loss that live equipment sends.
8. a method for live device transmission programme televised live, is characterized in that, step is:
S4-1: P2P interface channel set up by live equipment and intelligent playback equipment;
S4-2: the programme televised live data transaction received is become TS fragment by live equipment;
S4-3: TS fragment is sent to intelligent playback equipment by P2P interface channel by live equipment.
9. the method for live device transmission programme televised live as claimed in claim 8, is characterized in that, also comprise after described step S4-3, and live equipment resends TS fragment to intelligent playback equipment according to the request of intelligent playback equipment.
10. a method for programme televised live play by intelligent playback equipment, and it is characterized in that, step is:
S5-1: intelligent playback equipment and live equipment set up P2P interface channel;
S5-2: intelligent playback equipment receives the TS fragment and TS fragment playing duration that live equipment sends over;
S5-3: intelligent playback equipment generates M3U8 file according to the TS fragment received and TS fragment playing duration, and preserve TS fragment and M3U8 file in the buffer memory of intelligent playback equipment;
S5-4: intelligent playback equipment creates HTTP service;
The TS fragment that S5-5: intelligent playback equipment reception HTTP service sends over and M3U8 file;
S5-6: TS fragment play by intelligent playback equipment.
The method of programme televised live play by 11. intelligent playback equipments as claimed in claim 10, it is characterized in that, also comprise after described step S5-2, intelligence playback equipment judges that whether the serial number of all TS fragments received is continuous, if discontinuous, then intelligent playback equipment sends TS fragment resend messages to live equipment, and request resends the TS fragment of loss; Intelligence playback equipment receives the TS fragment that live equipment sends.
The method of programme televised lives play by 12. intelligent playback equipments as claimed in claim 11, and it is characterized in that, described step S5-4 to step S5-6 can also be: intelligent playback equipment is according to the TS fragment in M3U8 file acquisition intelligence playback equipment buffer memory and play.
The method of 13. 1 kinds of live device transmission programme televised lives, is characterized in that, step is:
S6-1: P2P interface channel set up by live equipment and intelligent playback equipment;
S6-2: the programme televised live data transaction received is become TS fragment by live equipment, and obtain the playing duration of each TS fragment;
S6-3: TS fragment and TS fragment playing duration are sent to intelligent playback equipment by live equipment.
The method of 14. live device transmission programme televised lives as claimed in claim 13, is characterized in that, also comprise after described step S6-3, and live equipment, according to the request of intelligent playback equipment, resends TS fragment to intelligent playback equipment.
15. methods as described in above-mentioned arbitrary claim, it is characterized in that, described TS fragment meets HLS protocol specification, has and can identify the serial number that it plays sequencing.
16. 1 kinds of intelligent playback equipments, is characterized in that, comprising:
One P2P Path Setup module, is configured to set up P2P interface channel with live equipment;
First receiver module, is configured to receive the TS fragment that live equipment sends over;
First preserves module, is configured to preserve the TS fragment that receives in the buffer memory of intelligent playback equipment;
Playing module, is configured to play TS fragment.
17. intelligent playback equipments as claimed in claim 16, is characterized in that, also comprise:
Judge module, whether the serial number being configured to all TS fragments judging to receive is continuous, if discontinuous, then send TS fragment resend messages to live equipment, request resends the TS fragment of loss.
18. intelligent playback equipments as described in claim 16 or 17, is characterized in that, also comprise:
Second receiver module, is configured to receive the M3U8 file that live equipment sends over;
Second preserves module, is configured to preserve the M3U8 file that receives in the buffer memory of intelligent playback equipment.
19. intelligent playback equipments as described in claim 16 or 17, is characterized in that, also comprise:
3rd receiver module, is configured to receive the TS clip durations that live equipment sends over;
3rd preserves module, is configured to generate M3U8 file according to the TS fragment received and TS fragment playing duration, and preserves M3U8 file in the buffer memory of intelligent playback equipment.
20. intelligent playback equipments as claimed in claim 18, is characterized in that, also comprise:
HTTP service creation module, is configured to create HTTP service, and utilizes HTTP service transmission TS fragment and M3U8 file to playing module.
21. intelligent playback equipments as claimed in claim 19, is characterized in that, also comprise:
HTTP service creation module, is configured to create HTTP service, and utilizes HTTP service transmission TS fragment and M3U8 file to playing module.
22. 1 kinds of live equipment, is characterized in that, comprising:
2nd P2P Path Setup module, is configured to set up P2P interface channel with intelligent playback equipment;
First generation module, is configured to the programme televised live data transaction received to become TS fragment;
First cache module, the TS fragment be configured to conversion generates is saved in the buffer memory of live equipment;
First sending module, is configured to TS fragment to send to intelligent playback equipment.
23. live equipment as claimed in claim 22, is characterized in that, also comprise:
Second generation module, is configured to generate the M3U8 file corresponding with TS fragment;
Second cache module, is configured to M3U8 file to be saved in the buffer memory of live equipment;
Second sending module, is configured to M3U8 file to send to intelligent playback equipment.
24. live equipment as claimed in claim 22, is characterized in that, also comprise:
3rd generation module, is configured to the playing duration obtaining each TS fragment;
3rd cache module, is configured to the playing duration of TS fragment to be saved in the buffer memory of live equipment;
3rd sending module, is configured to the playing duration of TS fragment to send to intelligent playback equipment.
CN201511003431.4A 2015-12-28 2015-12-28 Method for playing and transmitting live programme, intelligent playing equipment and live telecasting equipment Pending CN105578263A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511003431.4A CN105578263A (en) 2015-12-28 2015-12-28 Method for playing and transmitting live programme, intelligent playing equipment and live telecasting equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511003431.4A CN105578263A (en) 2015-12-28 2015-12-28 Method for playing and transmitting live programme, intelligent playing equipment and live telecasting equipment

Publications (1)

Publication Number Publication Date
CN105578263A true CN105578263A (en) 2016-05-11

Family

ID=55887852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511003431.4A Pending CN105578263A (en) 2015-12-28 2015-12-28 Method for playing and transmitting live programme, intelligent playing equipment and live telecasting equipment

Country Status (1)

Country Link
CN (1) CN105578263A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791993A (en) * 2016-12-29 2017-05-31 上海云熵网络科技有限公司 P2P live broadcast systems and P2P live broadcasting methods
CN108415855A (en) * 2018-03-06 2018-08-17 珠海全志科技股份有限公司 It makes video recording file memory method and device, computer installation and storage medium
CN108495151A (en) * 2018-03-22 2018-09-04 深圳牛视科技有限公司 A kind of m3u8 format videos live broadcast system and method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072321A (en) * 2006-06-22 2007-11-14 腾讯科技(深圳)有限公司 P2P flow media releasing device
CN101567769A (en) * 2008-04-22 2009-10-28 华为技术有限公司 Data retransmission method, system and peer-to-peer node
US20090282076A1 (en) * 2008-05-07 2009-11-12 Library Video Company Playlist processing
CN103354618A (en) * 2013-06-24 2013-10-16 西安交通大学 HLS-based multi-scenario streaming media adaptive live broadcast method
CN103686245A (en) * 2013-11-22 2014-03-26 乐视致新电子科技(天津)有限公司 Video-on-demand and live broadcasting switching method and device based on HLS protocol
CN104243430A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Streaming media playing method and device
CN104581374A (en) * 2014-12-31 2015-04-29 深圳市同洲电子股份有限公司 Methods for obtaining slicing files and generating sub m3u8 files, node and server
CN104902343A (en) * 2015-05-26 2015-09-09 北京微吼时代科技有限公司 Methods for transmitting and playing audio/video and message, server and terminal
CN105049873A (en) * 2015-05-29 2015-11-11 腾讯科技(北京)有限公司 Method, device and system for streaming media transmission

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072321A (en) * 2006-06-22 2007-11-14 腾讯科技(深圳)有限公司 P2P flow media releasing device
CN101567769A (en) * 2008-04-22 2009-10-28 华为技术有限公司 Data retransmission method, system and peer-to-peer node
US20090282076A1 (en) * 2008-05-07 2009-11-12 Library Video Company Playlist processing
CN104243430A (en) * 2013-06-20 2014-12-24 腾讯科技(深圳)有限公司 Streaming media playing method and device
CN103354618A (en) * 2013-06-24 2013-10-16 西安交通大学 HLS-based multi-scenario streaming media adaptive live broadcast method
CN103686245A (en) * 2013-11-22 2014-03-26 乐视致新电子科技(天津)有限公司 Video-on-demand and live broadcasting switching method and device based on HLS protocol
CN104581374A (en) * 2014-12-31 2015-04-29 深圳市同洲电子股份有限公司 Methods for obtaining slicing files and generating sub m3u8 files, node and server
CN104902343A (en) * 2015-05-26 2015-09-09 北京微吼时代科技有限公司 Methods for transmitting and playing audio/video and message, server and terminal
CN105049873A (en) * 2015-05-29 2015-11-11 腾讯科技(北京)有限公司 Method, device and system for streaming media transmission

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791993A (en) * 2016-12-29 2017-05-31 上海云熵网络科技有限公司 P2P live broadcast systems and P2P live broadcasting methods
CN106791993B (en) * 2016-12-29 2019-08-09 上海云熵网络科技有限公司 P2P live broadcast system and P2P live broadcasting method
CN108415855A (en) * 2018-03-06 2018-08-17 珠海全志科技股份有限公司 It makes video recording file memory method and device, computer installation and storage medium
CN108495151A (en) * 2018-03-22 2018-09-04 深圳牛视科技有限公司 A kind of m3u8 format videos live broadcast system and method

Similar Documents

Publication Publication Date Title
US8903916B2 (en) Method, system, and computer-readable medium to render repeatable data objects streamed over a network
CN101872555B (en) Real-time interactive teaching system based on application-layer multicast services
CN108322790A (en) Wireless screen transmission method and device
US9094527B2 (en) Seamlessly transferring a communication
CN102195955B (en) Method and corresponding equipment for switching between live broadcast service and time shifting service
CN102883134A (en) Screen sharing and controlling method for video conference system
CN102710778B (en) Collaboration wireless display system and working method thereof
CN108055497B (en) Conference signal playing method and device, video conference terminal and mobile device
CN108259813A (en) Multi-functional biography screen device, system and method
CN108063911B (en) Video conference capacity expansion method
CN101895718A (en) Video conference system multi-image broadcast method, and device and system thereof
CN103856809A (en) Method, system and terminal equipment for multipoint at the same screen
CN105578263A (en) Method for playing and transmitting live programme, intelligent playing equipment and live telecasting equipment
CN103595950A (en) Method for carrying out video communication based on cable digital television set top box
KR101282413B1 (en) Apparatus for controlling internet protocol television service and method for providing internet protocol television service using the same
CN104410917A (en) Realization method for cable interactive television cross-domain video service connection system
EP2312826A2 (en) Network device, information processing apparatus, stream switching method, information processing method, program, and content distribution system
CN101668172B (en) Method, system and device for playing service content
KR20120051466A (en) Request method for transmitting broadcasting program and transmission method thereof
US9531774B2 (en) Multicast distribution of incrementally enhanced content
CN102006516B (en) Digital household content service transmission method based on cable television two-way access
CN102457762A (en) Control method and control apparatus for broadcasting control in IPTV (Internet Protocol Television)
CN102316300A (en) Video call screen swinging method, system and device
US9098596B2 (en) Redirecting web content
CN102480645B (en) Digital Cable Television System and the method for data interaction is carried out by wireless terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160511