CN105516739A - Video live broadcasting method and system, transcoding server and webpage client - Google Patents

Video live broadcasting method and system, transcoding server and webpage client Download PDF

Info

Publication number
CN105516739A
CN105516739A CN201510969968.XA CN201510969968A CN105516739A CN 105516739 A CN105516739 A CN 105516739A CN 201510969968 A CN201510969968 A CN 201510969968A CN 105516739 A CN105516739 A CN 105516739A
Authority
CN
China
Prior art keywords
cdn
video stream
stream data
video
data
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.)
Granted
Application number
CN201510969968.XA
Other languages
Chinese (zh)
Other versions
CN105516739B (en
Inventor
袁树健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201510969968.XA priority Critical patent/CN105516739B/en
Publication of CN105516739A publication Critical patent/CN105516739A/en
Application granted granted Critical
Publication of CN105516739B publication Critical patent/CN105516739B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/762Media network packet handling at the source 
    • 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
    • H04N21/6437Real-time Transport Protocol [RTP]
    • 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/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • 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/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the invention provides a video live broadcasting method and system, a transcoding server and a webpage client. The video live broadcasting method comprises the steps of receiving original video stream data sent by a video stream distribution server, wherein the format of the original video stream data is a preset original format; converting the format of the original video stream data into a preset stream transmission format so as to obtain video stream data in the stream transmission format; and sending the video stream data in the stream transmission format to the webpage client which requests for a live video through a CDN (Content Distribution Network) node so as to enable the webpage client to analyze the video stream data in the stream transmission format and play the analyzed video stream data in a frame playing mode based on the stream transmission format after the video stream data in the stream transmission format are received. According to the video live broadcasting method provided by the embodiment of the invention, delay of playing the live video on a webpage can be reduced.

Description

A kind of net cast method, transcoding server, webpage client and system
Technical field
The present invention relates to video technique field, be specifically related to a kind of net cast method, transcoding server, webpage client and system.
Background technology
Net cast refers to by network, user watches that the ongoing on-the-spot audio frequency and video of far-end are live, the facts such as such as race, meeting, teaching, operation, the on-the-spot audio frequency and video can reproducing far-end due to net cast in this locality are live, the video that user watches has higher real-time, and therefore net cast technology in recent years obtains comparatively swift and violent development.
The mode of net cast mainly user initiates live request by subscriber equipment to direct broadcast server, the broadcast address of direct broadcast band is informed subscriber equipment according to live request by direct broadcast server, subscriber equipment adds corresponding multicast group according to this broadcast address, realizes playing live video on a user device; The video content that live video is watched for user.
The principal element affecting net cast quality is, delay during played live video, higher delay comparatively badly influences the live effect of interdynamic video, experience is watched with the live video of user, delay when therefore controlling played live video is in reduced levels, seems particularly necessary.
At present, the normal method of played live video is, by special net cast client terminal playing live video with play live video by webpage; Special net cast client is generally provided by the service provider providing net cast to serve, and therefore special net cast client, when developing, generally has control device for delay when playing live video; And the browser that webpage carries is varied, these Time delay control means just resulted through when webpage plays live video more difficultly spread to all browsers, therefore the mode of live video is play by webpage, compared to the mode by special net cast client terminal playing live video, postpone higher.
Can find out, for promoting the live effect of interdynamic video, the live video promoting user watches experience; How to be reduced in delay when webpage playing live video, to become the problem that those skilled in the art need badly.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of net cast method, transcoding server, webpage client and system, to be reduced in delay when webpage playing live video.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
A kind of net cast method, be applied to transcoding server, described method comprises:
The original video flow data that receiver, video stream distribution server sends, the form of described original video flow data is default unprocessed form;
The form of described original video flow data is converted to predetermined flow transmission form by described unprocessed form, obtains the video stream data of flow transmission form;
The video stream data of described flow transmission form is sent to the webpage client of request live video by CDN node, so that described webpage client is after the video stream data receiving described flow transmission form, webpage client is made to resolve the video stream data of described flow transmission form, and make webpage client based on described flow transmission form, the video stream data parsed is play with frame broadcast mode.
The embodiment of the present invention also provides a kind of net cast method, is applied to CDN node, and described method comprises:
Receive transcoding server after the form of original video flow data is converted to predetermined flow transmission form by unprocessed form, the video stream data of the flow transmission form sent;
The video stream data of described flow transmission form is sent to the webpage client of request live video, so that described webpage client is after the video stream data receiving described flow transmission form, webpage client is made to resolve the video stream data of described flow transmission form, and make webpage client based on described flow transmission form, the video stream data parsed is play with frame broadcast mode.
The embodiment of the present invention also provides a kind of net cast method, is applied to webpage client, and described method comprises:
Determine the broadcast address of live video, to the video stream data that CDN node request is corresponding with described broadcast address;
Receive the video stream data of the predetermined flow transmission form that CDN node sends, wherein, the video stream data of described flow transmission form, by the form of transcoding server by original video flow data, generates after being converted to predetermined flow transmission form by unprocessed form;
Resolve the video stream data of described flow transmission form, and based on described flow transmission form, play the video stream data parsed with frame broadcast mode.
The embodiment of the present invention also provides a kind of transcoding server, comprising:
Original video stream data reception module, for the original video flow data that receiver, video stream distribution server sends, the form of described original video flow data is default unprocessed form;
Format converting module, for the form of described original video flow data is converted to predetermined flow transmission form by described unprocessed form, obtains the video stream data of flow transmission form;
Video stream data sending module, for the video stream data of described flow transmission form to be sent to the webpage client of request live video by CDN node, so that described webpage client is after the video stream data receiving described flow transmission form, webpage client is made to resolve the video stream data of described flow transmission form, and make webpage client based on described flow transmission form, the video stream data parsed is play with frame broadcast mode.
The embodiment of the present invention also provides a kind of webpage client, comprising:
Video stream data request module, for determining the broadcast address of live video, to the video stream data that CDN node request is corresponding with described broadcast address;
Video stream data receiver module, for receiving the video stream data of the predetermined flow transmission form that CDN node sends, wherein, the video stream data of described flow transmission form, by the form of transcoding server by original video flow data, generates after being converted to predetermined flow transmission form by unprocessed form;
Resolving playing module, for resolving the video stream data of described flow transmission form, and based on described flow transmission form, playing the video stream data parsed with frame broadcast mode.
The embodiment of the present invention also provides a kind of video living transmission system, comprising: video flowing Distributor, transcoding server, CDN node, and webpage client;
Wherein, described video flowing Distributor is used for, and gather the original video flow data that video source provides, and described original video flow data is sent to transcoding server, the form of described original video flow data is default unprocessed form;
Described transcoding server, for the original video flow data that receiver, video stream distribution server sends, the form of described original video flow data is converted to predetermined flow transmission form by described unprocessed form, obtain the video stream data of flow transmission form, the video stream data of described flow transmission form is sent to CDN node;
Described CDN node, for sending to the webpage client of request live video by the video stream data of described flow transmission form;
Described webpage client, for determining the broadcast address of live video, to the video stream data that CDN node request is corresponding with described broadcast address; And receive the video stream data of the described flow transmission form that CDN node sends, resolve the video stream data of described flow transmission form, and based on described flow transmission form, play the video stream data parsed with frame broadcast mode.
Based on technique scheme, transcoding server is provided with in the net cast method that the embodiment of the present invention provides, original video flow data can be converted to the flow transmission form can resolved by webpage client by the unprocessed form preset, obtain the video stream data of flow transmission form, thus by CDN node, the video stream data of flow transmission form is sent to webpage client, the video stream data of described flow transmission form is resolved by webpage client, and based on described flow transmission form, play the video stream data parsed with frame broadcast mode; Because the embodiment of the present invention carries out the transmission of video stream data to webpage client by flow transmission form, therefore the transmission delay of video stream data is lower, simultaneously based on described flow transmission form, webpage client can frame broadcast mode displaying video flow data, the Time delay control play by live video, in frame rank, therefore greatly reduces delay during webpage client broadcasting live video; Visible, the net cast method that the embodiment of the present invention provides can be reduced in delay when webpage playing live video.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments of the invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to the accompanying drawing provided.
The structural representation of the video living transmission system that Fig. 1 provides for the embodiment of the present invention;
The signaling process figure of the net cast method that Fig. 2 provides for the embodiment of the present invention;
The flow chart of the net cast method that Fig. 3 provides for the embodiment of the present invention;
Another flow chart of the net cast method that Fig. 4 provides for the embodiment of the present invention;
A flow chart again of the net cast method that Fig. 5 provides for the embodiment of the present invention;
Method flow diagram video stream data being sent to webpage client that Fig. 6 provides for the embodiment of the present invention;
The another flow chart of the net cast method that Fig. 7 provides for the embodiment of the present invention;
Another flow chart again of the net cast method that Fig. 8 provides for the invention process;
The schematic diagram of the application examples that Fig. 9 provides for the embodiment of the present invention;
The structured flowchart of the transcoding server that Figure 10 provides for the embodiment of the present invention;
Another structured flowchart of the transcoding server that Figure 11 provides for the embodiment of the present invention;
The structured flowchart of the data alternative module that Figure 12 provides for the embodiment of the present invention;
Another structured flowchart of the data alternative module that Figure 13 provides for the embodiment of the present invention;
The hardware block diagram of the transcoding server that Figure 14 provides for the embodiment of the present invention;
The structured flowchart of the webpage client that Figure 15 provides for the embodiment of the present invention;
The structured flowchart of the video stream data request module that Figure 16 provides for the embodiment of the present invention;
The structured flowchart of the video stream data receiver module that Figure 17 provides for the embodiment of the present invention;
The hardware block diagram of the subscriber equipment that Figure 18 provides for the embodiment of the present invention;
Another structural representation of the video living transmission system that Figure 19 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The structural representation of the video living transmission system that Fig. 1 provides for the embodiment of the present invention, the net cast method that the embodiment of the present invention provides can be implemented by this video living transmission system; With reference to Fig. 1, this video living transmission system can comprise: video flowing Distributor 10, transcoding server 20, CDN (ContentDeliveryNetwork, content distributing network) node 30, and webpage client 40;
Wherein, the original video flow data that video flowing Distributor 10 provides for gathering video source, and be transferred to the server of special net cast client and webpage client degree; Video flowing Distributor 10 can be realized by single server, and the group that also can be made up of multiple servers realizes;
The unprocessed form of video stream data for being provided by video flowing Distributor 10 that transcoding server 20 is arranged for the embodiment of the present invention, is converted to the server of flow transmission form; Transcoding server 20 can be realized by single server, and the group that also can be made up of multiple servers realizes;
CDN node 30 for the embodiment of the present invention arrange transcoding server 20 is changed after the video stream data of flow transmission form, with the streamed network node being distributed to webpage client; CDN node 30 can be made up of the CDN node server of multi-layer, and each CDN node server supports the transmission of the video stream data of described flow transmission form;
The client that webpage client 40 is shown for the supported web page be arranged on subscriber equipment, as browser, is arranged at the web pages component (as web assembly) etc. in a certain application.
Based on video living transmission system shown in Fig. 1, Fig. 2 shows the signaling process figure of the net cast method that the embodiment of the present invention provides, and with reference to Fig. 2, this flow process can comprise:
Step S10, video flowing Distributor gather the original video flow data that video source provides, and described original video flow data is sent to transcoding server, and the form of described original video flow data is default unprocessed form;
Optionally, the proprietary protocol form that the unprocessed form preset can define for the service provider providing net cast to serve;
On the other hand, the analysis mode of this proprietary protocol form can be arranged in special net cast client, therefore under the scene of special net cast client terminal playing live video, described original video flow data can be sent to special net cast client by video flowing Distributor, resolve described original video flow data by special net cast client, thus play the live video parsed.
The form of described original video flow data is converted to predetermined flow transmission form by described unprocessed form by step S11, transcoding server, obtains the video stream data of flow transmission form;
The webpage client (as browser) carried due to webpage is varied, the analysis mode of proprietary protocol form all can not be arranged at all webpage client, therefore in the embodiment of the present invention, the format conversion of original video flow data need be the form can resolved by webpage client by transcoding server, and the form by described original video flow data is converted to predetermined flow transmission form by described unprocessed form;
Optionally, predetermined flow transmission form can be RTMP (RealTimeMessagingProtocol, real-time messages host-host protocol) form, also can be the mutation flow transmission form of RTMP form, if RTMPT (RTMP pack with http after agreement), RTMPS are (on the basis of RTMPT, add the safety function of SSL (SecureSocketsLayer, SSL)), the form such as RTMPE (encrypting on the basis of RTMPT).
The video stream data of described flow transmission form is sent to CDN node by step S12, transcoding server;
The video stream data of described flow transmission form is sent to webpage client by step S13, CDN node;
CDN node can be made up of the CDN node server of multi-layer, comprise the CDN top mode server communicated with transcoding server, the CDN bottom layer node server communicated with webpage client, and the CDN intermediate-node services device between CDN top mode server and CDN bottom layer node server; The quantity of CDN intermediate-node services device can be at least one, namely one or more;
By CDN top mode server, CDN intermediate-node services device, CDN bottom layer node server, the video stream data of described flow transmission form can be made the mode of network flow can to transfer to webpage client, promoting the real-time that video stream data arrives webpage client, providing possibility for reducing live video at the playout-delay of webpage client.
Step S14, webpage client resolve the video stream data of described flow transmission form, and based on described flow transmission form, play the video stream data parsed with frame broadcast mode.
Because flow transmission form is (as RTMP form, or the mutation form of RTMP) attribute, after the video stream data of webpage client resolution flow transformat, the video stream data parsed plays in the mode of frame data, be not play in the mode of small documents, and the video stream data that webpage client parses with frame broadcast mode (mode of frame data is play), playing the delay of live video by making webpage client is frame rank, this delay that will reduce greatly when webpage client to play live video;
Optionally, in webpage client, AdobeFlashPlayer player can be set, be realized playing with frame broadcast mode the video stream data parsed by AdobeFlashPlayer player; Due to RTMP form, or the mutation form of RTMP be based on AdobeFlashPlayer player exploitation standard agreement, therefore the video stream data of flow transmission form parsing and play will obtain good adaptation in webpage client.
Transcoding server is provided with in the net cast method that the embodiment of the present invention provides, original video flow data can be converted to the flow transmission form can resolved by webpage client by the unprocessed form preset, obtain the video stream data of flow transmission form, thus by CDN node, the video stream data of flow transmission form is sent to webpage client, the video stream data of described flow transmission form is resolved by webpage client, and based on described flow transmission form, play the video stream data parsed with frame broadcast mode; Because the embodiment of the present invention carries out the transmission of video stream data to webpage client by flow transmission form, therefore the transmission delay of video stream data is lower, simultaneously based on described flow transmission form, webpage client can frame broadcast mode displaying video flow data, the Time delay control play by live video, in frame rank, therefore greatly reduces delay during webpage client broadcasting live video; Visible, the net cast method that the embodiment of the present invention provides can be reduced in delay when webpage playing live video.
Below with the angle of transcoding server, be introduced the net cast method that the embodiment of the present invention provides, net cast method described below can corresponding reference mutual to above-described signaling process content.
The flow chart of the net cast method that Fig. 3 provides for the embodiment of the present invention, the method can be applicable to transcoding server, and with reference to Fig. 3, the method can comprise:
The original video flow data that step S100, receiver, video stream distribution server send, the form of described original video flow data is default unprocessed form;
Optionally, the unprocessed form proprietary protocol form that can define for the service provider providing net cast to serve.
Step S110, the form of described original video flow data is converted to predetermined flow transmission form by described unprocessed form, obtains the video stream data of flow transmission form;
Optionally, transcoding server according to described unprocessed form, can parse the content of original video flow data, thus according to the group packet protocol of predetermined flow transmission form, be predetermined flow transmission form by the content transforming of original video flow data, realize the encapsulation of the video stream data of convection pass form;
Optionally, predetermined flow transmission form can be RTMP form, or the mutation form of RTMP; For predetermined flow transmission form for RTMP form, in the embodiment of the present invention, transcoding server can go out the content of original video flow data according to proprietary protocol format analysis, and then according to the group packet protocol of RTMP form, the content package of original video flow data is become RTMP form, obtains the video stream data of RTMP form.
Step S120, by the video stream data of described flow transmission form by CDN node send to request live video webpage client, so that described webpage client is after the video stream data receiving described flow transmission form, webpage client is made to resolve the video stream data of described flow transmission form, and make webpage client based on described flow transmission form, the video stream data parsed is play with frame broadcast mode.
The net cast method that the embodiment of the present invention provides comprises: the original video flow data that transcoding server receiver, video stream distribution server sends, and the form of described original video flow data is default unprocessed form; The form of described original video flow data is converted to predetermined flow transmission form by described unprocessed form by transcoding server, obtains the video stream data of flow transmission form; The video stream data of described flow transmission form is sent to the webpage client of request live video by transcoding server by CDN node, so that described webpage client is after the video stream data receiving described flow transmission form, webpage client is made to resolve the video stream data of described flow transmission form, and make webpage client based on described flow transmission form, the video stream data parsed is play with frame broadcast mode.
Transcoding server is provided with in the net cast method that the embodiment of the present invention provides, original video flow data can be converted to the flow transmission form can resolved by webpage client by the unprocessed form preset, obtain the video stream data of flow transmission form, thus by CDN node, the video stream data of flow transmission form is sent to webpage client, the video stream data of described flow transmission form is resolved by webpage client, and based on described flow transmission form, play the video stream data parsed with frame broadcast mode; Because the embodiment of the present invention carries out the transmission of video stream data to webpage client by flow transmission form, therefore the transmission delay of video stream data is lower, simultaneously based on described flow transmission form, webpage client can frame broadcast mode displaying video flow data, the Time delay control play by live video, in frame rank, therefore greatly reduces delay during webpage client broadcasting live video; Visible, the net cast method that the embodiment of the present invention provides can be reduced in delay when webpage playing live video.
Optionally, transcoding server is when the original video flow data that receiver, video stream distribution server sends, likely there is the situation that the original video flow data received interrupts, this sends to the video stream data of CDN node also to occur the situation of interrupting by causing transcoding server, thus impacts net cast; Based on this, transcoding server when detecting that received original video flow data interrupts, can be added into alternative video data in interruption position, to keep transcoding for the continuity of the video stream data of flow transmission form;
Corresponding, Fig. 4 shows another flow chart of the net cast method that the embodiment of the present invention provides, and with reference to Fig. 4, the method can comprise:
The original video flow data that step S200, receiver, video stream distribution server send, the form of described original video flow data is default unprocessed form;
Interrupt if step S210 detects that described original video flow data exists, determine the interruption position of described original video flow data, be added into alternative video data in described interruption position, obtain continuous print original video flow data;
Optionally, the embodiment of the present invention can determine the video data volume that described interruption position need substitute, thus the rearmost position of video stream data before original video flow data interrupts, choose the data corresponding to described the video data volume, be added into selected data in described interruption position;
Optionally, the embodiment of the present invention can choose last data before the interruption of original video stream data, determine that the alternate data corresponding to the video data volume that described interruption position need substitute is (as copied last data according to last data described, the alternate data corresponding to the video data volume that need substitute is set up into by last data multiple copied), thus be added into this alternate data in described interruption position.
Step S220, the form of described continuous print original video flow data is converted to predetermined flow transmission form by described unprocessed form, obtains the video stream data of flow transmission form;
Step 230, by the video stream data of described flow transmission form by CDN node send to request live video webpage client, so that described webpage client is after the video stream data receiving described flow transmission form, webpage client is made to resolve the video stream data of described flow transmission form, and make webpage client based on described flow transmission form, the video stream data parsed is play with frame broadcast mode.
With the angle of CDN node, the net cast method that the embodiment of the present invention provides is introduced below, net cast method described below can with above-described signaling process content, and with transcoding server angle describe the mutual corresponding reference of net cast method.
A flow chart again of the net cast method that Fig. 5 provides for the embodiment of the present invention, the method can be applicable to CDN node, and with reference to Fig. 5, the method can comprise:
Step S300, receive transcoding server after the form of original video flow data is converted to predetermined flow transmission form by unprocessed form, the video stream data of the flow transmission form sent;
Step S310, the video stream data of described flow transmission form sent to the webpage client of request live video, so that described webpage client is after the video stream data receiving described flow transmission form, webpage client is made to resolve the video stream data of described flow transmission form, and make webpage client based on described flow transmission form, the video stream data parsed is play with frame broadcast mode.
Optionally, the proprietary protocol form that the unprocessed form preset can define for the service provider providing net cast to serve; Predetermined flow transmission form can be RTMP form, or the mutation form of RTMP.
Optionally, CDN node can comprise the CDN node server of multi-layer; The CDN node server of this multi-layer can comprise the CDN top mode server communicated with transcoding server, the CDN bottom layer node server communicated with webpage client, and the CDN intermediate-node services device between CDN top mode server and CDN bottom layer node server;
Optionally, the CDN bottom layer node server communicated with webpage client can be the nearest CDN node server of webpage client; Webpage client is when asking live video flow data, can to nearest CDN node server request video stream data, by this nearest CDN node server successively level to CDN top mode server request video stream data, thus make video stream data by CDN top mode server to CDN intermediate-node services device to CDN bottom layer node server to webpage client, by plane transport;
Fig. 6 shows method flow diagram video stream data being sent to webpage client that the embodiment of the present invention provides, and with reference to Fig. 6, the method can comprise:
The broadcast address that step S400, the CDN bottom layer node server communicated with webpage client are asked according to webpage client, determines the video stream data corresponding with described broadcast address;
Optionally, broadcast address by webpage client after direct broadcast server request, can be informed by direct broadcast server; Webpage client, after determining broadcast address, can ask the video stream data corresponding to this broadcast address to nearest CDN node server (i.e. CDN bottom layer node server).
Step S410, CDN bottom layer node server by CDN intermediate-node services device successively level to CDN top mode server, ask the video stream data corresponding with described broadcast address;
Concrete, CDN bottom layer node server can to the server in the CDN intermediate-node services device communicated with, request video stream data; This server can to the server request video stream data of its last layer level in CDN intermediate-node services device, by that analogy, until the request of video stream data arrives the top-level server in CDN intermediate-node services device, this top-level server again to CDN top mode server request video stream data, thus realize video stream data by CDN bottom layer node server to CDN top mode server by plane transport.
Step S420, CDN bottom layer node server reception CDN top mode server passes through the successively level transmission of CDN intermediate-node services device, the video stream data of the flow transmission form corresponding to described broadcast address;
Accordingly, the video stream data of the flow transmission form that transcoding server can send by CDN top mode server, by CDN intermediate-node services device successively level be sent to CDN bottom layer node server, realize CDN bottom layer node server to the acquisition of video stream data, video stream data is sent to so that follow-up the webpage client communicated.
The video stream data of described flow transmission form is sent to described webpage client by step S430, CDN bottom layer node server.
Optionally, for the transmission making CDN node support the video stream data of convection pass form, the embodiment of the present invention (can comprise CDN top mode server at each CDN node server, CDN intermediate-node services device and CDN bottom layer node server) in flow transmission distributor is set, the video stream data of this flow transmission distributor identifiable design flow transmission form, and realize the video stream data of flow transmission form by plane transport; Obvious CDN node is except the transmission of video stream data supporting flow transmission form, and also can support the transmission of the data of extended formatting, corresponding each CDN node server need arrange the data distributor of corresponding format.
Below with the angle of webpage client, the net cast method that the embodiment of the present invention provides is introduced, net cast method described below can with signaling process content above, the mutual corresponding reference of net cast method described with transcoding server and CDN node angle.
The another flow chart of the net cast method that Fig. 7 provides for the embodiment of the present invention, the method can be applicable to webpage client, and with reference to Fig. 7, the method can comprise:
Step S500, determine the broadcast address of live video, to the video stream data that CDN node request is corresponding with described broadcast address;
Optionally, webpage client can initiate live request to direct broadcast server, and the broadcast address of direct broadcast band can be informed subscriber equipment according to live request by direct broadcast server, to make the broadcast address of webpage client determination live video;
Webpage client, can to the corresponding video stream data of CDN node request after determining broadcast address, so that CDN node is to webpage client distribution of video flow data.
The video stream data of the predetermined flow transmission form that step S510, reception CDN node send, wherein, the video stream data of described flow transmission form, by the form of transcoding server by original video flow data, generates after being converted to predetermined flow transmission form by unprocessed form;
Optionally, CDN node sends to the video stream data of the flow transmission form of webpage client can be obtained by transcoding server, after the form of original video flow data is converted to predetermined flow transmission form by unprocessed form by transcoding server, the video stream data of flow transmission form can be sent to CDN node by transcoding server.
Step S520, resolve the video stream data of described flow transmission form, and based on described flow transmission form, play the video stream data parsed with frame broadcast mode.
Optionally, the proprietary protocol form that the unprocessed form preset can define for the service provider providing net cast to serve; Predetermined flow transmission form can be RTMP form, or the mutation form of RTMP.
Optionally, CDN node can comprise the CDN node server of multi-layer; The CDN node server of this multi-layer can comprise the CDN top mode server communicated with transcoding server, the CDN bottom layer node server communicated with webpage client, and the CDN intermediate-node services device between CDN top mode server and CDN bottom layer node server;
Optionally, the CDN bottom layer node server communicated with webpage client can be the nearest CDN node server of webpage client;
Accordingly, webpage client can to the CDN bottom layer node server request video stream data corresponding with described broadcast address; CDN bottom layer node server again by CDN intermediate-node services device successively level to CDN top mode server, ask the video stream data corresponding with described broadcast address; Thus CDN top mode server is successively sent to CDN bottom layer node server by CDN intermediate-node services device, the video stream data of the flow transmission form corresponding to described broadcast address; By CDN bottom layer node server, the video stream data of described flow transmission form is sent to webpage client again, realize webpage client receives flow transmission form video stream data from CDN node;
Optionally, Fig. 8 shows another flow chart again of the net cast method that the invention process provides, and the method can be applicable to webpage client, and with reference to Fig. 8, the method can comprise:
Step S600, determine the broadcast address of live video, to the video stream data corresponding with described broadcast address with the CDN bottom layer node server request that webpage client communicates;
The video stream data of the predetermined flow transmission form that step S610, reception CDN bottom layer node server send, wherein, CDN bottom layer node server can successively level to CDN top mode server, ask the video stream data corresponding with described broadcast address, and CDN top mode server successively level can send the video stream data of the flow transmission form corresponding to described broadcast address to CDN bottom layer node server;
Step S620, resolve the video stream data of described flow transmission form, and based on described flow transmission form, play the video stream data parsed with frame broadcast mode.
Be introduced the application examples of the net cast method that the embodiment of the present invention provides below, Fig. 9 shows the schematic diagram of the application examples that the embodiment of the present invention provides; With reference to Fig. 9, (video data gathered can be the video data at game scene to the video data of video source collection site, the video data etc. at race scene), and the video stream data being converted into proprietary protocol form sends to video flowing Distributor; On the one hand, the video stream data of proprietary protocol form sends to special net cast client (as special Android net cast client by video flowing Distributor, special IOS net cast client etc.), resolved the video stream data of proprietary protocol form by special net cast client, play the video stream data parsed;
On the other hand, the video stream data of proprietary protocol form is sent to transcoding server by video flowing Distributor, and the video stream data of proprietary protocol form is converted to the video stream data of RTMP form by transcoding server; The video stream data of RTMP form is sent to CDN node by transcoding server; CDN node passes through the transmission means of successively level, the video stream data of RTMP form is transferred to the webpage client of request live video; Webpage client resolves the video stream data of described RTMP form, and based on described RTMP form, plays the video stream data parsed with frame broadcast mode.
The net cast method that the embodiment of the present invention provides carries out the transmission of video stream data to webpage client by flow transmission form, therefore the transmission delay of video stream data is lower, simultaneously based on described flow transmission form, webpage client can frame broadcast mode displaying video flow data, the Time delay control play by live video is in frame rank, therefore greatly reduce delay when webpage client plays live video, achieve the object reducing when to play live video on webpage and postpone.
Below the transcoding server that the embodiment of the present invention provides is introduced, transcoding server described below can with signaling process content above, and with the mutual corresponding reference of net cast method that transcoding server angle describes.
The structured flowchart of the transcoding server that Figure 10 provides for the embodiment of the present invention, with reference to Figure 10, transcoding server can comprise:
Original video stream data reception module 100, for the original video flow data that receiver, video stream distribution server sends, the form of described original video flow data is default unprocessed form;
Format converting module 110, for the form of described original video flow data is converted to predetermined flow transmission form by described unprocessed form, obtains the video stream data of flow transmission form;
Video stream data sending module 120, for the video stream data of described flow transmission form to be sent to the webpage client of request live video by CDN node, so that described webpage client is after the video stream data receiving described flow transmission form, webpage client is made to resolve the video stream data of described flow transmission form, and make webpage client based on described flow transmission form, the video stream data parsed is play with frame broadcast mode.
Optionally, described unprocessed form can be proprietary protocol form, and described flow transmission form is RTMP form, or the mutation form of RTMP.
Optionally, Figure 11 shows another structured flowchart of the transcoding server that the embodiment of the present invention provides, and shown in Figure 10 and Figure 11, this transcoding server can also comprise:
Interrupt determination module 130, for after the original video flow data that receiver, video stream distribution server sends, if detect, described original video flow data exists interrupts, and determines the interruption position of described original video flow data;
Data alternative module 140, for being added into alternative video data in described interruption position, obtains continuous print original video flow data.
Accordingly, the form of described continuous print original video flow data specifically can be converted to predetermined flow transmission form by described unprocessed form by format converting module 110.
Optionally, Figure 12 shows a kind of alternate configurations of the data alternative module 140 that the embodiment of the present invention provides, and with reference to Figure 12, data alternative module 140 can comprise:
First substituting unit 141, for determining the video data volume that described interruption position need substitute, the rearmost position of the video stream data before described original video flow data interrupts, chooses the data corresponding to described the video data volume, is added into selected data in described interruption position.
Optionally, Figure 13 shows the another kind of alternate configurations of the data alternative module 140 that the embodiment of the present invention provides, and with reference to Figure 13, data alternative module 140 can comprise:
Second substituting unit 142, for choosing last data before the interruption of described original video flow data, determine the alternate data corresponding to the video data volume that described interruption position need substitute according to last data described, be added into described alternate data in described interruption position.
Optionally, transcoding server can be hardware device, and above-described unit module can for being arranged at the functional module in transcoding server; Figure 14 shows the hardware block diagram of transcoding server, and with reference to Figure 14, transcoding server can comprise: processor 1, communication interface 2, memory 3 and communication bus 4; Wherein processor 1, communication interface 2, memory 3 complete mutual communication by communication bus 4; Optionally, communication interface 2 can be the interface of communication module, as the interface of gsm module;
Processor 1, for executive program; Memory 3, for depositing program; Program can comprise program code, and described program code comprises computer-managed instruction;
Processor 1 may be a central processor CPU, or specific integrated circuit ASIC (ApplicationSpecificIntegratedCircuit), or is configured to the one or more integrated circuits implementing the embodiment of the present invention; Memory 3 may comprise high-speed RAM memory, still may comprise nonvolatile memory (non-volatilememory), such as at least one magnetic disc store.
Wherein, program can be specifically for:
The original video flow data that receiver, video stream distribution server sends, the form of described original video flow data is default unprocessed form;
The form of described original video flow data is converted to predetermined flow transmission form by described unprocessed form, obtains the video stream data of flow transmission form;
The video stream data of described flow transmission form is sent to the webpage client of request live video by CDN node, so that described webpage client is after the video stream data receiving described flow transmission form, webpage client is made to resolve the video stream data of described flow transmission form, and make webpage client based on described flow transmission form, the video stream data parsed is play with frame broadcast mode.
Below the webpage client that the embodiment of the present invention provides is introduced, webpage client described below can with signaling process content above, and with the mutual corresponding reference of net cast method that webpage client angle describes.
The structured flowchart of the webpage client that Figure 15 provides for the embodiment of the present invention, with reference to Figure 15, this webpage client can comprise:
Video stream data request module 200, for determining the broadcast address of live video, to the video stream data that CDN node request is corresponding with described broadcast address;
Video stream data receiver module 210, for receiving the video stream data of the predetermined flow transmission form that CDN node sends, wherein, the video stream data of described flow transmission form, by the form of transcoding server by original video flow data, generates after being converted to predetermined flow transmission form by unprocessed form;
Resolving playing module 220, for resolving the video stream data of described flow transmission form, and based on described flow transmission form, playing the video stream data parsed with frame broadcast mode.
Optionally, described unprocessed form can be proprietary protocol form, and described flow transmission form can be RTMP form, or the mutation form of RTMP.
Optionally, CDN node can comprise the CDN node server of multi-layer; The CDN node server of described multi-layer comprises: the CDN top mode server communicated with transcoding server, the CDN bottom layer node server communicated with webpage client, and the CDN intermediate-node services device between CDN top mode server and CDN bottom layer node server;
Accordingly, Figure 16 shows a kind of alternate configurations of the video stream data request module 200 that the embodiment of the present invention provides, and with reference to Figure 16, video stream data request module 200 can comprise:
Bottom layer node request unit 201, for the video stream data corresponding with described broadcast address with the CDN bottom layer node server request that webpage client communicates.
Accordingly, Figure 17 shows a kind of alternate configurations of the video stream data receiver module 210 that the embodiment of the present invention provides, and with reference to Figure 17, video stream data receiver module 210 can comprise:
Bottom layer node data receipt unit 211, for receiving the video stream data of the predetermined flow transmission form that CDN bottom layer node server sends, wherein, CDN bottom layer node server successively level to CDN top mode server, ask the video stream data corresponding with described broadcast address, and CDN top mode server successively level send the video stream data of the flow transmission form corresponding to described broadcast address to CDN bottom layer node server.
The webpage client that the embodiment of the present invention provides can be arranged in subscriber equipment, subscriber equipment is as the terminal equipment such as mobile phone, computer, Figure 18 shows the hardware block diagram being provided with the subscriber equipment of webpage client that the embodiment of the present invention provides, with reference to Figure 18, this subscriber equipment can comprise: processor 1 ', communication interface 2 ', memory 3 ' and communication bus 4 '; Wherein processor 1 ', communication interface 2 ', memory 3 ' complete mutual communication by communication bus 4 '; Optionally, communication interface 2 ' can be the interface of communication module, as the interface of gsm module;
Processor 1 ', for executive program; Memory 3 ', for depositing program; Program can comprise program code, and described program code comprises computer-managed instruction;
Processor 1 ' may be a central processor CPU, or specific integrated circuit ASIC (ApplicationSpecificIntegratedCircuit), or is configured to the one or more integrated circuits implementing the embodiment of the present invention; Memory 3 ' may comprise high-speed RAM memory, still may comprise nonvolatile memory (non-volatilememory), such as at least one magnetic disc store.
Wherein, program can be specifically for:
Determine the broadcast address of live video, to the video stream data that the request of content distributing network CDN node is corresponding with described broadcast address;
Receive the video stream data of the predetermined flow transmission form that CDN node sends, wherein, the video stream data of described flow transmission form, by the form of transcoding server by original video flow data, generates after being converted to predetermined flow transmission form by unprocessed form;
Resolve the video stream data of described flow transmission form, and based on described flow transmission form, play the video stream data parsed with frame broadcast mode.
Optionally, shown program can be incorporated in webpage client corresponding programme above.
Be introduced the video living transmission system that the embodiment of the present invention provides below, the structure of this video living transmission system can as shown in Figure 1, comprise: video flowing Distributor 10, transcoding server 20, CDN node 30, and webpage client 40;
Wherein, described video flowing Distributor is used for, and gather the original video flow data that video source provides, and described original video flow data is sent to transcoding server, the form of described original video flow data is default unprocessed form;
Described transcoding server, for the original video flow data that receiver, video stream distribution server sends, the form of described original video flow data is converted to predetermined flow transmission form by described unprocessed form, obtain the video stream data of flow transmission form, the video stream data of described flow transmission form is sent to CDN node;
Described CDN node, for sending to the webpage client of request live video by the video stream data of described flow transmission form;
Described webpage client, for determining the broadcast address of live video, to the video stream data that CDN node request is corresponding with described broadcast address; And receive the video stream data of the described flow transmission form that CDN node sends, resolve the video stream data of described flow transmission form, and based on described flow transmission form, play the video stream data parsed with frame broadcast mode.
Optionally, described unprocessed form can be proprietary protocol form, and described flow transmission form can be RTMP form, or the mutation form of RTMP.
Figure 19 shows another structural representation of the video living transmission system that the embodiment of the present invention provides, and with reference to Figure 19, described CDN node 30 can comprise the CDN node server of multi-layer; The CDN node server of described multi-layer can comprise: the CDN top mode server 31 communicated with transcoding server, the CDN bottom layer node server 33 communicated with webpage client, and the CDN intermediate-node services device 32 between CDN top mode server and CDN bottom layer node server;
Wherein, described CDN bottom layer node server is used for, according to the broadcast address of the live video that webpage client is asked, determine the video stream data corresponding with described broadcast address, by CDN intermediate-node services device successively level to the CDN top mode server request video stream data corresponding with described broadcast address; And receive CDN top mode server by CDN intermediate-node services device successively level to send, the video stream data of the flow transmission form corresponding to described broadcast address, sends to described webpage client by the video stream data of described flow transmission form;
Described CDN intermediate-node services device, for the solicited message by video stream data corresponding with described broadcast address for CDN bottom layer node server request, successively level is sent to CDN top mode server; And by the video stream data of the described flow transmission form of CDN top mode server transmission, successively level is sent to CDN bottom layer node server;
Described CDN top mode server, for receive CDN intermediate-node services device successively level send, the solicited message of the video stream data corresponding with described broadcast address that described CDN bottom layer node server is asked; And by the video stream data of described flow transmission form that transcoding server sends, by CDN intermediate-node services device successively level be sent to described CDN bottom layer node server.
The embodiment of the present invention carries out the transmission of video stream data to webpage client by flow transmission form, therefore the transmission delay of video stream data is lower, simultaneously based on described flow transmission form, webpage client can frame broadcast mode displaying video flow data, the Time delay control play by live video, in frame rank, therefore greatly reduces delay during webpage client broadcasting live video; Visible, the net cast method that the embodiment of the present invention provides can be reduced in delay when webpage playing live video.
In this specification, each embodiment adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually see.For device disclosed in embodiment, because it corresponds to the method disclosed in Example, so description is fairly simple, relevant part illustrates see method part.
Professional can also recognize further, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with electronic hardware, computer software or the combination of the two, in order to the interchangeability of hardware and software is clearly described, generally describe composition and the step of each example in the above description according to function.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method described in conjunction with embodiment disclosed herein or the step of algorithm can directly use hardware, processor to perform, or the combination of the two is implemented.Software module can be placed in the storage medium of other form any known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
To the above-mentioned explanation of the disclosed embodiments, professional and technical personnel in the field are realized or uses the present invention.To be apparent for those skilled in the art to the multiple amendment of these embodiments, General Principle as defined herein can without departing from the spirit or scope of the present invention, realize in other embodiments.Therefore, the present invention can not be restricted to these embodiments shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.

Claims (19)

1. a net cast method, is characterized in that, is applied to transcoding server, and described method comprises:
The original video flow data that receiver, video stream distribution server sends, the form of described original video flow data is default unprocessed form;
The form of described original video flow data is converted to predetermined flow transmission form by described unprocessed form, obtains the video stream data of flow transmission form;
The video stream data of described flow transmission form is sent to the webpage client of request live video by content distributing network CDN node, so that described webpage client is after the video stream data receiving described flow transmission form, webpage client is made to resolve the video stream data of described flow transmission form, and make webpage client based on described flow transmission form, the video stream data parsed is play with frame broadcast mode.
2. net cast method according to claim 1, is characterized in that, described unprocessed form is proprietary protocol form, and described flow transmission form is real-time messages host-host protocol RTMP form, or the mutation form of RTMP.
3. net cast method according to claim 1 and 2, is characterized in that, after the original video flow data that described receiver, video stream distribution server sends, described method also comprises:
If detect, described original video flow data exists interrupts, and determines the interruption position of described original video flow data, is added into alternative video data in described interruption position, obtain continuous print original video flow data;
Describedly the form of described original video flow data be converted to predetermined flow transmission form by described unprocessed form comprise:
The form of described continuous print original video flow data is converted to predetermined flow transmission form by described unprocessed form.
4. net cast method according to claim 3, is characterized in that, is describedly added into alternative video data in described interruption position and comprises:
Determine the video data volume that described interruption position need substitute, the rearmost position of the video stream data before described original video flow data interrupts, chooses the data corresponding to described the video data volume, is added into selected data in described interruption position;
Or, choose last data before the interruption of described original video flow data, determine the alternate data corresponding to the video data volume that described interruption position need substitute according to last data described, be added into described alternate data in described interruption position.
5. a net cast method, is characterized in that, is applied to content distributing network CDN node, and described method comprises:
Receive transcoding server after the form of original video flow data is converted to predetermined flow transmission form by unprocessed form, the video stream data of the flow transmission form sent;
The video stream data of described flow transmission form is sent to the webpage client of request live video, so that described webpage client is after the video stream data receiving described flow transmission form, webpage client is made to resolve the video stream data of described flow transmission form, and make webpage client based on described flow transmission form, the video stream data parsed is play with frame broadcast mode.
6. net cast method according to claim 5, is characterized in that, described unprocessed form is proprietary protocol form, and described flow transmission form is real-time messages host-host protocol RTMP form, or the mutation form of RTMP.
7. the net cast method according to claim 5 or 6, is characterized in that, described CDN node comprises the CDN node server of multi-layer; The CDN node server of described multi-layer comprises: the CDN top mode server communicated with transcoding server, the CDN bottom layer node server communicated with webpage client, and the CDN intermediate-node services device between CDN top mode server and CDN bottom layer node server;
The described video stream data by described flow transmission form sends to the webpage client of request live video to comprise:
The broadcast address that CDN bottom layer node server is asked according to webpage client, determines the video stream data corresponding with described broadcast address;
CDN bottom layer node server by CDN intermediate-node services device successively level to CDN top mode server, ask the video stream data corresponding with described broadcast address;
CDN bottom layer node server reception CDN top mode server passes through the successively level transmission of CDN intermediate-node services device, the video stream data of the flow transmission form corresponding to described broadcast address;
The video stream data of described flow transmission form is sent to described webpage client by CDN bottom layer node server.
8. a net cast method, is characterized in that, is applied to webpage client, and described method comprises:
Determine the broadcast address of live video, to the video stream data that the request of content distributing network CDN node is corresponding with described broadcast address;
Receive the video stream data of the predetermined flow transmission form that CDN node sends, wherein, the video stream data of described flow transmission form, by the form of transcoding server by original video flow data, generates after being converted to predetermined flow transmission form by unprocessed form;
Resolve the video stream data of described flow transmission form, and based on described flow transmission form, play the video stream data parsed with frame broadcast mode.
9. net cast method according to claim 8, is characterized in that, described unprocessed form is proprietary protocol form, and described flow transmission form is real-time messages host-host protocol RTMP form, or the mutation form of RTMP.
10. net cast method according to claim 8 or claim 9, it is characterized in that, described CDN node comprises the CDN node server of multi-layer; The CDN node server of described multi-layer comprises: the CDN top mode server communicated with transcoding server, the CDN bottom layer node server communicated with webpage client, and the CDN intermediate-node services device between CDN top mode server and CDN bottom layer node server;
The described video stream data corresponding with described broadcast address to CDN node request comprises:
To the video stream data corresponding with described broadcast address with the CDN bottom layer node server request that webpage client communicates;
The video stream data of the predetermined flow transmission form that described reception CDN node sends comprises:
Receive the video stream data of the predetermined flow transmission form that CDN bottom layer node server sends, wherein, CDN bottom layer node server successively level to CDN top mode server, ask the video stream data corresponding with described broadcast address, and CDN top mode server successively level send the video stream data of the flow transmission form corresponding to described broadcast address to CDN bottom layer node server.
11. 1 kinds of transcoding servers, is characterized in that, comprising:
Original video stream data reception module, for the original video flow data that receiver, video stream distribution server sends, the form of described original video flow data is default unprocessed form;
Format converting module, for the form of described original video flow data is converted to predetermined flow transmission form by described unprocessed form, obtains the video stream data of flow transmission form;
Video stream data sending module, for the video stream data of described flow transmission form to be sent to the webpage client of request live video by content distributing network CDN node, so that described webpage client is after the video stream data receiving described flow transmission form, webpage client is made to resolve the video stream data of described flow transmission form, and make webpage client based on described flow transmission form, the video stream data parsed is play with frame broadcast mode.
12. transcoding servers according to claim 11, is characterized in that, described unprocessed form is proprietary protocol form, and described flow transmission form is real-time messages host-host protocol RTMP form, or the mutation form of RTMP.
13. transcoding servers according to claim 11 or 12, it is characterized in that, described transcoding server also comprises:
Interrupt determination module, for after the original video flow data that receiver, video stream distribution server sends, if detect, described original video flow data exists interrupts, and determines the interruption position of described original video flow data;
Data alternative module, for being added into alternative video data in described interruption position, obtains continuous print original video flow data;
Described format converting module specifically for, the form of described continuous print original video flow data is converted to predetermined flow transmission form by described unprocessed form.
14. transcoding servers according to claim 13, is characterized in that, described data alternative module comprises:
First substituting unit, for determining the video data volume that described interruption position need substitute, the rearmost position of the video stream data before described original video flow data interrupts, chooses the data corresponding to described the video data volume, is added into selected data in described interruption position;
Or, second substituting unit, for choosing last data before the interruption of described original video flow data, determining the alternate data corresponding to the video data volume that described interruption position need substitute according to last data described, being added into described alternate data in described interruption position.
15. 1 kinds of webpage client, is characterized in that, comprising:
Video stream data request module, for determining the broadcast address of live video, to the video stream data that the request of content distributing network CDN node is corresponding with described broadcast address;
Video stream data receiver module, for receiving the video stream data of the predetermined flow transmission form that CDN node sends, wherein, the video stream data of described flow transmission form, by the form of transcoding server by original video flow data, generates after being converted to predetermined flow transmission form by unprocessed form;
Resolving playing module, for resolving the video stream data of described flow transmission form, and based on described flow transmission form, playing the video stream data parsed with frame broadcast mode.
16. webpage client according to claim 15, is characterized in that, described unprocessed form is proprietary protocol form, and described flow transmission form is real-time messages host-host protocol RTMP form, or the mutation form of RTMP.
17. webpage client according to claim 15 or 16, it is characterized in that, described CDN node comprises the CDN node server of multi-layer; The CDN node server of described multi-layer comprises: the CDN top mode server communicated with transcoding server, the CDN bottom layer node server communicated with webpage client, and the CDN intermediate-node services device between CDN top mode server and CDN bottom layer node server;
Described video stream data request module comprises:
Bottom layer node request unit, for the video stream data corresponding with described broadcast address with the CDN bottom layer node server request that webpage client communicates;
Described video stream data receiver module comprises:
Bottom layer node data receipt unit, for receiving the video stream data of the predetermined flow transmission form that CDN bottom layer node server sends, wherein, CDN bottom layer node server successively level to CDN top mode server, ask the video stream data corresponding with described broadcast address, and CDN top mode server successively level send the video stream data of the flow transmission form corresponding to described broadcast address to CDN bottom layer node server.
18. 1 kinds of video living transmission systems, is characterized in that, comprising: video flowing Distributor, transcoding server, content distributing network CDN node, and webpage client;
Wherein, described video flowing Distributor is used for, and gather the original video flow data that video source provides, and described original video flow data is sent to transcoding server, the form of described original video flow data is default unprocessed form;
Described transcoding server, for the original video flow data that receiver, video stream distribution server sends, the form of described original video flow data is converted to predetermined flow transmission form by described unprocessed form, obtain the video stream data of flow transmission form, the video stream data of described flow transmission form is sent to CDN node;
Described CDN node, for sending to the webpage client of request live video by the video stream data of described flow transmission form;
Described webpage client, for determining the broadcast address of live video, to the video stream data that CDN node request is corresponding with described broadcast address; And receive the video stream data of the described flow transmission form that CDN node sends, resolve the video stream data of described flow transmission form, and based on described flow transmission form, play the video stream data parsed with frame broadcast mode.
19. video living transmission systems according to claim 18, is characterized in that, described CDN node comprises the CDN node server of multi-layer; The CDN node server of described multi-layer comprises: the CDN top mode server communicated with transcoding server, the CDN bottom layer node server communicated with webpage client, and the CDN intermediate-node services device between CDN top mode server and CDN bottom layer node server;
Wherein, described CDN bottom layer node server is used for, according to the broadcast address of the live video that webpage client is asked, determine the video stream data corresponding with described broadcast address, by CDN intermediate-node services device successively level to the CDN top mode server request video stream data corresponding with described broadcast address; And receive CDN top mode server by CDN intermediate-node services device successively level to send, the video stream data of the flow transmission form corresponding to described broadcast address, sends to described webpage client by the video stream data of described flow transmission form;
Described CDN intermediate-node services device, for the solicited message by video stream data corresponding with described broadcast address for CDN bottom layer node server request, successively level is sent to CDN top mode server; And by the video stream data of the described flow transmission form of CDN top mode server transmission, successively level is sent to CDN bottom layer node server;
Described CDN top mode server, for receive CDN intermediate-node services device successively level send, the solicited message of the video stream data corresponding with described broadcast address that described CDN bottom layer node server is asked; And by the video stream data of described flow transmission form that transcoding server sends, by CDN intermediate-node services device successively level be sent to described CDN bottom layer node server.
CN201510969968.XA 2015-12-22 2015-12-22 Video live broadcast method, transcoding server, webpage client and system Active CN105516739B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510969968.XA CN105516739B (en) 2015-12-22 2015-12-22 Video live broadcast method, transcoding server, webpage client and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510969968.XA CN105516739B (en) 2015-12-22 2015-12-22 Video live broadcast method, transcoding server, webpage client and system

Publications (2)

Publication Number Publication Date
CN105516739A true CN105516739A (en) 2016-04-20
CN105516739B CN105516739B (en) 2020-05-05

Family

ID=55724329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510969968.XA Active CN105516739B (en) 2015-12-22 2015-12-22 Video live broadcast method, transcoding server, webpage client and system

Country Status (1)

Country Link
CN (1) CN105516739B (en)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872581A (en) * 2016-05-31 2016-08-17 深圳市佑嘉互动科技有限公司 System and method for providing video direct broadcasting room services
CN106020852A (en) * 2016-06-30 2016-10-12 北京奇虎科技有限公司 Running window live broadcasting method, system and browser
CN106488263A (en) * 2016-10-24 2017-03-08 北京小米移动软件有限公司 Push the method and device of live broadcast stream media data
CN106503111A (en) * 2016-10-18 2017-03-15 广州市动景计算机科技有限公司 Webpage code-transferring method, device and client terminal
CN106534863A (en) * 2016-11-11 2017-03-22 协创数据技术股份有限公司 Live video stream transcoding device
CN106686101A (en) * 2017-01-03 2017-05-17 北京奇虎科技有限公司 Scheduling method and apparatus of transmission clusters of stream data
CN107197363A (en) * 2017-07-04 2017-09-22 武汉斗鱼网络科技有限公司 A kind of video broadcasting method and device
CN107222755A (en) * 2017-06-27 2017-09-29 北京小米移动软件有限公司 Program dissemination method, apparatus and system
CN107360226A (en) * 2017-07-11 2017-11-17 上海鋆创信息技术有限公司 The store method and device of live video
CN107517402A (en) * 2016-06-16 2017-12-26 广州市动景计算机科技有限公司 The method for recording and device of client and browser live video
CN107846633A (en) * 2016-09-18 2018-03-27 腾讯科技(深圳)有限公司 A kind of live broadcasting method and system
CN108173861A (en) * 2017-12-29 2018-06-15 北京奇虎科技有限公司 A kind of method, apparatus of net cast and live streaming distribution connector
CN108540816A (en) * 2018-03-28 2018-09-14 腾讯科技(深圳)有限公司 A kind of live video acquisition methods, device and storage medium
CN109257344A (en) * 2018-09-06 2019-01-22 广州高清视信数码科技股份有限公司 A kind of WebRTC Media Gateway and its interoperability methods based on Docker container technique
CN109525578A (en) * 2018-11-12 2019-03-26 深圳市网心科技有限公司 A kind of CDN distribution network transmission method, device, system and storage medium
CN109756756A (en) * 2017-11-08 2019-05-14 阿里巴巴集团控股有限公司 Video broadcasting method and video play device
CN110049348A (en) * 2019-04-03 2019-07-23 网宿科技股份有限公司 A kind of video analytic method, system and video resolution server
CN110099252A (en) * 2019-05-06 2019-08-06 四川效率源信息安全技术股份有限公司 A method of conversion monitor video is that can play video
CN110381340A (en) * 2019-06-10 2019-10-25 广州虎牙信息科技有限公司 Video file processing system
CN110545439A (en) * 2019-08-29 2019-12-06 中邮科通信技术股份有限公司 Rtmp multi-concurrent live broadcast system and method based on streaming media service
CN111107386A (en) * 2019-12-27 2020-05-05 北京达佳互联信息技术有限公司 Live video playback method and device, electronic equipment, system and storage medium
CN111757136A (en) * 2020-06-29 2020-10-09 北京百度网讯科技有限公司 Webpage audio live broadcast method, device, equipment and storage medium
CN112333466A (en) * 2020-11-02 2021-02-05 创盛视联数码科技(北京)有限公司 Video processing method, device and system
CN112511783A (en) * 2019-09-16 2021-03-16 武汉斗鱼网络科技有限公司 Mixed display method and device of audio and video stream, server and storage medium
CN113068059A (en) * 2021-03-22 2021-07-02 平安普惠企业管理有限公司 Video live broadcast method, device, equipment and storage medium
CN113794932A (en) * 2021-09-15 2021-12-14 云茂互联智能科技(厦门)有限公司 Method and device for playing video stream at webpage end, electronic equipment and storage medium
CN114723181A (en) * 2022-06-07 2022-07-08 常州云燕医疗科技有限公司 Digital integrated operating room signal transmission system and method based on block chain
CN115002518A (en) * 2022-05-30 2022-09-02 咪咕视讯科技有限公司 Data monitoring method and device and computer readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237429A (en) * 2008-02-25 2008-08-06 蓝汛网络科技(北京)有限公司 Stream media living broadcasting system, method and device based on content distribution network
WO2011090715A2 (en) * 2009-12-28 2011-07-28 Akamai Technologies, Inc. Edge server for format-agnostic streaming architecture
CN102231749A (en) * 2011-08-12 2011-11-02 乐视网信息技术(北京)股份有限公司 System and method for transmitting live stream by utilizing content delivery network (CDN)
CN103826139A (en) * 2014-02-27 2014-05-28 北京六间房科技有限公司 CDN system, watching server and streaming media data transmission method
CN103986976A (en) * 2014-06-05 2014-08-13 北京赛维安讯科技发展有限公司 Content delivery network (CDN)-based transmission system and method
CN103986942A (en) * 2014-06-05 2014-08-13 北京赛维安讯科技发展有限公司 Data distribution system and method based on CDN (content distribution network)
CN104185082A (en) * 2013-05-22 2014-12-03 深圳中兴网信科技有限公司 Audio/video live broadcast method and system, client and server
US20150244762A1 (en) * 2007-11-21 2015-08-27 BitGravity, Inc. Efficient video delivery
US20150312205A1 (en) * 2013-04-15 2015-10-29 Upfront Media Group, Inc. System and method for implementing a subscription-based social media platform

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150244762A1 (en) * 2007-11-21 2015-08-27 BitGravity, Inc. Efficient video delivery
CN101237429A (en) * 2008-02-25 2008-08-06 蓝汛网络科技(北京)有限公司 Stream media living broadcasting system, method and device based on content distribution network
WO2011090715A2 (en) * 2009-12-28 2011-07-28 Akamai Technologies, Inc. Edge server for format-agnostic streaming architecture
CN102231749A (en) * 2011-08-12 2011-11-02 乐视网信息技术(北京)股份有限公司 System and method for transmitting live stream by utilizing content delivery network (CDN)
US20150312205A1 (en) * 2013-04-15 2015-10-29 Upfront Media Group, Inc. System and method for implementing a subscription-based social media platform
CN104185082A (en) * 2013-05-22 2014-12-03 深圳中兴网信科技有限公司 Audio/video live broadcast method and system, client and server
CN103826139A (en) * 2014-02-27 2014-05-28 北京六间房科技有限公司 CDN system, watching server and streaming media data transmission method
CN103986976A (en) * 2014-06-05 2014-08-13 北京赛维安讯科技发展有限公司 Content delivery network (CDN)-based transmission system and method
CN103986942A (en) * 2014-06-05 2014-08-13 北京赛维安讯科技发展有限公司 Data distribution system and method based on CDN (content distribution network)

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872581A (en) * 2016-05-31 2016-08-17 深圳市佑嘉互动科技有限公司 System and method for providing video direct broadcasting room services
CN107517402A (en) * 2016-06-16 2017-12-26 广州市动景计算机科技有限公司 The method for recording and device of client and browser live video
CN106020852A (en) * 2016-06-30 2016-10-12 北京奇虎科技有限公司 Running window live broadcasting method, system and browser
CN106020852B (en) * 2016-06-30 2020-07-07 北京奇虎科技有限公司 Live broadcasting method and system of running window and browser
US11653036B2 (en) 2016-09-18 2023-05-16 Tencent Technology (Shenzhen) Company Limited Live streaming method and system, server, and storage medium
US11128893B2 (en) 2016-09-18 2021-09-21 Tencent Technology (Shenzhen) Company Limited Live streaming method and system, server, and storage medium
CN107846633A (en) * 2016-09-18 2018-03-27 腾讯科技(深圳)有限公司 A kind of live broadcasting method and system
CN106503111B (en) * 2016-10-18 2017-12-26 广州市动景计算机科技有限公司 Webpage code-transferring method, device and client terminal
CN106503111A (en) * 2016-10-18 2017-03-15 广州市动景计算机科技有限公司 Webpage code-transferring method, device and client terminal
CN106488263A (en) * 2016-10-24 2017-03-08 北京小米移动软件有限公司 Push the method and device of live broadcast stream media data
CN106534863A (en) * 2016-11-11 2017-03-22 协创数据技术股份有限公司 Live video stream transcoding device
CN106686101A (en) * 2017-01-03 2017-05-17 北京奇虎科技有限公司 Scheduling method and apparatus of transmission clusters of stream data
CN107222755B (en) * 2017-06-27 2019-09-17 北京小米移动软件有限公司 Program dissemination method, apparatus and system
CN107222755A (en) * 2017-06-27 2017-09-29 北京小米移动软件有限公司 Program dissemination method, apparatus and system
CN107197363A (en) * 2017-07-04 2017-09-22 武汉斗鱼网络科技有限公司 A kind of video broadcasting method and device
CN107197363B (en) * 2017-07-04 2020-07-10 武汉斗鱼网络科技有限公司 Video playing method and device
CN107360226A (en) * 2017-07-11 2017-11-17 上海鋆创信息技术有限公司 The store method and device of live video
CN109756756A (en) * 2017-11-08 2019-05-14 阿里巴巴集团控股有限公司 Video broadcasting method and video play device
CN109756756B (en) * 2017-11-08 2021-10-22 阿里巴巴集团控股有限公司 Video playing method and video playing device
CN108173861A (en) * 2017-12-29 2018-06-15 北京奇虎科技有限公司 A kind of method, apparatus of net cast and live streaming distribution connector
CN108540816A (en) * 2018-03-28 2018-09-14 腾讯科技(深圳)有限公司 A kind of live video acquisition methods, device and storage medium
CN109257344A (en) * 2018-09-06 2019-01-22 广州高清视信数码科技股份有限公司 A kind of WebRTC Media Gateway and its interoperability methods based on Docker container technique
CN109525578A (en) * 2018-11-12 2019-03-26 深圳市网心科技有限公司 A kind of CDN distribution network transmission method, device, system and storage medium
CN110049348B (en) * 2019-04-03 2022-04-05 网宿科技股份有限公司 Video analysis method and system and video analysis server
CN110049348A (en) * 2019-04-03 2019-07-23 网宿科技股份有限公司 A kind of video analytic method, system and video resolution server
CN110099252B (en) * 2019-05-06 2021-01-08 四川效率源信息安全技术股份有限公司 Method for converting monitoring video into playable video
CN110099252A (en) * 2019-05-06 2019-08-06 四川效率源信息安全技术股份有限公司 A method of conversion monitor video is that can play video
CN110381340A (en) * 2019-06-10 2019-10-25 广州虎牙信息科技有限公司 Video file processing system
CN110545439A (en) * 2019-08-29 2019-12-06 中邮科通信技术股份有限公司 Rtmp multi-concurrent live broadcast system and method based on streaming media service
CN112511783A (en) * 2019-09-16 2021-03-16 武汉斗鱼网络科技有限公司 Mixed display method and device of audio and video stream, server and storage medium
CN111107386A (en) * 2019-12-27 2020-05-05 北京达佳互联信息技术有限公司 Live video playback method and device, electronic equipment, system and storage medium
CN111757136A (en) * 2020-06-29 2020-10-09 北京百度网讯科技有限公司 Webpage audio live broadcast method, device, equipment and storage medium
CN112333466A (en) * 2020-11-02 2021-02-05 创盛视联数码科技(北京)有限公司 Video processing method, device and system
CN112333466B (en) * 2020-11-02 2023-05-09 创盛视联数码科技(北京)有限公司 Video processing method, device and system
CN113068059B (en) * 2021-03-22 2022-12-13 平安普惠企业管理有限公司 Video live broadcasting method, device, equipment and storage medium
CN113068059A (en) * 2021-03-22 2021-07-02 平安普惠企业管理有限公司 Video live broadcast method, device, equipment and storage medium
CN113794932A (en) * 2021-09-15 2021-12-14 云茂互联智能科技(厦门)有限公司 Method and device for playing video stream at webpage end, electronic equipment and storage medium
CN115002518A (en) * 2022-05-30 2022-09-02 咪咕视讯科技有限公司 Data monitoring method and device and computer readable storage medium
CN115002518B (en) * 2022-05-30 2024-03-22 咪咕视讯科技有限公司 Data monitoring method, device and computer readable storage medium
CN114723181A (en) * 2022-06-07 2022-07-08 常州云燕医疗科技有限公司 Digital integrated operating room signal transmission system and method based on block chain

Also Published As

Publication number Publication date
CN105516739B (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN105516739A (en) Video live broadcasting method and system, transcoding server and webpage client
US10609101B2 (en) Streaming of segmented content
AU2010314582B2 (en) Method, system and network equipment for implementing HTTP-based streaming media service
CN107454101B (en) System and method for content storage and transmission for downloading and streaming
US20180227648A1 (en) Method for live broadcast based on hls protocol and electronic device
JP5580302B2 (en) Broadcast seeding for peer-to-peer networks
US9936040B2 (en) Systems and methods for partial video caching
US20150200992A1 (en) Method for downloading, at a client terminal, an upcoming sequence of segments of a multimedia content, and corresponding terminal
CN108063769B (en) Method and device for realizing content service and content distribution network node
CN103430489B (en) Document down loading method, device and system in content distributing network
US20160134900A1 (en) Streaming media processing method, apparatus, and system
CN102055718B (en) Method, device and system for layering request content in http streaming system
US9356985B2 (en) Streaming video to cellular phones
CN102656857B (en) Method and apparatus for acquiring and transmitting streaming media data in the process of initiation
CN104854838A (en) System and method for delivering an audio-visual content to a client device
WO2013097454A1 (en) Video inter-cut method, device and system
CN103024491B (en) The video broadcasting method of mobile terminal and system
CN103813185A (en) Method, server and client for quickly distributing segmented programs
CN107517411A (en) A kind of video broadcasting method based on GStreamer frameworks
CN103702178A (en) Play method and electronic equipment
JP2007528044A (en) How to download broadcast multimedia content over a distribution network
US10750248B1 (en) Method and apparatus for server-side content delivery network switching
CN111355979B (en) Online audio rapid playing method
CN105284118A (en) Content provision device, content provision method, program, terminal device, and content provision system
JP6371836B2 (en) A method for extracting a content portion of multimedia content by a client terminal

Legal Events

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