CN106210753A - A kind of net cast method and device - Google Patents

A kind of net cast method and device Download PDF

Info

Publication number
CN106210753A
CN106210753A CN201610349474.6A CN201610349474A CN106210753A CN 106210753 A CN106210753 A CN 106210753A CN 201610349474 A CN201610349474 A CN 201610349474A CN 106210753 A CN106210753 A CN 106210753A
Authority
CN
China
Prior art keywords
described
screen display
display data
net cast
module
Prior art date
Application number
CN201610349474.6A
Other languages
Chinese (zh)
Other versions
CN106210753B (en
Inventor
韦青
李斌
韦建发
Original Assignee
北京畅游天下网络技术有限公司
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 北京畅游天下网络技术有限公司 filed Critical 北京畅游天下网络技术有限公司
Priority to CN201610349474.6A priority Critical patent/CN106210753B/en
Publication of CN106210753A publication Critical patent/CN106210753A/en
Application granted granted Critical
Publication of CN106210753B publication Critical patent/CN106210753B/en

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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2405Monitoring of the internal components or processes of the server, e.g. server load
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games
    • 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/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/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level
    • 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/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server

Abstract

The embodiment of the invention discloses a kind of net cast method, be applied to net cast platform, the method includes: receiving the screen display data that far-end load-on module gets, described remote loading module section is deployed in the program process providing described screen display data;Being uploaded to streaming media server after being compressed by described screen display data encoding, described streaming media server is used for forwarding or distribute described screen display data to spectator client, and described screen display data are used for net cast.A kind of net cast method that the embodiment of the present invention provides, it is provided that stable net cast service, saves exploitation construction cost, stable, maintains easily, and the firm development for the gaming platform of company, live platform service of playing provides technical support.

Description

A kind of net cast method and device

Technical field

The present invention relates to technical field of data processing, particularly relate to a kind of net cast method and device.

Background technology

Updating and optimizing and generally the carrying of network broadband along with audio/video coding compress technique Rising, increasing online game player adds the live industry of game, the fire of boosting network direct broadcasting industry Outburst exhibition, also promotes the innovation of various game direct seeding technique simultaneously.

Existing game direct seeding technique, uses the mode that player's desktop carries out screenshotss to obtain game mostly Live picture.The analog picture that screenshotss obtain need to be converted into digital of digital video data, more encoded compression it After, it is uploaded to content distributing network formula (Content Delivery Network, CDN) streaming media service Device.Client, by drawing stream from CDN streaming media server, completes to play live picture to webpage or hands The propelling movement of machine.But, the real-time screenshotss of game picture and the transformation process of data, central authorities can be increased The load of processor (CPU), is to cause one of game or the reason paused of video-see picture card, shadow Ring net cast effect.It is readily apparent that the privacy that screenshotss also can cause game player exposes.

Therefore, those skilled in the art need to provide a kind of net cast method and device, using the teaching of the invention it is possible to provide stable Net cast service, protect privacy of user.

Summary of the invention

In order to solve prior art problem, the invention provides a kind of net cast method and device, it is possible to Stable net cast service is provided, protects privacy of user.

Embodiments provide a kind of net cast method, including:

Receiving the screen display data that far-end load-on module gets, described remote loading module section is deployed on offer In the program process of described screen display data;

It is uploaded to streaming media server, described streaming media server after being compressed by described screen display data encoding For forwarding or distributing described screen display data to spectator client, described screen display data are used for net cast.

Preferably, also include:

Receiving the memory node information that described streaming media server returns, described memory node information includes The identification information of memory node and the identification information of described screen display data;

According to the identification information of described memory node, from described streaming media server, obtain described screen display The described screen display data that the identification information of data is corresponding, it is achieved net cast.

Preferably, the memory node information that the described streaming media server of described reception returns, the most also include:

Send live resource by described far-end load-on module to described application program to point out, described live resource The identification information of described screen display data is carried in prompting;

Receiving the live viewing request that described far-end load-on module gets, described live viewing request is by institute State user's triggering of application program.

Preferably, described by described screen display data encoding compress after be uploaded to streaming media server, specifically Including:

Detection current network state;

According to described current network state, use H264 coding techniques that described screen display data are encoded Compression processes, screen display data after being encoded, and after described coding, screen display data adapt to described current network State;

By real-time messages host-host protocol, screen display data after described coding are uploaded to described streaming media service Device.

The embodiment of the present invention additionally provides a kind of net cast device, including: data reception module sum According to processing module;

Described data reception module, for receiving the screen display data that far-end load-on module gets;

Described remote loading module section is deployed in the program process providing described screen display data;

Described data processing module, is uploaded to Streaming Media clothes after being compressed by described screen display data encoding Business device;

Described streaming media server is used for storing described screen display data, and described screen display data are straight for video Broadcast.

Preferably, also include: net cast module;

Described data reception module, is additionally operable to receive the memory node letter that described streaming media server returns Breath;

Described memory node information includes the identification information of memory node and the mark letter of described screen display data Breath;

Described net cast module, for the identification information according to described memory node, from described Streaming Media Server obtains the described screen display data that the identification information of described screen display data is corresponding, it is achieved video is straight Broadcast.

Preferably, also include: prompting sending module;

Described prompting sending module, for sending live by described far-end load-on module to described application program Resource is pointed out;

The identification information of described screen display data is carried in the prompting of described live resource;

Described data reception module, being additionally operable to receive live viewing that described far-end load-on module gets please Ask;

Described live viewing request is to be triggered by the user of described application program.

Preferably, also include: network detection module;

Described network detection module, is used for detecting current network state;

Described data processing module, including: compression coding submodule and data upload submodule;

Described compression coding submodule, for according to described current network state, uses H264 to encode skill Art carries out encoding compression processing to described screen display data, screen display data after being encoded;

After described coding, screen display data adapt to described current network state;

Described data upload submodule, for by real-time messages host-host protocol, by screen display after described coding Data are uploaded to described streaming media server.

Compared with prior art, the present invention at least has the advantage that

The net cast method that the embodiment of the present invention provides, for the acquisition of net cast data, abandons Existing desktop screenshotss mode, uses interprocess communication and far-end loading technique directly from the process of application program The mode of middle acquisition data, protects the privacy of user, it is ensured that it is safe and reliable that inter-process data is shared. Further, by using far-end loading technique lightweight to be loaded into technology, the data relevant to net cast are only obtained, Reduce interdepending between process, reduce to greatest extent and have influence on original because of the appearance of new platform service The business of application program itself is ecological, keeps stablizing of application program operation itself.The embodiment of the present invention carries A kind of net cast method of confession, it is provided that stable net cast service, saving exploitation construction cost, Stable, maintain easily, for gaming platform, the firm development of live platform service of playing of company Technical support is provided.

Accompanying drawing explanation

In order to be illustrated more clearly that the embodiment of the present application or technical scheme of the prior art, below by right In embodiment or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, Accompanying drawing in describing below is only some embodiments described in the application, skill common for this area From the point of view of art personnel, on the premise of not paying creative work, it is also possible to obtain it according to these accompanying drawings Its accompanying drawing.

The flow chart of the net cast embodiment of the method one that Fig. 1 provides for the present invention;

The flow chart of the net cast embodiment of the method two that Fig. 2 provides for the present invention;

The flow chart of the net cast embodiment of the method three that Fig. 3 provides for the present invention;

The schematic diagram of the net cast device embodiment one that Fig. 4 provides for the present invention;

The schematic diagram of the net cast device embodiment two that Fig. 5 provides for the present invention;

The schematic diagram of the net cast device embodiment three that Fig. 6 provides for the present invention.

Detailed description of the invention

In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the present invention Accompanying drawing in embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is only a part of embodiment of the present invention rather than whole embodiments. Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, broadly falls into the scope of protection of the invention.

It should be noted that the net cast method and device that the present invention provides is applied to client, institute Stating client is net cast platform.According to the authority of different user, net cast platform is divided into main broadcaster End and viewer end.Main broadcaster's end uploads streaming media server after obtaining net cast resource, and viewer end is from stream Media server draws stream, watching video live broadcast.

Embodiment of the method one:

Seeing Fig. 1, this figure is the flow chart of the net cast embodiment of the method one that the present invention provides.

The net cast method that the present embodiment provides, including:

S101: receive the screen display data that far-end load-on module gets;

Described remote loading module section is deployed in the program process providing described screen display data;

It is understood that described application program can be arbitrary application journey with screen display function Sequence, such as games.During enforcement, by interprocess communication and far-end loading technique directly from application journey The process of sequence obtains screen display data, the number of other application programs unrelated with net cast will not be obtained According to, protect the privacy of user.

Screen display video pictures is generated after described screen display data are rendered.Net cast platform directly receives number Digital data, it is to avoid real-time screenshotss and analog data changes into the process of numerical data, alleviates The burden of CPU, will not impact the operation of application program.

It should be noted that described far-end load-on module, similar middleware, for being deployed in application program Lightweight far-end in process loads, and is only intended to obtain screen display data, not in application program Increase any live related service logic.Net cast platform is realized by far-end load-on module and answers With the cross-platform resource-sharing between program.Further, by far-end load-on module middleware so that obtain The method taking screen display data is easy to implement, and core technology is controlled, and later stage technological improvement upgrading is controlled.

Live related service logic is realized by live broadcast system platform completely and controls, such as net cast Start, suspend and terminate, video pictures processes and adds camera picture etc..Reduce as far as possible The impact of net cast platform service System of Logic ecology original on application program, it is ensured that application journey Stablizing of sort run.Further, when certain link of net cast platform goes wrong, not interfering with should Properly functioning by program so that net cast effect is more stable.

S102: be uploaded to streaming media server after being compressed by described screen display data encoding;

Described streaming media server is used for forwarding or distribute described screen display data to spectator client, described Screen display data are used for net cast.

It should be noted that described streaming media server is CDN streaming media server.CDN flows matchmaker After screen display data are stored in server node by body server, the storage information of screen display data is returned To net cast platform.Storage information according to screen display data, net cast platform is from corresponding service Device node draws stream, obtains screen display data, play net cast for spectators.

The net cast method that the present embodiment provides, for the acquisition of net cast data, has abandoned existing Desktop screenshotss mode, use interprocess communication and far-end loading technique directly to obtain from the process of application program The mode fetched data, protects the privacy of user, it is ensured that it is safe and reliable that inter-process data is shared.And And, by using far-end loading technique lightweight to be loaded into technology, only obtain the data relevant to net cast, Reduce interdepending between process, reduce to greatest extent and have influence on original because of the appearance of new platform service The business of application program itself is ecological, keeps stablizing of application program operation itself.The present embodiment provides A kind of net cast method, it is provided that stable net cast service, saves exploitation construction cost, operation Stable, maintain easily, the firm development for the gaming platform of company, live platform service of playing provides Technical support.

Embodiment of the method two:

Seeing Fig. 2, this figure is the flow chart of the net cast embodiment of the method two that the present invention provides.

S201-S202 in the present embodiment is identical with the S101-S102 in embodiment of the method one, at this respectively Repeat no more.

The net cast method that the present embodiment provides, also includes:

S203: receive the memory node information that described streaming media server returns;

Described memory node information includes the identification information of memory node and the mark letter of described screen display data Breath;

S204: according to the identification information of described memory node, obtains institute from described streaming media server State the described screen display data that the identification information of screen display data is corresponding, it is achieved net cast.

It is understood that the live data more than one in net cast platform.Therefore, screen display number According to memory node information include its memory node address and the identification information of described screen display data.This Time, net cast platform prompting spectators have the net cast that may be viewed by.When receiving taking of spectators' triggering After the viewing request of the identification information with screen display data, net cast platform is according to the mark of screen display data Information draws stream from corresponding server node, obtains corresponding screen display data, plays video for spectators Live.

Embodiment of the method three:

Seeing Fig. 3, this figure is the flow chart of the net cast embodiment of the method three that the present invention provides.Phase Compared with Fig. 1 and Fig. 2, present embodiments provide a kind of more specific net cast method.

In the present embodiment, S301 is identical with the S101 in embodiment of the method one, does not repeats them here.

In the cross-platform net cast method that the present embodiment provides, described by described screen display data encoding pressure It is uploaded to streaming media server after contracting, specifically includes:

S302: detection current network state;

It should be noted that current network state, i.e. net cast platform and CDN streaming media server Between current network transfer rate.

S303: according to described current network state, uses H264 coding techniques to described screen display data Carry out encoding compression processing, screen display data after being encoded;

After described coding, screen display data adapt to described current network state;

Screen display data after described coding are uploaded to described stream matchmaker by S304: by real-time messages host-host protocol Body server.

On the premise of meeting net cast broadcasting smoothness, according to the transfer rate of current network, change The code check of the screen display data after H264 coding techniques coding, improves and is uploaded to CDN streaming media server The quality of screen display data.In the case of network state is good, provide to CDN streaming media server The screen display data of high code check high-resolution high definition.Now, net cast platform can provide high definition to spectators The net cast of image quality.And in the case of network state is the best, provide to CDN streaming media server The screen display data of low bit-rate SD, it is ensured that the smoothness of video playback.It is understood that screen display data Code check can set according to practical situation, will not enumerate at this.

It is understood that H264 coding techniques and real-time messages (RTMP) host-host protocol are existing skill Art, does not repeats them here.

S305, S308 in the present embodiment is identical with the S203-S204 of embodiment of the method two respectively, This repeats no more.

The cross-platform net cast method that the present embodiment provides, additionally it is possible to push live resource in application program Prompting, has the net cast that may be viewed by with prompting application program user.Spectators directly can step on from application program It is live that this is watched by land net cast platform, it is not necessary to additionally opens net cast platform.

The cross-platform net cast method that the present embodiment provides, also includes:

S306: by described far-end load-on module to described application program send live resource point out, described directly Broadcast resource prompting and carry the identification information of described screen display data;

Now, the user of application program receives the prompting of live resource.

S307: receive the live viewing request that described far-end load-on module gets, described live viewing request It is to be triggered by the user of described application program.

It should be noted that application user confirms after watching video live broadcast, remote in program process End load-on module gets live viewing request, and user jumps to net cast platform from application program and regards The most live viewing.

The net cast method that the present embodiment provides, in the process of screen display data, transmitting procedure, is worked as by detection Front network state, according to the transfer rate of current network, on the premise of guaranteeing net cast smoothness, changes The code check of the screen display data after H264 coding techniques encodes, improves and uses on RTMP host-host protocol Reach the quality of the screen display data of CDN streaming media server, meet the high definition of net cast platform spectators Image quality demand.

The net cast device provided based on above-described embodiment, present invention also offers a kind of net cast dress Put, be applied to client.Described client is net cast platform.Below in conjunction with accompanying drawing, the present invention is carried The net cast device of confession is introduced.

Device embodiment one:

Seeing Fig. 4, this figure is the schematic diagram of the net cast device embodiment one that the present invention provides.

The net cast device that the present embodiment provides, including: data reception module 100 and data process Module 200;

Described data reception module 100, for receiving the screen display data that far-end load-on module gets;

Described remote loading module section is deployed in the program process providing described screen display data;

It is understood that described application program can be arbitrary application journey with screen display function Sequence, such as games.During enforcement, by interprocess communication and far-end loading technique directly from application journey The process of sequence obtains screen display data, the number of other application programs unrelated with net cast will not be obtained According to, protect the privacy of user.

Screen display video pictures is generated after described screen display data are rendered.Data reception module 100 directly connects Receive numerical data, it is to avoid real-time screenshotss and analog data changed into the process of numerical data, subtract The light burden of CPU, will not impact the operation of application program.

It should be noted that described far-end load-on module, similar middleware, for being deployed in application program Lightweight far-end in process loads, and is only intended to obtain screen display data, not in application program Increase any live related service logic.Data reception module 100 is realized by far-end load-on module And the cross-platform resource-sharing between application program.Further, by far-end load-on module middleware, make The method that must obtain screen display data is easy to implement, and core technology is controlled, and later stage technological improvement upgrading is controlled.

Live related service logic is realized by live broadcast system platform completely and controls, such as net cast Start, suspend and terminate, video pictures processes and adds camera picture etc..Reduce as far as possible The impact of net cast platform service System of Logic ecology original on application program, it is ensured that application journey Stablizing of sort run.Further, when certain link of net cast platform goes wrong, not interfering with should Properly functioning by program so that net cast effect is more stable.

Described data processing module 200, is uploaded to flow matchmaker after being compressed by described screen display data encoding Body server;

Described streaming media server is used for storing described screen display data, and described screen display data are straight for video Broadcast.

It should be noted that described streaming media server is CDN streaming media server.CDN flows matchmaker After screen display data are stored in server node by body server, the storage information of screen display data is returned To net cast platform.Storage information according to screen display data, net cast platform is from corresponding service Device node draws stream, obtains screen display data, play net cast for spectators.

The net cast device that the present embodiment provides, for the acquisition of net cast data, has abandoned existing Desktop screenshotss mode, use interprocess communication and far-end loading technique directly to obtain from the process of application program The mode fetched data, protects the privacy of user, it is ensured that it is safe and reliable that inter-process data is shared.And And, by using far-end loading technique lightweight to be loaded into technology, only obtain the data relevant to net cast, Reduce interdepending between process, reduce to greatest extent and have influence on original because of the appearance of new platform service The business of application program itself is ecological, keeps stablizing of application program operation itself.The present embodiment provides Net cast device, it is provided that a kind of stable net cast service, saves exploitation construction cost, operation Stable, maintain easily, the firm development for the gaming platform of company, live platform service of playing provides Technical support.

Device embodiment two:

Seeing Fig. 5, this figure is the schematic diagram of the net cast device embodiment two that the present invention provides.

The net cast device that the present embodiment provides, also includes: net cast module 300;

Described data reception module 100, is additionally operable to receive the storage joint that described streaming media server returns Dot information;

Described memory node information includes the identification information of memory node and the mark letter of described screen display data Breath;

Described net cast module 300, for the identification information according to described memory node, from described stream Media server obtains the described screen display data that the identification information of described screen display data is corresponding, it is achieved regard The most live.

It is understood that the live data more than one in net cast platform.Therefore, screen display number According to memory node information include its memory node address and the identification information of described screen display data.This Time, net cast platform prompting spectators have the net cast that may be viewed by.When receiving taking of spectators' triggering After the viewing request of the identification information with screen display data, data reception module 100 is according to screen display data Identification information draws stream from corresponding server node, obtains corresponding screen display data, plays for spectators Net cast.

Device embodiment three:

Seeing Fig. 6, this figure is the schematic diagram of the net cast device embodiment three that the present invention provides.Phase Compared with Fig. 4 and Fig. 5, present embodiments provide a kind of more specific net cast device.

The cross-platform net cast device that the present embodiment provides, also includes: network detection module 400;

Described network detection module 400, is used for detecting current network state;

It should be noted that current network state, i.e. net cast platform and CDN streaming media server Between current network transfer rate.

Described data processing module, including: compression coding submodule 201 and data upload submodule 202;

Described compression coding submodule 201, for according to described current network state, uses H264 to compile Code technology carries out encoding compression processing to described screen display data, screen display data after being encoded;

After described coding, screen display data adapt to described current network state;

Described data upload submodule 202, for by real-time messages host-host protocol, after described coding Screen display data are uploaded to described streaming media server.

On the premise of meeting net cast broadcasting smoothness, according to the transfer rate of current network, change The code check of the screen display data after H264 coding techniques coding, improves and is uploaded to CDN streaming media server The quality of screen display data.In the case of network state is good, provide to CDN streaming media server The screen display data of high code check high-resolution high definition.Now, net cast platform can provide high definition to spectators The net cast of image quality.And in the case of network state is the best, provide to CDN streaming media server The screen display data of low bit-rate SD, it is ensured that the smoothness of video playback.It is understood that screen display data Code check can set according to practical situation, will not enumerate at this.

It is understood that H264 coding techniques and RTMP host-host protocol are prior art, at this no longer Repeat.

The cross-platform net cast device that the present embodiment provides, also includes: prompting sending module 500;

The cross-platform net cast device that the present embodiment provides, additionally it is possible to push live resource in application program Prompting, has the net cast that may be viewed by with prompting application program user.Spectators directly can step on from application program It is live that this is watched by land net cast platform, it is not necessary to additionally opens net cast platform.

Described prompting sending module 500, for sending to described application program by described far-end load-on module Live resource is pointed out;

The identification information of described screen display data is carried in the prompting of described live resource;

Now, the user of application program receives the prompting of live resource.

Described data reception module 100, is additionally operable to receive the live sight that described far-end load-on module gets See request;

Described live viewing request is to be triggered by the user of described application program.

It should be noted that application user confirms after watching video live broadcast, remote in program process End load-on module gets live viewing request, and user jumps to net cast platform from application program and regards The most live viewing.

The net cast device that the present embodiment provides, in the process of screen display data, transmitting procedure, is worked as by detection Front network state, according to the transfer rate of current network, on the premise of guaranteeing net cast smoothness, changes The code check of the screen display data after H264 coding techniques encodes, improves and uses on RTMP host-host protocol Reach the quality of the screen display data of CDN streaming media server, meet the high definition of net cast platform spectators Image quality demand.

The above, be only presently preferred embodiments of the present invention, not makees the present invention any pro forma Limit.Although the present invention is disclosed above with preferred embodiment, but it is not limited to the present invention.Any Those of ordinary skill in the art, without departing under technical solution of the present invention ambit, may utilize above-mentioned Technical solution of the present invention is made many possible variations and modification, or amendment by the method disclosed and technology contents Equivalent embodiments for equivalent variations.Therefore, every content without departing from technical solution of the present invention, according to this The technical spirit of invention, to any simple modification made for any of the above embodiments, equivalent variations and modification, the most still belongs to In the range of technical solution of the present invention is protected.

Claims (8)

1. a net cast method, it is characterised in that including:
Receiving the screen display data that far-end load-on module gets, described remote loading module section is deployed on offer In the program process of described screen display data;
It is uploaded to streaming media server, described streaming media server after being compressed by described screen display data encoding For forwarding or distributing described screen display data to spectator client, described screen display data are used for net cast.
Net cast method the most according to claim 1, it is characterised in that also include:
Receiving the memory node information that described streaming media server returns, described memory node information includes The identification information of memory node and the identification information of described screen display data;
According to the identification information of described memory node, from described streaming media server, obtain described screen display The described screen display data that the identification information of data is corresponding, it is achieved net cast.
Cross-platform net cast method the most according to claim 2, it is characterised in that described reception The memory node information that described streaming media server returns, the most also includes:
Send live resource by described far-end load-on module to described application program to point out, described live resource The identification information of described screen display data is carried in prompting;
Receiving the live viewing request that described far-end load-on module gets, described live viewing request is by institute State user's triggering of application program.
Cross-platform net cast method the most according to claim 1, it is characterised in that described general It is uploaded to streaming media server after the compression of described screen display data encoding, specifically includes:
Detection current network state;
According to described current network state, use H264 coding techniques that described screen display data are encoded Compression processes, screen display data after being encoded, and after described coding, screen display data adapt to described current network State;
By real-time messages host-host protocol, screen display data after described coding are uploaded to described streaming media service Device.
5. a net cast device, it is characterised in that including: data reception module and data process Module;
Described data reception module, for receiving the screen display data that far-end load-on module gets;
Described remote loading module section is deployed in the program process providing described screen display data;
Described data processing module, is uploaded to Streaming Media clothes after being compressed by described screen display data encoding Business device;
Described streaming media server is used for storing described screen display data, and described screen display data are straight for video Broadcast.
Net cast device the most according to claim 5, it is characterised in that also include: video is straight Broadcasting module;
Described data reception module, is additionally operable to receive the memory node letter that described streaming media server returns Breath;
Described memory node information includes the identification information of memory node and the mark letter of described screen display data Breath;
Described net cast module, for the identification information according to described memory node, from described Streaming Media Server obtains the described screen display data that the identification information of described screen display data is corresponding, it is achieved video is straight Broadcast.
Cross-platform net cast device the most according to claim 6, it is characterised in that also include: Prompting sending module;
Described prompting sending module, for sending live by described far-end load-on module to described application program Resource is pointed out;
The identification information of described screen display data is carried in the prompting of described live resource;
Described data reception module, being additionally operable to receive live viewing that described far-end load-on module gets please Ask;
Described live viewing request is to be triggered by the user of described application program.
Cross-platform net cast device the most according to claim 6, it is characterised in that also include: Network detection module;
Described network detection module, is used for detecting current network state;
Described data processing module, including: compression coding submodule and data upload submodule;
Described compression coding submodule, for according to described current network state, uses H264 to encode skill Art carries out encoding compression processing to described screen display data, screen display data after being encoded;
After described coding, screen display data adapt to described current network state;
Described data upload submodule, for by real-time messages host-host protocol, by screen display after described coding Data are uploaded to described streaming media server.
CN201610349474.6A 2016-05-24 2016-05-24 A kind of net cast method and device CN106210753B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610349474.6A CN106210753B (en) 2016-05-24 2016-05-24 A kind of net cast method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610349474.6A CN106210753B (en) 2016-05-24 2016-05-24 A kind of net cast method and device

Publications (2)

Publication Number Publication Date
CN106210753A true CN106210753A (en) 2016-12-07
CN106210753B CN106210753B (en) 2018-03-27

Family

ID=57453395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610349474.6A CN106210753B (en) 2016-05-24 2016-05-24 A kind of net cast method and device

Country Status (1)

Country Link
CN (1) CN106210753B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106993200A (en) * 2017-04-18 2017-07-28 腾讯科技(深圳)有限公司 A kind of live broadcasting method of data, relevant device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811368A (en) * 2012-07-16 2012-12-05 北京邮电大学 Mobile video live broadcasting system
CN103096134A (en) * 2013-02-08 2013-05-08 广州博冠信息科技有限公司 Data processing method and data processing equipment based on live video and game
US20150298010A1 (en) * 2014-04-18 2015-10-22 Microsoft Corporation Broadcast initiation without interruption to active gameplay
CN105245911A (en) * 2015-10-10 2016-01-13 上海慧体网络科技有限公司 Method of performing sports events video live broadcast through mobile phone APP
CN105263062A (en) * 2015-10-23 2016-01-20 广州华多网络科技有限公司 Live broadcasting method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811368A (en) * 2012-07-16 2012-12-05 北京邮电大学 Mobile video live broadcasting system
CN103096134A (en) * 2013-02-08 2013-05-08 广州博冠信息科技有限公司 Data processing method and data processing equipment based on live video and game
US20150298010A1 (en) * 2014-04-18 2015-10-22 Microsoft Corporation Broadcast initiation without interruption to active gameplay
CN105245911A (en) * 2015-10-10 2016-01-13 上海慧体网络科技有限公司 Method of performing sports events video live broadcast through mobile phone APP
CN105263062A (en) * 2015-10-23 2016-01-20 广州华多网络科技有限公司 Live broadcasting method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106993200A (en) * 2017-04-18 2017-07-28 腾讯科技(深圳)有限公司 A kind of live broadcasting method of data, relevant device and system
WO2018192415A1 (en) * 2017-04-18 2018-10-25 腾讯科技(深圳)有限公司 Data live broadcast method, and related device and system
CN106993200B (en) * 2017-04-18 2019-05-31 腾讯科技(深圳)有限公司 A kind of live broadcasting method of data, relevant device and system

Also Published As

Publication number Publication date
CN106210753B (en) 2018-03-27

Similar Documents

Publication Publication Date Title
US7480727B2 (en) Method and devices for implementing highly interactive entertainment services using interactive media-streaming technology, enabling remote provisioning of virtual reality services
US9192859B2 (en) System and method for compressing video based on latency measurements and other feedback
US9669307B2 (en) System and method for streaming game video
US8366552B2 (en) System and method for multi-stream video compression
US10046238B2 (en) Gaming system
US9781435B2 (en) System and method for selecting a video encoding format based on feedback data
US9968847B2 (en) System and method for compressing video frames or portions thereof based on feedback information from a client device
US9756349B2 (en) User interface, system and method for controlling a video stream
US9669306B2 (en) System and method for capturing text for an online application
US9962610B2 (en) Temporary decoder apparatus and method
US20120054784A1 (en) Transmission apparatus, transmission method, reception apparatus, reception method, program, and broadcasting system
US20130298178A1 (en) System and Method for Remote-Hosted Video Effects
US9878241B2 (en) System and method for utilizing forward error correction with video compression
US8526490B2 (en) System and method for video compression using feedback including data related to the successful receipt of video content
US6810528B1 (en) System and method for providing an on-line gaming experience through a CATV broadband network
US20130142428A1 (en) Low-latency remote display rendering using tile-based rendering systems
US9656160B2 (en) Massive multi-player online (MMO) games server and methods for executing the same
US20100166068A1 (en) System and Method for Multi-Stream Video Compression Using Multiple Encoding Formats
US20140221087A1 (en) Handheld gaming console
KR101549278B1 (en) System for combining a plurality of views of real-time streaming interactive video
KR101586099B1 (en) System for reporting recorded video preceding system failures
TW589892B (en) Instant video conferencing method, system and storage medium implemented in web game using A/V synchronization technology
US20100166056A1 (en) System and method for encoding video using a selected tile and tile rotation pattern
CN105306468B (en) A kind of method and its main broadcaster's client of synthetic video real-time data sharing
JP2009503921A (en) Video game system using pre-encoded macroblocks

Legal Events

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