CN109218764A - A kind of method, server and the system of live data transmission - Google Patents

A kind of method, server and the system of live data transmission Download PDF

Info

Publication number
CN109218764A
CN109218764A CN201710551111.5A CN201710551111A CN109218764A CN 109218764 A CN109218764 A CN 109218764A CN 201710551111 A CN201710551111 A CN 201710551111A CN 109218764 A CN109218764 A CN 109218764A
Authority
CN
China
Prior art keywords
live data
data packet
server
serial number
live
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
CN201710551111.5A
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710551111.5A priority Critical patent/CN109218764A/en
Publication of CN109218764A publication Critical patent/CN109218764A/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2404Monitoring of server processing errors or hardware failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses a kind of methods of live data transmission, this method is applied to live data Transmission system, system includes first server and second server, first server and second server are respectively used to store live data packet to be sent, it include: the first live data packet that first server is obtained when first server breaks down, first live data packet is the last one live data packet that first server is sent to client, carries the first serial number in the first live data packet;The second live data packet is determined according to the first serial number, carries the second serial number in the second live data packet;The second live data packet is sent to client.The present invention also provides a kind of server and live data Transmission systems.It is continuously, to greatly improve the broadcasting fluency of live video that the embodiment of the present invention, which can make client receive live data packet,.

Description

A kind of method, server and the system of live data transmission
Technical field
The present invention relates to method, server and systems that field of information processing more particularly to a kind of live data are transmitted.
Background technique
With the development of internet technique, more and more websites pass through the integration to network direct broadcasting program, maximum limit Degree goes the viewing demand for meeting audient.The characteristics of live video is with real-time, so the sound picture for live video is coherent Property requires very high, and server failure is inevitable.During failover, picture and sound have several seconds and stop , the live video after recovery is possible to retrogressing or F.F., leads to miss important information, this can not often be received 's.
In order to enable live video has preferable continuity, live streaming media hypertext transfer protocol can be used at present (hyper text transfer protocol live streaming, HLS), HLS protocol core are divided into two parts, and one Dividing is m3u8 file, is the slice list information of live video stream in the m3u8 file.The other is the transport stream of video (transport stream, TS) is sliced file.Live data streams are stored as continuously by HLS protocol in server end, client The live data streams of end constantly downloading and the storage of Play Server end, user is it is seen that coherent live video.
Although however, can consistently play live video using HLS protocol, need to consider one it is important before It mentions, that is, there can be no loss in transmission process for TS slice file.It in practical applications, may be because of network quality not The problems such as stablizing causes TS slice file to be lost during transmission, so that live video broadcasting be caused to have some setbacks.
Summary of the invention
The embodiment of the invention provides method, server and the systems of a kind of transmission of live data, when first server goes out When existing failure, second server can be switched to and continue to send live data packet, and first live streaming that second server is sent The last one live data packet that data packet and first server are sent is continuously, so that client receives live data packet It is also continuously, to greatly improve the broadcasting fluency of live video.
In view of this, first aspect present invention provides a kind of method of live data transmission, this method is applied to live streaming Data transmission system, the live data Transmission system include first server and second server, wherein first clothes Business device and the second server are respectively used to store live data packet to be sent, which comprises
When the first server breaks down, the first live data packet of the first server is obtained, wherein institute Stating the first live data packet is the last one live data packet that the first server is sent to client, first live streaming The first serial number is carried in data packet;
The second live data packet is determined according to first serial number carried in the first live data packet, wherein institute It states and carries the second serial number in the second live data packet, a continuous serial number after the first serial number described in second serial number;
The second live data packet is sent to the client.
Second aspect of the present invention provides a kind of server, and the server application is described in live data Transmission system Live data Transmission system further includes first server, wherein the first server is respectively used to store with the server Live data packet to be sent, the server include:
First obtains module, for obtaining the first of the first server when the first server breaks down Live data packet, wherein the first live data packet is the last one live streaming that the first server is sent to client Data packet carries the first serial number in the first live data packet;
First determining module, for what is carried in the first live data packet according to the first acquisition module acquisition First serial number determines the second live data packet, wherein carry the second serial number in the second live data packet, described second A continuous serial number after first serial number described in serial number;
Sending module, for sending second live data that first determining module determines to the client Packet.
Third aspect present invention provides a kind of server, and the server application is described in live data Transmission system Live data Transmission system further includes first server, wherein the first server is respectively used to store with the server Live data packet to be sent, the server include: memory, processor and bus system;
Wherein, the memory is for storing program;
The processor is used to execute the program in the memory, includes the following steps:
When the first server breaks down, the first live data packet of the first server is obtained, wherein institute Stating the first live data packet is the last one live data packet that the first server is sent to client, first live streaming The first serial number is carried in data packet;
The second live data packet is determined according to first serial number carried in the first live data packet, wherein institute It states and carries the second serial number in the second live data packet, a continuous serial number after the first serial number described in second serial number;
The second live data packet is sent to the client;
The bus system is for connecting the memory and the processor, so that the memory and the place Reason device is communicated.
Fourth aspect present invention provides a kind of live data Transmission system, and the live data Transmission system includes first Server and second server, wherein the first server is respectively used to store to be sent with the second server Live data packet, the live data Transmission system include:
When the first server breaks down, the second server obtains the first live streaming of the first server Data packet, wherein the first live data packet is the last one live data that the first server is sent to client It wraps, carries the first serial number in the first live data packet;
The second server determines the second live streaming according to first serial number carried in the first live data packet Data packet, wherein carry the second serial number in the second live data packet, connect after the first serial number described in second serial number A continuous serial number;
The second server sends the second live data packet to the client.
The fifth aspect of the present invention provides a kind of computer readable storage medium, in the computer readable storage medium It is stored with instruction, when run on a computer, so that computer executes method described in above-mentioned various aspects.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
In the embodiment of the present invention, a kind of method of live data transmission is provided, this method is transmitted applied to live data System, live data Transmission system include first server and second server, and first server and second server are distinguished For storing live data packet to be sent, when first server breaks down, the first live streaming number of first server is obtained According to packet, the first live data packet is the last one live data packet that first server is sent to client, the first live data The first serial number is carried in packet, the second live data packet is determined according to the first serial number carried in the first live data packet, second is straight The second serial number is carried in unicast packets, a continuous serial number after second the first serial number of serial number sends second to client Live data packet.By the above-mentioned means, during first server is to client transmissions live data packet, if because net The factors such as network unstable quality cause first server to break down, then can switch to second server and continue that number is broadcast live According to the transmission of packet, and number is broadcast live in the last one of the second server first live data packet sent and first server transmission It is continuous according to packet, so that it is also continuously, to greatly improve broadcasting for live video that client, which receives live data packet, Put fluency.
Detailed description of the invention
Fig. 1 is the architecture diagram of live data Transmission system in the embodiment of the present invention;
Fig. 2 is method one interactive embodiment schematic diagram of live data transmission in the embodiment of the present invention;
Fig. 3 is method one embodiment schematic diagram of live data transmission in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of live data packet in the prior art;
Fig. 5 is the structural schematic diagram of live data packet in the embodiment of the present invention;
Fig. 6 is a flow diagram of signal source transcoding in the embodiment of the present invention;
Fig. 7 is one embodiment schematic diagram of key frame splicing in the embodiment of the present invention;
Fig. 8 is a topological schematic diagram of switching server in application scenarios of the present invention;
Fig. 9 is server one embodiment schematic diagram in the embodiment of the present invention;
Figure 10 is another embodiment schematic diagram of server in the embodiment of the present invention;
Figure 11 is another embodiment schematic diagram of server in the embodiment of the present invention;
Figure 12 is another embodiment schematic diagram of server in the embodiment of the present invention;
Figure 13 is another embodiment schematic diagram of server in the embodiment of the present invention;
Figure 14 is another embodiment schematic diagram of server in the embodiment of the present invention;
Figure 15 is one structural schematic diagram of server in the embodiment of the present invention;
Figure 16 is live data Transmission system one embodiment schematic diagram in the embodiment of the present invention.
Specific embodiment
The embodiment of the invention provides method, server and the systems of a kind of transmission of live data, when first server goes out When existing failure, second server can be switched to and continue to send live data packet, and first live streaming that second server is sent The last one live data packet that data packet and first server are sent is continuously, so that client receives live data packet It is also continuously, to greatly improve the broadcasting fluency of live video.
Description and claims of this specification and term " first ", " second ", " third ", " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be to remove Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any Deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, production Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this A little process, methods, the other step or units of product or equipment inherently.
It should be understood that the embodiment of the present invention is mainly used in the scene of net cast, live streaming platform has assumed responsibility for interior at present Numerous live streaming products such as portion's live streaming and cloud live streaming, inside live streaming mainly include sports cast live streaming, military review live streaming, Spring Festival get-together Party live streaming, space live streaming and live broadcast etc..Cloud live streaming includes " quick worker " live streaming, " bucket fish " live streaming and " panda " live streaming Deng.Present invention could apply to be broadcast live in all business of platform, it is remarkably enhanced in viewing experience, and can Cover personal computer (personal computer, PC), Android system terminal, Apple Inc. Mobile operating system (iphone Operation system, IOS) terminal, TV and HyperText Markup Language (hyper text markup Language, HTML) 5 terminal etc..
Referring to Fig. 1, Fig. 1 is the architecture diagram of live data Transmission system in the embodiment of the present invention, as shown, receiving stream clothes Business device, transcoding machine, streaming server and fringe node can integrate in same server out, be split as multiple servers here It is convenient for function introduction, but should not constitute limitation of the invention.Wherein, it receives streaming server, transcoding machine, go out streaming server And fringe node has mutually standby equipment.Specifically, the mutual standby equipment for receiving streaming server 1 is to receive streaming server 2, receives streaming server For the upload server for receiving main broadcaster's plug-flow.The mutual standby equipment of transcoding machine 1 is transcoding machine 2, and transcoding machine is used for live data streams Transcoding, available multiple images frame are carried out, live data streams include multiple live data packets.The mutual of streaming server 1 out standby sets Standby is streaming server 2, and streaming server is supplied to the data obtained after fringe node is forwarded by transcoding machine out.Fringe node 1 Mutually standby equipment is fringe node 2, and fringe node is a node nearest from user, carries out " last one kilometer " and accelerates.
In order to make it easy to understand, referring to Fig. 2, Fig. 2 is one interaction of method of live data transmission in the embodiment of the present invention Embodiment schematic diagram, as shown, specifically:
In step 101, first server sends the first live data packet to client, in first server and second service Device side stores consistent live data packet, however, the first live data packet is stored in first server, the second live streaming number It is stored in second server according to packet, and two servers store at least one live data packet respectively;
In step 102, when first server break down when, also mean that first server cannot again to client after Supervention send live data packet, then, the transmission for needing that first server is replaced to be broadcast live data packet by second server;
In step 103, when first server when something goes wrong, another second server can be found immediately according to preset rules Failure, and switch to the transmission that second server is broadcast live data packet.Second server needs first to obtain first server hair The the first live data packet sent, is just able to achieve seamless spliced in this way;
In step 104, second server can determine the second live data packet according to the serial number of the first live data packet, In, the second live data packet is an adjacent straight unicast packets after the first live data packet, in addition, the second live data packet First frame image need that there is continuity with the last frame image of the first live data packet, it is generally the case that the second live streaming The first frame image of data packet is key frame, and the last frame image of the first live data packet is also key frame;
In step 105, second server sends the second live data packet to client.
Below by from the angle of second server, the method transmitted to live data in the present invention is introduced, please refers to Fig. 3, Fig. 3 are that method one embodiment of live data transmission in the embodiment of the present invention includes:
201, when first server breaks down, the first live data packet of first server is obtained, wherein first is straight Unicast packets are the last one live data packet that first server is sent to client, carry first in the first live data packet Serial number;
In the present embodiment, it is mainly used in live data Transmission system, which includes first service Device and second server, the two are mutually backups equipment, wherein first server is respectively used to store pending with second server The live data packet sent.
When first server breaks down, failure message can be sent to second server, it can also be by second service Device active probe breaks down to first server, and then second server will acquire the first live streaming number of first server transmission According to packet, the first live data packet here may be considered the last one live data that first server is sent to client It wraps, carries the first serial number in the first live data packet.Under normal conditions, it is stored in first server and second server Each data packet is all respectively provided with a serial number, and these serial numbers have continuity, for example, serial number 1, serial number 2 ... serial number N.
202, the second live data packet is determined according to the first serial number carried in the first live data packet, wherein second is straight The second serial number, a continuous serial number after second the first serial number of serial number are carried in unicast packets;
In the present embodiment, second server finds continuous second serial number therewith according to the first serial number, will carry the second sequence Number live data packet be determined as the second live data packet.It is understood that first server and second server are to live streaming The number of data packet is all consistent, the second live data packet that can be just accurately located in second server in this way.
203, the second live data packet is sent to client, wherein the second live data packet is sent to for second server First live data packet of client.
In the present embodiment, the first server that second server replaces continues to send the second live data packet to client, the Two live data packets are first live data packet that second server is sent to client.With this, the first live data is realized The splicing of packet and the second live data packet.
In the embodiment of the present invention, a kind of method of live data transmission is provided, this method is transmitted applied to live data System, live data Transmission system include first server and second server, and first server and second server are distinguished For storing live data packet to be sent, when first server breaks down, the first live streaming number of first server is obtained According to packet, the first live data packet is the last one live data packet that first server is sent to client, the first live data The first serial number is carried in packet, the second live data packet is determined according to the first serial number carried in the first live data packet, second is straight The second serial number is carried in unicast packets, a continuous serial number after second the first serial number of serial number sends second to client Live data packet, the second live data packet are first live data packet that second server is sent to client.By above-mentioned Mode, during first server is to client transmissions live data packet, if because the factors such as network quality is unstable Cause first server to break down, then can switch to the transmission that second server continues live data packet, and second The last one live data packet that the first live data packet and first server that server is sent are sent is continuous, so that It is also continuously, to greatly improve the broadcasting fluency of live video that client, which receives live data packet,.
Optionally, on the basis of above-mentioned Fig. 3 corresponding embodiment, live data transmission provided in an embodiment of the present invention In first alternative embodiment of method, the second live data packet is determined according to the first serial number carried in the first live data packet, May include:
The second serial number is determined according to the first serial number, wherein the first serial number N, the second serial number (N+1), N is positive number;
Obtain the second live data packet corresponding to the second serial number.
In the present embodiment, second server obtains the first serial number carried in the first live data packet, the first serial number N, N For positive number, the second serial number is obtained according to the first serial number, the second serial number can be (N+1), it is understood that be exactly for the second serial number And then the latter serial number of the first serial number.Second server obtains the second live data packet corresponding to the second serial number.
For ease of description, the live streaming that first server will be introduced by table 1 and second server stores respectively below Package number mode.
Table 1
If the first live data packet serial number 3 of first server, the second live data packet serial number of second server It is 4.It, in practical applications, can be with however, it is necessary to explanation, is only a signal to the number of live data packet in table 1 There are other numberings, is not construed as limiting herein.
In the present invention, the first live data packet is identical as the structure of the second live data packet, and with existing live streaming number According to pack arrangement difference, referring to Fig. 4, Fig. 4 is the structural schematic diagram of live data packet in the prior art, as shown, Fig. 4 is general The pack arrangement of through-flow media formats (flash video, FLV) video protocols, including the head FLV and multiple labels (tag), The head FLV contains FLV mark, version identifier, video and audio mark and packet header size.It is big including tag class, data in label Small, timestamp and stream identification number (identification, ID).Tag is the content of video or audio, can not be by existing The each frame of information top set continuity, break down switch when, system do not know video flowing should since where spell It connects.
And the live data packet in the present invention has different structures, referring to Fig. 5, Fig. 5 is straight in the embodiment of the present invention The structural schematic diagram of unicast packets, as shown, we are packaged video slicing, each by customized proprietary protocol head Before a video frame or audio frame add customized protocol headers, line label of going forward side by side, so as to receiving end can carry out it is orderly Splicing, sequence number want strictly increasing.It is understood that not since 0.
Secondly, server can determine the second serial number, and the second serial number according to the first serial number in the embodiment of the present invention A serial number after one serial number, since live data packet is arranged according to the sequence of serial number from small to large, root A data packet after the first live data packet can be correctly found according to the size of serial number, that is, obtains the second live data Packet.By the above-mentioned means, the second live data packet can be positioned more accurately, and capture the first live data of distance packet most Close next live data packet promotes video and broadcasts so as to prevent live data packet loss during net cast The fluency put.
Optionally, provided in an embodiment of the present invention on the basis of above-mentioned Fig. 3 and Fig. 3 corresponding one embodiment In second alternative embodiment of method of live data transmission, the first live data packet of first server is obtained, may include:
Obtain the stamp of first time corresponding to last frame image in the first live data packet;
Before determining the second live data packet according to the first serial number carried in the first live data packet, can also include:
It is stabbed according to first time and calculates the second timestamp, wherein the second timestamp is for determining the second live data packet First frame image;
The second live data packet is determined according to the first serial number carried in the first live data packet, may include:
The first frame image of the second live data packet is obtained according to the second timestamp;
According to the first serial number and the first frame image of the second live data packet, the second data packet is determined.
In the present embodiment, second server obtains the first live data packet from first server first, and from first The stamp of first time corresponding to last frame image is extracted in live data packet, adjacent timestamp is the with stabbing at the first time Two timestamps.Second server determines the first frame image in the second live data packet according to the second timestamp.Assuming that first is straight The serial number of unicast packets N, and the timestamp of the first live data packet last frame is a, then firstly the need of serial number is found For the second live data packet of (N+1) number, then determine that the second timestamp is b, then, second service according to first time stamp a Device is using the corresponding picture frame of the second timestamp as the first frame of the second live data packet.
Secondly, server is obtained in the first live data packet first corresponding to last frame image in the embodiment of the present invention First time stamp, and then can be stabbed according to first time and calculate the second timestamp, it is straight to obtain second further according to the second timestamp The first frame image of unicast packets, last server can be according to the first serial number and the first frame figures of the second live data packet Picture determines the second data packet.By the above-mentioned means, can use adjacent time stamp realize it is seamless spliced, and adjacent time stab it is past The time very short toward interval, therefore the fluency of live video can be promoted, the practicability of enhanced scheme.
Optionally, corresponding first or on the basis of second embodiment in above-mentioned Fig. 3, Fig. 3, the embodiment of the present invention is mentioned In the method third alternative embodiment of the live data transmission of confession, is stabbed according to first time and calculate the second timestamp, can wrap It includes:
The second timestamp is calculated according to following formula:
T2=T1 ± a;
Wherein, T2 indicates that the second timestamp, T1 indicate to stab at the first time, and a indicates interval of timestamps constant.
In the present embodiment, specific introduce is stabbed into the mode for calculating the second timestamp according to first time, presently, there are two kinds Feasible mode:
First way calculates the latter adjacent time stamp of stamp at the first time;
The latter adjacent time stamp of stamp at the first time can be calculated using following formula:
T2=T1+a;
Wherein, T2 indicates that the second timestamp, T1 indicate to stab at the first time, and a indicates interval of timestamps constant.A is greater than 0 Positive number, it is assumed that a 0:00:033, T1 1:00:000, then T2 is 1:00:033.
The second way calculates the previous adjacent time stamp of stamp at the first time;
The previous adjacent time stamp of stamp at the first time can be calculated using following formula:
T2=T1+a;
Wherein, T2 indicates that the second timestamp, T1 indicate to stab at the first time, and a indicates interval of timestamps constant.A is greater than 0 Positive number, it is assumed that a 0:00:033, T1 1:00:099, then T2 is 1:00:066.
Again, in the embodiment of the present invention, the mode for calculating the second timestamp is defined, when the second timestamp is distance the first Between stab a nearest timestamp, either at the first time stamp previous timestamp, be also possible at the first time stab after One timestamp.By the above-mentioned means, server can more accurately capture the second timestamp, to get the second timestamp Corresponding target image frame, the thus practicability and feasibility of lifting scheme.
Optionally, above-mentioned Fig. 3 and Fig. 3 it is corresponding first to any one of third embodiment on the basis of, this In the 4th alternative embodiment of method for the live data transmission that inventive embodiments provide, carried according in the first live data packet The first serial number determine the second live data packet before, can also include:
Obtain the corresponding target image frame of the second timestamp, wherein target image frame carries frame class mark;
If frame class mark instruction target image frame is key frame, it is determined that target image frame is in the second live data packet First frame image.
In the present embodiment, second server needs first to be counted according to first time stamp before determining the second live data packet The second timestamp is calculated, picture frame corresponding to the second timestamp is then found out, which is target image frame, wherein mesh Frame class mark is carried in logo image frame, frame class identifies the frame type for being used to indicate target image frame, and frame type includes key frame Type and non-key frame type.If frame class mark instruction target image frame is key frame, using the target image frame as the The first frame image of two live data packets, to realize the seamless spliced of key frame.
Key frame generallys use I frame to indicate, key frame can be understood as the complete reservation of this frame picture, when decoding only Need key frame data that can complete (because comprising complete picture).And non-key frame generallys use P frame to indicate, it is non-key Frame only needs decoder previous picture to be cached with regard to the picture cached before use when encountering non-key frame, such as Fruit video flowing only has I frame and P frame, and decoder can be decoded regardless of subsequent data when reading, and linear travel is very smooth.
Further, in the embodiment of the present invention, server is true according to the first serial number carried in the first live data packet Before fixed second live data packet, it is also necessary to the corresponding target image frame of the second timestamp is first taken, if the target image frame is Key frame, then server can determine that target image frame is the first frame image in the second live data packet.Pass through above-mentioned side Formula can find nearest key frame according to timestamp and be spliced, and realize the seamless spliced of key frame of video with this, reduce straight The fluency of live video is improved greatly in the Caton for broadcasting video.
Optionally, on the basis of any one of above-mentioned Fig. 3 and Fig. 3 corresponding first to the 4th embodiment, this In the 5th alternative embodiment of method for the live data transmission that inventive embodiments provide, the corresponding target of the second timestamp is obtained After picture frame, can also include:
If frame class mark instruction target image frame is non-key frame, third timestamp is calculated according to the second timestamp;
If the corresponding picture frame of third timestamp is key frame, it is determined that the corresponding picture frame of third timestamp is second straight First frame image in unicast packets.
In the present embodiment, second server is after obtaining target image frame corresponding to the second timestamp, it is necessary first to The frame class mark of the target image frame is obtained, if frame class mark instruction target image frame is non-key frame, according to second Timestamp calculates third timestamp, is further continued for whether the corresponding picture frame of monitoring third timestamp is key frame, if it is, will First frame image of this key frame as the second live data packet.
Referring to Fig. 6, Fig. 6 be the embodiment of the present invention in signal source transcoding a flow diagram, to signal source into Two-way live video stream is respectively obtained after row transcoding, this programme is needed to dock this two-way live video stream, specifically, be asked It is one embodiment schematic diagram of key frame splicing in the embodiment of the present invention with continued reference to Fig. 7, Fig. 7, as shown, from transcoding machine I frame time that 1 transcoding obtains stamp is 1:00:000, and last frame I frame time stamp is 1:05:000, and from 2 transcoding of transcoding machine Obtained I frame time stamp is 1:05:033, and last frame I frame time stamp is 1:10:033, immediate two passes after splicing Key frame links together.Video flowing usually requires active and standby two transcoding machines all the way, but even if the same video all the way of input, by not After transcoding machine, video flowing time series out is also it cannot be guaranteed that consistent, for example the timestamp of same frame is different, or What person's same picture transcoding machine 1 came out is key frame, and what transcoding machine 2 came out is non-key frame.In this case, need according to when Between stamp find nearest key frame and spliced.
Further, in the embodiment of the present invention, another situation is also described, i.e., obtains the second timestamp in server After corresponding target image frame, if the target image frame is non-key frame, need further to be calculated according to the second timestamp Third timestamp, if the corresponding picture frame of third timestamp is key frame, it is determined that the corresponding picture frame of third timestamp is the First frame image in two live data packets.Even if by the above-mentioned means, stabbing the second nearest timestamp institute apart from first time Corresponding picture frame is non-key frame, can continue to search apart from immediate key frame is stabbed at the first time, to realize view Frequency key frame it is seamless spliced, reduce the Caton of live video, the fluency of live video be improved greatly.
For ease of understanding, the process that live data in the present invention is transmitted can be carried out with a concrete application scene below Detailed description, referring to Fig. 8, Fig. 8 is a topological schematic diagram of switching server in application scenarios of the present invention, specifically:
Source station 1 may be considered first server, and source station 2 may be considered second server, it is assumed that detect that source station 1 is sent out Failure is given birth to, then system will automatically switch to backup server, that is, be switched to the transmission that source station 2 is broadcast live data packet.Source station 1 It has sent two fragments (i.e. live data packet), including 2 He of data 1 and corresponding proprietary protocol header sequence number 1 and data Corresponding proprietary protocol header sequence number 2, this when, source station 1 break down, then source station 2 by the data of then sequence number 2 after Supervention send next fragment, that is, selects data 3 and corresponding proprietary protocol header sequence number 3 as the latter fragment, to realize Seamless spliced process.
The server in the present invention is described in detail below, referring to Fig. 9, the server in the embodiment of the present invention is answered For live data Transmission system, which further includes first server, wherein first server and service Device is respectively used to store live data packet to be sent, and server 30 includes:
First obtains module 301, for when the first server breaks down, obtaining the of the first server Unicast packets always, wherein the first live data packet be the first server be sent to client the last one is straight Unicast packets carry the first serial number in the first live data packet;
First determining module 302, for being obtained in the first live data packet that module 301 obtains according to described first First serial number carried determines the second live data packet, wherein the second serial number, institute are carried in the second live data packet State a continuous serial number after the first serial number described in the second serial number;
Sending module 303, for sending second live streaming that first determining module 302 determines to the client Data packet.
In the present embodiment, when first server breaks down, first obtains first that module 301 obtains first server Live data packet, wherein the first live data packet is the last one live data packet that first server is sent to client, the The first serial number is carried in unicast packets always, the first determining module 302 obtains the first live streaming number that module 301 obtains according to first The second live data packet is determined according to the first serial number carried in packet, wherein carry the second serial number in the second live data packet, second A continuous serial number after first serial number described in serial number, sending module 303 send the first determining module 302 really to client The second fixed live data packet.
In the embodiment of the present invention, a kind of server, specially second server are provided, when first server breaks down When, the first live data packet of first server is obtained, the first live data packet is that first server is sent to client most The latter live data packet carries the first serial number in the first live data packet, according to first carried in the first live data packet Serial number determines the second live data packet, and the second serial number is carried in the second live data packet, is connected after second the first serial number of serial number A continuous serial number sends the second live data packet to client.By the above-mentioned means, in first server to client transmissions During live data packet, if because the factors such as network quality is unstable cause first server to break down, it can be with Switch to the transmission that second server continues live data packet, and first live data packet sending of second server with The last one live data packet that first server is sent is continuously, so that it is also continuous that client, which receives live data packet, , to greatly improve the broadcasting fluency of live video.
Optionally, on the basis of the embodiment corresponding to above-mentioned Fig. 9, referring to Fig. 10, provided in an embodiment of the present invention In another embodiment of server 30,
First determining module 302 includes:
First determination unit 3021, for determining second serial number according to first serial number, wherein first sequence Number be N, second serial number (N+1), the N be positive number;
First acquisition unit 3022, for obtaining corresponding to second serial number that first determination unit 3021 determines The second live data packet.
Secondly, server can determine the second serial number, and the second serial number according to the first serial number in the embodiment of the present invention A serial number after one serial number, since live data packet is arranged according to the sequence of serial number from small to large, root A data packet after the first live data packet can be correctly found according to the size of serial number, that is, obtains the second live data Packet.By the above-mentioned means, the second live data packet can be positioned more accurately, and capture the first live data of distance packet most Close next live data packet promotes video and broadcasts so as to prevent live data packet loss during net cast The fluency put.
Optionally, on the basis of the embodiment corresponding to above-mentioned Fig. 9, Figure 11 is please referred to, it is provided in an embodiment of the present invention In another embodiment of server 30,
Described first, which obtains module 301, includes:
Second acquisition unit 3011, for obtaining in the first live data packet first corresponding to last frame image Timestamp;
The server 30 further include:
First computing module 304, for being carried in first determining module 302 according in the first live data packet First serial number determine the second live data packet before, according to the first time stab calculate the second timestamp, wherein institute The second timestamp is stated for determining the first frame image of the second live data packet;
First determining module 302 includes:
Third acquiring unit 3023, second timestamp for being calculated according to first computing module 304, Obtain the first frame image of the second live data packet;
Second determination unit 3024, for the institute according to first serial number and the third acquiring unit 3023 acquisition The first frame image for stating the second live data packet determines second data packet.
Secondly, server is obtained in the first live data packet first corresponding to last frame image in the embodiment of the present invention First time stamp, and then can be stabbed according to first time and calculate the second timestamp, it is straight to obtain second further according to the second timestamp The first frame image of unicast packets, last server can be according to the first serial number and the first frame figures of the second live data packet Picture determines the second data packet.By the above-mentioned means, can use adjacent time stamp realize it is seamless spliced, and adjacent time stab it is past The time very short toward interval, therefore the fluency of live video can be promoted, the practicability of enhanced scheme.
Optionally, on the basis of the embodiment corresponding to above-mentioned Figure 11, Figure 12 is please referred to, it is provided in an embodiment of the present invention In another embodiment of server 30,
First computing module 304 includes:
Computing unit 3041, for calculating second timestamp according to following formula:
T2=T1 ± a;
Wherein, the T2 indicates that second timestamp, the T1 indicate that the first time stamp, a indicate the time Stamp interval constant.
Again, in the embodiment of the present invention, the mode for calculating the second timestamp is defined, when the second timestamp is distance the first Between stab a nearest timestamp, either at the first time stamp previous timestamp, be also possible at the first time stab after One timestamp.By the above-mentioned means, server can more accurately capture the second timestamp, to get the second timestamp Corresponding target image frame, the thus practicability and feasibility of lifting scheme.
Optionally, on the basis of embodiment corresponding to any one of above-mentioned Fig. 9 to Figure 12, Figure 13, this hair are please referred to In another embodiment for the server 30 that bright embodiment provides,
The server 30 further include:
Second obtains module 305, for carrying in first determining module 302 according in the first live data packet First serial number determine the second live data packet before, obtain the corresponding target image frame of second timestamp, wherein The target image frame carries frame class mark;
Second determining module 306, if obtaining the mesh that module 305 obtains for frame class mark instruction described second Logo image frame is key frame, it is determined that the target image frame is the first frame image in the second live data packet.
Further, in the embodiment of the present invention, server is true according to the first serial number carried in the first live data packet Before fixed second live data packet, it is also necessary to the corresponding target image frame of the second timestamp is first taken, if the target image frame is Key frame, then server can determine that target image frame is the first frame image in the second live data packet.Pass through above-mentioned side Formula can find nearest key frame according to timestamp and be spliced, and realize the seamless spliced of key frame of video with this, reduce straight The fluency of live video is improved greatly in the Caton for broadcasting video.
Optionally, on the basis of the embodiment corresponding to above-mentioned Figure 13, Figure 14 is please referred to, it is provided in an embodiment of the present invention In another embodiment of server 30,
The server 30 further include:
Second computing module 307, for obtaining the corresponding target of second timestamp in the second acquisition module 305 After picture frame, if frame class mark indicates that the target image frame is non-key frame, according to the second timestamp meter Calculate third timestamp;
Third determining module 308, if the third timestamp for the second computing module 307 to be calculated is corresponding Picture frame is key frame, it is determined that the corresponding picture frame of the third timestamp is the first frame in the second live data packet Image.
Further, in the embodiment of the present invention, another situation is also described, i.e., obtains the second timestamp in server After corresponding target image frame, if the target image frame is non-key frame, need further to be calculated according to the second timestamp Third timestamp, if the corresponding picture frame of third timestamp is key frame, it is determined that the corresponding picture frame of third timestamp is the First frame image in two live data packets.Even if by the above-mentioned means, stabbing the second nearest timestamp institute apart from first time Corresponding picture frame is non-key frame, can continue to search apart from immediate key frame is stabbed at the first time, to realize view Frequency key frame it is seamless spliced, reduce the Caton of live video, the fluency of live video be improved greatly.
Figure 15 is a kind of server architecture schematic diagram provided in an embodiment of the present invention, which can be because of configuration or property Energy is different and generates bigger difference, may include one or more central processing units (central processing Units, CPU) 422 (for example, one or more processors) and memory 432, one or more storages apply journey The storage medium 430 (such as one or more mass memory units) of sequence 442 or data 444.Wherein, 432 He of memory Storage medium 430 can be of short duration storage or persistent storage.The program for being stored in storage medium 430 may include one or one With upper module (diagram does not mark), each module may include to the series of instructions operation in server.Further, in Central processor 422 can be set to communicate with storage medium 430, execute on server 400 a series of in storage medium 430 Instruction operation.
Server 400 can also include one or more power supplys 426, one or more wired or wireless networks Interface 450, one or more input/output interfaces 458, and/or, one or more operating systems 441, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
The step as performed by server can be based on the server architecture shown in figure 15 in above-described embodiment.
Wherein, CPU 422 is for executing following steps:
When the first server breaks down, the first live data packet of the first server is obtained, wherein institute Stating the first live data packet is the last one live data packet that the first server is sent to client, first live streaming The first serial number is carried in data packet;
The second live data packet is determined according to first serial number carried in the first live data packet, wherein institute It states and carries the second serial number in the second live data packet, a continuous serial number after the first serial number described in second serial number;
The second live data packet is sent to the client.
Optionally, CPU 422 is specifically used for executing following steps:
Second serial number is determined according to first serial number, wherein the first serial number N, second serial number (N+1), the N is positive number;
Obtain the second live data packet corresponding to second serial number.
Optionally, CPU 422 is specifically used for executing following steps:
Obtain the stamp of first time corresponding to last frame image in the first live data packet;
It is stabbed according to the first time and calculates the second timestamp, wherein second timestamp is for determining described second The first frame image of live data packet;
The first frame image of the second live data packet is obtained according to second timestamp;
According to first serial number and the first frame image of the second live data packet, second data are determined Packet.
Optionally, CPU 422 is specifically used for executing following steps:
Second timestamp is calculated according to following formula:
T2=T1 ± a;
Wherein, the T2 indicates that second timestamp, the T1 indicate that the first time stamp, a indicate the time Stamp interval constant.
Optionally, CPU 422 is also used to execute following steps:
Obtain the corresponding target image frame of second timestamp, wherein the target image frame carries frame class mark;
If frame class mark indicates that the target image frame is key frame, it is determined that the target image frame is described the First frame image in two live data packets.
Optionally, CPU 422 is also used to execute following steps:
If frame class mark indicates that the target image frame is non-key frame, the is calculated according to second timestamp Three timestamps;
If the corresponding picture frame of the third timestamp is key frame, it is determined that the corresponding picture frame of the third timestamp For the first frame image in the second live data packet.
Figure 16 is please referred to, Figure 16 is live data Transmission system one embodiment schematic diagram in the embodiment of the present invention, live streaming Data transmission system includes first server 501 and second server 502, wherein first server 501 and second server 502 are respectively used to store live data packet to be sent, and live data Transmission system includes:
When first server 501 breaks down, second server 502 obtains the first live streaming number of first server 501 According to packet, wherein the first live data packet is that first server 501 is sent to the last one live data packet of client, first The first serial number is carried in live data packet;
Second server 502 determines the second live data packet according to the first serial number carried in the first live data packet, In, the second serial number, a continuous serial number after second the first serial number of serial number are carried in the second live data packet;
Second server 502 sends the second live data packet to client, wherein the second live data packet is second service Device 502 is sent to first live data packet of client.
In the embodiment of the present invention, a kind of live data Transmission system is provided, which includes first server and the Two servers, first server and second server are respectively used to store live data packet to be sent, when first server is sent out When raw failure, the first live data packet of first server is obtained, the first live data packet is that first server is sent to client The last one live data packet at end carries the first serial number in the first live data packet, carries according in the first live data packet The first serial number determine the second live data packet, the second serial number, second the first serial number of serial number are carried in the second live data packet A continuous serial number later sends the second live data packet to client, and the second live data packet is second server transmission To first live data packet of client.By the above-mentioned means, in first server to client transmissions live data packet In the process, if the second clothes can be switched to because the factors such as network quality is unstable cause first server to break down Business device continues the transmission of live data packet, and the first live data packet and first server hair that second server is sent The last one the live data packet sent is continuous, so that it is also continuously, thus substantially that client, which receives live data packet, Improve the broadcasting fluency of live video.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. are various can store program The medium of code.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although referring to before Stating embodiment, invention is explained in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of method of live data transmission, which is characterized in that the method is applied to live data Transmission system, described straight Unicast data transmission system includes first server and second server, wherein the first server and the second service Device is respectively used to store live data packet to be sent, which comprises
When the first server breaks down, the first live data packet of the first server is obtained, wherein described Unicast packets are the last one live data packet that the first server is sent to client, first live data always The first serial number is carried in packet;
The second live data packet is determined according to first serial number carried in the first live data packet, wherein described The second serial number, a continuous serial number after the first serial number described in second serial number are carried in two live data packets;
The second live data packet is sent to the client.
2. the method according to claim 1, wherein first live data for obtaining the first server Packet, comprising:
Obtain the stamp of first time corresponding to last frame image in the first live data packet;
It is described second live data packet is determined according to first serial number carried in the first live data packet before, it is described Method further include:
It is stabbed according to the first time and calculates the second timestamp, wherein second timestamp is for determining second live streaming The first frame image of data packet;
It is described that second live data packet is determined according to first serial number carried in the first live data packet, comprising:
The first frame image of the second live data packet is obtained according to second timestamp;
According to first serial number and the first frame image of the second live data packet, second data packet is determined.
3. according to the method described in claim 2, it is characterized in that, described stabbed according to the first time calculated for the second time Stamp, comprising:
Second timestamp is calculated according to following formula:
T2=T1 ± a;
Wherein, the T2 indicates that second timestamp, the T1 indicate that the first time stamp, a indicate between timestamp Every constant.
4. according to the method in any one of claims 1 to 3, which is characterized in that described according to first live data Before first serial number carried in packet determines the second live data packet, the method also includes:
Obtain the corresponding target image frame of second timestamp, wherein the target image frame carries frame class mark;
If the frame class mark indicates that the target image frame is key frame, it is determined that the target image frame is described second straight First frame image in unicast packets.
5. according to the method described in claim 4, it is characterized in that, described obtain the corresponding target image of second timestamp After frame, the method also includes:
If the frame class mark indicates that the target image frame is non-key frame, when calculating third according to second timestamp Between stab;
If the corresponding picture frame of the third timestamp is key frame, it is determined that the corresponding picture frame of the third timestamp is institute State the first frame image in the second live data packet.
6. a kind of server, which is characterized in that the server application is in live data Transmission system, the live data transmission System further includes first server, wherein the first server and the server are respectively used to store live streaming to be sent Data packet, the server include:
First obtains module, for when the first server breaks down, obtaining the first live streaming of the first server Data packet, wherein the first live data packet is the last one live data that the first server is sent to client It wraps, carries the first serial number in the first live data packet;
First determining module, for according to being carried in the first live data packet of the first acquisition module acquisition First serial number determines the second live data packet, wherein the second serial number, second serial number are carried in the second live data packet For a serial number continuous after first serial number;
Sending module, for sending the second live data packet that first determining module determines to the client.
7. a kind of server, which is characterized in that the server application is in live data Transmission system, the live data transmission System further includes first server, wherein the first server and the server are respectively used to store live streaming to be sent Data packet, the server include: memory, processor and bus system;
Wherein, the memory is for storing program;
The processor is used to execute the program in the memory, includes the following steps:
When the first server breaks down, the first live data packet of the first server is obtained, wherein described Unicast packets are the last one live data packet that the first server is sent to client, first live data always The first serial number is carried in packet;
The second live data packet is determined according to first serial number carried in the first live data packet, wherein described The second serial number, a continuous serial number after the first serial number described in second serial number are carried in two live data packets;
The second live data packet is sent to the client;
The bus system is for connecting the memory and the processor, so that the memory and the processor It is communicated.
8. server according to claim 7, which is characterized in that the processor is for executing following steps:
Obtain the stamp of first time corresponding to last frame image in the first live data packet;
It is stabbed according to the first time and calculates the second timestamp, wherein second timestamp is for determining second live streaming The first frame image of data packet;
The first frame image of the second live data packet is obtained according to second timestamp;
According to first serial number and the first frame image of the second live data packet, second data packet is determined.
9. a kind of live data Transmission system, which is characterized in that the live data Transmission system include first server and Second server, wherein the first server and the second server are respectively used to store live data packet to be sent, The live data Transmission system includes:
When the first server breaks down, the second server obtains the first live data of the first server Packet, wherein the first live data packet is the last one live data packet that the first server is sent to client, institute It states in the first live data packet and carries the first serial number;
The second server determines the second live data according to first serial number carried in the first live data packet Packet, wherein carry the second serial number in the second live data packet, it is continuous after the first serial number described in second serial number One serial number;
The second server sends the second live data packet to the client.
10. a kind of computer readable storage medium, including instruction, when run on a computer, so that computer executes such as Method described in claim 1-5.
CN201710551111.5A 2017-07-07 2017-07-07 A kind of method, server and the system of live data transmission Pending CN109218764A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710551111.5A CN109218764A (en) 2017-07-07 2017-07-07 A kind of method, server and the system of live data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710551111.5A CN109218764A (en) 2017-07-07 2017-07-07 A kind of method, server and the system of live data transmission

Publications (1)

Publication Number Publication Date
CN109218764A true CN109218764A (en) 2019-01-15

Family

ID=64990901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710551111.5A Pending CN109218764A (en) 2017-07-07 2017-07-07 A kind of method, server and the system of live data transmission

Country Status (1)

Country Link
CN (1) CN109218764A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110198311A (en) * 2019-05-21 2019-09-03 腾讯科技(深圳)有限公司 A kind of data flow processing method, device, equipment and medium
CN110943998A (en) * 2019-12-04 2020-03-31 腾讯科技(深圳)有限公司 Signal transmission method, device, equipment and medium
CN110971975A (en) * 2019-12-06 2020-04-07 杭州视洞科技有限公司 Optimization scheme for real-time streaming media forwarding and direct connection switching
CN112911315A (en) * 2019-11-19 2021-06-04 中兴通讯股份有限公司 Live streaming recording method, network equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010135333A1 (en) * 2009-05-19 2010-11-25 Beaumaris Networks Inc. Methods, apparatus and computer readable medium for managed adaptive bit rate for bandwidth reclamation
CN102187667A (en) * 2008-08-26 2011-09-14 Csir公司 A method of switching from a first encoded video stream to a second encoded video stream
CN104902289A (en) * 2015-06-29 2015-09-09 秦永红 Design method and system for RTMP (Real Time Messaging Protocol) streaming media live system warm backup
CN105847854A (en) * 2016-04-12 2016-08-10 乐视控股(北京)有限公司 Webcasting method and system
CN106534952A (en) * 2016-09-28 2017-03-22 青岛海信电器股份有限公司 Method for continuingly playing film source after source switching and smart television

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102187667A (en) * 2008-08-26 2011-09-14 Csir公司 A method of switching from a first encoded video stream to a second encoded video stream
WO2010135333A1 (en) * 2009-05-19 2010-11-25 Beaumaris Networks Inc. Methods, apparatus and computer readable medium for managed adaptive bit rate for bandwidth reclamation
CN104902289A (en) * 2015-06-29 2015-09-09 秦永红 Design method and system for RTMP (Real Time Messaging Protocol) streaming media live system warm backup
CN105847854A (en) * 2016-04-12 2016-08-10 乐视控股(北京)有限公司 Webcasting method and system
CN106534952A (en) * 2016-09-28 2017-03-22 青岛海信电器股份有限公司 Method for continuingly playing film source after source switching and smart television

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110198311A (en) * 2019-05-21 2019-09-03 腾讯科技(深圳)有限公司 A kind of data flow processing method, device, equipment and medium
CN112911315A (en) * 2019-11-19 2021-06-04 中兴通讯股份有限公司 Live streaming recording method, network equipment and storage medium
CN110943998A (en) * 2019-12-04 2020-03-31 腾讯科技(深圳)有限公司 Signal transmission method, device, equipment and medium
CN110943998B (en) * 2019-12-04 2022-02-01 腾讯科技(深圳)有限公司 Signal transmission method, device, equipment and medium
CN110971975A (en) * 2019-12-06 2020-04-07 杭州视洞科技有限公司 Optimization scheme for real-time streaming media forwarding and direct connection switching

Similar Documents

Publication Publication Date Title
CN109218764A (en) A kind of method, server and the system of live data transmission
US11218382B2 (en) Quality of service monitoring method, device, and system
KR101564077B1 (en) Method, apparatus, and system for locating iptv fault
US8649278B2 (en) Method and system of multimedia service performance monitoring
CN102075338B (en) Distributed network-based live broadcasting method and device
CN108886511A (en) The part of inventory file is updated based on patch
US20190007473A1 (en) Peer-to-peer network live streaming system and node management method
CN104135672A (en) HLS-based method for realizing seamless disaster recovery of video on demand
EP2942918B1 (en) Method and device for transmitting streaming media data
EP3190794A1 (en) System, device and method for implementing hls channel playback service, and storage medium
US11588890B2 (en) System, method and apparatus having a redundant cluster for processing data
CN109218759A (en) Push method, apparatus, server and the storage medium of Media Stream
WO2017101401A1 (en) Video playback method, device and system
WO2023061060A1 (en) Audio and video code stream scheduling method, system, medium and electronic apparatus
JP2016524392A (en) Method, apparatus and system for monitoring the quality of OTT video
CN111131843A (en) Network live broadcast system and method
US11095699B1 (en) Streaming media file management
Begen et al. Road to salvation: streaming clients and content delivery networks working together
US20120327954A1 (en) Packet Meta-Tagging Using Excess Payload
KR20160015206A (en) Transmission device, transmission method, receiving device, and receiving method
CN111741373B (en) Video data transmission method and video source equipment
CN112073727B (en) Transcoding method and device, electronic equipment and storage medium
CN108616760B (en) Live broadcasting method based on browser, server, anchor terminal and user terminal
CN115002083A (en) Method, equipment and storage medium for transmitting real-time streaming media data
US20150271530A1 (en) Video quality enhancement method and apparatus

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190115

RJ01 Rejection of invention patent application after publication